Code cleanup.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4c1f03ef
MA
12013-10-17 Michael Albinus <michael.albinus@gmx.de>
2
3 Code cleanup.
4
5 * net/tramp.el (tramp-debug-message): Do not check for connection
6 buffer.
7 (tramp-message): Use "vector" connection property.
8
9 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10 (tramp-equal-remote, tramp-eshell-directory-change)
11 * net/tramp-adb.el (tramp-adb-handle-copy-file)
12 (tramp-adb-handle-rename-file)
13 * net/tramp-cmds.el (tramp-list-remote-buffers)
14 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15 * net/tramp-compat.el (tramp-compat-process-running-p)
16 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
18 (tramp-gvfs-handle-rename-file)
19 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20 (tramp-set-file-uid-gid)
21 * net/tramp-smb.el (tramp-smb-handle-copy-file)
22 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
23 of `file-remote-p'.
24
25 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
26 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
27 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
28 (tramp-gw-open-network-stream): Suppress unrelated traces.
29
30 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
31 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
32 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
33 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
34 connection property.
35
36 * net/tramp-cache.el (top): Suppress traces when reading
37 presistency file.
38
39 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
40 Refactor common code. Improve debug message.
41 (tramp-maybe-open-connection)
42 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
43 connection buffer too early.
44
45 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
46 from `tramp-smb-actions-with-acl'.
47 (tramp-smb-actions-set-acl): New defconst.
48 (tramp-smb-handle-copy-directory)
49 (tramp-smb-action-get-acl): New defun, renamed from
50 `tramp-smb-action-with-acl'.
51 (tramp-smb-action-set-acl): New defun.
52 (tramp-smb-handle-set-file-acl): Rewrite.
53
642eb8b6
GM
542013-10-17 Glenn Morris <rgm@gnu.org>
55
56 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
57
85527ff3
SM
582013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
59
921c1d62
SM
60 * skeleton.el (skeleton-newline): Remove.
61 (skeleton-internal-1): Use (insert "\n") instead.
62
e333fb10
SM
63 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
64 let-bindings.
65
85527ff3
SM
66 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
67 forward-sexp-function while we redo its job (bug#15613).
68
c8722a97
JB
692013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
70
71 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
72 represented by lists.
73
7a550bbb
GM
742013-10-16 Glenn Morris <rgm@gnu.org>
75
76 * tmm.el (tmm--history): New dynamic variable.
77 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
78
f19da8ad
MA
792013-10-16 Michael Albinus <michael.albinus@gmx.de>
80
81 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
82 (tramp-smb-errors): Add error messages.
83 (tramp-smb-actions-with-acl): New defconst.
84 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
85 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
86 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
87 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
88 (tramp-smb-get-stat-capability): Fix tests.
89
a24b9961
DK
902013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
91
92 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
93 (bug#15580).
94
62ad85e6
GM
952013-10-16 Glenn Morris <rgm@gnu.org>
96
0283d6b0
GM
97 * ansi-color.el (ansi-color-drop-regexp):
98 Add 1J, 1K, 2K. (Bug#15617)
99
012e2f9f
GM
100 * files.el (hack-local-variables--warned-lexical): New.
101 (hack-local-variables):
102 Warn about misplaced lexical-binding. (Bug#15616)
103
62ad85e6
GM
104 * net/eww.el (eww-render): Always set eww-current-url,
105 and update header line. (Bug#15622)
106 (eww-display-html): ... Rather than just doing it here.
107
6456c0ea
EZ
1082013-10-15 Eli Zaretskii <eliz@gnu.org>
109
110 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
111 menu navigations commands.
112
c2de5588
DK
1132013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
114
115 * progmodes/subword.el (subword-capitalize): Be careful when
116 the search for [[:alpha:]] fails (bug#15580).
117
ccd4a783
EZ
1182013-10-14 Eli Zaretskii <eliz@gnu.org>
119
120 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
121 to commands that scroll the menu.
122
1eda1d8d
DG
1232013-10-14 Dmitry Gutov <dgutov@yandex.ru>
124
c2de5588
DK
125 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
126 Handle methods ending with `?' and `!'.
1eda1d8d 127
e70181b8
AM
1282013-10-14 Akinori MUSHA <knu@iDaemons.org>
129
130 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
131 `japanese-cp932' to `cp932' to fix the problem where saving a
132 source file written in Shift_JIS twice would end up having
133 `coding: japanese-cp932' which Ruby could not recognize.
134 (ruby-mode-set-encoding): Add support for encodings mapped to nil
135 in `ruby-encoding-map'.
136 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
137 doesn't need to be explicitly declared in magic comment.
138 (ruby-encoding-map): Add type declaration for better customize UI.
139
9148ee92
GM
1402013-10-13 Glenn Morris <rgm@gnu.org>
141
a5d38e34
GM
142 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
143 Occur buffers are read-only. http://bugs.debian.org/720775
144
9148ee92
GM
145 * emacs-lisp/authors.el (authors-fixed-entries):
146 Comment out old alpha stuff.
147
a9ba094b
DG
1482013-10-13 Dmitry Gutov <dgutov@yandex.ru>
149
150 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
151 to `after-save-hook' instead of `before-save-hook'.
152 (ruby-mode-set-encoding): Use the value of coding system used to
153 write the file. Call `basic-save-buffer-1' after modifying the
154 buffer.
155
7a068717
AM
1562013-10-13 Alan Mackenzie <acm@muc.de>
157
158 Fix indentation/fontification of Java enum with
159 "implements"/generic.
160
c2de5588
DK
161 * progmodes/cc-engine.el (c-backward-over-enum-header):
162 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
163 (c-inside-bracelist-p): Uses new function above.
164 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
165 function above.
166 (c-font-lock-enum-tail): Uses new function above.
167
85b64f02
KH
1682013-10-13 Kenichi Handa <handa@gnu.org>
169
170 * international/mule-cmds.el (select-safe-coding-system): Remove a
171 superfluous condition in chekcing whether a coding system is safe
172 or not.
173
fc7f501b
OK
1742013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
175
176 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
177
fdcb2049
AP
1782013-10-13 Andreas Politz <politza@hochschule-trier.de>
179
180 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
181
8c106d17
GM
1822013-10-13 Glenn Morris <rgm@gnu.org>
183
feab892d
GM
184 * menu-bar.el (menu-bar-update-buffers):
185 Unify Buffers menu prompt string. (Bug#15576)
186
b22d0686
GM
187 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
188
8c106d17
GM
189 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
190 Add some entries.
191 (authors-fixed-entries): Use accented form of name.
192
1b12c797
SM
1932013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
194
650fa7bf 195 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 196 method calls (bug#15594).
650fa7bf
SM
197 (ruby-smie--args-separator-p): New function.
198 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
199 recognize paren-free method calls.
200
1b12c797
SM
201 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
202 internals of universal-argument.
203
029619c8
EZ
2042013-10-11 Eli Zaretskii <eliz@gnu.org>
205
206 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
207 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
208 dropped menu on second mouse click on the menu bar.
029619c8 209
dd070019
SM
2102013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
213 (explicit-shell-file-name): Declare.
214 (sh--vars-before-point, sh--cmd-completion-table): New functions.
215 (sh-completion-at-point-function): New function.
216 (sh-mode): Use it.
217 (sh-smie--keyword-p): Remove unused argument.
218 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
219 vars.
220 (sh-set-shell): Always setup SMIE, even if we use the
221 old indentation code.
222
0922b826
DG
2232013-10-11 Dmitry Gutov <dgutov@yandex.ru>
224
b68e2926
DG
225 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
226 cases of ? and =.
227 (ruby-smie-rules): Simplify the "do" rule. The cases when the
228 predicate would return nil are almost non-existent.
229 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
230
0922b826
DG
231 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
232 cache also after commands that modify the buffer but don't move
233 point.
234
ee041f2d
SM
2352013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * env.el (substitute-env-in-file-name): New function.
238 (substitute-env-vars): Extend the meaning of the optional arg.
239
a5dab159
EZ
2402013-10-10 Eli Zaretskii <eliz@gnu.org>
241
242 * term/w32-win.el (dynamic-library-alist): Define separate lists
243 of GIF DLLs for versions before and after 5.0.0 of giflib.
244 (Bug#15531)
245
db138698
JT
2462013-10-10 João Távora <joaotavora@gmail.com>
247
248 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
249 not locked, use last revision and current source as
250 defaults. (Bug#15569)
251
2f6e161e
MY
2522013-10-10 Masatake YAMATO <yamato@redhat.com>
253
254 * menu-bar.el (menu-bar-open): Don't use popup-menu if
255 menu-bar is hidden.
256
6c8413fc
MR
2572013-10-10 Martin Rudalics <rudalics@gmx.at>
258
259 * window.el (pop-to-buffer-same-window): Fix doc-string.
260 (Bug#15492)
261
20832de0
SM
2622013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
265
c6e8ae77
AC
2662013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
267
268 * calendar/icalendar.el (icalendar-import-file):
269 Fix interactive spec. (Bug#15482)
270
9db13baf
GM
2712013-10-10 Glenn Morris <rgm@gnu.org>
272
9271e90e
GM
273 * desktop.el (desktop-save): Default to saving in .emacs.d,
274 since PWD is no longer in desktop-path by default. (Bug#15319)
275
9db13baf
GM
276 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
277 now that text mode has a menu with the same entry.
278 (menu-bar-text-mode-auto-fill): Remove now unused func.
279 * textmodes/text-mode.el (text-mode-map):
280 Use auto-fill help text from menu-bar.el.
281
a066720c
JA
2822013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
283
284 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
285
2edcd3c7
JL
2862013-10-09 Juri Linkov <juri@jurta.org>
287
288 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
289 instead of this-command-keys. Add universal-argument-more and
290 universal-argument-minus to the list of prefix commands. (Bug#15568)
291
574411d0
GM
2922013-10-09 Glenn Morris <rgm@gnu.org>
293
14afa541
GM
294 * vc/vc-svn.el (vc-svn-create-repo):
295 Expand paths in file://... url. (Bug#15446)
296
574411d0
GM
297 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
298 Add some entries.
299 (authors): Remove unused local variables.
300
79804536
SM
3012013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * profiler.el: Create a more coherent calltree from partial backtraces.
304 (profiler-format): Hide the tail with `invisible' so that C-s can still
305 find the hidden elements.
306 (profiler-calltree-depth): Don't recurse so enthusiastically.
307 (profiler-function-equal): New hash-table-test.
308 (profiler-calltree-build-unified): New function.
309 (profiler-calltree-build): Use it.
310 (profiler-report-make-name-part): Indent the calltree less.
311 (profiler-report-mode): Add visibility specs for profiler-format.
312 (profiler-report-expand-entry, profiler-report-toggle-entry):
313 Expand the whole subtree when provided with a prefix arg.
314
238150c8
DG
3152013-10-09 Dmitry Gutov <dgutov@yandex.ru>
316
317 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
318 iuwu-mod token.
319 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
320 hanging iuwu-mod token.
321 (ruby-smie--forward-token): Do not include a dot after a token in
322 that token.
323 (ruby-smie--backward-token): Likewise.
324
b0949cc4
JL
3252013-10-08 Juri Linkov <juri@jurta.org>
326
327 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
328 to isearch-other-control-char.
329 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
330 and isearch-post-command-hook to post-command-hook.
331 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
332 and isearch-post-command-hook from post-command-hook.
333 (isearch-unread-key-sequence)
334 (isearch-reread-key-sequence-naturally)
335 (isearch-lookup-scroll-key, isearch-other-control-char)
336 (isearch-other-meta-char): Remove functions.
337 (isearch-pre-command-hook, isearch-post-command-hook):
338 New functions based on isearch-other-meta-char rewritten
339 relying on the new behavior of overriding-terminal-local-map
340 that does not replace the local keymaps any more. (Bug#15200)
341
4ed77415
EZ
3422013-10-08 Eli Zaretskii <eliz@gnu.org>
343
344 Support menus on text-mode terminals.
345 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
346 functionality.
347
348 * tooltip.el (tooltip-mode): Don't error out on TTYs.
349
c2de5588
DK
350 * menu-bar.el (popup-menu, popup-menu-normalize-position):
351 Move here from mouse.el.
4ed77415
EZ
352 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
353 and arrow keys.
354 (tty-menu-navigation-map): New map for TTY menu navigation.
355
356 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
357
358 * frame.el (display-mouse-p): Report text-mode mouse as available
359 on w32.
360 (display-popup-menus-p): Report availability if mouse is
361 available; don't condition on window-system.
362
363 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
364 (tty-menu-selected-face): New faces.
365
b7d5bd82
TL
3662013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
367
06286513
SM
368 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
369 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
370 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
371 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
372 New constants.
373 (lisp-mode-variables): New `elisp' argument.
374 (emacs-lisp-mode): Use it.
375 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
376 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
377
b7d5bd82
TL
378 * indent.el: Use lexical-binding.
379 (indent-region): Add progress reporter.
380 (tab-stop-list): Make it implicitly extend to infinity by repeating the
381 last step.
382 (indent--next-tab-stop): New function to implement this behavior.
383 (tab-to-tab-stop, move-to-tab-stop): Use it.
384
3852013-10-08 Teemu Likonen <tlikonen@iki.fi>
386
387 * indent.el (indent-rigidly--current-indentation): New function.
388 (indent-rigidly-map): New var.
389 (indent-rigidly): Use it to provide interactive mode (bug#8196).
390
5ea75d23
BG
3912013-10-08 Bastien Guerry <bzg@gnu.org>
392
393 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
394
cc5da1ec
SM
3952013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
396
8ffa1a0b
SM
397 * progmodes/perl-mode.el: Use lexical-binding.
398 Remove redundant :group args.
399 (perl-nochange): Change default to be closer to other major modes's
400 standard behavior.
401 (perl-indent-line): Don't consider text on current line as a
402 valid beginning of function from which to indent.
403
f2223371
SM
404 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
405 with more than one argument (bug#15538).
406
44256060
SM
407 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
408
cc5da1ec
SM
409 * vc/pcvs.el: Use lexical-binding.
410 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
411 environment of `eval'.
412 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
413 than a list of expressions. Adjust callers.
414 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
415
0ea1599d
DG
4162013-10-07 Dmitry Gutov <dgutov@yandex.ru>
417
418 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 419 case of the dot in a chained method call being on the following line.
0ea1599d 420
da3e5ebb
SM
4212013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
422
2abb4e65
SM
423 * electric.el (electric-indent-inhibit): New var.
424 (electric-indent-post-self-insert-function): Use it.
425 * progmodes/python.el (python-mode): Set it.
426
d2e0e795
SM
427 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
428 open braces.
429
430 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
431
bdc6b4c8
SM
432 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
433 (css-mode): Use electric-indent-chars.
434
da3e5ebb
SM
435 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
436 (font-lock-beg, font-lock-end): Move before first use.
437 (nxml-mode): Use syntax-propertize-function.
438 (nxml-after-change, nxml-after-change1): Adjust accordingly.
439 (nxml-extend-after-change-region): Remove.
440 * nxml/xmltok.el: Use lexical-binding.
441 (xmltok-save): Use `declare'.
442 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
443 * nxml/nxml-util.el: Use lexical-binding.
444 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
445 Use `declare'.
446 * nxml/nxml-ns.el: Use lexical-binding.
447 (nxml-ns-save): Use `declare'.
448 (nxml-ns-prefixes-for): Avoid add-to-list.
449 * nxml/rng-match.el: Use lexical-binding.
450 (rng--ipattern): Use cl-defstruct.
451 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
452 (rng-cons-group-after, rng-subst-group-after)
453 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
454 Use closures instead of `(lambda...).
455
f8f91d5d
MA
4562013-10-07 Michael Albinus <michael.albinus@gmx.de>
457
458 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
459 of BEG and END.
460
da3e5ebb
SM
461 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
462 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
463 (tramp-gvfs-handle-insert-file-contents): Remove function.
464
da3e5ebb
SM
465 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
466 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
467
468 * net/trampver.el: Update release number.
469
7ccae3b1
SM
4702013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
471
55ca2c0d
SM
472 * progmodes/compile.el (compilation-parse-errors):
473 Use compilation--put-prop.
474 (compilation--ensure-parse): Check compilation-multiline.
475
731fc3ae
SM
476 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
477
da3e5ebb
SM
478 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
479 lexical-binding.
a5833280 480
2e7ba2c2
SM
481 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
482
7ccae3b1
SM
483 * progmodes/ruby-mode.el: Fix recently added tests.
484 (ruby-smie-grammar): Add - and +.
485 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
486 (ruby-smie--backward-id): New functions.
487 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
488 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
489 any more.
490
85698d63
LL
4912013-10-07 Leo Liu <sdl.web@gmail.com>
492
493 * register.el (register-preview-delay)
494 (register-preview-functions): New variables.
495 (register-read-with-preview, register-preview)
496 (register-describe-oneline): New functions.
497 (point-to-register, window-configuration-to-register)
498 (frame-configuration-to-register, jump-to-register)
499 (number-to-register, view-register, insert-register)
500 (copy-to-register, append-to-register, prepend-to-register)
501 (copy-rectangle-to-register): Use register-read-with-preview to
502 read register. (Bug#15525)
503
3986af6c
DS
5042013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
505
506 * net/network-stream.el (network-stream-open-starttls): Don't add
507 --insecure if it's already present, because that gnutls-cli
508 rejects getting that parameter twice.
509
5cd9cda9
DG
5102013-10-06 Dmitry Gutov <dgutov@yandex.ru>
511
512 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
513 keyword, too.
514
da9ea6d9
DG
5152013-10-05 Dmitry Gutov <dgutov@yandex.ru>
516
517 * newcomment.el (comment-use-global-state): Change default value
518 to t, mark obsolete (Bug#15251).
519 (comment-beginning): In addition to `comment-to-syntax', check the
520 value of `comment-use-global-state'.
521
34d1a133
SM
5222013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
525 (ruby-comment-column): Follow the global default, by default.
526 (ruby-smie-grammar): Add assignment syntax.
527 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
528 open-paren, a comma, or a \.
529 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
530 and line continuations.
531 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
532 followed by implicit semi-colons. Add rule for string concatenation
533 and for indentation at BOB.
534 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
535
536 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
537 calling next-sexp, since next-token may have skipped chars which
538 next-sexp doesn't know should be skipped!
539
6f6ab820
LL
5402013-10-05 Leo Liu <sdl.web@gmail.com>
541
34d1a133
SM
542 * progmodes/octave.el (octave-send-region):
543 Call compilation-forget-errors.
6f6ab820 544
34ca0f4c
XF
5452013-10-04 Xue Fuqiao <xfq.free@gmail.com>
546
547 * vc/vc-svn.el (vc-svn-find-admin-dir):
548 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
549 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
550 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
551 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
552
a27c1b72
SM
5532013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
556
258ab3bc
SM
5572013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 * subr.el (read-passwd): Hide chars even when called within a context
560 where after-change-functions is disabled (bug#15501).
561 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
562 until we removed ourself from overriding-terminal-local-map.
563
939fb29c
LL
5642013-10-04 Leo Liu <sdl.web@gmail.com>
565
258ab3bc
SM
566 * progmodes/octave.el (inferior-octave-mode):
567 Call compilation-forget-errors.
939fb29c 568
63bd7f35
XF
5692013-10-04 Xue Fuqiao <xfq.free@gmail.com>
570
571 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
572
9e6229fa
MA
5732013-10-04 Michael Albinus <michael.albinus@gmx.de>
574
575 * net/secrets.el (secrets-create-collection): Add optional
576 argument ALIAS. Use proper Label keyword. Append ALIAS as
577 dbus-call-method argument. (Bug#15516)
578
1dab32a3
LL
5792013-10-04 Leo Liu <sdl.web@gmail.com>
580
581 * progmodes/octave.el (inferior-octave-error-regexp-alist)
582 (inferior-octave-compilation-font-lock-keywords): New variables.
583 (compilation-error-regexp-alist)
584 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
585 (inferior-octave-mode): Use compilation-shell-minor-mode.
586
6cad7ba3
JS
5872013-10-04 Jorgen Schaefer <forcer@forcix.cx>
588
589 * minibuffer.el (completion--replace): Be careful that `end' might be
590 a marker.
591
acbadd00
DU
5922013-10-03 Daiki Ueno <ueno@gnu.org>
593
594 Add support for package signature checking.
595 * emacs-lisp/package.el (url-http-file-exists-p)
596 (epg-make-context, epg-context-set-home-directory)
597 (epg-verify-string, epg-context-result-for)
598 (epg-signature-status, epg-signature-to-string)
599 (epg-check-configuration, epg-configuration)
600 (epg-import-keys-from-file): Declare.
601 (package-check-signature): New user option.
602 (package-unsigned-archives): New user option.
603 (package-desc): Add `signed' field.
604 (package-load-descriptor): Set `signed' field if .signed file exists.
605 (package--archive-file-exists-p): New function.
606 (package--check-signature): New function.
607 (package-install-from-archive): Check package signature.
608 (package--download-one-archive): Check archive signature.
609 (package-delete): Remove .signed file.
610 (package-import-keyring): New command.
611 (package-refresh-contents): Import default keyring.
612 (package-desc-status): Add "unsigned" status.
613 (describe-package-1, package-menu--print-info)
614 (package-menu-mark-delete, package-menu--find-upgrades)
615 (package-menu--status-predicate): Support "unsigned" status.
616
adf2aa61
SM
6172013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
620 the new compilation scheme using the new byte-codes.
621
622 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
623 (byte-pophandler): New byte codes.
624 (byte-goto-ops): Adjust accordingly.
625 (byte-compile--use-old-handlers): New var.
626 (byte-compile-catch): Use new byte codes depending on
627 byte-compile--use-old-handlers.
628 (byte-compile-condition-case--old): Rename from
629 byte-compile-condition-case.
630 (byte-compile-condition-case--new): New function.
631 (byte-compile-condition-case): New function that dispatches depending
632 on byte-compile--use-old-handlers.
633 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
634 when we can.
635
636 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
637 Optimize under `condition-case' and `catch' if
638 byte-compile--use-old-handlers is nil.
639 (disassemble-offset): Handle new bytecodes.
640
328a8179
SM
6412013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * subr.el (error): Use `declare'.
644 (decode-char, encode-char): Use advertised-calling-convention instead
645 of the docstring to discourage use of the `restriction' arg.
646
15a1e936
DU
6472013-10-03 Daiki Ueno <ueno@gnu.org>
648
649 * epg.el (epg-verify-file): Add a comment saying that it does not
650 notify verification error as a return value nor a signal.
651 (epg-verify-string): Ditto.
652
376f862a
KR
6532013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
654
655 * progmodes/compile.el (compilation-start): Try globbing the arg to
656 `cd' (bug#15417).
657
a2f93a5f
MA
6582013-10-02 Michael Albinus <michael.albinus@gmx.de>
659
660 Sync with Tramp 2.2.8.
661
662 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
663 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
664 * net/trampver.el: Update release number.
665
0daa0804
JD
6662013-10-01 Jan Djärv <jan.h.d@swipnet.se>
667
668 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
669 and default-process-coding-system for darwin only.
670
abd1ae34
SM
6712013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
674
be4e325d
MH
6752013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
676
677 * vc/vc-git.el (vc-git-grep): Disable pager.
678
e9155c4a
DG
6792013-10-01 Dmitry Gutov <dgutov@yandex.ru>
680
494e898b
DG
681 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
682 Use :url instead of :homepage, as per
683 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
684
e9155c4a
DG
685 * newcomment.el (comment-beginning): When `comment-use-syntax' is
686 non-nil, use `syntax-ppss' (Bug#15251).
687
481a8e0f
RS
6882013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
689
be4e325d
MH
690 * progmodes/octave.el (inferior-octave-startup-file):
691 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 692
056453c6
DG
6932013-09-29 Dmitry Gutov <dgutov@yandex.ru>
694
be4e325d
MH
695 * emacs-lisp/package.el (package-desc-from-define):
696 Accept additional arguments as plist, convert them to an alist and store
697 them in the `extras' slot.
056453c6
DG
698 (package-generate-description-file): Convert extras alist back to
699 plist and append to the `define-package' form arguments.
700 (package--alist-to-plist): New function.
701 (package--ac-desc): Add `extras' slot.
702 (package--add-to-archive-contents): Check if the archive-contents
703 vector is long enough, and if it is, pass its `extras' slot value
704 to `package-desc-create'.
705 (package-buffer-info): Call `lm-homepage', pass the returned value
706 to `package-desc-from-define'.
707 (describe-package-1): Render the homepage button (Bug#13291).
708
be4e325d
MH
709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
710 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 711
832966e5
JD
7122013-09-29 Jan Djärv <jan.h.d@swipnet.se>
713
714 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
715 and default-process-coding-system to utf-8-unix (Bug#15402).
716
6cfe977d
XF
7172013-09-29 Xue Fuqiao <xfq.free@gmail.com>
718
719 * subr.el (looking-back): Do not recommend using looking-back.
720
38de11bd
AM
7212013-09-28 Alan Mackenzie <acm@muc.de>
722
723 Fix indentation/fontification of Java enum with "implements".
724
725 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
726 regexp which matches "implements", etc., in Java.
727 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
728 specifier clauses coming after "enum".
729 * progmodes/cc-fonts.el (c-font-lock-declarations)
730 (c-font-lock-enum-tail): Check for extra specifier clauses coming
731 after "enum".
732
1610938f
JD
7332013-09-28 Jan Djärv <jan.h.d@swipnet.se>
734
735 * faces.el (region): Change ns_selection_color to
736 ns_selection_fg_color, add ns_selection_bg_color.
737
e090f499
LL
7382013-09-28 Leo Liu <sdl.web@gmail.com>
739
4d2e94d1
LL
740 * progmodes/octave.el (inferior-octave-completion-table)
741 (inferior-octave-completion-at-point): Minor tweaks.
742
e090f499
LL
743 * textmodes/ispell.el (ispell-lookup-words): Rename from
744 lookup-words. (Bug#15460)
745 (lookup-words): Obsolete.
746 (ispell-complete-word, ispell-command-loop): All uses changed.
747
7e138a62
RS
7482013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
749
750 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
751 (octave-mode-menu): Add octave-send-buffer.
752 (octave-send-buffer): New function.
753
5af5ed08
RS
7542013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
755
756 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
757 octave-lookfor.
758 (octave-mode-menu): Add octave-lookfor.
759 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
760 octave-lookfor.
761 (octave-lookfor): New function.
762
3b7b2692
SM
7632013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * emacs-lisp/cl-macs.el:
766 (cl--loop-destr-temps): Remove.
767 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
768 its convention.
769 (cl--loop-set-iterator-function): New function.
770 (cl-loop): Adjust accordingly, so as not to use cl-subst.
771 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
772 Bind `it' with `let' instead of substituting it with `cl-subst'.
773 (cl--unused-var-p): New function.
774 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
775 Eliminate some unused variable warnings (bug#15326).
776
529fb53f
TH
7772013-09-27 Tassilo Horn <tsdh@gnu.org>
778
779 * doc-view.el (doc-view-scale-reset): Rename from
780 `doc-view-reset-zoom-level'.
781 (doc-view-scale-adjust): New command.
782 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
783 `doc-view-scale-adjust'.
784
0550c95a
TH
7852013-09-26 Tassilo Horn <tsdh@gnu.org>
786
787 * doc-view.el (doc-view-reset-zoom-level): New command.
788 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
789 zoom commands (bug#15466).
790
6950f152
KH
7912013-09-26 Kenichi Handa <handa@gnu.org>
792
793 * international/quail.el (quail-help): Make it not a command.
794
39587580
LL
7952013-09-26 Leo Liu <sdl.web@gmail.com>
796
797 * minibuffer.el (completion-all-sorted-completions): Make args
798 optional as they are.
799
00578659
DC
8002013-09-25 Daniel Colascione <dancol@dancol.org>
801
802 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
803 specs are and that they're not evaluated.
804
0c173878
SS
8052013-09-24 Sam Steingold <sds@gnu.org>
806
807 * midnight.el (clean-buffer-list-kill-regexps)
808 (clean-buffer-list-kill-buffer-names): Update for the new Man
809 buffer naming which includes the object name.
810
84998447
SM
8112013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * eshell/esh-cmd.el (eshell--sep-terms): New var.
814 (eshell-parse-command, eshell-parse-pipeline): Use it since
815 eshell-separate-commands requires a dynamic scoped var.
816 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
817
33215353
LL
8182013-09-23 Leo Liu <sdl.web@gmail.com>
819
820 * autoinsert.el (auto-insert-alist): Make the value of
821 lexical-binding match its file setting.
822
57b16162
JB
8232013-09-23 Juanma Barranquero <lekktu@gmail.com>
824
c8af4e67
JB
825 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
826
57b16162
JB
827 * autoarg.el (autoarg-kp-digit-argument):
828 * electric.el (Electric-command-loop):
829 * kmacro.el (kmacro-step-edit-insert):
830 Do not set universal-argument-num-events.
831
7186ba60
LL
8322013-09-22 Leo Liu <sdl.web@gmail.com>
833
834 * files.el (interpreter-mode-alist): Add octave.
835
ece15004
AM
8362013-09-21 Alan Mackenzie <acm@muc.de>
837
838 C++: fontify identifier in declaration following "public:" correctly.
839 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
840 to match "public", etc.
841 (c-decl-prefix-re): Add ":" into the C++ value.
842 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
843 bit. Add a check for a ":" preceded by "public", etc.
844
75d83e22
EZ
8452013-09-21 Eli Zaretskii <eliz@gnu.org>
846
847 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
848 recognized by GDB 7.5 and later.
849
d052d3bd
XF
8502013-09-21 Xue Fuqiao <xfq.free@gmail.com>
851
852 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
853
31dca772
R
8542013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * subr.el (internal--call-interactively): New const.
857 (called-interactively-p): Use it (bug#3984).
858
98ccf24e
XF
8592013-09-20 Xue Fuqiao <xfq.free@gmail.com>
860
861 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
862 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
863 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 864
c39cc7d1
SM
8652013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
868 (eshell-ls-orig-insert-directory): Remove.
869 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
870 (eshell-ls-use-in-dired): Use advice-add/remove.
871 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
872 Add `orig-fun' arg for use in :around advice.
873 Make it check (redundantly) eshell-ls-use-in-dired.
874
9a0289a2
GM
8752013-09-19 Glenn Morris <rgm@gnu.org>
876
a2c501b8
GM
877 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
878
c440407a
GM
879 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
880
9a0289a2
GM
881 * emacs-lisp/eieio.el (class-parent): Undo previous change.
882
85e05915
MA
8832013-09-19 Michael Albinus <michael.albinus@gmx.de>
884
885 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
886 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
887 (tramp-get-remote-python): New defuns.
888 (tramp-get-remote-uid-with-perl)
889 (tramp-get-remote-gid-with-perl): New defuns. Perl code
890 contributed by yary <not.com@gmail.com> (tiny change).
891 (tramp-get-remote-uid-with-python)
892 (tramp-get-remote-gid-with-python): New defuns. Python code
893 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
894 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
895
ce503312
GM
8962013-09-19 Glenn Morris <rgm@gnu.org>
897
f7544773
GM
898 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
899
72fd2877
GM
900 * eshell/em-unix.el (eshell-remove-entries):
901 Rename argument to avoid name-clash with global `top-level'.
902
336b5a56
GM
903 * eshell/esh-proc.el (eshell-kill-process-function):
904 Remove eshell-reset-after-proc from eshell-kill-hook if present.
905 (eshell-reset-after-proc): Remove unused arg `proc'.
906
57a3a53d
GM
907 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
908 (directory-files-and-attributes): Mark unused arg.
909
3261d4af
GM
910 * eshell/em-unix.el (eshell-remove-entries):
911 Remove unused arg `path'. Update callers.
912
8e51b5d0
GM
913 * eshell/em-hist.el (eshell-hist-parse-arguments):
914 Remove unused arg `silent'. Update callers.
915
ce503312
GM
916 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
917 Fix (f)boundp mix-up.
918
919 * eshell/em-smart.el (eshell-smart-scroll-window)
920 (eshell-disable-after-change):
336b5a56 921 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 922
ee3ce8a7
AM
9232013-09-18 Alan Mackenzie <acm@muc.de>
924
925 Fix fontification of type when followed by "const".
926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
927 "known" types from fontification.
928
ec9177ba
GM
9292013-09-18 Glenn Morris <rgm@gnu.org>
930
7bb3e768
GM
931 * emacs-lisp/chart.el (x-display-color-cells): Declare.
932 (chart-face-list): Drop Emacsen without display-color-p.
933
5148da15
GM
934 * net/eww.el (libxml-parse-html-region): Declare.
935 (eww-display-html): Explicit error if no libxml2 support.
936
2f68e157
GM
937 * doc-view.el (doc-view-mode): Silence --without-x compilation.
938
9019d095
GM
939 * image.el (image-type-from-buffer, image-multi-frame-p):
940 Remove --without-x warning/error.
67645389 941
5f30349b 942 * mouse.el (mouse-yank-primary):
45069b2e 943 * term.el (term-mouse-paste):
5f30349b
GM
944 Reorder to silence --without-x compilation.
945
cd8edbbe
GM
946 * mpc.el (doc-view-mode): Silence --without-x compilation.
947
8a78544e
GM
948 * mail/rmailmm.el (rmail-mime-set-bulk-data):
949 Silence --without-x compilation.
950
12679bfd
GM
951 * progmodes/gud.el (gud-find-file, gud-mode):
952 Silence --without-x compilation.
953 (tooltip-mode): Declare.
30810a05 954
f0047cb9
GM
955 * wdired.el (dired-backup-overwrite): Remove declaration.
956 (wdired-mode-map): Add doc string.
957
e740f9d2
GM
958 * custom.el (x-get-resource): Declare.
959
92d77c89
GM
960 * eshell/em-glob.el (ange-cache):
961 * eshell/em-unix.el (ange-cache): Declare.
962
76e69577
GM
963 * faces.el (x-display-list, x-open-connection, x-get-resource):
964 Declare.
7e58af4b
GM
965
966 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
967 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
968 Declare.
76e69577 969
4bd4c0af 970 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 971
ffb82dbd
GM
972 * net/gnutls.el (gnutls-log-level): Declare.
973
986ed135
GM
974 * net/shr.el (image-size, image-animate): Declare.
975
e740f9d2
GM
976 * simple.el (font-info): Declare.
977
d2f3e9f8
GM
978 * subr.el (x-popup-dialog): Declare.
979
047a1a4c
GM
980 * term/common-win.el (x-select-enable-primary)
981 (x-last-selected-text-primary, x-last-selected-text-clipboard):
982 Declare.
983
f4a1d572
GM
984 * term/ns-win.el (x-handle-args): Declare.
985
e843de77
GM
986 * term/x-win.el (x-select-enable-clipboard): Declare.
987
5fa89513
GM
988 * term/w32-win.el (create-default-fontset): Declare.
989
38702b5b
GM
990 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
991 Declare.
992
e740f9d2
GM
993 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
994 (fit-frame-to-buffer): Explicit error if --without-x.
995 (mouse-autoselect-window-select): Silence compiler.
996
49a053fc
GM
997 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
998
999 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1000 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1001 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1002 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1003 Remove unused local variables.
1004
1005 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1006
ec9177ba
GM
1007 * textmodes/two-column.el: Make 2C-split work for --without-x.
1008 (scroll-bar-columns): Autoload.
1009 (top-level): Require fringe when compiling.
1010
9f25cb77
LL
10112013-09-18 Leo Liu <sdl.web@gmail.com>
1012
1013 * subr.el (add-hook): Robustify to handle closure as well.
1014
2b42da98
GM
10152013-09-17 Glenn Morris <rgm@gnu.org>
1016
1017 * simple.el (messages-buffer-mode-map): Unbind "g".
1018
e8b66a6a
SM
10192013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1020
9c0ad4f7
SM
1021 * help-mode.el (help-mode-finish): Use derived-mode-p.
1022 Remove obsolete highlighting.
1023
7a806dfb
SM
1024 * play/life.el (life-mode): Use define-derived-mode. Derive from
1025 special-mode.
1026 (life): Let-bind inhibit-read-only.
1027 (life-setup): Avoid `setq'. Use `life-mode'.
1028
96dbf5a8
SM
1029 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1030 which should not be needed any more.
1031 (package-menu-refresh, package-menu-describe-package): Use user-error.
1032
e8b66a6a
SM
1033 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1034 (eshell-post-rewrite-command-hook): Make obsolete.
1035 (eshell-parse-command): Simplify.
1036 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1037 (eshell--cmd): Declare.
1038 (eshell-parse-pipeline): Remove unused var `final-p'.
1039 Pass a dynvar to eshell-post-rewrite-command-hook.
1040 Implement the new eshell-post-rewrite-command-function.
1041 (eshell-invoke-directly): Remove unused arg `input'.
1042 * eshell/esh-io.el (eshell-io-initialize):
1043 Use eshell-post-rewrite-command-function (bug#15399).
1044 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1045 adjust to new calling convention.
1046 (eshell-create-handles): Rename args to avoid clashing with dynvar
1047 `standard-output'.
1048
90582f05
GM
10492013-09-17 Glenn Morris <rgm@gnu.org>
1050
1051 * simple.el (messages-buffer-mode): New major mode.
1052 (messages-buffer): New function.
1053 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1054 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1055 (ert-run-test): Use `messages-buffer' function.
90582f05 1056 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1057 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1058 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1059
39eb0cb5 10602013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1061
1062 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1063
1f1e06e2
SM
1064 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1065
70568a90
SM
10662013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1067
504a0381
SM
1068 * icomplete.el (icomplete-in-buffer): New var.
1069 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1070 vars and replace them with functions.
1071 (icomplete-minibuffer-setup): Adjust accordingly.
1072 (icomplete--completion-table, icomplete--completion-predicate)
1073 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1074 New functions.
1075 (icomplete-forward-completions, icomplete-backward-completions)
1076 (icomplete-simple-completing-p, icomplete-exhibit)
1077 (icomplete-completions): Use them.
1078 (icomplete--in-region-buffer): New var.
1079 (icomplete--in-region-setup): New function.
1080 (icomplete-mode): Use it.
1081
70568a90
SM
1082 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1083 (bug#15379).
1084 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1085 return args and options.
1086 (eshell-eval-using-options): Use the new return value of
1087 eshell--do-opts to set the options's vars in their scope.
1088 (eshell--set-option): Rename from eshell-set-option.
1089 Add arg `opt-vals'.
1090 (eshell--process-option): Rename from eshell-process-option.
1091 Add arg `opt-vals'.
1092 (eshell--process-args): Use an `opt-vals' alist to store the options's
1093 values during their processing and return them additionally to the
1094 remaining args.
1095
578c21bc
DG
10962013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1097
1098 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1099 continuation character an operator, as far as indentation is
1100 concerned (Bug#15369).
1101
c089653d
MR
11022013-09-15 Martin Rudalics <rudalics@gmx.at>
1103
1104 * window.el (window--state-put-2): Don't process buffer state
1105 when buffer doesn't exist any more (Bug#15382).
1106
1e53bb4b
GM
11072013-09-15 Glenn Morris <rgm@gnu.org>
1108
30753242
GM
1109 * eshell/em-unix.el (eshell/rm):
1110 Make -f ignore missing files. (Bug#15373)
1111
1e53bb4b
GM
1112 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1113 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1114 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1115
0d8863b3
GM
11162013-09-14 Glenn Morris <rgm@gnu.org>
1117
1118 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1119
d3fc6549
GM
11202013-09-13 Glenn Morris <rgm@gnu.org>
1121
1122 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1123 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1124
fcd42c11
DA
11252013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1126
1127 * frame.el (x-focus-frame): Mark as declared in frame.c.
1128
7830899f
SM
11292013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * ls-lisp.el: Use advice-add.
1132 (original-insert-directory): Remove.
1133 (ls-lisp--insert-directory): Rename from insert-directory; add
1134 `orig-fun' argument.
1135 (insert-directory): Advise.
1136
84387cd2
EZ
11372013-09-13 Eli Zaretskii <eliz@gnu.org>
1138
1139 * term.el (term-emulate-terminal): Decode the command string
1140 before passing it to term-command-hook. (Bug#15337)
1141
35ffc6ba
GM
11422013-09-13 Glenn Morris <rgm@gnu.org>
1143
5c3f9bcc
GM
1144 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1145
2ada368a
GM
1146 * eshell/esh-ext.el (eshell-search-path): Declare.
1147
fcef2e13
GM
1148 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1149 Otherwise an error occurs if eshell-dirs module not loaded.
1150
35ffc6ba
GM
1151 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1152
35c3d36e
MA
11532013-09-13 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1156 `tramp-check-proper-host'. Check for a valid method name.
1157
1158 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1160 * net/tramp-sh.el (tramp-maybe-open-connection):
1161 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1162
1163 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1164 also for hash values.
1165
ae5e4c48
SM
11662013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1167
379add74
SM
1168 * term/ns-win.el (parameters): Don't declare as dynamic.
1169 (before-make-frame-hook): Don't add ineffective function.
1170
ae5e4c48
SM
1171 * eshell/*.el: Use lexical-binding (bug#15231).
1172
b5623270
KH
11732013-09-12 Kenichi Handa <handa@gnu.org>
1174
ae5e4c48 1175 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1176
30213927
GM
11772013-09-12 Glenn Morris <rgm@gnu.org>
1178
be94d713 1179 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1180 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1181
44915370
GM
1182 * subr.el (do-after-load-evaluation): Also give compiler warnings
1183 when obsolete files are used (except by obsolete files).
1184
a6ae021f
GM
1185 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1186 in the status output, assume `filename' is the first. (Bug#15322)
1187
40e64f0c
GM
1188 * vc/vc.el (vc-deduce-fileset): Doc fix.
1189
16d9f896
GM
1190 * calc/calc-help.el (Info-goto-node):
1191 * progmodes/cperl-mode.el (Info-find-node):
1192 * vc/ediff.el (Info-goto-node): Update declarations.
1193
dea01c6e
GM
1194 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1195
759880bf 1196 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1197 (vc-bzr-pull): Require vc-dispatcher.
1198 * vc/vc-git.el (vc-compilation-mode): Declare.
1199 (vc-git-pull): Require vc-dispatcher.
1200
08d66420
GM
1201 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1202
30b626e9
GM
1203 * progmodes/octave.el (help-button-action): Declare.
1204
8c05cb10
GM
1205 * shell.el (shell-directory-tracker): Output error as a message
1206 rather than just returning it as a string.
1207 (shell-process-pushd): Remove useless use of message.
1208
30213927
GM
1209 * dframe.el (dframe-timer-fn):
1210 * files.el (dir-locals-read-from-file):
1211 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1212 (mpc-format):
1213 * reveal.el (reveal-post-command):
1214 * saveplace.el (load-save-place-alist-from-file):
1215 * shell.el (shell-resync-dirs):
1216 * w32-common-fns.el (x-get-selection-value):
1217 * emacs-lisp/copyright.el (copyright-find-copyright):
1218 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1219 * emulation/tpu-edt.el (tpu-copy-keyfile):
1220 * play/bubbles.el (bubbles--mark-neighbourhood):
1221 * progmodes/executable.el
1222 (executable-make-buffer-file-executable-if-script-p):
1223 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1224
d3b049e6
SM
12252013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1226
170266d0
SM
1227 Cleanup Eshell to rely less on dynamic scoping.
1228 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1229 last-value, and ext-command here. Bind `args' closer to `body'.
1230 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1231 (eshell--args): Declare new dynamic var.
1232 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1233 last-value, and ext-command. Pass `args' to `body'.
1234 (eshell-process-args): Bind eshell--args.
1235 (eshell-set-option): Use eshell--args.
1236 * eshell/eshell.el (eshell): Use derived-mode-p.
1237 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1238 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1239 (eshell-glob-function): Declare.
1240 * eshell/esh-util.el: Require cl-lib.
1241 (eshell-read-hosts-file): Avoid add-to-list.
1242 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1243 `err'.
1244 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1245 Declare.
1246 (eshell/diff): Remove unused var `err'.
1247 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1248 `killflag'.
1249 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1250 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1251 first use.
1252 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1253 Move declaration before first use.
1254 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1255 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1256 rely on cl-return.
1257
56834f3b
GM
12582013-09-12 Glenn Morris <rgm@gnu.org>
1259
1260 * term/ns-win.el (global-map): Remove binding for ispell-next,
1261 deleted 1999-05-29. (Bug#15357)
1262
5c91a2b8
GM
12632013-09-11 Glenn Morris <rgm@gnu.org>
1264
da712f22
GM
1265 * echistory.el (electric-command-history): Remove call to deleted func.
1266
512e4cdc
GM
1267 * play/landmark.el (landmark-mode): Fix typos.
1268
d3506ca5
GM
1269 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1270 Check cvs-sort-ignore-file is bound.
1271
5c91a2b8
GM
1272 * savehist.el: No need for cl when compiling on Emacs.
1273
feeff482
SM
12742013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1275
656bd483
SM
1276 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1277 (bug#15338).
d3b049e6
SM
1278 (eshell-self-insert-command, eshell-send-invisible):
1279 Remove unused argument.
656bd483
SM
1280 (eshell-handle-control-codes): Remove unused var `orig'.
1281 Avoid delete-backward-char.
1282
feeff482
SM
1283 * files.el (set-auto-mode): Simplify a bit further.
1284
2a08047a
GM
12852013-09-11 Glenn Morris <rgm@gnu.org>
1286
1287 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1288 (set-auto-mode): Don't regexp-quote elements.
1289 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1290 * progmodes/cc-mode.el (interpreter-mode-alist):
1291 * progmodes/ruby-mode.el (interpreter-mode-alist):
1292 Revert previous change.
1293
34675540
SM
12942013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1b3b87df
SM
1296 * play/snake.el (snake-mode):
1297 * play/mpuz.el (mpuz-mode):
1298 * play/landmark.el (lm-mode):
1299 * play/blackbox.el (blackbox-mode):
1300 * play/5x5.el (5x5-mode):
1301 * obsolete/options.el (Edit-options-mode):
1302 * net/quickurl.el (quickurl-list-mode):
1303 * net/newst-treeview.el (newsticker-treeview-mode):
1304 * mail/rmailsum.el (rmail-summary-mode):
1305 * mail/mspools.el (mspools-mode):
1306 * locate.el (locate-mode):
1307 * ibuffer.el (ibuffer-mode):
1308 * emulation/ws-mode.el (wordstar-mode):
1309 * emacs-lisp/debug.el (debugger-mode):
1310 * array.el (array-mode):
1311 * net/eudc.el (eudc-mode): Use define-derived-mode.
1312 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1313 Move initialization into declaration.
1314 (mairix-searches-mode): Use define-derived-mode.
1315 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1316 (eudc-edit-hotlist): Use dolist.
1317 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1318 (Man-mode): Use define-derived-mode.
1319 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1320 (Info-edit-mode): Use define-derived-mode.
1321 (Info-cease-edit): Use Info-mode.
1322 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1323 into declaration.
1324 (eshell-mode): Use define-derived-mode.
1325 * chistory.el (command-history-mode-map): Rename from
1326 command-history-map.
1327 (command-history-mode): Use define-derived-mode.
da712f22 1328 (Command-history-setup): Remove function.
1b3b87df
SM
1329 * calc/calc.el (calc-trail-mode-map): New var.
1330 (calc-trail-mode): Use define-derived-mode.
1331 (calc-trail-buffer): Set calc-main-buffer manually.
1332 * bookmark.el (bookmark-insert-annotation): New function.
1333 (bookmark-edit-annotation): Use it.
1334 (bookmark-edit-annotation-mode): Make it a proper major mode.
1335 (bookmark-send-edited-annotation): Use derived-mode-p.
1336 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1337 closer to its ideal place. Use \' to match EOS.
1338
34675540
SM
1339 * profiler.el (profiler-calltree-find): Use function-equal.
1340
6a5c15d9
GM
13412013-09-10 Glenn Morris <rgm@gnu.org>
1342
1af4c220
GM
1343 * files.el (interpreter-mode-alist): Convert to regexps.
1344 (set-auto-mode): Adapt for this. (Bug#15306)
1345 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1346 Comment out unused variable.
1347 * progmodes/cc-mode.el (interpreter-mode-alist):
1348 * progmodes/python.el (interpreter-mode-alist):
1349 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1350 * progmodes/sh-script.el (sh-set-shell):
1351 No longer use interpreter-mode-alist to get list of shells.
1352
6a5c15d9
GM
1353 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1354
8c27f5ff
SM
13552013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1356
02ef6c1a 1357 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1358 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1359 Bind switch-frame explicitly. Replace universal-argument-minus with
1360 a conditional binding.
1361 (universal-argument-num-events, saved-overriding-map): Remove.
1362 (restore-overriding-map): Remove.
1363 (universal-argument--mode): Rename from save&set-overriding-map,
1364 and rewrite.
1365 (universal-argument, universal-argument-more, negative-argument)
1366 (digit-argument): Adjust accordingly.
1367 (universal-argument-minus): Remove.
1368 (universal-argument-other-key): Remove.
1369
8c27f5ff
SM
1370 * subr.el (with-demoted-errors): Add `format' argument.
1371
6480194c
MA
13722013-09-10 Michael Albinus <michael.albinus@gmx.de>
1373
1374 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1375 `tramp-cleanup-connection'.
1376
1377 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1378 parameters KEEP-DEBUG and KEEP-PASSWORD.
1379
1380 * net/tramp.el (tramp-file-name-handler):
1381 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1382 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1383 (tramp-maybe-open-connection):
8c27f5ff
SM
1384 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1385 Use `tramp-cleanup-connection'.
6480194c 1386
8c27f5ff
SM
1387 * net/tramp-sh.el (tramp-maybe-open-connection):
1388 Catch 'uname-changed inside the progress reporter.
6480194c 1389
e5e916d8
GM
13902013-09-10 Glenn Morris <rgm@gnu.org>
1391
9a2c9b47
GM
1392 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1393
e5e916d8
GM
1394 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1395 returns "alternate access method" in mode (eg "-rw-r--r--.").
1396
144e38fe
GM
13972013-09-08 Glenn Morris <rgm@gnu.org>
1398
1399 * saveplace.el (load-save-place-alist-from-file):
1400 Demote errors. (Bug#15305)
1401
af9ff9e8
MA
14022013-09-08 Michael Albinus <michael.albinus@gmx.de>
1403
1404 Improve compatibility with older Emacsen, and XEmacs.
1405
1406 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1407 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1408 (with-tramp-progress-reporter): Do not let-bind `result'.
1409 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1410 (tramp-handle-make-auto-save-file-name): New function, moved from
1411 tramp-sh.el.
1412
1413 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1414 for `make-auto-save-file-name'.
8c27f5ff
SM
1415 (tramp-adb--gnu-switches-to-ash):
1416 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1417
1418 * net/tramp-cache.el (tramp-cache-print): Call
1419 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1420
1421 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1422 bound. It isn't for XEmacs.
1423
8c27f5ff
SM
1424 * net/tramp-compat.el (tramp-compat-copy-file):
1425 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1426 (tramp-compat-replace-regexp-in-string): New defun.
1427
1428 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1429 for `make-auto-save-file-name'.
1430 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1431 `copy-file'.
1432 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1433 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1434 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1435
8c27f5ff
SM
1436 * net/tramp-gw.el (tramp-gw-open-network-stream):
1437 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1438
8c27f5ff
SM
1439 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1440 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1441 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1442 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1443 (tramp-sh-file-inotifywait-process-filter):
1444 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1445 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1446
1447 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1448 for `make-auto-save-file-name'.
8c27f5ff
SM
1449 (tramp-smb-handle-copy-directory):
1450 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1451 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1452 (tramp-smb-handle-copy-file): Improve error message.
1453 (tramp-smb-handle-rename-file): Rename directly only in case
1454 `newname' does not exist yet. This is a restriction of smbclient.
1455 (tramp-smb-maybe-open-connection): Rerun the function only when
1456 `auth-sources' is non-nil.
1457
0ca754d0
KH
14582013-09-08 Kenichi Handa <handa@gnu.org>
1459
1460 * international/characters.el: Set category "^" (Combining) for
1461 more characters.
1462
e8dd0787
AM
14632013-09-07 Alan Mackenzie <acm@muc.de>
1464
1465 Correctly fontify Java class constructors.
1466 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1467 in Java Mode.
1468 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1469 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1470 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1471 "typeless" declaration there.
1472
f2f248e7
RW
14732013-09-07 Roland Winkler <winkler@gnu.org>
1474
1475 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1476 field subtitle for entry type book.
1477
67982e2b
SM
14782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * minibuffer.el: Make minibuffer-complete call completion-in-region
1481 rather than other way around.
1482 (completion--some, completion-pcm--find-all-completions):
1483 Don't delay signals when debugging.
1484 (minibuffer-completion-contents): Beware fields within the
1485 minibuffer contents.
1486 (completion-all-sorted-completions): Use defvar-local.
1487 (completion--do-completion, completion--cache-all-sorted-completions)
1488 (completion-all-sorted-completions, minibuffer-force-complete):
1489 Add args `beg' and `end'.
1490 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1491 (minibuffer-complete): Use completion-in-region.
1492 (completion-complete-and-exit): New fun, extracted from
1493 minibuffer-complete-and-exit.
1494 (minibuffer-complete-and-exit): Use it.
1495 (completion--complete-and-exit): Rename from
1496 minibuffer--complete-and-exit.
1497 (completion-in-region--single-word): New function, extracted from
1498 minibuffer-complete-word.
1499 (minibuffer-complete-word): Use it.
1500 (display-completion-list): Make `common-substring' argument obsolete.
1501 (completion--in-region): Call completion--in-region-1 instead of
1502 minibuffer-complete.
1503 (completion-help-at-point): Pass boundaries to
1504 minibuffer-completion-help as args rather than via an overlay.
1505 (completion-pcm--string->pattern): Use `any-delim'.
1506 (completion-pcm--optimize-pattern): New function.
1507 (completion-pcm--pattern->regex): Handle `any-delim'.
1508 * icomplete.el (icomplete-forward-completions)
1509 (icomplete-backward-completions, icomplete-completions):
1510 Adjust calls to completion-all-sorted-completions and
1511 completion--cache-all-sorted-completions.
1512 (icomplete-with-completion-tables): Default to t.
1513 * emacs-lisp/crm.el (crm--current-element): Rename from
1514 crm--select-current-element. Don't put an overlay but return the
1515 boundaries instead.
1516 (crm--completion-command): Take two new args to bind to the boundaries.
1517 (crm-completion-help): Adjust accordingly.
1518 (crm-complete): Use completion-in-region.
1519 (crm-complete-word): Use completion-in-region--single-word.
1520 (crm-complete-and-exit): Use completion-complete-and-exit.
1521
e17d94a5
SM
15222013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1525 than dynamically.
1526
96727100
JL
15272013-09-06 Juri Linkov <juri@jurta.org>
1528
1529 * info.el (Info-display-images-node): When image file doesn't exist
1530 display text version of the image if it's provided in the Info file.
1531 Otherwise, display the location of missing image from SRC attribute.
1532 Add help-echo text property from ALT attribute. (Bug#15279)
1533
86cf7329
SM
15342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1537 (edit-abbrevs-mode): Use define-derived-mode.
1538
1539 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1540 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1541 that it's defined.
1542 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1543 Use define-derived-mode.
1544
1545 * epg.el (epg-start-encrypt): Minor CSE simplification.
1546
816244a2
WX
15472013-09-06 William Xu <william.xwl@gmail.com>
1548
1549 * arc-mode.el: Add support for 7za (bug#15264).
1550 (archive-7z-program): New var.
1551 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1552 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1553 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1554
1486fa31
MA
15552013-09-06 Michael Albinus <michael.albinus@gmx.de>
1556
1557 Remove URL syntax.
1558
1559 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1560 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1561 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1562 (tramp-postfix-host-format, tramp-file-name-regexp)
1563 (tramp-completion-file-name-regexp)
1564 (tramp-completion-dissect-file-name)
1565 (tramp-handle-substitute-in-file-name): Remove 'url case.
1566 (tramp-file-name-regexp-url)
1567 (tramp-completion-file-name-regexp-url): Remove constants.
1568
39785324
GM
15692013-09-06 Glenn Morris <rgm@gnu.org>
1570
1571 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1572
1f896cb7
DG
15732013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1574
1575 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1576 keywords" below "here-doc beginnings" (Bug#15270).
1577
c0458e0b
SM
15782013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * subr.el (pop): Use `car-safe'.
1581 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1582 to detect unused `pop' return value.
1583
1584 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1585 var `block-regexp'.
1586 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1587 (python-fill-string): Remove unused var `marker'.
1588 (python-skeleton-add-menu-items): Remove unused var `items'.
1589
1590 * international/mule-cmds.el: Require CL.
1591 (find-coding-systems-for-charsets): Avoid add-to-list.
1592 (sanitize-coding-system-list): New function, extracted from
1593 select-safe-coding-system-interactively.
1594 (select-safe-coding-system-interactively): Use it.
1595 (read-input-method-name): Accept symbols for `default'.
1596
1597 * emacs-lisp/advice.el (defadvice): Add indent rule.
1598
6c42fc3e
DH
15992013-09-05 Daniel Hackney <dan@haxney.org>
1600
1601 * dired-x.el:
1602 * net/ange-ftp.el:
1603 * net/browse-url.el:
1604 * net/dbus.el:
1605 * net/eudc.el:
1606 * net/eudcb-ldap.el:
1607 * net/eww.el:
1608 * net/imap.el:
1609 * printing.el:
1610 * vc/ediff-diff.el:
1611 * vc/ediff-init.el:
1612 * vc/ediff-merg.el:
1613 * vc/ediff-mult.el:
1614 * vc/ediff-util.el:
1615 * vc/ediff-wind.el:
1616 * vc/ediff.el:
1617 * vc/emerge.el:
1618 * vc/pcvs.el:
1619 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1620 byte compiler. Remove some unused let-bound variables.
1621
4c528aab
SM
16222013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1625 a "ref-cell", since it gets better optimized (bug#14883).
1626
bd15c390
GM
16272013-09-05 Glenn Morris <rgm@gnu.org>
1628
1629 * progmodes/cc-awk.el (c-forward-sws): Declare.
1630
1c3ac2e5
GM
16312013-09-04 Glenn Morris <rgm@gnu.org>
1632
1633 * generic-x.el [rul-generic-mode]: Require cc-mode.
1634 (c++-mode-syntax-table): Declare.
1635 (rul-generic-mode-syntax-table): Init in the defvar.
1636
52b1cc79
SM
16372013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1638
c828af56
SM
1639 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1640 (vc-do-command, vc-set-async-update):
1641 * vc/vc-mtn.el (vc-mtn-dir-status):
1642 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1643 (vc-hg-pull, vc-hg-merge-branch):
1644 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1645 (vc-git-merge-branch):
1646 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1647 (vc-cvs-dir-status-files):
1648 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1649 (vc-bzr-dir-status-files):
1650 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1651 * vc/vc-annotate.el: Use lexical-binding.
1652 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1653 (vc-sentinel-movepoint): Declare.
1654 (vc-annotate): Don't use `goto-line'.
1655 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1656 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1657 (vc-sentinel-movepoint): Declare.
1658 * vc/vc-svn.el: Use lexical-binding.
1659 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1660 * vc/vc-sccs.el:
1661 * vc/vc-rcs.el: Use lexical-binding.
1662
abae272c
SM
1663 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1664 `deleted'. Don't drop errors silently.
1665
52b1cc79
SM
1666 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1667
63191d9f
XF
16682013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1669
1670 * vc/vc.el (vc-ignore): Rewrite.
1671 (vc-default-ignore): New function.
1672 (vc-default-ignore-completion-table): Use find-ignore-file.
1673
1674 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1675 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1676 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1677 Remove. Most code moved to vc.el.
1678
9d3f707c
SM
16792013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1680
abae272c 1681 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1682 * net/tramp-smb.el (tramp-smb-get-file-entries):
1683 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1684 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1685
fde38d49
SM
1686 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1687 Update call to it.
1688 (eww-change-select): Remove unused var `properties'.
1689 (eww-make-unique-file-name): Remove unused var `base'.
1690
1691 * finder.el (finder-compile-keywords): Don't mess with windows.
1692
84032db7
SM
1693 * calculator.el (calculator-funcall): Fix typo in last change.
1694
724f5e41
SM
1695 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1696
14b511d4
SM
1697 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1698 <pkg>-autoloads.el file stop us.
1699
9d3f707c 1700 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1701 warnings, and factor out common code.
9d3f707c 1702
88527bc0
DG
17032013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1704
1705 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1706 two-character operators and whether the character preceding them
1707 changes their meaning (Bug#15208).
1708
96edb677
FEG
17092013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1710
1711 Format code sent to Python shell for robustness.
9d3f707c
SM
1712 * progmodes/python.el (python-shell-buffer-substring):
1713 New function.
96edb677
FEG
1714 (python-shell-send-region, python-shell-send-buffer): Use it.
1715
95beaef3
MA
17162013-09-02 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1719 * net/tramp.el (tramp-user-error): ... here.
1720 (tramp-find-method, tramp-check-proper-host)
1721 (tramp-dissect-file-name, tramp-debug-message)
1722 (tramp-handle-shell-command):
1723 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1724 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1725
1726 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1727
f167c27b
MR
17282013-09-02 Martin Rudalics <rudalics@gmx.at>
1729
1730 * avoid.el (mouse-avoidance-point-position)
1731 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1732 returns nil.
1733
cd16c5f1
FEG
17342013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1735
1736 * progmodes/python.el (python-shell-completion-get-completions):
1737 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1738 (python-nav-if-name-main): New command.
cd16c5f1 1739
e73c3a0d
GM
17402013-09-01 Glenn Morris <rgm@gnu.org>
1741
f8ccce03
GM
1742 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1743 Avoid leading space in $wins. Otherwise the sed command used by
1744 eg compile-main ends up containing "/*.el". (Bug#15170)
1745
e73c3a0d
GM
1746 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1747
415f808e
GM
17482013-08-30 Glenn Morris <rgm@gnu.org>
1749
1750 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1751 Fix is-this-a-directory logic. (Bug#15220)
1752
f069bba8
SM
17532013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1754
112798c1
SM
1755 * textmodes/css-mode.el: Use SMIE.
1756 (css-smie-grammar): New var.
1757 (css-smie--forward-token, css-smie--backward-token)
1758 (css-smie-rules): New functions.
1759 (css-mode): Use them.
1760 (css-navigation-syntax-table): Remove var.
1761 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1762 (css-indent-calculate, css-indent-line): Remove functions.
1763
1764 Misc changes to reduce use of `(lambda...); and other cleanups.
1765 * cus-edit.el: Use lexical-binding.
1766 (customize-push-and-save, customize-apropos)
1767 (custom-buffer-create-internal): Use closures.
1768 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1769 * progmodes/ada-xref.el: Use setq.
1770 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1771 * dframe.el: Use lexical-binding.
1772 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1773 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1774 * descr-text.el: Use lexical-binding.
1775 (describe-text-widget, describe-text-sexp, describe-property-list):
1776 Use closures.
1777 * comint.el (comint-history-isearch-push-state): Use a closure.
1778 * calculator.el: Use lexical-binding.
1779 (calculator-number-to-string): Make it work with lexical-binding.
1780 (calculator-funcall): Same and use cl-letf.
1781
2da4c3ab
SM
1782 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1783 (lisp--company-doc-string, lisp--company-location): New functions.
1784 (lisp-completion-at-point): Use them to improve Company support.
1785
f069bba8
SM
1786 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1787 params of lambda expressions.
1788 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1789 (ruby-smie--opening-pipe-p): New function.
1790 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1791 symbols and matched |...| for formal params.
1792 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1793 from being treated as hanging. Handle "rescue".
1794
6758b6a8
GM
17952013-08-29 Glenn Morris <rgm@gnu.org>
1796
1797 * progmodes/cc-engine.el (c-pull-open-brace):
1798 Move definition before use.
1799
e8dfd197
SM
18002013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1803 are immutable. Don't use `unsafe' any more.
1804 (cl--defsubst-expand): Don't substitute at the same time as keeping
1805 a residual unused let-binding. Don't use `unsafe' any more.
1806
cc585c96
GM
18072013-08-29 Glenn Morris <rgm@gnu.org>
1808
ba579ea6
GM
1809 * calendar/cal-china.el (calendar-chinese-year-cache):
1810 Recenter on 2015.
1811
8201a87e
GM
1812 * nxml/nxml-util.el (nxml-debug-clear-inside):
1813 Use cl-loop rather than loop.
1814
6ee877c7
GM
1815 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1816
cc585c96
GM
1817 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1818
27be8d39
GM
18192013-08-28 Glenn Morris <rgm@gnu.org>
1820
397440a1
GM
1821 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1822
2bb762d4
GM
1823 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1824
27be8d39
GM
1825 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1826
2d69b99e
SM
18272013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1828
f663baa7
SM
1829 * simple.el (repeat-complex-command--called-interactively-skip):
1830 New function.
1831 (repeat-complex-command): Use it (bug#14136).
1832
dd4f8b74
SM
1833 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1834 (c-define-abbrev-table): Add `doc' argument.
1835 (c-mode-abbrev-table, c++-mode-abbrev-table)
1836 (objc-mode-abbrev-table, java-mode-abbrev-table)
1837 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1838 (awk-mode-abbrev-table): Use it.
1839 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1840 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1841 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1842 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1843 Move initialization into the declaration; and remove any
1844 autoload cookie.
1845
b58969f7
SM
1846 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1847 and dynamic let binding.
1848
4021d6a6
SM
1849 * vc/smerge-mode.el: Remove redundant :group args.
1850
2d69b99e
SM
1851 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1852 to load-path.
1853
274919fd
JL
18542013-08-28 Juri Linkov <juri@jurta.org>
1855
1856 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1857 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1858 (isearch-other-meta-char): Handle an undefined shifted printing
1859 character by downshifting it. (Bug#15200)
1860
121f8c95
JL
18612013-08-28 Juri Linkov <juri@jurta.org>
1862
1863 * isearch.el (isearch-search): Change regexp error message for
1864 non-regexp searches. (Bug#15166)
1865
50b13cde
PE
18662013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1867
1868 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1869 for portability to hosts where /bin/sh has problems.
1870
95888bca
SM
18712013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1874
bbe558f1
JL
18752013-08-27 Juri Linkov <juri@jurta.org>
1876
1877 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1878 in the keyboard macro. (Bug#15126)
1879
26f98a7d
JL
18802013-08-27 Juri Linkov <juri@jurta.org>
1881
1882 * isearch.el (isearch-quote-char): Comment out converting unibyte
1883 to multibyte, thus syncing with its `quoted-insert' counterpart.
1884 (Bug#15166)
1885
7c97d35e
MR
18862013-08-27 Martin Rudalics <rudalics@gmx.at>
1887
1888 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1889 argument in call of get-largest-window (Bug#15185).
1890 Reported by Stephen Leake.
7c97d35e 1891
a0b5606e 18922013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1893
1894 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1895
9e89d835
SM
18962013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1899 from a matcher-function unless there's no more matches (bug#15161).
1900
78fc2530
MA
19012013-08-26 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * minibuffer.el: Revert change from 2013-08-20.
1904
1905 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1906 with text property `tramp-default', if appropriate.
1907 (tramp-check-proper-host): New defun.
1908 (tramp-dissect-file-name): Do not check hostname. Revert change
1909 of 2013-03-18.
1910 (tramp-backtrace): Make VEC-OR-PROC optional.
1911
1912 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1913 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1914 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1915 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1916 Apply `tramp-check-proper-host'.
78fc2530 1917
edca97cd
TH
19182013-08-26 Tassilo Horn <tsdh@gnu.org>
1919
1920 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1921 lambda expression in order to have `describe-variable' display it.
1922
df54bcbd
MA
19232013-08-26 Michael Albinus <michael.albinus@gmx.de>
1924
1925 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1926 BUF can be optional. (Bug#15186)
1927
eed99101
XF
19282013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1929
1930 * progmodes/flymake.el (flymake-get-real-file-name-function):
1931 Fix broken customization. (Bug#15184)
1932
b5eb9035
AM
19332013-08-25 Alan Mackenzie <acm@muc.de>
1934
8a51e842
AM
1935 Improve indentation of bracelists defined by macros (without "=").
1936
1937 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1938 expansion begins with "{", regard it as bracelist when it doesn't
1939 contain a ";".
1940
869455d4
AM
1941 Parse C++ inher-intro when there's a template split over 2 lines.
1942
1943 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1944 rigorously the search for "class" etc. followed by ":".
1945
1946 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1947 random languages a regexp which never matches rather than nil.
1948
b5eb9035
AM
1949 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1950
1951 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1952 (c-awk-regexp-one-line-possibly-open-char-list-re)
1953 (c-awk-one-line-possibly-open-regexp-re)
1954 (c-awk-one-line-non-syn-ws*-re): Remove.
1955 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1956 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1957 (c-awk-space*-unclosed-regexp-/-re): New constants.
1958 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1959 aren't regexp delimiters.
1960
1961 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1962 handling for a rare situation in AWK Mode involving unterminated
1963 strings/regexps.
1964
61611d54
GM
19652013-08-23 Glenn Morris <rgm@gnu.org>
1966
2d85dc34
GM
1967 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1968
cb8d2612
GM
1969 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1970
bb35f42f
GM
1971 * files.el (create-file-buffer): If the result would begin with
1972 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1973
b9808e77
SM
19742013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1975
e3a66363
SM
1976 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1977 text-properties (bug#15155).
1978
b9808e77
SM
1979 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1980 exist any more.
1981 (calc-keypad-redraw): Remove unused var `pad'.
1982 (calc-keypad-press): Remove unused var `menu'.
1983
7fd5f65e
MR
19842013-08-23 Martin Rudalics <rudalics@gmx.at>
1985
b9808e77
SM
1986 * window.el (display-buffer-pop-up-frame):
1987 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1988 use it as the new frame's buffer (Bug#15133).
1989
8352b530
SM
19902013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * calendar/timeclock.el: Minor cleanups.
1993 (timeclock-ask-before-exiting, timeclock-use-display-time):
1994 Use `symbol'.
1995 (timeclock-modeline-display): Define as alias before the
1996 actual definition.
1997 (timeclock-mode-line-display): Use define-minor-mode.
1998 (timeclock-day-list-template): Make it a function, add an argument.
1999 (timeclock-day-list-required, timeclock-day-list-length)
2000 (timeclock-day-list-debt, timeclock-day-list-span)
2001 (timeclock-day-list-break): Adjust calls accordingly.
2002
9f7b1925
SM
20032013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2006 Use read--expression so that completion works again.
2007
6e50e983
SS
20082013-08-21 Sam Steingold <sds@gnu.org>
2009
2010 Add rudimentary inferior shell interaction
2011 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2012 (sh-set-shell): Reset it.
9f7b1925
SM
2013 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2014 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2015
dbb0d350
SM
20162013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * align.el: Use lexical-binding.
2019 (align-region): Simplify accordingly.
2020
c88586a9
MA
20212013-08-20 Michael Albinus <michael.albinus@gmx.de>
2022
2023 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2024
2025 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2026 `non-essential' up.
2027
f95527c8
MA
20282013-08-17 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * net/tramp.el:
2031 * net/tramp-adb.el:
2032 * net/tramp-cmds.el:
2033 * net/tramp-ftp.el:
2034 * net/tramp-gvfs.el:
2035 * net/tramp-gw.el:
2036 * net/tramp-sh.el: Don't wrap external variable declarations by
2037 `eval-when-compile'.
2038
4b5fe4ee
LMI
20392013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2040
2041 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2042 now that Emacs supports ImageMagick animations.
2043
13c366c9
MA
20442013-08-16 Michael Albinus <michael.albinus@gmx.de>
2045
2046 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2047 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2048
3dfc5cd6
MR
20492013-08-16 Martin Rudalics <rudalics@gmx.at>
2050
2051 * window.el (mouse-autoselect-window-select): Do autoselect when
2052 mouse pointer is on margin.
2053
4bbb4381
WP
20542013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2055
2056 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2057
3a2ddc2d
GM
20582013-08-16 Glenn Morris <rgm@gnu.org>
2059
e8bedf5a
GM
2060 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2061 Handle "Remote Directory" response of some clients. (Bug#15058)
2062
58c4682f
GM
2063 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2064 Tweak warning. (Bug#14926)
2065
57953f49
GM
2066 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2067 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2068
3a2ddc2d
GM
2069 * image-mode.el (image-mode-map): Add menu items to reverse,
2070 increase, decrease, reset animation speed.
2071 (image--set-speed, image-increase-speed, image-decrease-speed)
2072 (image-reverse-speed, image-reset-speed): New functions.
2073 (image-mode-map): Add bindings for speed commands.
2074
2075 * image.el (image-animate-get-speed, image-animate-set-speed):
2076 New functions.
2077 (image-animate-timeout): Respect image :speed property.
2078
10fa0ed3
SM
20792013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2082 previous line (bug#15101).
2083 (debugger-eval-expression, debugger-record-expression):
2084 Use read--expression (bug#15102).
2085
5d89d9d2
MA
20862013-08-15 Michael Albinus <michael.albinus@gmx.de>
2087
2088 Remove byte compiler warnings, visible when compiling with
2089 `byte-compile-force-lexical-warnings' set to t.
2090
2091 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2092 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2093 (tramp-handle-unhandled-file-name-directory)
2094 (tramp-handle-file-notify-add-watch, tramp-action-login)
2095 (tramp-action-succeed, tramp-action-permission-denied)
2096 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2097 arguments with "_".
2098
2099 * net/tramp-adb.el (tramp-adb-parse-device-names)
2100 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2101 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2102 (tramp-adb-handle-file-truename): Remove unused arguments.
2103
2104 * net/tramp-cache.el (tramp-flush-directory-property)
2105 (tramp-flush-connection-property, tramp-list-connections)
2106 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2107
10fa0ed3
SM
2108 * net/tramp-compat.el (tramp-compat-make-temp-file):
2109 Rename FILENAME to F.
5d89d9d2
MA
2110
2111 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2112 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2113 (tramp-zeroconf-parse-workstation-device-names)
2114 (tramp-zeroconf-parse-webdav-device-names)
2115 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2116
2117 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2118 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2119
2120 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2121 arguments.
2122 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2123 (tramp-sh-handle-insert-file-contents-literally)
2124 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2125 with "_".
2126 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2127 Remove unused variables.
2128
2129 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2130 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2131 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2132
2133 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2134 Make them a defconst.
2135 (tramp-uuencode-region): Remove unused variable.
2136
62f33bae
JB
21372013-08-14 Juanma Barranquero <lekktu@gmail.com>
2138
2139 * frameset.el (frameset--prop-setter): New function.
2140 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2141 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2142 parameter was already set in FILTERED. Doc fix.
2143 (frameset--record-minibuffer-relationships): Allow saving a
2144 minibufferless frame without its corresponding minibuffer frame.
2145 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2146 frame, if the frame id matches.
2147 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2148 frames before orphaned ones.
2149 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2150
c660a885
MR
21512013-08-14 Martin Rudalics <rudalics@gmx.at>
2152
2153 * window.el (window-make-atom): Don't overwrite parameter
2154 already present.
2155 (display-buffer-in-atom-window): Handle special case where we
2156 split an already atomic window.
2157 (window--major-non-side-window, display-buffer-in-side-window)
2158 (window--side-check): Ignore minibuffer window when walking
2159 window tree.
2160 (window-deletable-p): Return 'frame only if no other frame uses
2161 our minibuffer window.
2162 (record-window-buffer): Run buffer-list-update-hook.
2163 (split-window): Make sure window--check-frame won't destroy an
2164 existing atomic window in case the new window gets nested
2165 inside.
2166 (display-buffer-at-bottom): Ignore minibuffer window when
2167 walking window tree. Don't split a side window.
2168 (pop-to-buffer): Don't set-buffer here, the select-window call
2169 should do that.
2170 (mouse-autoselect-window-select): Autoselect only if we are in the
2171 text portion of the window.
2172
8259030d
LMI
21732013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2174
21c58ae2
LMI
2175 * net/shr.el (shr-parse-image-data): New function to grab both the
2176 data itself and the Content-Type.
2177 (shr-put-image): Use it.
2178
2179 * net/eww.el (eww-display-image): Ditto.
2180
8259030d
LMI
2181 * image.el (image-content-type-suffixes): New variable.
2182
ad756449
FEG
21832013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2184
2185 * progmodes/python.el (python-imenu--build-tree)
2186 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2187
f73f4ce6
XF
21882013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2189
2190 * simple.el (backward-word): Mention the optional argument.
2191
1f585e65
SM
21922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * frameset.el (frameset--make): Rename constructor from make-frameset.
2195 (frameset-p, frameset-valid-p): Don't autoload.
2196 (frameset-valid-p): Use normal accessors.
2197
af1c6c84
GM
21982013-08-13 Glenn Morris <rgm@gnu.org>
2199
55e47f95
GM
2200 * progmodes/compile.el (compile-command): Tweak example in doc.
2201 * obsolete/scribe.el (scribe-mode):
2202 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2203
f0024d8c
GM
2204 * mail/feedmail.el (feedmail-confirm-outgoing)
2205 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2206
2207 * cus-start.el (truncate-partial-width-windows): Fix type.
2208
2209 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2210
af1c6c84
GM
2211 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2212
5514cc4c
SM
22132013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * emacs-lisp/timer.el (timer--time-setter): New function.
2216 (timer--time): Use it as gv-setter.
2217
2218 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2219 setter is not a symbol.
2220
7997a2f1
GJ
22212013-08-12 Grégoire Jadi <daimrod@gmail.com>
2222
2223 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2224 if sending fails. This makes debugging easier.
2225
01f1a9ab
JB
22262013-08-12 Juanma Barranquero <lekktu@gmail.com>
2227
2228 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2229 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2230 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2231
594a4307
EZ
22322013-08-12 Eli Zaretskii <eliz@gnu.org>
2233
2234 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2235
7a22490f 22362013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2237
2238 * format.el (format-annotate-function):
2239 Handle read-only text properties in the source. (Bug#14887)
2240
3e41a054
LMI
22412013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2242
5514cc4c
SM
2243 * net/eww.el (eww-display-html): Ignore coding system errors.
2244 One web site uses "utf-8lias" as the coding system.
3e41a054 2245
7ec326db
JB
22462013-08-11 Juanma Barranquero <lekktu@gmail.com>
2247
2248 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2249
5660113b
JB
22502013-08-10 Juanma Barranquero <lekktu@gmail.com>
2251
9a4ebc74
JB
2252 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2253 (tutorial--detailed-help): Remove unused local variables.
2254 (tutorial--save-tutorial-to): Use ignore-errors.
2255 (help-with-tutorial): Use looking-at-p.
2256
2257 * view.el (view-buffer-other-window, view-buffer-other-frame):
2258 Mark unused arguments.
2259
2260 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2261 (woman-select-symbol-fonts, woman, woman-find-file)
2262 (woman-insert-file-contents, woman-non-underline-faces):
2263 Use string-match-p.
2264 (woman1-unquote): Move declaration.
2265
2266 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2267 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2268 argument. Remove unused local variable.
2269 (xml-parse-elem-type): Use string-match-p.
2270 (xml-substitute-numeric-entities): Use ignore-errors.
2271
45fdb482
JB
2272 * calculator.el (calculator): Mark unused argument.
2273 (calculator-paste, calculator-quit, calculator-integer-p):
2274 Use ignore-errors.
2275 (calculator-string-to-number, calculator-decimal, calculator-exp)
2276 (calculator-op-or-exp): Use string-match-p.
2277
2278 * dired.el (dired-buffer-more-recently-used-p): Declare.
2279 (dired-insert-set-properties, dired-insert-old-subdirs):
2280 Use ignore-errors.
2281
2282 * dired-aux.el (dired-compress): Use ignore-errors.
2283 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2284 (dired-do-async-shell-command, dired-do-shell-command)
2285 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2286 (dired-insert-subdir-validate): Use string-match-p.
2287 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2288 (dired-add-entry): Use string-match-p, looking-at-p.
2289 (dired-insert-subdir-newpos): Remove unused local variable.
2290
2291 * filenotify.el (file-notify-callback): Remove unused local variable.
2292
2293 * filesets.el (filesets-error): Mark unused argument.
2294 (filesets-which-command-p, filesets-filter-dir-names)
2295 (filesets-directory-files, filesets-get-external-viewer)
2296 (filesets-ingroup-get-data): Use string-match-p.
2297
2298 * find-file.el (ff-other-file-name, ff-other-file-name)
2299 (ff-find-the-other-file, ff-cc-hh-converter):
2300 Remove unused local variables.
2301 (ff-get-file-name): Use string-match-p.
2302 (ff-all-dirs-under): Use ignore-errors.
2303
2304 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2305 (follow-select-if-visible): Remove unused local variable.
2306
2307 * forms.el (read-file-filter): Move declaration.
2308 (forms--make-format, forms--make-parser, forms-insert-record):
2309 Quote function with #'.
2310 (forms--update): Use string-match-p. Quote function with #'.
2311
2312 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2313 (help-make-xrefs): Use looking-at-p.
2314 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2315
2316 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2317 (ibuffer-confirm-operation-on): Use string-match-p.
2318
2319 * msb.el (msb-item-handler, msb-dired-item-handler):
2320 Mark unused arguments.
2321
2322 * ses.el (ses-decode-cell-symbol)
2323 (ses-kill-override): Remove unused local variable.
2324 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2325 (ses-load): Use ignore-errors, looking-at-p.
2326 (ses-jump-safe): Use ignore-errors.
2327 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2328
2329 * tabify.el (untabify, tabify): Mark unused arguments.
2330
2331 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2332 Mark unused argument.
2333 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2334 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2335
c880af52
JB
2336 * emacs-lisp/timer.el (timer--time): Define setter with
2337 gv-define-setter to avoid deprecation warning.
2338
5660113b 2339 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2340 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2341 (cmpl-statistics-block): Remove (body was commented out).
2342 All callers changed.
2343 (add-completions-from-buffer, load-completions-from-file):
2344 Remove unused variables.
2345
156aab80
JB
23462013-08-09 Juanma Barranquero <lekktu@gmail.com>
2347
5c5dee78
JB
2348 * filecache.el (file-cache-delete-file-list):
2349 Print message only when told so.
2350 (file-cache-files-matching): Use #' in mapconcat argument.
2351
156aab80
JB
2352 * ffap.el (ffap-url-at-point): Fix reference to variable
2353 thing-at-point-default-mail-uri-scheme.
2354
ad9dcd70
SM
23552013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2356
54bd972f
SM
2357 * subr.el (define-error): New function.
2358 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2359 error-file-not-found and define with define-error.
2360 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2361 and define with define-error.
2362 * userlock.el (file-locked, file-supersession):
2363 * simple.el (mark-inactive):
2364 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2365 * progmodes/ada-mode.el (ada-mode-errors):
2366 * play/life.el (life-extinct):
2367 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2368 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2369 * nxml/rng-util.el (rng-error):
2370 * nxml/rng-uri.el (rng-uri-error):
2371 * nxml/rng-match.el (rng-compile-error):
2372 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2373 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2374 * nxml/nxml-rap.el (nxml-scan-error):
2375 * nxml/nxml-outln.el (nxml-outline-error):
2376 * net/soap-client.el (soap-error):
2377 * net/gnutls.el (gnutls-error):
2378 * net/ange-ftp.el (ftp-error):
2379 * mpc.el (mpc-proc-error):
2380 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2381 (json-number-format, json-string-escape, json-string-format)
2382 (json-key-format, json-object-format):
2383 * jka-compr.el (compression-error):
2384 * international/quail.el (quail-error):
2385 * international/kkc.el (kkc-error):
2386 * emacs-lisp/ert.el (ert-test-failed):
2387 * calc/calc.el (calc-error, inexact-result, math-overflow)
2388 (math-underflow):
2389 * bookmark.el (bookmark-error-no-filename):
2390 * epg.el (epg-error): Define with define-error.
2391
0ea9e53a
SM
2392 * time.el (display-time-event-handler)
2393 (display-time-next-load-average): Don't call sit-for since it seems
2394 unnecessary (bug#15045).
2395
b0429158
SM
2396 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2397 Use #' instead of ' to quote functions.
2398 (checkdoc-output-mode): Use setq-local.
2399 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2400 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2401 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2402 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2403 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2404 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2405 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2406 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2407
ad9dcd70
SM
2408 * ido.el (ido-completion-help): Fix up compiler warning.
2409
77187e6f
JB
24102013-08-09 Juanma Barranquero <lekktu@gmail.com>
2411
2412 * frameset.el (frameset-p): Add autoload cookie.
2413 (frameset--jump-to-register): New function, based on code moved from
2414 register.el.
2415 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2416
2417 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2418 (frameset-restore, frameset-save, frameset-session-filter-alist):
2419 Remove declarations.
2420 (register-alist): Doc fix.
2421 (frameset-to-register): Move to frameset.el.
2422 (jump-to-register, describe-register-1): Remove frameset-specific code.
2423
9d3aa82c
JB
24242013-08-08 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * allout-widgets.el (allout-widgets-pre-command-business)
2427 (allout-widgets-post-command-business)
2428 (allout-widgets-after-change-handler)
2429 (allout-decorate-item-and-context, allout-set-boundary-marker)
2430 (allout-body-modification-handler)
2431 (allout-graphics-modification-handler): Mark ignored arguments.
2432 (allout-widgets-post-command-business)
2433 (allout-widgets-exposure-change-processor)
2434 (allout-widgets-exposure-undo-processor)
2435 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2436 (allout-parse-item-at-point, allout-decorate-item-guides)
2437 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2438 * allout.el (epa-passphrase-callback-function): Declare.
2439 (allout-overlay-insert-in-front-handler)
2440 (allout-overlay-interior-modification-handler)
2441 (allout-isearch-end-handler, allout-chart-siblings)
2442 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2443 (allout-yank-processing, allout-process-exposed)
2444 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2445 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2446 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2447 (lisp-indent-defform): Mark ignored arguments.
2448 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2449 (calculate-lisp-indent): Remove unused variables.
2450 * international/characters.el (indian-2-column, arabic-2-column)
2451 (tibetan): Mark ignored arguments.
2452 (use-cjk-char-width-table): Mark ignored arguments.
2453 Remove unused variables.
2454 * international/fontset.el (build-default-fontset-data)
2455 (x-compose-font-name, create-fontset-from-fontset-spec):
2456 Mark ignored arguments.
2457 (fontset-plain-name): Remove unused variables.
2458 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2459 (keyboard-coding-system): Mark ignored arguments.
2460 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2461 * help.el (resize-temp-buffer-window):
2462 * window.el (display-buffer-in-major-side-window)
2463 (display-buffer-in-side-window, display-buffer-in-previous-window):
2464 Remove unused variables.
2465 * isearch.el (isearch-forward-symbol):
2466 * version.el (emacs-bzr-version-bzr):
2467 * international/mule-cmds.el (current-language-environment):
2468 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2469 (x-handle-display):
2470 * term/pc-win.el (x-list-fonts, x-display-planes)
2471 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2472 (x-server-version, x-display-screens, x-display-mm-height)
2473 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2474 (x-selection-owner-p, x-own-selection-internal)
2475 (x-disown-selection-internal, x-get-selection-internal)
2476 (msdos-initialize-window-system):
2477 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2478 * term/x-win.el (x-handle-no-bitmap-icon):
2479 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2480 (vc-default-find-file-hook, vc-default-extra-menu):
2481 Mark ignored arguments.
2482
0ca3f70e
SM
24832013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2486 break-condition in the context of the debugged code (bug#12685).
2487
74c5d24c
CS
24882013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2489
2490 * comint.el:
2491 Do not use an overlay to highlight the last prompt. (Bug#14744)
2492 (comint-mode): Make comint-last-prompt buffer local.
2493 (comint-last-prompt): New variable.
2494 (comint-last-prompt-overlay): Remove. Superseded by
2495 comint-last-prompt.
0ca3f70e
SM
2496 (comint-snapshot-last-prompt, comint-output-filter):
2497 Use comint-last-prompt.
74c5d24c 2498
c03c02ee
JB
24992013-08-08 Juanma Barranquero <lekktu@gmail.com>
2500
a3738d20 2501 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2502 (frameset-save): Check validity of the resulting frameset.
2503
04263d23
XF
25042013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2505
2506 * ido.el (ido-record-command): Add doc string.
2507
76c5e5ab
JB
25082013-08-08 Juanma Barranquero <lekktu@gmail.com>
2509
2510 * frameset.el (frameset): Do not disable creation of the default
2511 frameset-p predicate. Doc fix.
2512 (frameset-valid-p): New function, copied from the old predicate-p.
2513 Add additional checks.
2514 (frameset-restore): Check with frameset-valid-p.
2515 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2516 (frameset-name, frameset-description, frameset-properties)
2517 (frameset-states): Add docstring.
f9dbf1cb
JB
2518 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2519 (frameset-filter-alist): Doc fixes.
76c5e5ab 2520
bd0c3c0b
JB
25212013-08-08 Juanma Barranquero <lekktu@gmail.com>
2522
2523 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2524
c735544c
SM
25252013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2528 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2529 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2530 (byte-compile-normal-call): Remove obsolescence check.
2531
2805a651
JB
25322013-08-08 Juanma Barranquero <lekktu@gmail.com>
2533
3677ffeb
JB
2534 * frameset.el (frameset-restore): Doc fix.
2535
2805a651
JB
2536 * register.el (frameset-frame-id, frameset-frame-with-id)
2537 (frameset-p, frameset-restore, frameset-save): Declare.
2538 (register-alist): Document framesets.
2539 (frameset-session-filter-alist): Declare.
2540 (frameset-to-register): New function.
2541 (jump-to-register): Implement jumping to framesets. Doc fix.
2542 (describe-register-1): Describe framesets.
2543
2544 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2545
a912c016
JB
25462013-08-07 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2549 Use lexical-binding.
2550
2551 * frameset.el (frameset): Use type vector, not list (incompatible
2552 change). Do not declare a new constructor, use the default one.
2553 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2554 `name' and `description', respectively, and add read-only slot
2555 `timestamp'. Doc fixes.
2556 (frameset-copy, frameset-persistent-filter-alist)
2557 (frameset-filter-alist, frameset-switch-to-gui-p)
2558 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2559 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2560 (frameset-filter-iconified, frameset-keep-original-display-p):
2561 Doc fixes.
2562 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2563 Rename from frameset-filter-(save|restore)-param. All callers changed.
2564 Doc fix.
2565 (frameset-p): Adapt to change to vector and be more thorough.
2566 Change arg name to OBJECT. Doc fix.
2567 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2568 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2569 All callers changed.
2570 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2571 All callers changed.
2572 (frameset--record-minibuffer-relationships): Rename from
2573 frameset--process-minibuffer-frames. All callers changed.
2574 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2575 Use new default constructor (again). Doc fix.
2576 (frameset--find-frame-if): Rename from `frameset--find-frame.
2577 All callers changed.
2578 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2579 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2580 Doc fix.
2581 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2582 PARAMETERS and WINDOW-STATE, respectively.
2583 (frameset-restore): Add new keyword argument PREDICATE.
2584 Reset frameset--target-display to nil. Doc fix.
2585
bb41480a
SM
25862013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2587
f001e98e
SM
2588 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2589 (bat-mode): Use it.
2590 (bat-mode-syntax-table): Mark \n as end-of-comment.
2591 (bat-font-lock-keywords): Remove comment rule.
2592
7679edb1
SM
2593 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2594 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2595
bb41480a
SM
2596 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2597 (byte-compile-callargs-warn): Use `push'.
2598 (byte-compile-arglist-warn): Ignore higher-order "calls".
2599 (byte-compile-file-form-autoload): Use `pcase'.
2600 (byte-compile-function-form): If quoting a symbol, check that it exists.
2601
cdc1ebb9
EZ
26022013-08-07 Eli Zaretskii <eliz@gnu.org>
2603
2604 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2605 and add a few popular commands found in batch files.
2606 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2607 (dos-mode): Doc fixes.
2608
312b1740
SM
26092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2612 (dos-mode): Use setq-local. Add space after "rem".
2613 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2614 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2615
400a3178
AM
26162013-08-07 Arni Magnusson <arnima@hafro.is>
2617
2618 * progmodes/dos.el: New file.
2619 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2620 dos-mode.
2621
3b5c03d3
GM
26222013-08-06 Glenn Morris <rgm@gnu.org>
2623
2624 * calendar/calendar.el: Add new faces, and day-header-array.
2625 (calendar-weekday-header, calendar-weekend-header)
2626 (calendar-month-header): New faces.
2627 (calendar-day-header-construct): New function.
2628 (calendar-day-header-width): Also :set calendar-day-header-array.
2629 (calendar-american-month-header, calendar-european-month-header)
2630 (calendar-iso-month-header): Use calendar- faces.
2631 (calendar-generate-month):
2632 Use calendar-day-header-array for day headers; apply faces to them.
2633 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2634 (calendar-abbrev-construct): Add optional maxlen argument.
2635 (calendar-day-name-array): Doc fix.
2636 (calendar-day-name-array, calendar-abbrev-length)
2637 (calendar-day-abbrev-array):
2638 Also :set calendar-day-header-array, and maybe redraw.
2639 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2640 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2641 (calendar-day-name): Add option to use header array.
2642
ec6a2d7a
LMI
26432013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2644
2645 * net/shr.el (shr-render-td): Remove debugging.
2646 (shr-render-td): Make width computation consistent by defaulting
2647 all zero-width columns to 10 characters. This may not be optimal,
2648 but it's at least consistent.
2122cb6d
LMI
2649 (shr-make-table-1): Redo last change to fix the real problem in
2650 colspan handling.
ec6a2d7a 2651
ed4fd9c5
DA
26522013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2653
0ca3f70e
SM
2654 * files.el (cache-long-line-scans):
2655 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2656
64e22afe
JB
26572013-08-06 Juanma Barranquero <lekktu@gmail.com>
2658
024b38fc
JB
2659 * frameset.el (frameset, frameset-filter-alist)
2660 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2661 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2662 (frameset-compute-pos): Rename from frameset--compute-pos,
2663 and add docstring.
2664 (frameset-move-onscreen): Use frameset-compute-pos.
2665 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2666
64e22afe
JB
2667 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2668 Fix typos in docstrings.
2669
c8c2aca8
DA
26702013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2671
2672 * frame.el (get-other-frame): Tiny cleanup.
2673
1d237bba
JB
26742013-08-06 Juanma Barranquero <lekktu@gmail.com>
2675
8951efef
JB
2676 * vc/vc.el (vc-default-ignore-completion-table):
2677 Silence byte-compiler warning.
2678
307764cc
JB
2679 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2680 slot , which can indeed be nil.
2681 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2682 Move entry for `left' from persistent to live filter alist.
2683 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2684 Doc fixes.
2685 (frameset-filter-params): When restoring a frame, copy items added to
2686 `filtered', to avoid unwittingly modifying the original parameters.
2687 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2688 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2689
1d237bba
JB
2690 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2691 to use looking-at-p instead of looking-at. (Bug#15028)
2692
dc6c0eda
SM
26932013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 Revert introduction of isearch-filter-predicates (bug#14714).
2696 Rely on add-function instead.
2697 * isearch.el (isearch-filter-predicates): Rename it back to
2698 isearch-filter-predicate.
2699 (isearch-message-prefix): Use advice-function-mapc and advice
2700 properties to get the isearch-message-prefix.
2701 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2702 instead of run-hook-with-args-until-failure.
2703 (isearch-filter-visible): Not obsolete any more.
2704 * loadup.el: Preload nadvice.
2705 * replace.el (perform-replace): Revert to funcall
2706 instead of run-hook-with-args-until-failure.
2707 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2708 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2709 dired-isearch-filenames-toggle; make it into a proper minor mode.
2710 Use add/remove-function.
2711 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2712 Call the minor-mode rather than add/remove-hook.
2713 (dired-isearch-filter-filenames):
2714 Remove isearch-message-prefix property.
2715 * info.el (Info--search-loop): New function, extracted from Info-search.
2716 Funcall isearch-filter-predicate instead of
2717 run-hook-with-args-until-failure isearch-filter-predicates.
2718 (Info-search): Use it.
2719 (Info-mode): Use isearch-filter-predicate instead of
2720 isearch-filter-predicates.
2721
290d5b58
DA
27222013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2723
2724 Do not call to `selected-window' where it is assumed by default.
2725 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2726 `window-hscroll', `window-width', `window-height', `window-buffer',
2727 `window-frame', `window-start', `window-point', `next-window'
2728 and `window-display-table'.
2729 * abbrev.el (abbrev--default-expand):
2730 * bs.el (bs--show-with-configuration):
2731 * buff-menu.el (Buffer-menu-mouse-select):
2732 * calc/calc.el (calc):
2733 * calendar/calendar.el (calendar-generate-window):
2734 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2735 (diary-make-entry):
2736 * comint.el (send-invisible, comint-dynamic-complete-filename)
2737 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2738 * completion.el (complete):
2739 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2740 * disp-table.el (describe-current-display-table):
2741 * doc-view.el (doc-view-insert-image):
2742 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2743 * ehelp.el (with-electric-help):
2744 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2745 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2746 * emacs-lisp/helper.el (Helper-help-scroller):
2747 * emulation/cua-base.el (cua--post-command-handler-1):
2748 * eshell/esh-mode.el (eshell-output-filter):
2749 * ffap.el (ffap-gnus-wrapper):
2750 * help-macro.el (make-help-screen):
2751 * hilit-chg.el (highlight-compare-buffers):
2752 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2753 * hl-line.el (global-hl-line-highlight):
2754 * icomplete.el (icomplete-simple-completing-p):
2755 * isearch.el (isearch-done):
2756 * jit-lock.el (jit-lock-stealth-fontify):
2757 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2758 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2759 * mpc.el (mpc-tagbrowser, mpc):
2760 * net/rcirc.el (rcirc-any-buffer):
2761 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2762 * play/landmark.el (landmark-max-width, landmark-max-height):
2763 * play/zone.el (zone):
2764 * progmodes/compile.el (compilation-goto-locus):
2765 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2766 * progmodes/etags.el (find-tag-other-window):
2767 * progmodes/fortran.el (fortran-column-ruler):
2768 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2769 * progmodes/verilog-mode.el (verilog-point-text):
2770 * reposition.el (reposition-window):
2771 * rot13.el (toggle-rot13-mode):
2772 * server.el (server-switch-buffer):
2773 * shell.el (shell-dynamic-complete-command)
2774 (shell-dynamic-complete-environment-variable):
2775 * simple.el (insert-buffer, set-selective-display)
2776 (delete-completion-window):
2777 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2778 (speedbar-recenter):
2779 * startup.el (fancy-splash-head):
2780 * textmodes/ispell.el (ispell-command-loop):
2781 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2782 * tutorial.el (help-with-tutorial):
2783 * vc/add-log.el (add-change-log-entry):
2784 * vc/compare-w.el (compare-windows):
2785 * vc/ediff-help.el (ediff-indent-help-message):
2786 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2787 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2788 (ediff-setup-control-frame):
2789 * vc/emerge.el (emerge-position-region):
2790 * vc/pcvs-util.el (cvs-bury-buffer):
2791 * window.el (walk-windows, mouse-autoselect-window-select):
2792 * winner.el (winner-set-conf, winner-undo): Related users changed.
2793
38276e01
JB
27942013-08-05 Juanma Barranquero <lekktu@gmail.com>
2795
2796 * frameset.el (frameset--set-id): Doc fix.
2797 (frameset-frame-id, frameset-frame-id-equal-p)
2798 (frameset-locate-frame-id): New functions.
2799 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2800 (frameset-restore): Use them.
2801
12b4c0ea
DA
28022013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2803
2804 Do not call to `selected-frame' where it is assumed by default.
2805 Affected functions are `raise-frame', `redraw-frame',
2806 `frame-first-window', `frame-terminal' and `delete-frame'.
2807 * calendar/appt.el (appt-disp-window):
2808 * epg.el (epg-wait-for-completion):
2809 * follow.el (follow-delete-other-windows-and-split)
2810 (follow-avoid-tail-recenter):
2811 * international/mule.el (set-terminal-coding-system):
2812 * mail/rmail.el (rmail-mail-return):
2813 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2814 * progmodes/f90.el (f90-add-imenu-menu):
2815 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2816 * server.el (server-switch-buffer):
2817 * simple.el (delete-completion-window):
2818 * talk.el (talk):
2819 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2820 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2821 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2822 * vc/ediff.el (ediff-documentation): Related users changed.
2823 * frame.el (selected-terminal): Remove the leftover.
2824
17f25e76
GM
28252013-08-05 Glenn Morris <rgm@gnu.org>
2826
2827 * calendar/calendar.el (calendar-generate-month):
2828 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2829 (calendar-generate-month, calendar-font-lock-keywords):
2830 Fix for calendar-day-header-width > length of any day name.
17f25e76 2831
063233c3
JB
28322013-08-05 Juanma Barranquero <lekktu@gmail.com>
2833
2834 * desktop.el (desktop-clear): Use new name of sort predicate.
2835
2836 * frameset.el (frameset): Add docstring. Move :version property to its
2837 own `version' slot.
2838 (frameset-copy): Rename from copy-frameset.
2839 (frameset-p): Check more thoroughly.
2840 (frameset-prop): Do not check for :version, which is no longer a prop.
2841 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2842 Use new :never value instead of t.
2843 (frameset-filter-alist): Expand and clarify docstring.
2844 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2845 (frameset-filter-minibuffer, frameset-filter-save-param)
2846 (frameset-filter-restore-param, frameset-filter-iconified):
2847 Add pointer to docstring of frameset-filter-alist.
2848 (frameset-filter-params): Rename filter values to be more meaningful:
2849 :never instead of t, and reverse the meanings of :save and :restore.
2850 (frameset--process-minibuffer-frames): Clarify error message.
2851 (frameset-save): Avoid unnecessary and confusing call to framep.
2852 Use new BOA constructor for framesets.
2853 (frameset--reuse-list): Doc fix.
2854 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2855 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2856 (frameset-minibufferless-first-p): Doc fix.
2857 Rename from frameset-sort-frames-for-deletion.
2858 (frameset-restore): Doc fixes. Use new function names.
2859 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2860
d5671a82
JB
28612013-08-04 Juanma Barranquero <lekktu@gmail.com>
2862
2863 * desktop.el (desktop-restore-forces-onscreen)
2864 (desktop-restore-reuses-frames): Document :keyword constant values.
2865 (desktop-filter-parameters-alist): Remove, now identical to
2866 frameset-filter-alist.
2867 (desktop--filter-tty*): Remove, moved to frameset.el.
2868 (desktop-save-frameset, desktop-restore-frameset):
2869 Do not pass :filters argument.
2870
2871 * frameset.el (frameset-live-filter-alist)
2872 (frameset-persistent-filter-alist): New variables.
2873 (frameset-filter-alist): Use them. Add autoload cookie.
2874 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2875 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2876 `frameset--id' (it's supposed to be internal to frameset.el).
2877 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2878 (frameset--initial-params): New function.
2879 (frameset--get-frame): Use it. Doc fix.
2880 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2881 Accept :all, not 'all.
2882 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2883 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2884 with fbound symbols. Fix frame id matching, and remove matching ids if
2885 the frame being restored is deleted. Obey :delete.
2886
671d5c16
SM
28872013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * subr.el (macrop): New function.
2890 (text-clone--maintaining): New var.
2891 (text-clone--maintain): Rename from text-clone-maintain. Use it
2892 instead of inhibit-modification-hooks.
2893
2894 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2895 a proxy, so as handle autoloads and redefinitions of the target.
2896 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2897
2898 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2899 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2900 (pcase--mutually-exclusive-p): New function.
2901 (pcase--split-consp): Use it.
2902 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2903 mutually exclusive with the current predicate.
2904
2905 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2906 (edebug-macrop): Remove. Use `macrop' instead.
2907 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2908 (ad-macro-p):
2909 * eshell/esh-cmd.el (eshell-macrop):
2910 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2911
1d44e9dc
SM
29122013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2915 (advice-mapc): New function, using it.
2916 (advice-function-member-p): New function.
2917 (advice--normalize): Store the cdr in advice--saved-rewrite since
2918 that's the part that will be changed.
2919 (advice--symbol-function): New function.
2920 (advice-remove): Handle removal before the function is defined.
2921 Adjust to new advice--saved-rewrite.
2922 (advice-member-p): Use advice-function-member-p and
2923 advice--symbol-function.
2924
5414a283
JB
29252013-08-04 Juanma Barranquero <lekktu@gmail.com>
2926
51d30f2c
JB
2927 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2928 (frameset-filter-minibuffer): Doc fix.
2929 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2930 (frameset--set-id, frameset--process-minibuffer-frames)
2931 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2932 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2933
5414a283
JB
2934 * desktop.el (desktop-clear): Only delete frames when called
2935 interactively and desktop-restore-frames is non-nil. Doc fix.
2936 (desktop-read): Set desktop-saved-frameset to nil.
2937
ab419665
XF
29382013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2939
2940 * vc/vc.el (vc-ignore): Rewrite.
2941 (vc-default-ignore-completion-table):
2942 (vc--read-lines):
2943 (vc--add-line, vc--remove-regexp): New functions.
2944
2945 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2946 (vc-svn-ignore-completion-table): New function.
2947
2948 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2949 (vc-hg-ignore-completion-table):
2950 (vc-hg-find-ignore-file): New functions.
2951
2952 * vc/vc-git.el (vc-git-ignore): Rewrite.
2953 (vc-git-ignore-completion-table):
2954 (vc-git-find-ignore-file): New functions.
2955
2956 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2957
2958 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2959 (vc-bzr-ignore-completion-table):
2960 (vc-bzr-find-ignore-file): New functions.
2961
2613dea2
JB
29622013-08-03 Juanma Barranquero <lekktu@gmail.com>
2963
2964 * frameset.el (frameset-prop): New function and setter.
2965 (frameset-save): Do not modify frame list passed by the caller.
2966
9c959872
SM
29672013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2970
a104f656
SM
29712013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2972
70122acf
SM
2973 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2974 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2975
a104f656
SM
2976 * custom.el (custom-initialize-default, custom-initialize-set)
2977 (custom-initialize-reset, custom-initialize-changed): Affect the
2978 toplevel-default-value (bug#6275, bug#14586).
2979 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2980 for bug#6275.
2981
f078d570
JB
29822013-08-02 Juanma Barranquero <lekktu@gmail.com>
2983
185e3b5a
JB
2984 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2985 Add cl-def* expressions.
2986
f078d570
JB
2987 * frameset.el (frameset-filter-params): Fix order of arguments.
2988
9421876d
JB
29892013-08-02 Juanma Barranquero <lekktu@gmail.com>
2990
2991 Move code related to saving frames to frameset.el.
2992 * desktop.el: Require frameset.
2993 (desktop-restore-frames): Doc fix.
2994 (desktop-restore-reuses-frames): Rename from
2995 desktop-restoring-reuses-frames.
2996 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2997 (desktop-clear): Clear frames too.
2998 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2999 (desktop--filter-tty*, desktop-save, desktop-read):
3000 Use frameset functions.
3001 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3002 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3003 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3004 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3005 (desktop--process-minibuffer-frames, desktop-save-frames)
3006 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3007 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3008 (desktop--sort-states, desktop-restoring-frames-p)
3009 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3010 (desktop-restoring-frameset-p, desktop-restore-frameset)
3011 (desktop--check-dont-save, desktop-save-frameset): New functions.
3012 (desktop--app-id): New constant.
3013 (desktop-first-buffer, desktop-buffer-ok-count)
3014 (desktop-buffer-fail-count): Move before first use.
3015 * frameset.el: New file.
3016
76dc5996
SM
30172013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 * files.el: Use lexical-binding.
3020 (dir-locals-read-from-file): Remove unused `err' variable.
3021 (hack-dir-local-variables--warned-coding): New var.
3022 (hack-dir-local-variables): Use it to avoid repeated warnings.
3023 (make-backup-file-name--default-function): New function.
3024 (make-backup-file-name-function): Use it as default.
3025 (buffer-stale--default-function): New function.
3026 (buffer-stale-function): Use it as default.
3027 (revert-buffer-insert-file-contents--default-function): New function.
3028 (revert-buffer-insert-file-contents-function): Use it as default.
3029 (insert-directory): Avoid add-to-list.
3030
3031 * autorevert.el (auto-revert-handler): Simplify.
3032 Use buffer-stale--default-function.
3033
06d36e2b
TH
30342013-08-01 Tassilo Horn <tsdh@gnu.org>
3035
5f648ab4
TH
3036 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3037
06d36e2b
TH
3038 * whitespace.el (whitespace-ensure-local-variables): New function.
3039 (whitespace-cleanup-region): Call it.
3040 (whitespace-turn-on): Call it.
3041
a43dc424
MA
30422013-08-01 Michael Albinus <michael.albinus@gmx.de>
3043
3044 Complete file name handlers.
3045
3046 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3047 (tramp-handle-verify-visited-file-modtime)
3048 (tramp-handle-file-notify-rm-watch): New functions.
3049 (tramp-call-process): Do not bind `default-directory'.
3050
44e18199
JB
3051 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3052 Order alphabetically.
a43dc424
MA
3053 [access-file, add-name-to-file, dired-call-process]:
3054 [dired-compress-file, file-acl, file-notify-rm-watch]:
3055 [file-ownership-preserved-p, file-selinux-context]:
3056 [make-directory-internal, make-symbolic-link, set-file-acl]:
3057 [set-file-selinux-context, set-visited-file-modtime]:
3058 [verify-visited-file-modtime]: Add handler.
3059 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3060
3061 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3062 [file-notify-add-watch, file-notify-rm-watch]:
3063 [set-file-times, set-visited-file-modtime]:
3064 [verify-visited-file-modtime]: Add handler.
3065 (with-tramp-gvfs-error-message)
3066 (tramp-gvfs-handle-set-visited-file-modtime)
3067 (tramp-gvfs-fuse-file-name): Remove.
3068 (tramp-gvfs-handle-file-notify-add-watch)
3069 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3070 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3071
44e18199
JB
3072 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3073 Order alphabetically.
a43dc424
MA
3074 [file-notify-rm-watch ]: Use default Tramp handler.
3075 [executable-find]: Remove private handler.
3076 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3077 `default-directory'.
3078 (tramp-sh-handle-executable-find)
3079 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3080 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3081 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3082 Do not use `format' in `tramp-message'.
3083
3084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3085 [file-notify-rm-watch, set-visited-file-modtime]:
3086 [verify-visited-file-modtime]: Add handler.
3087 (tramp-smb-call-winexe): Do not bind `default-directory'.
3088
7188b515
XF
30892013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3090
3091 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3092
2412ee1a
DG
30932013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3094
3095 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3096 use it.
3097 (log-view-diff-changeset): Same.
3098 (log-view-diff-common): Call backend command `previous-revision'
3099 to find out the previous revision, in both cases. Swap the
3100 variables `to' and `fr', so that `fr' usually refers to the
3101 earlier revision (Bug#14989).
3102
5002a754
KRC
31032013-07-31 Kan-Ru Chen <kanru@kanru.info>
3104
3105 * ibuf-ext.el (ibuffer-filter-by-filename):
3106 Make it work with dired buffers too.
3107
44e18199 31082013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3109
3110 * emacs-lisp/re-builder.el (reb-color-display-p):
3111 * files.el (save-buffers-kill-terminal):
3112 * net/browse-url.el (browse-url):
3113 * server.el (server-save-buffers-kill-terminal):
3114 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3115 Prefer nil to selected-frame for the first arg of frame-parameter.
3116
aeca3fbb
XF
31172013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3118
3119 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3120
158bc55c
SB
31212013-07-30 Stephen Berman <stephen.berman@gmx.net>
3122
3123 * minibuffer.el (completion--twq-all): Try and preserve each
3124 completion's case choice (bug#14907).
3125
d50fceab
LMI
31262013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3127
ac38e731
LMI
3128 * net/network-stream.el (open-network-stream): Mention the new
3129 :nogreeting parameter.
3130 (network-stream-open-starttls): Use the :nogreeting parameter
3131 (bug#14938).
3132
1211de50
LMI
3133 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3134
997798bf
LMI
3135 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3136 more natural than popping.
3137
d50fceab 3138 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3139 (shr-urlify): Highlight under mouse.
d50fceab 3140
5c09de04
XF
31412013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3142
207d1d04
XF
3143 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3144
3145 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3146
5c09de04
XF
3147 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3148 buffer for output.
3149
3cd51eaa
XF
3150 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3151 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3152
44e18199 3153 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3154 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3155
3156 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3157
3158 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3159 buffer for output.
3160
35a89bdd
EZ
31612013-07-29 Eli Zaretskii <eliz@gnu.org>
3162
3163 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3164 initial frame is minibuffer-less. (Bug#14841)
3165
78822e94
MA
31662013-07-29 Michael Albinus <michael.albinus@gmx.de>
3167
3168 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3169 option.
3170
3171 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3172 (tramp-maybe-open-connection): Use it.
3173
9503c190
JB
31742013-07-28 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3177 minimal set of parameters passed when creating a frame, because
3178 the minibuffer status of a frame cannot be changed later.
3179
d5a845b4
SB
31802013-07-28 Stephen Berman <stephen.berman@gmx.net>
3181
3182 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3183 replace-regexp-in-string and inadvertent omissions in previous change.
3184 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3185 name of filtered items buffer.
d5a845b4 3186
ddeffb17
JB
31872013-07-28 Juanma Barranquero <lekktu@gmail.com>
3188
3189 * desktop.el: Optionally force offscreen frames back onscreen.
3190 (desktop-restoring-reuses-frames): New option.
3191 (desktop--compute-pos, desktop--move-onscreen): New functions.
3192 (desktop--make-frame): Use desktop--move-onscreen.
3193
f5950f7a
AM
31942013-07-27 Alan Mackenzie <acm@muc.de>
3195
3196 Fontify a Java generic method as a function.
3197 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3198 value to t.
3199
ae43b66a
SB
32002013-07-27 Stephen Berman <stephen.berman@gmx.net>
3201
3202 * calendar/todo-mode.el: Add command to rename todo files.
3203 (todo-rename-file): New command.
3204 (todo-key-bindings-t): Add key binding for it. Change the
3205 bindings of todo-filter-regexp-items(-multifile) to use `x'
3206 instead of `r', since the latter is better suited to the new
3207 renaming command.
3208
5ab78d3d
AM
32092013-07-27 Alan Mackenzie <acm@muc.de>
3210
3211 Make Java try-with-resources statement parse properly.
3212 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3213 (c-block-stmt-1-2-key): New language constants/variables.
3214 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3215 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3216 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3217 with c-block-stmt-1-2-key.
5ab78d3d 3218
d85c4d50
JB
32192013-07-27 Juanma Barranquero <lekktu@gmail.com>
3220
3221 * desktop.el (desktop--make-frame): Apply most frame parameters after
3222 creating the frame to force (partially or totally) offscreen frames to
3223 be restored as such.
3224
e4c467f9
XF
32252013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3226
3227 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3228 (Bug#14948)
e4c467f9 3229
7ced0d04
SM
32302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3233 `base' arg of backtrace-frame.
3234
fec92060
EZ
32352013-07-26 Eli Zaretskii <eliz@gnu.org>
3236
3237 * simple.el (list-processes): Doc fix.
3238
d58d31fb
JB
32392013-07-26 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * desktop.el (desktop--select-frame):
d85c4d50 3242 Try harder to reuse existing frames.
d58d31fb 3243
53ff3e77
SM
32442013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3247 (edebug-eval): Use backtrace-eval.
3248 (edebug--display, edebug--recursive-edit): Don't let-bind the
3249 edebug-outer-* vars that keep track of variables we locally let-bind.
3250 (edebug-outside-excursion): Don't restore outside values of locally
3251 let-bound vars.
3252 (edebug--display): Use user-error.
3253 (cl-lexical-debug, cl-debug-env): Remove.
3254
045f7a53
JB
32552013-07-26 Juanma Barranquero <lekktu@gmail.com>
3256
3257 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3258 are restored to be sure that they are visible before deleting any
3259 remaining ones.
3260
59070b32
MM
32612013-07-26 Matthias Meulien <orontee@gmail.com>
3262
742a3501
XF
3263 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3264 vc-print-root-log. (Bug#14948)
59070b32 3265
b1fb3596
RS
32662013-07-26 Richard Stallman <rms@gnu.org>
3267
3268 Add aliases for encrypting mail.
3269 * epa.el (epa-mail-aliases): New option.
3270 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3271 Bind inhibit-read-only so read-only text doesn't ruin everything.
3272 (epa-mail-default-recipients): New subroutine broken out.
3273 Handle epa-mail-aliases.
3274
56ea7291
SM
32752013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 Add support for lexical variables to the debugger's `e' command.
3278 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3279 vars, except for debugger-outer-match-data.
3280 (debugger-frame-number): Move check for "on a function call" from
3281 callers into it. Add `skip-base' argument.
3282 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3283 (debugger-env-macro): Only reset the state stored in non-variables,
3284 i.e. current-buffer and match-data.
3285 (debugger-eval-expression): Rewrite using backtrace-eval.
3286 * subr.el (internal--called-interactively-p--get-frame): Remove.
3287 (called-interactively-p):
3288 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3289 `base' arg of backtrace-frame instead.
3290
15ac32d5
GM
32912013-07-26 Glenn Morris <rgm@gnu.org>
3292
8358a09d
GM
3293 * align.el (align-regexp): Doc fix. (Bug#14857)
3294 (align-region): Explicit error if subexpression missing/does not match.
3295
15ac32d5
GM
3296 * simple.el (global-visual-line-mode):
3297 Do not duplicate the mode lighter. (Bug#14858)
3298
f47ad11b
MR
32992013-07-25 Martin Rudalics <rudalics@gmx.at>
3300
3301 * window.el (display-buffer): In display-buffer bind
3302 split-window-keep-point to t, bug#14829.
3303
02530987
JB
33042013-07-25 Juanma Barranquero <lekktu@gmail.com>
3305
3306 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3307 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3308 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3309 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3310 Change accordingly.
f63ebeb5
JB
3311 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3312 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3313
6ccb9cab 33142013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3315
6ccb9cab 3316 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3317
cb3a56d2
JB
33182013-07-25 Juanma Barranquero <lekktu@gmail.com>
3319
3320 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3321 parameter to modify-frame-parameters if the value has not changed;
3322 this is a workaround for bug#14949.
3323 (desktop--make-frame): On cl-delete-if call, check parameter name,
3324 not full parameter.
3325
7aa7fff0
XF
33262013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3327
3328 * vc/vc.el (vc-ignore): New function.
3329
3330 * vc/vc-svn.el (vc-svn-ignore): New function.
3331
3332 * vc/vc-hg.el (vc-hg-ignore): New function.
3333
3334 * vc/vc-git.el (vc-git-ignore): New function.
3335
3336 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3337 (vc-dir-ignore): New function.
3338
3339 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3340 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3341
3342 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3343
3344 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3345
889acc5c
JB
33462013-07-24 Juanma Barranquero <lekktu@gmail.com>
3347
3348 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3349 (desktop-restore-frames): Warn when deleting an existing frame failed.
3350
86c40970
GM
33512013-07-24 Glenn Morris <rgm@gnu.org>
3352
3353 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3354
d5d3c58a
MA
33552013-07-24 Michael Albinus <michael.albinus@gmx.de>
3356
3357 * filenotify.el (file-notify-supported-p):
3358 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3359 Remove functions.
3360
3361 * autorevert.el (auto-revert-use-notify):
3362 (auto-revert-notify-add-watch):
3363 * net/tramp.el (tramp-file-name-for-operation):
3364 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3365 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3366 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3367 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3368 Remove `file-notify-supported-p' entry.
3369
d100084b
GM
33702013-07-24 Glenn Morris <rgm@gnu.org>
3371
3372 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3373 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3374
ac93e56b
SM
33752013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3376
249eea30
SM
3377 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3378 checked with memq (bug#14935).
3379
ac93e56b
SM
3380 * files.el (revert-buffer-function): Use a non-nil default.
3381 (revert-buffer-preserve-modes): Declare var to
3382 provide access to the `preserve-modes' argument.
3383 (revert-buffer): Let-bind it.
3384 (revert-buffer--default): New function, extracted from revert-buffer.
3385
2cdeb903
SM
33862013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * lpr.el: Signal print errors more prominently.
3389 (print-region-function): Don't default to nil.
3390 (lpr-print-region): New function, extracted from print-region-1.
3391 Check lpr's return value and signal an error in case of problem.
3392 (print-region-1): Use it.
3393 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3394 versions instead.
3395 (ps-printer-name): Default to nil.
3396 (ps-printer-name-option): Default to lpr-printer-switch.
3397 (ps-print-region-function): Don't default to nil.
3398 (ps-postscript-code-directory): Simplify default.
3399 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3400 (ps-string-list, ps-eval-switch, ps-flatten-list)
3401 (ps-flatten-list-1): Remove.
3402 (ps-multibyte-buffer): Avoid setq.
3403 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3404 (print-region-function, ps-print-region-function): Don't set them here.
3405
73600831
XF
34062013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3407
0e55c076
XF
3408 * ido.el (ido-fractionp):
3409 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3410 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3411 (ido-max-directory-size, ido-max-dir-file-cache)
3412 (ido-decorations): Doc fix.
3413
73600831
XF
3414 * ansi-color.el: Fix old URL.
3415
3d012865
MM
34162013-07-23 Michael R. Mauger <michael@mauger.com>
3417
e903c210 3418 * progmodes/sql.el: Version 3.3
3d012865
MM
3419 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3420 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3421 (sql-interactive-remove-continuation-prompt): Rewrite, use
3422 functions above. Fix continuation prompt and complete output line
3423 handling.
3424 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3425 redirected output buffer.
3426 (sql-mode): Restore deleted code (Bug#13591).
3427
da77a2e2
JB
34282013-07-23 Juanma Barranquero <lekktu@gmail.com>
3429
3430 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3431
80ff0c71
MA
34322013-07-23 Michael Albinus <michael.albinus@gmx.de>
3433
3434 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3435
3436 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3437 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3438 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3439
b61d71e4
JB
34402013-07-23 Juanma Barranquero <lekktu@gmail.com>
3441
3442 * desktop.el (desktop-clear): Simplify; remove useless checks
3443 against invalid buffer names.
3444 (desktop-list*): Use cl-list*.
3445 (desktop-buffer-info, desktop-create-buffer): Simplify.
3446
c3512092
LL
34472013-07-23 Leo Liu <sdl.web@gmail.com>
3448
3449 * bookmark.el (bookmark-make-record): Restore NAME as a default
3450 value. (Bug#14933)
3451
0ac26976
SM
34522013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3453
7d22ce18
SM
3454 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3455 extracted from autoload--insert-text.
3456 (autoload--insert-text): Remove.
3457 (autoload--print-cookie-text): New function, extracted from
3458 autoload--insert-cookie-text.
3459 (autoload--insert-cookie-text): Remove.
3460 (autoload-generate-file-autoloads): Adjust calls accordingly.
3461
9b2607e8
SM
3462 * winner.el (winner-hook-installed-p): Remove.
3463 (winner-mode): Simplify accordingly.
3464
c43a8618
SM
3465 * subr.el (add-to-list): Fix compiler-macro when `append' is
3466 not constant. Don't use `cl-member' for the base case.
3467
0ac26976
SM
3468 * progmodes/subword.el: Fix boundary case (bug#13758).
3469 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3470 own group.
3471 (subword-backward-regexp): Make it a constant.
3472 (subword-forward-internal): Don't treat a trailing capital as the
3473 beginning of a word.
3474
6874724a
AR
34752013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3476
3477 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3478 global value of tabulated-list-revert-hook (bug#14930).
3479
70f1b5e8
JB
34802013-07-22 Juanma Barranquero <lekktu@gmail.com>
3481
a1c80d9d
JB
3482 * desktop.el: Require 'cl-lib.
3483 (desktop-before-saving-frames-functions): New hook.
3484 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3485 for frames being saved. Rename from desktop--save-minibuffer-frames.
3486 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3487 Do not save frames with non-nil `desktop-dont-save' parameter.
3488 Filter out deleted frames.
a1c80d9d
JB
3489 (desktop--find-frame): Use cl-find-if.
3490 (desktop--select-frame): Use cl-(first|second|third) to access values
3491 of desktop-mini.
3492 (desktop--make-frame): Use cl-delete-if.
3493 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3494 (desktop-restore-frames): Use cl-(first|second|third) to access values
3495 of desktop-mini. Look for visible frame at the end, not while
3496 restoring frames.
3497
70f1b5e8
JB
3498 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3499 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3500 Use string-match-p, looking-at-p (bug#14927).
3501
728dc3cc
JB
35022013-07-21 Juanma Barranquero <lekktu@gmail.com>
3503
56bc453c
JB
3504 * desktop.el (desktop-saved-frame-states):
3505 Rename from desktop--saved-states; all users changed.
3506 (desktop-save-frames): Rename from desktop--save-frames.
3507 Do not save state to desktop file.
3508 (desktop-save): Save desktop-saved-frame-states to desktop file
3509 and reset to nil.
3510 (desktop-restoring-frames-p): New function.
3511 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3512 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3513 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3514
728dc3cc
JB
3515 * desktop.el: Correctly restore iconified frames.
3516 (desktop--filter-iconified-position): New function.
3517 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3518
862f1c9c
GM
35192013-07-20 Glenn Morris <rgm@gnu.org>
3520
c4074c9f
GM
3521 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3522 Let `message' do the formatting.
3523 (def-gdb-preempt-display-buffer): Add explicit format.
3524
d828e5f9
GM
3525 * image-dired.el (image-dired-track-original-file):
3526 Use with-current-buffer.
3527 (image-dired-track-thumbnail): Use with-current-buffer.
3528 Avoid changing point of wrong window.
3529
862f1c9c
GM
3530 * image-dired.el (image-dired-track-original-file):
3531 Avoid changing point of wrong window. (Bug#14909)
3532
f0398ec1 35332013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3534
3535 * progmodes/gdb-mi.el (gdb-done-or-error):
3536 Guard against "%" in gdb output. (Bug#14127)
3537
1451928f
AS
35382013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3539
763a086d
JB
3540 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3541 (Bug#14826)
f7a03897 3542
1451928f
AS
3543 * international/mule.el (coding-system-iso-2022-flags): Fix last
3544 change.
3545
99107004
KH
35462013-07-20 Kenichi Handa <handa@gnu.org>
3547
763a086d
JB
3548 * international/mule.el (coding-system-iso-2022-flags):
3549 Add `8-bit-level-4'. (Bug#8522)
99107004 3550
48494e06
LMI
35512013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3552
8ba8eec5
LMI
3553 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3554 (bug#14815).
3555
dfbc66e3
LMI
3556 * net/eww.el (eww-process-text-input): Allow inputting when the
3557 point is at the start of the line, as the properties aren't
3558 front-sticky.
3559
48494e06
LMI
3560 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3561 degenerate widths.
3562
77c92cb9
RS
35632013-07-19 Richard Stallman <rms@gnu.org>
3564
aec7da77
RS
3565 * epa.el (epa-popup-info-window): Doc fix.
3566
77c92cb9
RS
3567 * subr.el (split-string): New arg TRIM.
3568
945c5bb1
JB
35692013-07-18 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3572 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3573
e06ec67f
MA
35742013-07-18 Michael Albinus <michael.albinus@gmx.de>
3575
c7064f05 3576 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3577 `file-notify-support'. Do not autoload. Adapt all uses.
3578 (file-notify-supported-p): New defun.
3579
c7064f05
JB
3580 * autorevert.el (auto-revert-use-notify):
3581 Use `file-notify-supported-p' instead of `file-notify-support'.
3582 Adapt docstring.
e06ec67f
MA
3583 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3584
3585 * net/tramp.el (tramp-file-name-for-operation):
3586 Add `file-notify-supported-p'.
3587
3588 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3589 New defun.
3590 (tramp-sh-file-name-handler-alist): Add it as handler for
3591 `file-notify-supported-p '.
3592
3593 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3594 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3595 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3596 Add `ignore' as handler for `file-notify-*' functions.
3597
5dc8a629
EZ
35982013-07-17 Eli Zaretskii <eliz@gnu.org>
3599
3600 * simple.el (line-move-partial, line-move): Don't start vscroll or
3601 scroll-up if the current line is not taller than the window.
3602 (Bug#14881)
3603
77aea2fb
DG
36042013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3605
3606 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3607 highlight question marks in the method names as strings.
ac72c08d
DG
3608 (ruby-block-beg-keywords): Inline.
3609 (ruby-font-lock-keyword-beg-re): Extract from
3610 `ruby-font-lock-keywords'.
77aea2fb 3611
18c26d81
JD
36122013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3613
3614 * frame.el (blink-cursor-blinks): New defcustom.
3615 (blink-cursor-blinks-done): New defvar.
3616 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3617 (blink-cursor-timer-function): Check if number of blinks has been
3618 done on X and NS.
3619 (blink-cursor-suspend, blink-cursor-check): New defuns.
3620
da48522e
GM
36212013-07-15 Glenn Morris <rgm@gnu.org>
3622
3623 * edmacro.el (edmacro-format-keys): Fix previous change.
3624
0463c1ef
PE
36252013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3626
3627 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3628 The hack didn't work outside English locales anyway.
3629
b43f6451
JB
36302013-07-15 Juanma Barranquero <lekktu@gmail.com>
3631
3632 * simple.el (define-alternatives): Rename from alternatives-define,
3633 per RMS' suggestion.
3634
b958c0ad
JB
36352013-07-14 Juanma Barranquero <lekktu@gmail.com>
3636
3637 * desktop.el (desktop-restore-frames): Change default to t.
3638 (desktop-restore-in-current-display): Now offer more options.
3639 (desktop-restoring-reuses-frames): New customization option.
3640 (desktop--saved-states): Doc fix.
3641 (desktop-filter-parameters-alist): New variable, renamed and expanded
3642 from desktop--excluded-frame-parameters.
3643 (desktop--target-display): New variable.
3644 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3645 (desktop--filter-tty*, desktop--filter-*-color)
3646 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3647 (desktop--filter-save-desktop-parm)
3648 (desktop-restore-in-original-display-p): New functions.
3649 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3650 (desktop--save-minibuffer-frames): New function, inspired by a similar
3651 function from Martin Rudalics.
3652 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3653 (desktop--restore-in-this-display-p): Remove.
3654 (desktop--find-frame): Rename from desktop--find-frame-in-display
3655 and add predicate argument.
3656 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3657 (desktop--reuse-list): New variable.
3658 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3659 New functions.
3660 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3661
f6dd8b36
MA
36622013-07-14 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3665
2ce3c565
DG
36662013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3667
763a086d
JB
3668 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3669 Highlight conversion methods on Kernel.
2ce3c565 3670
2cdb7698
AM
36712013-07-13 Alan Mackenzie <acm@muc.de>
3672
3673 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3674 and comment it out. This out-commenting enables certain C++
3675 declarations to be parsed correctly.
3676
1a67b811
EZ
36772013-07-13 Eli Zaretskii <eliz@gnu.org>
3678
1b796d6b
EZ
3679 * international/mule.el (define-coding-system): Doc fix.
3680
1a67b811
EZ
3681 * simple.el (default-font-height): Don't call font-info if the
3682 frame's default font didn't change since the frame was created.
3683 (Bug#14838)
3684
58fbe886
LL
36852013-07-13 Leo Liu <sdl.web@gmail.com>
3686
3687 * ido.el (ido-read-file-name): Guard against non-symbol value.
3688
1f0480d4
FEG
36892013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3690
3691 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3692 in nested defuns.
3693
97ead0e5
LL
36942013-07-13 Leo Liu <sdl.web@gmail.com>
3695
3696 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3697 ido-set-matches call. (Bug#6852)
3698
0880a952
DG
36992013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3700
3701 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3702 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3703 Ruby 2.0.
3704 (ruby-font-lock-keywords): Distinguish calls to functions with
3705 module-like names from module references. Highlight character
3706 literals.
3707
a7d8babb
SDJ
37082013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3709
3710 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3711 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3712
acfcc8c5
JB
37132013-07-12 Juanma Barranquero <lekktu@gmail.com>
3714
3715 * desktop.el (desktop--v2s): Remove unused local variable.
3716 (desktop-save-buffer): Make defvar-local; adjust docstring.
3717 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3718 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3719
051f2775
AS
37202013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3723
f24e7572
GM
37242013-07-12 Eli Zaretskii <eliz@gnu.org>
3725
3726 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3727 (Bug#14842)
3728
539a920c
GM
37292013-07-12 Glenn Morris <rgm@gnu.org>
3730
3731 * doc-view.el: Require cl-lib at runtime too.
3732 (doc-view-remove-if): Remove.
3733 (doc-view-search-next-match, doc-view-search-previous-match):
3734 Use cl-remove-if.
3735
3736 * edmacro.el: Require cl-lib at runtime too.
3737 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3738 (edmacro-mismatch, edmacro-subseq): Remove.
3739
3740 * shadowfile.el: Require cl-lib.
3741 (shadow-remove-if): Remove.
3742 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3743 Use cl-remove-if.
3744
3745 * wid-edit.el: Require cl-lib.
3746 (widget-choose): Use cl-remove-if.
3747 (widget-remove-if): Remove.
3748
3749 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3750 (ebrowse-delete-if-not): Remove.
3751 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3752 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3753 Use cl-delete-if-not.
3754
1048af7c
JB
37552013-07-12 Juanma Barranquero <lekktu@gmail.com>
3756
3757 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3758 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3759
6c0674ee
LL
37602013-07-12 Leo Liu <sdl.web@gmail.com>
3761
3762 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3763
a19b3c2d
GM
37642013-07-11 Glenn Morris <rgm@gnu.org>
3765
4582a01c
GM
3766 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3767 (edebug-gensym-index, edebug-gensym):
3768 Remove reimplementation of cl-gensym.
3769 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3770
3771 * thumbs.el: Require cl-lib at run-time too.
3772 (thumbs-gensym-counter, thumbs-gensym):
3773 Remove reimplementation of cl-gensym.
3774 (thumbs-temp-file): Use cl-gensym.
3775
a19b3c2d
GM
3776 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3777 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3778 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3779 (ert--union, ert--gensym-counter, ert--gensym-counter)
3780 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3781 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3782 (ert-make-test-unbound, ert--expand-should-1)
3783 (ert--expand-should, ert--should-error-handle-error)
3784 (should-error, ert--explain-equal-rec)
3785 (ert--plist-difference-explanation, ert-select-tests)
3786 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3787 Use cl-lib functions rather than reimplementations.
3788
88f6a933
MA
37892013-07-11 Michael Albinus <michael.albinus@gmx.de>
3790
3791 * net/tramp.el (tramp-methods): Extend docstring.
3792 (tramp-connection-timeout): New defcustom.
3793 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3794 (with-tramp-progress-reporter): Simplify.
3795 (tramp-process-actions): Improve messages.
3796
3797 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3798 * net/tramp-sh.el (tramp-maybe-open-connection):
3799 Use `tramp-connection-timeout'.
3800 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3801 (Bug#14808)
3802
a43d577e
LL
38032013-07-11 Leo Liu <sdl.web@gmail.com>
3804
3805 * ido.el (ido-read-file-name): Conform to the requirements of
3806 read-file-name. (Bug#11861)
3807 (ido-read-directory-name): Conform to the requirements of
3808 read-directory-name.
3809
d77974bf
JB
38102013-07-11 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * subr.el (delay-warning): New function.
3813
35cb8a3e
EZ
38142013-07-10 Eli Zaretskii <eliz@gnu.org>
3815
3816 * simple.el (default-line-height): New function.
3817 (line-move-partial, line-move): Use it instead of computing the
3818 line height inline.
3819 (line-move-partial): Always compute ROWH. If the last line is
3820 partially-visible, but its text is completely visible, allow
3821 cursor to enter such a partially-visible line.
3822
525c5c77
MA
38232013-07-10 Michael Albinus <michael.albinus@gmx.de>
3824
3825 Improve error messages. (Bug#14808)
3826
3827 * net/tramp.el (tramp-current-connection): New defvar, moved from
3828 tramp-sh.el.
0ac26976 3829 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3830 needed anymore.
0ac26976
SM
3831 (tramp-error-with-buffer): Show message in minibuffer.
3832 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3833 (with-tramp-progress-reporter): Improve messages.
3834 (tramp-process-actions): Use progress reporter. Delete process in
3835 case of error. Improve messages.
3836
763a086d
JB
3837 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3838 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3839 (tramp-current-connection): Remove.
525c5c77
MA
3840 (tramp-maybe-open-connection): The car of
3841 `tramp-current-connection' are the first 3 slots of the vector.
3842
c7a4d368
TZ
38432013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3844
3845 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3846 inside continued strings.
3847
954b166e
PE
38482013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3849
3850 Timestamp fixes for undo (Bug#14824).
3851 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3852
56973319
LL
38532013-07-10 Leo Liu <sdl.web@gmail.com>
3854
3855 * files.el (require-final-newline): Allow safe local value.
3856 (Bug#14834)
3857
5550a72c
LL
38582013-07-09 Leo Liu <sdl.web@gmail.com>
3859
3860 * ido.el (ido-read-directory-name): Handle fallback.
3861 (ido-read-file-name): Update DIR to ido-current-directory.
3862 (Bug#1516)
c28b9050 3863 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3864
70c46b28
DG
38652013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3868 "autoload". Remove "warn lower camel case" section, previously
3869 commented out. Highlight negation char. Do not highlight the
3870 target in singleton method definitions.
3871
0b64b838
SM
38722013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3873
7fd72e2c
SM
3874 * faces.el (tty-setup-hook): Declare the hook.
3875
0b64b838
SM
3876 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3877 and detect when a guard/pred depends on local vars (bug#14773).
3878 (pcase--u1): Adjust caller.
3879
ab49d60b
EZ
38802013-07-08 Eli Zaretskii <eliz@gnu.org>
3881
3882 * simple.el (line-move-partial, line-move): Account for
3883 line-spacing.
701d79aa
EZ
3884 (line-move-partial): Avoid setting vscroll when the last
3885 partially-visible line in window is of default height.
ab49d60b 3886
2d756ae0
LMI
38872013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3888
3889 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3890 been used a while.
3891
ed095bd7
JB
38922013-07-07 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * subr.el (read-quoted-char): Remove unused local variable `char'.
3895
f1e6674b
MK
38962013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3897
584ee3fc
GM
3898 * ediff.el (ediff-version): Version update.
3899 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3900 (ediff-merge-with-ancestor-command, ediff-directories-command)
3901 (ediff-directories3-command, ediff-merge-directories-command)
3902 (ediff-merge-directories-with-ancestor-command): New functions.
3903 All are command-line interfaces to ediff: to facilitate calling
3904 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3905
3906 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3907 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3908
584ee3fc
GM
3909 * viper.el (viper-version): Version update.
3910 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3911
584ee3fc
GM
39122013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3915 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3916 (viper-intercept-ESC-key): Simplify.
3917 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3918 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3919 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3920 (viper-setup-ESC-to-escape): New functions.
3921 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3922 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3923
9aff9b38
EZ
39242013-07-07 Eli Zaretskii <eliz@gnu.org>
3925
5165d44a
JB
3926 * simple.el (default-font-height, window-screen-lines):
3927 New functions.
9aff9b38
EZ
3928 (line-move, line-move-partial): Use them instead of
3929 frame-char-height and window-text-height. This makes scrolling
3930 text smoother when the buffer's default face uses a font that is
3931 different from the frame's default font.
3932
1afb1d07
JD
39332013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3934
3935 * files.el (write-file): Do not display confirm dialog for NS,
3936 it does its own dialog, which can't be cancelled (Bug#14578).
3937
23de972a
EZ
39382013-07-06 Eli Zaretskii <eliz@gnu.org>
3939
3940 * simple.el (line-move-partial): Adjust the row returned by
3941 posn-at-point for the current window-vscroll. (Bug#14567)
3942
54a42486
MA
39432013-07-06 Michael Albinus <michael.albinus@gmx.de>
3944
3945 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3946 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3947 spaces.
3948
34ada5f4
MR
39492013-07-06 Martin Rudalics <rudalics@gmx.at>
3950
3951 * window.el (window-state-put-stale-windows): New variable.
3952 (window--state-put-2): Save list of windows without matching buffer.
3953 (window-state-put): Remove "bufferless" windows if possible.
3954
11e03d89
JB
39552013-07-06 Juanma Barranquero <lekktu@gmail.com>
3956
3957 * simple.el (alternatives-define): Remove leftover :group keyword.
3958 Tweak docstring.
3959
3504a4be
LL
39602013-07-06 Leo Liu <sdl.web@gmail.com>
3961
3962 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3963 (ido-enable-virtual-buffers): New variable.
3964 (ido-buffer-internal, ido-toggle-virtual-buffers)
3965 (ido-make-buffer-list): Use it.
3966 (ido-exhibit): Support turning on and off virtual buffers
3967 automatically.
3968
61e56e2c
JB
39692013-07-06 Juanma Barranquero <lekktu@gmail.com>
3970
3971 * simple.el (alternatives-define): New macro.
3972
321e1a9c
SM
39732013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * subr.el (read-quoted-char): Use read-key.
3976 (sit-for): Let read-event decode tty input (bug#14782).
3977
d610f6dd
SB
39782013-07-05 Stephen Berman <stephen.berman@gmx.net>
3979
3980 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3981 mode command and externally. Fix various related bugs.
3982 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3983 (todo-delete-file): New command.
3984 (todo-check-file): New function.
3985 (todo-show): Handle external deletion of the file we're trying to
3986 show (bug#14688). Replace called-interactively-p by an optional
3987 prefix argument to avoid problematic interaction with catch form
3988 when byte compiled (bug#14702).
3989 (todo-quit): Handle external deletion of the archive's todo file.
3990 Make sure the buffer that was visiting the archive file is still
3991 live before trying to bury it.
3992 (todo-category-completions): Handle external deletion of any
3993 category completion files.
3994 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3995 of todo files, in case of external deletion.
3996 (todo-add-file): Replace unnecessary setq by let-binding.
3997 (todo-find-archive): Check whether there are any archives.
3998 Replace unnecessary setq by let-binding.
3999 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4000 archive buffer whether or not the archive already exists.
4001 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4002 check if the archive is new; if it is, update list of archives.
4003 (todo-default-todo-file): Allow nil to be a valid value for when
4004 there are no todo files.
4005 (todo-reevaluate-default-file-defcustom): Use corrected definition
4006 of todo-default-todo-file.
4007 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4008 (todo-delete-category, todo-show-categories-table)
4009 (todo-category-number): Clarify comment.
4010 (todo-filter-items): Clarify documentation string.
4011 (todo-show-current-file, todo-display-as-todo-file)
4012 (todo-reset-and-enable-done-separator): Tweak documentation string.
4013 (todo-done-separator): Make separator length window-width, since
4014 bug#2749 is now fixed.
4015
ddbdfd6f
MA
40162013-07-05 Michael Albinus <michael.albinus@gmx.de>
4017
321e1a9c
SM
4018 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4019 Support both "gvfs-monitor-dir" and "inotifywait".
4020 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4021 `tramp-sh-file-notify-process-filter'.
4022 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4023 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4024
96eb829a
LL
40252013-07-05 Leo Liu <sdl.web@gmail.com>
4026
4027 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4028
cf13177e
YM
40292013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4030
4031 * frame.el (display-pixel-height, display-pixel-width)
4032 (display-mm-height, display-mm-width): Mention behavior on
4033 multi-monitor setups in docstrings.
4034 (w32-display-monitor-attributes-list): Declare function.
4035 (display-monitor-attributes-list): Use it.
4036
864c58ca
MA
40372013-07-04 Michael Albinus <michael.albinus@gmx.de>
4038
4039 * filenotify.el: New package.
4040
4041 * autorevert.el (top): Require filenotify.el.
4042 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4043 instead.
4044 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4045 (auto-revert-notify-handler): Use `file-notify-*' functions.
4046
4047 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4048
321e1a9c
SM
4049 * net/tramp.el (tramp-file-name-for-operation):
4050 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4051
4052 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4053 for `file-notify-add-watch' and `file-notify-rm-watch'.
4054 (tramp-process-sentinel): Improve trace.
4055 (tramp-sh-handle-file-notify-add-watch)
4056 (tramp-sh-file-notify-process-filter)
4057 (tramp-sh-handle-file-notify-rm-watch)
4058 (tramp-get-remote-inotifywait): New defuns.
4059
96673afe
JL
40602013-07-03 Juri Linkov <juri@jurta.org>
4061
4062 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4063 call of `occur-read-primary-args' to interactive spec.
4064
4065 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4066 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4067
924494f4
MM
40682013-07-03 Matthias Meulien <orontee@gmail.com>
4069
4070 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4071 `Buffer-menu-multi-occur'. Add it to the menu.
4072 (Buffer-menu-mode): Document it in docstring.
4073 (Buffer-menu-multi-occur): New command. (Bug#14673)
4074
56f75efc
DG
40752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4076
4077 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4078 keywords and built-ins.
4079
9b057d61
GM
40802013-07-03 Glenn Morris <rgm@gnu.org>
4081
208dee4d
GM
4082 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4083
9b057d61
GM
4084 Make info-xref checks case-sensitive by default
4085 * info.el (Info-find-node, Info-find-in-tag-table)
4086 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4087 Add option for exact case matching of nodes.
4088 * info-xref.el (info-xref): New custom group.
4089 (info-xref-case-fold): New option.
4090 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4091
e01aa29c
LL
40922013-07-03 Leo Liu <sdl.web@gmail.com>
4093
4094 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4095
3086ca2e
DG
40962013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4097
4098 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4099 middle of block statement initially, lower the depth. Remove
4100 FIXME comment, not longer valid. Remove middle of block statement
4101 detection, no need to do that anymore since we've been using
4102 `ruby-parse-region' here.
4103
a3b49114
JD
41042013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4105
4106 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4107
08e5c823 41082013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4109
4110 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4111
2addf922
JB
41122013-07-01 Juanma Barranquero <lekktu@gmail.com>
4113
4114 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4115 (desktop-restore-in-current-display): New customization option.
4116 (desktop--excluded-frame-parameters): Add `font'.
4117 (desktop--save-frames): Rename from desktop--save-windows.
4118 (desktop--restore-in-this-display-p): New function.
4119 (desktop--make-full-frame): Remove unwanted width/height from
4120 full(width|height) frames.
4121 (desktop--restore-frames): Rename from desktop--restore-windows.
4122 Obey desktop-restore-current-display. Do not delete old frames or
4123 select a new frame unless we were able to restore at least one frame.
4124
ef099a94
MN
41252013-06-30 Michal Nazarewicz <mina86@mina86.com>
4126
4127 * files.el (find-file-noselect): Simplify conditional expression.
4128
4129 * remember.el (remember-append-to-file):
4130 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4131
4132 Add `remember-notes' function to store random notes across Emacs
4133 restarts.
4134 * remember.el (remember-data-file): Add :set callback to affect
4135 notes buffer (if any).
4136 (remember-notes): New command.
4137 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4138 New defcustoms for the `remember-notes' function.
4139 (remember-notes-save-and-bury-buffer): New command.
4140 (remember-notes-mode-map): New variable.
4141 (remember-mode): New minor mode.
4142 (remember-notes--kill-buffer-query): New function.
4143 * startup.el (initial-buffer-choice): Add notes to custom type.
4144
0865d506
EZ
41452013-06-30 Eli Zaretskii <eliz@gnu.org>
4146
0ba54312
EZ
4147 * bindings.el (right-char, left-char): Don't call sit-for, this is
4148 no longer needed. Use arithmetic comparison only for numerical
4149 arguments.
4150
ef099a94
MN
4151 * international/mule-cmds.el (select-safe-coding-system):
4152 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4153
2fae38e5
LMI
41542013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4155
4156 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4157 progression on degenerate tables.
ef099a94 4158 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4159
a47cbd64
JB
41602013-06-30 Juanma Barranquero <lekktu@gmail.com>
4161
4162 Some fixes and improvements for desktop frame restoration.
4163 It is still experimental and disabled by default.
4164 * desktop.el (desktop--save-windows): Put the selected frame at
4165 the head of the list.
4166 (desktop--make-full-frame): New function.
4167 (desktop--restore-windows): Try to re-select the frame that was
4168 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4169 just show an error message and continue. Set up maximized frames
4170 so they have default non-maximized dimensions.
a47cbd64 4171
6dbafa30
DG
41722013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4173
ef099a94
MN
4174 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4175 Don't start heredoc inside a string or comment.
6dbafa30 4176
4c672a0f
EZ
41772013-06-29 Eli Zaretskii <eliz@gnu.org>
4178
4179 * bindings.el (visual-order-cursor-movement): New defcustom.
4180 (right-char, left-char): Provide visual-order cursor motion by
4181 calling move-point-visually. Update the doc strings.
4182
50960f36
KH
41832013-06-28 Kenichi Handa <handa@gnu.org>
4184
4185 * international/mule.el (define-coding-system): New coding system
4186 properties :inhibit-null-byte-detection,
4187 :inhibit-iso-escape-detection, and :prefer-utf-8.
4188 (set-buffer-file-coding-system): If :charset-list property of
4189 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4190 appropriate for setting.
4191
c1ea3abf
JB
4192 * international/mule-cmds.el (select-safe-coding-system):
4193 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4194 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4195
4196 * international/mule-conf.el (prefer-utf-8): New coding system.
4197 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4198 files.
4199
75dbaf9d
IK
42002013-06-28 Ivan Kanis <ivan@kanis.fr>
4201
eadb6068
IK
4202 * net/shr.el (shr-render-region): New function.
4203
75dbaf9d
IK
4204 * net/eww.el: Autoload `eww-browse-url'.
4205
9ea5cf9f
DG
42062013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4207
c1ea3abf
JB
4208 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4209 Adapt to `package-desc-version' being a list.
4210 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4211 archive element.
4212
39c0e36f
JB
42132013-06-27 Juanma Barranquero <lekktu@gmail.com>
4214
4215 New experimental feature to save&restore window and frame setup.
4216 * desktop.el (desktop-save-windows): New defcustom.
4217 (desktop--saved-states): New var.
4218 (desktop--excluded-frame-parameters): New defconst.
4219 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4220 (desktop--restore-windows, desktop--save-windows): New functions.
4221 (desktop-save): Call `desktop--save-windows'.
4222 (desktop-read): Call `desktop--restore-windows'.
4223
7f13406b
LMI
42242013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4225
ef099a94 4226 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4227
1e072639
SB
42282013-06-27 Stephen Berman <stephen.berman@gmx.net>
4229
4230 * info.el (Info-try-follow-nearest-node): Move search for footnote
4231 above search for node name to prevent missing a footnote (bug#14717).
4232
f3e2cbde
SB
42332013-06-27 Stephen Berman <stephen.berman@gmx.net>
4234
4235 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4236
99906aa0
LL
42372013-06-27 Leo Liu <sdl.web@gmail.com>
4238
4239 * net/eww.el (eww-read-bookmarks): Check file size.
4240
539f75f4
SM
42412013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4244 advice--pending if newdef is nil or an autoload (bug#13820).
4245 (advice-mapc): New function.
4246
843571cb
LMI
42472013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4248
4249 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4250 probably.
23a75d7f 4251 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4252 (eww-add-bookmark): New command.
4253 (eww-bookmark-mode): New mode and commands.
a285ce99 4254 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4255 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4256
f2136e1e
GM
42572013-06-26 Glenn Morris <rgm@gnu.org>
4258
eab35f39
GM
4259 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4260 (hfy-size): Handle ttys. (Bug#14668)
4261
f2136e1e
GM
4262 * info-xref.el: Update for Texinfo 5 change in *note format.
4263 (info-xref-node-re, info-xref-note-re): New constants.
4264 (info-xref-check-buffer): Use info-xref-note-re.
4265
a49ff80c
SM
42662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4267
a343d218
SM
4268 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4269
a49ff80c
SM
4270 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4271 nil terminate the loop (bug#14718).
4272
8308f184
LMI
42732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4274
4275 * net/eww.el: Rework history traversal. When going forward/back,
4276 put these actions into the history, too, so that they can be
4277 replayed.
26bf2b82 4278 (eww-render): Move the history reset to the correct buffer.
8308f184 4279
ec64c273
JL
42802013-06-25 Juri Linkov <juri@jurta.org>
4281
4282 * files-x.el (modify-dir-local-variable): Change the header comment
4283 in the file with directory local variables. (Bug#14692)
4284
e080a9d7
JL
4285 * files-x.el (read-file-local-variable-value): Add `default'.
4286 (Bug#14710)
4287
bfbc93a1
IK
42882013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4289
4290 * net/eww.el (eww-make-unique-file-name): Create a unique file
4291 name before saving to entering `y' accidentally asynchronously.
4292
42932013-06-25 Ivan Kanis <ivan@kanis.fr>
4294
4295 * net/eww.el (eww-download): New command and keystroke.
4296
16f74f10
LMI
42972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4298
a49ff80c 4299 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4300
4301 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4302 be more consistent with Info and dired.
4303
4304 * net/eww.el (eww-mode-map): Ditto.
4305
12059709
SM
43062013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4309 packages from archives.
4310 (package-archive-contents): Change format; include obsolete packages.
4311 (package-desc): Use `dir' to mark builtin packages.
4312 (package--from-builtin): Set the `dir' field to `builtin'.
4313 (generated-autoload-file, version-control): Declare.
4314 (package-compute-transaction): Change first arg and return value to be
4315 lists of package-descs. Adjust to new package-archive-contents format.
4316 (package--add-to-archive-contents): Adjust to new
4317 package-archive-contents format.
4318 (package-download-transaction): Arg is now a list of package-descs.
4319 (package-install): If `pkg' is a package name, pass it as
4320 a requirement, so it is subject to the usual (e.g. disabled) checks.
4321 (describe-package): Accept package-desc as well.
4322 (describe-package-1): Describe a specific package-desc. Add links to
4323 other package-descs for the same package name.
4324 (package-menu-describe-package): Pass the actual package-desc.
4325 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4326 works correctly.
4327 (package-desc-status): New function.
4328 (package-menu--refresh): New function, extracted
4329 from package-menu--generate.
4330 (package-menu--generate): Use it.
4331 (package-delete): Update package-alist.
4332 (package-menu-execute): Don't call package-initialize.
4333
4334 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4335 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4336 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4337 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4338 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4339 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4340
8bbdea0f
MR
43412013-06-25 Martin Rudalics <rudalics@gmx.at>
4342
4343 * window.el (window--state-get-1): Workaround for bug#14527.
4344 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4345
e82b0991
LMI
43462013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4347
4348 * net/eww.el (eww-back-url): Implement the history by stashing all
4349 the data into a list.
d3f0f918 4350 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4351
c763842b
SM
43522013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4355 for values and use read--expression for expressions (bug#14710).
4356 (read-file-local-variable): Avoid setq.
4357 (read-file-local-variable-mode): Use minor-mode-list.
4358
bceff189
RW
43592013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4360
864c58ca 4361 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4362 for DOI URLs.
4363
45f431c6
RW
43642013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4365
864c58ca 4366 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4367 Update imenu-support when dialect changes.
4368
f42d8237
LL
43692013-06-25 Leo Liu <sdl.web@gmail.com>
4370
4371 * ido.el (ido-read-internal): Allow forward slash on windows.
4372
be549ce6
LMI
43732013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4374
4375 * net/eww.el (eww): Start of strings is \\`, not ^.
4376
71d4c19d
IK
43772013-06-24 Ivan Kanis <ivan@kanis.fr>
4378
5196f88a
IK
4379 * net/shr.el (shr-browse-url): Fix interactive spec.
4380
71d4c19d
IK
4381 * net/eww.el (eww): Add a trailing slash to domain names.
4382
ae36ca55
JB
43832013-06-24 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4386
0ebd92a3
LMI
43872013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4388
bdaa086b
LMI
4389 * net/shr.el (shr-browse-url): Use an external browser if given a
4390 prefix.
4391
c763842b 4392 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4393
b89fc156
IK
43942013-06-24 Ivan Kanis <ivan@kanis.fr>
4395
4396 * net/eww.el (eww): Work more correctly for file: URLs.
4397 (eww-detect-charset): Allow quoted charsets.
4398 (eww-yank-page-url): New command and keystroke.
4399
18eb4bca
DU
44002013-06-24 Daiki Ueno <ueno@gnu.org>
4401
4402 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4403 file name of gpg executable.
4404 (epg-context-program): New function.
4405 (epg-context-home-directory): New function.
4406 (epg-context-set-program): New function.
4407 (epg-context-set-home-directory): New function.
4408 (epg--start): Use `epg-context-program' instead of
4409 'epg-gpg-program'.
4410 (epg--list-keys-1): Likewise.
4411
6c6268c8
LL
44122013-06-24 Leo Liu <sdl.web@gmail.com>
4413
4414 * ido.el (ido-read-internal): Fix bug#14620.
4415
5e400cb3
JB
44162013-06-23 Juanma Barranquero <lekktu@gmail.com>
4417
4418 * faces.el (face-documentation): Simplify.
4419 (read-face-attribute, tty-find-type, x-resolve-font-name):
4420 Use `string-match-p'.
4421 (list-faces-display): Use `string-match-p'. Simplify.
4422 (face-spec-recalc): Check face to avoid face alias loops.
4423 (read-color): Use `string-match-p' and non-capturing parenthesis.
4424
f3f9606c
LMI
44252013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4426
4427 * net/shr.el (shr-rescale-image): Use the new
4428 :max-width/:max-height functionality.
4429
a3ca09b9
IK
44302013-06-23 Ivan Kanis <ivan@kanis.fr>
4431
4432 * net/eww.el (eww-search-prefix): New variable.
4433 (eww): Use it.
f865b474
IK
4434 (eww-external-browser): New variable.
4435 (eww-mode-map): New keystroke.
4436 (eww-browse-with-external-browser): New command.
a3ca09b9 4437
e854cfc7
IK
4438 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4439
18bb9e21
JB
44402013-06-23 Juanma Barranquero <lekktu@gmail.com>
4441
4442 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4443 Don't skip aligning the next header field when padding is 0;
4444 otherwise, field width is not respected unless the title is as
4445 wide as the field.
4446
5b165ade
SM
44472013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4448
4449 * emacs-lisp/package.el (package-el-version): Remove.
4450 (package-process-define-package): Fix inf-loop.
4451 (package-install): Allow symbols as arguments again.
4452
12adebe9
DG
44532013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4454
4455 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4456 add some more keyword-like methods.
4457 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4458
388573ee
JB
44592013-06-22 Juanma Barranquero <lekktu@gmail.com>
4460
4461 * bs.el (bs-buffer-show-mark): Make defvar-local.
4462 (bs-mode): Use setq-local.
4463
4464 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4465 (emacs-lock--try-unlocking): Make defvar-local.
4466
4582a01c 44672013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4468
2663dd23
GM
4469 * play/cookie1.el (cookie-apropos): Minor simplification.
4470
3d94f3ad
GM
4471 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4472
f72e2fdb
DG
44732013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4474
4475 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4476 `regexp-opt', it breaks the build during dumping.
4477
73eab938
DG
44782013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4479
c763842b
SM
4480 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4481 Highlight keyword-like methods on Kernel and Module with
73eab938 4482 font-lock-builtin-face.
5cf8176d
DG
4483 (auto-mode-alist): Consolidate different entries into one regexp
4484 and add more *file-s.
73eab938 4485
d26255f6
SB
44862013-06-21 Stephen Berman <stephen.berman@gmx.net>
4487
4488 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4489
4490 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4491 (diary-entry): Use it in the action of this button type instead of
4492 diary-goto-entry.
4493
4494 * calendar/todo-mode.el: New version.
4495 (todo-add-category): Append new category to end of file and give
4496 it the highest number, instead of putting it at the beginning and
4497 giving it 0. Incorporate noninteractive functionality.
4498 (todo-forward-category): Adapt to 1-based category numbering.
4499 Allow skipping over archived categories.
4500 (todo-backward-category): Derive from todo-forward-category.
4501 (todo-backward-item, todo-forward-item): Make noninteractive and
4502 delegate interactive part to new commands. Make sensitive to done items.
4503 (todo-categories): Make value an alist of category names and
4504 vectors of item counts.
4505 (todo-category-beg): Make a defconst.
4506 (todo-category-number): Use 1 instead of 0 as initial value.
4507 (todo-category-select): Make sensitive to overlays, optional item
4508 highlighting and done items.
4509 (todo-delete-item): Make sensitive to overlays and marked and done items.
4510 (todo-edit-item): Make sensitive to overlays and editing of
4511 date/time header optional. Add format checks.
4512 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4513 no-op if point is not on an item. Advertise using todo-edit-quit.
4514 (todo-edit-mode): Make sensitive to new format, font-locking, and
4515 multiple todo files.
4516 (todo-insert-item, todo-insert-item-here): Derive from
4517 todo-basic-insert-item and extend functionality.
4518 (todo-item-end, todo-item-start): Make sensitive to done items.
4519 (todo-item-string): Don't return text properties. Restore point.
4520 (todo-jump-to-category): Make sensitive to multiple todo files and
4521 todo archives. Use extended category completion.
4522 (todo-lower-item, todo-raise-item): Rename to *-priority and
4523 derive from todo-set-item-priority.
4524 (todo-mode): Derive from special-mode. Make sensitive to new
4525 format, font-locking and multiple todo files. Make read-only.
4526 (todo-mode-map): Don't suppress digit keys, so they can supply
4527 prefix arguments. Add many new key bindings.
4528 (todo-prefix): Insert as an overlay instead of file text.
4529 Change semantics from diary date expression to purely visual mark.
4530 (todo-print): Rename to todo-print-buffer. Make buffer display
4531 features printable. Remove option to restrict number of items
4532 printed. Add option to print to file.
4533 (todo-print-function): Rename to todo-print-buffer-function.
4534 (todo-quit): Extend to handle exiting new todo modes.
4535 (todo-remove-item): Make sensitive to overlays.
4536 (todo-save): Extend to buffers of filtered items.
4537 (todo-show): Make sensitive to done items, multiple todo files and
4538 new todo modes. Offer to convert legacy todo file before creating
4539 first new todo file.
4540 (todo-show-priorities): Rename to todo-top-priorities.
4541 Change semantics of value 0.
4542 (todo-top-priorities): Rename to todo-filter-top-priorities,
4543 derive from todo-filter-items and extend functionality.
4544 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4545 and extend functionality to other types of filtered items.
4546 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4547 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4548 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4549 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4550 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4551 (todo-edit-mode-hook, todo-entry-prefix-function)
4552 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4553 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4554 (todo-initials, todo-insert-threshold, todo-item-string-start)
4555 (todo-line-string, todo-menu, todo-mode-hook)
4556 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4557 (todo-print-priorities, todo-remove-separator)
4558 (todo-save-top-priorities-too, todo-string-count-lines)
4559 (todo-string-multiline-p, todo-time-string-format)
4560 (todo-tmp-buffer-name): Remove.
4561 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4562 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4563 (todo-edit-category-diary-inclusion)
4564 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4565 (todo-edit-file, todo-edit-item-date-day)
4566 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4567 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4568 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4569 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4570 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4571 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4572 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4573 (todo-filter-top-priorities-multifile, todo-find-archive)
4574 (todo-find-filtered-items-file, todo-go-to-source-item)
4575 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4576 (todo-jump-to-archive-category, todo-lower-category)
4577 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4578 (todo-move-category, todo-move-item, todo-next-button)
4579 (todo-next-item, todo-padded-string, todo-powerset)
4580 (todo-previous-button, todo-previous-item)
4581 (todo-print-buffer-to-file, todo-raise-category)
4582 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4583 (todo-set-category-number, todo-set-item-priority)
4584 (todo-set-top-priorities-in-category)
4585 (todo-set-top-priorities-in-file, todo-show-categories-table)
4586 (todo-sort-categories-alphabetically-or-numerically)
4587 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4588 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4589 (todo-toggle-item-header, todo-toggle-item-highlighting)
4590 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4591 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4592 (todo-unarchive-items, todo-unmark-category): New commands.
4593 (todo-absolute-file-name, todo-add-to-buffer-list)
4594 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4595 (todo-basic-insert-item, todo-category-completions)
4596 (todo-category-number, todo-category-string-matcher-1)
4597 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4598 (todo-check-format, todo-clear-matches)
4599 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4600 (todo-current-category, todo-date-string-matcher)
4601 (todo-define-insertion-command, todo-diary-expired-matcher)
4602 (todo-diary-goto-entry, todo-diary-item-p)
4603 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4604 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4605 (todo-done-item-section-p, todo-done-separator)
4606 (todo-done-string-matcher, todo-files, todo-filter-items)
4607 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4608 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4609 (todo-insert-category-line, todo-insert-item-from-calendar)
4610 (todo-insert-sort-button, todo-insert-with-overlays)
4611 (todo-insertion-command-name, todo-insertion-key-bindings)
4612 (todo-label-to-key, todo-longest-category-name-length)
4613 (todo-make-categories-list, todo-mode-external-set)
4614 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4615 (todo-modes-set-3, todo-multiple-filter-files)
4616 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4617 (todo-read-category, todo-read-date, todo-read-dayname)
4618 (todo-read-file-name, todo-read-time)
4619 (todo-reevaluate-category-completions-files-defcustom)
4620 (todo-reevaluate-default-file-defcustom)
4621 (todo-reevaluate-filelist-defcustoms)
4622 (todo-reevaluate-filter-files-defcustom)
4623 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4624 (todo-reset-done-separator, todo-reset-done-separator-string)
4625 (todo-reset-done-string, todo-reset-global-current-todo-file)
4626 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4627 (todo-reset-prefix, todo-set-categories)
4628 (todo-set-date-from-calendar, todo-set-show-current-file)
4629 (todo-set-top-priorities, todo-short-file-name)
4630 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4631 (todo-total-item-counts, todo-update-buffer-list)
4632 (todo-update-categories-display, todo-update-categories-sexp)
4633 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4634 New functions.
4635 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4636 New major modes.
4637 (todo-categories, todo-display, todo-edit, todo-faces)
4638 (todo-filtered): New defgroups.
4639 (todo-archived-only, todo-button, todo-category-string, todo-date)
4640 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4641 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4642 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4643 (todo-add-item-if-new-category, todo-always-add-time-string)
4644 (todo-categories-align, todo-categories-archived-label)
4645 (todo-categories-category-label, todo-categories-diary-label)
4646 (todo-categories-done-label, todo-categories-number-separator)
4647 (todo-categories-todo-label, todo-categories-totals-label)
4648 (todo-category-completions-files, todo-completion-ignore-case)
4649 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4650 (todo-done-separator-string, todo-done-string)
4651 (todo-files-function, todo-filter-done-items, todo-filter-files)
4652 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4653 (todo-initial-category, todo-initial-file, todo-item-mark)
4654 (todo-legacy-date-time-regexp, todo-mode-line-function)
4655 (todo-nondiary-marker, todo-number-prefix)
4656 (todo-print-buffer-function, todo-show-current-file)
4657 (todo-show-done-only, todo-show-first, todo-show-with-done)
4658 (todo-skip-archived-categories, todo-top-priorities-overrides)
4659 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4660 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4661 New defcustoms.
4662 (todo-category-done, todo-date-pattern, todo-date-string-start)
4663 (todo-diary-items-buffer, todo-done-string-start)
4664 (todo-filtered-items-buffer, todo-item-start)
4665 (todo-month-abbrev-array, todo-month-name-array)
4666 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4667 (todo-top-priorities-buffer): New defconsts.
4668 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4669 (todo-categories-with-marks, todo-category-string-face)
4670 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4671 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4672 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4673 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4674 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4675 (todo-font-lock-keywords, todo-global-current-todo-file)
4676 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4677 (todo-insertion-commands-args)
4678 (todo-insertion-commands-args-genlist)
4679 (todo-insertion-commands-names, todo-insertion-map)
4680 (todo-key-bindings-t, todo-key-bindings-t+a)
4681 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4682 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4683 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4684 (todo-visited): New variables.
4685
cad5d1cb
GM
46862013-06-21 Glenn Morris <rgm@gnu.org>
4687
4688 * play/cookie1.el (cookie-apropos): Add optional display argument.
4689 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4690 (psychoanalyze-pinhead): Use cookie-doctor.
4691
9e277302
JB
46922013-06-21 Juanma Barranquero <lekktu@gmail.com>
4693
4694 * emacs-lisp/package.el (tar-get-file-descriptor)
4695 (tar--extract): Declare.
4696
c5b0993e
EW
46972013-06-21 Eduard Wiebe <usenet@pusto.de>
4698
4699 Extend flymake's warning predicate to be a function (bug#14217).
4700 * progmodes/flymake.el (flymake-warning-predicate): New.
4701 (flymake-parse-line): Use it.
4702 (flymake-warning-re): Make obsolete alias to
4703 `flymake-warning-predicate'.
4704
a7d2d465
SM
47052013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4708 (package-obsolete-list): Remove.
4709 (package-activate): Remove min-version argument. Add `force' argument.
4710 Adjust to new package-alist format.
4711 (package-mark-obsolete): Remove.
4712 (package-unpack): Force reload of the package's autoloads.
4713 (package-installed-p): Check builtins if the installed package is not
4714 recent enough.
4715 (package-initialize): Don't reset package-obsolete-list.
4716 Don't specify which package version to activate.
4717 (package-process-define-package, describe-package-1)
4718 (package-menu--generate): Adjust to new package-alist format.
4719
cedf5c9d
JB
47202013-06-21 Juanma Barranquero <lekktu@gmail.com>
4721
4722 * allout-widgets.el (allout-widgets-mode-off)
4723 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4724 (allout-widgets-post-command-business)
4725 (allout-widgets-after-copy-or-kill-function)
4726 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4727 (allout-decorate-item-and-context)
4728 (allout-graphics-modification-handler): Fix typos in docstrings.
4729 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4730
4731 * cmuscheme.el (scheme-start-file): Doc fix.
4732 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4733 (scheme-input-filter): Use `string-match-p'.
4734
4735 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4736
4737 * dired-x.el: Use Dired consistently in docstrings.
4738
4739 * dired.el: Use Dired consistently in docstrings.
4740 (dired-readin, dired-mode): Use `setq-local'.
4741 (dired-switches-alist): Make defvar-local.
4742 (dired-buffers-for-dir): Use `zerop'.
4743 (dired-safe-switches-p, dired-switches-escape-p)
4744 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4745 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4746 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4747 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4748 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4749 (dired-toggle-marks, dired-mark-files-containing-regexp)
4750 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4751 (dired-flag-auto-save-files, dired-flag-backup-files):
4752 Use `looking-at-p'.
4753 (dired-mark-files-regexp, dired-build-subdir-alist):
4754 Use `string-match-p', `looking-at-p'.
4755
4756 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4757 (direct-print-region-helper): Use `string-match-p'.
4758
aed838b5
LL
47592013-06-21 Leo Liu <sdl.web@gmail.com>
4760
cedf5c9d
JB
4761 * comint.el (comint-redirect-results-list-from-process):
4762 Fix infinite loop.
aed838b5 4763
d80a808f
LMI
47642013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4765
4766 * net/eww.el (eww-update-header-line-format): Quote % characters.
4767
e7a526e3
GM
47682013-06-21 Glenn Morris <rgm@gnu.org>
4769
4770 * play/cookie1.el (cookie): New custom group.
4771 (cookie-file): New option.
4772 (cookie-check-file): New function.
4773 (cookie): Make it interactive. Make start and end messages optional.
4774 Interactively, display the result. Default to cookie-file.
4775 (cookie-insert): Default to cookie-file.
4776 (cookie-snarf): Make start and end messages optional.
4777 Default to cookie-file. Use with-temp-buffer.
4778 (cookie-read): Rename from read-cookie.
4779 Make start and end messages optional. Default to cookie-file.
4780 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4781 Do not autoload it.
e7a526e3
GM
4782 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4783 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4784
62efb35e
LL
47852013-06-21 Leo Liu <sdl.web@gmail.com>
4786
4787 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4788
21e3f963
GM
47892013-06-21 Glenn Morris <rgm@gnu.org>
4790
4791 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4792
fd846ab4
SM
47932013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4794 Daniel Hackney <dan@haxney.org>
4795
4796 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4797 Consolidate the single-file vs tarball code.
4798 (package-desc-suffix): New function.
4799 (package-desc-full-name): Don't bother inlining it.
4800 (package-load-descriptor): Return the new package-desc.
4801 (package-mark-obsolete): Remove unused arg `package'.
4802 (package-unpack): Make it work for single files as well.
4803 Make it update package-alist.
4804 (package--make-autoloads-and-stuff): Rename from
4805 package--make-autoloads-and-compile. Don't compile any more.
4806 (package--compile): New function.
4807 (package-generate-description-file): New function, extracted from
4808 package-unpack-single.
4809 (package-unpack-single): Remove.
4810 (package--with-work-buffer): Add indentation and debugging info.
4811 (package-download-single): Remove.
4812 (package-install-from-archive): Rename from package-download-tar, make
4813 it take a pkg-desc, and make it work for single files as well.
4814 (package-download-transaction): Simplify.
4815 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4816 external tar program.
4817 (package-install-from-buffer): Remove `pkg-desc' argument.
4818 Use package-tar-file-info for tar-mode buffers.
4819 (package-install-file): Simplify accordingly.
4820 (package-archive-base): Change to take a pkg-desc.
4821 * tar-mode.el (tar--check-descriptor): New function, extracted from
4822 tar-get-descriptor.
4823 (tar-get-descriptor): Use it.
4824 (tar-get-file-descriptor): New function.
4825 (tar--extract): New function, extracted from tar-extract.
4826 (tar--extract): Use it.
4827 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4828 case the summary uses non-ascii. Adjust to new calling convention of
4829 package-tar-file-info.
4830
b7deae5e
LL
48312013-06-21 Leo Liu <sdl.web@gmail.com>
4832
fd846ab4
SM
4833 * comint.el (comint-redirect-results-list-from-process):
4834 Fix random delay. (Bug#14681)
b7deae5e 4835
7a65a0b2
JB
48362013-06-21 Juanma Barranquero <lekktu@gmail.com>
4837
4838 * profiler.el (profiler-format-number): Use log, not log10.
4839
1493c2af
JB
48402013-06-20 Juanma Barranquero <lekktu@gmail.com>
4841
4842 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4843
aff6371e
SM
48442013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4847 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4848 yet available.
4849 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4850 (AUTOGENEL): ... here.
4851 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4852 (cl--defsubst-expand): Use it.
4853
89561f72
PE
48542013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4855
4856 * subr.el (log10): Move here from C code, and declare as obsolete.
4857 All uses of (log10 X) replaced with (log X 10).
4858
47199123
JB
48592013-06-20 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4862 Declare with `defvar-local'.
4863 (tabulated-list-use-header-line, tabulated-list-entries)
4864 (tabulated-list-padding, tabulated-list-printer)
4865 (tabulated-list-sort-key): Declare with `defvar-local'.
4866 (tabulated-list-init-header, tabulated-list-print-fake-header):
4867 Use `setq-local'.
4868
4a172eab
MA
48692013-06-20 Michael Albinus <michael.albinus@gmx.de>
4870
47199123
JB
4871 * arc-mode.el (archive-mode): Add `archive-write-file' to
4872 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4873
5fc0acc0
JB
48742013-06-20 Juanma Barranquero <lekktu@gmail.com>
4875
d5b27848
JB
4876 * cus-edit.el (custom-commands): Fix typos.
4877 (custom-display): Fix tooltip text.
4878 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4879 Fix typos in docstrings.
4880 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4881 (custom-unlispify-menu-entry, custom-magic-value-create)
4882 (custom-add-see-also, custom-group-value-create): Use ?\s.
4883 (custom-guess-type, customize-apropos, editable-field)
4884 (custom-face-value-create): Use `string-match-p'.
4885 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4886
4887 * custom.el (custom-load-symbol): Use `string-match-p'.
4888
a5c581d8
JB
4889 * ansi-color.el: Convert to lexical binding.
4890 (ansi-colors): Fix URL.
4891 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4892 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4893 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4894
970ad972
G
48952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4896
4897 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4898
4899 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4900
49012013-06-19 Tom Tromey <tromey@redhat.com>
4902
4903 * net/eww.el (eww-top-url): Remove.
4904 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4905 (eww-render): Set new variables. Don't set eww-top-url.
4906 (eww-handle-link): Handle "prev", "home", and "contents".
4907 Downcase the rel text.
4908 (eww-top-url): Choose best top URL.
4909
49102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911
4912 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4913 relying in widget.el. Using widget.el leads to too many
4914 user interface inconsistencies.
4915 (eww-self-insert): Implement entering commands in text fields.
4916 (eww-process-text-input): New function to make text input field editing
4917 work.
4918 (eww-submit): Rewrite to use the new-style form methods.
4919 (eww-select-display): Display the correct selected item.
4920 (eww-change-select): Implement changing the select value.
4921 (eww-toggle-checkbox): Implement radio/checkboxes.
4922 (eww-update-field): Fix compilation error.
4923 (eww-tag-textarea): Implement <textarea>.
4924
4925 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4926 we don't shadow mode-specific bindings.
4927
4928 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4929 nothing to push.
4930
4931 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4932
4582a01c 49332013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4934
4935 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4936
15b263dc
MA
49372013-06-19 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4940 not needed.
4941
4942 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4943
8f5297f7
LMI
49442013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4945
4946 * net/browse-url.el (browse-url-browser-function):
4947 `eww-browse-url' has the right calling signature, `eww' does not.
4948
011c4552
GM
49492013-06-19 Glenn Morris <rgm@gnu.org>
4950
2285bd27
GM
4951 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4952 Only eval autoloaded macros.
4953 (byte-compile-autoload): Only give the macro warning for macros.
4954
1d653303
GM
4955 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4956 (ps-underlined-faces): Declare.
4957
bdd779ec
GM
4958 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4959 (speedbar-add-supported-extension): Declare.
4960
011c4552
GM
4961 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4962 Don't include a date stamp in the header of the generated file;
4963 it leads to needless differences between output files.
4964
e59dfb0e
MA
49652013-06-19 Michael Albinus <michael.albinus@gmx.de>
4966
c763842b
SM
4967 * net/secrets.el (secrets-struct-secret-content-type):
4968 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4969 Some servers do not offer introspection.
e59dfb0e 4970
102626e2
SM
49712013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * electric.el (electric-pair-mode): Improve interaction with
4974 electric-layout-mode.
4975 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4976 (electric-pair-syntax): Use text-mode-syntax-table in comments
4977 and strings.
4978 (electric-pair--insert): New function.
4979 (electric-pair-post-self-insert-function): Use it and
4980 electric--after-char-pos.
4981
ad528125
LL
49822013-06-19 Leo Liu <sdl.web@gmail.com>
4983
4984 * progmodes/octave.el (octave-help): Fix regexp.
4985
924d6997
G
49862013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4987
4988 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4989 (shr-table-horizontal-line): Allow nil as a value, and change the
4990 default.
4991 (shr-insert-table-ruler): Respect the nil value.
4992
49932013-06-18 Tom Tromey <tromey@barimba>
4994
4995 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4996 New defvars.
4997 (eww-open-file): New defun.
4998 (eww-render): Initialize new variables.
4999 (eww-display-html): Handle "link" and "a".
5000 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5001 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5002 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5003 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5004 New defuns.
924d6997 5005
d1bbba4f
DG
50062013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5007
5008 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5009 Distinguish ternary operator tokens from slash symbol and slash
5010 char literal.
5011
14dd22d2
JB
50122013-06-18 Juanma Barranquero <lekktu@gmail.com>
5013
5014 Convert symbol prettification into minor mode and global minor mode.
5015
5016 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5017 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5018 (prettify-symbols--keywords): Rename from
5019 `prog-prettify-symbols-alist' and make a local defvar.
5020 (prettify-symbols--compose-symbol): Rename from
5021 `prog--prettify-font-lock-compose-symbol'.
5022 (prettify-symbols--make-keywords): Rename from
5023 `prog-prettify-font-lock-symbols-keywords' and simplify.
5024 (prog-prettify-install): Remove.
5025 (prettify-symbols-mode): New minor mode, based on
5026 `prog-prettify-install'.
5027 (turn-on-prettify-symbols-mode): New function.
5028 (global-prettify-symbols-mode): New globalized minor mode.
5029
5030 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5031 * progmodes/cfengine.el (cfengine3-mode):
5032 * progmodes/perl-mode.el (perl-mode): Don't call
5033 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5034
292c880c
JL
50352013-06-18 Juri Linkov <juri@jurta.org>
5036
5037 * files-x.el (modify-file-local-variable-message): New function.
5038 (modify-file-local-variable)
5039 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5040 and call `modify-file-local-variable-message' when it's non-nil.
5041 (add-file-local-variable, delete-file-local-variable)
5042 (add-file-local-variable-prop-line)
5043 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5044 and use it. (Bug#9820)
5045
0950aa27
JL
50462013-06-18 Juri Linkov <juri@jurta.org>
5047
5048 * emulation/vi.el (vi-shell-op):
5049 * emulation/vip.el (vip-execute-com, ex-command):
5050 * emulation/viper-cmd.el (viper-exec-bang):
5051 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5052 the call of `shell-command-on-region'. (Bug#14637)
5053
5054 * simple.el (shell-command-on-region): Doc fix.
5055
8fbcca16
SM
50562013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5059 (bug#14633).
5060
dd7426ea
GM
50612013-06-18 Glenn Morris <rgm@gnu.org>
5062
4ba54f7d
GM
5063 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5064
dd7426ea
GM
5065 * newcomment.el (comment-search-forward, comment-search-backward):
5066 Doc fix. (Bug#14376)
5067
58aa805b
JB
50682013-06-18 Juanma Barranquero <lekktu@gmail.com>
5069
5070 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5071 (buffer-face-mode-invoke): Doc fix.
5072
9a08a617
MM
50732013-06-18 Matthias Meulien <orontee@gmail.com>
5074
5075 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5076 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5077
f2f426ca
GM
50782013-06-18 Glenn Morris <rgm@gnu.org>
5079
9445f99b
GM
5080 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5081 Replace obsolete function generic-make-keywords with its expansion.
5082
e0df2d14
GM
5083 * progmodes/python.el (ffap-alist): Declare.
5084
f2f426ca
GM
5085 * textmodes/reftex.el (bibtex-mode-map): Declare.
5086
f7f9a720
SM
50872013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5090 (package-unpack, package-unpack-single): Return the pkg-dir.
5091 (package-download-transaction): Use it to update package-alist.
5092
57ff04e0
LMI
50932013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5094
5095 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5096 possible choice.
5097
c048c022
JL
50982013-06-17 Juri Linkov <juri@jurta.org>
5099
5100 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5101
b5bcaee5
DG
51022013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5103
a020afb9
JB
5104 * emacs-lisp/package.el (package-load-descriptor):
5105 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5106 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5107
551e07e5
JB
51082013-06-17 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * startup.el (command-line): Expand package name returned by
5111 `package--description-file' (bug#14639).
5112
d363bffb
DG
51132013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5114
5115 * emacs-lisp/package.el (package-load-descriptor): Do not call
5116 `emacs-lisp-mode', just use its syntax table.
5117
f612933b
JB
51182013-06-17 Juanma Barranquero <lekktu@gmail.com>
5119
5120 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5121 `font-lock-extra-managed-props' if any prettifying keyword is added.
5122 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5123 (prog-mode): Use `setq-local'.
5124
db3b7db5
SM
51252013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * international/characters.el (standard-case-table): Set syntax of ?»
5128 and ?« to punctuation.
5129
f3d674df
JB
51302013-06-16 Juanma Barranquero <lekktu@gmail.com>
5131
5132 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5133 Save relevant match data before calling `syntax-ppss' (bug#14595).
5134
31489a32
JL
51352013-06-15 Juri Linkov <juri@jurta.org>
5136
5137 * files-x.el (modify-file-local-variable-prop-line): Add local
5138 variables to the end of the existing comment on the first line.
5139 Use `file-auto-mode-skip' to skip interpreter magic line,
5140 and also skip XML declaration.
5141
66bd25ab
SM
51422013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * startup.el (package--builtin-versions): New var.
5145 (package-subdirectory-regexp): Remove.
5146 (package--description-file): Hard code its value instead.
5147
5148 * emacs-lisp/package.el: Don't activate packages older than builtin.
5149 (package-obsolete-list): Rename from package-obsolete-alist, and make
5150 it into a simple list of package-desc.
5151 (package-strip-version): Remove.
5152 (package-built-in-p): Use package--builtin-versions.
5153 (package-mark-obsolete): Simplify.
5154 (package-process-define-package): Mark it obsolete if older than the
5155 builtin version.
5156 (package-handle-response): Use line-end-position.
5157 (package-read-archive-contents, package--download-one-archive):
5158 Simplify.
5159 (package--add-to-archive-contents): Skip if older than the builtin or
5160 installed version.
5161 (package-menu-describe-package): Fix last change.
5162 (package-list-unversioned): New var.
5163 (package-menu--generate): Use it.
5164
5165 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5166 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5167 (autoload-builtin-package-versions): New variable.
5168 (autoload-generate-file-autoloads): Use them.
5169 Remove the list of autoloaded functions/macros from the
5170 (autoload...) comments.
5171
5172 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5173
9583ec36
EZ
51742013-06-15 Eli Zaretskii <eliz@gnu.org>
5175
5176 * simple.el (line-move-partial): Don't jump to the next screen
5177 line as soon as it becomes visible. Instead, continue enlarging
5178 the vscroll until the portion of a tall screen line that's left on
5179 display is about the height of the frame's default font.
5180 (Bug#14567)
5181
f0100d8a
GM
51822013-06-15 Glenn Morris <rgm@gnu.org>
5183
b86a85ca
GM
5184 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5185 compilation-error-regexp-alist void, or local while let-bound.
5186
f0100d8a
GM
5187 * progmodes/make-mode.el (makefile-mode-syntax-table):
5188 Treat "=" as punctuation. (Bug#14614)
5189
05e7ce90
JB
51902013-06-15 Juanma Barranquero <lekktu@gmail.com>
5191
5192 * help-fns.el (describe-variable):
5193 Add extra line for permanent-local variables.
5194
12e5e86e
SH
51952013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5196
5197 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5198 Add export, import, library. (Bug#9164)
5199 (library): Set indent function.
5200
230dcbaf
GM
52012013-06-14 Glenn Morris <rgm@gnu.org>
5202
5203 * term/xterm.el (xterm--query):
5204 Stop after first matching handler. (Bug#14615)
5205
e36b2d20 52062013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5207
5208 Add support for dired in saveplace.
5209 * dired.el (dired-initial-position-hook): New variable.
5210 (dired-initial-position): Call hook to place cursor position.
5211 * saveplace.el (save-place-to-alist): Add dired position.
5212 (save-place-dired-hook): New function.
5213
0b31660d
SM
52142013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5215
bf1e6ae8
SM
5216 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5217 through a symbol rather than letrec.
5218
1b8dff23
SM
5219 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5220 (package-desc): Add `dir' field.
5221 (package-desc-full-name): New function.
5222 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5223 (package-maybe-load-descriptor): Remove.
5224 (package-load-all-descriptors): Just call package-load-descriptor.
5225 (package--disabled-p): New function.
5226 (package-desc-vers, package-desc-doc): Remove aliases.
5227 (package--dir): Remove function.
5228 (package-activate): Check if a package is disabled.
5229 (package-process-define-package): New function, extracted from
5230 define-package.
5231 (define-package): Turn into a place holder.
5232 (package-unpack-single, package-tar-file-info):
5233 Use package--description-file.
5234 (package-compute-transaction): Use package--disabled-p.
5235 (package-download-transaction): Don't call
5236 package-maybe-load-descriptor since they're all loaded anyway.
5237 (package-install): Change argument to be a pkg-desc.
5238 (package-delete): Use a single pkg-desc argument.
5239 (describe-package-1): Use package-desc-dir instead of package--dir.
5240 Use package-desc property instead of package-symbol.
5241 (package-install-button-action): Adjust accordingly.
5242 (package--push): Rewrite.
5243 (package-menu--print-info): Adjust accordingly. Change the ID format
5244 to be a pkg-desc.
5245 (package-menu-describe-package, package-menu-get-status)
5246 (package-menu--find-upgrades, package-menu-mark-upgrades)
5247 (package-menu-execute, package-menu--name-predicate):
5248 Adjust accordingly.
5249 * startup.el (package--description-file): New function.
5250 (command-line): Use it.
5251 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5252 Use package-desc-version.
5253
0b31660d
SM
5254 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5255 (byte-compile-preprocess): Use it.
5256 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5257 can't quite recognize.
5258 (byte-compile-add-to-list): Remove.
5259 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5260 (cconv-closure-convert): Add assertion.
5261
5262 * emacs-lisp/map-ynp.el: Use lexical-binding.
5263 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5264 Factor out some repeated code.
5265
de0503df
SM
52662013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * subr.el (with-eval-after-load): New macro.
5269 (eval-after-load): Allow form to be a function.
5270 take advantage of lexical-binding.
5271 (do-after-load-evaluation): Use dolist and adjust to new format.
5272 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5273
bc5c8c5a
JL
52742013-06-13 Juri Linkov <juri@jurta.org>
5275
5276 * replace.el (perform-replace): Display "symbol " and other search
5277 modes from `isearch-message-prefix' in the *Help* buffer.
5278
5279 * isearch.el (isearch-query-replace): Add " symbol" and other
5280 possible search modes from `isearch-message-prefix' to the prompt.
5281 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5282 when reading a regexp to collect.
5283
a22289f7
JL
52842013-06-13 Juri Linkov <juri@jurta.org>
5285
5286 * isearch.el (word-search-regexp): Match whitespace if the search
5287 string begins or ends in whitespace. The LAX arg is applied to
5288 both ends of the search string. Use `regexp-quote' and explicit
5289 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5290 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5291 boundaries are replaced with symbol boundaries, and characters
5292 between symbols match non-word non-symbol syntax. (Bug#14602)
5293
cb89acab
JL
52942013-06-13 Juri Linkov <juri@jurta.org>
5295
5296 * isearch.el (isearch-del-char): Don't exceed the length of
5297 `isearch-string' by the prefix arg. (Bug#14563)
5298
6e8cfc81
JL
52992013-06-13 Juri Linkov <juri@jurta.org>
5300
5301 * isearch.el (isearch-yank-word, isearch-yank-line)
5302 (isearch-char-by-name, isearch-quote-char)
5303 (isearch-printing-char, isearch-process-search-char):
5304 Add optional count prefix arg. (Bug#14563)
5305
5306 * international/isearch-x.el
5307 (isearch-process-search-multibyte-characters):
5308 Add optional count prefix arg.
5309
c23d55f4
VS
53102013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5313 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5314 lexical-binding.
5315
53162013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5317
5318 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5319
ba947bc4
GM
53202013-06-13 Glenn Morris <rgm@gnu.org>
5321
8baeb37a
GM
5322 * startup.el (tty-handle-args):
5323 Don't just discard "--" and anything after. (Bug#14608)
5324
ba947bc4
GM
5325 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5326
9abefce4
MA
53272013-06-13 Michael Albinus <michael.albinus@gmx.de>
5328
5329 Implement changes in Secret Service API. Make it backward compatible.
5330 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5331 (secrets-create-item): Use it. Prefix properties with interface.
5332
5755011f
MH
53332013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5334
5335 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5336 (term-emulate-terminal): Respect term-suppress-hard-newline.
5337
1261d2da
S
53382013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5339
5340 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5341 Only remove a `thumb-file' overlay. (Bug#14548)
5342
868490bb
GJ
53432013-06-12 Grégoire Jadi <daimrod@gmail.com>
5344
5345 * mail/reporter.el (reporter-submit-bug-report):
5346 Handle missing package-name. (Bug#14600)
5347
79d7167f
TH
53482013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5349
5350 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5351 (reftex-citation-prompt, reftex-default-bibliography)
5352 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5353 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5354 (reftex-bib-sort-author, reftex-bib-sort-year)
5355 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5356 (reftex-extract-bib-entries-from-thebibliography)
5357 (reftex-get-bibkey-default, reftex-get-bib-names)
5358 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5359 (reftex-format-bib-entry, reftex-parse-bibitem)
5360 (reftex-format-bibitem, reftex-do-citation)
5361 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5362 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5363 (reftex-insert-bib-matches, reftex-format-citation)
5364 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5365 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5366 existing comments into docstrings.
5367
5f9dbd7a
XF
53682013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5369
5370 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5371
94df41ab
AS
53722013-06-12 Andreas Schwab <schwab@suse.de>
5373
5374 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5375 for auto-save files.
5376
a7f3fecc
GM
53772013-06-12 Glenn Morris <rgm@gnu.org>
5378
001809f6
GM
5379 * ido.el (ido-delete-ignored-files): Remove.
5380 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5381 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5382
834b5ded
EL
53832013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5384
08c73ed2
EL
5385 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5386
834b5ded
EL
5387 * ido.el (ido-delete-ignored-files): New function,
5388 split from ido-make-file-list-1.
5389 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5390 (ido-make-file-list-1): Use ido-delete-ignored-files.
5391
daabf15a
LL
53922013-06-12 Leo Liu <sdl.web@gmail.com>
5393
5394 * progmodes/octave.el (inferior-octave-startup)
5395 (inferior-octave-completion-table)
5396 (inferior-octave-track-window-width-change)
5397 (octave-eldoc-function-signatures, octave-help)
5398 (octave-find-definition): Use single quoted strings.
5399 (inferior-octave-startup-args): Change default value.
5400 (inferior-octave-startup): Do not hard code "-i" and
5401 "--no-line-editing".
5402 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5403 (inferior-octave-directory-tracker): Use it.
5404 (octave-goto-function-definition): Robustify.
5405 (octave-help): Support highlighting operators in 'See also'.
5406 (octave-find-definition): Find subfunctions only in Octave mode.
5407
cf4e5178
SM
54082013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * help-fns.el (help-fns--compiler-macro): If the handler function is
5411 named, then put a link to it.
5412 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5413 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5414 (cl-typep): Use it.
5415 (cl-eval-when): Simplify debug spec.
5416 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5417 compiler-macro function instead of setting `compiler-macro-file'.
5418
99c81280 54192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5420
5421 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5422 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5423
f56be016
SM
54242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5425 Daniel Hackney <dan@haxney.org>
5426
5427 First part of Daniel Hackney's patch to package.el.
5428 * emacs-lisp/package.el: Use defstruct.
5429 (package-desc): New, main struct.
5430 (package--bi-desc, package--ac-desc): New structs, used to describe the
5431 format in external files.
5432 (package-desc-vers): Replace with package-desc-version accessor.
5433 (package-desc-doc): Replace with package-desc-summary accessor.
5434 (package-activate-1): Remove `package' arg since the pkg-vec now
5435 includes the name.
5436 (define-package): Use package-desc-from-define.
5437 (package-unpack-single): Change file-name arg to be a symbol.
5438 (package--add-to-archive-contents): Use package-desc-create and new
5439 accessor functions to package--ac-desc.
5440 (package-buffer-info, package-tar-file-info): Return a package-desc.
5441 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5442 arg to be a package-desc.
5443 (package-install-file): Adjust accordingly. Use \' to match EOS.
5444 (package--from-builtin): New function.
5445 (describe-package-1, package-menu--generate): Use it.
5446 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5447 (package-generate-autoloads): Idem and return the name of the file.
5448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5449 Change pkg-info arg to be a package-desc.
5450 Use package-make-ac-desc.
5451 (package-upload-file): Use \' to match EOS.
5452 * finder.el (finder-compile-keywords): Use package-make-builtin.
5453
31119d63
SM
54542013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5455
931a2762
SM
5456 * vc/vc.el (vc-deduce-fileset): Change error message.
5457 (vc-read-backend): New function.
5458 (vc-next-action): Use it.
5459
5a3eb0c6
SM
5460 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5461
e3eb1bb7
SM
5462 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5463 (prolog-font-lock-keywords): Use regexp-opt instead.
5464 Don't manually highlight strings.
5465 (prolog-mode-variables): Simplify comment-start-skip.
5466 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5467
31119d63
SM
5468 * emacs-lisp/generic.el (generic--normalise-comments)
5469 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5470 (generic-mode-set-comments): Use them.
5471 (generic-bracket-support): Use setq-local.
5472 (generic-make-keywords-list): Declare obsolete.
5473
7de135d0
GM
54742013-06-11 Glenn Morris <rgm@gnu.org>
5475
5476 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5477 Prettify after setting font-lock-defaults. (Bug#14574)
5478
fa6bc6fd
JB
54792013-06-11 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * replace.el (query-replace, occur-read-regexp-defaults-function)
5482 (replace-search):
5483 * subr.el (declare-function, number-sequence, local-set-key)
5484 (substitute-key-definition, locate-user-emacs-file)
5485 (with-silent-modifications, split-string, eval-after-load):
5486 Fix typos, remove unneeded backslashes and reflow some docstrings.
5487
cf1f9b9a
SM
54882013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5491 default for Elisp files.
5492
56602a4b
GM
54932013-06-11 Glenn Morris <rgm@gnu.org>
5494
5495 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5496 although define-derived-mode was doing this anyway. (Bug#14583)
5497
30ae0b2c
JB
54982013-06-10 Juanma Barranquero <lekktu@gmail.com>
5499
5500 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5501 Fix make-variable-buffer-local call to refer to the correct variable.
5502
fa472906
AG
55032013-06-10 Aidan Gauland <aidalgol@amuri.net>
5504
5505 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5506 (eshell-visual-subcommands, eshell-visual-options):
5507 Add summary line to docstrings. Add cross-references.
fa472906 5508
ff4871b9
GM
55092013-06-10 Glenn Morris <rgm@gnu.org>
5510
5511 * epa.el (epa-read-file-name): New function. (Bug#14510)
5512 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5513
04fcf1b0
AG
55142013-06-09 Aidan Gauland <aidalgol@amuri.net>
5515
5516 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5517 output redirection to be ignored with visual commands.
5518
88b00caa
AG
55192013-06-09 Aidan Gauland <aidalgol@amuri.net>
5520
5521 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5522 (eshell-term-initialize): Move long lambda to separate function
5523 eshell-visual-command-p.
e7b41c4c
JB
5524 * eshell/em-dirs.el (eshell-dirs-initialise):
5525 * eshell/em-script.el (eshell-script-initialize):
5526 Add missing #' to lambda.
88b00caa 5527
fda74125
LL
55282013-06-08 Leo Liu <sdl.web@gmail.com>
5529
5530 * progmodes/octave.el (octave-add-log-current-defun): New function.
5531 (octave-mode): Set add-log-current-defun-function.
5532 (octave-goto-function-definition): Do not move point if not found.
5533 (octave-find-definition): Enhance to try subfunctions first.
5534
467f3b33
GM
55352013-06-08 Glenn Morris <rgm@gnu.org>
5536
5537 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5538 (byte-compile-backward-char, byte-compile-backward-word):
5539 Improve previous change, to handle non-explicit nil.
5540
544badc3
SM
55412013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5544 (smie--opener/closer-at-point): New function.
5545 (smie--matching-block-data): Use it. Don't match from right after an
5546 opener or right before a closer. Obey smie-blink-matching-inners.
5547 Don't signal a mismatch for repeated inners like "switch..case..case".
5548
a175bf33
LL
55492013-06-07 Leo Liu <sdl.web@gmail.com>
5550
5551 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5552 to t. (Bug#14303)
ce8209d4
LL
5553 (octave-function-header-regexp): Fix. (Bug#14570)
5554 (octave-help-mode-finish-hook, octave-help-mode-finish):
5555 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5556
5557 * newcomment.el (comment-search-backward): Revert last change.
5558 (Bug#14434)
5559
5560 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5561
a822acff
EZ
55622013-06-07 Eli Zaretskii <eliz@gnu.org>
5563
5564 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5565 through xargs, to avoid failure due to MS-Windows limitations on
5566 command-line length.
5567
961166f5
GM
55682013-06-06 Glenn Morris <rgm@gnu.org>
5569
d0341459
GM
5570 * font-lock.el (lisp-font-lock-keywords-2):
5571 Treat user-error like error.
5572
961166f5
GM
5573 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5574 (byte-compile-backward-char, byte-compile-backward-word):
5575 Handle explicit nil arguments. (Bug#14565)
5576
80fa505f
AM
55772013-06-05 Alan Mackenzie <acm@muc.de>
5578
5579 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5580 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5581 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5582 (Bug#9706)
80fa505f 5583
fccdc796
SM
55842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * autorevert.el (auto-revert-notify-handler): Use memq.
5587 Hide assertion failure.
5588
5589 * skeleton.el: Use cl-lib.
5590 (skeleton-further-elements): Use defvar-local.
5591 (skeleton-insert): Use cl-progv.
5592
9bfff84b
TZ
55932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5594
5595 * progmodes/prog-mode.el (prog-prettify-symbols)
5596 (prog-prettify-install): Update docstrings.
5597
55577e7c
SM
55982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * simple.el: Move all the prog-mode code to prog-mode.el.
5601 * progmodes/prog-mode.el: New file.
5602 * loadup.el: Add prog-mode.el.
5603
8fc57765
TZ
56042013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5605
5606 * simple.el (prog-prettify-symbols): Add version.
5607 (prog-prettify-install): Add convenience function to prettify symbols.
5608
5609 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5610 (perl--augmented-font-lock-keywords-1)
5611 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5612 variables and use it.
5613
5614 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5615 (cfengine3-mode): Remove unneeded variable and use it.
5616
5617 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5618 (lisp--augmented-font-lock-keywords-1)
5619 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5620 Remove unneeded variables and use it.
5621
650645d5 56222013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5623
5624 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5625 to point when opening the connection. (Bug#14380)
28f5da6d 5626
781b4af6
SM
56272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * subr.el (load-history-regexp, load-history-filename-element)
5630 (eval-after-load, after-load-functions, do-after-load-evaluation)
5631 (eval-next-after-load, display-delayed-warnings)
5632 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5633 definition of save-match-data.
5634 (overriding-local-map): Remove accidental obsolescence declaration.
5635
5636 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5637
3ca0d0b4
TZ
56382013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5639
5640 Generalize symbol prettify support to prog-mode and implement it
5641 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5642 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5643 (prog--prettify-font-lock-compose-symbol)
5644 (prog-prettify-font-lock-symbols-keywords): New variables and
5645 functions to support symbol prettification.
5646 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5647 (lisp--augmented-font-lock-keywords-1)
5648 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5649 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5650 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5651 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5652 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5653 * progmodes/perl-mode.el (perl-prettify-symbols)
5654 (perl--font-lock-compose-symbol)
5655 (perl--font-lock-symbols-keywords): Move to prog-mode.
5656 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5657 (perl-font-lock-keywords-1)
5658 (perl-font-lock-keywords-2): Remove explicit prettify support.
5659 (perl--augmented-font-lock-keywords)
5660 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5661 (perl--augmented-font-lock-keywords-2, perl-mode):
5662 Implement prettify support.
3ca0d0b4 5663
976cb066
LL
56642013-06-05 Leo Liu <sdl.web@gmail.com>
5665
5666 Re-implement smie matching block highlight using
5667 show-paren-data-function. (Bug#14395)
5668 * emacs-lisp/smie.el (smie-matching-block-highlight)
5669 (smie--highlight-matching-block-overlay)
5670 (smie--highlight-matching-block-lastpos)
5671 (smie-highlight-matching-block)
5672 (smie-highlight-matching-block-mode): Remove.
5673 (smie--matching-block-data-cache): New variable.
5674 (smie--matching-block-data): New function.
5675 (smie-setup): Use smie--matching-block-data for
5676 show-paren-data-function.
5677
5678 * progmodes/octave.el (octave-mode-menu): Fix.
5679 (octave-find-definition): Skip garbage lines.
5680
208d0342
SM
56812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 Fix compilation error with simultaneous dynamic+lexical scoping.
5684 Add warning when a defvar appears after the first let-binding.
5685 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5686 (byte-compile-close-variables): Initialize it.
5687 (byte-compile--declare-var): New function.
5688 (byte-compile-file-form-defvar)
5689 (byte-compile-file-form-define-abbrev-table)
5690 (byte-compile-file-form-custom-declare-variable): Use it.
5691 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5692 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5693 (byte-compile-bind): Handle dynamic bindings that shadow
5694 lexical bindings.
5695 (byte-compile-unbind): Make arg non-optional.
5696 (byte-compile-let): Simplify.
5697 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5698 (cconv--analyse-function, cconv-analyse-form): Populate it.
5699 Protect byte-compile-bound-variables to limit the scope of defvars.
5700 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5701 Remove unneeded rule for `declare'.
5702
5703 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5704 so as to avoid depending on cl-adjoin at run-time.
5705 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5706
5707 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5708 (macroexp--warn-and-return): Use it.
5709
2587b005
LL
57102013-06-05 Leo Liu <sdl.web@gmail.com>
5711
5712 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5713
f1da3c88
LL
57142013-06-04 Leo Liu <sdl.web@gmail.com>
5715
5716 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5717 (compilation-auto-jump): Suppress the "Mark set" message to give
5718 way to exit message.
5719
3caa391f
AM
57202013-06-04 Alan Mackenzie <acm@muc.de>
5721
5722 Remove faulty optimisation from indentation calculation.
5723 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5724 search limit based on 2000 characters back from indent-point.
5725
068922a2
TH
57262013-06-03 Tassilo Horn <tsdh@gnu.org>
5727
5728 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5729
1f8fdd53
SM
57302013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5731
bbcc4d97
SM
5732 * emacs-lisp/lisp.el: Use lexical-binding.
5733 (lisp--local-variables-1, lisp--local-variables): New functions.
5734 (lisp--local-variables-completion-table): New var.
208d0342 5735 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5736
1f8fdd53
SM
5737 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5738 eagerly (bug#14422).
5739
c9628c79
MA
57402013-06-03 Michael Albinus <michael.albinus@gmx.de>
5741
5742 * autorevert.el (auto-revert-notify-enabled)
5743 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5744 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5745 (auto-revert-notify-handler): Handle also gfilenotify.
5746
e7b41c4c 5747 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5748 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5749 Remove.
c9628c79 5750
e5e4a942
JL
57512013-06-03 Juri Linkov <juri@jurta.org>
5752
5753 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5754 `M-s h .'. (Bug#14427)
5755
5756 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5757 command `hi-lock-face-symbol-at-point'.
5758 (hi-lock-face-symbol-at-point): New command.
5759 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5760 (hi-lock-menu): Add `highlight-symbol-at-point'.
5761 (hi-lock-mode): Doc fix.
5762
5763 * isearch.el (isearch-forward-symbol-at-point): New command.
5764 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5765 (isearch-highlight-regexp): Add a regexp which matches
5766 words/symbols for word/symbol mode.
5767
5768 * subr.el (find-tag-default-bounds): New function with the body
5769 mostly moved from `find-tag-default'.
5770 (find-tag-default): Move most code to `find-tag-default-bounds',
5771 call it and apply `buffer-substring-no-properties' afterwards.
5772
26b3353a
TH
57732013-06-03 Tassilo Horn <tsdh@gnu.org>
5774
781b4af6
SM
5775 * eshell/em-term.el (eshell-term-initialize):
5776 Use `cl-intersection' rather than `intersection'.
26b3353a 5777
51b60f53
XF
57782013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5779
fe054b63 5780 * vc/log-view.el: Doc fix.
d3ffe17c 5781 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5782
a0eb10b3 57832013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5784
5785 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5786 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5787 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5788 (eieio-unbound, eieio-default-superclass)
5789 (eieio--define-field-accessors, method-static, method-before)
5790 (method-primary, method-after, method-num-lists)
5791 (method-generic-before, method-generic-primary)
5792 (method-generic-after, method-num-slots)
5793 (eieio-specialized-key-to-generic-key)
5794 (eieio--check-type, class-v, class-p)
5795 (eieio-class-name, define-obsolete-function-alias)
5796 (eieio-class-parents-fast, eieio-class-children-fast)
5797 (same-class-fast-p, class-constructor, generic-p)
5798 (generic-primary-only-p, generic-primary-only-one-p)
5799 (class-option-assoc, class-option, eieio-object-p)
5800 (class-abstract-p, class-method-invocation-order)
5801 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5802 (eieio-class-un-autoload, eieio-defclass)
5803 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5804 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5805 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5806 (eieio-defgeneric-reset-generic-form)
5807 (eieio-defgeneric-form-primary-only)
5808 (eieio-defgeneric-reset-generic-form-primary-only)
5809 (eieio-defgeneric-form-primary-only-one)
5810 (eieio-defgeneric-reset-generic-form-primary-only-one)
5811 (eieio-unbind-method-implementations)
5812 (eieio--defmethod, eieio--typep)
5813 (eieio-perform-slot-validation, eieio-validate-slot-value)
5814 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5815 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5816 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5817 (eieio-slot-name-index, eieio-class-slot-name-index)
5818 (eieio-set-defaults, eieio-initarg-to-attribute)
5819 (eieio-attribute-to-initarg, eieio-c3-candidate)
5820 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5821 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5822 (eieio-class-precedence-list, eieio-generic-call-methodname)
5823 (eieio-generic-call-arglst, eieio-generic-call-key)
5824 (eieio-generic-call-next-method-list)
5825 (eieio-pre-method-execution-functions, eieio-generic-call)
5826 (eieio-generic-call-primary-only, eieiomt-method-list)
5827 (eieiomt-optimizing-obarray, eieiomt-install)
5828 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5829 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5830 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5831 (defclass): Remove `eval-and-compile' from macro.
5832 (call-next-method, shared-initialize): Instead of using
5833 `scoped-class' variable, use new eieio--scoped-class, and
5834 eieio--with-scoped-class.
5835 (initialize-instance): Rename local variable 'scoped-class' to
5836 'this-class' to remove ambiguitity from old global.
5837
5838 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5839 eieio.el.
4f405069
JB
5840 (eieio--scoped-class-stack): New variable.
5841 (eieio--scoped-class): New fcn.
890f7890
DE
5842 (eieio--with-scoped-class): New scoping macro.
5843 (eieio-defclass): Use pushnew instead of add-to-list.
5844 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5845 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5846 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5847 `scoped-class' variable, use new eieio--scoped-class, and
5848 eieio--with-scoped-class.
5849
5850 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5851
d105b0e2
TH
58522013-06-02 Tassilo Horn <tsdh@gnu.org>
5853
5854 * eshell/esh-ext.el (eshell-external-command): Pass args to
5855 `eshell-find-interpreter'.
5856 (eshell-find-interpreter): Add new second parameter ARGS.
5857
5858 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5859 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5860
5861 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5862 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5863
5864 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5865 (eshell-visual-options): New defcustom.
5866 (eshell-escape-control-x): Adapt docstring.
5867 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5868 `eshell-visual-options' in addition to `eshell-visual-commands'.
5869 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5870
f46305c8 58712013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5872
5873 * progmodes/python.el (python-indent-block-enders): Add break,
5874 continue and raise keywords.
5875
d870df21
GM
58762013-06-01 Glenn Morris <rgm@gnu.org>
5877
9133b82e
GM
5878 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5879
02c992ec 5880 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5881 * progmodes/cc-cmds.el (delete-forward-p):
5882 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5883 * progmodes/cc-engine.el (buffer-syntactic-context):
5884 * progmodes/cc-fonts.el (face-property-instance):
5885 * progmodes/cc-mode.el (set-keymap-parents):
5886 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5887 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5888 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5889 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5890 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5891
31e7b090
GM
5892 * progmodes/cc-vars.el (other): Emacs has this widget since
5893 at least 21.1, so don't (re)define it.
5894
d870df21
GM
5895 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5896 Replace the obsolete alias pcomplete-arg-quote-list.
5897
c75c93c7
LL
58982013-06-01 Leo Liu <sdl.web@gmail.com>
5899
5900 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5901 punctuation syntax.
5902 (inferior-octave-minimal-columns)
5903 (inferior-octave-last-column-width): New variables.
5904 (inferior-octave-track-window-width-change): New function.
5905 (inferior-octave-mode): Adjust column width so that Octave output,
5906 for example from 'ls', can fit into the window nicely.
5907
973d1e12
DG
59082013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5909
5910 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5911 Highlight expansions inside regexp literals.
5912
0888c286
GM
59132013-05-31 Glenn Morris <rgm@gnu.org>
5914
e26aac1f
GM
5915 * obsolete/sym-comp.el (symbol-complete):
5916 Replace obsolete completion-annotate-function.
5917
0888c286
GM
5918 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5919
19bb8e62
DG
59202013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5921
781b4af6
SM
5922 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5923 New function, checks if point is inside a literal that allows
19bb8e62
DG
5924 expression expansion.
5925 (ruby-syntax-propertize-expansion): Use it.
5926 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5927 around the body.
5928
01dea85f
JL
59292013-05-30 Juri Linkov <juri@jurta.org>
5930
5931 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5932 to "\M-si".
5933 (isearch-invisible): New variable.
5934 (isearch-forward): Doc fix.
5935 (isearch-mode): Set `isearch-invisible'
5936 to the value of `search-invisible'.
5937 (isearch-toggle-case-fold): Doc fix.
5938 (isearch-toggle-invisible): New command.
5939 (isearch-query-replace): Let-bind `search-invisible'
5940 to the value of `isearch-invisible'.
5941 (isearch-search): Use `isearch-invisible' instead of
5942 `search-invisible'. Let-bind `search-invisible'
5943 to the value of `isearch-invisible'. (Bug#11378)
5944
ab1bdce5
JL
59452013-05-30 Juri Linkov <juri@jurta.org>
5946
5947 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5948 call when `query-flag' is nil and `search-invisible' is non-nil.
5949 (Bug#11746)
5950
d6d236e2
GM
59512013-05-30 Glenn Morris <rgm@gnu.org>
5952
8accd027
GM
5953 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5954
2a8bed1c
GM
5955 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5956 (cc-require): Suppress spurious "noruntime" warnings.
5957 (cc-require-when-compile): Use fboundp, for sake of compiler.
5958
d6d236e2
GM
5959 * progmodes/cc-mode.el: Move load of cc-vars before that of
5960 cc-langs (which in turn loads cc-vars), to quieten compiler.
5961
9190b35b
SM
59622013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5963
5964 * paren.el: Simplify the code.
5965 (show-paren-mode): Always start the timer.
5966 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5967 (show-paren--overlay, show-paren--overlay-1): Rename from
5968 show-paren-overlay and show-paren-overlay-1, and initialize to an
5969 overlay rather than to nil.
5970 (show-paren-function): Misc cleanup and simplifications.
5971
4f8d1cf6
SM
59722013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * paren.el (show-paren-data-function): New hook.
5975 (show-paren--default): New function, extracted from show-paren-function.
5976 (show-paren-function): Use show-paren-data-function.
5977
02d844b5
GM
59782013-05-30 Glenn Morris <rgm@gnu.org>
5979
d209d4a9
GM
5980 * ielm.el (ielm-map, ielm-complete-symbol):
5981 Use completion-at-point rather than obsolete functions.
5982 (inferior-emacs-lisp-mode): Doc fix.
5983 Set completion-at-point-functions, rather than
5984 comint-dynamic-complete-functions.
5985
2082faa6
GM
5986 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5987 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5988 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5989
dd8620de
GM
5990 * image.el (image-animated-p): Tweak definition.
5991
ceca95b1
GM
5992 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5993 (rlogin-process-connection-type): Tweak default. Add set-after.
5994 (rlogin-host): Doc fix.
5995 (rlogin): Tweak prompt.
5996 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5997
ee9f1acc
GM
5998 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5999 * progmodes/tcl.el (inferior-tcl-mode-map):
6000 Use completion-at-point rather than obsolete alias.
6001
45ce222e
GM
6002 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6003
02d844b5
GM
6004 * minibuffer.el (read-file-name-completion-ignore-case):
6005 Move before completion--in-region, for eager macro expansion.
6006
ac44d6c1
JL
60072013-05-29 Juri Linkov <juri@jurta.org>
6008
6009 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6010 for total count of matching lines. Add `global-matches' for total
6011 count of matches. Rename `matches' to `lines' for count of
6012 matching lines. Add `matches' for count of matches.
6013 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6014 to `prev-line' for line number of prev match endpt.
6015 Increment `matches' for every match. Print the number of
6016 matching lines in the header.
6017 (occur-context-lines): Rename `lines' to `curr-line'.
6018 Rename `prev-lines' to `prev-line'. (Bug#14017)
6019
3c9c9d38
JL
60202013-05-29 Juri Linkov <juri@jurta.org>
6021
6022 * replace.el (perform-replace): Add `skip-read-only-count',
6023 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6024 Increment them for corresponding conditions and report the number
6025 of skipped occurrences in the final message. (Bug#11746)
6026 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6027 (replace-string, replace-regexp): Doc fix.
6028
33e249a2
SM
60292013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6030
8e399682
SM
6031 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6032
33e249a2 6033 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6034 prog-mode-map (bug#14504).
33e249a2 6035
f236dd84
LL
60362013-05-29 Leo Liu <sdl.web@gmail.com>
6037
6038 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6039 (octave-help): Small simplification.
6040
6041 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6042 off the highlight first.
6043
3694d13f
GM
60442013-05-29 Glenn Morris <rgm@gnu.org>
6045
03983bdc
GM
6046 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6047 Handle idlwave-last-system-routine-info-cons-cell being nil.
6048
bc74a74a
GM
6049 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6050 (idlwave-write-paths): Simplify via with-temp-buffer.
6051
8b394200
GM
6052 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6053 * emulation/cua-rect.el: Also load cua-base at run time.
6054
3694d13f
GM
6055 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6056 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6057 (cperl-imenu-on-info): Require imenu.
6058
336d7284
AM
60592013-05-28 Alan Mackenzie <acm@muc.de>
6060
6061 Handle "capitalised keywords" correctly.
33e249a2 6062 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6063
cb29c582
AG
60642013-05-28 Aidan Gauland <aidalgol@amuri.net>
6065
781b4af6 6066 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6067
690e44b2
GM
60682013-05-28 Glenn Morris <rgm@gnu.org>
6069
e658d75c
GM
6070 * vc/vc-arch.el (vc-exec-after): Declare.
6071 (vc-switches): Autoload.
6072 * vc/vc-bzr.el: No need to require vc when compiling.
6073 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6074 (vc-resynch-buffer, vc-dir-refresh): Declare.
6075 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6076 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6077 (vc-resynch-buffer): Declare.
6078 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6079 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6080 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6081 (grep-read-regexp, grep-read-files, grep-expand-template)
6082 (vc-dir-refresh): Declare.
6083 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6084 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6085 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6086 * vc/vc-mtn.el (vc-exec-after): Declare.
6087 (vc-switches): Autoload.
6088 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6089 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6090 (vc-file-tree-walk): Declare.
712b9732
GM
6091 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6092 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6093 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6094 * vc/vc-svn.el (vc-exec-after): Declare.
6095 (vc-switches, vc-setup-buffer): Autoload.
6096 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6097 Autoload.
6098 (vc-resynch-buffer): Declare.
6099
98e87fb3
GM
6100 * obsolete/fast-lock.el (byte-compile-warnings):
6101 Don't warn about obsolete features in this obsolete file.
6102
f5379553
GM
6103 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6104 Move definition before use.
6105
7a20ef83
GM
6106 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6107 (dun-unix-verbs): Remove dun-zippy.
6108 (dun-zippy): Remove function.
6109
690e44b2
GM
6110 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6111
3a52ccf7
JL
61122013-05-27 Juri Linkov <juri@jurta.org>
6113
6114 * replace.el (replace-search): New function with code moved out
6115 from `perform-replace'.
6116 (replace-highlight, replace-dehighlight): Move function definitions
6117 up closer to `replace-search'. (Bug#11746)
6118
d289938a
JL
61192013-05-27 Juri Linkov <juri@jurta.org>
6120
6121 * replace.el (perform-replace): Ignore invisible matches.
6122 In addition to checking `query-replace-skip-read-only', also
6123 filter out matches by calling `run-hook-with-args-until-failure'
6124 on `isearch-filter-predicates', and also check `search-invisible'
6125 for t or call `isearch-range-invisible'.
6126 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6127
66fc57e3
JL
61282013-05-27 Juri Linkov <juri@jurta.org>
6129
6130 * isearch.el (isearch-filter-predicates): Rename from
6131 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6132 (isearch-message-prefix): Display text from the property
6133 `isearch-message-prefix' of the currently active filters.
6134 (isearch-search): Don't compare `isearch-filter-predicate' with
6135 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6136 on `isearch-filter-predicates'. Also check `search-invisible' for t
6137 or call `isearch-range-invisible'.
6138 (isearch-filter-visible): Make obsolete.
6139 (isearch-lazy-highlight-search):
6140 Call `run-hook-with-args-until-failure' on
6141 `isearch-filter-predicates' and use `isearch-range-invisible'.
6142
6143 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6144 `isearch-filter-predicates' instead of `funcall'ing
6145 `isearch-filter-predicate'.
6146 (Info-mode): Set `Info-isearch-filter' to
6147 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6148
6149 * dired-aux.el (dired-isearch-filter-predicate-orig):
6150 Remove variable.
6151 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6152 (dired-isearch-filenames-end): Add and remove
6153 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6154 instead of changing the value of `isearch-filter-predicate'.
6155 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6156 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6157 Put property `isearch-message-prefix' to "filename " on
6158 `dired-isearch-filter-filenames'.
6159
6160 * wdired.el (wdired-change-to-wdired-mode):
6161 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6162 locally instead of changing `isearch-filter-predicate'.
6163 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6164
f1a60a0f
DG
61652013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6166
6167 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6168 return the commit hash (Bug#14459). Also set the
6169 `vc-git-detached' property.
6170 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6171 (vc-git-mode-line-string): Use the same help-echo format whether
6172 in detached mode or not, because we know the actual revision now.
6173 When in detached mode, shorten the revision to 7 chars.
6174
7f17cc40
SM
61752013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * emacs-lisp/easy-mmode.el (define-minor-mode):
6178 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6179 mode hook and provide a docstring.
6180
25c8401c
AM
61812013-05-27 Alan Mackenzie <acm@muc.de>
6182
6183 Remove spurious syntax-table text properties inserted by C-y.
6184 * progmodes/cc-mode.el (c-after-change): Also clear hard
6185 syntax-table property with value nil.
6186
dde84790
MA
61872013-05-27 Michael Albinus <michael.albinus@gmx.de>
6188
6189 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6190 when reading the events; the buffer layout shall not be changed.
6191
837fd9af
LL
61922013-05-27 Leo Liu <sdl.web@gmail.com>
6193
6194 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6195 New variable.
6196 (inferior-octave-directory-tracker): Automatically re-sync
6197 default-directory.
6198 (octave-help): Improve handling of 'See also'.
6199
4fd996b3
SM
62002013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6201
416f1802
SM
6202 * doc-view.el: Minor naming convention tweaks.
6203 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6204
4fd996b3
SM
6205 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6206 even if there's no `display' property yet (bug#14435).
6207
a052ef3b
EZ
62082013-05-25 Eli Zaretskii <eliz@gnu.org>
6209
4fd996b3 6210 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6211
6212 * Makefile.in (custom-deps, finder-data, autoloads)
6213 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6214 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6215 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6216
c9023370
SM
62172013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6220 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6221 Don't burp at EOB.
c9023370 6222
24d699fa
LL
62232013-05-25 Leo Liu <sdl.web@gmail.com>
6224
6225 * comint.el (comint-previous-matching-input): Do not flood the
6226 *Messages* buffer with trivial messages.
6227
17e5c0cc
SM
62282013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * progmodes/flymake.el (flymake-nop): Don't return a string.
6231 (flymake-set-at): Fix typo.
6232
6233 * simple.el (read--expression): New function, extracted from
6234 eval-expression. Set completion-at-point-functions (bug#14465).
6235 (eval-expression, eval-minibuffer): Use it.
6236
5d028165
XF
62372013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6238
6239 * progmodes/flymake.el (flymake-save-buffer-in-file)
6240 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6241 (flymake-selected-frame, flymake-log, flymake-ins-after)
6242 (flymake-set-at, flymake-get-buildfile-from-cache)
6243 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6244 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6245 Refine the doc string.
6246 (flymake-get-file-name-mode-and-masks): Reformat.
6247 (flymake-get-real-file-name-function): Fix a minor bug.
6248
7a1d7ba7
JL
62492013-05-24 Juri Linkov <juri@jurta.org>
6250
6251 * progmodes/grep.el (grep-mode-font-lock-keywords):
6252 Support =linenumber= format used by git-grep for lines with
6253 function names. (Bug#13549)
6254
650cff3d
SM
62552013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6258 0 after a semi-colon; it works better for smie-auto-fill.
6259 (octave--indent-new-comment-line): New function.
6260 (octave-indent-new-comment-line): Use it (indirectly).
6261 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6262 modify comment-line-break-function.
6263
6264 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6265 (smie-setup): Use add-function to set it.
6266
9631677d
SS
62672013-05-24 Sam Steingold <sds@gnu.org>
6268
6269 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6270 argument (before the `interactive' argument).
6271
50105835
SM
62722013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * image-mode.el (image-mode-winprops): Add winprops to
6275 image-mode-winprops-alist before running
6276 image-mode-new-window-functions.
6277 * doc-view.el (doc-view-new-window-function): Don't delay
6278 doc-view-goto-page via timers (bug#14435).
6279
57b9823e
TH
62802013-05-24 Tassilo Horn <tsdh@gnu.org>
6281
6282 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6283 (doc-view-desktop-save-buffer): New function.
6284 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6285 (desktop-buffer-mode-handlers):
6286 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6287 handler.
6288 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6289 `desktop-save-buffer' function.
6290
91aafa16
MA
62912013-05-24 Michael Albinus <michael.albinus@gmx.de>
6292
6293 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6294 (tramp-gvfs-file-name-handler): Raise a user error when
6295 `tramp-gvfs-enabled' is nil.
6296 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6297 Do not raise a user error when loading package. (Bug#14447)
6298
ec076379
MA
6299 * net/xesam.el: Move to obsolete/.
6300
db785726
GM
63012013-05-24 Glenn Morris <rgm@gnu.org>
6302
af5c7606
GM
6303 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6304
e5d1916a
GM
6305 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6306
ded62b08
GM
6307 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6308 (Info-find-node, Man-getpage-in-background): Declare.
6309
9e614a3f
GM
6310 * mail/unrmail.el (unrmail):
6311 Replace obsolete detect-coding-with-priority.
6312
892f8ca3
GM
6313 * net/socks.el (socks-split-string): Use this rather than split-string.
6314 (socks-nslookup-host): Update for above change.
6315 (dynamic-choice, s5-dynamic-choice-match)
6316 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6317 Comment out unused code.
6318
3c291973
GM
6319 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6320 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6321 (gud-tooltip-echo-area): Make obsolete.
6322 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6323
43cc956b
GM
6324 * progmodes/js.el (js--optimize-arglist): Declare.
6325
dab49a3b
GM
6326 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6327
36b9d085
GM
6328 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6329 (ediff-window-C): Declare.
6330
e354ae76
GM
6331 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6332 Tweak requires to silence compiler.
6333
b8e57bf4
GM
6334 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6335 (he-search-string, he-tried-table, he-expand-list)
6336 (he-init-string, he-string-member, he-substitute-string)
6337 (he-reset-string): Declare.
6338
db785726
GM
6339 * obsolete/options.el (list-options): Use custom-variable-p,
6340 rather than obsolete alias.
6341
b3531901
SS
63422013-05-23 Sam Steingold <sds@gnu.org>
6343
6344 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6345 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6346 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6347
bdda4c66
SM
63482013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * emacs-lisp/smie.el (smie-indent-forward-token)
6351 (smie-indent-backward-token): Handle string tokens (bug#14381).
6352
c43d45f9
TH
63532013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6354
fe1eb856
RS
6355 * ielm.el (ielm-menu): New menu.
6356 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6357
fe1eb856
RS
63582013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6359
6360 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6361 Fix deactivate action.
6362
6363 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6364 Add cleveref macros.
074dd971 6365
c43d45f9
TH
6366 * lisp/textmodes/reftex-parse.el
6367 (reftex-locate-bibliography-files): Accept options for
6368 bibliography commands.
6369 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6370 Add addbibresource. Basic Biblatex support.
6371
7764286e
MA
63722013-05-23 Michael Albinus <michael.albinus@gmx.de>
6373
6374 * net/tramp-gvfs.el (top):
6375 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6376 when loading package. (Bug#14447)
6377
d361bc10
GM
63782013-05-23 Glenn Morris <rgm@gnu.org>
6379
8fa23984
GM
6380 * progmodes/js.el: No need to load comint when compiling.
6381 (ring-insert, comint-send-string, comint-send-input)
6382 (comint-last-input-end, ido-chop): Declare.
6383
a5c7df1a
GM
6384 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6385 * vc/ediff-mult.el: Adjust requires.
6386 (ediff-directories-internal, ediff-directory-revisions-internal)
6387 (ediff-patch-file-internal): Declare.
6388 * vc/ediff-ptch.el: Adjust requires.
6389 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6390 (ediff-find-file): Autoload.
6391 * vc/ediff-util.el: No need to load ediff when compiling.
6392 (ediff-regions-internal): Declare.
6393 * vc/ediff-wind.el: Adjust requires.
6394 (ediff-compute-toolbar-width): Define when compiling.
6395 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6396 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6397 (dired-get-filename, dired-get-marked-files)
6398 (ediff-last-dir-patch, ediff-patch-default-directory)
6399 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6400 (ediff-patch-buffer-internal): Declare.
6401
e2aec513
GM
6402 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6403 (ispell-process, ispell-buffer-local-words, lm-summary)
6404 (lm-section-start, lm-section-end): Declare.
6405 (checkdoc-ispell-init): Simplify.
6406
e68bbd7c
GM
6407 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6408 (he-string-member, he-reset-string, he-substitute-string): Declare.
6409
7efe0991
GM
6410 * eshell/em-ls.el: Adjust requires.
6411 (eshell-glob-regexp): Declare.
f87b1284
GM
6412 * eshell/em-tramp.el: Adjust requires.
6413 (eshell-parse-command): Autoload.
6414 * eshell/em-xtra.el: Adjust requires.
6415 (eshell-parse-command): Autoload.
6416 * eshell/esh-ext.el: Adjust requires.
6417 (eshell-parse-command, eshell-close-handles): Autoload.
6418 * eshell/esh-io.el: Adjust requires.
6419 (eshell-output-filter): Autoload.
6420 * eshell/esh-util.el: No need to load tramp when compiling.
6421 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6422 Declare.
6423 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6424 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6425 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6426 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6427 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6428 * eshell/esh-opt.el, eshell/esh-proc.el:
6429 * eshell/esh-var.el: Adjust requires.
6430 * eshell/eshell.el: Do not require esh-util twice.
6431 (eshell-add-input-to-history): Declare.
6432 (eshell-command): Check history module is active before using it.
6433
d361bc10
GM
6434 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6435
85d090a9
LL
64362013-05-22 Leo Liu <sdl.web@gmail.com>
6437
6438 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6439
5d0acd9d
MA
64402013-05-22 Michael Albinus <michael.albinus@gmx.de>
6441
6442 * autorevert.el (auto-revert-notify-add-watch)
6443 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6444 it indicates changes in file modification time.
6445
0cdffd7d
GM
64462013-05-22 Glenn Morris <rgm@gnu.org>
6447
ca5995ec
GM
6448 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6449 Always delete the autoloaded function from the noruntime and
6450 unresolved functions lists.
6451
6450907e
GM
6452 * allout.el: No need to load epa, epg, overlay when compiling.
6453 (epg-context-set-passphrase-callback, epg-list-keys)
6454 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6455 (epg-key-user-id-list): Declare.
6456
9c6906f6
GM
6457 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6458 (viper-set-parsing-style-toggling-macro)
6459 (viper-set-emacs-state-searchstyle-macros):
6460 Use called-interactively-p on Emacs.
6461 (viper-looking-back): Make it an obsolete alias. Update callers.
6462 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6463 Use looking-back rather than viper-looking-back.
6464 (viper-tmp-insert-at-eob, viper-enlarge-region)
6465 (viper-read-string-with-history, viper-register-to-point)
6466 (viper-append-to-register, viper-change-state-to-vi)
6467 (viper-backward-char-carefully, viper-forward-char-carefully)
6468 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6469 (viper-change-state-to-emacs): Declare.
6470 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6471 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6472 * emulation/viper-mous.el: Do not load viper-cmd.
6473 (viper-backward-char-carefully, viper-forward-char-carefully)
6474 (viper-forward-word, viper-adjust-window): Declare.
6475
5f70c169
GM
6476 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6477
b1b7f300
GM
6478 * progmodes/idlw-help.el (idlwave-help-fontify):
6479 Use called-interactively-p.
6480
f6ebbb46
GM
6481 * term/w32console.el (w32-get-console-codepage)
6482 (w32-get-console-output-codepage): Declare.
6483
0cdffd7d
GM
6484 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6485 Remove unnecessary declarations.
6486 (dframe-message): Doc fix.
6487
6488 * info.el (dframe-select-attached-frame, dframe-current-frame):
6489 Declare.
6490
6491 * speedbar.el (speedbar-message): Make it an obsolete alias.
6492 Update all callers.
6493 (speedbar-with-attached-buffer)
6494 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6495 (speedbar-with-writable): Use backquote.
6496 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6497 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6498 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6499 rather than speedbar- aliases.
6500 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6501 (speedbar-make-specialized-keymap, speedbar-insert-button)
6502 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6503 (speedbar-do-function-pointer): Declare.
6504 (rmail-speedbar-button, rmail-speedbar-find-file)
6505 (rmail-speedbar-move-message):
6506 Use dframe-with-attached-buffer rather than speedbar- alias.
6507 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6508 (dframe-message, speedbar-make-specialized-keymap)
6509 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6510 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6511 (speedbar-insert-button, dframe-select-attached-frame)
6512 (dframe-maybee-jump-to-attached-frame)
6513 (speedbar-change-initial-expansion-list)
6514 (speedbar-previously-used-expansion-list-name): Declare.
6515 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6516 Use dframe-message, dframe-with-attached-buffer rather than
6517 speedbar- aliases.
6518 (gud-sentinel): Silence compiler.
6519 * progmodes/vhdl-mode.el (speedbar-refresh)
6520 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6521 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6522 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6523 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6524 (speedbar-file-lists, speedbar-make-tag-line)
6525 (speedbar-line-directory, speedbar-goto-this-file)
6526 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6527 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6528 (speedbar-make-button, speedbar-reset-scanners)
6529 (speedbar-files-item-info, speedbar-line-text)
6530 (speedbar-find-file-in-frame, speedbar-set-timer)
6531 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6532 (speedbar-with-writable): Do not (re)define it.
6533 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6534 rather than speedbar- alias.
6535
ee44b62a
LL
65362013-05-21 Leo Liu <sdl.web@gmail.com>
6537
6538 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6539 menu items.
6540 (octave-mode): Tweak fill-nobreak-predicate.
6541 (inferior-octave-startup): Check process to avoid infinite loop.
6542 (inferior-octave): Pop to buffer first to show abornmal process
6543 exit information.
6544
640f050f
GM
65452013-05-21 Glenn Morris <rgm@gnu.org>
6546
79458038
GM
6547 * printing.el (pr-menu-bar): Define when compiling.
6548
9cc3e83f
LL
65492013-05-21 Leo Liu <sdl.web@gmail.com>
6550
6551 * progmodes/octave.el (octave-auto-fill): Remove.
6552 (octave-indent-new-comment-line): Improve.
6553 (octave-mode): Use auto fill mode through
4f405069 6554 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6555 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6556 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6557 (octave-help): Show parent directory.
6558
f440830d
GM
65592013-05-21 Glenn Morris <rgm@gnu.org>
6560
6561 * files.el (dired-unmark):
6562 * progmodes/gud.el (gdb-input): Update declarations.
6563
6564 * calculator.el (electric, ehelp): No need to load when compiling.
6565 (Electric-command-loop, electric-describe-mode): Declare.
6566
6567 * doc-view.el (doc-view-current-converter-processes): Move before use.
6568
6569 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6570 Move MODE-set-explicitly definition before use.
6571
6572 * international/mule-diag.el (mule-diag):
6573 Don't use obsolete window-system-version.
6574
6575 * mail/feedmail.el (smtpmail): No need to load when compiling.
6576 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6577
6578 * mail/mail-utils.el (rfc822): No need to load when compiling.
6579 (rfc822-addresses): Autoload it.
6580 (mail-strip-quoted-names): Trivial simplification.
6581
6582 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6583 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6584
6585 * net/snmp-mode.el (tempo): Don't duplicate requires.
6586
6587 * progmodes/prolog.el (info): No need to load when compiling.
6588 (comint): Require before shell requires it.
6589 (Info-goto-node): Autoload it.
6590 (Info-follow-nearest-node): Declare.
6591 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6592
6593 * textmodes/artist.el (picture-mode-exit): Declare.
6594
6595 * textmodes/reftex-parse.el (reftex-parse-from-file):
6596 Trivial rewrite so the compiler can parse it better.
6597
b4da2cbb
LL
65982013-05-20 Leo Liu <sdl.web@gmail.com>
6599
6600 * progmodes/octave.el (octave-help-mode-map)
6601 (octave-help-mode-finish-hook): New variables.
6602 (octave-help-mode, octave-help-mode-finish): New functions.
6603 (octave-help): Use octave-help-mode.
6604
33c0f65b
GM
66052013-05-20 Glenn Morris <rgm@gnu.org>
6606
6607 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6608
1a0a0a8a
DG
66092013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6610
6611 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6612 start at point, so that expansion starting right after opening
6613 slash in a regexp is recognized.
6614 (ruby-syntax-before-regexp-re): New defvar, extracted from
6615 ruby-syntax-propertize-function. Since the value of this regexp
6616 is looked up at runtime now, we should be able to turn
6617 `ruby-syntax-methods-before-regexp' into a defcustom later.
6618 (ruby-syntax-propertize-function): Split regexp matching into two
6619 parts, for opening and closing slashes. That allows us to skip
6620 over string interpolations and support multiline regexps.
6621 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6622 for them, which calls `ruby-syntax-propertize-expansion'.
6623 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6624 call to `ruby-syntax-propertize-function'.
6625 (ruby-syntax-propertize-expansion): Extracted from
6626 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6627 (ruby-syntax-propertize-percent-literal): Leave point right after
6628 the percent symbol, so that the expression expansion rule can
6629 propertize the contents.
462388b6
DG
6630 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6631 heredoc openers.
6632 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6633
c1a6c0a4
JL
66342013-05-18 Juri Linkov <juri@jurta.org>
6635
6636 * man.el (Man-default-man-entry): Remove `-' from the end
6637 of the default value. (Bug#14400)
6638
8051fccd
GM
66392013-05-18 Glenn Morris <rgm@gnu.org>
6640
6641 * comint.el (comint-password-prompt-regexp):
6642 Allow "password for XXX" where XXX contains colons (eg https://...).
6643
5e80b74f
LL
66442013-05-18 Leo Liu <sdl.web@gmail.com>
6645
6646 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6647 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6648 (octave-source-directories): Don't check process.
6649 (octave-source-directories, octave-find-definition): Doc fix.
6650
521a54c5
GM
66512013-05-18 Glenn Morris <rgm@gnu.org>
6652
86a94b05
GM
6653 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6654 Remove backspace/delete bindings. (Bug#14392)
6655
521a54c5
GM
6656 * cus-dep.el (custom-make-dependencies): Sort the output.
6657 (custom-versions-load-alist): Convert comment to doc.
6658
42caeb89
LL
66592013-05-17 Leo Liu <sdl.web@gmail.com>
6660
6661 * newcomment.el (comment-search-backward): Stricter in finding
6662 comment start. (Bug#14303)
6663
6664 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6665 (octave-comment-start-skip): Properly anchored.
6666
e219dd97
LL
66672013-05-17 Leo Liu <sdl.web@gmail.com>
6668
fe1eb856
RS
6669 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6670 Clean up when turned off. (Bug#14395)
e219dd97
LL
6671 (smie--highlight-matching-block-overlay): No longer buffer-local.
6672 (smie-highlight-matching-block): Adjust.
6673
dc5dcb4b
PE
66742013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6675
6676 Doc string fix for "nanoseconds" (Bug#14406).
6677 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6678 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6679
1db165f0
JB
66802013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6681
6682 * calc/calc-units.el (math-extract-units): Preserve powers
6683 of units.
6684
c7a8fcac
LL
66852013-05-17 Leo Liu <sdl.web@gmail.com>
6686
6687 * subr.el (delete-consecutive-dups): New function.
6688 * ido.el (ido-set-matches-1): Use it.
6689 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6690 * ido.el (ido-remove-consecutive-dups): Remove.
6691
f678b18a
SM
66922013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6695 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6696 regexp-opt's `words'.
6697
ebfe68e8
LL
66982013-05-16 Leo Liu <sdl.web@gmail.com>
6699
6700 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6701 (smie--highlight-matching-block-overlay)
6702 (smie--highlight-matching-block-lastpos)
6703 (smie--highlight-matching-block-timer): New variables.
6704 (smie-highlight-matching-block): New function.
6705 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6706 (smie-setup): Conditionally enable smie-blink-matching-open.
6707
bc8bc17d
WS
67082013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6709
6710 Sync with upstream verilog-mode r840.
6711 * progmodes/verilog-mode.el (verilog-mode-version)
6712 (verilog-mode-release-date): Update.
6713 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6714 (verilog-sig-tieoff): Fix string error on
6715 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6716 (verilog-read-decls): Fix parameters confusing
6717 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6718
df065a0b
EZ
67192013-05-16 Eli Zaretskii <eliz@gnu.org>
6720
6721 * subr.el (reveal-filename): New function.
6722
6723 * loadup.el: Compute Emacs executable versions on MS-Windows,
6724 where executables have the .exe extension. Add a hard link
6725 emacs-XX.YY.ZZ.exe on MS-Windows.
6726
6727 * Makefile.in (XARGS_LIMIT): New variable.
6728 (custom-deps, finder-data, autoloads)
6729 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6730 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6731 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6732 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6733
2d4bf34b
LL
67342013-05-16 Leo Liu <sdl.web@gmail.com>
6735
6736 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6737 (octave-mode-menu, octave-mode-map): Remove its uses.
6738
6b9c2d85
RZ
67392013-05-16 Reto Zimmermann <reto@gnu.org>
6740
6741 Sync with upstream vhdl mode v3.34.2.
6742 * progmodes/vhdl-mode.el: Use `push' throughout.
6743 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6744 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6745 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6746 (vhdl-actual-generic-name): New option to derive actual generic name.
6747 (vhdl-port-paste-signals): Replace formal by actual generics.
6748 (vhdl-beautify): New name for old group vhdl-align. Update users.
6749 (vhdl-beautify-options): New option.
6750 (vhdl-last-input-event): New compat alias. Use throughout.
6751 (vhdl-goto-line): Replace user level function `goto-line'.
6752 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6753 vhdl-fix-statement-buffer.
6754 (vhdl-create-mode-menu): Add some entries.
6755 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6756 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6757 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6758 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6759 to force statements on one line.
6760 (vhdl-remove-trailing-spaces-region):
6761 New, split from vhdl-remove-trailing-spaces.
6762 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6763 Respect vhdl-beautify-options.
6764 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6765 (vhdl-update-sensitivity-list): Not add with index if exists without.
6766 Not include array index with signal. Ignore keywords in comments.
6767 (vhdl-get-visible-signals): Regexp tweaks.
6768 (vhdl-template-component-inst): Handle empty library.
6769 (vhdl-template-type): Add template for 'enum' type.
6770 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6771 Use vhdl-replace-string.
6772 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6773 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6774 (vhdl-speedbar-initialize): Update for above name change.
6775 (vhdl-compose-wire-components): Fix in handling of constants.
6776 (vhdl-error-regexp-emacs-alist): New variable.
6777 (vhdl-error-regexp-add-emacs): New function;
6778 adds support for new compile.el (Emacs 22+)
6779 (vhdl-generate-makefile-1): Change target order for single lib. units.
6780 Allow use of absolute file names.
6781
9df4ec5e
LL
67822013-05-16 Leo Liu <sdl.web@gmail.com>
6783
6784 * simple.el (prog-indent-sexp): Indent enclosing defun.
6785
f5ba00a6
GM
67862013-05-15 Glenn Morris <rgm@gnu.org>
6787
ed8be7ff
GM
6788 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6789 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6790 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6791 (whitespace-highlight): Move to whitespace group.
6792
6793 * comint.el (comint-source):
6794 * pcmpl-linux.el (pcmpl-linux):
6795 * shell.el (shell-faces):
6796 * eshell/esh-opt.el (eshell-opt):
6797 * international/ccl.el (ccl): Remove empty custom groups.
6798
6799 * completion.el (dynamic-completion-mode):
6800 * jit-lock.el (jit-lock-debug-mode):
6801 * minibuffer.el (completion-in-region-mode):
6802 * type-break.el (type-break-mode-line-message-mode)
6803 (type-break-query-mode):
6804 * emulation/tpu-edt.el (tpu-edt-mode):
6805 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6806 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6807 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6808
6809 * term/xterm.el (xterm): Change parent group to terminals.
6810
6811 * master.el (master): Remove empty custom group.
6812 (master-mode): Remove unused :group argument.
6813 * textmodes/refill.el (refill): Remove empty custom group.
6814 (refill-mode): Remove unused :group argument.
6815
6816 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6817
82a7c41b
GM
6818 * cus-dep.el: Provide a feature.
6819 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6820 Don't mistakenly ignore files whose basenames match a basename
6821 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6822 Add a fallback method for getting :group.
f5ba00a6 6823
6d65486d
JL
68242013-05-15 Juri Linkov <juri@jurta.org>
6825
da547b32
JL
6826 * isearch.el (isearch-char-by-name): Rename from
6827 `isearch-insert-char-by-name'. Doc fix.
6828 (isearch-forward): Mention `isearch-char-by-name' in
6829 the docstring. (Bug#13348)
6830
6d65486d
JL
6831 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6832 `exit-minibuffer' instead of
6833 `isearch-nonincremental-exit-minibuffer'.
6834 (isearch-edit-string): Remove mention of
6835 `isearch-nonincremental-exit-minibuffer' from docstring.
6836 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6837 (isearch-forward-exit-minibuffer)
6838 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6839
c9990474
SM
68402013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6e911150
SM
6842 * loadup.el: Just use unversioned DOC.
6843
c9990474
SM
6844 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6845 literals as extending to EOB.
6846 (nxml-last-fontify-end): Remove unused variable.
6847 (nxml-after-change1): Use with-silent-modifications.
6848 (nxml-extend-after-change-region): Simplify.
6849 (nxml-extend-after-change-region1): Remove function.
6850 (nxml-after-change1): Don't adjust for dependent regions.
6851 (nxml-fontify-matcher): Simplify.
6852 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6853 (xmltok-add-dependent): Remove function.
6854 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6855 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6856 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6857 unclosed <[[, <?, comment, and other literals as extending to EOB.
6858 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6859 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6860 Remove functions.
6861 (rng-do-some-validation-1): Don't mark dependent regions.
6862 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6863 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6864 (nxml-clear-dependent-regions): Remove functions.
6865 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6866 (nxml-ensure-scan-up-to-date):
6867 Don't clear&mark dependent regions.
6868
e3772e98
LL
68692013-05-15 Leo Liu <sdl.web@gmail.com>
6870
c9990474
SM
6871 * progmodes/octave.el (octave-goto-function-definition):
6872 Improve and fix callers.
e3772e98 6873
5ac2eb34
SM
68742013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6875
c46c57b0
SM
6876 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6877 the setter (bug#14387).
6878
5ac2eb34
SM
6879 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6880 surrounding group (bug#14402).
6881
180ed218
JL
68822013-05-14 Juri Linkov <juri@jurta.org>
6883
6884 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6885 (Bug#14390)
6886
0ac0fecb
GM
68872013-05-14 Glenn Morris <rgm@gnu.org>
6888
6889 * progmodes/f90.el (f90-imenu-generic-expression):
6890 Fix typo in 2013-05-08 change. (Bug#14402)
6891
2e78e6a7
JPG
68922013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6893
5ac2eb34
SM
6894 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6895 Remove signals for which replies are never received.
2e78e6a7 6896
53267cca
JPG
68972013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6898
6899 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6900 (gdb-handler-alist, gdb-handler-number): Remove variables.
6901 (gdb-handler-list): New variable.
6902 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6903 (gdb-pending-handler-p, gdb-handle-reply)
6904 (gdb-remove-all-pending-triggers): New functions.
6905 (gdb-discard-unordered-replies): New defcustom.
6906 (gdb-handler): New defstruct.
6907 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6908 instead of gdb-pending-triggers. Update docstring.
6909 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6910 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6911 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6912 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6913 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6914 (gdb-frame-handler): Pending triggers are now automatically managed.
6915 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6916 Remove argument.
6917 (gdb-input): Automatically handles pending triggers. Update docstring.
6918 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6919 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6920 Update comments.
6921 (gdb-done-or-error): Now use gdb-handle-reply.
6922
d04ce803
JPG
69232013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6924
6925 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6926 gdb-debug-log.
6927
0114073a
GM
69282013-05-14 Glenn Morris <rgm@gnu.org>
6929
6930 * subr.el (user-emacs-directory-warning): New option.
6931 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6932
4d25fd7e
LL
69332013-05-14 Leo Liu <sdl.web@gmail.com>
6934
6935 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6936 during redisplay.
6937 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6938 (octave-font-lock-texinfo-comment): Fix invalid search bound
6939 error: wrong side of point.
4d25fd7e 6940
27c8b6eb
GM
69412013-05-14 Glenn Morris <rgm@gnu.org>
6942
61aaeb01
GM
6943 * progmodes/flymake.el (flymake-xml-program): New option.
6944 (flymake-xml-init): Use it.
6945
5bf90bc5
GM
6946 * term/xterm.el: Provide a feature.
6947
6948 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6949
f4c7dfd2
GM
69502013-05-13 Glenn Morris <rgm@gnu.org>
6951
6952 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6953 Add compat aliases as a hack workaround. (Bug#14384)
6954
2aeb3a1d
LL
69552013-05-13 Leo Liu <sdl.web@gmail.com>
6956
b0e069c2
LL
6957 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6958 ###, and %!.
f5a9432f
LL
6959 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6960 C-M-q.
b0e069c2
LL
6961 (octave-comment-start-skip): Include %!.
6962 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6963
30ea8374
LL
69642013-05-12 Leo Liu <sdl.web@gmail.com>
6965
6966 * progmodes/octave.el (inferior-octave-startup): Store the value
6967 of __octave_srcdir__ for octave-source-directories.
6968 (inferior-octave-check-process): New function refactored out of
6969 inferior-octave-send-list-and-digest.
6970 (octave-source-directories)
6971 (octave-find-definition-filename-function): New variables.
6972 (octave-source-directories)
6973 (octave-find-definition-default-filename): New functions.
6974 (octave-find-definition): Improve to find functions implemented in C++.
6975
472a3834
GM
69762013-05-12 Glenn Morris <rgm@gnu.org>
6977
6978 * calendar/diary-lib.el (diary-outlook-format-1):
6979 Don't include dayname in the output. (Bug#14349)
6980
3191b52f
GM
69812013-05-11 Glenn Morris <rgm@gnu.org>
6982
0060ac73
GM
6983 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6984
3191b52f
GM
6985 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6986 Treat cc-provide like provide.
6987
e065ba74
KR
69882013-05-11 Kevin Ryde <user42@zip.com.au>
6989
6990 * cus-dep.el (custom-make-dependencies):
6991 Use generated-autoload-load-name for the sake of files such
6992 such cedet/semantic/bovine/c.el, where the base file name
6993 is not in load-path. (Bug#5277)
6994
36f84c37
GM
69952013-05-11 Glenn Morris <rgm@gnu.org>
6996
6997 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6998 Provide features.
6999
c8730c3a
LL
70002013-05-11 Leo Liu <sdl.web@gmail.com>
7001
7002 * progmodes/octave.el (octave-indent-comment): Improve.
7003 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7004 (octave-eldoc-function-signatures, octave-eldoc-function):
7005 New functions.
c8730c3a
LL
7006 (octave-mode, inferior-octave-mode): Add eldoc support.
7007
212e29f2
RS
70082013-05-11 Richard Stallman <rms@gnu.org>
7009
7010 * epa.el (epa-decrypt-file): Take output file name as argument
7011 and read it using `interactive'.
7012
083fe0d7
LL
70132013-05-11 Leo Liu <sdl.web@gmail.com>
7014
7015 * progmodes/octave.el (octave-beginning-of-line)
7016 (octave-end-of-line): Check before using up-list because it jumps
7017 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7018 (octave-indent-comment): New function.
7019 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7020 (octave-begin-keywords, octave-end-keywords)
7021 (octave-reserved-words, octave-smie-bnf-table)
7022 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7023
8582e4c4
GM
70242013-05-11 Glenn Morris <rgm@gnu.org>
7025
f20def1f
GM
7026 * faces.el (internal-face-x-get-resource):
7027 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7028 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7029 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7030 Fix declarations.
f20def1f 7031
445f95e2
GM
7032 * calc/calc-menu.el: Make it loadable in isolation.
7033
7034 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7035 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7036 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7037 (eudc-bbdb-query-internal): Require 'bbdb.
7038
99fb2756
GM
7039 * lpr.el (lpr-headers-switches):
7040 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7041
7042 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7043
0da7ad96
GM
7044 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7045
8582e4c4
GM
7046 * term.el (term-set-escape-char): Make it idempotent.
7047
f71c50d0
LL
70482013-05-10 Leo Liu <sdl.web@gmail.com>
7049
5ac2eb34
SM
7050 * progmodes/octave.el (inferior-octave-completion-table):
7051 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7052 completion due to bug#11906.
7053 (octave-beginning-of-defun): Re-write to be more general.
7054
d5837773
GM
70552013-05-10 Glenn Morris <rgm@gnu.org>
7056
7057 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7058
027c0f75
SM
70592013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * comint.el (comint-redirect-send-command-to-process): Use :around
7062 rather than :override for comint-redirect-filter.
7063 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7064 Call it instead of comint-redirect-original-filter-function (which
7065 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7066
4465bfb4
JD
70672013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7068
7069 * frame.el (display-monitor-attributes-list): Add NS case.
7070 (ns-display-monitor-attributes-list): Declare.
7071
2d809ffa 70722013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7073
7074 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7075
e54eeb9b
GM
70762013-05-09 Glenn Morris <rgm@gnu.org>
7077
56cd351d
GM
7078 * international/fontset.el (vertical-centering-font-regexp):
7079 Set standard-value.
7080
d84b6108
GM
7081 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7082
a931698a
GM
7083 * bookmark.el (bookmark-search-delay):
7084 * cus-start.el (vertical-centering-font-regexp):
7085 * ps-mule.el (ps-mule-font-info-database-default):
7086 * ps-print.el (ps-default-fg, ps-default-bg):
7087 * type-break.el (type-break-good-break-interval):
7088 * whitespace.el (whitespace-indentation-regexp)
7089 (whitespace-space-after-tab-regexp):
7090 * emacs-lisp/testcover.el (testcover-1value-functions)
7091 (testcover-noreturn-functions, testcover-progn-functions)
7092 (testcover-prog1-functions):
7093 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7094 * eshell/em-glob.el (eshell-glob-translate-alist):
7095 * play/tetris.el (tetris-tty-colors):
7096 * progmodes/cpp.el (cpp-face-default-list):
7097 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7098 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7099 (idlwave-help-browser-generic-args):
7100 * progmodes/make-mode.el (makefile-special-targets-list):
7101 * progmodes/python.el (python-shell-virtualenv-path):
7102 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7103 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7104 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7105 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7106 * textmodes/reftex-vars.el (reftex-format-label-function):
7107 * textmodes/remember.el (remember-diary-file): Fix custom types.
7108
e54eeb9b
GM
7109 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7110 Add :version.
7111
455851dd
LL
71122013-05-09 Leo Liu <sdl.web@gmail.com>
7113
7114 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7115 Restore file completion. (Bug#14300)
455851dd
LL
7116 (inferior-octave-startup): Fix incorrect highlighting for the
7117 first prompt.
7118
a9e4425b
SM
71192013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * progmodes/ruby-mode.el: First cut at SMIE support.
7122 (ruby-use-smie): New var.
7123 (ruby-smie-grammar): New constant.
7124 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7125 (ruby-smie--forward-token, ruby-smie--backward-token)
7126 (ruby-smie-rules): New functions.
7127 (ruby-mode-variables): Setup SMIE if applicable.
7128
060ca408
EZ
71292013-05-08 Eli Zaretskii <eliz@gnu.org>
7130
7131 * simple.el (line-move-visual): Signal beginning/end of buffer
7132 only if vertical-motion moved less than it was requested. Avoids
7133 silly incorrect error messages when there are display strings with
7134 multiple newlines at EOL.
7135
1d5963cc
SM
71362013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7139 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7140 (prolog-char-quote-workaround):
7141 * progmodes/cperl-mode.el (cperl-under-as-char):
7142 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7143 Mark as obsolete.
7144 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7145 their declaration.
7146 (vhdl-mode-syntax-table-init): Remove.
7147
c9990474
SM
7148 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7149 last change.
1d5963cc
SM
7150
7151 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7152 syntax for "_".
7153 (ld-script-font-lock-keywords):
7154 Change regexps to use things like \_< and \_>.
7155
7156 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7157 Change all regexps to use things like \_< and \_>.
7158
7159 * progmodes/autoconf.el (autoconf-definition-regexp)
7160 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7161 Handle a _ with symbol syntax.
7162 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7163
c9990474
SM
7164 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7165 Consolidate declaration.
1d5963cc
SM
7166 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7167 the declaration.
7168 (ada-create-syntax-table): Remove.
7169 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7170 already has the right syntax nowadays.
7171 (ada-goto-next-word): Don't change the syntax of "_".
7172
7173 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7174 with-wrapper-hook.
7175
72d3cfca
SS
71762013-05-08 Sam Steingold <sds@gnu.org>
7177
7178 * thingatpt.el (thing-at-point): Accept optional second argument
7179 NO-PROPERTIES to strip the text properties from the return value.
7180 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7181 to `thing-at-point' instead of stripping the properties ourselves.
7182 Also, when `thing-at-point' fails to find a url, prepend "http://"
7183 to the filename at point on the assumption that the user is
7184 pointing at something like gnu.org/gnu.
7185
5cb15713
JB
71862013-05-08 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7189 * faces.el (crm-separator):
7190 Silence byte-compiler.
7191
7192 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7193 (tool-bar-map): Remove unneeded defvars.
7194
ea78b95b
LL
71952013-05-08 Leo Liu <sdl.web@gmail.com>
7196
7197 Re-work a fix for bug#10994 based on Le Wang's patch.
7198 * ido.el (ido-remove-consecutive-dups): New helper.
7199 (ido-completing-read): Use it.
7200 (ido-chop): Revert fix for bug#10994.
7201
dc7466df
AS
72022013-05-08 Adam Spiers <emacs@adamspiers.org>
7203
7204 * cus-edit.el (custom-save-variables):
7205 Pretty-print long values. (Bug#14187)
7206
9ecf672a
GM
72072013-05-08 Glenn Morris <rgm@gnu.org>
7208
7209 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7210 (m4-mode-syntax-table): Init in the defvar.
7211 (m4-mode-abbrev-table): Let define-derived-mode define it.
7212
3f555be8
TT
72132013-05-08 Tom Tromey <tromey@redhat.com>
7214
7215 * progmodes/m4-mode.el (m4-mode-syntax-table):
7216 Do not treat "_" as word constituent. (Bug#14167)
7217
7cc8ae06
GM
72182013-05-07 Glenn Morris <rgm@gnu.org>
7219
4f58bc06
GM
7220 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7221 Remove explicit eshell-isearch-cancel-map.
7222
7cc8ae06
GM
7223 * progmodes/f90.el (f90-smart-end-names): New option.
7224 (f90-smart-end): Doc fix.
7225 (f90-end-block-optional-name): New constant.
7226 (f90-block-match): Respect f90-smart-end-names.
7227
ceb57e59
SM
72282013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7231 about implicit semi-colons (bug#14218).
7232
4e3f9230
YM
72332013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7234
7235 * frame.el (display-monitor-attributes-list)
7236 (frame-monitor-attributes): New functions.
7237
203a5572
LL
72382013-05-06 Leo Liu <sdl.web@gmail.com>
7239
7240 * progmodes/octave.el (octave-syntax-propertize-function): Change
7241 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7242 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7243 (octave-completion-at-point): Rename from
203a5572
LL
7244 octave-completion-at-point-function.
7245 (inferior-octave-directory-tracker): Robustify.
7246 (octave-text-functions): Remove and fix its uses. No such things
7247 any more.
7248
ee6cff99
SM
72492013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * emacs-lisp/trace.el (trace--display-buffer): New function.
7252 (trace-make-advice): Use it.
7253
32985194
JL
72542013-05-06 Juri Linkov <juri@jurta.org>
7255
7256 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7257 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7258 Doc fix.
7259 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7260 in the help string. (Bug#12985)
7261
a1c700de
KD
72622013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7263
7264 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7265
c67c0839
SM
72662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7267
323885fd
SM
7268 * progmodes/perl-mode.el: Add support for here documents.
7269 (perl-syntax-propertize-function): Match here-doc markers.
7270 (perl-syntax-propertize-special-constructs): Find their end.
7271 (perl-imenu-generic-expression): Use [:alnum:].
7272
c67c0839
SM
7273 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7274 (advice--add-function): Refresh the advice if already present
7275 (bug#14317).
7276
d491e7a8
IA
72772013-05-06 Ivan Andrus <darthandrus@gmail.com>
7278
7279 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7280
ddf9925e
GM
72812013-05-06 Glenn Morris <rgm@gnu.org>
7282
7cc3af27
GM
7283 * w32-fns.el (w32-charset-info-alist): Declare.
7284
16e343d6
GM
7285 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7286 of its defcustom properties.
7287 (eshell-cmpl-initialize): No need to load pcomplete.
7288
7d889a47
GM
7289 * generic-x.el: No need to require comint when compiling.
7290
ddf9925e
GM
7291 * net/eudc-export.el: Make it loadable without bbdb.
7292 (top-level): Use require rather than load-library.
7293 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7294 (eudc-batch-export-records-to-bbdb)
7295 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7296 Require bbdb.
7297
1e2c18df
SM
72982013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7301 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7302 some tweaks, instead.
7303
02502a5f
LL
73042013-05-05 Leo Liu <sdl.web@gmail.com>
7305
7306 * progmodes/octave.el (octave-font-lock-keywords)
7307 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7308 (inferior-octave-send-list-and-digest): Improve error message.
7309 (octave-mode, inferior-octave-mode): Use setq-local.
7310 (octave-help): Set info-lookup-mode.
7311
0dc04f42
RS
73122013-05-05 Richard Stallman <rms@gnu.org>
7313
6c54491c
RS
7314 * vc/compare-w.el (compare-windows-whitespace):
7315 Treat no-break space as whitespace.
7316
0dc04f42
RS
7317 * mail/rmailsum.el (rmail-summary-rmail-update):
7318 Detect empty summary and don't change selected message.
7319 (rmail-summary-goto-msg): Likewise.
7320
df8f35df
RS
7321 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7322 Doc fixes, rename args.
7323
5356e1a3
AM
73242013-05-05 Alan Mackenzie <acm@muc.de>
7325
7326 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7327
d44014cb
JL
73282013-05-05 Juri Linkov <juri@jurta.org>
7329
7330 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7331 to not add the length of the summary segment to the return value.
7332 (Bug#14125)
7333
c129b51f
LL
73342013-05-05 Leo Liu <sdl.web@gmail.com>
7335
7336 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7337 (inferior-octave-output-filter): Remove.
7338 (octave-send-region, inferior-octave-startup): Fix callers.
7339 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7340 (octave-binary-file-extensions): New user variable.
7341 (octave-find-definition): Confirm if opening binary files.
7342 (octave-help-file): Use octave-find-definition to get the binary
7343 confirmation.
7344 (octave-help): Adjust for octave-help-file change.
7345
aa7dab97
SM
73462013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7349 Merge the two entries that handle function definitions.
7350 (pascal--syntax-propertize): New const.
7351 (pascal-mode): Use it. Use setq-local.
7352
fd3a9a6b
GM
73532013-05-04 Glenn Morris <rgm@gnu.org>
7354
7355 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7356 (diary-from-outlook): Respect diary-from-outlook-function.
7357
30c7e542
SM
73582013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7361 Move the declaration from C.
7362 (read-minibuffer, eval-minibuffer): Move from C.
7363 (completion-setup-function): Avoid minibuffer-completion-contents.
7364
b54f978b
LL
73652013-05-03 Leo Liu <sdl.web@gmail.com>
7366
7367 * progmodes/octave.el (octave-font-lock-keywords): Do not
7368 dehighlight 'end' in comments or strings.
30c7e542
SM
7369 (octave-completing-read, octave-goto-function-definition):
7370 New helpers.
d4d0f9b3
LL
7371 (octave-help-buffer): New user variable.
7372 (octave-help-file, octave-help-function): New button types.
7373 (octave-help): New command and bind it to C-h ;.
7374 (octave-find-definition): New command and bind it to M-.
d74a1581 7375 (user-error): Alias to error if not defined.
b54f978b 7376
27135018
LL
73772013-05-02 Leo Liu <sdl.web@gmail.com>
7378
7379 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7380 for \. (bug#14332)
7381 (octave-font-lock-keywords): Include [ and {.
7382
0d634d3a
LL
73832013-05-02 Leo Liu <sdl.web@gmail.com>
7384
7385 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7386 (inferior-octave): Remove calling comint-mode and return the buffer.
7387 (inferior-octave-startup): Cosmetic changes.
7388
b4c8295e
LL
73892013-05-02 Leo Liu <sdl.web@gmail.com>
7390
30c7e542
SM
7391 * progmodes/octave.el (octave-syntax-propertize-function):
7392 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7393
f12ad6ec
GM
73942013-05-02 Glenn Morris <rgm@gnu.org>
7395
7396 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7397 * desktop.el (vc-dir-mode): Just autoload it here.
7398
30cac1e0
AM
73992013-05-02 Alan Mackenzie <acm@muc.de>
7400
7401 Eliminate variable c-standard-font-lock-fontify-region-function.
7402 * progmodes/cc-mode.el
7403 (c-standard-font-lock-fontify-region-function): Remove.
7404 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7405
d8ef28b1
LL
74062013-05-01 Leo Liu <sdl.web@gmail.com>
7407
2640d52e 7408 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7409 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7410 variables were removed from Octave in 2007.
d8ef28b1
LL
7411 (inferior-octave-startup): Fix uses.
7412 (comint-line-beginning-position): Remove compatibility code for
7413 emacs 21.
7414
ac63ec89
JL
74152013-05-01 Juri Linkov <juri@jurta.org>
7416
7417 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7418
9e9be37c
JL
74192013-05-01 Juri Linkov <juri@jurta.org>
7420
7421 * comint.el (comint-previous-matching-input): Don't print message
7422 "History item: %d" when `isearch-mode' is active.
7423 (comint-history-isearch-message): Print message "History item: %d"
7424 when `comint-input-ring-index' is not empty and this function is
7425 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7426
9b92c13b
LL
74272013-05-01 Leo Liu <sdl.web@gmail.com>
7428
7429 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7430 definitions. Use completion-at-point to insert keywords.
7431 (octave-abbrev-start): Remove.
7432 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7433
b12d33d7
LL
74342013-04-30 Leo Liu <sdl.web@gmail.com>
7435
7436 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7437 change.
7438
3d1c39fa
AM
74392013-04-30 Alan Mackenzie <acm@muc.de>
7440
7441 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7442 * progmodes/cc-engine.el (c-back-over-member-initializers):
7443 new function.
3d1c39fa
AM
7444 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7445 (most) member init lists.
7446
5147fc17
RS
74472013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7448
7449 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7450 variable.
7451
5b78d7fc
LL
74522013-04-30 Leo Liu <sdl.web@gmail.com>
7453
7454 * progmodes/octave.el (octave-variables): Remove. No builtin
7455 variables any more. All converted to functions.
7456 (octave-font-lock-keywords, octave-completion-at-point-function):
7457 Fix uses.
7458 (octave-font-lock-texinfo-comment): New user variable.
7459 (octave-texinfo-font-lock-keywords): New variable for texinfo
7460 comment block.
7461 (octave-function-comment-block): New face.
7462 (octave-font-lock-texinfo-comment): New function.
7463 (octave-mode): Font lock texinfo comment block.
7464
38d8527b
LL
74652013-04-29 Leo Liu <sdl.web@gmail.com>
7466
7467 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7468 indexing expression.
7469 (octave-continuation-string): Do not use \.
7470 (inferior-octave-complete-impossible): Remove.
7471 (inferior-octave-completion-table)
7472 (inferior-octave-completion-at-point): Remove its uses.
7473 (inferior-octave-startup): completion_matches was introduced to
7474 Octave in 1996 so safe to assume it.
7475 (octave-function-file-comment): Improve to follow how Octave does it.
7476 (octave-update-function-file-comment): Tweak.
7477
2ec12cb0
LL
74782013-04-29 Leo Liu <sdl.web@gmail.com>
7479
7480 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7481 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7482 (octave-function-file-comment): Fix typo.
7483 (octave-sync-function-file-names): Use read-char-choice.
7484
6eaed048
JB
74852013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7486
7487 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7488 to t for the less important warnings.
7489
3ffa2d4f
DH
74902013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7491
7492 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7493
685c9501
GM
74942013-04-27 Glenn Morris <rgm@gnu.org>
7495
7496 * vc/log-view.el (log-view-current-entry):
7497 Treat "---" separator lines as part of the following rev. (Bug#14169)
7498
0208ede7
JL
74992013-04-27 Juri Linkov <juri@jurta.org>
7500
7501 * subr.el (read-number): Doc fix about using it by interactive
7502 code letter `n'. (Bug#14254)
7503
5db9dace
JL
75042013-04-27 Juri Linkov <juri@jurta.org>
7505
7506 * desktop.el (desktop-auto-save-timeout): New option.
7507 (desktop-file-checksum): New variable.
7508 (desktop-save): Add optional arg `auto-save' and don't auto-save
7509 if nothing changed.
7510 (desktop-auto-save-timer): New variable.
7511 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7512 (after-init-hook): Call `desktop-auto-save-set-timer'.
7513 Suggested by Reuben Thomas <rrt@sc3d.org> in
7514 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7515
b7260dd4
LL
75162013-04-27 Leo Liu <sdl.web@gmail.com>
7517
7518 * progmodes/octave.el (octave-function-file-p)
7519 (octave-skip-comment-forward, octave-function-file-comment)
7520 (octave-update-function-file-comment): New functions.
7521 (octave-mode-map): Bind C-c ; to
7522 octave-update-function-file-comment.
7523 (octave-mode-menu): Add octave-update-function-file-comment.
7524 (octave-mode, inferior-octave-mode): Fix doc-string.
7525 (octave-insert-defun): Conform to Octave's coding convention.
7526 (Bug#14285)
7527
7528 * files.el (basic-save-buffer): Don't let errors in
7529 before-save-hook prevent saving buffer.
7530
c46da669
RW
75312013-04-20 Roland Winkler <winkler@gnu.org>
7532
7533 * faces.el (read-face-name): Use completing-read if arg multiple
7534 is nil.
7535
a81ee1eb
IL
75362013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7537
7538 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7539 displayed, move point to after the totals line.
7540 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7541 for the details.
7542
4fac34ce
SM
75432013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7546 Add current dir to the load-path.
7547 (package-generate-autoloads): Don't rely on
7548 autoload-ensure-default-file.
7549
f6bfc063
RT
75502013-04-26 Reuben Thomas <rrt@sc3d.org>
7551
d40ab5cf
BG
7552 * textmodes/remember.el (remember-store-in-files): Document that
7553 the file name format is passed to `format-time-string'.
f6bfc063 7554
e55d3b04
LL
75552013-04-26 Leo Liu <sdl.web@gmail.com>
7556
7557 * progmodes/octave.el (octave-sync-function-file-names): New function.
7558 (octave-mode): Use it in before-save-hook.
7559
e53052d3
SM
75602013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7561
140ef50c
SM
7562 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7563 (bug#14274).
7564
e53052d3
SM
7565 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7566 \n and comment, even if it's not an implicit ; (bug#14218).
7567
af80458d 75682013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7569
7570 * subr.el (read-number): Once more use `read' rather than
7571 `string-to-number', to trap non-numeric input. (Bug#14254)
7572
af80458d 75732013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7574
7575 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7576 Use `syntax-multiline' text property consistently instead of
8a621d53 7577 `font-lock-multiline'. (Bug#14237)
70203c2e 7578
e6ea1f6c
GM
75792013-04-26 Glenn Morris <rgm@gnu.org>
7580
7581 * emacs-lisp/shadow.el (list-load-path-shadows):
7582 No longer necessary to check for duplicate simple.el, since
7583 2012-07-07 change to init_lread to not include installation lisp
7584 directories in load-path when running uninstalled. (Bug#14270)
7585
070ccca4
LL
75862013-04-26 Leo Liu <sdl.web@gmail.com>
7587
7588 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7589 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7590 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7591 octave-in-string-or-comment-p.
7592 (octave-in-comment-p, octave-in-string-p)
7593 (octave-in-string-or-comment-p): Replace defsubst with defun.
7594
9d1c5fb6
PE
75952013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7596
7597 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7598
c034abda
BG
75992013-04-25 Bastien Guerry <bzg@gnu.org>
7600
7601 * textmodes/remember.el (remember-data-directory)
7602 (remember-directory-file-name-format): Fix custom types.
7603
584ea277
LL
76042013-04-25 Leo Liu <sdl.web@gmail.com>
7605
e53052d3
SM
7606 * progmodes/octave.el (octave-completion-at-point-function):
7607 Make use of inferior octave process.
584ea277
LL
7608 (octave-initialize-completions): Remove.
7609 (inferior-octave-completion-table): New function.
7610 (inferior-octave-completion-at-point): Use it.
7611 (octave-completion-alist): Remove.
7612
1693b06a
SM
76132013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7616 (opascal-mode-syntax-table): New var.
7617 (opascal-literal-kind, opascal-is-literal-end)
7618 (opascal-literal-token-at): Rewrite.
7619 (opascal--literal-start-re, opascal-font-lock-keywords)
7620 (opascal--syntax-propertize): New constants.
7621 (opascal-font-lock-defaults): Adjust.
7622 (opascal-mode): Use them. Set comment-<foo> variables as well.
7623 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7624 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7625 (delphi-other-face, opascal-other-face): Remove face variables.
7626 (opascal-save-state): Remove macro.
7627 (opascal-fontifying-progress-step): Remove constant.
7628 (opascal--ignore-changes): Remove var.
7629 (opascal-set-token-property, opascal-parse-next-literal)
7630 (opascal-is-stable-literal, opascal-complete-literal)
7631 (opascal-is-literal-start, opascal-face-of)
7632 (opascal-parse-region, opascal-parse-region-until-stable)
7633 (opascal-fontify-region, opascal-after-change)
7634 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7635 (opascal-debug-parse-region, opascal-debug-parse-window)
7636 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7637 (opascal-debug-fontify-buffer): Remove.
7638 (opascal-debug-mode-map): Adjust accordingly.
7639
be64c05d
LL
76402013-04-25 Leo Liu <sdl.web@gmail.com>
7641
7642 Merge octave-mod.el and octave-inf.el into octave.el with some
7643 cleanups.
7644 * progmodes/octave.el: New file renamed from octave-mod.el.
7645 * progmodes/octave-inf.el: Merged into octave.el.
7646 * progmodes/octave-mod.el: Renamed to octave.el.
7647
d79d37bd
TH
76482013-04-25 Tassilo Horn <tsdh@gnu.org>
7649
7650 * textmodes/reftex-vars.el
7651 (reftex-label-ignored-macros-and-environments): New defcustom.
7652
7653 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7654
ced3fc5d
SM
76552013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7658 (smie-indent-keyword): Improve the check to ensure that the next
7659 comment is really on the same line.
7660 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7661
7662 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7663 semi-colons if the line is not otherwise empty (bug#14218).
7664
1c141dad
GM
76652013-04-25 Glenn Morris <rgm@gnu.org>
7666
7667 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7668
5058062a
SM
76692013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * progmodes/opascal.el (opascal-set-token-property): Rename from
7672 opascal-set-text-properties and only set `token' (bug#14134).
7673 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7674 (opascal-literal-text-properties): Remove.
7675 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7676 Adjust callers.
7677
5db9dace 76782013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7679
7680 * textmodes/remember.el (remember-handler-functions): Add an
7681 option for a new handler `remember-store-in-files'.
7682 (remember-data-directory, remember-directory-file-name-format):
7683 New options.
7684 (remember-store-in-files): New function to store remember notes
7685 as separate files within a directory.
7686
4391916c
MH
76872013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7688
7689 * progmodes/compile.el (compilation-next-error-function):
7690 Pass "formats" to compilation-find-file (bug#11777).
7691
bb7cdf58
GM
76922013-04-24 Glenn Morris <rgm@gnu.org>
7693
3b8fe752 7694 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7695 * vc/vc-hg.el (vc-hg-print-log):
7696 * vc/vc-svn.el (vc-svn-print-log):
7697 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7698
bb7cdf58
GM
7699 * vc/vc-bzr.el (vc-bzr-print-log):
7700 * vc/vc-cvs.el (vc-cvs-print-log):
7701 * vc/vc-git.el (vc-git-print-log):
7702 * vc/vc-hg.el (vc-hg-print-log):
7703 * vc/vc-mtn.el (vc-mtn-print-log):
7704 * vc/vc-rcs.el (vc-rcs-print-log):
7705 * vc/vc-sccs.el (vc-sccs-print-log):
7706 * vc/vc-svn.el (vc-svn-print-log):
7707 * vc/vc.el (vc-print-log-internal): Doc fixes.
7708
b46a056e
GM
77092013-04-23 Glenn Morris <rgm@gnu.org>
7710
7711 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7712 Remove venerable code attempting to avoid substitute-command-keys.
7713
0aecf718
TH
77142013-04-23 Tassilo Horn <tsdh@gnu.org>
7715
4391916c
MH
7716 * textmodes/reftex-vars.el (reftex-label-regexps):
7717 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7718
117f94cf
SM
77192013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7720
4391916c 7721 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7722 Use lexical-binding.
7723 (jit-lock-force-redisplay): Use markers, check buffer's continued
7724 existence and beware narrowed buffers.
7725 (jit-lock-fontify-now): Adjust call accordingly.
7726
1d829c64
SM
77272013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7730 to avoid misleading the user.
7731
72d548a9
LL
77322013-04-22 Leo Liu <sdl.web@gmail.com>
7733
7734 * info-look.el: Prefer latex2e.info. (Bug#14240)
7735
d0853629
MA
77362013-04-22 Michael Albinus <michael.albinus@gmx.de>
7737
7738 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7739
7740 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7741 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7742 (tramp-set-completion-function, tramp-parse-putty):
7743 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7744 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7745 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7746 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7747 (tramp-call-local-coding-command): Use `tramp-call-process'
7748 instead of `tramp-compat-call-process'.
7749
7750 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7751 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7752 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7753 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7754 (tramp-maybe-send-script): Check for Perl binary.
7755 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7756
38cc0210
DU
77572013-04-22 Daiki Ueno <ueno@gnu.org>
7758
7759 * epg.el (epg-context-pinentry-mode): New function.
7760 (epg-context-set-pinentry-mode): New function.
7761 (epg--start): Pass --pinentry-mode option to gpg command.
7762
cc641ee1
XF
77632013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7764
02d844b5 7765 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7766 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7767 `completion-at-point'. (Bug#13774)
5d4e5c31 7768
cc641ee1
XF
7769 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7770 default key binding for `describe-distribution' has been moved to
7771 `C-h C-o'. (Bug#13970)
7772
1b42ee43
GM
77732013-04-21 Glenn Morris <rgm@gnu.org>
7774
7775 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7776 Add doc strings.
7777 (vc-print-log): Clarify interactive prompt.
7778
a6d63d97
GM
77792013-04-20 Glenn Morris <rgm@gnu.org>
7780
7781 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7782 No longer include timestamp etc information.
7783
d7f5c16f
RW
77842013-04-20 Roland Winkler <winkler@gnu.org>
7785
7786 * faces.el (read-face-name): Bug fix, return just one face if arg
7787 multiple is nil. (Bug#14209)
7788
bcd7a0a4
SM
77892013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7792 (remove-function): Autoload.
7793
7794 * comint.el (comint-redirect-original-filter-function): Remove.
7795 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7796 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7797 (vc-cvs-annotate-command):
bcd7a0a4
SM
7798 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7799 * progmodes/prolog.el (prolog-consult-compile):
7800 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7801 Use add/remove-function instead.
7802 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7803 (gud-tooltip-process-output, gud-tooltip-tips):
7804 Use add/remove-function instead.
7805 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7806 (scheme-interaction-mode, exit-scheme-interaction-mode):
7807 Use add/remove-function instead.
7808
7809 * vc/vc-dispatcher.el: Use lexical-binding.
7810 (vc--process-sentinel): Rename from vc-process-sentinel.
7811 Change last arg to be the code to run. Don't use vc-previous-sentinel
7812 and vc-sentinel-commands any more.
7813 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7814 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7815
e36b2d20 78162013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7817
bcd7a0a4 7818 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7819 Handle function names with a single character. (Bug#14111)
4d3268ba 7820
781b4af6 78212013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7822
7823 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7824 for subroutines defined in an eval (bug#14182).
7825
7d688336
TV
78262013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7827
7828 * bookmark.el (bookmark-completing-read): Improve handling of empty
7829 string (bug#14176).
7830
31dcede0
SM
78312013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7834
adc31213
FEG
78352013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7836
7837 New faster Imenu implementation (bug#14058).
7838 * progmodes/python.el:
7839 (python-imenu-prev-index-position):
7840 (python-imenu-format-item-label-function)
7841 (python-imenu-format-parent-item-label-function)
7842 (python-imenu-format-parent-item-jump-label-function):
7843 New vars.
7844 (python-imenu-format-item-label)
7845 (python-imenu-format-parent-item-label)
7846 (python-imenu-format-parent-item-jump-label)
7847 (python-imenu--put-parent, python-imenu--build-tree)
7848 (python-imenu-create-index, python-imenu-create-flat-index)
7849 (python-util-popn): New functions.
7850 (python-mode): Set imenu-create-index-function to
7851 python-imenu-create-index.
7852
cdca8255
SM
78532013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * winner.el (winner-active-region): Use region-active-p, activate-mark
7856 and deactivate-mark (bug#14225).
7857
7858 * simple.el (deactivate-mark): Don't inline it.
7859
beb42340
MA
78602013-04-18 Michael Albinus <michael.albinus@gmx.de>
7861
7862 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7863
fc7f4d7e
TH
78642013-04-18 Tassilo Horn <tsdh@gnu.org>
7865
7866 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7867 file extensions from the archive-mode entry in order to prefer
7868 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7869
29f47822
LL
78702013-04-18 Leo Liu <sdl.web@gmail.com>
7871
7872 * bindings.el (help-event-list): Add ?\?.
7873
d36ed1c8
SM
78742013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * subr.el (with-wrapper-hook): Declare obsolete.
7877 * simple.el (filter-buffer-substring-function): New hook.
7878 (filter-buffer-substring): Use it.
7879 (filter-buffer-substring-functions): Mark obsolete.
7880 * minibuffer.el (completion-in-region-function): New hook.
7881 (completion-in-region): Use it.
7882 (completion-in-region-functions): Mark obsolete.
7883 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7884 * abbrev.el (abbrev-expand-function): New hook.
7885 (expand-abbrev): Use it.
7886 (abbrev-expand-functions): Mark obsolete.
7887 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7888 and :filter-return.
7889
04754d36
FEG
78902013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7891
7892 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7893 and do not care about match data.
7894
dd8791e9
SM
78952013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7898 completion tables when completing error conditions and
7899 `declare' arguments.
7900 (lisp-complete-symbol, field-complete): Mark as obsolete.
7901 (check-parens): Unmatched parens are user errors.
7902 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7903
ffe54a13
AM
79042013-04-17 Michal Nazarewicz <mina86@mina86.com>
7905
dd8791e9
SM
7906 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7907 command changed buffer (ie. `flyspell-pre-buffer' is not current
7908 buffer), which prevents making decisions based on invalid value of
7909 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7910 cause an error when `flyspell-pre-point' was nil after switching
7911 buffers.
7912 (flyspell-post-command-hook): No longer needs to change buffers when
7913 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7914
ec7e39f2
AM
79152013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7916
7917 * textmodes/ispell.el (ispell-add-per-file-word-list):
7918 Fix `flyspell-correct-word-before-point' error when accepting
7919 words and `coment-padding' is an integer by using
7920 `comment-normalize-vars' (Bug #14214).
7921
083850a6
FEG
79222013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7923
7924 New defun movement commands.
7925 * progmodes/python.el (python-nav--syntactically)
7926 (python-nav--forward-defun, python-nav-backward-defun)
7927 (python-nav-forward-defun): New functions.
7928
619ed6e1
FEG
79292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7930
7931 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7932 (python-syntax-context): Use named compiler-macro for backwards
7933 compatibility with Emacs 24.x.
7934
7a1beb6c
LL
79352013-04-17 Leo Liu <sdl.web@gmail.com>
7936
7937 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7938 octave-hide-process-buffer.
7939
2d3fa3e5
SM
79402013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7943 (bug#14216).
7944
7ce5be54
JPG
79452013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7946
7947 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7948 Fix adjustment of offset when receiving incomplete responses from GDB
7949 (bug#14129).
7950
351edece
SM
79512013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7954 python-mode-abbrev-table.
7955 (python-skeleton-define): Adjust accordingly.
7956 (python-mode-abbrev-table): New table that inherits from it so that
7957 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7958
7959 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7960 (abbrev-symbol): Use it.
7961 (abbrev--before-point): Use it since we already handle inheritance.
7962
613f9481
LL
79632013-04-16 Leo Liu <sdl.web@gmail.com>
7964
7965 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7966 binding to info-lookup-symbol.
7967
51646b62
JB
79682013-04-16 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * minibuffer.el (completion--twq-all):
7971 * term/ns-win.el (ns-initialize-window-system):
7972 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7973
efb3f01d
SM
79742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7975
36c0a301
SM
7976 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7977 global bindings.
7978
efb3f01d
SM
7979 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7980
fb549d64
DG
79812013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7982
7983 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7984 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7985 to nil.
7986 (ruby-end-of-defun): Remove the unused arg, change the docstring
7987 to reflect that this function is only used as the value of
7988 `end-of-defun-function'.
7989 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7990 to reflect an earlier change that beginning/end-of-defun functions
7991 jump between methods in a class definition, as well as top-level
7992 functions.
7993
21e8fe2f
SM
79942013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * minibuffer.el (minibuffer-complete): Don't just scroll
7997 a *Completions* that's been iconified.
7998 (minibuffer-force-complete): Make sure repetitions do cycle when going
7999 through completion-in-region -> minibuffer-complete.
8000
20e527d0
AM
80012013-04-15 Alan Mackenzie <acm@muc.de>
8002
8003 Correct the placement of c-cpp-delimiters when there're #s not at
8004 col 0.
8005
8006 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8007 place a submatch around the #.
21e8fe2f
SM
8008 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8009 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8010 on the #, not BOL.
8011
dabefae5
SM
80122013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8015 (advice--member-p): New arg `name'.
8016 (advice--add-function, advice-member-p): Use it (bug#14202).
8017
85c9ab64
AM
80182013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8019
8020 Reformulate java imenu-generic-expression.
8021 The old expression contained ill formed regexps.
8022
8023 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8024 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8025 (cc-imenu-java-method-arg-regexp): New defconsts.
8026 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8027 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8028 handling of spaces in the regexp.
8029
0f821d99
AM
80302013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8031
8032 * textmodes/ispell.el (ispell-command-loop): Remove
8033 flyspell highlight of a word when ispell accepts it (bug #14178).
8034
eb922adf
MA
80352013-04-15 Michael Albinus <michael.albinus@gmx.de>
8036
8037 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8038 uses code from the previous `ange-ftp-run-real-handler'.
8039 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8040 only in case that function exist. This is needed for proper
8041 unloading of Tramp.
8042
4d9a0979
TH
80432013-04-15 Tassilo Horn <tsdh@gnu.org>
8044
8045 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8046
8047 * textmodes/reftex.el (reftex-compile-variables): Use it.
8048
a829b0dc
SM
80492013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8050
91e8293c
SM
8051 * files.el (normal-mode): Only use default major-mode if no other mode
8052 was specified.
8053
830aed4d
SM
8054 * emacs-lisp/trace.el (trace-values): New function.
8055
a829b0dc
SM
8056 * files.el: Allow : in local variables (bug#14089).
8057 (hack-local-variable-regexp): New var.
8058 (hack-local-variables-prop-line, hack-local-variables): Use it.
8059
7ae9f0fb
RW
80602013-04-13 Roland Winkler <winkler@gnu.org>
8061
8062 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8063 data before it gets modified by bibtex-beginning-of-entry.
8064
6646e848
RW
80652013-04-13 Roland Winkler <winkler@gnu.org>
8066
8067 * textmodes/bibtex.el (bibtex-url): Doc fix.
8068
80692013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8070
8071 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8072 does not visit a BibTeX file, exclude it from the list of buffers
8073 returned by bibtex-initialize.
8074
0aa3616e
SB
80752013-04-13 Stephen Berman <stephen.berman@gmx.net>
8076
8077 * window.el (split-window): Remove interactive form, since as a
8078 command this function is a special case of split-window-below.
8079 Correct doc string.
8080
011cddd6
RW
80812013-04-12 Roland Winkler <winkler@gnu.org>
8082
8083 * faces.el (read-face-name): Do not override value of arg default.
8084 Allow single faces and strings as default values. Remove those
8085 elements from return value that are not faces.
8086 (describe-face): Simplify.
8087 (face-at-point): New optional args thing and multiple so that this
8088 function can provide the same functionality previously provided by
8089 read-face-name.
8090 (make-face-bold, make-face-unbold, make-face-italic)
8091 (make-face-unitalic, make-face-bold-italic, invert-face)
8092 (modify-face, read-face-and-attribute): Use face-at-point.
8093
8094 * cus-edit.el (customize-face, customize-face-other-window)
8095 * cus-theme.el (custom-theme-add-face)
8096 * face-remap.el (buffer-face-set)
8097 * facemenu.el (facemenu-set-face): Use face-at-point.
8098
f24e0036
MA
80992013-04-12 Michael Albinus <michael.albinus@gmx.de>
8100
8101 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8102
da3cda2d
TH
81032013-04-10 Tassilo Horn <tsdh@gnu.org>
8104
8105 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8106 off leading { and trailing } from field values.
8107
15e54145
SM
81082013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8109
78ce603d
SM
8110 * emacs-lisp/timer.el (timer--check): New function.
8111 (timer--time, timer-set-function, timer-event-handler): Use it.
8112 (timer-set-idle-time): Simplify.
8113 (timer--activate): CSE.
8114 (timer-event-handler): Give more info in error message.
8115 (internal-timer-start-idle): New function, moved from C.
8116
15e54145
SM
8117 * mpc.el (mpc-proc): Add `restart' argument.
8118 (mpc-proc-cmd): Use it.
8119 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8120 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8121 less often.
8122
7144c627
MY
81232013-04-10 Masatake YAMATO <yamato@redhat.com>
8124
8125 * progmodes/sh-script.el: Implement `sh-mode' own
8126 `add-log-current-defun-function' (bug#14112).
8127 (sh-current-defun-name): New function.
8128 (sh-mode): Use the function.
8129
b39792eb
BG
81302013-04-09 Bastien Guerry <bzg@gnu.org>
8131
8132 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8133
8acdeb71
SM
81342013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8135
6fcdab68
SM
8136 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8137
8acdeb71
SM
8138 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8139 timer (bug#14156).
8140
e3e7b504
NF
81412013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8142
8143 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8144 declaration.
8145
201bb296
LL
81462013-04-07 Leo Liu <sdl.web@gmail.com>
8147
8148 * pcmpl-x.el: New file.
8149
ebb19708
DA
81502013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8151
8152 Do not set x-display-name until X connection is established.
8153 This is needed to prevent from weird situation described at
8154 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8155 * frame.el (make-frame): Set x-display-name after call to
8156 window system initialization function, not before.
8157 * term/x-win.el (x-initialize-window-system): Add optional
8158 display argument and use it.
8159 * term/w32-win.el (w32-initialize-window-system):
8160 * term/ns-win.el (ns-initialize-window-system):
8161 * term/pc-win.el (msdos-initialize-window-system):
8162 Add compatible optional display argument.
8163
33bb237a
EZ
81642013-04-06 Eli Zaretskii <eliz@gnu.org>
8165
8166 * files.el (normal-backup-enable-predicate): On MS-Windows and
8167 MS-DOS compare truenames of temporary-file-directory and of the
8168 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8169 don't fail comparison by compare-strings. Also, compare file
8170 names case-insensitively on MS-Windows and MS-DOS.
8171
134abf1f
SM
81722013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8175 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8176
d695cb94
DG
81772013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8178
e3e7b504
NF
8179 * whitespace.el (whitespace-color-on, whitespace-color-off):
8180 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8181
f4ad7ea1 81822013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8183
8184 * ispell.el (ispell-set-spellchecker-params):
8185 Really set `ispell-args' for all equivs.
8186
632556e4
SM
81872013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * ido.el (ido-completions): Use extra elements of ido-decorations
8190 (bug#14143).
8191 (ido-decorations): Update docstring.
8192
2a417372
MA
81932013-04-05 Michael Albinus <michael.albinus@gmx.de>
8194
8195 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8196 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8197 nil during initialization, in order not to miss changes since the
8198 file was opened. (Bug#14140)
8199
fc164b0c
LL
82002013-04-05 Leo Liu <sdl.web@gmail.com>
8201
8202 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8203
0ccecc08
JB
82042013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8205
8206 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8207
51af1aa2
GM
82082013-04-04 Glenn Morris <rgm@gnu.org>
8209
8210 * electric.el (electric-pair-inhibit-predicate): Add :version.
8211
b208ebc6
SM
82122013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8215 when a package is required several times (bug#14082).
8216
f3d3eaf0
RW
82172013-04-04 Roland Winkler <winkler@gnu.org>
8218
8219 * faces.el (read-face-name): Behave as promised by the docstring.
8220 Assume that arg default is a list of faces.
8221 (describe-face): Call read-face-name with list of default faces.
8222
2575da50
TV
82232013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8224
8225 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8226 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8227 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8228 the header.
8229 (bookmark-exit-hook-internal): Save even if list is empty.
8230
397703b4
YH
82312013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8232
8233 * emacs-lisp/package.el (package-pinned-packages): New var.
8234 (package--add-to-archive-contents): Obey it (bug#14118).
8235
691e26ae
AM
82362013-04-03 Alan Mackenzie <acm@muc.de>
8237
8a621d53
JB
8238 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8239 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8240
8241 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8242 parameter `not-in-delimiter'. Handle being inside comment opener.
8243 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8244 character in case we're typing a '*' after a '/'.
8245 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8246 instead by passing the parameter to c-state-pp-to-literal.
8247
8248 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8249 for elt. 7 of a parse state.
8250
4b725a70
PE
82512013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8252
8253 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8254 * international/latin1-disp.el, international/mule-util.el:
8255 * language/cyril-util.el, language/european.el, language/ind-util.el:
8256 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8257 * language/tibetan.el, language/viet-util.el:
8258 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8259
15c579f0
SM
82602013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8263 (electric-pair-post-self-insert-function): Use it.
8264 (electric-pair-default-inhibit): New function, extracted from
8265 electric-pair-post-self-insert-function.
8266
a77e2924
RW
82672013-03-31 Roland Winkler <winkler@gnu.org>
8268
8269 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8270
2bd8a4a8
SM
82712013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8274
8d3655be 82752013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8276
8277 Un-indent after "pass" and "return" statements (Bug#13888)
8278 * progmodes/python.el (python-indent-block-enders): New var.
8279 (python-indent-calculate-indentation): Use it.
8280
8d3655be 82812013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8282
8283 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8284 defun. Defining it as defalias could introduce too eager
8285 byte-compiler optimization. (Bug#14030)
8286
8d3655be 82872013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8288
8289 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8290
0b1619da
LL
82912013-03-30 Leo Liu <sdl.web@gmail.com>
8292
8293 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8294 (kmacro-execute-from-register): Pass the keyboard macro to
8295 kmacro-call-macro or repeating won't work correctly.
8296
0b938190
TZ
82972013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8298
8299 * progmodes/subword.el: Back to using `forward-symbol'.
8300
8301 * subr.el (forward-whitespace, forward-symbol)
8302 (forward-same-syntax): Move from thingatpt.el.
8303
35710234
LL
83042013-03-29 Leo Liu <sdl.web@gmail.com>
8305
8306 * kmacro.el (kmacro-to-register): New command.
8307 (kmacro-execute-from-register): New function.
8308 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8309
efc0bb73
SM
83102013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * mpc.el: Use defvar-local and setq-local.
8313 (mpc--proc-connect): Connection failures are not bugs.
8314 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8315 (mpc-volume-map): Bind to the up-events.
8316
75a2f981
TZ
83172013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8318
8319 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8320 instead of `forward-symbol'.
8321
17c781d1
SM
83222013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8325 (edebug--recursive-edit): Use it.
8326 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8327 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8328
f67bfbcf
LL
83292013-03-28 Leo Liu <sdl.web@gmail.com>
8330
8331 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8332
b59f639d
EZ
83332013-03-27 Eli Zaretskii <eliz@gnu.org>
8334
8335 * facemenu.el (list-colors-callback): New defvar.
8336 (list-colors-redisplay): New function.
8337 (list-colors-display): Install list-colors-redisplay as the
8338 revert-buffer-function. (Bug#14063)
8339
f557c1b1
SM
83402013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8341
b1da2957
SM
8342 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8343 and suffixes don't overlap (bug#14061).
8344
f557c1b1
SM
8345 * case-table.el: Use lexical-binding.
8346 (case-table-get-table): New function.
8347 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8348
002668e1
TZ
83492013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8350
8351 * progmodes/subword.el: Add `superword-mode' to do word motion
8352 over symbol_words (parallels and leverages `subword-mode' which
8353 does word motion inside MixedCaseWords).
8354
73572c72
AG
83552013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8356
78b8f320 8357 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8358 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8359
69b2c07e
SM
83602013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8363 Change return value to be a sexp. Delay `get-buffer' to after
8364 restoring the desktop (bug#13951).
8365
08bb5ee2
LL
83662013-03-26 Leo Liu <sdl.web@gmail.com>
8367
8368 * register.el: Move semantic tag handling back to
8369 cedet/semantic/senator.el. (Bug#14052)
8370
8d4c974e
SM
83712013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8374 into the prompt either (bug#13963).
8375
b234d92c
SM
83762013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8379 part of "(error-foo)".
8380
ddfa3cb4
JL
83812013-03-24 Juri Linkov <juri@jurta.org>
8382
8383 * replace.el (list-matching-lines-prefix-face): New defcustom.
8384 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8385 `occur-engine' if `face-differs-from-default-p' returns t.
8386 (occur-engine): Add `,' inside backquote construct to evaluate
8387 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8388 Pass `prefix-face' to the functions `occur-context-lines' and
8389 `occur-engine-add-prefix'.
8390 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8391 `prefix-face' and propertize the prefix with `prefix-face'.
8392 (Bug#14017)
8393
7b0e2f85
LL
83942013-03-24 Leo Liu <sdl.web@gmail.com>
8395
8396 * nxml/rng-valid.el (rng-validate-while-idle)
8397 (rng-validate-quick-while-idle): Guard against deleted buffer.
8398 (Bug#13999)
8399
8400 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8401 is the last entry in kill-buffer-hook.
8402
8403 * files.el (kill-buffer-hook): Doc fix.
8404
b3082f49
DG
84052013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8406
b234d92c
SM
8407 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8408 Make it safe-local.
bde73d27 8409
b3082f49
DG
8410 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8411
a320a2db
LL
84122013-03-23 Leo Liu <sdl.web@gmail.com>
8413
7e74b0fb
LL
8414 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8415 Remove.
8416
8417 * nxml/rng-valid.el (rng-validate-mode)
8418 (rng-after-change-function, rng-do-some-validation):
8419 * nxml/rng-maint.el (rng-validate-buffer):
8420 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8421 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8422 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8423 (nxml-extend-after-change-region): Use with-silent-modifications.
8424
a320a2db
LL
8425 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8426 timer-idle-list.
8427
8428 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8429 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8430 timer-idle-list. (Bug#13999)
8431
e38e6780
JL
84322013-03-23 Juri Linkov <juri@jurta.org>
8433
8434 * info.el (info-index-match): New face.
8435 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8436 main pattern and add text properties with the new face to matches
8437 in index entries relative to the beginning of the index entry.
8438 (Bug#14015)
8439
e8cc7880
DE
84402013-03-21 Eric Ludlam <zappo@gnu.org>
8441
8442 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8443 Inhibit read only while inserting objects.
8444
9bb0d822
TZ
84452013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8446
8447 * progmodes/cfengine.el: Update docs to mention
8448 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8449 symbol motion. Remove "_" from the word syntax.
8450
aa703640
TZ
84512013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8452
8453 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8454 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8455
afff09d0
JL
84562013-03-20 Juri Linkov <juri@jurta.org>
8457
8458 * info.el (Info-next-reference-or-link)
8459 (Info-prev-reference-or-link): New functions.
8460 (Info-next-reference, Info-prev-reference): Use them.
8461 (Info-try-follow-nearest-node): Handle footnote navigation.
8462 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8463
9a1ff164
SM
84642013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8467 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8468
2667d15d
PE
84692013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8470
8471 Suppress unnecessary non-ASCII chatter during build process.
8472 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8473 (batch-skkdic-convert): Suppress most of the chatter.
8474 It's not needed so much now that machines are faster,
8475 and its non-ASCII component was confusing; see Dmitry Gutov in
8476 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8477
438b0579
LL
84782013-03-20 Leo Liu <sdl.web@gmail.com>
8479
8480 * ido.el (ido-chop): Fix bug#10994.
8481
c128ab07
DG
84822013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8483
8484 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8485 Remove vars.
9a1ff164
SM
8486 (whitespace-color-on, whitespace-color-off):
8487 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8488
0e6008c5
SM
84892013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8492 remapping in mode-line.
8493 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8494
627b52b0
DG
84952013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8496
8497 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8498 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8499 (whitespace-font-lock-keywords): Change description.
8500 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8501 the constructed keywords instead.
8502 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8503
50c3a20b
LL
85042013-03-19 Leo Liu <sdl.web@gmail.com>
8505
8506 * progmodes/compile.el (compilation-display-error): New command.
8507 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8508 C-o. (Bug#13992)
8509
2aa2157b
PE
85102013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8511
8512 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8513
e477dbfa
JD
85142013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8515
8516 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8517
64ab82d1
MA
85182013-03-18 Michael Albinus <michael.albinus@gmx.de>
8519
8520 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8521
8522 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8523 * net/tramp-gvfs.el (top):
8524 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8525 (tramp-handle-shell-command): Use it.
8526 (tramp-dissect-file-name): Raise an error when hostname is a
8527 method name, and neither method nor user is specified.
8528
8529 * net/trampver.el: Update release number.
8530
33cef733
LL
85312013-03-18 Leo Liu <sdl.web@gmail.com>
8532
8533 Make sure eldoc can be turned off properly.
8534 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8535 eldoc-mode.
8536 (eldoc-display-message-p): Revert last change.
8537 (eldoc-display-message-no-interference-p)
8538 (eldoc-print-current-symbol-info): Tweak.
8539
2167b7b2
TH
85402013-03-18 Tassilo Horn <tsdh@gnu.org>
8541
8542 * doc-view.el (doc-view-new-window-function): Check the new window
8543 overlay's display property instead the char property of the
8544 buffer's first char. Use `with-selected-window' instead of
8545 `save-window-excursion' with `select-window'.
8546 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8547 display property instead the char property of the buffer's first char.
2167b7b2 8548
982efbcd
PE
85492013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8550
8551 Automate the build of ja-dic.el (Bug#13984).
8552 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8553 from the input, rather than assume that it's been done for us by the
8554 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8555 the current date into a ja-dic.el comment, as that complicates
8556 regression testing.
8557
2fcc7665
SM
85582013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * whitespace.el: Fix double evaluation.
8561 (whitespace-space, whitespace-hspace, whitespace-tab)
8562 (whitespace-newline, whitespace-trailing, whitespace-line)
8563 (whitespace-space-before-tab, whitespace-indentation)
8564 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8565 obsolete defvars.
8566 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8567 (whitespace-color-on): Use a single font-lock-add-keywords call.
8568 Fix double-evaluation of face variables.
8569
67c0a6e6
MA
85702013-03-17 Michael Albinus <michael.albinus@gmx.de>
8571
2fcc7665
SM
8572 * net/tramp-adb.el (tramp-adb-parse-device-names):
8573 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8574 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8575
69489f1d
LL
85762013-03-17 Leo Liu <sdl.web@gmail.com>
8577
8578 Extend eldoc to display info in the mode-line. (Bug#13978)
8579 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8580 (eldoc-mode-line-string): New variable.
8581 (eldoc-minibuffer-message): New function.
8582 (eldoc-message-function): New variable.
8583 (eldoc-message): Use it.
8584 (eldoc-display-message-p)
2fcc7665
SM
8585 (eldoc-display-message-no-interference-p):
8586 Support eldoc-post-insert-mode.
69489f1d
LL
8587
8588 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8589 (eval-expression): Run it.
8590
9c44569e
RW
85912013-03-17 Roland Winkler <winkler@gnu.org>
8592
8593 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8594 strings in the list of return values.
8595
327f1f6f
JB
85962013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8597
8598 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8599 radix before checking for HMS forms.
8600
67ed8fcd
LL
86012013-03-16 Leo Liu <sdl.web@gmail.com>
8602
8603 * progmodes/scheme.el: Add indentation and font-locking for λ.
8604 (Bug#13975)
8605
78be8b64 86062013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8607
8608 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8609 token before point (bug#13942).
8610
78be8b64 86112013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8612
95b43468 8613 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8614
98e775e6
EZ
86152013-03-16 Eli Zaretskii <eliz@gnu.org>
8616
8617 * startup.el (command-line-normalize-file-name): Fix handling of
8618 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8619 <xfq.free@gmail.com> in
8620 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8621
2edd6029
MA
86222013-03-15 Michael Albinus <michael.albinus@gmx.de>
8623
8624 Sync with Tramp 2.2.7.
8625
8626 * net/trampver.el: Update release number.
8627
d35f5864
TH
86282013-03-14 Tassilo Horn <tsdh@gnu.org>
8629
e903c210 8630 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
8631 (doc-view-insert-image): Don't modify overlay associated to
8632 non-live windows, and implement horizontal centering of image in
8633 case it's smaller than the window.
8634 (doc-view-new-window-function): Force redisplay of new windows on
8635 doc-view buffers.
d35f5864 8636
1c4a85ed
KF
86372013-03-13 Karl Fogel <kfogel@red-bean.com>
8638
8639 * saveplace.el (save-place-alist-to-file): Don't sort
8640 `save-place-alist', just pretty-print it (bug#13882).
8641
85b66a21
MA
86422013-03-13 Michael Albinus <michael.albinus@gmx.de>
8643
a020afb9
JB
8644 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8645 Check whether `default-file-name-coding-system' is bound.
8646 It isn't in XEmacs.
85b66a21 8647
175600da
SM
86482013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8649
e7f7cb1a
SM
8650 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8651 backquotes for `obsolete' (bug#13929).
8652
175600da
SM
8653 * international/mule.el (find-auto-coding): Include file name in
8654 obsolescence warning (bug#13922).
8655
ca68a22e
TZ
86562013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8657
8658 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8659 for CFEngine 3-specific indentation.
8660 (cfengine3-indent-line): Use it. Fix up category regex.
8661 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8662
940e5099
SM
86632013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * type-break.el (type-break-file-name):
8666 * textmodes/remember.el (remember-data-file):
8667 * strokes.el (strokes-file):
8668 * shadowfile.el (shadow-initialize):
8669 * saveplace.el (save-place-file):
8670 * ps-bdf.el (bdf-cache-file):
8671 * progmodes/idlwave.el (idlwave-config-directory):
8672 * net/quickurl.el (quickurl-url-file):
8673 * international/kkc.el (kkc-init-file-name):
8674 * ido.el (ido-save-directory-list-file):
8675 * emulation/viper.el (viper-custom-file-name):
8676 * emulation/vip.el (vip-startup-file):
8677 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8678 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8679
cc725808
PE
86802013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8681
8682 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8683 * language/thai-word.el: Switch to UTF-8.
8684
a020afb9 8685See ChangeLog.16 for earlier changes.
e3d51b27
MR
8686
8687;; Local Variables:
8688;; coding: utf-8
e3d51b27
MR
8689;; End:
8690
ab422c4d 8691 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8692
8693 This file is part of GNU Emacs.
8694
8695 GNU Emacs is free software: you can redistribute it and/or modify
8696 it under the terms of the GNU General Public License as published by
8697 the Free Software Foundation, either version 3 of the License, or
8698 (at your option) any later version.
8699
8700 GNU Emacs is distributed in the hope that it will be useful,
8701 but WITHOUT ANY WARRANTY; without even the implied warranty of
8702 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8703 GNU General Public License for more details.
8704
8705 You should have received a copy of the GNU General Public License
8706 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.