* src/xdisp.c (redisplay_internal): Don't call set_window_update_flags.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f9b697dd
GM
12013-11-30 Glenn Morris <rgm@gnu.org>
2
3 Stop keeping (most) generated cedet grammar files in the repository.
4 * Makefile.in (semantic): New.
5 (compile-main): Depend on semantic.
6
da048127
SM
72013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8
7784b779
SM
9 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
10 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
11
4e36a6a6
SM
12 * uniquify.el (uniquify-buffer-name-style): Change default.
13
14 * loadup.el: Preload "uniquify".
15
e0ba1308
SM
16 * time.el (display-time-update): Update all mode lines (bug#15999).
17
da048127
SM
18 * electric.el (electric-indent-mode): Enable by default.
19 * loadup.el: Preload "electric".
20
015b3b3e
BB
212013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
22
23 * emacs-lisp/helpers.el (string-empty-p): New function.
24 (string-blank-p): New function.
25
7efb806d
AP
262013-11-29 Andreas Politz <politza@hochschule-trier.de>
27
28 * imenu.el (imenu--index-alist): Add missing dot to the docstring
29 (Bug#14029).
30
c8f0efc2
AP
312013-11-29 Andreas Politz <politza@fh-trier.de>
32 * imenu.el (imenu--subalist-p): Don't error on non-conses and
33 allow non-lambda lists as functions.
34 (imenu--in-alist): Don't recurse into non-subalists.
35 (imenu): Don't pass function itself as an argument (Bug#14029).
36
bd15d9d1
SM
372013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * progmodes/python.el (python-mode-map): Remove binding for ":".
40 (python-indent-electric-colon): Remove command.
41 (python-indent-post-self-insert-function): Integrate the previous code
42 of python-indent-electric-colon. Make it conditional on
43 electric-indent-mode.
44 (python-mode): Add ?: to electric-indent-chars.
45 Move python-indent-post-self-insert-function to the end of
46 post-self-insert-hook.
47
1b10adb6
SM
482013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
49
655ab9a3
SM
50 * doc-view.el (doc-view-goto-page): Update mode-line.
51
1b10adb6
SM
52 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
53
7e3bf78c
GM
542013-11-27 Glenn Morris <rgm@gnu.org>
55
56 * international/charprop.el, international/uni-bidi.el:
57 * international/uni-category.el, international/uni-combining.el:
58 * international/uni-comment.el, international/uni-decimal.el:
59 * international/uni-decomposition.el, international/uni-digit.el:
60 * international/uni-lowercase.el, international/uni-mirrored.el:
61 * international/uni-name.el, international/uni-numeric.el:
62 * international/uni-old-name.el, international/uni-titlecase.el:
63 * international/uni-uppercase.el:
64 Remove generated files from VCS repository.
65
fb6a5d68
EZ
662013-11-27 Eli Zaretskii <eliz@gnu.org>
67
68 * filenotify.el (file-notify-add-watch): Don't special-case
69 w32notify when computing the directory to watch.
70
cb6c95a3
GM
712013-11-27 Glenn Morris <rgm@gnu.org>
72
20372d0c
GM
73 Make bootstrap without generated uni-*.el files possible again.
74 * loadup.el: Update command-line-args checking for unidata-gen.
75 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
76 * composite.el, international/characters.el:
77 Handle unicode tables being undefined.
78
52d6635f 79 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
80 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
81 (compile-main): Depend on leim rule.
82 (leim): New rule.
83 * loadup.el: Move leim-list.el to leim/ subdirectory.
84 * startup.el (normal-top-level): No more leim directory.
85 * international/ja-dic-cnv.el (skkdic-convert):
86 Disable version-control and autoloads in output files.
87 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
88 Disable version-control and autoloads in output files.
89 * leim/quail: Move here from ../leim.
90 * leim/quail/hangul.el (hangul-input-method-activate):
91 Add autoload cookie.
92 (generated-autoload-load-name): Set file-local value.
93 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
94 (generated-autoload-load-name): Set file-local value.
95
e47112ee
TZ
962013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
97
98 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
99 (eww-add-bookmark): ask confirmation when add to bookmarks
100 (eww-quit): ask confirmation before quitting eww
101
0e2c793f
EZ
1022013-11-26 Eli Zaretskii <eliz@gnu.org>
103
104 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
105 reading output from Diff on MS-Windows and MS-DOS.
106
447bdcb8
BB
1072013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
108
109 * emacs-lisp/helpers.el (string-reverse): New function.
110
5fbf6856
MA
1112013-11-26 Michael Albinus <michael.albinus@gmx.de>
112
113 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
114 names on MS Windows, like "/[::1]:".
115
116 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
117 SWITCHES.
118
624780f0
GM
1192013-11-26 Glenn Morris <rgm@gnu.org>
120
0bf3f0fa
GM
121 * progmodes/python.el (python-indent-guess-indent-offset):
122 Avoid corner-case error. (Bug#15975)
123
624780f0
GM
124 Preload leim-list.el. (Bug#4789)
125 * loadup.el: Load leim-list.el when found.
126 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
127
4301875e 1282013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
129
130 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
131
4301875e
BB
132 * emacs-lisp/helpers.el (string-join): New function.
133
1633a815 1342013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
135
136 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
137 Mark as obsolete and replace it with a symbol property.
138 (byte-compile-form): Use new 'interactive-only property.
139 * comint.el, files.el, replace.el, simple.el:
140 Apply new 'interactive-only properly.
141
00139435
MR
1422013-11-25 Martin Rudalics <rudalics@gmx.at>
143
144 * window.el (display-buffer-at-bottom): Make sure that
145 split-window-sensibly creates the new window on bottom
146 (Bug#15961).
147
5f5b128d
DK
1482013-11-23 David Kastrup <dak@gnu.org>
149
150 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
151 on the conflict markers when available.
152 (smerge--get-marker): New function.
153 (smerge-end-re, smerge-base-re): Add subgroup.
154
623891e5
SM
1552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * frame.el (handle-focus-in, handle-focus-out): Add missing
158 interactive spec.
159
05ca27d8
MA
1602013-11-25 Michael Albinus <michael.albinus@gmx.de>
161
162 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
163 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
164
511fa0d3
SM
1652013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
166
e82ad66c
SM
167 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
168 (gomoku--last-pos): New var.
169 (gomoku--intangible-chars): New const.
170 (gomoku--intangible): New function.
171 (gomoku-mode): Use it. Derive from special-mode.
172 (gomoku-move-up): Adjust line count.
173 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
174 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
175 Simplify accordingly.
176
511fa0d3
SM
177 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
178 Remove blink-cursor code.
179 (blink-cursor-timer-function, blink-cursor-suspend):
180 Don't special-case GUIs.
181 (blink-cursor-mode): Use focus-in/out-hook.
182
6f20dd03
DG
1832013-11-25 Dmitry Gutov <dgutov@yandex.ru>
184
185 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
186 work when annotation is invisible (Bug#13886).
187
431dec31 1882013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
189
190 * json.el (json-alist-p): Only return non-nil if the alist has
191 simple keys (Bug#13518).
192
431dec31 1932013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
194
195 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
196 when control-statement is the first statement in a buffer (Bug#15956).
197
ee4f0261
DG
1982013-11-24 Dmitry Gutov <dgutov@yandex.ru>
199
200 * imenu.el (imenu-generic-skip-comments-and-strings):
201 New option (Bug#15560).
202 (imenu--generic-function): Use it.
203
c484f866
JS
2042013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
205
206 * minibuffer.el (completion--in-region-1): Scroll the correct
207 window. (Bug#13898)
208
41ce6f70
BB
2092013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
210
b55aea38
BB
211 * emacs-lisp/helpers.el: Add some string helpers.
212 (string-trim-left): Removes leading whitespace.
213 (string-trim-right): Removes trailing whitespace.
214 (string-trim): Removes leading and trailing whitespace.
215
41ce6f70
BB
216 * subr.el (string-suffix-p): New function.
217
3cfb6af3
GM
2182013-11-23 Glenn Morris <rgm@gnu.org>
219
220 * progmodes/python.el (python-shell-send-file):
221 Add option to delete file when done. (Bug#15647)
222 (python-shell-send-string, python-shell-send-region): Use it.
223
c27924b7
IS
2242013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
225
e1b01c7f
IS
226 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
227 to set buffer-read-only to t, never to nil. (Bug#15938)
228
c27924b7
IS
229 * textmodes/tex-mode.el (latex-noindent-environments):
230 Add safe-local-variable property. (Bug#15936)
231
17e0445b
GM
2322013-11-23 Glenn Morris <rgm@gnu.org>
233
92f78ea3
GM
234 * textmodes/enriched.el (enriched-mode): Doc fix.
235 * emacs-lisp/authors.el (authors-renamed-files-alist):
236 Add enriched.doc -> enriched.txt.
237
17e0445b
GM
238 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
239
965bb23a
LL
2402013-11-22 Leo Liu <sdl.web@gmail.com>
241
242 * progmodes/octave.el (inferior-octave-startup): Spit out error
243 message.
244
d19ffd64
BB
2452013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
246
247 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
248 Improve docstring.
15ba2182
BB
249 Add :version.
250 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 251
7a7567d2
LL
2522013-11-22 Leo Liu <sdl.web@gmail.com>
253
254 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
255 (Bug#15076)
8c09f64b
LL
256 (octave-help-mode): Adapt to change to help-mode-finish to use
257 derived-mode-p on 2013-09-17.
258 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 259 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 260
724bc265
LL
2612013-11-22 Leo Liu <sdl.web@gmail.com>
262
263 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
264 (inferior-octave-startup, inferior-octave-check-process)
265 (inferior-octave-track-window-width-change)
266 (octave-completion-at-point, octave-eldoc-function): Use it.
267 (octave-kill-process): Provide confirmation. (Bug#10564)
268
38637cca
LL
2692013-11-21 Leo Liu <sdl.web@gmail.com>
270
511fa0d3
SM
271 * progmodes/octave.el (octave-mode, inferior-octave-mode):
272 Fix obsolete variable comment-use-global-state.
38637cca 273
06e752b4
RS
2742013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
275
511fa0d3
SM
276 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
277 Add `octave-source-file'.
06e752b4
RS
278 (octave-source-file): New function. (Bug#15935)
279
604ede6c
TZ
2802013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
281
282 * net/eww.el (eww-local-regex): New variable.
283 (eww): Use it to detect localhost and similar.
284
b6ffa04a
LL
2852013-11-21 Leo Liu <sdl.web@gmail.com>
286
287 Add completion for command `ag'.
2021a200
LL
288 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
289 (pcomplete/ag): New function.
290 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 291
d1a6bccc
SM
2922013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
295 (bug#14646).
296 (make-obsolete): Remove interactive spec.
297
2df10228
GM
2982013-11-21 Glenn Morris <rgm@gnu.org>
299
300 * startup.el (command-line-1): Use path-separator with -L.
301
86fd16b6
TZ
3022013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
303
304 * emacs-lisp/package.el (describe-package-1): Add package archive
305 to shown fields.
306
7a12a42b
BB
3072013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
308
309 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
310 Change default to "# encoding: %s" to differentiate it from the
311 default Ruby encoding comment template.
312
dc7e8c17 3132013-11-20 era eriksson <era+emacsbugs@iki.fi>
314
315 * ses.el (ses-mode): Doc fix. (Bug#14748)
316
f0cfa5fe
LL
3172013-11-20 Leo Liu <sdl.web@gmail.com>
318
319 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
320
826dc7b6
DN
3212013-11-19 Dan Nicolaescu <dann@gnu.org>
322
323 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
324 when rebase or bisect are in progress.
325
a6e3a5d5
XF
3262013-11-19 Xue Fuqiao <xfq.free@gmail.com>
327
328 * filenotify.el (file-notify-add-watch): Doc fix.
329
f130cb76
LL
3302013-11-19 Leo Liu <sdl.web@gmail.com>
331
e0855d7d
LL
332 * obsolete/rcompile.el: Mark obsolete.
333
f130cb76 334 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
335 (compilation-goto-locus, compilation-find-file):
336 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
337 (Bug#13594)
338
339 * window.el (display-buffer-alist, display-buffer): Document the
340 new parameter no-display-ok.
341
1f35d401
SM
3422013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
343
25158c76
SM
344 * electric.el (electric-indent-mode-map): Remove.
345 (electric-indent-mode): Change the global-map instead (bug#15915).
346
347 * textmodes/text-mode.el (paragraph-indent-minor-mode):
348 Use add-function.
1f35d401 349
9bc67baa
SM
3502013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
351
986545b5
SM
352 * emacs-lisp/nadvice.el (remove-function): Align with
353 add-function's behavior.
354
9bc67baa
SM
355 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
356 (gdb--string-regexp): New constant.
357 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
358 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
359 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
360 submatch 1.
361 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
362 Adjust use accordingly.
363 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
364
56cd894e
AS
3652013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
366
367 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
368 interpolation curlies (Bug#15914).
369
014690de
JB
3702013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
371
372 * calc/calc.el (calc-context-sensitive-enter): New variable.
373 (calc-enter): Use `calc-context-sensitive-enter'.
374
7e26a6c3
TZ
3752013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
376
377 * progmodes/cfengine.el: Version bump.
378 (cfengine-cf-promises): New defcustom to locate cf-promises.
379 (cfengine3-vartypes): Add new "data" type.
380 (cfengine3--current-word): New function to get current name-like
381 word or its bounds.
382 (cfengine3--current-function): New function to look up a CFEngine
383 function's definition.
384 (cfengine3-format-function-docstring): New function.
385 (cfengine3-make-syntax-cache): New function.
386 (cfengine3-documentation-function): New function: ElDoc glue.
387 (cfengine3-completion-function): New function: completion glue.
388 (cfengine3-mode): Set `compile-command',
389 `eldoc-documentation-function', and add to
390 `completion-at-point-functions'.
391
355204dd
MA
3922013-11-16 Michael Albinus <michael.albinus@gmx.de>
393
394 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
395 `tramp-current-connection'.
396
43cebc23
DG
3972013-11-15 Dmitry Gutov <dgutov@yandex.ru>
398
399 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
400 nil/self/true/false with "end of symbol".
401
a3fed6ff
BB
4022013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
403
404 * subr.el (version-regexp-alist): Fix a typo.
405
e675b3e4
MA
4062013-11-15 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
409 "en_US.utf8" and "LC_CTYPE" to "".
410 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
411 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
412
a1f03e89
LL
4132013-11-15 Leo Liu <sdl.web@gmail.com>
414
415 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
416
5d9d9451
SM
4172013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
418
58362662
CS
419 * progmodes/gud.el (ctl-x-map):
420 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
421 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
422
6c1bf086
BB
4232013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
424
0d5363c4
BB
425 * subr.el (version-regexp-alist):
426 Recognize hg, svn and darcs versions as snapshot versions.
427
4e9fc48c
BB
428 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
429 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
430 (ruby--encoding-comment-required-p): Extract from
431 `ruby-mode-set-encoding'.
432 (ruby-mode-set-encoding): Add the ability to always insert an
433 utf-8 encoding comment. Fix and simplify coding comment update
434 logic.
6c1bf086 435
2f7e72f8
MA
4362013-11-14 Michael Albinus <michael.albinus@gmx.de>
437
438 * net/tramp-gvfs.el (top): Run init code only when
439 `tramp-gvfs-enabled' is not nil.
440 (tramp-gvfs-enabled): Check also :system bus.
441
0f137a73
SM
4422013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 Sync with upstream verilog-mode revision 78e66ba.
445 * progmodes/verilog-mode.el (verilog-end-of-defun)
446 (verilog-type-completion, verilog-get-list): Remove unused funcs.
447 (verilog-get-end-of-defun): Remove unused argument.
448 (verilog-comment-depth): Remove unused local `e'.
449 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
450 Don't pass arg to verilog-get-end-of-defun.
451
1c276bdd
GM
4522013-11-14 Glenn Morris <rgm@gnu.org>
453
454 * obsolete/assoc.el (aget): Prefix dynamic variable.
455
456 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
457
ff6ec81d
SM
4582013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * widget.el, hfy-cmap.el: Remove bogus package version number.
461
75f777b6
GM
4622013-11-13 Glenn Morris <rgm@gnu.org>
463
1d43dba1
GM
464 * replace.el (replace-eval-replacement):
465 Try to give more helpful error message. (Bug#15836)
466
ff4b7bd5
GM
467 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
468 (archive-7z-update): Avoid custom type mismatches.
469
75f777b6
GM
470 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
471
11151a06
MA
4722013-11-13 Michael Albinus <michael.albinus@gmx.de>
473
e675b3e4 474 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
475 address can be empty.
476
477 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
478 Accept nil SWITCHES.
479 (tramp-gvfs-handle-write-region): Implement APPEND.
480
7b08f97e
DG
4812013-11-12 Dmitry Gutov <dgutov@yandex.ru>
482
483 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
484 binary "|" operator and closing block args delimiter.
485 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
486 (ruby-smie--implicit-semi-p): Not after "|" operator.
487 (ruby-smie--closing-pipe-p): New function.
488 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
489 (ruby-smie-rules): Indent after "|".
490
f201cf3a
GM
4912013-11-12 Glenn Morris <rgm@gnu.org>
492
493 * ps-print.el (ps-face-attribute-list):
494 Handle anonymous faces. (Bug#15827)
495
e6f759f9
MR
4962013-11-12 Martin Rudalics <rudalics@gmx.at>
497
498 * window.el (display-buffer-other-frame): Fix doc-string.
499 (Bug#15868)
500
ecda65d4
SM
5012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * subr.el (force-mode-line-update): Delete, move to buffer.c.
504
7ce8fcc3
MA
5052013-11-11 Michael Albinus <michael.albinus@gmx.de>
506
507 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
508 (tramp-sh-handle-file-local-copy): Don't write a message when
509 saving temporary files.
510
511 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
512 both directories are remote.
513 (tramp-smb-handle-directory-files): Do not return double entries.
514 Do not expand full file names.
515 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
516 (tramp-smb-handle-write-region): Implement APPEND.
517 (tramp-smb-get-stat-capability): Fix a stupid bug.
518
7818df11
SM
5192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
522
608c2085
NT
5232013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
524
525 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
526 throwing error over malformed let/let* (bug#15814).
527
122a7e46
SM
5282013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * iswitchb.el (iswitchb-mode): Mark obsolete.
531
766284d9
GM
5322013-11-11 Glenn Morris <rgm@gnu.org>
533
534 * international/uni-bidi.el, international/uni-category.el:
535 * international/uni-name.el, international/uni-numeric.el:
536 Regenerate for Unicode 6.3.0.
537
7072a4e9
MA
5382013-11-10 Michael Albinus <michael.albinus@gmx.de>
539
540 * net/tramp.el (tramp-methods):
541 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
542 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
543
c9df215b
AS
5442013-11-09 Andreas Schwab <schwab@linux-m68k.org>
545
608c2085
NT
546 * progmodes/sh-script.el (sh-font-lock-keywords-var):
547 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 548
fa47d796
DG
5492013-11-09 Dmitry Gutov <dgutov@yandex.ru>
550
551 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 552 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
553 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
554 (ispell-complete-word): Call `ispell-lookup-words' with the value
555 independent of `ispell-look-p'.
556
1629a329
DG
5572013-11-08 Dmitry Gutov <dgutov@yandex.ru>
558
559 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
560 Not after "||".
561 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
562 their parent.
563
ad16897c
SM
5642013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
567 (ruby-font-lock-keywords): Use backquote.
568
ffa2df72
DG
5692013-11-08 Dmitry Gutov <dgutov@yandex.ru>
570
571 * progmodes/ruby-mode.el (ruby-smie--forward-token)
572 (ruby-smie--backward-token): Only consider full-string matches.
573
5b97b4c0
JD
5742013-11-08 Jan Djärv <jan.h.d@swipnet.se>
575
576 * faces.el (describe-face): Add distant-foreground.
577
71731c03
BB
5782013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
579
4e9fc48c
BB
580 * progmodes/ruby-mode.el: Improve encoding comment handling.
581 (ruby-encoding-magic-comment-style): New option.
582 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
583 (ruby--insert-coding-comment, ruby--detect-encoding):
584 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
585 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
586 to control the style of the auto-inserted encoding comment.
71731c03 587
da3b328d
DG
5882013-11-08 Dmitry Gutov <dgutov@yandex.ru>
589
ad16897c
SM
590 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
591 Use `smie-backward-sexp' with token argument.
da3b328d 592
1606c2d3
MA
5932013-11-08 Michael Albinus <michael.albinus@gmx.de>
594
595 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
596 Remove instrumentation code.
597
b0f4c320
GM
5982013-11-08 Glenn Morris <rgm@gnu.org>
599
600 * progmodes/autoconf.el (autoconf-mode):
601 Tweak comment-start-skip. (Bug#15822)
602
43668fb1
SM
6032013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
606 at bobp (bug#15826).
607 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
608
daddb3fd
DH
6092013-11-08 Darren Hoo <darren.hoo@gmail.com>
610
611 * man.el (Man-start-calling): New macro, extracted from
612 Man-getpage-in-background.
613 (Man-getpage-in-background): Use it.
614 (Man-update-manpage): New command.
615 (Man-mode-map): Bind it.
616
1f923923
DG
6172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
618
619 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
620 of "and", "or", "&&" and "||".
621 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
622 argument. Prohibit opening curly brace because it could only be a
623 block opener in that position.
daddb3fd
DH
624 (ruby-smie--forward-token, ruby-smie--backward-token):
625 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
626 arguments.
627 (ruby-smie--indent-to-stmt): New function, seeks the end of
628 previous statement or beginning of buffer.
629 (ruby-smie-rules): Use it.
630 (ruby-smie-rules): Check if there's a ":" before a curly block
631 opener candidate; if there is, it's a hash.
632
3220d527
SM
6332013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
636 (cl--block-wrapper): Fix last accidental change.
637
1eb1f9e0
MA
6382013-11-07 Michael Albinus <michael.albinus@gmx.de>
639
640 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
641 Instrument, in order to hunt failure on hydra.
642
e6e4db3c
NT
6432013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
644
645 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
646 malformed bindings form (bug#15814).
647
b420ccfc
DG
6482013-11-07 Dmitry Gutov <dgutov@yandex.ru>
649
650 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
651 "." compared to " @ ". This incidentally fixes some indentation
652 examples with "do".
e6e4db3c 653 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
654 (ruby-smie-grammar): New tokens: "and" and "or".
655 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
656 Exclude "and" and "or". Remove "do" in order to work around token
657 priorities.
658 (ruby-smie-rules): Add all infix tokens. Handle the case of
659 beginning-of-buffer.
b420ccfc 660
6b4ac03e
GM
6612013-11-06 Glenn Morris <rgm@gnu.org>
662
663 * Makefile.in (setwins_almost, setwins_for_subdirs):
664 Avoid accidental matches.
665
5ca114d1
SM
6662013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * menu-bar.el (popup-menu): Use key-binding.
669
f72552bd
EZ
6702013-11-06 Eli Zaretskii <eliz@gnu.org>
671
672 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
673 menus, support also the menus produced by minor modes.
674 (Bug#15817)
675
5d5c701e
LL
6762013-11-06 Leo Liu <sdl.web@gmail.com>
677
678 * thingatpt.el (thing-at-point-looking-at): Add optional arg
679 DISTANCE to bound the search. All uses changed. (Bug#15808)
680
0a8b75e2
GM
6812013-11-06 Glenn Morris <rgm@gnu.org>
682
683 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
684 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
685 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 686
a35287ea
SM
6872013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
688
feca4e2d
SM
689 * electric.el (electric-indent-just-newline): New command.
690 (electric-indent-mode-map): New keymap.
691 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
692 Re-add :group which weren't redundant.
693
a35287ea
SM
694 * electric.el (electric-indent-local-mode): New minor mode.
695 (electric-indent-functions-without-reindent): New var.
696 (electric-indent-post-self-insert-function): Use it.
697 * emacs-lisp/gv.el (buffer-local-value): Add setter.
698
375761b2
EZ
6992013-11-05 Eli Zaretskii <eliz@gnu.org>
700
9a6ad735
EZ
701 * international/quail.el (quail-help): Be more explicit about the
702 meaning of the labels shown on the keys. (Bug#15800)
703
375761b2
EZ
704 * startup.el (normal-top-level): Load the subdirs.el files before
705 setting the locale environment. (Bug#15805)
706
520a6e4a
SM
7072013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
708
0acfafef
SM
709 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
710 via arguments so as to get the right ones (bug#15418).
711
520a6e4a
SM
712 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
713
15826261
MA
7142013-11-05 Michael Albinus <michael.albinus@gmx.de>
715
716 Fix problems found while writing a test suite.
717
718 * net/tramp-compat.el (tramp-compat-load): New defun.
719 * net/tramp.el (tramp-handle-load): Use it.
720
721 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
722 "(numberp ok-if-already-exists)" correctly.
723
d35f31a4
XF
7242013-11-05 Xue Fuqiao <xfq.free@gmail.com>
725
726 * international/characters.el (glyphless-char-display-control):
727 Add usage note.
728
ae93bc74
BB
7292013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
730
520a6e4a
SM
731 * progmodes/python.el (python-mode):
732 * progmodes/scheme.el (scheme-mode):
733 * progmodes/prolog.el (prolog-mode):
734 * progmodes/ruby-mode.el (ruby-mode):
735 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
736 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 737
0ade65b5
SM
7382013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
739
a0d5f7a4
SM
740 * rect.el (rectangle--highlight-for-redisplay):
741 * emacs-lisp/smie.el (smie--next-indent-change):
742 Use buffer-chars-modified-tick.
743
c93f3f5c
SM
744 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
745
0ade65b5
SM
746 * electric.el (electric-indent-post-self-insert-function):
747 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
748
ef9dd188
HE
7492013-11-04 Helmut Eller <eller.helmut@gmail.com>
750
751 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
752
306e7308
NT
7532013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
754
755 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
756 (bug#15786).
757
e5afbcac
SM
7582013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
759
1d01ad41
SM
760 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
761
e5afbcac
SM
762 * progmodes/python.el: Fix up last change.
763 (python-shell--save-temp-file): New function.
764 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
765 `string' comes from the current buffer.
766 (python-shell-send-string-no-output): Remove `msg' arg.
767 (python--use-fake-loc): New var.
768 (python-shell-buffer-substring): Obey it. Try to compensate for the
769 extra coding line added by python-shell--save-temp-file.
770 (python-shell-send-region): Use python-shell--save-temp-file and
771 python-shell-send-file directly. Add `nomain' argument.
772 (python-shell-send-buffer): Use python-shell-send-region.
773 (python-electric-pair-string-delimiter): New function.
774 (python-mode): Use it.
775
d0065ff1
EZ
7762013-11-04 Eli Zaretskii <eliz@gnu.org>
777
778 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
779 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
780 environment and decoding all of the default-directory's to here
781 from command-line.
782 (command-line): Decode also argv[0].
783
784 * loadup.el: Error out if default-directory is a multibyte string
785 when we are dumping.
786
787 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
788
7397c587
TZ
7892013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
790
791 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
792 (package-menu--print-info, package-menu--archive-predicate):
793 Add Archive column to package list.
7397c587 794
b27cc9fc
MA
7952013-11-04 Michael Albinus <michael.albinus@gmx.de>
796
797 Fix problems found while writing a test suite.
798
799 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
800 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
801 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
802 to nil when running original file name handler. Otherwise,
803 there are problems with constructs like "$$FOO".
804
805 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
806 for `localname'.
807
d8c4f18a
BB
8082013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
809
7b530552
BB
810 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
811
812 * subr.el (version<, version<=, version=):
813 Update docstrings with information for snapshot versions.
814
d8c4f18a
BB
815 * helpers.el: New library for misc helper functions.
816 (hash-table-keys): New function returning a list of hash keys.
817 (hash-table-values): New function returning a list of hash values.
818
dca01b09
DG
8192013-11-04 Dmitry Gutov <dgutov@yandex.ru>
820
821 * progmodes/ruby-mode.el (ruby-smie--forward-token)
822 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
823
0a749fa0
MN
8242013-11-04 Michal Nazarewicz <mina86@mina86.com>
825
826 * textmodes/fill.el (fill-single-char-nobreak-p): New function
827 checking whether point is after a 1-letter word.
828
8292013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
830
831 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
832 Don't infloop when expanding region over `multiline' syntax-type that
833 begins a line (bug#15778).
834
4aca7145
SM
8352013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
838 Make it into a proper minor mode.
839 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
840 (rectangle-mark-mode-map): New keymap.
841 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
842
a0833f62
GM
8432013-11-04 Glenn Morris <rgm@gnu.org>
844
845 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
846
e61845c1
SM
8472013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
850 (ruby-smie-rules): Use smie-rule-parent instead.
851
852 * emacs-lisp/smie.el (smie-rule-parent): Always call
853 smie-indent-virtual rather than only for hanging tokens.
854 (smie--next-indent-change): New helper command.
855
62942f89
GM
8562013-11-03 Glenn Morris <rgm@gnu.org>
857
858 * Makefile.in (abs_srcdir): Remove.
859 (emacs): Unset EMACSLOADPATH.
860
b0b9e592
GM
8612013-11-02 Glenn Morris <rgm@gnu.org>
862
18ba6a33 863 * Makefile.in (EMACS): Use a relative filename.
8061810d 864 (abs_top_builddir): Remove.
18ba6a33
GM
865 (custom-deps, finder-data, autoloads): Use --chdir.
866
6a8b929e
GM
867 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
868
c617f3d0
GM
869 Use relative filenames in TAGS files.
870 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
871 (lisptagsfiles4, TAGS): Use relative file names.
872 (TAGS-LISP): Remove.
873 (maintainer-clean): No more TAGS-LISP file.
874
b0b9e592
GM
875 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
876 (lisptagsfiles4): Use absolute filenames again.
877 (TAGS, TAGS-LISP): Not everything needs to run in one line.
878 Remove all *loaddefs files, not just the first. Remove esh-groups.
879 (maintainer-clean): Delete TAGS, TAGS-LISP.
880
d1c0ea6a
BB
8812013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
882
e61845c1
SM
883 * emacs-lisp/package.el (package-version-join):
884 Recognize snapshot versions.
d1c0ea6a 885
684d71c6
BB
8862013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
887
888 * subr.el (version-regexp-alist): Add support for snapshot versions.
889
3d42b968
DG
8902013-11-02 Dmitry Gutov <dgutov@yandex.ru>
891
e61845c1
SM
892 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
893 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
894 skip over our direct parent if it's an assignment token..
895 (ruby-smie-rules): Use it.
896
7ffd3721
DG
8972013-11-02 Dmitry Gutov <dgutov@yandex.ru>
898
899 * progmodes/ruby-mode.el Use `syntax-propertize-function'
900 unconditionally. Remove now unnecessary forward declarations.
901 Remove XEmacs-specific setup.
902 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
903 (ruby-font-lock-syntactic-keywords)
904 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
905 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
906 (ruby-here-doc-end-syntax): Remove.
907 (ruby-mode): Don't check whether `syntax-propertize-rules' is
908 defined as function.
909
a3996a2e
BB
9102013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
911
912 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
913
6f9260e8
BB
9142013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
915
916 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
917 table and abbrev table, `define-derived-mode' does that for us
918 anyway.
919
6014de84
GM
9202013-11-01 Glenn Morris <rgm@gnu.org>
921
922 * Makefile.in: Remove manual mh-e dependencies (writing .elc
923 files is atomic for some time, so no parallel compilation issues).
924
3c334c14
JD
9252013-11-01 Jan Djärv <jan.h.d@swipnet.se>
926
927 * faces.el (face-x-resources): Add :distant-foreground.
928 (region): Use :distant-foreground for gtk and ns.
929
9bc236c8
TH
9302013-11-01 Tassilo Horn <tsdh@gnu.org>
931
5246583b 932 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
933 BibTeX.
934 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
935 (reftex-locate-bibliography-files): Us it.
936
d14c81ee
CB
9372013-11-01 Claudio Bley <claudio.bley@googlemail.com>
938
0e7690de
CB
939 * image.el (image-type-header-regexps): Fix the 'pbm' part to
940 allow comments in pbm files.
941
d14c81ee
CB
942 * term/w32-win.el (dynamic-library-alist): Support newer versions
943 of libjpeg starting with v7: look only for the DLL from the
944 version against which Emacs was built.
ac1bf374 945 Support versions of libpng beyond 1.4.x.
019c8218 946 Support libtiff v4.x.
d14c81ee 947
983d0df5
BB
9482013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
949
950 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
951 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
952 Add property :safe.
953 (ruby-deep-arglist): Add property :type.
954
47f58d85
GM
9552013-10-31 Glenn Morris <rgm@gnu.org>
956
957 * Makefile.in (custom-deps, finder-data): No need to setq the target
958 variables, we are in the right directory and the defaults work fine.
959
4f85b479
GM
9602013-10-30 Glenn Morris <rgm@gnu.org>
961
ca7dd4cd
GM
962 * Makefile.in (autoloads): Do not use abs_lisp.
963
4f85b479
GM
964 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
965 `newline' does not respect `standard-output', so use `princ'.
966
cf59e41c
AA
9672013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
968
969 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
970 * buff-menu.el (Buffer-menu--unmark): New function.
971 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
972
74cf04fb
GM
9732013-10-30 Glenn Morris <rgm@gnu.org>
974
b040b60e
GM
975 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
976
f53d3815
GM
977 * emacs-lisp/package.el (lm-homepage): Declare.
978
5413d873
GM
979 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
980 Fix doc typos.
981
cecedb36
GM
982 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
983
74cf04fb
GM
984 * Makefile.in (finder-data, autoloads, update-subdirs)
985 (compile-main, compile-clean, compile-always, bootstrap-clean):
986 Check return value of cd.
987 (compile-calc): Remove.
988
195ee2f0
SM
9892013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
990
ae4002ce
SM
991 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
992
993 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
994 (byte-compile-and-folded): New function.
995 (=, <, >, <=, >=): Use it.
996
997 * dos-w32.el (minibuffer-history-case-insensitive-variables)
998 (path-separator, null-device, buffer-file-coding-system)
999 (lpr-headers-switches): Check system-type before modifying them.
1000 (find-buffer-file-type-coding-system): Mark obsolete.
1001 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1002 find-file-not-found-set-buffer-file-coding-system.
1003 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1004 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1005 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1006 (w32-direct-print-region-helper, w32-direct-print-region-function)
1007 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1008 * startup.el (normal-top-level-add-subdirs-to-load-path):
1009 * ps-print.el (ps-print-region-function):
1010 * lpr.el (print-region-function): Use new name.
1011
53b39e89
SM
1012 * subr.el (custom-declare-variable-early): Remove function.
1013 (custom-declare-variable-list): Remove var.
1014 (error, user-error): Remove `while' loop.
1015 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1016 (user-emacs-directory-warning, locate-user-emacs-file):
1017 Move to files.el.
1018 * simple.el (read-quoted-char-radix, read-quoted-char):
1019 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1020 Move from subr.el.
1021 * custom.el (custom-declare-variable-list): Don't process
1022 custom-declare-variable-list.
1023
195ee2f0
SM
1024 * progmodes/python.el (python-shell-get-buffer): New function.
1025 (python-shell-get-process): Use it.
1026 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1027 Python which encoding was used. Don't split-string since we only care
1028 about the first line. Return the temp-file, if applicable.
1029 (python-shell-send-region): Tell compile.el how to turn locations in
1030 the temp-file into locations in the source buffer.
1031
7e3561ee
SM
10322013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1033
4c9797cb
SM
1034 * subr.el (undefined): Add missing behavior from the C code for
1035 unbound keys.
1036
3472b6c6
SM
1037 * rect.el: Use lexical-binding. Add new rectangular region support.
1038 (rectangle-mark): New command.
1039 (rectangle--region): New var.
1040 (deactivate-mark-hook): Reset rectangle--region.
1041 (rectangle--extract-region, rectangle--insert-for-yank)
1042 (rectangle--highlight-for-redisplay)
1043 (rectangle--unhighlight-for-redisplay): New functions.
1044 (region-extract-function, redisplay-unhighlight-region-function)
1045 (redisplay-highlight-region-function): Use them to handle
1046 rectangular region.
1047 * simple.el (region-extract-function): New var.
1048 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1049 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1050 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1051 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1052 (redisplay-unhighlight-region-function)
1053 (redisplay-highlight-region-function): New vars.
1054 (redisplay--update-region-highlight): New function.
1055 (pre-redisplay-function): Use it.
1056 (exchange-point-and-mark): Don't deactivate the mark before
1057 reactivate-it anyway.
1058 * comint.el (comint-kill-region): Remove yank-handler argument.
1059 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1060 (delete-char): Remove property, since it's now part of their
1061 default behavior.
1062 (self-insert-iso): Remove property since this command doesn't exist.
1063
7e3561ee
SM
1064 * emacs-lisp/package.el (package--download-one-archive)
1065 (describe-package-1): Don't query the user about final newline.
1066
b9bef71f
DC
10672013-10-29 Daniel Colascione <dancol@dancol.org>
1068
1069 * net/tramp.el (tramp-methods): Document new functionality.
1070 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1071 tramp-hostname-checker if method provides one instead of scanning
1072 argument list for "%h" to decide hostname acceptability.
1073
4efc33f0
MA
10742013-10-28 Michael Albinus <michael.albinus@gmx.de>
1075
1076 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1077 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1078 Handle COPY-CONTENTS. (Bug#15737)
1079
ed42a877
DU
10802013-10-28 Daiki Ueno <ueno@gnu.org>
1081
1082 * epa-file.el
7e3561ee
SM
1083 (epa-file-cache-passphrase-for-symmetric-encryption):
1084 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1085
18c9f8a2
XF
10862013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1087
7a4bc7be
XF
1088 * image.el (defimage):
1089 (image-load-path): Doc fixes.
18c9f8a2 1090
b1e8e010
AM
10912013-10-27 Alan Mackenzie <acm@muc.de>
1092
1093 Indent statements in macros following "##" correctly.
7e3561ee
SM
1094 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1095 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1096
73d40d1e 10972013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1098
1099 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1100
c8c605ac
DG
11012013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1102
1103 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1104 after `=' is probably a new expression.
1105
ca7e59d4
RS
11062013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1107
1108 * man.el (man-imenu-title): New option.
1109 (Man-mode-map): Add menu. (Bug#15722)
1110 (Man-mode): Add imenu to menu.
1111
bae91342
DG
11122013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1113
1114 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1115 specific in what the first arg can be: a non-keyword word,
1116 string/regexp/percent literal opener, opening paren, or unary
1117 operator followed directly by word.
1118
eb89dc14
SM
11192013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1122 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1123 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1124 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1125 Remove vars, they do not apply any more.
1126 (prolog-mode-abbrev-table): Remove redundant declaration.
1127 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1128 (prolog-use-smie): Remove.
1129 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1130 supported by prolog-electric-if-then-else-flag.
1131 (prolog-mode-variables, prolog-menu): Use setq-local.
1132 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1133 Remove binding to `Backspace' since this key doesn't exist anyway.
1134 Remove bindings for electric self-inserting keys.
1135 (prog-mode): Assume it's defined.
1136 (prolog-post-self-insert): New function.
1137 (prolog-mode): Use it.
1138 (prolog-indent-line, prolog-indent-level)
1139 (prolog-find-indent-of-matching-paren)
1140 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1141 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1142 (prolog-goto-next-paren, prolog-in-string-or-comment)
1143 (prolog-tokenize, prolog-inside-mline-comment)
1144 (prolog-find-start-of-mline-comment): Remove functions.
1145 (prolog-find-unmatched-paren, prolog-clause-end)
1146 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1147 (prolog-electric--if-then-else): Rename from
1148 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1149 (prolog-tokenize-searchkey): Remove const.
1150 (prolog-clause-info): Use forward-sexp.
1151 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1152 (prolog-electric-if-then-else): Remove commands.
1153 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1154 for use in post-self-insert-hook.
1155 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1156 for use in post-self-insert-hook.
1157 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1158 for use in post-self-insert-hook.
1159 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1160 adapt it for use in post-self-insert-hook.
1161
3dab0a83
MA
11622013-10-25 Michael Albinus <michael.albinus@gmx.de>
1163
1164 * emacs-lisp/ert.el (ert-run-tests-interactively):
1165 Use `completing-read'. (Bug#9756)
1166
fbfd0e1d
EZ
11672013-10-25 Eli Zaretskii <eliz@gnu.org>
1168
1169 * simple.el (line-move): Call line-move-1 instead of
1170 line-move-visual when the current window hscroll is zero, but
1171 temporary-goal-column indicates we will need to hscroll as result
1172 of the movement. (Bug#15712)
1173
963ce636
DG
11742013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1175
1176 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1177 capitalization. Use :visible instead of :active.
1178 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1179 commands that are used with SMIE.
1180 (ruby-do-end-to-brace): Insert space after `{'.
1181
a0be396a
JA
11822013-10-25 John Anthony <john@jo.hnanthony.com>
1183
f73754c9
JA
1184 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1185
1186 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1187
f5bf77df
GM
11882013-10-25 Glenn Morris <rgm@gnu.org>
1189
1190 * vc/vc.el (vc-print-log): Don't use a working revision unless
1191 one was explicitly specified. (Bug#15322)
1192
37241f62
SM
11932013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * subr.el (add-to-list): Preserve return value in compiler-macro
1196 (bug#15692).
1197
6408a65d
RS
11982013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1199
1200 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1201 result. Ask user to retry using '-all' flag. (Bug#15701)
1202
71e3276b
SM
12032013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * emacs-lisp/smie.el: New smie-config system.
1206 (smie-config): New defcustom.
1207 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1208 (smie-config-guess, smie-config-save): New commands.
1209 (smie-config--mode-local, smie-config--buffer-local)
1210 (smie-config--trace, smie-config--modefuns): New vars.
1211 (smie-config--advice, smie-config--mode-hook)
1212 (smie-config--setter, smie-config-local, smie-config--get-trace)
1213 (smie-config--guess-value, smie-config--guess): New functions.
1214 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1215 text properties. Treat "string fence" syntax like string syntax.
1216
1217 * progmodes/sh-script.el (sh-use-smie): Change default.
1218 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1219 (sh-var-value): Simplify by CSE.
1220 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1221 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1222 is used.
1223 (sh-guess-basic-offset): Use cl-incf.
1224 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1225
60db713e
HE
12262013-10-24 Helmut Eller <eller.helmut@gmail.com>
1227
1228 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1229 (bug#15699).
1230
8b251df6
GM
12312013-10-24 Glenn Morris <rgm@gnu.org>
1232
1233 * Makefile.in (abs_top_srcdir): Remove.
1234 (update-subdirs): Use relative path to update-subdirs.
1235
6be0e22b
EZ
12362013-10-24 Eli Zaretskii <eliz@gnu.org>
1237
1238 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1239 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1240 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1241 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1242
50b5b857
MA
12432013-10-24 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1246 (ert-test-skipped): New error.
1247 (ert-skip, ert-stats-skipped): New defuns.
1248 (ert--skip-unless): New macro.
1249 (ert-test-skipped): New struct.
1250 (ert--run-test-debugger, ert-test-result-type-p)
1251 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1252 (ert--stats-set-test-and-result, ert-char-for-test-result)
1253 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1254 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1255 Handle skipped tests. (Bug#9803)
50b5b857 1256
6f317c2f
GM
12572013-10-24 Glenn Morris <rgm@gnu.org>
1258
e43817c1
GM
1259 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1260
6f317c2f
GM
1261 * Makefile.in (abs_top_srcdir): New, set by configure.
1262 (update-subdirs): Correct build-aux location.
1263
369bbf71
DG
12642013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1265
8297b2cf
DG
1266 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1267 value, whether we could auto-deduce `backend', or not.
1268
369bbf71
DG
1269 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1270 with parameters" example. Simplify the "is it block or is it
1271 hash" check, but also make it more thorough.
1272
d5f1282f
MF
12732013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1274
1275 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1276
bc4aaa31
SM
12772013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1278
03d44565
SM
1279 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1280 { if it is hanging.
1281
bc4aaa31
SM
1282 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1283 :before ";".
1284
f493ff19
JB
12852013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1286
1287 * progmodes/compile.el (compilation-directory-matcher)
1288 (compilation-page-delimiter):
1289 Support GNU Make-4.0 directory quoting. (Bug#15678)
1290
c744a3b9
LL
12912013-10-23 Leo Liu <sdl.web@gmail.com>
1292
1293 * ido.el (ido-tidy): Handle read-only text.
1294
b8e3b0a9
GM
12952013-10-23 Glenn Morris <rgm@gnu.org>
1296
1297 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1298 (emacs, compile, compile-always):
1299 Quote entities that might contain whitespace.
1300 (custom-deps, finder-data, autoloads): Use abs_lisp.
1301 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1302 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1303 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1304
ee4282cd
DG
13052013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1306
bc4aaa31
SM
1307 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1308 Use `following-char'.
7790a270 1309
ee4282cd 13102013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1311
1312 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1313 * progmodes/ruby-mode.el (ruby-smie-rules):
1314 Remove corresponding workaround. Fix indentation rule of ";" so it
1315 also applies when ";" is the parent.
1316
d40a46d7
XF
13172013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1318
1319 * frame.el (display-screens, display-pixel-height)
1320 (display-pixel-width, display-mm-width, display-backing-store)
1321 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1322 (display-visual-class, display-monitor-attributes-list):
1323 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1324
a0f143c9
MG
13252013-10-22 Michael Gauland <mikelygee@amuri.net>
1326
1327 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1328 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1329
18cacc39
DG
13302013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1331
1332 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1333 TODO. Add "." after " @ ".
1334 (ruby-smie--at-dot-call): New function. Checks if point at method
1335 call with explicit target.
1336 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1337 to the method name tokens when it precedes them.
1338 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1339 (ruby-smie-rules): Add rule for indentation before and after "."
1340 token.
1341
df74c4be
SM
13422013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1343
c6dab55f
SM
1344 * textmodes/remember.el (remember-diary-extract-entries):
1345 Avoid add-to-list.
1346
df74c4be
SM
1347 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1348 an instruction.
1349
8c1ae481
DG
13502013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1351
cfef16c0
DG
1352 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1353 (ruby-smie--implicit-semi-p): Add new operator chars.
1354
8c1ae481
DG
1355 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1356 `smie-down-list'.
1357 (ruby-smie--args-separator-p): Check that there's no newline
1358 between method call and its arguments.
1359
87756ca9
AM
13602013-10-20 Alan Mackenzie <acm@muc.de>
1361
1362 Allow comma separated lists after Java "implements".
1363
df74c4be
SM
1364 * progmodes/cc-engine.el (c-backward-over-enum-header):
1365 Parse commas.
87756ca9
AM
1366 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1367 from a "disallowed" list in enum fontification.
1368
c25f8957
JB
13692013-10-20 Johan Bockgård <bojohan@gnu.org>
1370
df74c4be 1371 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1372
c25f8957
JB
1373 * progmodes/verilog-mode.el (verilog-mode): Don't set
1374 comment-indent-function globally.
1375
aca5fcdc
JD
13762013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1377
5f161884
JD
1378 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1379 Move Info menu item creation to ns-win.el.
1380
1381 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1382 in menu bar.
1383
aca5fcdc
JD
1384 * menu-bar.el: Move GNUStep specific menus...
1385
1386 * term/ns-win.el (ns-initialize-window-system): ... to here.
1387
914b7f98
SM
13882013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * simple.el (newline): Only run post-self-insert-hook when
1391 called interactively.
1392
846ffe77
JB
13932013-10-19 Johan Bockgård <bojohan@gnu.org>
1394
1395 * icomplete.el (icomplete-with-completion-tables): Add :version.
1396
033f22dd
AM
13972013-10-19 Alan Mackenzie <acm@muc.de>
1398
1399 Fix fontification bugs with constructors and const.
1400
1401 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1402 CASE 2) Remove the check for the absence of a suffix construct
1403 after a function declaration with only types (no identifiers) in
1404 the parentheses. Also, accept a function declaration with just a
1405 type inside the parentheses, if this type can be positively
1406 recognised as such, or if a prefix keyword like "explicit" nails
1407 down the construct as a declaration.
1408
58ce0cfc
EZ
14092013-10-19 Eli Zaretskii <eliz@gnu.org>
1410
1411 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1412 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1413 the problem whereby selecting a menu item that leads to a
1414 minibuffer prompt moves the cursor out of the minibuffer window,
1415 making it hard to type at the prompt. Suggested by Stefan Monnier
1416 <monnier@iro.umontreal.ca>.
1417
50e28e7d
JD
14182013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1419
1420 * menu-bar.el: Don't make Services menu.
1421
7deed4bf
RS
14222013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1423
1424 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1425 (ffap-alist): Use ffap-c++-mode for c++-mode.
1426 (ffap-c++-path): New variable.
1427 (ffap-c++-mode): New function.
1428
7bcb455b
JVJ
14292013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1430
1431 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1432
f0ff1cd5
MA
14332013-10-18 Michael Albinus <michael.albinus@gmx.de>
1434
1435 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1436 introduced on 2013-09-08, which results in an infinite loop
1437 requesting a password.
1438
d64da4b7
GM
14392013-10-18 Glenn Morris <rgm@gnu.org>
1440
1441 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1442
ea89ff08
WS
14432013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1444
1445 Sync with upstream verilog-mode revision 1a6ecec7.
1446 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1447 (verilog-mode-release-date): Remove.
1448 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1449 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1450 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1451 (verilog-auto-tieoff-ignore-regexp)
1452 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1453 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1454 (verilog-signals-with, verilog-dir-cache-preserving)
1455 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1456 Doc fixes.
1457 (verilog-case-fold): New option, to control case folding in
1458 regexp searches, bug597.
1459 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1460 (verilog-string-match-fold, verilog-in-paren-count)
1461 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1462 (verilog-at-close-struct-p): New functions.
1463 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1464 (verilog-forward-sexp, verilog-set-auto-endcomments):
1465 (verilog-leap-to-case-head): Handle "unique0" case.
1466 (verilog-in-constraint-re): New constant.
1467 (verilog-keywords, verilog-type-font-keywords):
1468 Add some SystemVerilog 1800-2012 keywords.
1469 (verilog-label-be): Remove unimplemented argument, bug669.
1470 (verilog-batch-execute-func): When batch expanding clear
1471 create-lockfiles to prevent spurious user locks when a file ends
1472 up not changing.
1473 (verilog-calculate-indent, verilog-calc-1)
1474 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1475 (verilog-do-indent): Fix indentation of nested constraints
1476 and structures.
1477 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1478 (verilog-auto-inst-param): Use verilog-string-match-fold.
1479 (verilog-read-inst-module-matcher):
1480 Fix AUTOINST on gate primitives with #1.
1481 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1482 Reads all user-defined typed variables.
1483 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1484 (verilog-signals-matching-regexp)
1485 (verilog-signals-not-matching-regexp, verilog-auto):
1486 Respect verilog-case-fold.
1487 (verilog-diff-report): Fix line count.
1488 (verilog-auto-assign-modport): Remove unused local `modi'.
1489 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1490 better handle multidimensional arrays.
1491 Fix packed array ports misadding bit index in AUTOINST, bug637.
1492 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1493 to not double-declare existing outputs and inputs, respectively.
1494 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1495 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1496 (verilog-sk-uvm-component): New skeleton.
1497 (verilog-submit-bug-report): Add verilog-case-fold,
1498 remove verilog-mode-release-date.
1499
ef566920
BR
15002013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1501
1502 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1503 as before.
1504
29df8a0b
RT
15052013-10-18 Reuben Thomas <rrt@sc3d.org>
1506
1507 * textmodes/remember.el (remember): set buffer-offer-save in
1508 remember buffers (bug#13566).
1509
04a19a79
DC
15102013-10-18 Daniel Colascione <dancol@dancol.org>
1511
1512 When evaluating forms in ielm, direct standard output to ielm
1513 buffer. Add new ielm-return-for-effect command. Remove trailing
1514 whitespace throughout.
1515
1516 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1517 (ielm-return-for-effect): New command.
1518 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1519 (ielm-eval-input): Accept optional `for-effect' parameter.
1520 Bind `standard-output' to stream we create using
04a19a79
DC
1521 `ielm-standard-output-impl'. Suppress printing result when
1522 `for-effect'.
1523 (ielm-standard-output-impl): New function.
1524 (inferior-emacs-lisp-mode): Explain new features in documentation.
1525
4c1f03ef
MA
15262013-10-17 Michael Albinus <michael.albinus@gmx.de>
1527
1528 Code cleanup.
1529
1530 * net/tramp.el (tramp-debug-message): Do not check for connection
1531 buffer.
1532 (tramp-message): Use "vector" connection property.
1533
1534 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1535 (tramp-equal-remote, tramp-eshell-directory-change)
1536 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1537 (tramp-adb-handle-rename-file)
1538 * net/tramp-cmds.el (tramp-list-remote-buffers)
1539 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1540 * net/tramp-compat.el (tramp-compat-process-running-p)
1541 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1542 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1543 (tramp-gvfs-handle-rename-file)
1544 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1545 (tramp-set-file-uid-gid)
1546 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1547 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1548 of `file-remote-p'.
1549
1550 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1551 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1552 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1553 (tramp-gw-open-network-stream): Suppress unrelated traces.
1554
1555 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1556 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1558 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1559 connection property.
1560
1561 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1562 persistency file.
4c1f03ef
MA
1563
1564 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1565 Refactor common code. Improve debug message.
1566 (tramp-maybe-open-connection)
1567 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1568 connection buffer too early.
1569
1570 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1571 from `tramp-smb-actions-with-acl'.
1572 (tramp-smb-actions-set-acl): New defconst.
1573 (tramp-smb-handle-copy-directory)
1574 (tramp-smb-action-get-acl): New defun, renamed from
1575 `tramp-smb-action-with-acl'.
1576 (tramp-smb-action-set-acl): New defun.
1577 (tramp-smb-handle-set-file-acl): Rewrite.
1578
642eb8b6
GM
15792013-10-17 Glenn Morris <rgm@gnu.org>
1580
1581 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1582
85527ff3
SM
15832013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1584
921c1d62
SM
1585 * skeleton.el (skeleton-newline): Remove.
1586 (skeleton-internal-1): Use (insert "\n") instead.
1587
e333fb10
SM
1588 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1589 let-bindings.
1590
85527ff3
SM
1591 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1592 forward-sexp-function while we redo its job (bug#15613).
1593
c8722a97
JB
15942013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1595
1596 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1597 represented by lists.
1598
7a550bbb
GM
15992013-10-16 Glenn Morris <rgm@gnu.org>
1600
1601 * tmm.el (tmm--history): New dynamic variable.
1602 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1603
f19da8ad
MA
16042013-10-16 Michael Albinus <michael.albinus@gmx.de>
1605
1606 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1607 (tramp-smb-errors): Add error messages.
1608 (tramp-smb-actions-with-acl): New defconst.
1609 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1610 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1611 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1612 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1613 (tramp-smb-get-stat-capability): Fix tests.
1614
a24b9961
DK
16152013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1616
1617 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1618 (bug#15580).
1619
62ad85e6
GM
16202013-10-16 Glenn Morris <rgm@gnu.org>
1621
0283d6b0
GM
1622 * ansi-color.el (ansi-color-drop-regexp):
1623 Add 1J, 1K, 2K. (Bug#15617)
1624
012e2f9f
GM
1625 * files.el (hack-local-variables--warned-lexical): New.
1626 (hack-local-variables):
1627 Warn about misplaced lexical-binding. (Bug#15616)
1628
62ad85e6
GM
1629 * net/eww.el (eww-render): Always set eww-current-url,
1630 and update header line. (Bug#15622)
1631 (eww-display-html): ... Rather than just doing it here.
1632
6456c0ea
EZ
16332013-10-15 Eli Zaretskii <eliz@gnu.org>
1634
1635 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1636 menu navigations commands.
1637
c2de5588
DK
16382013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1639
1640 * progmodes/subword.el (subword-capitalize): Be careful when
1641 the search for [[:alpha:]] fails (bug#15580).
1642
ccd4a783
EZ
16432013-10-14 Eli Zaretskii <eliz@gnu.org>
1644
1645 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1646 to commands that scroll the menu.
1647
1eda1d8d
DG
16482013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1649
c2de5588
DK
1650 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1651 Handle methods ending with `?' and `!'.
1eda1d8d 1652
e70181b8
AM
16532013-10-14 Akinori MUSHA <knu@iDaemons.org>
1654
1655 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1656 `japanese-cp932' to `cp932' to fix the problem where saving a
1657 source file written in Shift_JIS twice would end up having
1658 `coding: japanese-cp932' which Ruby could not recognize.
1659 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1660 in `ruby-encoding-map'.
1661 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1662 doesn't need to be explicitly declared in magic comment.
1663 (ruby-encoding-map): Add type declaration for better customize UI.
1664
9148ee92
GM
16652013-10-13 Glenn Morris <rgm@gnu.org>
1666
a5d38e34
GM
1667 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1668 Occur buffers are read-only. http://bugs.debian.org/720775
1669
9148ee92
GM
1670 * emacs-lisp/authors.el (authors-fixed-entries):
1671 Comment out old alpha stuff.
1672
a9ba094b
DG
16732013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1674
1675 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1676 to `after-save-hook' instead of `before-save-hook'.
1677 (ruby-mode-set-encoding): Use the value of coding system used to
1678 write the file. Call `basic-save-buffer-1' after modifying the
1679 buffer.
1680
7a068717
AM
16812013-10-13 Alan Mackenzie <acm@muc.de>
1682
1683 Fix indentation/fontification of Java enum with
1684 "implements"/generic.
1685
c2de5588
DK
1686 * progmodes/cc-engine.el (c-backward-over-enum-header):
1687 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1688 (c-inside-bracelist-p): Uses new function above.
1689 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1690 function above.
1691 (c-font-lock-enum-tail): Uses new function above.
1692
85b64f02
KH
16932013-10-13 Kenichi Handa <handa@gnu.org>
1694
1695 * international/mule-cmds.el (select-safe-coding-system): Remove a
1696 superfluous condition in chekcing whether a coding system is safe
1697 or not.
1698
fc7f501b
OK
16992013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1700
1701 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1702
fdcb2049
AP
17032013-10-13 Andreas Politz <politza@hochschule-trier.de>
1704
1705 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1706
8c106d17
GM
17072013-10-13 Glenn Morris <rgm@gnu.org>
1708
feab892d
GM
1709 * menu-bar.el (menu-bar-update-buffers):
1710 Unify Buffers menu prompt string. (Bug#15576)
1711
b22d0686
GM
1712 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1713
8c106d17
GM
1714 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1715 Add some entries.
1716 (authors-fixed-entries): Use accented form of name.
1717
1b12c797
SM
17182013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1719
650fa7bf 1720 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1721 method calls (bug#15594).
650fa7bf
SM
1722 (ruby-smie--args-separator-p): New function.
1723 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1724 recognize paren-free method calls.
1725
1b12c797
SM
1726 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1727 internals of universal-argument.
1728
029619c8
EZ
17292013-10-11 Eli Zaretskii <eliz@gnu.org>
1730
1731 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1732 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1733 dropped menu on second mouse click on the menu bar.
029619c8 1734
dd070019
SM
17352013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1738 (explicit-shell-file-name): Declare.
1739 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1740 (sh-completion-at-point-function): New function.
1741 (sh-mode): Use it.
1742 (sh-smie--keyword-p): Remove unused argument.
1743 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1744 vars.
1745 (sh-set-shell): Always setup SMIE, even if we use the
1746 old indentation code.
1747
0922b826
DG
17482013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1749
b68e2926
DG
1750 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1751 cases of ? and =.
1752 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1753 predicate would return nil are almost non-existent.
1754 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1755
0922b826
DG
1756 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1757 cache also after commands that modify the buffer but don't move
1758 point.
1759
ee041f2d
SM
17602013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * env.el (substitute-env-in-file-name): New function.
1763 (substitute-env-vars): Extend the meaning of the optional arg.
1764
a5dab159
EZ
17652013-10-10 Eli Zaretskii <eliz@gnu.org>
1766
1767 * term/w32-win.el (dynamic-library-alist): Define separate lists
1768 of GIF DLLs for versions before and after 5.0.0 of giflib.
1769 (Bug#15531)
1770
db138698
JT
17712013-10-10 João Távora <joaotavora@gmail.com>
1772
1773 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1774 not locked, use last revision and current source as
1775 defaults. (Bug#15569)
1776
2f6e161e
MY
17772013-10-10 Masatake YAMATO <yamato@redhat.com>
1778
1779 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1780 menu-bar is hidden.
1781
6c8413fc
MR
17822013-10-10 Martin Rudalics <rudalics@gmx.at>
1783
1784 * window.el (pop-to-buffer-same-window): Fix doc-string.
1785 (Bug#15492)
1786
20832de0
SM
17872013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1790
c6e8ae77
AC
17912013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1792
1793 * calendar/icalendar.el (icalendar-import-file):
1794 Fix interactive spec. (Bug#15482)
1795
9db13baf
GM
17962013-10-10 Glenn Morris <rgm@gnu.org>
1797
9271e90e
GM
1798 * desktop.el (desktop-save): Default to saving in .emacs.d,
1799 since PWD is no longer in desktop-path by default. (Bug#15319)
1800
9db13baf
GM
1801 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1802 now that text mode has a menu with the same entry.
1803 (menu-bar-text-mode-auto-fill): Remove now unused func.
1804 * textmodes/text-mode.el (text-mode-map):
1805 Use auto-fill help text from menu-bar.el.
1806
a0be396a 18072013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1808
1809 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1810
2edcd3c7
JL
18112013-10-09 Juri Linkov <juri@jurta.org>
1812
1813 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1814 instead of this-command-keys. Add universal-argument-more and
1815 universal-argument-minus to the list of prefix commands. (Bug#15568)
1816
574411d0
GM
18172013-10-09 Glenn Morris <rgm@gnu.org>
1818
14afa541
GM
1819 * vc/vc-svn.el (vc-svn-create-repo):
1820 Expand paths in file://... url. (Bug#15446)
1821
574411d0
GM
1822 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1823 Add some entries.
1824 (authors): Remove unused local variables.
1825
79804536
SM
18262013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * profiler.el: Create a more coherent calltree from partial backtraces.
1829 (profiler-format): Hide the tail with `invisible' so that C-s can still
1830 find the hidden elements.
1831 (profiler-calltree-depth): Don't recurse so enthusiastically.
1832 (profiler-function-equal): New hash-table-test.
1833 (profiler-calltree-build-unified): New function.
1834 (profiler-calltree-build): Use it.
1835 (profiler-report-make-name-part): Indent the calltree less.
1836 (profiler-report-mode): Add visibility specs for profiler-format.
1837 (profiler-report-expand-entry, profiler-report-toggle-entry):
1838 Expand the whole subtree when provided with a prefix arg.
1839
238150c8
DG
18402013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1843 iuwu-mod token.
1844 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1845 hanging iuwu-mod token.
1846 (ruby-smie--forward-token): Do not include a dot after a token in
1847 that token.
1848 (ruby-smie--backward-token): Likewise.
1849
b0949cc4
JL
18502013-10-08 Juri Linkov <juri@jurta.org>
1851
1852 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1853 to isearch-other-control-char.
1854 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1855 and isearch-post-command-hook to post-command-hook.
1856 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1857 and isearch-post-command-hook from post-command-hook.
1858 (isearch-unread-key-sequence)
1859 (isearch-reread-key-sequence-naturally)
1860 (isearch-lookup-scroll-key, isearch-other-control-char)
1861 (isearch-other-meta-char): Remove functions.
1862 (isearch-pre-command-hook, isearch-post-command-hook):
1863 New functions based on isearch-other-meta-char rewritten
1864 relying on the new behavior of overriding-terminal-local-map
1865 that does not replace the local keymaps any more. (Bug#15200)
1866
4ed77415
EZ
18672013-10-08 Eli Zaretskii <eliz@gnu.org>
1868
1869 Support menus on text-mode terminals.
1870 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1871 functionality.
1872
1873 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1874
c2de5588
DK
1875 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1876 Move here from mouse.el.
4ed77415
EZ
1877 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1878 and arrow keys.
1879 (tty-menu-navigation-map): New map for TTY menu navigation.
1880
1881 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1882
1883 * frame.el (display-mouse-p): Report text-mode mouse as available
1884 on w32.
1885 (display-popup-menus-p): Report availability if mouse is
1886 available; don't condition on window-system.
1887
1888 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1889 (tty-menu-selected-face): New faces.
1890
b7d5bd82
TL
18912013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1892
06286513
SM
1893 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1894 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1895 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1896 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1897 New constants.
1898 (lisp-mode-variables): New `elisp' argument.
1899 (emacs-lisp-mode): Use it.
1900 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1901 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1902
b7d5bd82
TL
1903 * indent.el: Use lexical-binding.
1904 (indent-region): Add progress reporter.
1905 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1906 last step.
1907 (indent--next-tab-stop): New function to implement this behavior.
1908 (tab-to-tab-stop, move-to-tab-stop): Use it.
1909
19102013-10-08 Teemu Likonen <tlikonen@iki.fi>
1911
1912 * indent.el (indent-rigidly--current-indentation): New function.
1913 (indent-rigidly-map): New var.
1914 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1915
5ea75d23
BG
19162013-10-08 Bastien Guerry <bzg@gnu.org>
1917
1918 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1919
cc5da1ec
SM
19202013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1921
8ffa1a0b
SM
1922 * progmodes/perl-mode.el: Use lexical-binding.
1923 Remove redundant :group args.
1924 (perl-nochange): Change default to be closer to other major modes's
1925 standard behavior.
1926 (perl-indent-line): Don't consider text on current line as a
1927 valid beginning of function from which to indent.
1928
f2223371
SM
1929 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1930 with more than one argument (bug#15538).
1931
44256060
SM
1932 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1933
cc5da1ec
SM
1934 * vc/pcvs.el: Use lexical-binding.
1935 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1936 environment of `eval'.
1937 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1938 than a list of expressions. Adjust callers.
1939 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1940
0ea1599d
DG
19412013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1944 case of the dot in a chained method call being on the following line.
0ea1599d 1945
da3e5ebb
SM
19462013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1947
2abb4e65
SM
1948 * electric.el (electric-indent-inhibit): New var.
1949 (electric-indent-post-self-insert-function): Use it.
1950 * progmodes/python.el (python-mode): Set it.
1951
d2e0e795
SM
1952 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1953 open braces.
1954
1955 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1956
bdc6b4c8
SM
1957 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1958 (css-mode): Use electric-indent-chars.
1959
da3e5ebb
SM
1960 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1961 (font-lock-beg, font-lock-end): Move before first use.
1962 (nxml-mode): Use syntax-propertize-function.
1963 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1964 (nxml-extend-after-change-region): Remove.
1965 * nxml/xmltok.el: Use lexical-binding.
1966 (xmltok-save): Use `declare'.
1967 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1968 * nxml/nxml-util.el: Use lexical-binding.
1969 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1970 Use `declare'.
1971 * nxml/nxml-ns.el: Use lexical-binding.
1972 (nxml-ns-save): Use `declare'.
1973 (nxml-ns-prefixes-for): Avoid add-to-list.
1974 * nxml/rng-match.el: Use lexical-binding.
1975 (rng--ipattern): Use cl-defstruct.
1976 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1977 (rng-cons-group-after, rng-subst-group-after)
1978 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1979 Use closures instead of `(lambda...).
1980
f8f91d5d
MA
19812013-10-07 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1984 of BEG and END.
1985
da3e5ebb
SM
1986 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1987 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1988 (tramp-gvfs-handle-insert-file-contents): Remove function.
1989
da3e5ebb
SM
1990 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1991 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1992
1993 * net/trampver.el: Update release number.
1994
7ccae3b1
SM
19952013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1996
55ca2c0d
SM
1997 * progmodes/compile.el (compilation-parse-errors):
1998 Use compilation--put-prop.
1999 (compilation--ensure-parse): Check compilation-multiline.
2000
731fc3ae
SM
2001 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2002
da3e5ebb
SM
2003 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2004 lexical-binding.
a5833280 2005
2e7ba2c2
SM
2006 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2007
7ccae3b1
SM
2008 * progmodes/ruby-mode.el: Fix recently added tests.
2009 (ruby-smie-grammar): Add - and +.
2010 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2011 (ruby-smie--backward-id): New functions.
2012 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2013 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2014 any more.
2015
85698d63
LL
20162013-10-07 Leo Liu <sdl.web@gmail.com>
2017
2018 * register.el (register-preview-delay)
2019 (register-preview-functions): New variables.
2020 (register-read-with-preview, register-preview)
2021 (register-describe-oneline): New functions.
2022 (point-to-register, window-configuration-to-register)
2023 (frame-configuration-to-register, jump-to-register)
2024 (number-to-register, view-register, insert-register)
2025 (copy-to-register, append-to-register, prepend-to-register)
2026 (copy-rectangle-to-register): Use register-read-with-preview to
2027 read register. (Bug#15525)
2028
3986af6c
DS
20292013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2030
2031 * net/network-stream.el (network-stream-open-starttls): Don't add
2032 --insecure if it's already present, because that gnutls-cli
2033 rejects getting that parameter twice.
2034
5cd9cda9
DG
20352013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2036
2037 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2038 keyword, too.
2039
da9ea6d9
DG
20402013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2041
2042 * newcomment.el (comment-use-global-state): Change default value
2043 to t, mark obsolete (Bug#15251).
2044 (comment-beginning): In addition to `comment-to-syntax', check the
2045 value of `comment-use-global-state'.
2046
34d1a133
SM
20472013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2050 (ruby-comment-column): Follow the global default, by default.
2051 (ruby-smie-grammar): Add assignment syntax.
2052 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2053 open-paren, a comma, or a \.
2054 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2055 and line continuations.
2056 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2057 followed by implicit semi-colons. Add rule for string concatenation
2058 and for indentation at BOB.
2059 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2060
2061 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2062 calling next-sexp, since next-token may have skipped chars which
2063 next-sexp doesn't know should be skipped!
2064
6f6ab820
LL
20652013-10-05 Leo Liu <sdl.web@gmail.com>
2066
34d1a133
SM
2067 * progmodes/octave.el (octave-send-region):
2068 Call compilation-forget-errors.
6f6ab820 2069
34ca0f4c
XF
20702013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2071
2072 * vc/vc-svn.el (vc-svn-find-admin-dir):
2073 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2074 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2075 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2076 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2077
a27c1b72
SM
20782013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2081
258ab3bc
SM
20822013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * subr.el (read-passwd): Hide chars even when called within a context
2085 where after-change-functions is disabled (bug#15501).
2086 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2087 until we removed ourself from overriding-terminal-local-map.
2088
939fb29c
LL
20892013-10-04 Leo Liu <sdl.web@gmail.com>
2090
258ab3bc
SM
2091 * progmodes/octave.el (inferior-octave-mode):
2092 Call compilation-forget-errors.
939fb29c 2093
63bd7f35
XF
20942013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2095
2096 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2097
9e6229fa
MA
20982013-10-04 Michael Albinus <michael.albinus@gmx.de>
2099
2100 * net/secrets.el (secrets-create-collection): Add optional
2101 argument ALIAS. Use proper Label keyword. Append ALIAS as
2102 dbus-call-method argument. (Bug#15516)
2103
1dab32a3
LL
21042013-10-04 Leo Liu <sdl.web@gmail.com>
2105
2106 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2107 (inferior-octave-compilation-font-lock-keywords): New variables.
2108 (compilation-error-regexp-alist)
2109 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2110 (inferior-octave-mode): Use compilation-shell-minor-mode.
2111
6cad7ba3
JS
21122013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2113
2114 * minibuffer.el (completion--replace): Be careful that `end' might be
2115 a marker.
2116
acbadd00
DU
21172013-10-03 Daiki Ueno <ueno@gnu.org>
2118
2119 Add support for package signature checking.
2120 * emacs-lisp/package.el (url-http-file-exists-p)
2121 (epg-make-context, epg-context-set-home-directory)
2122 (epg-verify-string, epg-context-result-for)
2123 (epg-signature-status, epg-signature-to-string)
2124 (epg-check-configuration, epg-configuration)
2125 (epg-import-keys-from-file): Declare.
2126 (package-check-signature): New user option.
2127 (package-unsigned-archives): New user option.
2128 (package-desc): Add `signed' field.
2129 (package-load-descriptor): Set `signed' field if .signed file exists.
2130 (package--archive-file-exists-p): New function.
2131 (package--check-signature): New function.
2132 (package-install-from-archive): Check package signature.
2133 (package--download-one-archive): Check archive signature.
2134 (package-delete): Remove .signed file.
2135 (package-import-keyring): New command.
2136 (package-refresh-contents): Import default keyring.
2137 (package-desc-status): Add "unsigned" status.
2138 (describe-package-1, package-menu--print-info)
2139 (package-menu-mark-delete, package-menu--find-upgrades)
2140 (package-menu--status-predicate): Support "unsigned" status.
2141
adf2aa61
SM
21422013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2145 the new compilation scheme using the new byte-codes.
2146
2147 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2148 (byte-pophandler): New byte codes.
2149 (byte-goto-ops): Adjust accordingly.
2150 (byte-compile--use-old-handlers): New var.
2151 (byte-compile-catch): Use new byte codes depending on
2152 byte-compile--use-old-handlers.
2153 (byte-compile-condition-case--old): Rename from
2154 byte-compile-condition-case.
2155 (byte-compile-condition-case--new): New function.
2156 (byte-compile-condition-case): New function that dispatches depending
2157 on byte-compile--use-old-handlers.
2158 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2159 when we can.
2160
2161 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2162 Optimize under `condition-case' and `catch' if
2163 byte-compile--use-old-handlers is nil.
2164 (disassemble-offset): Handle new bytecodes.
2165
328a8179
SM
21662013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * subr.el (error): Use `declare'.
2169 (decode-char, encode-char): Use advertised-calling-convention instead
2170 of the docstring to discourage use of the `restriction' arg.
2171
15a1e936
DU
21722013-10-03 Daiki Ueno <ueno@gnu.org>
2173
2174 * epg.el (epg-verify-file): Add a comment saying that it does not
2175 notify verification error as a return value nor a signal.
2176 (epg-verify-string): Ditto.
2177
376f862a
KR
21782013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2179
2180 * progmodes/compile.el (compilation-start): Try globbing the arg to
2181 `cd' (bug#15417).
2182
a2f93a5f
MA
21832013-10-02 Michael Albinus <michael.albinus@gmx.de>
2184
2185 Sync with Tramp 2.2.8.
2186
2187 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2188 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2189 * net/trampver.el: Update release number.
2190
0daa0804
JD
21912013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2192
2193 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2194 and default-process-coding-system for darwin only.
2195
abd1ae34
SM
21962013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2199
be4e325d
MH
22002013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2201
2202 * vc/vc-git.el (vc-git-grep): Disable pager.
2203
e9155c4a
DG
22042013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2205
494e898b
DG
2206 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2207 Use :url instead of :homepage, as per
2208 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2209
e9155c4a
DG
2210 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2211 non-nil, use `syntax-ppss' (Bug#15251).
2212
481a8e0f
RS
22132013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2214
be4e325d
MH
2215 * progmodes/octave.el (inferior-octave-startup-file):
2216 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2217
056453c6
DG
22182013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2219
be4e325d
MH
2220 * emacs-lisp/package.el (package-desc-from-define):
2221 Accept additional arguments as plist, convert them to an alist and store
2222 them in the `extras' slot.
056453c6
DG
2223 (package-generate-description-file): Convert extras alist back to
2224 plist and append to the `define-package' form arguments.
2225 (package--alist-to-plist): New function.
2226 (package--ac-desc): Add `extras' slot.
2227 (package--add-to-archive-contents): Check if the archive-contents
2228 vector is long enough, and if it is, pass its `extras' slot value
2229 to `package-desc-create'.
2230 (package-buffer-info): Call `lm-homepage', pass the returned value
2231 to `package-desc-from-define'.
2232 (describe-package-1): Render the homepage button (Bug#13291).
2233
be4e325d
MH
2234 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2235 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2236
832966e5
JD
22372013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2238
2239 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2240 and default-process-coding-system to utf-8-unix (Bug#15402).
2241
6cfe977d
XF
22422013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2243
2244 * subr.el (looking-back): Do not recommend using looking-back.
2245
38de11bd
AM
22462013-09-28 Alan Mackenzie <acm@muc.de>
2247
2248 Fix indentation/fontification of Java enum with "implements".
2249
2250 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2251 regexp which matches "implements", etc., in Java.
2252 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2253 specifier clauses coming after "enum".
2254 * progmodes/cc-fonts.el (c-font-lock-declarations)
2255 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2256 after "enum".
2257
1610938f
JD
22582013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2259
2260 * faces.el (region): Change ns_selection_color to
2261 ns_selection_fg_color, add ns_selection_bg_color.
2262
e090f499
LL
22632013-09-28 Leo Liu <sdl.web@gmail.com>
2264
4d2e94d1
LL
2265 * progmodes/octave.el (inferior-octave-completion-table)
2266 (inferior-octave-completion-at-point): Minor tweaks.
2267
e090f499
LL
2268 * textmodes/ispell.el (ispell-lookup-words): Rename from
2269 lookup-words. (Bug#15460)
2270 (lookup-words): Obsolete.
2271 (ispell-complete-word, ispell-command-loop): All uses changed.
2272
7e138a62
RS
22732013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2274
2275 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2276 (octave-mode-menu): Add octave-send-buffer.
2277 (octave-send-buffer): New function.
2278
5af5ed08
RS
22792013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2280
2281 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2282 octave-lookfor.
2283 (octave-mode-menu): Add octave-lookfor.
2284 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2285 octave-lookfor.
2286 (octave-lookfor): New function.
2287
3b7b2692
SM
22882013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * emacs-lisp/cl-macs.el:
2291 (cl--loop-destr-temps): Remove.
2292 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2293 its convention.
2294 (cl--loop-set-iterator-function): New function.
2295 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2296 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2297 Bind `it' with `let' instead of substituting it with `cl-subst'.
2298 (cl--unused-var-p): New function.
2299 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2300 Eliminate some unused variable warnings (bug#15326).
2301
529fb53f
TH
23022013-09-27 Tassilo Horn <tsdh@gnu.org>
2303
2304 * doc-view.el (doc-view-scale-reset): Rename from
2305 `doc-view-reset-zoom-level'.
2306 (doc-view-scale-adjust): New command.
2307 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2308 `doc-view-scale-adjust'.
2309
0550c95a
TH
23102013-09-26 Tassilo Horn <tsdh@gnu.org>
2311
2312 * doc-view.el (doc-view-reset-zoom-level): New command.
2313 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2314 zoom commands (bug#15466).
2315
6950f152
KH
23162013-09-26 Kenichi Handa <handa@gnu.org>
2317
2318 * international/quail.el (quail-help): Make it not a command.
2319
39587580
LL
23202013-09-26 Leo Liu <sdl.web@gmail.com>
2321
2322 * minibuffer.el (completion-all-sorted-completions): Make args
2323 optional as they are.
2324
00578659
DC
23252013-09-25 Daniel Colascione <dancol@dancol.org>
2326
2327 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2328 specs are and that they're not evaluated.
2329
0c173878
SS
23302013-09-24 Sam Steingold <sds@gnu.org>
2331
2332 * midnight.el (clean-buffer-list-kill-regexps)
2333 (clean-buffer-list-kill-buffer-names): Update for the new Man
2334 buffer naming which includes the object name.
2335
84998447
SM
23362013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2339 (eshell-parse-command, eshell-parse-pipeline): Use it since
2340 eshell-separate-commands requires a dynamic scoped var.
2341 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2342
33215353
LL
23432013-09-23 Leo Liu <sdl.web@gmail.com>
2344
2345 * autoinsert.el (auto-insert-alist): Make the value of
2346 lexical-binding match its file setting.
2347
57b16162
JB
23482013-09-23 Juanma Barranquero <lekktu@gmail.com>
2349
c8af4e67
JB
2350 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2351
57b16162
JB
2352 * autoarg.el (autoarg-kp-digit-argument):
2353 * electric.el (Electric-command-loop):
2354 * kmacro.el (kmacro-step-edit-insert):
2355 Do not set universal-argument-num-events.
2356
7186ba60
LL
23572013-09-22 Leo Liu <sdl.web@gmail.com>
2358
2359 * files.el (interpreter-mode-alist): Add octave.
2360
ece15004
AM
23612013-09-21 Alan Mackenzie <acm@muc.de>
2362
2363 C++: fontify identifier in declaration following "public:" correctly.
2364 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2365 to match "public", etc.
2366 (c-decl-prefix-re): Add ":" into the C++ value.
2367 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2368 bit. Add a check for a ":" preceded by "public", etc.
2369
75d83e22
EZ
23702013-09-21 Eli Zaretskii <eliz@gnu.org>
2371
2372 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2373 recognized by GDB 7.5 and later.
2374
d052d3bd
XF
23752013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2376
2377 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2378
31dca772
R
23792013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * subr.el (internal--call-interactively): New const.
2382 (called-interactively-p): Use it (bug#3984).
2383
98ccf24e
XF
23842013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2385
2386 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2387 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2388 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2389
c39cc7d1
SM
23902013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2393 (eshell-ls-orig-insert-directory): Remove.
2394 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2395 (eshell-ls-use-in-dired): Use advice-add/remove.
2396 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2397 Add `orig-fun' arg for use in :around advice.
2398 Make it check (redundantly) eshell-ls-use-in-dired.
2399
9a0289a2
GM
24002013-09-19 Glenn Morris <rgm@gnu.org>
2401
a2c501b8
GM
2402 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2403
c440407a
GM
2404 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2405
9a0289a2
GM
2406 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2407
85e05915
MA
24082013-09-19 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2411 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2412 (tramp-get-remote-python): New defuns.
2413 (tramp-get-remote-uid-with-perl)
2414 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2415 contributed by yary <not.com@gmail.com> (tiny change).
2416 (tramp-get-remote-uid-with-python)
2417 (tramp-get-remote-gid-with-python): New defuns. Python code
2418 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2419 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2420
ce503312
GM
24212013-09-19 Glenn Morris <rgm@gnu.org>
2422
f7544773
GM
2423 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2424
72fd2877
GM
2425 * eshell/em-unix.el (eshell-remove-entries):
2426 Rename argument to avoid name-clash with global `top-level'.
2427
336b5a56
GM
2428 * eshell/esh-proc.el (eshell-kill-process-function):
2429 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2430 (eshell-reset-after-proc): Remove unused arg `proc'.
2431
57a3a53d
GM
2432 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2433 (directory-files-and-attributes): Mark unused arg.
2434
3261d4af
GM
2435 * eshell/em-unix.el (eshell-remove-entries):
2436 Remove unused arg `path'. Update callers.
2437
8e51b5d0
GM
2438 * eshell/em-hist.el (eshell-hist-parse-arguments):
2439 Remove unused arg `silent'. Update callers.
2440
ce503312
GM
2441 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2442 Fix (f)boundp mix-up.
2443
2444 * eshell/em-smart.el (eshell-smart-scroll-window)
2445 (eshell-disable-after-change):
336b5a56 2446 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2447
ee3ce8a7
AM
24482013-09-18 Alan Mackenzie <acm@muc.de>
2449
2450 Fix fontification of type when followed by "const".
2451 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2452 "known" types from fontification.
2453
ec9177ba
GM
24542013-09-18 Glenn Morris <rgm@gnu.org>
2455
7bb3e768
GM
2456 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2457 (chart-face-list): Drop Emacsen without display-color-p.
2458
5148da15
GM
2459 * net/eww.el (libxml-parse-html-region): Declare.
2460 (eww-display-html): Explicit error if no libxml2 support.
2461
2f68e157
GM
2462 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2463
9019d095
GM
2464 * image.el (image-type-from-buffer, image-multi-frame-p):
2465 Remove --without-x warning/error.
67645389 2466
5f30349b 2467 * mouse.el (mouse-yank-primary):
45069b2e 2468 * term.el (term-mouse-paste):
5f30349b
GM
2469 Reorder to silence --without-x compilation.
2470
cd8edbbe
GM
2471 * mpc.el (doc-view-mode): Silence --without-x compilation.
2472
8a78544e
GM
2473 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2474 Silence --without-x compilation.
2475
12679bfd
GM
2476 * progmodes/gud.el (gud-find-file, gud-mode):
2477 Silence --without-x compilation.
2478 (tooltip-mode): Declare.
30810a05 2479
f0047cb9
GM
2480 * wdired.el (dired-backup-overwrite): Remove declaration.
2481 (wdired-mode-map): Add doc string.
2482
e740f9d2
GM
2483 * custom.el (x-get-resource): Declare.
2484
92d77c89
GM
2485 * eshell/em-glob.el (ange-cache):
2486 * eshell/em-unix.el (ange-cache): Declare.
2487
76e69577
GM
2488 * faces.el (x-display-list, x-open-connection, x-get-resource):
2489 Declare.
7e58af4b
GM
2490
2491 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2492 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2493 Declare.
76e69577 2494
4bd4c0af 2495 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2496
ffb82dbd
GM
2497 * net/gnutls.el (gnutls-log-level): Declare.
2498
986ed135
GM
2499 * net/shr.el (image-size, image-animate): Declare.
2500
e740f9d2
GM
2501 * simple.el (font-info): Declare.
2502
d2f3e9f8
GM
2503 * subr.el (x-popup-dialog): Declare.
2504
047a1a4c
GM
2505 * term/common-win.el (x-select-enable-primary)
2506 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2507 Declare.
2508
f4a1d572
GM
2509 * term/ns-win.el (x-handle-args): Declare.
2510
e843de77
GM
2511 * term/x-win.el (x-select-enable-clipboard): Declare.
2512
5fa89513
GM
2513 * term/w32-win.el (create-default-fontset): Declare.
2514
38702b5b
GM
2515 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2516 Declare.
2517
e740f9d2
GM
2518 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2519 (fit-frame-to-buffer): Explicit error if --without-x.
2520 (mouse-autoselect-window-select): Silence compiler.
2521
49a053fc
GM
2522 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2523
2524 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2525 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2526 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2527 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2528 Remove unused local variables.
2529
2530 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2531
ec9177ba
GM
2532 * textmodes/two-column.el: Make 2C-split work for --without-x.
2533 (scroll-bar-columns): Autoload.
2534 (top-level): Require fringe when compiling.
2535
9f25cb77
LL
25362013-09-18 Leo Liu <sdl.web@gmail.com>
2537
2538 * subr.el (add-hook): Robustify to handle closure as well.
2539
2b42da98
GM
25402013-09-17 Glenn Morris <rgm@gnu.org>
2541
2542 * simple.el (messages-buffer-mode-map): Unbind "g".
2543
e8b66a6a
SM
25442013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2545
9c0ad4f7
SM
2546 * help-mode.el (help-mode-finish): Use derived-mode-p.
2547 Remove obsolete highlighting.
2548
7a806dfb
SM
2549 * play/life.el (life-mode): Use define-derived-mode. Derive from
2550 special-mode.
2551 (life): Let-bind inhibit-read-only.
2552 (life-setup): Avoid `setq'. Use `life-mode'.
2553
96dbf5a8
SM
2554 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2555 which should not be needed any more.
2556 (package-menu-refresh, package-menu-describe-package): Use user-error.
2557
e8b66a6a
SM
2558 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2559 (eshell-post-rewrite-command-hook): Make obsolete.
2560 (eshell-parse-command): Simplify.
2561 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2562 (eshell--cmd): Declare.
2563 (eshell-parse-pipeline): Remove unused var `final-p'.
2564 Pass a dynvar to eshell-post-rewrite-command-hook.
2565 Implement the new eshell-post-rewrite-command-function.
2566 (eshell-invoke-directly): Remove unused arg `input'.
2567 * eshell/esh-io.el (eshell-io-initialize):
2568 Use eshell-post-rewrite-command-function (bug#15399).
2569 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2570 adjust to new calling convention.
2571 (eshell-create-handles): Rename args to avoid clashing with dynvar
2572 `standard-output'.
2573
90582f05
GM
25742013-09-17 Glenn Morris <rgm@gnu.org>
2575
2576 * simple.el (messages-buffer-mode): New major mode.
2577 (messages-buffer): New function.
2578 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2579 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2580 (ert-run-test): Use `messages-buffer' function.
90582f05 2581 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2582 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2583 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2584
39eb0cb5 25852013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2586
2587 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2588
1f1e06e2
SM
2589 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2590
70568a90
SM
25912013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2592
504a0381
SM
2593 * icomplete.el (icomplete-in-buffer): New var.
2594 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2595 vars and replace them with functions.
2596 (icomplete-minibuffer-setup): Adjust accordingly.
2597 (icomplete--completion-table, icomplete--completion-predicate)
2598 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2599 New functions.
2600 (icomplete-forward-completions, icomplete-backward-completions)
2601 (icomplete-simple-completing-p, icomplete-exhibit)
2602 (icomplete-completions): Use them.
2603 (icomplete--in-region-buffer): New var.
2604 (icomplete--in-region-setup): New function.
2605 (icomplete-mode): Use it.
2606
70568a90
SM
2607 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2608 (bug#15379).
2609 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2610 return args and options.
2611 (eshell-eval-using-options): Use the new return value of
2612 eshell--do-opts to set the options's vars in their scope.
2613 (eshell--set-option): Rename from eshell-set-option.
2614 Add arg `opt-vals'.
2615 (eshell--process-option): Rename from eshell-process-option.
2616 Add arg `opt-vals'.
2617 (eshell--process-args): Use an `opt-vals' alist to store the options's
2618 values during their processing and return them additionally to the
2619 remaining args.
2620
578c21bc
DG
26212013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2622
2623 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2624 continuation character an operator, as far as indentation is
2625 concerned (Bug#15369).
2626
c089653d
MR
26272013-09-15 Martin Rudalics <rudalics@gmx.at>
2628
2629 * window.el (window--state-put-2): Don't process buffer state
2630 when buffer doesn't exist any more (Bug#15382).
2631
1e53bb4b
GM
26322013-09-15 Glenn Morris <rgm@gnu.org>
2633
30753242
GM
2634 * eshell/em-unix.el (eshell/rm):
2635 Make -f ignore missing files. (Bug#15373)
2636
1e53bb4b
GM
2637 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2638 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2639 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2640
0d8863b3
GM
26412013-09-14 Glenn Morris <rgm@gnu.org>
2642
2643 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2644
d3fc6549
GM
26452013-09-13 Glenn Morris <rgm@gnu.org>
2646
2647 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2648 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2649
fcd42c11
DA
26502013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2651
2652 * frame.el (x-focus-frame): Mark as declared in frame.c.
2653
7830899f
SM
26542013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * ls-lisp.el: Use advice-add.
2657 (original-insert-directory): Remove.
2658 (ls-lisp--insert-directory): Rename from insert-directory; add
2659 `orig-fun' argument.
2660 (insert-directory): Advise.
2661
84387cd2
EZ
26622013-09-13 Eli Zaretskii <eliz@gnu.org>
2663
2664 * term.el (term-emulate-terminal): Decode the command string
2665 before passing it to term-command-hook. (Bug#15337)
2666
35ffc6ba
GM
26672013-09-13 Glenn Morris <rgm@gnu.org>
2668
5c3f9bcc
GM
2669 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2670
2ada368a
GM
2671 * eshell/esh-ext.el (eshell-search-path): Declare.
2672
fcef2e13
GM
2673 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2674 Otherwise an error occurs if eshell-dirs module not loaded.
2675
35ffc6ba
GM
2676 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2677
35c3d36e
MA
26782013-09-13 Michael Albinus <michael.albinus@gmx.de>
2679
2680 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2681 `tramp-check-proper-host'. Check for a valid method name.
2682
2683 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2684 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2685 * net/tramp-sh.el (tramp-maybe-open-connection):
2686 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2687
2688 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2689 also for hash values.
2690
ae5e4c48
SM
26912013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2692
379add74
SM
2693 * term/ns-win.el (parameters): Don't declare as dynamic.
2694 (before-make-frame-hook): Don't add ineffective function.
2695
ae5e4c48
SM
2696 * eshell/*.el: Use lexical-binding (bug#15231).
2697
b5623270
KH
26982013-09-12 Kenichi Handa <handa@gnu.org>
2699
ae5e4c48 2700 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2701
30213927
GM
27022013-09-12 Glenn Morris <rgm@gnu.org>
2703
be94d713 2704 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2705 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2706
44915370
GM
2707 * subr.el (do-after-load-evaluation): Also give compiler warnings
2708 when obsolete files are used (except by obsolete files).
2709
a6ae021f
GM
2710 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2711 in the status output, assume `filename' is the first. (Bug#15322)
2712
40e64f0c
GM
2713 * vc/vc.el (vc-deduce-fileset): Doc fix.
2714
16d9f896
GM
2715 * calc/calc-help.el (Info-goto-node):
2716 * progmodes/cperl-mode.el (Info-find-node):
2717 * vc/ediff.el (Info-goto-node): Update declarations.
2718
dea01c6e
GM
2719 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2720
759880bf 2721 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2722 (vc-bzr-pull): Require vc-dispatcher.
2723 * vc/vc-git.el (vc-compilation-mode): Declare.
2724 (vc-git-pull): Require vc-dispatcher.
2725
08d66420
GM
2726 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2727
30b626e9
GM
2728 * progmodes/octave.el (help-button-action): Declare.
2729
8c05cb10
GM
2730 * shell.el (shell-directory-tracker): Output error as a message
2731 rather than just returning it as a string.
2732 (shell-process-pushd): Remove useless use of message.
2733
30213927
GM
2734 * dframe.el (dframe-timer-fn):
2735 * files.el (dir-locals-read-from-file):
2736 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2737 (mpc-format):
2738 * reveal.el (reveal-post-command):
2739 * saveplace.el (load-save-place-alist-from-file):
2740 * shell.el (shell-resync-dirs):
2741 * w32-common-fns.el (x-get-selection-value):
2742 * emacs-lisp/copyright.el (copyright-find-copyright):
2743 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2744 * emulation/tpu-edt.el (tpu-copy-keyfile):
2745 * play/bubbles.el (bubbles--mark-neighbourhood):
2746 * progmodes/executable.el
2747 (executable-make-buffer-file-executable-if-script-p):
2748 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2749
d3b049e6
SM
27502013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2751
170266d0
SM
2752 Cleanup Eshell to rely less on dynamic scoping.
2753 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2754 last-value, and ext-command here. Bind `args' closer to `body'.
2755 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2756 (eshell--args): Declare new dynamic var.
2757 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2758 last-value, and ext-command. Pass `args' to `body'.
2759 (eshell-process-args): Bind eshell--args.
2760 (eshell-set-option): Use eshell--args.
2761 * eshell/eshell.el (eshell): Use derived-mode-p.
2762 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2763 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2764 (eshell-glob-function): Declare.
2765 * eshell/esh-util.el: Require cl-lib.
2766 (eshell-read-hosts-file): Avoid add-to-list.
2767 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2768 `err'.
2769 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2770 Declare.
2771 (eshell/diff): Remove unused var `err'.
2772 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2773 `killflag'.
2774 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2775 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2776 first use.
2777 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2778 Move declaration before first use.
2779 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2780 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2781 rely on cl-return.
2782
56834f3b
GM
27832013-09-12 Glenn Morris <rgm@gnu.org>
2784
2785 * term/ns-win.el (global-map): Remove binding for ispell-next,
2786 deleted 1999-05-29. (Bug#15357)
2787
5c91a2b8
GM
27882013-09-11 Glenn Morris <rgm@gnu.org>
2789
da712f22
GM
2790 * echistory.el (electric-command-history): Remove call to deleted func.
2791
512e4cdc
GM
2792 * play/landmark.el (landmark-mode): Fix typos.
2793
d3506ca5
GM
2794 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2795 Check cvs-sort-ignore-file is bound.
2796
5c91a2b8
GM
2797 * savehist.el: No need for cl when compiling on Emacs.
2798
feeff482
SM
27992013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2800
656bd483
SM
2801 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2802 (bug#15338).
d3b049e6
SM
2803 (eshell-self-insert-command, eshell-send-invisible):
2804 Remove unused argument.
656bd483
SM
2805 (eshell-handle-control-codes): Remove unused var `orig'.
2806 Avoid delete-backward-char.
2807
feeff482
SM
2808 * files.el (set-auto-mode): Simplify a bit further.
2809
2a08047a
GM
28102013-09-11 Glenn Morris <rgm@gnu.org>
2811
2812 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2813 (set-auto-mode): Don't regexp-quote elements.
2814 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2815 * progmodes/cc-mode.el (interpreter-mode-alist):
2816 * progmodes/ruby-mode.el (interpreter-mode-alist):
2817 Revert previous change.
2818
34675540
SM
28192013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2820
1b3b87df
SM
2821 * play/snake.el (snake-mode):
2822 * play/mpuz.el (mpuz-mode):
2823 * play/landmark.el (lm-mode):
2824 * play/blackbox.el (blackbox-mode):
2825 * play/5x5.el (5x5-mode):
2826 * obsolete/options.el (Edit-options-mode):
2827 * net/quickurl.el (quickurl-list-mode):
2828 * net/newst-treeview.el (newsticker-treeview-mode):
2829 * mail/rmailsum.el (rmail-summary-mode):
2830 * mail/mspools.el (mspools-mode):
2831 * locate.el (locate-mode):
2832 * ibuffer.el (ibuffer-mode):
2833 * emulation/ws-mode.el (wordstar-mode):
2834 * emacs-lisp/debug.el (debugger-mode):
2835 * array.el (array-mode):
2836 * net/eudc.el (eudc-mode): Use define-derived-mode.
2837 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2838 Move initialization into declaration.
2839 (mairix-searches-mode): Use define-derived-mode.
2840 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2841 (eudc-edit-hotlist): Use dolist.
2842 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2843 (Man-mode): Use define-derived-mode.
2844 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2845 (Info-edit-mode): Use define-derived-mode.
2846 (Info-cease-edit): Use Info-mode.
2847 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2848 into declaration.
2849 (eshell-mode): Use define-derived-mode.
2850 * chistory.el (command-history-mode-map): Rename from
2851 command-history-map.
2852 (command-history-mode): Use define-derived-mode.
da712f22 2853 (Command-history-setup): Remove function.
1b3b87df
SM
2854 * calc/calc.el (calc-trail-mode-map): New var.
2855 (calc-trail-mode): Use define-derived-mode.
2856 (calc-trail-buffer): Set calc-main-buffer manually.
2857 * bookmark.el (bookmark-insert-annotation): New function.
2858 (bookmark-edit-annotation): Use it.
2859 (bookmark-edit-annotation-mode): Make it a proper major mode.
2860 (bookmark-send-edited-annotation): Use derived-mode-p.
2861 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2862 closer to its ideal place. Use \' to match EOS.
2863
34675540
SM
2864 * profiler.el (profiler-calltree-find): Use function-equal.
2865
6a5c15d9
GM
28662013-09-10 Glenn Morris <rgm@gnu.org>
2867
1af4c220
GM
2868 * files.el (interpreter-mode-alist): Convert to regexps.
2869 (set-auto-mode): Adapt for this. (Bug#15306)
2870 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2871 Comment out unused variable.
2872 * progmodes/cc-mode.el (interpreter-mode-alist):
2873 * progmodes/python.el (interpreter-mode-alist):
2874 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2875 * progmodes/sh-script.el (sh-set-shell):
2876 No longer use interpreter-mode-alist to get list of shells.
2877
6a5c15d9
GM
2878 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2879
8c27f5ff
SM
28802013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2881
02ef6c1a 2882 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2883 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2884 Bind switch-frame explicitly. Replace universal-argument-minus with
2885 a conditional binding.
2886 (universal-argument-num-events, saved-overriding-map): Remove.
2887 (restore-overriding-map): Remove.
2888 (universal-argument--mode): Rename from save&set-overriding-map,
2889 and rewrite.
2890 (universal-argument, universal-argument-more, negative-argument)
2891 (digit-argument): Adjust accordingly.
2892 (universal-argument-minus): Remove.
2893 (universal-argument-other-key): Remove.
2894
8c27f5ff
SM
2895 * subr.el (with-demoted-errors): Add `format' argument.
2896
6480194c
MA
28972013-09-10 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2900 `tramp-cleanup-connection'.
2901
2902 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2903 parameters KEEP-DEBUG and KEEP-PASSWORD.
2904
2905 * net/tramp.el (tramp-file-name-handler):
2906 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2907 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2908 (tramp-maybe-open-connection):
8c27f5ff
SM
2909 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2910 Use `tramp-cleanup-connection'.
6480194c 2911
8c27f5ff
SM
2912 * net/tramp-sh.el (tramp-maybe-open-connection):
2913 Catch 'uname-changed inside the progress reporter.
6480194c 2914
e5e916d8
GM
29152013-09-10 Glenn Morris <rgm@gnu.org>
2916
9a2c9b47
GM
2917 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2918
e5e916d8
GM
2919 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2920 returns "alternate access method" in mode (eg "-rw-r--r--.").
2921
144e38fe
GM
29222013-09-08 Glenn Morris <rgm@gnu.org>
2923
2924 * saveplace.el (load-save-place-alist-from-file):
2925 Demote errors. (Bug#15305)
2926
af9ff9e8
MA
29272013-09-08 Michael Albinus <michael.albinus@gmx.de>
2928
2929 Improve compatibility with older Emacsen, and XEmacs.
2930
2931 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2932 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2933 (with-tramp-progress-reporter): Do not let-bind `result'.
2934 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2935 (tramp-handle-make-auto-save-file-name): New function, moved from
2936 tramp-sh.el.
2937
2938 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2939 for `make-auto-save-file-name'.
8c27f5ff
SM
2940 (tramp-adb--gnu-switches-to-ash):
2941 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2942
2943 * net/tramp-cache.el (tramp-cache-print): Call
2944 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2945
2946 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2947 bound. It isn't for XEmacs.
2948
8c27f5ff
SM
2949 * net/tramp-compat.el (tramp-compat-copy-file):
2950 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2951 (tramp-compat-replace-regexp-in-string): New defun.
2952
2953 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2954 for `make-auto-save-file-name'.
2955 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2956 `copy-file'.
2957 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2958 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2959 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2960
8c27f5ff
SM
2961 * net/tramp-gw.el (tramp-gw-open-network-stream):
2962 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2963
8c27f5ff
SM
2964 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2965 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2966 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2967 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2968 (tramp-sh-file-inotifywait-process-filter):
2969 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2970 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2971
2972 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2973 for `make-auto-save-file-name'.
8c27f5ff
SM
2974 (tramp-smb-handle-copy-directory):
2975 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2976 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2977 (tramp-smb-handle-copy-file): Improve error message.
2978 (tramp-smb-handle-rename-file): Rename directly only in case
2979 `newname' does not exist yet. This is a restriction of smbclient.
2980 (tramp-smb-maybe-open-connection): Rerun the function only when
2981 `auth-sources' is non-nil.
2982
0ca754d0
KH
29832013-09-08 Kenichi Handa <handa@gnu.org>
2984
2985 * international/characters.el: Set category "^" (Combining) for
2986 more characters.
2987
e8dd0787
AM
29882013-09-07 Alan Mackenzie <acm@muc.de>
2989
2990 Correctly fontify Java class constructors.
2991 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2992 in Java Mode.
2993 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2994 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2995 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2996 "typeless" declaration there.
2997
f2f248e7
RW
29982013-09-07 Roland Winkler <winkler@gnu.org>
2999
3000 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3001 field subtitle for entry type book.
3002
67982e2b
SM
30032013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * minibuffer.el: Make minibuffer-complete call completion-in-region
3006 rather than other way around.
3007 (completion--some, completion-pcm--find-all-completions):
3008 Don't delay signals when debugging.
3009 (minibuffer-completion-contents): Beware fields within the
3010 minibuffer contents.
3011 (completion-all-sorted-completions): Use defvar-local.
3012 (completion--do-completion, completion--cache-all-sorted-completions)
3013 (completion-all-sorted-completions, minibuffer-force-complete):
3014 Add args `beg' and `end'.
3015 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3016 (minibuffer-complete): Use completion-in-region.
3017 (completion-complete-and-exit): New fun, extracted from
3018 minibuffer-complete-and-exit.
3019 (minibuffer-complete-and-exit): Use it.
3020 (completion--complete-and-exit): Rename from
3021 minibuffer--complete-and-exit.
3022 (completion-in-region--single-word): New function, extracted from
3023 minibuffer-complete-word.
3024 (minibuffer-complete-word): Use it.
3025 (display-completion-list): Make `common-substring' argument obsolete.
3026 (completion--in-region): Call completion--in-region-1 instead of
3027 minibuffer-complete.
3028 (completion-help-at-point): Pass boundaries to
3029 minibuffer-completion-help as args rather than via an overlay.
3030 (completion-pcm--string->pattern): Use `any-delim'.
3031 (completion-pcm--optimize-pattern): New function.
3032 (completion-pcm--pattern->regex): Handle `any-delim'.
3033 * icomplete.el (icomplete-forward-completions)
3034 (icomplete-backward-completions, icomplete-completions):
3035 Adjust calls to completion-all-sorted-completions and
3036 completion--cache-all-sorted-completions.
3037 (icomplete-with-completion-tables): Default to t.
3038 * emacs-lisp/crm.el (crm--current-element): Rename from
3039 crm--select-current-element. Don't put an overlay but return the
3040 boundaries instead.
3041 (crm--completion-command): Take two new args to bind to the boundaries.
3042 (crm-completion-help): Adjust accordingly.
3043 (crm-complete): Use completion-in-region.
3044 (crm-complete-word): Use completion-in-region--single-word.
3045 (crm-complete-and-exit): Use completion-complete-and-exit.
3046
e17d94a5
SM
30472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3050 than dynamically.
3051
96727100
JL
30522013-09-06 Juri Linkov <juri@jurta.org>
3053
3054 * info.el (Info-display-images-node): When image file doesn't exist
3055 display text version of the image if it's provided in the Info file.
3056 Otherwise, display the location of missing image from SRC attribute.
3057 Add help-echo text property from ALT attribute. (Bug#15279)
3058
86cf7329
SM
30592013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3060
3061 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3062 (edit-abbrevs-mode): Use define-derived-mode.
3063
3064 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3065 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3066 that it's defined.
3067 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3068 Use define-derived-mode.
3069
3070 * epg.el (epg-start-encrypt): Minor CSE simplification.
3071
816244a2
WX
30722013-09-06 William Xu <william.xwl@gmail.com>
3073
3074 * arc-mode.el: Add support for 7za (bug#15264).
3075 (archive-7z-program): New var.
3076 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3077 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3078 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3079
1486fa31
MA
30802013-09-06 Michael Albinus <michael.albinus@gmx.de>
3081
3082 Remove URL syntax.
3083
3084 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3085 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3086 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3087 (tramp-postfix-host-format, tramp-file-name-regexp)
3088 (tramp-completion-file-name-regexp)
3089 (tramp-completion-dissect-file-name)
3090 (tramp-handle-substitute-in-file-name): Remove 'url case.
3091 (tramp-file-name-regexp-url)
3092 (tramp-completion-file-name-regexp-url): Remove constants.
3093
39785324
GM
30942013-09-06 Glenn Morris <rgm@gnu.org>
3095
3096 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3097
1f896cb7
DG
30982013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3101 keywords" below "here-doc beginnings" (Bug#15270).
3102
c0458e0b
SM
31032013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * subr.el (pop): Use `car-safe'.
3106 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3107 to detect unused `pop' return value.
3108
3109 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3110 var `block-regexp'.
3111 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3112 (python-fill-string): Remove unused var `marker'.
3113 (python-skeleton-add-menu-items): Remove unused var `items'.
3114
3115 * international/mule-cmds.el: Require CL.
3116 (find-coding-systems-for-charsets): Avoid add-to-list.
3117 (sanitize-coding-system-list): New function, extracted from
3118 select-safe-coding-system-interactively.
3119 (select-safe-coding-system-interactively): Use it.
3120 (read-input-method-name): Accept symbols for `default'.
3121
3122 * emacs-lisp/advice.el (defadvice): Add indent rule.
3123
6c42fc3e
DH
31242013-09-05 Daniel Hackney <dan@haxney.org>
3125
3126 * dired-x.el:
3127 * net/ange-ftp.el:
3128 * net/browse-url.el:
3129 * net/dbus.el:
3130 * net/eudc.el:
3131 * net/eudcb-ldap.el:
3132 * net/eww.el:
3133 * net/imap.el:
3134 * printing.el:
3135 * vc/ediff-diff.el:
3136 * vc/ediff-init.el:
3137 * vc/ediff-merg.el:
3138 * vc/ediff-mult.el:
3139 * vc/ediff-util.el:
3140 * vc/ediff-wind.el:
3141 * vc/ediff.el:
3142 * vc/emerge.el:
3143 * vc/pcvs.el:
3144 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3145 byte compiler. Remove some unused let-bound variables.
3146
4c528aab
SM
31472013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3150 a "ref-cell", since it gets better optimized (bug#14883).
3151
bd15c390
GM
31522013-09-05 Glenn Morris <rgm@gnu.org>
3153
3154 * progmodes/cc-awk.el (c-forward-sws): Declare.
3155
1c3ac2e5
GM
31562013-09-04 Glenn Morris <rgm@gnu.org>
3157
3158 * generic-x.el [rul-generic-mode]: Require cc-mode.
3159 (c++-mode-syntax-table): Declare.
3160 (rul-generic-mode-syntax-table): Init in the defvar.
3161
52b1cc79
SM
31622013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3163
c828af56
SM
3164 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3165 (vc-do-command, vc-set-async-update):
3166 * vc/vc-mtn.el (vc-mtn-dir-status):
3167 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3168 (vc-hg-pull, vc-hg-merge-branch):
3169 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3170 (vc-git-merge-branch):
3171 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3172 (vc-cvs-dir-status-files):
3173 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3174 (vc-bzr-dir-status-files):
3175 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3176 * vc/vc-annotate.el: Use lexical-binding.
3177 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3178 (vc-sentinel-movepoint): Declare.
3179 (vc-annotate): Don't use `goto-line'.
3180 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3181 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3182 (vc-sentinel-movepoint): Declare.
3183 * vc/vc-svn.el: Use lexical-binding.
3184 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3185 * vc/vc-sccs.el:
3186 * vc/vc-rcs.el: Use lexical-binding.
3187
abae272c
SM
3188 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3189 `deleted'. Don't drop errors silently.
3190
52b1cc79
SM
3191 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3192
63191d9f
XF
31932013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3194
3195 * vc/vc.el (vc-ignore): Rewrite.
3196 (vc-default-ignore): New function.
3197 (vc-default-ignore-completion-table): Use find-ignore-file.
3198
3199 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3200 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3201 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3202 Remove. Most code moved to vc.el.
3203
9d3f707c
SM
32042013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3205
abae272c 3206 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3207 * net/tramp-smb.el (tramp-smb-get-file-entries):
3208 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3209 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3210
fde38d49
SM
3211 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3212 Update call to it.
3213 (eww-change-select): Remove unused var `properties'.
3214 (eww-make-unique-file-name): Remove unused var `base'.
3215
3216 * finder.el (finder-compile-keywords): Don't mess with windows.
3217
84032db7
SM
3218 * calculator.el (calculator-funcall): Fix typo in last change.
3219
724f5e41
SM
3220 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3221
14b511d4
SM
3222 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3223 <pkg>-autoloads.el file stop us.
3224
9d3f707c 3225 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3226 warnings, and factor out common code.
9d3f707c 3227
88527bc0
DG
32282013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3229
3230 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3231 two-character operators and whether the character preceding them
3232 changes their meaning (Bug#15208).
3233
96edb677
FEG
32342013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3235
3236 Format code sent to Python shell for robustness.
9d3f707c
SM
3237 * progmodes/python.el (python-shell-buffer-substring):
3238 New function.
96edb677
FEG
3239 (python-shell-send-region, python-shell-send-buffer): Use it.
3240
95beaef3
MA
32412013-09-02 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3244 * net/tramp.el (tramp-user-error): ... here.
3245 (tramp-find-method, tramp-check-proper-host)
3246 (tramp-dissect-file-name, tramp-debug-message)
3247 (tramp-handle-shell-command):
3248 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3249 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3250
3251 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3252
f167c27b
MR
32532013-09-02 Martin Rudalics <rudalics@gmx.at>
3254
3255 * avoid.el (mouse-avoidance-point-position)
3256 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3257 returns nil.
3258
cd16c5f1
FEG
32592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3260
3261 * progmodes/python.el (python-shell-completion-get-completions):
3262 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3263 (python-nav-if-name-main): New command.
cd16c5f1 3264
e73c3a0d
GM
32652013-09-01 Glenn Morris <rgm@gnu.org>
3266
f8ccce03
GM
3267 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3268 Avoid leading space in $wins. Otherwise the sed command used by
3269 eg compile-main ends up containing "/*.el". (Bug#15170)
3270
e73c3a0d
GM
3271 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3272
415f808e
GM
32732013-08-30 Glenn Morris <rgm@gnu.org>
3274
3275 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3276 Fix is-this-a-directory logic. (Bug#15220)
3277
f069bba8
SM
32782013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3279
112798c1
SM
3280 * textmodes/css-mode.el: Use SMIE.
3281 (css-smie-grammar): New var.
3282 (css-smie--forward-token, css-smie--backward-token)
3283 (css-smie-rules): New functions.
3284 (css-mode): Use them.
3285 (css-navigation-syntax-table): Remove var.
3286 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3287 (css-indent-calculate, css-indent-line): Remove functions.
3288
3289 Misc changes to reduce use of `(lambda...); and other cleanups.
3290 * cus-edit.el: Use lexical-binding.
3291 (customize-push-and-save, customize-apropos)
3292 (custom-buffer-create-internal): Use closures.
3293 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3294 * progmodes/ada-xref.el: Use setq.
3295 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3296 * dframe.el: Use lexical-binding.
3297 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3298 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3299 * descr-text.el: Use lexical-binding.
3300 (describe-text-widget, describe-text-sexp, describe-property-list):
3301 Use closures.
3302 * comint.el (comint-history-isearch-push-state): Use a closure.
3303 * calculator.el: Use lexical-binding.
3304 (calculator-number-to-string): Make it work with lexical-binding.
3305 (calculator-funcall): Same and use cl-letf.
3306
2da4c3ab
SM
3307 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3308 (lisp--company-doc-string, lisp--company-location): New functions.
3309 (lisp-completion-at-point): Use them to improve Company support.
3310
f069bba8
SM
3311 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3312 params of lambda expressions.
3313 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3314 (ruby-smie--opening-pipe-p): New function.
3315 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3316 symbols and matched |...| for formal params.
3317 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3318 from being treated as hanging. Handle "rescue".
3319
6758b6a8
GM
33202013-08-29 Glenn Morris <rgm@gnu.org>
3321
3322 * progmodes/cc-engine.el (c-pull-open-brace):
3323 Move definition before use.
3324
e8dfd197
SM
33252013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3328 are immutable. Don't use `unsafe' any more.
3329 (cl--defsubst-expand): Don't substitute at the same time as keeping
3330 a residual unused let-binding. Don't use `unsafe' any more.
3331
cc585c96
GM
33322013-08-29 Glenn Morris <rgm@gnu.org>
3333
ba579ea6
GM
3334 * calendar/cal-china.el (calendar-chinese-year-cache):
3335 Recenter on 2015.
3336
8201a87e
GM
3337 * nxml/nxml-util.el (nxml-debug-clear-inside):
3338 Use cl-loop rather than loop.
3339
6ee877c7
GM
3340 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3341
cc585c96
GM
3342 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3343
27be8d39
GM
33442013-08-28 Glenn Morris <rgm@gnu.org>
3345
397440a1
GM
3346 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3347
2bb762d4
GM
3348 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3349
27be8d39
GM
3350 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3351
2d69b99e
SM
33522013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3353
f663baa7
SM
3354 * simple.el (repeat-complex-command--called-interactively-skip):
3355 New function.
3356 (repeat-complex-command): Use it (bug#14136).
3357
dd4f8b74
SM
3358 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3359 (c-define-abbrev-table): Add `doc' argument.
3360 (c-mode-abbrev-table, c++-mode-abbrev-table)
3361 (objc-mode-abbrev-table, java-mode-abbrev-table)
3362 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3363 (awk-mode-abbrev-table): Use it.
3364 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3365 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3366 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3367 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3368 Move initialization into the declaration; and remove any
3369 autoload cookie.
3370
b58969f7
SM
3371 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3372 and dynamic let binding.
3373
4021d6a6
SM
3374 * vc/smerge-mode.el: Remove redundant :group args.
3375
2d69b99e
SM
3376 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3377 to load-path.
3378
274919fd
JL
33792013-08-28 Juri Linkov <juri@jurta.org>
3380
3381 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3382 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3383 (isearch-other-meta-char): Handle an undefined shifted printing
3384 character by downshifting it. (Bug#15200)
3385
121f8c95
JL
33862013-08-28 Juri Linkov <juri@jurta.org>
3387
3388 * isearch.el (isearch-search): Change regexp error message for
3389 non-regexp searches. (Bug#15166)
3390
50b13cde
PE
33912013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3392
3393 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3394 for portability to hosts where /bin/sh has problems.
3395
95888bca
SM
33962013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3399
bbe558f1
JL
34002013-08-27 Juri Linkov <juri@jurta.org>
3401
3402 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3403 in the keyboard macro. (Bug#15126)
3404
26f98a7d
JL
34052013-08-27 Juri Linkov <juri@jurta.org>
3406
3407 * isearch.el (isearch-quote-char): Comment out converting unibyte
3408 to multibyte, thus syncing with its `quoted-insert' counterpart.
3409 (Bug#15166)
3410
7c97d35e
MR
34112013-08-27 Martin Rudalics <rudalics@gmx.at>
3412
3413 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3414 argument in call of get-largest-window (Bug#15185).
3415 Reported by Stephen Leake.
7c97d35e 3416
a0b5606e 34172013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3418
3419 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3420
9e89d835
SM
34212013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3424 from a matcher-function unless there's no more matches (bug#15161).
3425
78fc2530
MA
34262013-08-26 Michael Albinus <michael.albinus@gmx.de>
3427
3428 * minibuffer.el: Revert change from 2013-08-20.
3429
3430 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3431 with text property `tramp-default', if appropriate.
3432 (tramp-check-proper-host): New defun.
3433 (tramp-dissect-file-name): Do not check hostname. Revert change
3434 of 2013-03-18.
3435 (tramp-backtrace): Make VEC-OR-PROC optional.
3436
3437 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3438 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3439 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3440 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3441 Apply `tramp-check-proper-host'.
78fc2530 3442
edca97cd
TH
34432013-08-26 Tassilo Horn <tsdh@gnu.org>
3444
3445 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3446 lambda expression in order to have `describe-variable' display it.
3447
df54bcbd
MA
34482013-08-26 Michael Albinus <michael.albinus@gmx.de>
3449
3450 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3451 BUF can be optional. (Bug#15186)
3452
eed99101
XF
34532013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3454
3455 * progmodes/flymake.el (flymake-get-real-file-name-function):
3456 Fix broken customization. (Bug#15184)
3457
b5eb9035
AM
34582013-08-25 Alan Mackenzie <acm@muc.de>
3459
8a51e842
AM
3460 Improve indentation of bracelists defined by macros (without "=").
3461
3462 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3463 expansion begins with "{", regard it as bracelist when it doesn't
3464 contain a ";".
3465
869455d4
AM
3466 Parse C++ inher-intro when there's a template split over 2 lines.
3467
3468 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3469 rigorously the search for "class" etc. followed by ":".
3470
3471 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3472 random languages a regexp which never matches rather than nil.
3473
b5eb9035
AM
3474 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3475
3476 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3477 (c-awk-regexp-one-line-possibly-open-char-list-re)
3478 (c-awk-one-line-possibly-open-regexp-re)
3479 (c-awk-one-line-non-syn-ws*-re): Remove.
3480 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3481 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3482 (c-awk-space*-unclosed-regexp-/-re): New constants.
3483 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3484 aren't regexp delimiters.
3485
3486 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3487 handling for a rare situation in AWK Mode involving unterminated
3488 strings/regexps.
3489
61611d54
GM
34902013-08-23 Glenn Morris <rgm@gnu.org>
3491
2d85dc34
GM
3492 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3493
cb8d2612
GM
3494 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3495
bb35f42f
GM
3496 * files.el (create-file-buffer): If the result would begin with
3497 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3498
b9808e77
SM
34992013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3500
e3a66363
SM
3501 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3502 text-properties (bug#15155).
3503
b9808e77
SM
3504 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3505 exist any more.
3506 (calc-keypad-redraw): Remove unused var `pad'.
3507 (calc-keypad-press): Remove unused var `menu'.
3508
7fd5f65e
MR
35092013-08-23 Martin Rudalics <rudalics@gmx.at>
3510
b9808e77
SM
3511 * window.el (display-buffer-pop-up-frame):
3512 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3513 use it as the new frame's buffer (Bug#15133).
3514
8352b530
SM
35152013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * calendar/timeclock.el: Minor cleanups.
3518 (timeclock-ask-before-exiting, timeclock-use-display-time):
3519 Use `symbol'.
3520 (timeclock-modeline-display): Define as alias before the
3521 actual definition.
3522 (timeclock-mode-line-display): Use define-minor-mode.
3523 (timeclock-day-list-template): Make it a function, add an argument.
3524 (timeclock-day-list-required, timeclock-day-list-length)
3525 (timeclock-day-list-debt, timeclock-day-list-span)
3526 (timeclock-day-list-break): Adjust calls accordingly.
3527
9f7b1925
SM
35282013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3531 Use read--expression so that completion works again.
3532
6e50e983
SS
35332013-08-21 Sam Steingold <sds@gnu.org>
3534
3535 Add rudimentary inferior shell interaction
3536 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3537 (sh-set-shell): Reset it.
9f7b1925
SM
3538 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3539 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3540
dbb0d350
SM
35412013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * align.el: Use lexical-binding.
3544 (align-region): Simplify accordingly.
3545
c88586a9
MA
35462013-08-20 Michael Albinus <michael.albinus@gmx.de>
3547
3548 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3549
3550 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3551 `non-essential' up.
3552
f95527c8
MA
35532013-08-17 Michael Albinus <michael.albinus@gmx.de>
3554
3555 * net/tramp.el:
3556 * net/tramp-adb.el:
3557 * net/tramp-cmds.el:
3558 * net/tramp-ftp.el:
3559 * net/tramp-gvfs.el:
3560 * net/tramp-gw.el:
3561 * net/tramp-sh.el: Don't wrap external variable declarations by
3562 `eval-when-compile'.
3563
4b5fe4ee
LMI
35642013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3565
3566 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3567 now that Emacs supports ImageMagick animations.
3568
13c366c9
MA
35692013-08-16 Michael Albinus <michael.albinus@gmx.de>
3570
3571 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3572 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3573
3dfc5cd6
MR
35742013-08-16 Martin Rudalics <rudalics@gmx.at>
3575
3576 * window.el (mouse-autoselect-window-select): Do autoselect when
3577 mouse pointer is on margin.
3578
4bbb4381
WP
35792013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3580
3581 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3582
3a2ddc2d
GM
35832013-08-16 Glenn Morris <rgm@gnu.org>
3584
e8bedf5a
GM
3585 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3586 Handle "Remote Directory" response of some clients. (Bug#15058)
3587
58c4682f
GM
3588 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3589 Tweak warning. (Bug#14926)
3590
57953f49
GM
3591 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3592 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3593
3a2ddc2d
GM
3594 * image-mode.el (image-mode-map): Add menu items to reverse,
3595 increase, decrease, reset animation speed.
3596 (image--set-speed, image-increase-speed, image-decrease-speed)
3597 (image-reverse-speed, image-reset-speed): New functions.
3598 (image-mode-map): Add bindings for speed commands.
3599
3600 * image.el (image-animate-get-speed, image-animate-set-speed):
3601 New functions.
3602 (image-animate-timeout): Respect image :speed property.
3603
10fa0ed3
SM
36042013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3607 previous line (bug#15101).
3608 (debugger-eval-expression, debugger-record-expression):
3609 Use read--expression (bug#15102).
3610
5d89d9d2
MA
36112013-08-15 Michael Albinus <michael.albinus@gmx.de>
3612
3613 Remove byte compiler warnings, visible when compiling with
3614 `byte-compile-force-lexical-warnings' set to t.
3615
3616 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3617 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3618 (tramp-handle-unhandled-file-name-directory)
3619 (tramp-handle-file-notify-add-watch, tramp-action-login)
3620 (tramp-action-succeed, tramp-action-permission-denied)
3621 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3622 arguments with "_".
3623
3624 * net/tramp-adb.el (tramp-adb-parse-device-names)
3625 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3626 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3627 (tramp-adb-handle-file-truename): Remove unused arguments.
3628
3629 * net/tramp-cache.el (tramp-flush-directory-property)
3630 (tramp-flush-connection-property, tramp-list-connections)
3631 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3632
10fa0ed3
SM
3633 * net/tramp-compat.el (tramp-compat-make-temp-file):
3634 Rename FILENAME to F.
5d89d9d2
MA
3635
3636 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3637 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3638 (tramp-zeroconf-parse-workstation-device-names)
3639 (tramp-zeroconf-parse-webdav-device-names)
3640 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3641
3642 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3643 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3644
3645 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3646 arguments.
3647 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3648 (tramp-sh-handle-insert-file-contents-literally)
3649 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3650 with "_".
3651 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3652 Remove unused variables.
3653
3654 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3655 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3656 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3657
3658 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3659 Make them a defconst.
3660 (tramp-uuencode-region): Remove unused variable.
3661
62f33bae
JB
36622013-08-14 Juanma Barranquero <lekktu@gmail.com>
3663
3664 * frameset.el (frameset--prop-setter): New function.
3665 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3666 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3667 parameter was already set in FILTERED. Doc fix.
3668 (frameset--record-minibuffer-relationships): Allow saving a
3669 minibufferless frame without its corresponding minibuffer frame.
3670 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3671 frame, if the frame id matches.
3672 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3673 frames before orphaned ones.
3674 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3675
c660a885
MR
36762013-08-14 Martin Rudalics <rudalics@gmx.at>
3677
3678 * window.el (window-make-atom): Don't overwrite parameter
3679 already present.
3680 (display-buffer-in-atom-window): Handle special case where we
3681 split an already atomic window.
3682 (window--major-non-side-window, display-buffer-in-side-window)
3683 (window--side-check): Ignore minibuffer window when walking
3684 window tree.
3685 (window-deletable-p): Return 'frame only if no other frame uses
3686 our minibuffer window.
3687 (record-window-buffer): Run buffer-list-update-hook.
3688 (split-window): Make sure window--check-frame won't destroy an
3689 existing atomic window in case the new window gets nested
3690 inside.
3691 (display-buffer-at-bottom): Ignore minibuffer window when
3692 walking window tree. Don't split a side window.
3693 (pop-to-buffer): Don't set-buffer here, the select-window call
3694 should do that.
3695 (mouse-autoselect-window-select): Autoselect only if we are in the
3696 text portion of the window.
3697
8259030d
LMI
36982013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3699
21c58ae2
LMI
3700 * net/shr.el (shr-parse-image-data): New function to grab both the
3701 data itself and the Content-Type.
3702 (shr-put-image): Use it.
3703
3704 * net/eww.el (eww-display-image): Ditto.
3705
8259030d
LMI
3706 * image.el (image-content-type-suffixes): New variable.
3707
ad756449
FEG
37082013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3709
3710 * progmodes/python.el (python-imenu--build-tree)
3711 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3712
f73f4ce6
XF
37132013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3714
3715 * simple.el (backward-word): Mention the optional argument.
3716
1f585e65
SM
37172013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * frameset.el (frameset--make): Rename constructor from make-frameset.
3720 (frameset-p, frameset-valid-p): Don't autoload.
3721 (frameset-valid-p): Use normal accessors.
3722
af1c6c84
GM
37232013-08-13 Glenn Morris <rgm@gnu.org>
3724
55e47f95
GM
3725 * progmodes/compile.el (compile-command): Tweak example in doc.
3726 * obsolete/scribe.el (scribe-mode):
3727 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3728
f0024d8c
GM
3729 * mail/feedmail.el (feedmail-confirm-outgoing)
3730 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3731
3732 * cus-start.el (truncate-partial-width-windows): Fix type.
3733
3734 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3735
af1c6c84
GM
3736 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3737
5514cc4c
SM
37382013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * emacs-lisp/timer.el (timer--time-setter): New function.
3741 (timer--time): Use it as gv-setter.
3742
3743 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3744 setter is not a symbol.
3745
7997a2f1
GJ
37462013-08-12 Grégoire Jadi <daimrod@gmail.com>
3747
3748 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3749 if sending fails. This makes debugging easier.
3750
01f1a9ab
JB
37512013-08-12 Juanma Barranquero <lekktu@gmail.com>
3752
3753 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3754 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3755 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3756
594a4307
EZ
37572013-08-12 Eli Zaretskii <eliz@gnu.org>
3758
3759 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3760
7a22490f 37612013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3762
3763 * format.el (format-annotate-function):
3764 Handle read-only text properties in the source. (Bug#14887)
3765
3e41a054
LMI
37662013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3767
5514cc4c
SM
3768 * net/eww.el (eww-display-html): Ignore coding system errors.
3769 One web site uses "utf-8lias" as the coding system.
3e41a054 3770
7ec326db
JB
37712013-08-11 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3774
5660113b
JB
37752013-08-10 Juanma Barranquero <lekktu@gmail.com>
3776
9a4ebc74
JB
3777 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3778 (tutorial--detailed-help): Remove unused local variables.
3779 (tutorial--save-tutorial-to): Use ignore-errors.
3780 (help-with-tutorial): Use looking-at-p.
3781
3782 * view.el (view-buffer-other-window, view-buffer-other-frame):
3783 Mark unused arguments.
3784
3785 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3786 (woman-select-symbol-fonts, woman, woman-find-file)
3787 (woman-insert-file-contents, woman-non-underline-faces):
3788 Use string-match-p.
3789 (woman1-unquote): Move declaration.
3790
3791 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3792 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3793 argument. Remove unused local variable.
3794 (xml-parse-elem-type): Use string-match-p.
3795 (xml-substitute-numeric-entities): Use ignore-errors.
3796
45fdb482
JB
3797 * calculator.el (calculator): Mark unused argument.
3798 (calculator-paste, calculator-quit, calculator-integer-p):
3799 Use ignore-errors.
3800 (calculator-string-to-number, calculator-decimal, calculator-exp)
3801 (calculator-op-or-exp): Use string-match-p.
3802
3803 * dired.el (dired-buffer-more-recently-used-p): Declare.
3804 (dired-insert-set-properties, dired-insert-old-subdirs):
3805 Use ignore-errors.
3806
3807 * dired-aux.el (dired-compress): Use ignore-errors.
3808 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3809 (dired-do-async-shell-command, dired-do-shell-command)
3810 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3811 (dired-insert-subdir-validate): Use string-match-p.
3812 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3813 (dired-add-entry): Use string-match-p, looking-at-p.
3814 (dired-insert-subdir-newpos): Remove unused local variable.
3815
3816 * filenotify.el (file-notify-callback): Remove unused local variable.
3817
3818 * filesets.el (filesets-error): Mark unused argument.
3819 (filesets-which-command-p, filesets-filter-dir-names)
3820 (filesets-directory-files, filesets-get-external-viewer)
3821 (filesets-ingroup-get-data): Use string-match-p.
3822
3823 * find-file.el (ff-other-file-name, ff-other-file-name)
3824 (ff-find-the-other-file, ff-cc-hh-converter):
3825 Remove unused local variables.
3826 (ff-get-file-name): Use string-match-p.
3827 (ff-all-dirs-under): Use ignore-errors.
3828
3829 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3830 (follow-select-if-visible): Remove unused local variable.
3831
3832 * forms.el (read-file-filter): Move declaration.
3833 (forms--make-format, forms--make-parser, forms-insert-record):
3834 Quote function with #'.
3835 (forms--update): Use string-match-p. Quote function with #'.
3836
3837 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3838 (help-make-xrefs): Use looking-at-p.
3839 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3840
3841 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3842 (ibuffer-confirm-operation-on): Use string-match-p.
3843
3844 * msb.el (msb-item-handler, msb-dired-item-handler):
3845 Mark unused arguments.
3846
3847 * ses.el (ses-decode-cell-symbol)
3848 (ses-kill-override): Remove unused local variable.
3849 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3850 (ses-load): Use ignore-errors, looking-at-p.
3851 (ses-jump-safe): Use ignore-errors.
3852 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3853
3854 * tabify.el (untabify, tabify): Mark unused arguments.
3855
3856 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3857 Mark unused argument.
3858 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3859 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3860
c880af52
JB
3861 * emacs-lisp/timer.el (timer--time): Define setter with
3862 gv-define-setter to avoid deprecation warning.
3863
5660113b 3864 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3865 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3866 (cmpl-statistics-block): Remove (body was commented out).
3867 All callers changed.
3868 (add-completions-from-buffer, load-completions-from-file):
3869 Remove unused variables.
3870
156aab80
JB
38712013-08-09 Juanma Barranquero <lekktu@gmail.com>
3872
5c5dee78
JB
3873 * filecache.el (file-cache-delete-file-list):
3874 Print message only when told so.
3875 (file-cache-files-matching): Use #' in mapconcat argument.
3876
156aab80
JB
3877 * ffap.el (ffap-url-at-point): Fix reference to variable
3878 thing-at-point-default-mail-uri-scheme.
3879
ad9dcd70
SM
38802013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3881
54bd972f
SM
3882 * subr.el (define-error): New function.
3883 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3884 error-file-not-found and define with define-error.
3885 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3886 and define with define-error.
3887 * userlock.el (file-locked, file-supersession):
3888 * simple.el (mark-inactive):
3889 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3890 * progmodes/ada-mode.el (ada-mode-errors):
3891 * play/life.el (life-extinct):
3892 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3893 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3894 * nxml/rng-util.el (rng-error):
3895 * nxml/rng-uri.el (rng-uri-error):
3896 * nxml/rng-match.el (rng-compile-error):
3897 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3898 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3899 * nxml/nxml-rap.el (nxml-scan-error):
3900 * nxml/nxml-outln.el (nxml-outline-error):
3901 * net/soap-client.el (soap-error):
3902 * net/gnutls.el (gnutls-error):
3903 * net/ange-ftp.el (ftp-error):
3904 * mpc.el (mpc-proc-error):
3905 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3906 (json-number-format, json-string-escape, json-string-format)
3907 (json-key-format, json-object-format):
3908 * jka-compr.el (compression-error):
3909 * international/quail.el (quail-error):
3910 * international/kkc.el (kkc-error):
3911 * emacs-lisp/ert.el (ert-test-failed):
3912 * calc/calc.el (calc-error, inexact-result, math-overflow)
3913 (math-underflow):
3914 * bookmark.el (bookmark-error-no-filename):
3915 * epg.el (epg-error): Define with define-error.
3916
0ea9e53a
SM
3917 * time.el (display-time-event-handler)
3918 (display-time-next-load-average): Don't call sit-for since it seems
3919 unnecessary (bug#15045).
3920
b0429158
SM
3921 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3922 Use #' instead of ' to quote functions.
3923 (checkdoc-output-mode): Use setq-local.
3924 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3925 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3926 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3927 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3928 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3929 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3930 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3931 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3932
ad9dcd70
SM
3933 * ido.el (ido-completion-help): Fix up compiler warning.
3934
77187e6f
JB
39352013-08-09 Juanma Barranquero <lekktu@gmail.com>
3936
3937 * frameset.el (frameset-p): Add autoload cookie.
3938 (frameset--jump-to-register): New function, based on code moved from
3939 register.el.
3940 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3941
3942 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3943 (frameset-restore, frameset-save, frameset-session-filter-alist):
3944 Remove declarations.
3945 (register-alist): Doc fix.
3946 (frameset-to-register): Move to frameset.el.
3947 (jump-to-register, describe-register-1): Remove frameset-specific code.
3948
9d3aa82c
JB
39492013-08-08 Juanma Barranquero <lekktu@gmail.com>
3950
3951 * allout-widgets.el (allout-widgets-pre-command-business)
3952 (allout-widgets-post-command-business)
3953 (allout-widgets-after-change-handler)
3954 (allout-decorate-item-and-context, allout-set-boundary-marker)
3955 (allout-body-modification-handler)
3956 (allout-graphics-modification-handler): Mark ignored arguments.
3957 (allout-widgets-post-command-business)
3958 (allout-widgets-exposure-change-processor)
3959 (allout-widgets-exposure-undo-processor)
3960 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3961 (allout-parse-item-at-point, allout-decorate-item-guides)
3962 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3963 * allout.el (epa-passphrase-callback-function): Declare.
3964 (allout-overlay-insert-in-front-handler)
3965 (allout-overlay-interior-modification-handler)
3966 (allout-isearch-end-handler, allout-chart-siblings)
3967 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3968 (allout-yank-processing, allout-process-exposed)
3969 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3970 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3971 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3972 (lisp-indent-defform): Mark ignored arguments.
3973 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3974 (calculate-lisp-indent): Remove unused variables.
3975 * international/characters.el (indian-2-column, arabic-2-column)
3976 (tibetan): Mark ignored arguments.
3977 (use-cjk-char-width-table): Mark ignored arguments.
3978 Remove unused variables.
3979 * international/fontset.el (build-default-fontset-data)
3980 (x-compose-font-name, create-fontset-from-fontset-spec):
3981 Mark ignored arguments.
3982 (fontset-plain-name): Remove unused variables.
3983 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3984 (keyboard-coding-system): Mark ignored arguments.
3985 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3986 * help.el (resize-temp-buffer-window):
3987 * window.el (display-buffer-in-major-side-window)
3988 (display-buffer-in-side-window, display-buffer-in-previous-window):
3989 Remove unused variables.
3990 * isearch.el (isearch-forward-symbol):
3991 * version.el (emacs-bzr-version-bzr):
3992 * international/mule-cmds.el (current-language-environment):
3993 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3994 (x-handle-display):
3995 * term/pc-win.el (x-list-fonts, x-display-planes)
3996 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3997 (x-server-version, x-display-screens, x-display-mm-height)
3998 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3999 (x-selection-owner-p, x-own-selection-internal)
4000 (x-disown-selection-internal, x-get-selection-internal)
4001 (msdos-initialize-window-system):
4002 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4003 * term/x-win.el (x-handle-no-bitmap-icon):
4004 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4005 (vc-default-find-file-hook, vc-default-extra-menu):
4006 Mark ignored arguments.
4007
0ca3f70e
SM
40082013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4011 break-condition in the context of the debugged code (bug#12685).
4012
74c5d24c
CS
40132013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4014
4015 * comint.el:
4016 Do not use an overlay to highlight the last prompt. (Bug#14744)
4017 (comint-mode): Make comint-last-prompt buffer local.
4018 (comint-last-prompt): New variable.
4019 (comint-last-prompt-overlay): Remove. Superseded by
4020 comint-last-prompt.
0ca3f70e
SM
4021 (comint-snapshot-last-prompt, comint-output-filter):
4022 Use comint-last-prompt.
74c5d24c 4023
c03c02ee
JB
40242013-08-08 Juanma Barranquero <lekktu@gmail.com>
4025
a3738d20 4026 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4027 (frameset-save): Check validity of the resulting frameset.
4028
04263d23
XF
40292013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4030
4031 * ido.el (ido-record-command): Add doc string.
4032
76c5e5ab
JB
40332013-08-08 Juanma Barranquero <lekktu@gmail.com>
4034
4035 * frameset.el (frameset): Do not disable creation of the default
4036 frameset-p predicate. Doc fix.
4037 (frameset-valid-p): New function, copied from the old predicate-p.
4038 Add additional checks.
4039 (frameset-restore): Check with frameset-valid-p.
4040 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4041 (frameset-name, frameset-description, frameset-properties)
4042 (frameset-states): Add docstring.
f9dbf1cb
JB
4043 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4044 (frameset-filter-alist): Doc fixes.
76c5e5ab 4045
bd0c3c0b
JB
40462013-08-08 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4049
c735544c
SM
40502013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4053 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4054 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4055 (byte-compile-normal-call): Remove obsolescence check.
4056
2805a651
JB
40572013-08-08 Juanma Barranquero <lekktu@gmail.com>
4058
3677ffeb
JB
4059 * frameset.el (frameset-restore): Doc fix.
4060
2805a651
JB
4061 * register.el (frameset-frame-id, frameset-frame-with-id)
4062 (frameset-p, frameset-restore, frameset-save): Declare.
4063 (register-alist): Document framesets.
4064 (frameset-session-filter-alist): Declare.
4065 (frameset-to-register): New function.
4066 (jump-to-register): Implement jumping to framesets. Doc fix.
4067 (describe-register-1): Describe framesets.
4068
4069 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4070
a912c016
JB
40712013-08-07 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4074 Use lexical-binding.
4075
4076 * frameset.el (frameset): Use type vector, not list (incompatible
4077 change). Do not declare a new constructor, use the default one.
4078 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4079 `name' and `description', respectively, and add read-only slot
4080 `timestamp'. Doc fixes.
4081 (frameset-copy, frameset-persistent-filter-alist)
4082 (frameset-filter-alist, frameset-switch-to-gui-p)
4083 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4084 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4085 (frameset-filter-iconified, frameset-keep-original-display-p):
4086 Doc fixes.
4087 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4088 Rename from frameset-filter-(save|restore)-param. All callers changed.
4089 Doc fix.
4090 (frameset-p): Adapt to change to vector and be more thorough.
4091 Change arg name to OBJECT. Doc fix.
4092 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4093 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4094 All callers changed.
4095 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4096 All callers changed.
4097 (frameset--record-minibuffer-relationships): Rename from
4098 frameset--process-minibuffer-frames. All callers changed.
4099 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4100 Use new default constructor (again). Doc fix.
4101 (frameset--find-frame-if): Rename from `frameset--find-frame.
4102 All callers changed.
4103 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4104 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4105 Doc fix.
4106 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4107 PARAMETERS and WINDOW-STATE, respectively.
4108 (frameset-restore): Add new keyword argument PREDICATE.
4109 Reset frameset--target-display to nil. Doc fix.
4110
bb41480a
SM
41112013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4112
f001e98e
SM
4113 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4114 (bat-mode): Use it.
4115 (bat-mode-syntax-table): Mark \n as end-of-comment.
4116 (bat-font-lock-keywords): Remove comment rule.
4117
7679edb1
SM
4118 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4119 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4120
bb41480a
SM
4121 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4122 (byte-compile-callargs-warn): Use `push'.
4123 (byte-compile-arglist-warn): Ignore higher-order "calls".
4124 (byte-compile-file-form-autoload): Use `pcase'.
4125 (byte-compile-function-form): If quoting a symbol, check that it exists.
4126
cdc1ebb9
EZ
41272013-08-07 Eli Zaretskii <eliz@gnu.org>
4128
4129 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4130 and add a few popular commands found in batch files.
4131 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4132 (dos-mode): Doc fixes.
4133
312b1740
SM
41342013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4137 (dos-mode): Use setq-local. Add space after "rem".
4138 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4139 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4140
400a3178
AM
41412013-08-07 Arni Magnusson <arnima@hafro.is>
4142
4143 * progmodes/dos.el: New file.
4144 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4145 dos-mode.
4146
3b5c03d3
GM
41472013-08-06 Glenn Morris <rgm@gnu.org>
4148
4149 * calendar/calendar.el: Add new faces, and day-header-array.
4150 (calendar-weekday-header, calendar-weekend-header)
4151 (calendar-month-header): New faces.
4152 (calendar-day-header-construct): New function.
4153 (calendar-day-header-width): Also :set calendar-day-header-array.
4154 (calendar-american-month-header, calendar-european-month-header)
4155 (calendar-iso-month-header): Use calendar- faces.
4156 (calendar-generate-month):
4157 Use calendar-day-header-array for day headers; apply faces to them.
4158 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4159 (calendar-abbrev-construct): Add optional maxlen argument.
4160 (calendar-day-name-array): Doc fix.
4161 (calendar-day-name-array, calendar-abbrev-length)
4162 (calendar-day-abbrev-array):
4163 Also :set calendar-day-header-array, and maybe redraw.
4164 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4165 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4166 (calendar-day-name): Add option to use header array.
4167
ec6a2d7a
LMI
41682013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4169
4170 * net/shr.el (shr-render-td): Remove debugging.
4171 (shr-render-td): Make width computation consistent by defaulting
4172 all zero-width columns to 10 characters. This may not be optimal,
4173 but it's at least consistent.
2122cb6d
LMI
4174 (shr-make-table-1): Redo last change to fix the real problem in
4175 colspan handling.
ec6a2d7a 4176
ed4fd9c5
DA
41772013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4178
0ca3f70e
SM
4179 * files.el (cache-long-line-scans):
4180 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4181
64e22afe
JB
41822013-08-06 Juanma Barranquero <lekktu@gmail.com>
4183
024b38fc
JB
4184 * frameset.el (frameset, frameset-filter-alist)
4185 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4186 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4187 (frameset-compute-pos): Rename from frameset--compute-pos,
4188 and add docstring.
4189 (frameset-move-onscreen): Use frameset-compute-pos.
4190 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4191
64e22afe
JB
4192 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4193 Fix typos in docstrings.
4194
c8c2aca8
DA
41952013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4196
4197 * frame.el (get-other-frame): Tiny cleanup.
4198
1d237bba
JB
41992013-08-06 Juanma Barranquero <lekktu@gmail.com>
4200
8951efef
JB
4201 * vc/vc.el (vc-default-ignore-completion-table):
4202 Silence byte-compiler warning.
4203
307764cc
JB
4204 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4205 slot , which can indeed be nil.
4206 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4207 Move entry for `left' from persistent to live filter alist.
4208 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4209 Doc fixes.
4210 (frameset-filter-params): When restoring a frame, copy items added to
4211 `filtered', to avoid unwittingly modifying the original parameters.
4212 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4213 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4214
1d237bba
JB
4215 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4216 to use looking-at-p instead of looking-at. (Bug#15028)
4217
dc6c0eda
SM
42182013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 Revert introduction of isearch-filter-predicates (bug#14714).
4221 Rely on add-function instead.
4222 * isearch.el (isearch-filter-predicates): Rename it back to
4223 isearch-filter-predicate.
4224 (isearch-message-prefix): Use advice-function-mapc and advice
4225 properties to get the isearch-message-prefix.
4226 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4227 instead of run-hook-with-args-until-failure.
4228 (isearch-filter-visible): Not obsolete any more.
4229 * loadup.el: Preload nadvice.
4230 * replace.el (perform-replace): Revert to funcall
4231 instead of run-hook-with-args-until-failure.
4232 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4233 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4234 dired-isearch-filenames-toggle; make it into a proper minor mode.
4235 Use add/remove-function.
4236 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4237 Call the minor-mode rather than add/remove-hook.
4238 (dired-isearch-filter-filenames):
4239 Remove isearch-message-prefix property.
4240 * info.el (Info--search-loop): New function, extracted from Info-search.
4241 Funcall isearch-filter-predicate instead of
4242 run-hook-with-args-until-failure isearch-filter-predicates.
4243 (Info-search): Use it.
4244 (Info-mode): Use isearch-filter-predicate instead of
4245 isearch-filter-predicates.
4246
290d5b58
DA
42472013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4248
4249 Do not call to `selected-window' where it is assumed by default.
4250 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4251 `window-hscroll', `window-width', `window-height', `window-buffer',
4252 `window-frame', `window-start', `window-point', `next-window'
4253 and `window-display-table'.
4254 * abbrev.el (abbrev--default-expand):
4255 * bs.el (bs--show-with-configuration):
4256 * buff-menu.el (Buffer-menu-mouse-select):
4257 * calc/calc.el (calc):
4258 * calendar/calendar.el (calendar-generate-window):
4259 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4260 (diary-make-entry):
4261 * comint.el (send-invisible, comint-dynamic-complete-filename)
4262 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4263 * completion.el (complete):
4264 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4265 * disp-table.el (describe-current-display-table):
4266 * doc-view.el (doc-view-insert-image):
4267 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4268 * ehelp.el (with-electric-help):
4269 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4270 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4271 * emacs-lisp/helper.el (Helper-help-scroller):
4272 * emulation/cua-base.el (cua--post-command-handler-1):
4273 * eshell/esh-mode.el (eshell-output-filter):
4274 * ffap.el (ffap-gnus-wrapper):
4275 * help-macro.el (make-help-screen):
4276 * hilit-chg.el (highlight-compare-buffers):
4277 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4278 * hl-line.el (global-hl-line-highlight):
4279 * icomplete.el (icomplete-simple-completing-p):
4280 * isearch.el (isearch-done):
4281 * jit-lock.el (jit-lock-stealth-fontify):
4282 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4283 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4284 * mpc.el (mpc-tagbrowser, mpc):
4285 * net/rcirc.el (rcirc-any-buffer):
4286 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4287 * play/landmark.el (landmark-max-width, landmark-max-height):
4288 * play/zone.el (zone):
4289 * progmodes/compile.el (compilation-goto-locus):
4290 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4291 * progmodes/etags.el (find-tag-other-window):
4292 * progmodes/fortran.el (fortran-column-ruler):
4293 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4294 * progmodes/verilog-mode.el (verilog-point-text):
4295 * reposition.el (reposition-window):
4296 * rot13.el (toggle-rot13-mode):
4297 * server.el (server-switch-buffer):
4298 * shell.el (shell-dynamic-complete-command)
4299 (shell-dynamic-complete-environment-variable):
4300 * simple.el (insert-buffer, set-selective-display)
4301 (delete-completion-window):
4302 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4303 (speedbar-recenter):
4304 * startup.el (fancy-splash-head):
4305 * textmodes/ispell.el (ispell-command-loop):
4306 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4307 * tutorial.el (help-with-tutorial):
4308 * vc/add-log.el (add-change-log-entry):
4309 * vc/compare-w.el (compare-windows):
4310 * vc/ediff-help.el (ediff-indent-help-message):
4311 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4312 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4313 (ediff-setup-control-frame):
4314 * vc/emerge.el (emerge-position-region):
4315 * vc/pcvs-util.el (cvs-bury-buffer):
4316 * window.el (walk-windows, mouse-autoselect-window-select):
4317 * winner.el (winner-set-conf, winner-undo): Related users changed.
4318
38276e01
JB
43192013-08-05 Juanma Barranquero <lekktu@gmail.com>
4320
4321 * frameset.el (frameset--set-id): Doc fix.
4322 (frameset-frame-id, frameset-frame-id-equal-p)
4323 (frameset-locate-frame-id): New functions.
4324 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4325 (frameset-restore): Use them.
4326
12b4c0ea
DA
43272013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4328
4329 Do not call to `selected-frame' where it is assumed by default.
4330 Affected functions are `raise-frame', `redraw-frame',
4331 `frame-first-window', `frame-terminal' and `delete-frame'.
4332 * calendar/appt.el (appt-disp-window):
4333 * epg.el (epg-wait-for-completion):
4334 * follow.el (follow-delete-other-windows-and-split)
4335 (follow-avoid-tail-recenter):
4336 * international/mule.el (set-terminal-coding-system):
4337 * mail/rmail.el (rmail-mail-return):
4338 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4339 * progmodes/f90.el (f90-add-imenu-menu):
4340 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4341 * server.el (server-switch-buffer):
4342 * simple.el (delete-completion-window):
4343 * talk.el (talk):
4344 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4345 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4346 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4347 * vc/ediff.el (ediff-documentation): Related users changed.
4348 * frame.el (selected-terminal): Remove the leftover.
4349
17f25e76
GM
43502013-08-05 Glenn Morris <rgm@gnu.org>
4351
4352 * calendar/calendar.el (calendar-generate-month):
4353 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4354 (calendar-generate-month, calendar-font-lock-keywords):
4355 Fix for calendar-day-header-width > length of any day name.
17f25e76 4356
063233c3
JB
43572013-08-05 Juanma Barranquero <lekktu@gmail.com>
4358
4359 * desktop.el (desktop-clear): Use new name of sort predicate.
4360
4361 * frameset.el (frameset): Add docstring. Move :version property to its
4362 own `version' slot.
4363 (frameset-copy): Rename from copy-frameset.
4364 (frameset-p): Check more thoroughly.
4365 (frameset-prop): Do not check for :version, which is no longer a prop.
4366 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4367 Use new :never value instead of t.
4368 (frameset-filter-alist): Expand and clarify docstring.
4369 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4370 (frameset-filter-minibuffer, frameset-filter-save-param)
4371 (frameset-filter-restore-param, frameset-filter-iconified):
4372 Add pointer to docstring of frameset-filter-alist.
4373 (frameset-filter-params): Rename filter values to be more meaningful:
4374 :never instead of t, and reverse the meanings of :save and :restore.
4375 (frameset--process-minibuffer-frames): Clarify error message.
4376 (frameset-save): Avoid unnecessary and confusing call to framep.
4377 Use new BOA constructor for framesets.
4378 (frameset--reuse-list): Doc fix.
4379 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4380 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4381 (frameset-minibufferless-first-p): Doc fix.
4382 Rename from frameset-sort-frames-for-deletion.
4383 (frameset-restore): Doc fixes. Use new function names.
4384 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4385
d5671a82
JB
43862013-08-04 Juanma Barranquero <lekktu@gmail.com>
4387
4388 * desktop.el (desktop-restore-forces-onscreen)
4389 (desktop-restore-reuses-frames): Document :keyword constant values.
4390 (desktop-filter-parameters-alist): Remove, now identical to
4391 frameset-filter-alist.
4392 (desktop--filter-tty*): Remove, moved to frameset.el.
4393 (desktop-save-frameset, desktop-restore-frameset):
4394 Do not pass :filters argument.
4395
4396 * frameset.el (frameset-live-filter-alist)
4397 (frameset-persistent-filter-alist): New variables.
4398 (frameset-filter-alist): Use them. Add autoload cookie.
4399 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4400 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4401 `frameset--id' (it's supposed to be internal to frameset.el).
4402 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4403 (frameset--initial-params): New function.
4404 (frameset--get-frame): Use it. Doc fix.
4405 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4406 Accept :all, not 'all.
4407 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4408 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4409 with fbound symbols. Fix frame id matching, and remove matching ids if
4410 the frame being restored is deleted. Obey :delete.
4411
671d5c16
SM
44122013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * subr.el (macrop): New function.
4415 (text-clone--maintaining): New var.
4416 (text-clone--maintain): Rename from text-clone-maintain. Use it
4417 instead of inhibit-modification-hooks.
4418
4419 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4420 a proxy, so as handle autoloads and redefinitions of the target.
4421 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4422
4423 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4424 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4425 (pcase--mutually-exclusive-p): New function.
4426 (pcase--split-consp): Use it.
4427 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4428 mutually exclusive with the current predicate.
4429
4430 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4431 (edebug-macrop): Remove. Use `macrop' instead.
4432 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4433 (ad-macro-p):
4434 * eshell/esh-cmd.el (eshell-macrop):
4435 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4436
1d44e9dc
SM
44372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4440 (advice-mapc): New function, using it.
4441 (advice-function-member-p): New function.
4442 (advice--normalize): Store the cdr in advice--saved-rewrite since
4443 that's the part that will be changed.
4444 (advice--symbol-function): New function.
4445 (advice-remove): Handle removal before the function is defined.
4446 Adjust to new advice--saved-rewrite.
4447 (advice-member-p): Use advice-function-member-p and
4448 advice--symbol-function.
4449
5414a283
JB
44502013-08-04 Juanma Barranquero <lekktu@gmail.com>
4451
51d30f2c
JB
4452 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4453 (frameset-filter-minibuffer): Doc fix.
4454 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4455 (frameset--set-id, frameset--process-minibuffer-frames)
4456 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4457 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4458
5414a283
JB
4459 * desktop.el (desktop-clear): Only delete frames when called
4460 interactively and desktop-restore-frames is non-nil. Doc fix.
4461 (desktop-read): Set desktop-saved-frameset to nil.
4462
ab419665
XF
44632013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4464
4465 * vc/vc.el (vc-ignore): Rewrite.
4466 (vc-default-ignore-completion-table):
4467 (vc--read-lines):
4468 (vc--add-line, vc--remove-regexp): New functions.
4469
4470 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4471 (vc-svn-ignore-completion-table): New function.
4472
4473 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4474 (vc-hg-ignore-completion-table):
4475 (vc-hg-find-ignore-file): New functions.
4476
4477 * vc/vc-git.el (vc-git-ignore): Rewrite.
4478 (vc-git-ignore-completion-table):
4479 (vc-git-find-ignore-file): New functions.
4480
4481 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4482
4483 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4484 (vc-bzr-ignore-completion-table):
4485 (vc-bzr-find-ignore-file): New functions.
4486
2613dea2
JB
44872013-08-03 Juanma Barranquero <lekktu@gmail.com>
4488
4489 * frameset.el (frameset-prop): New function and setter.
4490 (frameset-save): Do not modify frame list passed by the caller.
4491
9c959872
SM
44922013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4495
a104f656
SM
44962013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4497
70122acf
SM
4498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4499 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4500
a104f656
SM
4501 * custom.el (custom-initialize-default, custom-initialize-set)
4502 (custom-initialize-reset, custom-initialize-changed): Affect the
4503 toplevel-default-value (bug#6275, bug#14586).
4504 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4505 for bug#6275.
4506
f078d570
JB
45072013-08-02 Juanma Barranquero <lekktu@gmail.com>
4508
185e3b5a
JB
4509 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4510 Add cl-def* expressions.
4511
f078d570
JB
4512 * frameset.el (frameset-filter-params): Fix order of arguments.
4513
9421876d
JB
45142013-08-02 Juanma Barranquero <lekktu@gmail.com>
4515
4516 Move code related to saving frames to frameset.el.
4517 * desktop.el: Require frameset.
4518 (desktop-restore-frames): Doc fix.
4519 (desktop-restore-reuses-frames): Rename from
4520 desktop-restoring-reuses-frames.
4521 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4522 (desktop-clear): Clear frames too.
4523 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4524 (desktop--filter-tty*, desktop-save, desktop-read):
4525 Use frameset functions.
4526 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4527 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4528 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4529 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4530 (desktop--process-minibuffer-frames, desktop-save-frames)
4531 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4532 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4533 (desktop--sort-states, desktop-restoring-frames-p)
4534 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4535 (desktop-restoring-frameset-p, desktop-restore-frameset)
4536 (desktop--check-dont-save, desktop-save-frameset): New functions.
4537 (desktop--app-id): New constant.
4538 (desktop-first-buffer, desktop-buffer-ok-count)
4539 (desktop-buffer-fail-count): Move before first use.
4540 * frameset.el: New file.
4541
76dc5996
SM
45422013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * files.el: Use lexical-binding.
4545 (dir-locals-read-from-file): Remove unused `err' variable.
4546 (hack-dir-local-variables--warned-coding): New var.
4547 (hack-dir-local-variables): Use it to avoid repeated warnings.
4548 (make-backup-file-name--default-function): New function.
4549 (make-backup-file-name-function): Use it as default.
4550 (buffer-stale--default-function): New function.
4551 (buffer-stale-function): Use it as default.
4552 (revert-buffer-insert-file-contents--default-function): New function.
4553 (revert-buffer-insert-file-contents-function): Use it as default.
4554 (insert-directory): Avoid add-to-list.
4555
4556 * autorevert.el (auto-revert-handler): Simplify.
4557 Use buffer-stale--default-function.
4558
06d36e2b
TH
45592013-08-01 Tassilo Horn <tsdh@gnu.org>
4560
5f648ab4
TH
4561 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4562
06d36e2b
TH
4563 * whitespace.el (whitespace-ensure-local-variables): New function.
4564 (whitespace-cleanup-region): Call it.
4565 (whitespace-turn-on): Call it.
4566
a43dc424
MA
45672013-08-01 Michael Albinus <michael.albinus@gmx.de>
4568
4569 Complete file name handlers.
4570
4571 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4572 (tramp-handle-verify-visited-file-modtime)
4573 (tramp-handle-file-notify-rm-watch): New functions.
4574 (tramp-call-process): Do not bind `default-directory'.
4575
44e18199
JB
4576 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4577 Order alphabetically.
a43dc424
MA
4578 [access-file, add-name-to-file, dired-call-process]:
4579 [dired-compress-file, file-acl, file-notify-rm-watch]:
4580 [file-ownership-preserved-p, file-selinux-context]:
4581 [make-directory-internal, make-symbolic-link, set-file-acl]:
4582 [set-file-selinux-context, set-visited-file-modtime]:
4583 [verify-visited-file-modtime]: Add handler.
4584 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4585
4586 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4587 [file-notify-add-watch, file-notify-rm-watch]:
4588 [set-file-times, set-visited-file-modtime]:
4589 [verify-visited-file-modtime]: Add handler.
4590 (with-tramp-gvfs-error-message)
4591 (tramp-gvfs-handle-set-visited-file-modtime)
4592 (tramp-gvfs-fuse-file-name): Remove.
4593 (tramp-gvfs-handle-file-notify-add-watch)
4594 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4595 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4596
44e18199
JB
4597 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4598 Order alphabetically.
a43dc424
MA
4599 [file-notify-rm-watch ]: Use default Tramp handler.
4600 [executable-find]: Remove private handler.
4601 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4602 `default-directory'.
4603 (tramp-sh-handle-executable-find)
4604 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4605 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4606 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4607 Do not use `format' in `tramp-message'.
4608
4609 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4610 [file-notify-rm-watch, set-visited-file-modtime]:
4611 [verify-visited-file-modtime]: Add handler.
4612 (tramp-smb-call-winexe): Do not bind `default-directory'.
4613
7188b515
XF
46142013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4615
4616 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4617
2412ee1a
DG
46182013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4619
4620 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4621 use it.
4622 (log-view-diff-changeset): Same.
4623 (log-view-diff-common): Call backend command `previous-revision'
4624 to find out the previous revision, in both cases. Swap the
4625 variables `to' and `fr', so that `fr' usually refers to the
4626 earlier revision (Bug#14989).
4627
5002a754
KRC
46282013-07-31 Kan-Ru Chen <kanru@kanru.info>
4629
4630 * ibuf-ext.el (ibuffer-filter-by-filename):
4631 Make it work with dired buffers too.
4632
44e18199 46332013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4634
4635 * emacs-lisp/re-builder.el (reb-color-display-p):
4636 * files.el (save-buffers-kill-terminal):
4637 * net/browse-url.el (browse-url):
4638 * server.el (server-save-buffers-kill-terminal):
4639 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4640 Prefer nil to selected-frame for the first arg of frame-parameter.
4641
aeca3fbb
XF
46422013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4643
4644 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4645
158bc55c
SB
46462013-07-30 Stephen Berman <stephen.berman@gmx.net>
4647
4648 * minibuffer.el (completion--twq-all): Try and preserve each
4649 completion's case choice (bug#14907).
4650
d50fceab
LMI
46512013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4652
ac38e731
LMI
4653 * net/network-stream.el (open-network-stream): Mention the new
4654 :nogreeting parameter.
4655 (network-stream-open-starttls): Use the :nogreeting parameter
4656 (bug#14938).
4657
1211de50
LMI
4658 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4659
997798bf
LMI
4660 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4661 more natural than popping.
4662
d50fceab 4663 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4664 (shr-urlify): Highlight under mouse.
d50fceab 4665
5c09de04
XF
46662013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4667
207d1d04
XF
4668 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4669
4670 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4671
5c09de04
XF
4672 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4673 buffer for output.
4674
3cd51eaa
XF
4675 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4676 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4677
44e18199 4678 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4679 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4680
4681 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4682
4683 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4684 buffer for output.
4685
35a89bdd
EZ
46862013-07-29 Eli Zaretskii <eliz@gnu.org>
4687
4688 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4689 initial frame is minibuffer-less. (Bug#14841)
4690
78822e94
MA
46912013-07-29 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4694 option.
4695
4696 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4697 (tramp-maybe-open-connection): Use it.
4698
9503c190
JB
46992013-07-28 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4702 minimal set of parameters passed when creating a frame, because
4703 the minibuffer status of a frame cannot be changed later.
4704
d5a845b4
SB
47052013-07-28 Stephen Berman <stephen.berman@gmx.net>
4706
4707 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4708 replace-regexp-in-string and inadvertent omissions in previous change.
4709 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4710 name of filtered items buffer.
d5a845b4 4711
ddeffb17
JB
47122013-07-28 Juanma Barranquero <lekktu@gmail.com>
4713
4714 * desktop.el: Optionally force offscreen frames back onscreen.
4715 (desktop-restoring-reuses-frames): New option.
4716 (desktop--compute-pos, desktop--move-onscreen): New functions.
4717 (desktop--make-frame): Use desktop--move-onscreen.
4718
f5950f7a
AM
47192013-07-27 Alan Mackenzie <acm@muc.de>
4720
4721 Fontify a Java generic method as a function.
4722 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4723 value to t.
4724
ae43b66a
SB
47252013-07-27 Stephen Berman <stephen.berman@gmx.net>
4726
4727 * calendar/todo-mode.el: Add command to rename todo files.
4728 (todo-rename-file): New command.
4729 (todo-key-bindings-t): Add key binding for it. Change the
4730 bindings of todo-filter-regexp-items(-multifile) to use `x'
4731 instead of `r', since the latter is better suited to the new
4732 renaming command.
4733
5ab78d3d
AM
47342013-07-27 Alan Mackenzie <acm@muc.de>
4735
4736 Make Java try-with-resources statement parse properly.
4737 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4738 (c-block-stmt-1-2-key): New language constants/variables.
4739 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4740 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4741 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4742 with c-block-stmt-1-2-key.
5ab78d3d 4743
d85c4d50
JB
47442013-07-27 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * desktop.el (desktop--make-frame): Apply most frame parameters after
4747 creating the frame to force (partially or totally) offscreen frames to
4748 be restored as such.
4749
e4c467f9
XF
47502013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4751
4752 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4753 (Bug#14948)
e4c467f9 4754
7ced0d04
SM
47552013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4758 `base' arg of backtrace-frame.
4759
fec92060
EZ
47602013-07-26 Eli Zaretskii <eliz@gnu.org>
4761
4762 * simple.el (list-processes): Doc fix.
4763
d58d31fb
JB
47642013-07-26 Juanma Barranquero <lekktu@gmail.com>
4765
4766 * desktop.el (desktop--select-frame):
d85c4d50 4767 Try harder to reuse existing frames.
d58d31fb 4768
53ff3e77
SM
47692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4772 (edebug-eval): Use backtrace-eval.
4773 (edebug--display, edebug--recursive-edit): Don't let-bind the
4774 edebug-outer-* vars that keep track of variables we locally let-bind.
4775 (edebug-outside-excursion): Don't restore outside values of locally
4776 let-bound vars.
4777 (edebug--display): Use user-error.
4778 (cl-lexical-debug, cl-debug-env): Remove.
4779
045f7a53
JB
47802013-07-26 Juanma Barranquero <lekktu@gmail.com>
4781
4782 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4783 are restored to be sure that they are visible before deleting any
4784 remaining ones.
4785
59070b32
MM
47862013-07-26 Matthias Meulien <orontee@gmail.com>
4787
742a3501
XF
4788 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4789 vc-print-root-log. (Bug#14948)
59070b32 4790
b1fb3596
RS
47912013-07-26 Richard Stallman <rms@gnu.org>
4792
4793 Add aliases for encrypting mail.
4794 * epa.el (epa-mail-aliases): New option.
4795 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4796 Bind inhibit-read-only so read-only text doesn't ruin everything.
4797 (epa-mail-default-recipients): New subroutine broken out.
4798 Handle epa-mail-aliases.
4799
56ea7291
SM
48002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 Add support for lexical variables to the debugger's `e' command.
4803 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4804 vars, except for debugger-outer-match-data.
4805 (debugger-frame-number): Move check for "on a function call" from
4806 callers into it. Add `skip-base' argument.
4807 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4808 (debugger-env-macro): Only reset the state stored in non-variables,
4809 i.e. current-buffer and match-data.
4810 (debugger-eval-expression): Rewrite using backtrace-eval.
4811 * subr.el (internal--called-interactively-p--get-frame): Remove.
4812 (called-interactively-p):
4813 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4814 `base' arg of backtrace-frame instead.
4815
15ac32d5
GM
48162013-07-26 Glenn Morris <rgm@gnu.org>
4817
8358a09d
GM
4818 * align.el (align-regexp): Doc fix. (Bug#14857)
4819 (align-region): Explicit error if subexpression missing/does not match.
4820
15ac32d5
GM
4821 * simple.el (global-visual-line-mode):
4822 Do not duplicate the mode lighter. (Bug#14858)
4823
f47ad11b
MR
48242013-07-25 Martin Rudalics <rudalics@gmx.at>
4825
4826 * window.el (display-buffer): In display-buffer bind
4827 split-window-keep-point to t, bug#14829.
4828
02530987
JB
48292013-07-25 Juanma Barranquero <lekktu@gmail.com>
4830
4831 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4832 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4833 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4834 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4835 Change accordingly.
f63ebeb5
JB
4836 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4837 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4838
6ccb9cab 48392013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4840
6ccb9cab 4841 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4842
cb3a56d2
JB
48432013-07-25 Juanma Barranquero <lekktu@gmail.com>
4844
4845 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4846 parameter to modify-frame-parameters if the value has not changed;
4847 this is a workaround for bug#14949.
4848 (desktop--make-frame): On cl-delete-if call, check parameter name,
4849 not full parameter.
4850
7aa7fff0
XF
48512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4852
4853 * vc/vc.el (vc-ignore): New function.
4854
4855 * vc/vc-svn.el (vc-svn-ignore): New function.
4856
4857 * vc/vc-hg.el (vc-hg-ignore): New function.
4858
4859 * vc/vc-git.el (vc-git-ignore): New function.
4860
4861 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4862 (vc-dir-ignore): New function.
4863
4864 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4865 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4866
4867 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4868
4869 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4870
889acc5c
JB
48712013-07-24 Juanma Barranquero <lekktu@gmail.com>
4872
4873 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4874 (desktop-restore-frames): Warn when deleting an existing frame failed.
4875
86c40970
GM
48762013-07-24 Glenn Morris <rgm@gnu.org>
4877
4878 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4879
d5d3c58a
MA
48802013-07-24 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * filenotify.el (file-notify-supported-p):
4883 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4884 Remove functions.
4885
4886 * autorevert.el (auto-revert-use-notify):
4887 (auto-revert-notify-add-watch):
4888 * net/tramp.el (tramp-file-name-for-operation):
4889 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4890 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4891 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4892 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4893 Remove `file-notify-supported-p' entry.
4894
d100084b
GM
48952013-07-24 Glenn Morris <rgm@gnu.org>
4896
4897 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4898 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4899
ac93e56b
SM
49002013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4901
249eea30
SM
4902 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4903 checked with memq (bug#14935).
4904
ac93e56b
SM
4905 * files.el (revert-buffer-function): Use a non-nil default.
4906 (revert-buffer-preserve-modes): Declare var to
4907 provide access to the `preserve-modes' argument.
4908 (revert-buffer): Let-bind it.
4909 (revert-buffer--default): New function, extracted from revert-buffer.
4910
2cdeb903
SM
49112013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * lpr.el: Signal print errors more prominently.
4914 (print-region-function): Don't default to nil.
4915 (lpr-print-region): New function, extracted from print-region-1.
4916 Check lpr's return value and signal an error in case of problem.
4917 (print-region-1): Use it.
4918 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4919 versions instead.
4920 (ps-printer-name): Default to nil.
4921 (ps-printer-name-option): Default to lpr-printer-switch.
4922 (ps-print-region-function): Don't default to nil.
4923 (ps-postscript-code-directory): Simplify default.
4924 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4925 (ps-string-list, ps-eval-switch, ps-flatten-list)
4926 (ps-flatten-list-1): Remove.
4927 (ps-multibyte-buffer): Avoid setq.
4928 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4929 (print-region-function, ps-print-region-function): Don't set them here.
4930
73600831
XF
49312013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4932
0e55c076
XF
4933 * ido.el (ido-fractionp):
4934 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4935 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4936 (ido-max-directory-size, ido-max-dir-file-cache)
4937 (ido-decorations): Doc fix.
4938
73600831
XF
4939 * ansi-color.el: Fix old URL.
4940
3d012865
MM
49412013-07-23 Michael R. Mauger <michael@mauger.com>
4942
e903c210 4943 * progmodes/sql.el: Version 3.3
3d012865
MM
4944 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4945 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4946 (sql-interactive-remove-continuation-prompt): Rewrite, use
4947 functions above. Fix continuation prompt and complete output line
4948 handling.
4949 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4950 redirected output buffer.
4951 (sql-mode): Restore deleted code (Bug#13591).
4952
da77a2e2
JB
49532013-07-23 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4956
80ff0c71
MA
49572013-07-23 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4960
4961 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4962 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4963 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4964
b61d71e4
JB
49652013-07-23 Juanma Barranquero <lekktu@gmail.com>
4966
4967 * desktop.el (desktop-clear): Simplify; remove useless checks
4968 against invalid buffer names.
4969 (desktop-list*): Use cl-list*.
4970 (desktop-buffer-info, desktop-create-buffer): Simplify.
4971
c3512092
LL
49722013-07-23 Leo Liu <sdl.web@gmail.com>
4973
4974 * bookmark.el (bookmark-make-record): Restore NAME as a default
4975 value. (Bug#14933)
4976
0ac26976
SM
49772013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4978
7d22ce18
SM
4979 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4980 extracted from autoload--insert-text.
4981 (autoload--insert-text): Remove.
4982 (autoload--print-cookie-text): New function, extracted from
4983 autoload--insert-cookie-text.
4984 (autoload--insert-cookie-text): Remove.
4985 (autoload-generate-file-autoloads): Adjust calls accordingly.
4986
9b2607e8
SM
4987 * winner.el (winner-hook-installed-p): Remove.
4988 (winner-mode): Simplify accordingly.
4989
c43a8618
SM
4990 * subr.el (add-to-list): Fix compiler-macro when `append' is
4991 not constant. Don't use `cl-member' for the base case.
4992
0ac26976
SM
4993 * progmodes/subword.el: Fix boundary case (bug#13758).
4994 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4995 own group.
4996 (subword-backward-regexp): Make it a constant.
4997 (subword-forward-internal): Don't treat a trailing capital as the
4998 beginning of a word.
4999
6874724a
AR
50002013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5001
5002 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5003 global value of tabulated-list-revert-hook (bug#14930).
5004
70f1b5e8
JB
50052013-07-22 Juanma Barranquero <lekktu@gmail.com>
5006
a1c80d9d
JB
5007 * desktop.el: Require 'cl-lib.
5008 (desktop-before-saving-frames-functions): New hook.
5009 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5010 for frames being saved. Rename from desktop--save-minibuffer-frames.
5011 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
5012 Do not save frames with non-nil `desktop-dont-save' parameter.
5013 Filter out deleted frames.
a1c80d9d
JB
5014 (desktop--find-frame): Use cl-find-if.
5015 (desktop--select-frame): Use cl-(first|second|third) to access values
5016 of desktop-mini.
5017 (desktop--make-frame): Use cl-delete-if.
5018 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5019 (desktop-restore-frames): Use cl-(first|second|third) to access values
5020 of desktop-mini. Look for visible frame at the end, not while
5021 restoring frames.
5022
70f1b5e8
JB
5023 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5024 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5025 Use string-match-p, looking-at-p (bug#14927).
5026
728dc3cc
JB
50272013-07-21 Juanma Barranquero <lekktu@gmail.com>
5028
56bc453c
JB
5029 * desktop.el (desktop-saved-frame-states):
5030 Rename from desktop--saved-states; all users changed.
5031 (desktop-save-frames): Rename from desktop--save-frames.
5032 Do not save state to desktop file.
5033 (desktop-save): Save desktop-saved-frame-states to desktop file
5034 and reset to nil.
5035 (desktop-restoring-frames-p): New function.
5036 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5037 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5038 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5039
728dc3cc
JB
5040 * desktop.el: Correctly restore iconified frames.
5041 (desktop--filter-iconified-position): New function.
5042 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5043
862f1c9c
GM
50442013-07-20 Glenn Morris <rgm@gnu.org>
5045
c4074c9f
GM
5046 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5047 Let `message' do the formatting.
5048 (def-gdb-preempt-display-buffer): Add explicit format.
5049
d828e5f9
GM
5050 * image-dired.el (image-dired-track-original-file):
5051 Use with-current-buffer.
5052 (image-dired-track-thumbnail): Use with-current-buffer.
5053 Avoid changing point of wrong window.
5054
862f1c9c
GM
5055 * image-dired.el (image-dired-track-original-file):
5056 Avoid changing point of wrong window. (Bug#14909)
5057
f0398ec1 50582013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5059
5060 * progmodes/gdb-mi.el (gdb-done-or-error):
5061 Guard against "%" in gdb output. (Bug#14127)
5062
1451928f
AS
50632013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5064
763a086d
JB
5065 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5066 (Bug#14826)
f7a03897 5067
1451928f
AS
5068 * international/mule.el (coding-system-iso-2022-flags): Fix last
5069 change.
5070
99107004
KH
50712013-07-20 Kenichi Handa <handa@gnu.org>
5072
763a086d
JB
5073 * international/mule.el (coding-system-iso-2022-flags):
5074 Add `8-bit-level-4'. (Bug#8522)
99107004 5075
48494e06
LMI
50762013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077
8ba8eec5
LMI
5078 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5079 (bug#14815).
5080
dfbc66e3
LMI
5081 * net/eww.el (eww-process-text-input): Allow inputting when the
5082 point is at the start of the line, as the properties aren't
5083 front-sticky.
5084
48494e06
LMI
5085 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5086 degenerate widths.
5087
77c92cb9
RS
50882013-07-19 Richard Stallman <rms@gnu.org>
5089
aec7da77
RS
5090 * epa.el (epa-popup-info-window): Doc fix.
5091
77c92cb9
RS
5092 * subr.el (split-string): New arg TRIM.
5093
945c5bb1
JB
50942013-07-18 Juanma Barranquero <lekktu@gmail.com>
5095
5096 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5097 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5098
e06ec67f
MA
50992013-07-18 Michael Albinus <michael.albinus@gmx.de>
5100
c7064f05 5101 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5102 `file-notify-support'. Do not autoload. Adapt all uses.
5103 (file-notify-supported-p): New defun.
5104
c7064f05
JB
5105 * autorevert.el (auto-revert-use-notify):
5106 Use `file-notify-supported-p' instead of `file-notify-support'.
5107 Adapt docstring.
e06ec67f
MA
5108 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5109
5110 * net/tramp.el (tramp-file-name-for-operation):
5111 Add `file-notify-supported-p'.
5112
5113 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5114 New defun.
5115 (tramp-sh-file-name-handler-alist): Add it as handler for
5116 `file-notify-supported-p '.
5117
5118 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5119 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5120 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5121 Add `ignore' as handler for `file-notify-*' functions.
5122
5dc8a629
EZ
51232013-07-17 Eli Zaretskii <eliz@gnu.org>
5124
5125 * simple.el (line-move-partial, line-move): Don't start vscroll or
5126 scroll-up if the current line is not taller than the window.
5127 (Bug#14881)
5128
77aea2fb
DG
51292013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5130
5131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5132 highlight question marks in the method names as strings.
ac72c08d
DG
5133 (ruby-block-beg-keywords): Inline.
5134 (ruby-font-lock-keyword-beg-re): Extract from
5135 `ruby-font-lock-keywords'.
77aea2fb 5136
18c26d81
JD
51372013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5138
5139 * frame.el (blink-cursor-blinks): New defcustom.
5140 (blink-cursor-blinks-done): New defvar.
5141 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5142 (blink-cursor-timer-function): Check if number of blinks has been
5143 done on X and NS.
5144 (blink-cursor-suspend, blink-cursor-check): New defuns.
5145
da48522e
GM
51462013-07-15 Glenn Morris <rgm@gnu.org>
5147
5148 * edmacro.el (edmacro-format-keys): Fix previous change.
5149
0463c1ef
PE
51502013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5151
5152 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5153 The hack didn't work outside English locales anyway.
5154
b43f6451
JB
51552013-07-15 Juanma Barranquero <lekktu@gmail.com>
5156
5157 * simple.el (define-alternatives): Rename from alternatives-define,
5158 per RMS' suggestion.
5159
b958c0ad
JB
51602013-07-14 Juanma Barranquero <lekktu@gmail.com>
5161
5162 * desktop.el (desktop-restore-frames): Change default to t.
5163 (desktop-restore-in-current-display): Now offer more options.
5164 (desktop-restoring-reuses-frames): New customization option.
5165 (desktop--saved-states): Doc fix.
5166 (desktop-filter-parameters-alist): New variable, renamed and expanded
5167 from desktop--excluded-frame-parameters.
5168 (desktop--target-display): New variable.
5169 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5170 (desktop--filter-tty*, desktop--filter-*-color)
5171 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5172 (desktop--filter-save-desktop-parm)
5173 (desktop-restore-in-original-display-p): New functions.
5174 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5175 (desktop--save-minibuffer-frames): New function, inspired by a similar
5176 function from Martin Rudalics.
5177 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5178 (desktop--restore-in-this-display-p): Remove.
5179 (desktop--find-frame): Rename from desktop--find-frame-in-display
5180 and add predicate argument.
5181 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5182 (desktop--reuse-list): New variable.
5183 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5184 New functions.
5185 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5186
f6dd8b36
MA
51872013-07-14 Michael Albinus <michael.albinus@gmx.de>
5188
5189 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5190
2ce3c565
DG
51912013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5192
763a086d
JB
5193 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5194 Highlight conversion methods on Kernel.
2ce3c565 5195
2cdb7698
AM
51962013-07-13 Alan Mackenzie <acm@muc.de>
5197
5198 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5199 and comment it out. This out-commenting enables certain C++
5200 declarations to be parsed correctly.
5201
1a67b811
EZ
52022013-07-13 Eli Zaretskii <eliz@gnu.org>
5203
1b796d6b
EZ
5204 * international/mule.el (define-coding-system): Doc fix.
5205
1a67b811
EZ
5206 * simple.el (default-font-height): Don't call font-info if the
5207 frame's default font didn't change since the frame was created.
5208 (Bug#14838)
5209
58fbe886
LL
52102013-07-13 Leo Liu <sdl.web@gmail.com>
5211
5212 * ido.el (ido-read-file-name): Guard against non-symbol value.
5213
1f0480d4
FEG
52142013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5215
5216 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5217 in nested defuns.
5218
97ead0e5
LL
52192013-07-13 Leo Liu <sdl.web@gmail.com>
5220
5221 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5222 ido-set-matches call. (Bug#6852)
5223
0880a952
DG
52242013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5225
5226 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5227 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5228 Ruby 2.0.
5229 (ruby-font-lock-keywords): Distinguish calls to functions with
5230 module-like names from module references. Highlight character
5231 literals.
5232
a7d8babb
SDJ
52332013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5234
5235 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5236 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5237
acfcc8c5
JB
52382013-07-12 Juanma Barranquero <lekktu@gmail.com>
5239
5240 * desktop.el (desktop--v2s): Remove unused local variable.
5241 (desktop-save-buffer): Make defvar-local; adjust docstring.
5242 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5243 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5244
051f2775
AS
52452013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5248
f24e7572
GM
52492013-07-12 Eli Zaretskii <eliz@gnu.org>
5250
5251 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5252 (Bug#14842)
5253
539a920c
GM
52542013-07-12 Glenn Morris <rgm@gnu.org>
5255
5256 * doc-view.el: Require cl-lib at runtime too.
5257 (doc-view-remove-if): Remove.
5258 (doc-view-search-next-match, doc-view-search-previous-match):
5259 Use cl-remove-if.
5260
5261 * edmacro.el: Require cl-lib at runtime too.
5262 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5263 (edmacro-mismatch, edmacro-subseq): Remove.
5264
5265 * shadowfile.el: Require cl-lib.
5266 (shadow-remove-if): Remove.
5267 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5268 Use cl-remove-if.
5269
5270 * wid-edit.el: Require cl-lib.
5271 (widget-choose): Use cl-remove-if.
5272 (widget-remove-if): Remove.
5273
5274 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5275 (ebrowse-delete-if-not): Remove.
5276 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5277 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5278 Use cl-delete-if-not.
5279
1048af7c
JB
52802013-07-12 Juanma Barranquero <lekktu@gmail.com>
5281
5282 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5283 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5284
6c0674ee
LL
52852013-07-12 Leo Liu <sdl.web@gmail.com>
5286
5287 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5288
a19b3c2d
GM
52892013-07-11 Glenn Morris <rgm@gnu.org>
5290
4582a01c
GM
5291 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5292 (edebug-gensym-index, edebug-gensym):
5293 Remove reimplementation of cl-gensym.
5294 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5295
5296 * thumbs.el: Require cl-lib at run-time too.
5297 (thumbs-gensym-counter, thumbs-gensym):
5298 Remove reimplementation of cl-gensym.
5299 (thumbs-temp-file): Use cl-gensym.
5300
a19b3c2d
GM
5301 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5302 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5303 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5304 (ert--union, ert--gensym-counter, ert--gensym-counter)
5305 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5306 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5307 (ert-make-test-unbound, ert--expand-should-1)
5308 (ert--expand-should, ert--should-error-handle-error)
5309 (should-error, ert--explain-equal-rec)
5310 (ert--plist-difference-explanation, ert-select-tests)
5311 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5312 Use cl-lib functions rather than reimplementations.
5313
88f6a933
MA
53142013-07-11 Michael Albinus <michael.albinus@gmx.de>
5315
5316 * net/tramp.el (tramp-methods): Extend docstring.
5317 (tramp-connection-timeout): New defcustom.
5318 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5319 (with-tramp-progress-reporter): Simplify.
5320 (tramp-process-actions): Improve messages.
5321
5322 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5323 * net/tramp-sh.el (tramp-maybe-open-connection):
5324 Use `tramp-connection-timeout'.
5325 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5326 (Bug#14808)
5327
a43d577e
LL
53282013-07-11 Leo Liu <sdl.web@gmail.com>
5329
5330 * ido.el (ido-read-file-name): Conform to the requirements of
5331 read-file-name. (Bug#11861)
5332 (ido-read-directory-name): Conform to the requirements of
5333 read-directory-name.
5334
d77974bf
JB
53352013-07-11 Juanma Barranquero <lekktu@gmail.com>
5336
5337 * subr.el (delay-warning): New function.
5338
35cb8a3e
EZ
53392013-07-10 Eli Zaretskii <eliz@gnu.org>
5340
5341 * simple.el (default-line-height): New function.
5342 (line-move-partial, line-move): Use it instead of computing the
5343 line height inline.
5344 (line-move-partial): Always compute ROWH. If the last line is
5345 partially-visible, but its text is completely visible, allow
5346 cursor to enter such a partially-visible line.
5347
525c5c77
MA
53482013-07-10 Michael Albinus <michael.albinus@gmx.de>
5349
5350 Improve error messages. (Bug#14808)
5351
5352 * net/tramp.el (tramp-current-connection): New defvar, moved from
5353 tramp-sh.el.
0ac26976 5354 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5355 needed anymore.
0ac26976
SM
5356 (tramp-error-with-buffer): Show message in minibuffer.
5357 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5358 (with-tramp-progress-reporter): Improve messages.
5359 (tramp-process-actions): Use progress reporter. Delete process in
5360 case of error. Improve messages.
5361
763a086d
JB
5362 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5363 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5364 (tramp-current-connection): Remove.
525c5c77
MA
5365 (tramp-maybe-open-connection): The car of
5366 `tramp-current-connection' are the first 3 slots of the vector.
5367
c7a4d368
TZ
53682013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5369
5370 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5371 inside continued strings.
5372
954b166e
PE
53732013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5374
5375 Timestamp fixes for undo (Bug#14824).
5376 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5377
56973319
LL
53782013-07-10 Leo Liu <sdl.web@gmail.com>
5379
5380 * files.el (require-final-newline): Allow safe local value.
5381 (Bug#14834)
5382
5550a72c
LL
53832013-07-09 Leo Liu <sdl.web@gmail.com>
5384
5385 * ido.el (ido-read-directory-name): Handle fallback.
5386 (ido-read-file-name): Update DIR to ido-current-directory.
5387 (Bug#1516)
c28b9050 5388 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5389
70c46b28
DG
53902013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5391
5392 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5393 "autoload". Remove "warn lower camel case" section, previously
5394 commented out. Highlight negation char. Do not highlight the
5395 target in singleton method definitions.
5396
0b64b838
SM
53972013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5398
7fd72e2c
SM
5399 * faces.el (tty-setup-hook): Declare the hook.
5400
0b64b838
SM
5401 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5402 and detect when a guard/pred depends on local vars (bug#14773).
5403 (pcase--u1): Adjust caller.
5404
ab49d60b
EZ
54052013-07-08 Eli Zaretskii <eliz@gnu.org>
5406
5407 * simple.el (line-move-partial, line-move): Account for
5408 line-spacing.
701d79aa
EZ
5409 (line-move-partial): Avoid setting vscroll when the last
5410 partially-visible line in window is of default height.
ab49d60b 5411
2d756ae0
LMI
54122013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5413
5414 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5415 been used a while.
5416
ed095bd7
JB
54172013-07-07 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * subr.el (read-quoted-char): Remove unused local variable `char'.
5420
f1e6674b
MK
54212013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5422
584ee3fc
GM
5423 * ediff.el (ediff-version): Version update.
5424 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5425 (ediff-merge-with-ancestor-command, ediff-directories-command)
5426 (ediff-directories3-command, ediff-merge-directories-command)
5427 (ediff-merge-directories-with-ancestor-command): New functions.
5428 All are command-line interfaces to ediff: to facilitate calling
5429 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5430
5431 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5432 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5433
584ee3fc
GM
5434 * viper.el (viper-version): Version update.
5435 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5436
584ee3fc
GM
54372013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5440 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5441 (viper-intercept-ESC-key): Simplify.
5442 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5443 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5444 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5445 (viper-setup-ESC-to-escape): New functions.
5446 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5447 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5448
9aff9b38
EZ
54492013-07-07 Eli Zaretskii <eliz@gnu.org>
5450
5165d44a
JB
5451 * simple.el (default-font-height, window-screen-lines):
5452 New functions.
9aff9b38
EZ
5453 (line-move, line-move-partial): Use them instead of
5454 frame-char-height and window-text-height. This makes scrolling
5455 text smoother when the buffer's default face uses a font that is
5456 different from the frame's default font.
5457
1afb1d07
JD
54582013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5459
5460 * files.el (write-file): Do not display confirm dialog for NS,
5461 it does its own dialog, which can't be cancelled (Bug#14578).
5462
23de972a
EZ
54632013-07-06 Eli Zaretskii <eliz@gnu.org>
5464
5465 * simple.el (line-move-partial): Adjust the row returned by
5466 posn-at-point for the current window-vscroll. (Bug#14567)
5467
54a42486
MA
54682013-07-06 Michael Albinus <michael.albinus@gmx.de>
5469
5470 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5471 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5472 spaces.
5473
34ada5f4
MR
54742013-07-06 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (window-state-put-stale-windows): New variable.
5477 (window--state-put-2): Save list of windows without matching buffer.
5478 (window-state-put): Remove "bufferless" windows if possible.
5479
11e03d89
JB
54802013-07-06 Juanma Barranquero <lekktu@gmail.com>
5481
5482 * simple.el (alternatives-define): Remove leftover :group keyword.
5483 Tweak docstring.
5484
3504a4be
LL
54852013-07-06 Leo Liu <sdl.web@gmail.com>
5486
5487 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5488 (ido-enable-virtual-buffers): New variable.
5489 (ido-buffer-internal, ido-toggle-virtual-buffers)
5490 (ido-make-buffer-list): Use it.
5491 (ido-exhibit): Support turning on and off virtual buffers
5492 automatically.
5493
61e56e2c
JB
54942013-07-06 Juanma Barranquero <lekktu@gmail.com>
5495
5496 * simple.el (alternatives-define): New macro.
5497
321e1a9c
SM
54982013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * subr.el (read-quoted-char): Use read-key.
5501 (sit-for): Let read-event decode tty input (bug#14782).
5502
d610f6dd
SB
55032013-07-05 Stephen Berman <stephen.berman@gmx.net>
5504
5505 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5506 mode command and externally. Fix various related bugs.
5507 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5508 (todo-delete-file): New command.
5509 (todo-check-file): New function.
5510 (todo-show): Handle external deletion of the file we're trying to
5511 show (bug#14688). Replace called-interactively-p by an optional
5512 prefix argument to avoid problematic interaction with catch form
5513 when byte compiled (bug#14702).
5514 (todo-quit): Handle external deletion of the archive's todo file.
5515 Make sure the buffer that was visiting the archive file is still
5516 live before trying to bury it.
5517 (todo-category-completions): Handle external deletion of any
5518 category completion files.
5519 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5520 of todo files, in case of external deletion.
5521 (todo-add-file): Replace unnecessary setq by let-binding.
5522 (todo-find-archive): Check whether there are any archives.
5523 Replace unnecessary setq by let-binding.
5524 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5525 archive buffer whether or not the archive already exists.
5526 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5527 check if the archive is new; if it is, update list of archives.
5528 (todo-default-todo-file): Allow nil to be a valid value for when
5529 there are no todo files.
5530 (todo-reevaluate-default-file-defcustom): Use corrected definition
5531 of todo-default-todo-file.
5532 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5533 (todo-delete-category, todo-show-categories-table)
5534 (todo-category-number): Clarify comment.
5535 (todo-filter-items): Clarify documentation string.
5536 (todo-show-current-file, todo-display-as-todo-file)
5537 (todo-reset-and-enable-done-separator): Tweak documentation string.
5538 (todo-done-separator): Make separator length window-width, since
5539 bug#2749 is now fixed.
5540
ddbdfd6f
MA
55412013-07-05 Michael Albinus <michael.albinus@gmx.de>
5542
321e1a9c
SM
5543 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5544 Support both "gvfs-monitor-dir" and "inotifywait".
5545 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5546 `tramp-sh-file-notify-process-filter'.
5547 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5548 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5549
96eb829a
LL
55502013-07-05 Leo Liu <sdl.web@gmail.com>
5551
5552 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5553
cf13177e
YM
55542013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5555
5556 * frame.el (display-pixel-height, display-pixel-width)
5557 (display-mm-height, display-mm-width): Mention behavior on
5558 multi-monitor setups in docstrings.
5559 (w32-display-monitor-attributes-list): Declare function.
5560 (display-monitor-attributes-list): Use it.
5561
864c58ca
MA
55622013-07-04 Michael Albinus <michael.albinus@gmx.de>
5563
5564 * filenotify.el: New package.
5565
5566 * autorevert.el (top): Require filenotify.el.
5567 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5568 instead.
5569 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5570 (auto-revert-notify-handler): Use `file-notify-*' functions.
5571
5572 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5573
321e1a9c
SM
5574 * net/tramp.el (tramp-file-name-for-operation):
5575 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5576
5577 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5578 for `file-notify-add-watch' and `file-notify-rm-watch'.
5579 (tramp-process-sentinel): Improve trace.
5580 (tramp-sh-handle-file-notify-add-watch)
5581 (tramp-sh-file-notify-process-filter)
5582 (tramp-sh-handle-file-notify-rm-watch)
5583 (tramp-get-remote-inotifywait): New defuns.
5584
96673afe
JL
55852013-07-03 Juri Linkov <juri@jurta.org>
5586
5587 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5588 call of `occur-read-primary-args' to interactive spec.
5589
5590 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5591 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5592
924494f4
MM
55932013-07-03 Matthias Meulien <orontee@gmail.com>
5594
5595 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5596 `Buffer-menu-multi-occur'. Add it to the menu.
5597 (Buffer-menu-mode): Document it in docstring.
5598 (Buffer-menu-multi-occur): New command. (Bug#14673)
5599
56f75efc
DG
56002013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5601
5602 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5603 keywords and built-ins.
5604
9b057d61
GM
56052013-07-03 Glenn Morris <rgm@gnu.org>
5606
208dee4d
GM
5607 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5608
9b057d61
GM
5609 Make info-xref checks case-sensitive by default
5610 * info.el (Info-find-node, Info-find-in-tag-table)
5611 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5612 Add option for exact case matching of nodes.
5613 * info-xref.el (info-xref): New custom group.
5614 (info-xref-case-fold): New option.
5615 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5616
e01aa29c
LL
56172013-07-03 Leo Liu <sdl.web@gmail.com>
5618
5619 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5620
3086ca2e
DG
56212013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5622
5623 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5624 middle of block statement initially, lower the depth. Remove
5625 FIXME comment, not longer valid. Remove middle of block statement
5626 detection, no need to do that anymore since we've been using
5627 `ruby-parse-region' here.
5628
a3b49114
JD
56292013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5630
5631 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5632
08e5c823 56332013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5634
5635 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5636
2addf922
JB
56372013-07-01 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5640 (desktop-restore-in-current-display): New customization option.
5641 (desktop--excluded-frame-parameters): Add `font'.
5642 (desktop--save-frames): Rename from desktop--save-windows.
5643 (desktop--restore-in-this-display-p): New function.
5644 (desktop--make-full-frame): Remove unwanted width/height from
5645 full(width|height) frames.
5646 (desktop--restore-frames): Rename from desktop--restore-windows.
5647 Obey desktop-restore-current-display. Do not delete old frames or
5648 select a new frame unless we were able to restore at least one frame.
5649
ef099a94
MN
56502013-06-30 Michal Nazarewicz <mina86@mina86.com>
5651
5652 * files.el (find-file-noselect): Simplify conditional expression.
5653
5654 * remember.el (remember-append-to-file):
5655 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5656
5657 Add `remember-notes' function to store random notes across Emacs
5658 restarts.
5659 * remember.el (remember-data-file): Add :set callback to affect
5660 notes buffer (if any).
5661 (remember-notes): New command.
5662 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5663 New defcustoms for the `remember-notes' function.
5664 (remember-notes-save-and-bury-buffer): New command.
5665 (remember-notes-mode-map): New variable.
5666 (remember-mode): New minor mode.
5667 (remember-notes--kill-buffer-query): New function.
5668 * startup.el (initial-buffer-choice): Add notes to custom type.
5669
0865d506
EZ
56702013-06-30 Eli Zaretskii <eliz@gnu.org>
5671
0ba54312
EZ
5672 * bindings.el (right-char, left-char): Don't call sit-for, this is
5673 no longer needed. Use arithmetic comparison only for numerical
5674 arguments.
5675
ef099a94
MN
5676 * international/mule-cmds.el (select-safe-coding-system):
5677 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5678
2fae38e5
LMI
56792013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5680
5681 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5682 progression on degenerate tables.
ef099a94 5683 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5684
a47cbd64
JB
56852013-06-30 Juanma Barranquero <lekktu@gmail.com>
5686
5687 Some fixes and improvements for desktop frame restoration.
5688 It is still experimental and disabled by default.
5689 * desktop.el (desktop--save-windows): Put the selected frame at
5690 the head of the list.
5691 (desktop--make-full-frame): New function.
5692 (desktop--restore-windows): Try to re-select the frame that was
5693 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5694 just show an error message and continue. Set up maximized frames
5695 so they have default non-maximized dimensions.
a47cbd64 5696
6dbafa30
DG
56972013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5698
ef099a94
MN
5699 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5700 Don't start heredoc inside a string or comment.
6dbafa30 5701
4c672a0f
EZ
57022013-06-29 Eli Zaretskii <eliz@gnu.org>
5703
5704 * bindings.el (visual-order-cursor-movement): New defcustom.
5705 (right-char, left-char): Provide visual-order cursor motion by
5706 calling move-point-visually. Update the doc strings.
5707
50960f36
KH
57082013-06-28 Kenichi Handa <handa@gnu.org>
5709
5710 * international/mule.el (define-coding-system): New coding system
5711 properties :inhibit-null-byte-detection,
5712 :inhibit-iso-escape-detection, and :prefer-utf-8.
5713 (set-buffer-file-coding-system): If :charset-list property of
5714 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5715 appropriate for setting.
5716
c1ea3abf
JB
5717 * international/mule-cmds.el (select-safe-coding-system):
5718 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5719 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5720
5721 * international/mule-conf.el (prefer-utf-8): New coding system.
5722 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5723 files.
5724
75dbaf9d
IK
57252013-06-28 Ivan Kanis <ivan@kanis.fr>
5726
eadb6068
IK
5727 * net/shr.el (shr-render-region): New function.
5728
75dbaf9d
IK
5729 * net/eww.el: Autoload `eww-browse-url'.
5730
9ea5cf9f
DG
57312013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5732
c1ea3abf
JB
5733 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5734 Adapt to `package-desc-version' being a list.
5735 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5736 archive element.
5737
39c0e36f
JB
57382013-06-27 Juanma Barranquero <lekktu@gmail.com>
5739
5740 New experimental feature to save&restore window and frame setup.
5741 * desktop.el (desktop-save-windows): New defcustom.
5742 (desktop--saved-states): New var.
5743 (desktop--excluded-frame-parameters): New defconst.
5744 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5745 (desktop--restore-windows, desktop--save-windows): New functions.
5746 (desktop-save): Call `desktop--save-windows'.
5747 (desktop-read): Call `desktop--restore-windows'.
5748
7f13406b
LMI
57492013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5750
ef099a94 5751 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5752
1e072639
SB
57532013-06-27 Stephen Berman <stephen.berman@gmx.net>
5754
5755 * info.el (Info-try-follow-nearest-node): Move search for footnote
5756 above search for node name to prevent missing a footnote (bug#14717).
5757
f3e2cbde
SB
57582013-06-27 Stephen Berman <stephen.berman@gmx.net>
5759
5760 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5761
99906aa0
LL
57622013-06-27 Leo Liu <sdl.web@gmail.com>
5763
5764 * net/eww.el (eww-read-bookmarks): Check file size.
5765
539f75f4
SM
57662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5769 advice--pending if newdef is nil or an autoload (bug#13820).
5770 (advice-mapc): New function.
5771
843571cb
LMI
57722013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5773
5774 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5775 probably.
23a75d7f 5776 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5777 (eww-add-bookmark): New command.
5778 (eww-bookmark-mode): New mode and commands.
a285ce99 5779 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5780 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5781
f2136e1e
GM
57822013-06-26 Glenn Morris <rgm@gnu.org>
5783
eab35f39
GM
5784 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5785 (hfy-size): Handle ttys. (Bug#14668)
5786
f2136e1e
GM
5787 * info-xref.el: Update for Texinfo 5 change in *note format.
5788 (info-xref-node-re, info-xref-note-re): New constants.
5789 (info-xref-check-buffer): Use info-xref-note-re.
5790
a49ff80c
SM
57912013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5792
a343d218
SM
5793 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5794
a49ff80c
SM
5795 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5796 nil terminate the loop (bug#14718).
5797
8308f184
LMI
57982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5799
5800 * net/eww.el: Rework history traversal. When going forward/back,
5801 put these actions into the history, too, so that they can be
5802 replayed.
26bf2b82 5803 (eww-render): Move the history reset to the correct buffer.
8308f184 5804
ec64c273
JL
58052013-06-25 Juri Linkov <juri@jurta.org>
5806
5807 * files-x.el (modify-dir-local-variable): Change the header comment
5808 in the file with directory local variables. (Bug#14692)
5809
e080a9d7
JL
5810 * files-x.el (read-file-local-variable-value): Add `default'.
5811 (Bug#14710)
5812
bfbc93a1
IK
58132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5814
5815 * net/eww.el (eww-make-unique-file-name): Create a unique file
5816 name before saving to entering `y' accidentally asynchronously.
5817
58182013-06-25 Ivan Kanis <ivan@kanis.fr>
5819
5820 * net/eww.el (eww-download): New command and keystroke.
5821
16f74f10
LMI
58222013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5823
a49ff80c 5824 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5825
5826 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5827 be more consistent with Info and dired.
5828
5829 * net/eww.el (eww-mode-map): Ditto.
5830
12059709
SM
58312013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5834 packages from archives.
5835 (package-archive-contents): Change format; include obsolete packages.
5836 (package-desc): Use `dir' to mark builtin packages.
5837 (package--from-builtin): Set the `dir' field to `builtin'.
5838 (generated-autoload-file, version-control): Declare.
5839 (package-compute-transaction): Change first arg and return value to be
5840 lists of package-descs. Adjust to new package-archive-contents format.
5841 (package--add-to-archive-contents): Adjust to new
5842 package-archive-contents format.
5843 (package-download-transaction): Arg is now a list of package-descs.
5844 (package-install): If `pkg' is a package name, pass it as
5845 a requirement, so it is subject to the usual (e.g. disabled) checks.
5846 (describe-package): Accept package-desc as well.
5847 (describe-package-1): Describe a specific package-desc. Add links to
5848 other package-descs for the same package name.
5849 (package-menu-describe-package): Pass the actual package-desc.
5850 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5851 works correctly.
5852 (package-desc-status): New function.
5853 (package-menu--refresh): New function, extracted
5854 from package-menu--generate.
5855 (package-menu--generate): Use it.
5856 (package-delete): Update package-alist.
5857 (package-menu-execute): Don't call package-initialize.
5858
5859 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5860 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5861 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5862 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5863 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5864 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5865
8bbdea0f
MR
58662013-06-25 Martin Rudalics <rudalics@gmx.at>
5867
5868 * window.el (window--state-get-1): Workaround for bug#14527.
5869 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5870
e82b0991
LMI
58712013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5872
5873 * net/eww.el (eww-back-url): Implement the history by stashing all
5874 the data into a list.
d3f0f918 5875 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5876
c763842b
SM
58772013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5880 for values and use read--expression for expressions (bug#14710).
5881 (read-file-local-variable): Avoid setq.
5882 (read-file-local-variable-mode): Use minor-mode-list.
5883
bceff189
RW
58842013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5885
864c58ca 5886 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5887 for DOI URLs.
5888
45f431c6
RW
58892013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5890
864c58ca 5891 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5892 Update imenu-support when dialect changes.
5893
f42d8237
LL
58942013-06-25 Leo Liu <sdl.web@gmail.com>
5895
5896 * ido.el (ido-read-internal): Allow forward slash on windows.
5897
be549ce6
LMI
58982013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5899
5900 * net/eww.el (eww): Start of strings is \\`, not ^.
5901
71d4c19d
IK
59022013-06-24 Ivan Kanis <ivan@kanis.fr>
5903
5196f88a
IK
5904 * net/shr.el (shr-browse-url): Fix interactive spec.
5905
71d4c19d
IK
5906 * net/eww.el (eww): Add a trailing slash to domain names.
5907
ae36ca55
JB
59082013-06-24 Juanma Barranquero <lekktu@gmail.com>
5909
5910 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5911
0ebd92a3
LMI
59122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5913
bdaa086b
LMI
5914 * net/shr.el (shr-browse-url): Use an external browser if given a
5915 prefix.
5916
c763842b 5917 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5918
b89fc156
IK
59192013-06-24 Ivan Kanis <ivan@kanis.fr>
5920
5921 * net/eww.el (eww): Work more correctly for file: URLs.
5922 (eww-detect-charset): Allow quoted charsets.
5923 (eww-yank-page-url): New command and keystroke.
5924
18eb4bca
DU
59252013-06-24 Daiki Ueno <ueno@gnu.org>
5926
5927 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5928 file name of gpg executable.
5929 (epg-context-program): New function.
5930 (epg-context-home-directory): New function.
5931 (epg-context-set-program): New function.
5932 (epg-context-set-home-directory): New function.
5933 (epg--start): Use `epg-context-program' instead of
5934 'epg-gpg-program'.
5935 (epg--list-keys-1): Likewise.
5936
6c6268c8
LL
59372013-06-24 Leo Liu <sdl.web@gmail.com>
5938
5939 * ido.el (ido-read-internal): Fix bug#14620.
5940
5e400cb3
JB
59412013-06-23 Juanma Barranquero <lekktu@gmail.com>
5942
5943 * faces.el (face-documentation): Simplify.
5944 (read-face-attribute, tty-find-type, x-resolve-font-name):
5945 Use `string-match-p'.
5946 (list-faces-display): Use `string-match-p'. Simplify.
5947 (face-spec-recalc): Check face to avoid face alias loops.
5948 (read-color): Use `string-match-p' and non-capturing parenthesis.
5949
f3f9606c
LMI
59502013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5951
5952 * net/shr.el (shr-rescale-image): Use the new
5953 :max-width/:max-height functionality.
5954
a3ca09b9
IK
59552013-06-23 Ivan Kanis <ivan@kanis.fr>
5956
5957 * net/eww.el (eww-search-prefix): New variable.
5958 (eww): Use it.
f865b474
IK
5959 (eww-external-browser): New variable.
5960 (eww-mode-map): New keystroke.
5961 (eww-browse-with-external-browser): New command.
a3ca09b9 5962
e854cfc7
IK
5963 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5964
18bb9e21
JB
59652013-06-23 Juanma Barranquero <lekktu@gmail.com>
5966
5967 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5968 Don't skip aligning the next header field when padding is 0;
5969 otherwise, field width is not respected unless the title is as
5970 wide as the field.
5971
5b165ade
SM
59722013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/package.el (package-el-version): Remove.
5975 (package-process-define-package): Fix inf-loop.
5976 (package-install): Allow symbols as arguments again.
5977
12adebe9
DG
59782013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5979
5980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5981 add some more keyword-like methods.
5982 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5983
388573ee
JB
59842013-06-22 Juanma Barranquero <lekktu@gmail.com>
5985
5986 * bs.el (bs-buffer-show-mark): Make defvar-local.
5987 (bs-mode): Use setq-local.
5988
5989 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5990 (emacs-lock--try-unlocking): Make defvar-local.
5991
4582a01c 59922013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5993
2663dd23
GM
5994 * play/cookie1.el (cookie-apropos): Minor simplification.
5995
3d94f3ad
GM
5996 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5997
f72e2fdb
DG
59982013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5999
6000 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6001 `regexp-opt', it breaks the build during dumping.
6002
73eab938
DG
60032013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6004
c763842b
SM
6005 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6006 Highlight keyword-like methods on Kernel and Module with
73eab938 6007 font-lock-builtin-face.
5cf8176d
DG
6008 (auto-mode-alist): Consolidate different entries into one regexp
6009 and add more *file-s.
73eab938 6010
d26255f6
SB
60112013-06-21 Stephen Berman <stephen.berman@gmx.net>
6012
6013 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6014
6015 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6016 (diary-entry): Use it in the action of this button type instead of
6017 diary-goto-entry.
6018
6019 * calendar/todo-mode.el: New version.
6020 (todo-add-category): Append new category to end of file and give
6021 it the highest number, instead of putting it at the beginning and
6022 giving it 0. Incorporate noninteractive functionality.
6023 (todo-forward-category): Adapt to 1-based category numbering.
6024 Allow skipping over archived categories.
6025 (todo-backward-category): Derive from todo-forward-category.
6026 (todo-backward-item, todo-forward-item): Make noninteractive and
6027 delegate interactive part to new commands. Make sensitive to done items.
6028 (todo-categories): Make value an alist of category names and
6029 vectors of item counts.
6030 (todo-category-beg): Make a defconst.
6031 (todo-category-number): Use 1 instead of 0 as initial value.
6032 (todo-category-select): Make sensitive to overlays, optional item
6033 highlighting and done items.
6034 (todo-delete-item): Make sensitive to overlays and marked and done items.
6035 (todo-edit-item): Make sensitive to overlays and editing of
6036 date/time header optional. Add format checks.
6037 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6038 no-op if point is not on an item. Advertise using todo-edit-quit.
6039 (todo-edit-mode): Make sensitive to new format, font-locking, and
6040 multiple todo files.
6041 (todo-insert-item, todo-insert-item-here): Derive from
6042 todo-basic-insert-item and extend functionality.
6043 (todo-item-end, todo-item-start): Make sensitive to done items.
6044 (todo-item-string): Don't return text properties. Restore point.
6045 (todo-jump-to-category): Make sensitive to multiple todo files and
6046 todo archives. Use extended category completion.
6047 (todo-lower-item, todo-raise-item): Rename to *-priority and
6048 derive from todo-set-item-priority.
6049 (todo-mode): Derive from special-mode. Make sensitive to new
6050 format, font-locking and multiple todo files. Make read-only.
6051 (todo-mode-map): Don't suppress digit keys, so they can supply
6052 prefix arguments. Add many new key bindings.
6053 (todo-prefix): Insert as an overlay instead of file text.
6054 Change semantics from diary date expression to purely visual mark.
6055 (todo-print): Rename to todo-print-buffer. Make buffer display
6056 features printable. Remove option to restrict number of items
6057 printed. Add option to print to file.
6058 (todo-print-function): Rename to todo-print-buffer-function.
6059 (todo-quit): Extend to handle exiting new todo modes.
6060 (todo-remove-item): Make sensitive to overlays.
6061 (todo-save): Extend to buffers of filtered items.
6062 (todo-show): Make sensitive to done items, multiple todo files and
6063 new todo modes. Offer to convert legacy todo file before creating
6064 first new todo file.
6065 (todo-show-priorities): Rename to todo-top-priorities.
6066 Change semantics of value 0.
6067 (todo-top-priorities): Rename to todo-filter-top-priorities,
6068 derive from todo-filter-items and extend functionality.
6069 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6070 and extend functionality to other types of filtered items.
6071 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6072 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6073 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6074 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6075 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6076 (todo-edit-mode-hook, todo-entry-prefix-function)
6077 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6078 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6079 (todo-initials, todo-insert-threshold, todo-item-string-start)
6080 (todo-line-string, todo-menu, todo-mode-hook)
6081 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6082 (todo-print-priorities, todo-remove-separator)
6083 (todo-save-top-priorities-too, todo-string-count-lines)
6084 (todo-string-multiline-p, todo-time-string-format)
6085 (todo-tmp-buffer-name): Remove.
6086 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6087 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6088 (todo-edit-category-diary-inclusion)
6089 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6090 (todo-edit-file, todo-edit-item-date-day)
6091 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6092 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6093 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6094 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6095 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6096 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6097 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6098 (todo-filter-top-priorities-multifile, todo-find-archive)
6099 (todo-find-filtered-items-file, todo-go-to-source-item)
6100 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6101 (todo-jump-to-archive-category, todo-lower-category)
6102 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6103 (todo-move-category, todo-move-item, todo-next-button)
6104 (todo-next-item, todo-padded-string, todo-powerset)
6105 (todo-previous-button, todo-previous-item)
6106 (todo-print-buffer-to-file, todo-raise-category)
6107 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6108 (todo-set-category-number, todo-set-item-priority)
6109 (todo-set-top-priorities-in-category)
6110 (todo-set-top-priorities-in-file, todo-show-categories-table)
6111 (todo-sort-categories-alphabetically-or-numerically)
6112 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6113 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6114 (todo-toggle-item-header, todo-toggle-item-highlighting)
6115 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6116 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6117 (todo-unarchive-items, todo-unmark-category): New commands.
6118 (todo-absolute-file-name, todo-add-to-buffer-list)
6119 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6120 (todo-basic-insert-item, todo-category-completions)
6121 (todo-category-number, todo-category-string-matcher-1)
6122 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6123 (todo-check-format, todo-clear-matches)
6124 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6125 (todo-current-category, todo-date-string-matcher)
6126 (todo-define-insertion-command, todo-diary-expired-matcher)
6127 (todo-diary-goto-entry, todo-diary-item-p)
6128 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6129 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6130 (todo-done-item-section-p, todo-done-separator)
6131 (todo-done-string-matcher, todo-files, todo-filter-items)
6132 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6133 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6134 (todo-insert-category-line, todo-insert-item-from-calendar)
6135 (todo-insert-sort-button, todo-insert-with-overlays)
6136 (todo-insertion-command-name, todo-insertion-key-bindings)
6137 (todo-label-to-key, todo-longest-category-name-length)
6138 (todo-make-categories-list, todo-mode-external-set)
6139 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6140 (todo-modes-set-3, todo-multiple-filter-files)
6141 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6142 (todo-read-category, todo-read-date, todo-read-dayname)
6143 (todo-read-file-name, todo-read-time)
6144 (todo-reevaluate-category-completions-files-defcustom)
6145 (todo-reevaluate-default-file-defcustom)
6146 (todo-reevaluate-filelist-defcustoms)
6147 (todo-reevaluate-filter-files-defcustom)
6148 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6149 (todo-reset-done-separator, todo-reset-done-separator-string)
6150 (todo-reset-done-string, todo-reset-global-current-todo-file)
6151 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6152 (todo-reset-prefix, todo-set-categories)
6153 (todo-set-date-from-calendar, todo-set-show-current-file)
6154 (todo-set-top-priorities, todo-short-file-name)
6155 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6156 (todo-total-item-counts, todo-update-buffer-list)
6157 (todo-update-categories-display, todo-update-categories-sexp)
6158 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6159 New functions.
6160 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6161 New major modes.
6162 (todo-categories, todo-display, todo-edit, todo-faces)
6163 (todo-filtered): New defgroups.
6164 (todo-archived-only, todo-button, todo-category-string, todo-date)
6165 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6166 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6167 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6168 (todo-add-item-if-new-category, todo-always-add-time-string)
6169 (todo-categories-align, todo-categories-archived-label)
6170 (todo-categories-category-label, todo-categories-diary-label)
6171 (todo-categories-done-label, todo-categories-number-separator)
6172 (todo-categories-todo-label, todo-categories-totals-label)
6173 (todo-category-completions-files, todo-completion-ignore-case)
6174 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6175 (todo-done-separator-string, todo-done-string)
6176 (todo-files-function, todo-filter-done-items, todo-filter-files)
6177 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6178 (todo-initial-category, todo-initial-file, todo-item-mark)
6179 (todo-legacy-date-time-regexp, todo-mode-line-function)
6180 (todo-nondiary-marker, todo-number-prefix)
6181 (todo-print-buffer-function, todo-show-current-file)
6182 (todo-show-done-only, todo-show-first, todo-show-with-done)
6183 (todo-skip-archived-categories, todo-top-priorities-overrides)
6184 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6185 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6186 New defcustoms.
6187 (todo-category-done, todo-date-pattern, todo-date-string-start)
6188 (todo-diary-items-buffer, todo-done-string-start)
6189 (todo-filtered-items-buffer, todo-item-start)
6190 (todo-month-abbrev-array, todo-month-name-array)
6191 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6192 (todo-top-priorities-buffer): New defconsts.
6193 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6194 (todo-categories-with-marks, todo-category-string-face)
6195 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6196 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6197 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6198 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6199 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6200 (todo-font-lock-keywords, todo-global-current-todo-file)
6201 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6202 (todo-insertion-commands-args)
6203 (todo-insertion-commands-args-genlist)
6204 (todo-insertion-commands-names, todo-insertion-map)
6205 (todo-key-bindings-t, todo-key-bindings-t+a)
6206 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6207 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6208 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6209 (todo-visited): New variables.
6210
cad5d1cb
GM
62112013-06-21 Glenn Morris <rgm@gnu.org>
6212
6213 * play/cookie1.el (cookie-apropos): Add optional display argument.
6214 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6215 (psychoanalyze-pinhead): Use cookie-doctor.
6216
9e277302
JB
62172013-06-21 Juanma Barranquero <lekktu@gmail.com>
6218
6219 * emacs-lisp/package.el (tar-get-file-descriptor)
6220 (tar--extract): Declare.
6221
c5b0993e
EW
62222013-06-21 Eduard Wiebe <usenet@pusto.de>
6223
6224 Extend flymake's warning predicate to be a function (bug#14217).
6225 * progmodes/flymake.el (flymake-warning-predicate): New.
6226 (flymake-parse-line): Use it.
6227 (flymake-warning-re): Make obsolete alias to
6228 `flymake-warning-predicate'.
6229
a7d2d465
SM
62302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6233 (package-obsolete-list): Remove.
6234 (package-activate): Remove min-version argument. Add `force' argument.
6235 Adjust to new package-alist format.
6236 (package-mark-obsolete): Remove.
6237 (package-unpack): Force reload of the package's autoloads.
6238 (package-installed-p): Check builtins if the installed package is not
6239 recent enough.
6240 (package-initialize): Don't reset package-obsolete-list.
6241 Don't specify which package version to activate.
6242 (package-process-define-package, describe-package-1)
6243 (package-menu--generate): Adjust to new package-alist format.
6244
cedf5c9d
JB
62452013-06-21 Juanma Barranquero <lekktu@gmail.com>
6246
6247 * allout-widgets.el (allout-widgets-mode-off)
6248 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6249 (allout-widgets-post-command-business)
6250 (allout-widgets-after-copy-or-kill-function)
6251 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6252 (allout-decorate-item-and-context)
6253 (allout-graphics-modification-handler): Fix typos in docstrings.
6254 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6255
6256 * cmuscheme.el (scheme-start-file): Doc fix.
6257 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6258 (scheme-input-filter): Use `string-match-p'.
6259
6260 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6261
6262 * dired-x.el: Use Dired consistently in docstrings.
6263
6264 * dired.el: Use Dired consistently in docstrings.
6265 (dired-readin, dired-mode): Use `setq-local'.
6266 (dired-switches-alist): Make defvar-local.
6267 (dired-buffers-for-dir): Use `zerop'.
6268 (dired-safe-switches-p, dired-switches-escape-p)
6269 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6270 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6271 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6272 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6273 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6274 (dired-toggle-marks, dired-mark-files-containing-regexp)
6275 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6276 (dired-flag-auto-save-files, dired-flag-backup-files):
6277 Use `looking-at-p'.
6278 (dired-mark-files-regexp, dired-build-subdir-alist):
6279 Use `string-match-p', `looking-at-p'.
6280
6281 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6282 (direct-print-region-helper): Use `string-match-p'.
6283
aed838b5
LL
62842013-06-21 Leo Liu <sdl.web@gmail.com>
6285
cedf5c9d
JB
6286 * comint.el (comint-redirect-results-list-from-process):
6287 Fix infinite loop.
aed838b5 6288
d80a808f
LMI
62892013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6290
6291 * net/eww.el (eww-update-header-line-format): Quote % characters.
6292
e7a526e3
GM
62932013-06-21 Glenn Morris <rgm@gnu.org>
6294
6295 * play/cookie1.el (cookie): New custom group.
6296 (cookie-file): New option.
6297 (cookie-check-file): New function.
6298 (cookie): Make it interactive. Make start and end messages optional.
6299 Interactively, display the result. Default to cookie-file.
6300 (cookie-insert): Default to cookie-file.
6301 (cookie-snarf): Make start and end messages optional.
6302 Default to cookie-file. Use with-temp-buffer.
6303 (cookie-read): Rename from read-cookie.
6304 Make start and end messages optional. Default to cookie-file.
6305 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6306 Do not autoload it.
e7a526e3
GM
6307 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6308 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6309
62efb35e
LL
63102013-06-21 Leo Liu <sdl.web@gmail.com>
6311
6312 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6313
21e3f963
GM
63142013-06-21 Glenn Morris <rgm@gnu.org>
6315
6316 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6317
fd846ab4
SM
63182013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6319 Daniel Hackney <dan@haxney.org>
6320
6321 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6322 Consolidate the single-file vs tarball code.
6323 (package-desc-suffix): New function.
6324 (package-desc-full-name): Don't bother inlining it.
6325 (package-load-descriptor): Return the new package-desc.
6326 (package-mark-obsolete): Remove unused arg `package'.
6327 (package-unpack): Make it work for single files as well.
6328 Make it update package-alist.
6329 (package--make-autoloads-and-stuff): Rename from
6330 package--make-autoloads-and-compile. Don't compile any more.
6331 (package--compile): New function.
6332 (package-generate-description-file): New function, extracted from
6333 package-unpack-single.
6334 (package-unpack-single): Remove.
6335 (package--with-work-buffer): Add indentation and debugging info.
6336 (package-download-single): Remove.
6337 (package-install-from-archive): Rename from package-download-tar, make
6338 it take a pkg-desc, and make it work for single files as well.
6339 (package-download-transaction): Simplify.
6340 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6341 external tar program.
6342 (package-install-from-buffer): Remove `pkg-desc' argument.
6343 Use package-tar-file-info for tar-mode buffers.
6344 (package-install-file): Simplify accordingly.
6345 (package-archive-base): Change to take a pkg-desc.
6346 * tar-mode.el (tar--check-descriptor): New function, extracted from
6347 tar-get-descriptor.
6348 (tar-get-descriptor): Use it.
6349 (tar-get-file-descriptor): New function.
6350 (tar--extract): New function, extracted from tar-extract.
6351 (tar--extract): Use it.
6352 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6353 case the summary uses non-ascii. Adjust to new calling convention of
6354 package-tar-file-info.
6355
b7deae5e
LL
63562013-06-21 Leo Liu <sdl.web@gmail.com>
6357
fd846ab4
SM
6358 * comint.el (comint-redirect-results-list-from-process):
6359 Fix random delay. (Bug#14681)
b7deae5e 6360
7a65a0b2
JB
63612013-06-21 Juanma Barranquero <lekktu@gmail.com>
6362
6363 * profiler.el (profiler-format-number): Use log, not log10.
6364
1493c2af
JB
63652013-06-20 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6368
aff6371e
SM
63692013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6372 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6373 yet available.
6374 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6375 (AUTOGENEL): ... here.
6376 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6377 (cl--defsubst-expand): Use it.
6378
89561f72
PE
63792013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6380
6381 * subr.el (log10): Move here from C code, and declare as obsolete.
6382 All uses of (log10 X) replaced with (log X 10).
6383
47199123
JB
63842013-06-20 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6387 Declare with `defvar-local'.
6388 (tabulated-list-use-header-line, tabulated-list-entries)
6389 (tabulated-list-padding, tabulated-list-printer)
6390 (tabulated-list-sort-key): Declare with `defvar-local'.
6391 (tabulated-list-init-header, tabulated-list-print-fake-header):
6392 Use `setq-local'.
6393
4a172eab
MA
63942013-06-20 Michael Albinus <michael.albinus@gmx.de>
6395
47199123
JB
6396 * arc-mode.el (archive-mode): Add `archive-write-file' to
6397 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6398
5fc0acc0
JB
63992013-06-20 Juanma Barranquero <lekktu@gmail.com>
6400
d5b27848
JB
6401 * cus-edit.el (custom-commands): Fix typos.
6402 (custom-display): Fix tooltip text.
6403 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6404 Fix typos in docstrings.
6405 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6406 (custom-unlispify-menu-entry, custom-magic-value-create)
6407 (custom-add-see-also, custom-group-value-create): Use ?\s.
6408 (custom-guess-type, customize-apropos, editable-field)
6409 (custom-face-value-create): Use `string-match-p'.
6410 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6411
6412 * custom.el (custom-load-symbol): Use `string-match-p'.
6413
a5c581d8
JB
6414 * ansi-color.el: Convert to lexical binding.
6415 (ansi-colors): Fix URL.
6416 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6417 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6418 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6419
970ad972
G
64202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421
6422 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6423
6424 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6425
64262013-06-19 Tom Tromey <tromey@redhat.com>
6427
6428 * net/eww.el (eww-top-url): Remove.
6429 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6430 (eww-render): Set new variables. Don't set eww-top-url.
6431 (eww-handle-link): Handle "prev", "home", and "contents".
6432 Downcase the rel text.
6433 (eww-top-url): Choose best top URL.
6434
64352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6436
6437 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6438 relying in widget.el. Using widget.el leads to too many
6439 user interface inconsistencies.
6440 (eww-self-insert): Implement entering commands in text fields.
6441 (eww-process-text-input): New function to make text input field editing
6442 work.
6443 (eww-submit): Rewrite to use the new-style form methods.
6444 (eww-select-display): Display the correct selected item.
6445 (eww-change-select): Implement changing the select value.
6446 (eww-toggle-checkbox): Implement radio/checkboxes.
6447 (eww-update-field): Fix compilation error.
6448 (eww-tag-textarea): Implement <textarea>.
6449
6450 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6451 we don't shadow mode-specific bindings.
6452
6453 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6454 nothing to push.
6455
6456 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6457
4582a01c 64582013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6459
6460 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6461
15b263dc
MA
64622013-06-19 Michael Albinus <michael.albinus@gmx.de>
6463
6464 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6465 not needed.
6466
6467 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6468
8f5297f7
LMI
64692013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6470
6471 * net/browse-url.el (browse-url-browser-function):
6472 `eww-browse-url' has the right calling signature, `eww' does not.
6473
011c4552
GM
64742013-06-19 Glenn Morris <rgm@gnu.org>
6475
2285bd27
GM
6476 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6477 Only eval autoloaded macros.
6478 (byte-compile-autoload): Only give the macro warning for macros.
6479
1d653303
GM
6480 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6481 (ps-underlined-faces): Declare.
6482
bdd779ec
GM
6483 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6484 (speedbar-add-supported-extension): Declare.
6485
011c4552
GM
6486 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6487 Don't include a date stamp in the header of the generated file;
6488 it leads to needless differences between output files.
6489
e59dfb0e
MA
64902013-06-19 Michael Albinus <michael.albinus@gmx.de>
6491
c763842b
SM
6492 * net/secrets.el (secrets-struct-secret-content-type):
6493 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6494 Some servers do not offer introspection.
e59dfb0e 6495
102626e2
SM
64962013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * electric.el (electric-pair-mode): Improve interaction with
6499 electric-layout-mode.
6500 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6501 (electric-pair-syntax): Use text-mode-syntax-table in comments
6502 and strings.
6503 (electric-pair--insert): New function.
6504 (electric-pair-post-self-insert-function): Use it and
6505 electric--after-char-pos.
6506
ad528125
LL
65072013-06-19 Leo Liu <sdl.web@gmail.com>
6508
6509 * progmodes/octave.el (octave-help): Fix regexp.
6510
924d6997
G
65112013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
6513 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6514 (shr-table-horizontal-line): Allow nil as a value, and change the
6515 default.
6516 (shr-insert-table-ruler): Respect the nil value.
6517
65182013-06-18 Tom Tromey <tromey@barimba>
6519
6520 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6521 New defvars.
6522 (eww-open-file): New defun.
6523 (eww-render): Initialize new variables.
6524 (eww-display-html): Handle "link" and "a".
6525 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6526 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6527 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6528 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6529 New defuns.
924d6997 6530
d1bbba4f
DG
65312013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6532
6533 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6534 Distinguish ternary operator tokens from slash symbol and slash
6535 char literal.
6536
14dd22d2
JB
65372013-06-18 Juanma Barranquero <lekktu@gmail.com>
6538
6539 Convert symbol prettification into minor mode and global minor mode.
6540
6541 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6542 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6543 (prettify-symbols--keywords): Rename from
6544 `prog-prettify-symbols-alist' and make a local defvar.
6545 (prettify-symbols--compose-symbol): Rename from
6546 `prog--prettify-font-lock-compose-symbol'.
6547 (prettify-symbols--make-keywords): Rename from
6548 `prog-prettify-font-lock-symbols-keywords' and simplify.
6549 (prog-prettify-install): Remove.
6550 (prettify-symbols-mode): New minor mode, based on
6551 `prog-prettify-install'.
6552 (turn-on-prettify-symbols-mode): New function.
6553 (global-prettify-symbols-mode): New globalized minor mode.
6554
6555 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6556 * progmodes/cfengine.el (cfengine3-mode):
6557 * progmodes/perl-mode.el (perl-mode): Don't call
6558 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6559
292c880c
JL
65602013-06-18 Juri Linkov <juri@jurta.org>
6561
6562 * files-x.el (modify-file-local-variable-message): New function.
6563 (modify-file-local-variable)
6564 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6565 and call `modify-file-local-variable-message' when it's non-nil.
6566 (add-file-local-variable, delete-file-local-variable)
6567 (add-file-local-variable-prop-line)
6568 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6569 and use it. (Bug#9820)
6570
0950aa27
JL
65712013-06-18 Juri Linkov <juri@jurta.org>
6572
6573 * emulation/vi.el (vi-shell-op):
6574 * emulation/vip.el (vip-execute-com, ex-command):
6575 * emulation/viper-cmd.el (viper-exec-bang):
6576 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6577 the call of `shell-command-on-region'. (Bug#14637)
6578
6579 * simple.el (shell-command-on-region): Doc fix.
6580
8fbcca16
SM
65812013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6584 (bug#14633).
6585
dd7426ea
GM
65862013-06-18 Glenn Morris <rgm@gnu.org>
6587
4ba54f7d
GM
6588 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6589
dd7426ea
GM
6590 * newcomment.el (comment-search-forward, comment-search-backward):
6591 Doc fix. (Bug#14376)
6592
58aa805b
JB
65932013-06-18 Juanma Barranquero <lekktu@gmail.com>
6594
6595 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6596 (buffer-face-mode-invoke): Doc fix.
6597
9a08a617
MM
65982013-06-18 Matthias Meulien <orontee@gmail.com>
6599
6600 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6601 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6602
f2f426ca
GM
66032013-06-18 Glenn Morris <rgm@gnu.org>
6604
9445f99b
GM
6605 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6606 Replace obsolete function generic-make-keywords with its expansion.
6607
e0df2d14
GM
6608 * progmodes/python.el (ffap-alist): Declare.
6609
f2f426ca
GM
6610 * textmodes/reftex.el (bibtex-mode-map): Declare.
6611
f7f9a720
SM
66122013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6615 (package-unpack, package-unpack-single): Return the pkg-dir.
6616 (package-download-transaction): Use it to update package-alist.
6617
57ff04e0
LMI
66182013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619
6620 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6621 possible choice.
6622
c048c022
JL
66232013-06-17 Juri Linkov <juri@jurta.org>
6624
6625 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6626
b5bcaee5
DG
66272013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6628
a020afb9
JB
6629 * emacs-lisp/package.el (package-load-descriptor):
6630 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6631 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6632
551e07e5
JB
66332013-06-17 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * startup.el (command-line): Expand package name returned by
6636 `package--description-file' (bug#14639).
6637
d363bffb
DG
66382013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6639
6640 * emacs-lisp/package.el (package-load-descriptor): Do not call
6641 `emacs-lisp-mode', just use its syntax table.
6642
f612933b
JB
66432013-06-17 Juanma Barranquero <lekktu@gmail.com>
6644
6645 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6646 `font-lock-extra-managed-props' if any prettifying keyword is added.
6647 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6648 (prog-mode): Use `setq-local'.
6649
db3b7db5
SM
66502013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * international/characters.el (standard-case-table): Set syntax of ?»
6653 and ?« to punctuation.
6654
f3d674df
JB
66552013-06-16 Juanma Barranquero <lekktu@gmail.com>
6656
6657 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6658 Save relevant match data before calling `syntax-ppss' (bug#14595).
6659
31489a32
JL
66602013-06-15 Juri Linkov <juri@jurta.org>
6661
6662 * files-x.el (modify-file-local-variable-prop-line): Add local
6663 variables to the end of the existing comment on the first line.
6664 Use `file-auto-mode-skip' to skip interpreter magic line,
6665 and also skip XML declaration.
6666
66bd25ab
SM
66672013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * startup.el (package--builtin-versions): New var.
6670 (package-subdirectory-regexp): Remove.
6671 (package--description-file): Hard code its value instead.
6672
6673 * emacs-lisp/package.el: Don't activate packages older than builtin.
6674 (package-obsolete-list): Rename from package-obsolete-alist, and make
6675 it into a simple list of package-desc.
6676 (package-strip-version): Remove.
6677 (package-built-in-p): Use package--builtin-versions.
6678 (package-mark-obsolete): Simplify.
6679 (package-process-define-package): Mark it obsolete if older than the
6680 builtin version.
6681 (package-handle-response): Use line-end-position.
6682 (package-read-archive-contents, package--download-one-archive):
6683 Simplify.
6684 (package--add-to-archive-contents): Skip if older than the builtin or
6685 installed version.
6686 (package-menu-describe-package): Fix last change.
6687 (package-list-unversioned): New var.
6688 (package-menu--generate): Use it.
6689
6690 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6691 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6692 (autoload-builtin-package-versions): New variable.
6693 (autoload-generate-file-autoloads): Use them.
6694 Remove the list of autoloaded functions/macros from the
6695 (autoload...) comments.
6696
6697 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6698
9583ec36
EZ
66992013-06-15 Eli Zaretskii <eliz@gnu.org>
6700
6701 * simple.el (line-move-partial): Don't jump to the next screen
6702 line as soon as it becomes visible. Instead, continue enlarging
6703 the vscroll until the portion of a tall screen line that's left on
6704 display is about the height of the frame's default font.
6705 (Bug#14567)
6706
f0100d8a
GM
67072013-06-15 Glenn Morris <rgm@gnu.org>
6708
b86a85ca
GM
6709 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6710 compilation-error-regexp-alist void, or local while let-bound.
6711
f0100d8a
GM
6712 * progmodes/make-mode.el (makefile-mode-syntax-table):
6713 Treat "=" as punctuation. (Bug#14614)
6714
05e7ce90
JB
67152013-06-15 Juanma Barranquero <lekktu@gmail.com>
6716
6717 * help-fns.el (describe-variable):
6718 Add extra line for permanent-local variables.
6719
12e5e86e
SH
67202013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6721
6722 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6723 Add export, import, library. (Bug#9164)
6724 (library): Set indent function.
6725
230dcbaf
GM
67262013-06-14 Glenn Morris <rgm@gnu.org>
6727
6728 * term/xterm.el (xterm--query):
6729 Stop after first matching handler. (Bug#14615)
6730
e36b2d20 67312013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6732
6733 Add support for dired in saveplace.
6734 * dired.el (dired-initial-position-hook): New variable.
6735 (dired-initial-position): Call hook to place cursor position.
6736 * saveplace.el (save-place-to-alist): Add dired position.
6737 (save-place-dired-hook): New function.
6738
0b31660d
SM
67392013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6740
bf1e6ae8
SM
6741 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6742 through a symbol rather than letrec.
6743
1b8dff23
SM
6744 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6745 (package-desc): Add `dir' field.
6746 (package-desc-full-name): New function.
6747 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6748 (package-maybe-load-descriptor): Remove.
6749 (package-load-all-descriptors): Just call package-load-descriptor.
6750 (package--disabled-p): New function.
6751 (package-desc-vers, package-desc-doc): Remove aliases.
6752 (package--dir): Remove function.
6753 (package-activate): Check if a package is disabled.
6754 (package-process-define-package): New function, extracted from
6755 define-package.
6756 (define-package): Turn into a place holder.
6757 (package-unpack-single, package-tar-file-info):
6758 Use package--description-file.
6759 (package-compute-transaction): Use package--disabled-p.
6760 (package-download-transaction): Don't call
6761 package-maybe-load-descriptor since they're all loaded anyway.
6762 (package-install): Change argument to be a pkg-desc.
6763 (package-delete): Use a single pkg-desc argument.
6764 (describe-package-1): Use package-desc-dir instead of package--dir.
6765 Use package-desc property instead of package-symbol.
6766 (package-install-button-action): Adjust accordingly.
6767 (package--push): Rewrite.
6768 (package-menu--print-info): Adjust accordingly. Change the ID format
6769 to be a pkg-desc.
6770 (package-menu-describe-package, package-menu-get-status)
6771 (package-menu--find-upgrades, package-menu-mark-upgrades)
6772 (package-menu-execute, package-menu--name-predicate):
6773 Adjust accordingly.
6774 * startup.el (package--description-file): New function.
6775 (command-line): Use it.
6776 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6777 Use package-desc-version.
6778
0b31660d
SM
6779 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6780 (byte-compile-preprocess): Use it.
6781 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6782 can't quite recognize.
6783 (byte-compile-add-to-list): Remove.
6784 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6785 (cconv-closure-convert): Add assertion.
6786
6787 * emacs-lisp/map-ynp.el: Use lexical-binding.
6788 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6789 Factor out some repeated code.
6790
de0503df
SM
67912013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * subr.el (with-eval-after-load): New macro.
6794 (eval-after-load): Allow form to be a function.
6795 take advantage of lexical-binding.
6796 (do-after-load-evaluation): Use dolist and adjust to new format.
6797 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6798
bc5c8c5a
JL
67992013-06-13 Juri Linkov <juri@jurta.org>
6800
6801 * replace.el (perform-replace): Display "symbol " and other search
6802 modes from `isearch-message-prefix' in the *Help* buffer.
6803
6804 * isearch.el (isearch-query-replace): Add " symbol" and other
6805 possible search modes from `isearch-message-prefix' to the prompt.
6806 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6807 when reading a regexp to collect.
6808
a22289f7
JL
68092013-06-13 Juri Linkov <juri@jurta.org>
6810
6811 * isearch.el (word-search-regexp): Match whitespace if the search
6812 string begins or ends in whitespace. The LAX arg is applied to
6813 both ends of the search string. Use `regexp-quote' and explicit
6814 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6815 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6816 boundaries are replaced with symbol boundaries, and characters
6817 between symbols match non-word non-symbol syntax. (Bug#14602)
6818
cb89acab
JL
68192013-06-13 Juri Linkov <juri@jurta.org>
6820
6821 * isearch.el (isearch-del-char): Don't exceed the length of
6822 `isearch-string' by the prefix arg. (Bug#14563)
6823
6e8cfc81
JL
68242013-06-13 Juri Linkov <juri@jurta.org>
6825
6826 * isearch.el (isearch-yank-word, isearch-yank-line)
6827 (isearch-char-by-name, isearch-quote-char)
6828 (isearch-printing-char, isearch-process-search-char):
6829 Add optional count prefix arg. (Bug#14563)
6830
6831 * international/isearch-x.el
6832 (isearch-process-search-multibyte-characters):
6833 Add optional count prefix arg.
6834
c23d55f4
VS
68352013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6838 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6839 lexical-binding.
6840
68412013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6842
6843 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6844
ba947bc4
GM
68452013-06-13 Glenn Morris <rgm@gnu.org>
6846
8baeb37a
GM
6847 * startup.el (tty-handle-args):
6848 Don't just discard "--" and anything after. (Bug#14608)
6849
ba947bc4
GM
6850 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6851
9abefce4
MA
68522013-06-13 Michael Albinus <michael.albinus@gmx.de>
6853
6854 Implement changes in Secret Service API. Make it backward compatible.
6855 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6856 (secrets-create-item): Use it. Prefix properties with interface.
6857
5755011f
MH
68582013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6859
6860 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6861 (term-emulate-terminal): Respect term-suppress-hard-newline.
6862
1261d2da
S
68632013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6864
6865 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6866 Only remove a `thumb-file' overlay. (Bug#14548)
6867
868490bb
GJ
68682013-06-12 Grégoire Jadi <daimrod@gmail.com>
6869
6870 * mail/reporter.el (reporter-submit-bug-report):
6871 Handle missing package-name. (Bug#14600)
6872
79d7167f
TH
68732013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6874
6875 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6876 (reftex-citation-prompt, reftex-default-bibliography)
6877 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6878 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6879 (reftex-bib-sort-author, reftex-bib-sort-year)
6880 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6881 (reftex-extract-bib-entries-from-thebibliography)
6882 (reftex-get-bibkey-default, reftex-get-bib-names)
6883 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6884 (reftex-format-bib-entry, reftex-parse-bibitem)
6885 (reftex-format-bibitem, reftex-do-citation)
6886 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6887 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6888 (reftex-insert-bib-matches, reftex-format-citation)
6889 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6890 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6891 existing comments into docstrings.
6892
5f9dbd7a
XF
68932013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6894
6895 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6896
94df41ab
AS
68972013-06-12 Andreas Schwab <schwab@suse.de>
6898
6899 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6900 for auto-save files.
6901
a7f3fecc
GM
69022013-06-12 Glenn Morris <rgm@gnu.org>
6903
001809f6
GM
6904 * ido.el (ido-delete-ignored-files): Remove.
6905 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6906 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6907
834b5ded
EL
69082013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6909
08c73ed2
EL
6910 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6911
834b5ded
EL
6912 * ido.el (ido-delete-ignored-files): New function,
6913 split from ido-make-file-list-1.
6914 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6915 (ido-make-file-list-1): Use ido-delete-ignored-files.
6916
daabf15a
LL
69172013-06-12 Leo Liu <sdl.web@gmail.com>
6918
6919 * progmodes/octave.el (inferior-octave-startup)
6920 (inferior-octave-completion-table)
6921 (inferior-octave-track-window-width-change)
6922 (octave-eldoc-function-signatures, octave-help)
6923 (octave-find-definition): Use single quoted strings.
6924 (inferior-octave-startup-args): Change default value.
6925 (inferior-octave-startup): Do not hard code "-i" and
6926 "--no-line-editing".
6927 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6928 (inferior-octave-directory-tracker): Use it.
6929 (octave-goto-function-definition): Robustify.
6930 (octave-help): Support highlighting operators in 'See also'.
6931 (octave-find-definition): Find subfunctions only in Octave mode.
6932
cf4e5178
SM
69332013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * help-fns.el (help-fns--compiler-macro): If the handler function is
6936 named, then put a link to it.
6937 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6938 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6939 (cl-typep): Use it.
6940 (cl-eval-when): Simplify debug spec.
6941 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6942 compiler-macro function instead of setting `compiler-macro-file'.
6943
99c81280 69442013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6945
6946 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6947 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6948
f56be016
SM
69492013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6950 Daniel Hackney <dan@haxney.org>
6951
6952 First part of Daniel Hackney's patch to package.el.
6953 * emacs-lisp/package.el: Use defstruct.
6954 (package-desc): New, main struct.
6955 (package--bi-desc, package--ac-desc): New structs, used to describe the
6956 format in external files.
6957 (package-desc-vers): Replace with package-desc-version accessor.
6958 (package-desc-doc): Replace with package-desc-summary accessor.
6959 (package-activate-1): Remove `package' arg since the pkg-vec now
6960 includes the name.
6961 (define-package): Use package-desc-from-define.
6962 (package-unpack-single): Change file-name arg to be a symbol.
6963 (package--add-to-archive-contents): Use package-desc-create and new
6964 accessor functions to package--ac-desc.
6965 (package-buffer-info, package-tar-file-info): Return a package-desc.
6966 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6967 arg to be a package-desc.
6968 (package-install-file): Adjust accordingly. Use \' to match EOS.
6969 (package--from-builtin): New function.
6970 (describe-package-1, package-menu--generate): Use it.
6971 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6972 (package-generate-autoloads): Idem and return the name of the file.
6973 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6974 Change pkg-info arg to be a package-desc.
6975 Use package-make-ac-desc.
6976 (package-upload-file): Use \' to match EOS.
6977 * finder.el (finder-compile-keywords): Use package-make-builtin.
6978
31119d63
SM
69792013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6980
931a2762
SM
6981 * vc/vc.el (vc-deduce-fileset): Change error message.
6982 (vc-read-backend): New function.
6983 (vc-next-action): Use it.
6984
5a3eb0c6
SM
6985 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6986
e3eb1bb7
SM
6987 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6988 (prolog-font-lock-keywords): Use regexp-opt instead.
6989 Don't manually highlight strings.
6990 (prolog-mode-variables): Simplify comment-start-skip.
6991 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6992
31119d63
SM
6993 * emacs-lisp/generic.el (generic--normalise-comments)
6994 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6995 (generic-mode-set-comments): Use them.
6996 (generic-bracket-support): Use setq-local.
6997 (generic-make-keywords-list): Declare obsolete.
6998
7de135d0
GM
69992013-06-11 Glenn Morris <rgm@gnu.org>
7000
7001 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7002 Prettify after setting font-lock-defaults. (Bug#14574)
7003
fa6bc6fd
JB
70042013-06-11 Juanma Barranquero <lekktu@gmail.com>
7005
7006 * replace.el (query-replace, occur-read-regexp-defaults-function)
7007 (replace-search):
7008 * subr.el (declare-function, number-sequence, local-set-key)
7009 (substitute-key-definition, locate-user-emacs-file)
7010 (with-silent-modifications, split-string, eval-after-load):
7011 Fix typos, remove unneeded backslashes and reflow some docstrings.
7012
cf1f9b9a
SM
70132013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7016 default for Elisp files.
7017
56602a4b
GM
70182013-06-11 Glenn Morris <rgm@gnu.org>
7019
7020 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7021 although define-derived-mode was doing this anyway. (Bug#14583)
7022
30ae0b2c
JB
70232013-06-10 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7026 Fix make-variable-buffer-local call to refer to the correct variable.
7027
fa472906
AG
70282013-06-10 Aidan Gauland <aidalgol@amuri.net>
7029
7030 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7031 (eshell-visual-subcommands, eshell-visual-options):
7032 Add summary line to docstrings. Add cross-references.
fa472906 7033
ff4871b9
GM
70342013-06-10 Glenn Morris <rgm@gnu.org>
7035
7036 * epa.el (epa-read-file-name): New function. (Bug#14510)
7037 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7038
04fcf1b0
AG
70392013-06-09 Aidan Gauland <aidalgol@amuri.net>
7040
7041 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7042 output redirection to be ignored with visual commands.
7043
88b00caa
AG
70442013-06-09 Aidan Gauland <aidalgol@amuri.net>
7045
7046 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7047 (eshell-term-initialize): Move long lambda to separate function
7048 eshell-visual-command-p.
e7b41c4c
JB
7049 * eshell/em-dirs.el (eshell-dirs-initialise):
7050 * eshell/em-script.el (eshell-script-initialize):
7051 Add missing #' to lambda.
88b00caa 7052
fda74125
LL
70532013-06-08 Leo Liu <sdl.web@gmail.com>
7054
7055 * progmodes/octave.el (octave-add-log-current-defun): New function.
7056 (octave-mode): Set add-log-current-defun-function.
7057 (octave-goto-function-definition): Do not move point if not found.
7058 (octave-find-definition): Enhance to try subfunctions first.
7059
467f3b33
GM
70602013-06-08 Glenn Morris <rgm@gnu.org>
7061
7062 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7063 (byte-compile-backward-char, byte-compile-backward-word):
7064 Improve previous change, to handle non-explicit nil.
7065
544badc3
SM
70662013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7069 (smie--opener/closer-at-point): New function.
7070 (smie--matching-block-data): Use it. Don't match from right after an
7071 opener or right before a closer. Obey smie-blink-matching-inners.
7072 Don't signal a mismatch for repeated inners like "switch..case..case".
7073
a175bf33
LL
70742013-06-07 Leo Liu <sdl.web@gmail.com>
7075
7076 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7077 to t. (Bug#14303)
ce8209d4
LL
7078 (octave-function-header-regexp): Fix. (Bug#14570)
7079 (octave-help-mode-finish-hook, octave-help-mode-finish):
7080 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7081
7082 * newcomment.el (comment-search-backward): Revert last change.
7083 (Bug#14434)
7084
7085 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7086
a822acff
EZ
70872013-06-07 Eli Zaretskii <eliz@gnu.org>
7088
7089 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7090 through xargs, to avoid failure due to MS-Windows limitations on
7091 command-line length.
7092
961166f5
GM
70932013-06-06 Glenn Morris <rgm@gnu.org>
7094
d0341459
GM
7095 * font-lock.el (lisp-font-lock-keywords-2):
7096 Treat user-error like error.
7097
961166f5
GM
7098 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7099 (byte-compile-backward-char, byte-compile-backward-word):
7100 Handle explicit nil arguments. (Bug#14565)
7101
80fa505f
AM
71022013-06-05 Alan Mackenzie <acm@muc.de>
7103
7104 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7105 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7106 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7107 (Bug#9706)
80fa505f 7108
fccdc796
SM
71092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * autorevert.el (auto-revert-notify-handler): Use memq.
7112 Hide assertion failure.
7113
7114 * skeleton.el: Use cl-lib.
7115 (skeleton-further-elements): Use defvar-local.
7116 (skeleton-insert): Use cl-progv.
7117
9bfff84b
TZ
71182013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7119
7120 * progmodes/prog-mode.el (prog-prettify-symbols)
7121 (prog-prettify-install): Update docstrings.
7122
55577e7c
SM
71232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * simple.el: Move all the prog-mode code to prog-mode.el.
7126 * progmodes/prog-mode.el: New file.
7127 * loadup.el: Add prog-mode.el.
7128
8fc57765
TZ
71292013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7130
7131 * simple.el (prog-prettify-symbols): Add version.
7132 (prog-prettify-install): Add convenience function to prettify symbols.
7133
7134 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7135 (perl--augmented-font-lock-keywords-1)
7136 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7137 variables and use it.
7138
7139 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7140 (cfengine3-mode): Remove unneeded variable and use it.
7141
7142 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7143 (lisp--augmented-font-lock-keywords-1)
7144 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7145 Remove unneeded variables and use it.
7146
650645d5 71472013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7148
7149 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7150 to point when opening the connection. (Bug#14380)
28f5da6d 7151
781b4af6
SM
71522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * subr.el (load-history-regexp, load-history-filename-element)
7155 (eval-after-load, after-load-functions, do-after-load-evaluation)
7156 (eval-next-after-load, display-delayed-warnings)
7157 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7158 definition of save-match-data.
7159 (overriding-local-map): Remove accidental obsolescence declaration.
7160
7161 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7162
3ca0d0b4
TZ
71632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7164
7165 Generalize symbol prettify support to prog-mode and implement it
7166 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7167 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7168 (prog--prettify-font-lock-compose-symbol)
7169 (prog-prettify-font-lock-symbols-keywords): New variables and
7170 functions to support symbol prettification.
7171 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7172 (lisp--augmented-font-lock-keywords-1)
7173 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7174 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7175 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7176 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7177 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7178 * progmodes/perl-mode.el (perl-prettify-symbols)
7179 (perl--font-lock-compose-symbol)
7180 (perl--font-lock-symbols-keywords): Move to prog-mode.
7181 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7182 (perl-font-lock-keywords-1)
7183 (perl-font-lock-keywords-2): Remove explicit prettify support.
7184 (perl--augmented-font-lock-keywords)
7185 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7186 (perl--augmented-font-lock-keywords-2, perl-mode):
7187 Implement prettify support.
3ca0d0b4 7188
976cb066
LL
71892013-06-05 Leo Liu <sdl.web@gmail.com>
7190
7191 Re-implement smie matching block highlight using
7192 show-paren-data-function. (Bug#14395)
7193 * emacs-lisp/smie.el (smie-matching-block-highlight)
7194 (smie--highlight-matching-block-overlay)
7195 (smie--highlight-matching-block-lastpos)
7196 (smie-highlight-matching-block)
7197 (smie-highlight-matching-block-mode): Remove.
7198 (smie--matching-block-data-cache): New variable.
7199 (smie--matching-block-data): New function.
7200 (smie-setup): Use smie--matching-block-data for
7201 show-paren-data-function.
7202
7203 * progmodes/octave.el (octave-mode-menu): Fix.
7204 (octave-find-definition): Skip garbage lines.
7205
208d0342
SM
72062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 Fix compilation error with simultaneous dynamic+lexical scoping.
7209 Add warning when a defvar appears after the first let-binding.
7210 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7211 (byte-compile-close-variables): Initialize it.
7212 (byte-compile--declare-var): New function.
7213 (byte-compile-file-form-defvar)
7214 (byte-compile-file-form-define-abbrev-table)
7215 (byte-compile-file-form-custom-declare-variable): Use it.
7216 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7217 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7218 (byte-compile-bind): Handle dynamic bindings that shadow
7219 lexical bindings.
7220 (byte-compile-unbind): Make arg non-optional.
7221 (byte-compile-let): Simplify.
7222 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7223 (cconv--analyse-function, cconv-analyse-form): Populate it.
7224 Protect byte-compile-bound-variables to limit the scope of defvars.
7225 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7226 Remove unneeded rule for `declare'.
7227
7228 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7229 so as to avoid depending on cl-adjoin at run-time.
7230 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7231
7232 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7233 (macroexp--warn-and-return): Use it.
7234
1ac2891e
GM
72352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * lisp/subr.el: Convert to lexical binding.
7238 (overriding-local-map): Make obsolete.
7239 (add-to-list): Doc fix. Add compiler macro.
7240 (read-key): Swap values of local maps.
7241
2587b005
LL
72422013-06-05 Leo Liu <sdl.web@gmail.com>
7243
7244 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7245
f1da3c88
LL
72462013-06-04 Leo Liu <sdl.web@gmail.com>
7247
7248 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7249 (compilation-auto-jump): Suppress the "Mark set" message to give
7250 way to exit message.
7251
3caa391f
AM
72522013-06-04 Alan Mackenzie <acm@muc.de>
7253
7254 Remove faulty optimisation from indentation calculation.
7255 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7256 search limit based on 2000 characters back from indent-point.
7257
068922a2
TH
72582013-06-03 Tassilo Horn <tsdh@gnu.org>
7259
7260 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7261
1f8fdd53
SM
72622013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7263
bbcc4d97
SM
7264 * emacs-lisp/lisp.el: Use lexical-binding.
7265 (lisp--local-variables-1, lisp--local-variables): New functions.
7266 (lisp--local-variables-completion-table): New var.
208d0342 7267 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7268
1f8fdd53
SM
7269 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7270 eagerly (bug#14422).
7271
c9628c79
MA
72722013-06-03 Michael Albinus <michael.albinus@gmx.de>
7273
7274 * autorevert.el (auto-revert-notify-enabled)
7275 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7276 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7277 (auto-revert-notify-handler): Handle also gfilenotify.
7278
e7b41c4c 7279 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7280 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7281 Remove.
c9628c79 7282
e5e4a942
JL
72832013-06-03 Juri Linkov <juri@jurta.org>
7284
7285 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7286 `M-s h .'. (Bug#14427)
7287
7288 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7289 command `hi-lock-face-symbol-at-point'.
7290 (hi-lock-face-symbol-at-point): New command.
7291 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7292 (hi-lock-menu): Add `highlight-symbol-at-point'.
7293 (hi-lock-mode): Doc fix.
7294
7295 * isearch.el (isearch-forward-symbol-at-point): New command.
7296 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7297 (isearch-highlight-regexp): Add a regexp which matches
7298 words/symbols for word/symbol mode.
7299
7300 * subr.el (find-tag-default-bounds): New function with the body
7301 mostly moved from `find-tag-default'.
7302 (find-tag-default): Move most code to `find-tag-default-bounds',
7303 call it and apply `buffer-substring-no-properties' afterwards.
7304
26b3353a
TH
73052013-06-03 Tassilo Horn <tsdh@gnu.org>
7306
781b4af6
SM
7307 * eshell/em-term.el (eshell-term-initialize):
7308 Use `cl-intersection' rather than `intersection'.
26b3353a 7309
51b60f53
XF
73102013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7311
fe054b63 7312 * vc/log-view.el: Doc fix.
d3ffe17c 7313 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7314
a0eb10b3 73152013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7316
7317 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7318 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7319 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7320 (eieio-unbound, eieio-default-superclass)
7321 (eieio--define-field-accessors, method-static, method-before)
7322 (method-primary, method-after, method-num-lists)
7323 (method-generic-before, method-generic-primary)
7324 (method-generic-after, method-num-slots)
7325 (eieio-specialized-key-to-generic-key)
7326 (eieio--check-type, class-v, class-p)
7327 (eieio-class-name, define-obsolete-function-alias)
7328 (eieio-class-parents-fast, eieio-class-children-fast)
7329 (same-class-fast-p, class-constructor, generic-p)
7330 (generic-primary-only-p, generic-primary-only-one-p)
7331 (class-option-assoc, class-option, eieio-object-p)
7332 (class-abstract-p, class-method-invocation-order)
7333 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7334 (eieio-class-un-autoload, eieio-defclass)
7335 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7336 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7337 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7338 (eieio-defgeneric-reset-generic-form)
7339 (eieio-defgeneric-form-primary-only)
7340 (eieio-defgeneric-reset-generic-form-primary-only)
7341 (eieio-defgeneric-form-primary-only-one)
7342 (eieio-defgeneric-reset-generic-form-primary-only-one)
7343 (eieio-unbind-method-implementations)
7344 (eieio--defmethod, eieio--typep)
7345 (eieio-perform-slot-validation, eieio-validate-slot-value)
7346 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7347 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7348 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7349 (eieio-slot-name-index, eieio-class-slot-name-index)
7350 (eieio-set-defaults, eieio-initarg-to-attribute)
7351 (eieio-attribute-to-initarg, eieio-c3-candidate)
7352 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7353 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7354 (eieio-class-precedence-list, eieio-generic-call-methodname)
7355 (eieio-generic-call-arglst, eieio-generic-call-key)
7356 (eieio-generic-call-next-method-list)
7357 (eieio-pre-method-execution-functions, eieio-generic-call)
7358 (eieio-generic-call-primary-only, eieiomt-method-list)
7359 (eieiomt-optimizing-obarray, eieiomt-install)
7360 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7361 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7362 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7363 (defclass): Remove `eval-and-compile' from macro.
7364 (call-next-method, shared-initialize): Instead of using
7365 `scoped-class' variable, use new eieio--scoped-class, and
7366 eieio--with-scoped-class.
7367 (initialize-instance): Rename local variable 'scoped-class' to
7368 'this-class' to remove ambiguitity from old global.
7369
7370 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7371 eieio.el.
4f405069
JB
7372 (eieio--scoped-class-stack): New variable.
7373 (eieio--scoped-class): New fcn.
890f7890
DE
7374 (eieio--with-scoped-class): New scoping macro.
7375 (eieio-defclass): Use pushnew instead of add-to-list.
7376 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7377 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7378 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7379 `scoped-class' variable, use new eieio--scoped-class, and
7380 eieio--with-scoped-class.
7381
7382 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7383
d105b0e2
TH
73842013-06-02 Tassilo Horn <tsdh@gnu.org>
7385
7386 * eshell/esh-ext.el (eshell-external-command): Pass args to
7387 `eshell-find-interpreter'.
7388 (eshell-find-interpreter): Add new second parameter ARGS.
7389
7390 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7391 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7392
7393 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7394 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7395
7396 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7397 (eshell-visual-options): New defcustom.
7398 (eshell-escape-control-x): Adapt docstring.
7399 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7400 `eshell-visual-options' in addition to `eshell-visual-commands'.
7401 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7402
f46305c8 74032013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7404
7405 * progmodes/python.el (python-indent-block-enders): Add break,
7406 continue and raise keywords.
7407
d870df21
GM
74082013-06-01 Glenn Morris <rgm@gnu.org>
7409
9133b82e
GM
7410 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7411
02c992ec 7412 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7413 * progmodes/cc-cmds.el (delete-forward-p):
7414 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7415 * progmodes/cc-engine.el (buffer-syntactic-context):
7416 * progmodes/cc-fonts.el (face-property-instance):
7417 * progmodes/cc-mode.el (set-keymap-parents):
7418 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7419 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7420 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7421 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7422 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7423
31e7b090
GM
7424 * progmodes/cc-vars.el (other): Emacs has this widget since
7425 at least 21.1, so don't (re)define it.
7426
d870df21
GM
7427 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7428 Replace the obsolete alias pcomplete-arg-quote-list.
7429
c75c93c7
LL
74302013-06-01 Leo Liu <sdl.web@gmail.com>
7431
7432 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7433 punctuation syntax.
7434 (inferior-octave-minimal-columns)
7435 (inferior-octave-last-column-width): New variables.
7436 (inferior-octave-track-window-width-change): New function.
7437 (inferior-octave-mode): Adjust column width so that Octave output,
7438 for example from 'ls', can fit into the window nicely.
7439
973d1e12
DG
74402013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7441
7442 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7443 Highlight expansions inside regexp literals.
7444
0888c286
GM
74452013-05-31 Glenn Morris <rgm@gnu.org>
7446
e26aac1f
GM
7447 * obsolete/sym-comp.el (symbol-complete):
7448 Replace obsolete completion-annotate-function.
7449
0888c286
GM
7450 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7451
19bb8e62
DG
74522013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7453
781b4af6
SM
7454 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7455 New function, checks if point is inside a literal that allows
19bb8e62
DG
7456 expression expansion.
7457 (ruby-syntax-propertize-expansion): Use it.
7458 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7459 around the body.
7460
01dea85f
JL
74612013-05-30 Juri Linkov <juri@jurta.org>
7462
7463 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7464 to "\M-si".
7465 (isearch-invisible): New variable.
7466 (isearch-forward): Doc fix.
7467 (isearch-mode): Set `isearch-invisible'
7468 to the value of `search-invisible'.
7469 (isearch-toggle-case-fold): Doc fix.
7470 (isearch-toggle-invisible): New command.
7471 (isearch-query-replace): Let-bind `search-invisible'
7472 to the value of `isearch-invisible'.
7473 (isearch-search): Use `isearch-invisible' instead of
7474 `search-invisible'. Let-bind `search-invisible'
7475 to the value of `isearch-invisible'. (Bug#11378)
7476
ab1bdce5
JL
74772013-05-30 Juri Linkov <juri@jurta.org>
7478
7479 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7480 call when `query-flag' is nil and `search-invisible' is non-nil.
7481 (Bug#11746)
7482
d6d236e2
GM
74832013-05-30 Glenn Morris <rgm@gnu.org>
7484
8accd027
GM
7485 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7486
2a8bed1c
GM
7487 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7488 (cc-require): Suppress spurious "noruntime" warnings.
7489 (cc-require-when-compile): Use fboundp, for sake of compiler.
7490
d6d236e2
GM
7491 * progmodes/cc-mode.el: Move load of cc-vars before that of
7492 cc-langs (which in turn loads cc-vars), to quieten compiler.
7493
9190b35b
SM
74942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * paren.el: Simplify the code.
7497 (show-paren-mode): Always start the timer.
7498 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7499 (show-paren--overlay, show-paren--overlay-1): Rename from
7500 show-paren-overlay and show-paren-overlay-1, and initialize to an
7501 overlay rather than to nil.
7502 (show-paren-function): Misc cleanup and simplifications.
7503
4f8d1cf6
SM
75042013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * paren.el (show-paren-data-function): New hook.
7507 (show-paren--default): New function, extracted from show-paren-function.
7508 (show-paren-function): Use show-paren-data-function.
7509
02d844b5
GM
75102013-05-30 Glenn Morris <rgm@gnu.org>
7511
d209d4a9
GM
7512 * ielm.el (ielm-map, ielm-complete-symbol):
7513 Use completion-at-point rather than obsolete functions.
7514 (inferior-emacs-lisp-mode): Doc fix.
7515 Set completion-at-point-functions, rather than
7516 comint-dynamic-complete-functions.
7517
2082faa6
GM
7518 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7519 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7520 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7521
dd8620de
GM
7522 * image.el (image-animated-p): Tweak definition.
7523
ceca95b1
GM
7524 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7525 (rlogin-process-connection-type): Tweak default. Add set-after.
7526 (rlogin-host): Doc fix.
7527 (rlogin): Tweak prompt.
7528 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7529
ee9f1acc
GM
7530 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7531 * progmodes/tcl.el (inferior-tcl-mode-map):
7532 Use completion-at-point rather than obsolete alias.
7533
45ce222e
GM
7534 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7535
02d844b5
GM
7536 * minibuffer.el (read-file-name-completion-ignore-case):
7537 Move before completion--in-region, for eager macro expansion.
7538
ac44d6c1
JL
75392013-05-29 Juri Linkov <juri@jurta.org>
7540
7541 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7542 for total count of matching lines. Add `global-matches' for total
7543 count of matches. Rename `matches' to `lines' for count of
7544 matching lines. Add `matches' for count of matches.
7545 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7546 to `prev-line' for line number of prev match endpt.
7547 Increment `matches' for every match. Print the number of
7548 matching lines in the header.
7549 (occur-context-lines): Rename `lines' to `curr-line'.
7550 Rename `prev-lines' to `prev-line'. (Bug#14017)
7551
3c9c9d38
JL
75522013-05-29 Juri Linkov <juri@jurta.org>
7553
7554 * replace.el (perform-replace): Add `skip-read-only-count',
7555 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7556 Increment them for corresponding conditions and report the number
7557 of skipped occurrences in the final message. (Bug#11746)
7558 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7559 (replace-string, replace-regexp): Doc fix.
7560
33e249a2
SM
75612013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7562
8e399682
SM
7563 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7564
33e249a2 7565 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7566 prog-mode-map (bug#14504).
33e249a2 7567
f236dd84
LL
75682013-05-29 Leo Liu <sdl.web@gmail.com>
7569
7570 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7571 (octave-help): Small simplification.
7572
7573 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7574 off the highlight first.
7575
3694d13f
GM
75762013-05-29 Glenn Morris <rgm@gnu.org>
7577
03983bdc
GM
7578 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7579 Handle idlwave-last-system-routine-info-cons-cell being nil.
7580
bc74a74a
GM
7581 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7582 (idlwave-write-paths): Simplify via with-temp-buffer.
7583
8b394200
GM
7584 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7585 * emulation/cua-rect.el: Also load cua-base at run time.
7586
3694d13f
GM
7587 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7588 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7589 (cperl-imenu-on-info): Require imenu.
7590
336d7284
AM
75912013-05-28 Alan Mackenzie <acm@muc.de>
7592
7593 Handle "capitalised keywords" correctly.
33e249a2 7594 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7595
cb29c582
AG
75962013-05-28 Aidan Gauland <aidalgol@amuri.net>
7597
781b4af6 7598 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7599
690e44b2
GM
76002013-05-28 Glenn Morris <rgm@gnu.org>
7601
e658d75c
GM
7602 * vc/vc-arch.el (vc-exec-after): Declare.
7603 (vc-switches): Autoload.
7604 * vc/vc-bzr.el: No need to require vc when compiling.
7605 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7606 (vc-resynch-buffer, vc-dir-refresh): Declare.
7607 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7608 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7609 (vc-resynch-buffer): Declare.
7610 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7611 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7612 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7613 (grep-read-regexp, grep-read-files, grep-expand-template)
7614 (vc-dir-refresh): Declare.
7615 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7616 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7617 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7618 * vc/vc-mtn.el (vc-exec-after): Declare.
7619 (vc-switches): Autoload.
7620 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7621 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7622 (vc-file-tree-walk): Declare.
712b9732
GM
7623 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7624 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7625 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7626 * vc/vc-svn.el (vc-exec-after): Declare.
7627 (vc-switches, vc-setup-buffer): Autoload.
7628 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7629 Autoload.
7630 (vc-resynch-buffer): Declare.
7631
98e87fb3
GM
7632 * obsolete/fast-lock.el (byte-compile-warnings):
7633 Don't warn about obsolete features in this obsolete file.
7634
f5379553
GM
7635 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7636 Move definition before use.
7637
7a20ef83
GM
7638 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7639 (dun-unix-verbs): Remove dun-zippy.
7640 (dun-zippy): Remove function.
7641
690e44b2
GM
7642 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7643
3a52ccf7
JL
76442013-05-27 Juri Linkov <juri@jurta.org>
7645
7646 * replace.el (replace-search): New function with code moved out
7647 from `perform-replace'.
7648 (replace-highlight, replace-dehighlight): Move function definitions
7649 up closer to `replace-search'. (Bug#11746)
7650
d289938a
JL
76512013-05-27 Juri Linkov <juri@jurta.org>
7652
7653 * replace.el (perform-replace): Ignore invisible matches.
7654 In addition to checking `query-replace-skip-read-only', also
7655 filter out matches by calling `run-hook-with-args-until-failure'
7656 on `isearch-filter-predicates', and also check `search-invisible'
7657 for t or call `isearch-range-invisible'.
7658 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7659
66fc57e3
JL
76602013-05-27 Juri Linkov <juri@jurta.org>
7661
7662 * isearch.el (isearch-filter-predicates): Rename from
7663 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7664 (isearch-message-prefix): Display text from the property
7665 `isearch-message-prefix' of the currently active filters.
7666 (isearch-search): Don't compare `isearch-filter-predicate' with
7667 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7668 on `isearch-filter-predicates'. Also check `search-invisible' for t
7669 or call `isearch-range-invisible'.
7670 (isearch-filter-visible): Make obsolete.
7671 (isearch-lazy-highlight-search):
7672 Call `run-hook-with-args-until-failure' on
7673 `isearch-filter-predicates' and use `isearch-range-invisible'.
7674
7675 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7676 `isearch-filter-predicates' instead of `funcall'ing
7677 `isearch-filter-predicate'.
7678 (Info-mode): Set `Info-isearch-filter' to
7679 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7680
7681 * dired-aux.el (dired-isearch-filter-predicate-orig):
7682 Remove variable.
7683 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7684 (dired-isearch-filenames-end): Add and remove
7685 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7686 instead of changing the value of `isearch-filter-predicate'.
7687 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7688 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7689 Put property `isearch-message-prefix' to "filename " on
7690 `dired-isearch-filter-filenames'.
7691
7692 * wdired.el (wdired-change-to-wdired-mode):
7693 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7694 locally instead of changing `isearch-filter-predicate'.
7695 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7696
f1a60a0f
DG
76972013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7698
7699 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7700 return the commit hash (Bug#14459). Also set the
7701 `vc-git-detached' property.
7702 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7703 (vc-git-mode-line-string): Use the same help-echo format whether
7704 in detached mode or not, because we know the actual revision now.
7705 When in detached mode, shorten the revision to 7 chars.
7706
7f17cc40
SM
77072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * emacs-lisp/easy-mmode.el (define-minor-mode):
7710 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7711 mode hook and provide a docstring.
7712
25c8401c
AM
77132013-05-27 Alan Mackenzie <acm@muc.de>
7714
7715 Remove spurious syntax-table text properties inserted by C-y.
7716 * progmodes/cc-mode.el (c-after-change): Also clear hard
7717 syntax-table property with value nil.
7718
dde84790
MA
77192013-05-27 Michael Albinus <michael.albinus@gmx.de>
7720
7721 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7722 when reading the events; the buffer layout shall not be changed.
7723
837fd9af
LL
77242013-05-27 Leo Liu <sdl.web@gmail.com>
7725
7726 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7727 New variable.
7728 (inferior-octave-directory-tracker): Automatically re-sync
7729 default-directory.
7730 (octave-help): Improve handling of 'See also'.
7731
4fd996b3
SM
77322013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7733
416f1802
SM
7734 * doc-view.el: Minor naming convention tweaks.
7735 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7736
4fd996b3
SM
7737 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7738 even if there's no `display' property yet (bug#14435).
7739
a052ef3b
EZ
77402013-05-25 Eli Zaretskii <eliz@gnu.org>
7741
4fd996b3 7742 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7743
7744 * Makefile.in (custom-deps, finder-data, autoloads)
7745 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7746 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7747 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7748
c9023370
SM
77492013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7752 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7753 Don't burp at EOB.
c9023370 7754
24d699fa
LL
77552013-05-25 Leo Liu <sdl.web@gmail.com>
7756
7757 * comint.el (comint-previous-matching-input): Do not flood the
7758 *Messages* buffer with trivial messages.
7759
17e5c0cc
SM
77602013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * progmodes/flymake.el (flymake-nop): Don't return a string.
7763 (flymake-set-at): Fix typo.
7764
7765 * simple.el (read--expression): New function, extracted from
7766 eval-expression. Set completion-at-point-functions (bug#14465).
7767 (eval-expression, eval-minibuffer): Use it.
7768
5d028165
XF
77692013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7770
7771 * progmodes/flymake.el (flymake-save-buffer-in-file)
7772 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7773 (flymake-selected-frame, flymake-log, flymake-ins-after)
7774 (flymake-set-at, flymake-get-buildfile-from-cache)
7775 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7776 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7777 Refine the doc string.
7778 (flymake-get-file-name-mode-and-masks): Reformat.
7779 (flymake-get-real-file-name-function): Fix a minor bug.
7780
7a1d7ba7
JL
77812013-05-24 Juri Linkov <juri@jurta.org>
7782
7783 * progmodes/grep.el (grep-mode-font-lock-keywords):
7784 Support =linenumber= format used by git-grep for lines with
7785 function names. (Bug#13549)
7786
650cff3d
SM
77872013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7790 0 after a semi-colon; it works better for smie-auto-fill.
7791 (octave--indent-new-comment-line): New function.
7792 (octave-indent-new-comment-line): Use it (indirectly).
7793 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7794 modify comment-line-break-function.
7795
7796 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7797 (smie-setup): Use add-function to set it.
7798
9631677d
SS
77992013-05-24 Sam Steingold <sds@gnu.org>
7800
7801 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7802 argument (before the `interactive' argument).
7803
50105835
SM
78042013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * image-mode.el (image-mode-winprops): Add winprops to
7807 image-mode-winprops-alist before running
7808 image-mode-new-window-functions.
7809 * doc-view.el (doc-view-new-window-function): Don't delay
7810 doc-view-goto-page via timers (bug#14435).
7811
57b9823e
TH
78122013-05-24 Tassilo Horn <tsdh@gnu.org>
7813
7814 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7815 (doc-view-desktop-save-buffer): New function.
7816 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7817 (desktop-buffer-mode-handlers):
7818 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7819 handler.
7820 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7821 `desktop-save-buffer' function.
7822
91aafa16
MA
78232013-05-24 Michael Albinus <michael.albinus@gmx.de>
7824
7825 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7826 (tramp-gvfs-file-name-handler): Raise a user error when
7827 `tramp-gvfs-enabled' is nil.
7828 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7829 Do not raise a user error when loading package. (Bug#14447)
7830
ec076379
MA
7831 * net/xesam.el: Move to obsolete/.
7832
db785726
GM
78332013-05-24 Glenn Morris <rgm@gnu.org>
7834
af5c7606
GM
7835 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7836
e5d1916a
GM
7837 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7838
ded62b08
GM
7839 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7840 (Info-find-node, Man-getpage-in-background): Declare.
7841
9e614a3f
GM
7842 * mail/unrmail.el (unrmail):
7843 Replace obsolete detect-coding-with-priority.
7844
892f8ca3
GM
7845 * net/socks.el (socks-split-string): Use this rather than split-string.
7846 (socks-nslookup-host): Update for above change.
7847 (dynamic-choice, s5-dynamic-choice-match)
7848 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7849 Comment out unused code.
7850
3c291973
GM
7851 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7852 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7853 (gud-tooltip-echo-area): Make obsolete.
7854 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7855
43cc956b
GM
7856 * progmodes/js.el (js--optimize-arglist): Declare.
7857
dab49a3b
GM
7858 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7859
36b9d085
GM
7860 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7861 (ediff-window-C): Declare.
7862
e354ae76
GM
7863 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7864 Tweak requires to silence compiler.
7865
b8e57bf4
GM
7866 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7867 (he-search-string, he-tried-table, he-expand-list)
7868 (he-init-string, he-string-member, he-substitute-string)
7869 (he-reset-string): Declare.
7870
db785726
GM
7871 * obsolete/options.el (list-options): Use custom-variable-p,
7872 rather than obsolete alias.
7873
b3531901
SS
78742013-05-23 Sam Steingold <sds@gnu.org>
7875
7876 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7877 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7878 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7879
bdda4c66
SM
78802013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * emacs-lisp/smie.el (smie-indent-forward-token)
7883 (smie-indent-backward-token): Handle string tokens (bug#14381).
7884
c43d45f9
TH
78852013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7886
fe1eb856
RS
7887 * ielm.el (ielm-menu): New menu.
7888 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7889
fe1eb856
RS
78902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7891
7892 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7893 Fix deactivate action.
7894
7895 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7896 Add cleveref macros.
074dd971 7897
c43d45f9
TH
7898 * lisp/textmodes/reftex-parse.el
7899 (reftex-locate-bibliography-files): Accept options for
7900 bibliography commands.
7901 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7902 Add addbibresource. Basic Biblatex support.
7903
7764286e
MA
79042013-05-23 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * net/tramp-gvfs.el (top):
7907 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7908 when loading package. (Bug#14447)
7909
d361bc10
GM
79102013-05-23 Glenn Morris <rgm@gnu.org>
7911
8fa23984
GM
7912 * progmodes/js.el: No need to load comint when compiling.
7913 (ring-insert, comint-send-string, comint-send-input)
7914 (comint-last-input-end, ido-chop): Declare.
7915
a5c7df1a
GM
7916 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7917 * vc/ediff-mult.el: Adjust requires.
7918 (ediff-directories-internal, ediff-directory-revisions-internal)
7919 (ediff-patch-file-internal): Declare.
7920 * vc/ediff-ptch.el: Adjust requires.
7921 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7922 (ediff-find-file): Autoload.
7923 * vc/ediff-util.el: No need to load ediff when compiling.
7924 (ediff-regions-internal): Declare.
7925 * vc/ediff-wind.el: Adjust requires.
7926 (ediff-compute-toolbar-width): Define when compiling.
7927 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7928 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7929 (dired-get-filename, dired-get-marked-files)
7930 (ediff-last-dir-patch, ediff-patch-default-directory)
7931 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7932 (ediff-patch-buffer-internal): Declare.
7933
e2aec513
GM
7934 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7935 (ispell-process, ispell-buffer-local-words, lm-summary)
7936 (lm-section-start, lm-section-end): Declare.
7937 (checkdoc-ispell-init): Simplify.
7938
e68bbd7c
GM
7939 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7940 (he-string-member, he-reset-string, he-substitute-string): Declare.
7941
7efe0991
GM
7942 * eshell/em-ls.el: Adjust requires.
7943 (eshell-glob-regexp): Declare.
f87b1284
GM
7944 * eshell/em-tramp.el: Adjust requires.
7945 (eshell-parse-command): Autoload.
7946 * eshell/em-xtra.el: Adjust requires.
7947 (eshell-parse-command): Autoload.
7948 * eshell/esh-ext.el: Adjust requires.
7949 (eshell-parse-command, eshell-close-handles): Autoload.
7950 * eshell/esh-io.el: Adjust requires.
7951 (eshell-output-filter): Autoload.
7952 * eshell/esh-util.el: No need to load tramp when compiling.
7953 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7954 Declare.
7955 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7956 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7957 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7958 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7959 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7960 * eshell/esh-opt.el, eshell/esh-proc.el:
7961 * eshell/esh-var.el: Adjust requires.
7962 * eshell/eshell.el: Do not require esh-util twice.
7963 (eshell-add-input-to-history): Declare.
7964 (eshell-command): Check history module is active before using it.
7965
d361bc10
GM
7966 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7967
85d090a9
LL
79682013-05-22 Leo Liu <sdl.web@gmail.com>
7969
7970 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7971
5d0acd9d
MA
79722013-05-22 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * autorevert.el (auto-revert-notify-add-watch)
7975 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7976 it indicates changes in file modification time.
7977
0cdffd7d
GM
79782013-05-22 Glenn Morris <rgm@gnu.org>
7979
ca5995ec
GM
7980 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7981 Always delete the autoloaded function from the noruntime and
7982 unresolved functions lists.
7983
6450907e
GM
7984 * allout.el: No need to load epa, epg, overlay when compiling.
7985 (epg-context-set-passphrase-callback, epg-list-keys)
7986 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7987 (epg-key-user-id-list): Declare.
7988
9c6906f6
GM
7989 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7990 (viper-set-parsing-style-toggling-macro)
7991 (viper-set-emacs-state-searchstyle-macros):
7992 Use called-interactively-p on Emacs.
7993 (viper-looking-back): Make it an obsolete alias. Update callers.
7994 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7995 Use looking-back rather than viper-looking-back.
7996 (viper-tmp-insert-at-eob, viper-enlarge-region)
7997 (viper-read-string-with-history, viper-register-to-point)
7998 (viper-append-to-register, viper-change-state-to-vi)
7999 (viper-backward-char-carefully, viper-forward-char-carefully)
8000 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8001 (viper-change-state-to-emacs): Declare.
8002 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8003 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8004 * emulation/viper-mous.el: Do not load viper-cmd.
8005 (viper-backward-char-carefully, viper-forward-char-carefully)
8006 (viper-forward-word, viper-adjust-window): Declare.
8007
5f70c169
GM
8008 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8009
b1b7f300
GM
8010 * progmodes/idlw-help.el (idlwave-help-fontify):
8011 Use called-interactively-p.
8012
f6ebbb46
GM
8013 * term/w32console.el (w32-get-console-codepage)
8014 (w32-get-console-output-codepage): Declare.
8015
0cdffd7d
GM
8016 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8017 Remove unnecessary declarations.
8018 (dframe-message): Doc fix.
8019
8020 * info.el (dframe-select-attached-frame, dframe-current-frame):
8021 Declare.
8022
8023 * speedbar.el (speedbar-message): Make it an obsolete alias.
8024 Update all callers.
8025 (speedbar-with-attached-buffer)
8026 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8027 (speedbar-with-writable): Use backquote.
8028 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8029 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8030 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8031 rather than speedbar- aliases.
8032 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8033 (speedbar-make-specialized-keymap, speedbar-insert-button)
8034 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8035 (speedbar-do-function-pointer): Declare.
8036 (rmail-speedbar-button, rmail-speedbar-find-file)
8037 (rmail-speedbar-move-message):
8038 Use dframe-with-attached-buffer rather than speedbar- alias.
8039 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8040 (dframe-message, speedbar-make-specialized-keymap)
8041 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8042 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8043 (speedbar-insert-button, dframe-select-attached-frame)
8044 (dframe-maybee-jump-to-attached-frame)
8045 (speedbar-change-initial-expansion-list)
8046 (speedbar-previously-used-expansion-list-name): Declare.
8047 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8048 Use dframe-message, dframe-with-attached-buffer rather than
8049 speedbar- aliases.
8050 (gud-sentinel): Silence compiler.
8051 * progmodes/vhdl-mode.el (speedbar-refresh)
8052 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8053 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8054 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8055 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8056 (speedbar-file-lists, speedbar-make-tag-line)
8057 (speedbar-line-directory, speedbar-goto-this-file)
8058 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8059 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8060 (speedbar-make-button, speedbar-reset-scanners)
8061 (speedbar-files-item-info, speedbar-line-text)
8062 (speedbar-find-file-in-frame, speedbar-set-timer)
8063 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8064 (speedbar-with-writable): Do not (re)define it.
8065 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8066 rather than speedbar- alias.
8067
ee44b62a
LL
80682013-05-21 Leo Liu <sdl.web@gmail.com>
8069
8070 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8071 menu items.
8072 (octave-mode): Tweak fill-nobreak-predicate.
8073 (inferior-octave-startup): Check process to avoid infinite loop.
8074 (inferior-octave): Pop to buffer first to show abornmal process
8075 exit information.
8076
640f050f
GM
80772013-05-21 Glenn Morris <rgm@gnu.org>
8078
79458038
GM
8079 * printing.el (pr-menu-bar): Define when compiling.
8080
9cc3e83f
LL
80812013-05-21 Leo Liu <sdl.web@gmail.com>
8082
8083 * progmodes/octave.el (octave-auto-fill): Remove.
8084 (octave-indent-new-comment-line): Improve.
8085 (octave-mode): Use auto fill mode through
4f405069 8086 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8087 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8088 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8089 (octave-help): Show parent directory.
8090
f440830d
GM
80912013-05-21 Glenn Morris <rgm@gnu.org>
8092
8093 * files.el (dired-unmark):
8094 * progmodes/gud.el (gdb-input): Update declarations.
8095
8096 * calculator.el (electric, ehelp): No need to load when compiling.
8097 (Electric-command-loop, electric-describe-mode): Declare.
8098
8099 * doc-view.el (doc-view-current-converter-processes): Move before use.
8100
8101 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8102 Move MODE-set-explicitly definition before use.
8103
8104 * international/mule-diag.el (mule-diag):
8105 Don't use obsolete window-system-version.
8106
8107 * mail/feedmail.el (smtpmail): No need to load when compiling.
8108 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8109
8110 * mail/mail-utils.el (rfc822): No need to load when compiling.
8111 (rfc822-addresses): Autoload it.
8112 (mail-strip-quoted-names): Trivial simplification.
8113
8114 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8115 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8116
8117 * net/snmp-mode.el (tempo): Don't duplicate requires.
8118
8119 * progmodes/prolog.el (info): No need to load when compiling.
8120 (comint): Require before shell requires it.
8121 (Info-goto-node): Autoload it.
8122 (Info-follow-nearest-node): Declare.
8123 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8124
8125 * textmodes/artist.el (picture-mode-exit): Declare.
8126
8127 * textmodes/reftex-parse.el (reftex-parse-from-file):
8128 Trivial rewrite so the compiler can parse it better.
8129
b4da2cbb
LL
81302013-05-20 Leo Liu <sdl.web@gmail.com>
8131
8132 * progmodes/octave.el (octave-help-mode-map)
8133 (octave-help-mode-finish-hook): New variables.
8134 (octave-help-mode, octave-help-mode-finish): New functions.
8135 (octave-help): Use octave-help-mode.
8136
33c0f65b
GM
81372013-05-20 Glenn Morris <rgm@gnu.org>
8138
8139 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8140
1a0a0a8a
DG
81412013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8142
8143 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8144 start at point, so that expansion starting right after opening
8145 slash in a regexp is recognized.
8146 (ruby-syntax-before-regexp-re): New defvar, extracted from
8147 ruby-syntax-propertize-function. Since the value of this regexp
8148 is looked up at runtime now, we should be able to turn
8149 `ruby-syntax-methods-before-regexp' into a defcustom later.
8150 (ruby-syntax-propertize-function): Split regexp matching into two
8151 parts, for opening and closing slashes. That allows us to skip
8152 over string interpolations and support multiline regexps.
8153 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8154 for them, which calls `ruby-syntax-propertize-expansion'.
8155 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8156 call to `ruby-syntax-propertize-function'.
8157 (ruby-syntax-propertize-expansion): Extracted from
8158 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8159 (ruby-syntax-propertize-percent-literal): Leave point right after
8160 the percent symbol, so that the expression expansion rule can
8161 propertize the contents.
462388b6
DG
8162 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8163 heredoc openers.
8164 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8165
c1a6c0a4
JL
81662013-05-18 Juri Linkov <juri@jurta.org>
8167
8168 * man.el (Man-default-man-entry): Remove `-' from the end
8169 of the default value. (Bug#14400)
8170
8051fccd
GM
81712013-05-18 Glenn Morris <rgm@gnu.org>
8172
8173 * comint.el (comint-password-prompt-regexp):
8174 Allow "password for XXX" where XXX contains colons (eg https://...).
8175
5e80b74f
LL
81762013-05-18 Leo Liu <sdl.web@gmail.com>
8177
8178 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8179 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8180 (octave-source-directories): Don't check process.
8181 (octave-source-directories, octave-find-definition): Doc fix.
8182
521a54c5
GM
81832013-05-18 Glenn Morris <rgm@gnu.org>
8184
86a94b05
GM
8185 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8186 Remove backspace/delete bindings. (Bug#14392)
8187
521a54c5
GM
8188 * cus-dep.el (custom-make-dependencies): Sort the output.
8189 (custom-versions-load-alist): Convert comment to doc.
8190
42caeb89
LL
81912013-05-17 Leo Liu <sdl.web@gmail.com>
8192
8193 * newcomment.el (comment-search-backward): Stricter in finding
8194 comment start. (Bug#14303)
8195
8196 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8197 (octave-comment-start-skip): Properly anchored.
8198
e219dd97
LL
81992013-05-17 Leo Liu <sdl.web@gmail.com>
8200
fe1eb856
RS
8201 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8202 Clean up when turned off. (Bug#14395)
e219dd97
LL
8203 (smie--highlight-matching-block-overlay): No longer buffer-local.
8204 (smie-highlight-matching-block): Adjust.
8205
dc5dcb4b
PE
82062013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8207
8208 Doc string fix for "nanoseconds" (Bug#14406).
8209 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8210 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8211
1db165f0
JB
82122013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8213
8214 * calc/calc-units.el (math-extract-units): Preserve powers
8215 of units.
8216
c7a8fcac
LL
82172013-05-17 Leo Liu <sdl.web@gmail.com>
8218
8219 * subr.el (delete-consecutive-dups): New function.
8220 * ido.el (ido-set-matches-1): Use it.
8221 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8222 * ido.el (ido-remove-consecutive-dups): Remove.
8223
f678b18a
SM
82242013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8227 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8228 regexp-opt's `words'.
8229
ebfe68e8
LL
82302013-05-16 Leo Liu <sdl.web@gmail.com>
8231
8232 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8233 (smie--highlight-matching-block-overlay)
8234 (smie--highlight-matching-block-lastpos)
8235 (smie--highlight-matching-block-timer): New variables.
8236 (smie-highlight-matching-block): New function.
8237 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8238 (smie-setup): Conditionally enable smie-blink-matching-open.
8239
bc8bc17d
WS
82402013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8241
8242 Sync with upstream verilog-mode r840.
8243 * progmodes/verilog-mode.el (verilog-mode-version)
8244 (verilog-mode-release-date): Update.
8245 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8246 (verilog-sig-tieoff): Fix string error on
8247 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8248 (verilog-read-decls): Fix parameters confusing
8249 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8250
df065a0b
EZ
82512013-05-16 Eli Zaretskii <eliz@gnu.org>
8252
8253 * subr.el (reveal-filename): New function.
8254
8255 * loadup.el: Compute Emacs executable versions on MS-Windows,
8256 where executables have the .exe extension. Add a hard link
8257 emacs-XX.YY.ZZ.exe on MS-Windows.
8258
8259 * Makefile.in (XARGS_LIMIT): New variable.
8260 (custom-deps, finder-data, autoloads)
8261 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8262 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8263 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8264 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8265
2d4bf34b
LL
82662013-05-16 Leo Liu <sdl.web@gmail.com>
8267
8268 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8269 (octave-mode-menu, octave-mode-map): Remove its uses.
8270
6b9c2d85
RZ
82712013-05-16 Reto Zimmermann <reto@gnu.org>
8272
8273 Sync with upstream vhdl mode v3.34.2.
8274 * progmodes/vhdl-mode.el: Use `push' throughout.
8275 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8276 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8277 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8278 (vhdl-actual-generic-name): New option to derive actual generic name.
8279 (vhdl-port-paste-signals): Replace formal by actual generics.
8280 (vhdl-beautify): New name for old group vhdl-align. Update users.
8281 (vhdl-beautify-options): New option.
8282 (vhdl-last-input-event): New compat alias. Use throughout.
8283 (vhdl-goto-line): Replace user level function `goto-line'.
8284 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8285 vhdl-fix-statement-buffer.
8286 (vhdl-create-mode-menu): Add some entries.
8287 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8288 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8289 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8290 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8291 to force statements on one line.
8292 (vhdl-remove-trailing-spaces-region):
8293 New, split from vhdl-remove-trailing-spaces.
8294 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8295 Respect vhdl-beautify-options.
8296 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8297 (vhdl-update-sensitivity-list): Not add with index if exists without.
8298 Not include array index with signal. Ignore keywords in comments.
8299 (vhdl-get-visible-signals): Regexp tweaks.
8300 (vhdl-template-component-inst): Handle empty library.
8301 (vhdl-template-type): Add template for 'enum' type.
8302 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8303 Use vhdl-replace-string.
8304 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8305 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8306 (vhdl-speedbar-initialize): Update for above name change.
8307 (vhdl-compose-wire-components): Fix in handling of constants.
8308 (vhdl-error-regexp-emacs-alist): New variable.
8309 (vhdl-error-regexp-add-emacs): New function;
8310 adds support for new compile.el (Emacs 22+)
8311 (vhdl-generate-makefile-1): Change target order for single lib. units.
8312 Allow use of absolute file names.
8313
9df4ec5e
LL
83142013-05-16 Leo Liu <sdl.web@gmail.com>
8315
8316 * simple.el (prog-indent-sexp): Indent enclosing defun.
8317
f5ba00a6
GM
83182013-05-15 Glenn Morris <rgm@gnu.org>
8319
ed8be7ff
GM
8320 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8321 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8322 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8323 (whitespace-highlight): Move to whitespace group.
8324
8325 * comint.el (comint-source):
8326 * pcmpl-linux.el (pcmpl-linux):
8327 * shell.el (shell-faces):
8328 * eshell/esh-opt.el (eshell-opt):
8329 * international/ccl.el (ccl): Remove empty custom groups.
8330
8331 * completion.el (dynamic-completion-mode):
8332 * jit-lock.el (jit-lock-debug-mode):
8333 * minibuffer.el (completion-in-region-mode):
8334 * type-break.el (type-break-mode-line-message-mode)
8335 (type-break-query-mode):
8336 * emulation/tpu-edt.el (tpu-edt-mode):
8337 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8338 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8339 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8340
8341 * term/xterm.el (xterm): Change parent group to terminals.
8342
8343 * master.el (master): Remove empty custom group.
8344 (master-mode): Remove unused :group argument.
8345 * textmodes/refill.el (refill): Remove empty custom group.
8346 (refill-mode): Remove unused :group argument.
8347
8348 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8349
82a7c41b
GM
8350 * cus-dep.el: Provide a feature.
8351 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8352 Don't mistakenly ignore files whose basenames match a basename
8353 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8354 Add a fallback method for getting :group.
f5ba00a6 8355
6d65486d
JL
83562013-05-15 Juri Linkov <juri@jurta.org>
8357
da547b32
JL
8358 * isearch.el (isearch-char-by-name): Rename from
8359 `isearch-insert-char-by-name'. Doc fix.
8360 (isearch-forward): Mention `isearch-char-by-name' in
8361 the docstring. (Bug#13348)
8362
6d65486d
JL
8363 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8364 `exit-minibuffer' instead of
8365 `isearch-nonincremental-exit-minibuffer'.
8366 (isearch-edit-string): Remove mention of
8367 `isearch-nonincremental-exit-minibuffer' from docstring.
8368 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8369 (isearch-forward-exit-minibuffer)
8370 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8371
c9990474
SM
83722013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8373
6e911150
SM
8374 * loadup.el: Just use unversioned DOC.
8375
c9990474
SM
8376 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8377 literals as extending to EOB.
8378 (nxml-last-fontify-end): Remove unused variable.
8379 (nxml-after-change1): Use with-silent-modifications.
8380 (nxml-extend-after-change-region): Simplify.
8381 (nxml-extend-after-change-region1): Remove function.
8382 (nxml-after-change1): Don't adjust for dependent regions.
8383 (nxml-fontify-matcher): Simplify.
8384 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8385 (xmltok-add-dependent): Remove function.
8386 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8387 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8388 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8389 unclosed <[[, <?, comment, and other literals as extending to EOB.
8390 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8391 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8392 Remove functions.
8393 (rng-do-some-validation-1): Don't mark dependent regions.
8394 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8395 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8396 (nxml-clear-dependent-regions): Remove functions.
8397 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8398 (nxml-ensure-scan-up-to-date):
8399 Don't clear&mark dependent regions.
8400
e3772e98
LL
84012013-05-15 Leo Liu <sdl.web@gmail.com>
8402
c9990474
SM
8403 * progmodes/octave.el (octave-goto-function-definition):
8404 Improve and fix callers.
e3772e98 8405
5ac2eb34
SM
84062013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8407
c46c57b0
SM
8408 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8409 the setter (bug#14387).
8410
5ac2eb34
SM
8411 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8412 surrounding group (bug#14402).
8413
180ed218
JL
84142013-05-14 Juri Linkov <juri@jurta.org>
8415
8416 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8417 (Bug#14390)
8418
0ac0fecb
GM
84192013-05-14 Glenn Morris <rgm@gnu.org>
8420
8421 * progmodes/f90.el (f90-imenu-generic-expression):
8422 Fix typo in 2013-05-08 change. (Bug#14402)
8423
2e78e6a7
JPG
84242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8425
5ac2eb34
SM
8426 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8427 Remove signals for which replies are never received.
2e78e6a7 8428
53267cca
JPG
84292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8430
8431 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8432 (gdb-handler-alist, gdb-handler-number): Remove variables.
8433 (gdb-handler-list): New variable.
8434 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8435 (gdb-pending-handler-p, gdb-handle-reply)
8436 (gdb-remove-all-pending-triggers): New functions.
8437 (gdb-discard-unordered-replies): New defcustom.
8438 (gdb-handler): New defstruct.
8439 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8440 instead of gdb-pending-triggers. Update docstring.
8441 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8442 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8443 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8444 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8445 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8446 (gdb-frame-handler): Pending triggers are now automatically managed.
8447 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8448 Remove argument.
8449 (gdb-input): Automatically handles pending triggers. Update docstring.
8450 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8451 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8452 Update comments.
8453 (gdb-done-or-error): Now use gdb-handle-reply.
8454
d04ce803
JPG
84552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8456
8457 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8458 gdb-debug-log.
8459
0114073a
GM
84602013-05-14 Glenn Morris <rgm@gnu.org>
8461
8462 * subr.el (user-emacs-directory-warning): New option.
8463 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8464
4d25fd7e
LL
84652013-05-14 Leo Liu <sdl.web@gmail.com>
8466
8467 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8468 during redisplay.
8469 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8470 (octave-font-lock-texinfo-comment): Fix invalid search bound
8471 error: wrong side of point.
4d25fd7e 8472
27c8b6eb
GM
84732013-05-14 Glenn Morris <rgm@gnu.org>
8474
61aaeb01
GM
8475 * progmodes/flymake.el (flymake-xml-program): New option.
8476 (flymake-xml-init): Use it.
8477
5bf90bc5
GM
8478 * term/xterm.el: Provide a feature.
8479
8480 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8481
f4c7dfd2
GM
84822013-05-13 Glenn Morris <rgm@gnu.org>
8483
8484 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8485 Add compat aliases as a hack workaround. (Bug#14384)
8486
2aeb3a1d
LL
84872013-05-13 Leo Liu <sdl.web@gmail.com>
8488
b0e069c2
LL
8489 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8490 ###, and %!.
f5a9432f
LL
8491 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8492 C-M-q.
b0e069c2
LL
8493 (octave-comment-start-skip): Include %!.
8494 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8495
30ea8374
LL
84962013-05-12 Leo Liu <sdl.web@gmail.com>
8497
8498 * progmodes/octave.el (inferior-octave-startup): Store the value
8499 of __octave_srcdir__ for octave-source-directories.
8500 (inferior-octave-check-process): New function refactored out of
8501 inferior-octave-send-list-and-digest.
8502 (octave-source-directories)
8503 (octave-find-definition-filename-function): New variables.
8504 (octave-source-directories)
8505 (octave-find-definition-default-filename): New functions.
8506 (octave-find-definition): Improve to find functions implemented in C++.
8507
472a3834
GM
85082013-05-12 Glenn Morris <rgm@gnu.org>
8509
8510 * calendar/diary-lib.el (diary-outlook-format-1):
8511 Don't include dayname in the output. (Bug#14349)
8512
3191b52f
GM
85132013-05-11 Glenn Morris <rgm@gnu.org>
8514
0060ac73
GM
8515 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8516
3191b52f
GM
8517 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8518 Treat cc-provide like provide.
8519
e065ba74
KR
85202013-05-11 Kevin Ryde <user42@zip.com.au>
8521
8522 * cus-dep.el (custom-make-dependencies):
8523 Use generated-autoload-load-name for the sake of files such
8524 such cedet/semantic/bovine/c.el, where the base file name
8525 is not in load-path. (Bug#5277)
8526
36f84c37
GM
85272013-05-11 Glenn Morris <rgm@gnu.org>
8528
8529 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8530 Provide features.
8531
c8730c3a
LL
85322013-05-11 Leo Liu <sdl.web@gmail.com>
8533
8534 * progmodes/octave.el (octave-indent-comment): Improve.
8535 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8536 (octave-eldoc-function-signatures, octave-eldoc-function):
8537 New functions.
c8730c3a
LL
8538 (octave-mode, inferior-octave-mode): Add eldoc support.
8539
212e29f2
RS
85402013-05-11 Richard Stallman <rms@gnu.org>
8541
8542 * epa.el (epa-decrypt-file): Take output file name as argument
8543 and read it using `interactive'.
8544
083fe0d7
LL
85452013-05-11 Leo Liu <sdl.web@gmail.com>
8546
8547 * progmodes/octave.el (octave-beginning-of-line)
8548 (octave-end-of-line): Check before using up-list because it jumps
8549 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8550 (octave-indent-comment): New function.
8551 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8552 (octave-begin-keywords, octave-end-keywords)
8553 (octave-reserved-words, octave-smie-bnf-table)
8554 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8555
8582e4c4
GM
85562013-05-11 Glenn Morris <rgm@gnu.org>
8557
f20def1f
GM
8558 * faces.el (internal-face-x-get-resource):
8559 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8560 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8561 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8562 Fix declarations.
f20def1f 8563
445f95e2
GM
8564 * calc/calc-menu.el: Make it loadable in isolation.
8565
8566 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8567 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8568 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8569 (eudc-bbdb-query-internal): Require 'bbdb.
8570
99fb2756
GM
8571 * lpr.el (lpr-headers-switches):
8572 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8573
8574 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8575
0da7ad96
GM
8576 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8577
8582e4c4
GM
8578 * term.el (term-set-escape-char): Make it idempotent.
8579
f71c50d0
LL
85802013-05-10 Leo Liu <sdl.web@gmail.com>
8581
5ac2eb34
SM
8582 * progmodes/octave.el (inferior-octave-completion-table):
8583 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8584 completion due to bug#11906.
8585 (octave-beginning-of-defun): Re-write to be more general.
8586
d5837773
GM
85872013-05-10 Glenn Morris <rgm@gnu.org>
8588
8589 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8590
027c0f75
SM
85912013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * comint.el (comint-redirect-send-command-to-process): Use :around
8594 rather than :override for comint-redirect-filter.
8595 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8596 Call it instead of comint-redirect-original-filter-function (which
8597 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8598
4465bfb4
JD
85992013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8600
8601 * frame.el (display-monitor-attributes-list): Add NS case.
8602 (ns-display-monitor-attributes-list): Declare.
8603
2d809ffa 86042013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8605
8606 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8607
e54eeb9b
GM
86082013-05-09 Glenn Morris <rgm@gnu.org>
8609
56cd351d
GM
8610 * international/fontset.el (vertical-centering-font-regexp):
8611 Set standard-value.
8612
d84b6108
GM
8613 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8614
a931698a
GM
8615 * bookmark.el (bookmark-search-delay):
8616 * cus-start.el (vertical-centering-font-regexp):
8617 * ps-mule.el (ps-mule-font-info-database-default):
8618 * ps-print.el (ps-default-fg, ps-default-bg):
8619 * type-break.el (type-break-good-break-interval):
8620 * whitespace.el (whitespace-indentation-regexp)
8621 (whitespace-space-after-tab-regexp):
8622 * emacs-lisp/testcover.el (testcover-1value-functions)
8623 (testcover-noreturn-functions, testcover-progn-functions)
8624 (testcover-prog1-functions):
8625 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8626 * eshell/em-glob.el (eshell-glob-translate-alist):
8627 * play/tetris.el (tetris-tty-colors):
8628 * progmodes/cpp.el (cpp-face-default-list):
8629 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8630 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8631 (idlwave-help-browser-generic-args):
8632 * progmodes/make-mode.el (makefile-special-targets-list):
8633 * progmodes/python.el (python-shell-virtualenv-path):
8634 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8635 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8636 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8637 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8638 * textmodes/reftex-vars.el (reftex-format-label-function):
8639 * textmodes/remember.el (remember-diary-file): Fix custom types.
8640
e54eeb9b
GM
8641 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8642 Add :version.
8643
455851dd
LL
86442013-05-09 Leo Liu <sdl.web@gmail.com>
8645
8646 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8647 Restore file completion. (Bug#14300)
455851dd
LL
8648 (inferior-octave-startup): Fix incorrect highlighting for the
8649 first prompt.
8650
a9e4425b
SM
86512013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * progmodes/ruby-mode.el: First cut at SMIE support.
8654 (ruby-use-smie): New var.
8655 (ruby-smie-grammar): New constant.
8656 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8657 (ruby-smie--forward-token, ruby-smie--backward-token)
8658 (ruby-smie-rules): New functions.
8659 (ruby-mode-variables): Setup SMIE if applicable.
8660
060ca408
EZ
86612013-05-08 Eli Zaretskii <eliz@gnu.org>
8662
8663 * simple.el (line-move-visual): Signal beginning/end of buffer
8664 only if vertical-motion moved less than it was requested. Avoids
8665 silly incorrect error messages when there are display strings with
8666 multiple newlines at EOL.
8667
1d5963cc
SM
86682013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8669
8670 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8671 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8672 (prolog-char-quote-workaround):
8673 * progmodes/cperl-mode.el (cperl-under-as-char):
8674 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8675 Mark as obsolete.
8676 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8677 their declaration.
8678 (vhdl-mode-syntax-table-init): Remove.
8679
c9990474
SM
8680 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8681 last change.
1d5963cc
SM
8682
8683 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8684 syntax for "_".
8685 (ld-script-font-lock-keywords):
8686 Change regexps to use things like \_< and \_>.
8687
8688 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8689 Change all regexps to use things like \_< and \_>.
8690
8691 * progmodes/autoconf.el (autoconf-definition-regexp)
8692 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8693 Handle a _ with symbol syntax.
8694 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8695
c9990474
SM
8696 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8697 Consolidate declaration.
1d5963cc
SM
8698 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8699 the declaration.
8700 (ada-create-syntax-table): Remove.
8701 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8702 already has the right syntax nowadays.
8703 (ada-goto-next-word): Don't change the syntax of "_".
8704
8705 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8706 with-wrapper-hook.
8707
72d3cfca
SS
87082013-05-08 Sam Steingold <sds@gnu.org>
8709
8710 * thingatpt.el (thing-at-point): Accept optional second argument
8711 NO-PROPERTIES to strip the text properties from the return value.
8712 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8713 to `thing-at-point' instead of stripping the properties ourselves.
8714 Also, when `thing-at-point' fails to find a url, prepend "http://"
8715 to the filename at point on the assumption that the user is
8716 pointing at something like gnu.org/gnu.
8717
5cb15713
JB
87182013-05-08 Juanma Barranquero <lekktu@gmail.com>
8719
8720 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8721 * faces.el (crm-separator):
8722 Silence byte-compiler.
8723
8724 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8725 (tool-bar-map): Remove unneeded defvars.
8726
ea78b95b
LL
87272013-05-08 Leo Liu <sdl.web@gmail.com>
8728
8729 Re-work a fix for bug#10994 based on Le Wang's patch.
8730 * ido.el (ido-remove-consecutive-dups): New helper.
8731 (ido-completing-read): Use it.
8732 (ido-chop): Revert fix for bug#10994.
8733
dc7466df
AS
87342013-05-08 Adam Spiers <emacs@adamspiers.org>
8735
8736 * cus-edit.el (custom-save-variables):
8737 Pretty-print long values. (Bug#14187)
8738
9ecf672a
GM
87392013-05-08 Glenn Morris <rgm@gnu.org>
8740
8741 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8742 (m4-mode-syntax-table): Init in the defvar.
8743 (m4-mode-abbrev-table): Let define-derived-mode define it.
8744
3f555be8
TT
87452013-05-08 Tom Tromey <tromey@redhat.com>
8746
8747 * progmodes/m4-mode.el (m4-mode-syntax-table):
8748 Do not treat "_" as word constituent. (Bug#14167)
8749
7cc8ae06
GM
87502013-05-07 Glenn Morris <rgm@gnu.org>
8751
4f58bc06
GM
8752 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8753 Remove explicit eshell-isearch-cancel-map.
8754
7cc8ae06
GM
8755 * progmodes/f90.el (f90-smart-end-names): New option.
8756 (f90-smart-end): Doc fix.
8757 (f90-end-block-optional-name): New constant.
8758 (f90-block-match): Respect f90-smart-end-names.
8759
ceb57e59
SM
87602013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8763 about implicit semi-colons (bug#14218).
8764
4e3f9230
YM
87652013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8766
8767 * frame.el (display-monitor-attributes-list)
8768 (frame-monitor-attributes): New functions.
8769
203a5572
LL
87702013-05-06 Leo Liu <sdl.web@gmail.com>
8771
8772 * progmodes/octave.el (octave-syntax-propertize-function): Change
8773 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8774 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8775 (octave-completion-at-point): Rename from
203a5572
LL
8776 octave-completion-at-point-function.
8777 (inferior-octave-directory-tracker): Robustify.
8778 (octave-text-functions): Remove and fix its uses. No such things
8779 any more.
8780
ee6cff99
SM
87812013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * emacs-lisp/trace.el (trace--display-buffer): New function.
8784 (trace-make-advice): Use it.
8785
32985194
JL
87862013-05-06 Juri Linkov <juri@jurta.org>
8787
8788 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8789 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8790 Doc fix.
8791 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8792 in the help string. (Bug#12985)
8793
a1c700de
KD
87942013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8795
8796 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8797
c67c0839
SM
87982013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8799
323885fd
SM
8800 * progmodes/perl-mode.el: Add support for here documents.
8801 (perl-syntax-propertize-function): Match here-doc markers.
8802 (perl-syntax-propertize-special-constructs): Find their end.
8803 (perl-imenu-generic-expression): Use [:alnum:].
8804
c67c0839
SM
8805 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8806 (advice--add-function): Refresh the advice if already present
8807 (bug#14317).
8808
d491e7a8
IA
88092013-05-06 Ivan Andrus <darthandrus@gmail.com>
8810
8811 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8812
ddf9925e
GM
88132013-05-06 Glenn Morris <rgm@gnu.org>
8814
7cc3af27
GM
8815 * w32-fns.el (w32-charset-info-alist): Declare.
8816
16e343d6
GM
8817 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8818 of its defcustom properties.
8819 (eshell-cmpl-initialize): No need to load pcomplete.
8820
7d889a47
GM
8821 * generic-x.el: No need to require comint when compiling.
8822
ddf9925e
GM
8823 * net/eudc-export.el: Make it loadable without bbdb.
8824 (top-level): Use require rather than load-library.
8825 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8826 (eudc-batch-export-records-to-bbdb)
8827 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8828 Require bbdb.
8829
1e2c18df
SM
88302013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8833 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8834 some tweaks, instead.
8835
02502a5f
LL
88362013-05-05 Leo Liu <sdl.web@gmail.com>
8837
8838 * progmodes/octave.el (octave-font-lock-keywords)
8839 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8840 (inferior-octave-send-list-and-digest): Improve error message.
8841 (octave-mode, inferior-octave-mode): Use setq-local.
8842 (octave-help): Set info-lookup-mode.
8843
0dc04f42
RS
88442013-05-05 Richard Stallman <rms@gnu.org>
8845
6c54491c
RS
8846 * vc/compare-w.el (compare-windows-whitespace):
8847 Treat no-break space as whitespace.
8848
0dc04f42
RS
8849 * mail/rmailsum.el (rmail-summary-rmail-update):
8850 Detect empty summary and don't change selected message.
8851 (rmail-summary-goto-msg): Likewise.
8852
df8f35df
RS
8853 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8854 Doc fixes, rename args.
8855
5356e1a3
AM
88562013-05-05 Alan Mackenzie <acm@muc.de>
8857
8858 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8859
d44014cb
JL
88602013-05-05 Juri Linkov <juri@jurta.org>
8861
8862 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8863 to not add the length of the summary segment to the return value.
8864 (Bug#14125)
8865
c129b51f
LL
88662013-05-05 Leo Liu <sdl.web@gmail.com>
8867
8868 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8869 (inferior-octave-output-filter): Remove.
8870 (octave-send-region, inferior-octave-startup): Fix callers.
8871 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8872 (octave-binary-file-extensions): New user variable.
8873 (octave-find-definition): Confirm if opening binary files.
8874 (octave-help-file): Use octave-find-definition to get the binary
8875 confirmation.
8876 (octave-help): Adjust for octave-help-file change.
8877
aa7dab97
SM
88782013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8881 Merge the two entries that handle function definitions.
8882 (pascal--syntax-propertize): New const.
8883 (pascal-mode): Use it. Use setq-local.
8884
fd3a9a6b
GM
88852013-05-04 Glenn Morris <rgm@gnu.org>
8886
8887 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8888 (diary-from-outlook): Respect diary-from-outlook-function.
8889
30c7e542
SM
88902013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8893 Move the declaration from C.
8894 (read-minibuffer, eval-minibuffer): Move from C.
8895 (completion-setup-function): Avoid minibuffer-completion-contents.
8896
b54f978b
LL
88972013-05-03 Leo Liu <sdl.web@gmail.com>
8898
8899 * progmodes/octave.el (octave-font-lock-keywords): Do not
8900 dehighlight 'end' in comments or strings.
30c7e542
SM
8901 (octave-completing-read, octave-goto-function-definition):
8902 New helpers.
d4d0f9b3
LL
8903 (octave-help-buffer): New user variable.
8904 (octave-help-file, octave-help-function): New button types.
8905 (octave-help): New command and bind it to C-h ;.
8906 (octave-find-definition): New command and bind it to M-.
d74a1581 8907 (user-error): Alias to error if not defined.
b54f978b 8908
27135018
LL
89092013-05-02 Leo Liu <sdl.web@gmail.com>
8910
8911 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8912 for \. (bug#14332)
8913 (octave-font-lock-keywords): Include [ and {.
8914
0d634d3a
LL
89152013-05-02 Leo Liu <sdl.web@gmail.com>
8916
8917 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8918 (inferior-octave): Remove calling comint-mode and return the buffer.
8919 (inferior-octave-startup): Cosmetic changes.
8920
b4c8295e
LL
89212013-05-02 Leo Liu <sdl.web@gmail.com>
8922
30c7e542
SM
8923 * progmodes/octave.el (octave-syntax-propertize-function):
8924 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8925
f12ad6ec
GM
89262013-05-02 Glenn Morris <rgm@gnu.org>
8927
8928 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8929 * desktop.el (vc-dir-mode): Just autoload it here.
8930
30cac1e0
AM
89312013-05-02 Alan Mackenzie <acm@muc.de>
8932
8933 Eliminate variable c-standard-font-lock-fontify-region-function.
8934 * progmodes/cc-mode.el
8935 (c-standard-font-lock-fontify-region-function): Remove.
8936 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8937
d8ef28b1
LL
89382013-05-01 Leo Liu <sdl.web@gmail.com>
8939
2640d52e 8940 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8941 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8942 variables were removed from Octave in 2007.
d8ef28b1
LL
8943 (inferior-octave-startup): Fix uses.
8944 (comint-line-beginning-position): Remove compatibility code for
8945 emacs 21.
8946
ac63ec89
JL
89472013-05-01 Juri Linkov <juri@jurta.org>
8948
8949 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8950
9e9be37c
JL
89512013-05-01 Juri Linkov <juri@jurta.org>
8952
8953 * comint.el (comint-previous-matching-input): Don't print message
8954 "History item: %d" when `isearch-mode' is active.
8955 (comint-history-isearch-message): Print message "History item: %d"
8956 when `comint-input-ring-index' is not empty and this function is
8957 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8958
9b92c13b
LL
89592013-05-01 Leo Liu <sdl.web@gmail.com>
8960
8961 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8962 definitions. Use completion-at-point to insert keywords.
8963 (octave-abbrev-start): Remove.
8964 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8965
b12d33d7
LL
89662013-04-30 Leo Liu <sdl.web@gmail.com>
8967
8968 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8969 change.
8970
3d1c39fa
AM
89712013-04-30 Alan Mackenzie <acm@muc.de>
8972
8973 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8974 * progmodes/cc-engine.el (c-back-over-member-initializers):
8975 new function.
3d1c39fa
AM
8976 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8977 (most) member init lists.
8978
5147fc17
RS
89792013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8980
8981 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8982 variable.
8983
5b78d7fc
LL
89842013-04-30 Leo Liu <sdl.web@gmail.com>
8985
8986 * progmodes/octave.el (octave-variables): Remove. No builtin
8987 variables any more. All converted to functions.
8988 (octave-font-lock-keywords, octave-completion-at-point-function):
8989 Fix uses.
8990 (octave-font-lock-texinfo-comment): New user variable.
8991 (octave-texinfo-font-lock-keywords): New variable for texinfo
8992 comment block.
8993 (octave-function-comment-block): New face.
8994 (octave-font-lock-texinfo-comment): New function.
8995 (octave-mode): Font lock texinfo comment block.
8996
38d8527b
LL
89972013-04-29 Leo Liu <sdl.web@gmail.com>
8998
8999 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9000 indexing expression.
9001 (octave-continuation-string): Do not use \.
9002 (inferior-octave-complete-impossible): Remove.
9003 (inferior-octave-completion-table)
9004 (inferior-octave-completion-at-point): Remove its uses.
9005 (inferior-octave-startup): completion_matches was introduced to
9006 Octave in 1996 so safe to assume it.
9007 (octave-function-file-comment): Improve to follow how Octave does it.
9008 (octave-update-function-file-comment): Tweak.
9009
2ec12cb0
LL
90102013-04-29 Leo Liu <sdl.web@gmail.com>
9011
9012 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9013 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9014 (octave-function-file-comment): Fix typo.
9015 (octave-sync-function-file-names): Use read-char-choice.
9016
6eaed048
JB
90172013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9018
9019 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9020 to t for the less important warnings.
9021
3ffa2d4f
DH
90222013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9023
9024 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9025
685c9501
GM
90262013-04-27 Glenn Morris <rgm@gnu.org>
9027
9028 * vc/log-view.el (log-view-current-entry):
9029 Treat "---" separator lines as part of the following rev. (Bug#14169)
9030
0208ede7
JL
90312013-04-27 Juri Linkov <juri@jurta.org>
9032
9033 * subr.el (read-number): Doc fix about using it by interactive
9034 code letter `n'. (Bug#14254)
9035
5db9dace
JL
90362013-04-27 Juri Linkov <juri@jurta.org>
9037
9038 * desktop.el (desktop-auto-save-timeout): New option.
9039 (desktop-file-checksum): New variable.
9040 (desktop-save): Add optional arg `auto-save' and don't auto-save
9041 if nothing changed.
9042 (desktop-auto-save-timer): New variable.
9043 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9044 (after-init-hook): Call `desktop-auto-save-set-timer'.
9045 Suggested by Reuben Thomas <rrt@sc3d.org> in
9046 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9047
b7260dd4
LL
90482013-04-27 Leo Liu <sdl.web@gmail.com>
9049
9050 * progmodes/octave.el (octave-function-file-p)
9051 (octave-skip-comment-forward, octave-function-file-comment)
9052 (octave-update-function-file-comment): New functions.
9053 (octave-mode-map): Bind C-c ; to
9054 octave-update-function-file-comment.
9055 (octave-mode-menu): Add octave-update-function-file-comment.
9056 (octave-mode, inferior-octave-mode): Fix doc-string.
9057 (octave-insert-defun): Conform to Octave's coding convention.
9058 (Bug#14285)
9059
9060 * files.el (basic-save-buffer): Don't let errors in
9061 before-save-hook prevent saving buffer.
9062
c46da669
RW
90632013-04-20 Roland Winkler <winkler@gnu.org>
9064
9065 * faces.el (read-face-name): Use completing-read if arg multiple
9066 is nil.
9067
a81ee1eb
IL
90682013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9069
9070 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9071 displayed, move point to after the totals line.
9072 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9073 for the details.
9074
4fac34ce
SM
90752013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9078 Add current dir to the load-path.
9079 (package-generate-autoloads): Don't rely on
9080 autoload-ensure-default-file.
9081
f6bfc063
RT
90822013-04-26 Reuben Thomas <rrt@sc3d.org>
9083
d40ab5cf
BG
9084 * textmodes/remember.el (remember-store-in-files): Document that
9085 the file name format is passed to `format-time-string'.
f6bfc063 9086
e55d3b04
LL
90872013-04-26 Leo Liu <sdl.web@gmail.com>
9088
9089 * progmodes/octave.el (octave-sync-function-file-names): New function.
9090 (octave-mode): Use it in before-save-hook.
9091
e53052d3
SM
90922013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9093
140ef50c
SM
9094 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9095 (bug#14274).
9096
e53052d3
SM
9097 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9098 \n and comment, even if it's not an implicit ; (bug#14218).
9099
af80458d 91002013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9101
9102 * subr.el (read-number): Once more use `read' rather than
9103 `string-to-number', to trap non-numeric input. (Bug#14254)
9104
af80458d 91052013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9106
9107 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9108 Use `syntax-multiline' text property consistently instead of
8a621d53 9109 `font-lock-multiline'. (Bug#14237)
70203c2e 9110
e6ea1f6c
GM
91112013-04-26 Glenn Morris <rgm@gnu.org>
9112
9113 * emacs-lisp/shadow.el (list-load-path-shadows):
9114 No longer necessary to check for duplicate simple.el, since
9115 2012-07-07 change to init_lread to not include installation lisp
9116 directories in load-path when running uninstalled. (Bug#14270)
9117
070ccca4
LL
91182013-04-26 Leo Liu <sdl.web@gmail.com>
9119
9120 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9121 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9122 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9123 octave-in-string-or-comment-p.
9124 (octave-in-comment-p, octave-in-string-p)
9125 (octave-in-string-or-comment-p): Replace defsubst with defun.
9126
9d1c5fb6
PE
91272013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9128
9129 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9130
c034abda
BG
91312013-04-25 Bastien Guerry <bzg@gnu.org>
9132
9133 * textmodes/remember.el (remember-data-directory)
9134 (remember-directory-file-name-format): Fix custom types.
9135
584ea277
LL
91362013-04-25 Leo Liu <sdl.web@gmail.com>
9137
e53052d3
SM
9138 * progmodes/octave.el (octave-completion-at-point-function):
9139 Make use of inferior octave process.
584ea277
LL
9140 (octave-initialize-completions): Remove.
9141 (inferior-octave-completion-table): New function.
9142 (inferior-octave-completion-at-point): Use it.
9143 (octave-completion-alist): Remove.
9144
1693b06a
SM
91452013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9148 (opascal-mode-syntax-table): New var.
9149 (opascal-literal-kind, opascal-is-literal-end)
9150 (opascal-literal-token-at): Rewrite.
9151 (opascal--literal-start-re, opascal-font-lock-keywords)
9152 (opascal--syntax-propertize): New constants.
9153 (opascal-font-lock-defaults): Adjust.
9154 (opascal-mode): Use them. Set comment-<foo> variables as well.
9155 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9156 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9157 (delphi-other-face, opascal-other-face): Remove face variables.
9158 (opascal-save-state): Remove macro.
9159 (opascal-fontifying-progress-step): Remove constant.
9160 (opascal--ignore-changes): Remove var.
9161 (opascal-set-token-property, opascal-parse-next-literal)
9162 (opascal-is-stable-literal, opascal-complete-literal)
9163 (opascal-is-literal-start, opascal-face-of)
9164 (opascal-parse-region, opascal-parse-region-until-stable)
9165 (opascal-fontify-region, opascal-after-change)
9166 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9167 (opascal-debug-parse-region, opascal-debug-parse-window)
9168 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9169 (opascal-debug-fontify-buffer): Remove.
9170 (opascal-debug-mode-map): Adjust accordingly.
9171
be64c05d
LL
91722013-04-25 Leo Liu <sdl.web@gmail.com>
9173
9174 Merge octave-mod.el and octave-inf.el into octave.el with some
9175 cleanups.
9176 * progmodes/octave.el: New file renamed from octave-mod.el.
9177 * progmodes/octave-inf.el: Merged into octave.el.
9178 * progmodes/octave-mod.el: Renamed to octave.el.
9179
d79d37bd
TH
91802013-04-25 Tassilo Horn <tsdh@gnu.org>
9181
9182 * textmodes/reftex-vars.el
9183 (reftex-label-ignored-macros-and-environments): New defcustom.
9184
9185 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9186
ced3fc5d
SM
91872013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9190 (smie-indent-keyword): Improve the check to ensure that the next
9191 comment is really on the same line.
9192 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9193
9194 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9195 semi-colons if the line is not otherwise empty (bug#14218).
9196
1c141dad
GM
91972013-04-25 Glenn Morris <rgm@gnu.org>
9198
9199 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9200
5058062a
SM
92012013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * progmodes/opascal.el (opascal-set-token-property): Rename from
9204 opascal-set-text-properties and only set `token' (bug#14134).
9205 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9206 (opascal-literal-text-properties): Remove.
9207 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9208 Adjust callers.
9209
5db9dace 92102013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9211
9212 * textmodes/remember.el (remember-handler-functions): Add an
9213 option for a new handler `remember-store-in-files'.
9214 (remember-data-directory, remember-directory-file-name-format):
9215 New options.
9216 (remember-store-in-files): New function to store remember notes
9217 as separate files within a directory.
9218
4391916c
MH
92192013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9220
9221 * progmodes/compile.el (compilation-next-error-function):
9222 Pass "formats" to compilation-find-file (bug#11777).
9223
bb7cdf58
GM
92242013-04-24 Glenn Morris <rgm@gnu.org>
9225
3b8fe752 9226 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9227 * vc/vc-hg.el (vc-hg-print-log):
9228 * vc/vc-svn.el (vc-svn-print-log):
9229 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9230
bb7cdf58
GM
9231 * vc/vc-bzr.el (vc-bzr-print-log):
9232 * vc/vc-cvs.el (vc-cvs-print-log):
9233 * vc/vc-git.el (vc-git-print-log):
9234 * vc/vc-hg.el (vc-hg-print-log):
9235 * vc/vc-mtn.el (vc-mtn-print-log):
9236 * vc/vc-rcs.el (vc-rcs-print-log):
9237 * vc/vc-sccs.el (vc-sccs-print-log):
9238 * vc/vc-svn.el (vc-svn-print-log):
9239 * vc/vc.el (vc-print-log-internal): Doc fixes.
9240
b46a056e
GM
92412013-04-23 Glenn Morris <rgm@gnu.org>
9242
9243 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9244 Remove venerable code attempting to avoid substitute-command-keys.
9245
0aecf718
TH
92462013-04-23 Tassilo Horn <tsdh@gnu.org>
9247
4391916c
MH
9248 * textmodes/reftex-vars.el (reftex-label-regexps):
9249 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9250
117f94cf
SM
92512013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9252
4391916c 9253 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9254 Use lexical-binding.
9255 (jit-lock-force-redisplay): Use markers, check buffer's continued
9256 existence and beware narrowed buffers.
9257 (jit-lock-fontify-now): Adjust call accordingly.
9258
1d829c64
SM
92592013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9262 to avoid misleading the user.
9263
72d548a9
LL
92642013-04-22 Leo Liu <sdl.web@gmail.com>
9265
9266 * info-look.el: Prefer latex2e.info. (Bug#14240)
9267
d0853629
MA
92682013-04-22 Michael Albinus <michael.albinus@gmx.de>
9269
9270 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9271
9272 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9273 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9274 (tramp-set-completion-function, tramp-parse-putty):
9275 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9276 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9277 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9278 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9279 (tramp-call-local-coding-command): Use `tramp-call-process'
9280 instead of `tramp-compat-call-process'.
9281
9282 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9283 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9284 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9285 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9286 (tramp-maybe-send-script): Check for Perl binary.
9287 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9288
38cc0210
DU
92892013-04-22 Daiki Ueno <ueno@gnu.org>
9290
9291 * epg.el (epg-context-pinentry-mode): New function.
9292 (epg-context-set-pinentry-mode): New function.
9293 (epg--start): Pass --pinentry-mode option to gpg command.
9294
cc641ee1
XF
92952013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9296
02d844b5 9297 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9298 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9299 `completion-at-point'. (Bug#13774)
5d4e5c31 9300
cc641ee1
XF
9301 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9302 default key binding for `describe-distribution' has been moved to
9303 `C-h C-o'. (Bug#13970)
9304
1b42ee43
GM
93052013-04-21 Glenn Morris <rgm@gnu.org>
9306
9307 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9308 Add doc strings.
9309 (vc-print-log): Clarify interactive prompt.
9310
a6d63d97
GM
93112013-04-20 Glenn Morris <rgm@gnu.org>
9312
9313 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9314 No longer include timestamp etc information.
9315
d7f5c16f
RW
93162013-04-20 Roland Winkler <winkler@gnu.org>
9317
9318 * faces.el (read-face-name): Bug fix, return just one face if arg
9319 multiple is nil. (Bug#14209)
9320
bcd7a0a4
SM
93212013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9324 (remove-function): Autoload.
9325
9326 * comint.el (comint-redirect-original-filter-function): Remove.
9327 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9328 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9329 (vc-cvs-annotate-command):
bcd7a0a4
SM
9330 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9331 * progmodes/prolog.el (prolog-consult-compile):
9332 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9333 Use add/remove-function instead.
9334 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9335 (gud-tooltip-process-output, gud-tooltip-tips):
9336 Use add/remove-function instead.
9337 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9338 (scheme-interaction-mode, exit-scheme-interaction-mode):
9339 Use add/remove-function instead.
9340
9341 * vc/vc-dispatcher.el: Use lexical-binding.
9342 (vc--process-sentinel): Rename from vc-process-sentinel.
9343 Change last arg to be the code to run. Don't use vc-previous-sentinel
9344 and vc-sentinel-commands any more.
9345 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9346 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9347
e36b2d20 93482013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9349
bcd7a0a4 9350 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9351 Handle function names with a single character. (Bug#14111)
4d3268ba 9352
781b4af6 93532013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9354
9355 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9356 for subroutines defined in an eval (bug#14182).
9357
7d688336
TV
93582013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9359
9360 * bookmark.el (bookmark-completing-read): Improve handling of empty
9361 string (bug#14176).
9362
31dcede0
SM
93632013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9366
adc31213
FEG
93672013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9368
9369 New faster Imenu implementation (bug#14058).
9370 * progmodes/python.el:
9371 (python-imenu-prev-index-position):
9372 (python-imenu-format-item-label-function)
9373 (python-imenu-format-parent-item-label-function)
9374 (python-imenu-format-parent-item-jump-label-function):
9375 New vars.
9376 (python-imenu-format-item-label)
9377 (python-imenu-format-parent-item-label)
9378 (python-imenu-format-parent-item-jump-label)
9379 (python-imenu--put-parent, python-imenu--build-tree)
9380 (python-imenu-create-index, python-imenu-create-flat-index)
9381 (python-util-popn): New functions.
9382 (python-mode): Set imenu-create-index-function to
9383 python-imenu-create-index.
9384
cdca8255
SM
93852013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * winner.el (winner-active-region): Use region-active-p, activate-mark
9388 and deactivate-mark (bug#14225).
9389
9390 * simple.el (deactivate-mark): Don't inline it.
9391
beb42340
MA
93922013-04-18 Michael Albinus <michael.albinus@gmx.de>
9393
9394 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9395
fc7f4d7e
TH
93962013-04-18 Tassilo Horn <tsdh@gnu.org>
9397
9398 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9399 file extensions from the archive-mode entry in order to prefer
9400 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9401
29f47822
LL
94022013-04-18 Leo Liu <sdl.web@gmail.com>
9403
9404 * bindings.el (help-event-list): Add ?\?.
9405
d36ed1c8
SM
94062013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * subr.el (with-wrapper-hook): Declare obsolete.
9409 * simple.el (filter-buffer-substring-function): New hook.
9410 (filter-buffer-substring): Use it.
9411 (filter-buffer-substring-functions): Mark obsolete.
9412 * minibuffer.el (completion-in-region-function): New hook.
9413 (completion-in-region): Use it.
9414 (completion-in-region-functions): Mark obsolete.
9415 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9416 * abbrev.el (abbrev-expand-function): New hook.
9417 (expand-abbrev): Use it.
9418 (abbrev-expand-functions): Mark obsolete.
9419 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9420 and :filter-return.
9421
04754d36
FEG
94222013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9423
9424 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9425 and do not care about match data.
9426
dd8791e9
SM
94272013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9430 completion tables when completing error conditions and
9431 `declare' arguments.
9432 (lisp-complete-symbol, field-complete): Mark as obsolete.
9433 (check-parens): Unmatched parens are user errors.
9434 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9435
ffe54a13
AM
94362013-04-17 Michal Nazarewicz <mina86@mina86.com>
9437
dd8791e9
SM
9438 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9439 command changed buffer (ie. `flyspell-pre-buffer' is not current
9440 buffer), which prevents making decisions based on invalid value of
9441 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9442 cause an error when `flyspell-pre-point' was nil after switching
9443 buffers.
9444 (flyspell-post-command-hook): No longer needs to change buffers when
9445 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9446
ec7e39f2
AM
94472013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9448
9449 * textmodes/ispell.el (ispell-add-per-file-word-list):
9450 Fix `flyspell-correct-word-before-point' error when accepting
9451 words and `coment-padding' is an integer by using
9452 `comment-normalize-vars' (Bug #14214).
9453
083850a6
FEG
94542013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9455
9456 New defun movement commands.
9457 * progmodes/python.el (python-nav--syntactically)
9458 (python-nav--forward-defun, python-nav-backward-defun)
9459 (python-nav-forward-defun): New functions.
9460
619ed6e1
FEG
94612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9462
9463 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9464 (python-syntax-context): Use named compiler-macro for backwards
9465 compatibility with Emacs 24.x.
9466
7a1beb6c
LL
94672013-04-17 Leo Liu <sdl.web@gmail.com>
9468
9469 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9470 octave-hide-process-buffer.
9471
2d3fa3e5
SM
94722013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9475 (bug#14216).
9476
7ce5be54
JPG
94772013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9478
9479 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9480 Fix adjustment of offset when receiving incomplete responses from GDB
9481 (bug#14129).
9482
351edece
SM
94832013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9484
9485 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9486 python-mode-abbrev-table.
9487 (python-skeleton-define): Adjust accordingly.
9488 (python-mode-abbrev-table): New table that inherits from it so that
9489 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9490
9491 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9492 (abbrev-symbol): Use it.
9493 (abbrev--before-point): Use it since we already handle inheritance.
9494
613f9481
LL
94952013-04-16 Leo Liu <sdl.web@gmail.com>
9496
9497 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9498 binding to info-lookup-symbol.
9499
51646b62
JB
95002013-04-16 Juanma Barranquero <lekktu@gmail.com>
9501
9502 * minibuffer.el (completion--twq-all):
9503 * term/ns-win.el (ns-initialize-window-system):
9504 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9505
efb3f01d
SM
95062013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9507
36c0a301
SM
9508 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9509 global bindings.
9510
efb3f01d
SM
9511 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9512
fb549d64
DG
95132013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9514
9515 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9516 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9517 to nil.
9518 (ruby-end-of-defun): Remove the unused arg, change the docstring
9519 to reflect that this function is only used as the value of
9520 `end-of-defun-function'.
9521 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9522 to reflect an earlier change that beginning/end-of-defun functions
9523 jump between methods in a class definition, as well as top-level
9524 functions.
9525
21e8fe2f
SM
95262013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * minibuffer.el (minibuffer-complete): Don't just scroll
9529 a *Completions* that's been iconified.
9530 (minibuffer-force-complete): Make sure repetitions do cycle when going
9531 through completion-in-region -> minibuffer-complete.
9532
20e527d0
AM
95332013-04-15 Alan Mackenzie <acm@muc.de>
9534
9535 Correct the placement of c-cpp-delimiters when there're #s not at
9536 col 0.
9537
9538 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9539 place a submatch around the #.
21e8fe2f
SM
9540 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9541 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9542 on the #, not BOL.
9543
dabefae5
SM
95442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9547 (advice--member-p): New arg `name'.
9548 (advice--add-function, advice-member-p): Use it (bug#14202).
9549
85c9ab64
AM
95502013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9551
9552 Reformulate java imenu-generic-expression.
9553 The old expression contained ill formed regexps.
9554
9555 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9556 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9557 (cc-imenu-java-method-arg-regexp): New defconsts.
9558 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9559 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9560 handling of spaces in the regexp.
9561
0f821d99
AM
95622013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9563
9564 * textmodes/ispell.el (ispell-command-loop): Remove
9565 flyspell highlight of a word when ispell accepts it (bug #14178).
9566
eb922adf
MA
95672013-04-15 Michael Albinus <michael.albinus@gmx.de>
9568
9569 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9570 uses code from the previous `ange-ftp-run-real-handler'.
9571 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9572 only in case that function exist. This is needed for proper
9573 unloading of Tramp.
9574
4d9a0979
TH
95752013-04-15 Tassilo Horn <tsdh@gnu.org>
9576
9577 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9578
9579 * textmodes/reftex.el (reftex-compile-variables): Use it.
9580
a829b0dc
SM
95812013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9582
91e8293c
SM
9583 * files.el (normal-mode): Only use default major-mode if no other mode
9584 was specified.
9585
830aed4d
SM
9586 * emacs-lisp/trace.el (trace-values): New function.
9587
a829b0dc
SM
9588 * files.el: Allow : in local variables (bug#14089).
9589 (hack-local-variable-regexp): New var.
9590 (hack-local-variables-prop-line, hack-local-variables): Use it.
9591
7ae9f0fb
RW
95922013-04-13 Roland Winkler <winkler@gnu.org>
9593
9594 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9595 data before it gets modified by bibtex-beginning-of-entry.
9596
6646e848
RW
95972013-04-13 Roland Winkler <winkler@gnu.org>
9598
9599 * textmodes/bibtex.el (bibtex-url): Doc fix.
9600
96012013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9602
9603 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9604 does not visit a BibTeX file, exclude it from the list of buffers
9605 returned by bibtex-initialize.
9606
0aa3616e
SB
96072013-04-13 Stephen Berman <stephen.berman@gmx.net>
9608
9609 * window.el (split-window): Remove interactive form, since as a
9610 command this function is a special case of split-window-below.
9611 Correct doc string.
9612
011cddd6
RW
96132013-04-12 Roland Winkler <winkler@gnu.org>
9614
9615 * faces.el (read-face-name): Do not override value of arg default.
9616 Allow single faces and strings as default values. Remove those
9617 elements from return value that are not faces.
9618 (describe-face): Simplify.
9619 (face-at-point): New optional args thing and multiple so that this
9620 function can provide the same functionality previously provided by
9621 read-face-name.
9622 (make-face-bold, make-face-unbold, make-face-italic)
9623 (make-face-unitalic, make-face-bold-italic, invert-face)
9624 (modify-face, read-face-and-attribute): Use face-at-point.
9625
9626 * cus-edit.el (customize-face, customize-face-other-window)
9627 * cus-theme.el (custom-theme-add-face)
9628 * face-remap.el (buffer-face-set)
9629 * facemenu.el (facemenu-set-face): Use face-at-point.
9630
f24e0036
MA
96312013-04-12 Michael Albinus <michael.albinus@gmx.de>
9632
9633 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9634
da3cda2d
TH
96352013-04-10 Tassilo Horn <tsdh@gnu.org>
9636
9637 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9638 off leading { and trailing } from field values.
9639
15e54145
SM
96402013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9641
78ce603d
SM
9642 * emacs-lisp/timer.el (timer--check): New function.
9643 (timer--time, timer-set-function, timer-event-handler): Use it.
9644 (timer-set-idle-time): Simplify.
9645 (timer--activate): CSE.
9646 (timer-event-handler): Give more info in error message.
9647 (internal-timer-start-idle): New function, moved from C.
9648
15e54145
SM
9649 * mpc.el (mpc-proc): Add `restart' argument.
9650 (mpc-proc-cmd): Use it.
9651 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9652 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9653 less often.
9654
7144c627
MY
96552013-04-10 Masatake YAMATO <yamato@redhat.com>
9656
9657 * progmodes/sh-script.el: Implement `sh-mode' own
9658 `add-log-current-defun-function' (bug#14112).
9659 (sh-current-defun-name): New function.
9660 (sh-mode): Use the function.
9661
b39792eb
BG
96622013-04-09 Bastien Guerry <bzg@gnu.org>
9663
9664 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9665
8acdeb71
SM
96662013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9667
6fcdab68
SM
9668 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9669
8acdeb71
SM
9670 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9671 timer (bug#14156).
9672
e3e7b504
NF
96732013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9674
9675 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9676 declaration.
9677
201bb296
LL
96782013-04-07 Leo Liu <sdl.web@gmail.com>
9679
9680 * pcmpl-x.el: New file.
9681
ebb19708
DA
96822013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9683
9684 Do not set x-display-name until X connection is established.
9685 This is needed to prevent from weird situation described at
9686 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9687 * frame.el (make-frame): Set x-display-name after call to
9688 window system initialization function, not before.
9689 * term/x-win.el (x-initialize-window-system): Add optional
9690 display argument and use it.
9691 * term/w32-win.el (w32-initialize-window-system):
9692 * term/ns-win.el (ns-initialize-window-system):
9693 * term/pc-win.el (msdos-initialize-window-system):
9694 Add compatible optional display argument.
9695
33bb237a
EZ
96962013-04-06 Eli Zaretskii <eliz@gnu.org>
9697
9698 * files.el (normal-backup-enable-predicate): On MS-Windows and
9699 MS-DOS compare truenames of temporary-file-directory and of the
9700 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9701 don't fail comparison by compare-strings. Also, compare file
9702 names case-insensitively on MS-Windows and MS-DOS.
9703
134abf1f
SM
97042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9707 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9708
d695cb94
DG
97092013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9710
e3e7b504
NF
9711 * whitespace.el (whitespace-color-on, whitespace-color-off):
9712 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9713
f4ad7ea1 97142013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9715
9716 * ispell.el (ispell-set-spellchecker-params):
9717 Really set `ispell-args' for all equivs.
9718
632556e4
SM
97192013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * ido.el (ido-completions): Use extra elements of ido-decorations
9722 (bug#14143).
9723 (ido-decorations): Update docstring.
9724
2a417372
MA
97252013-04-05 Michael Albinus <michael.albinus@gmx.de>
9726
9727 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9728 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9729 nil during initialization, in order not to miss changes since the
9730 file was opened. (Bug#14140)
9731
fc164b0c
LL
97322013-04-05 Leo Liu <sdl.web@gmail.com>
9733
9734 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9735
0ccecc08
JB
97362013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9737
9738 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9739
51af1aa2
GM
97402013-04-04 Glenn Morris <rgm@gnu.org>
9741
9742 * electric.el (electric-pair-inhibit-predicate): Add :version.
9743
b208ebc6
SM
97442013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9747 when a package is required several times (bug#14082).
9748
f3d3eaf0
RW
97492013-04-04 Roland Winkler <winkler@gnu.org>
9750
9751 * faces.el (read-face-name): Behave as promised by the docstring.
9752 Assume that arg default is a list of faces.
9753 (describe-face): Call read-face-name with list of default faces.
9754
2575da50
TV
97552013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9756
9757 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9758 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9759 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9760 the header.
9761 (bookmark-exit-hook-internal): Save even if list is empty.
9762
397703b4
YH
97632013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9764
9765 * emacs-lisp/package.el (package-pinned-packages): New var.
9766 (package--add-to-archive-contents): Obey it (bug#14118).
9767
691e26ae
AM
97682013-04-03 Alan Mackenzie <acm@muc.de>
9769
8a621d53
JB
9770 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9771 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9772
9773 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9774 parameter `not-in-delimiter'. Handle being inside comment opener.
9775 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9776 character in case we're typing a '*' after a '/'.
9777 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9778 instead by passing the parameter to c-state-pp-to-literal.
9779
9780 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9781 for elt. 7 of a parse state.
9782
4b725a70
PE
97832013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9784
9785 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9786 * international/latin1-disp.el, international/mule-util.el:
9787 * language/cyril-util.el, language/european.el, language/ind-util.el:
9788 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9789 * language/tibetan.el, language/viet-util.el:
9790 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9791
15c579f0
SM
97922013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9795 (electric-pair-post-self-insert-function): Use it.
9796 (electric-pair-default-inhibit): New function, extracted from
9797 electric-pair-post-self-insert-function.
9798
a77e2924
RW
97992013-03-31 Roland Winkler <winkler@gnu.org>
9800
9801 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9802
2bd8a4a8
SM
98032013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9806
8d3655be 98072013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9808
9809 Un-indent after "pass" and "return" statements (Bug#13888)
9810 * progmodes/python.el (python-indent-block-enders): New var.
9811 (python-indent-calculate-indentation): Use it.
9812
8d3655be 98132013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9814
9815 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9816 defun. Defining it as defalias could introduce too eager
9817 byte-compiler optimization. (Bug#14030)
9818
8d3655be 98192013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9820
9821 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9822
0b1619da
LL
98232013-03-30 Leo Liu <sdl.web@gmail.com>
9824
9825 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9826 (kmacro-execute-from-register): Pass the keyboard macro to
9827 kmacro-call-macro or repeating won't work correctly.
9828
0b938190
TZ
98292013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9830
9831 * progmodes/subword.el: Back to using `forward-symbol'.
9832
9833 * subr.el (forward-whitespace, forward-symbol)
9834 (forward-same-syntax): Move from thingatpt.el.
9835
35710234
LL
98362013-03-29 Leo Liu <sdl.web@gmail.com>
9837
9838 * kmacro.el (kmacro-to-register): New command.
9839 (kmacro-execute-from-register): New function.
9840 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9841
efc0bb73
SM
98422013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * mpc.el: Use defvar-local and setq-local.
9845 (mpc--proc-connect): Connection failures are not bugs.
9846 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9847 (mpc-volume-map): Bind to the up-events.
9848
75a2f981
TZ
98492013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9850
9851 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9852 instead of `forward-symbol'.
9853
17c781d1
SM
98542013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9857 (edebug--recursive-edit): Use it.
9858 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9859 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9860
f67bfbcf
LL
98612013-03-28 Leo Liu <sdl.web@gmail.com>
9862
9863 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9864
b59f639d
EZ
98652013-03-27 Eli Zaretskii <eliz@gnu.org>
9866
9867 * facemenu.el (list-colors-callback): New defvar.
9868 (list-colors-redisplay): New function.
9869 (list-colors-display): Install list-colors-redisplay as the
9870 revert-buffer-function. (Bug#14063)
9871
f557c1b1
SM
98722013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9873
b1da2957
SM
9874 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9875 and suffixes don't overlap (bug#14061).
9876
f557c1b1
SM
9877 * case-table.el: Use lexical-binding.
9878 (case-table-get-table): New function.
9879 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9880
002668e1
TZ
98812013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9882
9883 * progmodes/subword.el: Add `superword-mode' to do word motion
9884 over symbol_words (parallels and leverages `subword-mode' which
9885 does word motion inside MixedCaseWords).
9886
73572c72
AG
98872013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9888
78b8f320 9889 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9890 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9891
69b2c07e
SM
98922013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9895 Change return value to be a sexp. Delay `get-buffer' to after
9896 restoring the desktop (bug#13951).
9897
08bb5ee2
LL
98982013-03-26 Leo Liu <sdl.web@gmail.com>
9899
9900 * register.el: Move semantic tag handling back to
9901 cedet/semantic/senator.el. (Bug#14052)
9902
8d4c974e
SM
99032013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9906 into the prompt either (bug#13963).
9907
b234d92c
SM
99082013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9911 part of "(error-foo)".
9912
ddfa3cb4
JL
99132013-03-24 Juri Linkov <juri@jurta.org>
9914
9915 * replace.el (list-matching-lines-prefix-face): New defcustom.
9916 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9917 `occur-engine' if `face-differs-from-default-p' returns t.
9918 (occur-engine): Add `,' inside backquote construct to evaluate
9919 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9920 Pass `prefix-face' to the functions `occur-context-lines' and
9921 `occur-engine-add-prefix'.
9922 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9923 `prefix-face' and propertize the prefix with `prefix-face'.
9924 (Bug#14017)
9925
7b0e2f85
LL
99262013-03-24 Leo Liu <sdl.web@gmail.com>
9927
9928 * nxml/rng-valid.el (rng-validate-while-idle)
9929 (rng-validate-quick-while-idle): Guard against deleted buffer.
9930 (Bug#13999)
9931
9932 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9933 is the last entry in kill-buffer-hook.
9934
9935 * files.el (kill-buffer-hook): Doc fix.
9936
b3082f49
DG
99372013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9938
b234d92c
SM
9939 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9940 Make it safe-local.
bde73d27 9941
b3082f49
DG
9942 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9943
a320a2db
LL
99442013-03-23 Leo Liu <sdl.web@gmail.com>
9945
7e74b0fb
LL
9946 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9947 Remove.
9948
9949 * nxml/rng-valid.el (rng-validate-mode)
9950 (rng-after-change-function, rng-do-some-validation):
9951 * nxml/rng-maint.el (rng-validate-buffer):
9952 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9953 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9954 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9955 (nxml-extend-after-change-region): Use with-silent-modifications.
9956
a320a2db
LL
9957 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9958 timer-idle-list.
9959
9960 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9961 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9962 timer-idle-list. (Bug#13999)
9963
e38e6780
JL
99642013-03-23 Juri Linkov <juri@jurta.org>
9965
9966 * info.el (info-index-match): New face.
9967 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9968 main pattern and add text properties with the new face to matches
9969 in index entries relative to the beginning of the index entry.
9970 (Bug#14015)
9971
e8cc7880
DE
99722013-03-21 Eric Ludlam <zappo@gnu.org>
9973
9974 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9975 Inhibit read only while inserting objects.
9976
9bb0d822
TZ
99772013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9978
9979 * progmodes/cfengine.el: Update docs to mention
9980 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9981 symbol motion. Remove "_" from the word syntax.
9982
aa703640
TZ
99832013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9984
9985 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9986 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9987
afff09d0
JL
99882013-03-20 Juri Linkov <juri@jurta.org>
9989
9990 * info.el (Info-next-reference-or-link)
9991 (Info-prev-reference-or-link): New functions.
9992 (Info-next-reference, Info-prev-reference): Use them.
9993 (Info-try-follow-nearest-node): Handle footnote navigation.
9994 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9995
9a1ff164
SM
99962013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9999 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10000
2667d15d
PE
100012013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10002
10003 Suppress unnecessary non-ASCII chatter during build process.
10004 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10005 (batch-skkdic-convert): Suppress most of the chatter.
10006 It's not needed so much now that machines are faster,
10007 and its non-ASCII component was confusing; see Dmitry Gutov in
10008 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10009
438b0579
LL
100102013-03-20 Leo Liu <sdl.web@gmail.com>
10011
10012 * ido.el (ido-chop): Fix bug#10994.
10013
c128ab07
DG
100142013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10015
10016 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10017 Remove vars.
9a1ff164
SM
10018 (whitespace-color-on, whitespace-color-off):
10019 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 10020
0e6008c5
SM
100212013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10024 remapping in mode-line.
10025 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10026
627b52b0
DG
100272013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10028
10029 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10030 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10031 (whitespace-font-lock-keywords): Change description.
10032 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10033 the constructed keywords instead.
10034 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10035
50c3a20b
LL
100362013-03-19 Leo Liu <sdl.web@gmail.com>
10037
10038 * progmodes/compile.el (compilation-display-error): New command.
10039 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10040 C-o. (Bug#13992)
10041
2aa2157b
PE
100422013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10043
10044 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10045
e477dbfa
JD
100462013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10047
10048 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10049
64ab82d1
MA
100502013-03-18 Michael Albinus <michael.albinus@gmx.de>
10051
10052 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10053
10054 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10055 * net/tramp-gvfs.el (top):
10056 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10057 (tramp-handle-shell-command): Use it.
10058 (tramp-dissect-file-name): Raise an error when hostname is a
10059 method name, and neither method nor user is specified.
10060
10061 * net/trampver.el: Update release number.
10062
33cef733
LL
100632013-03-18 Leo Liu <sdl.web@gmail.com>
10064
10065 Make sure eldoc can be turned off properly.
10066 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10067 eldoc-mode.
10068 (eldoc-display-message-p): Revert last change.
10069 (eldoc-display-message-no-interference-p)
10070 (eldoc-print-current-symbol-info): Tweak.
10071
2167b7b2
TH
100722013-03-18 Tassilo Horn <tsdh@gnu.org>
10073
10074 * doc-view.el (doc-view-new-window-function): Check the new window
10075 overlay's display property instead the char property of the
10076 buffer's first char. Use `with-selected-window' instead of
10077 `save-window-excursion' with `select-window'.
10078 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10079 display property instead the char property of the buffer's first char.
2167b7b2 10080
982efbcd
PE
100812013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10082
10083 Automate the build of ja-dic.el (Bug#13984).
10084 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10085 from the input, rather than assume that it's been done for us by the
10086 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10087 the current date into a ja-dic.el comment, as that complicates
10088 regression testing.
10089
2fcc7665
SM
100902013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * whitespace.el: Fix double evaluation.
10093 (whitespace-space, whitespace-hspace, whitespace-tab)
10094 (whitespace-newline, whitespace-trailing, whitespace-line)
10095 (whitespace-space-before-tab, whitespace-indentation)
10096 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10097 obsolete defvars.
10098 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10099 (whitespace-color-on): Use a single font-lock-add-keywords call.
10100 Fix double-evaluation of face variables.
10101
67c0a6e6
MA
101022013-03-17 Michael Albinus <michael.albinus@gmx.de>
10103
2fcc7665
SM
10104 * net/tramp-adb.el (tramp-adb-parse-device-names):
10105 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10106 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10107
69489f1d
LL
101082013-03-17 Leo Liu <sdl.web@gmail.com>
10109
10110 Extend eldoc to display info in the mode-line. (Bug#13978)
10111 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10112 (eldoc-mode-line-string): New variable.
10113 (eldoc-minibuffer-message): New function.
10114 (eldoc-message-function): New variable.
10115 (eldoc-message): Use it.
10116 (eldoc-display-message-p)
2fcc7665
SM
10117 (eldoc-display-message-no-interference-p):
10118 Support eldoc-post-insert-mode.
69489f1d
LL
10119
10120 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10121 (eval-expression): Run it.
10122
9c44569e
RW
101232013-03-17 Roland Winkler <winkler@gnu.org>
10124
10125 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10126 strings in the list of return values.
10127
327f1f6f
JB
101282013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10129
10130 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10131 radix before checking for HMS forms.
10132
67ed8fcd
LL
101332013-03-16 Leo Liu <sdl.web@gmail.com>
10134
10135 * progmodes/scheme.el: Add indentation and font-locking for λ.
10136 (Bug#13975)
10137
78be8b64 101382013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10139
10140 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10141 token before point (bug#13942).
10142
78be8b64 101432013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10144
95b43468 10145 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10146
98e775e6
EZ
101472013-03-16 Eli Zaretskii <eliz@gnu.org>
10148
10149 * startup.el (command-line-normalize-file-name): Fix handling of
10150 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10151 <xfq.free@gmail.com> in
10152 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10153
2edd6029
MA
101542013-03-15 Michael Albinus <michael.albinus@gmx.de>
10155
10156 Sync with Tramp 2.2.7.
10157
10158 * net/trampver.el: Update release number.
10159
d35f5864
TH
101602013-03-14 Tassilo Horn <tsdh@gnu.org>
10161
e903c210 10162 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10163 (doc-view-insert-image): Don't modify overlay associated to
10164 non-live windows, and implement horizontal centering of image in
10165 case it's smaller than the window.
10166 (doc-view-new-window-function): Force redisplay of new windows on
10167 doc-view buffers.
d35f5864 10168
1c4a85ed
KF
101692013-03-13 Karl Fogel <kfogel@red-bean.com>
10170
10171 * saveplace.el (save-place-alist-to-file): Don't sort
10172 `save-place-alist', just pretty-print it (bug#13882).
10173
85b66a21
MA
101742013-03-13 Michael Albinus <michael.albinus@gmx.de>
10175
a020afb9
JB
10176 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10177 Check whether `default-file-name-coding-system' is bound.
10178 It isn't in XEmacs.
85b66a21 10179
175600da
SM
101802013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10181
e7f7cb1a
SM
10182 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10183 backquotes for `obsolete' (bug#13929).
10184
175600da
SM
10185 * international/mule.el (find-auto-coding): Include file name in
10186 obsolescence warning (bug#13922).
10187
ca68a22e
TZ
101882013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10189
10190 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10191 for CFEngine 3-specific indentation.
10192 (cfengine3-indent-line): Use it. Fix up category regex.
10193 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10194
940e5099
SM
101952013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * type-break.el (type-break-file-name):
10198 * textmodes/remember.el (remember-data-file):
10199 * strokes.el (strokes-file):
10200 * shadowfile.el (shadow-initialize):
10201 * saveplace.el (save-place-file):
10202 * ps-bdf.el (bdf-cache-file):
10203 * progmodes/idlwave.el (idlwave-config-directory):
10204 * net/quickurl.el (quickurl-url-file):
10205 * international/kkc.el (kkc-init-file-name):
10206 * ido.el (ido-save-directory-list-file):
10207 * emulation/viper.el (viper-custom-file-name):
10208 * emulation/vip.el (vip-startup-file):
10209 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10210 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10211
cc725808
PE
102122013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10213
10214 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10215 * language/thai-word.el: Switch to UTF-8.
10216
a020afb9 10217See ChangeLog.16 for earlier changes.
e3d51b27
MR
10218
10219;; Local Variables:
10220;; coding: utf-8
e3d51b27
MR
10221;; End:
10222
ab422c4d 10223 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10224
10225 This file is part of GNU Emacs.
10226
10227 GNU Emacs is free software: you can redistribute it and/or modify
10228 it under the terms of the GNU General Public License as published by
10229 the Free Software Foundation, either version 3 of the License, or
10230 (at your option) any later version.
10231
10232 GNU Emacs is distributed in the hope that it will be useful,
10233 but WITHOUT ANY WARRANTY; without even the implied warranty of
10234 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10235 GNU General Public License for more details.
10236
10237 You should have received a copy of the GNU General Public License
10238 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.