* lisp/imenu.el (imenu--index-alist): Add missing dot to the docstring.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7efb806d
AP
12013-11-29 Andreas Politz <politza@hochschule-trier.de>
2
3 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4 (Bug#14029).
5
c8f0efc2
AP
62013-11-29 Andreas Politz <politza@fh-trier.de>
7 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8 allow non-lambda lists as functions.
9 (imenu--in-alist): Don't recurse into non-subalists.
10 (imenu): Don't pass function itself as an argument (Bug#14029).
11
bd15d9d1
SM
122013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * progmodes/python.el (python-mode-map): Remove binding for ":".
15 (python-indent-electric-colon): Remove command.
16 (python-indent-post-self-insert-function): Integrate the previous code
17 of python-indent-electric-colon. Make it conditional on
18 electric-indent-mode.
19 (python-mode): Add ?: to electric-indent-chars.
20 Move python-indent-post-self-insert-function to the end of
21 post-self-insert-hook.
22
1b10adb6
SM
232013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
24
655ab9a3
SM
25 * doc-view.el (doc-view-goto-page): Update mode-line.
26
1b10adb6
SM
27 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
28
7e3bf78c
GM
292013-11-27 Glenn Morris <rgm@gnu.org>
30
31 * international/charprop.el, international/uni-bidi.el:
32 * international/uni-category.el, international/uni-combining.el:
33 * international/uni-comment.el, international/uni-decimal.el:
34 * international/uni-decomposition.el, international/uni-digit.el:
35 * international/uni-lowercase.el, international/uni-mirrored.el:
36 * international/uni-name.el, international/uni-numeric.el:
37 * international/uni-old-name.el, international/uni-titlecase.el:
38 * international/uni-uppercase.el:
39 Remove generated files from VCS repository.
40
fb6a5d68
EZ
412013-11-27 Eli Zaretskii <eliz@gnu.org>
42
43 * filenotify.el (file-notify-add-watch): Don't special-case
44 w32notify when computing the directory to watch.
45
cb6c95a3
GM
462013-11-27 Glenn Morris <rgm@gnu.org>
47
20372d0c
GM
48 Make bootstrap without generated uni-*.el files possible again.
49 * loadup.el: Update command-line-args checking for unidata-gen.
50 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
51 * composite.el, international/characters.el:
52 Handle unicode tables being undefined.
53
52d6635f 54 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
55 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
56 (compile-main): Depend on leim rule.
57 (leim): New rule.
58 * loadup.el: Move leim-list.el to leim/ subdirectory.
59 * startup.el (normal-top-level): No more leim directory.
60 * international/ja-dic-cnv.el (skkdic-convert):
61 Disable version-control and autoloads in output files.
62 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
63 Disable version-control and autoloads in output files.
64 * leim/quail: Move here from ../leim.
65 * leim/quail/hangul.el (hangul-input-method-activate):
66 Add autoload cookie.
67 (generated-autoload-load-name): Set file-local value.
68 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
69 (generated-autoload-load-name): Set file-local value.
70
e47112ee
TZ
712013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
72
73 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
74 (eww-add-bookmark): ask confirmation when add to bookmarks
75 (eww-quit): ask confirmation before quitting eww
76
0e2c793f
EZ
772013-11-26 Eli Zaretskii <eliz@gnu.org>
78
79 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
80 reading output from Diff on MS-Windows and MS-DOS.
81
447bdcb8
BB
822013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
83
84 * emacs-lisp/helpers.el (string-reverse): New function.
85
5fbf6856
MA
862013-11-26 Michael Albinus <michael.albinus@gmx.de>
87
88 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
89 names on MS Windows, like "/[::1]:".
90
91 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
92 SWITCHES.
93
624780f0
GM
942013-11-26 Glenn Morris <rgm@gnu.org>
95
0bf3f0fa
GM
96 * progmodes/python.el (python-indent-guess-indent-offset):
97 Avoid corner-case error. (Bug#15975)
98
624780f0
GM
99 Preload leim-list.el. (Bug#4789)
100 * loadup.el: Load leim-list.el when found.
101 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
102
4301875e 1032013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
104
105 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
106
4301875e
BB
107 * emacs-lisp/helpers.el (string-join): New function.
108
1633a815 1092013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
110
111 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
112 Mark as obsolete and replace it with a symbol property.
113 (byte-compile-form): Use new 'interactive-only property.
114 * comint.el, files.el, replace.el, simple.el:
115 Apply new 'interactive-only properly.
116
00139435
MR
1172013-11-25 Martin Rudalics <rudalics@gmx.at>
118
119 * window.el (display-buffer-at-bottom): Make sure that
120 split-window-sensibly creates the new window on bottom
121 (Bug#15961).
122
5f5b128d
DK
1232013-11-23 David Kastrup <dak@gnu.org>
124
125 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
126 on the conflict markers when available.
127 (smerge--get-marker): New function.
128 (smerge-end-re, smerge-base-re): Add subgroup.
129
623891e5
SM
1302013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * frame.el (handle-focus-in, handle-focus-out): Add missing
133 interactive spec.
134
05ca27d8
MA
1352013-11-25 Michael Albinus <michael.albinus@gmx.de>
136
137 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
138 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
139
511fa0d3
SM
1402013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
141
e82ad66c
SM
142 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
143 (gomoku--last-pos): New var.
144 (gomoku--intangible-chars): New const.
145 (gomoku--intangible): New function.
146 (gomoku-mode): Use it. Derive from special-mode.
147 (gomoku-move-up): Adjust line count.
148 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
149 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
150 Simplify accordingly.
151
511fa0d3
SM
152 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
153 Remove blink-cursor code.
154 (blink-cursor-timer-function, blink-cursor-suspend):
155 Don't special-case GUIs.
156 (blink-cursor-mode): Use focus-in/out-hook.
157
6f20dd03
DG
1582013-11-25 Dmitry Gutov <dgutov@yandex.ru>
159
160 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
161 work when annotation is invisible (Bug#13886).
162
431dec31 1632013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
164
165 * json.el (json-alist-p): Only return non-nil if the alist has
166 simple keys (Bug#13518).
167
431dec31 1682013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
169
170 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
171 when control-statement is the first statement in a buffer (Bug#15956).
172
ee4f0261
DG
1732013-11-24 Dmitry Gutov <dgutov@yandex.ru>
174
175 * imenu.el (imenu-generic-skip-comments-and-strings):
176 New option (Bug#15560).
177 (imenu--generic-function): Use it.
178
c484f866
JS
1792013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
180
181 * minibuffer.el (completion--in-region-1): Scroll the correct
182 window. (Bug#13898)
183
41ce6f70
BB
1842013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
185
b55aea38
BB
186 * emacs-lisp/helpers.el: Add some string helpers.
187 (string-trim-left): Removes leading whitespace.
188 (string-trim-right): Removes trailing whitespace.
189 (string-trim): Removes leading and trailing whitespace.
190
41ce6f70
BB
191 * subr.el (string-suffix-p): New function.
192
3cfb6af3
GM
1932013-11-23 Glenn Morris <rgm@gnu.org>
194
195 * progmodes/python.el (python-shell-send-file):
196 Add option to delete file when done. (Bug#15647)
197 (python-shell-send-string, python-shell-send-region): Use it.
198
c27924b7
IS
1992013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
200
e1b01c7f
IS
201 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
202 to set buffer-read-only to t, never to nil. (Bug#15938)
203
c27924b7
IS
204 * textmodes/tex-mode.el (latex-noindent-environments):
205 Add safe-local-variable property. (Bug#15936)
206
17e0445b
GM
2072013-11-23 Glenn Morris <rgm@gnu.org>
208
92f78ea3
GM
209 * textmodes/enriched.el (enriched-mode): Doc fix.
210 * emacs-lisp/authors.el (authors-renamed-files-alist):
211 Add enriched.doc -> enriched.txt.
212
17e0445b
GM
213 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
214
965bb23a
LL
2152013-11-22 Leo Liu <sdl.web@gmail.com>
216
217 * progmodes/octave.el (inferior-octave-startup): Spit out error
218 message.
219
d19ffd64
BB
2202013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
221
222 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
223 Improve docstring.
15ba2182
BB
224 Add :version.
225 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 226
7a7567d2
LL
2272013-11-22 Leo Liu <sdl.web@gmail.com>
228
229 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
230 (Bug#15076)
8c09f64b
LL
231 (octave-help-mode): Adapt to change to help-mode-finish to use
232 derived-mode-p on 2013-09-17.
233 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 234 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 235
724bc265
LL
2362013-11-22 Leo Liu <sdl.web@gmail.com>
237
238 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
239 (inferior-octave-startup, inferior-octave-check-process)
240 (inferior-octave-track-window-width-change)
241 (octave-completion-at-point, octave-eldoc-function): Use it.
242 (octave-kill-process): Provide confirmation. (Bug#10564)
243
38637cca
LL
2442013-11-21 Leo Liu <sdl.web@gmail.com>
245
511fa0d3
SM
246 * progmodes/octave.el (octave-mode, inferior-octave-mode):
247 Fix obsolete variable comment-use-global-state.
38637cca 248
06e752b4
RS
2492013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
250
511fa0d3
SM
251 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
252 Add `octave-source-file'.
06e752b4
RS
253 (octave-source-file): New function. (Bug#15935)
254
604ede6c
TZ
2552013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
256
257 * net/eww.el (eww-local-regex): New variable.
258 (eww): Use it to detect localhost and similar.
259
b6ffa04a
LL
2602013-11-21 Leo Liu <sdl.web@gmail.com>
261
262 Add completion for command `ag'.
2021a200
LL
263 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
264 (pcomplete/ag): New function.
265 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 266
d1a6bccc
SM
2672013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
270 (bug#14646).
271 (make-obsolete): Remove interactive spec.
272
2df10228
GM
2732013-11-21 Glenn Morris <rgm@gnu.org>
274
275 * startup.el (command-line-1): Use path-separator with -L.
276
86fd16b6
TZ
2772013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
278
279 * emacs-lisp/package.el (describe-package-1): Add package archive
280 to shown fields.
281
7a12a42b
BB
2822013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
283
284 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
285 Change default to "# encoding: %s" to differentiate it from the
286 default Ruby encoding comment template.
287
dc7e8c17 2882013-11-20 era eriksson <era+emacsbugs@iki.fi>
289
290 * ses.el (ses-mode): Doc fix. (Bug#14748)
291
f0cfa5fe
LL
2922013-11-20 Leo Liu <sdl.web@gmail.com>
293
294 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
295
826dc7b6
DN
2962013-11-19 Dan Nicolaescu <dann@gnu.org>
297
298 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
299 when rebase or bisect are in progress.
300
a6e3a5d5
XF
3012013-11-19 Xue Fuqiao <xfq.free@gmail.com>
302
303 * filenotify.el (file-notify-add-watch): Doc fix.
304
f130cb76
LL
3052013-11-19 Leo Liu <sdl.web@gmail.com>
306
e0855d7d
LL
307 * obsolete/rcompile.el: Mark obsolete.
308
f130cb76 309 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
310 (compilation-goto-locus, compilation-find-file):
311 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
312 (Bug#13594)
313
314 * window.el (display-buffer-alist, display-buffer): Document the
315 new parameter no-display-ok.
316
1f35d401
SM
3172013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
318
25158c76
SM
319 * electric.el (electric-indent-mode-map): Remove.
320 (electric-indent-mode): Change the global-map instead (bug#15915).
321
322 * textmodes/text-mode.el (paragraph-indent-minor-mode):
323 Use add-function.
1f35d401 324
9bc67baa
SM
3252013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
326
986545b5
SM
327 * emacs-lisp/nadvice.el (remove-function): Align with
328 add-function's behavior.
329
9bc67baa
SM
330 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
331 (gdb--string-regexp): New constant.
332 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
333 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
334 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
335 submatch 1.
336 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
337 Adjust use accordingly.
338 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
339
56cd894e
AS
3402013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
341
342 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
343 interpolation curlies (Bug#15914).
344
014690de
JB
3452013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
346
347 * calc/calc.el (calc-context-sensitive-enter): New variable.
348 (calc-enter): Use `calc-context-sensitive-enter'.
349
7e26a6c3
TZ
3502013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
351
352 * progmodes/cfengine.el: Version bump.
353 (cfengine-cf-promises): New defcustom to locate cf-promises.
354 (cfengine3-vartypes): Add new "data" type.
355 (cfengine3--current-word): New function to get current name-like
356 word or its bounds.
357 (cfengine3--current-function): New function to look up a CFEngine
358 function's definition.
359 (cfengine3-format-function-docstring): New function.
360 (cfengine3-make-syntax-cache): New function.
361 (cfengine3-documentation-function): New function: ElDoc glue.
362 (cfengine3-completion-function): New function: completion glue.
363 (cfengine3-mode): Set `compile-command',
364 `eldoc-documentation-function', and add to
365 `completion-at-point-functions'.
366
355204dd
MA
3672013-11-16 Michael Albinus <michael.albinus@gmx.de>
368
369 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
370 `tramp-current-connection'.
371
43cebc23
DG
3722013-11-15 Dmitry Gutov <dgutov@yandex.ru>
373
374 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
375 nil/self/true/false with "end of symbol".
376
a3fed6ff
BB
3772013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
378
379 * subr.el (version-regexp-alist): Fix a typo.
380
e675b3e4
MA
3812013-11-15 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
384 "en_US.utf8" and "LC_CTYPE" to "".
385 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
386 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
387
a1f03e89
LL
3882013-11-15 Leo Liu <sdl.web@gmail.com>
389
390 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
391
5d9d9451
SM
3922013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
393
58362662
CS
394 * progmodes/gud.el (ctl-x-map):
395 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
396 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
397
6c1bf086
BB
3982013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
399
0d5363c4
BB
400 * subr.el (version-regexp-alist):
401 Recognize hg, svn and darcs versions as snapshot versions.
402
4e9fc48c
BB
403 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
404 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
405 (ruby--encoding-comment-required-p): Extract from
406 `ruby-mode-set-encoding'.
407 (ruby-mode-set-encoding): Add the ability to always insert an
408 utf-8 encoding comment. Fix and simplify coding comment update
409 logic.
6c1bf086 410
2f7e72f8
MA
4112013-11-14 Michael Albinus <michael.albinus@gmx.de>
412
413 * net/tramp-gvfs.el (top): Run init code only when
414 `tramp-gvfs-enabled' is not nil.
415 (tramp-gvfs-enabled): Check also :system bus.
416
0f137a73
SM
4172013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 Sync with upstream verilog-mode revision 78e66ba.
420 * progmodes/verilog-mode.el (verilog-end-of-defun)
421 (verilog-type-completion, verilog-get-list): Remove unused funcs.
422 (verilog-get-end-of-defun): Remove unused argument.
423 (verilog-comment-depth): Remove unused local `e'.
424 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
425 Don't pass arg to verilog-get-end-of-defun.
426
1c276bdd
GM
4272013-11-14 Glenn Morris <rgm@gnu.org>
428
429 * obsolete/assoc.el (aget): Prefix dynamic variable.
430
431 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
432
ff6ec81d
SM
4332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * widget.el, hfy-cmap.el: Remove bogus package version number.
436
75f777b6
GM
4372013-11-13 Glenn Morris <rgm@gnu.org>
438
1d43dba1
GM
439 * replace.el (replace-eval-replacement):
440 Try to give more helpful error message. (Bug#15836)
441
ff4b7bd5
GM
442 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
443 (archive-7z-update): Avoid custom type mismatches.
444
75f777b6
GM
445 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
446
11151a06
MA
4472013-11-13 Michael Albinus <michael.albinus@gmx.de>
448
e675b3e4 449 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
450 address can be empty.
451
452 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
453 Accept nil SWITCHES.
454 (tramp-gvfs-handle-write-region): Implement APPEND.
455
7b08f97e
DG
4562013-11-12 Dmitry Gutov <dgutov@yandex.ru>
457
458 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
459 binary "|" operator and closing block args delimiter.
460 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
461 (ruby-smie--implicit-semi-p): Not after "|" operator.
462 (ruby-smie--closing-pipe-p): New function.
463 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
464 (ruby-smie-rules): Indent after "|".
465
f201cf3a
GM
4662013-11-12 Glenn Morris <rgm@gnu.org>
467
468 * ps-print.el (ps-face-attribute-list):
469 Handle anonymous faces. (Bug#15827)
470
e6f759f9
MR
4712013-11-12 Martin Rudalics <rudalics@gmx.at>
472
473 * window.el (display-buffer-other-frame): Fix doc-string.
474 (Bug#15868)
475
ecda65d4
SM
4762013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * subr.el (force-mode-line-update): Delete, move to buffer.c.
479
7ce8fcc3
MA
4802013-11-11 Michael Albinus <michael.albinus@gmx.de>
481
482 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
483 (tramp-sh-handle-file-local-copy): Don't write a message when
484 saving temporary files.
485
486 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
487 both directories are remote.
488 (tramp-smb-handle-directory-files): Do not return double entries.
489 Do not expand full file names.
490 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
491 (tramp-smb-handle-write-region): Implement APPEND.
492 (tramp-smb-get-stat-capability): Fix a stupid bug.
493
7818df11
SM
4942013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
497
608c2085
NT
4982013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
499
500 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
501 throwing error over malformed let/let* (bug#15814).
502
122a7e46
SM
5032013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * iswitchb.el (iswitchb-mode): Mark obsolete.
506
766284d9
GM
5072013-11-11 Glenn Morris <rgm@gnu.org>
508
509 * international/uni-bidi.el, international/uni-category.el:
510 * international/uni-name.el, international/uni-numeric.el:
511 Regenerate for Unicode 6.3.0.
512
7072a4e9
MA
5132013-11-10 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/tramp.el (tramp-methods):
516 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
517 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
518
c9df215b
AS
5192013-11-09 Andreas Schwab <schwab@linux-m68k.org>
520
608c2085
NT
521 * progmodes/sh-script.el (sh-font-lock-keywords-var):
522 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 523
fa47d796
DG
5242013-11-09 Dmitry Gutov <dgutov@yandex.ru>
525
526 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 527 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
528 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
529 (ispell-complete-word): Call `ispell-lookup-words' with the value
530 independent of `ispell-look-p'.
531
1629a329
DG
5322013-11-08 Dmitry Gutov <dgutov@yandex.ru>
533
534 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
535 Not after "||".
536 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
537 their parent.
538
ad16897c
SM
5392013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
540
541 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
542 (ruby-font-lock-keywords): Use backquote.
543
ffa2df72
DG
5442013-11-08 Dmitry Gutov <dgutov@yandex.ru>
545
546 * progmodes/ruby-mode.el (ruby-smie--forward-token)
547 (ruby-smie--backward-token): Only consider full-string matches.
548
5b97b4c0
JD
5492013-11-08 Jan Djärv <jan.h.d@swipnet.se>
550
551 * faces.el (describe-face): Add distant-foreground.
552
71731c03
BB
5532013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
554
4e9fc48c
BB
555 * progmodes/ruby-mode.el: Improve encoding comment handling.
556 (ruby-encoding-magic-comment-style): New option.
557 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
558 (ruby--insert-coding-comment, ruby--detect-encoding):
559 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
560 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
561 to control the style of the auto-inserted encoding comment.
71731c03 562
da3b328d
DG
5632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
564
ad16897c
SM
565 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
566 Use `smie-backward-sexp' with token argument.
da3b328d 567
1606c2d3
MA
5682013-11-08 Michael Albinus <michael.albinus@gmx.de>
569
570 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
571 Remove instrumentation code.
572
b0f4c320
GM
5732013-11-08 Glenn Morris <rgm@gnu.org>
574
575 * progmodes/autoconf.el (autoconf-mode):
576 Tweak comment-start-skip. (Bug#15822)
577
43668fb1
SM
5782013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
581 at bobp (bug#15826).
582 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
583
daddb3fd
DH
5842013-11-08 Darren Hoo <darren.hoo@gmail.com>
585
586 * man.el (Man-start-calling): New macro, extracted from
587 Man-getpage-in-background.
588 (Man-getpage-in-background): Use it.
589 (Man-update-manpage): New command.
590 (Man-mode-map): Bind it.
591
1f923923
DG
5922013-11-08 Dmitry Gutov <dgutov@yandex.ru>
593
594 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
595 of "and", "or", "&&" and "||".
596 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
597 argument. Prohibit opening curly brace because it could only be a
598 block opener in that position.
daddb3fd
DH
599 (ruby-smie--forward-token, ruby-smie--backward-token):
600 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
601 arguments.
602 (ruby-smie--indent-to-stmt): New function, seeks the end of
603 previous statement or beginning of buffer.
604 (ruby-smie-rules): Use it.
605 (ruby-smie-rules): Check if there's a ":" before a curly block
606 opener candidate; if there is, it's a hash.
607
3220d527
SM
6082013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
611 (cl--block-wrapper): Fix last accidental change.
612
1eb1f9e0
MA
6132013-11-07 Michael Albinus <michael.albinus@gmx.de>
614
615 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
616 Instrument, in order to hunt failure on hydra.
617
e6e4db3c
NT
6182013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
619
620 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
621 malformed bindings form (bug#15814).
622
b420ccfc
DG
6232013-11-07 Dmitry Gutov <dgutov@yandex.ru>
624
625 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
626 "." compared to " @ ". This incidentally fixes some indentation
627 examples with "do".
e6e4db3c 628 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
629 (ruby-smie-grammar): New tokens: "and" and "or".
630 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
631 Exclude "and" and "or". Remove "do" in order to work around token
632 priorities.
633 (ruby-smie-rules): Add all infix tokens. Handle the case of
634 beginning-of-buffer.
b420ccfc 635
6b4ac03e
GM
6362013-11-06 Glenn Morris <rgm@gnu.org>
637
638 * Makefile.in (setwins_almost, setwins_for_subdirs):
639 Avoid accidental matches.
640
5ca114d1
SM
6412013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * menu-bar.el (popup-menu): Use key-binding.
644
f72552bd
EZ
6452013-11-06 Eli Zaretskii <eliz@gnu.org>
646
647 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
648 menus, support also the menus produced by minor modes.
649 (Bug#15817)
650
5d5c701e
LL
6512013-11-06 Leo Liu <sdl.web@gmail.com>
652
653 * thingatpt.el (thing-at-point-looking-at): Add optional arg
654 DISTANCE to bound the search. All uses changed. (Bug#15808)
655
0a8b75e2
GM
6562013-11-06 Glenn Morris <rgm@gnu.org>
657
658 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
659 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
660 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 661
a35287ea
SM
6622013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
663
feca4e2d
SM
664 * electric.el (electric-indent-just-newline): New command.
665 (electric-indent-mode-map): New keymap.
666 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
667 Re-add :group which weren't redundant.
668
a35287ea
SM
669 * electric.el (electric-indent-local-mode): New minor mode.
670 (electric-indent-functions-without-reindent): New var.
671 (electric-indent-post-self-insert-function): Use it.
672 * emacs-lisp/gv.el (buffer-local-value): Add setter.
673
375761b2
EZ
6742013-11-05 Eli Zaretskii <eliz@gnu.org>
675
9a6ad735
EZ
676 * international/quail.el (quail-help): Be more explicit about the
677 meaning of the labels shown on the keys. (Bug#15800)
678
375761b2
EZ
679 * startup.el (normal-top-level): Load the subdirs.el files before
680 setting the locale environment. (Bug#15805)
681
520a6e4a
SM
6822013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
683
0acfafef
SM
684 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
685 via arguments so as to get the right ones (bug#15418).
686
520a6e4a
SM
687 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
688
15826261
MA
6892013-11-05 Michael Albinus <michael.albinus@gmx.de>
690
691 Fix problems found while writing a test suite.
692
693 * net/tramp-compat.el (tramp-compat-load): New defun.
694 * net/tramp.el (tramp-handle-load): Use it.
695
696 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
697 "(numberp ok-if-already-exists)" correctly.
698
d35f31a4
XF
6992013-11-05 Xue Fuqiao <xfq.free@gmail.com>
700
701 * international/characters.el (glyphless-char-display-control):
702 Add usage note.
703
ae93bc74
BB
7042013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
705
520a6e4a
SM
706 * progmodes/python.el (python-mode):
707 * progmodes/scheme.el (scheme-mode):
708 * progmodes/prolog.el (prolog-mode):
709 * progmodes/ruby-mode.el (ruby-mode):
710 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
711 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 712
0ade65b5
SM
7132013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
714
a0d5f7a4
SM
715 * rect.el (rectangle--highlight-for-redisplay):
716 * emacs-lisp/smie.el (smie--next-indent-change):
717 Use buffer-chars-modified-tick.
718
c93f3f5c
SM
719 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
720
0ade65b5
SM
721 * electric.el (electric-indent-post-self-insert-function):
722 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
723
ef9dd188
HE
7242013-11-04 Helmut Eller <eller.helmut@gmail.com>
725
726 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
727
306e7308
NT
7282013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
729
730 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
731 (bug#15786).
732
e5afbcac
SM
7332013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
734
1d01ad41
SM
735 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
736
e5afbcac
SM
737 * progmodes/python.el: Fix up last change.
738 (python-shell--save-temp-file): New function.
739 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
740 `string' comes from the current buffer.
741 (python-shell-send-string-no-output): Remove `msg' arg.
742 (python--use-fake-loc): New var.
743 (python-shell-buffer-substring): Obey it. Try to compensate for the
744 extra coding line added by python-shell--save-temp-file.
745 (python-shell-send-region): Use python-shell--save-temp-file and
746 python-shell-send-file directly. Add `nomain' argument.
747 (python-shell-send-buffer): Use python-shell-send-region.
748 (python-electric-pair-string-delimiter): New function.
749 (python-mode): Use it.
750
d0065ff1
EZ
7512013-11-04 Eli Zaretskii <eliz@gnu.org>
752
753 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
754 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
755 environment and decoding all of the default-directory's to here
756 from command-line.
757 (command-line): Decode also argv[0].
758
759 * loadup.el: Error out if default-directory is a multibyte string
760 when we are dumping.
761
762 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
763
7397c587
TZ
7642013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
765
766 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
767 (package-menu--print-info, package-menu--archive-predicate):
768 Add Archive column to package list.
7397c587 769
b27cc9fc
MA
7702013-11-04 Michael Albinus <michael.albinus@gmx.de>
771
772 Fix problems found while writing a test suite.
773
774 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
775 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
776 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
777 to nil when running original file name handler. Otherwise,
778 there are problems with constructs like "$$FOO".
779
780 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
781 for `localname'.
782
d8c4f18a
BB
7832013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
784
7b530552
BB
785 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
786
787 * subr.el (version<, version<=, version=):
788 Update docstrings with information for snapshot versions.
789
d8c4f18a
BB
790 * helpers.el: New library for misc helper functions.
791 (hash-table-keys): New function returning a list of hash keys.
792 (hash-table-values): New function returning a list of hash values.
793
dca01b09
DG
7942013-11-04 Dmitry Gutov <dgutov@yandex.ru>
795
796 * progmodes/ruby-mode.el (ruby-smie--forward-token)
797 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
798
0a749fa0
MN
7992013-11-04 Michal Nazarewicz <mina86@mina86.com>
800
801 * textmodes/fill.el (fill-single-char-nobreak-p): New function
802 checking whether point is after a 1-letter word.
803
8042013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
805
806 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
807 Don't infloop when expanding region over `multiline' syntax-type that
808 begins a line (bug#15778).
809
4aca7145
SM
8102013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
813 Make it into a proper minor mode.
814 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
815 (rectangle-mark-mode-map): New keymap.
816 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
817
a0833f62
GM
8182013-11-04 Glenn Morris <rgm@gnu.org>
819
820 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
821
e61845c1
SM
8222013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
825 (ruby-smie-rules): Use smie-rule-parent instead.
826
827 * emacs-lisp/smie.el (smie-rule-parent): Always call
828 smie-indent-virtual rather than only for hanging tokens.
829 (smie--next-indent-change): New helper command.
830
62942f89
GM
8312013-11-03 Glenn Morris <rgm@gnu.org>
832
833 * Makefile.in (abs_srcdir): Remove.
834 (emacs): Unset EMACSLOADPATH.
835
b0b9e592
GM
8362013-11-02 Glenn Morris <rgm@gnu.org>
837
18ba6a33 838 * Makefile.in (EMACS): Use a relative filename.
8061810d 839 (abs_top_builddir): Remove.
18ba6a33
GM
840 (custom-deps, finder-data, autoloads): Use --chdir.
841
6a8b929e
GM
842 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
843
c617f3d0
GM
844 Use relative filenames in TAGS files.
845 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
846 (lisptagsfiles4, TAGS): Use relative file names.
847 (TAGS-LISP): Remove.
848 (maintainer-clean): No more TAGS-LISP file.
849
b0b9e592
GM
850 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
851 (lisptagsfiles4): Use absolute filenames again.
852 (TAGS, TAGS-LISP): Not everything needs to run in one line.
853 Remove all *loaddefs files, not just the first. Remove esh-groups.
854 (maintainer-clean): Delete TAGS, TAGS-LISP.
855
d1c0ea6a
BB
8562013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
857
e61845c1
SM
858 * emacs-lisp/package.el (package-version-join):
859 Recognize snapshot versions.
d1c0ea6a 860
684d71c6
BB
8612013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
862
863 * subr.el (version-regexp-alist): Add support for snapshot versions.
864
3d42b968
DG
8652013-11-02 Dmitry Gutov <dgutov@yandex.ru>
866
e61845c1
SM
867 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
868 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
869 skip over our direct parent if it's an assignment token..
870 (ruby-smie-rules): Use it.
871
7ffd3721
DG
8722013-11-02 Dmitry Gutov <dgutov@yandex.ru>
873
874 * progmodes/ruby-mode.el Use `syntax-propertize-function'
875 unconditionally. Remove now unnecessary forward declarations.
876 Remove XEmacs-specific setup.
877 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
878 (ruby-font-lock-syntactic-keywords)
879 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
880 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
881 (ruby-here-doc-end-syntax): Remove.
882 (ruby-mode): Don't check whether `syntax-propertize-rules' is
883 defined as function.
884
a3996a2e
BB
8852013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
886
887 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
888
6f9260e8
BB
8892013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
890
891 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
892 table and abbrev table, `define-derived-mode' does that for us
893 anyway.
894
6014de84
GM
8952013-11-01 Glenn Morris <rgm@gnu.org>
896
897 * Makefile.in: Remove manual mh-e dependencies (writing .elc
898 files is atomic for some time, so no parallel compilation issues).
899
3c334c14
JD
9002013-11-01 Jan Djärv <jan.h.d@swipnet.se>
901
902 * faces.el (face-x-resources): Add :distant-foreground.
903 (region): Use :distant-foreground for gtk and ns.
904
9bc236c8
TH
9052013-11-01 Tassilo Horn <tsdh@gnu.org>
906
5246583b 907 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
908 BibTeX.
909 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
910 (reftex-locate-bibliography-files): Us it.
911
d14c81ee
CB
9122013-11-01 Claudio Bley <claudio.bley@googlemail.com>
913
0e7690de
CB
914 * image.el (image-type-header-regexps): Fix the 'pbm' part to
915 allow comments in pbm files.
916
d14c81ee
CB
917 * term/w32-win.el (dynamic-library-alist): Support newer versions
918 of libjpeg starting with v7: look only for the DLL from the
919 version against which Emacs was built.
ac1bf374 920 Support versions of libpng beyond 1.4.x.
019c8218 921 Support libtiff v4.x.
d14c81ee 922
983d0df5
BB
9232013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
924
925 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
926 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
927 Add property :safe.
928 (ruby-deep-arglist): Add property :type.
929
47f58d85
GM
9302013-10-31 Glenn Morris <rgm@gnu.org>
931
932 * Makefile.in (custom-deps, finder-data): No need to setq the target
933 variables, we are in the right directory and the defaults work fine.
934
4f85b479
GM
9352013-10-30 Glenn Morris <rgm@gnu.org>
936
ca7dd4cd
GM
937 * Makefile.in (autoloads): Do not use abs_lisp.
938
4f85b479
GM
939 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
940 `newline' does not respect `standard-output', so use `princ'.
941
cf59e41c
AA
9422013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
943
944 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
945 * buff-menu.el (Buffer-menu--unmark): New function.
946 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
947
74cf04fb
GM
9482013-10-30 Glenn Morris <rgm@gnu.org>
949
b040b60e
GM
950 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
951
f53d3815
GM
952 * emacs-lisp/package.el (lm-homepage): Declare.
953
5413d873
GM
954 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
955 Fix doc typos.
956
cecedb36
GM
957 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
958
74cf04fb
GM
959 * Makefile.in (finder-data, autoloads, update-subdirs)
960 (compile-main, compile-clean, compile-always, bootstrap-clean):
961 Check return value of cd.
962 (compile-calc): Remove.
963
195ee2f0
SM
9642013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
965
ae4002ce
SM
966 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
967
968 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
969 (byte-compile-and-folded): New function.
970 (=, <, >, <=, >=): Use it.
971
972 * dos-w32.el (minibuffer-history-case-insensitive-variables)
973 (path-separator, null-device, buffer-file-coding-system)
974 (lpr-headers-switches): Check system-type before modifying them.
975 (find-buffer-file-type-coding-system): Mark obsolete.
976 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
977 find-file-not-found-set-buffer-file-coding-system.
978 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
979 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
980 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
981 (w32-direct-print-region-helper, w32-direct-print-region-function)
982 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
983 * startup.el (normal-top-level-add-subdirs-to-load-path):
984 * ps-print.el (ps-print-region-function):
985 * lpr.el (print-region-function): Use new name.
986
53b39e89
SM
987 * subr.el (custom-declare-variable-early): Remove function.
988 (custom-declare-variable-list): Remove var.
989 (error, user-error): Remove `while' loop.
990 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
991 (user-emacs-directory-warning, locate-user-emacs-file):
992 Move to files.el.
993 * simple.el (read-quoted-char-radix, read-quoted-char):
994 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
995 Move from subr.el.
996 * custom.el (custom-declare-variable-list): Don't process
997 custom-declare-variable-list.
998
195ee2f0
SM
999 * progmodes/python.el (python-shell-get-buffer): New function.
1000 (python-shell-get-process): Use it.
1001 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1002 Python which encoding was used. Don't split-string since we only care
1003 about the first line. Return the temp-file, if applicable.
1004 (python-shell-send-region): Tell compile.el how to turn locations in
1005 the temp-file into locations in the source buffer.
1006
7e3561ee
SM
10072013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1008
4c9797cb
SM
1009 * subr.el (undefined): Add missing behavior from the C code for
1010 unbound keys.
1011
3472b6c6
SM
1012 * rect.el: Use lexical-binding. Add new rectangular region support.
1013 (rectangle-mark): New command.
1014 (rectangle--region): New var.
1015 (deactivate-mark-hook): Reset rectangle--region.
1016 (rectangle--extract-region, rectangle--insert-for-yank)
1017 (rectangle--highlight-for-redisplay)
1018 (rectangle--unhighlight-for-redisplay): New functions.
1019 (region-extract-function, redisplay-unhighlight-region-function)
1020 (redisplay-highlight-region-function): Use them to handle
1021 rectangular region.
1022 * simple.el (region-extract-function): New var.
1023 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1024 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1025 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1026 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1027 (redisplay-unhighlight-region-function)
1028 (redisplay-highlight-region-function): New vars.
1029 (redisplay--update-region-highlight): New function.
1030 (pre-redisplay-function): Use it.
1031 (exchange-point-and-mark): Don't deactivate the mark before
1032 reactivate-it anyway.
1033 * comint.el (comint-kill-region): Remove yank-handler argument.
1034 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1035 (delete-char): Remove property, since it's now part of their
1036 default behavior.
1037 (self-insert-iso): Remove property since this command doesn't exist.
1038
7e3561ee
SM
1039 * emacs-lisp/package.el (package--download-one-archive)
1040 (describe-package-1): Don't query the user about final newline.
1041
b9bef71f
DC
10422013-10-29 Daniel Colascione <dancol@dancol.org>
1043
1044 * net/tramp.el (tramp-methods): Document new functionality.
1045 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1046 tramp-hostname-checker if method provides one instead of scanning
1047 argument list for "%h" to decide hostname acceptability.
1048
4efc33f0
MA
10492013-10-28 Michael Albinus <michael.albinus@gmx.de>
1050
1051 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1052 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1053 Handle COPY-CONTENTS. (Bug#15737)
1054
ed42a877
DU
10552013-10-28 Daiki Ueno <ueno@gnu.org>
1056
1057 * epa-file.el
7e3561ee
SM
1058 (epa-file-cache-passphrase-for-symmetric-encryption):
1059 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 1060
18c9f8a2
XF
10612013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1062
7a4bc7be
XF
1063 * image.el (defimage):
1064 (image-load-path): Doc fixes.
18c9f8a2 1065
b1e8e010
AM
10662013-10-27 Alan Mackenzie <acm@muc.de>
1067
1068 Indent statements in macros following "##" correctly.
7e3561ee
SM
1069 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1070 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 1071
73d40d1e 10722013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
1073
1074 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1075
c8c605ac
DG
10762013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1077
1078 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1079 after `=' is probably a new expression.
1080
ca7e59d4
RS
10812013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1082
1083 * man.el (man-imenu-title): New option.
1084 (Man-mode-map): Add menu. (Bug#15722)
1085 (Man-mode): Add imenu to menu.
1086
bae91342
DG
10872013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1090 specific in what the first arg can be: a non-keyword word,
1091 string/regexp/percent literal opener, opening paren, or unary
1092 operator followed directly by word.
1093
eb89dc14
SM
10942013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1097 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1098 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1099 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1100 Remove vars, they do not apply any more.
1101 (prolog-mode-abbrev-table): Remove redundant declaration.
1102 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1103 (prolog-use-smie): Remove.
1104 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1105 supported by prolog-electric-if-then-else-flag.
1106 (prolog-mode-variables, prolog-menu): Use setq-local.
1107 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1108 Remove binding to `Backspace' since this key doesn't exist anyway.
1109 Remove bindings for electric self-inserting keys.
1110 (prog-mode): Assume it's defined.
1111 (prolog-post-self-insert): New function.
1112 (prolog-mode): Use it.
1113 (prolog-indent-line, prolog-indent-level)
1114 (prolog-find-indent-of-matching-paren)
1115 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1116 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1117 (prolog-goto-next-paren, prolog-in-string-or-comment)
1118 (prolog-tokenize, prolog-inside-mline-comment)
1119 (prolog-find-start-of-mline-comment): Remove functions.
1120 (prolog-find-unmatched-paren, prolog-clause-end)
1121 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1122 (prolog-electric--if-then-else): Rename from
1123 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1124 (prolog-tokenize-searchkey): Remove const.
1125 (prolog-clause-info): Use forward-sexp.
1126 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1127 (prolog-electric-if-then-else): Remove commands.
1128 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1129 for use in post-self-insert-hook.
1130 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1131 for use in post-self-insert-hook.
1132 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1133 for use in post-self-insert-hook.
1134 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1135 adapt it for use in post-self-insert-hook.
1136
3dab0a83
MA
11372013-10-25 Michael Albinus <michael.albinus@gmx.de>
1138
1139 * emacs-lisp/ert.el (ert-run-tests-interactively):
1140 Use `completing-read'. (Bug#9756)
1141
fbfd0e1d
EZ
11422013-10-25 Eli Zaretskii <eliz@gnu.org>
1143
1144 * simple.el (line-move): Call line-move-1 instead of
1145 line-move-visual when the current window hscroll is zero, but
1146 temporary-goal-column indicates we will need to hscroll as result
1147 of the movement. (Bug#15712)
1148
963ce636
DG
11492013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1150
1151 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
1152 capitalization. Use :visible instead of :active.
1153 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
1154 commands that are used with SMIE.
1155 (ruby-do-end-to-brace): Insert space after `{'.
1156
a0be396a
JA
11572013-10-25 John Anthony <john@jo.hnanthony.com>
1158
f73754c9
JA
1159 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1160
1161 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 1162
f5bf77df
GM
11632013-10-25 Glenn Morris <rgm@gnu.org>
1164
1165 * vc/vc.el (vc-print-log): Don't use a working revision unless
1166 one was explicitly specified. (Bug#15322)
1167
37241f62
SM
11682013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * subr.el (add-to-list): Preserve return value in compiler-macro
1171 (bug#15692).
1172
6408a65d
RS
11732013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1174
1175 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1176 result. Ask user to retry using '-all' flag. (Bug#15701)
1177
71e3276b
SM
11782013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * emacs-lisp/smie.el: New smie-config system.
1181 (smie-config): New defcustom.
1182 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1183 (smie-config-guess, smie-config-save): New commands.
1184 (smie-config--mode-local, smie-config--buffer-local)
1185 (smie-config--trace, smie-config--modefuns): New vars.
1186 (smie-config--advice, smie-config--mode-hook)
1187 (smie-config--setter, smie-config-local, smie-config--get-trace)
1188 (smie-config--guess-value, smie-config--guess): New functions.
1189 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1190 text properties. Treat "string fence" syntax like string syntax.
1191
1192 * progmodes/sh-script.el (sh-use-smie): Change default.
1193 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1194 (sh-var-value): Simplify by CSE.
1195 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1196 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1197 is used.
1198 (sh-guess-basic-offset): Use cl-incf.
1199 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1200
60db713e
HE
12012013-10-24 Helmut Eller <eller.helmut@gmail.com>
1202
1203 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1204 (bug#15699).
1205
8b251df6
GM
12062013-10-24 Glenn Morris <rgm@gnu.org>
1207
1208 * Makefile.in (abs_top_srcdir): Remove.
1209 (update-subdirs): Use relative path to update-subdirs.
1210
6be0e22b
EZ
12112013-10-24 Eli Zaretskii <eliz@gnu.org>
1212
1213 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1214 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
1215 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1216 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 1217
50b5b857
MA
12182013-10-24 Michael Albinus <michael.albinus@gmx.de>
1219
1220 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1221 (ert-test-skipped): New error.
1222 (ert-skip, ert-stats-skipped): New defuns.
1223 (ert--skip-unless): New macro.
1224 (ert-test-skipped): New struct.
1225 (ert--run-test-debugger, ert-test-result-type-p)
1226 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1227 (ert--stats-set-test-and-result, ert-char-for-test-result)
1228 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 1229 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 1230 Handle skipped tests. (Bug#9803)
50b5b857 1231
6f317c2f
GM
12322013-10-24 Glenn Morris <rgm@gnu.org>
1233
e43817c1
GM
1234 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1235
6f317c2f
GM
1236 * Makefile.in (abs_top_srcdir): New, set by configure.
1237 (update-subdirs): Correct build-aux location.
1238
369bbf71
DG
12392013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1240
8297b2cf
DG
1241 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1242 value, whether we could auto-deduce `backend', or not.
1243
369bbf71
DG
1244 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1245 with parameters" example. Simplify the "is it block or is it
1246 hash" check, but also make it more thorough.
1247
d5f1282f
MF
12482013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1249
1250 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1251
bc4aaa31
SM
12522013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1253
03d44565
SM
1254 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1255 { if it is hanging.
1256
bc4aaa31
SM
1257 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1258 :before ";".
1259
f493ff19
JB
12602013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1261
1262 * progmodes/compile.el (compilation-directory-matcher)
1263 (compilation-page-delimiter):
1264 Support GNU Make-4.0 directory quoting. (Bug#15678)
1265
c744a3b9
LL
12662013-10-23 Leo Liu <sdl.web@gmail.com>
1267
1268 * ido.el (ido-tidy): Handle read-only text.
1269
b8e3b0a9
GM
12702013-10-23 Glenn Morris <rgm@gnu.org>
1271
1272 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1273 (emacs, compile, compile-always):
1274 Quote entities that might contain whitespace.
1275 (custom-deps, finder-data, autoloads): Use abs_lisp.
1276 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1277 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1278 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1279
ee4282cd
DG
12802013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1281
bc4aaa31
SM
1282 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1283 Use `following-char'.
7790a270 1284
ee4282cd 12852013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
1286
1287 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1288 * progmodes/ruby-mode.el (ruby-smie-rules):
1289 Remove corresponding workaround. Fix indentation rule of ";" so it
1290 also applies when ";" is the parent.
1291
d40a46d7
XF
12922013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1293
1294 * frame.el (display-screens, display-pixel-height)
1295 (display-pixel-width, display-mm-width, display-backing-store)
1296 (display-save-under, display-planes, display-color-cells)
7790a270
SM
1297 (display-visual-class, display-monitor-attributes-list):
1298 Mention the optional ‘display’ argument in doc strings.
d40a46d7 1299
a0f143c9
MG
13002013-10-22 Michael Gauland <mikelygee@amuri.net>
1301
1302 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1303 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1304
18cacc39
DG
13052013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1306
1307 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1308 TODO. Add "." after " @ ".
1309 (ruby-smie--at-dot-call): New function. Checks if point at method
1310 call with explicit target.
1311 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1312 to the method name tokens when it precedes them.
1313 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1314 (ruby-smie-rules): Add rule for indentation before and after "."
1315 token.
1316
df74c4be
SM
13172013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1318
c6dab55f
SM
1319 * textmodes/remember.el (remember-diary-extract-entries):
1320 Avoid add-to-list.
1321
df74c4be
SM
1322 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1323 an instruction.
1324
8c1ae481
DG
13252013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1326
cfef16c0
DG
1327 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1328 (ruby-smie--implicit-semi-p): Add new operator chars.
1329
8c1ae481
DG
1330 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1331 `smie-down-list'.
1332 (ruby-smie--args-separator-p): Check that there's no newline
1333 between method call and its arguments.
1334
87756ca9
AM
13352013-10-20 Alan Mackenzie <acm@muc.de>
1336
1337 Allow comma separated lists after Java "implements".
1338
df74c4be
SM
1339 * progmodes/cc-engine.el (c-backward-over-enum-header):
1340 Parse commas.
87756ca9
AM
1341 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1342 from a "disallowed" list in enum fontification.
1343
c25f8957
JB
13442013-10-20 Johan Bockgård <bojohan@gnu.org>
1345
df74c4be 1346 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 1347
c25f8957
JB
1348 * progmodes/verilog-mode.el (verilog-mode): Don't set
1349 comment-indent-function globally.
1350
aca5fcdc
JD
13512013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1352
5f161884
JD
1353 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1354 Move Info menu item creation to ns-win.el.
1355
1356 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1357 in menu bar.
1358
aca5fcdc
JD
1359 * menu-bar.el: Move GNUStep specific menus...
1360
1361 * term/ns-win.el (ns-initialize-window-system): ... to here.
1362
914b7f98
SM
13632013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * simple.el (newline): Only run post-self-insert-hook when
1366 called interactively.
1367
846ffe77
JB
13682013-10-19 Johan Bockgård <bojohan@gnu.org>
1369
1370 * icomplete.el (icomplete-with-completion-tables): Add :version.
1371
033f22dd
AM
13722013-10-19 Alan Mackenzie <acm@muc.de>
1373
1374 Fix fontification bugs with constructors and const.
1375
1376 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1377 CASE 2) Remove the check for the absence of a suffix construct
1378 after a function declaration with only types (no identifiers) in
1379 the parentheses. Also, accept a function declaration with just a
1380 type inside the parentheses, if this type can be positively
1381 recognised as such, or if a prefix keyword like "explicit" nails
1382 down the construct as a declaration.
1383
58ce0cfc
EZ
13842013-10-19 Eli Zaretskii <eliz@gnu.org>
1385
1386 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1387 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1388 the problem whereby selecting a menu item that leads to a
1389 minibuffer prompt moves the cursor out of the minibuffer window,
1390 making it hard to type at the prompt. Suggested by Stefan Monnier
1391 <monnier@iro.umontreal.ca>.
1392
50e28e7d
JD
13932013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1394
1395 * menu-bar.el: Don't make Services menu.
1396
7deed4bf
RS
13972013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1398
1399 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1400 (ffap-alist): Use ffap-c++-mode for c++-mode.
1401 (ffap-c++-path): New variable.
1402 (ffap-c++-mode): New function.
1403
7bcb455b
JVJ
14042013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1405
1406 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1407
f0ff1cd5
MA
14082013-10-18 Michael Albinus <michael.albinus@gmx.de>
1409
1410 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1411 introduced on 2013-09-08, which results in an infinite loop
1412 requesting a password.
1413
d64da4b7
GM
14142013-10-18 Glenn Morris <rgm@gnu.org>
1415
1416 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1417
ea89ff08
WS
14182013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1419
1420 Sync with upstream verilog-mode revision 1a6ecec7.
1421 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1422 (verilog-mode-release-date): Remove.
1423 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1424 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1425 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1426 (verilog-auto-tieoff-ignore-regexp)
1427 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1428 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1429 (verilog-signals-with, verilog-dir-cache-preserving)
1430 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1431 Doc fixes.
1432 (verilog-case-fold): New option, to control case folding in
1433 regexp searches, bug597.
1434 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1435 (verilog-string-match-fold, verilog-in-paren-count)
1436 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1437 (verilog-at-close-struct-p): New functions.
1438 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1439 (verilog-forward-sexp, verilog-set-auto-endcomments):
1440 (verilog-leap-to-case-head): Handle "unique0" case.
1441 (verilog-in-constraint-re): New constant.
1442 (verilog-keywords, verilog-type-font-keywords):
1443 Add some SystemVerilog 1800-2012 keywords.
1444 (verilog-label-be): Remove unimplemented argument, bug669.
1445 (verilog-batch-execute-func): When batch expanding clear
1446 create-lockfiles to prevent spurious user locks when a file ends
1447 up not changing.
1448 (verilog-calculate-indent, verilog-calc-1)
1449 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1450 (verilog-do-indent): Fix indentation of nested constraints
1451 and structures.
1452 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1453 (verilog-auto-inst-param): Use verilog-string-match-fold.
1454 (verilog-read-inst-module-matcher):
1455 Fix AUTOINST on gate primitives with #1.
1456 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1457 Reads all user-defined typed variables.
1458 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1459 (verilog-signals-matching-regexp)
1460 (verilog-signals-not-matching-regexp, verilog-auto):
1461 Respect verilog-case-fold.
1462 (verilog-diff-report): Fix line count.
1463 (verilog-auto-assign-modport): Remove unused local `modi'.
1464 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1465 better handle multidimensional arrays.
1466 Fix packed array ports misadding bit index in AUTOINST, bug637.
1467 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1468 to not double-declare existing outputs and inputs, respectively.
1469 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1470 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1471 (verilog-sk-uvm-component): New skeleton.
1472 (verilog-submit-bug-report): Add verilog-case-fold,
1473 remove verilog-mode-release-date.
1474
ef566920
BR
14752013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1476
1477 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1478 as before.
1479
29df8a0b
RT
14802013-10-18 Reuben Thomas <rrt@sc3d.org>
1481
1482 * textmodes/remember.el (remember): set buffer-offer-save in
1483 remember buffers (bug#13566).
1484
04a19a79
DC
14852013-10-18 Daniel Colascione <dancol@dancol.org>
1486
1487 When evaluating forms in ielm, direct standard output to ielm
1488 buffer. Add new ielm-return-for-effect command. Remove trailing
1489 whitespace throughout.
1490
1491 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1492 (ielm-return-for-effect): New command.
1493 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
1494 (ielm-eval-input): Accept optional `for-effect' parameter.
1495 Bind `standard-output' to stream we create using
04a19a79
DC
1496 `ielm-standard-output-impl'. Suppress printing result when
1497 `for-effect'.
1498 (ielm-standard-output-impl): New function.
1499 (inferior-emacs-lisp-mode): Explain new features in documentation.
1500
4c1f03ef
MA
15012013-10-17 Michael Albinus <michael.albinus@gmx.de>
1502
1503 Code cleanup.
1504
1505 * net/tramp.el (tramp-debug-message): Do not check for connection
1506 buffer.
1507 (tramp-message): Use "vector" connection property.
1508
1509 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1510 (tramp-equal-remote, tramp-eshell-directory-change)
1511 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1512 (tramp-adb-handle-rename-file)
1513 * net/tramp-cmds.el (tramp-list-remote-buffers)
1514 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1515 * net/tramp-compat.el (tramp-compat-process-running-p)
1516 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1517 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1518 (tramp-gvfs-handle-rename-file)
1519 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1520 (tramp-set-file-uid-gid)
1521 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1522 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1523 of `file-remote-p'.
1524
1525 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1526 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1527 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1528 (tramp-gw-open-network-stream): Suppress unrelated traces.
1529
1530 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1531 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1533 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1534 connection property.
1535
1536 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 1537 persistency file.
4c1f03ef
MA
1538
1539 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1540 Refactor common code. Improve debug message.
1541 (tramp-maybe-open-connection)
1542 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1543 connection buffer too early.
1544
1545 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1546 from `tramp-smb-actions-with-acl'.
1547 (tramp-smb-actions-set-acl): New defconst.
1548 (tramp-smb-handle-copy-directory)
1549 (tramp-smb-action-get-acl): New defun, renamed from
1550 `tramp-smb-action-with-acl'.
1551 (tramp-smb-action-set-acl): New defun.
1552 (tramp-smb-handle-set-file-acl): Rewrite.
1553
642eb8b6
GM
15542013-10-17 Glenn Morris <rgm@gnu.org>
1555
1556 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1557
85527ff3
SM
15582013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1559
921c1d62
SM
1560 * skeleton.el (skeleton-newline): Remove.
1561 (skeleton-internal-1): Use (insert "\n") instead.
1562
e333fb10
SM
1563 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1564 let-bindings.
1565
85527ff3
SM
1566 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1567 forward-sexp-function while we redo its job (bug#15613).
1568
c8722a97
JB
15692013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1570
1571 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1572 represented by lists.
1573
7a550bbb
GM
15742013-10-16 Glenn Morris <rgm@gnu.org>
1575
1576 * tmm.el (tmm--history): New dynamic variable.
1577 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1578
f19da8ad
MA
15792013-10-16 Michael Albinus <michael.albinus@gmx.de>
1580
1581 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1582 (tramp-smb-errors): Add error messages.
1583 (tramp-smb-actions-with-acl): New defconst.
1584 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1585 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1586 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1587 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1588 (tramp-smb-get-stat-capability): Fix tests.
1589
a24b9961
DK
15902013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1591
1592 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1593 (bug#15580).
1594
62ad85e6
GM
15952013-10-16 Glenn Morris <rgm@gnu.org>
1596
0283d6b0
GM
1597 * ansi-color.el (ansi-color-drop-regexp):
1598 Add 1J, 1K, 2K. (Bug#15617)
1599
012e2f9f
GM
1600 * files.el (hack-local-variables--warned-lexical): New.
1601 (hack-local-variables):
1602 Warn about misplaced lexical-binding. (Bug#15616)
1603
62ad85e6
GM
1604 * net/eww.el (eww-render): Always set eww-current-url,
1605 and update header line. (Bug#15622)
1606 (eww-display-html): ... Rather than just doing it here.
1607
6456c0ea
EZ
16082013-10-15 Eli Zaretskii <eliz@gnu.org>
1609
1610 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1611 menu navigations commands.
1612
c2de5588
DK
16132013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1614
1615 * progmodes/subword.el (subword-capitalize): Be careful when
1616 the search for [[:alpha:]] fails (bug#15580).
1617
ccd4a783
EZ
16182013-10-14 Eli Zaretskii <eliz@gnu.org>
1619
1620 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1621 to commands that scroll the menu.
1622
1eda1d8d
DG
16232013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1624
c2de5588
DK
1625 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1626 Handle methods ending with `?' and `!'.
1eda1d8d 1627
e70181b8
AM
16282013-10-14 Akinori MUSHA <knu@iDaemons.org>
1629
1630 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1631 `japanese-cp932' to `cp932' to fix the problem where saving a
1632 source file written in Shift_JIS twice would end up having
1633 `coding: japanese-cp932' which Ruby could not recognize.
1634 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1635 in `ruby-encoding-map'.
1636 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1637 doesn't need to be explicitly declared in magic comment.
1638 (ruby-encoding-map): Add type declaration for better customize UI.
1639
9148ee92
GM
16402013-10-13 Glenn Morris <rgm@gnu.org>
1641
a5d38e34
GM
1642 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1643 Occur buffers are read-only. http://bugs.debian.org/720775
1644
9148ee92
GM
1645 * emacs-lisp/authors.el (authors-fixed-entries):
1646 Comment out old alpha stuff.
1647
a9ba094b
DG
16482013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1649
1650 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1651 to `after-save-hook' instead of `before-save-hook'.
1652 (ruby-mode-set-encoding): Use the value of coding system used to
1653 write the file. Call `basic-save-buffer-1' after modifying the
1654 buffer.
1655
7a068717
AM
16562013-10-13 Alan Mackenzie <acm@muc.de>
1657
1658 Fix indentation/fontification of Java enum with
1659 "implements"/generic.
1660
c2de5588
DK
1661 * progmodes/cc-engine.el (c-backward-over-enum-header):
1662 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1663 (c-inside-bracelist-p): Uses new function above.
1664 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1665 function above.
1666 (c-font-lock-enum-tail): Uses new function above.
1667
85b64f02
KH
16682013-10-13 Kenichi Handa <handa@gnu.org>
1669
1670 * international/mule-cmds.el (select-safe-coding-system): Remove a
1671 superfluous condition in chekcing whether a coding system is safe
1672 or not.
1673
fc7f501b
OK
16742013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1675
1676 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1677
fdcb2049
AP
16782013-10-13 Andreas Politz <politza@hochschule-trier.de>
1679
1680 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1681
8c106d17
GM
16822013-10-13 Glenn Morris <rgm@gnu.org>
1683
feab892d
GM
1684 * menu-bar.el (menu-bar-update-buffers):
1685 Unify Buffers menu prompt string. (Bug#15576)
1686
b22d0686
GM
1687 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1688
8c106d17
GM
1689 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1690 Add some entries.
1691 (authors-fixed-entries): Use accented form of name.
1692
1b12c797
SM
16932013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1694
650fa7bf 1695 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1696 method calls (bug#15594).
650fa7bf
SM
1697 (ruby-smie--args-separator-p): New function.
1698 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1699 recognize paren-free method calls.
1700
1b12c797
SM
1701 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1702 internals of universal-argument.
1703
029619c8
EZ
17042013-10-11 Eli Zaretskii <eliz@gnu.org>
1705
1706 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1707 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1708 dropped menu on second mouse click on the menu bar.
029619c8 1709
dd070019
SM
17102013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1713 (explicit-shell-file-name): Declare.
1714 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1715 (sh-completion-at-point-function): New function.
1716 (sh-mode): Use it.
1717 (sh-smie--keyword-p): Remove unused argument.
1718 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1719 vars.
1720 (sh-set-shell): Always setup SMIE, even if we use the
1721 old indentation code.
1722
0922b826
DG
17232013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1724
b68e2926
DG
1725 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1726 cases of ? and =.
1727 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1728 predicate would return nil are almost non-existent.
1729 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1730
0922b826
DG
1731 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1732 cache also after commands that modify the buffer but don't move
1733 point.
1734
ee041f2d
SM
17352013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * env.el (substitute-env-in-file-name): New function.
1738 (substitute-env-vars): Extend the meaning of the optional arg.
1739
a5dab159
EZ
17402013-10-10 Eli Zaretskii <eliz@gnu.org>
1741
1742 * term/w32-win.el (dynamic-library-alist): Define separate lists
1743 of GIF DLLs for versions before and after 5.0.0 of giflib.
1744 (Bug#15531)
1745
db138698
JT
17462013-10-10 João Távora <joaotavora@gmail.com>
1747
1748 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1749 not locked, use last revision and current source as
1750 defaults. (Bug#15569)
1751
2f6e161e
MY
17522013-10-10 Masatake YAMATO <yamato@redhat.com>
1753
1754 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1755 menu-bar is hidden.
1756
6c8413fc
MR
17572013-10-10 Martin Rudalics <rudalics@gmx.at>
1758
1759 * window.el (pop-to-buffer-same-window): Fix doc-string.
1760 (Bug#15492)
1761
20832de0
SM
17622013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1765
c6e8ae77
AC
17662013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1767
1768 * calendar/icalendar.el (icalendar-import-file):
1769 Fix interactive spec. (Bug#15482)
1770
9db13baf
GM
17712013-10-10 Glenn Morris <rgm@gnu.org>
1772
9271e90e
GM
1773 * desktop.el (desktop-save): Default to saving in .emacs.d,
1774 since PWD is no longer in desktop-path by default. (Bug#15319)
1775
9db13baf
GM
1776 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1777 now that text mode has a menu with the same entry.
1778 (menu-bar-text-mode-auto-fill): Remove now unused func.
1779 * textmodes/text-mode.el (text-mode-map):
1780 Use auto-fill help text from menu-bar.el.
1781
a0be396a 17822013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1783
1784 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1785
2edcd3c7
JL
17862013-10-09 Juri Linkov <juri@jurta.org>
1787
1788 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1789 instead of this-command-keys. Add universal-argument-more and
1790 universal-argument-minus to the list of prefix commands. (Bug#15568)
1791
574411d0
GM
17922013-10-09 Glenn Morris <rgm@gnu.org>
1793
14afa541
GM
1794 * vc/vc-svn.el (vc-svn-create-repo):
1795 Expand paths in file://... url. (Bug#15446)
1796
574411d0
GM
1797 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1798 Add some entries.
1799 (authors): Remove unused local variables.
1800
79804536
SM
18012013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * profiler.el: Create a more coherent calltree from partial backtraces.
1804 (profiler-format): Hide the tail with `invisible' so that C-s can still
1805 find the hidden elements.
1806 (profiler-calltree-depth): Don't recurse so enthusiastically.
1807 (profiler-function-equal): New hash-table-test.
1808 (profiler-calltree-build-unified): New function.
1809 (profiler-calltree-build): Use it.
1810 (profiler-report-make-name-part): Indent the calltree less.
1811 (profiler-report-mode): Add visibility specs for profiler-format.
1812 (profiler-report-expand-entry, profiler-report-toggle-entry):
1813 Expand the whole subtree when provided with a prefix arg.
1814
238150c8
DG
18152013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1818 iuwu-mod token.
1819 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1820 hanging iuwu-mod token.
1821 (ruby-smie--forward-token): Do not include a dot after a token in
1822 that token.
1823 (ruby-smie--backward-token): Likewise.
1824
b0949cc4
JL
18252013-10-08 Juri Linkov <juri@jurta.org>
1826
1827 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1828 to isearch-other-control-char.
1829 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1830 and isearch-post-command-hook to post-command-hook.
1831 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1832 and isearch-post-command-hook from post-command-hook.
1833 (isearch-unread-key-sequence)
1834 (isearch-reread-key-sequence-naturally)
1835 (isearch-lookup-scroll-key, isearch-other-control-char)
1836 (isearch-other-meta-char): Remove functions.
1837 (isearch-pre-command-hook, isearch-post-command-hook):
1838 New functions based on isearch-other-meta-char rewritten
1839 relying on the new behavior of overriding-terminal-local-map
1840 that does not replace the local keymaps any more. (Bug#15200)
1841
4ed77415
EZ
18422013-10-08 Eli Zaretskii <eliz@gnu.org>
1843
1844 Support menus on text-mode terminals.
1845 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1846 functionality.
1847
1848 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1849
c2de5588
DK
1850 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1851 Move here from mouse.el.
4ed77415
EZ
1852 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1853 and arrow keys.
1854 (tty-menu-navigation-map): New map for TTY menu navigation.
1855
1856 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1857
1858 * frame.el (display-mouse-p): Report text-mode mouse as available
1859 on w32.
1860 (display-popup-menus-p): Report availability if mouse is
1861 available; don't condition on window-system.
1862
1863 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1864 (tty-menu-selected-face): New faces.
1865
b7d5bd82
TL
18662013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1867
06286513
SM
1868 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1869 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1870 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1871 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1872 New constants.
1873 (lisp-mode-variables): New `elisp' argument.
1874 (emacs-lisp-mode): Use it.
1875 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1876 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1877
b7d5bd82
TL
1878 * indent.el: Use lexical-binding.
1879 (indent-region): Add progress reporter.
1880 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1881 last step.
1882 (indent--next-tab-stop): New function to implement this behavior.
1883 (tab-to-tab-stop, move-to-tab-stop): Use it.
1884
18852013-10-08 Teemu Likonen <tlikonen@iki.fi>
1886
1887 * indent.el (indent-rigidly--current-indentation): New function.
1888 (indent-rigidly-map): New var.
1889 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1890
5ea75d23
BG
18912013-10-08 Bastien Guerry <bzg@gnu.org>
1892
1893 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1894
cc5da1ec
SM
18952013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1896
8ffa1a0b
SM
1897 * progmodes/perl-mode.el: Use lexical-binding.
1898 Remove redundant :group args.
1899 (perl-nochange): Change default to be closer to other major modes's
1900 standard behavior.
1901 (perl-indent-line): Don't consider text on current line as a
1902 valid beginning of function from which to indent.
1903
f2223371
SM
1904 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1905 with more than one argument (bug#15538).
1906
44256060
SM
1907 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1908
cc5da1ec
SM
1909 * vc/pcvs.el: Use lexical-binding.
1910 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1911 environment of `eval'.
1912 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1913 than a list of expressions. Adjust callers.
1914 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1915
0ea1599d
DG
19162013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1917
1918 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1919 case of the dot in a chained method call being on the following line.
0ea1599d 1920
da3e5ebb
SM
19212013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1922
2abb4e65
SM
1923 * electric.el (electric-indent-inhibit): New var.
1924 (electric-indent-post-self-insert-function): Use it.
1925 * progmodes/python.el (python-mode): Set it.
1926
d2e0e795
SM
1927 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1928 open braces.
1929
1930 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1931
bdc6b4c8
SM
1932 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1933 (css-mode): Use electric-indent-chars.
1934
da3e5ebb
SM
1935 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1936 (font-lock-beg, font-lock-end): Move before first use.
1937 (nxml-mode): Use syntax-propertize-function.
1938 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1939 (nxml-extend-after-change-region): Remove.
1940 * nxml/xmltok.el: Use lexical-binding.
1941 (xmltok-save): Use `declare'.
1942 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1943 * nxml/nxml-util.el: Use lexical-binding.
1944 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1945 Use `declare'.
1946 * nxml/nxml-ns.el: Use lexical-binding.
1947 (nxml-ns-save): Use `declare'.
1948 (nxml-ns-prefixes-for): Avoid add-to-list.
1949 * nxml/rng-match.el: Use lexical-binding.
1950 (rng--ipattern): Use cl-defstruct.
1951 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1952 (rng-cons-group-after, rng-subst-group-after)
1953 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1954 Use closures instead of `(lambda...).
1955
f8f91d5d
MA
19562013-10-07 Michael Albinus <michael.albinus@gmx.de>
1957
1958 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1959 of BEG and END.
1960
da3e5ebb
SM
1961 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1962 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1963 (tramp-gvfs-handle-insert-file-contents): Remove function.
1964
da3e5ebb
SM
1965 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1966 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1967
1968 * net/trampver.el: Update release number.
1969
7ccae3b1
SM
19702013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1971
55ca2c0d
SM
1972 * progmodes/compile.el (compilation-parse-errors):
1973 Use compilation--put-prop.
1974 (compilation--ensure-parse): Check compilation-multiline.
1975
731fc3ae
SM
1976 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1977
da3e5ebb
SM
1978 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1979 lexical-binding.
a5833280 1980
2e7ba2c2
SM
1981 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1982
7ccae3b1
SM
1983 * progmodes/ruby-mode.el: Fix recently added tests.
1984 (ruby-smie-grammar): Add - and +.
1985 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1986 (ruby-smie--backward-id): New functions.
1987 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1988 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1989 any more.
1990
85698d63
LL
19912013-10-07 Leo Liu <sdl.web@gmail.com>
1992
1993 * register.el (register-preview-delay)
1994 (register-preview-functions): New variables.
1995 (register-read-with-preview, register-preview)
1996 (register-describe-oneline): New functions.
1997 (point-to-register, window-configuration-to-register)
1998 (frame-configuration-to-register, jump-to-register)
1999 (number-to-register, view-register, insert-register)
2000 (copy-to-register, append-to-register, prepend-to-register)
2001 (copy-rectangle-to-register): Use register-read-with-preview to
2002 read register. (Bug#15525)
2003
3986af6c
DS
20042013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2005
2006 * net/network-stream.el (network-stream-open-starttls): Don't add
2007 --insecure if it's already present, because that gnutls-cli
2008 rejects getting that parameter twice.
2009
5cd9cda9
DG
20102013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2011
2012 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2013 keyword, too.
2014
da9ea6d9
DG
20152013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2016
2017 * newcomment.el (comment-use-global-state): Change default value
2018 to t, mark obsolete (Bug#15251).
2019 (comment-beginning): In addition to `comment-to-syntax', check the
2020 value of `comment-use-global-state'.
2021
34d1a133
SM
20222013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2025 (ruby-comment-column): Follow the global default, by default.
2026 (ruby-smie-grammar): Add assignment syntax.
2027 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2028 open-paren, a comma, or a \.
2029 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2030 and line continuations.
2031 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2032 followed by implicit semi-colons. Add rule for string concatenation
2033 and for indentation at BOB.
2034 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2035
2036 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2037 calling next-sexp, since next-token may have skipped chars which
2038 next-sexp doesn't know should be skipped!
2039
6f6ab820
LL
20402013-10-05 Leo Liu <sdl.web@gmail.com>
2041
34d1a133
SM
2042 * progmodes/octave.el (octave-send-region):
2043 Call compilation-forget-errors.
6f6ab820 2044
34ca0f4c
XF
20452013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2046
2047 * vc/vc-svn.el (vc-svn-find-admin-dir):
2048 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2049 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2050 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2051 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2052
a27c1b72
SM
20532013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2056
258ab3bc
SM
20572013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * subr.el (read-passwd): Hide chars even when called within a context
2060 where after-change-functions is disabled (bug#15501).
2061 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2062 until we removed ourself from overriding-terminal-local-map.
2063
939fb29c
LL
20642013-10-04 Leo Liu <sdl.web@gmail.com>
2065
258ab3bc
SM
2066 * progmodes/octave.el (inferior-octave-mode):
2067 Call compilation-forget-errors.
939fb29c 2068
63bd7f35
XF
20692013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2070
2071 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2072
9e6229fa
MA
20732013-10-04 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * net/secrets.el (secrets-create-collection): Add optional
2076 argument ALIAS. Use proper Label keyword. Append ALIAS as
2077 dbus-call-method argument. (Bug#15516)
2078
1dab32a3
LL
20792013-10-04 Leo Liu <sdl.web@gmail.com>
2080
2081 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2082 (inferior-octave-compilation-font-lock-keywords): New variables.
2083 (compilation-error-regexp-alist)
2084 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2085 (inferior-octave-mode): Use compilation-shell-minor-mode.
2086
6cad7ba3
JS
20872013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2088
2089 * minibuffer.el (completion--replace): Be careful that `end' might be
2090 a marker.
2091
acbadd00
DU
20922013-10-03 Daiki Ueno <ueno@gnu.org>
2093
2094 Add support for package signature checking.
2095 * emacs-lisp/package.el (url-http-file-exists-p)
2096 (epg-make-context, epg-context-set-home-directory)
2097 (epg-verify-string, epg-context-result-for)
2098 (epg-signature-status, epg-signature-to-string)
2099 (epg-check-configuration, epg-configuration)
2100 (epg-import-keys-from-file): Declare.
2101 (package-check-signature): New user option.
2102 (package-unsigned-archives): New user option.
2103 (package-desc): Add `signed' field.
2104 (package-load-descriptor): Set `signed' field if .signed file exists.
2105 (package--archive-file-exists-p): New function.
2106 (package--check-signature): New function.
2107 (package-install-from-archive): Check package signature.
2108 (package--download-one-archive): Check archive signature.
2109 (package-delete): Remove .signed file.
2110 (package-import-keyring): New command.
2111 (package-refresh-contents): Import default keyring.
2112 (package-desc-status): Add "unsigned" status.
2113 (describe-package-1, package-menu--print-info)
2114 (package-menu-mark-delete, package-menu--find-upgrades)
2115 (package-menu--status-predicate): Support "unsigned" status.
2116
adf2aa61
SM
21172013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2120 the new compilation scheme using the new byte-codes.
2121
2122 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2123 (byte-pophandler): New byte codes.
2124 (byte-goto-ops): Adjust accordingly.
2125 (byte-compile--use-old-handlers): New var.
2126 (byte-compile-catch): Use new byte codes depending on
2127 byte-compile--use-old-handlers.
2128 (byte-compile-condition-case--old): Rename from
2129 byte-compile-condition-case.
2130 (byte-compile-condition-case--new): New function.
2131 (byte-compile-condition-case): New function that dispatches depending
2132 on byte-compile--use-old-handlers.
2133 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2134 when we can.
2135
2136 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2137 Optimize under `condition-case' and `catch' if
2138 byte-compile--use-old-handlers is nil.
2139 (disassemble-offset): Handle new bytecodes.
2140
328a8179
SM
21412013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * subr.el (error): Use `declare'.
2144 (decode-char, encode-char): Use advertised-calling-convention instead
2145 of the docstring to discourage use of the `restriction' arg.
2146
15a1e936
DU
21472013-10-03 Daiki Ueno <ueno@gnu.org>
2148
2149 * epg.el (epg-verify-file): Add a comment saying that it does not
2150 notify verification error as a return value nor a signal.
2151 (epg-verify-string): Ditto.
2152
376f862a
KR
21532013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2154
2155 * progmodes/compile.el (compilation-start): Try globbing the arg to
2156 `cd' (bug#15417).
2157
a2f93a5f
MA
21582013-10-02 Michael Albinus <michael.albinus@gmx.de>
2159
2160 Sync with Tramp 2.2.8.
2161
2162 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2163 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2164 * net/trampver.el: Update release number.
2165
0daa0804
JD
21662013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2167
2168 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2169 and default-process-coding-system for darwin only.
2170
abd1ae34
SM
21712013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2174
be4e325d
MH
21752013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2176
2177 * vc/vc-git.el (vc-git-grep): Disable pager.
2178
e9155c4a
DG
21792013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2180
494e898b
DG
2181 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2182 Use :url instead of :homepage, as per
2183 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2184
e9155c4a
DG
2185 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2186 non-nil, use `syntax-ppss' (Bug#15251).
2187
481a8e0f
RS
21882013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2189
be4e325d
MH
2190 * progmodes/octave.el (inferior-octave-startup-file):
2191 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 2192
056453c6
DG
21932013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2194
be4e325d
MH
2195 * emacs-lisp/package.el (package-desc-from-define):
2196 Accept additional arguments as plist, convert them to an alist and store
2197 them in the `extras' slot.
056453c6
DG
2198 (package-generate-description-file): Convert extras alist back to
2199 plist and append to the `define-package' form arguments.
2200 (package--alist-to-plist): New function.
2201 (package--ac-desc): Add `extras' slot.
2202 (package--add-to-archive-contents): Check if the archive-contents
2203 vector is long enough, and if it is, pass its `extras' slot value
2204 to `package-desc-create'.
2205 (package-buffer-info): Call `lm-homepage', pass the returned value
2206 to `package-desc-from-define'.
2207 (describe-package-1): Render the homepage button (Bug#13291).
2208
be4e325d
MH
2209 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2210 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 2211
832966e5
JD
22122013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2213
2214 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2215 and default-process-coding-system to utf-8-unix (Bug#15402).
2216
6cfe977d
XF
22172013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2218
2219 * subr.el (looking-back): Do not recommend using looking-back.
2220
38de11bd
AM
22212013-09-28 Alan Mackenzie <acm@muc.de>
2222
2223 Fix indentation/fontification of Java enum with "implements".
2224
2225 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2226 regexp which matches "implements", etc., in Java.
2227 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2228 specifier clauses coming after "enum".
2229 * progmodes/cc-fonts.el (c-font-lock-declarations)
2230 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2231 after "enum".
2232
1610938f
JD
22332013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2234
2235 * faces.el (region): Change ns_selection_color to
2236 ns_selection_fg_color, add ns_selection_bg_color.
2237
e090f499
LL
22382013-09-28 Leo Liu <sdl.web@gmail.com>
2239
4d2e94d1
LL
2240 * progmodes/octave.el (inferior-octave-completion-table)
2241 (inferior-octave-completion-at-point): Minor tweaks.
2242
e090f499
LL
2243 * textmodes/ispell.el (ispell-lookup-words): Rename from
2244 lookup-words. (Bug#15460)
2245 (lookup-words): Obsolete.
2246 (ispell-complete-word, ispell-command-loop): All uses changed.
2247
7e138a62
RS
22482013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2249
2250 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2251 (octave-mode-menu): Add octave-send-buffer.
2252 (octave-send-buffer): New function.
2253
5af5ed08
RS
22542013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2255
2256 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2257 octave-lookfor.
2258 (octave-mode-menu): Add octave-lookfor.
2259 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2260 octave-lookfor.
2261 (octave-lookfor): New function.
2262
3b7b2692
SM
22632013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/cl-macs.el:
2266 (cl--loop-destr-temps): Remove.
2267 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2268 its convention.
2269 (cl--loop-set-iterator-function): New function.
2270 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2271 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2272 Bind `it' with `let' instead of substituting it with `cl-subst'.
2273 (cl--unused-var-p): New function.
2274 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2275 Eliminate some unused variable warnings (bug#15326).
2276
529fb53f
TH
22772013-09-27 Tassilo Horn <tsdh@gnu.org>
2278
2279 * doc-view.el (doc-view-scale-reset): Rename from
2280 `doc-view-reset-zoom-level'.
2281 (doc-view-scale-adjust): New command.
2282 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2283 `doc-view-scale-adjust'.
2284
0550c95a
TH
22852013-09-26 Tassilo Horn <tsdh@gnu.org>
2286
2287 * doc-view.el (doc-view-reset-zoom-level): New command.
2288 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2289 zoom commands (bug#15466).
2290
6950f152
KH
22912013-09-26 Kenichi Handa <handa@gnu.org>
2292
2293 * international/quail.el (quail-help): Make it not a command.
2294
39587580
LL
22952013-09-26 Leo Liu <sdl.web@gmail.com>
2296
2297 * minibuffer.el (completion-all-sorted-completions): Make args
2298 optional as they are.
2299
00578659
DC
23002013-09-25 Daniel Colascione <dancol@dancol.org>
2301
2302 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2303 specs are and that they're not evaluated.
2304
0c173878
SS
23052013-09-24 Sam Steingold <sds@gnu.org>
2306
2307 * midnight.el (clean-buffer-list-kill-regexps)
2308 (clean-buffer-list-kill-buffer-names): Update for the new Man
2309 buffer naming which includes the object name.
2310
84998447
SM
23112013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2314 (eshell-parse-command, eshell-parse-pipeline): Use it since
2315 eshell-separate-commands requires a dynamic scoped var.
2316 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2317
33215353
LL
23182013-09-23 Leo Liu <sdl.web@gmail.com>
2319
2320 * autoinsert.el (auto-insert-alist): Make the value of
2321 lexical-binding match its file setting.
2322
57b16162
JB
23232013-09-23 Juanma Barranquero <lekktu@gmail.com>
2324
c8af4e67
JB
2325 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2326
57b16162
JB
2327 * autoarg.el (autoarg-kp-digit-argument):
2328 * electric.el (Electric-command-loop):
2329 * kmacro.el (kmacro-step-edit-insert):
2330 Do not set universal-argument-num-events.
2331
7186ba60
LL
23322013-09-22 Leo Liu <sdl.web@gmail.com>
2333
2334 * files.el (interpreter-mode-alist): Add octave.
2335
ece15004
AM
23362013-09-21 Alan Mackenzie <acm@muc.de>
2337
2338 C++: fontify identifier in declaration following "public:" correctly.
2339 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2340 to match "public", etc.
2341 (c-decl-prefix-re): Add ":" into the C++ value.
2342 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2343 bit. Add a check for a ":" preceded by "public", etc.
2344
75d83e22
EZ
23452013-09-21 Eli Zaretskii <eliz@gnu.org>
2346
2347 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2348 recognized by GDB 7.5 and later.
2349
d052d3bd
XF
23502013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2351
2352 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2353
31dca772
R
23542013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * subr.el (internal--call-interactively): New const.
2357 (called-interactively-p): Use it (bug#3984).
2358
98ccf24e
XF
23592013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2360
2361 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
2362 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2363 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 2364
c39cc7d1
SM
23652013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2368 (eshell-ls-orig-insert-directory): Remove.
2369 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2370 (eshell-ls-use-in-dired): Use advice-add/remove.
2371 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2372 Add `orig-fun' arg for use in :around advice.
2373 Make it check (redundantly) eshell-ls-use-in-dired.
2374
9a0289a2
GM
23752013-09-19 Glenn Morris <rgm@gnu.org>
2376
a2c501b8
GM
2377 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2378
c440407a
GM
2379 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2380
9a0289a2
GM
2381 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2382
85e05915
MA
23832013-09-19 Michael Albinus <michael.albinus@gmx.de>
2384
2385 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2386 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2387 (tramp-get-remote-python): New defuns.
2388 (tramp-get-remote-uid-with-perl)
2389 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2390 contributed by yary <not.com@gmail.com> (tiny change).
2391 (tramp-get-remote-uid-with-python)
2392 (tramp-get-remote-gid-with-python): New defuns. Python code
2393 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2394 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2395
ce503312
GM
23962013-09-19 Glenn Morris <rgm@gnu.org>
2397
f7544773
GM
2398 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2399
72fd2877
GM
2400 * eshell/em-unix.el (eshell-remove-entries):
2401 Rename argument to avoid name-clash with global `top-level'.
2402
336b5a56
GM
2403 * eshell/esh-proc.el (eshell-kill-process-function):
2404 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2405 (eshell-reset-after-proc): Remove unused arg `proc'.
2406
57a3a53d
GM
2407 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2408 (directory-files-and-attributes): Mark unused arg.
2409
3261d4af
GM
2410 * eshell/em-unix.el (eshell-remove-entries):
2411 Remove unused arg `path'. Update callers.
2412
8e51b5d0
GM
2413 * eshell/em-hist.el (eshell-hist-parse-arguments):
2414 Remove unused arg `silent'. Update callers.
2415
ce503312
GM
2416 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2417 Fix (f)boundp mix-up.
2418
2419 * eshell/em-smart.el (eshell-smart-scroll-window)
2420 (eshell-disable-after-change):
336b5a56 2421 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 2422
ee3ce8a7
AM
24232013-09-18 Alan Mackenzie <acm@muc.de>
2424
2425 Fix fontification of type when followed by "const".
2426 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2427 "known" types from fontification.
2428
ec9177ba
GM
24292013-09-18 Glenn Morris <rgm@gnu.org>
2430
7bb3e768
GM
2431 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2432 (chart-face-list): Drop Emacsen without display-color-p.
2433
5148da15
GM
2434 * net/eww.el (libxml-parse-html-region): Declare.
2435 (eww-display-html): Explicit error if no libxml2 support.
2436
2f68e157
GM
2437 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2438
9019d095
GM
2439 * image.el (image-type-from-buffer, image-multi-frame-p):
2440 Remove --without-x warning/error.
67645389 2441
5f30349b 2442 * mouse.el (mouse-yank-primary):
45069b2e 2443 * term.el (term-mouse-paste):
5f30349b
GM
2444 Reorder to silence --without-x compilation.
2445
cd8edbbe
GM
2446 * mpc.el (doc-view-mode): Silence --without-x compilation.
2447
8a78544e
GM
2448 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2449 Silence --without-x compilation.
2450
12679bfd
GM
2451 * progmodes/gud.el (gud-find-file, gud-mode):
2452 Silence --without-x compilation.
2453 (tooltip-mode): Declare.
30810a05 2454
f0047cb9
GM
2455 * wdired.el (dired-backup-overwrite): Remove declaration.
2456 (wdired-mode-map): Add doc string.
2457
e740f9d2
GM
2458 * custom.el (x-get-resource): Declare.
2459
92d77c89
GM
2460 * eshell/em-glob.el (ange-cache):
2461 * eshell/em-unix.el (ange-cache): Declare.
2462
76e69577
GM
2463 * faces.el (x-display-list, x-open-connection, x-get-resource):
2464 Declare.
7e58af4b
GM
2465
2466 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2467 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2468 Declare.
76e69577 2469
4bd4c0af 2470 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 2471
ffb82dbd
GM
2472 * net/gnutls.el (gnutls-log-level): Declare.
2473
986ed135
GM
2474 * net/shr.el (image-size, image-animate): Declare.
2475
e740f9d2
GM
2476 * simple.el (font-info): Declare.
2477
d2f3e9f8
GM
2478 * subr.el (x-popup-dialog): Declare.
2479
047a1a4c
GM
2480 * term/common-win.el (x-select-enable-primary)
2481 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2482 Declare.
2483
f4a1d572
GM
2484 * term/ns-win.el (x-handle-args): Declare.
2485
e843de77
GM
2486 * term/x-win.el (x-select-enable-clipboard): Declare.
2487
5fa89513
GM
2488 * term/w32-win.el (create-default-fontset): Declare.
2489
38702b5b
GM
2490 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2491 Declare.
2492
e740f9d2
GM
2493 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2494 (fit-frame-to-buffer): Explicit error if --without-x.
2495 (mouse-autoselect-window-select): Silence compiler.
2496
49a053fc
GM
2497 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2498
2499 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2500 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2501 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 2502 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
2503 Remove unused local variables.
2504
2505 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2506
ec9177ba
GM
2507 * textmodes/two-column.el: Make 2C-split work for --without-x.
2508 (scroll-bar-columns): Autoload.
2509 (top-level): Require fringe when compiling.
2510
9f25cb77
LL
25112013-09-18 Leo Liu <sdl.web@gmail.com>
2512
2513 * subr.el (add-hook): Robustify to handle closure as well.
2514
2b42da98
GM
25152013-09-17 Glenn Morris <rgm@gnu.org>
2516
2517 * simple.el (messages-buffer-mode-map): Unbind "g".
2518
e8b66a6a
SM
25192013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2520
9c0ad4f7
SM
2521 * help-mode.el (help-mode-finish): Use derived-mode-p.
2522 Remove obsolete highlighting.
2523
7a806dfb
SM
2524 * play/life.el (life-mode): Use define-derived-mode. Derive from
2525 special-mode.
2526 (life): Let-bind inhibit-read-only.
2527 (life-setup): Avoid `setq'. Use `life-mode'.
2528
96dbf5a8
SM
2529 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2530 which should not be needed any more.
2531 (package-menu-refresh, package-menu-describe-package): Use user-error.
2532
e8b66a6a
SM
2533 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2534 (eshell-post-rewrite-command-hook): Make obsolete.
2535 (eshell-parse-command): Simplify.
2536 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2537 (eshell--cmd): Declare.
2538 (eshell-parse-pipeline): Remove unused var `final-p'.
2539 Pass a dynvar to eshell-post-rewrite-command-hook.
2540 Implement the new eshell-post-rewrite-command-function.
2541 (eshell-invoke-directly): Remove unused arg `input'.
2542 * eshell/esh-io.el (eshell-io-initialize):
2543 Use eshell-post-rewrite-command-function (bug#15399).
2544 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2545 adjust to new calling convention.
2546 (eshell-create-handles): Rename args to avoid clashing with dynvar
2547 `standard-output'.
2548
90582f05
GM
25492013-09-17 Glenn Morris <rgm@gnu.org>
2550
2551 * simple.el (messages-buffer-mode): New major mode.
2552 (messages-buffer): New function.
2553 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2554 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 2555 (ert-run-test): Use `messages-buffer' function.
90582f05 2556 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
2557 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2558 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 2559
39eb0cb5 25602013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
2561
2562 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2563
1f1e06e2
SM
2564 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2565
70568a90
SM
25662013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2567
504a0381
SM
2568 * icomplete.el (icomplete-in-buffer): New var.
2569 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2570 vars and replace them with functions.
2571 (icomplete-minibuffer-setup): Adjust accordingly.
2572 (icomplete--completion-table, icomplete--completion-predicate)
2573 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2574 New functions.
2575 (icomplete-forward-completions, icomplete-backward-completions)
2576 (icomplete-simple-completing-p, icomplete-exhibit)
2577 (icomplete-completions): Use them.
2578 (icomplete--in-region-buffer): New var.
2579 (icomplete--in-region-setup): New function.
2580 (icomplete-mode): Use it.
2581
70568a90
SM
2582 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2583 (bug#15379).
2584 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2585 return args and options.
2586 (eshell-eval-using-options): Use the new return value of
2587 eshell--do-opts to set the options's vars in their scope.
2588 (eshell--set-option): Rename from eshell-set-option.
2589 Add arg `opt-vals'.
2590 (eshell--process-option): Rename from eshell-process-option.
2591 Add arg `opt-vals'.
2592 (eshell--process-args): Use an `opt-vals' alist to store the options's
2593 values during their processing and return them additionally to the
2594 remaining args.
2595
578c21bc
DG
25962013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2597
2598 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2599 continuation character an operator, as far as indentation is
2600 concerned (Bug#15369).
2601
c089653d
MR
26022013-09-15 Martin Rudalics <rudalics@gmx.at>
2603
2604 * window.el (window--state-put-2): Don't process buffer state
2605 when buffer doesn't exist any more (Bug#15382).
2606
1e53bb4b
GM
26072013-09-15 Glenn Morris <rgm@gnu.org>
2608
30753242
GM
2609 * eshell/em-unix.el (eshell/rm):
2610 Make -f ignore missing files. (Bug#15373)
2611
1e53bb4b
GM
2612 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2613 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2614 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2615
0d8863b3
GM
26162013-09-14 Glenn Morris <rgm@gnu.org>
2617
2618 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2619
d3fc6549
GM
26202013-09-13 Glenn Morris <rgm@gnu.org>
2621
2622 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2623 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2624
fcd42c11
DA
26252013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2626
2627 * frame.el (x-focus-frame): Mark as declared in frame.c.
2628
7830899f
SM
26292013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * ls-lisp.el: Use advice-add.
2632 (original-insert-directory): Remove.
2633 (ls-lisp--insert-directory): Rename from insert-directory; add
2634 `orig-fun' argument.
2635 (insert-directory): Advise.
2636
84387cd2
EZ
26372013-09-13 Eli Zaretskii <eliz@gnu.org>
2638
2639 * term.el (term-emulate-terminal): Decode the command string
2640 before passing it to term-command-hook. (Bug#15337)
2641
35ffc6ba
GM
26422013-09-13 Glenn Morris <rgm@gnu.org>
2643
5c3f9bcc
GM
2644 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2645
2ada368a
GM
2646 * eshell/esh-ext.el (eshell-search-path): Declare.
2647
fcef2e13
GM
2648 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2649 Otherwise an error occurs if eshell-dirs module not loaded.
2650
35ffc6ba
GM
2651 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2652
35c3d36e
MA
26532013-09-13 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2656 `tramp-check-proper-host'. Check for a valid method name.
2657
2658 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2659 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2660 * net/tramp-sh.el (tramp-maybe-open-connection):
2661 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2662
2663 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2664 also for hash values.
2665
ae5e4c48
SM
26662013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2667
379add74
SM
2668 * term/ns-win.el (parameters): Don't declare as dynamic.
2669 (before-make-frame-hook): Don't add ineffective function.
2670
ae5e4c48
SM
2671 * eshell/*.el: Use lexical-binding (bug#15231).
2672
b5623270
KH
26732013-09-12 Kenichi Handa <handa@gnu.org>
2674
ae5e4c48 2675 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2676
30213927
GM
26772013-09-12 Glenn Morris <rgm@gnu.org>
2678
be94d713 2679 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2680 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2681
44915370
GM
2682 * subr.el (do-after-load-evaluation): Also give compiler warnings
2683 when obsolete files are used (except by obsolete files).
2684
a6ae021f
GM
2685 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2686 in the status output, assume `filename' is the first. (Bug#15322)
2687
40e64f0c
GM
2688 * vc/vc.el (vc-deduce-fileset): Doc fix.
2689
16d9f896
GM
2690 * calc/calc-help.el (Info-goto-node):
2691 * progmodes/cperl-mode.el (Info-find-node):
2692 * vc/ediff.el (Info-goto-node): Update declarations.
2693
dea01c6e
GM
2694 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2695
759880bf 2696 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2697 (vc-bzr-pull): Require vc-dispatcher.
2698 * vc/vc-git.el (vc-compilation-mode): Declare.
2699 (vc-git-pull): Require vc-dispatcher.
2700
08d66420
GM
2701 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2702
30b626e9
GM
2703 * progmodes/octave.el (help-button-action): Declare.
2704
8c05cb10
GM
2705 * shell.el (shell-directory-tracker): Output error as a message
2706 rather than just returning it as a string.
2707 (shell-process-pushd): Remove useless use of message.
2708
30213927
GM
2709 * dframe.el (dframe-timer-fn):
2710 * files.el (dir-locals-read-from-file):
2711 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2712 (mpc-format):
2713 * reveal.el (reveal-post-command):
2714 * saveplace.el (load-save-place-alist-from-file):
2715 * shell.el (shell-resync-dirs):
2716 * w32-common-fns.el (x-get-selection-value):
2717 * emacs-lisp/copyright.el (copyright-find-copyright):
2718 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2719 * emulation/tpu-edt.el (tpu-copy-keyfile):
2720 * play/bubbles.el (bubbles--mark-neighbourhood):
2721 * progmodes/executable.el
2722 (executable-make-buffer-file-executable-if-script-p):
2723 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2724
d3b049e6
SM
27252013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2726
170266d0
SM
2727 Cleanup Eshell to rely less on dynamic scoping.
2728 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2729 last-value, and ext-command here. Bind `args' closer to `body'.
2730 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2731 (eshell--args): Declare new dynamic var.
2732 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2733 last-value, and ext-command. Pass `args' to `body'.
2734 (eshell-process-args): Bind eshell--args.
2735 (eshell-set-option): Use eshell--args.
2736 * eshell/eshell.el (eshell): Use derived-mode-p.
2737 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2738 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2739 (eshell-glob-function): Declare.
2740 * eshell/esh-util.el: Require cl-lib.
2741 (eshell-read-hosts-file): Avoid add-to-list.
2742 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2743 `err'.
2744 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2745 Declare.
2746 (eshell/diff): Remove unused var `err'.
2747 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2748 `killflag'.
2749 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2750 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2751 first use.
2752 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2753 Move declaration before first use.
2754 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2755 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2756 rely on cl-return.
2757
56834f3b
GM
27582013-09-12 Glenn Morris <rgm@gnu.org>
2759
2760 * term/ns-win.el (global-map): Remove binding for ispell-next,
2761 deleted 1999-05-29. (Bug#15357)
2762
5c91a2b8
GM
27632013-09-11 Glenn Morris <rgm@gnu.org>
2764
da712f22
GM
2765 * echistory.el (electric-command-history): Remove call to deleted func.
2766
512e4cdc
GM
2767 * play/landmark.el (landmark-mode): Fix typos.
2768
d3506ca5
GM
2769 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2770 Check cvs-sort-ignore-file is bound.
2771
5c91a2b8
GM
2772 * savehist.el: No need for cl when compiling on Emacs.
2773
feeff482
SM
27742013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2775
656bd483
SM
2776 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2777 (bug#15338).
d3b049e6
SM
2778 (eshell-self-insert-command, eshell-send-invisible):
2779 Remove unused argument.
656bd483
SM
2780 (eshell-handle-control-codes): Remove unused var `orig'.
2781 Avoid delete-backward-char.
2782
feeff482
SM
2783 * files.el (set-auto-mode): Simplify a bit further.
2784
2a08047a
GM
27852013-09-11 Glenn Morris <rgm@gnu.org>
2786
2787 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2788 (set-auto-mode): Don't regexp-quote elements.
2789 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2790 * progmodes/cc-mode.el (interpreter-mode-alist):
2791 * progmodes/ruby-mode.el (interpreter-mode-alist):
2792 Revert previous change.
2793
34675540
SM
27942013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2795
1b3b87df
SM
2796 * play/snake.el (snake-mode):
2797 * play/mpuz.el (mpuz-mode):
2798 * play/landmark.el (lm-mode):
2799 * play/blackbox.el (blackbox-mode):
2800 * play/5x5.el (5x5-mode):
2801 * obsolete/options.el (Edit-options-mode):
2802 * net/quickurl.el (quickurl-list-mode):
2803 * net/newst-treeview.el (newsticker-treeview-mode):
2804 * mail/rmailsum.el (rmail-summary-mode):
2805 * mail/mspools.el (mspools-mode):
2806 * locate.el (locate-mode):
2807 * ibuffer.el (ibuffer-mode):
2808 * emulation/ws-mode.el (wordstar-mode):
2809 * emacs-lisp/debug.el (debugger-mode):
2810 * array.el (array-mode):
2811 * net/eudc.el (eudc-mode): Use define-derived-mode.
2812 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2813 Move initialization into declaration.
2814 (mairix-searches-mode): Use define-derived-mode.
2815 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2816 (eudc-edit-hotlist): Use dolist.
2817 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2818 (Man-mode): Use define-derived-mode.
2819 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2820 (Info-edit-mode): Use define-derived-mode.
2821 (Info-cease-edit): Use Info-mode.
2822 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2823 into declaration.
2824 (eshell-mode): Use define-derived-mode.
2825 * chistory.el (command-history-mode-map): Rename from
2826 command-history-map.
2827 (command-history-mode): Use define-derived-mode.
da712f22 2828 (Command-history-setup): Remove function.
1b3b87df
SM
2829 * calc/calc.el (calc-trail-mode-map): New var.
2830 (calc-trail-mode): Use define-derived-mode.
2831 (calc-trail-buffer): Set calc-main-buffer manually.
2832 * bookmark.el (bookmark-insert-annotation): New function.
2833 (bookmark-edit-annotation): Use it.
2834 (bookmark-edit-annotation-mode): Make it a proper major mode.
2835 (bookmark-send-edited-annotation): Use derived-mode-p.
2836 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2837 closer to its ideal place. Use \' to match EOS.
2838
34675540
SM
2839 * profiler.el (profiler-calltree-find): Use function-equal.
2840
6a5c15d9
GM
28412013-09-10 Glenn Morris <rgm@gnu.org>
2842
1af4c220
GM
2843 * files.el (interpreter-mode-alist): Convert to regexps.
2844 (set-auto-mode): Adapt for this. (Bug#15306)
2845 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2846 Comment out unused variable.
2847 * progmodes/cc-mode.el (interpreter-mode-alist):
2848 * progmodes/python.el (interpreter-mode-alist):
2849 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2850 * progmodes/sh-script.el (sh-set-shell):
2851 No longer use interpreter-mode-alist to get list of shells.
2852
6a5c15d9
GM
2853 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2854
8c27f5ff
SM
28552013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2856
02ef6c1a 2857 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2858 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2859 Bind switch-frame explicitly. Replace universal-argument-minus with
2860 a conditional binding.
2861 (universal-argument-num-events, saved-overriding-map): Remove.
2862 (restore-overriding-map): Remove.
2863 (universal-argument--mode): Rename from save&set-overriding-map,
2864 and rewrite.
2865 (universal-argument, universal-argument-more, negative-argument)
2866 (digit-argument): Adjust accordingly.
2867 (universal-argument-minus): Remove.
2868 (universal-argument-other-key): Remove.
2869
8c27f5ff
SM
2870 * subr.el (with-demoted-errors): Add `format' argument.
2871
6480194c
MA
28722013-09-10 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2875 `tramp-cleanup-connection'.
2876
2877 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2878 parameters KEEP-DEBUG and KEEP-PASSWORD.
2879
2880 * net/tramp.el (tramp-file-name-handler):
2881 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2882 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2883 (tramp-maybe-open-connection):
8c27f5ff
SM
2884 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2885 Use `tramp-cleanup-connection'.
6480194c 2886
8c27f5ff
SM
2887 * net/tramp-sh.el (tramp-maybe-open-connection):
2888 Catch 'uname-changed inside the progress reporter.
6480194c 2889
e5e916d8
GM
28902013-09-10 Glenn Morris <rgm@gnu.org>
2891
9a2c9b47
GM
2892 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2893
e5e916d8
GM
2894 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2895 returns "alternate access method" in mode (eg "-rw-r--r--.").
2896
144e38fe
GM
28972013-09-08 Glenn Morris <rgm@gnu.org>
2898
2899 * saveplace.el (load-save-place-alist-from-file):
2900 Demote errors. (Bug#15305)
2901
af9ff9e8
MA
29022013-09-08 Michael Albinus <michael.albinus@gmx.de>
2903
2904 Improve compatibility with older Emacsen, and XEmacs.
2905
2906 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2907 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2908 (with-tramp-progress-reporter): Do not let-bind `result'.
2909 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2910 (tramp-handle-make-auto-save-file-name): New function, moved from
2911 tramp-sh.el.
2912
2913 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2914 for `make-auto-save-file-name'.
8c27f5ff
SM
2915 (tramp-adb--gnu-switches-to-ash):
2916 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2917
2918 * net/tramp-cache.el (tramp-cache-print): Call
2919 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2920
2921 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2922 bound. It isn't for XEmacs.
2923
8c27f5ff
SM
2924 * net/tramp-compat.el (tramp-compat-copy-file):
2925 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2926 (tramp-compat-replace-regexp-in-string): New defun.
2927
2928 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2929 for `make-auto-save-file-name'.
2930 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2931 `copy-file'.
2932 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2933 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2934 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2935
8c27f5ff
SM
2936 * net/tramp-gw.el (tramp-gw-open-network-stream):
2937 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2938
8c27f5ff
SM
2939 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2940 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2941 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2942 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2943 (tramp-sh-file-inotifywait-process-filter):
2944 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2945 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2946
2947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2948 for `make-auto-save-file-name'.
8c27f5ff
SM
2949 (tramp-smb-handle-copy-directory):
2950 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2951 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2952 (tramp-smb-handle-copy-file): Improve error message.
2953 (tramp-smb-handle-rename-file): Rename directly only in case
2954 `newname' does not exist yet. This is a restriction of smbclient.
2955 (tramp-smb-maybe-open-connection): Rerun the function only when
2956 `auth-sources' is non-nil.
2957
0ca754d0
KH
29582013-09-08 Kenichi Handa <handa@gnu.org>
2959
2960 * international/characters.el: Set category "^" (Combining) for
2961 more characters.
2962
e8dd0787
AM
29632013-09-07 Alan Mackenzie <acm@muc.de>
2964
2965 Correctly fontify Java class constructors.
2966 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2967 in Java Mode.
2968 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2969 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2970 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2971 "typeless" declaration there.
2972
f2f248e7
RW
29732013-09-07 Roland Winkler <winkler@gnu.org>
2974
2975 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2976 field subtitle for entry type book.
2977
67982e2b
SM
29782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * minibuffer.el: Make minibuffer-complete call completion-in-region
2981 rather than other way around.
2982 (completion--some, completion-pcm--find-all-completions):
2983 Don't delay signals when debugging.
2984 (minibuffer-completion-contents): Beware fields within the
2985 minibuffer contents.
2986 (completion-all-sorted-completions): Use defvar-local.
2987 (completion--do-completion, completion--cache-all-sorted-completions)
2988 (completion-all-sorted-completions, minibuffer-force-complete):
2989 Add args `beg' and `end'.
2990 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2991 (minibuffer-complete): Use completion-in-region.
2992 (completion-complete-and-exit): New fun, extracted from
2993 minibuffer-complete-and-exit.
2994 (minibuffer-complete-and-exit): Use it.
2995 (completion--complete-and-exit): Rename from
2996 minibuffer--complete-and-exit.
2997 (completion-in-region--single-word): New function, extracted from
2998 minibuffer-complete-word.
2999 (minibuffer-complete-word): Use it.
3000 (display-completion-list): Make `common-substring' argument obsolete.
3001 (completion--in-region): Call completion--in-region-1 instead of
3002 minibuffer-complete.
3003 (completion-help-at-point): Pass boundaries to
3004 minibuffer-completion-help as args rather than via an overlay.
3005 (completion-pcm--string->pattern): Use `any-delim'.
3006 (completion-pcm--optimize-pattern): New function.
3007 (completion-pcm--pattern->regex): Handle `any-delim'.
3008 * icomplete.el (icomplete-forward-completions)
3009 (icomplete-backward-completions, icomplete-completions):
3010 Adjust calls to completion-all-sorted-completions and
3011 completion--cache-all-sorted-completions.
3012 (icomplete-with-completion-tables): Default to t.
3013 * emacs-lisp/crm.el (crm--current-element): Rename from
3014 crm--select-current-element. Don't put an overlay but return the
3015 boundaries instead.
3016 (crm--completion-command): Take two new args to bind to the boundaries.
3017 (crm-completion-help): Adjust accordingly.
3018 (crm-complete): Use completion-in-region.
3019 (crm-complete-word): Use completion-in-region--single-word.
3020 (crm-complete-and-exit): Use completion-complete-and-exit.
3021
e17d94a5
SM
30222013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3025 than dynamically.
3026
96727100
JL
30272013-09-06 Juri Linkov <juri@jurta.org>
3028
3029 * info.el (Info-display-images-node): When image file doesn't exist
3030 display text version of the image if it's provided in the Info file.
3031 Otherwise, display the location of missing image from SRC attribute.
3032 Add help-echo text property from ALT attribute. (Bug#15279)
3033
86cf7329
SM
30342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3037 (edit-abbrevs-mode): Use define-derived-mode.
3038
3039 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3040 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3041 that it's defined.
3042 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3043 Use define-derived-mode.
3044
3045 * epg.el (epg-start-encrypt): Minor CSE simplification.
3046
816244a2
WX
30472013-09-06 William Xu <william.xwl@gmail.com>
3048
3049 * arc-mode.el: Add support for 7za (bug#15264).
3050 (archive-7z-program): New var.
3051 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3052 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3053 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3054
1486fa31
MA
30552013-09-06 Michael Albinus <michael.albinus@gmx.de>
3056
3057 Remove URL syntax.
3058
3059 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3060 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3061 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3062 (tramp-postfix-host-format, tramp-file-name-regexp)
3063 (tramp-completion-file-name-regexp)
3064 (tramp-completion-dissect-file-name)
3065 (tramp-handle-substitute-in-file-name): Remove 'url case.
3066 (tramp-file-name-regexp-url)
3067 (tramp-completion-file-name-regexp-url): Remove constants.
3068
39785324
GM
30692013-09-06 Glenn Morris <rgm@gnu.org>
3070
3071 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3072
1f896cb7
DG
30732013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3074
3075 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3076 keywords" below "here-doc beginnings" (Bug#15270).
3077
c0458e0b
SM
30782013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * subr.el (pop): Use `car-safe'.
3081 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3082 to detect unused `pop' return value.
3083
3084 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3085 var `block-regexp'.
3086 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3087 (python-fill-string): Remove unused var `marker'.
3088 (python-skeleton-add-menu-items): Remove unused var `items'.
3089
3090 * international/mule-cmds.el: Require CL.
3091 (find-coding-systems-for-charsets): Avoid add-to-list.
3092 (sanitize-coding-system-list): New function, extracted from
3093 select-safe-coding-system-interactively.
3094 (select-safe-coding-system-interactively): Use it.
3095 (read-input-method-name): Accept symbols for `default'.
3096
3097 * emacs-lisp/advice.el (defadvice): Add indent rule.
3098
6c42fc3e
DH
30992013-09-05 Daniel Hackney <dan@haxney.org>
3100
3101 * dired-x.el:
3102 * net/ange-ftp.el:
3103 * net/browse-url.el:
3104 * net/dbus.el:
3105 * net/eudc.el:
3106 * net/eudcb-ldap.el:
3107 * net/eww.el:
3108 * net/imap.el:
3109 * printing.el:
3110 * vc/ediff-diff.el:
3111 * vc/ediff-init.el:
3112 * vc/ediff-merg.el:
3113 * vc/ediff-mult.el:
3114 * vc/ediff-util.el:
3115 * vc/ediff-wind.el:
3116 * vc/ediff.el:
3117 * vc/emerge.el:
3118 * vc/pcvs.el:
3119 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3120 byte compiler. Remove some unused let-bound variables.
3121
4c528aab
SM
31222013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3125 a "ref-cell", since it gets better optimized (bug#14883).
3126
bd15c390
GM
31272013-09-05 Glenn Morris <rgm@gnu.org>
3128
3129 * progmodes/cc-awk.el (c-forward-sws): Declare.
3130
1c3ac2e5
GM
31312013-09-04 Glenn Morris <rgm@gnu.org>
3132
3133 * generic-x.el [rul-generic-mode]: Require cc-mode.
3134 (c++-mode-syntax-table): Declare.
3135 (rul-generic-mode-syntax-table): Init in the defvar.
3136
52b1cc79
SM
31372013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3138
c828af56
SM
3139 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3140 (vc-do-command, vc-set-async-update):
3141 * vc/vc-mtn.el (vc-mtn-dir-status):
3142 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3143 (vc-hg-pull, vc-hg-merge-branch):
3144 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3145 (vc-git-merge-branch):
3146 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3147 (vc-cvs-dir-status-files):
3148 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3149 (vc-bzr-dir-status-files):
3150 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3151 * vc/vc-annotate.el: Use lexical-binding.
3152 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3153 (vc-sentinel-movepoint): Declare.
3154 (vc-annotate): Don't use `goto-line'.
3155 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3156 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3157 (vc-sentinel-movepoint): Declare.
3158 * vc/vc-svn.el: Use lexical-binding.
3159 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3160 * vc/vc-sccs.el:
3161 * vc/vc-rcs.el: Use lexical-binding.
3162
abae272c
SM
3163 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3164 `deleted'. Don't drop errors silently.
3165
52b1cc79
SM
3166 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3167
63191d9f
XF
31682013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3169
3170 * vc/vc.el (vc-ignore): Rewrite.
3171 (vc-default-ignore): New function.
3172 (vc-default-ignore-completion-table): Use find-ignore-file.
3173
3174 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3175 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3176 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3177 Remove. Most code moved to vc.el.
3178
9d3f707c
SM
31792013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3180
abae272c 3181 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
3182 * net/tramp-smb.el (tramp-smb-get-file-entries):
3183 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3184 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3185
fde38d49
SM
3186 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3187 Update call to it.
3188 (eww-change-select): Remove unused var `properties'.
3189 (eww-make-unique-file-name): Remove unused var `base'.
3190
3191 * finder.el (finder-compile-keywords): Don't mess with windows.
3192
84032db7
SM
3193 * calculator.el (calculator-funcall): Fix typo in last change.
3194
724f5e41
SM
3195 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3196
14b511d4
SM
3197 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3198 <pkg>-autoloads.el file stop us.
3199
9d3f707c 3200 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 3201 warnings, and factor out common code.
9d3f707c 3202
88527bc0
DG
32032013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3204
3205 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3206 two-character operators and whether the character preceding them
3207 changes their meaning (Bug#15208).
3208
96edb677
FEG
32092013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3210
3211 Format code sent to Python shell for robustness.
9d3f707c
SM
3212 * progmodes/python.el (python-shell-buffer-substring):
3213 New function.
96edb677
FEG
3214 (python-shell-send-region, python-shell-send-buffer): Use it.
3215
95beaef3
MA
32162013-09-02 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3219 * net/tramp.el (tramp-user-error): ... here.
3220 (tramp-find-method, tramp-check-proper-host)
3221 (tramp-dissect-file-name, tramp-debug-message)
3222 (tramp-handle-shell-command):
3223 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3224 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3225
3226 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3227
f167c27b
MR
32282013-09-02 Martin Rudalics <rudalics@gmx.at>
3229
3230 * avoid.el (mouse-avoidance-point-position)
3231 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3232 returns nil.
3233
cd16c5f1
FEG
32342013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3235
3236 * progmodes/python.el (python-shell-completion-get-completions):
3237 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 3238 (python-nav-if-name-main): New command.
cd16c5f1 3239
e73c3a0d
GM
32402013-09-01 Glenn Morris <rgm@gnu.org>
3241
f8ccce03
GM
3242 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3243 Avoid leading space in $wins. Otherwise the sed command used by
3244 eg compile-main ends up containing "/*.el". (Bug#15170)
3245
e73c3a0d
GM
3246 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3247
415f808e
GM
32482013-08-30 Glenn Morris <rgm@gnu.org>
3249
3250 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3251 Fix is-this-a-directory logic. (Bug#15220)
3252
f069bba8
SM
32532013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3254
112798c1
SM
3255 * textmodes/css-mode.el: Use SMIE.
3256 (css-smie-grammar): New var.
3257 (css-smie--forward-token, css-smie--backward-token)
3258 (css-smie-rules): New functions.
3259 (css-mode): Use them.
3260 (css-navigation-syntax-table): Remove var.
3261 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3262 (css-indent-calculate, css-indent-line): Remove functions.
3263
3264 Misc changes to reduce use of `(lambda...); and other cleanups.
3265 * cus-edit.el: Use lexical-binding.
3266 (customize-push-and-save, customize-apropos)
3267 (custom-buffer-create-internal): Use closures.
3268 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3269 * progmodes/ada-xref.el: Use setq.
3270 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3271 * dframe.el: Use lexical-binding.
3272 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3273 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3274 * descr-text.el: Use lexical-binding.
3275 (describe-text-widget, describe-text-sexp, describe-property-list):
3276 Use closures.
3277 * comint.el (comint-history-isearch-push-state): Use a closure.
3278 * calculator.el: Use lexical-binding.
3279 (calculator-number-to-string): Make it work with lexical-binding.
3280 (calculator-funcall): Same and use cl-letf.
3281
2da4c3ab
SM
3282 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3283 (lisp--company-doc-string, lisp--company-location): New functions.
3284 (lisp-completion-at-point): Use them to improve Company support.
3285
f069bba8
SM
3286 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3287 params of lambda expressions.
3288 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3289 (ruby-smie--opening-pipe-p): New function.
3290 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3291 symbols and matched |...| for formal params.
3292 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3293 from being treated as hanging. Handle "rescue".
3294
6758b6a8
GM
32952013-08-29 Glenn Morris <rgm@gnu.org>
3296
3297 * progmodes/cc-engine.el (c-pull-open-brace):
3298 Move definition before use.
3299
e8dfd197
SM
33002013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3303 are immutable. Don't use `unsafe' any more.
3304 (cl--defsubst-expand): Don't substitute at the same time as keeping
3305 a residual unused let-binding. Don't use `unsafe' any more.
3306
cc585c96
GM
33072013-08-29 Glenn Morris <rgm@gnu.org>
3308
ba579ea6
GM
3309 * calendar/cal-china.el (calendar-chinese-year-cache):
3310 Recenter on 2015.
3311
8201a87e
GM
3312 * nxml/nxml-util.el (nxml-debug-clear-inside):
3313 Use cl-loop rather than loop.
3314
6ee877c7
GM
3315 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3316
cc585c96
GM
3317 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3318
27be8d39
GM
33192013-08-28 Glenn Morris <rgm@gnu.org>
3320
397440a1
GM
3321 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3322
2bb762d4
GM
3323 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3324
27be8d39
GM
3325 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3326
2d69b99e
SM
33272013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3328
f663baa7
SM
3329 * simple.el (repeat-complex-command--called-interactively-skip):
3330 New function.
3331 (repeat-complex-command): Use it (bug#14136).
3332
dd4f8b74
SM
3333 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3334 (c-define-abbrev-table): Add `doc' argument.
3335 (c-mode-abbrev-table, c++-mode-abbrev-table)
3336 (objc-mode-abbrev-table, java-mode-abbrev-table)
3337 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3338 (awk-mode-abbrev-table): Use it.
3339 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3340 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3341 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3342 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3343 Move initialization into the declaration; and remove any
3344 autoload cookie.
3345
b58969f7
SM
3346 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3347 and dynamic let binding.
3348
4021d6a6
SM
3349 * vc/smerge-mode.el: Remove redundant :group args.
3350
2d69b99e
SM
3351 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3352 to load-path.
3353
274919fd
JL
33542013-08-28 Juri Linkov <juri@jurta.org>
3355
3356 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3357 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3358 (isearch-other-meta-char): Handle an undefined shifted printing
3359 character by downshifting it. (Bug#15200)
3360
121f8c95
JL
33612013-08-28 Juri Linkov <juri@jurta.org>
3362
3363 * isearch.el (isearch-search): Change regexp error message for
3364 non-regexp searches. (Bug#15166)
3365
50b13cde
PE
33662013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3367
3368 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3369 for portability to hosts where /bin/sh has problems.
3370
95888bca
SM
33712013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3374
bbe558f1
JL
33752013-08-27 Juri Linkov <juri@jurta.org>
3376
3377 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3378 in the keyboard macro. (Bug#15126)
3379
26f98a7d
JL
33802013-08-27 Juri Linkov <juri@jurta.org>
3381
3382 * isearch.el (isearch-quote-char): Comment out converting unibyte
3383 to multibyte, thus syncing with its `quoted-insert' counterpart.
3384 (Bug#15166)
3385
7c97d35e
MR
33862013-08-27 Martin Rudalics <rudalics@gmx.at>
3387
3388 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
3389 argument in call of get-largest-window (Bug#15185).
3390 Reported by Stephen Leake.
7c97d35e 3391
a0b5606e 33922013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
3393
3394 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3395
9e89d835
SM
33962013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3399 from a matcher-function unless there's no more matches (bug#15161).
3400
78fc2530
MA
34012013-08-26 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * minibuffer.el: Revert change from 2013-08-20.
3404
3405 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3406 with text property `tramp-default', if appropriate.
3407 (tramp-check-proper-host): New defun.
3408 (tramp-dissect-file-name): Do not check hostname. Revert change
3409 of 2013-03-18.
3410 (tramp-backtrace): Make VEC-OR-PROC optional.
3411
3412 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3413 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3414 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
3415 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3416 Apply `tramp-check-proper-host'.
78fc2530 3417
edca97cd
TH
34182013-08-26 Tassilo Horn <tsdh@gnu.org>
3419
3420 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3421 lambda expression in order to have `describe-variable' display it.
3422
df54bcbd
MA
34232013-08-26 Michael Albinus <michael.albinus@gmx.de>
3424
3425 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3426 BUF can be optional. (Bug#15186)
3427
eed99101
XF
34282013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3429
3430 * progmodes/flymake.el (flymake-get-real-file-name-function):
3431 Fix broken customization. (Bug#15184)
3432
b5eb9035
AM
34332013-08-25 Alan Mackenzie <acm@muc.de>
3434
8a51e842
AM
3435 Improve indentation of bracelists defined by macros (without "=").
3436
3437 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3438 expansion begins with "{", regard it as bracelist when it doesn't
3439 contain a ";".
3440
869455d4
AM
3441 Parse C++ inher-intro when there's a template split over 2 lines.
3442
3443 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3444 rigorously the search for "class" etc. followed by ":".
3445
3446 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3447 random languages a regexp which never matches rather than nil.
3448
b5eb9035
AM
3449 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3450
3451 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3452 (c-awk-regexp-one-line-possibly-open-char-list-re)
3453 (c-awk-one-line-possibly-open-regexp-re)
3454 (c-awk-one-line-non-syn-ws*-re): Remove.
3455 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3456 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3457 (c-awk-space*-unclosed-regexp-/-re): New constants.
3458 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3459 aren't regexp delimiters.
3460
3461 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3462 handling for a rare situation in AWK Mode involving unterminated
3463 strings/regexps.
3464
61611d54
GM
34652013-08-23 Glenn Morris <rgm@gnu.org>
3466
2d85dc34
GM
3467 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3468
cb8d2612
GM
3469 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3470
bb35f42f
GM
3471 * files.el (create-file-buffer): If the result would begin with
3472 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 3473
b9808e77
SM
34742013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3475
e3a66363
SM
3476 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3477 text-properties (bug#15155).
3478
b9808e77
SM
3479 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3480 exist any more.
3481 (calc-keypad-redraw): Remove unused var `pad'.
3482 (calc-keypad-press): Remove unused var `menu'.
3483
7fd5f65e
MR
34842013-08-23 Martin Rudalics <rudalics@gmx.at>
3485
b9808e77
SM
3486 * window.el (display-buffer-pop-up-frame):
3487 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
3488 use it as the new frame's buffer (Bug#15133).
3489
8352b530
SM
34902013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * calendar/timeclock.el: Minor cleanups.
3493 (timeclock-ask-before-exiting, timeclock-use-display-time):
3494 Use `symbol'.
3495 (timeclock-modeline-display): Define as alias before the
3496 actual definition.
3497 (timeclock-mode-line-display): Use define-minor-mode.
3498 (timeclock-day-list-template): Make it a function, add an argument.
3499 (timeclock-day-list-required, timeclock-day-list-length)
3500 (timeclock-day-list-debt, timeclock-day-list-span)
3501 (timeclock-day-list-break): Adjust calls accordingly.
3502
9f7b1925
SM
35032013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3506 Use read--expression so that completion works again.
3507
6e50e983
SS
35082013-08-21 Sam Steingold <sds@gnu.org>
3509
3510 Add rudimentary inferior shell interaction
3511 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3512 (sh-set-shell): Reset it.
9f7b1925
SM
3513 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3514 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 3515
dbb0d350
SM
35162013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * align.el: Use lexical-binding.
3519 (align-region): Simplify accordingly.
3520
c88586a9
MA
35212013-08-20 Michael Albinus <michael.albinus@gmx.de>
3522
3523 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3524
3525 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3526 `non-essential' up.
3527
f95527c8
MA
35282013-08-17 Michael Albinus <michael.albinus@gmx.de>
3529
3530 * net/tramp.el:
3531 * net/tramp-adb.el:
3532 * net/tramp-cmds.el:
3533 * net/tramp-ftp.el:
3534 * net/tramp-gvfs.el:
3535 * net/tramp-gw.el:
3536 * net/tramp-sh.el: Don't wrap external variable declarations by
3537 `eval-when-compile'.
3538
4b5fe4ee
LMI
35392013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3540
3541 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3542 now that Emacs supports ImageMagick animations.
3543
13c366c9
MA
35442013-08-16 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3547 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3548
3dfc5cd6
MR
35492013-08-16 Martin Rudalics <rudalics@gmx.at>
3550
3551 * window.el (mouse-autoselect-window-select): Do autoselect when
3552 mouse pointer is on margin.
3553
4bbb4381
WP
35542013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3555
3556 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3557
3a2ddc2d
GM
35582013-08-16 Glenn Morris <rgm@gnu.org>
3559
e8bedf5a
GM
3560 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3561 Handle "Remote Directory" response of some clients. (Bug#15058)
3562
58c4682f
GM
3563 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3564 Tweak warning. (Bug#14926)
3565
57953f49
GM
3566 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3567 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3568
3a2ddc2d
GM
3569 * image-mode.el (image-mode-map): Add menu items to reverse,
3570 increase, decrease, reset animation speed.
3571 (image--set-speed, image-increase-speed, image-decrease-speed)
3572 (image-reverse-speed, image-reset-speed): New functions.
3573 (image-mode-map): Add bindings for speed commands.
3574
3575 * image.el (image-animate-get-speed, image-animate-set-speed):
3576 New functions.
3577 (image-animate-timeout): Respect image :speed property.
3578
10fa0ed3
SM
35792013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3582 previous line (bug#15101).
3583 (debugger-eval-expression, debugger-record-expression):
3584 Use read--expression (bug#15102).
3585
5d89d9d2
MA
35862013-08-15 Michael Albinus <michael.albinus@gmx.de>
3587
3588 Remove byte compiler warnings, visible when compiling with
3589 `byte-compile-force-lexical-warnings' set to t.
3590
3591 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3592 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3593 (tramp-handle-unhandled-file-name-directory)
3594 (tramp-handle-file-notify-add-watch, tramp-action-login)
3595 (tramp-action-succeed, tramp-action-permission-denied)
3596 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3597 arguments with "_".
3598
3599 * net/tramp-adb.el (tramp-adb-parse-device-names)
3600 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3601 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3602 (tramp-adb-handle-file-truename): Remove unused arguments.
3603
3604 * net/tramp-cache.el (tramp-flush-directory-property)
3605 (tramp-flush-connection-property, tramp-list-connections)
3606 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3607
10fa0ed3
SM
3608 * net/tramp-compat.el (tramp-compat-make-temp-file):
3609 Rename FILENAME to F.
5d89d9d2
MA
3610
3611 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3612 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3613 (tramp-zeroconf-parse-workstation-device-names)
3614 (tramp-zeroconf-parse-webdav-device-names)
3615 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3616
3617 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3618 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3619
3620 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3621 arguments.
3622 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3623 (tramp-sh-handle-insert-file-contents-literally)
3624 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3625 with "_".
3626 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3627 Remove unused variables.
3628
3629 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3630 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3631 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3632
3633 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3634 Make them a defconst.
3635 (tramp-uuencode-region): Remove unused variable.
3636
62f33bae
JB
36372013-08-14 Juanma Barranquero <lekktu@gmail.com>
3638
3639 * frameset.el (frameset--prop-setter): New function.
3640 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3641 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3642 parameter was already set in FILTERED. Doc fix.
3643 (frameset--record-minibuffer-relationships): Allow saving a
3644 minibufferless frame without its corresponding minibuffer frame.
3645 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3646 frame, if the frame id matches.
3647 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3648 frames before orphaned ones.
3649 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3650
c660a885
MR
36512013-08-14 Martin Rudalics <rudalics@gmx.at>
3652
3653 * window.el (window-make-atom): Don't overwrite parameter
3654 already present.
3655 (display-buffer-in-atom-window): Handle special case where we
3656 split an already atomic window.
3657 (window--major-non-side-window, display-buffer-in-side-window)
3658 (window--side-check): Ignore minibuffer window when walking
3659 window tree.
3660 (window-deletable-p): Return 'frame only if no other frame uses
3661 our minibuffer window.
3662 (record-window-buffer): Run buffer-list-update-hook.
3663 (split-window): Make sure window--check-frame won't destroy an
3664 existing atomic window in case the new window gets nested
3665 inside.
3666 (display-buffer-at-bottom): Ignore minibuffer window when
3667 walking window tree. Don't split a side window.
3668 (pop-to-buffer): Don't set-buffer here, the select-window call
3669 should do that.
3670 (mouse-autoselect-window-select): Autoselect only if we are in the
3671 text portion of the window.
3672
8259030d
LMI
36732013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3674
21c58ae2
LMI
3675 * net/shr.el (shr-parse-image-data): New function to grab both the
3676 data itself and the Content-Type.
3677 (shr-put-image): Use it.
3678
3679 * net/eww.el (eww-display-image): Ditto.
3680
8259030d
LMI
3681 * image.el (image-content-type-suffixes): New variable.
3682
ad756449
FEG
36832013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3684
3685 * progmodes/python.el (python-imenu--build-tree)
3686 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3687
f73f4ce6
XF
36882013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3689
3690 * simple.el (backward-word): Mention the optional argument.
3691
1f585e65
SM
36922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * frameset.el (frameset--make): Rename constructor from make-frameset.
3695 (frameset-p, frameset-valid-p): Don't autoload.
3696 (frameset-valid-p): Use normal accessors.
3697
af1c6c84
GM
36982013-08-13 Glenn Morris <rgm@gnu.org>
3699
55e47f95
GM
3700 * progmodes/compile.el (compile-command): Tweak example in doc.
3701 * obsolete/scribe.el (scribe-mode):
3702 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3703
f0024d8c
GM
3704 * mail/feedmail.el (feedmail-confirm-outgoing)
3705 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3706
3707 * cus-start.el (truncate-partial-width-windows): Fix type.
3708
3709 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3710
af1c6c84
GM
3711 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3712
5514cc4c
SM
37132013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * emacs-lisp/timer.el (timer--time-setter): New function.
3716 (timer--time): Use it as gv-setter.
3717
3718 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3719 setter is not a symbol.
3720
7997a2f1
GJ
37212013-08-12 Grégoire Jadi <daimrod@gmail.com>
3722
3723 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3724 if sending fails. This makes debugging easier.
3725
01f1a9ab
JB
37262013-08-12 Juanma Barranquero <lekktu@gmail.com>
3727
3728 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3729 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3730 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3731
594a4307
EZ
37322013-08-12 Eli Zaretskii <eliz@gnu.org>
3733
3734 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3735
7a22490f 37362013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3737
3738 * format.el (format-annotate-function):
3739 Handle read-only text properties in the source. (Bug#14887)
3740
3e41a054
LMI
37412013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3742
5514cc4c
SM
3743 * net/eww.el (eww-display-html): Ignore coding system errors.
3744 One web site uses "utf-8lias" as the coding system.
3e41a054 3745
7ec326db
JB
37462013-08-11 Juanma Barranquero <lekktu@gmail.com>
3747
3748 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3749
5660113b
JB
37502013-08-10 Juanma Barranquero <lekktu@gmail.com>
3751
9a4ebc74
JB
3752 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3753 (tutorial--detailed-help): Remove unused local variables.
3754 (tutorial--save-tutorial-to): Use ignore-errors.
3755 (help-with-tutorial): Use looking-at-p.
3756
3757 * view.el (view-buffer-other-window, view-buffer-other-frame):
3758 Mark unused arguments.
3759
3760 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3761 (woman-select-symbol-fonts, woman, woman-find-file)
3762 (woman-insert-file-contents, woman-non-underline-faces):
3763 Use string-match-p.
3764 (woman1-unquote): Move declaration.
3765
3766 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3767 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3768 argument. Remove unused local variable.
3769 (xml-parse-elem-type): Use string-match-p.
3770 (xml-substitute-numeric-entities): Use ignore-errors.
3771
45fdb482
JB
3772 * calculator.el (calculator): Mark unused argument.
3773 (calculator-paste, calculator-quit, calculator-integer-p):
3774 Use ignore-errors.
3775 (calculator-string-to-number, calculator-decimal, calculator-exp)
3776 (calculator-op-or-exp): Use string-match-p.
3777
3778 * dired.el (dired-buffer-more-recently-used-p): Declare.
3779 (dired-insert-set-properties, dired-insert-old-subdirs):
3780 Use ignore-errors.
3781
3782 * dired-aux.el (dired-compress): Use ignore-errors.
3783 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3784 (dired-do-async-shell-command, dired-do-shell-command)
3785 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3786 (dired-insert-subdir-validate): Use string-match-p.
3787 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3788 (dired-add-entry): Use string-match-p, looking-at-p.
3789 (dired-insert-subdir-newpos): Remove unused local variable.
3790
3791 * filenotify.el (file-notify-callback): Remove unused local variable.
3792
3793 * filesets.el (filesets-error): Mark unused argument.
3794 (filesets-which-command-p, filesets-filter-dir-names)
3795 (filesets-directory-files, filesets-get-external-viewer)
3796 (filesets-ingroup-get-data): Use string-match-p.
3797
3798 * find-file.el (ff-other-file-name, ff-other-file-name)
3799 (ff-find-the-other-file, ff-cc-hh-converter):
3800 Remove unused local variables.
3801 (ff-get-file-name): Use string-match-p.
3802 (ff-all-dirs-under): Use ignore-errors.
3803
3804 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3805 (follow-select-if-visible): Remove unused local variable.
3806
3807 * forms.el (read-file-filter): Move declaration.
3808 (forms--make-format, forms--make-parser, forms-insert-record):
3809 Quote function with #'.
3810 (forms--update): Use string-match-p. Quote function with #'.
3811
3812 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3813 (help-make-xrefs): Use looking-at-p.
3814 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3815
3816 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3817 (ibuffer-confirm-operation-on): Use string-match-p.
3818
3819 * msb.el (msb-item-handler, msb-dired-item-handler):
3820 Mark unused arguments.
3821
3822 * ses.el (ses-decode-cell-symbol)
3823 (ses-kill-override): Remove unused local variable.
3824 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3825 (ses-load): Use ignore-errors, looking-at-p.
3826 (ses-jump-safe): Use ignore-errors.
3827 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3828
3829 * tabify.el (untabify, tabify): Mark unused arguments.
3830
3831 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3832 Mark unused argument.
3833 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3834 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3835
c880af52
JB
3836 * emacs-lisp/timer.el (timer--time): Define setter with
3837 gv-define-setter to avoid deprecation warning.
3838
5660113b 3839 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3840 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3841 (cmpl-statistics-block): Remove (body was commented out).
3842 All callers changed.
3843 (add-completions-from-buffer, load-completions-from-file):
3844 Remove unused variables.
3845
156aab80
JB
38462013-08-09 Juanma Barranquero <lekktu@gmail.com>
3847
5c5dee78
JB
3848 * filecache.el (file-cache-delete-file-list):
3849 Print message only when told so.
3850 (file-cache-files-matching): Use #' in mapconcat argument.
3851
156aab80
JB
3852 * ffap.el (ffap-url-at-point): Fix reference to variable
3853 thing-at-point-default-mail-uri-scheme.
3854
ad9dcd70
SM
38552013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3856
54bd972f
SM
3857 * subr.el (define-error): New function.
3858 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3859 error-file-not-found and define with define-error.
3860 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3861 and define with define-error.
3862 * userlock.el (file-locked, file-supersession):
3863 * simple.el (mark-inactive):
3864 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3865 * progmodes/ada-mode.el (ada-mode-errors):
3866 * play/life.el (life-extinct):
3867 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3868 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3869 * nxml/rng-util.el (rng-error):
3870 * nxml/rng-uri.el (rng-uri-error):
3871 * nxml/rng-match.el (rng-compile-error):
3872 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3873 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3874 * nxml/nxml-rap.el (nxml-scan-error):
3875 * nxml/nxml-outln.el (nxml-outline-error):
3876 * net/soap-client.el (soap-error):
3877 * net/gnutls.el (gnutls-error):
3878 * net/ange-ftp.el (ftp-error):
3879 * mpc.el (mpc-proc-error):
3880 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3881 (json-number-format, json-string-escape, json-string-format)
3882 (json-key-format, json-object-format):
3883 * jka-compr.el (compression-error):
3884 * international/quail.el (quail-error):
3885 * international/kkc.el (kkc-error):
3886 * emacs-lisp/ert.el (ert-test-failed):
3887 * calc/calc.el (calc-error, inexact-result, math-overflow)
3888 (math-underflow):
3889 * bookmark.el (bookmark-error-no-filename):
3890 * epg.el (epg-error): Define with define-error.
3891
0ea9e53a
SM
3892 * time.el (display-time-event-handler)
3893 (display-time-next-load-average): Don't call sit-for since it seems
3894 unnecessary (bug#15045).
3895
b0429158
SM
3896 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3897 Use #' instead of ' to quote functions.
3898 (checkdoc-output-mode): Use setq-local.
3899 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3900 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3901 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3902 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3903 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3904 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3905 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3906 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3907
ad9dcd70
SM
3908 * ido.el (ido-completion-help): Fix up compiler warning.
3909
77187e6f
JB
39102013-08-09 Juanma Barranquero <lekktu@gmail.com>
3911
3912 * frameset.el (frameset-p): Add autoload cookie.
3913 (frameset--jump-to-register): New function, based on code moved from
3914 register.el.
3915 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3916
3917 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3918 (frameset-restore, frameset-save, frameset-session-filter-alist):
3919 Remove declarations.
3920 (register-alist): Doc fix.
3921 (frameset-to-register): Move to frameset.el.
3922 (jump-to-register, describe-register-1): Remove frameset-specific code.
3923
9d3aa82c
JB
39242013-08-08 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * allout-widgets.el (allout-widgets-pre-command-business)
3927 (allout-widgets-post-command-business)
3928 (allout-widgets-after-change-handler)
3929 (allout-decorate-item-and-context, allout-set-boundary-marker)
3930 (allout-body-modification-handler)
3931 (allout-graphics-modification-handler): Mark ignored arguments.
3932 (allout-widgets-post-command-business)
3933 (allout-widgets-exposure-change-processor)
3934 (allout-widgets-exposure-undo-processor)
3935 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3936 (allout-parse-item-at-point, allout-decorate-item-guides)
3937 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3938 * allout.el (epa-passphrase-callback-function): Declare.
3939 (allout-overlay-insert-in-front-handler)
3940 (allout-overlay-interior-modification-handler)
3941 (allout-isearch-end-handler, allout-chart-siblings)
3942 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3943 (allout-yank-processing, allout-process-exposed)
3944 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3945 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3946 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3947 (lisp-indent-defform): Mark ignored arguments.
3948 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3949 (calculate-lisp-indent): Remove unused variables.
3950 * international/characters.el (indian-2-column, arabic-2-column)
3951 (tibetan): Mark ignored arguments.
3952 (use-cjk-char-width-table): Mark ignored arguments.
3953 Remove unused variables.
3954 * international/fontset.el (build-default-fontset-data)
3955 (x-compose-font-name, create-fontset-from-fontset-spec):
3956 Mark ignored arguments.
3957 (fontset-plain-name): Remove unused variables.
3958 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3959 (keyboard-coding-system): Mark ignored arguments.
3960 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3961 * help.el (resize-temp-buffer-window):
3962 * window.el (display-buffer-in-major-side-window)
3963 (display-buffer-in-side-window, display-buffer-in-previous-window):
3964 Remove unused variables.
3965 * isearch.el (isearch-forward-symbol):
3966 * version.el (emacs-bzr-version-bzr):
3967 * international/mule-cmds.el (current-language-environment):
3968 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3969 (x-handle-display):
3970 * term/pc-win.el (x-list-fonts, x-display-planes)
3971 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3972 (x-server-version, x-display-screens, x-display-mm-height)
3973 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3974 (x-selection-owner-p, x-own-selection-internal)
3975 (x-disown-selection-internal, x-get-selection-internal)
3976 (msdos-initialize-window-system):
3977 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3978 * term/x-win.el (x-handle-no-bitmap-icon):
3979 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3980 (vc-default-find-file-hook, vc-default-extra-menu):
3981 Mark ignored arguments.
3982
0ca3f70e
SM
39832013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3986 break-condition in the context of the debugged code (bug#12685).
3987
74c5d24c
CS
39882013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3989
3990 * comint.el:
3991 Do not use an overlay to highlight the last prompt. (Bug#14744)
3992 (comint-mode): Make comint-last-prompt buffer local.
3993 (comint-last-prompt): New variable.
3994 (comint-last-prompt-overlay): Remove. Superseded by
3995 comint-last-prompt.
0ca3f70e
SM
3996 (comint-snapshot-last-prompt, comint-output-filter):
3997 Use comint-last-prompt.
74c5d24c 3998
c03c02ee
JB
39992013-08-08 Juanma Barranquero <lekktu@gmail.com>
4000
a3738d20 4001 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
4002 (frameset-save): Check validity of the resulting frameset.
4003
04263d23
XF
40042013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4005
4006 * ido.el (ido-record-command): Add doc string.
4007
76c5e5ab
JB
40082013-08-08 Juanma Barranquero <lekktu@gmail.com>
4009
4010 * frameset.el (frameset): Do not disable creation of the default
4011 frameset-p predicate. Doc fix.
4012 (frameset-valid-p): New function, copied from the old predicate-p.
4013 Add additional checks.
4014 (frameset-restore): Check with frameset-valid-p.
4015 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4016 (frameset-name, frameset-description, frameset-properties)
4017 (frameset-states): Add docstring.
f9dbf1cb
JB
4018 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4019 (frameset-filter-alist): Doc fixes.
76c5e5ab 4020
bd0c3c0b
JB
40212013-08-08 Juanma Barranquero <lekktu@gmail.com>
4022
4023 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4024
c735544c
SM
40252013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4028 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4029 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4030 (byte-compile-normal-call): Remove obsolescence check.
4031
2805a651
JB
40322013-08-08 Juanma Barranquero <lekktu@gmail.com>
4033
3677ffeb
JB
4034 * frameset.el (frameset-restore): Doc fix.
4035
2805a651
JB
4036 * register.el (frameset-frame-id, frameset-frame-with-id)
4037 (frameset-p, frameset-restore, frameset-save): Declare.
4038 (register-alist): Document framesets.
4039 (frameset-session-filter-alist): Declare.
4040 (frameset-to-register): New function.
4041 (jump-to-register): Implement jumping to framesets. Doc fix.
4042 (describe-register-1): Describe framesets.
4043
4044 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4045
a912c016
JB
40462013-08-07 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4049 Use lexical-binding.
4050
4051 * frameset.el (frameset): Use type vector, not list (incompatible
4052 change). Do not declare a new constructor, use the default one.
4053 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4054 `name' and `description', respectively, and add read-only slot
4055 `timestamp'. Doc fixes.
4056 (frameset-copy, frameset-persistent-filter-alist)
4057 (frameset-filter-alist, frameset-switch-to-gui-p)
4058 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4059 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4060 (frameset-filter-iconified, frameset-keep-original-display-p):
4061 Doc fixes.
4062 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4063 Rename from frameset-filter-(save|restore)-param. All callers changed.
4064 Doc fix.
4065 (frameset-p): Adapt to change to vector and be more thorough.
4066 Change arg name to OBJECT. Doc fix.
4067 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4068 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4069 All callers changed.
4070 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4071 All callers changed.
4072 (frameset--record-minibuffer-relationships): Rename from
4073 frameset--process-minibuffer-frames. All callers changed.
4074 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4075 Use new default constructor (again). Doc fix.
4076 (frameset--find-frame-if): Rename from `frameset--find-frame.
4077 All callers changed.
4078 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4079 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4080 Doc fix.
4081 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4082 PARAMETERS and WINDOW-STATE, respectively.
4083 (frameset-restore): Add new keyword argument PREDICATE.
4084 Reset frameset--target-display to nil. Doc fix.
4085
bb41480a
SM
40862013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4087
f001e98e
SM
4088 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4089 (bat-mode): Use it.
4090 (bat-mode-syntax-table): Mark \n as end-of-comment.
4091 (bat-font-lock-keywords): Remove comment rule.
4092
7679edb1
SM
4093 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4094 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4095
bb41480a
SM
4096 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4097 (byte-compile-callargs-warn): Use `push'.
4098 (byte-compile-arglist-warn): Ignore higher-order "calls".
4099 (byte-compile-file-form-autoload): Use `pcase'.
4100 (byte-compile-function-form): If quoting a symbol, check that it exists.
4101
cdc1ebb9
EZ
41022013-08-07 Eli Zaretskii <eliz@gnu.org>
4103
4104 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4105 and add a few popular commands found in batch files.
4106 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4107 (dos-mode): Doc fixes.
4108
312b1740
SM
41092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4112 (dos-mode): Use setq-local. Add space after "rem".
4113 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4114 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4115
400a3178
AM
41162013-08-07 Arni Magnusson <arnima@hafro.is>
4117
4118 * progmodes/dos.el: New file.
4119 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4120 dos-mode.
4121
3b5c03d3
GM
41222013-08-06 Glenn Morris <rgm@gnu.org>
4123
4124 * calendar/calendar.el: Add new faces, and day-header-array.
4125 (calendar-weekday-header, calendar-weekend-header)
4126 (calendar-month-header): New faces.
4127 (calendar-day-header-construct): New function.
4128 (calendar-day-header-width): Also :set calendar-day-header-array.
4129 (calendar-american-month-header, calendar-european-month-header)
4130 (calendar-iso-month-header): Use calendar- faces.
4131 (calendar-generate-month):
4132 Use calendar-day-header-array for day headers; apply faces to them.
4133 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4134 (calendar-abbrev-construct): Add optional maxlen argument.
4135 (calendar-day-name-array): Doc fix.
4136 (calendar-day-name-array, calendar-abbrev-length)
4137 (calendar-day-abbrev-array):
4138 Also :set calendar-day-header-array, and maybe redraw.
4139 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 4140 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
4141 (calendar-day-name): Add option to use header array.
4142
ec6a2d7a
LMI
41432013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4144
4145 * net/shr.el (shr-render-td): Remove debugging.
4146 (shr-render-td): Make width computation consistent by defaulting
4147 all zero-width columns to 10 characters. This may not be optimal,
4148 but it's at least consistent.
2122cb6d
LMI
4149 (shr-make-table-1): Redo last change to fix the real problem in
4150 colspan handling.
ec6a2d7a 4151
ed4fd9c5
DA
41522013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4153
0ca3f70e
SM
4154 * files.el (cache-long-line-scans):
4155 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 4156
64e22afe
JB
41572013-08-06 Juanma Barranquero <lekktu@gmail.com>
4158
024b38fc
JB
4159 * frameset.el (frameset, frameset-filter-alist)
4160 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4161 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4162 (frameset-compute-pos): Rename from frameset--compute-pos,
4163 and add docstring.
4164 (frameset-move-onscreen): Use frameset-compute-pos.
4165 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4166
64e22afe
JB
4167 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4168 Fix typos in docstrings.
4169
c8c2aca8
DA
41702013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4171
4172 * frame.el (get-other-frame): Tiny cleanup.
4173
1d237bba
JB
41742013-08-06 Juanma Barranquero <lekktu@gmail.com>
4175
8951efef
JB
4176 * vc/vc.el (vc-default-ignore-completion-table):
4177 Silence byte-compiler warning.
4178
307764cc
JB
4179 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4180 slot , which can indeed be nil.
4181 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4182 Move entry for `left' from persistent to live filter alist.
4183 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4184 Doc fixes.
4185 (frameset-filter-params): When restoring a frame, copy items added to
4186 `filtered', to avoid unwittingly modifying the original parameters.
4187 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4188 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4189
1d237bba
JB
4190 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4191 to use looking-at-p instead of looking-at. (Bug#15028)
4192
dc6c0eda
SM
41932013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 Revert introduction of isearch-filter-predicates (bug#14714).
4196 Rely on add-function instead.
4197 * isearch.el (isearch-filter-predicates): Rename it back to
4198 isearch-filter-predicate.
4199 (isearch-message-prefix): Use advice-function-mapc and advice
4200 properties to get the isearch-message-prefix.
4201 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4202 instead of run-hook-with-args-until-failure.
4203 (isearch-filter-visible): Not obsolete any more.
4204 * loadup.el: Preload nadvice.
4205 * replace.el (perform-replace): Revert to funcall
4206 instead of run-hook-with-args-until-failure.
4207 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4208 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4209 dired-isearch-filenames-toggle; make it into a proper minor mode.
4210 Use add/remove-function.
4211 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4212 Call the minor-mode rather than add/remove-hook.
4213 (dired-isearch-filter-filenames):
4214 Remove isearch-message-prefix property.
4215 * info.el (Info--search-loop): New function, extracted from Info-search.
4216 Funcall isearch-filter-predicate instead of
4217 run-hook-with-args-until-failure isearch-filter-predicates.
4218 (Info-search): Use it.
4219 (Info-mode): Use isearch-filter-predicate instead of
4220 isearch-filter-predicates.
4221
290d5b58
DA
42222013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4223
4224 Do not call to `selected-window' where it is assumed by default.
4225 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4226 `window-hscroll', `window-width', `window-height', `window-buffer',
4227 `window-frame', `window-start', `window-point', `next-window'
4228 and `window-display-table'.
4229 * abbrev.el (abbrev--default-expand):
4230 * bs.el (bs--show-with-configuration):
4231 * buff-menu.el (Buffer-menu-mouse-select):
4232 * calc/calc.el (calc):
4233 * calendar/calendar.el (calendar-generate-window):
4234 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4235 (diary-make-entry):
4236 * comint.el (send-invisible, comint-dynamic-complete-filename)
4237 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4238 * completion.el (complete):
4239 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4240 * disp-table.el (describe-current-display-table):
4241 * doc-view.el (doc-view-insert-image):
4242 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4243 * ehelp.el (with-electric-help):
4244 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4245 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4246 * emacs-lisp/helper.el (Helper-help-scroller):
4247 * emulation/cua-base.el (cua--post-command-handler-1):
4248 * eshell/esh-mode.el (eshell-output-filter):
4249 * ffap.el (ffap-gnus-wrapper):
4250 * help-macro.el (make-help-screen):
4251 * hilit-chg.el (highlight-compare-buffers):
4252 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4253 * hl-line.el (global-hl-line-highlight):
4254 * icomplete.el (icomplete-simple-completing-p):
4255 * isearch.el (isearch-done):
4256 * jit-lock.el (jit-lock-stealth-fontify):
4257 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4258 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4259 * mpc.el (mpc-tagbrowser, mpc):
4260 * net/rcirc.el (rcirc-any-buffer):
4261 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4262 * play/landmark.el (landmark-max-width, landmark-max-height):
4263 * play/zone.el (zone):
4264 * progmodes/compile.el (compilation-goto-locus):
4265 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4266 * progmodes/etags.el (find-tag-other-window):
4267 * progmodes/fortran.el (fortran-column-ruler):
4268 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4269 * progmodes/verilog-mode.el (verilog-point-text):
4270 * reposition.el (reposition-window):
4271 * rot13.el (toggle-rot13-mode):
4272 * server.el (server-switch-buffer):
4273 * shell.el (shell-dynamic-complete-command)
4274 (shell-dynamic-complete-environment-variable):
4275 * simple.el (insert-buffer, set-selective-display)
4276 (delete-completion-window):
4277 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4278 (speedbar-recenter):
4279 * startup.el (fancy-splash-head):
4280 * textmodes/ispell.el (ispell-command-loop):
4281 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4282 * tutorial.el (help-with-tutorial):
4283 * vc/add-log.el (add-change-log-entry):
4284 * vc/compare-w.el (compare-windows):
4285 * vc/ediff-help.el (ediff-indent-help-message):
4286 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4287 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4288 (ediff-setup-control-frame):
4289 * vc/emerge.el (emerge-position-region):
4290 * vc/pcvs-util.el (cvs-bury-buffer):
4291 * window.el (walk-windows, mouse-autoselect-window-select):
4292 * winner.el (winner-set-conf, winner-undo): Related users changed.
4293
38276e01
JB
42942013-08-05 Juanma Barranquero <lekktu@gmail.com>
4295
4296 * frameset.el (frameset--set-id): Doc fix.
4297 (frameset-frame-id, frameset-frame-id-equal-p)
4298 (frameset-locate-frame-id): New functions.
4299 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4300 (frameset-restore): Use them.
4301
12b4c0ea
DA
43022013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4303
4304 Do not call to `selected-frame' where it is assumed by default.
4305 Affected functions are `raise-frame', `redraw-frame',
4306 `frame-first-window', `frame-terminal' and `delete-frame'.
4307 * calendar/appt.el (appt-disp-window):
4308 * epg.el (epg-wait-for-completion):
4309 * follow.el (follow-delete-other-windows-and-split)
4310 (follow-avoid-tail-recenter):
4311 * international/mule.el (set-terminal-coding-system):
4312 * mail/rmail.el (rmail-mail-return):
4313 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4314 * progmodes/f90.el (f90-add-imenu-menu):
4315 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4316 * server.el (server-switch-buffer):
4317 * simple.el (delete-completion-window):
4318 * talk.el (talk):
4319 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4320 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4321 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4322 * vc/ediff.el (ediff-documentation): Related users changed.
4323 * frame.el (selected-terminal): Remove the leftover.
4324
17f25e76
GM
43252013-08-05 Glenn Morris <rgm@gnu.org>
4326
4327 * calendar/calendar.el (calendar-generate-month):
4328 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
4329 (calendar-generate-month, calendar-font-lock-keywords):
4330 Fix for calendar-day-header-width > length of any day name.
17f25e76 4331
063233c3
JB
43322013-08-05 Juanma Barranquero <lekktu@gmail.com>
4333
4334 * desktop.el (desktop-clear): Use new name of sort predicate.
4335
4336 * frameset.el (frameset): Add docstring. Move :version property to its
4337 own `version' slot.
4338 (frameset-copy): Rename from copy-frameset.
4339 (frameset-p): Check more thoroughly.
4340 (frameset-prop): Do not check for :version, which is no longer a prop.
4341 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4342 Use new :never value instead of t.
4343 (frameset-filter-alist): Expand and clarify docstring.
4344 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4345 (frameset-filter-minibuffer, frameset-filter-save-param)
4346 (frameset-filter-restore-param, frameset-filter-iconified):
4347 Add pointer to docstring of frameset-filter-alist.
4348 (frameset-filter-params): Rename filter values to be more meaningful:
4349 :never instead of t, and reverse the meanings of :save and :restore.
4350 (frameset--process-minibuffer-frames): Clarify error message.
4351 (frameset-save): Avoid unnecessary and confusing call to framep.
4352 Use new BOA constructor for framesets.
4353 (frameset--reuse-list): Doc fix.
4354 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4355 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4356 (frameset-minibufferless-first-p): Doc fix.
4357 Rename from frameset-sort-frames-for-deletion.
4358 (frameset-restore): Doc fixes. Use new function names.
4359 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4360
d5671a82
JB
43612013-08-04 Juanma Barranquero <lekktu@gmail.com>
4362
4363 * desktop.el (desktop-restore-forces-onscreen)
4364 (desktop-restore-reuses-frames): Document :keyword constant values.
4365 (desktop-filter-parameters-alist): Remove, now identical to
4366 frameset-filter-alist.
4367 (desktop--filter-tty*): Remove, moved to frameset.el.
4368 (desktop-save-frameset, desktop-restore-frameset):
4369 Do not pass :filters argument.
4370
4371 * frameset.el (frameset-live-filter-alist)
4372 (frameset-persistent-filter-alist): New variables.
4373 (frameset-filter-alist): Use them. Add autoload cookie.
4374 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4375 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4376 `frameset--id' (it's supposed to be internal to frameset.el).
4377 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4378 (frameset--initial-params): New function.
4379 (frameset--get-frame): Use it. Doc fix.
4380 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4381 Accept :all, not 'all.
4382 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4383 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4384 with fbound symbols. Fix frame id matching, and remove matching ids if
4385 the frame being restored is deleted. Obey :delete.
4386
671d5c16
SM
43872013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * subr.el (macrop): New function.
4390 (text-clone--maintaining): New var.
4391 (text-clone--maintain): Rename from text-clone-maintain. Use it
4392 instead of inhibit-modification-hooks.
4393
4394 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4395 a proxy, so as handle autoloads and redefinitions of the target.
4396 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4397
4398 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4399 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4400 (pcase--mutually-exclusive-p): New function.
4401 (pcase--split-consp): Use it.
4402 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4403 mutually exclusive with the current predicate.
4404
4405 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4406 (edebug-macrop): Remove. Use `macrop' instead.
4407 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4408 (ad-macro-p):
4409 * eshell/esh-cmd.el (eshell-macrop):
4410 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4411
1d44e9dc
SM
44122013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4415 (advice-mapc): New function, using it.
4416 (advice-function-member-p): New function.
4417 (advice--normalize): Store the cdr in advice--saved-rewrite since
4418 that's the part that will be changed.
4419 (advice--symbol-function): New function.
4420 (advice-remove): Handle removal before the function is defined.
4421 Adjust to new advice--saved-rewrite.
4422 (advice-member-p): Use advice-function-member-p and
4423 advice--symbol-function.
4424
5414a283
JB
44252013-08-04 Juanma Barranquero <lekktu@gmail.com>
4426
51d30f2c
JB
4427 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4428 (frameset-filter-minibuffer): Doc fix.
4429 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
4430 (frameset--set-id, frameset--process-minibuffer-frames)
4431 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4432 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 4433
5414a283
JB
4434 * desktop.el (desktop-clear): Only delete frames when called
4435 interactively and desktop-restore-frames is non-nil. Doc fix.
4436 (desktop-read): Set desktop-saved-frameset to nil.
4437
ab419665
XF
44382013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4439
4440 * vc/vc.el (vc-ignore): Rewrite.
4441 (vc-default-ignore-completion-table):
4442 (vc--read-lines):
4443 (vc--add-line, vc--remove-regexp): New functions.
4444
4445 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4446 (vc-svn-ignore-completion-table): New function.
4447
4448 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4449 (vc-hg-ignore-completion-table):
4450 (vc-hg-find-ignore-file): New functions.
4451
4452 * vc/vc-git.el (vc-git-ignore): Rewrite.
4453 (vc-git-ignore-completion-table):
4454 (vc-git-find-ignore-file): New functions.
4455
4456 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4457
4458 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4459 (vc-bzr-ignore-completion-table):
4460 (vc-bzr-find-ignore-file): New functions.
4461
2613dea2
JB
44622013-08-03 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * frameset.el (frameset-prop): New function and setter.
4465 (frameset-save): Do not modify frame list passed by the caller.
4466
9c959872
SM
44672013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4470
a104f656
SM
44712013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4472
70122acf
SM
4473 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4474 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4475
a104f656
SM
4476 * custom.el (custom-initialize-default, custom-initialize-set)
4477 (custom-initialize-reset, custom-initialize-changed): Affect the
4478 toplevel-default-value (bug#6275, bug#14586).
4479 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4480 for bug#6275.
4481
f078d570
JB
44822013-08-02 Juanma Barranquero <lekktu@gmail.com>
4483
185e3b5a
JB
4484 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4485 Add cl-def* expressions.
4486
f078d570
JB
4487 * frameset.el (frameset-filter-params): Fix order of arguments.
4488
9421876d
JB
44892013-08-02 Juanma Barranquero <lekktu@gmail.com>
4490
4491 Move code related to saving frames to frameset.el.
4492 * desktop.el: Require frameset.
4493 (desktop-restore-frames): Doc fix.
4494 (desktop-restore-reuses-frames): Rename from
4495 desktop-restoring-reuses-frames.
4496 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4497 (desktop-clear): Clear frames too.
4498 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4499 (desktop--filter-tty*, desktop-save, desktop-read):
4500 Use frameset functions.
4501 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4502 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4503 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4504 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4505 (desktop--process-minibuffer-frames, desktop-save-frames)
4506 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4507 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4508 (desktop--sort-states, desktop-restoring-frames-p)
4509 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4510 (desktop-restoring-frameset-p, desktop-restore-frameset)
4511 (desktop--check-dont-save, desktop-save-frameset): New functions.
4512 (desktop--app-id): New constant.
4513 (desktop-first-buffer, desktop-buffer-ok-count)
4514 (desktop-buffer-fail-count): Move before first use.
4515 * frameset.el: New file.
4516
76dc5996
SM
45172013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * files.el: Use lexical-binding.
4520 (dir-locals-read-from-file): Remove unused `err' variable.
4521 (hack-dir-local-variables--warned-coding): New var.
4522 (hack-dir-local-variables): Use it to avoid repeated warnings.
4523 (make-backup-file-name--default-function): New function.
4524 (make-backup-file-name-function): Use it as default.
4525 (buffer-stale--default-function): New function.
4526 (buffer-stale-function): Use it as default.
4527 (revert-buffer-insert-file-contents--default-function): New function.
4528 (revert-buffer-insert-file-contents-function): Use it as default.
4529 (insert-directory): Avoid add-to-list.
4530
4531 * autorevert.el (auto-revert-handler): Simplify.
4532 Use buffer-stale--default-function.
4533
06d36e2b
TH
45342013-08-01 Tassilo Horn <tsdh@gnu.org>
4535
5f648ab4
TH
4536 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4537
06d36e2b
TH
4538 * whitespace.el (whitespace-ensure-local-variables): New function.
4539 (whitespace-cleanup-region): Call it.
4540 (whitespace-turn-on): Call it.
4541
a43dc424
MA
45422013-08-01 Michael Albinus <michael.albinus@gmx.de>
4543
4544 Complete file name handlers.
4545
4546 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4547 (tramp-handle-verify-visited-file-modtime)
4548 (tramp-handle-file-notify-rm-watch): New functions.
4549 (tramp-call-process): Do not bind `default-directory'.
4550
44e18199
JB
4551 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4552 Order alphabetically.
a43dc424
MA
4553 [access-file, add-name-to-file, dired-call-process]:
4554 [dired-compress-file, file-acl, file-notify-rm-watch]:
4555 [file-ownership-preserved-p, file-selinux-context]:
4556 [make-directory-internal, make-symbolic-link, set-file-acl]:
4557 [set-file-selinux-context, set-visited-file-modtime]:
4558 [verify-visited-file-modtime]: Add handler.
4559 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4560
4561 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4562 [file-notify-add-watch, file-notify-rm-watch]:
4563 [set-file-times, set-visited-file-modtime]:
4564 [verify-visited-file-modtime]: Add handler.
4565 (with-tramp-gvfs-error-message)
4566 (tramp-gvfs-handle-set-visited-file-modtime)
4567 (tramp-gvfs-fuse-file-name): Remove.
4568 (tramp-gvfs-handle-file-notify-add-watch)
4569 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4570 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4571
44e18199
JB
4572 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4573 Order alphabetically.
a43dc424
MA
4574 [file-notify-rm-watch ]: Use default Tramp handler.
4575 [executable-find]: Remove private handler.
4576 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4577 `default-directory'.
4578 (tramp-sh-handle-executable-find)
4579 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4580 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4581 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4582 Do not use `format' in `tramp-message'.
4583
4584 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4585 [file-notify-rm-watch, set-visited-file-modtime]:
4586 [verify-visited-file-modtime]: Add handler.
4587 (tramp-smb-call-winexe): Do not bind `default-directory'.
4588
7188b515
XF
45892013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4590
4591 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4592
2412ee1a
DG
45932013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4594
4595 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4596 use it.
4597 (log-view-diff-changeset): Same.
4598 (log-view-diff-common): Call backend command `previous-revision'
4599 to find out the previous revision, in both cases. Swap the
4600 variables `to' and `fr', so that `fr' usually refers to the
4601 earlier revision (Bug#14989).
4602
5002a754
KRC
46032013-07-31 Kan-Ru Chen <kanru@kanru.info>
4604
4605 * ibuf-ext.el (ibuffer-filter-by-filename):
4606 Make it work with dired buffers too.
4607
44e18199 46082013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
4609
4610 * emacs-lisp/re-builder.el (reb-color-display-p):
4611 * files.el (save-buffers-kill-terminal):
4612 * net/browse-url.el (browse-url):
4613 * server.el (server-save-buffers-kill-terminal):
4614 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4615 Prefer nil to selected-frame for the first arg of frame-parameter.
4616
aeca3fbb
XF
46172013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4618
4619 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4620
158bc55c
SB
46212013-07-30 Stephen Berman <stephen.berman@gmx.net>
4622
4623 * minibuffer.el (completion--twq-all): Try and preserve each
4624 completion's case choice (bug#14907).
4625
d50fceab
LMI
46262013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4627
ac38e731
LMI
4628 * net/network-stream.el (open-network-stream): Mention the new
4629 :nogreeting parameter.
4630 (network-stream-open-starttls): Use the :nogreeting parameter
4631 (bug#14938).
4632
1211de50
LMI
4633 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4634
997798bf
LMI
4635 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4636 more natural than popping.
4637
d50fceab 4638 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4639 (shr-urlify): Highlight under mouse.
d50fceab 4640
5c09de04
XF
46412013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4642
207d1d04
XF
4643 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4644
4645 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4646
5c09de04
XF
4647 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4648 buffer for output.
4649
3cd51eaa
XF
4650 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4651 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4652
44e18199 4653 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4654 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4655
4656 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4657
4658 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4659 buffer for output.
4660
35a89bdd
EZ
46612013-07-29 Eli Zaretskii <eliz@gnu.org>
4662
4663 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4664 initial frame is minibuffer-less. (Bug#14841)
4665
78822e94
MA
46662013-07-29 Michael Albinus <michael.albinus@gmx.de>
4667
4668 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4669 option.
4670
4671 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4672 (tramp-maybe-open-connection): Use it.
4673
9503c190
JB
46742013-07-28 Juanma Barranquero <lekktu@gmail.com>
4675
4676 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4677 minimal set of parameters passed when creating a frame, because
4678 the minibuffer status of a frame cannot be changed later.
4679
d5a845b4
SB
46802013-07-28 Stephen Berman <stephen.berman@gmx.net>
4681
4682 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4683 replace-regexp-in-string and inadvertent omissions in previous change.
4684 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4685 name of filtered items buffer.
d5a845b4 4686
ddeffb17
JB
46872013-07-28 Juanma Barranquero <lekktu@gmail.com>
4688
4689 * desktop.el: Optionally force offscreen frames back onscreen.
4690 (desktop-restoring-reuses-frames): New option.
4691 (desktop--compute-pos, desktop--move-onscreen): New functions.
4692 (desktop--make-frame): Use desktop--move-onscreen.
4693
f5950f7a
AM
46942013-07-27 Alan Mackenzie <acm@muc.de>
4695
4696 Fontify a Java generic method as a function.
4697 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4698 value to t.
4699
ae43b66a
SB
47002013-07-27 Stephen Berman <stephen.berman@gmx.net>
4701
4702 * calendar/todo-mode.el: Add command to rename todo files.
4703 (todo-rename-file): New command.
4704 (todo-key-bindings-t): Add key binding for it. Change the
4705 bindings of todo-filter-regexp-items(-multifile) to use `x'
4706 instead of `r', since the latter is better suited to the new
4707 renaming command.
4708
5ab78d3d
AM
47092013-07-27 Alan Mackenzie <acm@muc.de>
4710
4711 Make Java try-with-resources statement parse properly.
4712 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4713 (c-block-stmt-1-2-key): New language constants/variables.
4714 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4715 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4716 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4717 with c-block-stmt-1-2-key.
5ab78d3d 4718
d85c4d50
JB
47192013-07-27 Juanma Barranquero <lekktu@gmail.com>
4720
4721 * desktop.el (desktop--make-frame): Apply most frame parameters after
4722 creating the frame to force (partially or totally) offscreen frames to
4723 be restored as such.
4724
e4c467f9
XF
47252013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4726
4727 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4728 (Bug#14948)
e4c467f9 4729
7ced0d04
SM
47302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4733 `base' arg of backtrace-frame.
4734
fec92060
EZ
47352013-07-26 Eli Zaretskii <eliz@gnu.org>
4736
4737 * simple.el (list-processes): Doc fix.
4738
d58d31fb
JB
47392013-07-26 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * desktop.el (desktop--select-frame):
d85c4d50 4742 Try harder to reuse existing frames.
d58d31fb 4743
53ff3e77
SM
47442013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4747 (edebug-eval): Use backtrace-eval.
4748 (edebug--display, edebug--recursive-edit): Don't let-bind the
4749 edebug-outer-* vars that keep track of variables we locally let-bind.
4750 (edebug-outside-excursion): Don't restore outside values of locally
4751 let-bound vars.
4752 (edebug--display): Use user-error.
4753 (cl-lexical-debug, cl-debug-env): Remove.
4754
045f7a53
JB
47552013-07-26 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4758 are restored to be sure that they are visible before deleting any
4759 remaining ones.
4760
59070b32
MM
47612013-07-26 Matthias Meulien <orontee@gmail.com>
4762
742a3501
XF
4763 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4764 vc-print-root-log. (Bug#14948)
59070b32 4765
b1fb3596
RS
47662013-07-26 Richard Stallman <rms@gnu.org>
4767
4768 Add aliases for encrypting mail.
4769 * epa.el (epa-mail-aliases): New option.
4770 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4771 Bind inhibit-read-only so read-only text doesn't ruin everything.
4772 (epa-mail-default-recipients): New subroutine broken out.
4773 Handle epa-mail-aliases.
4774
56ea7291
SM
47752013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 Add support for lexical variables to the debugger's `e' command.
4778 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4779 vars, except for debugger-outer-match-data.
4780 (debugger-frame-number): Move check for "on a function call" from
4781 callers into it. Add `skip-base' argument.
4782 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4783 (debugger-env-macro): Only reset the state stored in non-variables,
4784 i.e. current-buffer and match-data.
4785 (debugger-eval-expression): Rewrite using backtrace-eval.
4786 * subr.el (internal--called-interactively-p--get-frame): Remove.
4787 (called-interactively-p):
4788 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4789 `base' arg of backtrace-frame instead.
4790
15ac32d5
GM
47912013-07-26 Glenn Morris <rgm@gnu.org>
4792
8358a09d
GM
4793 * align.el (align-regexp): Doc fix. (Bug#14857)
4794 (align-region): Explicit error if subexpression missing/does not match.
4795
15ac32d5
GM
4796 * simple.el (global-visual-line-mode):
4797 Do not duplicate the mode lighter. (Bug#14858)
4798
f47ad11b
MR
47992013-07-25 Martin Rudalics <rudalics@gmx.at>
4800
4801 * window.el (display-buffer): In display-buffer bind
4802 split-window-keep-point to t, bug#14829.
4803
02530987
JB
48042013-07-25 Juanma Barranquero <lekktu@gmail.com>
4805
4806 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4807 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4808 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4809 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4810 Change accordingly.
f63ebeb5
JB
4811 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4812 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4813
6ccb9cab 48142013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4815
6ccb9cab 4816 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4817
cb3a56d2
JB
48182013-07-25 Juanma Barranquero <lekktu@gmail.com>
4819
4820 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4821 parameter to modify-frame-parameters if the value has not changed;
4822 this is a workaround for bug#14949.
4823 (desktop--make-frame): On cl-delete-if call, check parameter name,
4824 not full parameter.
4825
7aa7fff0
XF
48262013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4827
4828 * vc/vc.el (vc-ignore): New function.
4829
4830 * vc/vc-svn.el (vc-svn-ignore): New function.
4831
4832 * vc/vc-hg.el (vc-hg-ignore): New function.
4833
4834 * vc/vc-git.el (vc-git-ignore): New function.
4835
4836 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4837 (vc-dir-ignore): New function.
4838
4839 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4840 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4841
4842 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4843
4844 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4845
889acc5c
JB
48462013-07-24 Juanma Barranquero <lekktu@gmail.com>
4847
4848 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4849 (desktop-restore-frames): Warn when deleting an existing frame failed.
4850
86c40970
GM
48512013-07-24 Glenn Morris <rgm@gnu.org>
4852
4853 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4854
d5d3c58a
MA
48552013-07-24 Michael Albinus <michael.albinus@gmx.de>
4856
4857 * filenotify.el (file-notify-supported-p):
4858 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4859 Remove functions.
4860
4861 * autorevert.el (auto-revert-use-notify):
4862 (auto-revert-notify-add-watch):
4863 * net/tramp.el (tramp-file-name-for-operation):
4864 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4865 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4866 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4867 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4868 Remove `file-notify-supported-p' entry.
4869
d100084b
GM
48702013-07-24 Glenn Morris <rgm@gnu.org>
4871
4872 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4873 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4874
ac93e56b
SM
48752013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4876
249eea30
SM
4877 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4878 checked with memq (bug#14935).
4879
ac93e56b
SM
4880 * files.el (revert-buffer-function): Use a non-nil default.
4881 (revert-buffer-preserve-modes): Declare var to
4882 provide access to the `preserve-modes' argument.
4883 (revert-buffer): Let-bind it.
4884 (revert-buffer--default): New function, extracted from revert-buffer.
4885
2cdeb903
SM
48862013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * lpr.el: Signal print errors more prominently.
4889 (print-region-function): Don't default to nil.
4890 (lpr-print-region): New function, extracted from print-region-1.
4891 Check lpr's return value and signal an error in case of problem.
4892 (print-region-1): Use it.
4893 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4894 versions instead.
4895 (ps-printer-name): Default to nil.
4896 (ps-printer-name-option): Default to lpr-printer-switch.
4897 (ps-print-region-function): Don't default to nil.
4898 (ps-postscript-code-directory): Simplify default.
4899 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4900 (ps-string-list, ps-eval-switch, ps-flatten-list)
4901 (ps-flatten-list-1): Remove.
4902 (ps-multibyte-buffer): Avoid setq.
4903 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4904 (print-region-function, ps-print-region-function): Don't set them here.
4905
73600831
XF
49062013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4907
0e55c076
XF
4908 * ido.el (ido-fractionp):
4909 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4910 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4911 (ido-max-directory-size, ido-max-dir-file-cache)
4912 (ido-decorations): Doc fix.
4913
73600831
XF
4914 * ansi-color.el: Fix old URL.
4915
3d012865
MM
49162013-07-23 Michael R. Mauger <michael@mauger.com>
4917
e903c210 4918 * progmodes/sql.el: Version 3.3
3d012865
MM
4919 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4920 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4921 (sql-interactive-remove-continuation-prompt): Rewrite, use
4922 functions above. Fix continuation prompt and complete output line
4923 handling.
4924 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4925 redirected output buffer.
4926 (sql-mode): Restore deleted code (Bug#13591).
4927
da77a2e2
JB
49282013-07-23 Juanma Barranquero <lekktu@gmail.com>
4929
4930 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4931
80ff0c71
MA
49322013-07-23 Michael Albinus <michael.albinus@gmx.de>
4933
4934 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4935
4936 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4937 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4938 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4939
b61d71e4
JB
49402013-07-23 Juanma Barranquero <lekktu@gmail.com>
4941
4942 * desktop.el (desktop-clear): Simplify; remove useless checks
4943 against invalid buffer names.
4944 (desktop-list*): Use cl-list*.
4945 (desktop-buffer-info, desktop-create-buffer): Simplify.
4946
c3512092
LL
49472013-07-23 Leo Liu <sdl.web@gmail.com>
4948
4949 * bookmark.el (bookmark-make-record): Restore NAME as a default
4950 value. (Bug#14933)
4951
0ac26976
SM
49522013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4953
7d22ce18
SM
4954 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4955 extracted from autoload--insert-text.
4956 (autoload--insert-text): Remove.
4957 (autoload--print-cookie-text): New function, extracted from
4958 autoload--insert-cookie-text.
4959 (autoload--insert-cookie-text): Remove.
4960 (autoload-generate-file-autoloads): Adjust calls accordingly.
4961
9b2607e8
SM
4962 * winner.el (winner-hook-installed-p): Remove.
4963 (winner-mode): Simplify accordingly.
4964
c43a8618
SM
4965 * subr.el (add-to-list): Fix compiler-macro when `append' is
4966 not constant. Don't use `cl-member' for the base case.
4967
0ac26976
SM
4968 * progmodes/subword.el: Fix boundary case (bug#13758).
4969 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4970 own group.
4971 (subword-backward-regexp): Make it a constant.
4972 (subword-forward-internal): Don't treat a trailing capital as the
4973 beginning of a word.
4974
6874724a
AR
49752013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4976
4977 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4978 global value of tabulated-list-revert-hook (bug#14930).
4979
70f1b5e8
JB
49802013-07-22 Juanma Barranquero <lekktu@gmail.com>
4981
a1c80d9d
JB
4982 * desktop.el: Require 'cl-lib.
4983 (desktop-before-saving-frames-functions): New hook.
4984 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4985 for frames being saved. Rename from desktop--save-minibuffer-frames.
4986 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4987 Do not save frames with non-nil `desktop-dont-save' parameter.
4988 Filter out deleted frames.
a1c80d9d
JB
4989 (desktop--find-frame): Use cl-find-if.
4990 (desktop--select-frame): Use cl-(first|second|third) to access values
4991 of desktop-mini.
4992 (desktop--make-frame): Use cl-delete-if.
4993 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4994 (desktop-restore-frames): Use cl-(first|second|third) to access values
4995 of desktop-mini. Look for visible frame at the end, not while
4996 restoring frames.
4997
70f1b5e8
JB
4998 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4999 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5000 Use string-match-p, looking-at-p (bug#14927).
5001
728dc3cc
JB
50022013-07-21 Juanma Barranquero <lekktu@gmail.com>
5003
56bc453c
JB
5004 * desktop.el (desktop-saved-frame-states):
5005 Rename from desktop--saved-states; all users changed.
5006 (desktop-save-frames): Rename from desktop--save-frames.
5007 Do not save state to desktop file.
5008 (desktop-save): Save desktop-saved-frame-states to desktop file
5009 and reset to nil.
5010 (desktop-restoring-frames-p): New function.
5011 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5012 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5013 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5014
728dc3cc
JB
5015 * desktop.el: Correctly restore iconified frames.
5016 (desktop--filter-iconified-position): New function.
5017 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5018
862f1c9c
GM
50192013-07-20 Glenn Morris <rgm@gnu.org>
5020
c4074c9f
GM
5021 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5022 Let `message' do the formatting.
5023 (def-gdb-preempt-display-buffer): Add explicit format.
5024
d828e5f9
GM
5025 * image-dired.el (image-dired-track-original-file):
5026 Use with-current-buffer.
5027 (image-dired-track-thumbnail): Use with-current-buffer.
5028 Avoid changing point of wrong window.
5029
862f1c9c
GM
5030 * image-dired.el (image-dired-track-original-file):
5031 Avoid changing point of wrong window. (Bug#14909)
5032
f0398ec1 50332013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
5034
5035 * progmodes/gdb-mi.el (gdb-done-or-error):
5036 Guard against "%" in gdb output. (Bug#14127)
5037
1451928f
AS
50382013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5039
763a086d
JB
5040 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5041 (Bug#14826)
f7a03897 5042
1451928f
AS
5043 * international/mule.el (coding-system-iso-2022-flags): Fix last
5044 change.
5045
99107004
KH
50462013-07-20 Kenichi Handa <handa@gnu.org>
5047
763a086d
JB
5048 * international/mule.el (coding-system-iso-2022-flags):
5049 Add `8-bit-level-4'. (Bug#8522)
99107004 5050
48494e06
LMI
50512013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5052
8ba8eec5
LMI
5053 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5054 (bug#14815).
5055
dfbc66e3
LMI
5056 * net/eww.el (eww-process-text-input): Allow inputting when the
5057 point is at the start of the line, as the properties aren't
5058 front-sticky.
5059
48494e06
LMI
5060 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5061 degenerate widths.
5062
77c92cb9
RS
50632013-07-19 Richard Stallman <rms@gnu.org>
5064
aec7da77
RS
5065 * epa.el (epa-popup-info-window): Doc fix.
5066
77c92cb9
RS
5067 * subr.el (split-string): New arg TRIM.
5068
945c5bb1
JB
50692013-07-18 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5072 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5073
e06ec67f
MA
50742013-07-18 Michael Albinus <michael.albinus@gmx.de>
5075
c7064f05 5076 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
5077 `file-notify-support'. Do not autoload. Adapt all uses.
5078 (file-notify-supported-p): New defun.
5079
c7064f05
JB
5080 * autorevert.el (auto-revert-use-notify):
5081 Use `file-notify-supported-p' instead of `file-notify-support'.
5082 Adapt docstring.
e06ec67f
MA
5083 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5084
5085 * net/tramp.el (tramp-file-name-for-operation):
5086 Add `file-notify-supported-p'.
5087
5088 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5089 New defun.
5090 (tramp-sh-file-name-handler-alist): Add it as handler for
5091 `file-notify-supported-p '.
5092
5093 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5094 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5095 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5096 Add `ignore' as handler for `file-notify-*' functions.
5097
5dc8a629
EZ
50982013-07-17 Eli Zaretskii <eliz@gnu.org>
5099
5100 * simple.el (line-move-partial, line-move): Don't start vscroll or
5101 scroll-up if the current line is not taller than the window.
5102 (Bug#14881)
5103
77aea2fb
DG
51042013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5105
5106 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5107 highlight question marks in the method names as strings.
ac72c08d
DG
5108 (ruby-block-beg-keywords): Inline.
5109 (ruby-font-lock-keyword-beg-re): Extract from
5110 `ruby-font-lock-keywords'.
77aea2fb 5111
18c26d81
JD
51122013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5113
5114 * frame.el (blink-cursor-blinks): New defcustom.
5115 (blink-cursor-blinks-done): New defvar.
5116 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5117 (blink-cursor-timer-function): Check if number of blinks has been
5118 done on X and NS.
5119 (blink-cursor-suspend, blink-cursor-check): New defuns.
5120
da48522e
GM
51212013-07-15 Glenn Morris <rgm@gnu.org>
5122
5123 * edmacro.el (edmacro-format-keys): Fix previous change.
5124
0463c1ef
PE
51252013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5126
5127 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5128 The hack didn't work outside English locales anyway.
5129
b43f6451
JB
51302013-07-15 Juanma Barranquero <lekktu@gmail.com>
5131
5132 * simple.el (define-alternatives): Rename from alternatives-define,
5133 per RMS' suggestion.
5134
b958c0ad
JB
51352013-07-14 Juanma Barranquero <lekktu@gmail.com>
5136
5137 * desktop.el (desktop-restore-frames): Change default to t.
5138 (desktop-restore-in-current-display): Now offer more options.
5139 (desktop-restoring-reuses-frames): New customization option.
5140 (desktop--saved-states): Doc fix.
5141 (desktop-filter-parameters-alist): New variable, renamed and expanded
5142 from desktop--excluded-frame-parameters.
5143 (desktop--target-display): New variable.
5144 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5145 (desktop--filter-tty*, desktop--filter-*-color)
5146 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5147 (desktop--filter-save-desktop-parm)
5148 (desktop-restore-in-original-display-p): New functions.
5149 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5150 (desktop--save-minibuffer-frames): New function, inspired by a similar
5151 function from Martin Rudalics.
5152 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5153 (desktop--restore-in-this-display-p): Remove.
5154 (desktop--find-frame): Rename from desktop--find-frame-in-display
5155 and add predicate argument.
5156 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5157 (desktop--reuse-list): New variable.
5158 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5159 New functions.
5160 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5161
f6dd8b36
MA
51622013-07-14 Michael Albinus <michael.albinus@gmx.de>
5163
5164 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5165
2ce3c565
DG
51662013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5167
763a086d
JB
5168 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5169 Highlight conversion methods on Kernel.
2ce3c565 5170
2cdb7698
AM
51712013-07-13 Alan Mackenzie <acm@muc.de>
5172
5173 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5174 and comment it out. This out-commenting enables certain C++
5175 declarations to be parsed correctly.
5176
1a67b811
EZ
51772013-07-13 Eli Zaretskii <eliz@gnu.org>
5178
1b796d6b
EZ
5179 * international/mule.el (define-coding-system): Doc fix.
5180
1a67b811
EZ
5181 * simple.el (default-font-height): Don't call font-info if the
5182 frame's default font didn't change since the frame was created.
5183 (Bug#14838)
5184
58fbe886
LL
51852013-07-13 Leo Liu <sdl.web@gmail.com>
5186
5187 * ido.el (ido-read-file-name): Guard against non-symbol value.
5188
1f0480d4
FEG
51892013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5190
5191 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5192 in nested defuns.
5193
97ead0e5
LL
51942013-07-13 Leo Liu <sdl.web@gmail.com>
5195
5196 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5197 ido-set-matches call. (Bug#6852)
5198
0880a952
DG
51992013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5200
5201 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5202 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5203 Ruby 2.0.
5204 (ruby-font-lock-keywords): Distinguish calls to functions with
5205 module-like names from module references. Highlight character
5206 literals.
5207
a7d8babb
SDJ
52082013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5209
5210 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 5211 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 5212
acfcc8c5
JB
52132013-07-12 Juanma Barranquero <lekktu@gmail.com>
5214
5215 * desktop.el (desktop--v2s): Remove unused local variable.
5216 (desktop-save-buffer): Make defvar-local; adjust docstring.
5217 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5218 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5219
051f2775
AS
52202013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5221
5222 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5223
f24e7572
GM
52242013-07-12 Eli Zaretskii <eliz@gnu.org>
5225
5226 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5227 (Bug#14842)
5228
539a920c
GM
52292013-07-12 Glenn Morris <rgm@gnu.org>
5230
5231 * doc-view.el: Require cl-lib at runtime too.
5232 (doc-view-remove-if): Remove.
5233 (doc-view-search-next-match, doc-view-search-previous-match):
5234 Use cl-remove-if.
5235
5236 * edmacro.el: Require cl-lib at runtime too.
5237 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5238 (edmacro-mismatch, edmacro-subseq): Remove.
5239
5240 * shadowfile.el: Require cl-lib.
5241 (shadow-remove-if): Remove.
5242 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5243 Use cl-remove-if.
5244
5245 * wid-edit.el: Require cl-lib.
5246 (widget-choose): Use cl-remove-if.
5247 (widget-remove-if): Remove.
5248
5249 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5250 (ebrowse-delete-if-not): Remove.
5251 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5252 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5253 Use cl-delete-if-not.
5254
1048af7c
JB
52552013-07-12 Juanma Barranquero <lekktu@gmail.com>
5256
5257 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5258 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5259
6c0674ee
LL
52602013-07-12 Leo Liu <sdl.web@gmail.com>
5261
5262 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5263
a19b3c2d
GM
52642013-07-11 Glenn Morris <rgm@gnu.org>
5265
4582a01c
GM
5266 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5267 (edebug-gensym-index, edebug-gensym):
5268 Remove reimplementation of cl-gensym.
5269 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5270
5271 * thumbs.el: Require cl-lib at run-time too.
5272 (thumbs-gensym-counter, thumbs-gensym):
5273 Remove reimplementation of cl-gensym.
5274 (thumbs-temp-file): Use cl-gensym.
5275
a19b3c2d
GM
5276 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5277 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5278 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5279 (ert--union, ert--gensym-counter, ert--gensym-counter)
5280 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5281 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5282 (ert-make-test-unbound, ert--expand-should-1)
5283 (ert--expand-should, ert--should-error-handle-error)
5284 (should-error, ert--explain-equal-rec)
5285 (ert--plist-difference-explanation, ert-select-tests)
5286 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5287 Use cl-lib functions rather than reimplementations.
5288
88f6a933
MA
52892013-07-11 Michael Albinus <michael.albinus@gmx.de>
5290
5291 * net/tramp.el (tramp-methods): Extend docstring.
5292 (tramp-connection-timeout): New defcustom.
5293 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5294 (with-tramp-progress-reporter): Simplify.
5295 (tramp-process-actions): Improve messages.
5296
5297 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5298 * net/tramp-sh.el (tramp-maybe-open-connection):
5299 Use `tramp-connection-timeout'.
5300 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5301 (Bug#14808)
5302
a43d577e
LL
53032013-07-11 Leo Liu <sdl.web@gmail.com>
5304
5305 * ido.el (ido-read-file-name): Conform to the requirements of
5306 read-file-name. (Bug#11861)
5307 (ido-read-directory-name): Conform to the requirements of
5308 read-directory-name.
5309
d77974bf
JB
53102013-07-11 Juanma Barranquero <lekktu@gmail.com>
5311
5312 * subr.el (delay-warning): New function.
5313
35cb8a3e
EZ
53142013-07-10 Eli Zaretskii <eliz@gnu.org>
5315
5316 * simple.el (default-line-height): New function.
5317 (line-move-partial, line-move): Use it instead of computing the
5318 line height inline.
5319 (line-move-partial): Always compute ROWH. If the last line is
5320 partially-visible, but its text is completely visible, allow
5321 cursor to enter such a partially-visible line.
5322
525c5c77
MA
53232013-07-10 Michael Albinus <michael.albinus@gmx.de>
5324
5325 Improve error messages. (Bug#14808)
5326
5327 * net/tramp.el (tramp-current-connection): New defvar, moved from
5328 tramp-sh.el.
0ac26976 5329 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 5330 needed anymore.
0ac26976
SM
5331 (tramp-error-with-buffer): Show message in minibuffer.
5332 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
5333 (with-tramp-progress-reporter): Improve messages.
5334 (tramp-process-actions): Use progress reporter. Delete process in
5335 case of error. Improve messages.
5336
763a086d
JB
5337 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5338 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 5339 (tramp-current-connection): Remove.
525c5c77
MA
5340 (tramp-maybe-open-connection): The car of
5341 `tramp-current-connection' are the first 3 slots of the vector.
5342
c7a4d368
TZ
53432013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5344
5345 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5346 inside continued strings.
5347
954b166e
PE
53482013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5349
5350 Timestamp fixes for undo (Bug#14824).
5351 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5352
56973319
LL
53532013-07-10 Leo Liu <sdl.web@gmail.com>
5354
5355 * files.el (require-final-newline): Allow safe local value.
5356 (Bug#14834)
5357
5550a72c
LL
53582013-07-09 Leo Liu <sdl.web@gmail.com>
5359
5360 * ido.el (ido-read-directory-name): Handle fallback.
5361 (ido-read-file-name): Update DIR to ido-current-directory.
5362 (Bug#1516)
c28b9050 5363 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 5364
70c46b28
DG
53652013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5366
5367 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5368 "autoload". Remove "warn lower camel case" section, previously
5369 commented out. Highlight negation char. Do not highlight the
5370 target in singleton method definitions.
5371
0b64b838
SM
53722013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5373
7fd72e2c
SM
5374 * faces.el (tty-setup-hook): Declare the hook.
5375
0b64b838
SM
5376 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5377 and detect when a guard/pred depends on local vars (bug#14773).
5378 (pcase--u1): Adjust caller.
5379
ab49d60b
EZ
53802013-07-08 Eli Zaretskii <eliz@gnu.org>
5381
5382 * simple.el (line-move-partial, line-move): Account for
5383 line-spacing.
701d79aa
EZ
5384 (line-move-partial): Avoid setting vscroll when the last
5385 partially-visible line in window is of default height.
ab49d60b 5386
2d756ae0
LMI
53872013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5388
5389 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5390 been used a while.
5391
ed095bd7
JB
53922013-07-07 Juanma Barranquero <lekktu@gmail.com>
5393
5394 * subr.el (read-quoted-char): Remove unused local variable `char'.
5395
f1e6674b
MK
53962013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5397
584ee3fc
GM
5398 * ediff.el (ediff-version): Version update.
5399 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5400 (ediff-merge-with-ancestor-command, ediff-directories-command)
5401 (ediff-directories3-command, ediff-merge-directories-command)
5402 (ediff-merge-directories-with-ancestor-command): New functions.
5403 All are command-line interfaces to ediff: to facilitate calling
5404 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
5405
5406 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5407 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 5408
584ee3fc
GM
5409 * viper.el (viper-version): Version update.
5410 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 5411
584ee3fc
GM
54122013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5415 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5416 (viper-intercept-ESC-key): Simplify.
5417 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5418 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5419 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5420 (viper-setup-ESC-to-escape): New functions.
5421 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5422 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 5423
9aff9b38
EZ
54242013-07-07 Eli Zaretskii <eliz@gnu.org>
5425
5165d44a
JB
5426 * simple.el (default-font-height, window-screen-lines):
5427 New functions.
9aff9b38
EZ
5428 (line-move, line-move-partial): Use them instead of
5429 frame-char-height and window-text-height. This makes scrolling
5430 text smoother when the buffer's default face uses a font that is
5431 different from the frame's default font.
5432
1afb1d07
JD
54332013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5434
5435 * files.el (write-file): Do not display confirm dialog for NS,
5436 it does its own dialog, which can't be cancelled (Bug#14578).
5437
23de972a
EZ
54382013-07-06 Eli Zaretskii <eliz@gnu.org>
5439
5440 * simple.el (line-move-partial): Adjust the row returned by
5441 posn-at-point for the current window-vscroll. (Bug#14567)
5442
54a42486
MA
54432013-07-06 Michael Albinus <michael.albinus@gmx.de>
5444
5445 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5446 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5447 spaces.
5448
34ada5f4
MR
54492013-07-06 Martin Rudalics <rudalics@gmx.at>
5450
5451 * window.el (window-state-put-stale-windows): New variable.
5452 (window--state-put-2): Save list of windows without matching buffer.
5453 (window-state-put): Remove "bufferless" windows if possible.
5454
11e03d89
JB
54552013-07-06 Juanma Barranquero <lekktu@gmail.com>
5456
5457 * simple.el (alternatives-define): Remove leftover :group keyword.
5458 Tweak docstring.
5459
3504a4be
LL
54602013-07-06 Leo Liu <sdl.web@gmail.com>
5461
5462 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5463 (ido-enable-virtual-buffers): New variable.
5464 (ido-buffer-internal, ido-toggle-virtual-buffers)
5465 (ido-make-buffer-list): Use it.
5466 (ido-exhibit): Support turning on and off virtual buffers
5467 automatically.
5468
61e56e2c
JB
54692013-07-06 Juanma Barranquero <lekktu@gmail.com>
5470
5471 * simple.el (alternatives-define): New macro.
5472
321e1a9c
SM
54732013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * subr.el (read-quoted-char): Use read-key.
5476 (sit-for): Let read-event decode tty input (bug#14782).
5477
d610f6dd
SB
54782013-07-05 Stephen Berman <stephen.berman@gmx.net>
5479
5480 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
5481 mode command and externally. Fix various related bugs.
5482 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
5483 (todo-delete-file): New command.
5484 (todo-check-file): New function.
5485 (todo-show): Handle external deletion of the file we're trying to
5486 show (bug#14688). Replace called-interactively-p by an optional
5487 prefix argument to avoid problematic interaction with catch form
5488 when byte compiled (bug#14702).
5489 (todo-quit): Handle external deletion of the archive's todo file.
5490 Make sure the buffer that was visiting the archive file is still
5491 live before trying to bury it.
5492 (todo-category-completions): Handle external deletion of any
5493 category completion files.
5494 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5495 of todo files, in case of external deletion.
5496 (todo-add-file): Replace unnecessary setq by let-binding.
5497 (todo-find-archive): Check whether there are any archives.
5498 Replace unnecessary setq by let-binding.
5499 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
5500 archive buffer whether or not the archive already exists.
5501 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
5502 check if the archive is new; if it is, update list of archives.
5503 (todo-default-todo-file): Allow nil to be a valid value for when
5504 there are no todo files.
5505 (todo-reevaluate-default-file-defcustom): Use corrected definition
5506 of todo-default-todo-file.
5507 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5508 (todo-delete-category, todo-show-categories-table)
5509 (todo-category-number): Clarify comment.
5510 (todo-filter-items): Clarify documentation string.
5511 (todo-show-current-file, todo-display-as-todo-file)
5512 (todo-reset-and-enable-done-separator): Tweak documentation string.
5513 (todo-done-separator): Make separator length window-width, since
5514 bug#2749 is now fixed.
5515
ddbdfd6f
MA
55162013-07-05 Michael Albinus <michael.albinus@gmx.de>
5517
321e1a9c
SM
5518 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5519 Support both "gvfs-monitor-dir" and "inotifywait".
5520 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
5521 `tramp-sh-file-notify-process-filter'.
5522 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5523 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5524
96eb829a
LL
55252013-07-05 Leo Liu <sdl.web@gmail.com>
5526
5527 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5528
cf13177e
YM
55292013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5530
5531 * frame.el (display-pixel-height, display-pixel-width)
5532 (display-mm-height, display-mm-width): Mention behavior on
5533 multi-monitor setups in docstrings.
5534 (w32-display-monitor-attributes-list): Declare function.
5535 (display-monitor-attributes-list): Use it.
5536
864c58ca
MA
55372013-07-04 Michael Albinus <michael.albinus@gmx.de>
5538
5539 * filenotify.el: New package.
5540
5541 * autorevert.el (top): Require filenotify.el.
5542 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5543 instead.
5544 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5545 (auto-revert-notify-handler): Use `file-notify-*' functions.
5546
5547 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5548
321e1a9c
SM
5549 * net/tramp.el (tramp-file-name-for-operation):
5550 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
5551
5552 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5553 for `file-notify-add-watch' and `file-notify-rm-watch'.
5554 (tramp-process-sentinel): Improve trace.
5555 (tramp-sh-handle-file-notify-add-watch)
5556 (tramp-sh-file-notify-process-filter)
5557 (tramp-sh-handle-file-notify-rm-watch)
5558 (tramp-get-remote-inotifywait): New defuns.
5559
96673afe
JL
55602013-07-03 Juri Linkov <juri@jurta.org>
5561
5562 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5563 call of `occur-read-primary-args' to interactive spec.
5564
5565 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5566 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5567
924494f4
MM
55682013-07-03 Matthias Meulien <orontee@gmail.com>
5569
5570 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5571 `Buffer-menu-multi-occur'. Add it to the menu.
5572 (Buffer-menu-mode): Document it in docstring.
5573 (Buffer-menu-multi-occur): New command. (Bug#14673)
5574
56f75efc
DG
55752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5576
5577 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5578 keywords and built-ins.
5579
9b057d61
GM
55802013-07-03 Glenn Morris <rgm@gnu.org>
5581
208dee4d
GM
5582 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5583
9b057d61
GM
5584 Make info-xref checks case-sensitive by default
5585 * info.el (Info-find-node, Info-find-in-tag-table)
5586 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5587 Add option for exact case matching of nodes.
5588 * info-xref.el (info-xref): New custom group.
5589 (info-xref-case-fold): New option.
5590 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5591
e01aa29c
LL
55922013-07-03 Leo Liu <sdl.web@gmail.com>
5593
5594 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5595
3086ca2e
DG
55962013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5597
5598 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5599 middle of block statement initially, lower the depth. Remove
5600 FIXME comment, not longer valid. Remove middle of block statement
5601 detection, no need to do that anymore since we've been using
5602 `ruby-parse-region' here.
5603
a3b49114
JD
56042013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5605
5606 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5607
08e5c823 56082013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
5609
5610 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5611
2addf922
JB
56122013-07-01 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5615 (desktop-restore-in-current-display): New customization option.
5616 (desktop--excluded-frame-parameters): Add `font'.
5617 (desktop--save-frames): Rename from desktop--save-windows.
5618 (desktop--restore-in-this-display-p): New function.
5619 (desktop--make-full-frame): Remove unwanted width/height from
5620 full(width|height) frames.
5621 (desktop--restore-frames): Rename from desktop--restore-windows.
5622 Obey desktop-restore-current-display. Do not delete old frames or
5623 select a new frame unless we were able to restore at least one frame.
5624
ef099a94
MN
56252013-06-30 Michal Nazarewicz <mina86@mina86.com>
5626
5627 * files.el (find-file-noselect): Simplify conditional expression.
5628
5629 * remember.el (remember-append-to-file):
5630 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5631
5632 Add `remember-notes' function to store random notes across Emacs
5633 restarts.
5634 * remember.el (remember-data-file): Add :set callback to affect
5635 notes buffer (if any).
5636 (remember-notes): New command.
5637 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5638 New defcustoms for the `remember-notes' function.
5639 (remember-notes-save-and-bury-buffer): New command.
5640 (remember-notes-mode-map): New variable.
5641 (remember-mode): New minor mode.
5642 (remember-notes--kill-buffer-query): New function.
5643 * startup.el (initial-buffer-choice): Add notes to custom type.
5644
0865d506
EZ
56452013-06-30 Eli Zaretskii <eliz@gnu.org>
5646
0ba54312
EZ
5647 * bindings.el (right-char, left-char): Don't call sit-for, this is
5648 no longer needed. Use arithmetic comparison only for numerical
5649 arguments.
5650
ef099a94
MN
5651 * international/mule-cmds.el (select-safe-coding-system):
5652 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5653
2fae38e5
LMI
56542013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5655
5656 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5657 progression on degenerate tables.
ef099a94 5658 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5659
a47cbd64
JB
56602013-06-30 Juanma Barranquero <lekktu@gmail.com>
5661
5662 Some fixes and improvements for desktop frame restoration.
5663 It is still experimental and disabled by default.
5664 * desktop.el (desktop--save-windows): Put the selected frame at
5665 the head of the list.
5666 (desktop--make-full-frame): New function.
5667 (desktop--restore-windows): Try to re-select the frame that was
5668 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5669 just show an error message and continue. Set up maximized frames
5670 so they have default non-maximized dimensions.
a47cbd64 5671
6dbafa30
DG
56722013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5673
ef099a94
MN
5674 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5675 Don't start heredoc inside a string or comment.
6dbafa30 5676
4c672a0f
EZ
56772013-06-29 Eli Zaretskii <eliz@gnu.org>
5678
5679 * bindings.el (visual-order-cursor-movement): New defcustom.
5680 (right-char, left-char): Provide visual-order cursor motion by
5681 calling move-point-visually. Update the doc strings.
5682
50960f36
KH
56832013-06-28 Kenichi Handa <handa@gnu.org>
5684
5685 * international/mule.el (define-coding-system): New coding system
5686 properties :inhibit-null-byte-detection,
5687 :inhibit-iso-escape-detection, and :prefer-utf-8.
5688 (set-buffer-file-coding-system): If :charset-list property of
5689 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5690 appropriate for setting.
5691
c1ea3abf
JB
5692 * international/mule-cmds.el (select-safe-coding-system):
5693 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5694 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5695
5696 * international/mule-conf.el (prefer-utf-8): New coding system.
5697 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5698 files.
5699
75dbaf9d
IK
57002013-06-28 Ivan Kanis <ivan@kanis.fr>
5701
eadb6068
IK
5702 * net/shr.el (shr-render-region): New function.
5703
75dbaf9d
IK
5704 * net/eww.el: Autoload `eww-browse-url'.
5705
9ea5cf9f
DG
57062013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5707
c1ea3abf
JB
5708 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5709 Adapt to `package-desc-version' being a list.
5710 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5711 archive element.
5712
39c0e36f
JB
57132013-06-27 Juanma Barranquero <lekktu@gmail.com>
5714
5715 New experimental feature to save&restore window and frame setup.
5716 * desktop.el (desktop-save-windows): New defcustom.
5717 (desktop--saved-states): New var.
5718 (desktop--excluded-frame-parameters): New defconst.
5719 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5720 (desktop--restore-windows, desktop--save-windows): New functions.
5721 (desktop-save): Call `desktop--save-windows'.
5722 (desktop-read): Call `desktop--restore-windows'.
5723
7f13406b
LMI
57242013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5725
ef099a94 5726 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5727
1e072639
SB
57282013-06-27 Stephen Berman <stephen.berman@gmx.net>
5729
5730 * info.el (Info-try-follow-nearest-node): Move search for footnote
5731 above search for node name to prevent missing a footnote (bug#14717).
5732
f3e2cbde
SB
57332013-06-27 Stephen Berman <stephen.berman@gmx.net>
5734
5735 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5736
99906aa0
LL
57372013-06-27 Leo Liu <sdl.web@gmail.com>
5738
5739 * net/eww.el (eww-read-bookmarks): Check file size.
5740
539f75f4
SM
57412013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5744 advice--pending if newdef is nil or an autoload (bug#13820).
5745 (advice-mapc): New function.
5746
843571cb
LMI
57472013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5748
5749 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5750 probably.
23a75d7f 5751 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5752 (eww-add-bookmark): New command.
5753 (eww-bookmark-mode): New mode and commands.
a285ce99 5754 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5755 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5756
f2136e1e
GM
57572013-06-26 Glenn Morris <rgm@gnu.org>
5758
eab35f39
GM
5759 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5760 (hfy-size): Handle ttys. (Bug#14668)
5761
f2136e1e
GM
5762 * info-xref.el: Update for Texinfo 5 change in *note format.
5763 (info-xref-node-re, info-xref-note-re): New constants.
5764 (info-xref-check-buffer): Use info-xref-note-re.
5765
a49ff80c
SM
57662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5767
a343d218
SM
5768 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5769
a49ff80c
SM
5770 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5771 nil terminate the loop (bug#14718).
5772
8308f184
LMI
57732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5774
5775 * net/eww.el: Rework history traversal. When going forward/back,
5776 put these actions into the history, too, so that they can be
5777 replayed.
26bf2b82 5778 (eww-render): Move the history reset to the correct buffer.
8308f184 5779
ec64c273
JL
57802013-06-25 Juri Linkov <juri@jurta.org>
5781
5782 * files-x.el (modify-dir-local-variable): Change the header comment
5783 in the file with directory local variables. (Bug#14692)
5784
e080a9d7
JL
5785 * files-x.el (read-file-local-variable-value): Add `default'.
5786 (Bug#14710)
5787
bfbc93a1
IK
57882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5789
5790 * net/eww.el (eww-make-unique-file-name): Create a unique file
5791 name before saving to entering `y' accidentally asynchronously.
5792
57932013-06-25 Ivan Kanis <ivan@kanis.fr>
5794
5795 * net/eww.el (eww-download): New command and keystroke.
5796
16f74f10
LMI
57972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5798
a49ff80c 5799 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5800
5801 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5802 be more consistent with Info and dired.
5803
5804 * net/eww.el (eww-mode-map): Ditto.
5805
12059709
SM
58062013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5809 packages from archives.
5810 (package-archive-contents): Change format; include obsolete packages.
5811 (package-desc): Use `dir' to mark builtin packages.
5812 (package--from-builtin): Set the `dir' field to `builtin'.
5813 (generated-autoload-file, version-control): Declare.
5814 (package-compute-transaction): Change first arg and return value to be
5815 lists of package-descs. Adjust to new package-archive-contents format.
5816 (package--add-to-archive-contents): Adjust to new
5817 package-archive-contents format.
5818 (package-download-transaction): Arg is now a list of package-descs.
5819 (package-install): If `pkg' is a package name, pass it as
5820 a requirement, so it is subject to the usual (e.g. disabled) checks.
5821 (describe-package): Accept package-desc as well.
5822 (describe-package-1): Describe a specific package-desc. Add links to
5823 other package-descs for the same package name.
5824 (package-menu-describe-package): Pass the actual package-desc.
5825 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5826 works correctly.
5827 (package-desc-status): New function.
5828 (package-menu--refresh): New function, extracted
5829 from package-menu--generate.
5830 (package-menu--generate): Use it.
5831 (package-delete): Update package-alist.
5832 (package-menu-execute): Don't call package-initialize.
5833
5834 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5835 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5836 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5837 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5838 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5839 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5840
8bbdea0f
MR
58412013-06-25 Martin Rudalics <rudalics@gmx.at>
5842
5843 * window.el (window--state-get-1): Workaround for bug#14527.
5844 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5845
e82b0991
LMI
58462013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5847
5848 * net/eww.el (eww-back-url): Implement the history by stashing all
5849 the data into a list.
d3f0f918 5850 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5851
c763842b
SM
58522013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5855 for values and use read--expression for expressions (bug#14710).
5856 (read-file-local-variable): Avoid setq.
5857 (read-file-local-variable-mode): Use minor-mode-list.
5858
bceff189
RW
58592013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5860
864c58ca 5861 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5862 for DOI URLs.
5863
45f431c6
RW
58642013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5865
864c58ca 5866 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5867 Update imenu-support when dialect changes.
5868
f42d8237
LL
58692013-06-25 Leo Liu <sdl.web@gmail.com>
5870
5871 * ido.el (ido-read-internal): Allow forward slash on windows.
5872
be549ce6
LMI
58732013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5874
5875 * net/eww.el (eww): Start of strings is \\`, not ^.
5876
71d4c19d
IK
58772013-06-24 Ivan Kanis <ivan@kanis.fr>
5878
5196f88a
IK
5879 * net/shr.el (shr-browse-url): Fix interactive spec.
5880
71d4c19d
IK
5881 * net/eww.el (eww): Add a trailing slash to domain names.
5882
ae36ca55
JB
58832013-06-24 Juanma Barranquero <lekktu@gmail.com>
5884
5885 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5886
0ebd92a3
LMI
58872013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5888
bdaa086b
LMI
5889 * net/shr.el (shr-browse-url): Use an external browser if given a
5890 prefix.
5891
c763842b 5892 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5893
b89fc156
IK
58942013-06-24 Ivan Kanis <ivan@kanis.fr>
5895
5896 * net/eww.el (eww): Work more correctly for file: URLs.
5897 (eww-detect-charset): Allow quoted charsets.
5898 (eww-yank-page-url): New command and keystroke.
5899
18eb4bca
DU
59002013-06-24 Daiki Ueno <ueno@gnu.org>
5901
5902 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5903 file name of gpg executable.
5904 (epg-context-program): New function.
5905 (epg-context-home-directory): New function.
5906 (epg-context-set-program): New function.
5907 (epg-context-set-home-directory): New function.
5908 (epg--start): Use `epg-context-program' instead of
5909 'epg-gpg-program'.
5910 (epg--list-keys-1): Likewise.
5911
6c6268c8
LL
59122013-06-24 Leo Liu <sdl.web@gmail.com>
5913
5914 * ido.el (ido-read-internal): Fix bug#14620.
5915
5e400cb3
JB
59162013-06-23 Juanma Barranquero <lekktu@gmail.com>
5917
5918 * faces.el (face-documentation): Simplify.
5919 (read-face-attribute, tty-find-type, x-resolve-font-name):
5920 Use `string-match-p'.
5921 (list-faces-display): Use `string-match-p'. Simplify.
5922 (face-spec-recalc): Check face to avoid face alias loops.
5923 (read-color): Use `string-match-p' and non-capturing parenthesis.
5924
f3f9606c
LMI
59252013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5926
5927 * net/shr.el (shr-rescale-image): Use the new
5928 :max-width/:max-height functionality.
5929
a3ca09b9
IK
59302013-06-23 Ivan Kanis <ivan@kanis.fr>
5931
5932 * net/eww.el (eww-search-prefix): New variable.
5933 (eww): Use it.
f865b474
IK
5934 (eww-external-browser): New variable.
5935 (eww-mode-map): New keystroke.
5936 (eww-browse-with-external-browser): New command.
a3ca09b9 5937
e854cfc7
IK
5938 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5939
18bb9e21
JB
59402013-06-23 Juanma Barranquero <lekktu@gmail.com>
5941
5942 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5943 Don't skip aligning the next header field when padding is 0;
5944 otherwise, field width is not respected unless the title is as
5945 wide as the field.
5946
5b165ade
SM
59472013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/package.el (package-el-version): Remove.
5950 (package-process-define-package): Fix inf-loop.
5951 (package-install): Allow symbols as arguments again.
5952
12adebe9
DG
59532013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5954
5955 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5956 add some more keyword-like methods.
5957 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5958
388573ee
JB
59592013-06-22 Juanma Barranquero <lekktu@gmail.com>
5960
5961 * bs.el (bs-buffer-show-mark): Make defvar-local.
5962 (bs-mode): Use setq-local.
5963
5964 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5965 (emacs-lock--try-unlocking): Make defvar-local.
5966
4582a01c 59672013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5968
2663dd23
GM
5969 * play/cookie1.el (cookie-apropos): Minor simplification.
5970
3d94f3ad
GM
5971 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5972
f72e2fdb
DG
59732013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5974
5975 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5976 `regexp-opt', it breaks the build during dumping.
5977
73eab938
DG
59782013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5979
c763842b
SM
5980 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5981 Highlight keyword-like methods on Kernel and Module with
73eab938 5982 font-lock-builtin-face.
5cf8176d
DG
5983 (auto-mode-alist): Consolidate different entries into one regexp
5984 and add more *file-s.
73eab938 5985
d26255f6
SB
59862013-06-21 Stephen Berman <stephen.berman@gmx.net>
5987
5988 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5989
5990 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5991 (diary-entry): Use it in the action of this button type instead of
5992 diary-goto-entry.
5993
5994 * calendar/todo-mode.el: New version.
5995 (todo-add-category): Append new category to end of file and give
5996 it the highest number, instead of putting it at the beginning and
5997 giving it 0. Incorporate noninteractive functionality.
5998 (todo-forward-category): Adapt to 1-based category numbering.
5999 Allow skipping over archived categories.
6000 (todo-backward-category): Derive from todo-forward-category.
6001 (todo-backward-item, todo-forward-item): Make noninteractive and
6002 delegate interactive part to new commands. Make sensitive to done items.
6003 (todo-categories): Make value an alist of category names and
6004 vectors of item counts.
6005 (todo-category-beg): Make a defconst.
6006 (todo-category-number): Use 1 instead of 0 as initial value.
6007 (todo-category-select): Make sensitive to overlays, optional item
6008 highlighting and done items.
6009 (todo-delete-item): Make sensitive to overlays and marked and done items.
6010 (todo-edit-item): Make sensitive to overlays and editing of
6011 date/time header optional. Add format checks.
6012 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6013 no-op if point is not on an item. Advertise using todo-edit-quit.
6014 (todo-edit-mode): Make sensitive to new format, font-locking, and
6015 multiple todo files.
6016 (todo-insert-item, todo-insert-item-here): Derive from
6017 todo-basic-insert-item and extend functionality.
6018 (todo-item-end, todo-item-start): Make sensitive to done items.
6019 (todo-item-string): Don't return text properties. Restore point.
6020 (todo-jump-to-category): Make sensitive to multiple todo files and
6021 todo archives. Use extended category completion.
6022 (todo-lower-item, todo-raise-item): Rename to *-priority and
6023 derive from todo-set-item-priority.
6024 (todo-mode): Derive from special-mode. Make sensitive to new
6025 format, font-locking and multiple todo files. Make read-only.
6026 (todo-mode-map): Don't suppress digit keys, so they can supply
6027 prefix arguments. Add many new key bindings.
6028 (todo-prefix): Insert as an overlay instead of file text.
6029 Change semantics from diary date expression to purely visual mark.
6030 (todo-print): Rename to todo-print-buffer. Make buffer display
6031 features printable. Remove option to restrict number of items
6032 printed. Add option to print to file.
6033 (todo-print-function): Rename to todo-print-buffer-function.
6034 (todo-quit): Extend to handle exiting new todo modes.
6035 (todo-remove-item): Make sensitive to overlays.
6036 (todo-save): Extend to buffers of filtered items.
6037 (todo-show): Make sensitive to done items, multiple todo files and
6038 new todo modes. Offer to convert legacy todo file before creating
6039 first new todo file.
6040 (todo-show-priorities): Rename to todo-top-priorities.
6041 Change semantics of value 0.
6042 (todo-top-priorities): Rename to todo-filter-top-priorities,
6043 derive from todo-filter-items and extend functionality.
6044 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6045 and extend functionality to other types of filtered items.
6046 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6047 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6048 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6049 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6050 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6051 (todo-edit-mode-hook, todo-entry-prefix-function)
6052 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6053 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6054 (todo-initials, todo-insert-threshold, todo-item-string-start)
6055 (todo-line-string, todo-menu, todo-mode-hook)
6056 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6057 (todo-print-priorities, todo-remove-separator)
6058 (todo-save-top-priorities-too, todo-string-count-lines)
6059 (todo-string-multiline-p, todo-time-string-format)
6060 (todo-tmp-buffer-name): Remove.
6061 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6062 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6063 (todo-edit-category-diary-inclusion)
6064 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6065 (todo-edit-file, todo-edit-item-date-day)
6066 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6067 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6068 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6069 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6070 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6071 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6072 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6073 (todo-filter-top-priorities-multifile, todo-find-archive)
6074 (todo-find-filtered-items-file, todo-go-to-source-item)
6075 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6076 (todo-jump-to-archive-category, todo-lower-category)
6077 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6078 (todo-move-category, todo-move-item, todo-next-button)
6079 (todo-next-item, todo-padded-string, todo-powerset)
6080 (todo-previous-button, todo-previous-item)
6081 (todo-print-buffer-to-file, todo-raise-category)
6082 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6083 (todo-set-category-number, todo-set-item-priority)
6084 (todo-set-top-priorities-in-category)
6085 (todo-set-top-priorities-in-file, todo-show-categories-table)
6086 (todo-sort-categories-alphabetically-or-numerically)
6087 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6088 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6089 (todo-toggle-item-header, todo-toggle-item-highlighting)
6090 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6091 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6092 (todo-unarchive-items, todo-unmark-category): New commands.
6093 (todo-absolute-file-name, todo-add-to-buffer-list)
6094 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6095 (todo-basic-insert-item, todo-category-completions)
6096 (todo-category-number, todo-category-string-matcher-1)
6097 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6098 (todo-check-format, todo-clear-matches)
6099 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6100 (todo-current-category, todo-date-string-matcher)
6101 (todo-define-insertion-command, todo-diary-expired-matcher)
6102 (todo-diary-goto-entry, todo-diary-item-p)
6103 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6104 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6105 (todo-done-item-section-p, todo-done-separator)
6106 (todo-done-string-matcher, todo-files, todo-filter-items)
6107 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6108 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6109 (todo-insert-category-line, todo-insert-item-from-calendar)
6110 (todo-insert-sort-button, todo-insert-with-overlays)
6111 (todo-insertion-command-name, todo-insertion-key-bindings)
6112 (todo-label-to-key, todo-longest-category-name-length)
6113 (todo-make-categories-list, todo-mode-external-set)
6114 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6115 (todo-modes-set-3, todo-multiple-filter-files)
6116 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6117 (todo-read-category, todo-read-date, todo-read-dayname)
6118 (todo-read-file-name, todo-read-time)
6119 (todo-reevaluate-category-completions-files-defcustom)
6120 (todo-reevaluate-default-file-defcustom)
6121 (todo-reevaluate-filelist-defcustoms)
6122 (todo-reevaluate-filter-files-defcustom)
6123 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6124 (todo-reset-done-separator, todo-reset-done-separator-string)
6125 (todo-reset-done-string, todo-reset-global-current-todo-file)
6126 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6127 (todo-reset-prefix, todo-set-categories)
6128 (todo-set-date-from-calendar, todo-set-show-current-file)
6129 (todo-set-top-priorities, todo-short-file-name)
6130 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6131 (todo-total-item-counts, todo-update-buffer-list)
6132 (todo-update-categories-display, todo-update-categories-sexp)
6133 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6134 New functions.
6135 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6136 New major modes.
6137 (todo-categories, todo-display, todo-edit, todo-faces)
6138 (todo-filtered): New defgroups.
6139 (todo-archived-only, todo-button, todo-category-string, todo-date)
6140 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6141 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6142 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6143 (todo-add-item-if-new-category, todo-always-add-time-string)
6144 (todo-categories-align, todo-categories-archived-label)
6145 (todo-categories-category-label, todo-categories-diary-label)
6146 (todo-categories-done-label, todo-categories-number-separator)
6147 (todo-categories-todo-label, todo-categories-totals-label)
6148 (todo-category-completions-files, todo-completion-ignore-case)
6149 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6150 (todo-done-separator-string, todo-done-string)
6151 (todo-files-function, todo-filter-done-items, todo-filter-files)
6152 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6153 (todo-initial-category, todo-initial-file, todo-item-mark)
6154 (todo-legacy-date-time-regexp, todo-mode-line-function)
6155 (todo-nondiary-marker, todo-number-prefix)
6156 (todo-print-buffer-function, todo-show-current-file)
6157 (todo-show-done-only, todo-show-first, todo-show-with-done)
6158 (todo-skip-archived-categories, todo-top-priorities-overrides)
6159 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6160 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6161 New defcustoms.
6162 (todo-category-done, todo-date-pattern, todo-date-string-start)
6163 (todo-diary-items-buffer, todo-done-string-start)
6164 (todo-filtered-items-buffer, todo-item-start)
6165 (todo-month-abbrev-array, todo-month-name-array)
6166 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6167 (todo-top-priorities-buffer): New defconsts.
6168 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6169 (todo-categories-with-marks, todo-category-string-face)
6170 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6171 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6172 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6173 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6174 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6175 (todo-font-lock-keywords, todo-global-current-todo-file)
6176 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6177 (todo-insertion-commands-args)
6178 (todo-insertion-commands-args-genlist)
6179 (todo-insertion-commands-names, todo-insertion-map)
6180 (todo-key-bindings-t, todo-key-bindings-t+a)
6181 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6182 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6183 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6184 (todo-visited): New variables.
6185
cad5d1cb
GM
61862013-06-21 Glenn Morris <rgm@gnu.org>
6187
6188 * play/cookie1.el (cookie-apropos): Add optional display argument.
6189 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6190 (psychoanalyze-pinhead): Use cookie-doctor.
6191
9e277302
JB
61922013-06-21 Juanma Barranquero <lekktu@gmail.com>
6193
6194 * emacs-lisp/package.el (tar-get-file-descriptor)
6195 (tar--extract): Declare.
6196
c5b0993e
EW
61972013-06-21 Eduard Wiebe <usenet@pusto.de>
6198
6199 Extend flymake's warning predicate to be a function (bug#14217).
6200 * progmodes/flymake.el (flymake-warning-predicate): New.
6201 (flymake-parse-line): Use it.
6202 (flymake-warning-re): Make obsolete alias to
6203 `flymake-warning-predicate'.
6204
a7d2d465
SM
62052013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6208 (package-obsolete-list): Remove.
6209 (package-activate): Remove min-version argument. Add `force' argument.
6210 Adjust to new package-alist format.
6211 (package-mark-obsolete): Remove.
6212 (package-unpack): Force reload of the package's autoloads.
6213 (package-installed-p): Check builtins if the installed package is not
6214 recent enough.
6215 (package-initialize): Don't reset package-obsolete-list.
6216 Don't specify which package version to activate.
6217 (package-process-define-package, describe-package-1)
6218 (package-menu--generate): Adjust to new package-alist format.
6219
cedf5c9d
JB
62202013-06-21 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * allout-widgets.el (allout-widgets-mode-off)
6223 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6224 (allout-widgets-post-command-business)
6225 (allout-widgets-after-copy-or-kill-function)
6226 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6227 (allout-decorate-item-and-context)
6228 (allout-graphics-modification-handler): Fix typos in docstrings.
6229 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6230
6231 * cmuscheme.el (scheme-start-file): Doc fix.
6232 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6233 (scheme-input-filter): Use `string-match-p'.
6234
6235 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6236
6237 * dired-x.el: Use Dired consistently in docstrings.
6238
6239 * dired.el: Use Dired consistently in docstrings.
6240 (dired-readin, dired-mode): Use `setq-local'.
6241 (dired-switches-alist): Make defvar-local.
6242 (dired-buffers-for-dir): Use `zerop'.
6243 (dired-safe-switches-p, dired-switches-escape-p)
6244 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6245 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6246 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6247 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6248 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6249 (dired-toggle-marks, dired-mark-files-containing-regexp)
6250 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6251 (dired-flag-auto-save-files, dired-flag-backup-files):
6252 Use `looking-at-p'.
6253 (dired-mark-files-regexp, dired-build-subdir-alist):
6254 Use `string-match-p', `looking-at-p'.
6255
6256 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6257 (direct-print-region-helper): Use `string-match-p'.
6258
aed838b5
LL
62592013-06-21 Leo Liu <sdl.web@gmail.com>
6260
cedf5c9d
JB
6261 * comint.el (comint-redirect-results-list-from-process):
6262 Fix infinite loop.
aed838b5 6263
d80a808f
LMI
62642013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265
6266 * net/eww.el (eww-update-header-line-format): Quote % characters.
6267
e7a526e3
GM
62682013-06-21 Glenn Morris <rgm@gnu.org>
6269
6270 * play/cookie1.el (cookie): New custom group.
6271 (cookie-file): New option.
6272 (cookie-check-file): New function.
6273 (cookie): Make it interactive. Make start and end messages optional.
6274 Interactively, display the result. Default to cookie-file.
6275 (cookie-insert): Default to cookie-file.
6276 (cookie-snarf): Make start and end messages optional.
6277 Default to cookie-file. Use with-temp-buffer.
6278 (cookie-read): Rename from read-cookie.
6279 Make start and end messages optional. Default to cookie-file.
6280 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 6281 Do not autoload it.
e7a526e3
GM
6282 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6283 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6284
62efb35e
LL
62852013-06-21 Leo Liu <sdl.web@gmail.com>
6286
6287 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6288
21e3f963
GM
62892013-06-21 Glenn Morris <rgm@gnu.org>
6290
6291 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6292
fd846ab4
SM
62932013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6294 Daniel Hackney <dan@haxney.org>
6295
6296 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6297 Consolidate the single-file vs tarball code.
6298 (package-desc-suffix): New function.
6299 (package-desc-full-name): Don't bother inlining it.
6300 (package-load-descriptor): Return the new package-desc.
6301 (package-mark-obsolete): Remove unused arg `package'.
6302 (package-unpack): Make it work for single files as well.
6303 Make it update package-alist.
6304 (package--make-autoloads-and-stuff): Rename from
6305 package--make-autoloads-and-compile. Don't compile any more.
6306 (package--compile): New function.
6307 (package-generate-description-file): New function, extracted from
6308 package-unpack-single.
6309 (package-unpack-single): Remove.
6310 (package--with-work-buffer): Add indentation and debugging info.
6311 (package-download-single): Remove.
6312 (package-install-from-archive): Rename from package-download-tar, make
6313 it take a pkg-desc, and make it work for single files as well.
6314 (package-download-transaction): Simplify.
6315 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6316 external tar program.
6317 (package-install-from-buffer): Remove `pkg-desc' argument.
6318 Use package-tar-file-info for tar-mode buffers.
6319 (package-install-file): Simplify accordingly.
6320 (package-archive-base): Change to take a pkg-desc.
6321 * tar-mode.el (tar--check-descriptor): New function, extracted from
6322 tar-get-descriptor.
6323 (tar-get-descriptor): Use it.
6324 (tar-get-file-descriptor): New function.
6325 (tar--extract): New function, extracted from tar-extract.
6326 (tar--extract): Use it.
6327 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6328 case the summary uses non-ascii. Adjust to new calling convention of
6329 package-tar-file-info.
6330
b7deae5e
LL
63312013-06-21 Leo Liu <sdl.web@gmail.com>
6332
fd846ab4
SM
6333 * comint.el (comint-redirect-results-list-from-process):
6334 Fix random delay. (Bug#14681)
b7deae5e 6335
7a65a0b2
JB
63362013-06-21 Juanma Barranquero <lekktu@gmail.com>
6337
6338 * profiler.el (profiler-format-number): Use log, not log10.
6339
1493c2af
JB
63402013-06-20 Juanma Barranquero <lekktu@gmail.com>
6341
6342 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6343
aff6371e
SM
63442013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6347 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6348 yet available.
6349 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6350 (AUTOGENEL): ... here.
6351 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6352 (cl--defsubst-expand): Use it.
6353
89561f72
PE
63542013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6355
6356 * subr.el (log10): Move here from C code, and declare as obsolete.
6357 All uses of (log10 X) replaced with (log X 10).
6358
47199123
JB
63592013-06-20 Juanma Barranquero <lekktu@gmail.com>
6360
6361 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6362 Declare with `defvar-local'.
6363 (tabulated-list-use-header-line, tabulated-list-entries)
6364 (tabulated-list-padding, tabulated-list-printer)
6365 (tabulated-list-sort-key): Declare with `defvar-local'.
6366 (tabulated-list-init-header, tabulated-list-print-fake-header):
6367 Use `setq-local'.
6368
4a172eab
MA
63692013-06-20 Michael Albinus <michael.albinus@gmx.de>
6370
47199123
JB
6371 * arc-mode.el (archive-mode): Add `archive-write-file' to
6372 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 6373
5fc0acc0
JB
63742013-06-20 Juanma Barranquero <lekktu@gmail.com>
6375
d5b27848
JB
6376 * cus-edit.el (custom-commands): Fix typos.
6377 (custom-display): Fix tooltip text.
6378 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6379 Fix typos in docstrings.
6380 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6381 (custom-unlispify-menu-entry, custom-magic-value-create)
6382 (custom-add-see-also, custom-group-value-create): Use ?\s.
6383 (custom-guess-type, customize-apropos, editable-field)
6384 (custom-face-value-create): Use `string-match-p'.
6385 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6386
6387 * custom.el (custom-load-symbol): Use `string-match-p'.
6388
a5c581d8
JB
6389 * ansi-color.el: Convert to lexical binding.
6390 (ansi-colors): Fix URL.
6391 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6392 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6393 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6394
970ad972
G
63952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6396
6397 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6398
6399 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6400
64012013-06-19 Tom Tromey <tromey@redhat.com>
6402
6403 * net/eww.el (eww-top-url): Remove.
6404 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6405 (eww-render): Set new variables. Don't set eww-top-url.
6406 (eww-handle-link): Handle "prev", "home", and "contents".
6407 Downcase the rel text.
6408 (eww-top-url): Choose best top URL.
6409
64102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6411
6412 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6413 relying in widget.el. Using widget.el leads to too many
6414 user interface inconsistencies.
6415 (eww-self-insert): Implement entering commands in text fields.
6416 (eww-process-text-input): New function to make text input field editing
6417 work.
6418 (eww-submit): Rewrite to use the new-style form methods.
6419 (eww-select-display): Display the correct selected item.
6420 (eww-change-select): Implement changing the select value.
6421 (eww-toggle-checkbox): Implement radio/checkboxes.
6422 (eww-update-field): Fix compilation error.
6423 (eww-tag-textarea): Implement <textarea>.
6424
6425 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6426 we don't shadow mode-specific bindings.
6427
6428 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6429 nothing to push.
6430
6431 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6432
4582a01c 64332013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
6434
6435 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6436
15b263dc
MA
64372013-06-19 Michael Albinus <michael.albinus@gmx.de>
6438
6439 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6440 not needed.
6441
6442 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6443
8f5297f7
LMI
64442013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6445
6446 * net/browse-url.el (browse-url-browser-function):
6447 `eww-browse-url' has the right calling signature, `eww' does not.
6448
011c4552
GM
64492013-06-19 Glenn Morris <rgm@gnu.org>
6450
2285bd27
GM
6451 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6452 Only eval autoloaded macros.
6453 (byte-compile-autoload): Only give the macro warning for macros.
6454
1d653303
GM
6455 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6456 (ps-underlined-faces): Declare.
6457
bdd779ec
GM
6458 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6459 (speedbar-add-supported-extension): Declare.
6460
011c4552
GM
6461 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6462 Don't include a date stamp in the header of the generated file;
6463 it leads to needless differences between output files.
6464
e59dfb0e
MA
64652013-06-19 Michael Albinus <michael.albinus@gmx.de>
6466
c763842b
SM
6467 * net/secrets.el (secrets-struct-secret-content-type):
6468 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 6469 Some servers do not offer introspection.
e59dfb0e 6470
102626e2
SM
64712013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * electric.el (electric-pair-mode): Improve interaction with
6474 electric-layout-mode.
6475 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6476 (electric-pair-syntax): Use text-mode-syntax-table in comments
6477 and strings.
6478 (electric-pair--insert): New function.
6479 (electric-pair-post-self-insert-function): Use it and
6480 electric--after-char-pos.
6481
ad528125
LL
64822013-06-19 Leo Liu <sdl.web@gmail.com>
6483
6484 * progmodes/octave.el (octave-help): Fix regexp.
6485
924d6997
G
64862013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6487
6488 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6489 (shr-table-horizontal-line): Allow nil as a value, and change the
6490 default.
6491 (shr-insert-table-ruler): Respect the nil value.
6492
64932013-06-18 Tom Tromey <tromey@barimba>
6494
6495 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6496 New defvars.
6497 (eww-open-file): New defun.
6498 (eww-render): Initialize new variables.
6499 (eww-display-html): Handle "link" and "a".
6500 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6501 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6502 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
6503 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6504 New defuns.
924d6997 6505
d1bbba4f
DG
65062013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6507
6508 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6509 Distinguish ternary operator tokens from slash symbol and slash
6510 char literal.
6511
14dd22d2
JB
65122013-06-18 Juanma Barranquero <lekktu@gmail.com>
6513
6514 Convert symbol prettification into minor mode and global minor mode.
6515
6516 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6517 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6518 (prettify-symbols--keywords): Rename from
6519 `prog-prettify-symbols-alist' and make a local defvar.
6520 (prettify-symbols--compose-symbol): Rename from
6521 `prog--prettify-font-lock-compose-symbol'.
6522 (prettify-symbols--make-keywords): Rename from
6523 `prog-prettify-font-lock-symbols-keywords' and simplify.
6524 (prog-prettify-install): Remove.
6525 (prettify-symbols-mode): New minor mode, based on
6526 `prog-prettify-install'.
6527 (turn-on-prettify-symbols-mode): New function.
6528 (global-prettify-symbols-mode): New globalized minor mode.
6529
6530 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6531 * progmodes/cfengine.el (cfengine3-mode):
6532 * progmodes/perl-mode.el (perl-mode): Don't call
6533 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6534
292c880c
JL
65352013-06-18 Juri Linkov <juri@jurta.org>
6536
6537 * files-x.el (modify-file-local-variable-message): New function.
6538 (modify-file-local-variable)
6539 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6540 and call `modify-file-local-variable-message' when it's non-nil.
6541 (add-file-local-variable, delete-file-local-variable)
6542 (add-file-local-variable-prop-line)
6543 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6544 and use it. (Bug#9820)
6545
0950aa27
JL
65462013-06-18 Juri Linkov <juri@jurta.org>
6547
6548 * emulation/vi.el (vi-shell-op):
6549 * emulation/vip.el (vip-execute-com, ex-command):
6550 * emulation/viper-cmd.el (viper-exec-bang):
6551 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6552 the call of `shell-command-on-region'. (Bug#14637)
6553
6554 * simple.el (shell-command-on-region): Doc fix.
6555
8fbcca16
SM
65562013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6559 (bug#14633).
6560
dd7426ea
GM
65612013-06-18 Glenn Morris <rgm@gnu.org>
6562
4ba54f7d
GM
6563 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6564
dd7426ea
GM
6565 * newcomment.el (comment-search-forward, comment-search-backward):
6566 Doc fix. (Bug#14376)
6567
58aa805b
JB
65682013-06-18 Juanma Barranquero <lekktu@gmail.com>
6569
6570 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6571 (buffer-face-mode-invoke): Doc fix.
6572
9a08a617
MM
65732013-06-18 Matthias Meulien <orontee@gmail.com>
6574
6575 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 6576 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 6577
f2f426ca
GM
65782013-06-18 Glenn Morris <rgm@gnu.org>
6579
9445f99b
GM
6580 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6581 Replace obsolete function generic-make-keywords with its expansion.
6582
e0df2d14
GM
6583 * progmodes/python.el (ffap-alist): Declare.
6584
f2f426ca
GM
6585 * textmodes/reftex.el (bibtex-mode-map): Declare.
6586
f7f9a720
SM
65872013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6588
6589 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6590 (package-unpack, package-unpack-single): Return the pkg-dir.
6591 (package-download-transaction): Use it to update package-alist.
6592
57ff04e0
LMI
65932013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6594
6595 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6596 possible choice.
6597
c048c022
JL
65982013-06-17 Juri Linkov <juri@jurta.org>
6599
6600 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6601
b5bcaee5
DG
66022013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6603
a020afb9
JB
6604 * emacs-lisp/package.el (package-load-descriptor):
6605 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
6606 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6607
551e07e5
JB
66082013-06-17 Juanma Barranquero <lekktu@gmail.com>
6609
6610 * startup.el (command-line): Expand package name returned by
6611 `package--description-file' (bug#14639).
6612
d363bffb
DG
66132013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6614
6615 * emacs-lisp/package.el (package-load-descriptor): Do not call
6616 `emacs-lisp-mode', just use its syntax table.
6617
f612933b
JB
66182013-06-17 Juanma Barranquero <lekktu@gmail.com>
6619
6620 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6621 `font-lock-extra-managed-props' if any prettifying keyword is added.
6622 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6623 (prog-mode): Use `setq-local'.
6624
db3b7db5
SM
66252013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * international/characters.el (standard-case-table): Set syntax of ?»
6628 and ?« to punctuation.
6629
f3d674df
JB
66302013-06-16 Juanma Barranquero <lekktu@gmail.com>
6631
6632 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6633 Save relevant match data before calling `syntax-ppss' (bug#14595).
6634
31489a32
JL
66352013-06-15 Juri Linkov <juri@jurta.org>
6636
6637 * files-x.el (modify-file-local-variable-prop-line): Add local
6638 variables to the end of the existing comment on the first line.
6639 Use `file-auto-mode-skip' to skip interpreter magic line,
6640 and also skip XML declaration.
6641
66bd25ab
SM
66422013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * startup.el (package--builtin-versions): New var.
6645 (package-subdirectory-regexp): Remove.
6646 (package--description-file): Hard code its value instead.
6647
6648 * emacs-lisp/package.el: Don't activate packages older than builtin.
6649 (package-obsolete-list): Rename from package-obsolete-alist, and make
6650 it into a simple list of package-desc.
6651 (package-strip-version): Remove.
6652 (package-built-in-p): Use package--builtin-versions.
6653 (package-mark-obsolete): Simplify.
6654 (package-process-define-package): Mark it obsolete if older than the
6655 builtin version.
6656 (package-handle-response): Use line-end-position.
6657 (package-read-archive-contents, package--download-one-archive):
6658 Simplify.
6659 (package--add-to-archive-contents): Skip if older than the builtin or
6660 installed version.
6661 (package-menu-describe-package): Fix last change.
6662 (package-list-unversioned): New var.
6663 (package-menu--generate): Use it.
6664
6665 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6666 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6667 (autoload-builtin-package-versions): New variable.
6668 (autoload-generate-file-autoloads): Use them.
6669 Remove the list of autoloaded functions/macros from the
6670 (autoload...) comments.
6671
6672 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6673
9583ec36
EZ
66742013-06-15 Eli Zaretskii <eliz@gnu.org>
6675
6676 * simple.el (line-move-partial): Don't jump to the next screen
6677 line as soon as it becomes visible. Instead, continue enlarging
6678 the vscroll until the portion of a tall screen line that's left on
6679 display is about the height of the frame's default font.
6680 (Bug#14567)
6681
f0100d8a
GM
66822013-06-15 Glenn Morris <rgm@gnu.org>
6683
b86a85ca
GM
6684 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6685 compilation-error-regexp-alist void, or local while let-bound.
6686
f0100d8a
GM
6687 * progmodes/make-mode.el (makefile-mode-syntax-table):
6688 Treat "=" as punctuation. (Bug#14614)
6689
05e7ce90
JB
66902013-06-15 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * help-fns.el (describe-variable):
6693 Add extra line for permanent-local variables.
6694
12e5e86e
SH
66952013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6696
6697 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6698 Add export, import, library. (Bug#9164)
6699 (library): Set indent function.
6700
230dcbaf
GM
67012013-06-14 Glenn Morris <rgm@gnu.org>
6702
6703 * term/xterm.el (xterm--query):
6704 Stop after first matching handler. (Bug#14615)
6705
e36b2d20 67062013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6707
6708 Add support for dired in saveplace.
6709 * dired.el (dired-initial-position-hook): New variable.
6710 (dired-initial-position): Call hook to place cursor position.
6711 * saveplace.el (save-place-to-alist): Add dired position.
6712 (save-place-dired-hook): New function.
6713
0b31660d
SM
67142013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6715
bf1e6ae8
SM
6716 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6717 through a symbol rather than letrec.
6718
1b8dff23
SM
6719 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6720 (package-desc): Add `dir' field.
6721 (package-desc-full-name): New function.
6722 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6723 (package-maybe-load-descriptor): Remove.
6724 (package-load-all-descriptors): Just call package-load-descriptor.
6725 (package--disabled-p): New function.
6726 (package-desc-vers, package-desc-doc): Remove aliases.
6727 (package--dir): Remove function.
6728 (package-activate): Check if a package is disabled.
6729 (package-process-define-package): New function, extracted from
6730 define-package.
6731 (define-package): Turn into a place holder.
6732 (package-unpack-single, package-tar-file-info):
6733 Use package--description-file.
6734 (package-compute-transaction): Use package--disabled-p.
6735 (package-download-transaction): Don't call
6736 package-maybe-load-descriptor since they're all loaded anyway.
6737 (package-install): Change argument to be a pkg-desc.
6738 (package-delete): Use a single pkg-desc argument.
6739 (describe-package-1): Use package-desc-dir instead of package--dir.
6740 Use package-desc property instead of package-symbol.
6741 (package-install-button-action): Adjust accordingly.
6742 (package--push): Rewrite.
6743 (package-menu--print-info): Adjust accordingly. Change the ID format
6744 to be a pkg-desc.
6745 (package-menu-describe-package, package-menu-get-status)
6746 (package-menu--find-upgrades, package-menu-mark-upgrades)
6747 (package-menu-execute, package-menu--name-predicate):
6748 Adjust accordingly.
6749 * startup.el (package--description-file): New function.
6750 (command-line): Use it.
6751 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6752 Use package-desc-version.
6753
0b31660d
SM
6754 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6755 (byte-compile-preprocess): Use it.
6756 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6757 can't quite recognize.
6758 (byte-compile-add-to-list): Remove.
6759 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6760 (cconv-closure-convert): Add assertion.
6761
6762 * emacs-lisp/map-ynp.el: Use lexical-binding.
6763 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6764 Factor out some repeated code.
6765
de0503df
SM
67662013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * subr.el (with-eval-after-load): New macro.
6769 (eval-after-load): Allow form to be a function.
6770 take advantage of lexical-binding.
6771 (do-after-load-evaluation): Use dolist and adjust to new format.
6772 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6773
bc5c8c5a
JL
67742013-06-13 Juri Linkov <juri@jurta.org>
6775
6776 * replace.el (perform-replace): Display "symbol " and other search
6777 modes from `isearch-message-prefix' in the *Help* buffer.
6778
6779 * isearch.el (isearch-query-replace): Add " symbol" and other
6780 possible search modes from `isearch-message-prefix' to the prompt.
6781 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6782 when reading a regexp to collect.
6783
a22289f7
JL
67842013-06-13 Juri Linkov <juri@jurta.org>
6785
6786 * isearch.el (word-search-regexp): Match whitespace if the search
6787 string begins or ends in whitespace. The LAX arg is applied to
6788 both ends of the search string. Use `regexp-quote' and explicit
6789 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6790 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6791 boundaries are replaced with symbol boundaries, and characters
6792 between symbols match non-word non-symbol syntax. (Bug#14602)
6793
cb89acab
JL
67942013-06-13 Juri Linkov <juri@jurta.org>
6795
6796 * isearch.el (isearch-del-char): Don't exceed the length of
6797 `isearch-string' by the prefix arg. (Bug#14563)
6798
6e8cfc81
JL
67992013-06-13 Juri Linkov <juri@jurta.org>
6800
6801 * isearch.el (isearch-yank-word, isearch-yank-line)
6802 (isearch-char-by-name, isearch-quote-char)
6803 (isearch-printing-char, isearch-process-search-char):
6804 Add optional count prefix arg. (Bug#14563)
6805
6806 * international/isearch-x.el
6807 (isearch-process-search-multibyte-characters):
6808 Add optional count prefix arg.
6809
c23d55f4
VS
68102013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6813 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6814 lexical-binding.
6815
68162013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6817
6818 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6819
ba947bc4
GM
68202013-06-13 Glenn Morris <rgm@gnu.org>
6821
8baeb37a
GM
6822 * startup.el (tty-handle-args):
6823 Don't just discard "--" and anything after. (Bug#14608)
6824
ba947bc4
GM
6825 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6826
9abefce4
MA
68272013-06-13 Michael Albinus <michael.albinus@gmx.de>
6828
6829 Implement changes in Secret Service API. Make it backward compatible.
6830 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6831 (secrets-create-item): Use it. Prefix properties with interface.
6832
5755011f
MH
68332013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6834
6835 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6836 (term-emulate-terminal): Respect term-suppress-hard-newline.
6837
1261d2da
S
68382013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6839
6840 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6841 Only remove a `thumb-file' overlay. (Bug#14548)
6842
868490bb
GJ
68432013-06-12 Grégoire Jadi <daimrod@gmail.com>
6844
6845 * mail/reporter.el (reporter-submit-bug-report):
6846 Handle missing package-name. (Bug#14600)
6847
79d7167f
TH
68482013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6849
6850 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6851 (reftex-citation-prompt, reftex-default-bibliography)
6852 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6853 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6854 (reftex-bib-sort-author, reftex-bib-sort-year)
6855 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6856 (reftex-extract-bib-entries-from-thebibliography)
6857 (reftex-get-bibkey-default, reftex-get-bib-names)
6858 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6859 (reftex-format-bib-entry, reftex-parse-bibitem)
6860 (reftex-format-bibitem, reftex-do-citation)
6861 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6862 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6863 (reftex-insert-bib-matches, reftex-format-citation)
6864 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6865 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6866 existing comments into docstrings.
6867
5f9dbd7a
XF
68682013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6869
6870 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6871
94df41ab
AS
68722013-06-12 Andreas Schwab <schwab@suse.de>
6873
6874 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6875 for auto-save files.
6876
a7f3fecc
GM
68772013-06-12 Glenn Morris <rgm@gnu.org>
6878
001809f6
GM
6879 * ido.el (ido-delete-ignored-files): Remove.
6880 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6881 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6882
834b5ded
EL
68832013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6884
08c73ed2
EL
6885 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6886
834b5ded
EL
6887 * ido.el (ido-delete-ignored-files): New function,
6888 split from ido-make-file-list-1.
6889 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6890 (ido-make-file-list-1): Use ido-delete-ignored-files.
6891
daabf15a
LL
68922013-06-12 Leo Liu <sdl.web@gmail.com>
6893
6894 * progmodes/octave.el (inferior-octave-startup)
6895 (inferior-octave-completion-table)
6896 (inferior-octave-track-window-width-change)
6897 (octave-eldoc-function-signatures, octave-help)
6898 (octave-find-definition): Use single quoted strings.
6899 (inferior-octave-startup-args): Change default value.
6900 (inferior-octave-startup): Do not hard code "-i" and
6901 "--no-line-editing".
6902 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6903 (inferior-octave-directory-tracker): Use it.
6904 (octave-goto-function-definition): Robustify.
6905 (octave-help): Support highlighting operators in 'See also'.
6906 (octave-find-definition): Find subfunctions only in Octave mode.
6907
cf4e5178
SM
69082013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * help-fns.el (help-fns--compiler-macro): If the handler function is
6911 named, then put a link to it.
6912 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6913 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6914 (cl-typep): Use it.
6915 (cl-eval-when): Simplify debug spec.
6916 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6917 compiler-macro function instead of setting `compiler-macro-file'.
6918
99c81280 69192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6920
6921 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6922 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6923
f56be016
SM
69242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6925 Daniel Hackney <dan@haxney.org>
6926
6927 First part of Daniel Hackney's patch to package.el.
6928 * emacs-lisp/package.el: Use defstruct.
6929 (package-desc): New, main struct.
6930 (package--bi-desc, package--ac-desc): New structs, used to describe the
6931 format in external files.
6932 (package-desc-vers): Replace with package-desc-version accessor.
6933 (package-desc-doc): Replace with package-desc-summary accessor.
6934 (package-activate-1): Remove `package' arg since the pkg-vec now
6935 includes the name.
6936 (define-package): Use package-desc-from-define.
6937 (package-unpack-single): Change file-name arg to be a symbol.
6938 (package--add-to-archive-contents): Use package-desc-create and new
6939 accessor functions to package--ac-desc.
6940 (package-buffer-info, package-tar-file-info): Return a package-desc.
6941 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6942 arg to be a package-desc.
6943 (package-install-file): Adjust accordingly. Use \' to match EOS.
6944 (package--from-builtin): New function.
6945 (describe-package-1, package-menu--generate): Use it.
6946 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6947 (package-generate-autoloads): Idem and return the name of the file.
6948 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6949 Change pkg-info arg to be a package-desc.
6950 Use package-make-ac-desc.
6951 (package-upload-file): Use \' to match EOS.
6952 * finder.el (finder-compile-keywords): Use package-make-builtin.
6953
31119d63
SM
69542013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6955
931a2762
SM
6956 * vc/vc.el (vc-deduce-fileset): Change error message.
6957 (vc-read-backend): New function.
6958 (vc-next-action): Use it.
6959
5a3eb0c6
SM
6960 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6961
e3eb1bb7
SM
6962 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6963 (prolog-font-lock-keywords): Use regexp-opt instead.
6964 Don't manually highlight strings.
6965 (prolog-mode-variables): Simplify comment-start-skip.
6966 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6967
31119d63
SM
6968 * emacs-lisp/generic.el (generic--normalise-comments)
6969 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6970 (generic-mode-set-comments): Use them.
6971 (generic-bracket-support): Use setq-local.
6972 (generic-make-keywords-list): Declare obsolete.
6973
7de135d0
GM
69742013-06-11 Glenn Morris <rgm@gnu.org>
6975
6976 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6977 Prettify after setting font-lock-defaults. (Bug#14574)
6978
fa6bc6fd
JB
69792013-06-11 Juanma Barranquero <lekktu@gmail.com>
6980
6981 * replace.el (query-replace, occur-read-regexp-defaults-function)
6982 (replace-search):
6983 * subr.el (declare-function, number-sequence, local-set-key)
6984 (substitute-key-definition, locate-user-emacs-file)
6985 (with-silent-modifications, split-string, eval-after-load):
6986 Fix typos, remove unneeded backslashes and reflow some docstrings.
6987
cf1f9b9a
SM
69882013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6991 default for Elisp files.
6992
56602a4b
GM
69932013-06-11 Glenn Morris <rgm@gnu.org>
6994
6995 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6996 although define-derived-mode was doing this anyway. (Bug#14583)
6997
30ae0b2c
JB
69982013-06-10 Juanma Barranquero <lekktu@gmail.com>
6999
7000 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7001 Fix make-variable-buffer-local call to refer to the correct variable.
7002
fa472906
AG
70032013-06-10 Aidan Gauland <aidalgol@amuri.net>
7004
7005 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
7006 (eshell-visual-subcommands, eshell-visual-options):
7007 Add summary line to docstrings. Add cross-references.
fa472906 7008
ff4871b9
GM
70092013-06-10 Glenn Morris <rgm@gnu.org>
7010
7011 * epa.el (epa-read-file-name): New function. (Bug#14510)
7012 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7013
04fcf1b0
AG
70142013-06-09 Aidan Gauland <aidalgol@amuri.net>
7015
7016 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7017 output redirection to be ignored with visual commands.
7018
88b00caa
AG
70192013-06-09 Aidan Gauland <aidalgol@amuri.net>
7020
7021 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
7022 (eshell-term-initialize): Move long lambda to separate function
7023 eshell-visual-command-p.
e7b41c4c
JB
7024 * eshell/em-dirs.el (eshell-dirs-initialise):
7025 * eshell/em-script.el (eshell-script-initialize):
7026 Add missing #' to lambda.
88b00caa 7027
fda74125
LL
70282013-06-08 Leo Liu <sdl.web@gmail.com>
7029
7030 * progmodes/octave.el (octave-add-log-current-defun): New function.
7031 (octave-mode): Set add-log-current-defun-function.
7032 (octave-goto-function-definition): Do not move point if not found.
7033 (octave-find-definition): Enhance to try subfunctions first.
7034
467f3b33
GM
70352013-06-08 Glenn Morris <rgm@gnu.org>
7036
7037 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7038 (byte-compile-backward-char, byte-compile-backward-word):
7039 Improve previous change, to handle non-explicit nil.
7040
544badc3
SM
70412013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7044 (smie--opener/closer-at-point): New function.
7045 (smie--matching-block-data): Use it. Don't match from right after an
7046 opener or right before a closer. Obey smie-blink-matching-inners.
7047 Don't signal a mismatch for repeated inners like "switch..case..case".
7048
a175bf33
LL
70492013-06-07 Leo Liu <sdl.web@gmail.com>
7050
7051 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7052 to t. (Bug#14303)
ce8209d4
LL
7053 (octave-function-header-regexp): Fix. (Bug#14570)
7054 (octave-help-mode-finish-hook, octave-help-mode-finish):
7055 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
7056
7057 * newcomment.el (comment-search-backward): Revert last change.
7058 (Bug#14434)
7059
7060 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7061
a822acff
EZ
70622013-06-07 Eli Zaretskii <eliz@gnu.org>
7063
7064 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7065 through xargs, to avoid failure due to MS-Windows limitations on
7066 command-line length.
7067
961166f5
GM
70682013-06-06 Glenn Morris <rgm@gnu.org>
7069
d0341459
GM
7070 * font-lock.el (lisp-font-lock-keywords-2):
7071 Treat user-error like error.
7072
961166f5
GM
7073 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7074 (byte-compile-backward-char, byte-compile-backward-word):
7075 Handle explicit nil arguments. (Bug#14565)
7076
80fa505f
AM
70772013-06-05 Alan Mackenzie <acm@muc.de>
7078
7079 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 7080 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 7081 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 7082 (Bug#9706)
80fa505f 7083
fccdc796
SM
70842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * autorevert.el (auto-revert-notify-handler): Use memq.
7087 Hide assertion failure.
7088
7089 * skeleton.el: Use cl-lib.
7090 (skeleton-further-elements): Use defvar-local.
7091 (skeleton-insert): Use cl-progv.
7092
9bfff84b
TZ
70932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7094
7095 * progmodes/prog-mode.el (prog-prettify-symbols)
7096 (prog-prettify-install): Update docstrings.
7097
55577e7c
SM
70982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * simple.el: Move all the prog-mode code to prog-mode.el.
7101 * progmodes/prog-mode.el: New file.
7102 * loadup.el: Add prog-mode.el.
7103
8fc57765
TZ
71042013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7105
7106 * simple.el (prog-prettify-symbols): Add version.
7107 (prog-prettify-install): Add convenience function to prettify symbols.
7108
7109 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7110 (perl--augmented-font-lock-keywords-1)
7111 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7112 variables and use it.
7113
7114 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7115 (cfengine3-mode): Remove unneeded variable and use it.
7116
7117 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7118 (lisp--augmented-font-lock-keywords-1)
7119 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7120 Remove unneeded variables and use it.
7121
650645d5 71222013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
7123
7124 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 7125 to point when opening the connection. (Bug#14380)
28f5da6d 7126
781b4af6
SM
71272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * subr.el (load-history-regexp, load-history-filename-element)
7130 (eval-after-load, after-load-functions, do-after-load-evaluation)
7131 (eval-next-after-load, display-delayed-warnings)
7132 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7133 definition of save-match-data.
7134 (overriding-local-map): Remove accidental obsolescence declaration.
7135
7136 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7137
3ca0d0b4
TZ
71382013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7139
7140 Generalize symbol prettify support to prog-mode and implement it
7141 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7142 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7143 (prog--prettify-font-lock-compose-symbol)
7144 (prog-prettify-font-lock-symbols-keywords): New variables and
7145 functions to support symbol prettification.
7146 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7147 (lisp--augmented-font-lock-keywords-1)
7148 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7149 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7150 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
7151 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7152 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
7153 * progmodes/perl-mode.el (perl-prettify-symbols)
7154 (perl--font-lock-compose-symbol)
7155 (perl--font-lock-symbols-keywords): Move to prog-mode.
7156 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7157 (perl-font-lock-keywords-1)
7158 (perl-font-lock-keywords-2): Remove explicit prettify support.
7159 (perl--augmented-font-lock-keywords)
7160 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
7161 (perl--augmented-font-lock-keywords-2, perl-mode):
7162 Implement prettify support.
3ca0d0b4 7163
976cb066
LL
71642013-06-05 Leo Liu <sdl.web@gmail.com>
7165
7166 Re-implement smie matching block highlight using
7167 show-paren-data-function. (Bug#14395)
7168 * emacs-lisp/smie.el (smie-matching-block-highlight)
7169 (smie--highlight-matching-block-overlay)
7170 (smie--highlight-matching-block-lastpos)
7171 (smie-highlight-matching-block)
7172 (smie-highlight-matching-block-mode): Remove.
7173 (smie--matching-block-data-cache): New variable.
7174 (smie--matching-block-data): New function.
7175 (smie-setup): Use smie--matching-block-data for
7176 show-paren-data-function.
7177
7178 * progmodes/octave.el (octave-mode-menu): Fix.
7179 (octave-find-definition): Skip garbage lines.
7180
208d0342
SM
71812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 Fix compilation error with simultaneous dynamic+lexical scoping.
7184 Add warning when a defvar appears after the first let-binding.
7185 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7186 (byte-compile-close-variables): Initialize it.
7187 (byte-compile--declare-var): New function.
7188 (byte-compile-file-form-defvar)
7189 (byte-compile-file-form-define-abbrev-table)
7190 (byte-compile-file-form-custom-declare-variable): Use it.
7191 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7192 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7193 (byte-compile-bind): Handle dynamic bindings that shadow
7194 lexical bindings.
7195 (byte-compile-unbind): Make arg non-optional.
7196 (byte-compile-let): Simplify.
7197 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7198 (cconv--analyse-function, cconv-analyse-form): Populate it.
7199 Protect byte-compile-bound-variables to limit the scope of defvars.
7200 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7201 Remove unneeded rule for `declare'.
7202
7203 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7204 so as to avoid depending on cl-adjoin at run-time.
7205 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7206
7207 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7208 (macroexp--warn-and-return): Use it.
7209
1ac2891e
GM
72102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * lisp/subr.el: Convert to lexical binding.
7213 (overriding-local-map): Make obsolete.
7214 (add-to-list): Doc fix. Add compiler macro.
7215 (read-key): Swap values of local maps.
7216
2587b005
LL
72172013-06-05 Leo Liu <sdl.web@gmail.com>
7218
7219 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7220
f1da3c88
LL
72212013-06-04 Leo Liu <sdl.web@gmail.com>
7222
7223 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7224 (compilation-auto-jump): Suppress the "Mark set" message to give
7225 way to exit message.
7226
3caa391f
AM
72272013-06-04 Alan Mackenzie <acm@muc.de>
7228
7229 Remove faulty optimisation from indentation calculation.
7230 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7231 search limit based on 2000 characters back from indent-point.
7232
068922a2
TH
72332013-06-03 Tassilo Horn <tsdh@gnu.org>
7234
7235 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7236
1f8fdd53
SM
72372013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7238
bbcc4d97
SM
7239 * emacs-lisp/lisp.el: Use lexical-binding.
7240 (lisp--local-variables-1, lisp--local-variables): New functions.
7241 (lisp--local-variables-completion-table): New var.
208d0342 7242 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 7243
1f8fdd53
SM
7244 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7245 eagerly (bug#14422).
7246
c9628c79
MA
72472013-06-03 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * autorevert.el (auto-revert-notify-enabled)
7250 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7251 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7252 (auto-revert-notify-handler): Handle also gfilenotify.
7253
e7b41c4c 7254 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 7255 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 7256 Remove.
c9628c79 7257
e5e4a942
JL
72582013-06-03 Juri Linkov <juri@jurta.org>
7259
7260 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7261 `M-s h .'. (Bug#14427)
7262
7263 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7264 command `hi-lock-face-symbol-at-point'.
7265 (hi-lock-face-symbol-at-point): New command.
7266 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7267 (hi-lock-menu): Add `highlight-symbol-at-point'.
7268 (hi-lock-mode): Doc fix.
7269
7270 * isearch.el (isearch-forward-symbol-at-point): New command.
7271 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7272 (isearch-highlight-regexp): Add a regexp which matches
7273 words/symbols for word/symbol mode.
7274
7275 * subr.el (find-tag-default-bounds): New function with the body
7276 mostly moved from `find-tag-default'.
7277 (find-tag-default): Move most code to `find-tag-default-bounds',
7278 call it and apply `buffer-substring-no-properties' afterwards.
7279
26b3353a
TH
72802013-06-03 Tassilo Horn <tsdh@gnu.org>
7281
781b4af6
SM
7282 * eshell/em-term.el (eshell-term-initialize):
7283 Use `cl-intersection' rather than `intersection'.
26b3353a 7284
51b60f53
XF
72852013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7286
fe054b63 7287 * vc/log-view.el: Doc fix.
d3ffe17c 7288 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 7289
a0eb10b3 72902013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
7291
7292 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7293 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7294 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7295 (eieio-unbound, eieio-default-superclass)
7296 (eieio--define-field-accessors, method-static, method-before)
7297 (method-primary, method-after, method-num-lists)
7298 (method-generic-before, method-generic-primary)
7299 (method-generic-after, method-num-slots)
7300 (eieio-specialized-key-to-generic-key)
7301 (eieio--check-type, class-v, class-p)
7302 (eieio-class-name, define-obsolete-function-alias)
7303 (eieio-class-parents-fast, eieio-class-children-fast)
7304 (same-class-fast-p, class-constructor, generic-p)
7305 (generic-primary-only-p, generic-primary-only-one-p)
7306 (class-option-assoc, class-option, eieio-object-p)
7307 (class-abstract-p, class-method-invocation-order)
7308 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7309 (eieio-class-un-autoload, eieio-defclass)
7310 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7311 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7312 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7313 (eieio-defgeneric-reset-generic-form)
7314 (eieio-defgeneric-form-primary-only)
7315 (eieio-defgeneric-reset-generic-form-primary-only)
7316 (eieio-defgeneric-form-primary-only-one)
7317 (eieio-defgeneric-reset-generic-form-primary-only-one)
7318 (eieio-unbind-method-implementations)
7319 (eieio--defmethod, eieio--typep)
7320 (eieio-perform-slot-validation, eieio-validate-slot-value)
7321 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7322 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7323 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7324 (eieio-slot-name-index, eieio-class-slot-name-index)
7325 (eieio-set-defaults, eieio-initarg-to-attribute)
7326 (eieio-attribute-to-initarg, eieio-c3-candidate)
7327 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7328 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7329 (eieio-class-precedence-list, eieio-generic-call-methodname)
7330 (eieio-generic-call-arglst, eieio-generic-call-key)
7331 (eieio-generic-call-next-method-list)
7332 (eieio-pre-method-execution-functions, eieio-generic-call)
7333 (eieio-generic-call-primary-only, eieiomt-method-list)
7334 (eieiomt-optimizing-obarray, eieiomt-install)
7335 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7336 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 7337 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
7338 (defclass): Remove `eval-and-compile' from macro.
7339 (call-next-method, shared-initialize): Instead of using
7340 `scoped-class' variable, use new eieio--scoped-class, and
7341 eieio--with-scoped-class.
7342 (initialize-instance): Rename local variable 'scoped-class' to
7343 'this-class' to remove ambiguitity from old global.
7344
7345 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7346 eieio.el.
4f405069
JB
7347 (eieio--scoped-class-stack): New variable.
7348 (eieio--scoped-class): New fcn.
890f7890
DE
7349 (eieio--with-scoped-class): New scoping macro.
7350 (eieio-defclass): Use pushnew instead of add-to-list.
7351 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7352 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7353 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7354 `scoped-class' variable, use new eieio--scoped-class, and
7355 eieio--with-scoped-class.
7356
7357 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7358
d105b0e2
TH
73592013-06-02 Tassilo Horn <tsdh@gnu.org>
7360
7361 * eshell/esh-ext.el (eshell-external-command): Pass args to
7362 `eshell-find-interpreter'.
7363 (eshell-find-interpreter): Add new second parameter ARGS.
7364
7365 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 7366 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7367
7368 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 7369 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
7370
7371 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7372 (eshell-visual-options): New defcustom.
7373 (eshell-escape-control-x): Adapt docstring.
7374 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7375 `eshell-visual-options' in addition to `eshell-visual-commands'.
7376 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7377
f46305c8 73782013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
7379
7380 * progmodes/python.el (python-indent-block-enders): Add break,
7381 continue and raise keywords.
7382
d870df21
GM
73832013-06-01 Glenn Morris <rgm@gnu.org>
7384
9133b82e
GM
7385 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7386
02c992ec 7387 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
7388 * progmodes/cc-cmds.el (delete-forward-p):
7389 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7390 * progmodes/cc-engine.el (buffer-syntactic-context):
7391 * progmodes/cc-fonts.el (face-property-instance):
7392 * progmodes/cc-mode.el (set-keymap-parents):
7393 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7394 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7395 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
7396 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7397 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 7398
31e7b090
GM
7399 * progmodes/cc-vars.el (other): Emacs has this widget since
7400 at least 21.1, so don't (re)define it.
7401
d870df21
GM
7402 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7403 Replace the obsolete alias pcomplete-arg-quote-list.
7404
c75c93c7
LL
74052013-06-01 Leo Liu <sdl.web@gmail.com>
7406
7407 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7408 punctuation syntax.
7409 (inferior-octave-minimal-columns)
7410 (inferior-octave-last-column-width): New variables.
7411 (inferior-octave-track-window-width-change): New function.
7412 (inferior-octave-mode): Adjust column width so that Octave output,
7413 for example from 'ls', can fit into the window nicely.
7414
973d1e12
DG
74152013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7416
7417 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7418 Highlight expansions inside regexp literals.
7419
0888c286
GM
74202013-05-31 Glenn Morris <rgm@gnu.org>
7421
e26aac1f
GM
7422 * obsolete/sym-comp.el (symbol-complete):
7423 Replace obsolete completion-annotate-function.
7424
0888c286
GM
7425 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7426
19bb8e62
DG
74272013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7428
781b4af6
SM
7429 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7430 New function, checks if point is inside a literal that allows
19bb8e62
DG
7431 expression expansion.
7432 (ruby-syntax-propertize-expansion): Use it.
7433 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7434 around the body.
7435
01dea85f
JL
74362013-05-30 Juri Linkov <juri@jurta.org>
7437
7438 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7439 to "\M-si".
7440 (isearch-invisible): New variable.
7441 (isearch-forward): Doc fix.
7442 (isearch-mode): Set `isearch-invisible'
7443 to the value of `search-invisible'.
7444 (isearch-toggle-case-fold): Doc fix.
7445 (isearch-toggle-invisible): New command.
7446 (isearch-query-replace): Let-bind `search-invisible'
7447 to the value of `isearch-invisible'.
7448 (isearch-search): Use `isearch-invisible' instead of
7449 `search-invisible'. Let-bind `search-invisible'
7450 to the value of `isearch-invisible'. (Bug#11378)
7451
ab1bdce5
JL
74522013-05-30 Juri Linkov <juri@jurta.org>
7453
7454 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7455 call when `query-flag' is nil and `search-invisible' is non-nil.
7456 (Bug#11746)
7457
d6d236e2
GM
74582013-05-30 Glenn Morris <rgm@gnu.org>
7459
8accd027
GM
7460 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7461
2a8bed1c
GM
7462 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7463 (cc-require): Suppress spurious "noruntime" warnings.
7464 (cc-require-when-compile): Use fboundp, for sake of compiler.
7465
d6d236e2
GM
7466 * progmodes/cc-mode.el: Move load of cc-vars before that of
7467 cc-langs (which in turn loads cc-vars), to quieten compiler.
7468
9190b35b
SM
74692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * paren.el: Simplify the code.
7472 (show-paren-mode): Always start the timer.
7473 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7474 (show-paren--overlay, show-paren--overlay-1): Rename from
7475 show-paren-overlay and show-paren-overlay-1, and initialize to an
7476 overlay rather than to nil.
7477 (show-paren-function): Misc cleanup and simplifications.
7478
4f8d1cf6
SM
74792013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * paren.el (show-paren-data-function): New hook.
7482 (show-paren--default): New function, extracted from show-paren-function.
7483 (show-paren-function): Use show-paren-data-function.
7484
02d844b5
GM
74852013-05-30 Glenn Morris <rgm@gnu.org>
7486
d209d4a9
GM
7487 * ielm.el (ielm-map, ielm-complete-symbol):
7488 Use completion-at-point rather than obsolete functions.
7489 (inferior-emacs-lisp-mode): Doc fix.
7490 Set completion-at-point-functions, rather than
7491 comint-dynamic-complete-functions.
7492
2082faa6
GM
7493 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7494 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7495 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7496
dd8620de
GM
7497 * image.el (image-animated-p): Tweak definition.
7498
ceca95b1
GM
7499 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7500 (rlogin-process-connection-type): Tweak default. Add set-after.
7501 (rlogin-host): Doc fix.
7502 (rlogin): Tweak prompt.
7503 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7504
ee9f1acc
GM
7505 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7506 * progmodes/tcl.el (inferior-tcl-mode-map):
7507 Use completion-at-point rather than obsolete alias.
7508
45ce222e
GM
7509 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7510
02d844b5
GM
7511 * minibuffer.el (read-file-name-completion-ignore-case):
7512 Move before completion--in-region, for eager macro expansion.
7513
ac44d6c1
JL
75142013-05-29 Juri Linkov <juri@jurta.org>
7515
7516 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7517 for total count of matching lines. Add `global-matches' for total
7518 count of matches. Rename `matches' to `lines' for count of
7519 matching lines. Add `matches' for count of matches.
7520 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7521 to `prev-line' for line number of prev match endpt.
7522 Increment `matches' for every match. Print the number of
7523 matching lines in the header.
7524 (occur-context-lines): Rename `lines' to `curr-line'.
7525 Rename `prev-lines' to `prev-line'. (Bug#14017)
7526
3c9c9d38
JL
75272013-05-29 Juri Linkov <juri@jurta.org>
7528
7529 * replace.el (perform-replace): Add `skip-read-only-count',
7530 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7531 Increment them for corresponding conditions and report the number
7532 of skipped occurrences in the final message. (Bug#11746)
7533 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7534 (replace-string, replace-regexp): Doc fix.
7535
33e249a2
SM
75362013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7537
8e399682
SM
7538 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7539
33e249a2 7540 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 7541 prog-mode-map (bug#14504).
33e249a2 7542
f236dd84
LL
75432013-05-29 Leo Liu <sdl.web@gmail.com>
7544
7545 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7546 (octave-help): Small simplification.
7547
7548 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7549 off the highlight first.
7550
3694d13f
GM
75512013-05-29 Glenn Morris <rgm@gnu.org>
7552
03983bdc
GM
7553 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7554 Handle idlwave-last-system-routine-info-cons-cell being nil.
7555
bc74a74a
GM
7556 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7557 (idlwave-write-paths): Simplify via with-temp-buffer.
7558
8b394200
GM
7559 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7560 * emulation/cua-rect.el: Also load cua-base at run time.
7561
3694d13f
GM
7562 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7563 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7564 (cperl-imenu-on-info): Require imenu.
7565
336d7284
AM
75662013-05-28 Alan Mackenzie <acm@muc.de>
7567
7568 Handle "capitalised keywords" correctly.
33e249a2 7569 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 7570
cb29c582
AG
75712013-05-28 Aidan Gauland <aidalgol@amuri.net>
7572
781b4af6 7573 * eshell/em-unix.el: Add -r option to cp.
cb29c582 7574
690e44b2
GM
75752013-05-28 Glenn Morris <rgm@gnu.org>
7576
e658d75c
GM
7577 * vc/vc-arch.el (vc-exec-after): Declare.
7578 (vc-switches): Autoload.
7579 * vc/vc-bzr.el: No need to require vc when compiling.
7580 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7581 (vc-resynch-buffer, vc-dir-refresh): Declare.
7582 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
7583 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7584 (vc-resynch-buffer): Declare.
7585 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 7586 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
7587 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7588 (grep-read-regexp, grep-read-files, grep-expand-template)
7589 (vc-dir-refresh): Declare.
7590 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7591 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7592 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
7593 * vc/vc-mtn.el (vc-exec-after): Declare.
7594 (vc-switches): Autoload.
7595 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7596 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7597 (vc-file-tree-walk): Declare.
712b9732
GM
7598 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7599 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7600 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
7601 * vc/vc-svn.el (vc-exec-after): Declare.
7602 (vc-switches, vc-setup-buffer): Autoload.
7603 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7604 Autoload.
7605 (vc-resynch-buffer): Declare.
7606
98e87fb3
GM
7607 * obsolete/fast-lock.el (byte-compile-warnings):
7608 Don't warn about obsolete features in this obsolete file.
7609
f5379553
GM
7610 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7611 Move definition before use.
7612
7a20ef83
GM
7613 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7614 (dun-unix-verbs): Remove dun-zippy.
7615 (dun-zippy): Remove function.
7616
690e44b2
GM
7617 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7618
3a52ccf7
JL
76192013-05-27 Juri Linkov <juri@jurta.org>
7620
7621 * replace.el (replace-search): New function with code moved out
7622 from `perform-replace'.
7623 (replace-highlight, replace-dehighlight): Move function definitions
7624 up closer to `replace-search'. (Bug#11746)
7625
d289938a
JL
76262013-05-27 Juri Linkov <juri@jurta.org>
7627
7628 * replace.el (perform-replace): Ignore invisible matches.
7629 In addition to checking `query-replace-skip-read-only', also
7630 filter out matches by calling `run-hook-with-args-until-failure'
7631 on `isearch-filter-predicates', and also check `search-invisible'
7632 for t or call `isearch-range-invisible'.
7633 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7634
66fc57e3
JL
76352013-05-27 Juri Linkov <juri@jurta.org>
7636
7637 * isearch.el (isearch-filter-predicates): Rename from
7638 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7639 (isearch-message-prefix): Display text from the property
7640 `isearch-message-prefix' of the currently active filters.
7641 (isearch-search): Don't compare `isearch-filter-predicate' with
7642 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7643 on `isearch-filter-predicates'. Also check `search-invisible' for t
7644 or call `isearch-range-invisible'.
7645 (isearch-filter-visible): Make obsolete.
7646 (isearch-lazy-highlight-search):
7647 Call `run-hook-with-args-until-failure' on
7648 `isearch-filter-predicates' and use `isearch-range-invisible'.
7649
7650 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7651 `isearch-filter-predicates' instead of `funcall'ing
7652 `isearch-filter-predicate'.
7653 (Info-mode): Set `Info-isearch-filter' to
7654 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7655
7656 * dired-aux.el (dired-isearch-filter-predicate-orig):
7657 Remove variable.
7658 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7659 (dired-isearch-filenames-end): Add and remove
7660 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7661 instead of changing the value of `isearch-filter-predicate'.
7662 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7663 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7664 Put property `isearch-message-prefix' to "filename " on
7665 `dired-isearch-filter-filenames'.
7666
7667 * wdired.el (wdired-change-to-wdired-mode):
7668 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7669 locally instead of changing `isearch-filter-predicate'.
7670 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7671
f1a60a0f
DG
76722013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7673
7674 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7675 return the commit hash (Bug#14459). Also set the
7676 `vc-git-detached' property.
7677 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7678 (vc-git-mode-line-string): Use the same help-echo format whether
7679 in detached mode or not, because we know the actual revision now.
7680 When in detached mode, shorten the revision to 7 chars.
7681
7f17cc40
SM
76822013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * emacs-lisp/easy-mmode.el (define-minor-mode):
7685 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7686 mode hook and provide a docstring.
7687
25c8401c
AM
76882013-05-27 Alan Mackenzie <acm@muc.de>
7689
7690 Remove spurious syntax-table text properties inserted by C-y.
7691 * progmodes/cc-mode.el (c-after-change): Also clear hard
7692 syntax-table property with value nil.
7693
dde84790
MA
76942013-05-27 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7697 when reading the events; the buffer layout shall not be changed.
7698
837fd9af
LL
76992013-05-27 Leo Liu <sdl.web@gmail.com>
7700
7701 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7702 New variable.
7703 (inferior-octave-directory-tracker): Automatically re-sync
7704 default-directory.
7705 (octave-help): Improve handling of 'See also'.
7706
4fd996b3
SM
77072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7708
416f1802
SM
7709 * doc-view.el: Minor naming convention tweaks.
7710 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7711
4fd996b3
SM
7712 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7713 even if there's no `display' property yet (bug#14435).
7714
a052ef3b
EZ
77152013-05-25 Eli Zaretskii <eliz@gnu.org>
7716
4fd996b3 7717 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7718
7719 * Makefile.in (custom-deps, finder-data, autoloads)
7720 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7721 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7722 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7723
c9023370
SM
77242013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7727 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7728 Don't burp at EOB.
c9023370 7729
24d699fa
LL
77302013-05-25 Leo Liu <sdl.web@gmail.com>
7731
7732 * comint.el (comint-previous-matching-input): Do not flood the
7733 *Messages* buffer with trivial messages.
7734
17e5c0cc
SM
77352013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * progmodes/flymake.el (flymake-nop): Don't return a string.
7738 (flymake-set-at): Fix typo.
7739
7740 * simple.el (read--expression): New function, extracted from
7741 eval-expression. Set completion-at-point-functions (bug#14465).
7742 (eval-expression, eval-minibuffer): Use it.
7743
5d028165
XF
77442013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7745
7746 * progmodes/flymake.el (flymake-save-buffer-in-file)
7747 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7748 (flymake-selected-frame, flymake-log, flymake-ins-after)
7749 (flymake-set-at, flymake-get-buildfile-from-cache)
7750 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7751 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7752 Refine the doc string.
7753 (flymake-get-file-name-mode-and-masks): Reformat.
7754 (flymake-get-real-file-name-function): Fix a minor bug.
7755
7a1d7ba7
JL
77562013-05-24 Juri Linkov <juri@jurta.org>
7757
7758 * progmodes/grep.el (grep-mode-font-lock-keywords):
7759 Support =linenumber= format used by git-grep for lines with
7760 function names. (Bug#13549)
7761
650cff3d
SM
77622013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7765 0 after a semi-colon; it works better for smie-auto-fill.
7766 (octave--indent-new-comment-line): New function.
7767 (octave-indent-new-comment-line): Use it (indirectly).
7768 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7769 modify comment-line-break-function.
7770
7771 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7772 (smie-setup): Use add-function to set it.
7773
9631677d
SS
77742013-05-24 Sam Steingold <sds@gnu.org>
7775
7776 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7777 argument (before the `interactive' argument).
7778
50105835
SM
77792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * image-mode.el (image-mode-winprops): Add winprops to
7782 image-mode-winprops-alist before running
7783 image-mode-new-window-functions.
7784 * doc-view.el (doc-view-new-window-function): Don't delay
7785 doc-view-goto-page via timers (bug#14435).
7786
57b9823e
TH
77872013-05-24 Tassilo Horn <tsdh@gnu.org>
7788
7789 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7790 (doc-view-desktop-save-buffer): New function.
7791 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7792 (desktop-buffer-mode-handlers):
7793 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7794 handler.
7795 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7796 `desktop-save-buffer' function.
7797
91aafa16
MA
77982013-05-24 Michael Albinus <michael.albinus@gmx.de>
7799
7800 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7801 (tramp-gvfs-file-name-handler): Raise a user error when
7802 `tramp-gvfs-enabled' is nil.
7803 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7804 Do not raise a user error when loading package. (Bug#14447)
7805
ec076379
MA
7806 * net/xesam.el: Move to obsolete/.
7807
db785726
GM
78082013-05-24 Glenn Morris <rgm@gnu.org>
7809
af5c7606
GM
7810 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7811
e5d1916a
GM
7812 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7813
ded62b08
GM
7814 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7815 (Info-find-node, Man-getpage-in-background): Declare.
7816
9e614a3f
GM
7817 * mail/unrmail.el (unrmail):
7818 Replace obsolete detect-coding-with-priority.
7819
892f8ca3
GM
7820 * net/socks.el (socks-split-string): Use this rather than split-string.
7821 (socks-nslookup-host): Update for above change.
7822 (dynamic-choice, s5-dynamic-choice-match)
7823 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7824 Comment out unused code.
7825
3c291973
GM
7826 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7827 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7828 (gud-tooltip-echo-area): Make obsolete.
7829 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7830
43cc956b
GM
7831 * progmodes/js.el (js--optimize-arglist): Declare.
7832
dab49a3b
GM
7833 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7834
36b9d085
GM
7835 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7836 (ediff-window-C): Declare.
7837
e354ae76
GM
7838 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7839 Tweak requires to silence compiler.
7840
b8e57bf4
GM
7841 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7842 (he-search-string, he-tried-table, he-expand-list)
7843 (he-init-string, he-string-member, he-substitute-string)
7844 (he-reset-string): Declare.
7845
db785726
GM
7846 * obsolete/options.el (list-options): Use custom-variable-p,
7847 rather than obsolete alias.
7848
b3531901
SS
78492013-05-23 Sam Steingold <sds@gnu.org>
7850
7851 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7852 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7853 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7854
bdda4c66
SM
78552013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * emacs-lisp/smie.el (smie-indent-forward-token)
7858 (smie-indent-backward-token): Handle string tokens (bug#14381).
7859
c43d45f9
TH
78602013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7861
fe1eb856
RS
7862 * ielm.el (ielm-menu): New menu.
7863 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7864
fe1eb856
RS
78652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7866
7867 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7868 Fix deactivate action.
7869
7870 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7871 Add cleveref macros.
074dd971 7872
c43d45f9
TH
7873 * lisp/textmodes/reftex-parse.el
7874 (reftex-locate-bibliography-files): Accept options for
7875 bibliography commands.
7876 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7877 Add addbibresource. Basic Biblatex support.
7878
7764286e
MA
78792013-05-23 Michael Albinus <michael.albinus@gmx.de>
7880
7881 * net/tramp-gvfs.el (top):
7882 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7883 when loading package. (Bug#14447)
7884
d361bc10
GM
78852013-05-23 Glenn Morris <rgm@gnu.org>
7886
8fa23984
GM
7887 * progmodes/js.el: No need to load comint when compiling.
7888 (ring-insert, comint-send-string, comint-send-input)
7889 (comint-last-input-end, ido-chop): Declare.
7890
a5c7df1a
GM
7891 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7892 * vc/ediff-mult.el: Adjust requires.
7893 (ediff-directories-internal, ediff-directory-revisions-internal)
7894 (ediff-patch-file-internal): Declare.
7895 * vc/ediff-ptch.el: Adjust requires.
7896 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7897 (ediff-find-file): Autoload.
7898 * vc/ediff-util.el: No need to load ediff when compiling.
7899 (ediff-regions-internal): Declare.
7900 * vc/ediff-wind.el: Adjust requires.
7901 (ediff-compute-toolbar-width): Define when compiling.
7902 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7903 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7904 (dired-get-filename, dired-get-marked-files)
7905 (ediff-last-dir-patch, ediff-patch-default-directory)
7906 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7907 (ediff-patch-buffer-internal): Declare.
7908
e2aec513
GM
7909 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7910 (ispell-process, ispell-buffer-local-words, lm-summary)
7911 (lm-section-start, lm-section-end): Declare.
7912 (checkdoc-ispell-init): Simplify.
7913
e68bbd7c
GM
7914 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7915 (he-string-member, he-reset-string, he-substitute-string): Declare.
7916
7efe0991
GM
7917 * eshell/em-ls.el: Adjust requires.
7918 (eshell-glob-regexp): Declare.
f87b1284
GM
7919 * eshell/em-tramp.el: Adjust requires.
7920 (eshell-parse-command): Autoload.
7921 * eshell/em-xtra.el: Adjust requires.
7922 (eshell-parse-command): Autoload.
7923 * eshell/esh-ext.el: Adjust requires.
7924 (eshell-parse-command, eshell-close-handles): Autoload.
7925 * eshell/esh-io.el: Adjust requires.
7926 (eshell-output-filter): Autoload.
7927 * eshell/esh-util.el: No need to load tramp when compiling.
7928 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7929 Declare.
7930 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7931 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7932 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7933 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7934 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7935 * eshell/esh-opt.el, eshell/esh-proc.el:
7936 * eshell/esh-var.el: Adjust requires.
7937 * eshell/eshell.el: Do not require esh-util twice.
7938 (eshell-add-input-to-history): Declare.
7939 (eshell-command): Check history module is active before using it.
7940
d361bc10
GM
7941 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7942
85d090a9
LL
79432013-05-22 Leo Liu <sdl.web@gmail.com>
7944
7945 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7946
5d0acd9d
MA
79472013-05-22 Michael Albinus <michael.albinus@gmx.de>
7948
7949 * autorevert.el (auto-revert-notify-add-watch)
7950 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7951 it indicates changes in file modification time.
7952
0cdffd7d
GM
79532013-05-22 Glenn Morris <rgm@gnu.org>
7954
ca5995ec
GM
7955 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7956 Always delete the autoloaded function from the noruntime and
7957 unresolved functions lists.
7958
6450907e
GM
7959 * allout.el: No need to load epa, epg, overlay when compiling.
7960 (epg-context-set-passphrase-callback, epg-list-keys)
7961 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7962 (epg-key-user-id-list): Declare.
7963
9c6906f6
GM
7964 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7965 (viper-set-parsing-style-toggling-macro)
7966 (viper-set-emacs-state-searchstyle-macros):
7967 Use called-interactively-p on Emacs.
7968 (viper-looking-back): Make it an obsolete alias. Update callers.
7969 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7970 Use looking-back rather than viper-looking-back.
7971 (viper-tmp-insert-at-eob, viper-enlarge-region)
7972 (viper-read-string-with-history, viper-register-to-point)
7973 (viper-append-to-register, viper-change-state-to-vi)
7974 (viper-backward-char-carefully, viper-forward-char-carefully)
7975 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7976 (viper-change-state-to-emacs): Declare.
7977 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7978 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7979 * emulation/viper-mous.el: Do not load viper-cmd.
7980 (viper-backward-char-carefully, viper-forward-char-carefully)
7981 (viper-forward-word, viper-adjust-window): Declare.
7982
5f70c169
GM
7983 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7984
b1b7f300
GM
7985 * progmodes/idlw-help.el (idlwave-help-fontify):
7986 Use called-interactively-p.
7987
f6ebbb46
GM
7988 * term/w32console.el (w32-get-console-codepage)
7989 (w32-get-console-output-codepage): Declare.
7990
0cdffd7d
GM
7991 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7992 Remove unnecessary declarations.
7993 (dframe-message): Doc fix.
7994
7995 * info.el (dframe-select-attached-frame, dframe-current-frame):
7996 Declare.
7997
7998 * speedbar.el (speedbar-message): Make it an obsolete alias.
7999 Update all callers.
8000 (speedbar-with-attached-buffer)
8001 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8002 (speedbar-with-writable): Use backquote.
8003 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8004 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8005 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8006 rather than speedbar- aliases.
8007 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8008 (speedbar-make-specialized-keymap, speedbar-insert-button)
8009 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8010 (speedbar-do-function-pointer): Declare.
8011 (rmail-speedbar-button, rmail-speedbar-find-file)
8012 (rmail-speedbar-move-message):
8013 Use dframe-with-attached-buffer rather than speedbar- alias.
8014 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8015 (dframe-message, speedbar-make-specialized-keymap)
8016 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8017 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8018 (speedbar-insert-button, dframe-select-attached-frame)
8019 (dframe-maybee-jump-to-attached-frame)
8020 (speedbar-change-initial-expansion-list)
8021 (speedbar-previously-used-expansion-list-name): Declare.
8022 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8023 Use dframe-message, dframe-with-attached-buffer rather than
8024 speedbar- aliases.
8025 (gud-sentinel): Silence compiler.
8026 * progmodes/vhdl-mode.el (speedbar-refresh)
8027 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8028 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8029 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8030 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8031 (speedbar-file-lists, speedbar-make-tag-line)
8032 (speedbar-line-directory, speedbar-goto-this-file)
8033 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8034 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8035 (speedbar-make-button, speedbar-reset-scanners)
8036 (speedbar-files-item-info, speedbar-line-text)
8037 (speedbar-find-file-in-frame, speedbar-set-timer)
8038 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8039 (speedbar-with-writable): Do not (re)define it.
8040 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8041 rather than speedbar- alias.
8042
ee44b62a
LL
80432013-05-21 Leo Liu <sdl.web@gmail.com>
8044
8045 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8046 menu items.
8047 (octave-mode): Tweak fill-nobreak-predicate.
8048 (inferior-octave-startup): Check process to avoid infinite loop.
8049 (inferior-octave): Pop to buffer first to show abornmal process
8050 exit information.
8051
640f050f
GM
80522013-05-21 Glenn Morris <rgm@gnu.org>
8053
79458038
GM
8054 * printing.el (pr-menu-bar): Define when compiling.
8055
9cc3e83f
LL
80562013-05-21 Leo Liu <sdl.web@gmail.com>
8057
8058 * progmodes/octave.el (octave-auto-fill): Remove.
8059 (octave-indent-new-comment-line): Improve.
8060 (octave-mode): Use auto fill mode through
4f405069 8061 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 8062 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 8063 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
8064 (octave-help): Show parent directory.
8065
f440830d
GM
80662013-05-21 Glenn Morris <rgm@gnu.org>
8067
8068 * files.el (dired-unmark):
8069 * progmodes/gud.el (gdb-input): Update declarations.
8070
8071 * calculator.el (electric, ehelp): No need to load when compiling.
8072 (Electric-command-loop, electric-describe-mode): Declare.
8073
8074 * doc-view.el (doc-view-current-converter-processes): Move before use.
8075
8076 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8077 Move MODE-set-explicitly definition before use.
8078
8079 * international/mule-diag.el (mule-diag):
8080 Don't use obsolete window-system-version.
8081
8082 * mail/feedmail.el (smtpmail): No need to load when compiling.
8083 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8084
8085 * mail/mail-utils.el (rfc822): No need to load when compiling.
8086 (rfc822-addresses): Autoload it.
8087 (mail-strip-quoted-names): Trivial simplification.
8088
8089 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8090 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8091
8092 * net/snmp-mode.el (tempo): Don't duplicate requires.
8093
8094 * progmodes/prolog.el (info): No need to load when compiling.
8095 (comint): Require before shell requires it.
8096 (Info-goto-node): Autoload it.
8097 (Info-follow-nearest-node): Declare.
8098 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8099
8100 * textmodes/artist.el (picture-mode-exit): Declare.
8101
8102 * textmodes/reftex-parse.el (reftex-parse-from-file):
8103 Trivial rewrite so the compiler can parse it better.
8104
b4da2cbb
LL
81052013-05-20 Leo Liu <sdl.web@gmail.com>
8106
8107 * progmodes/octave.el (octave-help-mode-map)
8108 (octave-help-mode-finish-hook): New variables.
8109 (octave-help-mode, octave-help-mode-finish): New functions.
8110 (octave-help): Use octave-help-mode.
8111
33c0f65b
GM
81122013-05-20 Glenn Morris <rgm@gnu.org>
8113
8114 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8115
1a0a0a8a
DG
81162013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8117
8118 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8119 start at point, so that expansion starting right after opening
8120 slash in a regexp is recognized.
8121 (ruby-syntax-before-regexp-re): New defvar, extracted from
8122 ruby-syntax-propertize-function. Since the value of this regexp
8123 is looked up at runtime now, we should be able to turn
8124 `ruby-syntax-methods-before-regexp' into a defcustom later.
8125 (ruby-syntax-propertize-function): Split regexp matching into two
8126 parts, for opening and closing slashes. That allows us to skip
8127 over string interpolations and support multiline regexps.
8128 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8129 for them, which calls `ruby-syntax-propertize-expansion'.
8130 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8131 call to `ruby-syntax-propertize-function'.
8132 (ruby-syntax-propertize-expansion): Extracted from
8133 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
8134 (ruby-syntax-propertize-percent-literal): Leave point right after
8135 the percent symbol, so that the expression expansion rule can
8136 propertize the contents.
462388b6
DG
8137 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8138 heredoc openers.
8139 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 8140
c1a6c0a4
JL
81412013-05-18 Juri Linkov <juri@jurta.org>
8142
8143 * man.el (Man-default-man-entry): Remove `-' from the end
8144 of the default value. (Bug#14400)
8145
8051fccd
GM
81462013-05-18 Glenn Morris <rgm@gnu.org>
8147
8148 * comint.el (comint-password-prompt-regexp):
8149 Allow "password for XXX" where XXX contains colons (eg https://...).
8150
5e80b74f
LL
81512013-05-18 Leo Liu <sdl.web@gmail.com>
8152
8153 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 8154 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
8155 (octave-source-directories): Don't check process.
8156 (octave-source-directories, octave-find-definition): Doc fix.
8157
521a54c5
GM
81582013-05-18 Glenn Morris <rgm@gnu.org>
8159
86a94b05
GM
8160 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8161 Remove backspace/delete bindings. (Bug#14392)
8162
521a54c5
GM
8163 * cus-dep.el (custom-make-dependencies): Sort the output.
8164 (custom-versions-load-alist): Convert comment to doc.
8165
42caeb89
LL
81662013-05-17 Leo Liu <sdl.web@gmail.com>
8167
8168 * newcomment.el (comment-search-backward): Stricter in finding
8169 comment start. (Bug#14303)
8170
8171 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8172 (octave-comment-start-skip): Properly anchored.
8173
e219dd97
LL
81742013-05-17 Leo Liu <sdl.web@gmail.com>
8175
fe1eb856
RS
8176 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8177 Clean up when turned off. (Bug#14395)
e219dd97
LL
8178 (smie--highlight-matching-block-overlay): No longer buffer-local.
8179 (smie-highlight-matching-block): Adjust.
8180
dc5dcb4b
PE
81812013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8182
8183 Doc string fix for "nanoseconds" (Bug#14406).
8184 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8185 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8186
1db165f0
JB
81872013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8188
8189 * calc/calc-units.el (math-extract-units): Preserve powers
8190 of units.
8191
c7a8fcac
LL
81922013-05-17 Leo Liu <sdl.web@gmail.com>
8193
8194 * subr.el (delete-consecutive-dups): New function.
8195 * ido.el (ido-set-matches-1): Use it.
8196 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8197 * ido.el (ido-remove-consecutive-dups): Remove.
8198
f678b18a
SM
81992013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8202 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8203 regexp-opt's `words'.
8204
ebfe68e8
LL
82052013-05-16 Leo Liu <sdl.web@gmail.com>
8206
8207 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8208 (smie--highlight-matching-block-overlay)
8209 (smie--highlight-matching-block-lastpos)
8210 (smie--highlight-matching-block-timer): New variables.
8211 (smie-highlight-matching-block): New function.
8212 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8213 (smie-setup): Conditionally enable smie-blink-matching-open.
8214
bc8bc17d
WS
82152013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8216
8217 Sync with upstream verilog-mode r840.
8218 * progmodes/verilog-mode.el (verilog-mode-version)
8219 (verilog-mode-release-date): Update.
8220 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8221 (verilog-sig-tieoff): Fix string error on
8222 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8223 (verilog-read-decls): Fix parameters confusing
8224 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8225
df065a0b
EZ
82262013-05-16 Eli Zaretskii <eliz@gnu.org>
8227
8228 * subr.el (reveal-filename): New function.
8229
8230 * loadup.el: Compute Emacs executable versions on MS-Windows,
8231 where executables have the .exe extension. Add a hard link
8232 emacs-XX.YY.ZZ.exe on MS-Windows.
8233
8234 * Makefile.in (XARGS_LIMIT): New variable.
8235 (custom-deps, finder-data, autoloads)
8236 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8237 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8238 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8239 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8240
2d4bf34b
LL
82412013-05-16 Leo Liu <sdl.web@gmail.com>
8242
8243 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8244 (octave-mode-menu, octave-mode-map): Remove its uses.
8245
6b9c2d85
RZ
82462013-05-16 Reto Zimmermann <reto@gnu.org>
8247
8248 Sync with upstream vhdl mode v3.34.2.
8249 * progmodes/vhdl-mode.el: Use `push' throughout.
8250 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8251 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8252 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8253 (vhdl-actual-generic-name): New option to derive actual generic name.
8254 (vhdl-port-paste-signals): Replace formal by actual generics.
8255 (vhdl-beautify): New name for old group vhdl-align. Update users.
8256 (vhdl-beautify-options): New option.
8257 (vhdl-last-input-event): New compat alias. Use throughout.
8258 (vhdl-goto-line): Replace user level function `goto-line'.
8259 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8260 vhdl-fix-statement-buffer.
8261 (vhdl-create-mode-menu): Add some entries.
8262 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8263 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8264 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8265 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8266 to force statements on one line.
8267 (vhdl-remove-trailing-spaces-region):
8268 New, split from vhdl-remove-trailing-spaces.
8269 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8270 Respect vhdl-beautify-options.
8271 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8272 (vhdl-update-sensitivity-list): Not add with index if exists without.
8273 Not include array index with signal. Ignore keywords in comments.
8274 (vhdl-get-visible-signals): Regexp tweaks.
8275 (vhdl-template-component-inst): Handle empty library.
8276 (vhdl-template-type): Add template for 'enum' type.
8277 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8278 Use vhdl-replace-string.
8279 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8280 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8281 (vhdl-speedbar-initialize): Update for above name change.
8282 (vhdl-compose-wire-components): Fix in handling of constants.
8283 (vhdl-error-regexp-emacs-alist): New variable.
8284 (vhdl-error-regexp-add-emacs): New function;
8285 adds support for new compile.el (Emacs 22+)
8286 (vhdl-generate-makefile-1): Change target order for single lib. units.
8287 Allow use of absolute file names.
8288
9df4ec5e
LL
82892013-05-16 Leo Liu <sdl.web@gmail.com>
8290
8291 * simple.el (prog-indent-sexp): Indent enclosing defun.
8292
f5ba00a6
GM
82932013-05-15 Glenn Morris <rgm@gnu.org>
8294
ed8be7ff
GM
8295 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8296 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8297 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8298 (whitespace-highlight): Move to whitespace group.
8299
8300 * comint.el (comint-source):
8301 * pcmpl-linux.el (pcmpl-linux):
8302 * shell.el (shell-faces):
8303 * eshell/esh-opt.el (eshell-opt):
8304 * international/ccl.el (ccl): Remove empty custom groups.
8305
8306 * completion.el (dynamic-completion-mode):
8307 * jit-lock.el (jit-lock-debug-mode):
8308 * minibuffer.el (completion-in-region-mode):
8309 * type-break.el (type-break-mode-line-message-mode)
8310 (type-break-query-mode):
8311 * emulation/tpu-edt.el (tpu-edt-mode):
8312 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8313 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8314 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8315
8316 * term/xterm.el (xterm): Change parent group to terminals.
8317
8318 * master.el (master): Remove empty custom group.
8319 (master-mode): Remove unused :group argument.
8320 * textmodes/refill.el (refill): Remove empty custom group.
8321 (refill-mode): Remove unused :group argument.
8322
8323 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8324
82a7c41b
GM
8325 * cus-dep.el: Provide a feature.
8326 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
8327 Don't mistakenly ignore files whose basenames match a basename
8328 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 8329 Add a fallback method for getting :group.
f5ba00a6 8330
6d65486d
JL
83312013-05-15 Juri Linkov <juri@jurta.org>
8332
da547b32
JL
8333 * isearch.el (isearch-char-by-name): Rename from
8334 `isearch-insert-char-by-name'. Doc fix.
8335 (isearch-forward): Mention `isearch-char-by-name' in
8336 the docstring. (Bug#13348)
8337
6d65486d
JL
8338 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8339 `exit-minibuffer' instead of
8340 `isearch-nonincremental-exit-minibuffer'.
8341 (isearch-edit-string): Remove mention of
8342 `isearch-nonincremental-exit-minibuffer' from docstring.
8343 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8344 (isearch-forward-exit-minibuffer)
8345 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8346
c9990474
SM
83472013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8348
6e911150
SM
8349 * loadup.el: Just use unversioned DOC.
8350
c9990474
SM
8351 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8352 literals as extending to EOB.
8353 (nxml-last-fontify-end): Remove unused variable.
8354 (nxml-after-change1): Use with-silent-modifications.
8355 (nxml-extend-after-change-region): Simplify.
8356 (nxml-extend-after-change-region1): Remove function.
8357 (nxml-after-change1): Don't adjust for dependent regions.
8358 (nxml-fontify-matcher): Simplify.
8359 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8360 (xmltok-add-dependent): Remove function.
8361 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8362 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8363 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8364 unclosed <[[, <?, comment, and other literals as extending to EOB.
8365 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8366 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8367 Remove functions.
8368 (rng-do-some-validation-1): Don't mark dependent regions.
8369 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8370 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8371 (nxml-clear-dependent-regions): Remove functions.
8372 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8373 (nxml-ensure-scan-up-to-date):
8374 Don't clear&mark dependent regions.
8375
e3772e98
LL
83762013-05-15 Leo Liu <sdl.web@gmail.com>
8377
c9990474
SM
8378 * progmodes/octave.el (octave-goto-function-definition):
8379 Improve and fix callers.
e3772e98 8380
5ac2eb34
SM
83812013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8382
c46c57b0
SM
8383 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8384 the setter (bug#14387).
8385
5ac2eb34
SM
8386 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8387 surrounding group (bug#14402).
8388
180ed218
JL
83892013-05-14 Juri Linkov <juri@jurta.org>
8390
8391 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8392 (Bug#14390)
8393
0ac0fecb
GM
83942013-05-14 Glenn Morris <rgm@gnu.org>
8395
8396 * progmodes/f90.el (f90-imenu-generic-expression):
8397 Fix typo in 2013-05-08 change. (Bug#14402)
8398
2e78e6a7
JPG
83992013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8400
5ac2eb34
SM
8401 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8402 Remove signals for which replies are never received.
2e78e6a7 8403
53267cca
JPG
84042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8405
8406 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8407 (gdb-handler-alist, gdb-handler-number): Remove variables.
8408 (gdb-handler-list): New variable.
8409 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8410 (gdb-pending-handler-p, gdb-handle-reply)
8411 (gdb-remove-all-pending-triggers): New functions.
8412 (gdb-discard-unordered-replies): New defcustom.
8413 (gdb-handler): New defstruct.
8414 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8415 instead of gdb-pending-triggers. Update docstring.
8416 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8417 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8418 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8419 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8420 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8421 (gdb-frame-handler): Pending triggers are now automatically managed.
8422 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8423 Remove argument.
8424 (gdb-input): Automatically handles pending triggers. Update docstring.
8425 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8426 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8427 Update comments.
8428 (gdb-done-or-error): Now use gdb-handle-reply.
8429
d04ce803
JPG
84302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8431
8432 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8433 gdb-debug-log.
8434
0114073a
GM
84352013-05-14 Glenn Morris <rgm@gnu.org>
8436
8437 * subr.el (user-emacs-directory-warning): New option.
8438 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8439
4d25fd7e
LL
84402013-05-14 Leo Liu <sdl.web@gmail.com>
8441
8442 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8443 during redisplay.
8444 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
8445 (octave-font-lock-texinfo-comment): Fix invalid search bound
8446 error: wrong side of point.
4d25fd7e 8447
27c8b6eb
GM
84482013-05-14 Glenn Morris <rgm@gnu.org>
8449
61aaeb01
GM
8450 * progmodes/flymake.el (flymake-xml-program): New option.
8451 (flymake-xml-init): Use it.
8452
5bf90bc5
GM
8453 * term/xterm.el: Provide a feature.
8454
8455 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 8456
f4c7dfd2
GM
84572013-05-13 Glenn Morris <rgm@gnu.org>
8458
8459 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8460 Add compat aliases as a hack workaround. (Bug#14384)
8461
2aeb3a1d
LL
84622013-05-13 Leo Liu <sdl.web@gmail.com>
8463
b0e069c2
LL
8464 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8465 ###, and %!.
f5a9432f
LL
8466 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8467 C-M-q.
b0e069c2
LL
8468 (octave-comment-start-skip): Include %!.
8469 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 8470
30ea8374
LL
84712013-05-12 Leo Liu <sdl.web@gmail.com>
8472
8473 * progmodes/octave.el (inferior-octave-startup): Store the value
8474 of __octave_srcdir__ for octave-source-directories.
8475 (inferior-octave-check-process): New function refactored out of
8476 inferior-octave-send-list-and-digest.
8477 (octave-source-directories)
8478 (octave-find-definition-filename-function): New variables.
8479 (octave-source-directories)
8480 (octave-find-definition-default-filename): New functions.
8481 (octave-find-definition): Improve to find functions implemented in C++.
8482
472a3834
GM
84832013-05-12 Glenn Morris <rgm@gnu.org>
8484
8485 * calendar/diary-lib.el (diary-outlook-format-1):
8486 Don't include dayname in the output. (Bug#14349)
8487
3191b52f
GM
84882013-05-11 Glenn Morris <rgm@gnu.org>
8489
0060ac73
GM
8490 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8491
3191b52f
GM
8492 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8493 Treat cc-provide like provide.
8494
e065ba74
KR
84952013-05-11 Kevin Ryde <user42@zip.com.au>
8496
8497 * cus-dep.el (custom-make-dependencies):
8498 Use generated-autoload-load-name for the sake of files such
8499 such cedet/semantic/bovine/c.el, where the base file name
8500 is not in load-path. (Bug#5277)
8501
36f84c37
GM
85022013-05-11 Glenn Morris <rgm@gnu.org>
8503
8504 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8505 Provide features.
8506
c8730c3a
LL
85072013-05-11 Leo Liu <sdl.web@gmail.com>
8508
8509 * progmodes/octave.el (octave-indent-comment): Improve.
8510 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
8511 (octave-eldoc-function-signatures, octave-eldoc-function):
8512 New functions.
c8730c3a
LL
8513 (octave-mode, inferior-octave-mode): Add eldoc support.
8514
212e29f2
RS
85152013-05-11 Richard Stallman <rms@gnu.org>
8516
8517 * epa.el (epa-decrypt-file): Take output file name as argument
8518 and read it using `interactive'.
8519
083fe0d7
LL
85202013-05-11 Leo Liu <sdl.web@gmail.com>
8521
8522 * progmodes/octave.el (octave-beginning-of-line)
8523 (octave-end-of-line): Check before using up-list because it jumps
8524 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
8525 (octave-indent-comment): New function.
8526 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
8527 (octave-begin-keywords, octave-end-keywords)
8528 (octave-reserved-words, octave-smie-bnf-table)
8529 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 8530
8582e4c4
GM
85312013-05-11 Glenn Morris <rgm@gnu.org>
8532
f20def1f
GM
8533 * faces.el (internal-face-x-get-resource):
8534 * frame.el (ns-display-monitor-attributes-list):
d78abe37 8535 * calc/calc-aent.el (math-to-radians-2):
f20def1f 8536 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 8537 Fix declarations.
f20def1f 8538
445f95e2
GM
8539 * calc/calc-menu.el: Make it loadable in isolation.
8540
8541 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8542 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8543 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8544 (eudc-bbdb-query-internal): Require 'bbdb.
8545
99fb2756
GM
8546 * lpr.el (lpr-headers-switches):
8547 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8548
8549 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8550
0da7ad96
GM
8551 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8552
8582e4c4
GM
8553 * term.el (term-set-escape-char): Make it idempotent.
8554
f71c50d0
LL
85552013-05-10 Leo Liu <sdl.web@gmail.com>
8556
5ac2eb34
SM
8557 * progmodes/octave.el (inferior-octave-completion-table):
8558 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
8559 completion due to bug#11906.
8560 (octave-beginning-of-defun): Re-write to be more general.
8561
d5837773
GM
85622013-05-10 Glenn Morris <rgm@gnu.org>
8563
8564 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8565
027c0f75
SM
85662013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * comint.el (comint-redirect-send-command-to-process): Use :around
8569 rather than :override for comint-redirect-filter.
8570 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8571 Call it instead of comint-redirect-original-filter-function (which
8572 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8573
4465bfb4
JD
85742013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8575
8576 * frame.el (display-monitor-attributes-list): Add NS case.
8577 (ns-display-monitor-attributes-list): Declare.
8578
2d809ffa 85792013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
8580
8581 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8582
e54eeb9b
GM
85832013-05-09 Glenn Morris <rgm@gnu.org>
8584
56cd351d
GM
8585 * international/fontset.el (vertical-centering-font-regexp):
8586 Set standard-value.
8587
d84b6108
GM
8588 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8589
a931698a
GM
8590 * bookmark.el (bookmark-search-delay):
8591 * cus-start.el (vertical-centering-font-regexp):
8592 * ps-mule.el (ps-mule-font-info-database-default):
8593 * ps-print.el (ps-default-fg, ps-default-bg):
8594 * type-break.el (type-break-good-break-interval):
8595 * whitespace.el (whitespace-indentation-regexp)
8596 (whitespace-space-after-tab-regexp):
8597 * emacs-lisp/testcover.el (testcover-1value-functions)
8598 (testcover-noreturn-functions, testcover-progn-functions)
8599 (testcover-prog1-functions):
8600 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8601 * eshell/em-glob.el (eshell-glob-translate-alist):
8602 * play/tetris.el (tetris-tty-colors):
8603 * progmodes/cpp.el (cpp-face-default-list):
8604 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8605 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8606 (idlwave-help-browser-generic-args):
8607 * progmodes/make-mode.el (makefile-special-targets-list):
8608 * progmodes/python.el (python-shell-virtualenv-path):
8609 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8610 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8611 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8612 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8613 * textmodes/reftex-vars.el (reftex-format-label-function):
8614 * textmodes/remember.el (remember-diary-file): Fix custom types.
8615
e54eeb9b
GM
8616 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8617 Add :version.
8618
455851dd
LL
86192013-05-09 Leo Liu <sdl.web@gmail.com>
8620
8621 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 8622 Restore file completion. (Bug#14300)
455851dd
LL
8623 (inferior-octave-startup): Fix incorrect highlighting for the
8624 first prompt.
8625
a9e4425b
SM
86262013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * progmodes/ruby-mode.el: First cut at SMIE support.
8629 (ruby-use-smie): New var.
8630 (ruby-smie-grammar): New constant.
8631 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8632 (ruby-smie--forward-token, ruby-smie--backward-token)
8633 (ruby-smie-rules): New functions.
8634 (ruby-mode-variables): Setup SMIE if applicable.
8635
060ca408
EZ
86362013-05-08 Eli Zaretskii <eliz@gnu.org>
8637
8638 * simple.el (line-move-visual): Signal beginning/end of buffer
8639 only if vertical-motion moved less than it was requested. Avoids
8640 silly incorrect error messages when there are display strings with
8641 multiple newlines at EOL.
8642
1d5963cc
SM
86432013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8646 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8647 (prolog-char-quote-workaround):
8648 * progmodes/cperl-mode.el (cperl-under-as-char):
8649 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8650 Mark as obsolete.
8651 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8652 their declaration.
8653 (vhdl-mode-syntax-table-init): Remove.
8654
c9990474
SM
8655 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8656 last change.
1d5963cc
SM
8657
8658 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8659 syntax for "_".
8660 (ld-script-font-lock-keywords):
8661 Change regexps to use things like \_< and \_>.
8662
8663 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8664 Change all regexps to use things like \_< and \_>.
8665
8666 * progmodes/autoconf.el (autoconf-definition-regexp)
8667 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8668 Handle a _ with symbol syntax.
8669 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8670
c9990474
SM
8671 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8672 Consolidate declaration.
1d5963cc
SM
8673 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8674 the declaration.
8675 (ada-create-syntax-table): Remove.
8676 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8677 already has the right syntax nowadays.
8678 (ada-goto-next-word): Don't change the syntax of "_".
8679
8680 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8681 with-wrapper-hook.
8682
72d3cfca
SS
86832013-05-08 Sam Steingold <sds@gnu.org>
8684
8685 * thingatpt.el (thing-at-point): Accept optional second argument
8686 NO-PROPERTIES to strip the text properties from the return value.
8687 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8688 to `thing-at-point' instead of stripping the properties ourselves.
8689 Also, when `thing-at-point' fails to find a url, prepend "http://"
8690 to the filename at point on the assumption that the user is
8691 pointing at something like gnu.org/gnu.
8692
5cb15713
JB
86932013-05-08 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8696 * faces.el (crm-separator):
8697 Silence byte-compiler.
8698
8699 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8700 (tool-bar-map): Remove unneeded defvars.
8701
ea78b95b
LL
87022013-05-08 Leo Liu <sdl.web@gmail.com>
8703
8704 Re-work a fix for bug#10994 based on Le Wang's patch.
8705 * ido.el (ido-remove-consecutive-dups): New helper.
8706 (ido-completing-read): Use it.
8707 (ido-chop): Revert fix for bug#10994.
8708
dc7466df
AS
87092013-05-08 Adam Spiers <emacs@adamspiers.org>
8710
8711 * cus-edit.el (custom-save-variables):
8712 Pretty-print long values. (Bug#14187)
8713
9ecf672a
GM
87142013-05-08 Glenn Morris <rgm@gnu.org>
8715
8716 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8717 (m4-mode-syntax-table): Init in the defvar.
8718 (m4-mode-abbrev-table): Let define-derived-mode define it.
8719
3f555be8
TT
87202013-05-08 Tom Tromey <tromey@redhat.com>
8721
8722 * progmodes/m4-mode.el (m4-mode-syntax-table):
8723 Do not treat "_" as word constituent. (Bug#14167)
8724
7cc8ae06
GM
87252013-05-07 Glenn Morris <rgm@gnu.org>
8726
4f58bc06
GM
8727 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8728 Remove explicit eshell-isearch-cancel-map.
8729
7cc8ae06
GM
8730 * progmodes/f90.el (f90-smart-end-names): New option.
8731 (f90-smart-end): Doc fix.
8732 (f90-end-block-optional-name): New constant.
8733 (f90-block-match): Respect f90-smart-end-names.
8734
ceb57e59
SM
87352013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8738 about implicit semi-colons (bug#14218).
8739
4e3f9230
YM
87402013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8741
8742 * frame.el (display-monitor-attributes-list)
8743 (frame-monitor-attributes): New functions.
8744
203a5572
LL
87452013-05-06 Leo Liu <sdl.web@gmail.com>
8746
8747 * progmodes/octave.el (octave-syntax-propertize-function): Change
8748 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8749 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8750 (octave-completion-at-point): Rename from
203a5572
LL
8751 octave-completion-at-point-function.
8752 (inferior-octave-directory-tracker): Robustify.
8753 (octave-text-functions): Remove and fix its uses. No such things
8754 any more.
8755
ee6cff99
SM
87562013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 * emacs-lisp/trace.el (trace--display-buffer): New function.
8759 (trace-make-advice): Use it.
8760
32985194
JL
87612013-05-06 Juri Linkov <juri@jurta.org>
8762
8763 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8764 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8765 Doc fix.
8766 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8767 in the help string. (Bug#12985)
8768
a1c700de
KD
87692013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8770
8771 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8772
c67c0839
SM
87732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8774
323885fd
SM
8775 * progmodes/perl-mode.el: Add support for here documents.
8776 (perl-syntax-propertize-function): Match here-doc markers.
8777 (perl-syntax-propertize-special-constructs): Find their end.
8778 (perl-imenu-generic-expression): Use [:alnum:].
8779
c67c0839
SM
8780 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8781 (advice--add-function): Refresh the advice if already present
8782 (bug#14317).
8783
d491e7a8
IA
87842013-05-06 Ivan Andrus <darthandrus@gmail.com>
8785
8786 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8787
ddf9925e
GM
87882013-05-06 Glenn Morris <rgm@gnu.org>
8789
7cc3af27
GM
8790 * w32-fns.el (w32-charset-info-alist): Declare.
8791
16e343d6
GM
8792 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8793 of its defcustom properties.
8794 (eshell-cmpl-initialize): No need to load pcomplete.
8795
7d889a47
GM
8796 * generic-x.el: No need to require comint when compiling.
8797
ddf9925e
GM
8798 * net/eudc-export.el: Make it loadable without bbdb.
8799 (top-level): Use require rather than load-library.
8800 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8801 (eudc-batch-export-records-to-bbdb)
8802 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8803 Require bbdb.
8804
1e2c18df
SM
88052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8808 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8809 some tweaks, instead.
8810
02502a5f
LL
88112013-05-05 Leo Liu <sdl.web@gmail.com>
8812
8813 * progmodes/octave.el (octave-font-lock-keywords)
8814 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8815 (inferior-octave-send-list-and-digest): Improve error message.
8816 (octave-mode, inferior-octave-mode): Use setq-local.
8817 (octave-help): Set info-lookup-mode.
8818
0dc04f42
RS
88192013-05-05 Richard Stallman <rms@gnu.org>
8820
6c54491c
RS
8821 * vc/compare-w.el (compare-windows-whitespace):
8822 Treat no-break space as whitespace.
8823
0dc04f42
RS
8824 * mail/rmailsum.el (rmail-summary-rmail-update):
8825 Detect empty summary and don't change selected message.
8826 (rmail-summary-goto-msg): Likewise.
8827
df8f35df
RS
8828 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8829 Doc fixes, rename args.
8830
5356e1a3
AM
88312013-05-05 Alan Mackenzie <acm@muc.de>
8832
8833 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8834
d44014cb
JL
88352013-05-05 Juri Linkov <juri@jurta.org>
8836
8837 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8838 to not add the length of the summary segment to the return value.
8839 (Bug#14125)
8840
c129b51f
LL
88412013-05-05 Leo Liu <sdl.web@gmail.com>
8842
8843 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8844 (inferior-octave-output-filter): Remove.
8845 (octave-send-region, inferior-octave-startup): Fix callers.
8846 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8847 (octave-binary-file-extensions): New user variable.
8848 (octave-find-definition): Confirm if opening binary files.
8849 (octave-help-file): Use octave-find-definition to get the binary
8850 confirmation.
8851 (octave-help): Adjust for octave-help-file change.
8852
aa7dab97
SM
88532013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8856 Merge the two entries that handle function definitions.
8857 (pascal--syntax-propertize): New const.
8858 (pascal-mode): Use it. Use setq-local.
8859
fd3a9a6b
GM
88602013-05-04 Glenn Morris <rgm@gnu.org>
8861
8862 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8863 (diary-from-outlook): Respect diary-from-outlook-function.
8864
30c7e542
SM
88652013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8868 Move the declaration from C.
8869 (read-minibuffer, eval-minibuffer): Move from C.
8870 (completion-setup-function): Avoid minibuffer-completion-contents.
8871
b54f978b
LL
88722013-05-03 Leo Liu <sdl.web@gmail.com>
8873
8874 * progmodes/octave.el (octave-font-lock-keywords): Do not
8875 dehighlight 'end' in comments or strings.
30c7e542
SM
8876 (octave-completing-read, octave-goto-function-definition):
8877 New helpers.
d4d0f9b3
LL
8878 (octave-help-buffer): New user variable.
8879 (octave-help-file, octave-help-function): New button types.
8880 (octave-help): New command and bind it to C-h ;.
8881 (octave-find-definition): New command and bind it to M-.
d74a1581 8882 (user-error): Alias to error if not defined.
b54f978b 8883
27135018
LL
88842013-05-02 Leo Liu <sdl.web@gmail.com>
8885
8886 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8887 for \. (bug#14332)
8888 (octave-font-lock-keywords): Include [ and {.
8889
0d634d3a
LL
88902013-05-02 Leo Liu <sdl.web@gmail.com>
8891
8892 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8893 (inferior-octave): Remove calling comint-mode and return the buffer.
8894 (inferior-octave-startup): Cosmetic changes.
8895
b4c8295e
LL
88962013-05-02 Leo Liu <sdl.web@gmail.com>
8897
30c7e542
SM
8898 * progmodes/octave.el (octave-syntax-propertize-function):
8899 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8900
f12ad6ec
GM
89012013-05-02 Glenn Morris <rgm@gnu.org>
8902
8903 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8904 * desktop.el (vc-dir-mode): Just autoload it here.
8905
30cac1e0
AM
89062013-05-02 Alan Mackenzie <acm@muc.de>
8907
8908 Eliminate variable c-standard-font-lock-fontify-region-function.
8909 * progmodes/cc-mode.el
8910 (c-standard-font-lock-fontify-region-function): Remove.
8911 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8912
d8ef28b1
LL
89132013-05-01 Leo Liu <sdl.web@gmail.com>
8914
2640d52e 8915 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8916 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8917 variables were removed from Octave in 2007.
d8ef28b1
LL
8918 (inferior-octave-startup): Fix uses.
8919 (comint-line-beginning-position): Remove compatibility code for
8920 emacs 21.
8921
ac63ec89
JL
89222013-05-01 Juri Linkov <juri@jurta.org>
8923
8924 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8925
9e9be37c
JL
89262013-05-01 Juri Linkov <juri@jurta.org>
8927
8928 * comint.el (comint-previous-matching-input): Don't print message
8929 "History item: %d" when `isearch-mode' is active.
8930 (comint-history-isearch-message): Print message "History item: %d"
8931 when `comint-input-ring-index' is not empty and this function is
8932 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8933
9b92c13b
LL
89342013-05-01 Leo Liu <sdl.web@gmail.com>
8935
8936 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8937 definitions. Use completion-at-point to insert keywords.
8938 (octave-abbrev-start): Remove.
8939 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8940
b12d33d7
LL
89412013-04-30 Leo Liu <sdl.web@gmail.com>
8942
8943 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8944 change.
8945
3d1c39fa
AM
89462013-04-30 Alan Mackenzie <acm@muc.de>
8947
8948 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8949 * progmodes/cc-engine.el (c-back-over-member-initializers):
8950 new function.
3d1c39fa
AM
8951 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8952 (most) member init lists.
8953
5147fc17
RS
89542013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8955
8956 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8957 variable.
8958
5b78d7fc
LL
89592013-04-30 Leo Liu <sdl.web@gmail.com>
8960
8961 * progmodes/octave.el (octave-variables): Remove. No builtin
8962 variables any more. All converted to functions.
8963 (octave-font-lock-keywords, octave-completion-at-point-function):
8964 Fix uses.
8965 (octave-font-lock-texinfo-comment): New user variable.
8966 (octave-texinfo-font-lock-keywords): New variable for texinfo
8967 comment block.
8968 (octave-function-comment-block): New face.
8969 (octave-font-lock-texinfo-comment): New function.
8970 (octave-mode): Font lock texinfo comment block.
8971
38d8527b
LL
89722013-04-29 Leo Liu <sdl.web@gmail.com>
8973
8974 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8975 indexing expression.
8976 (octave-continuation-string): Do not use \.
8977 (inferior-octave-complete-impossible): Remove.
8978 (inferior-octave-completion-table)
8979 (inferior-octave-completion-at-point): Remove its uses.
8980 (inferior-octave-startup): completion_matches was introduced to
8981 Octave in 1996 so safe to assume it.
8982 (octave-function-file-comment): Improve to follow how Octave does it.
8983 (octave-update-function-file-comment): Tweak.
8984
2ec12cb0
LL
89852013-04-29 Leo Liu <sdl.web@gmail.com>
8986
8987 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8988 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8989 (octave-function-file-comment): Fix typo.
8990 (octave-sync-function-file-names): Use read-char-choice.
8991
6eaed048
JB
89922013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8993
8994 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8995 to t for the less important warnings.
8996
3ffa2d4f
DH
89972013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8998
8999 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9000
685c9501
GM
90012013-04-27 Glenn Morris <rgm@gnu.org>
9002
9003 * vc/log-view.el (log-view-current-entry):
9004 Treat "---" separator lines as part of the following rev. (Bug#14169)
9005
0208ede7
JL
90062013-04-27 Juri Linkov <juri@jurta.org>
9007
9008 * subr.el (read-number): Doc fix about using it by interactive
9009 code letter `n'. (Bug#14254)
9010
5db9dace
JL
90112013-04-27 Juri Linkov <juri@jurta.org>
9012
9013 * desktop.el (desktop-auto-save-timeout): New option.
9014 (desktop-file-checksum): New variable.
9015 (desktop-save): Add optional arg `auto-save' and don't auto-save
9016 if nothing changed.
9017 (desktop-auto-save-timer): New variable.
9018 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9019 (after-init-hook): Call `desktop-auto-save-set-timer'.
9020 Suggested by Reuben Thomas <rrt@sc3d.org> in
9021 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9022
b7260dd4
LL
90232013-04-27 Leo Liu <sdl.web@gmail.com>
9024
9025 * progmodes/octave.el (octave-function-file-p)
9026 (octave-skip-comment-forward, octave-function-file-comment)
9027 (octave-update-function-file-comment): New functions.
9028 (octave-mode-map): Bind C-c ; to
9029 octave-update-function-file-comment.
9030 (octave-mode-menu): Add octave-update-function-file-comment.
9031 (octave-mode, inferior-octave-mode): Fix doc-string.
9032 (octave-insert-defun): Conform to Octave's coding convention.
9033 (Bug#14285)
9034
9035 * files.el (basic-save-buffer): Don't let errors in
9036 before-save-hook prevent saving buffer.
9037
c46da669
RW
90382013-04-20 Roland Winkler <winkler@gnu.org>
9039
9040 * faces.el (read-face-name): Use completing-read if arg multiple
9041 is nil.
9042
a81ee1eb
IL
90432013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9044
9045 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
9046 displayed, move point to after the totals line.
9047 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
9048 for the details.
9049
4fac34ce
SM
90502013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9053 Add current dir to the load-path.
9054 (package-generate-autoloads): Don't rely on
9055 autoload-ensure-default-file.
9056
f6bfc063
RT
90572013-04-26 Reuben Thomas <rrt@sc3d.org>
9058
d40ab5cf
BG
9059 * textmodes/remember.el (remember-store-in-files): Document that
9060 the file name format is passed to `format-time-string'.
f6bfc063 9061
e55d3b04
LL
90622013-04-26 Leo Liu <sdl.web@gmail.com>
9063
9064 * progmodes/octave.el (octave-sync-function-file-names): New function.
9065 (octave-mode): Use it in before-save-hook.
9066
e53052d3
SM
90672013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9068
140ef50c
SM
9069 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9070 (bug#14274).
9071
e53052d3
SM
9072 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9073 \n and comment, even if it's not an implicit ; (bug#14218).
9074
af80458d 90752013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
9076
9077 * subr.el (read-number): Once more use `read' rather than
9078 `string-to-number', to trap non-numeric input. (Bug#14254)
9079
af80458d 90802013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
9081
9082 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9083 Use `syntax-multiline' text property consistently instead of
8a621d53 9084 `font-lock-multiline'. (Bug#14237)
70203c2e 9085
e6ea1f6c
GM
90862013-04-26 Glenn Morris <rgm@gnu.org>
9087
9088 * emacs-lisp/shadow.el (list-load-path-shadows):
9089 No longer necessary to check for duplicate simple.el, since
9090 2012-07-07 change to init_lread to not include installation lisp
9091 directories in load-path when running uninstalled. (Bug#14270)
9092
070ccca4
LL
90932013-04-26 Leo Liu <sdl.web@gmail.com>
9094
9095 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9096 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 9097 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
9098 octave-in-string-or-comment-p.
9099 (octave-in-comment-p, octave-in-string-p)
9100 (octave-in-string-or-comment-p): Replace defsubst with defun.
9101
9d1c5fb6
PE
91022013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9103
9104 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9105
c034abda
BG
91062013-04-25 Bastien Guerry <bzg@gnu.org>
9107
9108 * textmodes/remember.el (remember-data-directory)
9109 (remember-directory-file-name-format): Fix custom types.
9110
584ea277
LL
91112013-04-25 Leo Liu <sdl.web@gmail.com>
9112
e53052d3
SM
9113 * progmodes/octave.el (octave-completion-at-point-function):
9114 Make use of inferior octave process.
584ea277
LL
9115 (octave-initialize-completions): Remove.
9116 (inferior-octave-completion-table): New function.
9117 (inferior-octave-completion-at-point): Use it.
9118 (octave-completion-alist): Remove.
9119
1693b06a
SM
91202013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9123 (opascal-mode-syntax-table): New var.
9124 (opascal-literal-kind, opascal-is-literal-end)
9125 (opascal-literal-token-at): Rewrite.
9126 (opascal--literal-start-re, opascal-font-lock-keywords)
9127 (opascal--syntax-propertize): New constants.
9128 (opascal-font-lock-defaults): Adjust.
9129 (opascal-mode): Use them. Set comment-<foo> variables as well.
9130 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9131 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9132 (delphi-other-face, opascal-other-face): Remove face variables.
9133 (opascal-save-state): Remove macro.
9134 (opascal-fontifying-progress-step): Remove constant.
9135 (opascal--ignore-changes): Remove var.
9136 (opascal-set-token-property, opascal-parse-next-literal)
9137 (opascal-is-stable-literal, opascal-complete-literal)
9138 (opascal-is-literal-start, opascal-face-of)
9139 (opascal-parse-region, opascal-parse-region-until-stable)
9140 (opascal-fontify-region, opascal-after-change)
9141 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9142 (opascal-debug-parse-region, opascal-debug-parse-window)
9143 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9144 (opascal-debug-fontify-buffer): Remove.
9145 (opascal-debug-mode-map): Adjust accordingly.
9146
be64c05d
LL
91472013-04-25 Leo Liu <sdl.web@gmail.com>
9148
9149 Merge octave-mod.el and octave-inf.el into octave.el with some
9150 cleanups.
9151 * progmodes/octave.el: New file renamed from octave-mod.el.
9152 * progmodes/octave-inf.el: Merged into octave.el.
9153 * progmodes/octave-mod.el: Renamed to octave.el.
9154
d79d37bd
TH
91552013-04-25 Tassilo Horn <tsdh@gnu.org>
9156
9157 * textmodes/reftex-vars.el
9158 (reftex-label-ignored-macros-and-environments): New defcustom.
9159
9160 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9161
ced3fc5d
SM
91622013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9165 (smie-indent-keyword): Improve the check to ensure that the next
9166 comment is really on the same line.
9167 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9168
9169 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9170 semi-colons if the line is not otherwise empty (bug#14218).
9171
1c141dad
GM
91722013-04-25 Glenn Morris <rgm@gnu.org>
9173
9174 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9175
5058062a
SM
91762013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * progmodes/opascal.el (opascal-set-token-property): Rename from
9179 opascal-set-text-properties and only set `token' (bug#14134).
9180 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9181 (opascal-literal-text-properties): Remove.
9182 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9183 Adjust callers.
9184
5db9dace 91852013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
9186
9187 * textmodes/remember.el (remember-handler-functions): Add an
9188 option for a new handler `remember-store-in-files'.
9189 (remember-data-directory, remember-directory-file-name-format):
9190 New options.
9191 (remember-store-in-files): New function to store remember notes
9192 as separate files within a directory.
9193
4391916c
MH
91942013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9195
9196 * progmodes/compile.el (compilation-next-error-function):
9197 Pass "formats" to compilation-find-file (bug#11777).
9198
bb7cdf58
GM
91992013-04-24 Glenn Morris <rgm@gnu.org>
9200
3b8fe752 9201 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
9202 * vc/vc-hg.el (vc-hg-print-log):
9203 * vc/vc-svn.el (vc-svn-print-log):
9204 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9205
bb7cdf58
GM
9206 * vc/vc-bzr.el (vc-bzr-print-log):
9207 * vc/vc-cvs.el (vc-cvs-print-log):
9208 * vc/vc-git.el (vc-git-print-log):
9209 * vc/vc-hg.el (vc-hg-print-log):
9210 * vc/vc-mtn.el (vc-mtn-print-log):
9211 * vc/vc-rcs.el (vc-rcs-print-log):
9212 * vc/vc-sccs.el (vc-sccs-print-log):
9213 * vc/vc-svn.el (vc-svn-print-log):
9214 * vc/vc.el (vc-print-log-internal): Doc fixes.
9215
b46a056e
GM
92162013-04-23 Glenn Morris <rgm@gnu.org>
9217
9218 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9219 Remove venerable code attempting to avoid substitute-command-keys.
9220
0aecf718
TH
92212013-04-23 Tassilo Horn <tsdh@gnu.org>
9222
4391916c
MH
9223 * textmodes/reftex-vars.el (reftex-label-regexps):
9224 Call `reftex-compile-variables' after changes to this variable.
0aecf718 9225
117f94cf
SM
92262013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9227
4391916c 9228 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
9229 Use lexical-binding.
9230 (jit-lock-force-redisplay): Use markers, check buffer's continued
9231 existence and beware narrowed buffers.
9232 (jit-lock-fontify-now): Adjust call accordingly.
9233
1d829c64
SM
92342013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9237 to avoid misleading the user.
9238
72d548a9
LL
92392013-04-22 Leo Liu <sdl.web@gmail.com>
9240
9241 * info-look.el: Prefer latex2e.info. (Bug#14240)
9242
d0853629
MA
92432013-04-22 Michael Albinus <michael.albinus@gmx.de>
9244
9245 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9246
9247 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 9248 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
9249 (tramp-set-completion-function, tramp-parse-putty):
9250 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9251 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9252 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9253 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9254 (tramp-call-local-coding-command): Use `tramp-call-process'
9255 instead of `tramp-compat-call-process'.
9256
9257 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9258 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9259 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 9260 (tramp-find-inline-compress): Improve traces.
d0853629
MA
9261 (tramp-maybe-send-script): Check for Perl binary.
9262 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9263
38cc0210
DU
92642013-04-22 Daiki Ueno <ueno@gnu.org>
9265
9266 * epg.el (epg-context-pinentry-mode): New function.
9267 (epg-context-set-pinentry-mode): New function.
9268 (epg--start): Pass --pinentry-mode option to gpg command.
9269
cc641ee1
XF
92702013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9271
02d844b5 9272 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 9273 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 9274 `completion-at-point'. (Bug#13774)
5d4e5c31 9275
cc641ee1
XF
9276 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9277 default key binding for `describe-distribution' has been moved to
9278 `C-h C-o'. (Bug#13970)
9279
1b42ee43
GM
92802013-04-21 Glenn Morris <rgm@gnu.org>
9281
9282 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9283 Add doc strings.
9284 (vc-print-log): Clarify interactive prompt.
9285
a6d63d97
GM
92862013-04-20 Glenn Morris <rgm@gnu.org>
9287
9288 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9289 No longer include timestamp etc information.
9290
d7f5c16f
RW
92912013-04-20 Roland Winkler <winkler@gnu.org>
9292
9293 * faces.el (read-face-name): Bug fix, return just one face if arg
9294 multiple is nil. (Bug#14209)
9295
bcd7a0a4
SM
92962013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9299 (remove-function): Autoload.
9300
9301 * comint.el (comint-redirect-original-filter-function): Remove.
9302 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
9303 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9304 (vc-cvs-annotate-command):
bcd7a0a4
SM
9305 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9306 * progmodes/prolog.el (prolog-consult-compile):
9307 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9308 Use add/remove-function instead.
9309 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9310 (gud-tooltip-process-output, gud-tooltip-tips):
9311 Use add/remove-function instead.
9312 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9313 (scheme-interaction-mode, exit-scheme-interaction-mode):
9314 Use add/remove-function instead.
9315
9316 * vc/vc-dispatcher.el: Use lexical-binding.
9317 (vc--process-sentinel): Rename from vc-process-sentinel.
9318 Change last arg to be the code to run. Don't use vc-previous-sentinel
9319 and vc-sentinel-commands any more.
9320 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9321 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9322
e36b2d20 93232013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 9324
bcd7a0a4 9325 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 9326 Handle function names with a single character. (Bug#14111)
4d3268ba 9327
781b4af6 93282013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
9329
9330 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9331 for subroutines defined in an eval (bug#14182).
9332
7d688336
TV
93332013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9334
9335 * bookmark.el (bookmark-completing-read): Improve handling of empty
9336 string (bug#14176).
9337
31dcede0
SM
93382013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9341
adc31213
FEG
93422013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9343
9344 New faster Imenu implementation (bug#14058).
9345 * progmodes/python.el:
9346 (python-imenu-prev-index-position):
9347 (python-imenu-format-item-label-function)
9348 (python-imenu-format-parent-item-label-function)
9349 (python-imenu-format-parent-item-jump-label-function):
9350 New vars.
9351 (python-imenu-format-item-label)
9352 (python-imenu-format-parent-item-label)
9353 (python-imenu-format-parent-item-jump-label)
9354 (python-imenu--put-parent, python-imenu--build-tree)
9355 (python-imenu-create-index, python-imenu-create-flat-index)
9356 (python-util-popn): New functions.
9357 (python-mode): Set imenu-create-index-function to
9358 python-imenu-create-index.
9359
cdca8255
SM
93602013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * winner.el (winner-active-region): Use region-active-p, activate-mark
9363 and deactivate-mark (bug#14225).
9364
9365 * simple.el (deactivate-mark): Don't inline it.
9366
beb42340
MA
93672013-04-18 Michael Albinus <michael.albinus@gmx.de>
9368
9369 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9370
fc7f4d7e
TH
93712013-04-18 Tassilo Horn <tsdh@gnu.org>
9372
9373 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9374 file extensions from the archive-mode entry in order to prefer
9375 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9376
29f47822
LL
93772013-04-18 Leo Liu <sdl.web@gmail.com>
9378
9379 * bindings.el (help-event-list): Add ?\?.
9380
d36ed1c8
SM
93812013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * subr.el (with-wrapper-hook): Declare obsolete.
9384 * simple.el (filter-buffer-substring-function): New hook.
9385 (filter-buffer-substring): Use it.
9386 (filter-buffer-substring-functions): Mark obsolete.
9387 * minibuffer.el (completion-in-region-function): New hook.
9388 (completion-in-region): Use it.
9389 (completion-in-region-functions): Mark obsolete.
9390 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9391 * abbrev.el (abbrev-expand-function): New hook.
9392 (expand-abbrev): Use it.
9393 (abbrev-expand-functions): Mark obsolete.
9394 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9395 and :filter-return.
9396
04754d36
FEG
93972013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9398
9399 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9400 and do not care about match data.
9401
dd8791e9
SM
94022013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9405 completion tables when completing error conditions and
9406 `declare' arguments.
9407 (lisp-complete-symbol, field-complete): Mark as obsolete.
9408 (check-parens): Unmatched parens are user errors.
9409 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9410
ffe54a13
AM
94112013-04-17 Michal Nazarewicz <mina86@mina86.com>
9412
dd8791e9
SM
9413 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9414 command changed buffer (ie. `flyspell-pre-buffer' is not current
9415 buffer), which prevents making decisions based on invalid value of
9416 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9417 cause an error when `flyspell-pre-point' was nil after switching
9418 buffers.
9419 (flyspell-post-command-hook): No longer needs to change buffers when
9420 checking pre-word. While at it remove unnecessary progn.
ffe54a13 9421
ec7e39f2
AM
94222013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9423
9424 * textmodes/ispell.el (ispell-add-per-file-word-list):
9425 Fix `flyspell-correct-word-before-point' error when accepting
9426 words and `coment-padding' is an integer by using
9427 `comment-normalize-vars' (Bug #14214).
9428
083850a6
FEG
94292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9430
9431 New defun movement commands.
9432 * progmodes/python.el (python-nav--syntactically)
9433 (python-nav--forward-defun, python-nav-backward-defun)
9434 (python-nav-forward-defun): New functions.
9435
619ed6e1
FEG
94362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9437
9438 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9439 (python-syntax-context): Use named compiler-macro for backwards
9440 compatibility with Emacs 24.x.
9441
7a1beb6c
LL
94422013-04-17 Leo Liu <sdl.web@gmail.com>
9443
9444 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9445 octave-hide-process-buffer.
9446
2d3fa3e5
SM
94472013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9450 (bug#14216).
9451
7ce5be54
JPG
94522013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9453
9454 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9455 Fix adjustment of offset when receiving incomplete responses from GDB
9456 (bug#14129).
9457
351edece
SM
94582013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9461 python-mode-abbrev-table.
9462 (python-skeleton-define): Adjust accordingly.
9463 (python-mode-abbrev-table): New table that inherits from it so that
9464 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9465
9466 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9467 (abbrev-symbol): Use it.
9468 (abbrev--before-point): Use it since we already handle inheritance.
9469
613f9481
LL
94702013-04-16 Leo Liu <sdl.web@gmail.com>
9471
9472 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9473 binding to info-lookup-symbol.
9474
51646b62
JB
94752013-04-16 Juanma Barranquero <lekktu@gmail.com>
9476
9477 * minibuffer.el (completion--twq-all):
9478 * term/ns-win.el (ns-initialize-window-system):
9479 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9480
efb3f01d
SM
94812013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9482
36c0a301
SM
9483 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9484 global bindings.
9485
efb3f01d
SM
9486 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9487
fb549d64
DG
94882013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9489
9490 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9491 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9492 to nil.
9493 (ruby-end-of-defun): Remove the unused arg, change the docstring
9494 to reflect that this function is only used as the value of
9495 `end-of-defun-function'.
9496 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9497 to reflect an earlier change that beginning/end-of-defun functions
9498 jump between methods in a class definition, as well as top-level
9499 functions.
9500
21e8fe2f
SM
95012013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * minibuffer.el (minibuffer-complete): Don't just scroll
9504 a *Completions* that's been iconified.
9505 (minibuffer-force-complete): Make sure repetitions do cycle when going
9506 through completion-in-region -> minibuffer-complete.
9507
20e527d0
AM
95082013-04-15 Alan Mackenzie <acm@muc.de>
9509
9510 Correct the placement of c-cpp-delimiters when there're #s not at
9511 col 0.
9512
9513 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9514 place a submatch around the #.
21e8fe2f
SM
9515 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9516 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
9517 on the #, not BOL.
9518
dabefae5
SM
95192013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9522 (advice--member-p): New arg `name'.
9523 (advice--add-function, advice-member-p): Use it (bug#14202).
9524
85c9ab64
AM
95252013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9526
9527 Reformulate java imenu-generic-expression.
9528 The old expression contained ill formed regexps.
9529
9530 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9531 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9532 (cc-imenu-java-method-arg-regexp): New defconsts.
9533 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 9534 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
9535 handling of spaces in the regexp.
9536
0f821d99
AM
95372013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9538
9539 * textmodes/ispell.el (ispell-command-loop): Remove
9540 flyspell highlight of a word when ispell accepts it (bug #14178).
9541
eb922adf
MA
95422013-04-15 Michael Albinus <michael.albinus@gmx.de>
9543
9544 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9545 uses code from the previous `ange-ftp-run-real-handler'.
9546 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9547 only in case that function exist. This is needed for proper
9548 unloading of Tramp.
9549
4d9a0979
TH
95502013-04-15 Tassilo Horn <tsdh@gnu.org>
9551
9552 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9553
9554 * textmodes/reftex.el (reftex-compile-variables): Use it.
9555
a829b0dc
SM
95562013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9557
91e8293c
SM
9558 * files.el (normal-mode): Only use default major-mode if no other mode
9559 was specified.
9560
830aed4d
SM
9561 * emacs-lisp/trace.el (trace-values): New function.
9562
a829b0dc
SM
9563 * files.el: Allow : in local variables (bug#14089).
9564 (hack-local-variable-regexp): New var.
9565 (hack-local-variables-prop-line, hack-local-variables): Use it.
9566
7ae9f0fb
RW
95672013-04-13 Roland Winkler <winkler@gnu.org>
9568
9569 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9570 data before it gets modified by bibtex-beginning-of-entry.
9571
6646e848
RW
95722013-04-13 Roland Winkler <winkler@gnu.org>
9573
9574 * textmodes/bibtex.el (bibtex-url): Doc fix.
9575
95762013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
9577
9578 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9579 does not visit a BibTeX file, exclude it from the list of buffers
9580 returned by bibtex-initialize.
9581
0aa3616e
SB
95822013-04-13 Stephen Berman <stephen.berman@gmx.net>
9583
9584 * window.el (split-window): Remove interactive form, since as a
9585 command this function is a special case of split-window-below.
9586 Correct doc string.
9587
011cddd6
RW
95882013-04-12 Roland Winkler <winkler@gnu.org>
9589
9590 * faces.el (read-face-name): Do not override value of arg default.
9591 Allow single faces and strings as default values. Remove those
9592 elements from return value that are not faces.
9593 (describe-face): Simplify.
9594 (face-at-point): New optional args thing and multiple so that this
9595 function can provide the same functionality previously provided by
9596 read-face-name.
9597 (make-face-bold, make-face-unbold, make-face-italic)
9598 (make-face-unitalic, make-face-bold-italic, invert-face)
9599 (modify-face, read-face-and-attribute): Use face-at-point.
9600
9601 * cus-edit.el (customize-face, customize-face-other-window)
9602 * cus-theme.el (custom-theme-add-face)
9603 * face-remap.el (buffer-face-set)
9604 * facemenu.el (facemenu-set-face): Use face-at-point.
9605
f24e0036
MA
96062013-04-12 Michael Albinus <michael.albinus@gmx.de>
9607
9608 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9609
da3cda2d
TH
96102013-04-10 Tassilo Horn <tsdh@gnu.org>
9611
9612 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9613 off leading { and trailing } from field values.
9614
15e54145
SM
96152013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9616
78ce603d
SM
9617 * emacs-lisp/timer.el (timer--check): New function.
9618 (timer--time, timer-set-function, timer-event-handler): Use it.
9619 (timer-set-idle-time): Simplify.
9620 (timer--activate): CSE.
9621 (timer-event-handler): Give more info in error message.
9622 (internal-timer-start-idle): New function, moved from C.
9623
15e54145
SM
9624 * mpc.el (mpc-proc): Add `restart' argument.
9625 (mpc-proc-cmd): Use it.
9626 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9627 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9628 less often.
9629
7144c627
MY
96302013-04-10 Masatake YAMATO <yamato@redhat.com>
9631
9632 * progmodes/sh-script.el: Implement `sh-mode' own
9633 `add-log-current-defun-function' (bug#14112).
9634 (sh-current-defun-name): New function.
9635 (sh-mode): Use the function.
9636
b39792eb
BG
96372013-04-09 Bastien Guerry <bzg@gnu.org>
9638
9639 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9640
8acdeb71
SM
96412013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9642
6fcdab68
SM
9643 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9644
8acdeb71
SM
9645 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9646 timer (bug#14156).
9647
e3e7b504
NF
96482013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9649
9650 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9651 declaration.
9652
201bb296
LL
96532013-04-07 Leo Liu <sdl.web@gmail.com>
9654
9655 * pcmpl-x.el: New file.
9656
ebb19708
DA
96572013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9658
9659 Do not set x-display-name until X connection is established.
9660 This is needed to prevent from weird situation described at
9661 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9662 * frame.el (make-frame): Set x-display-name after call to
9663 window system initialization function, not before.
9664 * term/x-win.el (x-initialize-window-system): Add optional
9665 display argument and use it.
9666 * term/w32-win.el (w32-initialize-window-system):
9667 * term/ns-win.el (ns-initialize-window-system):
9668 * term/pc-win.el (msdos-initialize-window-system):
9669 Add compatible optional display argument.
9670
33bb237a
EZ
96712013-04-06 Eli Zaretskii <eliz@gnu.org>
9672
9673 * files.el (normal-backup-enable-predicate): On MS-Windows and
9674 MS-DOS compare truenames of temporary-file-directory and of the
9675 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9676 don't fail comparison by compare-strings. Also, compare file
9677 names case-insensitively on MS-Windows and MS-DOS.
9678
134abf1f
SM
96792013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9682 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9683
d695cb94
DG
96842013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9685
e3e7b504
NF
9686 * whitespace.el (whitespace-color-on, whitespace-color-off):
9687 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9688
f4ad7ea1 96892013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9690
9691 * ispell.el (ispell-set-spellchecker-params):
9692 Really set `ispell-args' for all equivs.
9693
632556e4
SM
96942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * ido.el (ido-completions): Use extra elements of ido-decorations
9697 (bug#14143).
9698 (ido-decorations): Update docstring.
9699
2a417372
MA
97002013-04-05 Michael Albinus <michael.albinus@gmx.de>
9701
9702 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9703 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9704 nil during initialization, in order not to miss changes since the
9705 file was opened. (Bug#14140)
9706
fc164b0c
LL
97072013-04-05 Leo Liu <sdl.web@gmail.com>
9708
9709 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9710
0ccecc08
JB
97112013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9712
9713 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9714
51af1aa2
GM
97152013-04-04 Glenn Morris <rgm@gnu.org>
9716
9717 * electric.el (electric-pair-inhibit-predicate): Add :version.
9718
b208ebc6
SM
97192013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9722 when a package is required several times (bug#14082).
9723
f3d3eaf0
RW
97242013-04-04 Roland Winkler <winkler@gnu.org>
9725
9726 * faces.el (read-face-name): Behave as promised by the docstring.
9727 Assume that arg default is a list of faces.
9728 (describe-face): Call read-face-name with list of default faces.
9729
2575da50
TV
97302013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9731
9732 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9733 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9734 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9735 the header.
9736 (bookmark-exit-hook-internal): Save even if list is empty.
9737
397703b4
YH
97382013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9739
9740 * emacs-lisp/package.el (package-pinned-packages): New var.
9741 (package--add-to-archive-contents): Obey it (bug#14118).
9742
691e26ae
AM
97432013-04-03 Alan Mackenzie <acm@muc.de>
9744
8a621d53
JB
9745 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9746 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9747
9748 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9749 parameter `not-in-delimiter'. Handle being inside comment opener.
9750 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9751 character in case we're typing a '*' after a '/'.
9752 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9753 instead by passing the parameter to c-state-pp-to-literal.
9754
9755 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9756 for elt. 7 of a parse state.
9757
4b725a70
PE
97582013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9759
9760 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9761 * international/latin1-disp.el, international/mule-util.el:
9762 * language/cyril-util.el, language/european.el, language/ind-util.el:
9763 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9764 * language/tibetan.el, language/viet-util.el:
9765 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9766
15c579f0
SM
97672013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9770 (electric-pair-post-self-insert-function): Use it.
9771 (electric-pair-default-inhibit): New function, extracted from
9772 electric-pair-post-self-insert-function.
9773
a77e2924
RW
97742013-03-31 Roland Winkler <winkler@gnu.org>
9775
9776 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9777
2bd8a4a8
SM
97782013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9781
8d3655be 97822013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9783
9784 Un-indent after "pass" and "return" statements (Bug#13888)
9785 * progmodes/python.el (python-indent-block-enders): New var.
9786 (python-indent-calculate-indentation): Use it.
9787
8d3655be 97882013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9789
9790 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9791 defun. Defining it as defalias could introduce too eager
9792 byte-compiler optimization. (Bug#14030)
9793
8d3655be 97942013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9795
9796 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9797
0b1619da
LL
97982013-03-30 Leo Liu <sdl.web@gmail.com>
9799
9800 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9801 (kmacro-execute-from-register): Pass the keyboard macro to
9802 kmacro-call-macro or repeating won't work correctly.
9803
0b938190
TZ
98042013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9805
9806 * progmodes/subword.el: Back to using `forward-symbol'.
9807
9808 * subr.el (forward-whitespace, forward-symbol)
9809 (forward-same-syntax): Move from thingatpt.el.
9810
35710234
LL
98112013-03-29 Leo Liu <sdl.web@gmail.com>
9812
9813 * kmacro.el (kmacro-to-register): New command.
9814 (kmacro-execute-from-register): New function.
9815 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9816
efc0bb73
SM
98172013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * mpc.el: Use defvar-local and setq-local.
9820 (mpc--proc-connect): Connection failures are not bugs.
9821 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9822 (mpc-volume-map): Bind to the up-events.
9823
75a2f981
TZ
98242013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9825
9826 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9827 instead of `forward-symbol'.
9828
17c781d1
SM
98292013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9832 (edebug--recursive-edit): Use it.
9833 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9834 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9835
f67bfbcf
LL
98362013-03-28 Leo Liu <sdl.web@gmail.com>
9837
9838 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9839
b59f639d
EZ
98402013-03-27 Eli Zaretskii <eliz@gnu.org>
9841
9842 * facemenu.el (list-colors-callback): New defvar.
9843 (list-colors-redisplay): New function.
9844 (list-colors-display): Install list-colors-redisplay as the
9845 revert-buffer-function. (Bug#14063)
9846
f557c1b1
SM
98472013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9848
b1da2957
SM
9849 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9850 and suffixes don't overlap (bug#14061).
9851
f557c1b1
SM
9852 * case-table.el: Use lexical-binding.
9853 (case-table-get-table): New function.
9854 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9855
002668e1
TZ
98562013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9857
9858 * progmodes/subword.el: Add `superword-mode' to do word motion
9859 over symbol_words (parallels and leverages `subword-mode' which
9860 does word motion inside MixedCaseWords).
9861
73572c72
AG
98622013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9863
78b8f320 9864 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9865 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9866
69b2c07e
SM
98672013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9870 Change return value to be a sexp. Delay `get-buffer' to after
9871 restoring the desktop (bug#13951).
9872
08bb5ee2
LL
98732013-03-26 Leo Liu <sdl.web@gmail.com>
9874
9875 * register.el: Move semantic tag handling back to
9876 cedet/semantic/senator.el. (Bug#14052)
9877
8d4c974e
SM
98782013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9881 into the prompt either (bug#13963).
9882
b234d92c
SM
98832013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9886 part of "(error-foo)".
9887
ddfa3cb4
JL
98882013-03-24 Juri Linkov <juri@jurta.org>
9889
9890 * replace.el (list-matching-lines-prefix-face): New defcustom.
9891 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9892 `occur-engine' if `face-differs-from-default-p' returns t.
9893 (occur-engine): Add `,' inside backquote construct to evaluate
9894 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9895 Pass `prefix-face' to the functions `occur-context-lines' and
9896 `occur-engine-add-prefix'.
9897 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9898 `prefix-face' and propertize the prefix with `prefix-face'.
9899 (Bug#14017)
9900
7b0e2f85
LL
99012013-03-24 Leo Liu <sdl.web@gmail.com>
9902
9903 * nxml/rng-valid.el (rng-validate-while-idle)
9904 (rng-validate-quick-while-idle): Guard against deleted buffer.
9905 (Bug#13999)
9906
9907 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9908 is the last entry in kill-buffer-hook.
9909
9910 * files.el (kill-buffer-hook): Doc fix.
9911
b3082f49
DG
99122013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9913
b234d92c
SM
9914 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9915 Make it safe-local.
bde73d27 9916
b3082f49
DG
9917 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9918
a320a2db
LL
99192013-03-23 Leo Liu <sdl.web@gmail.com>
9920
7e74b0fb
LL
9921 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9922 Remove.
9923
9924 * nxml/rng-valid.el (rng-validate-mode)
9925 (rng-after-change-function, rng-do-some-validation):
9926 * nxml/rng-maint.el (rng-validate-buffer):
9927 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9928 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9929 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9930 (nxml-extend-after-change-region): Use with-silent-modifications.
9931
a320a2db
LL
9932 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9933 timer-idle-list.
9934
9935 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9936 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9937 timer-idle-list. (Bug#13999)
9938
e38e6780
JL
99392013-03-23 Juri Linkov <juri@jurta.org>
9940
9941 * info.el (info-index-match): New face.
9942 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9943 main pattern and add text properties with the new face to matches
9944 in index entries relative to the beginning of the index entry.
9945 (Bug#14015)
9946
e8cc7880
DE
99472013-03-21 Eric Ludlam <zappo@gnu.org>
9948
9949 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9950 Inhibit read only while inserting objects.
9951
9bb0d822
TZ
99522013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9953
9954 * progmodes/cfengine.el: Update docs to mention
9955 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9956 symbol motion. Remove "_" from the word syntax.
9957
aa703640
TZ
99582013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9959
9960 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9961 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9962
afff09d0
JL
99632013-03-20 Juri Linkov <juri@jurta.org>
9964
9965 * info.el (Info-next-reference-or-link)
9966 (Info-prev-reference-or-link): New functions.
9967 (Info-next-reference, Info-prev-reference): Use them.
9968 (Info-try-follow-nearest-node): Handle footnote navigation.
9969 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9970
9a1ff164
SM
99712013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9974 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9975
2667d15d
PE
99762013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9977
9978 Suppress unnecessary non-ASCII chatter during build process.
9979 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9980 (batch-skkdic-convert): Suppress most of the chatter.
9981 It's not needed so much now that machines are faster,
9982 and its non-ASCII component was confusing; see Dmitry Gutov in
9983 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9984
438b0579
LL
99852013-03-20 Leo Liu <sdl.web@gmail.com>
9986
9987 * ido.el (ido-chop): Fix bug#10994.
9988
c128ab07
DG
99892013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9990
9991 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9992 Remove vars.
9a1ff164
SM
9993 (whitespace-color-on, whitespace-color-off):
9994 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9995
0e6008c5
SM
99962013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9999 remapping in mode-line.
10000 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10001
627b52b0
DG
100022013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10003
10004 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10005 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
10006 (whitespace-font-lock-keywords): Change description.
10007 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10008 the constructed keywords instead.
10009 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 10010
50c3a20b
LL
100112013-03-19 Leo Liu <sdl.web@gmail.com>
10012
10013 * progmodes/compile.el (compilation-display-error): New command.
10014 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10015 C-o. (Bug#13992)
10016
2aa2157b
PE
100172013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10018
10019 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10020
e477dbfa
JD
100212013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10022
10023 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10024
64ab82d1
MA
100252013-03-18 Michael Albinus <michael.albinus@gmx.de>
10026
10027 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10028
10029 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10030 * net/tramp-gvfs.el (top):
10031 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10032 (tramp-handle-shell-command): Use it.
10033 (tramp-dissect-file-name): Raise an error when hostname is a
10034 method name, and neither method nor user is specified.
10035
10036 * net/trampver.el: Update release number.
10037
33cef733
LL
100382013-03-18 Leo Liu <sdl.web@gmail.com>
10039
10040 Make sure eldoc can be turned off properly.
10041 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10042 eldoc-mode.
10043 (eldoc-display-message-p): Revert last change.
10044 (eldoc-display-message-no-interference-p)
10045 (eldoc-print-current-symbol-info): Tweak.
10046
2167b7b2
TH
100472013-03-18 Tassilo Horn <tsdh@gnu.org>
10048
10049 * doc-view.el (doc-view-new-window-function): Check the new window
10050 overlay's display property instead the char property of the
10051 buffer's first char. Use `with-selected-window' instead of
10052 `save-window-excursion' with `select-window'.
10053 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 10054 display property instead the char property of the buffer's first char.
2167b7b2 10055
982efbcd
PE
100562013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10057
10058 Automate the build of ja-dic.el (Bug#13984).
10059 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10060 from the input, rather than assume that it's been done for us by the
10061 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10062 the current date into a ja-dic.el comment, as that complicates
10063 regression testing.
10064
2fcc7665
SM
100652013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * whitespace.el: Fix double evaluation.
10068 (whitespace-space, whitespace-hspace, whitespace-tab)
10069 (whitespace-newline, whitespace-trailing, whitespace-line)
10070 (whitespace-space-before-tab, whitespace-indentation)
10071 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10072 obsolete defvars.
10073 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10074 (whitespace-color-on): Use a single font-lock-add-keywords call.
10075 Fix double-evaluation of face variables.
10076
67c0a6e6
MA
100772013-03-17 Michael Albinus <michael.albinus@gmx.de>
10078
2fcc7665
SM
10079 * net/tramp-adb.el (tramp-adb-parse-device-names):
10080 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 10081 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 10082
69489f1d
LL
100832013-03-17 Leo Liu <sdl.web@gmail.com>
10084
10085 Extend eldoc to display info in the mode-line. (Bug#13978)
10086 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10087 (eldoc-mode-line-string): New variable.
10088 (eldoc-minibuffer-message): New function.
10089 (eldoc-message-function): New variable.
10090 (eldoc-message): Use it.
10091 (eldoc-display-message-p)
2fcc7665
SM
10092 (eldoc-display-message-no-interference-p):
10093 Support eldoc-post-insert-mode.
69489f1d
LL
10094
10095 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10096 (eval-expression): Run it.
10097
9c44569e
RW
100982013-03-17 Roland Winkler <winkler@gnu.org>
10099
10100 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10101 strings in the list of return values.
10102
327f1f6f
JB
101032013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10104
10105 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10106 radix before checking for HMS forms.
10107
67ed8fcd
LL
101082013-03-16 Leo Liu <sdl.web@gmail.com>
10109
10110 * progmodes/scheme.el: Add indentation and font-locking for λ.
10111 (Bug#13975)
10112
78be8b64 101132013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
10114
10115 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10116 token before point (bug#13942).
10117
78be8b64 101182013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 10119
95b43468 10120 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 10121
98e775e6
EZ
101222013-03-16 Eli Zaretskii <eliz@gnu.org>
10123
10124 * startup.el (command-line-normalize-file-name): Fix handling of
10125 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10126 <xfq.free@gmail.com> in
10127 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10128
2edd6029
MA
101292013-03-15 Michael Albinus <michael.albinus@gmx.de>
10130
10131 Sync with Tramp 2.2.7.
10132
10133 * net/trampver.el: Update release number.
10134
d35f5864
TH
101352013-03-14 Tassilo Horn <tsdh@gnu.org>
10136
e903c210 10137 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
10138 (doc-view-insert-image): Don't modify overlay associated to
10139 non-live windows, and implement horizontal centering of image in
10140 case it's smaller than the window.
10141 (doc-view-new-window-function): Force redisplay of new windows on
10142 doc-view buffers.
d35f5864 10143
1c4a85ed
KF
101442013-03-13 Karl Fogel <kfogel@red-bean.com>
10145
10146 * saveplace.el (save-place-alist-to-file): Don't sort
10147 `save-place-alist', just pretty-print it (bug#13882).
10148
85b66a21
MA
101492013-03-13 Michael Albinus <michael.albinus@gmx.de>
10150
a020afb9
JB
10151 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10152 Check whether `default-file-name-coding-system' is bound.
10153 It isn't in XEmacs.
85b66a21 10154
175600da
SM
101552013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10156
e7f7cb1a
SM
10157 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10158 backquotes for `obsolete' (bug#13929).
10159
175600da
SM
10160 * international/mule.el (find-auto-coding): Include file name in
10161 obsolescence warning (bug#13922).
10162
ca68a22e
TZ
101632013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10164
10165 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10166 for CFEngine 3-specific indentation.
10167 (cfengine3-indent-line): Use it. Fix up category regex.
10168 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10169
940e5099
SM
101702013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * type-break.el (type-break-file-name):
10173 * textmodes/remember.el (remember-data-file):
10174 * strokes.el (strokes-file):
10175 * shadowfile.el (shadow-initialize):
10176 * saveplace.el (save-place-file):
10177 * ps-bdf.el (bdf-cache-file):
10178 * progmodes/idlwave.el (idlwave-config-directory):
10179 * net/quickurl.el (quickurl-url-file):
10180 * international/kkc.el (kkc-init-file-name):
10181 * ido.el (ido-save-directory-list-file):
10182 * emulation/viper.el (viper-custom-file-name):
10183 * emulation/vip.el (vip-startup-file):
10184 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10185 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10186
cc725808
PE
101872013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10188
10189 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10190 * language/thai-word.el: Switch to UTF-8.
10191
a020afb9 10192See ChangeLog.16 for earlier changes.
e3d51b27
MR
10193
10194;; Local Variables:
10195;; coding: utf-8
e3d51b27
MR
10196;; End:
10197
ab422c4d 10198 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
10199
10200 This file is part of GNU Emacs.
10201
10202 GNU Emacs is free software: you can redistribute it and/or modify
10203 it under the terms of the GNU General Public License as published by
10204 the Free Software Foundation, either version 3 of the License, or
10205 (at your option) any later version.
10206
10207 GNU Emacs is distributed in the hope that it will be useful,
10208 but WITHOUT ANY WARRANTY; without even the implied warranty of
10209 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10210 GNU General Public License for more details.
10211
10212 You should have received a copy of the GNU General Public License
10213 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.