Add more .gitignore
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c8f0efc2
AP
12013-11-29 Andreas Politz <politza@fh-trier.de>
2 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3 allow non-lambda lists as functions.
4 (imenu--in-alist): Don't recurse into non-subalists.
5 (imenu): Don't pass function itself as an argument (Bug#14029).
6
bd15d9d1
SM
72013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * progmodes/python.el (python-mode-map): Remove binding for ":".
10 (python-indent-electric-colon): Remove command.
11 (python-indent-post-self-insert-function): Integrate the previous code
12 of python-indent-electric-colon. Make it conditional on
13 electric-indent-mode.
14 (python-mode): Add ?: to electric-indent-chars.
15 Move python-indent-post-self-insert-function to the end of
16 post-self-insert-hook.
17
1b10adb6
SM
182013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
19
655ab9a3
SM
20 * doc-view.el (doc-view-goto-page): Update mode-line.
21
1b10adb6
SM
22 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
23
7e3bf78c
GM
242013-11-27 Glenn Morris <rgm@gnu.org>
25
26 * international/charprop.el, international/uni-bidi.el:
27 * international/uni-category.el, international/uni-combining.el:
28 * international/uni-comment.el, international/uni-decimal.el:
29 * international/uni-decomposition.el, international/uni-digit.el:
30 * international/uni-lowercase.el, international/uni-mirrored.el:
31 * international/uni-name.el, international/uni-numeric.el:
32 * international/uni-old-name.el, international/uni-titlecase.el:
33 * international/uni-uppercase.el:
34 Remove generated files from VCS repository.
35
fb6a5d68
EZ
362013-11-27 Eli Zaretskii <eliz@gnu.org>
37
38 * filenotify.el (file-notify-add-watch): Don't special-case
39 w32notify when computing the directory to watch.
40
cb6c95a3
GM
412013-11-27 Glenn Morris <rgm@gnu.org>
42
20372d0c
GM
43 Make bootstrap without generated uni-*.el files possible again.
44 * loadup.el: Update command-line-args checking for unidata-gen.
45 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
46 * composite.el, international/characters.el:
47 Handle unicode tables being undefined.
48
52d6635f 49 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
50 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
51 (compile-main): Depend on leim rule.
52 (leim): New rule.
53 * loadup.el: Move leim-list.el to leim/ subdirectory.
54 * startup.el (normal-top-level): No more leim directory.
55 * international/ja-dic-cnv.el (skkdic-convert):
56 Disable version-control and autoloads in output files.
57 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
58 Disable version-control and autoloads in output files.
59 * leim/quail: Move here from ../leim.
60 * leim/quail/hangul.el (hangul-input-method-activate):
61 Add autoload cookie.
62 (generated-autoload-load-name): Set file-local value.
63 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
64 (generated-autoload-load-name): Set file-local value.
65
e47112ee
TZ
662013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
67
68 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
69 (eww-add-bookmark): ask confirmation when add to bookmarks
70 (eww-quit): ask confirmation before quitting eww
71
0e2c793f
EZ
722013-11-26 Eli Zaretskii <eliz@gnu.org>
73
74 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
75 reading output from Diff on MS-Windows and MS-DOS.
76
447bdcb8
BB
772013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
78
79 * emacs-lisp/helpers.el (string-reverse): New function.
80
5fbf6856
MA
812013-11-26 Michael Albinus <michael.albinus@gmx.de>
82
83 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
84 names on MS Windows, like "/[::1]:".
85
86 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
87 SWITCHES.
88
624780f0
GM
892013-11-26 Glenn Morris <rgm@gnu.org>
90
0bf3f0fa
GM
91 * progmodes/python.el (python-indent-guess-indent-offset):
92 Avoid corner-case error. (Bug#15975)
93
624780f0
GM
94 Preload leim-list.el. (Bug#4789)
95 * loadup.el: Load leim-list.el when found.
96 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
97
4301875e 982013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
99
100 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
101
4301875e
BB
102 * emacs-lisp/helpers.el (string-join): New function.
103
1633a815 1042013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
105
106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
107 Mark as obsolete and replace it with a symbol property.
108 (byte-compile-form): Use new 'interactive-only property.
109 * comint.el, files.el, replace.el, simple.el:
110 Apply new 'interactive-only properly.
111
00139435
MR
1122013-11-25 Martin Rudalics <rudalics@gmx.at>
113
114 * window.el (display-buffer-at-bottom): Make sure that
115 split-window-sensibly creates the new window on bottom
116 (Bug#15961).
117
5f5b128d
DK
1182013-11-23 David Kastrup <dak@gnu.org>
119
120 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
121 on the conflict markers when available.
122 (smerge--get-marker): New function.
123 (smerge-end-re, smerge-base-re): Add subgroup.
124
623891e5
SM
1252013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * frame.el (handle-focus-in, handle-focus-out): Add missing
128 interactive spec.
129
05ca27d8
MA
1302013-11-25 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
133 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
134
511fa0d3
SM
1352013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
136
e82ad66c
SM
137 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
138 (gomoku--last-pos): New var.
139 (gomoku--intangible-chars): New const.
140 (gomoku--intangible): New function.
141 (gomoku-mode): Use it. Derive from special-mode.
142 (gomoku-move-up): Adjust line count.
143 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
144 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
145 Simplify accordingly.
146
511fa0d3
SM
147 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
148 Remove blink-cursor code.
149 (blink-cursor-timer-function, blink-cursor-suspend):
150 Don't special-case GUIs.
151 (blink-cursor-mode): Use focus-in/out-hook.
152
6f20dd03
DG
1532013-11-25 Dmitry Gutov <dgutov@yandex.ru>
154
155 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
156 work when annotation is invisible (Bug#13886).
157
431dec31 1582013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
159
160 * json.el (json-alist-p): Only return non-nil if the alist has
161 simple keys (Bug#13518).
162
431dec31 1632013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
164
165 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
166 when control-statement is the first statement in a buffer (Bug#15956).
167
ee4f0261
DG
1682013-11-24 Dmitry Gutov <dgutov@yandex.ru>
169
170 * imenu.el (imenu-generic-skip-comments-and-strings):
171 New option (Bug#15560).
172 (imenu--generic-function): Use it.
173
c484f866
JS
1742013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
175
176 * minibuffer.el (completion--in-region-1): Scroll the correct
177 window. (Bug#13898)
178
41ce6f70
BB
1792013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
180
b55aea38
BB
181 * emacs-lisp/helpers.el: Add some string helpers.
182 (string-trim-left): Removes leading whitespace.
183 (string-trim-right): Removes trailing whitespace.
184 (string-trim): Removes leading and trailing whitespace.
185
41ce6f70
BB
186 * subr.el (string-suffix-p): New function.
187
3cfb6af3
GM
1882013-11-23 Glenn Morris <rgm@gnu.org>
189
190 * progmodes/python.el (python-shell-send-file):
191 Add option to delete file when done. (Bug#15647)
192 (python-shell-send-string, python-shell-send-region): Use it.
193
c27924b7
IS
1942013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
195
e1b01c7f
IS
196 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
197 to set buffer-read-only to t, never to nil. (Bug#15938)
198
c27924b7
IS
199 * textmodes/tex-mode.el (latex-noindent-environments):
200 Add safe-local-variable property. (Bug#15936)
201
17e0445b
GM
2022013-11-23 Glenn Morris <rgm@gnu.org>
203
92f78ea3
GM
204 * textmodes/enriched.el (enriched-mode): Doc fix.
205 * emacs-lisp/authors.el (authors-renamed-files-alist):
206 Add enriched.doc -> enriched.txt.
207
17e0445b
GM
208 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
209
965bb23a
LL
2102013-11-22 Leo Liu <sdl.web@gmail.com>
211
212 * progmodes/octave.el (inferior-octave-startup): Spit out error
213 message.
214
d19ffd64
BB
2152013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
216
217 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
218 Improve docstring.
15ba2182
BB
219 Add :version.
220 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 221
7a7567d2
LL
2222013-11-22 Leo Liu <sdl.web@gmail.com>
223
224 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
225 (Bug#15076)
8c09f64b
LL
226 (octave-help-mode): Adapt to change to help-mode-finish to use
227 derived-mode-p on 2013-09-17.
228 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 229 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 230
724bc265
LL
2312013-11-22 Leo Liu <sdl.web@gmail.com>
232
233 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
234 (inferior-octave-startup, inferior-octave-check-process)
235 (inferior-octave-track-window-width-change)
236 (octave-completion-at-point, octave-eldoc-function): Use it.
237 (octave-kill-process): Provide confirmation. (Bug#10564)
238
38637cca
LL
2392013-11-21 Leo Liu <sdl.web@gmail.com>
240
511fa0d3
SM
241 * progmodes/octave.el (octave-mode, inferior-octave-mode):
242 Fix obsolete variable comment-use-global-state.
38637cca 243
06e752b4
RS
2442013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
245
511fa0d3
SM
246 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
247 Add `octave-source-file'.
06e752b4
RS
248 (octave-source-file): New function. (Bug#15935)
249
604ede6c
TZ
2502013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
251
252 * net/eww.el (eww-local-regex): New variable.
253 (eww): Use it to detect localhost and similar.
254
b6ffa04a
LL
2552013-11-21 Leo Liu <sdl.web@gmail.com>
256
257 Add completion for command `ag'.
2021a200
LL
258 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
259 (pcomplete/ag): New function.
260 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 261
d1a6bccc
SM
2622013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
265 (bug#14646).
266 (make-obsolete): Remove interactive spec.
267
2df10228
GM
2682013-11-21 Glenn Morris <rgm@gnu.org>
269
270 * startup.el (command-line-1): Use path-separator with -L.
271
86fd16b6
TZ
2722013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
273
274 * emacs-lisp/package.el (describe-package-1): Add package archive
275 to shown fields.
276
7a12a42b
BB
2772013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
278
279 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
280 Change default to "# encoding: %s" to differentiate it from the
281 default Ruby encoding comment template.
282
dc7e8c17 2832013-11-20 era eriksson <era+emacsbugs@iki.fi>
284
285 * ses.el (ses-mode): Doc fix. (Bug#14748)
286
f0cfa5fe
LL
2872013-11-20 Leo Liu <sdl.web@gmail.com>
288
289 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
290
826dc7b6
DN
2912013-11-19 Dan Nicolaescu <dann@gnu.org>
292
293 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
294 when rebase or bisect are in progress.
295
a6e3a5d5
XF
2962013-11-19 Xue Fuqiao <xfq.free@gmail.com>
297
298 * filenotify.el (file-notify-add-watch): Doc fix.
299
f130cb76
LL
3002013-11-19 Leo Liu <sdl.web@gmail.com>
301
e0855d7d
LL
302 * obsolete/rcompile.el: Mark obsolete.
303
f130cb76 304 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
305 (compilation-goto-locus, compilation-find-file):
306 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
307 (Bug#13594)
308
309 * window.el (display-buffer-alist, display-buffer): Document the
310 new parameter no-display-ok.
311
1f35d401
SM
3122013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
313
25158c76
SM
314 * electric.el (electric-indent-mode-map): Remove.
315 (electric-indent-mode): Change the global-map instead (bug#15915).
316
317 * textmodes/text-mode.el (paragraph-indent-minor-mode):
318 Use add-function.
1f35d401 319
9bc67baa
SM
3202013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
321
986545b5
SM
322 * emacs-lisp/nadvice.el (remove-function): Align with
323 add-function's behavior.
324
9bc67baa
SM
325 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
326 (gdb--string-regexp): New constant.
327 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
328 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
329 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
330 submatch 1.
331 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
332 Adjust use accordingly.
333 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
334
56cd894e
AS
3352013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
336
337 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
338 interpolation curlies (Bug#15914).
339
014690de
JB
3402013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
341
342 * calc/calc.el (calc-context-sensitive-enter): New variable.
343 (calc-enter): Use `calc-context-sensitive-enter'.
344
7e26a6c3
TZ
3452013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
346
347 * progmodes/cfengine.el: Version bump.
348 (cfengine-cf-promises): New defcustom to locate cf-promises.
349 (cfengine3-vartypes): Add new "data" type.
350 (cfengine3--current-word): New function to get current name-like
351 word or its bounds.
352 (cfengine3--current-function): New function to look up a CFEngine
353 function's definition.
354 (cfengine3-format-function-docstring): New function.
355 (cfengine3-make-syntax-cache): New function.
356 (cfengine3-documentation-function): New function: ElDoc glue.
357 (cfengine3-completion-function): New function: completion glue.
358 (cfengine3-mode): Set `compile-command',
359 `eldoc-documentation-function', and add to
360 `completion-at-point-functions'.
361
355204dd
MA
3622013-11-16 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
365 `tramp-current-connection'.
366
43cebc23
DG
3672013-11-15 Dmitry Gutov <dgutov@yandex.ru>
368
369 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
370 nil/self/true/false with "end of symbol".
371
a3fed6ff
BB
3722013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
373
374 * subr.el (version-regexp-alist): Fix a typo.
375
e675b3e4
MA
3762013-11-15 Michael Albinus <michael.albinus@gmx.de>
377
378 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
379 "en_US.utf8" and "LC_CTYPE" to "".
380 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
381 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
382
a1f03e89
LL
3832013-11-15 Leo Liu <sdl.web@gmail.com>
384
385 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
386
5d9d9451
SM
3872013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
388
58362662
CS
389 * progmodes/gud.el (ctl-x-map):
390 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
391 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
392
6c1bf086
BB
3932013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
394
0d5363c4
BB
395 * subr.el (version-regexp-alist):
396 Recognize hg, svn and darcs versions as snapshot versions.
397
4e9fc48c
BB
398 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
399 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
400 (ruby--encoding-comment-required-p): Extract from
401 `ruby-mode-set-encoding'.
402 (ruby-mode-set-encoding): Add the ability to always insert an
403 utf-8 encoding comment. Fix and simplify coding comment update
404 logic.
6c1bf086 405
2f7e72f8
MA
4062013-11-14 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/tramp-gvfs.el (top): Run init code only when
409 `tramp-gvfs-enabled' is not nil.
410 (tramp-gvfs-enabled): Check also :system bus.
411
0f137a73
SM
4122013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 Sync with upstream verilog-mode revision 78e66ba.
415 * progmodes/verilog-mode.el (verilog-end-of-defun)
416 (verilog-type-completion, verilog-get-list): Remove unused funcs.
417 (verilog-get-end-of-defun): Remove unused argument.
418 (verilog-comment-depth): Remove unused local `e'.
419 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
420 Don't pass arg to verilog-get-end-of-defun.
421
1c276bdd
GM
4222013-11-14 Glenn Morris <rgm@gnu.org>
423
424 * obsolete/assoc.el (aget): Prefix dynamic variable.
425
426 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
427
ff6ec81d
SM
4282013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * widget.el, hfy-cmap.el: Remove bogus package version number.
431
75f777b6
GM
4322013-11-13 Glenn Morris <rgm@gnu.org>
433
1d43dba1
GM
434 * replace.el (replace-eval-replacement):
435 Try to give more helpful error message. (Bug#15836)
436
ff4b7bd5
GM
437 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
438 (archive-7z-update): Avoid custom type mismatches.
439
75f777b6
GM
440 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
441
11151a06
MA
4422013-11-13 Michael Albinus <michael.albinus@gmx.de>
443
e675b3e4 444 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
445 address can be empty.
446
447 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
448 Accept nil SWITCHES.
449 (tramp-gvfs-handle-write-region): Implement APPEND.
450
7b08f97e
DG
4512013-11-12 Dmitry Gutov <dgutov@yandex.ru>
452
453 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
454 binary "|" operator and closing block args delimiter.
455 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
456 (ruby-smie--implicit-semi-p): Not after "|" operator.
457 (ruby-smie--closing-pipe-p): New function.
458 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
459 (ruby-smie-rules): Indent after "|".
460
f201cf3a
GM
4612013-11-12 Glenn Morris <rgm@gnu.org>
462
463 * ps-print.el (ps-face-attribute-list):
464 Handle anonymous faces. (Bug#15827)
465
e6f759f9
MR
4662013-11-12 Martin Rudalics <rudalics@gmx.at>
467
468 * window.el (display-buffer-other-frame): Fix doc-string.
469 (Bug#15868)
470
ecda65d4
SM
4712013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * subr.el (force-mode-line-update): Delete, move to buffer.c.
474
7ce8fcc3
MA
4752013-11-11 Michael Albinus <michael.albinus@gmx.de>
476
477 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
478 (tramp-sh-handle-file-local-copy): Don't write a message when
479 saving temporary files.
480
481 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
482 both directories are remote.
483 (tramp-smb-handle-directory-files): Do not return double entries.
484 Do not expand full file names.
485 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
486 (tramp-smb-handle-write-region): Implement APPEND.
487 (tramp-smb-get-stat-capability): Fix a stupid bug.
488
7818df11
SM
4892013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
492
608c2085
NT
4932013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
494
495 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
496 throwing error over malformed let/let* (bug#15814).
497
122a7e46
SM
4982013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * iswitchb.el (iswitchb-mode): Mark obsolete.
501
766284d9
GM
5022013-11-11 Glenn Morris <rgm@gnu.org>
503
504 * international/uni-bidi.el, international/uni-category.el:
505 * international/uni-name.el, international/uni-numeric.el:
506 Regenerate for Unicode 6.3.0.
507
7072a4e9
MA
5082013-11-10 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/tramp.el (tramp-methods):
511 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
512 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
513
c9df215b
AS
5142013-11-09 Andreas Schwab <schwab@linux-m68k.org>
515
608c2085
NT
516 * progmodes/sh-script.el (sh-font-lock-keywords-var):
517 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 518
fa47d796
DG
5192013-11-09 Dmitry Gutov <dgutov@yandex.ru>
520
521 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 522 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
523 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
524 (ispell-complete-word): Call `ispell-lookup-words' with the value
525 independent of `ispell-look-p'.
526
1629a329
DG
5272013-11-08 Dmitry Gutov <dgutov@yandex.ru>
528
529 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
530 Not after "||".
531 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
532 their parent.
533
ad16897c
SM
5342013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
537 (ruby-font-lock-keywords): Use backquote.
538
ffa2df72
DG
5392013-11-08 Dmitry Gutov <dgutov@yandex.ru>
540
541 * progmodes/ruby-mode.el (ruby-smie--forward-token)
542 (ruby-smie--backward-token): Only consider full-string matches.
543
5b97b4c0
JD
5442013-11-08 Jan Djärv <jan.h.d@swipnet.se>
545
546 * faces.el (describe-face): Add distant-foreground.
547
71731c03
BB
5482013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
549
4e9fc48c
BB
550 * progmodes/ruby-mode.el: Improve encoding comment handling.
551 (ruby-encoding-magic-comment-style): New option.
552 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
553 (ruby--insert-coding-comment, ruby--detect-encoding):
554 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
555 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
556 to control the style of the auto-inserted encoding comment.
71731c03 557
da3b328d
DG
5582013-11-08 Dmitry Gutov <dgutov@yandex.ru>
559
ad16897c
SM
560 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
561 Use `smie-backward-sexp' with token argument.
da3b328d 562
1606c2d3
MA
5632013-11-08 Michael Albinus <michael.albinus@gmx.de>
564
565 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
566 Remove instrumentation code.
567
b0f4c320
GM
5682013-11-08 Glenn Morris <rgm@gnu.org>
569
570 * progmodes/autoconf.el (autoconf-mode):
571 Tweak comment-start-skip. (Bug#15822)
572
43668fb1
SM
5732013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
576 at bobp (bug#15826).
577 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
578
daddb3fd
DH
5792013-11-08 Darren Hoo <darren.hoo@gmail.com>
580
581 * man.el (Man-start-calling): New macro, extracted from
582 Man-getpage-in-background.
583 (Man-getpage-in-background): Use it.
584 (Man-update-manpage): New command.
585 (Man-mode-map): Bind it.
586
1f923923
DG
5872013-11-08 Dmitry Gutov <dgutov@yandex.ru>
588
589 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
590 of "and", "or", "&&" and "||".
591 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
592 argument. Prohibit opening curly brace because it could only be a
593 block opener in that position.
daddb3fd
DH
594 (ruby-smie--forward-token, ruby-smie--backward-token):
595 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
596 arguments.
597 (ruby-smie--indent-to-stmt): New function, seeks the end of
598 previous statement or beginning of buffer.
599 (ruby-smie-rules): Use it.
600 (ruby-smie-rules): Check if there's a ":" before a curly block
601 opener candidate; if there is, it's a hash.
602
3220d527
SM
6032013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
606 (cl--block-wrapper): Fix last accidental change.
607
1eb1f9e0
MA
6082013-11-07 Michael Albinus <michael.albinus@gmx.de>
609
610 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
611 Instrument, in order to hunt failure on hydra.
612
e6e4db3c
NT
6132013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
614
615 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
616 malformed bindings form (bug#15814).
617
b420ccfc
DG
6182013-11-07 Dmitry Gutov <dgutov@yandex.ru>
619
620 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
621 "." compared to " @ ". This incidentally fixes some indentation
622 examples with "do".
e6e4db3c 623 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
624 (ruby-smie-grammar): New tokens: "and" and "or".
625 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
626 Exclude "and" and "or". Remove "do" in order to work around token
627 priorities.
628 (ruby-smie-rules): Add all infix tokens. Handle the case of
629 beginning-of-buffer.
b420ccfc 630
6b4ac03e
GM
6312013-11-06 Glenn Morris <rgm@gnu.org>
632
633 * Makefile.in (setwins_almost, setwins_for_subdirs):
634 Avoid accidental matches.
635
5ca114d1
SM
6362013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * menu-bar.el (popup-menu): Use key-binding.
639
f72552bd
EZ
6402013-11-06 Eli Zaretskii <eliz@gnu.org>
641
642 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
643 menus, support also the menus produced by minor modes.
644 (Bug#15817)
645
5d5c701e
LL
6462013-11-06 Leo Liu <sdl.web@gmail.com>
647
648 * thingatpt.el (thing-at-point-looking-at): Add optional arg
649 DISTANCE to bound the search. All uses changed. (Bug#15808)
650
0a8b75e2
GM
6512013-11-06 Glenn Morris <rgm@gnu.org>
652
653 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
654 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
655 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 656
a35287ea
SM
6572013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
658
feca4e2d
SM
659 * electric.el (electric-indent-just-newline): New command.
660 (electric-indent-mode-map): New keymap.
661 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
662 Re-add :group which weren't redundant.
663
a35287ea
SM
664 * electric.el (electric-indent-local-mode): New minor mode.
665 (electric-indent-functions-without-reindent): New var.
666 (electric-indent-post-self-insert-function): Use it.
667 * emacs-lisp/gv.el (buffer-local-value): Add setter.
668
375761b2
EZ
6692013-11-05 Eli Zaretskii <eliz@gnu.org>
670
9a6ad735
EZ
671 * international/quail.el (quail-help): Be more explicit about the
672 meaning of the labels shown on the keys. (Bug#15800)
673
375761b2
EZ
674 * startup.el (normal-top-level): Load the subdirs.el files before
675 setting the locale environment. (Bug#15805)
676
520a6e4a
SM
6772013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
678
0acfafef
SM
679 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
680 via arguments so as to get the right ones (bug#15418).
681
520a6e4a
SM
682 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
683
15826261
MA
6842013-11-05 Michael Albinus <michael.albinus@gmx.de>
685
686 Fix problems found while writing a test suite.
687
688 * net/tramp-compat.el (tramp-compat-load): New defun.
689 * net/tramp.el (tramp-handle-load): Use it.
690
691 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
692 "(numberp ok-if-already-exists)" correctly.
693
d35f31a4
XF
6942013-11-05 Xue Fuqiao <xfq.free@gmail.com>
695
696 * international/characters.el (glyphless-char-display-control):
697 Add usage note.
698
ae93bc74
BB
6992013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
700
520a6e4a
SM
701 * progmodes/python.el (python-mode):
702 * progmodes/scheme.el (scheme-mode):
703 * progmodes/prolog.el (prolog-mode):
704 * progmodes/ruby-mode.el (ruby-mode):
705 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
706 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 707
0ade65b5
SM
7082013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
709
a0d5f7a4
SM
710 * rect.el (rectangle--highlight-for-redisplay):
711 * emacs-lisp/smie.el (smie--next-indent-change):
712 Use buffer-chars-modified-tick.
713
c93f3f5c
SM
714 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
715
0ade65b5
SM
716 * electric.el (electric-indent-post-self-insert-function):
717 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
718
ef9dd188
HE
7192013-11-04 Helmut Eller <eller.helmut@gmail.com>
720
721 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
722
306e7308
NT
7232013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
724
725 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
726 (bug#15786).
727
e5afbcac
SM
7282013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
729
1d01ad41
SM
730 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
731
e5afbcac
SM
732 * progmodes/python.el: Fix up last change.
733 (python-shell--save-temp-file): New function.
734 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
735 `string' comes from the current buffer.
736 (python-shell-send-string-no-output): Remove `msg' arg.
737 (python--use-fake-loc): New var.
738 (python-shell-buffer-substring): Obey it. Try to compensate for the
739 extra coding line added by python-shell--save-temp-file.
740 (python-shell-send-region): Use python-shell--save-temp-file and
741 python-shell-send-file directly. Add `nomain' argument.
742 (python-shell-send-buffer): Use python-shell-send-region.
743 (python-electric-pair-string-delimiter): New function.
744 (python-mode): Use it.
745
d0065ff1
EZ
7462013-11-04 Eli Zaretskii <eliz@gnu.org>
747
748 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
749 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
750 environment and decoding all of the default-directory's to here
751 from command-line.
752 (command-line): Decode also argv[0].
753
754 * loadup.el: Error out if default-directory is a multibyte string
755 when we are dumping.
756
757 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
758
7397c587
TZ
7592013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
760
761 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
762 (package-menu--print-info, package-menu--archive-predicate):
763 Add Archive column to package list.
7397c587 764
b27cc9fc
MA
7652013-11-04 Michael Albinus <michael.albinus@gmx.de>
766
767 Fix problems found while writing a test suite.
768
769 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
770 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
771 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
772 to nil when running original file name handler. Otherwise,
773 there are problems with constructs like "$$FOO".
774
775 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
776 for `localname'.
777
d8c4f18a
BB
7782013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
779
7b530552
BB
780 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
781
782 * subr.el (version<, version<=, version=):
783 Update docstrings with information for snapshot versions.
784
d8c4f18a
BB
785 * helpers.el: New library for misc helper functions.
786 (hash-table-keys): New function returning a list of hash keys.
787 (hash-table-values): New function returning a list of hash values.
788
dca01b09
DG
7892013-11-04 Dmitry Gutov <dgutov@yandex.ru>
790
791 * progmodes/ruby-mode.el (ruby-smie--forward-token)
792 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
793
0a749fa0
MN
7942013-11-04 Michal Nazarewicz <mina86@mina86.com>
795
796 * textmodes/fill.el (fill-single-char-nobreak-p): New function
797 checking whether point is after a 1-letter word.
798
7992013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
800
801 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
802 Don't infloop when expanding region over `multiline' syntax-type that
803 begins a line (bug#15778).
804
4aca7145
SM
8052013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
808 Make it into a proper minor mode.
809 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
810 (rectangle-mark-mode-map): New keymap.
811 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
812
a0833f62
GM
8132013-11-04 Glenn Morris <rgm@gnu.org>
814
815 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
816
e61845c1
SM
8172013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
820 (ruby-smie-rules): Use smie-rule-parent instead.
821
822 * emacs-lisp/smie.el (smie-rule-parent): Always call
823 smie-indent-virtual rather than only for hanging tokens.
824 (smie--next-indent-change): New helper command.
825
62942f89
GM
8262013-11-03 Glenn Morris <rgm@gnu.org>
827
828 * Makefile.in (abs_srcdir): Remove.
829 (emacs): Unset EMACSLOADPATH.
830
b0b9e592
GM
8312013-11-02 Glenn Morris <rgm@gnu.org>
832
18ba6a33 833 * Makefile.in (EMACS): Use a relative filename.
8061810d 834 (abs_top_builddir): Remove.
18ba6a33
GM
835 (custom-deps, finder-data, autoloads): Use --chdir.
836
6a8b929e
GM
837 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
838
c617f3d0
GM
839 Use relative filenames in TAGS files.
840 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
841 (lisptagsfiles4, TAGS): Use relative file names.
842 (TAGS-LISP): Remove.
843 (maintainer-clean): No more TAGS-LISP file.
844
b0b9e592
GM
845 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
846 (lisptagsfiles4): Use absolute filenames again.
847 (TAGS, TAGS-LISP): Not everything needs to run in one line.
848 Remove all *loaddefs files, not just the first. Remove esh-groups.
849 (maintainer-clean): Delete TAGS, TAGS-LISP.
850
d1c0ea6a
BB
8512013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
852
e61845c1
SM
853 * emacs-lisp/package.el (package-version-join):
854 Recognize snapshot versions.
d1c0ea6a 855
684d71c6
BB
8562013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
857
858 * subr.el (version-regexp-alist): Add support for snapshot versions.
859
3d42b968
DG
8602013-11-02 Dmitry Gutov <dgutov@yandex.ru>
861
e61845c1
SM
862 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
863 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
864 skip over our direct parent if it's an assignment token..
865 (ruby-smie-rules): Use it.
866
7ffd3721
DG
8672013-11-02 Dmitry Gutov <dgutov@yandex.ru>
868
869 * progmodes/ruby-mode.el Use `syntax-propertize-function'
870 unconditionally. Remove now unnecessary forward declarations.
871 Remove XEmacs-specific setup.
872 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
873 (ruby-font-lock-syntactic-keywords)
874 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
875 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
876 (ruby-here-doc-end-syntax): Remove.
877 (ruby-mode): Don't check whether `syntax-propertize-rules' is
878 defined as function.
879
a3996a2e
BB
8802013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
881
882 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
883
6f9260e8
BB
8842013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
885
886 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
887 table and abbrev table, `define-derived-mode' does that for us
888 anyway.
889
6014de84
GM
8902013-11-01 Glenn Morris <rgm@gnu.org>
891
892 * Makefile.in: Remove manual mh-e dependencies (writing .elc
893 files is atomic for some time, so no parallel compilation issues).
894
3c334c14
JD
8952013-11-01 Jan Djärv <jan.h.d@swipnet.se>
896
897 * faces.el (face-x-resources): Add :distant-foreground.
898 (region): Use :distant-foreground for gtk and ns.
899
9bc236c8
TH
9002013-11-01 Tassilo Horn <tsdh@gnu.org>
901
5246583b 902 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
903 BibTeX.
904 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
905 (reftex-locate-bibliography-files): Us it.
906
d14c81ee
CB
9072013-11-01 Claudio Bley <claudio.bley@googlemail.com>
908
0e7690de
CB
909 * image.el (image-type-header-regexps): Fix the 'pbm' part to
910 allow comments in pbm files.
911
d14c81ee
CB
912 * term/w32-win.el (dynamic-library-alist): Support newer versions
913 of libjpeg starting with v7: look only for the DLL from the
914 version against which Emacs was built.
ac1bf374 915 Support versions of libpng beyond 1.4.x.
019c8218 916 Support libtiff v4.x.
d14c81ee 917
983d0df5
BB
9182013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
919
920 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
921 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
922 Add property :safe.
923 (ruby-deep-arglist): Add property :type.
924
47f58d85
GM
9252013-10-31 Glenn Morris <rgm@gnu.org>
926
927 * Makefile.in (custom-deps, finder-data): No need to setq the target
928 variables, we are in the right directory and the defaults work fine.
929
4f85b479
GM
9302013-10-30 Glenn Morris <rgm@gnu.org>
931
ca7dd4cd
GM
932 * Makefile.in (autoloads): Do not use abs_lisp.
933
4f85b479
GM
934 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
935 `newline' does not respect `standard-output', so use `princ'.
936
cf59e41c
AA
9372013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
938
939 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
940 * buff-menu.el (Buffer-menu--unmark): New function.
941 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
942
74cf04fb
GM
9432013-10-30 Glenn Morris <rgm@gnu.org>
944
b040b60e
GM
945 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
946
f53d3815
GM
947 * emacs-lisp/package.el (lm-homepage): Declare.
948
5413d873
GM
949 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
950 Fix doc typos.
951
cecedb36
GM
952 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
953
74cf04fb
GM
954 * Makefile.in (finder-data, autoloads, update-subdirs)
955 (compile-main, compile-clean, compile-always, bootstrap-clean):
956 Check return value of cd.
957 (compile-calc): Remove.
958
195ee2f0
SM
9592013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
960
ae4002ce
SM
961 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
962
963 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
964 (byte-compile-and-folded): New function.
965 (=, <, >, <=, >=): Use it.
966
967 * dos-w32.el (minibuffer-history-case-insensitive-variables)
968 (path-separator, null-device, buffer-file-coding-system)
969 (lpr-headers-switches): Check system-type before modifying them.
970 (find-buffer-file-type-coding-system): Mark obsolete.
971 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
972 find-file-not-found-set-buffer-file-coding-system.
973 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
974 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
975 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
976 (w32-direct-print-region-helper, w32-direct-print-region-function)
977 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
978 * startup.el (normal-top-level-add-subdirs-to-load-path):
979 * ps-print.el (ps-print-region-function):
980 * lpr.el (print-region-function): Use new name.
981
53b39e89
SM
982 * subr.el (custom-declare-variable-early): Remove function.
983 (custom-declare-variable-list): Remove var.
984 (error, user-error): Remove `while' loop.
985 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
986 (user-emacs-directory-warning, locate-user-emacs-file):
987 Move to files.el.
988 * simple.el (read-quoted-char-radix, read-quoted-char):
989 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
990 Move from subr.el.
991 * custom.el (custom-declare-variable-list): Don't process
992 custom-declare-variable-list.
993
195ee2f0
SM
994 * progmodes/python.el (python-shell-get-buffer): New function.
995 (python-shell-get-process): Use it.
996 (python-shell-send-string): Always use utf-8 and add a cookie to tell
997 Python which encoding was used. Don't split-string since we only care
998 about the first line. Return the temp-file, if applicable.
999 (python-shell-send-region): Tell compile.el how to turn locations in
1000 the temp-file into locations in the source buffer.
1001
7e3561ee
SM
10022013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1003
4c9797cb
SM
1004 * subr.el (undefined): Add missing behavior from the C code for
1005 unbound keys.
1006
3472b6c6
SM
1007 * rect.el: Use lexical-binding. Add new rectangular region support.
1008 (rectangle-mark): New command.
1009 (rectangle--region): New var.
1010 (deactivate-mark-hook): Reset rectangle--region.
1011 (rectangle--extract-region, rectangle--insert-for-yank)
1012 (rectangle--highlight-for-redisplay)
1013 (rectangle--unhighlight-for-redisplay): New functions.
1014 (region-extract-function, redisplay-unhighlight-region-function)
1015 (redisplay-highlight-region-function): Use them to handle
1016 rectangular region.
1017 * simple.el (region-extract-function): New var.
1018 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1019 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1020 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1021 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1022 (redisplay-unhighlight-region-function)
1023 (redisplay-highlight-region-function): New vars.
1024 (redisplay--update-region-highlight): New function.
1025 (pre-redisplay-function): Use it.
1026 (exchange-point-and-mark): Don't deactivate the mark before
1027 reactivate-it anyway.
1028 * comint.el (comint-kill-region): Remove yank-handler argument.
1029 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1030 (delete-char): Remove property, since it's now part of their
1031 default behavior.
1032 (self-insert-iso): Remove property since this command doesn't exist.
1033
7e3561ee
SM
1034 * emacs-lisp/package.el (package--download-one-archive)
1035 (describe-package-1): Don't query the user about final newline.
1036
b9bef71f
DC
10372013-10-29 Daniel Colascione <dancol@dancol.org>
1038
1039 * net/tramp.el (tramp-methods): Document new functionality.
1040 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1041 tramp-hostname-checker if method provides one instead of scanning
1042 argument list for "%h" to decide hostname acceptability.
1043
4efc33f0
MA
10442013-10-28 Michael Albinus <michael.albinus@gmx.de>
1045
1046 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1047 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1048 Handle COPY-CONTENTS. (Bug#15737)
1049
ed42a877
DU
10502013-10-28 Daiki Ueno <ueno@gnu.org>
1051
1052 * epa-file.el
7e3561ee
SM
1053 (epa-file-cache-passphrase-for-symmetric-encryption):
1054 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1055
18c9f8a2
XF
10562013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1057
7a4bc7be
XF
1058 * image.el (defimage):
1059 (image-load-path): Doc fixes.
18c9f8a2 1060
b1e8e010
AM
10612013-10-27 Alan Mackenzie <acm@muc.de>
1062
1063 Indent statements in macros following "##" correctly.
7e3561ee
SM
1064 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1065 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1066
73d40d1e 10672013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1068
1069 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1070
c8c605ac
DG
10712013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1072
1073 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1074 after `=' is probably a new expression.
1075
ca7e59d4
RS
10762013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1077
1078 * man.el (man-imenu-title): New option.
1079 (Man-mode-map): Add menu. (Bug#15722)
1080 (Man-mode): Add imenu to menu.
1081
bae91342
DG
10822013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1085 specific in what the first arg can be: a non-keyword word,
1086 string/regexp/percent literal opener, opening paren, or unary
1087 operator followed directly by word.
1088
eb89dc14
SM
10892013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1092 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1093 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1094 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1095 Remove vars, they do not apply any more.
1096 (prolog-mode-abbrev-table): Remove redundant declaration.
1097 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1098 (prolog-use-smie): Remove.
1099 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1100 supported by prolog-electric-if-then-else-flag.
1101 (prolog-mode-variables, prolog-menu): Use setq-local.
1102 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1103 Remove binding to `Backspace' since this key doesn't exist anyway.
1104 Remove bindings for electric self-inserting keys.
1105 (prog-mode): Assume it's defined.
1106 (prolog-post-self-insert): New function.
1107 (prolog-mode): Use it.
1108 (prolog-indent-line, prolog-indent-level)
1109 (prolog-find-indent-of-matching-paren)
1110 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1111 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1112 (prolog-goto-next-paren, prolog-in-string-or-comment)
1113 (prolog-tokenize, prolog-inside-mline-comment)
1114 (prolog-find-start-of-mline-comment): Remove functions.
1115 (prolog-find-unmatched-paren, prolog-clause-end)
1116 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1117 (prolog-electric--if-then-else): Rename from
1118 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1119 (prolog-tokenize-searchkey): Remove const.
1120 (prolog-clause-info): Use forward-sexp.
1121 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1122 (prolog-electric-if-then-else): Remove commands.
1123 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1124 for use in post-self-insert-hook.
1125 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1126 for use in post-self-insert-hook.
1127 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1128 for use in post-self-insert-hook.
1129 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1130 adapt it for use in post-self-insert-hook.
1131
3dab0a83
MA
11322013-10-25 Michael Albinus <michael.albinus@gmx.de>
1133
1134 * emacs-lisp/ert.el (ert-run-tests-interactively):
1135 Use `completing-read'. (Bug#9756)
1136
fbfd0e1d
EZ
11372013-10-25 Eli Zaretskii <eliz@gnu.org>
1138
1139 * simple.el (line-move): Call line-move-1 instead of
1140 line-move-visual when the current window hscroll is zero, but
1141 temporary-goal-column indicates we will need to hscroll as result
1142 of the movement. (Bug#15712)
1143
963ce636
DG
11442013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1145
1146 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1147 capitalization. Use :visible instead of :active.
1148 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1149 commands that are used with SMIE.
1150 (ruby-do-end-to-brace): Insert space after `{'.
1151
a0be396a
JA
11522013-10-25 John Anthony <john@jo.hnanthony.com>
1153
f73754c9
JA
1154 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1155
1156 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1157
f5bf77df
GM
11582013-10-25 Glenn Morris <rgm@gnu.org>
1159
1160 * vc/vc.el (vc-print-log): Don't use a working revision unless
1161 one was explicitly specified. (Bug#15322)
1162
37241f62
SM
11632013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * subr.el (add-to-list): Preserve return value in compiler-macro
1166 (bug#15692).
1167
6408a65d
RS
11682013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1169
1170 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1171 result. Ask user to retry using '-all' flag. (Bug#15701)
1172
71e3276b
SM
11732013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * emacs-lisp/smie.el: New smie-config system.
1176 (smie-config): New defcustom.
1177 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1178 (smie-config-guess, smie-config-save): New commands.
1179 (smie-config--mode-local, smie-config--buffer-local)
1180 (smie-config--trace, smie-config--modefuns): New vars.
1181 (smie-config--advice, smie-config--mode-hook)
1182 (smie-config--setter, smie-config-local, smie-config--get-trace)
1183 (smie-config--guess-value, smie-config--guess): New functions.
1184 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1185 text properties. Treat "string fence" syntax like string syntax.
1186
1187 * progmodes/sh-script.el (sh-use-smie): Change default.
1188 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1189 (sh-var-value): Simplify by CSE.
1190 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1191 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1192 is used.
1193 (sh-guess-basic-offset): Use cl-incf.
1194 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1195
60db713e
HE
11962013-10-24 Helmut Eller <eller.helmut@gmail.com>
1197
1198 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1199 (bug#15699).
1200
8b251df6
GM
12012013-10-24 Glenn Morris <rgm@gnu.org>
1202
1203 * Makefile.in (abs_top_srcdir): Remove.
1204 (update-subdirs): Use relative path to update-subdirs.
1205
6be0e22b
EZ
12062013-10-24 Eli Zaretskii <eliz@gnu.org>
1207
1208 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1209 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1210 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1211 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1212
50b5b857
MA
12132013-10-24 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1216 (ert-test-skipped): New error.
1217 (ert-skip, ert-stats-skipped): New defuns.
1218 (ert--skip-unless): New macro.
1219 (ert-test-skipped): New struct.
1220 (ert--run-test-debugger, ert-test-result-type-p)
1221 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1222 (ert--stats-set-test-and-result, ert-char-for-test-result)
1223 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1224 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1225 Handle skipped tests. (Bug#9803)
50b5b857 1226
6f317c2f
GM
12272013-10-24 Glenn Morris <rgm@gnu.org>
1228
e43817c1
GM
1229 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1230
6f317c2f
GM
1231 * Makefile.in (abs_top_srcdir): New, set by configure.
1232 (update-subdirs): Correct build-aux location.
1233
369bbf71
DG
12342013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1235
8297b2cf
DG
1236 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1237 value, whether we could auto-deduce `backend', or not.
1238
369bbf71
DG
1239 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1240 with parameters" example. Simplify the "is it block or is it
1241 hash" check, but also make it more thorough.
1242
d5f1282f
MF
12432013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1244
1245 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1246
bc4aaa31
SM
12472013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1248
03d44565
SM
1249 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1250 { if it is hanging.
1251
bc4aaa31
SM
1252 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1253 :before ";".
1254
f493ff19
JB
12552013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1256
1257 * progmodes/compile.el (compilation-directory-matcher)
1258 (compilation-page-delimiter):
1259 Support GNU Make-4.0 directory quoting. (Bug#15678)
1260
c744a3b9
LL
12612013-10-23 Leo Liu <sdl.web@gmail.com>
1262
1263 * ido.el (ido-tidy): Handle read-only text.
1264
b8e3b0a9
GM
12652013-10-23 Glenn Morris <rgm@gnu.org>
1266
1267 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1268 (emacs, compile, compile-always):
1269 Quote entities that might contain whitespace.
1270 (custom-deps, finder-data, autoloads): Use abs_lisp.
1271 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1272 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1273 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1274
ee4282cd
DG
12752013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1276
bc4aaa31
SM
1277 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1278 Use `following-char'.
7790a270 1279
ee4282cd 12802013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1281
1282 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1283 * progmodes/ruby-mode.el (ruby-smie-rules):
1284 Remove corresponding workaround. Fix indentation rule of ";" so it
1285 also applies when ";" is the parent.
1286
d40a46d7
XF
12872013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1288
1289 * frame.el (display-screens, display-pixel-height)
1290 (display-pixel-width, display-mm-width, display-backing-store)
1291 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1292 (display-visual-class, display-monitor-attributes-list):
1293 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1294
a0f143c9
MG
12952013-10-22 Michael Gauland <mikelygee@amuri.net>
1296
1297 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1298 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1299
18cacc39
DG
13002013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1303 TODO. Add "." after " @ ".
1304 (ruby-smie--at-dot-call): New function. Checks if point at method
1305 call with explicit target.
1306 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1307 to the method name tokens when it precedes them.
1308 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1309 (ruby-smie-rules): Add rule for indentation before and after "."
1310 token.
1311
df74c4be
SM
13122013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1313
c6dab55f
SM
1314 * textmodes/remember.el (remember-diary-extract-entries):
1315 Avoid add-to-list.
1316
df74c4be
SM
1317 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1318 an instruction.
1319
8c1ae481
DG
13202013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1321
cfef16c0
DG
1322 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1323 (ruby-smie--implicit-semi-p): Add new operator chars.
1324
8c1ae481
DG
1325 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1326 `smie-down-list'.
1327 (ruby-smie--args-separator-p): Check that there's no newline
1328 between method call and its arguments.
1329
87756ca9
AM
13302013-10-20 Alan Mackenzie <acm@muc.de>
1331
1332 Allow comma separated lists after Java "implements".
1333
df74c4be
SM
1334 * progmodes/cc-engine.el (c-backward-over-enum-header):
1335 Parse commas.
87756ca9
AM
1336 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1337 from a "disallowed" list in enum fontification.
1338
c25f8957
JB
13392013-10-20 Johan Bockgård <bojohan@gnu.org>
1340
df74c4be 1341 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1342
c25f8957
JB
1343 * progmodes/verilog-mode.el (verilog-mode): Don't set
1344 comment-indent-function globally.
1345
aca5fcdc
JD
13462013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1347
5f161884
JD
1348 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1349 Move Info menu item creation to ns-win.el.
1350
1351 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1352 in menu bar.
1353
aca5fcdc
JD
1354 * menu-bar.el: Move GNUStep specific menus...
1355
1356 * term/ns-win.el (ns-initialize-window-system): ... to here.
1357
914b7f98
SM
13582013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * simple.el (newline): Only run post-self-insert-hook when
1361 called interactively.
1362
846ffe77
JB
13632013-10-19 Johan Bockgård <bojohan@gnu.org>
1364
1365 * icomplete.el (icomplete-with-completion-tables): Add :version.
1366
033f22dd
AM
13672013-10-19 Alan Mackenzie <acm@muc.de>
1368
1369 Fix fontification bugs with constructors and const.
1370
1371 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1372 CASE 2) Remove the check for the absence of a suffix construct
1373 after a function declaration with only types (no identifiers) in
1374 the parentheses. Also, accept a function declaration with just a
1375 type inside the parentheses, if this type can be positively
1376 recognised as such, or if a prefix keyword like "explicit" nails
1377 down the construct as a declaration.
1378
58ce0cfc
EZ
13792013-10-19 Eli Zaretskii <eliz@gnu.org>
1380
1381 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1382 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1383 the problem whereby selecting a menu item that leads to a
1384 minibuffer prompt moves the cursor out of the minibuffer window,
1385 making it hard to type at the prompt. Suggested by Stefan Monnier
1386 <monnier@iro.umontreal.ca>.
1387
50e28e7d
JD
13882013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1389
1390 * menu-bar.el: Don't make Services menu.
1391
7deed4bf
RS
13922013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1393
1394 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1395 (ffap-alist): Use ffap-c++-mode for c++-mode.
1396 (ffap-c++-path): New variable.
1397 (ffap-c++-mode): New function.
1398
7bcb455b
JVJ
13992013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1400
1401 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1402
f0ff1cd5
MA
14032013-10-18 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1406 introduced on 2013-09-08, which results in an infinite loop
1407 requesting a password.
1408
d64da4b7
GM
14092013-10-18 Glenn Morris <rgm@gnu.org>
1410
1411 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1412
ea89ff08
WS
14132013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1414
1415 Sync with upstream verilog-mode revision 1a6ecec7.
1416 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1417 (verilog-mode-release-date): Remove.
1418 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1419 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1420 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1421 (verilog-auto-tieoff-ignore-regexp)
1422 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1423 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1424 (verilog-signals-with, verilog-dir-cache-preserving)
1425 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1426 Doc fixes.
1427 (verilog-case-fold): New option, to control case folding in
1428 regexp searches, bug597.
1429 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1430 (verilog-string-match-fold, verilog-in-paren-count)
1431 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1432 (verilog-at-close-struct-p): New functions.
1433 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1434 (verilog-forward-sexp, verilog-set-auto-endcomments):
1435 (verilog-leap-to-case-head): Handle "unique0" case.
1436 (verilog-in-constraint-re): New constant.
1437 (verilog-keywords, verilog-type-font-keywords):
1438 Add some SystemVerilog 1800-2012 keywords.
1439 (verilog-label-be): Remove unimplemented argument, bug669.
1440 (verilog-batch-execute-func): When batch expanding clear
1441 create-lockfiles to prevent spurious user locks when a file ends
1442 up not changing.
1443 (verilog-calculate-indent, verilog-calc-1)
1444 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1445 (verilog-do-indent): Fix indentation of nested constraints
1446 and structures.
1447 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1448 (verilog-auto-inst-param): Use verilog-string-match-fold.
1449 (verilog-read-inst-module-matcher):
1450 Fix AUTOINST on gate primitives with #1.
1451 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1452 Reads all user-defined typed variables.
1453 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1454 (verilog-signals-matching-regexp)
1455 (verilog-signals-not-matching-regexp, verilog-auto):
1456 Respect verilog-case-fold.
1457 (verilog-diff-report): Fix line count.
1458 (verilog-auto-assign-modport): Remove unused local `modi'.
1459 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1460 better handle multidimensional arrays.
1461 Fix packed array ports misadding bit index in AUTOINST, bug637.
1462 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1463 to not double-declare existing outputs and inputs, respectively.
1464 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1465 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1466 (verilog-sk-uvm-component): New skeleton.
1467 (verilog-submit-bug-report): Add verilog-case-fold,
1468 remove verilog-mode-release-date.
1469
ef566920
BR
14702013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1471
1472 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1473 as before.
1474
29df8a0b
RT
14752013-10-18 Reuben Thomas <rrt@sc3d.org>
1476
1477 * textmodes/remember.el (remember): set buffer-offer-save in
1478 remember buffers (bug#13566).
1479
04a19a79
DC
14802013-10-18 Daniel Colascione <dancol@dancol.org>
1481
1482 When evaluating forms in ielm, direct standard output to ielm
1483 buffer. Add new ielm-return-for-effect command. Remove trailing
1484 whitespace throughout.
1485
1486 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1487 (ielm-return-for-effect): New command.
1488 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1489 (ielm-eval-input): Accept optional `for-effect' parameter.
1490 Bind `standard-output' to stream we create using
04a19a79
DC
1491 `ielm-standard-output-impl'. Suppress printing result when
1492 `for-effect'.
1493 (ielm-standard-output-impl): New function.
1494 (inferior-emacs-lisp-mode): Explain new features in documentation.
1495
4c1f03ef
MA
14962013-10-17 Michael Albinus <michael.albinus@gmx.de>
1497
1498 Code cleanup.
1499
1500 * net/tramp.el (tramp-debug-message): Do not check for connection
1501 buffer.
1502 (tramp-message): Use "vector" connection property.
1503
1504 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1505 (tramp-equal-remote, tramp-eshell-directory-change)
1506 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1507 (tramp-adb-handle-rename-file)
1508 * net/tramp-cmds.el (tramp-list-remote-buffers)
1509 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1510 * net/tramp-compat.el (tramp-compat-process-running-p)
1511 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1512 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1513 (tramp-gvfs-handle-rename-file)
1514 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1515 (tramp-set-file-uid-gid)
1516 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1517 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1518 of `file-remote-p'.
1519
1520 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1521 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1522 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1523 (tramp-gw-open-network-stream): Suppress unrelated traces.
1524
1525 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1526 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1527 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1528 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1529 connection property.
1530
1531 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1532 persistency file.
4c1f03ef
MA
1533
1534 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1535 Refactor common code. Improve debug message.
1536 (tramp-maybe-open-connection)
1537 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1538 connection buffer too early.
1539
1540 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1541 from `tramp-smb-actions-with-acl'.
1542 (tramp-smb-actions-set-acl): New defconst.
1543 (tramp-smb-handle-copy-directory)
1544 (tramp-smb-action-get-acl): New defun, renamed from
1545 `tramp-smb-action-with-acl'.
1546 (tramp-smb-action-set-acl): New defun.
1547 (tramp-smb-handle-set-file-acl): Rewrite.
1548
642eb8b6
GM
15492013-10-17 Glenn Morris <rgm@gnu.org>
1550
1551 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1552
85527ff3
SM
15532013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1554
921c1d62
SM
1555 * skeleton.el (skeleton-newline): Remove.
1556 (skeleton-internal-1): Use (insert "\n") instead.
1557
e333fb10
SM
1558 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1559 let-bindings.
1560
85527ff3
SM
1561 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1562 forward-sexp-function while we redo its job (bug#15613).
1563
c8722a97
JB
15642013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1565
1566 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1567 represented by lists.
1568
7a550bbb
GM
15692013-10-16 Glenn Morris <rgm@gnu.org>
1570
1571 * tmm.el (tmm--history): New dynamic variable.
1572 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1573
f19da8ad
MA
15742013-10-16 Michael Albinus <michael.albinus@gmx.de>
1575
1576 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1577 (tramp-smb-errors): Add error messages.
1578 (tramp-smb-actions-with-acl): New defconst.
1579 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1580 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1581 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1582 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1583 (tramp-smb-get-stat-capability): Fix tests.
1584
a24b9961
DK
15852013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1586
1587 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1588 (bug#15580).
1589
62ad85e6
GM
15902013-10-16 Glenn Morris <rgm@gnu.org>
1591
0283d6b0
GM
1592 * ansi-color.el (ansi-color-drop-regexp):
1593 Add 1J, 1K, 2K. (Bug#15617)
1594
012e2f9f
GM
1595 * files.el (hack-local-variables--warned-lexical): New.
1596 (hack-local-variables):
1597 Warn about misplaced lexical-binding. (Bug#15616)
1598
62ad85e6
GM
1599 * net/eww.el (eww-render): Always set eww-current-url,
1600 and update header line. (Bug#15622)
1601 (eww-display-html): ... Rather than just doing it here.
1602
6456c0ea
EZ
16032013-10-15 Eli Zaretskii <eliz@gnu.org>
1604
1605 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1606 menu navigations commands.
1607
c2de5588
DK
16082013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1609
1610 * progmodes/subword.el (subword-capitalize): Be careful when
1611 the search for [[:alpha:]] fails (bug#15580).
1612
ccd4a783
EZ
16132013-10-14 Eli Zaretskii <eliz@gnu.org>
1614
1615 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1616 to commands that scroll the menu.
1617
1eda1d8d
DG
16182013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1619
c2de5588
DK
1620 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1621 Handle methods ending with `?' and `!'.
1eda1d8d 1622
e70181b8
AM
16232013-10-14 Akinori MUSHA <knu@iDaemons.org>
1624
1625 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1626 `japanese-cp932' to `cp932' to fix the problem where saving a
1627 source file written in Shift_JIS twice would end up having
1628 `coding: japanese-cp932' which Ruby could not recognize.
1629 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1630 in `ruby-encoding-map'.
1631 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1632 doesn't need to be explicitly declared in magic comment.
1633 (ruby-encoding-map): Add type declaration for better customize UI.
1634
9148ee92
GM
16352013-10-13 Glenn Morris <rgm@gnu.org>
1636
a5d38e34
GM
1637 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1638 Occur buffers are read-only. http://bugs.debian.org/720775
1639
9148ee92
GM
1640 * emacs-lisp/authors.el (authors-fixed-entries):
1641 Comment out old alpha stuff.
1642
a9ba094b
DG
16432013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1644
1645 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1646 to `after-save-hook' instead of `before-save-hook'.
1647 (ruby-mode-set-encoding): Use the value of coding system used to
1648 write the file. Call `basic-save-buffer-1' after modifying the
1649 buffer.
1650
7a068717
AM
16512013-10-13 Alan Mackenzie <acm@muc.de>
1652
1653 Fix indentation/fontification of Java enum with
1654 "implements"/generic.
1655
c2de5588
DK
1656 * progmodes/cc-engine.el (c-backward-over-enum-header):
1657 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1658 (c-inside-bracelist-p): Uses new function above.
1659 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1660 function above.
1661 (c-font-lock-enum-tail): Uses new function above.
1662
85b64f02
KH
16632013-10-13 Kenichi Handa <handa@gnu.org>
1664
1665 * international/mule-cmds.el (select-safe-coding-system): Remove a
1666 superfluous condition in chekcing whether a coding system is safe
1667 or not.
1668
fc7f501b
OK
16692013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1670
1671 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1672
fdcb2049
AP
16732013-10-13 Andreas Politz <politza@hochschule-trier.de>
1674
1675 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1676
8c106d17
GM
16772013-10-13 Glenn Morris <rgm@gnu.org>
1678
feab892d
GM
1679 * menu-bar.el (menu-bar-update-buffers):
1680 Unify Buffers menu prompt string. (Bug#15576)
1681
b22d0686
GM
1682 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1683
8c106d17
GM
1684 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1685 Add some entries.
1686 (authors-fixed-entries): Use accented form of name.
1687
1b12c797
SM
16882013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1689
650fa7bf 1690 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1691 method calls (bug#15594).
650fa7bf
SM
1692 (ruby-smie--args-separator-p): New function.
1693 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1694 recognize paren-free method calls.
1695
1b12c797
SM
1696 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1697 internals of universal-argument.
1698
029619c8
EZ
16992013-10-11 Eli Zaretskii <eliz@gnu.org>
1700
1701 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1702 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1703 dropped menu on second mouse click on the menu bar.
029619c8 1704
dd070019
SM
17052013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1708 (explicit-shell-file-name): Declare.
1709 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1710 (sh-completion-at-point-function): New function.
1711 (sh-mode): Use it.
1712 (sh-smie--keyword-p): Remove unused argument.
1713 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1714 vars.
1715 (sh-set-shell): Always setup SMIE, even if we use the
1716 old indentation code.
1717
0922b826
DG
17182013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1719
b68e2926
DG
1720 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1721 cases of ? and =.
1722 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1723 predicate would return nil are almost non-existent.
1724 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1725
0922b826
DG
1726 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1727 cache also after commands that modify the buffer but don't move
1728 point.
1729
ee041f2d
SM
17302013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * env.el (substitute-env-in-file-name): New function.
1733 (substitute-env-vars): Extend the meaning of the optional arg.
1734
a5dab159
EZ
17352013-10-10 Eli Zaretskii <eliz@gnu.org>
1736
1737 * term/w32-win.el (dynamic-library-alist): Define separate lists
1738 of GIF DLLs for versions before and after 5.0.0 of giflib.
1739 (Bug#15531)
1740
db138698
JT
17412013-10-10 João Távora <joaotavora@gmail.com>
1742
1743 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1744 not locked, use last revision and current source as
1745 defaults. (Bug#15569)
1746
2f6e161e
MY
17472013-10-10 Masatake YAMATO <yamato@redhat.com>
1748
1749 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1750 menu-bar is hidden.
1751
6c8413fc
MR
17522013-10-10 Martin Rudalics <rudalics@gmx.at>
1753
1754 * window.el (pop-to-buffer-same-window): Fix doc-string.
1755 (Bug#15492)
1756
20832de0
SM
17572013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1760
c6e8ae77
AC
17612013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1762
1763 * calendar/icalendar.el (icalendar-import-file):
1764 Fix interactive spec. (Bug#15482)
1765
9db13baf
GM
17662013-10-10 Glenn Morris <rgm@gnu.org>
1767
9271e90e
GM
1768 * desktop.el (desktop-save): Default to saving in .emacs.d,
1769 since PWD is no longer in desktop-path by default. (Bug#15319)
1770
9db13baf
GM
1771 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1772 now that text mode has a menu with the same entry.
1773 (menu-bar-text-mode-auto-fill): Remove now unused func.
1774 * textmodes/text-mode.el (text-mode-map):
1775 Use auto-fill help text from menu-bar.el.
1776
a0be396a 17772013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1778
1779 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1780
2edcd3c7
JL
17812013-10-09 Juri Linkov <juri@jurta.org>
1782
1783 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1784 instead of this-command-keys. Add universal-argument-more and
1785 universal-argument-minus to the list of prefix commands. (Bug#15568)
1786
574411d0
GM
17872013-10-09 Glenn Morris <rgm@gnu.org>
1788
14afa541
GM
1789 * vc/vc-svn.el (vc-svn-create-repo):
1790 Expand paths in file://... url. (Bug#15446)
1791
574411d0
GM
1792 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1793 Add some entries.
1794 (authors): Remove unused local variables.
1795
79804536
SM
17962013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * profiler.el: Create a more coherent calltree from partial backtraces.
1799 (profiler-format): Hide the tail with `invisible' so that C-s can still
1800 find the hidden elements.
1801 (profiler-calltree-depth): Don't recurse so enthusiastically.
1802 (profiler-function-equal): New hash-table-test.
1803 (profiler-calltree-build-unified): New function.
1804 (profiler-calltree-build): Use it.
1805 (profiler-report-make-name-part): Indent the calltree less.
1806 (profiler-report-mode): Add visibility specs for profiler-format.
1807 (profiler-report-expand-entry, profiler-report-toggle-entry):
1808 Expand the whole subtree when provided with a prefix arg.
1809
238150c8
DG
18102013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1811
1812 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1813 iuwu-mod token.
1814 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1815 hanging iuwu-mod token.
1816 (ruby-smie--forward-token): Do not include a dot after a token in
1817 that token.
1818 (ruby-smie--backward-token): Likewise.
1819
b0949cc4
JL
18202013-10-08 Juri Linkov <juri@jurta.org>
1821
1822 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1823 to isearch-other-control-char.
1824 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1825 and isearch-post-command-hook to post-command-hook.
1826 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1827 and isearch-post-command-hook from post-command-hook.
1828 (isearch-unread-key-sequence)
1829 (isearch-reread-key-sequence-naturally)
1830 (isearch-lookup-scroll-key, isearch-other-control-char)
1831 (isearch-other-meta-char): Remove functions.
1832 (isearch-pre-command-hook, isearch-post-command-hook):
1833 New functions based on isearch-other-meta-char rewritten
1834 relying on the new behavior of overriding-terminal-local-map
1835 that does not replace the local keymaps any more. (Bug#15200)
1836
4ed77415
EZ
18372013-10-08 Eli Zaretskii <eliz@gnu.org>
1838
1839 Support menus on text-mode terminals.
1840 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1841 functionality.
1842
1843 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1844
c2de5588
DK
1845 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1846 Move here from mouse.el.
4ed77415
EZ
1847 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1848 and arrow keys.
1849 (tty-menu-navigation-map): New map for TTY menu navigation.
1850
1851 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1852
1853 * frame.el (display-mouse-p): Report text-mode mouse as available
1854 on w32.
1855 (display-popup-menus-p): Report availability if mouse is
1856 available; don't condition on window-system.
1857
1858 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1859 (tty-menu-selected-face): New faces.
1860
b7d5bd82
TL
18612013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1862
06286513
SM
1863 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1864 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1865 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1866 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1867 New constants.
1868 (lisp-mode-variables): New `elisp' argument.
1869 (emacs-lisp-mode): Use it.
1870 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1871 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1872
b7d5bd82
TL
1873 * indent.el: Use lexical-binding.
1874 (indent-region): Add progress reporter.
1875 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1876 last step.
1877 (indent--next-tab-stop): New function to implement this behavior.
1878 (tab-to-tab-stop, move-to-tab-stop): Use it.
1879
18802013-10-08 Teemu Likonen <tlikonen@iki.fi>
1881
1882 * indent.el (indent-rigidly--current-indentation): New function.
1883 (indent-rigidly-map): New var.
1884 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1885
5ea75d23
BG
18862013-10-08 Bastien Guerry <bzg@gnu.org>
1887
1888 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1889
cc5da1ec
SM
18902013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1891
8ffa1a0b
SM
1892 * progmodes/perl-mode.el: Use lexical-binding.
1893 Remove redundant :group args.
1894 (perl-nochange): Change default to be closer to other major modes's
1895 standard behavior.
1896 (perl-indent-line): Don't consider text on current line as a
1897 valid beginning of function from which to indent.
1898
f2223371
SM
1899 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1900 with more than one argument (bug#15538).
1901
44256060
SM
1902 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1903
cc5da1ec
SM
1904 * vc/pcvs.el: Use lexical-binding.
1905 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1906 environment of `eval'.
1907 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1908 than a list of expressions. Adjust callers.
1909 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1910
0ea1599d
DG
19112013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1912
1913 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1914 case of the dot in a chained method call being on the following line.
0ea1599d 1915
da3e5ebb
SM
19162013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1917
2abb4e65
SM
1918 * electric.el (electric-indent-inhibit): New var.
1919 (electric-indent-post-self-insert-function): Use it.
1920 * progmodes/python.el (python-mode): Set it.
1921
d2e0e795
SM
1922 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1923 open braces.
1924
1925 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1926
bdc6b4c8
SM
1927 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1928 (css-mode): Use electric-indent-chars.
1929
da3e5ebb
SM
1930 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1931 (font-lock-beg, font-lock-end): Move before first use.
1932 (nxml-mode): Use syntax-propertize-function.
1933 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1934 (nxml-extend-after-change-region): Remove.
1935 * nxml/xmltok.el: Use lexical-binding.
1936 (xmltok-save): Use `declare'.
1937 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1938 * nxml/nxml-util.el: Use lexical-binding.
1939 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1940 Use `declare'.
1941 * nxml/nxml-ns.el: Use lexical-binding.
1942 (nxml-ns-save): Use `declare'.
1943 (nxml-ns-prefixes-for): Avoid add-to-list.
1944 * nxml/rng-match.el: Use lexical-binding.
1945 (rng--ipattern): Use cl-defstruct.
1946 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1947 (rng-cons-group-after, rng-subst-group-after)
1948 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1949 Use closures instead of `(lambda...).
1950
f8f91d5d
MA
19512013-10-07 Michael Albinus <michael.albinus@gmx.de>
1952
1953 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1954 of BEG and END.
1955
da3e5ebb
SM
1956 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1957 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1958 (tramp-gvfs-handle-insert-file-contents): Remove function.
1959
da3e5ebb
SM
1960 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1961 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1962
1963 * net/trampver.el: Update release number.
1964
7ccae3b1
SM
19652013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1966
55ca2c0d
SM
1967 * progmodes/compile.el (compilation-parse-errors):
1968 Use compilation--put-prop.
1969 (compilation--ensure-parse): Check compilation-multiline.
1970
731fc3ae
SM
1971 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1972
da3e5ebb
SM
1973 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1974 lexical-binding.
a5833280 1975
2e7ba2c2
SM
1976 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1977
7ccae3b1
SM
1978 * progmodes/ruby-mode.el: Fix recently added tests.
1979 (ruby-smie-grammar): Add - and +.
1980 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1981 (ruby-smie--backward-id): New functions.
1982 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1983 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1984 any more.
1985
85698d63
LL
19862013-10-07 Leo Liu <sdl.web@gmail.com>
1987
1988 * register.el (register-preview-delay)
1989 (register-preview-functions): New variables.
1990 (register-read-with-preview, register-preview)
1991 (register-describe-oneline): New functions.
1992 (point-to-register, window-configuration-to-register)
1993 (frame-configuration-to-register, jump-to-register)
1994 (number-to-register, view-register, insert-register)
1995 (copy-to-register, append-to-register, prepend-to-register)
1996 (copy-rectangle-to-register): Use register-read-with-preview to
1997 read register. (Bug#15525)
1998
3986af6c
DS
19992013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2000
2001 * net/network-stream.el (network-stream-open-starttls): Don't add
2002 --insecure if it's already present, because that gnutls-cli
2003 rejects getting that parameter twice.
2004
5cd9cda9
DG
20052013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2006
2007 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2008 keyword, too.
2009
da9ea6d9
DG
20102013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2011
2012 * newcomment.el (comment-use-global-state): Change default value
2013 to t, mark obsolete (Bug#15251).
2014 (comment-beginning): In addition to `comment-to-syntax', check the
2015 value of `comment-use-global-state'.
2016
34d1a133
SM
20172013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2020 (ruby-comment-column): Follow the global default, by default.
2021 (ruby-smie-grammar): Add assignment syntax.
2022 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2023 open-paren, a comma, or a \.
2024 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2025 and line continuations.
2026 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2027 followed by implicit semi-colons. Add rule for string concatenation
2028 and for indentation at BOB.
2029 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2030
2031 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2032 calling next-sexp, since next-token may have skipped chars which
2033 next-sexp doesn't know should be skipped!
2034
6f6ab820
LL
20352013-10-05 Leo Liu <sdl.web@gmail.com>
2036
34d1a133
SM
2037 * progmodes/octave.el (octave-send-region):
2038 Call compilation-forget-errors.
6f6ab820 2039
34ca0f4c
XF
20402013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2041
2042 * vc/vc-svn.el (vc-svn-find-admin-dir):
2043 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2044 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2045 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2046 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2047
a27c1b72
SM
20482013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2051
258ab3bc
SM
20522013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * subr.el (read-passwd): Hide chars even when called within a context
2055 where after-change-functions is disabled (bug#15501).
2056 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2057 until we removed ourself from overriding-terminal-local-map.
2058
939fb29c
LL
20592013-10-04 Leo Liu <sdl.web@gmail.com>
2060
258ab3bc
SM
2061 * progmodes/octave.el (inferior-octave-mode):
2062 Call compilation-forget-errors.
939fb29c 2063
63bd7f35
XF
20642013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2065
2066 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2067
9e6229fa
MA
20682013-10-04 Michael Albinus <michael.albinus@gmx.de>
2069
2070 * net/secrets.el (secrets-create-collection): Add optional
2071 argument ALIAS. Use proper Label keyword. Append ALIAS as
2072 dbus-call-method argument. (Bug#15516)
2073
1dab32a3
LL
20742013-10-04 Leo Liu <sdl.web@gmail.com>
2075
2076 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2077 (inferior-octave-compilation-font-lock-keywords): New variables.
2078 (compilation-error-regexp-alist)
2079 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2080 (inferior-octave-mode): Use compilation-shell-minor-mode.
2081
6cad7ba3
JS
20822013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2083
2084 * minibuffer.el (completion--replace): Be careful that `end' might be
2085 a marker.
2086
acbadd00
DU
20872013-10-03 Daiki Ueno <ueno@gnu.org>
2088
2089 Add support for package signature checking.
2090 * emacs-lisp/package.el (url-http-file-exists-p)
2091 (epg-make-context, epg-context-set-home-directory)
2092 (epg-verify-string, epg-context-result-for)
2093 (epg-signature-status, epg-signature-to-string)
2094 (epg-check-configuration, epg-configuration)
2095 (epg-import-keys-from-file): Declare.
2096 (package-check-signature): New user option.
2097 (package-unsigned-archives): New user option.
2098 (package-desc): Add `signed' field.
2099 (package-load-descriptor): Set `signed' field if .signed file exists.
2100 (package--archive-file-exists-p): New function.
2101 (package--check-signature): New function.
2102 (package-install-from-archive): Check package signature.
2103 (package--download-one-archive): Check archive signature.
2104 (package-delete): Remove .signed file.
2105 (package-import-keyring): New command.
2106 (package-refresh-contents): Import default keyring.
2107 (package-desc-status): Add "unsigned" status.
2108 (describe-package-1, package-menu--print-info)
2109 (package-menu-mark-delete, package-menu--find-upgrades)
2110 (package-menu--status-predicate): Support "unsigned" status.
2111
adf2aa61
SM
21122013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2115 the new compilation scheme using the new byte-codes.
2116
2117 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2118 (byte-pophandler): New byte codes.
2119 (byte-goto-ops): Adjust accordingly.
2120 (byte-compile--use-old-handlers): New var.
2121 (byte-compile-catch): Use new byte codes depending on
2122 byte-compile--use-old-handlers.
2123 (byte-compile-condition-case--old): Rename from
2124 byte-compile-condition-case.
2125 (byte-compile-condition-case--new): New function.
2126 (byte-compile-condition-case): New function that dispatches depending
2127 on byte-compile--use-old-handlers.
2128 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2129 when we can.
2130
2131 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2132 Optimize under `condition-case' and `catch' if
2133 byte-compile--use-old-handlers is nil.
2134 (disassemble-offset): Handle new bytecodes.
2135
328a8179
SM
21362013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * subr.el (error): Use `declare'.
2139 (decode-char, encode-char): Use advertised-calling-convention instead
2140 of the docstring to discourage use of the `restriction' arg.
2141
15a1e936
DU
21422013-10-03 Daiki Ueno <ueno@gnu.org>
2143
2144 * epg.el (epg-verify-file): Add a comment saying that it does not
2145 notify verification error as a return value nor a signal.
2146 (epg-verify-string): Ditto.
2147
376f862a
KR
21482013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2149
2150 * progmodes/compile.el (compilation-start): Try globbing the arg to
2151 `cd' (bug#15417).
2152
a2f93a5f
MA
21532013-10-02 Michael Albinus <michael.albinus@gmx.de>
2154
2155 Sync with Tramp 2.2.8.
2156
2157 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2158 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2159 * net/trampver.el: Update release number.
2160
0daa0804
JD
21612013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2162
2163 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2164 and default-process-coding-system for darwin only.
2165
abd1ae34
SM
21662013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2169
be4e325d
MH
21702013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2171
2172 * vc/vc-git.el (vc-git-grep): Disable pager.
2173
e9155c4a
DG
21742013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2175
494e898b
DG
2176 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2177 Use :url instead of :homepage, as per
2178 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2179
e9155c4a
DG
2180 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2181 non-nil, use `syntax-ppss' (Bug#15251).
2182
481a8e0f
RS
21832013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2184
be4e325d
MH
2185 * progmodes/octave.el (inferior-octave-startup-file):
2186 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2187
056453c6
DG
21882013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2189
be4e325d
MH
2190 * emacs-lisp/package.el (package-desc-from-define):
2191 Accept additional arguments as plist, convert them to an alist and store
2192 them in the `extras' slot.
056453c6
DG
2193 (package-generate-description-file): Convert extras alist back to
2194 plist and append to the `define-package' form arguments.
2195 (package--alist-to-plist): New function.
2196 (package--ac-desc): Add `extras' slot.
2197 (package--add-to-archive-contents): Check if the archive-contents
2198 vector is long enough, and if it is, pass its `extras' slot value
2199 to `package-desc-create'.
2200 (package-buffer-info): Call `lm-homepage', pass the returned value
2201 to `package-desc-from-define'.
2202 (describe-package-1): Render the homepage button (Bug#13291).
2203
be4e325d
MH
2204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2205 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2206
832966e5
JD
22072013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2208
2209 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2210 and default-process-coding-system to utf-8-unix (Bug#15402).
2211
6cfe977d
XF
22122013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2213
2214 * subr.el (looking-back): Do not recommend using looking-back.
2215
38de11bd
AM
22162013-09-28 Alan Mackenzie <acm@muc.de>
2217
2218 Fix indentation/fontification of Java enum with "implements".
2219
2220 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2221 regexp which matches "implements", etc., in Java.
2222 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2223 specifier clauses coming after "enum".
2224 * progmodes/cc-fonts.el (c-font-lock-declarations)
2225 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2226 after "enum".
2227
1610938f
JD
22282013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2229
2230 * faces.el (region): Change ns_selection_color to
2231 ns_selection_fg_color, add ns_selection_bg_color.
2232
e090f499
LL
22332013-09-28 Leo Liu <sdl.web@gmail.com>
2234
4d2e94d1
LL
2235 * progmodes/octave.el (inferior-octave-completion-table)
2236 (inferior-octave-completion-at-point): Minor tweaks.
2237
e090f499
LL
2238 * textmodes/ispell.el (ispell-lookup-words): Rename from
2239 lookup-words. (Bug#15460)
2240 (lookup-words): Obsolete.
2241 (ispell-complete-word, ispell-command-loop): All uses changed.
2242
7e138a62
RS
22432013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2244
2245 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2246 (octave-mode-menu): Add octave-send-buffer.
2247 (octave-send-buffer): New function.
2248
5af5ed08
RS
22492013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2250
2251 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2252 octave-lookfor.
2253 (octave-mode-menu): Add octave-lookfor.
2254 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2255 octave-lookfor.
2256 (octave-lookfor): New function.
2257
3b7b2692
SM
22582013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * emacs-lisp/cl-macs.el:
2261 (cl--loop-destr-temps): Remove.
2262 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2263 its convention.
2264 (cl--loop-set-iterator-function): New function.
2265 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2266 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2267 Bind `it' with `let' instead of substituting it with `cl-subst'.
2268 (cl--unused-var-p): New function.
2269 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2270 Eliminate some unused variable warnings (bug#15326).
2271
529fb53f
TH
22722013-09-27 Tassilo Horn <tsdh@gnu.org>
2273
2274 * doc-view.el (doc-view-scale-reset): Rename from
2275 `doc-view-reset-zoom-level'.
2276 (doc-view-scale-adjust): New command.
2277 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2278 `doc-view-scale-adjust'.
2279
0550c95a
TH
22802013-09-26 Tassilo Horn <tsdh@gnu.org>
2281
2282 * doc-view.el (doc-view-reset-zoom-level): New command.
2283 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2284 zoom commands (bug#15466).
2285
6950f152
KH
22862013-09-26 Kenichi Handa <handa@gnu.org>
2287
2288 * international/quail.el (quail-help): Make it not a command.
2289
39587580
LL
22902013-09-26 Leo Liu <sdl.web@gmail.com>
2291
2292 * minibuffer.el (completion-all-sorted-completions): Make args
2293 optional as they are.
2294
00578659
DC
22952013-09-25 Daniel Colascione <dancol@dancol.org>
2296
2297 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2298 specs are and that they're not evaluated.
2299
0c173878
SS
23002013-09-24 Sam Steingold <sds@gnu.org>
2301
2302 * midnight.el (clean-buffer-list-kill-regexps)
2303 (clean-buffer-list-kill-buffer-names): Update for the new Man
2304 buffer naming which includes the object name.
2305
84998447
SM
23062013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2309 (eshell-parse-command, eshell-parse-pipeline): Use it since
2310 eshell-separate-commands requires a dynamic scoped var.
2311 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2312
33215353
LL
23132013-09-23 Leo Liu <sdl.web@gmail.com>
2314
2315 * autoinsert.el (auto-insert-alist): Make the value of
2316 lexical-binding match its file setting.
2317
57b16162
JB
23182013-09-23 Juanma Barranquero <lekktu@gmail.com>
2319
c8af4e67
JB
2320 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2321
57b16162
JB
2322 * autoarg.el (autoarg-kp-digit-argument):
2323 * electric.el (Electric-command-loop):
2324 * kmacro.el (kmacro-step-edit-insert):
2325 Do not set universal-argument-num-events.
2326
7186ba60
LL
23272013-09-22 Leo Liu <sdl.web@gmail.com>
2328
2329 * files.el (interpreter-mode-alist): Add octave.
2330
ece15004
AM
23312013-09-21 Alan Mackenzie <acm@muc.de>
2332
2333 C++: fontify identifier in declaration following "public:" correctly.
2334 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2335 to match "public", etc.
2336 (c-decl-prefix-re): Add ":" into the C++ value.
2337 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2338 bit. Add a check for a ":" preceded by "public", etc.
2339
75d83e22
EZ
23402013-09-21 Eli Zaretskii <eliz@gnu.org>
2341
2342 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2343 recognized by GDB 7.5 and later.
2344
d052d3bd
XF
23452013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2346
2347 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2348
31dca772
R
23492013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * subr.el (internal--call-interactively): New const.
2352 (called-interactively-p): Use it (bug#3984).
2353
98ccf24e
XF
23542013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2355
2356 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2357 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2358 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2359
c39cc7d1
SM
23602013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2363 (eshell-ls-orig-insert-directory): Remove.
2364 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2365 (eshell-ls-use-in-dired): Use advice-add/remove.
2366 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2367 Add `orig-fun' arg for use in :around advice.
2368 Make it check (redundantly) eshell-ls-use-in-dired.
2369
9a0289a2
GM
23702013-09-19 Glenn Morris <rgm@gnu.org>
2371
a2c501b8
GM
2372 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2373
c440407a
GM
2374 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2375
9a0289a2
GM
2376 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2377
85e05915
MA
23782013-09-19 Michael Albinus <michael.albinus@gmx.de>
2379
2380 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2381 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2382 (tramp-get-remote-python): New defuns.
2383 (tramp-get-remote-uid-with-perl)
2384 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2385 contributed by yary <not.com@gmail.com> (tiny change).
2386 (tramp-get-remote-uid-with-python)
2387 (tramp-get-remote-gid-with-python): New defuns. Python code
2388 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2389 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2390
ce503312
GM
23912013-09-19 Glenn Morris <rgm@gnu.org>
2392
f7544773
GM
2393 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2394
72fd2877
GM
2395 * eshell/em-unix.el (eshell-remove-entries):
2396 Rename argument to avoid name-clash with global `top-level'.
2397
336b5a56
GM
2398 * eshell/esh-proc.el (eshell-kill-process-function):
2399 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2400 (eshell-reset-after-proc): Remove unused arg `proc'.
2401
57a3a53d
GM
2402 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2403 (directory-files-and-attributes): Mark unused arg.
2404
3261d4af
GM
2405 * eshell/em-unix.el (eshell-remove-entries):
2406 Remove unused arg `path'. Update callers.
2407
8e51b5d0
GM
2408 * eshell/em-hist.el (eshell-hist-parse-arguments):
2409 Remove unused arg `silent'. Update callers.
2410
ce503312
GM
2411 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2412 Fix (f)boundp mix-up.
2413
2414 * eshell/em-smart.el (eshell-smart-scroll-window)
2415 (eshell-disable-after-change):
336b5a56 2416 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2417
ee3ce8a7
AM
24182013-09-18 Alan Mackenzie <acm@muc.de>
2419
2420 Fix fontification of type when followed by "const".
2421 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2422 "known" types from fontification.
2423
ec9177ba
GM
24242013-09-18 Glenn Morris <rgm@gnu.org>
2425
7bb3e768
GM
2426 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2427 (chart-face-list): Drop Emacsen without display-color-p.
2428
5148da15
GM
2429 * net/eww.el (libxml-parse-html-region): Declare.
2430 (eww-display-html): Explicit error if no libxml2 support.
2431
2f68e157
GM
2432 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2433
9019d095
GM
2434 * image.el (image-type-from-buffer, image-multi-frame-p):
2435 Remove --without-x warning/error.
67645389 2436
5f30349b 2437 * mouse.el (mouse-yank-primary):
45069b2e 2438 * term.el (term-mouse-paste):
5f30349b
GM
2439 Reorder to silence --without-x compilation.
2440
cd8edbbe
GM
2441 * mpc.el (doc-view-mode): Silence --without-x compilation.
2442
8a78544e
GM
2443 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2444 Silence --without-x compilation.
2445
12679bfd
GM
2446 * progmodes/gud.el (gud-find-file, gud-mode):
2447 Silence --without-x compilation.
2448 (tooltip-mode): Declare.
30810a05 2449
f0047cb9
GM
2450 * wdired.el (dired-backup-overwrite): Remove declaration.
2451 (wdired-mode-map): Add doc string.
2452
e740f9d2
GM
2453 * custom.el (x-get-resource): Declare.
2454
92d77c89
GM
2455 * eshell/em-glob.el (ange-cache):
2456 * eshell/em-unix.el (ange-cache): Declare.
2457
76e69577
GM
2458 * faces.el (x-display-list, x-open-connection, x-get-resource):
2459 Declare.
7e58af4b
GM
2460
2461 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2462 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2463 Declare.
76e69577 2464
4bd4c0af 2465 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2466
ffb82dbd
GM
2467 * net/gnutls.el (gnutls-log-level): Declare.
2468
986ed135
GM
2469 * net/shr.el (image-size, image-animate): Declare.
2470
e740f9d2
GM
2471 * simple.el (font-info): Declare.
2472
d2f3e9f8
GM
2473 * subr.el (x-popup-dialog): Declare.
2474
047a1a4c
GM
2475 * term/common-win.el (x-select-enable-primary)
2476 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2477 Declare.
2478
f4a1d572
GM
2479 * term/ns-win.el (x-handle-args): Declare.
2480
e843de77
GM
2481 * term/x-win.el (x-select-enable-clipboard): Declare.
2482
5fa89513
GM
2483 * term/w32-win.el (create-default-fontset): Declare.
2484
38702b5b
GM
2485 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2486 Declare.
2487
e740f9d2
GM
2488 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2489 (fit-frame-to-buffer): Explicit error if --without-x.
2490 (mouse-autoselect-window-select): Silence compiler.
2491
49a053fc
GM
2492 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2493
2494 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2495 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2496 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2497 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2498 Remove unused local variables.
2499
2500 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2501
ec9177ba
GM
2502 * textmodes/two-column.el: Make 2C-split work for --without-x.
2503 (scroll-bar-columns): Autoload.
2504 (top-level): Require fringe when compiling.
2505
9f25cb77
LL
25062013-09-18 Leo Liu <sdl.web@gmail.com>
2507
2508 * subr.el (add-hook): Robustify to handle closure as well.
2509
2b42da98
GM
25102013-09-17 Glenn Morris <rgm@gnu.org>
2511
2512 * simple.el (messages-buffer-mode-map): Unbind "g".
2513
e8b66a6a
SM
25142013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2515
9c0ad4f7
SM
2516 * help-mode.el (help-mode-finish): Use derived-mode-p.
2517 Remove obsolete highlighting.
2518
7a806dfb
SM
2519 * play/life.el (life-mode): Use define-derived-mode. Derive from
2520 special-mode.
2521 (life): Let-bind inhibit-read-only.
2522 (life-setup): Avoid `setq'. Use `life-mode'.
2523
96dbf5a8
SM
2524 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2525 which should not be needed any more.
2526 (package-menu-refresh, package-menu-describe-package): Use user-error.
2527
e8b66a6a
SM
2528 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2529 (eshell-post-rewrite-command-hook): Make obsolete.
2530 (eshell-parse-command): Simplify.
2531 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2532 (eshell--cmd): Declare.
2533 (eshell-parse-pipeline): Remove unused var `final-p'.
2534 Pass a dynvar to eshell-post-rewrite-command-hook.
2535 Implement the new eshell-post-rewrite-command-function.
2536 (eshell-invoke-directly): Remove unused arg `input'.
2537 * eshell/esh-io.el (eshell-io-initialize):
2538 Use eshell-post-rewrite-command-function (bug#15399).
2539 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2540 adjust to new calling convention.
2541 (eshell-create-handles): Rename args to avoid clashing with dynvar
2542 `standard-output'.
2543
90582f05
GM
25442013-09-17 Glenn Morris <rgm@gnu.org>
2545
2546 * simple.el (messages-buffer-mode): New major mode.
2547 (messages-buffer): New function.
2548 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2549 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2550 (ert-run-test): Use `messages-buffer' function.
90582f05 2551 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2552 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2553 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2554
39eb0cb5 25552013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2556
2557 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2558
1f1e06e2
SM
2559 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2560
70568a90
SM
25612013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2562
504a0381
SM
2563 * icomplete.el (icomplete-in-buffer): New var.
2564 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2565 vars and replace them with functions.
2566 (icomplete-minibuffer-setup): Adjust accordingly.
2567 (icomplete--completion-table, icomplete--completion-predicate)
2568 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2569 New functions.
2570 (icomplete-forward-completions, icomplete-backward-completions)
2571 (icomplete-simple-completing-p, icomplete-exhibit)
2572 (icomplete-completions): Use them.
2573 (icomplete--in-region-buffer): New var.
2574 (icomplete--in-region-setup): New function.
2575 (icomplete-mode): Use it.
2576
70568a90
SM
2577 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2578 (bug#15379).
2579 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2580 return args and options.
2581 (eshell-eval-using-options): Use the new return value of
2582 eshell--do-opts to set the options's vars in their scope.
2583 (eshell--set-option): Rename from eshell-set-option.
2584 Add arg `opt-vals'.
2585 (eshell--process-option): Rename from eshell-process-option.
2586 Add arg `opt-vals'.
2587 (eshell--process-args): Use an `opt-vals' alist to store the options's
2588 values during their processing and return them additionally to the
2589 remaining args.
2590
578c21bc
DG
25912013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2592
2593 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2594 continuation character an operator, as far as indentation is
2595 concerned (Bug#15369).
2596
c089653d
MR
25972013-09-15 Martin Rudalics <rudalics@gmx.at>
2598
2599 * window.el (window--state-put-2): Don't process buffer state
2600 when buffer doesn't exist any more (Bug#15382).
2601
1e53bb4b
GM
26022013-09-15 Glenn Morris <rgm@gnu.org>
2603
30753242
GM
2604 * eshell/em-unix.el (eshell/rm):
2605 Make -f ignore missing files. (Bug#15373)
2606
1e53bb4b
GM
2607 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2608 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2609 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2610
0d8863b3
GM
26112013-09-14 Glenn Morris <rgm@gnu.org>
2612
2613 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2614
d3fc6549
GM
26152013-09-13 Glenn Morris <rgm@gnu.org>
2616
2617 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2618 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2619
fcd42c11
DA
26202013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2621
2622 * frame.el (x-focus-frame): Mark as declared in frame.c.
2623
7830899f
SM
26242013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * ls-lisp.el: Use advice-add.
2627 (original-insert-directory): Remove.
2628 (ls-lisp--insert-directory): Rename from insert-directory; add
2629 `orig-fun' argument.
2630 (insert-directory): Advise.
2631
84387cd2
EZ
26322013-09-13 Eli Zaretskii <eliz@gnu.org>
2633
2634 * term.el (term-emulate-terminal): Decode the command string
2635 before passing it to term-command-hook. (Bug#15337)
2636
35ffc6ba
GM
26372013-09-13 Glenn Morris <rgm@gnu.org>
2638
5c3f9bcc
GM
2639 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2640
2ada368a
GM
2641 * eshell/esh-ext.el (eshell-search-path): Declare.
2642
fcef2e13
GM
2643 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2644 Otherwise an error occurs if eshell-dirs module not loaded.
2645
35ffc6ba
GM
2646 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2647
35c3d36e
MA
26482013-09-13 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2651 `tramp-check-proper-host'. Check for a valid method name.
2652
2653 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2654 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2655 * net/tramp-sh.el (tramp-maybe-open-connection):
2656 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2657
2658 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2659 also for hash values.
2660
ae5e4c48
SM
26612013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2662
379add74
SM
2663 * term/ns-win.el (parameters): Don't declare as dynamic.
2664 (before-make-frame-hook): Don't add ineffective function.
2665
ae5e4c48
SM
2666 * eshell/*.el: Use lexical-binding (bug#15231).
2667
b5623270
KH
26682013-09-12 Kenichi Handa <handa@gnu.org>
2669
ae5e4c48 2670 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2671
30213927
GM
26722013-09-12 Glenn Morris <rgm@gnu.org>
2673
be94d713 2674 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2675 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2676
44915370
GM
2677 * subr.el (do-after-load-evaluation): Also give compiler warnings
2678 when obsolete files are used (except by obsolete files).
2679
a6ae021f
GM
2680 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2681 in the status output, assume `filename' is the first. (Bug#15322)
2682
40e64f0c
GM
2683 * vc/vc.el (vc-deduce-fileset): Doc fix.
2684
16d9f896
GM
2685 * calc/calc-help.el (Info-goto-node):
2686 * progmodes/cperl-mode.el (Info-find-node):
2687 * vc/ediff.el (Info-goto-node): Update declarations.
2688
dea01c6e
GM
2689 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2690
759880bf 2691 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2692 (vc-bzr-pull): Require vc-dispatcher.
2693 * vc/vc-git.el (vc-compilation-mode): Declare.
2694 (vc-git-pull): Require vc-dispatcher.
2695
08d66420
GM
2696 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2697
30b626e9
GM
2698 * progmodes/octave.el (help-button-action): Declare.
2699
8c05cb10
GM
2700 * shell.el (shell-directory-tracker): Output error as a message
2701 rather than just returning it as a string.
2702 (shell-process-pushd): Remove useless use of message.
2703
30213927
GM
2704 * dframe.el (dframe-timer-fn):
2705 * files.el (dir-locals-read-from-file):
2706 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2707 (mpc-format):
2708 * reveal.el (reveal-post-command):
2709 * saveplace.el (load-save-place-alist-from-file):
2710 * shell.el (shell-resync-dirs):
2711 * w32-common-fns.el (x-get-selection-value):
2712 * emacs-lisp/copyright.el (copyright-find-copyright):
2713 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2714 * emulation/tpu-edt.el (tpu-copy-keyfile):
2715 * play/bubbles.el (bubbles--mark-neighbourhood):
2716 * progmodes/executable.el
2717 (executable-make-buffer-file-executable-if-script-p):
2718 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2719
d3b049e6
SM
27202013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2721
170266d0
SM
2722 Cleanup Eshell to rely less on dynamic scoping.
2723 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2724 last-value, and ext-command here. Bind `args' closer to `body'.
2725 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2726 (eshell--args): Declare new dynamic var.
2727 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2728 last-value, and ext-command. Pass `args' to `body'.
2729 (eshell-process-args): Bind eshell--args.
2730 (eshell-set-option): Use eshell--args.
2731 * eshell/eshell.el (eshell): Use derived-mode-p.
2732 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2733 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2734 (eshell-glob-function): Declare.
2735 * eshell/esh-util.el: Require cl-lib.
2736 (eshell-read-hosts-file): Avoid add-to-list.
2737 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2738 `err'.
2739 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2740 Declare.
2741 (eshell/diff): Remove unused var `err'.
2742 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2743 `killflag'.
2744 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2745 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2746 first use.
2747 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2748 Move declaration before first use.
2749 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2750 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2751 rely on cl-return.
2752
56834f3b
GM
27532013-09-12 Glenn Morris <rgm@gnu.org>
2754
2755 * term/ns-win.el (global-map): Remove binding for ispell-next,
2756 deleted 1999-05-29. (Bug#15357)
2757
5c91a2b8
GM
27582013-09-11 Glenn Morris <rgm@gnu.org>
2759
da712f22
GM
2760 * echistory.el (electric-command-history): Remove call to deleted func.
2761
512e4cdc
GM
2762 * play/landmark.el (landmark-mode): Fix typos.
2763
d3506ca5
GM
2764 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2765 Check cvs-sort-ignore-file is bound.
2766
5c91a2b8
GM
2767 * savehist.el: No need for cl when compiling on Emacs.
2768
feeff482
SM
27692013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2770
656bd483
SM
2771 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2772 (bug#15338).
d3b049e6
SM
2773 (eshell-self-insert-command, eshell-send-invisible):
2774 Remove unused argument.
656bd483
SM
2775 (eshell-handle-control-codes): Remove unused var `orig'.
2776 Avoid delete-backward-char.
2777
feeff482
SM
2778 * files.el (set-auto-mode): Simplify a bit further.
2779
2a08047a
GM
27802013-09-11 Glenn Morris <rgm@gnu.org>
2781
2782 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2783 (set-auto-mode): Don't regexp-quote elements.
2784 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2785 * progmodes/cc-mode.el (interpreter-mode-alist):
2786 * progmodes/ruby-mode.el (interpreter-mode-alist):
2787 Revert previous change.
2788
34675540
SM
27892013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2790
1b3b87df
SM
2791 * play/snake.el (snake-mode):
2792 * play/mpuz.el (mpuz-mode):
2793 * play/landmark.el (lm-mode):
2794 * play/blackbox.el (blackbox-mode):
2795 * play/5x5.el (5x5-mode):
2796 * obsolete/options.el (Edit-options-mode):
2797 * net/quickurl.el (quickurl-list-mode):
2798 * net/newst-treeview.el (newsticker-treeview-mode):
2799 * mail/rmailsum.el (rmail-summary-mode):
2800 * mail/mspools.el (mspools-mode):
2801 * locate.el (locate-mode):
2802 * ibuffer.el (ibuffer-mode):
2803 * emulation/ws-mode.el (wordstar-mode):
2804 * emacs-lisp/debug.el (debugger-mode):
2805 * array.el (array-mode):
2806 * net/eudc.el (eudc-mode): Use define-derived-mode.
2807 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2808 Move initialization into declaration.
2809 (mairix-searches-mode): Use define-derived-mode.
2810 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2811 (eudc-edit-hotlist): Use dolist.
2812 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2813 (Man-mode): Use define-derived-mode.
2814 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2815 (Info-edit-mode): Use define-derived-mode.
2816 (Info-cease-edit): Use Info-mode.
2817 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2818 into declaration.
2819 (eshell-mode): Use define-derived-mode.
2820 * chistory.el (command-history-mode-map): Rename from
2821 command-history-map.
2822 (command-history-mode): Use define-derived-mode.
da712f22 2823 (Command-history-setup): Remove function.
1b3b87df
SM
2824 * calc/calc.el (calc-trail-mode-map): New var.
2825 (calc-trail-mode): Use define-derived-mode.
2826 (calc-trail-buffer): Set calc-main-buffer manually.
2827 * bookmark.el (bookmark-insert-annotation): New function.
2828 (bookmark-edit-annotation): Use it.
2829 (bookmark-edit-annotation-mode): Make it a proper major mode.
2830 (bookmark-send-edited-annotation): Use derived-mode-p.
2831 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2832 closer to its ideal place. Use \' to match EOS.
2833
34675540
SM
2834 * profiler.el (profiler-calltree-find): Use function-equal.
2835
6a5c15d9
GM
28362013-09-10 Glenn Morris <rgm@gnu.org>
2837
1af4c220
GM
2838 * files.el (interpreter-mode-alist): Convert to regexps.
2839 (set-auto-mode): Adapt for this. (Bug#15306)
2840 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2841 Comment out unused variable.
2842 * progmodes/cc-mode.el (interpreter-mode-alist):
2843 * progmodes/python.el (interpreter-mode-alist):
2844 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2845 * progmodes/sh-script.el (sh-set-shell):
2846 No longer use interpreter-mode-alist to get list of shells.
2847
6a5c15d9
GM
2848 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2849
8c27f5ff
SM
28502013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2851
02ef6c1a 2852 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2853 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2854 Bind switch-frame explicitly. Replace universal-argument-minus with
2855 a conditional binding.
2856 (universal-argument-num-events, saved-overriding-map): Remove.
2857 (restore-overriding-map): Remove.
2858 (universal-argument--mode): Rename from save&set-overriding-map,
2859 and rewrite.
2860 (universal-argument, universal-argument-more, negative-argument)
2861 (digit-argument): Adjust accordingly.
2862 (universal-argument-minus): Remove.
2863 (universal-argument-other-key): Remove.
2864
8c27f5ff
SM
2865 * subr.el (with-demoted-errors): Add `format' argument.
2866
6480194c
MA
28672013-09-10 Michael Albinus <michael.albinus@gmx.de>
2868
2869 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2870 `tramp-cleanup-connection'.
2871
2872 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2873 parameters KEEP-DEBUG and KEEP-PASSWORD.
2874
2875 * net/tramp.el (tramp-file-name-handler):
2876 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2877 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2878 (tramp-maybe-open-connection):
8c27f5ff
SM
2879 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2880 Use `tramp-cleanup-connection'.
6480194c 2881
8c27f5ff
SM
2882 * net/tramp-sh.el (tramp-maybe-open-connection):
2883 Catch 'uname-changed inside the progress reporter.
6480194c 2884
e5e916d8
GM
28852013-09-10 Glenn Morris <rgm@gnu.org>
2886
9a2c9b47
GM
2887 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2888
e5e916d8
GM
2889 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2890 returns "alternate access method" in mode (eg "-rw-r--r--.").
2891
144e38fe
GM
28922013-09-08 Glenn Morris <rgm@gnu.org>
2893
2894 * saveplace.el (load-save-place-alist-from-file):
2895 Demote errors. (Bug#15305)
2896
af9ff9e8
MA
28972013-09-08 Michael Albinus <michael.albinus@gmx.de>
2898
2899 Improve compatibility with older Emacsen, and XEmacs.
2900
2901 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2902 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2903 (with-tramp-progress-reporter): Do not let-bind `result'.
2904 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2905 (tramp-handle-make-auto-save-file-name): New function, moved from
2906 tramp-sh.el.
2907
2908 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2909 for `make-auto-save-file-name'.
8c27f5ff
SM
2910 (tramp-adb--gnu-switches-to-ash):
2911 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2912
2913 * net/tramp-cache.el (tramp-cache-print): Call
2914 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2915
2916 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2917 bound. It isn't for XEmacs.
2918
8c27f5ff
SM
2919 * net/tramp-compat.el (tramp-compat-copy-file):
2920 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2921 (tramp-compat-replace-regexp-in-string): New defun.
2922
2923 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2924 for `make-auto-save-file-name'.
2925 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2926 `copy-file'.
2927 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2928 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2929 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2930
8c27f5ff
SM
2931 * net/tramp-gw.el (tramp-gw-open-network-stream):
2932 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2933
8c27f5ff
SM
2934 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2935 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2936 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2937 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2938 (tramp-sh-file-inotifywait-process-filter):
2939 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2940 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2941
2942 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2943 for `make-auto-save-file-name'.
8c27f5ff
SM
2944 (tramp-smb-handle-copy-directory):
2945 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2946 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2947 (tramp-smb-handle-copy-file): Improve error message.
2948 (tramp-smb-handle-rename-file): Rename directly only in case
2949 `newname' does not exist yet. This is a restriction of smbclient.
2950 (tramp-smb-maybe-open-connection): Rerun the function only when
2951 `auth-sources' is non-nil.
2952
0ca754d0
KH
29532013-09-08 Kenichi Handa <handa@gnu.org>
2954
2955 * international/characters.el: Set category "^" (Combining) for
2956 more characters.
2957
e8dd0787
AM
29582013-09-07 Alan Mackenzie <acm@muc.de>
2959
2960 Correctly fontify Java class constructors.
2961 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2962 in Java Mode.
2963 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2964 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2965 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2966 "typeless" declaration there.
2967
f2f248e7
RW
29682013-09-07 Roland Winkler <winkler@gnu.org>
2969
2970 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2971 field subtitle for entry type book.
2972
67982e2b
SM
29732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * minibuffer.el: Make minibuffer-complete call completion-in-region
2976 rather than other way around.
2977 (completion--some, completion-pcm--find-all-completions):
2978 Don't delay signals when debugging.
2979 (minibuffer-completion-contents): Beware fields within the
2980 minibuffer contents.
2981 (completion-all-sorted-completions): Use defvar-local.
2982 (completion--do-completion, completion--cache-all-sorted-completions)
2983 (completion-all-sorted-completions, minibuffer-force-complete):
2984 Add args `beg' and `end'.
2985 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2986 (minibuffer-complete): Use completion-in-region.
2987 (completion-complete-and-exit): New fun, extracted from
2988 minibuffer-complete-and-exit.
2989 (minibuffer-complete-and-exit): Use it.
2990 (completion--complete-and-exit): Rename from
2991 minibuffer--complete-and-exit.
2992 (completion-in-region--single-word): New function, extracted from
2993 minibuffer-complete-word.
2994 (minibuffer-complete-word): Use it.
2995 (display-completion-list): Make `common-substring' argument obsolete.
2996 (completion--in-region): Call completion--in-region-1 instead of
2997 minibuffer-complete.
2998 (completion-help-at-point): Pass boundaries to
2999 minibuffer-completion-help as args rather than via an overlay.
3000 (completion-pcm--string->pattern): Use `any-delim'.
3001 (completion-pcm--optimize-pattern): New function.
3002 (completion-pcm--pattern->regex): Handle `any-delim'.
3003 * icomplete.el (icomplete-forward-completions)
3004 (icomplete-backward-completions, icomplete-completions):
3005 Adjust calls to completion-all-sorted-completions and
3006 completion--cache-all-sorted-completions.
3007 (icomplete-with-completion-tables): Default to t.
3008 * emacs-lisp/crm.el (crm--current-element): Rename from
3009 crm--select-current-element. Don't put an overlay but return the
3010 boundaries instead.
3011 (crm--completion-command): Take two new args to bind to the boundaries.
3012 (crm-completion-help): Adjust accordingly.
3013 (crm-complete): Use completion-in-region.
3014 (crm-complete-word): Use completion-in-region--single-word.
3015 (crm-complete-and-exit): Use completion-complete-and-exit.
3016
e17d94a5
SM
30172013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3020 than dynamically.
3021
96727100
JL
30222013-09-06 Juri Linkov <juri@jurta.org>
3023
3024 * info.el (Info-display-images-node): When image file doesn't exist
3025 display text version of the image if it's provided in the Info file.
3026 Otherwise, display the location of missing image from SRC attribute.
3027 Add help-echo text property from ALT attribute. (Bug#15279)
3028
86cf7329
SM
30292013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3032 (edit-abbrevs-mode): Use define-derived-mode.
3033
3034 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3035 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3036 that it's defined.
3037 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3038 Use define-derived-mode.
3039
3040 * epg.el (epg-start-encrypt): Minor CSE simplification.
3041
816244a2
WX
30422013-09-06 William Xu <william.xwl@gmail.com>
3043
3044 * arc-mode.el: Add support for 7za (bug#15264).
3045 (archive-7z-program): New var.
3046 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3047 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3048 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3049
1486fa31
MA
30502013-09-06 Michael Albinus <michael.albinus@gmx.de>
3051
3052 Remove URL syntax.
3053
3054 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3055 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3056 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3057 (tramp-postfix-host-format, tramp-file-name-regexp)
3058 (tramp-completion-file-name-regexp)
3059 (tramp-completion-dissect-file-name)
3060 (tramp-handle-substitute-in-file-name): Remove 'url case.
3061 (tramp-file-name-regexp-url)
3062 (tramp-completion-file-name-regexp-url): Remove constants.
3063
39785324
GM
30642013-09-06 Glenn Morris <rgm@gnu.org>
3065
3066 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3067
1f896cb7
DG
30682013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3069
3070 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3071 keywords" below "here-doc beginnings" (Bug#15270).
3072
c0458e0b
SM
30732013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * subr.el (pop): Use `car-safe'.
3076 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3077 to detect unused `pop' return value.
3078
3079 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3080 var `block-regexp'.
3081 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3082 (python-fill-string): Remove unused var `marker'.
3083 (python-skeleton-add-menu-items): Remove unused var `items'.
3084
3085 * international/mule-cmds.el: Require CL.
3086 (find-coding-systems-for-charsets): Avoid add-to-list.
3087 (sanitize-coding-system-list): New function, extracted from
3088 select-safe-coding-system-interactively.
3089 (select-safe-coding-system-interactively): Use it.
3090 (read-input-method-name): Accept symbols for `default'.
3091
3092 * emacs-lisp/advice.el (defadvice): Add indent rule.
3093
6c42fc3e
DH
30942013-09-05 Daniel Hackney <dan@haxney.org>
3095
3096 * dired-x.el:
3097 * net/ange-ftp.el:
3098 * net/browse-url.el:
3099 * net/dbus.el:
3100 * net/eudc.el:
3101 * net/eudcb-ldap.el:
3102 * net/eww.el:
3103 * net/imap.el:
3104 * printing.el:
3105 * vc/ediff-diff.el:
3106 * vc/ediff-init.el:
3107 * vc/ediff-merg.el:
3108 * vc/ediff-mult.el:
3109 * vc/ediff-util.el:
3110 * vc/ediff-wind.el:
3111 * vc/ediff.el:
3112 * vc/emerge.el:
3113 * vc/pcvs.el:
3114 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3115 byte compiler. Remove some unused let-bound variables.
3116
4c528aab
SM
31172013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3120 a "ref-cell", since it gets better optimized (bug#14883).
3121
bd15c390
GM
31222013-09-05 Glenn Morris <rgm@gnu.org>
3123
3124 * progmodes/cc-awk.el (c-forward-sws): Declare.
3125
1c3ac2e5
GM
31262013-09-04 Glenn Morris <rgm@gnu.org>
3127
3128 * generic-x.el [rul-generic-mode]: Require cc-mode.
3129 (c++-mode-syntax-table): Declare.
3130 (rul-generic-mode-syntax-table): Init in the defvar.
3131
52b1cc79
SM
31322013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3133
c828af56
SM
3134 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3135 (vc-do-command, vc-set-async-update):
3136 * vc/vc-mtn.el (vc-mtn-dir-status):
3137 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3138 (vc-hg-pull, vc-hg-merge-branch):
3139 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3140 (vc-git-merge-branch):
3141 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3142 (vc-cvs-dir-status-files):
3143 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3144 (vc-bzr-dir-status-files):
3145 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3146 * vc/vc-annotate.el: Use lexical-binding.
3147 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3148 (vc-sentinel-movepoint): Declare.
3149 (vc-annotate): Don't use `goto-line'.
3150 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3151 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3152 (vc-sentinel-movepoint): Declare.
3153 * vc/vc-svn.el: Use lexical-binding.
3154 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3155 * vc/vc-sccs.el:
3156 * vc/vc-rcs.el: Use lexical-binding.
3157
abae272c
SM
3158 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3159 `deleted'. Don't drop errors silently.
3160
52b1cc79
SM
3161 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3162
63191d9f
XF
31632013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3164
3165 * vc/vc.el (vc-ignore): Rewrite.
3166 (vc-default-ignore): New function.
3167 (vc-default-ignore-completion-table): Use find-ignore-file.
3168
3169 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3170 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3171 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3172 Remove. Most code moved to vc.el.
3173
9d3f707c
SM
31742013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3175
abae272c 3176 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3177 * net/tramp-smb.el (tramp-smb-get-file-entries):
3178 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3179 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3180
fde38d49
SM
3181 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3182 Update call to it.
3183 (eww-change-select): Remove unused var `properties'.
3184 (eww-make-unique-file-name): Remove unused var `base'.
3185
3186 * finder.el (finder-compile-keywords): Don't mess with windows.
3187
84032db7
SM
3188 * calculator.el (calculator-funcall): Fix typo in last change.
3189
724f5e41
SM
3190 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3191
14b511d4
SM
3192 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3193 <pkg>-autoloads.el file stop us.
3194
9d3f707c 3195 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3196 warnings, and factor out common code.
9d3f707c 3197
88527bc0
DG
31982013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3199
3200 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3201 two-character operators and whether the character preceding them
3202 changes their meaning (Bug#15208).
3203
96edb677
FEG
32042013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3205
3206 Format code sent to Python shell for robustness.
9d3f707c
SM
3207 * progmodes/python.el (python-shell-buffer-substring):
3208 New function.
96edb677
FEG
3209 (python-shell-send-region, python-shell-send-buffer): Use it.
3210
95beaef3
MA
32112013-09-02 Michael Albinus <michael.albinus@gmx.de>
3212
3213 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3214 * net/tramp.el (tramp-user-error): ... here.
3215 (tramp-find-method, tramp-check-proper-host)
3216 (tramp-dissect-file-name, tramp-debug-message)
3217 (tramp-handle-shell-command):
3218 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3219 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3220
3221 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3222
f167c27b
MR
32232013-09-02 Martin Rudalics <rudalics@gmx.at>
3224
3225 * avoid.el (mouse-avoidance-point-position)
3226 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3227 returns nil.
3228
cd16c5f1
FEG
32292013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3230
3231 * progmodes/python.el (python-shell-completion-get-completions):
3232 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3233 (python-nav-if-name-main): New command.
cd16c5f1 3234
e73c3a0d
GM
32352013-09-01 Glenn Morris <rgm@gnu.org>
3236
f8ccce03
GM
3237 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3238 Avoid leading space in $wins. Otherwise the sed command used by
3239 eg compile-main ends up containing "/*.el". (Bug#15170)
3240
e73c3a0d
GM
3241 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3242
415f808e
GM
32432013-08-30 Glenn Morris <rgm@gnu.org>
3244
3245 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3246 Fix is-this-a-directory logic. (Bug#15220)
3247
f069bba8
SM
32482013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3249
112798c1
SM
3250 * textmodes/css-mode.el: Use SMIE.
3251 (css-smie-grammar): New var.
3252 (css-smie--forward-token, css-smie--backward-token)
3253 (css-smie-rules): New functions.
3254 (css-mode): Use them.
3255 (css-navigation-syntax-table): Remove var.
3256 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3257 (css-indent-calculate, css-indent-line): Remove functions.
3258
3259 Misc changes to reduce use of `(lambda...); and other cleanups.
3260 * cus-edit.el: Use lexical-binding.
3261 (customize-push-and-save, customize-apropos)
3262 (custom-buffer-create-internal): Use closures.
3263 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3264 * progmodes/ada-xref.el: Use setq.
3265 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3266 * dframe.el: Use lexical-binding.
3267 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3268 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3269 * descr-text.el: Use lexical-binding.
3270 (describe-text-widget, describe-text-sexp, describe-property-list):
3271 Use closures.
3272 * comint.el (comint-history-isearch-push-state): Use a closure.
3273 * calculator.el: Use lexical-binding.
3274 (calculator-number-to-string): Make it work with lexical-binding.
3275 (calculator-funcall): Same and use cl-letf.
3276
2da4c3ab
SM
3277 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3278 (lisp--company-doc-string, lisp--company-location): New functions.
3279 (lisp-completion-at-point): Use them to improve Company support.
3280
f069bba8
SM
3281 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3282 params of lambda expressions.
3283 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3284 (ruby-smie--opening-pipe-p): New function.
3285 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3286 symbols and matched |...| for formal params.
3287 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3288 from being treated as hanging. Handle "rescue".
3289
6758b6a8
GM
32902013-08-29 Glenn Morris <rgm@gnu.org>
3291
3292 * progmodes/cc-engine.el (c-pull-open-brace):
3293 Move definition before use.
3294
e8dfd197
SM
32952013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3298 are immutable. Don't use `unsafe' any more.
3299 (cl--defsubst-expand): Don't substitute at the same time as keeping
3300 a residual unused let-binding. Don't use `unsafe' any more.
3301
cc585c96
GM
33022013-08-29 Glenn Morris <rgm@gnu.org>
3303
ba579ea6
GM
3304 * calendar/cal-china.el (calendar-chinese-year-cache):
3305 Recenter on 2015.
3306
8201a87e
GM
3307 * nxml/nxml-util.el (nxml-debug-clear-inside):
3308 Use cl-loop rather than loop.
3309
6ee877c7
GM
3310 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3311
cc585c96
GM
3312 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3313
27be8d39
GM
33142013-08-28 Glenn Morris <rgm@gnu.org>
3315
397440a1
GM
3316 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3317
2bb762d4
GM
3318 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3319
27be8d39
GM
3320 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3321
2d69b99e
SM
33222013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3323
f663baa7
SM
3324 * simple.el (repeat-complex-command--called-interactively-skip):
3325 New function.
3326 (repeat-complex-command): Use it (bug#14136).
3327
dd4f8b74
SM
3328 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3329 (c-define-abbrev-table): Add `doc' argument.
3330 (c-mode-abbrev-table, c++-mode-abbrev-table)
3331 (objc-mode-abbrev-table, java-mode-abbrev-table)
3332 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3333 (awk-mode-abbrev-table): Use it.
3334 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3335 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3336 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3337 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3338 Move initialization into the declaration; and remove any
3339 autoload cookie.
3340
b58969f7
SM
3341 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3342 and dynamic let binding.
3343
4021d6a6
SM
3344 * vc/smerge-mode.el: Remove redundant :group args.
3345
2d69b99e
SM
3346 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3347 to load-path.
3348
274919fd
JL
33492013-08-28 Juri Linkov <juri@jurta.org>
3350
3351 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3352 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3353 (isearch-other-meta-char): Handle an undefined shifted printing
3354 character by downshifting it. (Bug#15200)
3355
121f8c95
JL
33562013-08-28 Juri Linkov <juri@jurta.org>
3357
3358 * isearch.el (isearch-search): Change regexp error message for
3359 non-regexp searches. (Bug#15166)
3360
50b13cde
PE
33612013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3362
3363 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3364 for portability to hosts where /bin/sh has problems.
3365
95888bca
SM
33662013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3369
bbe558f1
JL
33702013-08-27 Juri Linkov <juri@jurta.org>
3371
3372 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3373 in the keyboard macro. (Bug#15126)
3374
26f98a7d
JL
33752013-08-27 Juri Linkov <juri@jurta.org>
3376
3377 * isearch.el (isearch-quote-char): Comment out converting unibyte
3378 to multibyte, thus syncing with its `quoted-insert' counterpart.
3379 (Bug#15166)
3380
7c97d35e
MR
33812013-08-27 Martin Rudalics <rudalics@gmx.at>
3382
3383 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3384 argument in call of get-largest-window (Bug#15185).
3385 Reported by Stephen Leake.
7c97d35e 3386
a0b5606e 33872013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3388
3389 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3390
9e89d835
SM
33912013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3394 from a matcher-function unless there's no more matches (bug#15161).
3395
78fc2530
MA
33962013-08-26 Michael Albinus <michael.albinus@gmx.de>
3397
3398 * minibuffer.el: Revert change from 2013-08-20.
3399
3400 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3401 with text property `tramp-default', if appropriate.
3402 (tramp-check-proper-host): New defun.
3403 (tramp-dissect-file-name): Do not check hostname. Revert change
3404 of 2013-03-18.
3405 (tramp-backtrace): Make VEC-OR-PROC optional.
3406
3407 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3408 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3409 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3410 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3411 Apply `tramp-check-proper-host'.
78fc2530 3412
edca97cd
TH
34132013-08-26 Tassilo Horn <tsdh@gnu.org>
3414
3415 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3416 lambda expression in order to have `describe-variable' display it.
3417
df54bcbd
MA
34182013-08-26 Michael Albinus <michael.albinus@gmx.de>
3419
3420 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3421 BUF can be optional. (Bug#15186)
3422
eed99101
XF
34232013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3424
3425 * progmodes/flymake.el (flymake-get-real-file-name-function):
3426 Fix broken customization. (Bug#15184)
3427
b5eb9035
AM
34282013-08-25 Alan Mackenzie <acm@muc.de>
3429
8a51e842
AM
3430 Improve indentation of bracelists defined by macros (without "=").
3431
3432 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3433 expansion begins with "{", regard it as bracelist when it doesn't
3434 contain a ";".
3435
869455d4
AM
3436 Parse C++ inher-intro when there's a template split over 2 lines.
3437
3438 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3439 rigorously the search for "class" etc. followed by ":".
3440
3441 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3442 random languages a regexp which never matches rather than nil.
3443
b5eb9035
AM
3444 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3445
3446 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3447 (c-awk-regexp-one-line-possibly-open-char-list-re)
3448 (c-awk-one-line-possibly-open-regexp-re)
3449 (c-awk-one-line-non-syn-ws*-re): Remove.
3450 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3451 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3452 (c-awk-space*-unclosed-regexp-/-re): New constants.
3453 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3454 aren't regexp delimiters.
3455
3456 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3457 handling for a rare situation in AWK Mode involving unterminated
3458 strings/regexps.
3459
61611d54
GM
34602013-08-23 Glenn Morris <rgm@gnu.org>
3461
2d85dc34
GM
3462 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3463
cb8d2612
GM
3464 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3465
bb35f42f
GM
3466 * files.el (create-file-buffer): If the result would begin with
3467 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3468
b9808e77
SM
34692013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3470
e3a66363
SM
3471 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3472 text-properties (bug#15155).
3473
b9808e77
SM
3474 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3475 exist any more.
3476 (calc-keypad-redraw): Remove unused var `pad'.
3477 (calc-keypad-press): Remove unused var `menu'.
3478
7fd5f65e
MR
34792013-08-23 Martin Rudalics <rudalics@gmx.at>
3480
b9808e77
SM
3481 * window.el (display-buffer-pop-up-frame):
3482 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3483 use it as the new frame's buffer (Bug#15133).
3484
8352b530
SM
34852013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * calendar/timeclock.el: Minor cleanups.
3488 (timeclock-ask-before-exiting, timeclock-use-display-time):
3489 Use `symbol'.
3490 (timeclock-modeline-display): Define as alias before the
3491 actual definition.
3492 (timeclock-mode-line-display): Use define-minor-mode.
3493 (timeclock-day-list-template): Make it a function, add an argument.
3494 (timeclock-day-list-required, timeclock-day-list-length)
3495 (timeclock-day-list-debt, timeclock-day-list-span)
3496 (timeclock-day-list-break): Adjust calls accordingly.
3497
9f7b1925
SM
34982013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3501 Use read--expression so that completion works again.
3502
6e50e983
SS
35032013-08-21 Sam Steingold <sds@gnu.org>
3504
3505 Add rudimentary inferior shell interaction
3506 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3507 (sh-set-shell): Reset it.
9f7b1925
SM
3508 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3509 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3510
dbb0d350
SM
35112013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * align.el: Use lexical-binding.
3514 (align-region): Simplify accordingly.
3515
c88586a9
MA
35162013-08-20 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3519
3520 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3521 `non-essential' up.
3522
f95527c8
MA
35232013-08-17 Michael Albinus <michael.albinus@gmx.de>
3524
3525 * net/tramp.el:
3526 * net/tramp-adb.el:
3527 * net/tramp-cmds.el:
3528 * net/tramp-ftp.el:
3529 * net/tramp-gvfs.el:
3530 * net/tramp-gw.el:
3531 * net/tramp-sh.el: Don't wrap external variable declarations by
3532 `eval-when-compile'.
3533
4b5fe4ee
LMI
35342013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3535
3536 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3537 now that Emacs supports ImageMagick animations.
3538
13c366c9
MA
35392013-08-16 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3542 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3543
3dfc5cd6
MR
35442013-08-16 Martin Rudalics <rudalics@gmx.at>
3545
3546 * window.el (mouse-autoselect-window-select): Do autoselect when
3547 mouse pointer is on margin.
3548
4bbb4381
WP
35492013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3550
3551 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3552
3a2ddc2d
GM
35532013-08-16 Glenn Morris <rgm@gnu.org>
3554
e8bedf5a
GM
3555 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3556 Handle "Remote Directory" response of some clients. (Bug#15058)
3557
58c4682f
GM
3558 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3559 Tweak warning. (Bug#14926)
3560
57953f49
GM
3561 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3562 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3563
3a2ddc2d
GM
3564 * image-mode.el (image-mode-map): Add menu items to reverse,
3565 increase, decrease, reset animation speed.
3566 (image--set-speed, image-increase-speed, image-decrease-speed)
3567 (image-reverse-speed, image-reset-speed): New functions.
3568 (image-mode-map): Add bindings for speed commands.
3569
3570 * image.el (image-animate-get-speed, image-animate-set-speed):
3571 New functions.
3572 (image-animate-timeout): Respect image :speed property.
3573
10fa0ed3
SM
35742013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3577 previous line (bug#15101).
3578 (debugger-eval-expression, debugger-record-expression):
3579 Use read--expression (bug#15102).
3580
5d89d9d2
MA
35812013-08-15 Michael Albinus <michael.albinus@gmx.de>
3582
3583 Remove byte compiler warnings, visible when compiling with
3584 `byte-compile-force-lexical-warnings' set to t.
3585
3586 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3587 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3588 (tramp-handle-unhandled-file-name-directory)
3589 (tramp-handle-file-notify-add-watch, tramp-action-login)
3590 (tramp-action-succeed, tramp-action-permission-denied)
3591 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3592 arguments with "_".
3593
3594 * net/tramp-adb.el (tramp-adb-parse-device-names)
3595 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3596 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3597 (tramp-adb-handle-file-truename): Remove unused arguments.
3598
3599 * net/tramp-cache.el (tramp-flush-directory-property)
3600 (tramp-flush-connection-property, tramp-list-connections)
3601 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3602
10fa0ed3
SM
3603 * net/tramp-compat.el (tramp-compat-make-temp-file):
3604 Rename FILENAME to F.
5d89d9d2
MA
3605
3606 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3607 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3608 (tramp-zeroconf-parse-workstation-device-names)
3609 (tramp-zeroconf-parse-webdav-device-names)
3610 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3611
3612 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3613 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3614
3615 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3616 arguments.
3617 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3618 (tramp-sh-handle-insert-file-contents-literally)
3619 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3620 with "_".
3621 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3622 Remove unused variables.
3623
3624 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3625 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3626 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3627
3628 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3629 Make them a defconst.
3630 (tramp-uuencode-region): Remove unused variable.
3631
62f33bae
JB
36322013-08-14 Juanma Barranquero <lekktu@gmail.com>
3633
3634 * frameset.el (frameset--prop-setter): New function.
3635 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3636 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3637 parameter was already set in FILTERED. Doc fix.
3638 (frameset--record-minibuffer-relationships): Allow saving a
3639 minibufferless frame without its corresponding minibuffer frame.
3640 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3641 frame, if the frame id matches.
3642 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3643 frames before orphaned ones.
3644 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3645
c660a885
MR
36462013-08-14 Martin Rudalics <rudalics@gmx.at>
3647
3648 * window.el (window-make-atom): Don't overwrite parameter
3649 already present.
3650 (display-buffer-in-atom-window): Handle special case where we
3651 split an already atomic window.
3652 (window--major-non-side-window, display-buffer-in-side-window)
3653 (window--side-check): Ignore minibuffer window when walking
3654 window tree.
3655 (window-deletable-p): Return 'frame only if no other frame uses
3656 our minibuffer window.
3657 (record-window-buffer): Run buffer-list-update-hook.
3658 (split-window): Make sure window--check-frame won't destroy an
3659 existing atomic window in case the new window gets nested
3660 inside.
3661 (display-buffer-at-bottom): Ignore minibuffer window when
3662 walking window tree. Don't split a side window.
3663 (pop-to-buffer): Don't set-buffer here, the select-window call
3664 should do that.
3665 (mouse-autoselect-window-select): Autoselect only if we are in the
3666 text portion of the window.
3667
8259030d
LMI
36682013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3669
21c58ae2
LMI
3670 * net/shr.el (shr-parse-image-data): New function to grab both the
3671 data itself and the Content-Type.
3672 (shr-put-image): Use it.
3673
3674 * net/eww.el (eww-display-image): Ditto.
3675
8259030d
LMI
3676 * image.el (image-content-type-suffixes): New variable.
3677
ad756449
FEG
36782013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3679
3680 * progmodes/python.el (python-imenu--build-tree)
3681 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3682
f73f4ce6
XF
36832013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3684
3685 * simple.el (backward-word): Mention the optional argument.
3686
1f585e65
SM
36872013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * frameset.el (frameset--make): Rename constructor from make-frameset.
3690 (frameset-p, frameset-valid-p): Don't autoload.
3691 (frameset-valid-p): Use normal accessors.
3692
af1c6c84
GM
36932013-08-13 Glenn Morris <rgm@gnu.org>
3694
55e47f95
GM
3695 * progmodes/compile.el (compile-command): Tweak example in doc.
3696 * obsolete/scribe.el (scribe-mode):
3697 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3698
f0024d8c
GM
3699 * mail/feedmail.el (feedmail-confirm-outgoing)
3700 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3701
3702 * cus-start.el (truncate-partial-width-windows): Fix type.
3703
3704 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3705
af1c6c84
GM
3706 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3707
5514cc4c
SM
37082013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/timer.el (timer--time-setter): New function.
3711 (timer--time): Use it as gv-setter.
3712
3713 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3714 setter is not a symbol.
3715
7997a2f1
GJ
37162013-08-12 Grégoire Jadi <daimrod@gmail.com>
3717
3718 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3719 if sending fails. This makes debugging easier.
3720
01f1a9ab
JB
37212013-08-12 Juanma Barranquero <lekktu@gmail.com>
3722
3723 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3724 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3725 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3726
594a4307
EZ
37272013-08-12 Eli Zaretskii <eliz@gnu.org>
3728
3729 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3730
7a22490f 37312013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3732
3733 * format.el (format-annotate-function):
3734 Handle read-only text properties in the source. (Bug#14887)
3735
3e41a054
LMI
37362013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3737
5514cc4c
SM
3738 * net/eww.el (eww-display-html): Ignore coding system errors.
3739 One web site uses "utf-8lias" as the coding system.
3e41a054 3740
7ec326db
JB
37412013-08-11 Juanma Barranquero <lekktu@gmail.com>
3742
3743 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3744
5660113b
JB
37452013-08-10 Juanma Barranquero <lekktu@gmail.com>
3746
9a4ebc74
JB
3747 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3748 (tutorial--detailed-help): Remove unused local variables.
3749 (tutorial--save-tutorial-to): Use ignore-errors.
3750 (help-with-tutorial): Use looking-at-p.
3751
3752 * view.el (view-buffer-other-window, view-buffer-other-frame):
3753 Mark unused arguments.
3754
3755 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3756 (woman-select-symbol-fonts, woman, woman-find-file)
3757 (woman-insert-file-contents, woman-non-underline-faces):
3758 Use string-match-p.
3759 (woman1-unquote): Move declaration.
3760
3761 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3762 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3763 argument. Remove unused local variable.
3764 (xml-parse-elem-type): Use string-match-p.
3765 (xml-substitute-numeric-entities): Use ignore-errors.
3766
45fdb482
JB
3767 * calculator.el (calculator): Mark unused argument.
3768 (calculator-paste, calculator-quit, calculator-integer-p):
3769 Use ignore-errors.
3770 (calculator-string-to-number, calculator-decimal, calculator-exp)
3771 (calculator-op-or-exp): Use string-match-p.
3772
3773 * dired.el (dired-buffer-more-recently-used-p): Declare.
3774 (dired-insert-set-properties, dired-insert-old-subdirs):
3775 Use ignore-errors.
3776
3777 * dired-aux.el (dired-compress): Use ignore-errors.
3778 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3779 (dired-do-async-shell-command, dired-do-shell-command)
3780 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3781 (dired-insert-subdir-validate): Use string-match-p.
3782 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3783 (dired-add-entry): Use string-match-p, looking-at-p.
3784 (dired-insert-subdir-newpos): Remove unused local variable.
3785
3786 * filenotify.el (file-notify-callback): Remove unused local variable.
3787
3788 * filesets.el (filesets-error): Mark unused argument.
3789 (filesets-which-command-p, filesets-filter-dir-names)
3790 (filesets-directory-files, filesets-get-external-viewer)
3791 (filesets-ingroup-get-data): Use string-match-p.
3792
3793 * find-file.el (ff-other-file-name, ff-other-file-name)
3794 (ff-find-the-other-file, ff-cc-hh-converter):
3795 Remove unused local variables.
3796 (ff-get-file-name): Use string-match-p.
3797 (ff-all-dirs-under): Use ignore-errors.
3798
3799 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3800 (follow-select-if-visible): Remove unused local variable.
3801
3802 * forms.el (read-file-filter): Move declaration.
3803 (forms--make-format, forms--make-parser, forms-insert-record):
3804 Quote function with #'.
3805 (forms--update): Use string-match-p. Quote function with #'.
3806
3807 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3808 (help-make-xrefs): Use looking-at-p.
3809 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3810
3811 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3812 (ibuffer-confirm-operation-on): Use string-match-p.
3813
3814 * msb.el (msb-item-handler, msb-dired-item-handler):
3815 Mark unused arguments.
3816
3817 * ses.el (ses-decode-cell-symbol)
3818 (ses-kill-override): Remove unused local variable.
3819 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3820 (ses-load): Use ignore-errors, looking-at-p.
3821 (ses-jump-safe): Use ignore-errors.
3822 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3823
3824 * tabify.el (untabify, tabify): Mark unused arguments.
3825
3826 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3827 Mark unused argument.
3828 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3829 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3830
c880af52
JB
3831 * emacs-lisp/timer.el (timer--time): Define setter with
3832 gv-define-setter to avoid deprecation warning.
3833
5660113b 3834 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3835 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3836 (cmpl-statistics-block): Remove (body was commented out).
3837 All callers changed.
3838 (add-completions-from-buffer, load-completions-from-file):
3839 Remove unused variables.
3840
156aab80
JB
38412013-08-09 Juanma Barranquero <lekktu@gmail.com>
3842
5c5dee78
JB
3843 * filecache.el (file-cache-delete-file-list):
3844 Print message only when told so.
3845 (file-cache-files-matching): Use #' in mapconcat argument.
3846
156aab80
JB
3847 * ffap.el (ffap-url-at-point): Fix reference to variable
3848 thing-at-point-default-mail-uri-scheme.
3849
ad9dcd70
SM
38502013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3851
54bd972f
SM
3852 * subr.el (define-error): New function.
3853 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3854 error-file-not-found and define with define-error.
3855 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3856 and define with define-error.
3857 * userlock.el (file-locked, file-supersession):
3858 * simple.el (mark-inactive):
3859 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3860 * progmodes/ada-mode.el (ada-mode-errors):
3861 * play/life.el (life-extinct):
3862 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3863 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3864 * nxml/rng-util.el (rng-error):
3865 * nxml/rng-uri.el (rng-uri-error):
3866 * nxml/rng-match.el (rng-compile-error):
3867 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3868 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3869 * nxml/nxml-rap.el (nxml-scan-error):
3870 * nxml/nxml-outln.el (nxml-outline-error):
3871 * net/soap-client.el (soap-error):
3872 * net/gnutls.el (gnutls-error):
3873 * net/ange-ftp.el (ftp-error):
3874 * mpc.el (mpc-proc-error):
3875 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3876 (json-number-format, json-string-escape, json-string-format)
3877 (json-key-format, json-object-format):
3878 * jka-compr.el (compression-error):
3879 * international/quail.el (quail-error):
3880 * international/kkc.el (kkc-error):
3881 * emacs-lisp/ert.el (ert-test-failed):
3882 * calc/calc.el (calc-error, inexact-result, math-overflow)
3883 (math-underflow):
3884 * bookmark.el (bookmark-error-no-filename):
3885 * epg.el (epg-error): Define with define-error.
3886
0ea9e53a
SM
3887 * time.el (display-time-event-handler)
3888 (display-time-next-load-average): Don't call sit-for since it seems
3889 unnecessary (bug#15045).
3890
b0429158
SM
3891 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3892 Use #' instead of ' to quote functions.
3893 (checkdoc-output-mode): Use setq-local.
3894 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3895 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3896 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3897 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3898 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3899 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3900 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3901 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3902
ad9dcd70
SM
3903 * ido.el (ido-completion-help): Fix up compiler warning.
3904
77187e6f
JB
39052013-08-09 Juanma Barranquero <lekktu@gmail.com>
3906
3907 * frameset.el (frameset-p): Add autoload cookie.
3908 (frameset--jump-to-register): New function, based on code moved from
3909 register.el.
3910 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3911
3912 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3913 (frameset-restore, frameset-save, frameset-session-filter-alist):
3914 Remove declarations.
3915 (register-alist): Doc fix.
3916 (frameset-to-register): Move to frameset.el.
3917 (jump-to-register, describe-register-1): Remove frameset-specific code.
3918
9d3aa82c
JB
39192013-08-08 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * allout-widgets.el (allout-widgets-pre-command-business)
3922 (allout-widgets-post-command-business)
3923 (allout-widgets-after-change-handler)
3924 (allout-decorate-item-and-context, allout-set-boundary-marker)
3925 (allout-body-modification-handler)
3926 (allout-graphics-modification-handler): Mark ignored arguments.
3927 (allout-widgets-post-command-business)
3928 (allout-widgets-exposure-change-processor)
3929 (allout-widgets-exposure-undo-processor)
3930 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3931 (allout-parse-item-at-point, allout-decorate-item-guides)
3932 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3933 * allout.el (epa-passphrase-callback-function): Declare.
3934 (allout-overlay-insert-in-front-handler)
3935 (allout-overlay-interior-modification-handler)
3936 (allout-isearch-end-handler, allout-chart-siblings)
3937 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3938 (allout-yank-processing, allout-process-exposed)
3939 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3940 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3941 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3942 (lisp-indent-defform): Mark ignored arguments.
3943 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3944 (calculate-lisp-indent): Remove unused variables.
3945 * international/characters.el (indian-2-column, arabic-2-column)
3946 (tibetan): Mark ignored arguments.
3947 (use-cjk-char-width-table): Mark ignored arguments.
3948 Remove unused variables.
3949 * international/fontset.el (build-default-fontset-data)
3950 (x-compose-font-name, create-fontset-from-fontset-spec):
3951 Mark ignored arguments.
3952 (fontset-plain-name): Remove unused variables.
3953 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3954 (keyboard-coding-system): Mark ignored arguments.
3955 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3956 * help.el (resize-temp-buffer-window):
3957 * window.el (display-buffer-in-major-side-window)
3958 (display-buffer-in-side-window, display-buffer-in-previous-window):
3959 Remove unused variables.
3960 * isearch.el (isearch-forward-symbol):
3961 * version.el (emacs-bzr-version-bzr):
3962 * international/mule-cmds.el (current-language-environment):
3963 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3964 (x-handle-display):
3965 * term/pc-win.el (x-list-fonts, x-display-planes)
3966 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3967 (x-server-version, x-display-screens, x-display-mm-height)
3968 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3969 (x-selection-owner-p, x-own-selection-internal)
3970 (x-disown-selection-internal, x-get-selection-internal)
3971 (msdos-initialize-window-system):
3972 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3973 * term/x-win.el (x-handle-no-bitmap-icon):
3974 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3975 (vc-default-find-file-hook, vc-default-extra-menu):
3976 Mark ignored arguments.
3977
0ca3f70e
SM
39782013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3981 break-condition in the context of the debugged code (bug#12685).
3982
74c5d24c
CS
39832013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3984
3985 * comint.el:
3986 Do not use an overlay to highlight the last prompt. (Bug#14744)
3987 (comint-mode): Make comint-last-prompt buffer local.
3988 (comint-last-prompt): New variable.
3989 (comint-last-prompt-overlay): Remove. Superseded by
3990 comint-last-prompt.
0ca3f70e
SM
3991 (comint-snapshot-last-prompt, comint-output-filter):
3992 Use comint-last-prompt.
74c5d24c 3993
c03c02ee
JB
39942013-08-08 Juanma Barranquero <lekktu@gmail.com>
3995
a3738d20 3996 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3997 (frameset-save): Check validity of the resulting frameset.
3998
04263d23
XF
39992013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4000
4001 * ido.el (ido-record-command): Add doc string.
4002
76c5e5ab
JB
40032013-08-08 Juanma Barranquero <lekktu@gmail.com>
4004
4005 * frameset.el (frameset): Do not disable creation of the default
4006 frameset-p predicate. Doc fix.
4007 (frameset-valid-p): New function, copied from the old predicate-p.
4008 Add additional checks.
4009 (frameset-restore): Check with frameset-valid-p.
4010 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4011 (frameset-name, frameset-description, frameset-properties)
4012 (frameset-states): Add docstring.
f9dbf1cb
JB
4013 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4014 (frameset-filter-alist): Doc fixes.
76c5e5ab 4015
bd0c3c0b
JB
40162013-08-08 Juanma Barranquero <lekktu@gmail.com>
4017
4018 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4019
c735544c
SM
40202013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4021
4022 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4023 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4024 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4025 (byte-compile-normal-call): Remove obsolescence check.
4026
2805a651
JB
40272013-08-08 Juanma Barranquero <lekktu@gmail.com>
4028
3677ffeb
JB
4029 * frameset.el (frameset-restore): Doc fix.
4030
2805a651
JB
4031 * register.el (frameset-frame-id, frameset-frame-with-id)
4032 (frameset-p, frameset-restore, frameset-save): Declare.
4033 (register-alist): Document framesets.
4034 (frameset-session-filter-alist): Declare.
4035 (frameset-to-register): New function.
4036 (jump-to-register): Implement jumping to framesets. Doc fix.
4037 (describe-register-1): Describe framesets.
4038
4039 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4040
a912c016
JB
40412013-08-07 Juanma Barranquero <lekktu@gmail.com>
4042
4043 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4044 Use lexical-binding.
4045
4046 * frameset.el (frameset): Use type vector, not list (incompatible
4047 change). Do not declare a new constructor, use the default one.
4048 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4049 `name' and `description', respectively, and add read-only slot
4050 `timestamp'. Doc fixes.
4051 (frameset-copy, frameset-persistent-filter-alist)
4052 (frameset-filter-alist, frameset-switch-to-gui-p)
4053 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4054 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4055 (frameset-filter-iconified, frameset-keep-original-display-p):
4056 Doc fixes.
4057 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4058 Rename from frameset-filter-(save|restore)-param. All callers changed.
4059 Doc fix.
4060 (frameset-p): Adapt to change to vector and be more thorough.
4061 Change arg name to OBJECT. Doc fix.
4062 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4063 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4064 All callers changed.
4065 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4066 All callers changed.
4067 (frameset--record-minibuffer-relationships): Rename from
4068 frameset--process-minibuffer-frames. All callers changed.
4069 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4070 Use new default constructor (again). Doc fix.
4071 (frameset--find-frame-if): Rename from `frameset--find-frame.
4072 All callers changed.
4073 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4074 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4075 Doc fix.
4076 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4077 PARAMETERS and WINDOW-STATE, respectively.
4078 (frameset-restore): Add new keyword argument PREDICATE.
4079 Reset frameset--target-display to nil. Doc fix.
4080
bb41480a
SM
40812013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4082
f001e98e
SM
4083 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4084 (bat-mode): Use it.
4085 (bat-mode-syntax-table): Mark \n as end-of-comment.
4086 (bat-font-lock-keywords): Remove comment rule.
4087
7679edb1
SM
4088 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4089 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4090
bb41480a
SM
4091 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4092 (byte-compile-callargs-warn): Use `push'.
4093 (byte-compile-arglist-warn): Ignore higher-order "calls".
4094 (byte-compile-file-form-autoload): Use `pcase'.
4095 (byte-compile-function-form): If quoting a symbol, check that it exists.
4096
cdc1ebb9
EZ
40972013-08-07 Eli Zaretskii <eliz@gnu.org>
4098
4099 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4100 and add a few popular commands found in batch files.
4101 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4102 (dos-mode): Doc fixes.
4103
312b1740
SM
41042013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4107 (dos-mode): Use setq-local. Add space after "rem".
4108 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4109 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4110
400a3178
AM
41112013-08-07 Arni Magnusson <arnima@hafro.is>
4112
4113 * progmodes/dos.el: New file.
4114 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4115 dos-mode.
4116
3b5c03d3
GM
41172013-08-06 Glenn Morris <rgm@gnu.org>
4118
4119 * calendar/calendar.el: Add new faces, and day-header-array.
4120 (calendar-weekday-header, calendar-weekend-header)
4121 (calendar-month-header): New faces.
4122 (calendar-day-header-construct): New function.
4123 (calendar-day-header-width): Also :set calendar-day-header-array.
4124 (calendar-american-month-header, calendar-european-month-header)
4125 (calendar-iso-month-header): Use calendar- faces.
4126 (calendar-generate-month):
4127 Use calendar-day-header-array for day headers; apply faces to them.
4128 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4129 (calendar-abbrev-construct): Add optional maxlen argument.
4130 (calendar-day-name-array): Doc fix.
4131 (calendar-day-name-array, calendar-abbrev-length)
4132 (calendar-day-abbrev-array):
4133 Also :set calendar-day-header-array, and maybe redraw.
4134 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4135 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4136 (calendar-day-name): Add option to use header array.
4137
ec6a2d7a
LMI
41382013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4139
4140 * net/shr.el (shr-render-td): Remove debugging.
4141 (shr-render-td): Make width computation consistent by defaulting
4142 all zero-width columns to 10 characters. This may not be optimal,
4143 but it's at least consistent.
2122cb6d
LMI
4144 (shr-make-table-1): Redo last change to fix the real problem in
4145 colspan handling.
ec6a2d7a 4146
ed4fd9c5
DA
41472013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4148
0ca3f70e
SM
4149 * files.el (cache-long-line-scans):
4150 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4151
64e22afe
JB
41522013-08-06 Juanma Barranquero <lekktu@gmail.com>
4153
024b38fc
JB
4154 * frameset.el (frameset, frameset-filter-alist)
4155 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4156 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4157 (frameset-compute-pos): Rename from frameset--compute-pos,
4158 and add docstring.
4159 (frameset-move-onscreen): Use frameset-compute-pos.
4160 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4161
64e22afe
JB
4162 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4163 Fix typos in docstrings.
4164
c8c2aca8
DA
41652013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4166
4167 * frame.el (get-other-frame): Tiny cleanup.
4168
1d237bba
JB
41692013-08-06 Juanma Barranquero <lekktu@gmail.com>
4170
8951efef
JB
4171 * vc/vc.el (vc-default-ignore-completion-table):
4172 Silence byte-compiler warning.
4173
307764cc
JB
4174 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4175 slot , which can indeed be nil.
4176 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4177 Move entry for `left' from persistent to live filter alist.
4178 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4179 Doc fixes.
4180 (frameset-filter-params): When restoring a frame, copy items added to
4181 `filtered', to avoid unwittingly modifying the original parameters.
4182 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4183 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4184
1d237bba
JB
4185 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4186 to use looking-at-p instead of looking-at. (Bug#15028)
4187
dc6c0eda
SM
41882013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 Revert introduction of isearch-filter-predicates (bug#14714).
4191 Rely on add-function instead.
4192 * isearch.el (isearch-filter-predicates): Rename it back to
4193 isearch-filter-predicate.
4194 (isearch-message-prefix): Use advice-function-mapc and advice
4195 properties to get the isearch-message-prefix.
4196 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4197 instead of run-hook-with-args-until-failure.
4198 (isearch-filter-visible): Not obsolete any more.
4199 * loadup.el: Preload nadvice.
4200 * replace.el (perform-replace): Revert to funcall
4201 instead of run-hook-with-args-until-failure.
4202 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4203 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4204 dired-isearch-filenames-toggle; make it into a proper minor mode.
4205 Use add/remove-function.
4206 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4207 Call the minor-mode rather than add/remove-hook.
4208 (dired-isearch-filter-filenames):
4209 Remove isearch-message-prefix property.
4210 * info.el (Info--search-loop): New function, extracted from Info-search.
4211 Funcall isearch-filter-predicate instead of
4212 run-hook-with-args-until-failure isearch-filter-predicates.
4213 (Info-search): Use it.
4214 (Info-mode): Use isearch-filter-predicate instead of
4215 isearch-filter-predicates.
4216
290d5b58
DA
42172013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4218
4219 Do not call to `selected-window' where it is assumed by default.
4220 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4221 `window-hscroll', `window-width', `window-height', `window-buffer',
4222 `window-frame', `window-start', `window-point', `next-window'
4223 and `window-display-table'.
4224 * abbrev.el (abbrev--default-expand):
4225 * bs.el (bs--show-with-configuration):
4226 * buff-menu.el (Buffer-menu-mouse-select):
4227 * calc/calc.el (calc):
4228 * calendar/calendar.el (calendar-generate-window):
4229 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4230 (diary-make-entry):
4231 * comint.el (send-invisible, comint-dynamic-complete-filename)
4232 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4233 * completion.el (complete):
4234 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4235 * disp-table.el (describe-current-display-table):
4236 * doc-view.el (doc-view-insert-image):
4237 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4238 * ehelp.el (with-electric-help):
4239 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4240 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4241 * emacs-lisp/helper.el (Helper-help-scroller):
4242 * emulation/cua-base.el (cua--post-command-handler-1):
4243 * eshell/esh-mode.el (eshell-output-filter):
4244 * ffap.el (ffap-gnus-wrapper):
4245 * help-macro.el (make-help-screen):
4246 * hilit-chg.el (highlight-compare-buffers):
4247 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4248 * hl-line.el (global-hl-line-highlight):
4249 * icomplete.el (icomplete-simple-completing-p):
4250 * isearch.el (isearch-done):
4251 * jit-lock.el (jit-lock-stealth-fontify):
4252 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4253 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4254 * mpc.el (mpc-tagbrowser, mpc):
4255 * net/rcirc.el (rcirc-any-buffer):
4256 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4257 * play/landmark.el (landmark-max-width, landmark-max-height):
4258 * play/zone.el (zone):
4259 * progmodes/compile.el (compilation-goto-locus):
4260 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4261 * progmodes/etags.el (find-tag-other-window):
4262 * progmodes/fortran.el (fortran-column-ruler):
4263 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4264 * progmodes/verilog-mode.el (verilog-point-text):
4265 * reposition.el (reposition-window):
4266 * rot13.el (toggle-rot13-mode):
4267 * server.el (server-switch-buffer):
4268 * shell.el (shell-dynamic-complete-command)
4269 (shell-dynamic-complete-environment-variable):
4270 * simple.el (insert-buffer, set-selective-display)
4271 (delete-completion-window):
4272 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4273 (speedbar-recenter):
4274 * startup.el (fancy-splash-head):
4275 * textmodes/ispell.el (ispell-command-loop):
4276 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4277 * tutorial.el (help-with-tutorial):
4278 * vc/add-log.el (add-change-log-entry):
4279 * vc/compare-w.el (compare-windows):
4280 * vc/ediff-help.el (ediff-indent-help-message):
4281 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4282 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4283 (ediff-setup-control-frame):
4284 * vc/emerge.el (emerge-position-region):
4285 * vc/pcvs-util.el (cvs-bury-buffer):
4286 * window.el (walk-windows, mouse-autoselect-window-select):
4287 * winner.el (winner-set-conf, winner-undo): Related users changed.
4288
38276e01
JB
42892013-08-05 Juanma Barranquero <lekktu@gmail.com>
4290
4291 * frameset.el (frameset--set-id): Doc fix.
4292 (frameset-frame-id, frameset-frame-id-equal-p)
4293 (frameset-locate-frame-id): New functions.
4294 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4295 (frameset-restore): Use them.
4296
12b4c0ea
DA
42972013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4298
4299 Do not call to `selected-frame' where it is assumed by default.
4300 Affected functions are `raise-frame', `redraw-frame',
4301 `frame-first-window', `frame-terminal' and `delete-frame'.
4302 * calendar/appt.el (appt-disp-window):
4303 * epg.el (epg-wait-for-completion):
4304 * follow.el (follow-delete-other-windows-and-split)
4305 (follow-avoid-tail-recenter):
4306 * international/mule.el (set-terminal-coding-system):
4307 * mail/rmail.el (rmail-mail-return):
4308 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4309 * progmodes/f90.el (f90-add-imenu-menu):
4310 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4311 * server.el (server-switch-buffer):
4312 * simple.el (delete-completion-window):
4313 * talk.el (talk):
4314 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4315 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4316 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4317 * vc/ediff.el (ediff-documentation): Related users changed.
4318 * frame.el (selected-terminal): Remove the leftover.
4319
17f25e76
GM
43202013-08-05 Glenn Morris <rgm@gnu.org>
4321
4322 * calendar/calendar.el (calendar-generate-month):
4323 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4324 (calendar-generate-month, calendar-font-lock-keywords):
4325 Fix for calendar-day-header-width > length of any day name.
17f25e76 4326
063233c3
JB
43272013-08-05 Juanma Barranquero <lekktu@gmail.com>
4328
4329 * desktop.el (desktop-clear): Use new name of sort predicate.
4330
4331 * frameset.el (frameset): Add docstring. Move :version property to its
4332 own `version' slot.
4333 (frameset-copy): Rename from copy-frameset.
4334 (frameset-p): Check more thoroughly.
4335 (frameset-prop): Do not check for :version, which is no longer a prop.
4336 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4337 Use new :never value instead of t.
4338 (frameset-filter-alist): Expand and clarify docstring.
4339 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4340 (frameset-filter-minibuffer, frameset-filter-save-param)
4341 (frameset-filter-restore-param, frameset-filter-iconified):
4342 Add pointer to docstring of frameset-filter-alist.
4343 (frameset-filter-params): Rename filter values to be more meaningful:
4344 :never instead of t, and reverse the meanings of :save and :restore.
4345 (frameset--process-minibuffer-frames): Clarify error message.
4346 (frameset-save): Avoid unnecessary and confusing call to framep.
4347 Use new BOA constructor for framesets.
4348 (frameset--reuse-list): Doc fix.
4349 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4350 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4351 (frameset-minibufferless-first-p): Doc fix.
4352 Rename from frameset-sort-frames-for-deletion.
4353 (frameset-restore): Doc fixes. Use new function names.
4354 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4355
d5671a82
JB
43562013-08-04 Juanma Barranquero <lekktu@gmail.com>
4357
4358 * desktop.el (desktop-restore-forces-onscreen)
4359 (desktop-restore-reuses-frames): Document :keyword constant values.
4360 (desktop-filter-parameters-alist): Remove, now identical to
4361 frameset-filter-alist.
4362 (desktop--filter-tty*): Remove, moved to frameset.el.
4363 (desktop-save-frameset, desktop-restore-frameset):
4364 Do not pass :filters argument.
4365
4366 * frameset.el (frameset-live-filter-alist)
4367 (frameset-persistent-filter-alist): New variables.
4368 (frameset-filter-alist): Use them. Add autoload cookie.
4369 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4370 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4371 `frameset--id' (it's supposed to be internal to frameset.el).
4372 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4373 (frameset--initial-params): New function.
4374 (frameset--get-frame): Use it. Doc fix.
4375 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4376 Accept :all, not 'all.
4377 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4378 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4379 with fbound symbols. Fix frame id matching, and remove matching ids if
4380 the frame being restored is deleted. Obey :delete.
4381
671d5c16
SM
43822013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * subr.el (macrop): New function.
4385 (text-clone--maintaining): New var.
4386 (text-clone--maintain): Rename from text-clone-maintain. Use it
4387 instead of inhibit-modification-hooks.
4388
4389 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4390 a proxy, so as handle autoloads and redefinitions of the target.
4391 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4392
4393 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4394 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4395 (pcase--mutually-exclusive-p): New function.
4396 (pcase--split-consp): Use it.
4397 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4398 mutually exclusive with the current predicate.
4399
4400 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4401 (edebug-macrop): Remove. Use `macrop' instead.
4402 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4403 (ad-macro-p):
4404 * eshell/esh-cmd.el (eshell-macrop):
4405 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4406
1d44e9dc
SM
44072013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4410 (advice-mapc): New function, using it.
4411 (advice-function-member-p): New function.
4412 (advice--normalize): Store the cdr in advice--saved-rewrite since
4413 that's the part that will be changed.
4414 (advice--symbol-function): New function.
4415 (advice-remove): Handle removal before the function is defined.
4416 Adjust to new advice--saved-rewrite.
4417 (advice-member-p): Use advice-function-member-p and
4418 advice--symbol-function.
4419
5414a283
JB
44202013-08-04 Juanma Barranquero <lekktu@gmail.com>
4421
51d30f2c
JB
4422 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4423 (frameset-filter-minibuffer): Doc fix.
4424 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4425 (frameset--set-id, frameset--process-minibuffer-frames)
4426 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4427 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4428
5414a283
JB
4429 * desktop.el (desktop-clear): Only delete frames when called
4430 interactively and desktop-restore-frames is non-nil. Doc fix.
4431 (desktop-read): Set desktop-saved-frameset to nil.
4432
ab419665
XF
44332013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4434
4435 * vc/vc.el (vc-ignore): Rewrite.
4436 (vc-default-ignore-completion-table):
4437 (vc--read-lines):
4438 (vc--add-line, vc--remove-regexp): New functions.
4439
4440 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4441 (vc-svn-ignore-completion-table): New function.
4442
4443 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4444 (vc-hg-ignore-completion-table):
4445 (vc-hg-find-ignore-file): New functions.
4446
4447 * vc/vc-git.el (vc-git-ignore): Rewrite.
4448 (vc-git-ignore-completion-table):
4449 (vc-git-find-ignore-file): New functions.
4450
4451 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4452
4453 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4454 (vc-bzr-ignore-completion-table):
4455 (vc-bzr-find-ignore-file): New functions.
4456
2613dea2
JB
44572013-08-03 Juanma Barranquero <lekktu@gmail.com>
4458
4459 * frameset.el (frameset-prop): New function and setter.
4460 (frameset-save): Do not modify frame list passed by the caller.
4461
9c959872
SM
44622013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4465
a104f656
SM
44662013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4467
70122acf
SM
4468 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4469 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4470
a104f656
SM
4471 * custom.el (custom-initialize-default, custom-initialize-set)
4472 (custom-initialize-reset, custom-initialize-changed): Affect the
4473 toplevel-default-value (bug#6275, bug#14586).
4474 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4475 for bug#6275.
4476
f078d570
JB
44772013-08-02 Juanma Barranquero <lekktu@gmail.com>
4478
185e3b5a
JB
4479 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4480 Add cl-def* expressions.
4481
f078d570
JB
4482 * frameset.el (frameset-filter-params): Fix order of arguments.
4483
9421876d
JB
44842013-08-02 Juanma Barranquero <lekktu@gmail.com>
4485
4486 Move code related to saving frames to frameset.el.
4487 * desktop.el: Require frameset.
4488 (desktop-restore-frames): Doc fix.
4489 (desktop-restore-reuses-frames): Rename from
4490 desktop-restoring-reuses-frames.
4491 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4492 (desktop-clear): Clear frames too.
4493 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4494 (desktop--filter-tty*, desktop-save, desktop-read):
4495 Use frameset functions.
4496 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4497 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4498 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4499 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4500 (desktop--process-minibuffer-frames, desktop-save-frames)
4501 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4502 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4503 (desktop--sort-states, desktop-restoring-frames-p)
4504 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4505 (desktop-restoring-frameset-p, desktop-restore-frameset)
4506 (desktop--check-dont-save, desktop-save-frameset): New functions.
4507 (desktop--app-id): New constant.
4508 (desktop-first-buffer, desktop-buffer-ok-count)
4509 (desktop-buffer-fail-count): Move before first use.
4510 * frameset.el: New file.
4511
76dc5996
SM
45122013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * files.el: Use lexical-binding.
4515 (dir-locals-read-from-file): Remove unused `err' variable.
4516 (hack-dir-local-variables--warned-coding): New var.
4517 (hack-dir-local-variables): Use it to avoid repeated warnings.
4518 (make-backup-file-name--default-function): New function.
4519 (make-backup-file-name-function): Use it as default.
4520 (buffer-stale--default-function): New function.
4521 (buffer-stale-function): Use it as default.
4522 (revert-buffer-insert-file-contents--default-function): New function.
4523 (revert-buffer-insert-file-contents-function): Use it as default.
4524 (insert-directory): Avoid add-to-list.
4525
4526 * autorevert.el (auto-revert-handler): Simplify.
4527 Use buffer-stale--default-function.
4528
06d36e2b
TH
45292013-08-01 Tassilo Horn <tsdh@gnu.org>
4530
5f648ab4
TH
4531 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4532
06d36e2b
TH
4533 * whitespace.el (whitespace-ensure-local-variables): New function.
4534 (whitespace-cleanup-region): Call it.
4535 (whitespace-turn-on): Call it.
4536
a43dc424
MA
45372013-08-01 Michael Albinus <michael.albinus@gmx.de>
4538
4539 Complete file name handlers.
4540
4541 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4542 (tramp-handle-verify-visited-file-modtime)
4543 (tramp-handle-file-notify-rm-watch): New functions.
4544 (tramp-call-process): Do not bind `default-directory'.
4545
44e18199
JB
4546 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4547 Order alphabetically.
a43dc424
MA
4548 [access-file, add-name-to-file, dired-call-process]:
4549 [dired-compress-file, file-acl, file-notify-rm-watch]:
4550 [file-ownership-preserved-p, file-selinux-context]:
4551 [make-directory-internal, make-symbolic-link, set-file-acl]:
4552 [set-file-selinux-context, set-visited-file-modtime]:
4553 [verify-visited-file-modtime]: Add handler.
4554 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4555
4556 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4557 [file-notify-add-watch, file-notify-rm-watch]:
4558 [set-file-times, set-visited-file-modtime]:
4559 [verify-visited-file-modtime]: Add handler.
4560 (with-tramp-gvfs-error-message)
4561 (tramp-gvfs-handle-set-visited-file-modtime)
4562 (tramp-gvfs-fuse-file-name): Remove.
4563 (tramp-gvfs-handle-file-notify-add-watch)
4564 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4565 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4566
44e18199
JB
4567 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4568 Order alphabetically.
a43dc424
MA
4569 [file-notify-rm-watch ]: Use default Tramp handler.
4570 [executable-find]: Remove private handler.
4571 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4572 `default-directory'.
4573 (tramp-sh-handle-executable-find)
4574 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4575 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4576 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4577 Do not use `format' in `tramp-message'.
4578
4579 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4580 [file-notify-rm-watch, set-visited-file-modtime]:
4581 [verify-visited-file-modtime]: Add handler.
4582 (tramp-smb-call-winexe): Do not bind `default-directory'.
4583
7188b515
XF
45842013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4585
4586 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4587
2412ee1a
DG
45882013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4589
4590 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4591 use it.
4592 (log-view-diff-changeset): Same.
4593 (log-view-diff-common): Call backend command `previous-revision'
4594 to find out the previous revision, in both cases. Swap the
4595 variables `to' and `fr', so that `fr' usually refers to the
4596 earlier revision (Bug#14989).
4597
5002a754
KRC
45982013-07-31 Kan-Ru Chen <kanru@kanru.info>
4599
4600 * ibuf-ext.el (ibuffer-filter-by-filename):
4601 Make it work with dired buffers too.
4602
44e18199 46032013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4604
4605 * emacs-lisp/re-builder.el (reb-color-display-p):
4606 * files.el (save-buffers-kill-terminal):
4607 * net/browse-url.el (browse-url):
4608 * server.el (server-save-buffers-kill-terminal):
4609 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4610 Prefer nil to selected-frame for the first arg of frame-parameter.
4611
aeca3fbb
XF
46122013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4613
4614 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4615
158bc55c
SB
46162013-07-30 Stephen Berman <stephen.berman@gmx.net>
4617
4618 * minibuffer.el (completion--twq-all): Try and preserve each
4619 completion's case choice (bug#14907).
4620
d50fceab
LMI
46212013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4622
ac38e731
LMI
4623 * net/network-stream.el (open-network-stream): Mention the new
4624 :nogreeting parameter.
4625 (network-stream-open-starttls): Use the :nogreeting parameter
4626 (bug#14938).
4627
1211de50
LMI
4628 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4629
997798bf
LMI
4630 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4631 more natural than popping.
4632
d50fceab 4633 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4634 (shr-urlify): Highlight under mouse.
d50fceab 4635
5c09de04
XF
46362013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4637
207d1d04
XF
4638 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4639
4640 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4641
5c09de04
XF
4642 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4643 buffer for output.
4644
3cd51eaa
XF
4645 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4646 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4647
44e18199 4648 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4649 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4650
4651 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4652
4653 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4654 buffer for output.
4655
35a89bdd
EZ
46562013-07-29 Eli Zaretskii <eliz@gnu.org>
4657
4658 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4659 initial frame is minibuffer-less. (Bug#14841)
4660
78822e94
MA
46612013-07-29 Michael Albinus <michael.albinus@gmx.de>
4662
4663 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4664 option.
4665
4666 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4667 (tramp-maybe-open-connection): Use it.
4668
9503c190
JB
46692013-07-28 Juanma Barranquero <lekktu@gmail.com>
4670
4671 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4672 minimal set of parameters passed when creating a frame, because
4673 the minibuffer status of a frame cannot be changed later.
4674
d5a845b4
SB
46752013-07-28 Stephen Berman <stephen.berman@gmx.net>
4676
4677 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4678 replace-regexp-in-string and inadvertent omissions in previous change.
4679 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4680 name of filtered items buffer.
d5a845b4 4681
ddeffb17
JB
46822013-07-28 Juanma Barranquero <lekktu@gmail.com>
4683
4684 * desktop.el: Optionally force offscreen frames back onscreen.
4685 (desktop-restoring-reuses-frames): New option.
4686 (desktop--compute-pos, desktop--move-onscreen): New functions.
4687 (desktop--make-frame): Use desktop--move-onscreen.
4688
f5950f7a
AM
46892013-07-27 Alan Mackenzie <acm@muc.de>
4690
4691 Fontify a Java generic method as a function.
4692 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4693 value to t.
4694
ae43b66a
SB
46952013-07-27 Stephen Berman <stephen.berman@gmx.net>
4696
4697 * calendar/todo-mode.el: Add command to rename todo files.
4698 (todo-rename-file): New command.
4699 (todo-key-bindings-t): Add key binding for it. Change the
4700 bindings of todo-filter-regexp-items(-multifile) to use `x'
4701 instead of `r', since the latter is better suited to the new
4702 renaming command.
4703
5ab78d3d
AM
47042013-07-27 Alan Mackenzie <acm@muc.de>
4705
4706 Make Java try-with-resources statement parse properly.
4707 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4708 (c-block-stmt-1-2-key): New language constants/variables.
4709 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4710 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4711 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4712 with c-block-stmt-1-2-key.
5ab78d3d 4713
d85c4d50
JB
47142013-07-27 Juanma Barranquero <lekktu@gmail.com>
4715
4716 * desktop.el (desktop--make-frame): Apply most frame parameters after
4717 creating the frame to force (partially or totally) offscreen frames to
4718 be restored as such.
4719
e4c467f9
XF
47202013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4721
4722 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4723 (Bug#14948)
e4c467f9 4724
7ced0d04
SM
47252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4728 `base' arg of backtrace-frame.
4729
fec92060
EZ
47302013-07-26 Eli Zaretskii <eliz@gnu.org>
4731
4732 * simple.el (list-processes): Doc fix.
4733
d58d31fb
JB
47342013-07-26 Juanma Barranquero <lekktu@gmail.com>
4735
4736 * desktop.el (desktop--select-frame):
d85c4d50 4737 Try harder to reuse existing frames.
d58d31fb 4738
53ff3e77
SM
47392013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4742 (edebug-eval): Use backtrace-eval.
4743 (edebug--display, edebug--recursive-edit): Don't let-bind the
4744 edebug-outer-* vars that keep track of variables we locally let-bind.
4745 (edebug-outside-excursion): Don't restore outside values of locally
4746 let-bound vars.
4747 (edebug--display): Use user-error.
4748 (cl-lexical-debug, cl-debug-env): Remove.
4749
045f7a53
JB
47502013-07-26 Juanma Barranquero <lekktu@gmail.com>
4751
4752 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4753 are restored to be sure that they are visible before deleting any
4754 remaining ones.
4755
59070b32
MM
47562013-07-26 Matthias Meulien <orontee@gmail.com>
4757
742a3501
XF
4758 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4759 vc-print-root-log. (Bug#14948)
59070b32 4760
b1fb3596
RS
47612013-07-26 Richard Stallman <rms@gnu.org>
4762
4763 Add aliases for encrypting mail.
4764 * epa.el (epa-mail-aliases): New option.
4765 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4766 Bind inhibit-read-only so read-only text doesn't ruin everything.
4767 (epa-mail-default-recipients): New subroutine broken out.
4768 Handle epa-mail-aliases.
4769
56ea7291
SM
47702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 Add support for lexical variables to the debugger's `e' command.
4773 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4774 vars, except for debugger-outer-match-data.
4775 (debugger-frame-number): Move check for "on a function call" from
4776 callers into it. Add `skip-base' argument.
4777 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4778 (debugger-env-macro): Only reset the state stored in non-variables,
4779 i.e. current-buffer and match-data.
4780 (debugger-eval-expression): Rewrite using backtrace-eval.
4781 * subr.el (internal--called-interactively-p--get-frame): Remove.
4782 (called-interactively-p):
4783 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4784 `base' arg of backtrace-frame instead.
4785
15ac32d5
GM
47862013-07-26 Glenn Morris <rgm@gnu.org>
4787
8358a09d
GM
4788 * align.el (align-regexp): Doc fix. (Bug#14857)
4789 (align-region): Explicit error if subexpression missing/does not match.
4790
15ac32d5
GM
4791 * simple.el (global-visual-line-mode):
4792 Do not duplicate the mode lighter. (Bug#14858)
4793
f47ad11b
MR
47942013-07-25 Martin Rudalics <rudalics@gmx.at>
4795
4796 * window.el (display-buffer): In display-buffer bind
4797 split-window-keep-point to t, bug#14829.
4798
02530987
JB
47992013-07-25 Juanma Barranquero <lekktu@gmail.com>
4800
4801 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4802 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4803 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4804 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4805 Change accordingly.
f63ebeb5
JB
4806 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4807 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4808
6ccb9cab 48092013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4810
6ccb9cab 4811 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4812
cb3a56d2
JB
48132013-07-25 Juanma Barranquero <lekktu@gmail.com>
4814
4815 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4816 parameter to modify-frame-parameters if the value has not changed;
4817 this is a workaround for bug#14949.
4818 (desktop--make-frame): On cl-delete-if call, check parameter name,
4819 not full parameter.
4820
7aa7fff0
XF
48212013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4822
4823 * vc/vc.el (vc-ignore): New function.
4824
4825 * vc/vc-svn.el (vc-svn-ignore): New function.
4826
4827 * vc/vc-hg.el (vc-hg-ignore): New function.
4828
4829 * vc/vc-git.el (vc-git-ignore): New function.
4830
4831 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4832 (vc-dir-ignore): New function.
4833
4834 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4835 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4836
4837 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4838
4839 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4840
889acc5c
JB
48412013-07-24 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4844 (desktop-restore-frames): Warn when deleting an existing frame failed.
4845
86c40970
GM
48462013-07-24 Glenn Morris <rgm@gnu.org>
4847
4848 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4849
d5d3c58a
MA
48502013-07-24 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * filenotify.el (file-notify-supported-p):
4853 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4854 Remove functions.
4855
4856 * autorevert.el (auto-revert-use-notify):
4857 (auto-revert-notify-add-watch):
4858 * net/tramp.el (tramp-file-name-for-operation):
4859 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4860 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4861 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4863 Remove `file-notify-supported-p' entry.
4864
d100084b
GM
48652013-07-24 Glenn Morris <rgm@gnu.org>
4866
4867 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4868 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4869
ac93e56b
SM
48702013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4871
249eea30
SM
4872 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4873 checked with memq (bug#14935).
4874
ac93e56b
SM
4875 * files.el (revert-buffer-function): Use a non-nil default.
4876 (revert-buffer-preserve-modes): Declare var to
4877 provide access to the `preserve-modes' argument.
4878 (revert-buffer): Let-bind it.
4879 (revert-buffer--default): New function, extracted from revert-buffer.
4880
2cdeb903
SM
48812013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * lpr.el: Signal print errors more prominently.
4884 (print-region-function): Don't default to nil.
4885 (lpr-print-region): New function, extracted from print-region-1.
4886 Check lpr's return value and signal an error in case of problem.
4887 (print-region-1): Use it.
4888 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4889 versions instead.
4890 (ps-printer-name): Default to nil.
4891 (ps-printer-name-option): Default to lpr-printer-switch.
4892 (ps-print-region-function): Don't default to nil.
4893 (ps-postscript-code-directory): Simplify default.
4894 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4895 (ps-string-list, ps-eval-switch, ps-flatten-list)
4896 (ps-flatten-list-1): Remove.
4897 (ps-multibyte-buffer): Avoid setq.
4898 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4899 (print-region-function, ps-print-region-function): Don't set them here.
4900
73600831
XF
49012013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4902
0e55c076
XF
4903 * ido.el (ido-fractionp):
4904 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4905 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4906 (ido-max-directory-size, ido-max-dir-file-cache)
4907 (ido-decorations): Doc fix.
4908
73600831
XF
4909 * ansi-color.el: Fix old URL.
4910
3d012865
MM
49112013-07-23 Michael R. Mauger <michael@mauger.com>
4912
e903c210 4913 * progmodes/sql.el: Version 3.3
3d012865
MM
4914 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4915 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4916 (sql-interactive-remove-continuation-prompt): Rewrite, use
4917 functions above. Fix continuation prompt and complete output line
4918 handling.
4919 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4920 redirected output buffer.
4921 (sql-mode): Restore deleted code (Bug#13591).
4922
da77a2e2
JB
49232013-07-23 Juanma Barranquero <lekktu@gmail.com>
4924
4925 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4926
80ff0c71
MA
49272013-07-23 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4930
4931 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4932 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4934
b61d71e4
JB
49352013-07-23 Juanma Barranquero <lekktu@gmail.com>
4936
4937 * desktop.el (desktop-clear): Simplify; remove useless checks
4938 against invalid buffer names.
4939 (desktop-list*): Use cl-list*.
4940 (desktop-buffer-info, desktop-create-buffer): Simplify.
4941
c3512092
LL
49422013-07-23 Leo Liu <sdl.web@gmail.com>
4943
4944 * bookmark.el (bookmark-make-record): Restore NAME as a default
4945 value. (Bug#14933)
4946
0ac26976
SM
49472013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4948
7d22ce18
SM
4949 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4950 extracted from autoload--insert-text.
4951 (autoload--insert-text): Remove.
4952 (autoload--print-cookie-text): New function, extracted from
4953 autoload--insert-cookie-text.
4954 (autoload--insert-cookie-text): Remove.
4955 (autoload-generate-file-autoloads): Adjust calls accordingly.
4956
9b2607e8
SM
4957 * winner.el (winner-hook-installed-p): Remove.
4958 (winner-mode): Simplify accordingly.
4959
c43a8618
SM
4960 * subr.el (add-to-list): Fix compiler-macro when `append' is
4961 not constant. Don't use `cl-member' for the base case.
4962
0ac26976
SM
4963 * progmodes/subword.el: Fix boundary case (bug#13758).
4964 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4965 own group.
4966 (subword-backward-regexp): Make it a constant.
4967 (subword-forward-internal): Don't treat a trailing capital as the
4968 beginning of a word.
4969
6874724a
AR
49702013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4971
4972 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4973 global value of tabulated-list-revert-hook (bug#14930).
4974
70f1b5e8
JB
49752013-07-22 Juanma Barranquero <lekktu@gmail.com>
4976
a1c80d9d
JB
4977 * desktop.el: Require 'cl-lib.
4978 (desktop-before-saving-frames-functions): New hook.
4979 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4980 for frames being saved. Rename from desktop--save-minibuffer-frames.
4981 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4982 Do not save frames with non-nil `desktop-dont-save' parameter.
4983 Filter out deleted frames.
a1c80d9d
JB
4984 (desktop--find-frame): Use cl-find-if.
4985 (desktop--select-frame): Use cl-(first|second|third) to access values
4986 of desktop-mini.
4987 (desktop--make-frame): Use cl-delete-if.
4988 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4989 (desktop-restore-frames): Use cl-(first|second|third) to access values
4990 of desktop-mini. Look for visible frame at the end, not while
4991 restoring frames.
4992
70f1b5e8
JB
4993 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4994 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4995 Use string-match-p, looking-at-p (bug#14927).
4996
728dc3cc
JB
49972013-07-21 Juanma Barranquero <lekktu@gmail.com>
4998
56bc453c
JB
4999 * desktop.el (desktop-saved-frame-states):
5000 Rename from desktop--saved-states; all users changed.
5001 (desktop-save-frames): Rename from desktop--save-frames.
5002 Do not save state to desktop file.
5003 (desktop-save): Save desktop-saved-frame-states to desktop file
5004 and reset to nil.
5005 (desktop-restoring-frames-p): New function.
5006 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5007 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5008 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5009
728dc3cc
JB
5010 * desktop.el: Correctly restore iconified frames.
5011 (desktop--filter-iconified-position): New function.
5012 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5013
862f1c9c
GM
50142013-07-20 Glenn Morris <rgm@gnu.org>
5015
c4074c9f
GM
5016 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5017 Let `message' do the formatting.
5018 (def-gdb-preempt-display-buffer): Add explicit format.
5019
d828e5f9
GM
5020 * image-dired.el (image-dired-track-original-file):
5021 Use with-current-buffer.
5022 (image-dired-track-thumbnail): Use with-current-buffer.
5023 Avoid changing point of wrong window.
5024
862f1c9c
GM
5025 * image-dired.el (image-dired-track-original-file):
5026 Avoid changing point of wrong window. (Bug#14909)
5027
f0398ec1 50282013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5029
5030 * progmodes/gdb-mi.el (gdb-done-or-error):
5031 Guard against "%" in gdb output. (Bug#14127)
5032
1451928f
AS
50332013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5034
763a086d
JB
5035 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5036 (Bug#14826)
f7a03897 5037
1451928f
AS
5038 * international/mule.el (coding-system-iso-2022-flags): Fix last
5039 change.
5040
99107004
KH
50412013-07-20 Kenichi Handa <handa@gnu.org>
5042
763a086d
JB
5043 * international/mule.el (coding-system-iso-2022-flags):
5044 Add `8-bit-level-4'. (Bug#8522)
99107004 5045
48494e06
LMI
50462013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047
8ba8eec5
LMI
5048 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5049 (bug#14815).
5050
dfbc66e3
LMI
5051 * net/eww.el (eww-process-text-input): Allow inputting when the
5052 point is at the start of the line, as the properties aren't
5053 front-sticky.
5054
48494e06
LMI
5055 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5056 degenerate widths.
5057
77c92cb9
RS
50582013-07-19 Richard Stallman <rms@gnu.org>
5059
aec7da77
RS
5060 * epa.el (epa-popup-info-window): Doc fix.
5061
77c92cb9
RS
5062 * subr.el (split-string): New arg TRIM.
5063
945c5bb1
JB
50642013-07-18 Juanma Barranquero <lekktu@gmail.com>
5065
5066 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5067 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5068
e06ec67f
MA
50692013-07-18 Michael Albinus <michael.albinus@gmx.de>
5070
c7064f05 5071 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5072 `file-notify-support'. Do not autoload. Adapt all uses.
5073 (file-notify-supported-p): New defun.
5074
c7064f05
JB
5075 * autorevert.el (auto-revert-use-notify):
5076 Use `file-notify-supported-p' instead of `file-notify-support'.
5077 Adapt docstring.
e06ec67f
MA
5078 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5079
5080 * net/tramp.el (tramp-file-name-for-operation):
5081 Add `file-notify-supported-p'.
5082
5083 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5084 New defun.
5085 (tramp-sh-file-name-handler-alist): Add it as handler for
5086 `file-notify-supported-p '.
5087
5088 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5089 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5090 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5091 Add `ignore' as handler for `file-notify-*' functions.
5092
5dc8a629
EZ
50932013-07-17 Eli Zaretskii <eliz@gnu.org>
5094
5095 * simple.el (line-move-partial, line-move): Don't start vscroll or
5096 scroll-up if the current line is not taller than the window.
5097 (Bug#14881)
5098
77aea2fb
DG
50992013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5100
5101 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5102 highlight question marks in the method names as strings.
ac72c08d
DG
5103 (ruby-block-beg-keywords): Inline.
5104 (ruby-font-lock-keyword-beg-re): Extract from
5105 `ruby-font-lock-keywords'.
77aea2fb 5106
18c26d81
JD
51072013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5108
5109 * frame.el (blink-cursor-blinks): New defcustom.
5110 (blink-cursor-blinks-done): New defvar.
5111 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5112 (blink-cursor-timer-function): Check if number of blinks has been
5113 done on X and NS.
5114 (blink-cursor-suspend, blink-cursor-check): New defuns.
5115
da48522e
GM
51162013-07-15 Glenn Morris <rgm@gnu.org>
5117
5118 * edmacro.el (edmacro-format-keys): Fix previous change.
5119
0463c1ef
PE
51202013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5121
5122 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5123 The hack didn't work outside English locales anyway.
5124
b43f6451
JB
51252013-07-15 Juanma Barranquero <lekktu@gmail.com>
5126
5127 * simple.el (define-alternatives): Rename from alternatives-define,
5128 per RMS' suggestion.
5129
b958c0ad
JB
51302013-07-14 Juanma Barranquero <lekktu@gmail.com>
5131
5132 * desktop.el (desktop-restore-frames): Change default to t.
5133 (desktop-restore-in-current-display): Now offer more options.
5134 (desktop-restoring-reuses-frames): New customization option.
5135 (desktop--saved-states): Doc fix.
5136 (desktop-filter-parameters-alist): New variable, renamed and expanded
5137 from desktop--excluded-frame-parameters.
5138 (desktop--target-display): New variable.
5139 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5140 (desktop--filter-tty*, desktop--filter-*-color)
5141 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5142 (desktop--filter-save-desktop-parm)
5143 (desktop-restore-in-original-display-p): New functions.
5144 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5145 (desktop--save-minibuffer-frames): New function, inspired by a similar
5146 function from Martin Rudalics.
5147 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5148 (desktop--restore-in-this-display-p): Remove.
5149 (desktop--find-frame): Rename from desktop--find-frame-in-display
5150 and add predicate argument.
5151 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5152 (desktop--reuse-list): New variable.
5153 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5154 New functions.
5155 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5156
f6dd8b36
MA
51572013-07-14 Michael Albinus <michael.albinus@gmx.de>
5158
5159 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5160
2ce3c565
DG
51612013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5162
763a086d
JB
5163 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5164 Highlight conversion methods on Kernel.
2ce3c565 5165
2cdb7698
AM
51662013-07-13 Alan Mackenzie <acm@muc.de>
5167
5168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5169 and comment it out. This out-commenting enables certain C++
5170 declarations to be parsed correctly.
5171
1a67b811
EZ
51722013-07-13 Eli Zaretskii <eliz@gnu.org>
5173
1b796d6b
EZ
5174 * international/mule.el (define-coding-system): Doc fix.
5175
1a67b811
EZ
5176 * simple.el (default-font-height): Don't call font-info if the
5177 frame's default font didn't change since the frame was created.
5178 (Bug#14838)
5179
58fbe886
LL
51802013-07-13 Leo Liu <sdl.web@gmail.com>
5181
5182 * ido.el (ido-read-file-name): Guard against non-symbol value.
5183
1f0480d4
FEG
51842013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5185
5186 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5187 in nested defuns.
5188
97ead0e5
LL
51892013-07-13 Leo Liu <sdl.web@gmail.com>
5190
5191 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5192 ido-set-matches call. (Bug#6852)
5193
0880a952
DG
51942013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5195
5196 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5197 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5198 Ruby 2.0.
5199 (ruby-font-lock-keywords): Distinguish calls to functions with
5200 module-like names from module references. Highlight character
5201 literals.
5202
a7d8babb
SDJ
52032013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5204
5205 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5206 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5207
acfcc8c5
JB
52082013-07-12 Juanma Barranquero <lekktu@gmail.com>
5209
5210 * desktop.el (desktop--v2s): Remove unused local variable.
5211 (desktop-save-buffer): Make defvar-local; adjust docstring.
5212 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5213 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5214
051f2775
AS
52152013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5216
5217 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5218
f24e7572
GM
52192013-07-12 Eli Zaretskii <eliz@gnu.org>
5220
5221 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5222 (Bug#14842)
5223
539a920c
GM
52242013-07-12 Glenn Morris <rgm@gnu.org>
5225
5226 * doc-view.el: Require cl-lib at runtime too.
5227 (doc-view-remove-if): Remove.
5228 (doc-view-search-next-match, doc-view-search-previous-match):
5229 Use cl-remove-if.
5230
5231 * edmacro.el: Require cl-lib at runtime too.
5232 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5233 (edmacro-mismatch, edmacro-subseq): Remove.
5234
5235 * shadowfile.el: Require cl-lib.
5236 (shadow-remove-if): Remove.
5237 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5238 Use cl-remove-if.
5239
5240 * wid-edit.el: Require cl-lib.
5241 (widget-choose): Use cl-remove-if.
5242 (widget-remove-if): Remove.
5243
5244 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5245 (ebrowse-delete-if-not): Remove.
5246 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5247 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5248 Use cl-delete-if-not.
5249
1048af7c
JB
52502013-07-12 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5253 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5254
6c0674ee
LL
52552013-07-12 Leo Liu <sdl.web@gmail.com>
5256
5257 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5258
a19b3c2d
GM
52592013-07-11 Glenn Morris <rgm@gnu.org>
5260
4582a01c
GM
5261 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5262 (edebug-gensym-index, edebug-gensym):
5263 Remove reimplementation of cl-gensym.
5264 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5265
5266 * thumbs.el: Require cl-lib at run-time too.
5267 (thumbs-gensym-counter, thumbs-gensym):
5268 Remove reimplementation of cl-gensym.
5269 (thumbs-temp-file): Use cl-gensym.
5270
a19b3c2d
GM
5271 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5272 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5273 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5274 (ert--union, ert--gensym-counter, ert--gensym-counter)
5275 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5276 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5277 (ert-make-test-unbound, ert--expand-should-1)
5278 (ert--expand-should, ert--should-error-handle-error)
5279 (should-error, ert--explain-equal-rec)
5280 (ert--plist-difference-explanation, ert-select-tests)
5281 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5282 Use cl-lib functions rather than reimplementations.
5283
88f6a933
MA
52842013-07-11 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * net/tramp.el (tramp-methods): Extend docstring.
5287 (tramp-connection-timeout): New defcustom.
5288 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5289 (with-tramp-progress-reporter): Simplify.
5290 (tramp-process-actions): Improve messages.
5291
5292 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5293 * net/tramp-sh.el (tramp-maybe-open-connection):
5294 Use `tramp-connection-timeout'.
5295 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5296 (Bug#14808)
5297
a43d577e
LL
52982013-07-11 Leo Liu <sdl.web@gmail.com>
5299
5300 * ido.el (ido-read-file-name): Conform to the requirements of
5301 read-file-name. (Bug#11861)
5302 (ido-read-directory-name): Conform to the requirements of
5303 read-directory-name.
5304
d77974bf
JB
53052013-07-11 Juanma Barranquero <lekktu@gmail.com>
5306
5307 * subr.el (delay-warning): New function.
5308
35cb8a3e
EZ
53092013-07-10 Eli Zaretskii <eliz@gnu.org>
5310
5311 * simple.el (default-line-height): New function.
5312 (line-move-partial, line-move): Use it instead of computing the
5313 line height inline.
5314 (line-move-partial): Always compute ROWH. If the last line is
5315 partially-visible, but its text is completely visible, allow
5316 cursor to enter such a partially-visible line.
5317
525c5c77
MA
53182013-07-10 Michael Albinus <michael.albinus@gmx.de>
5319
5320 Improve error messages. (Bug#14808)
5321
5322 * net/tramp.el (tramp-current-connection): New defvar, moved from
5323 tramp-sh.el.
0ac26976 5324 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5325 needed anymore.
0ac26976
SM
5326 (tramp-error-with-buffer): Show message in minibuffer.
5327 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5328 (with-tramp-progress-reporter): Improve messages.
5329 (tramp-process-actions): Use progress reporter. Delete process in
5330 case of error. Improve messages.
5331
763a086d
JB
5332 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5333 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5334 (tramp-current-connection): Remove.
525c5c77
MA
5335 (tramp-maybe-open-connection): The car of
5336 `tramp-current-connection' are the first 3 slots of the vector.
5337
c7a4d368
TZ
53382013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5339
5340 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5341 inside continued strings.
5342
954b166e
PE
53432013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5344
5345 Timestamp fixes for undo (Bug#14824).
5346 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5347
56973319
LL
53482013-07-10 Leo Liu <sdl.web@gmail.com>
5349
5350 * files.el (require-final-newline): Allow safe local value.
5351 (Bug#14834)
5352
5550a72c
LL
53532013-07-09 Leo Liu <sdl.web@gmail.com>
5354
5355 * ido.el (ido-read-directory-name): Handle fallback.
5356 (ido-read-file-name): Update DIR to ido-current-directory.
5357 (Bug#1516)
c28b9050 5358 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5359
70c46b28
DG
53602013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5363 "autoload". Remove "warn lower camel case" section, previously
5364 commented out. Highlight negation char. Do not highlight the
5365 target in singleton method definitions.
5366
0b64b838
SM
53672013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5368
7fd72e2c
SM
5369 * faces.el (tty-setup-hook): Declare the hook.
5370
0b64b838
SM
5371 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5372 and detect when a guard/pred depends on local vars (bug#14773).
5373 (pcase--u1): Adjust caller.
5374
ab49d60b
EZ
53752013-07-08 Eli Zaretskii <eliz@gnu.org>
5376
5377 * simple.el (line-move-partial, line-move): Account for
5378 line-spacing.
701d79aa
EZ
5379 (line-move-partial): Avoid setting vscroll when the last
5380 partially-visible line in window is of default height.
ab49d60b 5381
2d756ae0
LMI
53822013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5383
5384 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5385 been used a while.
5386
ed095bd7
JB
53872013-07-07 Juanma Barranquero <lekktu@gmail.com>
5388
5389 * subr.el (read-quoted-char): Remove unused local variable `char'.
5390
f1e6674b
MK
53912013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5392
584ee3fc
GM
5393 * ediff.el (ediff-version): Version update.
5394 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5395 (ediff-merge-with-ancestor-command, ediff-directories-command)
5396 (ediff-directories3-command, ediff-merge-directories-command)
5397 (ediff-merge-directories-with-ancestor-command): New functions.
5398 All are command-line interfaces to ediff: to facilitate calling
5399 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5400
5401 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5402 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5403
584ee3fc
GM
5404 * viper.el (viper-version): Version update.
5405 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5406
584ee3fc
GM
54072013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5410 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5411 (viper-intercept-ESC-key): Simplify.
5412 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5413 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5414 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5415 (viper-setup-ESC-to-escape): New functions.
5416 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5417 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5418
9aff9b38
EZ
54192013-07-07 Eli Zaretskii <eliz@gnu.org>
5420
5165d44a
JB
5421 * simple.el (default-font-height, window-screen-lines):
5422 New functions.
9aff9b38
EZ
5423 (line-move, line-move-partial): Use them instead of
5424 frame-char-height and window-text-height. This makes scrolling
5425 text smoother when the buffer's default face uses a font that is
5426 different from the frame's default font.
5427
1afb1d07
JD
54282013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5429
5430 * files.el (write-file): Do not display confirm dialog for NS,
5431 it does its own dialog, which can't be cancelled (Bug#14578).
5432
23de972a
EZ
54332013-07-06 Eli Zaretskii <eliz@gnu.org>
5434
5435 * simple.el (line-move-partial): Adjust the row returned by
5436 posn-at-point for the current window-vscroll. (Bug#14567)
5437
54a42486
MA
54382013-07-06 Michael Albinus <michael.albinus@gmx.de>
5439
5440 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5441 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5442 spaces.
5443
34ada5f4
MR
54442013-07-06 Martin Rudalics <rudalics@gmx.at>
5445
5446 * window.el (window-state-put-stale-windows): New variable.
5447 (window--state-put-2): Save list of windows without matching buffer.
5448 (window-state-put): Remove "bufferless" windows if possible.
5449
11e03d89
JB
54502013-07-06 Juanma Barranquero <lekktu@gmail.com>
5451
5452 * simple.el (alternatives-define): Remove leftover :group keyword.
5453 Tweak docstring.
5454
3504a4be
LL
54552013-07-06 Leo Liu <sdl.web@gmail.com>
5456
5457 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5458 (ido-enable-virtual-buffers): New variable.
5459 (ido-buffer-internal, ido-toggle-virtual-buffers)
5460 (ido-make-buffer-list): Use it.
5461 (ido-exhibit): Support turning on and off virtual buffers
5462 automatically.
5463
61e56e2c
JB
54642013-07-06 Juanma Barranquero <lekktu@gmail.com>
5465
5466 * simple.el (alternatives-define): New macro.
5467
321e1a9c
SM
54682013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * subr.el (read-quoted-char): Use read-key.
5471 (sit-for): Let read-event decode tty input (bug#14782).
5472
d610f6dd
SB
54732013-07-05 Stephen Berman <stephen.berman@gmx.net>
5474
5475 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5476 mode command and externally. Fix various related bugs.
5477 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5478 (todo-delete-file): New command.
5479 (todo-check-file): New function.
5480 (todo-show): Handle external deletion of the file we're trying to
5481 show (bug#14688). Replace called-interactively-p by an optional
5482 prefix argument to avoid problematic interaction with catch form
5483 when byte compiled (bug#14702).
5484 (todo-quit): Handle external deletion of the archive's todo file.
5485 Make sure the buffer that was visiting the archive file is still
5486 live before trying to bury it.
5487 (todo-category-completions): Handle external deletion of any
5488 category completion files.
5489 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5490 of todo files, in case of external deletion.
5491 (todo-add-file): Replace unnecessary setq by let-binding.
5492 (todo-find-archive): Check whether there are any archives.
5493 Replace unnecessary setq by let-binding.
5494 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5495 archive buffer whether or not the archive already exists.
5496 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5497 check if the archive is new; if it is, update list of archives.
5498 (todo-default-todo-file): Allow nil to be a valid value for when
5499 there are no todo files.
5500 (todo-reevaluate-default-file-defcustom): Use corrected definition
5501 of todo-default-todo-file.
5502 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5503 (todo-delete-category, todo-show-categories-table)
5504 (todo-category-number): Clarify comment.
5505 (todo-filter-items): Clarify documentation string.
5506 (todo-show-current-file, todo-display-as-todo-file)
5507 (todo-reset-and-enable-done-separator): Tweak documentation string.
5508 (todo-done-separator): Make separator length window-width, since
5509 bug#2749 is now fixed.
5510
ddbdfd6f
MA
55112013-07-05 Michael Albinus <michael.albinus@gmx.de>
5512
321e1a9c
SM
5513 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5514 Support both "gvfs-monitor-dir" and "inotifywait".
5515 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5516 `tramp-sh-file-notify-process-filter'.
5517 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5518 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5519
96eb829a
LL
55202013-07-05 Leo Liu <sdl.web@gmail.com>
5521
5522 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5523
cf13177e
YM
55242013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5525
5526 * frame.el (display-pixel-height, display-pixel-width)
5527 (display-mm-height, display-mm-width): Mention behavior on
5528 multi-monitor setups in docstrings.
5529 (w32-display-monitor-attributes-list): Declare function.
5530 (display-monitor-attributes-list): Use it.
5531
864c58ca
MA
55322013-07-04 Michael Albinus <michael.albinus@gmx.de>
5533
5534 * filenotify.el: New package.
5535
5536 * autorevert.el (top): Require filenotify.el.
5537 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5538 instead.
5539 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5540 (auto-revert-notify-handler): Use `file-notify-*' functions.
5541
5542 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5543
321e1a9c
SM
5544 * net/tramp.el (tramp-file-name-for-operation):
5545 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5546
5547 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5548 for `file-notify-add-watch' and `file-notify-rm-watch'.
5549 (tramp-process-sentinel): Improve trace.
5550 (tramp-sh-handle-file-notify-add-watch)
5551 (tramp-sh-file-notify-process-filter)
5552 (tramp-sh-handle-file-notify-rm-watch)
5553 (tramp-get-remote-inotifywait): New defuns.
5554
96673afe
JL
55552013-07-03 Juri Linkov <juri@jurta.org>
5556
5557 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5558 call of `occur-read-primary-args' to interactive spec.
5559
5560 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5561 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5562
924494f4
MM
55632013-07-03 Matthias Meulien <orontee@gmail.com>
5564
5565 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5566 `Buffer-menu-multi-occur'. Add it to the menu.
5567 (Buffer-menu-mode): Document it in docstring.
5568 (Buffer-menu-multi-occur): New command. (Bug#14673)
5569
56f75efc
DG
55702013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5571
5572 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5573 keywords and built-ins.
5574
9b057d61
GM
55752013-07-03 Glenn Morris <rgm@gnu.org>
5576
208dee4d
GM
5577 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5578
9b057d61
GM
5579 Make info-xref checks case-sensitive by default
5580 * info.el (Info-find-node, Info-find-in-tag-table)
5581 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5582 Add option for exact case matching of nodes.
5583 * info-xref.el (info-xref): New custom group.
5584 (info-xref-case-fold): New option.
5585 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5586
e01aa29c
LL
55872013-07-03 Leo Liu <sdl.web@gmail.com>
5588
5589 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5590
3086ca2e
DG
55912013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5592
5593 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5594 middle of block statement initially, lower the depth. Remove
5595 FIXME comment, not longer valid. Remove middle of block statement
5596 detection, no need to do that anymore since we've been using
5597 `ruby-parse-region' here.
5598
a3b49114
JD
55992013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5600
5601 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5602
08e5c823 56032013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5604
5605 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5606
2addf922
JB
56072013-07-01 Juanma Barranquero <lekktu@gmail.com>
5608
5609 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5610 (desktop-restore-in-current-display): New customization option.
5611 (desktop--excluded-frame-parameters): Add `font'.
5612 (desktop--save-frames): Rename from desktop--save-windows.
5613 (desktop--restore-in-this-display-p): New function.
5614 (desktop--make-full-frame): Remove unwanted width/height from
5615 full(width|height) frames.
5616 (desktop--restore-frames): Rename from desktop--restore-windows.
5617 Obey desktop-restore-current-display. Do not delete old frames or
5618 select a new frame unless we were able to restore at least one frame.
5619
ef099a94
MN
56202013-06-30 Michal Nazarewicz <mina86@mina86.com>
5621
5622 * files.el (find-file-noselect): Simplify conditional expression.
5623
5624 * remember.el (remember-append-to-file):
5625 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5626
5627 Add `remember-notes' function to store random notes across Emacs
5628 restarts.
5629 * remember.el (remember-data-file): Add :set callback to affect
5630 notes buffer (if any).
5631 (remember-notes): New command.
5632 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5633 New defcustoms for the `remember-notes' function.
5634 (remember-notes-save-and-bury-buffer): New command.
5635 (remember-notes-mode-map): New variable.
5636 (remember-mode): New minor mode.
5637 (remember-notes--kill-buffer-query): New function.
5638 * startup.el (initial-buffer-choice): Add notes to custom type.
5639
0865d506
EZ
56402013-06-30 Eli Zaretskii <eliz@gnu.org>
5641
0ba54312
EZ
5642 * bindings.el (right-char, left-char): Don't call sit-for, this is
5643 no longer needed. Use arithmetic comparison only for numerical
5644 arguments.
5645
ef099a94
MN
5646 * international/mule-cmds.el (select-safe-coding-system):
5647 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5648
2fae38e5
LMI
56492013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5650
5651 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5652 progression on degenerate tables.
ef099a94 5653 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5654
a47cbd64
JB
56552013-06-30 Juanma Barranquero <lekktu@gmail.com>
5656
5657 Some fixes and improvements for desktop frame restoration.
5658 It is still experimental and disabled by default.
5659 * desktop.el (desktop--save-windows): Put the selected frame at
5660 the head of the list.
5661 (desktop--make-full-frame): New function.
5662 (desktop--restore-windows): Try to re-select the frame that was
5663 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5664 just show an error message and continue. Set up maximized frames
5665 so they have default non-maximized dimensions.
a47cbd64 5666
6dbafa30
DG
56672013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5668
ef099a94
MN
5669 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5670 Don't start heredoc inside a string or comment.
6dbafa30 5671
4c672a0f
EZ
56722013-06-29 Eli Zaretskii <eliz@gnu.org>
5673
5674 * bindings.el (visual-order-cursor-movement): New defcustom.
5675 (right-char, left-char): Provide visual-order cursor motion by
5676 calling move-point-visually. Update the doc strings.
5677
50960f36
KH
56782013-06-28 Kenichi Handa <handa@gnu.org>
5679
5680 * international/mule.el (define-coding-system): New coding system
5681 properties :inhibit-null-byte-detection,
5682 :inhibit-iso-escape-detection, and :prefer-utf-8.
5683 (set-buffer-file-coding-system): If :charset-list property of
5684 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5685 appropriate for setting.
5686
c1ea3abf
JB
5687 * international/mule-cmds.el (select-safe-coding-system):
5688 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5689 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5690
5691 * international/mule-conf.el (prefer-utf-8): New coding system.
5692 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5693 files.
5694
75dbaf9d
IK
56952013-06-28 Ivan Kanis <ivan@kanis.fr>
5696
eadb6068
IK
5697 * net/shr.el (shr-render-region): New function.
5698
75dbaf9d
IK
5699 * net/eww.el: Autoload `eww-browse-url'.
5700
9ea5cf9f
DG
57012013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5702
c1ea3abf
JB
5703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5704 Adapt to `package-desc-version' being a list.
5705 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5706 archive element.
5707
39c0e36f
JB
57082013-06-27 Juanma Barranquero <lekktu@gmail.com>
5709
5710 New experimental feature to save&restore window and frame setup.
5711 * desktop.el (desktop-save-windows): New defcustom.
5712 (desktop--saved-states): New var.
5713 (desktop--excluded-frame-parameters): New defconst.
5714 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5715 (desktop--restore-windows, desktop--save-windows): New functions.
5716 (desktop-save): Call `desktop--save-windows'.
5717 (desktop-read): Call `desktop--restore-windows'.
5718
7f13406b
LMI
57192013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5720
ef099a94 5721 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5722
1e072639
SB
57232013-06-27 Stephen Berman <stephen.berman@gmx.net>
5724
5725 * info.el (Info-try-follow-nearest-node): Move search for footnote
5726 above search for node name to prevent missing a footnote (bug#14717).
5727
f3e2cbde
SB
57282013-06-27 Stephen Berman <stephen.berman@gmx.net>
5729
5730 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5731
99906aa0
LL
57322013-06-27 Leo Liu <sdl.web@gmail.com>
5733
5734 * net/eww.el (eww-read-bookmarks): Check file size.
5735
539f75f4
SM
57362013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5739 advice--pending if newdef is nil or an autoload (bug#13820).
5740 (advice-mapc): New function.
5741
843571cb
LMI
57422013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5743
5744 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5745 probably.
23a75d7f 5746 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5747 (eww-add-bookmark): New command.
5748 (eww-bookmark-mode): New mode and commands.
a285ce99 5749 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5750 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5751
f2136e1e
GM
57522013-06-26 Glenn Morris <rgm@gnu.org>
5753
eab35f39
GM
5754 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5755 (hfy-size): Handle ttys. (Bug#14668)
5756
f2136e1e
GM
5757 * info-xref.el: Update for Texinfo 5 change in *note format.
5758 (info-xref-node-re, info-xref-note-re): New constants.
5759 (info-xref-check-buffer): Use info-xref-note-re.
5760
a49ff80c
SM
57612013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5762
a343d218
SM
5763 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5764
a49ff80c
SM
5765 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5766 nil terminate the loop (bug#14718).
5767
8308f184
LMI
57682013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5769
5770 * net/eww.el: Rework history traversal. When going forward/back,
5771 put these actions into the history, too, so that they can be
5772 replayed.
26bf2b82 5773 (eww-render): Move the history reset to the correct buffer.
8308f184 5774
ec64c273
JL
57752013-06-25 Juri Linkov <juri@jurta.org>
5776
5777 * files-x.el (modify-dir-local-variable): Change the header comment
5778 in the file with directory local variables. (Bug#14692)
5779
e080a9d7
JL
5780 * files-x.el (read-file-local-variable-value): Add `default'.
5781 (Bug#14710)
5782
bfbc93a1
IK
57832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5784
5785 * net/eww.el (eww-make-unique-file-name): Create a unique file
5786 name before saving to entering `y' accidentally asynchronously.
5787
57882013-06-25 Ivan Kanis <ivan@kanis.fr>
5789
5790 * net/eww.el (eww-download): New command and keystroke.
5791
16f74f10
LMI
57922013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5793
a49ff80c 5794 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5795
5796 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5797 be more consistent with Info and dired.
5798
5799 * net/eww.el (eww-mode-map): Ditto.
5800
12059709
SM
58012013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5804 packages from archives.
5805 (package-archive-contents): Change format; include obsolete packages.
5806 (package-desc): Use `dir' to mark builtin packages.
5807 (package--from-builtin): Set the `dir' field to `builtin'.
5808 (generated-autoload-file, version-control): Declare.
5809 (package-compute-transaction): Change first arg and return value to be
5810 lists of package-descs. Adjust to new package-archive-contents format.
5811 (package--add-to-archive-contents): Adjust to new
5812 package-archive-contents format.
5813 (package-download-transaction): Arg is now a list of package-descs.
5814 (package-install): If `pkg' is a package name, pass it as
5815 a requirement, so it is subject to the usual (e.g. disabled) checks.
5816 (describe-package): Accept package-desc as well.
5817 (describe-package-1): Describe a specific package-desc. Add links to
5818 other package-descs for the same package name.
5819 (package-menu-describe-package): Pass the actual package-desc.
5820 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5821 works correctly.
5822 (package-desc-status): New function.
5823 (package-menu--refresh): New function, extracted
5824 from package-menu--generate.
5825 (package-menu--generate): Use it.
5826 (package-delete): Update package-alist.
5827 (package-menu-execute): Don't call package-initialize.
5828
5829 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5830 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5831 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5832 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5833 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5834 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5835
8bbdea0f
MR
58362013-06-25 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (window--state-get-1): Workaround for bug#14527.
5839 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5840
e82b0991
LMI
58412013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5842
5843 * net/eww.el (eww-back-url): Implement the history by stashing all
5844 the data into a list.
d3f0f918 5845 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5846
c763842b
SM
58472013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5850 for values and use read--expression for expressions (bug#14710).
5851 (read-file-local-variable): Avoid setq.
5852 (read-file-local-variable-mode): Use minor-mode-list.
5853
bceff189
RW
58542013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5855
864c58ca 5856 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5857 for DOI URLs.
5858
45f431c6
RW
58592013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5860
864c58ca 5861 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5862 Update imenu-support when dialect changes.
5863
f42d8237
LL
58642013-06-25 Leo Liu <sdl.web@gmail.com>
5865
5866 * ido.el (ido-read-internal): Allow forward slash on windows.
5867
be549ce6
LMI
58682013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5869
5870 * net/eww.el (eww): Start of strings is \\`, not ^.
5871
71d4c19d
IK
58722013-06-24 Ivan Kanis <ivan@kanis.fr>
5873
5196f88a
IK
5874 * net/shr.el (shr-browse-url): Fix interactive spec.
5875
71d4c19d
IK
5876 * net/eww.el (eww): Add a trailing slash to domain names.
5877
ae36ca55
JB
58782013-06-24 Juanma Barranquero <lekktu@gmail.com>
5879
5880 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5881
0ebd92a3
LMI
58822013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5883
bdaa086b
LMI
5884 * net/shr.el (shr-browse-url): Use an external browser if given a
5885 prefix.
5886
c763842b 5887 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5888
b89fc156
IK
58892013-06-24 Ivan Kanis <ivan@kanis.fr>
5890
5891 * net/eww.el (eww): Work more correctly for file: URLs.
5892 (eww-detect-charset): Allow quoted charsets.
5893 (eww-yank-page-url): New command and keystroke.
5894
18eb4bca
DU
58952013-06-24 Daiki Ueno <ueno@gnu.org>
5896
5897 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5898 file name of gpg executable.
5899 (epg-context-program): New function.
5900 (epg-context-home-directory): New function.
5901 (epg-context-set-program): New function.
5902 (epg-context-set-home-directory): New function.
5903 (epg--start): Use `epg-context-program' instead of
5904 'epg-gpg-program'.
5905 (epg--list-keys-1): Likewise.
5906
6c6268c8
LL
59072013-06-24 Leo Liu <sdl.web@gmail.com>
5908
5909 * ido.el (ido-read-internal): Fix bug#14620.
5910
5e400cb3
JB
59112013-06-23 Juanma Barranquero <lekktu@gmail.com>
5912
5913 * faces.el (face-documentation): Simplify.
5914 (read-face-attribute, tty-find-type, x-resolve-font-name):
5915 Use `string-match-p'.
5916 (list-faces-display): Use `string-match-p'. Simplify.
5917 (face-spec-recalc): Check face to avoid face alias loops.
5918 (read-color): Use `string-match-p' and non-capturing parenthesis.
5919
f3f9606c
LMI
59202013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5921
5922 * net/shr.el (shr-rescale-image): Use the new
5923 :max-width/:max-height functionality.
5924
a3ca09b9
IK
59252013-06-23 Ivan Kanis <ivan@kanis.fr>
5926
5927 * net/eww.el (eww-search-prefix): New variable.
5928 (eww): Use it.
f865b474
IK
5929 (eww-external-browser): New variable.
5930 (eww-mode-map): New keystroke.
5931 (eww-browse-with-external-browser): New command.
a3ca09b9 5932
e854cfc7
IK
5933 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5934
18bb9e21
JB
59352013-06-23 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5938 Don't skip aligning the next header field when padding is 0;
5939 otherwise, field width is not respected unless the title is as
5940 wide as the field.
5941
5b165ade
SM
59422013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * emacs-lisp/package.el (package-el-version): Remove.
5945 (package-process-define-package): Fix inf-loop.
5946 (package-install): Allow symbols as arguments again.
5947
12adebe9
DG
59482013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5951 add some more keyword-like methods.
5952 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5953
388573ee
JB
59542013-06-22 Juanma Barranquero <lekktu@gmail.com>
5955
5956 * bs.el (bs-buffer-show-mark): Make defvar-local.
5957 (bs-mode): Use setq-local.
5958
5959 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5960 (emacs-lock--try-unlocking): Make defvar-local.
5961
4582a01c 59622013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5963
2663dd23
GM
5964 * play/cookie1.el (cookie-apropos): Minor simplification.
5965
3d94f3ad
GM
5966 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5967
f72e2fdb
DG
59682013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5969
5970 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5971 `regexp-opt', it breaks the build during dumping.
5972
73eab938
DG
59732013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5974
c763842b
SM
5975 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5976 Highlight keyword-like methods on Kernel and Module with
73eab938 5977 font-lock-builtin-face.
5cf8176d
DG
5978 (auto-mode-alist): Consolidate different entries into one regexp
5979 and add more *file-s.
73eab938 5980
d26255f6
SB
59812013-06-21 Stephen Berman <stephen.berman@gmx.net>
5982
5983 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5984
5985 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5986 (diary-entry): Use it in the action of this button type instead of
5987 diary-goto-entry.
5988
5989 * calendar/todo-mode.el: New version.
5990 (todo-add-category): Append new category to end of file and give
5991 it the highest number, instead of putting it at the beginning and
5992 giving it 0. Incorporate noninteractive functionality.
5993 (todo-forward-category): Adapt to 1-based category numbering.
5994 Allow skipping over archived categories.
5995 (todo-backward-category): Derive from todo-forward-category.
5996 (todo-backward-item, todo-forward-item): Make noninteractive and
5997 delegate interactive part to new commands. Make sensitive to done items.
5998 (todo-categories): Make value an alist of category names and
5999 vectors of item counts.
6000 (todo-category-beg): Make a defconst.
6001 (todo-category-number): Use 1 instead of 0 as initial value.
6002 (todo-category-select): Make sensitive to overlays, optional item
6003 highlighting and done items.
6004 (todo-delete-item): Make sensitive to overlays and marked and done items.
6005 (todo-edit-item): Make sensitive to overlays and editing of
6006 date/time header optional. Add format checks.
6007 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6008 no-op if point is not on an item. Advertise using todo-edit-quit.
6009 (todo-edit-mode): Make sensitive to new format, font-locking, and
6010 multiple todo files.
6011 (todo-insert-item, todo-insert-item-here): Derive from
6012 todo-basic-insert-item and extend functionality.
6013 (todo-item-end, todo-item-start): Make sensitive to done items.
6014 (todo-item-string): Don't return text properties. Restore point.
6015 (todo-jump-to-category): Make sensitive to multiple todo files and
6016 todo archives. Use extended category completion.
6017 (todo-lower-item, todo-raise-item): Rename to *-priority and
6018 derive from todo-set-item-priority.
6019 (todo-mode): Derive from special-mode. Make sensitive to new
6020 format, font-locking and multiple todo files. Make read-only.
6021 (todo-mode-map): Don't suppress digit keys, so they can supply
6022 prefix arguments. Add many new key bindings.
6023 (todo-prefix): Insert as an overlay instead of file text.
6024 Change semantics from diary date expression to purely visual mark.
6025 (todo-print): Rename to todo-print-buffer. Make buffer display
6026 features printable. Remove option to restrict number of items
6027 printed. Add option to print to file.
6028 (todo-print-function): Rename to todo-print-buffer-function.
6029 (todo-quit): Extend to handle exiting new todo modes.
6030 (todo-remove-item): Make sensitive to overlays.
6031 (todo-save): Extend to buffers of filtered items.
6032 (todo-show): Make sensitive to done items, multiple todo files and
6033 new todo modes. Offer to convert legacy todo file before creating
6034 first new todo file.
6035 (todo-show-priorities): Rename to todo-top-priorities.
6036 Change semantics of value 0.
6037 (todo-top-priorities): Rename to todo-filter-top-priorities,
6038 derive from todo-filter-items and extend functionality.
6039 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6040 and extend functionality to other types of filtered items.
6041 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6042 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6043 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6044 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6045 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6046 (todo-edit-mode-hook, todo-entry-prefix-function)
6047 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6048 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6049 (todo-initials, todo-insert-threshold, todo-item-string-start)
6050 (todo-line-string, todo-menu, todo-mode-hook)
6051 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6052 (todo-print-priorities, todo-remove-separator)
6053 (todo-save-top-priorities-too, todo-string-count-lines)
6054 (todo-string-multiline-p, todo-time-string-format)
6055 (todo-tmp-buffer-name): Remove.
6056 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6057 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6058 (todo-edit-category-diary-inclusion)
6059 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6060 (todo-edit-file, todo-edit-item-date-day)
6061 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6062 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6063 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6064 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6065 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6066 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6067 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6068 (todo-filter-top-priorities-multifile, todo-find-archive)
6069 (todo-find-filtered-items-file, todo-go-to-source-item)
6070 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6071 (todo-jump-to-archive-category, todo-lower-category)
6072 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6073 (todo-move-category, todo-move-item, todo-next-button)
6074 (todo-next-item, todo-padded-string, todo-powerset)
6075 (todo-previous-button, todo-previous-item)
6076 (todo-print-buffer-to-file, todo-raise-category)
6077 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6078 (todo-set-category-number, todo-set-item-priority)
6079 (todo-set-top-priorities-in-category)
6080 (todo-set-top-priorities-in-file, todo-show-categories-table)
6081 (todo-sort-categories-alphabetically-or-numerically)
6082 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6083 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6084 (todo-toggle-item-header, todo-toggle-item-highlighting)
6085 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6086 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6087 (todo-unarchive-items, todo-unmark-category): New commands.
6088 (todo-absolute-file-name, todo-add-to-buffer-list)
6089 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6090 (todo-basic-insert-item, todo-category-completions)
6091 (todo-category-number, todo-category-string-matcher-1)
6092 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6093 (todo-check-format, todo-clear-matches)
6094 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6095 (todo-current-category, todo-date-string-matcher)
6096 (todo-define-insertion-command, todo-diary-expired-matcher)
6097 (todo-diary-goto-entry, todo-diary-item-p)
6098 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6099 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6100 (todo-done-item-section-p, todo-done-separator)
6101 (todo-done-string-matcher, todo-files, todo-filter-items)
6102 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6103 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6104 (todo-insert-category-line, todo-insert-item-from-calendar)
6105 (todo-insert-sort-button, todo-insert-with-overlays)
6106 (todo-insertion-command-name, todo-insertion-key-bindings)
6107 (todo-label-to-key, todo-longest-category-name-length)
6108 (todo-make-categories-list, todo-mode-external-set)
6109 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6110 (todo-modes-set-3, todo-multiple-filter-files)
6111 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6112 (todo-read-category, todo-read-date, todo-read-dayname)
6113 (todo-read-file-name, todo-read-time)
6114 (todo-reevaluate-category-completions-files-defcustom)
6115 (todo-reevaluate-default-file-defcustom)
6116 (todo-reevaluate-filelist-defcustoms)
6117 (todo-reevaluate-filter-files-defcustom)
6118 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6119 (todo-reset-done-separator, todo-reset-done-separator-string)
6120 (todo-reset-done-string, todo-reset-global-current-todo-file)
6121 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6122 (todo-reset-prefix, todo-set-categories)
6123 (todo-set-date-from-calendar, todo-set-show-current-file)
6124 (todo-set-top-priorities, todo-short-file-name)
6125 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6126 (todo-total-item-counts, todo-update-buffer-list)
6127 (todo-update-categories-display, todo-update-categories-sexp)
6128 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6129 New functions.
6130 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6131 New major modes.
6132 (todo-categories, todo-display, todo-edit, todo-faces)
6133 (todo-filtered): New defgroups.
6134 (todo-archived-only, todo-button, todo-category-string, todo-date)
6135 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6136 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6137 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6138 (todo-add-item-if-new-category, todo-always-add-time-string)
6139 (todo-categories-align, todo-categories-archived-label)
6140 (todo-categories-category-label, todo-categories-diary-label)
6141 (todo-categories-done-label, todo-categories-number-separator)
6142 (todo-categories-todo-label, todo-categories-totals-label)
6143 (todo-category-completions-files, todo-completion-ignore-case)
6144 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6145 (todo-done-separator-string, todo-done-string)
6146 (todo-files-function, todo-filter-done-items, todo-filter-files)
6147 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6148 (todo-initial-category, todo-initial-file, todo-item-mark)
6149 (todo-legacy-date-time-regexp, todo-mode-line-function)
6150 (todo-nondiary-marker, todo-number-prefix)
6151 (todo-print-buffer-function, todo-show-current-file)
6152 (todo-show-done-only, todo-show-first, todo-show-with-done)
6153 (todo-skip-archived-categories, todo-top-priorities-overrides)
6154 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6155 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6156 New defcustoms.
6157 (todo-category-done, todo-date-pattern, todo-date-string-start)
6158 (todo-diary-items-buffer, todo-done-string-start)
6159 (todo-filtered-items-buffer, todo-item-start)
6160 (todo-month-abbrev-array, todo-month-name-array)
6161 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6162 (todo-top-priorities-buffer): New defconsts.
6163 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6164 (todo-categories-with-marks, todo-category-string-face)
6165 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6166 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6167 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6168 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6169 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6170 (todo-font-lock-keywords, todo-global-current-todo-file)
6171 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6172 (todo-insertion-commands-args)
6173 (todo-insertion-commands-args-genlist)
6174 (todo-insertion-commands-names, todo-insertion-map)
6175 (todo-key-bindings-t, todo-key-bindings-t+a)
6176 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6177 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6178 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6179 (todo-visited): New variables.
6180
cad5d1cb
GM
61812013-06-21 Glenn Morris <rgm@gnu.org>
6182
6183 * play/cookie1.el (cookie-apropos): Add optional display argument.
6184 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6185 (psychoanalyze-pinhead): Use cookie-doctor.
6186
9e277302
JB
61872013-06-21 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * emacs-lisp/package.el (tar-get-file-descriptor)
6190 (tar--extract): Declare.
6191
c5b0993e
EW
61922013-06-21 Eduard Wiebe <usenet@pusto.de>
6193
6194 Extend flymake's warning predicate to be a function (bug#14217).
6195 * progmodes/flymake.el (flymake-warning-predicate): New.
6196 (flymake-parse-line): Use it.
6197 (flymake-warning-re): Make obsolete alias to
6198 `flymake-warning-predicate'.
6199
a7d2d465
SM
62002013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6203 (package-obsolete-list): Remove.
6204 (package-activate): Remove min-version argument. Add `force' argument.
6205 Adjust to new package-alist format.
6206 (package-mark-obsolete): Remove.
6207 (package-unpack): Force reload of the package's autoloads.
6208 (package-installed-p): Check builtins if the installed package is not
6209 recent enough.
6210 (package-initialize): Don't reset package-obsolete-list.
6211 Don't specify which package version to activate.
6212 (package-process-define-package, describe-package-1)
6213 (package-menu--generate): Adjust to new package-alist format.
6214
cedf5c9d
JB
62152013-06-21 Juanma Barranquero <lekktu@gmail.com>
6216
6217 * allout-widgets.el (allout-widgets-mode-off)
6218 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6219 (allout-widgets-post-command-business)
6220 (allout-widgets-after-copy-or-kill-function)
6221 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6222 (allout-decorate-item-and-context)
6223 (allout-graphics-modification-handler): Fix typos in docstrings.
6224 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6225
6226 * cmuscheme.el (scheme-start-file): Doc fix.
6227 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6228 (scheme-input-filter): Use `string-match-p'.
6229
6230 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6231
6232 * dired-x.el: Use Dired consistently in docstrings.
6233
6234 * dired.el: Use Dired consistently in docstrings.
6235 (dired-readin, dired-mode): Use `setq-local'.
6236 (dired-switches-alist): Make defvar-local.
6237 (dired-buffers-for-dir): Use `zerop'.
6238 (dired-safe-switches-p, dired-switches-escape-p)
6239 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6240 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6241 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6242 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6243 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6244 (dired-toggle-marks, dired-mark-files-containing-regexp)
6245 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6246 (dired-flag-auto-save-files, dired-flag-backup-files):
6247 Use `looking-at-p'.
6248 (dired-mark-files-regexp, dired-build-subdir-alist):
6249 Use `string-match-p', `looking-at-p'.
6250
6251 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6252 (direct-print-region-helper): Use `string-match-p'.
6253
aed838b5
LL
62542013-06-21 Leo Liu <sdl.web@gmail.com>
6255
cedf5c9d
JB
6256 * comint.el (comint-redirect-results-list-from-process):
6257 Fix infinite loop.
aed838b5 6258
d80a808f
LMI
62592013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6260
6261 * net/eww.el (eww-update-header-line-format): Quote % characters.
6262
e7a526e3
GM
62632013-06-21 Glenn Morris <rgm@gnu.org>
6264
6265 * play/cookie1.el (cookie): New custom group.
6266 (cookie-file): New option.
6267 (cookie-check-file): New function.
6268 (cookie): Make it interactive. Make start and end messages optional.
6269 Interactively, display the result. Default to cookie-file.
6270 (cookie-insert): Default to cookie-file.
6271 (cookie-snarf): Make start and end messages optional.
6272 Default to cookie-file. Use with-temp-buffer.
6273 (cookie-read): Rename from read-cookie.
6274 Make start and end messages optional. Default to cookie-file.
6275 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6276 Do not autoload it.
e7a526e3
GM
6277 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6278 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6279
62efb35e
LL
62802013-06-21 Leo Liu <sdl.web@gmail.com>
6281
6282 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6283
21e3f963
GM
62842013-06-21 Glenn Morris <rgm@gnu.org>
6285
6286 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6287
fd846ab4
SM
62882013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6289 Daniel Hackney <dan@haxney.org>
6290
6291 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6292 Consolidate the single-file vs tarball code.
6293 (package-desc-suffix): New function.
6294 (package-desc-full-name): Don't bother inlining it.
6295 (package-load-descriptor): Return the new package-desc.
6296 (package-mark-obsolete): Remove unused arg `package'.
6297 (package-unpack): Make it work for single files as well.
6298 Make it update package-alist.
6299 (package--make-autoloads-and-stuff): Rename from
6300 package--make-autoloads-and-compile. Don't compile any more.
6301 (package--compile): New function.
6302 (package-generate-description-file): New function, extracted from
6303 package-unpack-single.
6304 (package-unpack-single): Remove.
6305 (package--with-work-buffer): Add indentation and debugging info.
6306 (package-download-single): Remove.
6307 (package-install-from-archive): Rename from package-download-tar, make
6308 it take a pkg-desc, and make it work for single files as well.
6309 (package-download-transaction): Simplify.
6310 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6311 external tar program.
6312 (package-install-from-buffer): Remove `pkg-desc' argument.
6313 Use package-tar-file-info for tar-mode buffers.
6314 (package-install-file): Simplify accordingly.
6315 (package-archive-base): Change to take a pkg-desc.
6316 * tar-mode.el (tar--check-descriptor): New function, extracted from
6317 tar-get-descriptor.
6318 (tar-get-descriptor): Use it.
6319 (tar-get-file-descriptor): New function.
6320 (tar--extract): New function, extracted from tar-extract.
6321 (tar--extract): Use it.
6322 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6323 case the summary uses non-ascii. Adjust to new calling convention of
6324 package-tar-file-info.
6325
b7deae5e
LL
63262013-06-21 Leo Liu <sdl.web@gmail.com>
6327
fd846ab4
SM
6328 * comint.el (comint-redirect-results-list-from-process):
6329 Fix random delay. (Bug#14681)
b7deae5e 6330
7a65a0b2
JB
63312013-06-21 Juanma Barranquero <lekktu@gmail.com>
6332
6333 * profiler.el (profiler-format-number): Use log, not log10.
6334
1493c2af
JB
63352013-06-20 Juanma Barranquero <lekktu@gmail.com>
6336
6337 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6338
aff6371e
SM
63392013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6342 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6343 yet available.
6344 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6345 (AUTOGENEL): ... here.
6346 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6347 (cl--defsubst-expand): Use it.
6348
89561f72
PE
63492013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6350
6351 * subr.el (log10): Move here from C code, and declare as obsolete.
6352 All uses of (log10 X) replaced with (log X 10).
6353
47199123
JB
63542013-06-20 Juanma Barranquero <lekktu@gmail.com>
6355
6356 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6357 Declare with `defvar-local'.
6358 (tabulated-list-use-header-line, tabulated-list-entries)
6359 (tabulated-list-padding, tabulated-list-printer)
6360 (tabulated-list-sort-key): Declare with `defvar-local'.
6361 (tabulated-list-init-header, tabulated-list-print-fake-header):
6362 Use `setq-local'.
6363
4a172eab
MA
63642013-06-20 Michael Albinus <michael.albinus@gmx.de>
6365
47199123
JB
6366 * arc-mode.el (archive-mode): Add `archive-write-file' to
6367 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6368
5fc0acc0
JB
63692013-06-20 Juanma Barranquero <lekktu@gmail.com>
6370
d5b27848
JB
6371 * cus-edit.el (custom-commands): Fix typos.
6372 (custom-display): Fix tooltip text.
6373 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6374 Fix typos in docstrings.
6375 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6376 (custom-unlispify-menu-entry, custom-magic-value-create)
6377 (custom-add-see-also, custom-group-value-create): Use ?\s.
6378 (custom-guess-type, customize-apropos, editable-field)
6379 (custom-face-value-create): Use `string-match-p'.
6380 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6381
6382 * custom.el (custom-load-symbol): Use `string-match-p'.
6383
a5c581d8
JB
6384 * ansi-color.el: Convert to lexical binding.
6385 (ansi-colors): Fix URL.
6386 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6387 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6388 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6389
970ad972
G
63902013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391
6392 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6393
6394 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6395
63962013-06-19 Tom Tromey <tromey@redhat.com>
6397
6398 * net/eww.el (eww-top-url): Remove.
6399 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6400 (eww-render): Set new variables. Don't set eww-top-url.
6401 (eww-handle-link): Handle "prev", "home", and "contents".
6402 Downcase the rel text.
6403 (eww-top-url): Choose best top URL.
6404
64052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6406
6407 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6408 relying in widget.el. Using widget.el leads to too many
6409 user interface inconsistencies.
6410 (eww-self-insert): Implement entering commands in text fields.
6411 (eww-process-text-input): New function to make text input field editing
6412 work.
6413 (eww-submit): Rewrite to use the new-style form methods.
6414 (eww-select-display): Display the correct selected item.
6415 (eww-change-select): Implement changing the select value.
6416 (eww-toggle-checkbox): Implement radio/checkboxes.
6417 (eww-update-field): Fix compilation error.
6418 (eww-tag-textarea): Implement <textarea>.
6419
6420 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6421 we don't shadow mode-specific bindings.
6422
6423 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6424 nothing to push.
6425
6426 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6427
4582a01c 64282013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6429
6430 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6431
15b263dc
MA
64322013-06-19 Michael Albinus <michael.albinus@gmx.de>
6433
6434 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6435 not needed.
6436
6437 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6438
8f5297f7
LMI
64392013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6440
6441 * net/browse-url.el (browse-url-browser-function):
6442 `eww-browse-url' has the right calling signature, `eww' does not.
6443
011c4552
GM
64442013-06-19 Glenn Morris <rgm@gnu.org>
6445
2285bd27
GM
6446 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6447 Only eval autoloaded macros.
6448 (byte-compile-autoload): Only give the macro warning for macros.
6449
1d653303
GM
6450 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6451 (ps-underlined-faces): Declare.
6452
bdd779ec
GM
6453 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6454 (speedbar-add-supported-extension): Declare.
6455
011c4552
GM
6456 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6457 Don't include a date stamp in the header of the generated file;
6458 it leads to needless differences between output files.
6459
e59dfb0e
MA
64602013-06-19 Michael Albinus <michael.albinus@gmx.de>
6461
c763842b
SM
6462 * net/secrets.el (secrets-struct-secret-content-type):
6463 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6464 Some servers do not offer introspection.
e59dfb0e 6465
102626e2
SM
64662013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6467
6468 * electric.el (electric-pair-mode): Improve interaction with
6469 electric-layout-mode.
6470 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6471 (electric-pair-syntax): Use text-mode-syntax-table in comments
6472 and strings.
6473 (electric-pair--insert): New function.
6474 (electric-pair-post-self-insert-function): Use it and
6475 electric--after-char-pos.
6476
ad528125
LL
64772013-06-19 Leo Liu <sdl.web@gmail.com>
6478
6479 * progmodes/octave.el (octave-help): Fix regexp.
6480
924d6997
G
64812013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6482
6483 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6484 (shr-table-horizontal-line): Allow nil as a value, and change the
6485 default.
6486 (shr-insert-table-ruler): Respect the nil value.
6487
64882013-06-18 Tom Tromey <tromey@barimba>
6489
6490 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6491 New defvars.
6492 (eww-open-file): New defun.
6493 (eww-render): Initialize new variables.
6494 (eww-display-html): Handle "link" and "a".
6495 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6496 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6497 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6498 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6499 New defuns.
924d6997 6500
d1bbba4f
DG
65012013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6502
6503 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6504 Distinguish ternary operator tokens from slash symbol and slash
6505 char literal.
6506
14dd22d2
JB
65072013-06-18 Juanma Barranquero <lekktu@gmail.com>
6508
6509 Convert symbol prettification into minor mode and global minor mode.
6510
6511 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6512 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6513 (prettify-symbols--keywords): Rename from
6514 `prog-prettify-symbols-alist' and make a local defvar.
6515 (prettify-symbols--compose-symbol): Rename from
6516 `prog--prettify-font-lock-compose-symbol'.
6517 (prettify-symbols--make-keywords): Rename from
6518 `prog-prettify-font-lock-symbols-keywords' and simplify.
6519 (prog-prettify-install): Remove.
6520 (prettify-symbols-mode): New minor mode, based on
6521 `prog-prettify-install'.
6522 (turn-on-prettify-symbols-mode): New function.
6523 (global-prettify-symbols-mode): New globalized minor mode.
6524
6525 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6526 * progmodes/cfengine.el (cfengine3-mode):
6527 * progmodes/perl-mode.el (perl-mode): Don't call
6528 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6529
292c880c
JL
65302013-06-18 Juri Linkov <juri@jurta.org>
6531
6532 * files-x.el (modify-file-local-variable-message): New function.
6533 (modify-file-local-variable)
6534 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6535 and call `modify-file-local-variable-message' when it's non-nil.
6536 (add-file-local-variable, delete-file-local-variable)
6537 (add-file-local-variable-prop-line)
6538 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6539 and use it. (Bug#9820)
6540
0950aa27
JL
65412013-06-18 Juri Linkov <juri@jurta.org>
6542
6543 * emulation/vi.el (vi-shell-op):
6544 * emulation/vip.el (vip-execute-com, ex-command):
6545 * emulation/viper-cmd.el (viper-exec-bang):
6546 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6547 the call of `shell-command-on-region'. (Bug#14637)
6548
6549 * simple.el (shell-command-on-region): Doc fix.
6550
8fbcca16
SM
65512013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6554 (bug#14633).
6555
dd7426ea
GM
65562013-06-18 Glenn Morris <rgm@gnu.org>
6557
4ba54f7d
GM
6558 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6559
dd7426ea
GM
6560 * newcomment.el (comment-search-forward, comment-search-backward):
6561 Doc fix. (Bug#14376)
6562
58aa805b
JB
65632013-06-18 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6566 (buffer-face-mode-invoke): Doc fix.
6567
9a08a617
MM
65682013-06-18 Matthias Meulien <orontee@gmail.com>
6569
6570 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6571 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6572
f2f426ca
GM
65732013-06-18 Glenn Morris <rgm@gnu.org>
6574
9445f99b
GM
6575 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6576 Replace obsolete function generic-make-keywords with its expansion.
6577
e0df2d14
GM
6578 * progmodes/python.el (ffap-alist): Declare.
6579
f2f426ca
GM
6580 * textmodes/reftex.el (bibtex-mode-map): Declare.
6581
f7f9a720
SM
65822013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6585 (package-unpack, package-unpack-single): Return the pkg-dir.
6586 (package-download-transaction): Use it to update package-alist.
6587
57ff04e0
LMI
65882013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6589
6590 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6591 possible choice.
6592
c048c022
JL
65932013-06-17 Juri Linkov <juri@jurta.org>
6594
6595 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6596
b5bcaee5
DG
65972013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6598
a020afb9
JB
6599 * emacs-lisp/package.el (package-load-descriptor):
6600 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6601 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6602
551e07e5
JB
66032013-06-17 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * startup.el (command-line): Expand package name returned by
6606 `package--description-file' (bug#14639).
6607
d363bffb
DG
66082013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6609
6610 * emacs-lisp/package.el (package-load-descriptor): Do not call
6611 `emacs-lisp-mode', just use its syntax table.
6612
f612933b
JB
66132013-06-17 Juanma Barranquero <lekktu@gmail.com>
6614
6615 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6616 `font-lock-extra-managed-props' if any prettifying keyword is added.
6617 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6618 (prog-mode): Use `setq-local'.
6619
db3b7db5
SM
66202013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * international/characters.el (standard-case-table): Set syntax of ?»
6623 and ?« to punctuation.
6624
f3d674df
JB
66252013-06-16 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6628 Save relevant match data before calling `syntax-ppss' (bug#14595).
6629
31489a32
JL
66302013-06-15 Juri Linkov <juri@jurta.org>
6631
6632 * files-x.el (modify-file-local-variable-prop-line): Add local
6633 variables to the end of the existing comment on the first line.
6634 Use `file-auto-mode-skip' to skip interpreter magic line,
6635 and also skip XML declaration.
6636
66bd25ab
SM
66372013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * startup.el (package--builtin-versions): New var.
6640 (package-subdirectory-regexp): Remove.
6641 (package--description-file): Hard code its value instead.
6642
6643 * emacs-lisp/package.el: Don't activate packages older than builtin.
6644 (package-obsolete-list): Rename from package-obsolete-alist, and make
6645 it into a simple list of package-desc.
6646 (package-strip-version): Remove.
6647 (package-built-in-p): Use package--builtin-versions.
6648 (package-mark-obsolete): Simplify.
6649 (package-process-define-package): Mark it obsolete if older than the
6650 builtin version.
6651 (package-handle-response): Use line-end-position.
6652 (package-read-archive-contents, package--download-one-archive):
6653 Simplify.
6654 (package--add-to-archive-contents): Skip if older than the builtin or
6655 installed version.
6656 (package-menu-describe-package): Fix last change.
6657 (package-list-unversioned): New var.
6658 (package-menu--generate): Use it.
6659
6660 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6661 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6662 (autoload-builtin-package-versions): New variable.
6663 (autoload-generate-file-autoloads): Use them.
6664 Remove the list of autoloaded functions/macros from the
6665 (autoload...) comments.
6666
6667 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6668
9583ec36
EZ
66692013-06-15 Eli Zaretskii <eliz@gnu.org>
6670
6671 * simple.el (line-move-partial): Don't jump to the next screen
6672 line as soon as it becomes visible. Instead, continue enlarging
6673 the vscroll until the portion of a tall screen line that's left on
6674 display is about the height of the frame's default font.
6675 (Bug#14567)
6676
f0100d8a
GM
66772013-06-15 Glenn Morris <rgm@gnu.org>
6678
b86a85ca
GM
6679 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6680 compilation-error-regexp-alist void, or local while let-bound.
6681
f0100d8a
GM
6682 * progmodes/make-mode.el (makefile-mode-syntax-table):
6683 Treat "=" as punctuation. (Bug#14614)
6684
05e7ce90
JB
66852013-06-15 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * help-fns.el (describe-variable):
6688 Add extra line for permanent-local variables.
6689
12e5e86e
SH
66902013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6691
6692 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6693 Add export, import, library. (Bug#9164)
6694 (library): Set indent function.
6695
230dcbaf
GM
66962013-06-14 Glenn Morris <rgm@gnu.org>
6697
6698 * term/xterm.el (xterm--query):
6699 Stop after first matching handler. (Bug#14615)
6700
e36b2d20 67012013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6702
6703 Add support for dired in saveplace.
6704 * dired.el (dired-initial-position-hook): New variable.
6705 (dired-initial-position): Call hook to place cursor position.
6706 * saveplace.el (save-place-to-alist): Add dired position.
6707 (save-place-dired-hook): New function.
6708
0b31660d
SM
67092013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6710
bf1e6ae8
SM
6711 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6712 through a symbol rather than letrec.
6713
1b8dff23
SM
6714 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6715 (package-desc): Add `dir' field.
6716 (package-desc-full-name): New function.
6717 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6718 (package-maybe-load-descriptor): Remove.
6719 (package-load-all-descriptors): Just call package-load-descriptor.
6720 (package--disabled-p): New function.
6721 (package-desc-vers, package-desc-doc): Remove aliases.
6722 (package--dir): Remove function.
6723 (package-activate): Check if a package is disabled.
6724 (package-process-define-package): New function, extracted from
6725 define-package.
6726 (define-package): Turn into a place holder.
6727 (package-unpack-single, package-tar-file-info):
6728 Use package--description-file.
6729 (package-compute-transaction): Use package--disabled-p.
6730 (package-download-transaction): Don't call
6731 package-maybe-load-descriptor since they're all loaded anyway.
6732 (package-install): Change argument to be a pkg-desc.
6733 (package-delete): Use a single pkg-desc argument.
6734 (describe-package-1): Use package-desc-dir instead of package--dir.
6735 Use package-desc property instead of package-symbol.
6736 (package-install-button-action): Adjust accordingly.
6737 (package--push): Rewrite.
6738 (package-menu--print-info): Adjust accordingly. Change the ID format
6739 to be a pkg-desc.
6740 (package-menu-describe-package, package-menu-get-status)
6741 (package-menu--find-upgrades, package-menu-mark-upgrades)
6742 (package-menu-execute, package-menu--name-predicate):
6743 Adjust accordingly.
6744 * startup.el (package--description-file): New function.
6745 (command-line): Use it.
6746 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6747 Use package-desc-version.
6748
0b31660d
SM
6749 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6750 (byte-compile-preprocess): Use it.
6751 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6752 can't quite recognize.
6753 (byte-compile-add-to-list): Remove.
6754 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6755 (cconv-closure-convert): Add assertion.
6756
6757 * emacs-lisp/map-ynp.el: Use lexical-binding.
6758 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6759 Factor out some repeated code.
6760
de0503df
SM
67612013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * subr.el (with-eval-after-load): New macro.
6764 (eval-after-load): Allow form to be a function.
6765 take advantage of lexical-binding.
6766 (do-after-load-evaluation): Use dolist and adjust to new format.
6767 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6768
bc5c8c5a
JL
67692013-06-13 Juri Linkov <juri@jurta.org>
6770
6771 * replace.el (perform-replace): Display "symbol " and other search
6772 modes from `isearch-message-prefix' in the *Help* buffer.
6773
6774 * isearch.el (isearch-query-replace): Add " symbol" and other
6775 possible search modes from `isearch-message-prefix' to the prompt.
6776 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6777 when reading a regexp to collect.
6778
a22289f7
JL
67792013-06-13 Juri Linkov <juri@jurta.org>
6780
6781 * isearch.el (word-search-regexp): Match whitespace if the search
6782 string begins or ends in whitespace. The LAX arg is applied to
6783 both ends of the search string. Use `regexp-quote' and explicit
6784 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6785 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6786 boundaries are replaced with symbol boundaries, and characters
6787 between symbols match non-word non-symbol syntax. (Bug#14602)
6788
cb89acab
JL
67892013-06-13 Juri Linkov <juri@jurta.org>
6790
6791 * isearch.el (isearch-del-char): Don't exceed the length of
6792 `isearch-string' by the prefix arg. (Bug#14563)
6793
6e8cfc81
JL
67942013-06-13 Juri Linkov <juri@jurta.org>
6795
6796 * isearch.el (isearch-yank-word, isearch-yank-line)
6797 (isearch-char-by-name, isearch-quote-char)
6798 (isearch-printing-char, isearch-process-search-char):
6799 Add optional count prefix arg. (Bug#14563)
6800
6801 * international/isearch-x.el
6802 (isearch-process-search-multibyte-characters):
6803 Add optional count prefix arg.
6804
c23d55f4
VS
68052013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6808 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6809 lexical-binding.
6810
68112013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6812
6813 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6814
ba947bc4
GM
68152013-06-13 Glenn Morris <rgm@gnu.org>
6816
8baeb37a
GM
6817 * startup.el (tty-handle-args):
6818 Don't just discard "--" and anything after. (Bug#14608)
6819
ba947bc4
GM
6820 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6821
9abefce4
MA
68222013-06-13 Michael Albinus <michael.albinus@gmx.de>
6823
6824 Implement changes in Secret Service API. Make it backward compatible.
6825 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6826 (secrets-create-item): Use it. Prefix properties with interface.
6827
5755011f
MH
68282013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6829
6830 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6831 (term-emulate-terminal): Respect term-suppress-hard-newline.
6832
1261d2da
S
68332013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6834
6835 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6836 Only remove a `thumb-file' overlay. (Bug#14548)
6837
868490bb
GJ
68382013-06-12 Grégoire Jadi <daimrod@gmail.com>
6839
6840 * mail/reporter.el (reporter-submit-bug-report):
6841 Handle missing package-name. (Bug#14600)
6842
79d7167f
TH
68432013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6844
6845 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6846 (reftex-citation-prompt, reftex-default-bibliography)
6847 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6848 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6849 (reftex-bib-sort-author, reftex-bib-sort-year)
6850 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6851 (reftex-extract-bib-entries-from-thebibliography)
6852 (reftex-get-bibkey-default, reftex-get-bib-names)
6853 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6854 (reftex-format-bib-entry, reftex-parse-bibitem)
6855 (reftex-format-bibitem, reftex-do-citation)
6856 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6857 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6858 (reftex-insert-bib-matches, reftex-format-citation)
6859 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6860 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6861 existing comments into docstrings.
6862
5f9dbd7a
XF
68632013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6864
6865 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6866
94df41ab
AS
68672013-06-12 Andreas Schwab <schwab@suse.de>
6868
6869 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6870 for auto-save files.
6871
a7f3fecc
GM
68722013-06-12 Glenn Morris <rgm@gnu.org>
6873
001809f6
GM
6874 * ido.el (ido-delete-ignored-files): Remove.
6875 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6876 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6877
834b5ded
EL
68782013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6879
08c73ed2
EL
6880 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6881
834b5ded
EL
6882 * ido.el (ido-delete-ignored-files): New function,
6883 split from ido-make-file-list-1.
6884 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6885 (ido-make-file-list-1): Use ido-delete-ignored-files.
6886
daabf15a
LL
68872013-06-12 Leo Liu <sdl.web@gmail.com>
6888
6889 * progmodes/octave.el (inferior-octave-startup)
6890 (inferior-octave-completion-table)
6891 (inferior-octave-track-window-width-change)
6892 (octave-eldoc-function-signatures, octave-help)
6893 (octave-find-definition): Use single quoted strings.
6894 (inferior-octave-startup-args): Change default value.
6895 (inferior-octave-startup): Do not hard code "-i" and
6896 "--no-line-editing".
6897 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6898 (inferior-octave-directory-tracker): Use it.
6899 (octave-goto-function-definition): Robustify.
6900 (octave-help): Support highlighting operators in 'See also'.
6901 (octave-find-definition): Find subfunctions only in Octave mode.
6902
cf4e5178
SM
69032013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * help-fns.el (help-fns--compiler-macro): If the handler function is
6906 named, then put a link to it.
6907 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6908 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6909 (cl-typep): Use it.
6910 (cl-eval-when): Simplify debug spec.
6911 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6912 compiler-macro function instead of setting `compiler-macro-file'.
6913
99c81280 69142013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6915
6916 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6917 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6918
f56be016
SM
69192013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6920 Daniel Hackney <dan@haxney.org>
6921
6922 First part of Daniel Hackney's patch to package.el.
6923 * emacs-lisp/package.el: Use defstruct.
6924 (package-desc): New, main struct.
6925 (package--bi-desc, package--ac-desc): New structs, used to describe the
6926 format in external files.
6927 (package-desc-vers): Replace with package-desc-version accessor.
6928 (package-desc-doc): Replace with package-desc-summary accessor.
6929 (package-activate-1): Remove `package' arg since the pkg-vec now
6930 includes the name.
6931 (define-package): Use package-desc-from-define.
6932 (package-unpack-single): Change file-name arg to be a symbol.
6933 (package--add-to-archive-contents): Use package-desc-create and new
6934 accessor functions to package--ac-desc.
6935 (package-buffer-info, package-tar-file-info): Return a package-desc.
6936 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6937 arg to be a package-desc.
6938 (package-install-file): Adjust accordingly. Use \' to match EOS.
6939 (package--from-builtin): New function.
6940 (describe-package-1, package-menu--generate): Use it.
6941 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6942 (package-generate-autoloads): Idem and return the name of the file.
6943 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6944 Change pkg-info arg to be a package-desc.
6945 Use package-make-ac-desc.
6946 (package-upload-file): Use \' to match EOS.
6947 * finder.el (finder-compile-keywords): Use package-make-builtin.
6948
31119d63
SM
69492013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6950
931a2762
SM
6951 * vc/vc.el (vc-deduce-fileset): Change error message.
6952 (vc-read-backend): New function.
6953 (vc-next-action): Use it.
6954
5a3eb0c6
SM
6955 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6956
e3eb1bb7
SM
6957 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6958 (prolog-font-lock-keywords): Use regexp-opt instead.
6959 Don't manually highlight strings.
6960 (prolog-mode-variables): Simplify comment-start-skip.
6961 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6962
31119d63
SM
6963 * emacs-lisp/generic.el (generic--normalise-comments)
6964 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6965 (generic-mode-set-comments): Use them.
6966 (generic-bracket-support): Use setq-local.
6967 (generic-make-keywords-list): Declare obsolete.
6968
7de135d0
GM
69692013-06-11 Glenn Morris <rgm@gnu.org>
6970
6971 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6972 Prettify after setting font-lock-defaults. (Bug#14574)
6973
fa6bc6fd
JB
69742013-06-11 Juanma Barranquero <lekktu@gmail.com>
6975
6976 * replace.el (query-replace, occur-read-regexp-defaults-function)
6977 (replace-search):
6978 * subr.el (declare-function, number-sequence, local-set-key)
6979 (substitute-key-definition, locate-user-emacs-file)
6980 (with-silent-modifications, split-string, eval-after-load):
6981 Fix typos, remove unneeded backslashes and reflow some docstrings.
6982
cf1f9b9a
SM
69832013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6986 default for Elisp files.
6987
56602a4b
GM
69882013-06-11 Glenn Morris <rgm@gnu.org>
6989
6990 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6991 although define-derived-mode was doing this anyway. (Bug#14583)
6992
30ae0b2c
JB
69932013-06-10 Juanma Barranquero <lekktu@gmail.com>
6994
6995 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6996 Fix make-variable-buffer-local call to refer to the correct variable.
6997
fa472906
AG
69982013-06-10 Aidan Gauland <aidalgol@amuri.net>
6999
7000 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7001 (eshell-visual-subcommands, eshell-visual-options):
7002 Add summary line to docstrings. Add cross-references.
fa472906 7003
ff4871b9
GM
70042013-06-10 Glenn Morris <rgm@gnu.org>
7005
7006 * epa.el (epa-read-file-name): New function. (Bug#14510)
7007 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7008
04fcf1b0
AG
70092013-06-09 Aidan Gauland <aidalgol@amuri.net>
7010
7011 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7012 output redirection to be ignored with visual commands.
7013
88b00caa
AG
70142013-06-09 Aidan Gauland <aidalgol@amuri.net>
7015
7016 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7017 (eshell-term-initialize): Move long lambda to separate function
7018 eshell-visual-command-p.
e7b41c4c
JB
7019 * eshell/em-dirs.el (eshell-dirs-initialise):
7020 * eshell/em-script.el (eshell-script-initialize):
7021 Add missing #' to lambda.
88b00caa 7022
fda74125
LL
70232013-06-08 Leo Liu <sdl.web@gmail.com>
7024
7025 * progmodes/octave.el (octave-add-log-current-defun): New function.
7026 (octave-mode): Set add-log-current-defun-function.
7027 (octave-goto-function-definition): Do not move point if not found.
7028 (octave-find-definition): Enhance to try subfunctions first.
7029
467f3b33
GM
70302013-06-08 Glenn Morris <rgm@gnu.org>
7031
7032 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7033 (byte-compile-backward-char, byte-compile-backward-word):
7034 Improve previous change, to handle non-explicit nil.
7035
544badc3
SM
70362013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7039 (smie--opener/closer-at-point): New function.
7040 (smie--matching-block-data): Use it. Don't match from right after an
7041 opener or right before a closer. Obey smie-blink-matching-inners.
7042 Don't signal a mismatch for repeated inners like "switch..case..case".
7043
a175bf33
LL
70442013-06-07 Leo Liu <sdl.web@gmail.com>
7045
7046 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7047 to t. (Bug#14303)
ce8209d4
LL
7048 (octave-function-header-regexp): Fix. (Bug#14570)
7049 (octave-help-mode-finish-hook, octave-help-mode-finish):
7050 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7051
7052 * newcomment.el (comment-search-backward): Revert last change.
7053 (Bug#14434)
7054
7055 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7056
a822acff
EZ
70572013-06-07 Eli Zaretskii <eliz@gnu.org>
7058
7059 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7060 through xargs, to avoid failure due to MS-Windows limitations on
7061 command-line length.
7062
961166f5
GM
70632013-06-06 Glenn Morris <rgm@gnu.org>
7064
d0341459
GM
7065 * font-lock.el (lisp-font-lock-keywords-2):
7066 Treat user-error like error.
7067
961166f5
GM
7068 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7069 (byte-compile-backward-char, byte-compile-backward-word):
7070 Handle explicit nil arguments. (Bug#14565)
7071
80fa505f
AM
70722013-06-05 Alan Mackenzie <acm@muc.de>
7073
7074 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7075 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7076 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7077 (Bug#9706)
80fa505f 7078
fccdc796
SM
70792013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * autorevert.el (auto-revert-notify-handler): Use memq.
7082 Hide assertion failure.
7083
7084 * skeleton.el: Use cl-lib.
7085 (skeleton-further-elements): Use defvar-local.
7086 (skeleton-insert): Use cl-progv.
7087
9bfff84b
TZ
70882013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7089
7090 * progmodes/prog-mode.el (prog-prettify-symbols)
7091 (prog-prettify-install): Update docstrings.
7092
55577e7c
SM
70932013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * simple.el: Move all the prog-mode code to prog-mode.el.
7096 * progmodes/prog-mode.el: New file.
7097 * loadup.el: Add prog-mode.el.
7098
8fc57765
TZ
70992013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7100
7101 * simple.el (prog-prettify-symbols): Add version.
7102 (prog-prettify-install): Add convenience function to prettify symbols.
7103
7104 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7105 (perl--augmented-font-lock-keywords-1)
7106 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7107 variables and use it.
7108
7109 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7110 (cfengine3-mode): Remove unneeded variable and use it.
7111
7112 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7113 (lisp--augmented-font-lock-keywords-1)
7114 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7115 Remove unneeded variables and use it.
7116
650645d5 71172013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7118
7119 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7120 to point when opening the connection. (Bug#14380)
28f5da6d 7121
781b4af6
SM
71222013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * subr.el (load-history-regexp, load-history-filename-element)
7125 (eval-after-load, after-load-functions, do-after-load-evaluation)
7126 (eval-next-after-load, display-delayed-warnings)
7127 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7128 definition of save-match-data.
7129 (overriding-local-map): Remove accidental obsolescence declaration.
7130
7131 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7132
3ca0d0b4
TZ
71332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7134
7135 Generalize symbol prettify support to prog-mode and implement it
7136 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7137 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7138 (prog--prettify-font-lock-compose-symbol)
7139 (prog-prettify-font-lock-symbols-keywords): New variables and
7140 functions to support symbol prettification.
7141 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7142 (lisp--augmented-font-lock-keywords-1)
7143 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7144 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7145 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7146 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7147 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7148 * progmodes/perl-mode.el (perl-prettify-symbols)
7149 (perl--font-lock-compose-symbol)
7150 (perl--font-lock-symbols-keywords): Move to prog-mode.
7151 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7152 (perl-font-lock-keywords-1)
7153 (perl-font-lock-keywords-2): Remove explicit prettify support.
7154 (perl--augmented-font-lock-keywords)
7155 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7156 (perl--augmented-font-lock-keywords-2, perl-mode):
7157 Implement prettify support.
3ca0d0b4 7158
976cb066
LL
71592013-06-05 Leo Liu <sdl.web@gmail.com>
7160
7161 Re-implement smie matching block highlight using
7162 show-paren-data-function. (Bug#14395)
7163 * emacs-lisp/smie.el (smie-matching-block-highlight)
7164 (smie--highlight-matching-block-overlay)
7165 (smie--highlight-matching-block-lastpos)
7166 (smie-highlight-matching-block)
7167 (smie-highlight-matching-block-mode): Remove.
7168 (smie--matching-block-data-cache): New variable.
7169 (smie--matching-block-data): New function.
7170 (smie-setup): Use smie--matching-block-data for
7171 show-paren-data-function.
7172
7173 * progmodes/octave.el (octave-mode-menu): Fix.
7174 (octave-find-definition): Skip garbage lines.
7175
208d0342
SM
71762013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 Fix compilation error with simultaneous dynamic+lexical scoping.
7179 Add warning when a defvar appears after the first let-binding.
7180 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7181 (byte-compile-close-variables): Initialize it.
7182 (byte-compile--declare-var): New function.
7183 (byte-compile-file-form-defvar)
7184 (byte-compile-file-form-define-abbrev-table)
7185 (byte-compile-file-form-custom-declare-variable): Use it.
7186 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7187 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7188 (byte-compile-bind): Handle dynamic bindings that shadow
7189 lexical bindings.
7190 (byte-compile-unbind): Make arg non-optional.
7191 (byte-compile-let): Simplify.
7192 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7193 (cconv--analyse-function, cconv-analyse-form): Populate it.
7194 Protect byte-compile-bound-variables to limit the scope of defvars.
7195 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7196 Remove unneeded rule for `declare'.
7197
7198 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7199 so as to avoid depending on cl-adjoin at run-time.
7200 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7201
7202 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7203 (macroexp--warn-and-return): Use it.
7204
1ac2891e
GM
72052013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * lisp/subr.el: Convert to lexical binding.
7208 (overriding-local-map): Make obsolete.
7209 (add-to-list): Doc fix. Add compiler macro.
7210 (read-key): Swap values of local maps.
7211
2587b005
LL
72122013-06-05 Leo Liu <sdl.web@gmail.com>
7213
7214 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7215
f1da3c88
LL
72162013-06-04 Leo Liu <sdl.web@gmail.com>
7217
7218 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7219 (compilation-auto-jump): Suppress the "Mark set" message to give
7220 way to exit message.
7221
3caa391f
AM
72222013-06-04 Alan Mackenzie <acm@muc.de>
7223
7224 Remove faulty optimisation from indentation calculation.
7225 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7226 search limit based on 2000 characters back from indent-point.
7227
068922a2
TH
72282013-06-03 Tassilo Horn <tsdh@gnu.org>
7229
7230 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7231
1f8fdd53
SM
72322013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7233
bbcc4d97
SM
7234 * emacs-lisp/lisp.el: Use lexical-binding.
7235 (lisp--local-variables-1, lisp--local-variables): New functions.
7236 (lisp--local-variables-completion-table): New var.
208d0342 7237 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7238
1f8fdd53
SM
7239 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7240 eagerly (bug#14422).
7241
c9628c79
MA
72422013-06-03 Michael Albinus <michael.albinus@gmx.de>
7243
7244 * autorevert.el (auto-revert-notify-enabled)
7245 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7246 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7247 (auto-revert-notify-handler): Handle also gfilenotify.
7248
e7b41c4c 7249 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7250 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7251 Remove.
c9628c79 7252
e5e4a942
JL
72532013-06-03 Juri Linkov <juri@jurta.org>
7254
7255 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7256 `M-s h .'. (Bug#14427)
7257
7258 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7259 command `hi-lock-face-symbol-at-point'.
7260 (hi-lock-face-symbol-at-point): New command.
7261 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7262 (hi-lock-menu): Add `highlight-symbol-at-point'.
7263 (hi-lock-mode): Doc fix.
7264
7265 * isearch.el (isearch-forward-symbol-at-point): New command.
7266 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7267 (isearch-highlight-regexp): Add a regexp which matches
7268 words/symbols for word/symbol mode.
7269
7270 * subr.el (find-tag-default-bounds): New function with the body
7271 mostly moved from `find-tag-default'.
7272 (find-tag-default): Move most code to `find-tag-default-bounds',
7273 call it and apply `buffer-substring-no-properties' afterwards.
7274
26b3353a
TH
72752013-06-03 Tassilo Horn <tsdh@gnu.org>
7276
781b4af6
SM
7277 * eshell/em-term.el (eshell-term-initialize):
7278 Use `cl-intersection' rather than `intersection'.
26b3353a 7279
51b60f53
XF
72802013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7281
fe054b63 7282 * vc/log-view.el: Doc fix.
d3ffe17c 7283 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7284
a0eb10b3 72852013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7286
7287 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7288 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7289 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7290 (eieio-unbound, eieio-default-superclass)
7291 (eieio--define-field-accessors, method-static, method-before)
7292 (method-primary, method-after, method-num-lists)
7293 (method-generic-before, method-generic-primary)
7294 (method-generic-after, method-num-slots)
7295 (eieio-specialized-key-to-generic-key)
7296 (eieio--check-type, class-v, class-p)
7297 (eieio-class-name, define-obsolete-function-alias)
7298 (eieio-class-parents-fast, eieio-class-children-fast)
7299 (same-class-fast-p, class-constructor, generic-p)
7300 (generic-primary-only-p, generic-primary-only-one-p)
7301 (class-option-assoc, class-option, eieio-object-p)
7302 (class-abstract-p, class-method-invocation-order)
7303 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7304 (eieio-class-un-autoload, eieio-defclass)
7305 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7306 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7307 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7308 (eieio-defgeneric-reset-generic-form)
7309 (eieio-defgeneric-form-primary-only)
7310 (eieio-defgeneric-reset-generic-form-primary-only)
7311 (eieio-defgeneric-form-primary-only-one)
7312 (eieio-defgeneric-reset-generic-form-primary-only-one)
7313 (eieio-unbind-method-implementations)
7314 (eieio--defmethod, eieio--typep)
7315 (eieio-perform-slot-validation, eieio-validate-slot-value)
7316 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7317 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7318 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7319 (eieio-slot-name-index, eieio-class-slot-name-index)
7320 (eieio-set-defaults, eieio-initarg-to-attribute)
7321 (eieio-attribute-to-initarg, eieio-c3-candidate)
7322 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7323 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7324 (eieio-class-precedence-list, eieio-generic-call-methodname)
7325 (eieio-generic-call-arglst, eieio-generic-call-key)
7326 (eieio-generic-call-next-method-list)
7327 (eieio-pre-method-execution-functions, eieio-generic-call)
7328 (eieio-generic-call-primary-only, eieiomt-method-list)
7329 (eieiomt-optimizing-obarray, eieiomt-install)
7330 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7331 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7332 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7333 (defclass): Remove `eval-and-compile' from macro.
7334 (call-next-method, shared-initialize): Instead of using
7335 `scoped-class' variable, use new eieio--scoped-class, and
7336 eieio--with-scoped-class.
7337 (initialize-instance): Rename local variable 'scoped-class' to
7338 'this-class' to remove ambiguitity from old global.
7339
7340 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7341 eieio.el.
4f405069
JB
7342 (eieio--scoped-class-stack): New variable.
7343 (eieio--scoped-class): New fcn.
890f7890
DE
7344 (eieio--with-scoped-class): New scoping macro.
7345 (eieio-defclass): Use pushnew instead of add-to-list.
7346 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7347 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7348 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7349 `scoped-class' variable, use new eieio--scoped-class, and
7350 eieio--with-scoped-class.
7351
7352 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7353
d105b0e2
TH
73542013-06-02 Tassilo Horn <tsdh@gnu.org>
7355
7356 * eshell/esh-ext.el (eshell-external-command): Pass args to
7357 `eshell-find-interpreter'.
7358 (eshell-find-interpreter): Add new second parameter ARGS.
7359
7360 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7361 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7362
7363 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7364 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7365
7366 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7367 (eshell-visual-options): New defcustom.
7368 (eshell-escape-control-x): Adapt docstring.
7369 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7370 `eshell-visual-options' in addition to `eshell-visual-commands'.
7371 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7372
f46305c8 73732013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7374
7375 * progmodes/python.el (python-indent-block-enders): Add break,
7376 continue and raise keywords.
7377
d870df21
GM
73782013-06-01 Glenn Morris <rgm@gnu.org>
7379
9133b82e
GM
7380 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7381
02c992ec 7382 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7383 * progmodes/cc-cmds.el (delete-forward-p):
7384 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7385 * progmodes/cc-engine.el (buffer-syntactic-context):
7386 * progmodes/cc-fonts.el (face-property-instance):
7387 * progmodes/cc-mode.el (set-keymap-parents):
7388 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7389 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7390 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7391 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7392 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7393
31e7b090
GM
7394 * progmodes/cc-vars.el (other): Emacs has this widget since
7395 at least 21.1, so don't (re)define it.
7396
d870df21
GM
7397 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7398 Replace the obsolete alias pcomplete-arg-quote-list.
7399
c75c93c7
LL
74002013-06-01 Leo Liu <sdl.web@gmail.com>
7401
7402 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7403 punctuation syntax.
7404 (inferior-octave-minimal-columns)
7405 (inferior-octave-last-column-width): New variables.
7406 (inferior-octave-track-window-width-change): New function.
7407 (inferior-octave-mode): Adjust column width so that Octave output,
7408 for example from 'ls', can fit into the window nicely.
7409
973d1e12
DG
74102013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7411
7412 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7413 Highlight expansions inside regexp literals.
7414
0888c286
GM
74152013-05-31 Glenn Morris <rgm@gnu.org>
7416
e26aac1f
GM
7417 * obsolete/sym-comp.el (symbol-complete):
7418 Replace obsolete completion-annotate-function.
7419
0888c286
GM
7420 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7421
19bb8e62
DG
74222013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7423
781b4af6
SM
7424 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7425 New function, checks if point is inside a literal that allows
19bb8e62
DG
7426 expression expansion.
7427 (ruby-syntax-propertize-expansion): Use it.
7428 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7429 around the body.
7430
01dea85f
JL
74312013-05-30 Juri Linkov <juri@jurta.org>
7432
7433 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7434 to "\M-si".
7435 (isearch-invisible): New variable.
7436 (isearch-forward): Doc fix.
7437 (isearch-mode): Set `isearch-invisible'
7438 to the value of `search-invisible'.
7439 (isearch-toggle-case-fold): Doc fix.
7440 (isearch-toggle-invisible): New command.
7441 (isearch-query-replace): Let-bind `search-invisible'
7442 to the value of `isearch-invisible'.
7443 (isearch-search): Use `isearch-invisible' instead of
7444 `search-invisible'. Let-bind `search-invisible'
7445 to the value of `isearch-invisible'. (Bug#11378)
7446
ab1bdce5
JL
74472013-05-30 Juri Linkov <juri@jurta.org>
7448
7449 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7450 call when `query-flag' is nil and `search-invisible' is non-nil.
7451 (Bug#11746)
7452
d6d236e2
GM
74532013-05-30 Glenn Morris <rgm@gnu.org>
7454
8accd027
GM
7455 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7456
2a8bed1c
GM
7457 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7458 (cc-require): Suppress spurious "noruntime" warnings.
7459 (cc-require-when-compile): Use fboundp, for sake of compiler.
7460
d6d236e2
GM
7461 * progmodes/cc-mode.el: Move load of cc-vars before that of
7462 cc-langs (which in turn loads cc-vars), to quieten compiler.
7463
9190b35b
SM
74642013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * paren.el: Simplify the code.
7467 (show-paren-mode): Always start the timer.
7468 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7469 (show-paren--overlay, show-paren--overlay-1): Rename from
7470 show-paren-overlay and show-paren-overlay-1, and initialize to an
7471 overlay rather than to nil.
7472 (show-paren-function): Misc cleanup and simplifications.
7473
4f8d1cf6
SM
74742013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * paren.el (show-paren-data-function): New hook.
7477 (show-paren--default): New function, extracted from show-paren-function.
7478 (show-paren-function): Use show-paren-data-function.
7479
02d844b5
GM
74802013-05-30 Glenn Morris <rgm@gnu.org>
7481
d209d4a9
GM
7482 * ielm.el (ielm-map, ielm-complete-symbol):
7483 Use completion-at-point rather than obsolete functions.
7484 (inferior-emacs-lisp-mode): Doc fix.
7485 Set completion-at-point-functions, rather than
7486 comint-dynamic-complete-functions.
7487
2082faa6
GM
7488 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7489 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7490 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7491
dd8620de
GM
7492 * image.el (image-animated-p): Tweak definition.
7493
ceca95b1
GM
7494 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7495 (rlogin-process-connection-type): Tweak default. Add set-after.
7496 (rlogin-host): Doc fix.
7497 (rlogin): Tweak prompt.
7498 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7499
ee9f1acc
GM
7500 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7501 * progmodes/tcl.el (inferior-tcl-mode-map):
7502 Use completion-at-point rather than obsolete alias.
7503
45ce222e
GM
7504 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7505
02d844b5
GM
7506 * minibuffer.el (read-file-name-completion-ignore-case):
7507 Move before completion--in-region, for eager macro expansion.
7508
ac44d6c1
JL
75092013-05-29 Juri Linkov <juri@jurta.org>
7510
7511 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7512 for total count of matching lines. Add `global-matches' for total
7513 count of matches. Rename `matches' to `lines' for count of
7514 matching lines. Add `matches' for count of matches.
7515 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7516 to `prev-line' for line number of prev match endpt.
7517 Increment `matches' for every match. Print the number of
7518 matching lines in the header.
7519 (occur-context-lines): Rename `lines' to `curr-line'.
7520 Rename `prev-lines' to `prev-line'. (Bug#14017)
7521
3c9c9d38
JL
75222013-05-29 Juri Linkov <juri@jurta.org>
7523
7524 * replace.el (perform-replace): Add `skip-read-only-count',
7525 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7526 Increment them for corresponding conditions and report the number
7527 of skipped occurrences in the final message. (Bug#11746)
7528 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7529 (replace-string, replace-regexp): Doc fix.
7530
33e249a2
SM
75312013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7532
8e399682
SM
7533 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7534
33e249a2 7535 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7536 prog-mode-map (bug#14504).
33e249a2 7537
f236dd84
LL
75382013-05-29 Leo Liu <sdl.web@gmail.com>
7539
7540 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7541 (octave-help): Small simplification.
7542
7543 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7544 off the highlight first.
7545
3694d13f
GM
75462013-05-29 Glenn Morris <rgm@gnu.org>
7547
03983bdc
GM
7548 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7549 Handle idlwave-last-system-routine-info-cons-cell being nil.
7550
bc74a74a
GM
7551 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7552 (idlwave-write-paths): Simplify via with-temp-buffer.
7553
8b394200
GM
7554 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7555 * emulation/cua-rect.el: Also load cua-base at run time.
7556
3694d13f
GM
7557 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7558 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7559 (cperl-imenu-on-info): Require imenu.
7560
336d7284
AM
75612013-05-28 Alan Mackenzie <acm@muc.de>
7562
7563 Handle "capitalised keywords" correctly.
33e249a2 7564 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7565
cb29c582
AG
75662013-05-28 Aidan Gauland <aidalgol@amuri.net>
7567
781b4af6 7568 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7569
690e44b2
GM
75702013-05-28 Glenn Morris <rgm@gnu.org>
7571
e658d75c
GM
7572 * vc/vc-arch.el (vc-exec-after): Declare.
7573 (vc-switches): Autoload.
7574 * vc/vc-bzr.el: No need to require vc when compiling.
7575 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7576 (vc-resynch-buffer, vc-dir-refresh): Declare.
7577 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7578 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7579 (vc-resynch-buffer): Declare.
7580 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7581 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7582 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7583 (grep-read-regexp, grep-read-files, grep-expand-template)
7584 (vc-dir-refresh): Declare.
7585 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7586 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7587 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7588 * vc/vc-mtn.el (vc-exec-after): Declare.
7589 (vc-switches): Autoload.
7590 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7591 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7592 (vc-file-tree-walk): Declare.
712b9732
GM
7593 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7594 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7595 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7596 * vc/vc-svn.el (vc-exec-after): Declare.
7597 (vc-switches, vc-setup-buffer): Autoload.
7598 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7599 Autoload.
7600 (vc-resynch-buffer): Declare.
7601
98e87fb3
GM
7602 * obsolete/fast-lock.el (byte-compile-warnings):
7603 Don't warn about obsolete features in this obsolete file.
7604
f5379553
GM
7605 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7606 Move definition before use.
7607
7a20ef83
GM
7608 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7609 (dun-unix-verbs): Remove dun-zippy.
7610 (dun-zippy): Remove function.
7611
690e44b2
GM
7612 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7613
3a52ccf7
JL
76142013-05-27 Juri Linkov <juri@jurta.org>
7615
7616 * replace.el (replace-search): New function with code moved out
7617 from `perform-replace'.
7618 (replace-highlight, replace-dehighlight): Move function definitions
7619 up closer to `replace-search'. (Bug#11746)
7620
d289938a
JL
76212013-05-27 Juri Linkov <juri@jurta.org>
7622
7623 * replace.el (perform-replace): Ignore invisible matches.
7624 In addition to checking `query-replace-skip-read-only', also
7625 filter out matches by calling `run-hook-with-args-until-failure'
7626 on `isearch-filter-predicates', and also check `search-invisible'
7627 for t or call `isearch-range-invisible'.
7628 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7629
66fc57e3
JL
76302013-05-27 Juri Linkov <juri@jurta.org>
7631
7632 * isearch.el (isearch-filter-predicates): Rename from
7633 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7634 (isearch-message-prefix): Display text from the property
7635 `isearch-message-prefix' of the currently active filters.
7636 (isearch-search): Don't compare `isearch-filter-predicate' with
7637 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7638 on `isearch-filter-predicates'. Also check `search-invisible' for t
7639 or call `isearch-range-invisible'.
7640 (isearch-filter-visible): Make obsolete.
7641 (isearch-lazy-highlight-search):
7642 Call `run-hook-with-args-until-failure' on
7643 `isearch-filter-predicates' and use `isearch-range-invisible'.
7644
7645 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7646 `isearch-filter-predicates' instead of `funcall'ing
7647 `isearch-filter-predicate'.
7648 (Info-mode): Set `Info-isearch-filter' to
7649 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7650
7651 * dired-aux.el (dired-isearch-filter-predicate-orig):
7652 Remove variable.
7653 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7654 (dired-isearch-filenames-end): Add and remove
7655 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7656 instead of changing the value of `isearch-filter-predicate'.
7657 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7658 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7659 Put property `isearch-message-prefix' to "filename " on
7660 `dired-isearch-filter-filenames'.
7661
7662 * wdired.el (wdired-change-to-wdired-mode):
7663 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7664 locally instead of changing `isearch-filter-predicate'.
7665 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7666
f1a60a0f
DG
76672013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7668
7669 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7670 return the commit hash (Bug#14459). Also set the
7671 `vc-git-detached' property.
7672 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7673 (vc-git-mode-line-string): Use the same help-echo format whether
7674 in detached mode or not, because we know the actual revision now.
7675 When in detached mode, shorten the revision to 7 chars.
7676
7f17cc40
SM
76772013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 * emacs-lisp/easy-mmode.el (define-minor-mode):
7680 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7681 mode hook and provide a docstring.
7682
25c8401c
AM
76832013-05-27 Alan Mackenzie <acm@muc.de>
7684
7685 Remove spurious syntax-table text properties inserted by C-y.
7686 * progmodes/cc-mode.el (c-after-change): Also clear hard
7687 syntax-table property with value nil.
7688
dde84790
MA
76892013-05-27 Michael Albinus <michael.albinus@gmx.de>
7690
7691 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7692 when reading the events; the buffer layout shall not be changed.
7693
837fd9af
LL
76942013-05-27 Leo Liu <sdl.web@gmail.com>
7695
7696 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7697 New variable.
7698 (inferior-octave-directory-tracker): Automatically re-sync
7699 default-directory.
7700 (octave-help): Improve handling of 'See also'.
7701
4fd996b3
SM
77022013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7703
416f1802
SM
7704 * doc-view.el: Minor naming convention tweaks.
7705 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7706
4fd996b3
SM
7707 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7708 even if there's no `display' property yet (bug#14435).
7709
a052ef3b
EZ
77102013-05-25 Eli Zaretskii <eliz@gnu.org>
7711
4fd996b3 7712 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7713
7714 * Makefile.in (custom-deps, finder-data, autoloads)
7715 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7716 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7717 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7718
c9023370
SM
77192013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7722 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7723 Don't burp at EOB.
c9023370 7724
24d699fa
LL
77252013-05-25 Leo Liu <sdl.web@gmail.com>
7726
7727 * comint.el (comint-previous-matching-input): Do not flood the
7728 *Messages* buffer with trivial messages.
7729
17e5c0cc
SM
77302013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7731
7732 * progmodes/flymake.el (flymake-nop): Don't return a string.
7733 (flymake-set-at): Fix typo.
7734
7735 * simple.el (read--expression): New function, extracted from
7736 eval-expression. Set completion-at-point-functions (bug#14465).
7737 (eval-expression, eval-minibuffer): Use it.
7738
5d028165
XF
77392013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7740
7741 * progmodes/flymake.el (flymake-save-buffer-in-file)
7742 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7743 (flymake-selected-frame, flymake-log, flymake-ins-after)
7744 (flymake-set-at, flymake-get-buildfile-from-cache)
7745 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7746 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7747 Refine the doc string.
7748 (flymake-get-file-name-mode-and-masks): Reformat.
7749 (flymake-get-real-file-name-function): Fix a minor bug.
7750
7a1d7ba7
JL
77512013-05-24 Juri Linkov <juri@jurta.org>
7752
7753 * progmodes/grep.el (grep-mode-font-lock-keywords):
7754 Support =linenumber= format used by git-grep for lines with
7755 function names. (Bug#13549)
7756
650cff3d
SM
77572013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7760 0 after a semi-colon; it works better for smie-auto-fill.
7761 (octave--indent-new-comment-line): New function.
7762 (octave-indent-new-comment-line): Use it (indirectly).
7763 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7764 modify comment-line-break-function.
7765
7766 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7767 (smie-setup): Use add-function to set it.
7768
9631677d
SS
77692013-05-24 Sam Steingold <sds@gnu.org>
7770
7771 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7772 argument (before the `interactive' argument).
7773
50105835
SM
77742013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * image-mode.el (image-mode-winprops): Add winprops to
7777 image-mode-winprops-alist before running
7778 image-mode-new-window-functions.
7779 * doc-view.el (doc-view-new-window-function): Don't delay
7780 doc-view-goto-page via timers (bug#14435).
7781
57b9823e
TH
77822013-05-24 Tassilo Horn <tsdh@gnu.org>
7783
7784 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7785 (doc-view-desktop-save-buffer): New function.
7786 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7787 (desktop-buffer-mode-handlers):
7788 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7789 handler.
7790 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7791 `desktop-save-buffer' function.
7792
91aafa16
MA
77932013-05-24 Michael Albinus <michael.albinus@gmx.de>
7794
7795 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7796 (tramp-gvfs-file-name-handler): Raise a user error when
7797 `tramp-gvfs-enabled' is nil.
7798 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7799 Do not raise a user error when loading package. (Bug#14447)
7800
ec076379
MA
7801 * net/xesam.el: Move to obsolete/.
7802
db785726
GM
78032013-05-24 Glenn Morris <rgm@gnu.org>
7804
af5c7606
GM
7805 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7806
e5d1916a
GM
7807 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7808
ded62b08
GM
7809 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7810 (Info-find-node, Man-getpage-in-background): Declare.
7811
9e614a3f
GM
7812 * mail/unrmail.el (unrmail):
7813 Replace obsolete detect-coding-with-priority.
7814
892f8ca3
GM
7815 * net/socks.el (socks-split-string): Use this rather than split-string.
7816 (socks-nslookup-host): Update for above change.
7817 (dynamic-choice, s5-dynamic-choice-match)
7818 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7819 Comment out unused code.
7820
3c291973
GM
7821 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7822 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7823 (gud-tooltip-echo-area): Make obsolete.
7824 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7825
43cc956b
GM
7826 * progmodes/js.el (js--optimize-arglist): Declare.
7827
dab49a3b
GM
7828 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7829
36b9d085
GM
7830 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7831 (ediff-window-C): Declare.
7832
e354ae76
GM
7833 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7834 Tweak requires to silence compiler.
7835
b8e57bf4
GM
7836 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7837 (he-search-string, he-tried-table, he-expand-list)
7838 (he-init-string, he-string-member, he-substitute-string)
7839 (he-reset-string): Declare.
7840
db785726
GM
7841 * obsolete/options.el (list-options): Use custom-variable-p,
7842 rather than obsolete alias.
7843
b3531901
SS
78442013-05-23 Sam Steingold <sds@gnu.org>
7845
7846 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7847 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7848 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7849
bdda4c66
SM
78502013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * emacs-lisp/smie.el (smie-indent-forward-token)
7853 (smie-indent-backward-token): Handle string tokens (bug#14381).
7854
c43d45f9
TH
78552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7856
fe1eb856
RS
7857 * ielm.el (ielm-menu): New menu.
7858 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7859
fe1eb856
RS
78602013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7861
7862 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7863 Fix deactivate action.
7864
7865 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7866 Add cleveref macros.
074dd971 7867
c43d45f9
TH
7868 * lisp/textmodes/reftex-parse.el
7869 (reftex-locate-bibliography-files): Accept options for
7870 bibliography commands.
7871 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7872 Add addbibresource. Basic Biblatex support.
7873
7764286e
MA
78742013-05-23 Michael Albinus <michael.albinus@gmx.de>
7875
7876 * net/tramp-gvfs.el (top):
7877 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7878 when loading package. (Bug#14447)
7879
d361bc10
GM
78802013-05-23 Glenn Morris <rgm@gnu.org>
7881
8fa23984
GM
7882 * progmodes/js.el: No need to load comint when compiling.
7883 (ring-insert, comint-send-string, comint-send-input)
7884 (comint-last-input-end, ido-chop): Declare.
7885
a5c7df1a
GM
7886 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7887 * vc/ediff-mult.el: Adjust requires.
7888 (ediff-directories-internal, ediff-directory-revisions-internal)
7889 (ediff-patch-file-internal): Declare.
7890 * vc/ediff-ptch.el: Adjust requires.
7891 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7892 (ediff-find-file): Autoload.
7893 * vc/ediff-util.el: No need to load ediff when compiling.
7894 (ediff-regions-internal): Declare.
7895 * vc/ediff-wind.el: Adjust requires.
7896 (ediff-compute-toolbar-width): Define when compiling.
7897 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7898 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7899 (dired-get-filename, dired-get-marked-files)
7900 (ediff-last-dir-patch, ediff-patch-default-directory)
7901 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7902 (ediff-patch-buffer-internal): Declare.
7903
e2aec513
GM
7904 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7905 (ispell-process, ispell-buffer-local-words, lm-summary)
7906 (lm-section-start, lm-section-end): Declare.
7907 (checkdoc-ispell-init): Simplify.
7908
e68bbd7c
GM
7909 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7910 (he-string-member, he-reset-string, he-substitute-string): Declare.
7911
7efe0991
GM
7912 * eshell/em-ls.el: Adjust requires.
7913 (eshell-glob-regexp): Declare.
f87b1284
GM
7914 * eshell/em-tramp.el: Adjust requires.
7915 (eshell-parse-command): Autoload.
7916 * eshell/em-xtra.el: Adjust requires.
7917 (eshell-parse-command): Autoload.
7918 * eshell/esh-ext.el: Adjust requires.
7919 (eshell-parse-command, eshell-close-handles): Autoload.
7920 * eshell/esh-io.el: Adjust requires.
7921 (eshell-output-filter): Autoload.
7922 * eshell/esh-util.el: No need to load tramp when compiling.
7923 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7924 Declare.
7925 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7926 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7927 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7928 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7929 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7930 * eshell/esh-opt.el, eshell/esh-proc.el:
7931 * eshell/esh-var.el: Adjust requires.
7932 * eshell/eshell.el: Do not require esh-util twice.
7933 (eshell-add-input-to-history): Declare.
7934 (eshell-command): Check history module is active before using it.
7935
d361bc10
GM
7936 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7937
85d090a9
LL
79382013-05-22 Leo Liu <sdl.web@gmail.com>
7939
7940 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7941
5d0acd9d
MA
79422013-05-22 Michael Albinus <michael.albinus@gmx.de>
7943
7944 * autorevert.el (auto-revert-notify-add-watch)
7945 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7946 it indicates changes in file modification time.
7947
0cdffd7d
GM
79482013-05-22 Glenn Morris <rgm@gnu.org>
7949
ca5995ec
GM
7950 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7951 Always delete the autoloaded function from the noruntime and
7952 unresolved functions lists.
7953
6450907e
GM
7954 * allout.el: No need to load epa, epg, overlay when compiling.
7955 (epg-context-set-passphrase-callback, epg-list-keys)
7956 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7957 (epg-key-user-id-list): Declare.
7958
9c6906f6
GM
7959 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7960 (viper-set-parsing-style-toggling-macro)
7961 (viper-set-emacs-state-searchstyle-macros):
7962 Use called-interactively-p on Emacs.
7963 (viper-looking-back): Make it an obsolete alias. Update callers.
7964 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7965 Use looking-back rather than viper-looking-back.
7966 (viper-tmp-insert-at-eob, viper-enlarge-region)
7967 (viper-read-string-with-history, viper-register-to-point)
7968 (viper-append-to-register, viper-change-state-to-vi)
7969 (viper-backward-char-carefully, viper-forward-char-carefully)
7970 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7971 (viper-change-state-to-emacs): Declare.
7972 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7973 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7974 * emulation/viper-mous.el: Do not load viper-cmd.
7975 (viper-backward-char-carefully, viper-forward-char-carefully)
7976 (viper-forward-word, viper-adjust-window): Declare.
7977
5f70c169
GM
7978 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7979
b1b7f300
GM
7980 * progmodes/idlw-help.el (idlwave-help-fontify):
7981 Use called-interactively-p.
7982
f6ebbb46
GM
7983 * term/w32console.el (w32-get-console-codepage)
7984 (w32-get-console-output-codepage): Declare.
7985
0cdffd7d
GM
7986 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7987 Remove unnecessary declarations.
7988 (dframe-message): Doc fix.
7989
7990 * info.el (dframe-select-attached-frame, dframe-current-frame):
7991 Declare.
7992
7993 * speedbar.el (speedbar-message): Make it an obsolete alias.
7994 Update all callers.
7995 (speedbar-with-attached-buffer)
7996 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7997 (speedbar-with-writable): Use backquote.
7998 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7999 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8000 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8001 rather than speedbar- aliases.
8002 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8003 (speedbar-make-specialized-keymap, speedbar-insert-button)
8004 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8005 (speedbar-do-function-pointer): Declare.
8006 (rmail-speedbar-button, rmail-speedbar-find-file)
8007 (rmail-speedbar-move-message):
8008 Use dframe-with-attached-buffer rather than speedbar- alias.
8009 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8010 (dframe-message, speedbar-make-specialized-keymap)
8011 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8012 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8013 (speedbar-insert-button, dframe-select-attached-frame)
8014 (dframe-maybee-jump-to-attached-frame)
8015 (speedbar-change-initial-expansion-list)
8016 (speedbar-previously-used-expansion-list-name): Declare.
8017 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8018 Use dframe-message, dframe-with-attached-buffer rather than
8019 speedbar- aliases.
8020 (gud-sentinel): Silence compiler.
8021 * progmodes/vhdl-mode.el (speedbar-refresh)
8022 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8023 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8024 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8025 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8026 (speedbar-file-lists, speedbar-make-tag-line)
8027 (speedbar-line-directory, speedbar-goto-this-file)
8028 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8029 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8030 (speedbar-make-button, speedbar-reset-scanners)
8031 (speedbar-files-item-info, speedbar-line-text)
8032 (speedbar-find-file-in-frame, speedbar-set-timer)
8033 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8034 (speedbar-with-writable): Do not (re)define it.
8035 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8036 rather than speedbar- alias.
8037
ee44b62a
LL
80382013-05-21 Leo Liu <sdl.web@gmail.com>
8039
8040 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8041 menu items.
8042 (octave-mode): Tweak fill-nobreak-predicate.
8043 (inferior-octave-startup): Check process to avoid infinite loop.
8044 (inferior-octave): Pop to buffer first to show abornmal process
8045 exit information.
8046
640f050f
GM
80472013-05-21 Glenn Morris <rgm@gnu.org>
8048
79458038
GM
8049 * printing.el (pr-menu-bar): Define when compiling.
8050
9cc3e83f
LL
80512013-05-21 Leo Liu <sdl.web@gmail.com>
8052
8053 * progmodes/octave.el (octave-auto-fill): Remove.
8054 (octave-indent-new-comment-line): Improve.
8055 (octave-mode): Use auto fill mode through
4f405069 8056 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8057 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8058 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8059 (octave-help): Show parent directory.
8060
f440830d
GM
80612013-05-21 Glenn Morris <rgm@gnu.org>
8062
8063 * files.el (dired-unmark):
8064 * progmodes/gud.el (gdb-input): Update declarations.
8065
8066 * calculator.el (electric, ehelp): No need to load when compiling.
8067 (Electric-command-loop, electric-describe-mode): Declare.
8068
8069 * doc-view.el (doc-view-current-converter-processes): Move before use.
8070
8071 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8072 Move MODE-set-explicitly definition before use.
8073
8074 * international/mule-diag.el (mule-diag):
8075 Don't use obsolete window-system-version.
8076
8077 * mail/feedmail.el (smtpmail): No need to load when compiling.
8078 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8079
8080 * mail/mail-utils.el (rfc822): No need to load when compiling.
8081 (rfc822-addresses): Autoload it.
8082 (mail-strip-quoted-names): Trivial simplification.
8083
8084 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8085 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8086
8087 * net/snmp-mode.el (tempo): Don't duplicate requires.
8088
8089 * progmodes/prolog.el (info): No need to load when compiling.
8090 (comint): Require before shell requires it.
8091 (Info-goto-node): Autoload it.
8092 (Info-follow-nearest-node): Declare.
8093 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8094
8095 * textmodes/artist.el (picture-mode-exit): Declare.
8096
8097 * textmodes/reftex-parse.el (reftex-parse-from-file):
8098 Trivial rewrite so the compiler can parse it better.
8099
b4da2cbb
LL
81002013-05-20 Leo Liu <sdl.web@gmail.com>
8101
8102 * progmodes/octave.el (octave-help-mode-map)
8103 (octave-help-mode-finish-hook): New variables.
8104 (octave-help-mode, octave-help-mode-finish): New functions.
8105 (octave-help): Use octave-help-mode.
8106
33c0f65b
GM
81072013-05-20 Glenn Morris <rgm@gnu.org>
8108
8109 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8110
1a0a0a8a
DG
81112013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8112
8113 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8114 start at point, so that expansion starting right after opening
8115 slash in a regexp is recognized.
8116 (ruby-syntax-before-regexp-re): New defvar, extracted from
8117 ruby-syntax-propertize-function. Since the value of this regexp
8118 is looked up at runtime now, we should be able to turn
8119 `ruby-syntax-methods-before-regexp' into a defcustom later.
8120 (ruby-syntax-propertize-function): Split regexp matching into two
8121 parts, for opening and closing slashes. That allows us to skip
8122 over string interpolations and support multiline regexps.
8123 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8124 for them, which calls `ruby-syntax-propertize-expansion'.
8125 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8126 call to `ruby-syntax-propertize-function'.
8127 (ruby-syntax-propertize-expansion): Extracted from
8128 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8129 (ruby-syntax-propertize-percent-literal): Leave point right after
8130 the percent symbol, so that the expression expansion rule can
8131 propertize the contents.
462388b6
DG
8132 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8133 heredoc openers.
8134 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8135
c1a6c0a4
JL
81362013-05-18 Juri Linkov <juri@jurta.org>
8137
8138 * man.el (Man-default-man-entry): Remove `-' from the end
8139 of the default value. (Bug#14400)
8140
8051fccd
GM
81412013-05-18 Glenn Morris <rgm@gnu.org>
8142
8143 * comint.el (comint-password-prompt-regexp):
8144 Allow "password for XXX" where XXX contains colons (eg https://...).
8145
5e80b74f
LL
81462013-05-18 Leo Liu <sdl.web@gmail.com>
8147
8148 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8149 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8150 (octave-source-directories): Don't check process.
8151 (octave-source-directories, octave-find-definition): Doc fix.
8152
521a54c5
GM
81532013-05-18 Glenn Morris <rgm@gnu.org>
8154
86a94b05
GM
8155 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8156 Remove backspace/delete bindings. (Bug#14392)
8157
521a54c5
GM
8158 * cus-dep.el (custom-make-dependencies): Sort the output.
8159 (custom-versions-load-alist): Convert comment to doc.
8160
42caeb89
LL
81612013-05-17 Leo Liu <sdl.web@gmail.com>
8162
8163 * newcomment.el (comment-search-backward): Stricter in finding
8164 comment start. (Bug#14303)
8165
8166 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8167 (octave-comment-start-skip): Properly anchored.
8168
e219dd97
LL
81692013-05-17 Leo Liu <sdl.web@gmail.com>
8170
fe1eb856
RS
8171 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8172 Clean up when turned off. (Bug#14395)
e219dd97
LL
8173 (smie--highlight-matching-block-overlay): No longer buffer-local.
8174 (smie-highlight-matching-block): Adjust.
8175
dc5dcb4b
PE
81762013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8177
8178 Doc string fix for "nanoseconds" (Bug#14406).
8179 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8180 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8181
1db165f0
JB
81822013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8183
8184 * calc/calc-units.el (math-extract-units): Preserve powers
8185 of units.
8186
c7a8fcac
LL
81872013-05-17 Leo Liu <sdl.web@gmail.com>
8188
8189 * subr.el (delete-consecutive-dups): New function.
8190 * ido.el (ido-set-matches-1): Use it.
8191 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8192 * ido.el (ido-remove-consecutive-dups): Remove.
8193
f678b18a
SM
81942013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8197 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8198 regexp-opt's `words'.
8199
ebfe68e8
LL
82002013-05-16 Leo Liu <sdl.web@gmail.com>
8201
8202 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8203 (smie--highlight-matching-block-overlay)
8204 (smie--highlight-matching-block-lastpos)
8205 (smie--highlight-matching-block-timer): New variables.
8206 (smie-highlight-matching-block): New function.
8207 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8208 (smie-setup): Conditionally enable smie-blink-matching-open.
8209
bc8bc17d
WS
82102013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8211
8212 Sync with upstream verilog-mode r840.
8213 * progmodes/verilog-mode.el (verilog-mode-version)
8214 (verilog-mode-release-date): Update.
8215 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8216 (verilog-sig-tieoff): Fix string error on
8217 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8218 (verilog-read-decls): Fix parameters confusing
8219 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8220
df065a0b
EZ
82212013-05-16 Eli Zaretskii <eliz@gnu.org>
8222
8223 * subr.el (reveal-filename): New function.
8224
8225 * loadup.el: Compute Emacs executable versions on MS-Windows,
8226 where executables have the .exe extension. Add a hard link
8227 emacs-XX.YY.ZZ.exe on MS-Windows.
8228
8229 * Makefile.in (XARGS_LIMIT): New variable.
8230 (custom-deps, finder-data, autoloads)
8231 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8232 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8233 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8234 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8235
2d4bf34b
LL
82362013-05-16 Leo Liu <sdl.web@gmail.com>
8237
8238 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8239 (octave-mode-menu, octave-mode-map): Remove its uses.
8240
6b9c2d85
RZ
82412013-05-16 Reto Zimmermann <reto@gnu.org>
8242
8243 Sync with upstream vhdl mode v3.34.2.
8244 * progmodes/vhdl-mode.el: Use `push' throughout.
8245 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8246 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8247 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8248 (vhdl-actual-generic-name): New option to derive actual generic name.
8249 (vhdl-port-paste-signals): Replace formal by actual generics.
8250 (vhdl-beautify): New name for old group vhdl-align. Update users.
8251 (vhdl-beautify-options): New option.
8252 (vhdl-last-input-event): New compat alias. Use throughout.
8253 (vhdl-goto-line): Replace user level function `goto-line'.
8254 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8255 vhdl-fix-statement-buffer.
8256 (vhdl-create-mode-menu): Add some entries.
8257 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8258 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8259 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8260 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8261 to force statements on one line.
8262 (vhdl-remove-trailing-spaces-region):
8263 New, split from vhdl-remove-trailing-spaces.
8264 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8265 Respect vhdl-beautify-options.
8266 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8267 (vhdl-update-sensitivity-list): Not add with index if exists without.
8268 Not include array index with signal. Ignore keywords in comments.
8269 (vhdl-get-visible-signals): Regexp tweaks.
8270 (vhdl-template-component-inst): Handle empty library.
8271 (vhdl-template-type): Add template for 'enum' type.
8272 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8273 Use vhdl-replace-string.
8274 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8275 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8276 (vhdl-speedbar-initialize): Update for above name change.
8277 (vhdl-compose-wire-components): Fix in handling of constants.
8278 (vhdl-error-regexp-emacs-alist): New variable.
8279 (vhdl-error-regexp-add-emacs): New function;
8280 adds support for new compile.el (Emacs 22+)
8281 (vhdl-generate-makefile-1): Change target order for single lib. units.
8282 Allow use of absolute file names.
8283
9df4ec5e
LL
82842013-05-16 Leo Liu <sdl.web@gmail.com>
8285
8286 * simple.el (prog-indent-sexp): Indent enclosing defun.
8287
f5ba00a6
GM
82882013-05-15 Glenn Morris <rgm@gnu.org>
8289
ed8be7ff
GM
8290 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8291 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8292 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8293 (whitespace-highlight): Move to whitespace group.
8294
8295 * comint.el (comint-source):
8296 * pcmpl-linux.el (pcmpl-linux):
8297 * shell.el (shell-faces):
8298 * eshell/esh-opt.el (eshell-opt):
8299 * international/ccl.el (ccl): Remove empty custom groups.
8300
8301 * completion.el (dynamic-completion-mode):
8302 * jit-lock.el (jit-lock-debug-mode):
8303 * minibuffer.el (completion-in-region-mode):
8304 * type-break.el (type-break-mode-line-message-mode)
8305 (type-break-query-mode):
8306 * emulation/tpu-edt.el (tpu-edt-mode):
8307 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8308 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8309 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8310
8311 * term/xterm.el (xterm): Change parent group to terminals.
8312
8313 * master.el (master): Remove empty custom group.
8314 (master-mode): Remove unused :group argument.
8315 * textmodes/refill.el (refill): Remove empty custom group.
8316 (refill-mode): Remove unused :group argument.
8317
8318 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8319
82a7c41b
GM
8320 * cus-dep.el: Provide a feature.
8321 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8322 Don't mistakenly ignore files whose basenames match a basename
8323 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8324 Add a fallback method for getting :group.
f5ba00a6 8325
6d65486d
JL
83262013-05-15 Juri Linkov <juri@jurta.org>
8327
da547b32
JL
8328 * isearch.el (isearch-char-by-name): Rename from
8329 `isearch-insert-char-by-name'. Doc fix.
8330 (isearch-forward): Mention `isearch-char-by-name' in
8331 the docstring. (Bug#13348)
8332
6d65486d
JL
8333 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8334 `exit-minibuffer' instead of
8335 `isearch-nonincremental-exit-minibuffer'.
8336 (isearch-edit-string): Remove mention of
8337 `isearch-nonincremental-exit-minibuffer' from docstring.
8338 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8339 (isearch-forward-exit-minibuffer)
8340 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8341
c9990474
SM
83422013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8343
6e911150
SM
8344 * loadup.el: Just use unversioned DOC.
8345
c9990474
SM
8346 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8347 literals as extending to EOB.
8348 (nxml-last-fontify-end): Remove unused variable.
8349 (nxml-after-change1): Use with-silent-modifications.
8350 (nxml-extend-after-change-region): Simplify.
8351 (nxml-extend-after-change-region1): Remove function.
8352 (nxml-after-change1): Don't adjust for dependent regions.
8353 (nxml-fontify-matcher): Simplify.
8354 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8355 (xmltok-add-dependent): Remove function.
8356 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8357 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8358 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8359 unclosed <[[, <?, comment, and other literals as extending to EOB.
8360 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8361 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8362 Remove functions.
8363 (rng-do-some-validation-1): Don't mark dependent regions.
8364 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8365 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8366 (nxml-clear-dependent-regions): Remove functions.
8367 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8368 (nxml-ensure-scan-up-to-date):
8369 Don't clear&mark dependent regions.
8370
e3772e98
LL
83712013-05-15 Leo Liu <sdl.web@gmail.com>
8372
c9990474
SM
8373 * progmodes/octave.el (octave-goto-function-definition):
8374 Improve and fix callers.
e3772e98 8375
5ac2eb34
SM
83762013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8377
c46c57b0
SM
8378 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8379 the setter (bug#14387).
8380
5ac2eb34
SM
8381 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8382 surrounding group (bug#14402).
8383
180ed218
JL
83842013-05-14 Juri Linkov <juri@jurta.org>
8385
8386 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8387 (Bug#14390)
8388
0ac0fecb
GM
83892013-05-14 Glenn Morris <rgm@gnu.org>
8390
8391 * progmodes/f90.el (f90-imenu-generic-expression):
8392 Fix typo in 2013-05-08 change. (Bug#14402)
8393
2e78e6a7
JPG
83942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8395
5ac2eb34
SM
8396 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8397 Remove signals for which replies are never received.
2e78e6a7 8398
53267cca
JPG
83992013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8400
8401 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8402 (gdb-handler-alist, gdb-handler-number): Remove variables.
8403 (gdb-handler-list): New variable.
8404 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8405 (gdb-pending-handler-p, gdb-handle-reply)
8406 (gdb-remove-all-pending-triggers): New functions.
8407 (gdb-discard-unordered-replies): New defcustom.
8408 (gdb-handler): New defstruct.
8409 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8410 instead of gdb-pending-triggers. Update docstring.
8411 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8412 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8413 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8414 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8415 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8416 (gdb-frame-handler): Pending triggers are now automatically managed.
8417 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8418 Remove argument.
8419 (gdb-input): Automatically handles pending triggers. Update docstring.
8420 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8421 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8422 Update comments.
8423 (gdb-done-or-error): Now use gdb-handle-reply.
8424
d04ce803
JPG
84252013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8426
8427 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8428 gdb-debug-log.
8429
0114073a
GM
84302013-05-14 Glenn Morris <rgm@gnu.org>
8431
8432 * subr.el (user-emacs-directory-warning): New option.
8433 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8434
4d25fd7e
LL
84352013-05-14 Leo Liu <sdl.web@gmail.com>
8436
8437 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8438 during redisplay.
8439 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8440 (octave-font-lock-texinfo-comment): Fix invalid search bound
8441 error: wrong side of point.
4d25fd7e 8442
27c8b6eb
GM
84432013-05-14 Glenn Morris <rgm@gnu.org>
8444
61aaeb01
GM
8445 * progmodes/flymake.el (flymake-xml-program): New option.
8446 (flymake-xml-init): Use it.
8447
5bf90bc5
GM
8448 * term/xterm.el: Provide a feature.
8449
8450 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8451
f4c7dfd2
GM
84522013-05-13 Glenn Morris <rgm@gnu.org>
8453
8454 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8455 Add compat aliases as a hack workaround. (Bug#14384)
8456
2aeb3a1d
LL
84572013-05-13 Leo Liu <sdl.web@gmail.com>
8458
b0e069c2
LL
8459 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8460 ###, and %!.
f5a9432f
LL
8461 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8462 C-M-q.
b0e069c2
LL
8463 (octave-comment-start-skip): Include %!.
8464 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8465
30ea8374
LL
84662013-05-12 Leo Liu <sdl.web@gmail.com>
8467
8468 * progmodes/octave.el (inferior-octave-startup): Store the value
8469 of __octave_srcdir__ for octave-source-directories.
8470 (inferior-octave-check-process): New function refactored out of
8471 inferior-octave-send-list-and-digest.
8472 (octave-source-directories)
8473 (octave-find-definition-filename-function): New variables.
8474 (octave-source-directories)
8475 (octave-find-definition-default-filename): New functions.
8476 (octave-find-definition): Improve to find functions implemented in C++.
8477
472a3834
GM
84782013-05-12 Glenn Morris <rgm@gnu.org>
8479
8480 * calendar/diary-lib.el (diary-outlook-format-1):
8481 Don't include dayname in the output. (Bug#14349)
8482
3191b52f
GM
84832013-05-11 Glenn Morris <rgm@gnu.org>
8484
0060ac73
GM
8485 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8486
3191b52f
GM
8487 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8488 Treat cc-provide like provide.
8489
e065ba74
KR
84902013-05-11 Kevin Ryde <user42@zip.com.au>
8491
8492 * cus-dep.el (custom-make-dependencies):
8493 Use generated-autoload-load-name for the sake of files such
8494 such cedet/semantic/bovine/c.el, where the base file name
8495 is not in load-path. (Bug#5277)
8496
36f84c37
GM
84972013-05-11 Glenn Morris <rgm@gnu.org>
8498
8499 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8500 Provide features.
8501
c8730c3a
LL
85022013-05-11 Leo Liu <sdl.web@gmail.com>
8503
8504 * progmodes/octave.el (octave-indent-comment): Improve.
8505 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8506 (octave-eldoc-function-signatures, octave-eldoc-function):
8507 New functions.
c8730c3a
LL
8508 (octave-mode, inferior-octave-mode): Add eldoc support.
8509
212e29f2
RS
85102013-05-11 Richard Stallman <rms@gnu.org>
8511
8512 * epa.el (epa-decrypt-file): Take output file name as argument
8513 and read it using `interactive'.
8514
083fe0d7
LL
85152013-05-11 Leo Liu <sdl.web@gmail.com>
8516
8517 * progmodes/octave.el (octave-beginning-of-line)
8518 (octave-end-of-line): Check before using up-list because it jumps
8519 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8520 (octave-indent-comment): New function.
8521 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8522 (octave-begin-keywords, octave-end-keywords)
8523 (octave-reserved-words, octave-smie-bnf-table)
8524 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8525
8582e4c4
GM
85262013-05-11 Glenn Morris <rgm@gnu.org>
8527
f20def1f
GM
8528 * faces.el (internal-face-x-get-resource):
8529 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8530 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8531 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8532 Fix declarations.
f20def1f 8533
445f95e2
GM
8534 * calc/calc-menu.el: Make it loadable in isolation.
8535
8536 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8537 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8538 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8539 (eudc-bbdb-query-internal): Require 'bbdb.
8540
99fb2756
GM
8541 * lpr.el (lpr-headers-switches):
8542 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8543
8544 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8545
0da7ad96
GM
8546 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8547
8582e4c4
GM
8548 * term.el (term-set-escape-char): Make it idempotent.
8549
f71c50d0
LL
85502013-05-10 Leo Liu <sdl.web@gmail.com>
8551
5ac2eb34
SM
8552 * progmodes/octave.el (inferior-octave-completion-table):
8553 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8554 completion due to bug#11906.
8555 (octave-beginning-of-defun): Re-write to be more general.
8556
d5837773
GM
85572013-05-10 Glenn Morris <rgm@gnu.org>
8558
8559 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8560
027c0f75
SM
85612013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * comint.el (comint-redirect-send-command-to-process): Use :around
8564 rather than :override for comint-redirect-filter.
8565 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8566 Call it instead of comint-redirect-original-filter-function (which
8567 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8568
4465bfb4
JD
85692013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8570
8571 * frame.el (display-monitor-attributes-list): Add NS case.
8572 (ns-display-monitor-attributes-list): Declare.
8573
2d809ffa 85742013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8575
8576 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8577
e54eeb9b
GM
85782013-05-09 Glenn Morris <rgm@gnu.org>
8579
56cd351d
GM
8580 * international/fontset.el (vertical-centering-font-regexp):
8581 Set standard-value.
8582
d84b6108
GM
8583 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8584
a931698a
GM
8585 * bookmark.el (bookmark-search-delay):
8586 * cus-start.el (vertical-centering-font-regexp):
8587 * ps-mule.el (ps-mule-font-info-database-default):
8588 * ps-print.el (ps-default-fg, ps-default-bg):
8589 * type-break.el (type-break-good-break-interval):
8590 * whitespace.el (whitespace-indentation-regexp)
8591 (whitespace-space-after-tab-regexp):
8592 * emacs-lisp/testcover.el (testcover-1value-functions)
8593 (testcover-noreturn-functions, testcover-progn-functions)
8594 (testcover-prog1-functions):
8595 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8596 * eshell/em-glob.el (eshell-glob-translate-alist):
8597 * play/tetris.el (tetris-tty-colors):
8598 * progmodes/cpp.el (cpp-face-default-list):
8599 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8600 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8601 (idlwave-help-browser-generic-args):
8602 * progmodes/make-mode.el (makefile-special-targets-list):
8603 * progmodes/python.el (python-shell-virtualenv-path):
8604 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8605 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8606 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8607 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8608 * textmodes/reftex-vars.el (reftex-format-label-function):
8609 * textmodes/remember.el (remember-diary-file): Fix custom types.
8610
e54eeb9b
GM
8611 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8612 Add :version.
8613
455851dd
LL
86142013-05-09 Leo Liu <sdl.web@gmail.com>
8615
8616 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8617 Restore file completion. (Bug#14300)
455851dd
LL
8618 (inferior-octave-startup): Fix incorrect highlighting for the
8619 first prompt.
8620
a9e4425b
SM
86212013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * progmodes/ruby-mode.el: First cut at SMIE support.
8624 (ruby-use-smie): New var.
8625 (ruby-smie-grammar): New constant.
8626 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8627 (ruby-smie--forward-token, ruby-smie--backward-token)
8628 (ruby-smie-rules): New functions.
8629 (ruby-mode-variables): Setup SMIE if applicable.
8630
060ca408
EZ
86312013-05-08 Eli Zaretskii <eliz@gnu.org>
8632
8633 * simple.el (line-move-visual): Signal beginning/end of buffer
8634 only if vertical-motion moved less than it was requested. Avoids
8635 silly incorrect error messages when there are display strings with
8636 multiple newlines at EOL.
8637
1d5963cc
SM
86382013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8641 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8642 (prolog-char-quote-workaround):
8643 * progmodes/cperl-mode.el (cperl-under-as-char):
8644 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8645 Mark as obsolete.
8646 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8647 their declaration.
8648 (vhdl-mode-syntax-table-init): Remove.
8649
c9990474
SM
8650 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8651 last change.
1d5963cc
SM
8652
8653 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8654 syntax for "_".
8655 (ld-script-font-lock-keywords):
8656 Change regexps to use things like \_< and \_>.
8657
8658 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8659 Change all regexps to use things like \_< and \_>.
8660
8661 * progmodes/autoconf.el (autoconf-definition-regexp)
8662 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8663 Handle a _ with symbol syntax.
8664 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8665
c9990474
SM
8666 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8667 Consolidate declaration.
1d5963cc
SM
8668 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8669 the declaration.
8670 (ada-create-syntax-table): Remove.
8671 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8672 already has the right syntax nowadays.
8673 (ada-goto-next-word): Don't change the syntax of "_".
8674
8675 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8676 with-wrapper-hook.
8677
72d3cfca
SS
86782013-05-08 Sam Steingold <sds@gnu.org>
8679
8680 * thingatpt.el (thing-at-point): Accept optional second argument
8681 NO-PROPERTIES to strip the text properties from the return value.
8682 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8683 to `thing-at-point' instead of stripping the properties ourselves.
8684 Also, when `thing-at-point' fails to find a url, prepend "http://"
8685 to the filename at point on the assumption that the user is
8686 pointing at something like gnu.org/gnu.
8687
5cb15713
JB
86882013-05-08 Juanma Barranquero <lekktu@gmail.com>
8689
8690 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8691 * faces.el (crm-separator):
8692 Silence byte-compiler.
8693
8694 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8695 (tool-bar-map): Remove unneeded defvars.
8696
ea78b95b
LL
86972013-05-08 Leo Liu <sdl.web@gmail.com>
8698
8699 Re-work a fix for bug#10994 based on Le Wang's patch.
8700 * ido.el (ido-remove-consecutive-dups): New helper.
8701 (ido-completing-read): Use it.
8702 (ido-chop): Revert fix for bug#10994.
8703
dc7466df
AS
87042013-05-08 Adam Spiers <emacs@adamspiers.org>
8705
8706 * cus-edit.el (custom-save-variables):
8707 Pretty-print long values. (Bug#14187)
8708
9ecf672a
GM
87092013-05-08 Glenn Morris <rgm@gnu.org>
8710
8711 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8712 (m4-mode-syntax-table): Init in the defvar.
8713 (m4-mode-abbrev-table): Let define-derived-mode define it.
8714
3f555be8
TT
87152013-05-08 Tom Tromey <tromey@redhat.com>
8716
8717 * progmodes/m4-mode.el (m4-mode-syntax-table):
8718 Do not treat "_" as word constituent. (Bug#14167)
8719
7cc8ae06
GM
87202013-05-07 Glenn Morris <rgm@gnu.org>
8721
4f58bc06
GM
8722 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8723 Remove explicit eshell-isearch-cancel-map.
8724
7cc8ae06
GM
8725 * progmodes/f90.el (f90-smart-end-names): New option.
8726 (f90-smart-end): Doc fix.
8727 (f90-end-block-optional-name): New constant.
8728 (f90-block-match): Respect f90-smart-end-names.
8729
ceb57e59
SM
87302013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8733 about implicit semi-colons (bug#14218).
8734
4e3f9230
YM
87352013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8736
8737 * frame.el (display-monitor-attributes-list)
8738 (frame-monitor-attributes): New functions.
8739
203a5572
LL
87402013-05-06 Leo Liu <sdl.web@gmail.com>
8741
8742 * progmodes/octave.el (octave-syntax-propertize-function): Change
8743 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8744 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8745 (octave-completion-at-point): Rename from
203a5572
LL
8746 octave-completion-at-point-function.
8747 (inferior-octave-directory-tracker): Robustify.
8748 (octave-text-functions): Remove and fix its uses. No such things
8749 any more.
8750
ee6cff99
SM
87512013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * emacs-lisp/trace.el (trace--display-buffer): New function.
8754 (trace-make-advice): Use it.
8755
32985194
JL
87562013-05-06 Juri Linkov <juri@jurta.org>
8757
8758 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8759 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8760 Doc fix.
8761 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8762 in the help string. (Bug#12985)
8763
a1c700de
KD
87642013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8765
8766 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8767
c67c0839
SM
87682013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8769
323885fd
SM
8770 * progmodes/perl-mode.el: Add support for here documents.
8771 (perl-syntax-propertize-function): Match here-doc markers.
8772 (perl-syntax-propertize-special-constructs): Find their end.
8773 (perl-imenu-generic-expression): Use [:alnum:].
8774
c67c0839
SM
8775 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8776 (advice--add-function): Refresh the advice if already present
8777 (bug#14317).
8778
d491e7a8
IA
87792013-05-06 Ivan Andrus <darthandrus@gmail.com>
8780
8781 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8782
ddf9925e
GM
87832013-05-06 Glenn Morris <rgm@gnu.org>
8784
7cc3af27
GM
8785 * w32-fns.el (w32-charset-info-alist): Declare.
8786
16e343d6
GM
8787 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8788 of its defcustom properties.
8789 (eshell-cmpl-initialize): No need to load pcomplete.
8790
7d889a47
GM
8791 * generic-x.el: No need to require comint when compiling.
8792
ddf9925e
GM
8793 * net/eudc-export.el: Make it loadable without bbdb.
8794 (top-level): Use require rather than load-library.
8795 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8796 (eudc-batch-export-records-to-bbdb)
8797 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8798 Require bbdb.
8799
1e2c18df
SM
88002013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8803 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8804 some tweaks, instead.
8805
02502a5f
LL
88062013-05-05 Leo Liu <sdl.web@gmail.com>
8807
8808 * progmodes/octave.el (octave-font-lock-keywords)
8809 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8810 (inferior-octave-send-list-and-digest): Improve error message.
8811 (octave-mode, inferior-octave-mode): Use setq-local.
8812 (octave-help): Set info-lookup-mode.
8813
0dc04f42
RS
88142013-05-05 Richard Stallman <rms@gnu.org>
8815
6c54491c
RS
8816 * vc/compare-w.el (compare-windows-whitespace):
8817 Treat no-break space as whitespace.
8818
0dc04f42
RS
8819 * mail/rmailsum.el (rmail-summary-rmail-update):
8820 Detect empty summary and don't change selected message.
8821 (rmail-summary-goto-msg): Likewise.
8822
df8f35df
RS
8823 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8824 Doc fixes, rename args.
8825
5356e1a3
AM
88262013-05-05 Alan Mackenzie <acm@muc.de>
8827
8828 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8829
d44014cb
JL
88302013-05-05 Juri Linkov <juri@jurta.org>
8831
8832 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8833 to not add the length of the summary segment to the return value.
8834 (Bug#14125)
8835
c129b51f
LL
88362013-05-05 Leo Liu <sdl.web@gmail.com>
8837
8838 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8839 (inferior-octave-output-filter): Remove.
8840 (octave-send-region, inferior-octave-startup): Fix callers.
8841 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8842 (octave-binary-file-extensions): New user variable.
8843 (octave-find-definition): Confirm if opening binary files.
8844 (octave-help-file): Use octave-find-definition to get the binary
8845 confirmation.
8846 (octave-help): Adjust for octave-help-file change.
8847
aa7dab97
SM
88482013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8851 Merge the two entries that handle function definitions.
8852 (pascal--syntax-propertize): New const.
8853 (pascal-mode): Use it. Use setq-local.
8854
fd3a9a6b
GM
88552013-05-04 Glenn Morris <rgm@gnu.org>
8856
8857 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8858 (diary-from-outlook): Respect diary-from-outlook-function.
8859
30c7e542
SM
88602013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8863 Move the declaration from C.
8864 (read-minibuffer, eval-minibuffer): Move from C.
8865 (completion-setup-function): Avoid minibuffer-completion-contents.
8866
b54f978b
LL
88672013-05-03 Leo Liu <sdl.web@gmail.com>
8868
8869 * progmodes/octave.el (octave-font-lock-keywords): Do not
8870 dehighlight 'end' in comments or strings.
30c7e542
SM
8871 (octave-completing-read, octave-goto-function-definition):
8872 New helpers.
d4d0f9b3
LL
8873 (octave-help-buffer): New user variable.
8874 (octave-help-file, octave-help-function): New button types.
8875 (octave-help): New command and bind it to C-h ;.
8876 (octave-find-definition): New command and bind it to M-.
d74a1581 8877 (user-error): Alias to error if not defined.
b54f978b 8878
27135018
LL
88792013-05-02 Leo Liu <sdl.web@gmail.com>
8880
8881 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8882 for \. (bug#14332)
8883 (octave-font-lock-keywords): Include [ and {.
8884
0d634d3a
LL
88852013-05-02 Leo Liu <sdl.web@gmail.com>
8886
8887 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8888 (inferior-octave): Remove calling comint-mode and return the buffer.
8889 (inferior-octave-startup): Cosmetic changes.
8890
b4c8295e
LL
88912013-05-02 Leo Liu <sdl.web@gmail.com>
8892
30c7e542
SM
8893 * progmodes/octave.el (octave-syntax-propertize-function):
8894 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8895
f12ad6ec
GM
88962013-05-02 Glenn Morris <rgm@gnu.org>
8897
8898 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8899 * desktop.el (vc-dir-mode): Just autoload it here.
8900
30cac1e0
AM
89012013-05-02 Alan Mackenzie <acm@muc.de>
8902
8903 Eliminate variable c-standard-font-lock-fontify-region-function.
8904 * progmodes/cc-mode.el
8905 (c-standard-font-lock-fontify-region-function): Remove.
8906 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8907
d8ef28b1
LL
89082013-05-01 Leo Liu <sdl.web@gmail.com>
8909
2640d52e 8910 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8911 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8912 variables were removed from Octave in 2007.
d8ef28b1
LL
8913 (inferior-octave-startup): Fix uses.
8914 (comint-line-beginning-position): Remove compatibility code for
8915 emacs 21.
8916
ac63ec89
JL
89172013-05-01 Juri Linkov <juri@jurta.org>
8918
8919 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8920
9e9be37c
JL
89212013-05-01 Juri Linkov <juri@jurta.org>
8922
8923 * comint.el (comint-previous-matching-input): Don't print message
8924 "History item: %d" when `isearch-mode' is active.
8925 (comint-history-isearch-message): Print message "History item: %d"
8926 when `comint-input-ring-index' is not empty and this function is
8927 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8928
9b92c13b
LL
89292013-05-01 Leo Liu <sdl.web@gmail.com>
8930
8931 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8932 definitions. Use completion-at-point to insert keywords.
8933 (octave-abbrev-start): Remove.
8934 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8935
b12d33d7
LL
89362013-04-30 Leo Liu <sdl.web@gmail.com>
8937
8938 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8939 change.
8940
3d1c39fa
AM
89412013-04-30 Alan Mackenzie <acm@muc.de>
8942
8943 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8944 * progmodes/cc-engine.el (c-back-over-member-initializers):
8945 new function.
3d1c39fa
AM
8946 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8947 (most) member init lists.
8948
5147fc17
RS
89492013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8950
8951 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8952 variable.
8953
5b78d7fc
LL
89542013-04-30 Leo Liu <sdl.web@gmail.com>
8955
8956 * progmodes/octave.el (octave-variables): Remove. No builtin
8957 variables any more. All converted to functions.
8958 (octave-font-lock-keywords, octave-completion-at-point-function):
8959 Fix uses.
8960 (octave-font-lock-texinfo-comment): New user variable.
8961 (octave-texinfo-font-lock-keywords): New variable for texinfo
8962 comment block.
8963 (octave-function-comment-block): New face.
8964 (octave-font-lock-texinfo-comment): New function.
8965 (octave-mode): Font lock texinfo comment block.
8966
38d8527b
LL
89672013-04-29 Leo Liu <sdl.web@gmail.com>
8968
8969 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8970 indexing expression.
8971 (octave-continuation-string): Do not use \.
8972 (inferior-octave-complete-impossible): Remove.
8973 (inferior-octave-completion-table)
8974 (inferior-octave-completion-at-point): Remove its uses.
8975 (inferior-octave-startup): completion_matches was introduced to
8976 Octave in 1996 so safe to assume it.
8977 (octave-function-file-comment): Improve to follow how Octave does it.
8978 (octave-update-function-file-comment): Tweak.
8979
2ec12cb0
LL
89802013-04-29 Leo Liu <sdl.web@gmail.com>
8981
8982 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8983 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8984 (octave-function-file-comment): Fix typo.
8985 (octave-sync-function-file-names): Use read-char-choice.
8986
6eaed048
JB
89872013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8988
8989 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8990 to t for the less important warnings.
8991
3ffa2d4f
DH
89922013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8993
8994 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8995
685c9501
GM
89962013-04-27 Glenn Morris <rgm@gnu.org>
8997
8998 * vc/log-view.el (log-view-current-entry):
8999 Treat "---" separator lines as part of the following rev. (Bug#14169)
9000
0208ede7
JL
90012013-04-27 Juri Linkov <juri@jurta.org>
9002
9003 * subr.el (read-number): Doc fix about using it by interactive
9004 code letter `n'. (Bug#14254)
9005
5db9dace
JL
90062013-04-27 Juri Linkov <juri@jurta.org>
9007
9008 * desktop.el (desktop-auto-save-timeout): New option.
9009 (desktop-file-checksum): New variable.
9010 (desktop-save): Add optional arg `auto-save' and don't auto-save
9011 if nothing changed.
9012 (desktop-auto-save-timer): New variable.
9013 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9014 (after-init-hook): Call `desktop-auto-save-set-timer'.
9015 Suggested by Reuben Thomas <rrt@sc3d.org> in
9016 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9017
b7260dd4
LL
90182013-04-27 Leo Liu <sdl.web@gmail.com>
9019
9020 * progmodes/octave.el (octave-function-file-p)
9021 (octave-skip-comment-forward, octave-function-file-comment)
9022 (octave-update-function-file-comment): New functions.
9023 (octave-mode-map): Bind C-c ; to
9024 octave-update-function-file-comment.
9025 (octave-mode-menu): Add octave-update-function-file-comment.
9026 (octave-mode, inferior-octave-mode): Fix doc-string.
9027 (octave-insert-defun): Conform to Octave's coding convention.
9028 (Bug#14285)
9029
9030 * files.el (basic-save-buffer): Don't let errors in
9031 before-save-hook prevent saving buffer.
9032
c46da669
RW
90332013-04-20 Roland Winkler <winkler@gnu.org>
9034
9035 * faces.el (read-face-name): Use completing-read if arg multiple
9036 is nil.
9037
a81ee1eb
IL
90382013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9039
9040 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9041 displayed, move point to after the totals line.
9042 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9043 for the details.
9044
4fac34ce
SM
90452013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9048 Add current dir to the load-path.
9049 (package-generate-autoloads): Don't rely on
9050 autoload-ensure-default-file.
9051
f6bfc063
RT
90522013-04-26 Reuben Thomas <rrt@sc3d.org>
9053
d40ab5cf
BG
9054 * textmodes/remember.el (remember-store-in-files): Document that
9055 the file name format is passed to `format-time-string'.
f6bfc063 9056
e55d3b04
LL
90572013-04-26 Leo Liu <sdl.web@gmail.com>
9058
9059 * progmodes/octave.el (octave-sync-function-file-names): New function.
9060 (octave-mode): Use it in before-save-hook.
9061
e53052d3
SM
90622013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9063
140ef50c
SM
9064 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9065 (bug#14274).
9066
e53052d3
SM
9067 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9068 \n and comment, even if it's not an implicit ; (bug#14218).
9069
af80458d 90702013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9071
9072 * subr.el (read-number): Once more use `read' rather than
9073 `string-to-number', to trap non-numeric input. (Bug#14254)
9074
af80458d 90752013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9076
9077 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9078 Use `syntax-multiline' text property consistently instead of
8a621d53 9079 `font-lock-multiline'. (Bug#14237)
70203c2e 9080
e6ea1f6c
GM
90812013-04-26 Glenn Morris <rgm@gnu.org>
9082
9083 * emacs-lisp/shadow.el (list-load-path-shadows):
9084 No longer necessary to check for duplicate simple.el, since
9085 2012-07-07 change to init_lread to not include installation lisp
9086 directories in load-path when running uninstalled. (Bug#14270)
9087
070ccca4
LL
90882013-04-26 Leo Liu <sdl.web@gmail.com>
9089
9090 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9091 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9092 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9093 octave-in-string-or-comment-p.
9094 (octave-in-comment-p, octave-in-string-p)
9095 (octave-in-string-or-comment-p): Replace defsubst with defun.
9096
9d1c5fb6
PE
90972013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9098
9099 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9100
c034abda
BG
91012013-04-25 Bastien Guerry <bzg@gnu.org>
9102
9103 * textmodes/remember.el (remember-data-directory)
9104 (remember-directory-file-name-format): Fix custom types.
9105
584ea277
LL
91062013-04-25 Leo Liu <sdl.web@gmail.com>
9107
e53052d3
SM
9108 * progmodes/octave.el (octave-completion-at-point-function):
9109 Make use of inferior octave process.
584ea277
LL
9110 (octave-initialize-completions): Remove.
9111 (inferior-octave-completion-table): New function.
9112 (inferior-octave-completion-at-point): Use it.
9113 (octave-completion-alist): Remove.
9114
1693b06a
SM
91152013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9118 (opascal-mode-syntax-table): New var.
9119 (opascal-literal-kind, opascal-is-literal-end)
9120 (opascal-literal-token-at): Rewrite.
9121 (opascal--literal-start-re, opascal-font-lock-keywords)
9122 (opascal--syntax-propertize): New constants.
9123 (opascal-font-lock-defaults): Adjust.
9124 (opascal-mode): Use them. Set comment-<foo> variables as well.
9125 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9126 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9127 (delphi-other-face, opascal-other-face): Remove face variables.
9128 (opascal-save-state): Remove macro.
9129 (opascal-fontifying-progress-step): Remove constant.
9130 (opascal--ignore-changes): Remove var.
9131 (opascal-set-token-property, opascal-parse-next-literal)
9132 (opascal-is-stable-literal, opascal-complete-literal)
9133 (opascal-is-literal-start, opascal-face-of)
9134 (opascal-parse-region, opascal-parse-region-until-stable)
9135 (opascal-fontify-region, opascal-after-change)
9136 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9137 (opascal-debug-parse-region, opascal-debug-parse-window)
9138 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9139 (opascal-debug-fontify-buffer): Remove.
9140 (opascal-debug-mode-map): Adjust accordingly.
9141
be64c05d
LL
91422013-04-25 Leo Liu <sdl.web@gmail.com>
9143
9144 Merge octave-mod.el and octave-inf.el into octave.el with some
9145 cleanups.
9146 * progmodes/octave.el: New file renamed from octave-mod.el.
9147 * progmodes/octave-inf.el: Merged into octave.el.
9148 * progmodes/octave-mod.el: Renamed to octave.el.
9149
d79d37bd
TH
91502013-04-25 Tassilo Horn <tsdh@gnu.org>
9151
9152 * textmodes/reftex-vars.el
9153 (reftex-label-ignored-macros-and-environments): New defcustom.
9154
9155 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9156
ced3fc5d
SM
91572013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9160 (smie-indent-keyword): Improve the check to ensure that the next
9161 comment is really on the same line.
9162 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9163
9164 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9165 semi-colons if the line is not otherwise empty (bug#14218).
9166
1c141dad
GM
91672013-04-25 Glenn Morris <rgm@gnu.org>
9168
9169 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9170
5058062a
SM
91712013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * progmodes/opascal.el (opascal-set-token-property): Rename from
9174 opascal-set-text-properties and only set `token' (bug#14134).
9175 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9176 (opascal-literal-text-properties): Remove.
9177 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9178 Adjust callers.
9179
5db9dace 91802013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9181
9182 * textmodes/remember.el (remember-handler-functions): Add an
9183 option for a new handler `remember-store-in-files'.
9184 (remember-data-directory, remember-directory-file-name-format):
9185 New options.
9186 (remember-store-in-files): New function to store remember notes
9187 as separate files within a directory.
9188
4391916c
MH
91892013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9190
9191 * progmodes/compile.el (compilation-next-error-function):
9192 Pass "formats" to compilation-find-file (bug#11777).
9193
bb7cdf58
GM
91942013-04-24 Glenn Morris <rgm@gnu.org>
9195
3b8fe752 9196 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9197 * vc/vc-hg.el (vc-hg-print-log):
9198 * vc/vc-svn.el (vc-svn-print-log):
9199 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9200
bb7cdf58
GM
9201 * vc/vc-bzr.el (vc-bzr-print-log):
9202 * vc/vc-cvs.el (vc-cvs-print-log):
9203 * vc/vc-git.el (vc-git-print-log):
9204 * vc/vc-hg.el (vc-hg-print-log):
9205 * vc/vc-mtn.el (vc-mtn-print-log):
9206 * vc/vc-rcs.el (vc-rcs-print-log):
9207 * vc/vc-sccs.el (vc-sccs-print-log):
9208 * vc/vc-svn.el (vc-svn-print-log):
9209 * vc/vc.el (vc-print-log-internal): Doc fixes.
9210
b46a056e
GM
92112013-04-23 Glenn Morris <rgm@gnu.org>
9212
9213 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9214 Remove venerable code attempting to avoid substitute-command-keys.
9215
0aecf718
TH
92162013-04-23 Tassilo Horn <tsdh@gnu.org>
9217
4391916c
MH
9218 * textmodes/reftex-vars.el (reftex-label-regexps):
9219 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9220
117f94cf
SM
92212013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9222
4391916c 9223 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9224 Use lexical-binding.
9225 (jit-lock-force-redisplay): Use markers, check buffer's continued
9226 existence and beware narrowed buffers.
9227 (jit-lock-fontify-now): Adjust call accordingly.
9228
1d829c64
SM
92292013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9232 to avoid misleading the user.
9233
72d548a9
LL
92342013-04-22 Leo Liu <sdl.web@gmail.com>
9235
9236 * info-look.el: Prefer latex2e.info. (Bug#14240)
9237
d0853629
MA
92382013-04-22 Michael Albinus <michael.albinus@gmx.de>
9239
9240 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9241
9242 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9243 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9244 (tramp-set-completion-function, tramp-parse-putty):
9245 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9246 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9247 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9248 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9249 (tramp-call-local-coding-command): Use `tramp-call-process'
9250 instead of `tramp-compat-call-process'.
9251
9252 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9253 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9254 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9255 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9256 (tramp-maybe-send-script): Check for Perl binary.
9257 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9258
38cc0210
DU
92592013-04-22 Daiki Ueno <ueno@gnu.org>
9260
9261 * epg.el (epg-context-pinentry-mode): New function.
9262 (epg-context-set-pinentry-mode): New function.
9263 (epg--start): Pass --pinentry-mode option to gpg command.
9264
cc641ee1
XF
92652013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9266
02d844b5 9267 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9268 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9269 `completion-at-point'. (Bug#13774)
5d4e5c31 9270
cc641ee1
XF
9271 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9272 default key binding for `describe-distribution' has been moved to
9273 `C-h C-o'. (Bug#13970)
9274
1b42ee43
GM
92752013-04-21 Glenn Morris <rgm@gnu.org>
9276
9277 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9278 Add doc strings.
9279 (vc-print-log): Clarify interactive prompt.
9280
a6d63d97
GM
92812013-04-20 Glenn Morris <rgm@gnu.org>
9282
9283 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9284 No longer include timestamp etc information.
9285
d7f5c16f
RW
92862013-04-20 Roland Winkler <winkler@gnu.org>
9287
9288 * faces.el (read-face-name): Bug fix, return just one face if arg
9289 multiple is nil. (Bug#14209)
9290
bcd7a0a4
SM
92912013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9294 (remove-function): Autoload.
9295
9296 * comint.el (comint-redirect-original-filter-function): Remove.
9297 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9298 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9299 (vc-cvs-annotate-command):
bcd7a0a4
SM
9300 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9301 * progmodes/prolog.el (prolog-consult-compile):
9302 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9303 Use add/remove-function instead.
9304 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9305 (gud-tooltip-process-output, gud-tooltip-tips):
9306 Use add/remove-function instead.
9307 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9308 (scheme-interaction-mode, exit-scheme-interaction-mode):
9309 Use add/remove-function instead.
9310
9311 * vc/vc-dispatcher.el: Use lexical-binding.
9312 (vc--process-sentinel): Rename from vc-process-sentinel.
9313 Change last arg to be the code to run. Don't use vc-previous-sentinel
9314 and vc-sentinel-commands any more.
9315 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9316 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9317
e36b2d20 93182013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9319
bcd7a0a4 9320 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9321 Handle function names with a single character. (Bug#14111)
4d3268ba 9322
781b4af6 93232013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9324
9325 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9326 for subroutines defined in an eval (bug#14182).
9327
7d688336
TV
93282013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9329
9330 * bookmark.el (bookmark-completing-read): Improve handling of empty
9331 string (bug#14176).
9332
31dcede0
SM
93332013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9336
adc31213
FEG
93372013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9338
9339 New faster Imenu implementation (bug#14058).
9340 * progmodes/python.el:
9341 (python-imenu-prev-index-position):
9342 (python-imenu-format-item-label-function)
9343 (python-imenu-format-parent-item-label-function)
9344 (python-imenu-format-parent-item-jump-label-function):
9345 New vars.
9346 (python-imenu-format-item-label)
9347 (python-imenu-format-parent-item-label)
9348 (python-imenu-format-parent-item-jump-label)
9349 (python-imenu--put-parent, python-imenu--build-tree)
9350 (python-imenu-create-index, python-imenu-create-flat-index)
9351 (python-util-popn): New functions.
9352 (python-mode): Set imenu-create-index-function to
9353 python-imenu-create-index.
9354
cdca8255
SM
93552013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * winner.el (winner-active-region): Use region-active-p, activate-mark
9358 and deactivate-mark (bug#14225).
9359
9360 * simple.el (deactivate-mark): Don't inline it.
9361
beb42340
MA
93622013-04-18 Michael Albinus <michael.albinus@gmx.de>
9363
9364 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9365
fc7f4d7e
TH
93662013-04-18 Tassilo Horn <tsdh@gnu.org>
9367
9368 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9369 file extensions from the archive-mode entry in order to prefer
9370 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9371
29f47822
LL
93722013-04-18 Leo Liu <sdl.web@gmail.com>
9373
9374 * bindings.el (help-event-list): Add ?\?.
9375
d36ed1c8
SM
93762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * subr.el (with-wrapper-hook): Declare obsolete.
9379 * simple.el (filter-buffer-substring-function): New hook.
9380 (filter-buffer-substring): Use it.
9381 (filter-buffer-substring-functions): Mark obsolete.
9382 * minibuffer.el (completion-in-region-function): New hook.
9383 (completion-in-region): Use it.
9384 (completion-in-region-functions): Mark obsolete.
9385 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9386 * abbrev.el (abbrev-expand-function): New hook.
9387 (expand-abbrev): Use it.
9388 (abbrev-expand-functions): Mark obsolete.
9389 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9390 and :filter-return.
9391
04754d36
FEG
93922013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9393
9394 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9395 and do not care about match data.
9396
dd8791e9
SM
93972013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9400 completion tables when completing error conditions and
9401 `declare' arguments.
9402 (lisp-complete-symbol, field-complete): Mark as obsolete.
9403 (check-parens): Unmatched parens are user errors.
9404 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9405
ffe54a13
AM
94062013-04-17 Michal Nazarewicz <mina86@mina86.com>
9407
dd8791e9
SM
9408 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9409 command changed buffer (ie. `flyspell-pre-buffer' is not current
9410 buffer), which prevents making decisions based on invalid value of
9411 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9412 cause an error when `flyspell-pre-point' was nil after switching
9413 buffers.
9414 (flyspell-post-command-hook): No longer needs to change buffers when
9415 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9416
ec7e39f2
AM
94172013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9418
9419 * textmodes/ispell.el (ispell-add-per-file-word-list):
9420 Fix `flyspell-correct-word-before-point' error when accepting
9421 words and `coment-padding' is an integer by using
9422 `comment-normalize-vars' (Bug #14214).
9423
083850a6
FEG
94242013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9425
9426 New defun movement commands.
9427 * progmodes/python.el (python-nav--syntactically)
9428 (python-nav--forward-defun, python-nav-backward-defun)
9429 (python-nav-forward-defun): New functions.
9430
619ed6e1
FEG
94312013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9432
9433 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9434 (python-syntax-context): Use named compiler-macro for backwards
9435 compatibility with Emacs 24.x.
9436
7a1beb6c
LL
94372013-04-17 Leo Liu <sdl.web@gmail.com>
9438
9439 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9440 octave-hide-process-buffer.
9441
2d3fa3e5
SM
94422013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9445 (bug#14216).
9446
7ce5be54
JPG
94472013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9448
9449 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9450 Fix adjustment of offset when receiving incomplete responses from GDB
9451 (bug#14129).
9452
351edece
SM
94532013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9456 python-mode-abbrev-table.
9457 (python-skeleton-define): Adjust accordingly.
9458 (python-mode-abbrev-table): New table that inherits from it so that
9459 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9460
9461 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9462 (abbrev-symbol): Use it.
9463 (abbrev--before-point): Use it since we already handle inheritance.
9464
613f9481
LL
94652013-04-16 Leo Liu <sdl.web@gmail.com>
9466
9467 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9468 binding to info-lookup-symbol.
9469
51646b62
JB
94702013-04-16 Juanma Barranquero <lekktu@gmail.com>
9471
9472 * minibuffer.el (completion--twq-all):
9473 * term/ns-win.el (ns-initialize-window-system):
9474 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9475
efb3f01d
SM
94762013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9477
36c0a301
SM
9478 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9479 global bindings.
9480
efb3f01d
SM
9481 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9482
fb549d64
DG
94832013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9484
9485 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9486 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9487 to nil.
9488 (ruby-end-of-defun): Remove the unused arg, change the docstring
9489 to reflect that this function is only used as the value of
9490 `end-of-defun-function'.
9491 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9492 to reflect an earlier change that beginning/end-of-defun functions
9493 jump between methods in a class definition, as well as top-level
9494 functions.
9495
21e8fe2f
SM
94962013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * minibuffer.el (minibuffer-complete): Don't just scroll
9499 a *Completions* that's been iconified.
9500 (minibuffer-force-complete): Make sure repetitions do cycle when going
9501 through completion-in-region -> minibuffer-complete.
9502
20e527d0
AM
95032013-04-15 Alan Mackenzie <acm@muc.de>
9504
9505 Correct the placement of c-cpp-delimiters when there're #s not at
9506 col 0.
9507
9508 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9509 place a submatch around the #.
21e8fe2f
SM
9510 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9511 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9512 on the #, not BOL.
9513
dabefae5
SM
95142013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9517 (advice--member-p): New arg `name'.
9518 (advice--add-function, advice-member-p): Use it (bug#14202).
9519
85c9ab64
AM
95202013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9521
9522 Reformulate java imenu-generic-expression.
9523 The old expression contained ill formed regexps.
9524
9525 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9526 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9527 (cc-imenu-java-method-arg-regexp): New defconsts.
9528 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9529 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9530 handling of spaces in the regexp.
9531
0f821d99
AM
95322013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9533
9534 * textmodes/ispell.el (ispell-command-loop): Remove
9535 flyspell highlight of a word when ispell accepts it (bug #14178).
9536
eb922adf
MA
95372013-04-15 Michael Albinus <michael.albinus@gmx.de>
9538
9539 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9540 uses code from the previous `ange-ftp-run-real-handler'.
9541 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9542 only in case that function exist. This is needed for proper
9543 unloading of Tramp.
9544
4d9a0979
TH
95452013-04-15 Tassilo Horn <tsdh@gnu.org>
9546
9547 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9548
9549 * textmodes/reftex.el (reftex-compile-variables): Use it.
9550
a829b0dc
SM
95512013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9552
91e8293c
SM
9553 * files.el (normal-mode): Only use default major-mode if no other mode
9554 was specified.
9555
830aed4d
SM
9556 * emacs-lisp/trace.el (trace-values): New function.
9557
a829b0dc
SM
9558 * files.el: Allow : in local variables (bug#14089).
9559 (hack-local-variable-regexp): New var.
9560 (hack-local-variables-prop-line, hack-local-variables): Use it.
9561
7ae9f0fb
RW
95622013-04-13 Roland Winkler <winkler@gnu.org>
9563
9564 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9565 data before it gets modified by bibtex-beginning-of-entry.
9566
6646e848
RW
95672013-04-13 Roland Winkler <winkler@gnu.org>
9568
9569 * textmodes/bibtex.el (bibtex-url): Doc fix.
9570
95712013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9572
9573 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9574 does not visit a BibTeX file, exclude it from the list of buffers
9575 returned by bibtex-initialize.
9576
0aa3616e
SB
95772013-04-13 Stephen Berman <stephen.berman@gmx.net>
9578
9579 * window.el (split-window): Remove interactive form, since as a
9580 command this function is a special case of split-window-below.
9581 Correct doc string.
9582
011cddd6
RW
95832013-04-12 Roland Winkler <winkler@gnu.org>
9584
9585 * faces.el (read-face-name): Do not override value of arg default.
9586 Allow single faces and strings as default values. Remove those
9587 elements from return value that are not faces.
9588 (describe-face): Simplify.
9589 (face-at-point): New optional args thing and multiple so that this
9590 function can provide the same functionality previously provided by
9591 read-face-name.
9592 (make-face-bold, make-face-unbold, make-face-italic)
9593 (make-face-unitalic, make-face-bold-italic, invert-face)
9594 (modify-face, read-face-and-attribute): Use face-at-point.
9595
9596 * cus-edit.el (customize-face, customize-face-other-window)
9597 * cus-theme.el (custom-theme-add-face)
9598 * face-remap.el (buffer-face-set)
9599 * facemenu.el (facemenu-set-face): Use face-at-point.
9600
f24e0036
MA
96012013-04-12 Michael Albinus <michael.albinus@gmx.de>
9602
9603 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9604
da3cda2d
TH
96052013-04-10 Tassilo Horn <tsdh@gnu.org>
9606
9607 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9608 off leading { and trailing } from field values.
9609
15e54145
SM
96102013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9611
78ce603d
SM
9612 * emacs-lisp/timer.el (timer--check): New function.
9613 (timer--time, timer-set-function, timer-event-handler): Use it.
9614 (timer-set-idle-time): Simplify.
9615 (timer--activate): CSE.
9616 (timer-event-handler): Give more info in error message.
9617 (internal-timer-start-idle): New function, moved from C.
9618
15e54145
SM
9619 * mpc.el (mpc-proc): Add `restart' argument.
9620 (mpc-proc-cmd): Use it.
9621 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9622 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9623 less often.
9624
7144c627
MY
96252013-04-10 Masatake YAMATO <yamato@redhat.com>
9626
9627 * progmodes/sh-script.el: Implement `sh-mode' own
9628 `add-log-current-defun-function' (bug#14112).
9629 (sh-current-defun-name): New function.
9630 (sh-mode): Use the function.
9631
b39792eb
BG
96322013-04-09 Bastien Guerry <bzg@gnu.org>
9633
9634 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9635
8acdeb71
SM
96362013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9637
6fcdab68
SM
9638 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9639
8acdeb71
SM
9640 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9641 timer (bug#14156).
9642
e3e7b504
NF
96432013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9644
9645 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9646 declaration.
9647
201bb296
LL
96482013-04-07 Leo Liu <sdl.web@gmail.com>
9649
9650 * pcmpl-x.el: New file.
9651
ebb19708
DA
96522013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9653
9654 Do not set x-display-name until X connection is established.
9655 This is needed to prevent from weird situation described at
9656 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9657 * frame.el (make-frame): Set x-display-name after call to
9658 window system initialization function, not before.
9659 * term/x-win.el (x-initialize-window-system): Add optional
9660 display argument and use it.
9661 * term/w32-win.el (w32-initialize-window-system):
9662 * term/ns-win.el (ns-initialize-window-system):
9663 * term/pc-win.el (msdos-initialize-window-system):
9664 Add compatible optional display argument.
9665
33bb237a
EZ
96662013-04-06 Eli Zaretskii <eliz@gnu.org>
9667
9668 * files.el (normal-backup-enable-predicate): On MS-Windows and
9669 MS-DOS compare truenames of temporary-file-directory and of the
9670 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9671 don't fail comparison by compare-strings. Also, compare file
9672 names case-insensitively on MS-Windows and MS-DOS.
9673
134abf1f
SM
96742013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9677 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9678
d695cb94
DG
96792013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9680
e3e7b504
NF
9681 * whitespace.el (whitespace-color-on, whitespace-color-off):
9682 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9683
f4ad7ea1 96842013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9685
9686 * ispell.el (ispell-set-spellchecker-params):
9687 Really set `ispell-args' for all equivs.
9688
632556e4
SM
96892013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * ido.el (ido-completions): Use extra elements of ido-decorations
9692 (bug#14143).
9693 (ido-decorations): Update docstring.
9694
2a417372
MA
96952013-04-05 Michael Albinus <michael.albinus@gmx.de>
9696
9697 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9698 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9699 nil during initialization, in order not to miss changes since the
9700 file was opened. (Bug#14140)
9701
fc164b0c
LL
97022013-04-05 Leo Liu <sdl.web@gmail.com>
9703
9704 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9705
0ccecc08
JB
97062013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9707
9708 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9709
51af1aa2
GM
97102013-04-04 Glenn Morris <rgm@gnu.org>
9711
9712 * electric.el (electric-pair-inhibit-predicate): Add :version.
9713
b208ebc6
SM
97142013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9717 when a package is required several times (bug#14082).
9718
f3d3eaf0
RW
97192013-04-04 Roland Winkler <winkler@gnu.org>
9720
9721 * faces.el (read-face-name): Behave as promised by the docstring.
9722 Assume that arg default is a list of faces.
9723 (describe-face): Call read-face-name with list of default faces.
9724
2575da50
TV
97252013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9726
9727 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9728 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9729 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9730 the header.
9731 (bookmark-exit-hook-internal): Save even if list is empty.
9732
397703b4
YH
97332013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9734
9735 * emacs-lisp/package.el (package-pinned-packages): New var.
9736 (package--add-to-archive-contents): Obey it (bug#14118).
9737
691e26ae
AM
97382013-04-03 Alan Mackenzie <acm@muc.de>
9739
8a621d53
JB
9740 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9741 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9742
9743 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9744 parameter `not-in-delimiter'. Handle being inside comment opener.
9745 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9746 character in case we're typing a '*' after a '/'.
9747 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9748 instead by passing the parameter to c-state-pp-to-literal.
9749
9750 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9751 for elt. 7 of a parse state.
9752
4b725a70
PE
97532013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9754
9755 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9756 * international/latin1-disp.el, international/mule-util.el:
9757 * language/cyril-util.el, language/european.el, language/ind-util.el:
9758 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9759 * language/tibetan.el, language/viet-util.el:
9760 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9761
15c579f0
SM
97622013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9765 (electric-pair-post-self-insert-function): Use it.
9766 (electric-pair-default-inhibit): New function, extracted from
9767 electric-pair-post-self-insert-function.
9768
a77e2924
RW
97692013-03-31 Roland Winkler <winkler@gnu.org>
9770
9771 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9772
2bd8a4a8
SM
97732013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9776
8d3655be 97772013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9778
9779 Un-indent after "pass" and "return" statements (Bug#13888)
9780 * progmodes/python.el (python-indent-block-enders): New var.
9781 (python-indent-calculate-indentation): Use it.
9782
8d3655be 97832013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9784
9785 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9786 defun. Defining it as defalias could introduce too eager
9787 byte-compiler optimization. (Bug#14030)
9788
8d3655be 97892013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9790
9791 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9792
0b1619da
LL
97932013-03-30 Leo Liu <sdl.web@gmail.com>
9794
9795 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9796 (kmacro-execute-from-register): Pass the keyboard macro to
9797 kmacro-call-macro or repeating won't work correctly.
9798
0b938190
TZ
97992013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9800
9801 * progmodes/subword.el: Back to using `forward-symbol'.
9802
9803 * subr.el (forward-whitespace, forward-symbol)
9804 (forward-same-syntax): Move from thingatpt.el.
9805
35710234
LL
98062013-03-29 Leo Liu <sdl.web@gmail.com>
9807
9808 * kmacro.el (kmacro-to-register): New command.
9809 (kmacro-execute-from-register): New function.
9810 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9811
efc0bb73
SM
98122013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * mpc.el: Use defvar-local and setq-local.
9815 (mpc--proc-connect): Connection failures are not bugs.
9816 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9817 (mpc-volume-map): Bind to the up-events.
9818
75a2f981
TZ
98192013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9820
9821 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9822 instead of `forward-symbol'.
9823
17c781d1
SM
98242013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9827 (edebug--recursive-edit): Use it.
9828 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9829 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9830
f67bfbcf
LL
98312013-03-28 Leo Liu <sdl.web@gmail.com>
9832
9833 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9834
b59f639d
EZ
98352013-03-27 Eli Zaretskii <eliz@gnu.org>
9836
9837 * facemenu.el (list-colors-callback): New defvar.
9838 (list-colors-redisplay): New function.
9839 (list-colors-display): Install list-colors-redisplay as the
9840 revert-buffer-function. (Bug#14063)
9841
f557c1b1
SM
98422013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9843
b1da2957
SM
9844 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9845 and suffixes don't overlap (bug#14061).
9846
f557c1b1
SM
9847 * case-table.el: Use lexical-binding.
9848 (case-table-get-table): New function.
9849 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9850
002668e1
TZ
98512013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9852
9853 * progmodes/subword.el: Add `superword-mode' to do word motion
9854 over symbol_words (parallels and leverages `subword-mode' which
9855 does word motion inside MixedCaseWords).
9856
73572c72
AG
98572013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9858
78b8f320 9859 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9860 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9861
69b2c07e
SM
98622013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9865 Change return value to be a sexp. Delay `get-buffer' to after
9866 restoring the desktop (bug#13951).
9867
08bb5ee2
LL
98682013-03-26 Leo Liu <sdl.web@gmail.com>
9869
9870 * register.el: Move semantic tag handling back to
9871 cedet/semantic/senator.el. (Bug#14052)
9872
8d4c974e
SM
98732013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9876 into the prompt either (bug#13963).
9877
b234d92c
SM
98782013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9881 part of "(error-foo)".
9882
ddfa3cb4
JL
98832013-03-24 Juri Linkov <juri@jurta.org>
9884
9885 * replace.el (list-matching-lines-prefix-face): New defcustom.
9886 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9887 `occur-engine' if `face-differs-from-default-p' returns t.
9888 (occur-engine): Add `,' inside backquote construct to evaluate
9889 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9890 Pass `prefix-face' to the functions `occur-context-lines' and
9891 `occur-engine-add-prefix'.
9892 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9893 `prefix-face' and propertize the prefix with `prefix-face'.
9894 (Bug#14017)
9895
7b0e2f85
LL
98962013-03-24 Leo Liu <sdl.web@gmail.com>
9897
9898 * nxml/rng-valid.el (rng-validate-while-idle)
9899 (rng-validate-quick-while-idle): Guard against deleted buffer.
9900 (Bug#13999)
9901
9902 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9903 is the last entry in kill-buffer-hook.
9904
9905 * files.el (kill-buffer-hook): Doc fix.
9906
b3082f49
DG
99072013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9908
b234d92c
SM
9909 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9910 Make it safe-local.
bde73d27 9911
b3082f49
DG
9912 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9913
a320a2db
LL
99142013-03-23 Leo Liu <sdl.web@gmail.com>
9915
7e74b0fb
LL
9916 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9917 Remove.
9918
9919 * nxml/rng-valid.el (rng-validate-mode)
9920 (rng-after-change-function, rng-do-some-validation):
9921 * nxml/rng-maint.el (rng-validate-buffer):
9922 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9923 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9924 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9925 (nxml-extend-after-change-region): Use with-silent-modifications.
9926
a320a2db
LL
9927 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9928 timer-idle-list.
9929
9930 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9931 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9932 timer-idle-list. (Bug#13999)
9933
e38e6780
JL
99342013-03-23 Juri Linkov <juri@jurta.org>
9935
9936 * info.el (info-index-match): New face.
9937 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9938 main pattern and add text properties with the new face to matches
9939 in index entries relative to the beginning of the index entry.
9940 (Bug#14015)
9941
e8cc7880
DE
99422013-03-21 Eric Ludlam <zappo@gnu.org>
9943
9944 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9945 Inhibit read only while inserting objects.
9946
9bb0d822
TZ
99472013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9948
9949 * progmodes/cfengine.el: Update docs to mention
9950 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9951 symbol motion. Remove "_" from the word syntax.
9952
aa703640
TZ
99532013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9954
9955 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9956 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9957
afff09d0
JL
99582013-03-20 Juri Linkov <juri@jurta.org>
9959
9960 * info.el (Info-next-reference-or-link)
9961 (Info-prev-reference-or-link): New functions.
9962 (Info-next-reference, Info-prev-reference): Use them.
9963 (Info-try-follow-nearest-node): Handle footnote navigation.
9964 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9965
9a1ff164
SM
99662013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9969 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9970
2667d15d
PE
99712013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9972
9973 Suppress unnecessary non-ASCII chatter during build process.
9974 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9975 (batch-skkdic-convert): Suppress most of the chatter.
9976 It's not needed so much now that machines are faster,
9977 and its non-ASCII component was confusing; see Dmitry Gutov in
9978 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9979
438b0579
LL
99802013-03-20 Leo Liu <sdl.web@gmail.com>
9981
9982 * ido.el (ido-chop): Fix bug#10994.
9983
c128ab07
DG
99842013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9985
9986 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9987 Remove vars.
9a1ff164
SM
9988 (whitespace-color-on, whitespace-color-off):
9989 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9990
0e6008c5
SM
99912013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9994 remapping in mode-line.
9995 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9996
627b52b0
DG
99972013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9998
9999 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10000 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10001 (whitespace-font-lock-keywords): Change description.
10002 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10003 the constructed keywords instead.
10004 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10005
50c3a20b
LL
100062013-03-19 Leo Liu <sdl.web@gmail.com>
10007
10008 * progmodes/compile.el (compilation-display-error): New command.
10009 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10010 C-o. (Bug#13992)
10011
2aa2157b
PE
100122013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10013
10014 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10015
e477dbfa
JD
100162013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10017
10018 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10019
64ab82d1
MA
100202013-03-18 Michael Albinus <michael.albinus@gmx.de>
10021
10022 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10023
10024 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10025 * net/tramp-gvfs.el (top):
10026 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10027 (tramp-handle-shell-command): Use it.
10028 (tramp-dissect-file-name): Raise an error when hostname is a
10029 method name, and neither method nor user is specified.
10030
10031 * net/trampver.el: Update release number.
10032
33cef733
LL
100332013-03-18 Leo Liu <sdl.web@gmail.com>
10034
10035 Make sure eldoc can be turned off properly.
10036 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10037 eldoc-mode.
10038 (eldoc-display-message-p): Revert last change.
10039 (eldoc-display-message-no-interference-p)
10040 (eldoc-print-current-symbol-info): Tweak.
10041
2167b7b2
TH
100422013-03-18 Tassilo Horn <tsdh@gnu.org>
10043
10044 * doc-view.el (doc-view-new-window-function): Check the new window
10045 overlay's display property instead the char property of the
10046 buffer's first char. Use `with-selected-window' instead of
10047 `save-window-excursion' with `select-window'.
10048 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10049 display property instead the char property of the buffer's first char.
2167b7b2 10050
982efbcd
PE
100512013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10052
10053 Automate the build of ja-dic.el (Bug#13984).
10054 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10055 from the input, rather than assume that it's been done for us by the
10056 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10057 the current date into a ja-dic.el comment, as that complicates
10058 regression testing.
10059
2fcc7665
SM
100602013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * whitespace.el: Fix double evaluation.
10063 (whitespace-space, whitespace-hspace, whitespace-tab)
10064 (whitespace-newline, whitespace-trailing, whitespace-line)
10065 (whitespace-space-before-tab, whitespace-indentation)
10066 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10067 obsolete defvars.
10068 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10069 (whitespace-color-on): Use a single font-lock-add-keywords call.
10070 Fix double-evaluation of face variables.
10071
67c0a6e6
MA
100722013-03-17 Michael Albinus <michael.albinus@gmx.de>
10073
2fcc7665
SM
10074 * net/tramp-adb.el (tramp-adb-parse-device-names):
10075 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10076 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10077
69489f1d
LL
100782013-03-17 Leo Liu <sdl.web@gmail.com>
10079
10080 Extend eldoc to display info in the mode-line. (Bug#13978)
10081 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10082 (eldoc-mode-line-string): New variable.
10083 (eldoc-minibuffer-message): New function.
10084 (eldoc-message-function): New variable.
10085 (eldoc-message): Use it.
10086 (eldoc-display-message-p)
2fcc7665
SM
10087 (eldoc-display-message-no-interference-p):
10088 Support eldoc-post-insert-mode.
69489f1d
LL
10089
10090 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10091 (eval-expression): Run it.
10092
9c44569e
RW
100932013-03-17 Roland Winkler <winkler@gnu.org>
10094
10095 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10096 strings in the list of return values.
10097
327f1f6f
JB
100982013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10099
10100 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10101 radix before checking for HMS forms.
10102
67ed8fcd
LL
101032013-03-16 Leo Liu <sdl.web@gmail.com>
10104
10105 * progmodes/scheme.el: Add indentation and font-locking for λ.
10106 (Bug#13975)
10107
78be8b64 101082013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10109
10110 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10111 token before point (bug#13942).
10112
78be8b64 101132013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10114
95b43468 10115 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10116
98e775e6
EZ
101172013-03-16 Eli Zaretskii <eliz@gnu.org>
10118
10119 * startup.el (command-line-normalize-file-name): Fix handling of
10120 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10121 <xfq.free@gmail.com> in
10122 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10123
2edd6029
MA
101242013-03-15 Michael Albinus <michael.albinus@gmx.de>
10125
10126 Sync with Tramp 2.2.7.
10127
10128 * net/trampver.el: Update release number.
10129
d35f5864
TH
101302013-03-14 Tassilo Horn <tsdh@gnu.org>
10131
e903c210 10132 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10133 (doc-view-insert-image): Don't modify overlay associated to
10134 non-live windows, and implement horizontal centering of image in
10135 case it's smaller than the window.
10136 (doc-view-new-window-function): Force redisplay of new windows on
10137 doc-view buffers.
d35f5864 10138
1c4a85ed
KF
101392013-03-13 Karl Fogel <kfogel@red-bean.com>
10140
10141 * saveplace.el (save-place-alist-to-file): Don't sort
10142 `save-place-alist', just pretty-print it (bug#13882).
10143
85b66a21
MA
101442013-03-13 Michael Albinus <michael.albinus@gmx.de>
10145
a020afb9
JB
10146 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10147 Check whether `default-file-name-coding-system' is bound.
10148 It isn't in XEmacs.
85b66a21 10149
175600da
SM
101502013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10151
e7f7cb1a
SM
10152 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10153 backquotes for `obsolete' (bug#13929).
10154
175600da
SM
10155 * international/mule.el (find-auto-coding): Include file name in
10156 obsolescence warning (bug#13922).
10157
ca68a22e
TZ
101582013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10159
10160 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10161 for CFEngine 3-specific indentation.
10162 (cfengine3-indent-line): Use it. Fix up category regex.
10163 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10164
940e5099
SM
101652013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * type-break.el (type-break-file-name):
10168 * textmodes/remember.el (remember-data-file):
10169 * strokes.el (strokes-file):
10170 * shadowfile.el (shadow-initialize):
10171 * saveplace.el (save-place-file):
10172 * ps-bdf.el (bdf-cache-file):
10173 * progmodes/idlwave.el (idlwave-config-directory):
10174 * net/quickurl.el (quickurl-url-file):
10175 * international/kkc.el (kkc-init-file-name):
10176 * ido.el (ido-save-directory-list-file):
10177 * emulation/viper.el (viper-custom-file-name):
10178 * emulation/vip.el (vip-startup-file):
10179 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10180 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10181
cc725808
PE
101822013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10183
10184 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10185 * language/thai-word.el: Switch to UTF-8.
10186
a020afb9 10187See ChangeLog.16 for earlier changes.
e3d51b27
MR
10188
10189;; Local Variables:
10190;; coding: utf-8
e3d51b27
MR
10191;; End:
10192
ab422c4d 10193 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10194
10195 This file is part of GNU Emacs.
10196
10197 GNU Emacs is free software: you can redistribute it and/or modify
10198 it under the terms of the GNU General Public License as published by
10199 the Free Software Foundation, either version 3 of the License, or
10200 (at your option) any later version.
10201
10202 GNU Emacs is distributed in the hope that it will be useful,
10203 but WITHOUT ANY WARRANTY; without even the implied warranty of
10204 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10205 GNU General Public License for more details.
10206
10207 You should have received a copy of the GNU General Public License
10208 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.