* keyboard.c (init_kboard): Now static. Add arg
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
20832de0
SM
12013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4
c6e8ae77
AC
52013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6
7 * calendar/icalendar.el (icalendar-import-file):
8 Fix interactive spec. (Bug#15482)
9
9db13baf
GM
102013-10-10 Glenn Morris <rgm@gnu.org>
11
9271e90e
GM
12 * desktop.el (desktop-save): Default to saving in .emacs.d,
13 since PWD is no longer in desktop-path by default. (Bug#15319)
14
9db13baf
GM
15 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
16 now that text mode has a menu with the same entry.
17 (menu-bar-text-mode-auto-fill): Remove now unused func.
18 * textmodes/text-mode.el (text-mode-map):
19 Use auto-fill help text from menu-bar.el.
20
a066720c
JA
212013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
22
23 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
24
2edcd3c7
JL
252013-10-09 Juri Linkov <juri@jurta.org>
26
27 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
28 instead of this-command-keys. Add universal-argument-more and
29 universal-argument-minus to the list of prefix commands. (Bug#15568)
30
574411d0
GM
312013-10-09 Glenn Morris <rgm@gnu.org>
32
14afa541
GM
33 * vc/vc-svn.el (vc-svn-create-repo):
34 Expand paths in file://... url. (Bug#15446)
35
574411d0
GM
36 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
37 Add some entries.
38 (authors): Remove unused local variables.
39
79804536
SM
402013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * profiler.el: Create a more coherent calltree from partial backtraces.
43 (profiler-format): Hide the tail with `invisible' so that C-s can still
44 find the hidden elements.
45 (profiler-calltree-depth): Don't recurse so enthusiastically.
46 (profiler-function-equal): New hash-table-test.
47 (profiler-calltree-build-unified): New function.
48 (profiler-calltree-build): Use it.
49 (profiler-report-make-name-part): Indent the calltree less.
50 (profiler-report-mode): Add visibility specs for profiler-format.
51 (profiler-report-expand-entry, profiler-report-toggle-entry):
52 Expand the whole subtree when provided with a prefix arg.
53
238150c8
DG
542013-10-09 Dmitry Gutov <dgutov@yandex.ru>
55
56 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
57 iuwu-mod token.
58 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
59 hanging iuwu-mod token.
60 (ruby-smie--forward-token): Do not include a dot after a token in
61 that token.
62 (ruby-smie--backward-token): Likewise.
63
b0949cc4
JL
642013-10-08 Juri Linkov <juri@jurta.org>
65
66 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
67 to isearch-other-control-char.
68 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
69 and isearch-post-command-hook to post-command-hook.
70 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
71 and isearch-post-command-hook from post-command-hook.
72 (isearch-unread-key-sequence)
73 (isearch-reread-key-sequence-naturally)
74 (isearch-lookup-scroll-key, isearch-other-control-char)
75 (isearch-other-meta-char): Remove functions.
76 (isearch-pre-command-hook, isearch-post-command-hook):
77 New functions based on isearch-other-meta-char rewritten
78 relying on the new behavior of overriding-terminal-local-map
79 that does not replace the local keymaps any more. (Bug#15200)
80
4ed77415
EZ
812013-10-08 Eli Zaretskii <eliz@gnu.org>
82
83 Support menus on text-mode terminals.
84 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
85 functionality.
86
87 * tooltip.el (tooltip-mode): Don't error out on TTYs.
88
89 * menu-bar.el (popup-menu, popup-menu-normalize-position): Moved
90 here from mouse.el.
91 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
92 and arrow keys.
93 (tty-menu-navigation-map): New map for TTY menu navigation.
94
95 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
96
97 * frame.el (display-mouse-p): Report text-mode mouse as available
98 on w32.
99 (display-popup-menus-p): Report availability if mouse is
100 available; don't condition on window-system.
101
102 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
103 (tty-menu-selected-face): New faces.
104
b7d5bd82
TL
1052013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
106
06286513
SM
107 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
108 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
109 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
110 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
111 New constants.
112 (lisp-mode-variables): New `elisp' argument.
113 (emacs-lisp-mode): Use it.
114 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
115 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
116
b7d5bd82
TL
117 * indent.el: Use lexical-binding.
118 (indent-region): Add progress reporter.
119 (tab-stop-list): Make it implicitly extend to infinity by repeating the
120 last step.
121 (indent--next-tab-stop): New function to implement this behavior.
122 (tab-to-tab-stop, move-to-tab-stop): Use it.
123
1242013-10-08 Teemu Likonen <tlikonen@iki.fi>
125
126 * indent.el (indent-rigidly--current-indentation): New function.
127 (indent-rigidly-map): New var.
128 (indent-rigidly): Use it to provide interactive mode (bug#8196).
129
5ea75d23
BG
1302013-10-08 Bastien Guerry <bzg@gnu.org>
131
132 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
133
cc5da1ec
SM
1342013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
135
8ffa1a0b
SM
136 * progmodes/perl-mode.el: Use lexical-binding.
137 Remove redundant :group args.
138 (perl-nochange): Change default to be closer to other major modes's
139 standard behavior.
140 (perl-indent-line): Don't consider text on current line as a
141 valid beginning of function from which to indent.
142
f2223371
SM
143 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
144 with more than one argument (bug#15538).
145
44256060
SM
146 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
147
cc5da1ec
SM
148 * vc/pcvs.el: Use lexical-binding.
149 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
150 environment of `eval'.
151 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
152 than a list of expressions. Adjust callers.
153 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
154
0ea1599d
DG
1552013-10-07 Dmitry Gutov <dgutov@yandex.ru>
156
157 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 158 case of the dot in a chained method call being on the following line.
0ea1599d 159
da3e5ebb
SM
1602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
161
2abb4e65
SM
162 * electric.el (electric-indent-inhibit): New var.
163 (electric-indent-post-self-insert-function): Use it.
164 * progmodes/python.el (python-mode): Set it.
165
d2e0e795
SM
166 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
167 open braces.
168
169 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
170
bdc6b4c8
SM
171 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
172 (css-mode): Use electric-indent-chars.
173
da3e5ebb
SM
174 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
175 (font-lock-beg, font-lock-end): Move before first use.
176 (nxml-mode): Use syntax-propertize-function.
177 (nxml-after-change, nxml-after-change1): Adjust accordingly.
178 (nxml-extend-after-change-region): Remove.
179 * nxml/xmltok.el: Use lexical-binding.
180 (xmltok-save): Use `declare'.
181 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
182 * nxml/nxml-util.el: Use lexical-binding.
183 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
184 Use `declare'.
185 * nxml/nxml-ns.el: Use lexical-binding.
186 (nxml-ns-save): Use `declare'.
187 (nxml-ns-prefixes-for): Avoid add-to-list.
188 * nxml/rng-match.el: Use lexical-binding.
189 (rng--ipattern): Use cl-defstruct.
190 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
191 (rng-cons-group-after, rng-subst-group-after)
192 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
193 Use closures instead of `(lambda...).
194
f8f91d5d
MA
1952013-10-07 Michael Albinus <michael.albinus@gmx.de>
196
197 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
198 of BEG and END.
199
da3e5ebb
SM
200 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
201 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
202 (tramp-gvfs-handle-insert-file-contents): Remove function.
203
da3e5ebb
SM
204 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
205 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
206
207 * net/trampver.el: Update release number.
208
7ccae3b1
SM
2092013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
210
55ca2c0d
SM
211 * progmodes/compile.el (compilation-parse-errors):
212 Use compilation--put-prop.
213 (compilation--ensure-parse): Check compilation-multiline.
214
731fc3ae
SM
215 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
216
da3e5ebb
SM
217 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
218 lexical-binding.
a5833280 219
2e7ba2c2
SM
220 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
221
7ccae3b1
SM
222 * progmodes/ruby-mode.el: Fix recently added tests.
223 (ruby-smie-grammar): Add - and +.
224 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
225 (ruby-smie--backward-id): New functions.
226 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
227 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
228 any more.
229
85698d63
LL
2302013-10-07 Leo Liu <sdl.web@gmail.com>
231
232 * register.el (register-preview-delay)
233 (register-preview-functions): New variables.
234 (register-read-with-preview, register-preview)
235 (register-describe-oneline): New functions.
236 (point-to-register, window-configuration-to-register)
237 (frame-configuration-to-register, jump-to-register)
238 (number-to-register, view-register, insert-register)
239 (copy-to-register, append-to-register, prepend-to-register)
240 (copy-rectangle-to-register): Use register-read-with-preview to
241 read register. (Bug#15525)
242
3986af6c
DS
2432013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
244
245 * net/network-stream.el (network-stream-open-starttls): Don't add
246 --insecure if it's already present, because that gnutls-cli
247 rejects getting that parameter twice.
248
5cd9cda9
DG
2492013-10-06 Dmitry Gutov <dgutov@yandex.ru>
250
251 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
252 keyword, too.
253
da9ea6d9
DG
2542013-10-05 Dmitry Gutov <dgutov@yandex.ru>
255
256 * newcomment.el (comment-use-global-state): Change default value
257 to t, mark obsolete (Bug#15251).
258 (comment-beginning): In addition to `comment-to-syntax', check the
259 value of `comment-use-global-state'.
260
34d1a133
SM
2612013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
264 (ruby-comment-column): Follow the global default, by default.
265 (ruby-smie-grammar): Add assignment syntax.
266 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
267 open-paren, a comma, or a \.
268 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
269 and line continuations.
270 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
271 followed by implicit semi-colons. Add rule for string concatenation
272 and for indentation at BOB.
273 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
274
275 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
276 calling next-sexp, since next-token may have skipped chars which
277 next-sexp doesn't know should be skipped!
278
6f6ab820
LL
2792013-10-05 Leo Liu <sdl.web@gmail.com>
280
34d1a133
SM
281 * progmodes/octave.el (octave-send-region):
282 Call compilation-forget-errors.
6f6ab820 283
34ca0f4c
XF
2842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
285
286 * vc/vc-svn.el (vc-svn-find-admin-dir):
287 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
288 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
289 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
290 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
291
a27c1b72
SM
2922013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
295
258ab3bc
SM
2962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * subr.el (read-passwd): Hide chars even when called within a context
299 where after-change-functions is disabled (bug#15501).
300 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
301 until we removed ourself from overriding-terminal-local-map.
302
939fb29c
LL
3032013-10-04 Leo Liu <sdl.web@gmail.com>
304
258ab3bc
SM
305 * progmodes/octave.el (inferior-octave-mode):
306 Call compilation-forget-errors.
939fb29c 307
63bd7f35
XF
3082013-10-04 Xue Fuqiao <xfq.free@gmail.com>
309
310 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
311
9e6229fa
MA
3122013-10-04 Michael Albinus <michael.albinus@gmx.de>
313
314 * net/secrets.el (secrets-create-collection): Add optional
315 argument ALIAS. Use proper Label keyword. Append ALIAS as
316 dbus-call-method argument. (Bug#15516)
317
1dab32a3
LL
3182013-10-04 Leo Liu <sdl.web@gmail.com>
319
320 * progmodes/octave.el (inferior-octave-error-regexp-alist)
321 (inferior-octave-compilation-font-lock-keywords): New variables.
322 (compilation-error-regexp-alist)
323 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
324 (inferior-octave-mode): Use compilation-shell-minor-mode.
325
6cad7ba3
JS
3262013-10-04 Jorgen Schaefer <forcer@forcix.cx>
327
328 * minibuffer.el (completion--replace): Be careful that `end' might be
329 a marker.
330
acbadd00
DU
3312013-10-03 Daiki Ueno <ueno@gnu.org>
332
333 Add support for package signature checking.
334 * emacs-lisp/package.el (url-http-file-exists-p)
335 (epg-make-context, epg-context-set-home-directory)
336 (epg-verify-string, epg-context-result-for)
337 (epg-signature-status, epg-signature-to-string)
338 (epg-check-configuration, epg-configuration)
339 (epg-import-keys-from-file): Declare.
340 (package-check-signature): New user option.
341 (package-unsigned-archives): New user option.
342 (package-desc): Add `signed' field.
343 (package-load-descriptor): Set `signed' field if .signed file exists.
344 (package--archive-file-exists-p): New function.
345 (package--check-signature): New function.
346 (package-install-from-archive): Check package signature.
347 (package--download-one-archive): Check archive signature.
348 (package-delete): Remove .signed file.
349 (package-import-keyring): New command.
350 (package-refresh-contents): Import default keyring.
351 (package-desc-status): Add "unsigned" status.
352 (describe-package-1, package-menu--print-info)
353 (package-menu-mark-delete, package-menu--find-upgrades)
354 (package-menu--status-predicate): Support "unsigned" status.
355
adf2aa61
SM
3562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
359 the new compilation scheme using the new byte-codes.
360
361 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
362 (byte-pophandler): New byte codes.
363 (byte-goto-ops): Adjust accordingly.
364 (byte-compile--use-old-handlers): New var.
365 (byte-compile-catch): Use new byte codes depending on
366 byte-compile--use-old-handlers.
367 (byte-compile-condition-case--old): Rename from
368 byte-compile-condition-case.
369 (byte-compile-condition-case--new): New function.
370 (byte-compile-condition-case): New function that dispatches depending
371 on byte-compile--use-old-handlers.
372 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
373 when we can.
374
375 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
376 Optimize under `condition-case' and `catch' if
377 byte-compile--use-old-handlers is nil.
378 (disassemble-offset): Handle new bytecodes.
379
328a8179
SM
3802013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * subr.el (error): Use `declare'.
383 (decode-char, encode-char): Use advertised-calling-convention instead
384 of the docstring to discourage use of the `restriction' arg.
385
15a1e936
DU
3862013-10-03 Daiki Ueno <ueno@gnu.org>
387
388 * epg.el (epg-verify-file): Add a comment saying that it does not
389 notify verification error as a return value nor a signal.
390 (epg-verify-string): Ditto.
391
376f862a
KR
3922013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
393
394 * progmodes/compile.el (compilation-start): Try globbing the arg to
395 `cd' (bug#15417).
396
a2f93a5f
MA
3972013-10-02 Michael Albinus <michael.albinus@gmx.de>
398
399 Sync with Tramp 2.2.8.
400
401 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
402 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
403 * net/trampver.el: Update release number.
404
0daa0804
JD
4052013-10-01 Jan Djärv <jan.h.d@swipnet.se>
406
407 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
408 and default-process-coding-system for darwin only.
409
abd1ae34
SM
4102013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
413
be4e325d
MH
4142013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
415
416 * vc/vc-git.el (vc-git-grep): Disable pager.
417
e9155c4a
DG
4182013-10-01 Dmitry Gutov <dgutov@yandex.ru>
419
494e898b
DG
420 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
421 Use :url instead of :homepage, as per
422 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
423
e9155c4a
DG
424 * newcomment.el (comment-beginning): When `comment-use-syntax' is
425 non-nil, use `syntax-ppss' (Bug#15251).
426
481a8e0f
RS
4272013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
428
be4e325d
MH
429 * progmodes/octave.el (inferior-octave-startup-file):
430 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 431
056453c6
DG
4322013-09-29 Dmitry Gutov <dgutov@yandex.ru>
433
be4e325d
MH
434 * emacs-lisp/package.el (package-desc-from-define):
435 Accept additional arguments as plist, convert them to an alist and store
436 them in the `extras' slot.
056453c6
DG
437 (package-generate-description-file): Convert extras alist back to
438 plist and append to the `define-package' form arguments.
439 (package--alist-to-plist): New function.
440 (package--ac-desc): Add `extras' slot.
441 (package--add-to-archive-contents): Check if the archive-contents
442 vector is long enough, and if it is, pass its `extras' slot value
443 to `package-desc-create'.
444 (package-buffer-info): Call `lm-homepage', pass the returned value
445 to `package-desc-from-define'.
446 (describe-package-1): Render the homepage button (Bug#13291).
447
be4e325d
MH
448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
449 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 450
832966e5
JD
4512013-09-29 Jan Djärv <jan.h.d@swipnet.se>
452
453 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
454 and default-process-coding-system to utf-8-unix (Bug#15402).
455
6cfe977d
XF
4562013-09-29 Xue Fuqiao <xfq.free@gmail.com>
457
458 * subr.el (looking-back): Do not recommend using looking-back.
459
38de11bd
AM
4602013-09-28 Alan Mackenzie <acm@muc.de>
461
462 Fix indentation/fontification of Java enum with "implements".
463
464 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
465 regexp which matches "implements", etc., in Java.
466 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
467 specifier clauses coming after "enum".
468 * progmodes/cc-fonts.el (c-font-lock-declarations)
469 (c-font-lock-enum-tail): Check for extra specifier clauses coming
470 after "enum".
471
1610938f
JD
4722013-09-28 Jan Djärv <jan.h.d@swipnet.se>
473
474 * faces.el (region): Change ns_selection_color to
475 ns_selection_fg_color, add ns_selection_bg_color.
476
e090f499
LL
4772013-09-28 Leo Liu <sdl.web@gmail.com>
478
4d2e94d1
LL
479 * progmodes/octave.el (inferior-octave-completion-table)
480 (inferior-octave-completion-at-point): Minor tweaks.
481
e090f499
LL
482 * textmodes/ispell.el (ispell-lookup-words): Rename from
483 lookup-words. (Bug#15460)
484 (lookup-words): Obsolete.
485 (ispell-complete-word, ispell-command-loop): All uses changed.
486
7e138a62
RS
4872013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
488
489 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
490 (octave-mode-menu): Add octave-send-buffer.
491 (octave-send-buffer): New function.
492
5af5ed08
RS
4932013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
494
495 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
496 octave-lookfor.
497 (octave-mode-menu): Add octave-lookfor.
498 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
499 octave-lookfor.
500 (octave-lookfor): New function.
501
3b7b2692
SM
5022013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * emacs-lisp/cl-macs.el:
505 (cl--loop-destr-temps): Remove.
506 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
507 its convention.
508 (cl--loop-set-iterator-function): New function.
509 (cl-loop): Adjust accordingly, so as not to use cl-subst.
510 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
511 Bind `it' with `let' instead of substituting it with `cl-subst'.
512 (cl--unused-var-p): New function.
513 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
514 Eliminate some unused variable warnings (bug#15326).
515
529fb53f
TH
5162013-09-27 Tassilo Horn <tsdh@gnu.org>
517
518 * doc-view.el (doc-view-scale-reset): Rename from
519 `doc-view-reset-zoom-level'.
520 (doc-view-scale-adjust): New command.
521 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
522 `doc-view-scale-adjust'.
523
0550c95a
TH
5242013-09-26 Tassilo Horn <tsdh@gnu.org>
525
526 * doc-view.el (doc-view-reset-zoom-level): New command.
527 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
528 zoom commands (bug#15466).
529
6950f152
KH
5302013-09-26 Kenichi Handa <handa@gnu.org>
531
532 * international/quail.el (quail-help): Make it not a command.
533
39587580
LL
5342013-09-26 Leo Liu <sdl.web@gmail.com>
535
536 * minibuffer.el (completion-all-sorted-completions): Make args
537 optional as they are.
538
00578659
DC
5392013-09-25 Daniel Colascione <dancol@dancol.org>
540
541 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
542 specs are and that they're not evaluated.
543
0c173878
SS
5442013-09-24 Sam Steingold <sds@gnu.org>
545
546 * midnight.el (clean-buffer-list-kill-regexps)
547 (clean-buffer-list-kill-buffer-names): Update for the new Man
548 buffer naming which includes the object name.
549
84998447
SM
5502013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * eshell/esh-cmd.el (eshell--sep-terms): New var.
553 (eshell-parse-command, eshell-parse-pipeline): Use it since
554 eshell-separate-commands requires a dynamic scoped var.
555 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
556
33215353
LL
5572013-09-23 Leo Liu <sdl.web@gmail.com>
558
559 * autoinsert.el (auto-insert-alist): Make the value of
560 lexical-binding match its file setting.
561
57b16162
JB
5622013-09-23 Juanma Barranquero <lekktu@gmail.com>
563
c8af4e67
JB
564 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
565
57b16162
JB
566 * autoarg.el (autoarg-kp-digit-argument):
567 * electric.el (Electric-command-loop):
568 * kmacro.el (kmacro-step-edit-insert):
569 Do not set universal-argument-num-events.
570
7186ba60
LL
5712013-09-22 Leo Liu <sdl.web@gmail.com>
572
573 * files.el (interpreter-mode-alist): Add octave.
574
ece15004
AM
5752013-09-21 Alan Mackenzie <acm@muc.de>
576
577 C++: fontify identifier in declaration following "public:" correctly.
578 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
579 to match "public", etc.
580 (c-decl-prefix-re): Add ":" into the C++ value.
581 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
582 bit. Add a check for a ":" preceded by "public", etc.
583
75d83e22
EZ
5842013-09-21 Eli Zaretskii <eliz@gnu.org>
585
586 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
587 recognized by GDB 7.5 and later.
588
d052d3bd
XF
5892013-09-21 Xue Fuqiao <xfq.free@gmail.com>
590
591 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
592
31dca772
R
5932013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * subr.el (internal--call-interactively): New const.
596 (called-interactively-p): Use it (bug#3984).
597
98ccf24e
XF
5982013-09-20 Xue Fuqiao <xfq.free@gmail.com>
599
600 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
601 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
602 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 603
c39cc7d1
SM
6042013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
607 (eshell-ls-orig-insert-directory): Remove.
608 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
609 (eshell-ls-use-in-dired): Use advice-add/remove.
610 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
611 Add `orig-fun' arg for use in :around advice.
612 Make it check (redundantly) eshell-ls-use-in-dired.
613
9a0289a2
GM
6142013-09-19 Glenn Morris <rgm@gnu.org>
615
a2c501b8
GM
616 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
617
c440407a
GM
618 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
619
9a0289a2
GM
620 * emacs-lisp/eieio.el (class-parent): Undo previous change.
621
85e05915
MA
6222013-09-19 Michael Albinus <michael.albinus@gmx.de>
623
624 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
625 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
626 (tramp-get-remote-python): New defuns.
627 (tramp-get-remote-uid-with-perl)
628 (tramp-get-remote-gid-with-perl): New defuns. Perl code
629 contributed by yary <not.com@gmail.com> (tiny change).
630 (tramp-get-remote-uid-with-python)
631 (tramp-get-remote-gid-with-python): New defuns. Python code
632 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
633 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
634
ce503312
GM
6352013-09-19 Glenn Morris <rgm@gnu.org>
636
f7544773
GM
637 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
638
72fd2877
GM
639 * eshell/em-unix.el (eshell-remove-entries):
640 Rename argument to avoid name-clash with global `top-level'.
641
336b5a56
GM
642 * eshell/esh-proc.el (eshell-kill-process-function):
643 Remove eshell-reset-after-proc from eshell-kill-hook if present.
644 (eshell-reset-after-proc): Remove unused arg `proc'.
645
57a3a53d
GM
646 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
647 (directory-files-and-attributes): Mark unused arg.
648
3261d4af
GM
649 * eshell/em-unix.el (eshell-remove-entries):
650 Remove unused arg `path'. Update callers.
651
8e51b5d0
GM
652 * eshell/em-hist.el (eshell-hist-parse-arguments):
653 Remove unused arg `silent'. Update callers.
654
ce503312
GM
655 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
656 Fix (f)boundp mix-up.
657
658 * eshell/em-smart.el (eshell-smart-scroll-window)
659 (eshell-disable-after-change):
336b5a56 660 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 661
ee3ce8a7
AM
6622013-09-18 Alan Mackenzie <acm@muc.de>
663
664 Fix fontification of type when followed by "const".
665 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
666 "known" types from fontification.
667
ec9177ba
GM
6682013-09-18 Glenn Morris <rgm@gnu.org>
669
7bb3e768
GM
670 * emacs-lisp/chart.el (x-display-color-cells): Declare.
671 (chart-face-list): Drop Emacsen without display-color-p.
672
5148da15
GM
673 * net/eww.el (libxml-parse-html-region): Declare.
674 (eww-display-html): Explicit error if no libxml2 support.
675
2f68e157
GM
676 * doc-view.el (doc-view-mode): Silence --without-x compilation.
677
9019d095
GM
678 * image.el (image-type-from-buffer, image-multi-frame-p):
679 Remove --without-x warning/error.
67645389 680
5f30349b 681 * mouse.el (mouse-yank-primary):
45069b2e 682 * term.el (term-mouse-paste):
5f30349b
GM
683 Reorder to silence --without-x compilation.
684
cd8edbbe
GM
685 * mpc.el (doc-view-mode): Silence --without-x compilation.
686
8a78544e
GM
687 * mail/rmailmm.el (rmail-mime-set-bulk-data):
688 Silence --without-x compilation.
689
12679bfd
GM
690 * progmodes/gud.el (gud-find-file, gud-mode):
691 Silence --without-x compilation.
692 (tooltip-mode): Declare.
30810a05 693
f0047cb9
GM
694 * wdired.el (dired-backup-overwrite): Remove declaration.
695 (wdired-mode-map): Add doc string.
696
e740f9d2
GM
697 * custom.el (x-get-resource): Declare.
698
92d77c89
GM
699 * eshell/em-glob.el (ange-cache):
700 * eshell/em-unix.el (ange-cache): Declare.
701
76e69577
GM
702 * faces.el (x-display-list, x-open-connection, x-get-resource):
703 Declare.
7e58af4b
GM
704
705 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
706 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
707 Declare.
76e69577 708
4bd4c0af 709 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 710
ffb82dbd
GM
711 * net/gnutls.el (gnutls-log-level): Declare.
712
986ed135
GM
713 * net/shr.el (image-size, image-animate): Declare.
714
e740f9d2
GM
715 * simple.el (font-info): Declare.
716
d2f3e9f8
GM
717 * subr.el (x-popup-dialog): Declare.
718
047a1a4c
GM
719 * term/common-win.el (x-select-enable-primary)
720 (x-last-selected-text-primary, x-last-selected-text-clipboard):
721 Declare.
722
f4a1d572
GM
723 * term/ns-win.el (x-handle-args): Declare.
724
e843de77
GM
725 * term/x-win.el (x-select-enable-clipboard): Declare.
726
5fa89513
GM
727 * term/w32-win.el (create-default-fontset): Declare.
728
38702b5b
GM
729 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
730 Declare.
731
e740f9d2
GM
732 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
733 (fit-frame-to-buffer): Explicit error if --without-x.
734 (mouse-autoselect-window-select): Silence compiler.
735
49a053fc
GM
736 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
737
738 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
739 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
740 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 741 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
742 Remove unused local variables.
743
744 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
745
ec9177ba
GM
746 * textmodes/two-column.el: Make 2C-split work for --without-x.
747 (scroll-bar-columns): Autoload.
748 (top-level): Require fringe when compiling.
749
9f25cb77
LL
7502013-09-18 Leo Liu <sdl.web@gmail.com>
751
752 * subr.el (add-hook): Robustify to handle closure as well.
753
2b42da98
GM
7542013-09-17 Glenn Morris <rgm@gnu.org>
755
756 * simple.el (messages-buffer-mode-map): Unbind "g".
757
e8b66a6a
SM
7582013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
759
9c0ad4f7
SM
760 * help-mode.el (help-mode-finish): Use derived-mode-p.
761 Remove obsolete highlighting.
762
7a806dfb
SM
763 * play/life.el (life-mode): Use define-derived-mode. Derive from
764 special-mode.
765 (life): Let-bind inhibit-read-only.
766 (life-setup): Avoid `setq'. Use `life-mode'.
767
96dbf5a8
SM
768 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
769 which should not be needed any more.
770 (package-menu-refresh, package-menu-describe-package): Use user-error.
771
e8b66a6a
SM
772 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
773 (eshell-post-rewrite-command-hook): Make obsolete.
774 (eshell-parse-command): Simplify.
775 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
776 (eshell--cmd): Declare.
777 (eshell-parse-pipeline): Remove unused var `final-p'.
778 Pass a dynvar to eshell-post-rewrite-command-hook.
779 Implement the new eshell-post-rewrite-command-function.
780 (eshell-invoke-directly): Remove unused arg `input'.
781 * eshell/esh-io.el (eshell-io-initialize):
782 Use eshell-post-rewrite-command-function (bug#15399).
783 (eshell--apply-redirections): Rename from eshell-apply-redirections;
784 adjust to new calling convention.
785 (eshell-create-handles): Rename args to avoid clashing with dynvar
786 `standard-output'.
787
90582f05
GM
7882013-09-17 Glenn Morris <rgm@gnu.org>
789
790 * simple.el (messages-buffer-mode): New major mode.
791 (messages-buffer): New function.
792 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
793 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 794 (ert-run-test): Use `messages-buffer' function.
90582f05 795 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
796 * help.el (view-echo-area-messages): Use `messages-buffer' function.
797 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 798
39eb0cb5 7992013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
800
801 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
802
1f1e06e2
SM
803 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
804
70568a90
SM
8052013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
806
504a0381
SM
807 * icomplete.el (icomplete-in-buffer): New var.
808 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
809 vars and replace them with functions.
810 (icomplete-minibuffer-setup): Adjust accordingly.
811 (icomplete--completion-table, icomplete--completion-predicate)
812 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
813 New functions.
814 (icomplete-forward-completions, icomplete-backward-completions)
815 (icomplete-simple-completing-p, icomplete-exhibit)
816 (icomplete-completions): Use them.
817 (icomplete--in-region-buffer): New var.
818 (icomplete--in-region-setup): New function.
819 (icomplete-mode): Use it.
820
70568a90
SM
821 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
822 (bug#15379).
823 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
824 return args and options.
825 (eshell-eval-using-options): Use the new return value of
826 eshell--do-opts to set the options's vars in their scope.
827 (eshell--set-option): Rename from eshell-set-option.
828 Add arg `opt-vals'.
829 (eshell--process-option): Rename from eshell-process-option.
830 Add arg `opt-vals'.
831 (eshell--process-args): Use an `opt-vals' alist to store the options's
832 values during their processing and return them additionally to the
833 remaining args.
834
578c21bc
DG
8352013-09-15 Dmitry Gutov <dgutov@yandex.ru>
836
837 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
838 continuation character an operator, as far as indentation is
839 concerned (Bug#15369).
840
c089653d
MR
8412013-09-15 Martin Rudalics <rudalics@gmx.at>
842
843 * window.el (window--state-put-2): Don't process buffer state
844 when buffer doesn't exist any more (Bug#15382).
845
1e53bb4b
GM
8462013-09-15 Glenn Morris <rgm@gnu.org>
847
30753242
GM
848 * eshell/em-unix.el (eshell/rm):
849 Make -f ignore missing files. (Bug#15373)
850
1e53bb4b
GM
851 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
852 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
853 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
854
0d8863b3
GM
8552013-09-14 Glenn Morris <rgm@gnu.org>
856
857 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
858
d3fc6549
GM
8592013-09-13 Glenn Morris <rgm@gnu.org>
860
861 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
862 (dired-guess-default): Make `file' available in the env. (Bug#15363)
863
fcd42c11
DA
8642013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
865
866 * frame.el (x-focus-frame): Mark as declared in frame.c.
867
7830899f
SM
8682013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * ls-lisp.el: Use advice-add.
871 (original-insert-directory): Remove.
872 (ls-lisp--insert-directory): Rename from insert-directory; add
873 `orig-fun' argument.
874 (insert-directory): Advise.
875
84387cd2
EZ
8762013-09-13 Eli Zaretskii <eliz@gnu.org>
877
878 * term.el (term-emulate-terminal): Decode the command string
879 before passing it to term-command-hook. (Bug#15337)
880
35ffc6ba
GM
8812013-09-13 Glenn Morris <rgm@gnu.org>
882
5c3f9bcc
GM
883 * eshell/esh-util.el (ange-cache): Move declaration earlier.
884
2ada368a
GM
885 * eshell/esh-ext.el (eshell-search-path): Declare.
886
fcef2e13
GM
887 * eshell/em-prompt.el (eshell/pwd): Autoload it.
888 Otherwise an error occurs if eshell-dirs module not loaded.
889
35ffc6ba
GM
890 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
891
35c3d36e
MA
8922013-09-13 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
895 `tramp-check-proper-host'. Check for a valid method name.
896
897 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
898 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
899 * net/tramp-sh.el (tramp-maybe-open-connection):
900 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
901
902 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
903 also for hash values.
904
ae5e4c48
SM
9052013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
906
379add74
SM
907 * term/ns-win.el (parameters): Don't declare as dynamic.
908 (before-make-frame-hook): Don't add ineffective function.
909
ae5e4c48
SM
910 * eshell/*.el: Use lexical-binding (bug#15231).
911
b5623270
KH
9122013-09-12 Kenichi Handa <handa@gnu.org>
913
ae5e4c48 914 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 915
30213927
GM
9162013-09-12 Glenn Morris <rgm@gnu.org>
917
be94d713 918 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 919 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 920
44915370
GM
921 * subr.el (do-after-load-evaluation): Also give compiler warnings
922 when obsolete files are used (except by obsolete files).
923
a6ae021f
GM
924 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
925 in the status output, assume `filename' is the first. (Bug#15322)
926
40e64f0c
GM
927 * vc/vc.el (vc-deduce-fileset): Doc fix.
928
16d9f896
GM
929 * calc/calc-help.el (Info-goto-node):
930 * progmodes/cperl-mode.el (Info-find-node):
931 * vc/ediff.el (Info-goto-node): Update declarations.
932
dea01c6e
GM
933 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
934
759880bf 935 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
936 (vc-bzr-pull): Require vc-dispatcher.
937 * vc/vc-git.el (vc-compilation-mode): Declare.
938 (vc-git-pull): Require vc-dispatcher.
939
08d66420
GM
940 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
941
30b626e9
GM
942 * progmodes/octave.el (help-button-action): Declare.
943
8c05cb10
GM
944 * shell.el (shell-directory-tracker): Output error as a message
945 rather than just returning it as a string.
946 (shell-process-pushd): Remove useless use of message.
947
30213927
GM
948 * dframe.el (dframe-timer-fn):
949 * files.el (dir-locals-read-from-file):
950 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
951 (mpc-format):
952 * reveal.el (reveal-post-command):
953 * saveplace.el (load-save-place-alist-from-file):
954 * shell.el (shell-resync-dirs):
955 * w32-common-fns.el (x-get-selection-value):
956 * emacs-lisp/copyright.el (copyright-find-copyright):
957 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
958 * emulation/tpu-edt.el (tpu-copy-keyfile):
959 * play/bubbles.el (bubbles--mark-neighbourhood):
960 * progmodes/executable.el
961 (executable-make-buffer-file-executable-if-script-p):
962 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
963
d3b049e6
SM
9642013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
965
170266d0
SM
966 Cleanup Eshell to rely less on dynamic scoping.
967 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
968 last-value, and ext-command here. Bind `args' closer to `body'.
969 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
970 (eshell--args): Declare new dynamic var.
971 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
972 last-value, and ext-command. Pass `args' to `body'.
973 (eshell-process-args): Bind eshell--args.
974 (eshell-set-option): Use eshell--args.
975 * eshell/eshell.el (eshell): Use derived-mode-p.
976 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
977 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
978 (eshell-glob-function): Declare.
979 * eshell/esh-util.el: Require cl-lib.
980 (eshell-read-hosts-file): Avoid add-to-list.
981 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
982 `err'.
983 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
984 Declare.
985 (eshell/diff): Remove unused var `err'.
986 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
987 `killflag'.
988 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
989 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
990 first use.
991 * eshell/em-glob.el (eshell-glob-matches, message-shown):
992 Move declaration before first use.
993 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
994 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
995 rely on cl-return.
996
56834f3b
GM
9972013-09-12 Glenn Morris <rgm@gnu.org>
998
999 * term/ns-win.el (global-map): Remove binding for ispell-next,
1000 deleted 1999-05-29. (Bug#15357)
1001
5c91a2b8
GM
10022013-09-11 Glenn Morris <rgm@gnu.org>
1003
da712f22
GM
1004 * echistory.el (electric-command-history): Remove call to deleted func.
1005
512e4cdc
GM
1006 * play/landmark.el (landmark-mode): Fix typos.
1007
d3506ca5
GM
1008 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1009 Check cvs-sort-ignore-file is bound.
1010
5c91a2b8
GM
1011 * savehist.el: No need for cl when compiling on Emacs.
1012
feeff482
SM
10132013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1014
656bd483
SM
1015 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1016 (bug#15338).
d3b049e6
SM
1017 (eshell-self-insert-command, eshell-send-invisible):
1018 Remove unused argument.
656bd483
SM
1019 (eshell-handle-control-codes): Remove unused var `orig'.
1020 Avoid delete-backward-char.
1021
feeff482
SM
1022 * files.el (set-auto-mode): Simplify a bit further.
1023
2a08047a
GM
10242013-09-11 Glenn Morris <rgm@gnu.org>
1025
1026 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1027 (set-auto-mode): Don't regexp-quote elements.
1028 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1029 * progmodes/cc-mode.el (interpreter-mode-alist):
1030 * progmodes/ruby-mode.el (interpreter-mode-alist):
1031 Revert previous change.
1032
34675540
SM
10332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1b3b87df
SM
1035 * play/snake.el (snake-mode):
1036 * play/mpuz.el (mpuz-mode):
1037 * play/landmark.el (lm-mode):
1038 * play/blackbox.el (blackbox-mode):
1039 * play/5x5.el (5x5-mode):
1040 * obsolete/options.el (Edit-options-mode):
1041 * net/quickurl.el (quickurl-list-mode):
1042 * net/newst-treeview.el (newsticker-treeview-mode):
1043 * mail/rmailsum.el (rmail-summary-mode):
1044 * mail/mspools.el (mspools-mode):
1045 * locate.el (locate-mode):
1046 * ibuffer.el (ibuffer-mode):
1047 * emulation/ws-mode.el (wordstar-mode):
1048 * emacs-lisp/debug.el (debugger-mode):
1049 * array.el (array-mode):
1050 * net/eudc.el (eudc-mode): Use define-derived-mode.
1051 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1052 Move initialization into declaration.
1053 (mairix-searches-mode): Use define-derived-mode.
1054 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1055 (eudc-edit-hotlist): Use dolist.
1056 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1057 (Man-mode): Use define-derived-mode.
1058 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1059 (Info-edit-mode): Use define-derived-mode.
1060 (Info-cease-edit): Use Info-mode.
1061 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1062 into declaration.
1063 (eshell-mode): Use define-derived-mode.
1064 * chistory.el (command-history-mode-map): Rename from
1065 command-history-map.
1066 (command-history-mode): Use define-derived-mode.
da712f22 1067 (Command-history-setup): Remove function.
1b3b87df
SM
1068 * calc/calc.el (calc-trail-mode-map): New var.
1069 (calc-trail-mode): Use define-derived-mode.
1070 (calc-trail-buffer): Set calc-main-buffer manually.
1071 * bookmark.el (bookmark-insert-annotation): New function.
1072 (bookmark-edit-annotation): Use it.
1073 (bookmark-edit-annotation-mode): Make it a proper major mode.
1074 (bookmark-send-edited-annotation): Use derived-mode-p.
1075 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1076 closer to its ideal place. Use \' to match EOS.
1077
34675540
SM
1078 * profiler.el (profiler-calltree-find): Use function-equal.
1079
6a5c15d9
GM
10802013-09-10 Glenn Morris <rgm@gnu.org>
1081
1af4c220
GM
1082 * files.el (interpreter-mode-alist): Convert to regexps.
1083 (set-auto-mode): Adapt for this. (Bug#15306)
1084 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1085 Comment out unused variable.
1086 * progmodes/cc-mode.el (interpreter-mode-alist):
1087 * progmodes/python.el (interpreter-mode-alist):
1088 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1089 * progmodes/sh-script.el (sh-set-shell):
1090 No longer use interpreter-mode-alist to get list of shells.
1091
6a5c15d9
GM
1092 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1093
8c27f5ff
SM
10942013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1095
02ef6c1a 1096 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1097 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1098 Bind switch-frame explicitly. Replace universal-argument-minus with
1099 a conditional binding.
1100 (universal-argument-num-events, saved-overriding-map): Remove.
1101 (restore-overriding-map): Remove.
1102 (universal-argument--mode): Rename from save&set-overriding-map,
1103 and rewrite.
1104 (universal-argument, universal-argument-more, negative-argument)
1105 (digit-argument): Adjust accordingly.
1106 (universal-argument-minus): Remove.
1107 (universal-argument-other-key): Remove.
1108
8c27f5ff
SM
1109 * subr.el (with-demoted-errors): Add `format' argument.
1110
6480194c
MA
11112013-09-10 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1114 `tramp-cleanup-connection'.
1115
1116 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1117 parameters KEEP-DEBUG and KEEP-PASSWORD.
1118
1119 * net/tramp.el (tramp-file-name-handler):
1120 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1121 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1122 (tramp-maybe-open-connection):
8c27f5ff
SM
1123 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1124 Use `tramp-cleanup-connection'.
6480194c 1125
8c27f5ff
SM
1126 * net/tramp-sh.el (tramp-maybe-open-connection):
1127 Catch 'uname-changed inside the progress reporter.
6480194c 1128
e5e916d8
GM
11292013-09-10 Glenn Morris <rgm@gnu.org>
1130
9a2c9b47
GM
1131 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1132
e5e916d8
GM
1133 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1134 returns "alternate access method" in mode (eg "-rw-r--r--.").
1135
144e38fe
GM
11362013-09-08 Glenn Morris <rgm@gnu.org>
1137
1138 * saveplace.el (load-save-place-alist-from-file):
1139 Demote errors. (Bug#15305)
1140
af9ff9e8
MA
11412013-09-08 Michael Albinus <michael.albinus@gmx.de>
1142
1143 Improve compatibility with older Emacsen, and XEmacs.
1144
1145 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1146 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1147 (with-tramp-progress-reporter): Do not let-bind `result'.
1148 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1149 (tramp-handle-make-auto-save-file-name): New function, moved from
1150 tramp-sh.el.
1151
1152 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1153 for `make-auto-save-file-name'.
8c27f5ff
SM
1154 (tramp-adb--gnu-switches-to-ash):
1155 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1156
1157 * net/tramp-cache.el (tramp-cache-print): Call
1158 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1159
1160 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1161 bound. It isn't for XEmacs.
1162
8c27f5ff
SM
1163 * net/tramp-compat.el (tramp-compat-copy-file):
1164 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1165 (tramp-compat-replace-regexp-in-string): New defun.
1166
1167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1168 for `make-auto-save-file-name'.
1169 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1170 `copy-file'.
1171 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1172 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1173 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1174
8c27f5ff
SM
1175 * net/tramp-gw.el (tramp-gw-open-network-stream):
1176 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1177
8c27f5ff
SM
1178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1179 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1180 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1181 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1182 (tramp-sh-file-inotifywait-process-filter):
1183 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1184 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1185
1186 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1187 for `make-auto-save-file-name'.
8c27f5ff
SM
1188 (tramp-smb-handle-copy-directory):
1189 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1190 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1191 (tramp-smb-handle-copy-file): Improve error message.
1192 (tramp-smb-handle-rename-file): Rename directly only in case
1193 `newname' does not exist yet. This is a restriction of smbclient.
1194 (tramp-smb-maybe-open-connection): Rerun the function only when
1195 `auth-sources' is non-nil.
1196
0ca754d0
KH
11972013-09-08 Kenichi Handa <handa@gnu.org>
1198
1199 * international/characters.el: Set category "^" (Combining) for
1200 more characters.
1201
e8dd0787
AM
12022013-09-07 Alan Mackenzie <acm@muc.de>
1203
1204 Correctly fontify Java class constructors.
1205 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1206 in Java Mode.
1207 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1208 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1209 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1210 "typeless" declaration there.
1211
f2f248e7
RW
12122013-09-07 Roland Winkler <winkler@gnu.org>
1213
1214 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1215 field subtitle for entry type book.
1216
67982e2b
SM
12172013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * minibuffer.el: Make minibuffer-complete call completion-in-region
1220 rather than other way around.
1221 (completion--some, completion-pcm--find-all-completions):
1222 Don't delay signals when debugging.
1223 (minibuffer-completion-contents): Beware fields within the
1224 minibuffer contents.
1225 (completion-all-sorted-completions): Use defvar-local.
1226 (completion--do-completion, completion--cache-all-sorted-completions)
1227 (completion-all-sorted-completions, minibuffer-force-complete):
1228 Add args `beg' and `end'.
1229 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1230 (minibuffer-complete): Use completion-in-region.
1231 (completion-complete-and-exit): New fun, extracted from
1232 minibuffer-complete-and-exit.
1233 (minibuffer-complete-and-exit): Use it.
1234 (completion--complete-and-exit): Rename from
1235 minibuffer--complete-and-exit.
1236 (completion-in-region--single-word): New function, extracted from
1237 minibuffer-complete-word.
1238 (minibuffer-complete-word): Use it.
1239 (display-completion-list): Make `common-substring' argument obsolete.
1240 (completion--in-region): Call completion--in-region-1 instead of
1241 minibuffer-complete.
1242 (completion-help-at-point): Pass boundaries to
1243 minibuffer-completion-help as args rather than via an overlay.
1244 (completion-pcm--string->pattern): Use `any-delim'.
1245 (completion-pcm--optimize-pattern): New function.
1246 (completion-pcm--pattern->regex): Handle `any-delim'.
1247 * icomplete.el (icomplete-forward-completions)
1248 (icomplete-backward-completions, icomplete-completions):
1249 Adjust calls to completion-all-sorted-completions and
1250 completion--cache-all-sorted-completions.
1251 (icomplete-with-completion-tables): Default to t.
1252 * emacs-lisp/crm.el (crm--current-element): Rename from
1253 crm--select-current-element. Don't put an overlay but return the
1254 boundaries instead.
1255 (crm--completion-command): Take two new args to bind to the boundaries.
1256 (crm-completion-help): Adjust accordingly.
1257 (crm-complete): Use completion-in-region.
1258 (crm-complete-word): Use completion-in-region--single-word.
1259 (crm-complete-and-exit): Use completion-complete-and-exit.
1260
e17d94a5
SM
12612013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1264 than dynamically.
1265
96727100
JL
12662013-09-06 Juri Linkov <juri@jurta.org>
1267
1268 * info.el (Info-display-images-node): When image file doesn't exist
1269 display text version of the image if it's provided in the Info file.
1270 Otherwise, display the location of missing image from SRC attribute.
1271 Add help-echo text property from ALT attribute. (Bug#15279)
1272
86cf7329
SM
12732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1276 (edit-abbrevs-mode): Use define-derived-mode.
1277
1278 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1279 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1280 that it's defined.
1281 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1282 Use define-derived-mode.
1283
1284 * epg.el (epg-start-encrypt): Minor CSE simplification.
1285
816244a2
WX
12862013-09-06 William Xu <william.xwl@gmail.com>
1287
1288 * arc-mode.el: Add support for 7za (bug#15264).
1289 (archive-7z-program): New var.
1290 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1291 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1292 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1293
1486fa31
MA
12942013-09-06 Michael Albinus <michael.albinus@gmx.de>
1295
1296 Remove URL syntax.
1297
1298 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1299 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1300 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1301 (tramp-postfix-host-format, tramp-file-name-regexp)
1302 (tramp-completion-file-name-regexp)
1303 (tramp-completion-dissect-file-name)
1304 (tramp-handle-substitute-in-file-name): Remove 'url case.
1305 (tramp-file-name-regexp-url)
1306 (tramp-completion-file-name-regexp-url): Remove constants.
1307
39785324
GM
13082013-09-06 Glenn Morris <rgm@gnu.org>
1309
1310 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1311
1f896cb7
DG
13122013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1315 keywords" below "here-doc beginnings" (Bug#15270).
1316
c0458e0b
SM
13172013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * subr.el (pop): Use `car-safe'.
1320 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1321 to detect unused `pop' return value.
1322
1323 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1324 var `block-regexp'.
1325 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1326 (python-fill-string): Remove unused var `marker'.
1327 (python-skeleton-add-menu-items): Remove unused var `items'.
1328
1329 * international/mule-cmds.el: Require CL.
1330 (find-coding-systems-for-charsets): Avoid add-to-list.
1331 (sanitize-coding-system-list): New function, extracted from
1332 select-safe-coding-system-interactively.
1333 (select-safe-coding-system-interactively): Use it.
1334 (read-input-method-name): Accept symbols for `default'.
1335
1336 * emacs-lisp/advice.el (defadvice): Add indent rule.
1337
6c42fc3e
DH
13382013-09-05 Daniel Hackney <dan@haxney.org>
1339
1340 * dired-x.el:
1341 * net/ange-ftp.el:
1342 * net/browse-url.el:
1343 * net/dbus.el:
1344 * net/eudc.el:
1345 * net/eudcb-ldap.el:
1346 * net/eww.el:
1347 * net/imap.el:
1348 * printing.el:
1349 * vc/ediff-diff.el:
1350 * vc/ediff-init.el:
1351 * vc/ediff-merg.el:
1352 * vc/ediff-mult.el:
1353 * vc/ediff-util.el:
1354 * vc/ediff-wind.el:
1355 * vc/ediff.el:
1356 * vc/emerge.el:
1357 * vc/pcvs.el:
1358 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1359 byte compiler. Remove some unused let-bound variables.
1360
4c528aab
SM
13612013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1364 a "ref-cell", since it gets better optimized (bug#14883).
1365
bd15c390
GM
13662013-09-05 Glenn Morris <rgm@gnu.org>
1367
1368 * progmodes/cc-awk.el (c-forward-sws): Declare.
1369
1c3ac2e5
GM
13702013-09-04 Glenn Morris <rgm@gnu.org>
1371
1372 * generic-x.el [rul-generic-mode]: Require cc-mode.
1373 (c++-mode-syntax-table): Declare.
1374 (rul-generic-mode-syntax-table): Init in the defvar.
1375
52b1cc79
SM
13762013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1377
c828af56
SM
1378 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1379 (vc-do-command, vc-set-async-update):
1380 * vc/vc-mtn.el (vc-mtn-dir-status):
1381 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1382 (vc-hg-pull, vc-hg-merge-branch):
1383 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1384 (vc-git-merge-branch):
1385 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1386 (vc-cvs-dir-status-files):
1387 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1388 (vc-bzr-dir-status-files):
1389 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1390 * vc/vc-annotate.el: Use lexical-binding.
1391 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1392 (vc-sentinel-movepoint): Declare.
1393 (vc-annotate): Don't use `goto-line'.
1394 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1395 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1396 (vc-sentinel-movepoint): Declare.
1397 * vc/vc-svn.el: Use lexical-binding.
1398 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1399 * vc/vc-sccs.el:
1400 * vc/vc-rcs.el: Use lexical-binding.
1401
abae272c
SM
1402 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1403 `deleted'. Don't drop errors silently.
1404
52b1cc79
SM
1405 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1406
63191d9f
XF
14072013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1408
1409 * vc/vc.el (vc-ignore): Rewrite.
1410 (vc-default-ignore): New function.
1411 (vc-default-ignore-completion-table): Use find-ignore-file.
1412
1413 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1414 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1415 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1416 Remove. Most code moved to vc.el.
1417
9d3f707c
SM
14182013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1419
abae272c 1420 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1421 * net/tramp-smb.el (tramp-smb-get-file-entries):
1422 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1423 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1424
fde38d49
SM
1425 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1426 Update call to it.
1427 (eww-change-select): Remove unused var `properties'.
1428 (eww-make-unique-file-name): Remove unused var `base'.
1429
1430 * finder.el (finder-compile-keywords): Don't mess with windows.
1431
84032db7
SM
1432 * calculator.el (calculator-funcall): Fix typo in last change.
1433
724f5e41
SM
1434 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1435
14b511d4
SM
1436 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1437 <pkg>-autoloads.el file stop us.
1438
9d3f707c 1439 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1440 warnings, and factor out common code.
9d3f707c 1441
88527bc0
DG
14422013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1443
1444 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1445 two-character operators and whether the character preceding them
1446 changes their meaning (Bug#15208).
1447
96edb677
FEG
14482013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1449
1450 Format code sent to Python shell for robustness.
9d3f707c
SM
1451 * progmodes/python.el (python-shell-buffer-substring):
1452 New function.
96edb677
FEG
1453 (python-shell-send-region, python-shell-send-buffer): Use it.
1454
95beaef3
MA
14552013-09-02 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1458 * net/tramp.el (tramp-user-error): ... here.
1459 (tramp-find-method, tramp-check-proper-host)
1460 (tramp-dissect-file-name, tramp-debug-message)
1461 (tramp-handle-shell-command):
1462 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1463 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1464
1465 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1466
f167c27b
MR
14672013-09-02 Martin Rudalics <rudalics@gmx.at>
1468
1469 * avoid.el (mouse-avoidance-point-position)
1470 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1471 returns nil.
1472
cd16c5f1
FEG
14732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1474
1475 * progmodes/python.el (python-shell-completion-get-completions):
1476 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1477 (python-nav-if-name-main): New command.
cd16c5f1 1478
e73c3a0d
GM
14792013-09-01 Glenn Morris <rgm@gnu.org>
1480
f8ccce03
GM
1481 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1482 Avoid leading space in $wins. Otherwise the sed command used by
1483 eg compile-main ends up containing "/*.el". (Bug#15170)
1484
e73c3a0d
GM
1485 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1486
415f808e
GM
14872013-08-30 Glenn Morris <rgm@gnu.org>
1488
1489 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1490 Fix is-this-a-directory logic. (Bug#15220)
1491
f069bba8
SM
14922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1493
112798c1
SM
1494 * textmodes/css-mode.el: Use SMIE.
1495 (css-smie-grammar): New var.
1496 (css-smie--forward-token, css-smie--backward-token)
1497 (css-smie-rules): New functions.
1498 (css-mode): Use them.
1499 (css-navigation-syntax-table): Remove var.
1500 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1501 (css-indent-calculate, css-indent-line): Remove functions.
1502
1503 Misc changes to reduce use of `(lambda...); and other cleanups.
1504 * cus-edit.el: Use lexical-binding.
1505 (customize-push-and-save, customize-apropos)
1506 (custom-buffer-create-internal): Use closures.
1507 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1508 * progmodes/ada-xref.el: Use setq.
1509 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1510 * dframe.el: Use lexical-binding.
1511 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1512 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1513 * descr-text.el: Use lexical-binding.
1514 (describe-text-widget, describe-text-sexp, describe-property-list):
1515 Use closures.
1516 * comint.el (comint-history-isearch-push-state): Use a closure.
1517 * calculator.el: Use lexical-binding.
1518 (calculator-number-to-string): Make it work with lexical-binding.
1519 (calculator-funcall): Same and use cl-letf.
1520
2da4c3ab
SM
1521 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1522 (lisp--company-doc-string, lisp--company-location): New functions.
1523 (lisp-completion-at-point): Use them to improve Company support.
1524
f069bba8
SM
1525 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1526 params of lambda expressions.
1527 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1528 (ruby-smie--opening-pipe-p): New function.
1529 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1530 symbols and matched |...| for formal params.
1531 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1532 from being treated as hanging. Handle "rescue".
1533
6758b6a8
GM
15342013-08-29 Glenn Morris <rgm@gnu.org>
1535
1536 * progmodes/cc-engine.el (c-pull-open-brace):
1537 Move definition before use.
1538
e8dfd197
SM
15392013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1542 are immutable. Don't use `unsafe' any more.
1543 (cl--defsubst-expand): Don't substitute at the same time as keeping
1544 a residual unused let-binding. Don't use `unsafe' any more.
1545
cc585c96
GM
15462013-08-29 Glenn Morris <rgm@gnu.org>
1547
ba579ea6
GM
1548 * calendar/cal-china.el (calendar-chinese-year-cache):
1549 Recenter on 2015.
1550
8201a87e
GM
1551 * nxml/nxml-util.el (nxml-debug-clear-inside):
1552 Use cl-loop rather than loop.
1553
6ee877c7
GM
1554 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1555
cc585c96
GM
1556 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1557
27be8d39
GM
15582013-08-28 Glenn Morris <rgm@gnu.org>
1559
397440a1
GM
1560 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1561
2bb762d4
GM
1562 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1563
27be8d39
GM
1564 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1565
2d69b99e
SM
15662013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1567
f663baa7
SM
1568 * simple.el (repeat-complex-command--called-interactively-skip):
1569 New function.
1570 (repeat-complex-command): Use it (bug#14136).
1571
dd4f8b74
SM
1572 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1573 (c-define-abbrev-table): Add `doc' argument.
1574 (c-mode-abbrev-table, c++-mode-abbrev-table)
1575 (objc-mode-abbrev-table, java-mode-abbrev-table)
1576 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1577 (awk-mode-abbrev-table): Use it.
1578 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1579 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1580 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1581 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1582 Move initialization into the declaration; and remove any
1583 autoload cookie.
1584
b58969f7
SM
1585 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1586 and dynamic let binding.
1587
4021d6a6
SM
1588 * vc/smerge-mode.el: Remove redundant :group args.
1589
2d69b99e
SM
1590 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1591 to load-path.
1592
274919fd
JL
15932013-08-28 Juri Linkov <juri@jurta.org>
1594
1595 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1596 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1597 (isearch-other-meta-char): Handle an undefined shifted printing
1598 character by downshifting it. (Bug#15200)
1599
121f8c95
JL
16002013-08-28 Juri Linkov <juri@jurta.org>
1601
1602 * isearch.el (isearch-search): Change regexp error message for
1603 non-regexp searches. (Bug#15166)
1604
50b13cde
PE
16052013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1606
1607 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1608 for portability to hosts where /bin/sh has problems.
1609
95888bca
SM
16102013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1613
bbe558f1
JL
16142013-08-27 Juri Linkov <juri@jurta.org>
1615
1616 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1617 in the keyboard macro. (Bug#15126)
1618
26f98a7d
JL
16192013-08-27 Juri Linkov <juri@jurta.org>
1620
1621 * isearch.el (isearch-quote-char): Comment out converting unibyte
1622 to multibyte, thus syncing with its `quoted-insert' counterpart.
1623 (Bug#15166)
1624
7c97d35e
MR
16252013-08-27 Martin Rudalics <rudalics@gmx.at>
1626
1627 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1628 argument in call of get-largest-window (Bug#15185).
1629 Reported by Stephen Leake.
7c97d35e 1630
a0b5606e 16312013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1632
1633 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1634
9e89d835
SM
16352013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1638 from a matcher-function unless there's no more matches (bug#15161).
1639
78fc2530
MA
16402013-08-26 Michael Albinus <michael.albinus@gmx.de>
1641
1642 * minibuffer.el: Revert change from 2013-08-20.
1643
1644 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1645 with text property `tramp-default', if appropriate.
1646 (tramp-check-proper-host): New defun.
1647 (tramp-dissect-file-name): Do not check hostname. Revert change
1648 of 2013-03-18.
1649 (tramp-backtrace): Make VEC-OR-PROC optional.
1650
1651 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1652 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1653 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1654 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1655 Apply `tramp-check-proper-host'.
78fc2530 1656
edca97cd
TH
16572013-08-26 Tassilo Horn <tsdh@gnu.org>
1658
1659 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1660 lambda expression in order to have `describe-variable' display it.
1661
df54bcbd
MA
16622013-08-26 Michael Albinus <michael.albinus@gmx.de>
1663
1664 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1665 BUF can be optional. (Bug#15186)
1666
eed99101
XF
16672013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1668
1669 * progmodes/flymake.el (flymake-get-real-file-name-function):
1670 Fix broken customization. (Bug#15184)
1671
b5eb9035
AM
16722013-08-25 Alan Mackenzie <acm@muc.de>
1673
8a51e842
AM
1674 Improve indentation of bracelists defined by macros (without "=").
1675
1676 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1677 expansion begins with "{", regard it as bracelist when it doesn't
1678 contain a ";".
1679
869455d4
AM
1680 Parse C++ inher-intro when there's a template split over 2 lines.
1681
1682 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1683 rigorously the search for "class" etc. followed by ":".
1684
1685 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1686 random languages a regexp which never matches rather than nil.
1687
b5eb9035
AM
1688 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1689
1690 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1691 (c-awk-regexp-one-line-possibly-open-char-list-re)
1692 (c-awk-one-line-possibly-open-regexp-re)
1693 (c-awk-one-line-non-syn-ws*-re): Remove.
1694 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1695 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1696 (c-awk-space*-unclosed-regexp-/-re): New constants.
1697 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1698 aren't regexp delimiters.
1699
1700 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1701 handling for a rare situation in AWK Mode involving unterminated
1702 strings/regexps.
1703
61611d54
GM
17042013-08-23 Glenn Morris <rgm@gnu.org>
1705
2d85dc34
GM
1706 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1707
cb8d2612
GM
1708 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1709
bb35f42f
GM
1710 * files.el (create-file-buffer): If the result would begin with
1711 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1712
b9808e77
SM
17132013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1714
e3a66363
SM
1715 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1716 text-properties (bug#15155).
1717
b9808e77
SM
1718 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1719 exist any more.
1720 (calc-keypad-redraw): Remove unused var `pad'.
1721 (calc-keypad-press): Remove unused var `menu'.
1722
7fd5f65e
MR
17232013-08-23 Martin Rudalics <rudalics@gmx.at>
1724
b9808e77
SM
1725 * window.el (display-buffer-pop-up-frame):
1726 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1727 use it as the new frame's buffer (Bug#15133).
1728
8352b530
SM
17292013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * calendar/timeclock.el: Minor cleanups.
1732 (timeclock-ask-before-exiting, timeclock-use-display-time):
1733 Use `symbol'.
1734 (timeclock-modeline-display): Define as alias before the
1735 actual definition.
1736 (timeclock-mode-line-display): Use define-minor-mode.
1737 (timeclock-day-list-template): Make it a function, add an argument.
1738 (timeclock-day-list-required, timeclock-day-list-length)
1739 (timeclock-day-list-debt, timeclock-day-list-span)
1740 (timeclock-day-list-break): Adjust calls accordingly.
1741
9f7b1925
SM
17422013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1745 Use read--expression so that completion works again.
1746
6e50e983
SS
17472013-08-21 Sam Steingold <sds@gnu.org>
1748
1749 Add rudimentary inferior shell interaction
1750 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1751 (sh-set-shell): Reset it.
9f7b1925
SM
1752 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1753 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1754
dbb0d350
SM
17552013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * align.el: Use lexical-binding.
1758 (align-region): Simplify accordingly.
1759
c88586a9
MA
17602013-08-20 Michael Albinus <michael.albinus@gmx.de>
1761
1762 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1763
1764 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1765 `non-essential' up.
1766
f95527c8
MA
17672013-08-17 Michael Albinus <michael.albinus@gmx.de>
1768
1769 * net/tramp.el:
1770 * net/tramp-adb.el:
1771 * net/tramp-cmds.el:
1772 * net/tramp-ftp.el:
1773 * net/tramp-gvfs.el:
1774 * net/tramp-gw.el:
1775 * net/tramp-sh.el: Don't wrap external variable declarations by
1776 `eval-when-compile'.
1777
4b5fe4ee
LMI
17782013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1779
1780 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1781 now that Emacs supports ImageMagick animations.
1782
13c366c9
MA
17832013-08-16 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1786 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1787
3dfc5cd6
MR
17882013-08-16 Martin Rudalics <rudalics@gmx.at>
1789
1790 * window.el (mouse-autoselect-window-select): Do autoselect when
1791 mouse pointer is on margin.
1792
4bbb4381
WP
17932013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1794
1795 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1796
3a2ddc2d
GM
17972013-08-16 Glenn Morris <rgm@gnu.org>
1798
e8bedf5a
GM
1799 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1800 Handle "Remote Directory" response of some clients. (Bug#15058)
1801
58c4682f
GM
1802 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1803 Tweak warning. (Bug#14926)
1804
57953f49
GM
1805 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1806 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1807
3a2ddc2d
GM
1808 * image-mode.el (image-mode-map): Add menu items to reverse,
1809 increase, decrease, reset animation speed.
1810 (image--set-speed, image-increase-speed, image-decrease-speed)
1811 (image-reverse-speed, image-reset-speed): New functions.
1812 (image-mode-map): Add bindings for speed commands.
1813
1814 * image.el (image-animate-get-speed, image-animate-set-speed):
1815 New functions.
1816 (image-animate-timeout): Respect image :speed property.
1817
10fa0ed3
SM
18182013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1821 previous line (bug#15101).
1822 (debugger-eval-expression, debugger-record-expression):
1823 Use read--expression (bug#15102).
1824
5d89d9d2
MA
18252013-08-15 Michael Albinus <michael.albinus@gmx.de>
1826
1827 Remove byte compiler warnings, visible when compiling with
1828 `byte-compile-force-lexical-warnings' set to t.
1829
1830 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1831 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1832 (tramp-handle-unhandled-file-name-directory)
1833 (tramp-handle-file-notify-add-watch, tramp-action-login)
1834 (tramp-action-succeed, tramp-action-permission-denied)
1835 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1836 arguments with "_".
1837
1838 * net/tramp-adb.el (tramp-adb-parse-device-names)
1839 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1840 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1841 (tramp-adb-handle-file-truename): Remove unused arguments.
1842
1843 * net/tramp-cache.el (tramp-flush-directory-property)
1844 (tramp-flush-connection-property, tramp-list-connections)
1845 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1846
10fa0ed3
SM
1847 * net/tramp-compat.el (tramp-compat-make-temp-file):
1848 Rename FILENAME to F.
5d89d9d2
MA
1849
1850 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1851 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1852 (tramp-zeroconf-parse-workstation-device-names)
1853 (tramp-zeroconf-parse-webdav-device-names)
1854 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1855
1856 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1857 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1858
1859 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1860 arguments.
1861 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1862 (tramp-sh-handle-insert-file-contents-literally)
1863 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1864 with "_".
1865 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1866 Remove unused variables.
1867
1868 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1869 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1870 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1871
1872 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1873 Make them a defconst.
1874 (tramp-uuencode-region): Remove unused variable.
1875
62f33bae
JB
18762013-08-14 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * frameset.el (frameset--prop-setter): New function.
1879 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1880 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1881 parameter was already set in FILTERED. Doc fix.
1882 (frameset--record-minibuffer-relationships): Allow saving a
1883 minibufferless frame without its corresponding minibuffer frame.
1884 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1885 frame, if the frame id matches.
1886 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1887 frames before orphaned ones.
1888 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1889
c660a885
MR
18902013-08-14 Martin Rudalics <rudalics@gmx.at>
1891
1892 * window.el (window-make-atom): Don't overwrite parameter
1893 already present.
1894 (display-buffer-in-atom-window): Handle special case where we
1895 split an already atomic window.
1896 (window--major-non-side-window, display-buffer-in-side-window)
1897 (window--side-check): Ignore minibuffer window when walking
1898 window tree.
1899 (window-deletable-p): Return 'frame only if no other frame uses
1900 our minibuffer window.
1901 (record-window-buffer): Run buffer-list-update-hook.
1902 (split-window): Make sure window--check-frame won't destroy an
1903 existing atomic window in case the new window gets nested
1904 inside.
1905 (display-buffer-at-bottom): Ignore minibuffer window when
1906 walking window tree. Don't split a side window.
1907 (pop-to-buffer): Don't set-buffer here, the select-window call
1908 should do that.
1909 (mouse-autoselect-window-select): Autoselect only if we are in the
1910 text portion of the window.
1911
8259030d
LMI
19122013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1913
21c58ae2
LMI
1914 * net/shr.el (shr-parse-image-data): New function to grab both the
1915 data itself and the Content-Type.
1916 (shr-put-image): Use it.
1917
1918 * net/eww.el (eww-display-image): Ditto.
1919
8259030d
LMI
1920 * image.el (image-content-type-suffixes): New variable.
1921
ad756449
FEG
19222013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1923
1924 * progmodes/python.el (python-imenu--build-tree)
1925 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1926
f73f4ce6
XF
19272013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1928
1929 * simple.el (backward-word): Mention the optional argument.
1930
1f585e65
SM
19312013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * frameset.el (frameset--make): Rename constructor from make-frameset.
1934 (frameset-p, frameset-valid-p): Don't autoload.
1935 (frameset-valid-p): Use normal accessors.
1936
af1c6c84
GM
19372013-08-13 Glenn Morris <rgm@gnu.org>
1938
55e47f95
GM
1939 * progmodes/compile.el (compile-command): Tweak example in doc.
1940 * obsolete/scribe.el (scribe-mode):
1941 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1942
f0024d8c
GM
1943 * mail/feedmail.el (feedmail-confirm-outgoing)
1944 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1945
1946 * cus-start.el (truncate-partial-width-windows): Fix type.
1947
1948 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1949
af1c6c84
GM
1950 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1951
5514cc4c
SM
19522013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * emacs-lisp/timer.el (timer--time-setter): New function.
1955 (timer--time): Use it as gv-setter.
1956
1957 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1958 setter is not a symbol.
1959
7997a2f1
GJ
19602013-08-12 Grégoire Jadi <daimrod@gmail.com>
1961
1962 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1963 if sending fails. This makes debugging easier.
1964
01f1a9ab
JB
19652013-08-12 Juanma Barranquero <lekktu@gmail.com>
1966
1967 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1968 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1969 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1970
594a4307
EZ
19712013-08-12 Eli Zaretskii <eliz@gnu.org>
1972
1973 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1974
7a22490f 19752013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1976
1977 * format.el (format-annotate-function):
1978 Handle read-only text properties in the source. (Bug#14887)
1979
3e41a054
LMI
19802013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1981
5514cc4c
SM
1982 * net/eww.el (eww-display-html): Ignore coding system errors.
1983 One web site uses "utf-8lias" as the coding system.
3e41a054 1984
7ec326db
JB
19852013-08-11 Juanma Barranquero <lekktu@gmail.com>
1986
1987 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1988
5660113b
JB
19892013-08-10 Juanma Barranquero <lekktu@gmail.com>
1990
9a4ebc74
JB
1991 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1992 (tutorial--detailed-help): Remove unused local variables.
1993 (tutorial--save-tutorial-to): Use ignore-errors.
1994 (help-with-tutorial): Use looking-at-p.
1995
1996 * view.el (view-buffer-other-window, view-buffer-other-frame):
1997 Mark unused arguments.
1998
1999 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2000 (woman-select-symbol-fonts, woman, woman-find-file)
2001 (woman-insert-file-contents, woman-non-underline-faces):
2002 Use string-match-p.
2003 (woman1-unquote): Move declaration.
2004
2005 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2006 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2007 argument. Remove unused local variable.
2008 (xml-parse-elem-type): Use string-match-p.
2009 (xml-substitute-numeric-entities): Use ignore-errors.
2010
45fdb482
JB
2011 * calculator.el (calculator): Mark unused argument.
2012 (calculator-paste, calculator-quit, calculator-integer-p):
2013 Use ignore-errors.
2014 (calculator-string-to-number, calculator-decimal, calculator-exp)
2015 (calculator-op-or-exp): Use string-match-p.
2016
2017 * dired.el (dired-buffer-more-recently-used-p): Declare.
2018 (dired-insert-set-properties, dired-insert-old-subdirs):
2019 Use ignore-errors.
2020
2021 * dired-aux.el (dired-compress): Use ignore-errors.
2022 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2023 (dired-do-async-shell-command, dired-do-shell-command)
2024 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2025 (dired-insert-subdir-validate): Use string-match-p.
2026 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2027 (dired-add-entry): Use string-match-p, looking-at-p.
2028 (dired-insert-subdir-newpos): Remove unused local variable.
2029
2030 * filenotify.el (file-notify-callback): Remove unused local variable.
2031
2032 * filesets.el (filesets-error): Mark unused argument.
2033 (filesets-which-command-p, filesets-filter-dir-names)
2034 (filesets-directory-files, filesets-get-external-viewer)
2035 (filesets-ingroup-get-data): Use string-match-p.
2036
2037 * find-file.el (ff-other-file-name, ff-other-file-name)
2038 (ff-find-the-other-file, ff-cc-hh-converter):
2039 Remove unused local variables.
2040 (ff-get-file-name): Use string-match-p.
2041 (ff-all-dirs-under): Use ignore-errors.
2042
2043 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2044 (follow-select-if-visible): Remove unused local variable.
2045
2046 * forms.el (read-file-filter): Move declaration.
2047 (forms--make-format, forms--make-parser, forms-insert-record):
2048 Quote function with #'.
2049 (forms--update): Use string-match-p. Quote function with #'.
2050
2051 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2052 (help-make-xrefs): Use looking-at-p.
2053 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2054
2055 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2056 (ibuffer-confirm-operation-on): Use string-match-p.
2057
2058 * msb.el (msb-item-handler, msb-dired-item-handler):
2059 Mark unused arguments.
2060
2061 * ses.el (ses-decode-cell-symbol)
2062 (ses-kill-override): Remove unused local variable.
2063 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2064 (ses-load): Use ignore-errors, looking-at-p.
2065 (ses-jump-safe): Use ignore-errors.
2066 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2067
2068 * tabify.el (untabify, tabify): Mark unused arguments.
2069
2070 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2071 Mark unused argument.
2072 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2073 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2074
c880af52
JB
2075 * emacs-lisp/timer.el (timer--time): Define setter with
2076 gv-define-setter to avoid deprecation warning.
2077
5660113b 2078 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2079 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2080 (cmpl-statistics-block): Remove (body was commented out).
2081 All callers changed.
2082 (add-completions-from-buffer, load-completions-from-file):
2083 Remove unused variables.
2084
156aab80
JB
20852013-08-09 Juanma Barranquero <lekktu@gmail.com>
2086
5c5dee78
JB
2087 * filecache.el (file-cache-delete-file-list):
2088 Print message only when told so.
2089 (file-cache-files-matching): Use #' in mapconcat argument.
2090
156aab80
JB
2091 * ffap.el (ffap-url-at-point): Fix reference to variable
2092 thing-at-point-default-mail-uri-scheme.
2093
ad9dcd70
SM
20942013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2095
54bd972f
SM
2096 * subr.el (define-error): New function.
2097 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2098 error-file-not-found and define with define-error.
2099 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2100 and define with define-error.
2101 * userlock.el (file-locked, file-supersession):
2102 * simple.el (mark-inactive):
2103 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2104 * progmodes/ada-mode.el (ada-mode-errors):
2105 * play/life.el (life-extinct):
2106 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2107 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2108 * nxml/rng-util.el (rng-error):
2109 * nxml/rng-uri.el (rng-uri-error):
2110 * nxml/rng-match.el (rng-compile-error):
2111 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2112 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2113 * nxml/nxml-rap.el (nxml-scan-error):
2114 * nxml/nxml-outln.el (nxml-outline-error):
2115 * net/soap-client.el (soap-error):
2116 * net/gnutls.el (gnutls-error):
2117 * net/ange-ftp.el (ftp-error):
2118 * mpc.el (mpc-proc-error):
2119 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2120 (json-number-format, json-string-escape, json-string-format)
2121 (json-key-format, json-object-format):
2122 * jka-compr.el (compression-error):
2123 * international/quail.el (quail-error):
2124 * international/kkc.el (kkc-error):
2125 * emacs-lisp/ert.el (ert-test-failed):
2126 * calc/calc.el (calc-error, inexact-result, math-overflow)
2127 (math-underflow):
2128 * bookmark.el (bookmark-error-no-filename):
2129 * epg.el (epg-error): Define with define-error.
2130
0ea9e53a
SM
2131 * time.el (display-time-event-handler)
2132 (display-time-next-load-average): Don't call sit-for since it seems
2133 unnecessary (bug#15045).
2134
b0429158
SM
2135 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2136 Use #' instead of ' to quote functions.
2137 (checkdoc-output-mode): Use setq-local.
2138 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2139 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2140 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2141 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2142 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2143 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2144 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2145 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2146
ad9dcd70
SM
2147 * ido.el (ido-completion-help): Fix up compiler warning.
2148
77187e6f
JB
21492013-08-09 Juanma Barranquero <lekktu@gmail.com>
2150
2151 * frameset.el (frameset-p): Add autoload cookie.
2152 (frameset--jump-to-register): New function, based on code moved from
2153 register.el.
2154 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2155
2156 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2157 (frameset-restore, frameset-save, frameset-session-filter-alist):
2158 Remove declarations.
2159 (register-alist): Doc fix.
2160 (frameset-to-register): Move to frameset.el.
2161 (jump-to-register, describe-register-1): Remove frameset-specific code.
2162
9d3aa82c
JB
21632013-08-08 Juanma Barranquero <lekktu@gmail.com>
2164
2165 * allout-widgets.el (allout-widgets-pre-command-business)
2166 (allout-widgets-post-command-business)
2167 (allout-widgets-after-change-handler)
2168 (allout-decorate-item-and-context, allout-set-boundary-marker)
2169 (allout-body-modification-handler)
2170 (allout-graphics-modification-handler): Mark ignored arguments.
2171 (allout-widgets-post-command-business)
2172 (allout-widgets-exposure-change-processor)
2173 (allout-widgets-exposure-undo-processor)
2174 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2175 (allout-parse-item-at-point, allout-decorate-item-guides)
2176 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2177 * allout.el (epa-passphrase-callback-function): Declare.
2178 (allout-overlay-insert-in-front-handler)
2179 (allout-overlay-interior-modification-handler)
2180 (allout-isearch-end-handler, allout-chart-siblings)
2181 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2182 (allout-yank-processing, allout-process-exposed)
2183 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2184 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2185 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2186 (lisp-indent-defform): Mark ignored arguments.
2187 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2188 (calculate-lisp-indent): Remove unused variables.
2189 * international/characters.el (indian-2-column, arabic-2-column)
2190 (tibetan): Mark ignored arguments.
2191 (use-cjk-char-width-table): Mark ignored arguments.
2192 Remove unused variables.
2193 * international/fontset.el (build-default-fontset-data)
2194 (x-compose-font-name, create-fontset-from-fontset-spec):
2195 Mark ignored arguments.
2196 (fontset-plain-name): Remove unused variables.
2197 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2198 (keyboard-coding-system): Mark ignored arguments.
2199 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2200 * help.el (resize-temp-buffer-window):
2201 * window.el (display-buffer-in-major-side-window)
2202 (display-buffer-in-side-window, display-buffer-in-previous-window):
2203 Remove unused variables.
2204 * isearch.el (isearch-forward-symbol):
2205 * version.el (emacs-bzr-version-bzr):
2206 * international/mule-cmds.el (current-language-environment):
2207 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2208 (x-handle-display):
2209 * term/pc-win.el (x-list-fonts, x-display-planes)
2210 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2211 (x-server-version, x-display-screens, x-display-mm-height)
2212 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2213 (x-selection-owner-p, x-own-selection-internal)
2214 (x-disown-selection-internal, x-get-selection-internal)
2215 (msdos-initialize-window-system):
2216 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2217 * term/x-win.el (x-handle-no-bitmap-icon):
2218 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2219 (vc-default-find-file-hook, vc-default-extra-menu):
2220 Mark ignored arguments.
2221
0ca3f70e
SM
22222013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2225 break-condition in the context of the debugged code (bug#12685).
2226
74c5d24c
CS
22272013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2228
2229 * comint.el:
2230 Do not use an overlay to highlight the last prompt. (Bug#14744)
2231 (comint-mode): Make comint-last-prompt buffer local.
2232 (comint-last-prompt): New variable.
2233 (comint-last-prompt-overlay): Remove. Superseded by
2234 comint-last-prompt.
0ca3f70e
SM
2235 (comint-snapshot-last-prompt, comint-output-filter):
2236 Use comint-last-prompt.
74c5d24c 2237
c03c02ee
JB
22382013-08-08 Juanma Barranquero <lekktu@gmail.com>
2239
a3738d20 2240 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2241 (frameset-save): Check validity of the resulting frameset.
2242
04263d23
XF
22432013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2244
2245 * ido.el (ido-record-command): Add doc string.
2246
76c5e5ab
JB
22472013-08-08 Juanma Barranquero <lekktu@gmail.com>
2248
2249 * frameset.el (frameset): Do not disable creation of the default
2250 frameset-p predicate. Doc fix.
2251 (frameset-valid-p): New function, copied from the old predicate-p.
2252 Add additional checks.
2253 (frameset-restore): Check with frameset-valid-p.
2254 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2255 (frameset-name, frameset-description, frameset-properties)
2256 (frameset-states): Add docstring.
f9dbf1cb
JB
2257 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2258 (frameset-filter-alist): Doc fixes.
76c5e5ab 2259
bd0c3c0b
JB
22602013-08-08 Juanma Barranquero <lekktu@gmail.com>
2261
2262 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2263
c735544c
SM
22642013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2267 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2268 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2269 (byte-compile-normal-call): Remove obsolescence check.
2270
2805a651
JB
22712013-08-08 Juanma Barranquero <lekktu@gmail.com>
2272
3677ffeb
JB
2273 * frameset.el (frameset-restore): Doc fix.
2274
2805a651
JB
2275 * register.el (frameset-frame-id, frameset-frame-with-id)
2276 (frameset-p, frameset-restore, frameset-save): Declare.
2277 (register-alist): Document framesets.
2278 (frameset-session-filter-alist): Declare.
2279 (frameset-to-register): New function.
2280 (jump-to-register): Implement jumping to framesets. Doc fix.
2281 (describe-register-1): Describe framesets.
2282
2283 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2284
a912c016
JB
22852013-08-07 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2288 Use lexical-binding.
2289
2290 * frameset.el (frameset): Use type vector, not list (incompatible
2291 change). Do not declare a new constructor, use the default one.
2292 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2293 `name' and `description', respectively, and add read-only slot
2294 `timestamp'. Doc fixes.
2295 (frameset-copy, frameset-persistent-filter-alist)
2296 (frameset-filter-alist, frameset-switch-to-gui-p)
2297 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2298 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2299 (frameset-filter-iconified, frameset-keep-original-display-p):
2300 Doc fixes.
2301 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2302 Rename from frameset-filter-(save|restore)-param. All callers changed.
2303 Doc fix.
2304 (frameset-p): Adapt to change to vector and be more thorough.
2305 Change arg name to OBJECT. Doc fix.
2306 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2307 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2308 All callers changed.
2309 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2310 All callers changed.
2311 (frameset--record-minibuffer-relationships): Rename from
2312 frameset--process-minibuffer-frames. All callers changed.
2313 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2314 Use new default constructor (again). Doc fix.
2315 (frameset--find-frame-if): Rename from `frameset--find-frame.
2316 All callers changed.
2317 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2318 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2319 Doc fix.
2320 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2321 PARAMETERS and WINDOW-STATE, respectively.
2322 (frameset-restore): Add new keyword argument PREDICATE.
2323 Reset frameset--target-display to nil. Doc fix.
2324
bb41480a
SM
23252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2326
f001e98e
SM
2327 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2328 (bat-mode): Use it.
2329 (bat-mode-syntax-table): Mark \n as end-of-comment.
2330 (bat-font-lock-keywords): Remove comment rule.
2331
7679edb1
SM
2332 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2333 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2334
bb41480a
SM
2335 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2336 (byte-compile-callargs-warn): Use `push'.
2337 (byte-compile-arglist-warn): Ignore higher-order "calls".
2338 (byte-compile-file-form-autoload): Use `pcase'.
2339 (byte-compile-function-form): If quoting a symbol, check that it exists.
2340
cdc1ebb9
EZ
23412013-08-07 Eli Zaretskii <eliz@gnu.org>
2342
2343 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2344 and add a few popular commands found in batch files.
2345 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2346 (dos-mode): Doc fixes.
2347
312b1740
SM
23482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2351 (dos-mode): Use setq-local. Add space after "rem".
2352 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2353 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2354
400a3178
AM
23552013-08-07 Arni Magnusson <arnima@hafro.is>
2356
2357 * progmodes/dos.el: New file.
2358 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2359 dos-mode.
2360
3b5c03d3
GM
23612013-08-06 Glenn Morris <rgm@gnu.org>
2362
2363 * calendar/calendar.el: Add new faces, and day-header-array.
2364 (calendar-weekday-header, calendar-weekend-header)
2365 (calendar-month-header): New faces.
2366 (calendar-day-header-construct): New function.
2367 (calendar-day-header-width): Also :set calendar-day-header-array.
2368 (calendar-american-month-header, calendar-european-month-header)
2369 (calendar-iso-month-header): Use calendar- faces.
2370 (calendar-generate-month):
2371 Use calendar-day-header-array for day headers; apply faces to them.
2372 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2373 (calendar-abbrev-construct): Add optional maxlen argument.
2374 (calendar-day-name-array): Doc fix.
2375 (calendar-day-name-array, calendar-abbrev-length)
2376 (calendar-day-abbrev-array):
2377 Also :set calendar-day-header-array, and maybe redraw.
2378 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2379 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2380 (calendar-day-name): Add option to use header array.
2381
ec6a2d7a
LMI
23822013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2383
2384 * net/shr.el (shr-render-td): Remove debugging.
2385 (shr-render-td): Make width computation consistent by defaulting
2386 all zero-width columns to 10 characters. This may not be optimal,
2387 but it's at least consistent.
2122cb6d
LMI
2388 (shr-make-table-1): Redo last change to fix the real problem in
2389 colspan handling.
ec6a2d7a 2390
ed4fd9c5
DA
23912013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2392
0ca3f70e
SM
2393 * files.el (cache-long-line-scans):
2394 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2395
64e22afe
JB
23962013-08-06 Juanma Barranquero <lekktu@gmail.com>
2397
024b38fc
JB
2398 * frameset.el (frameset, frameset-filter-alist)
2399 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2400 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2401 (frameset-compute-pos): Rename from frameset--compute-pos,
2402 and add docstring.
2403 (frameset-move-onscreen): Use frameset-compute-pos.
2404 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2405
64e22afe
JB
2406 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2407 Fix typos in docstrings.
2408
c8c2aca8
DA
24092013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2410
2411 * frame.el (get-other-frame): Tiny cleanup.
2412
1d237bba
JB
24132013-08-06 Juanma Barranquero <lekktu@gmail.com>
2414
8951efef
JB
2415 * vc/vc.el (vc-default-ignore-completion-table):
2416 Silence byte-compiler warning.
2417
307764cc
JB
2418 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2419 slot , which can indeed be nil.
2420 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2421 Move entry for `left' from persistent to live filter alist.
2422 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2423 Doc fixes.
2424 (frameset-filter-params): When restoring a frame, copy items added to
2425 `filtered', to avoid unwittingly modifying the original parameters.
2426 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2427 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2428
1d237bba
JB
2429 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2430 to use looking-at-p instead of looking-at. (Bug#15028)
2431
dc6c0eda
SM
24322013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 Revert introduction of isearch-filter-predicates (bug#14714).
2435 Rely on add-function instead.
2436 * isearch.el (isearch-filter-predicates): Rename it back to
2437 isearch-filter-predicate.
2438 (isearch-message-prefix): Use advice-function-mapc and advice
2439 properties to get the isearch-message-prefix.
2440 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2441 instead of run-hook-with-args-until-failure.
2442 (isearch-filter-visible): Not obsolete any more.
2443 * loadup.el: Preload nadvice.
2444 * replace.el (perform-replace): Revert to funcall
2445 instead of run-hook-with-args-until-failure.
2446 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2447 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2448 dired-isearch-filenames-toggle; make it into a proper minor mode.
2449 Use add/remove-function.
2450 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2451 Call the minor-mode rather than add/remove-hook.
2452 (dired-isearch-filter-filenames):
2453 Remove isearch-message-prefix property.
2454 * info.el (Info--search-loop): New function, extracted from Info-search.
2455 Funcall isearch-filter-predicate instead of
2456 run-hook-with-args-until-failure isearch-filter-predicates.
2457 (Info-search): Use it.
2458 (Info-mode): Use isearch-filter-predicate instead of
2459 isearch-filter-predicates.
2460
290d5b58
DA
24612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2462
2463 Do not call to `selected-window' where it is assumed by default.
2464 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2465 `window-hscroll', `window-width', `window-height', `window-buffer',
2466 `window-frame', `window-start', `window-point', `next-window'
2467 and `window-display-table'.
2468 * abbrev.el (abbrev--default-expand):
2469 * bs.el (bs--show-with-configuration):
2470 * buff-menu.el (Buffer-menu-mouse-select):
2471 * calc/calc.el (calc):
2472 * calendar/calendar.el (calendar-generate-window):
2473 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2474 (diary-make-entry):
2475 * comint.el (send-invisible, comint-dynamic-complete-filename)
2476 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2477 * completion.el (complete):
2478 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2479 * disp-table.el (describe-current-display-table):
2480 * doc-view.el (doc-view-insert-image):
2481 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2482 * ehelp.el (with-electric-help):
2483 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2484 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2485 * emacs-lisp/helper.el (Helper-help-scroller):
2486 * emulation/cua-base.el (cua--post-command-handler-1):
2487 * eshell/esh-mode.el (eshell-output-filter):
2488 * ffap.el (ffap-gnus-wrapper):
2489 * help-macro.el (make-help-screen):
2490 * hilit-chg.el (highlight-compare-buffers):
2491 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2492 * hl-line.el (global-hl-line-highlight):
2493 * icomplete.el (icomplete-simple-completing-p):
2494 * isearch.el (isearch-done):
2495 * jit-lock.el (jit-lock-stealth-fontify):
2496 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2497 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2498 * mpc.el (mpc-tagbrowser, mpc):
2499 * net/rcirc.el (rcirc-any-buffer):
2500 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2501 * play/landmark.el (landmark-max-width, landmark-max-height):
2502 * play/zone.el (zone):
2503 * progmodes/compile.el (compilation-goto-locus):
2504 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2505 * progmodes/etags.el (find-tag-other-window):
2506 * progmodes/fortran.el (fortran-column-ruler):
2507 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2508 * progmodes/verilog-mode.el (verilog-point-text):
2509 * reposition.el (reposition-window):
2510 * rot13.el (toggle-rot13-mode):
2511 * server.el (server-switch-buffer):
2512 * shell.el (shell-dynamic-complete-command)
2513 (shell-dynamic-complete-environment-variable):
2514 * simple.el (insert-buffer, set-selective-display)
2515 (delete-completion-window):
2516 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2517 (speedbar-recenter):
2518 * startup.el (fancy-splash-head):
2519 * textmodes/ispell.el (ispell-command-loop):
2520 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2521 * tutorial.el (help-with-tutorial):
2522 * vc/add-log.el (add-change-log-entry):
2523 * vc/compare-w.el (compare-windows):
2524 * vc/ediff-help.el (ediff-indent-help-message):
2525 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2526 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2527 (ediff-setup-control-frame):
2528 * vc/emerge.el (emerge-position-region):
2529 * vc/pcvs-util.el (cvs-bury-buffer):
2530 * window.el (walk-windows, mouse-autoselect-window-select):
2531 * winner.el (winner-set-conf, winner-undo): Related users changed.
2532
38276e01
JB
25332013-08-05 Juanma Barranquero <lekktu@gmail.com>
2534
2535 * frameset.el (frameset--set-id): Doc fix.
2536 (frameset-frame-id, frameset-frame-id-equal-p)
2537 (frameset-locate-frame-id): New functions.
2538 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2539 (frameset-restore): Use them.
2540
12b4c0ea
DA
25412013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2542
2543 Do not call to `selected-frame' where it is assumed by default.
2544 Affected functions are `raise-frame', `redraw-frame',
2545 `frame-first-window', `frame-terminal' and `delete-frame'.
2546 * calendar/appt.el (appt-disp-window):
2547 * epg.el (epg-wait-for-completion):
2548 * follow.el (follow-delete-other-windows-and-split)
2549 (follow-avoid-tail-recenter):
2550 * international/mule.el (set-terminal-coding-system):
2551 * mail/rmail.el (rmail-mail-return):
2552 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2553 * progmodes/f90.el (f90-add-imenu-menu):
2554 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2555 * server.el (server-switch-buffer):
2556 * simple.el (delete-completion-window):
2557 * talk.el (talk):
2558 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2559 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2560 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2561 * vc/ediff.el (ediff-documentation): Related users changed.
2562 * frame.el (selected-terminal): Remove the leftover.
2563
17f25e76
GM
25642013-08-05 Glenn Morris <rgm@gnu.org>
2565
2566 * calendar/calendar.el (calendar-generate-month):
2567 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2568 (calendar-generate-month, calendar-font-lock-keywords):
2569 Fix for calendar-day-header-width > length of any day name.
17f25e76 2570
063233c3
JB
25712013-08-05 Juanma Barranquero <lekktu@gmail.com>
2572
2573 * desktop.el (desktop-clear): Use new name of sort predicate.
2574
2575 * frameset.el (frameset): Add docstring. Move :version property to its
2576 own `version' slot.
2577 (frameset-copy): Rename from copy-frameset.
2578 (frameset-p): Check more thoroughly.
2579 (frameset-prop): Do not check for :version, which is no longer a prop.
2580 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2581 Use new :never value instead of t.
2582 (frameset-filter-alist): Expand and clarify docstring.
2583 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2584 (frameset-filter-minibuffer, frameset-filter-save-param)
2585 (frameset-filter-restore-param, frameset-filter-iconified):
2586 Add pointer to docstring of frameset-filter-alist.
2587 (frameset-filter-params): Rename filter values to be more meaningful:
2588 :never instead of t, and reverse the meanings of :save and :restore.
2589 (frameset--process-minibuffer-frames): Clarify error message.
2590 (frameset-save): Avoid unnecessary and confusing call to framep.
2591 Use new BOA constructor for framesets.
2592 (frameset--reuse-list): Doc fix.
2593 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2594 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2595 (frameset-minibufferless-first-p): Doc fix.
2596 Rename from frameset-sort-frames-for-deletion.
2597 (frameset-restore): Doc fixes. Use new function names.
2598 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2599
d5671a82
JB
26002013-08-04 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * desktop.el (desktop-restore-forces-onscreen)
2603 (desktop-restore-reuses-frames): Document :keyword constant values.
2604 (desktop-filter-parameters-alist): Remove, now identical to
2605 frameset-filter-alist.
2606 (desktop--filter-tty*): Remove, moved to frameset.el.
2607 (desktop-save-frameset, desktop-restore-frameset):
2608 Do not pass :filters argument.
2609
2610 * frameset.el (frameset-live-filter-alist)
2611 (frameset-persistent-filter-alist): New variables.
2612 (frameset-filter-alist): Use them. Add autoload cookie.
2613 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2614 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2615 `frameset--id' (it's supposed to be internal to frameset.el).
2616 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2617 (frameset--initial-params): New function.
2618 (frameset--get-frame): Use it. Doc fix.
2619 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2620 Accept :all, not 'all.
2621 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2622 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2623 with fbound symbols. Fix frame id matching, and remove matching ids if
2624 the frame being restored is deleted. Obey :delete.
2625
671d5c16
SM
26262013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * subr.el (macrop): New function.
2629 (text-clone--maintaining): New var.
2630 (text-clone--maintain): Rename from text-clone-maintain. Use it
2631 instead of inhibit-modification-hooks.
2632
2633 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2634 a proxy, so as handle autoloads and redefinitions of the target.
2635 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2636
2637 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2638 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2639 (pcase--mutually-exclusive-p): New function.
2640 (pcase--split-consp): Use it.
2641 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2642 mutually exclusive with the current predicate.
2643
2644 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2645 (edebug-macrop): Remove. Use `macrop' instead.
2646 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2647 (ad-macro-p):
2648 * eshell/esh-cmd.el (eshell-macrop):
2649 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2650
1d44e9dc
SM
26512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2654 (advice-mapc): New function, using it.
2655 (advice-function-member-p): New function.
2656 (advice--normalize): Store the cdr in advice--saved-rewrite since
2657 that's the part that will be changed.
2658 (advice--symbol-function): New function.
2659 (advice-remove): Handle removal before the function is defined.
2660 Adjust to new advice--saved-rewrite.
2661 (advice-member-p): Use advice-function-member-p and
2662 advice--symbol-function.
2663
5414a283
JB
26642013-08-04 Juanma Barranquero <lekktu@gmail.com>
2665
51d30f2c
JB
2666 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2667 (frameset-filter-minibuffer): Doc fix.
2668 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2669 (frameset--set-id, frameset--process-minibuffer-frames)
2670 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2671 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2672
5414a283
JB
2673 * desktop.el (desktop-clear): Only delete frames when called
2674 interactively and desktop-restore-frames is non-nil. Doc fix.
2675 (desktop-read): Set desktop-saved-frameset to nil.
2676
ab419665
XF
26772013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2678
2679 * vc/vc.el (vc-ignore): Rewrite.
2680 (vc-default-ignore-completion-table):
2681 (vc--read-lines):
2682 (vc--add-line, vc--remove-regexp): New functions.
2683
2684 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2685 (vc-svn-ignore-completion-table): New function.
2686
2687 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2688 (vc-hg-ignore-completion-table):
2689 (vc-hg-find-ignore-file): New functions.
2690
2691 * vc/vc-git.el (vc-git-ignore): Rewrite.
2692 (vc-git-ignore-completion-table):
2693 (vc-git-find-ignore-file): New functions.
2694
2695 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2696
2697 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2698 (vc-bzr-ignore-completion-table):
2699 (vc-bzr-find-ignore-file): New functions.
2700
2613dea2
JB
27012013-08-03 Juanma Barranquero <lekktu@gmail.com>
2702
2703 * frameset.el (frameset-prop): New function and setter.
2704 (frameset-save): Do not modify frame list passed by the caller.
2705
9c959872
SM
27062013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2709
a104f656
SM
27102013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2711
70122acf
SM
2712 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2713 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2714
a104f656
SM
2715 * custom.el (custom-initialize-default, custom-initialize-set)
2716 (custom-initialize-reset, custom-initialize-changed): Affect the
2717 toplevel-default-value (bug#6275, bug#14586).
2718 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2719 for bug#6275.
2720
f078d570
JB
27212013-08-02 Juanma Barranquero <lekktu@gmail.com>
2722
185e3b5a
JB
2723 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2724 Add cl-def* expressions.
2725
f078d570
JB
2726 * frameset.el (frameset-filter-params): Fix order of arguments.
2727
9421876d
JB
27282013-08-02 Juanma Barranquero <lekktu@gmail.com>
2729
2730 Move code related to saving frames to frameset.el.
2731 * desktop.el: Require frameset.
2732 (desktop-restore-frames): Doc fix.
2733 (desktop-restore-reuses-frames): Rename from
2734 desktop-restoring-reuses-frames.
2735 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2736 (desktop-clear): Clear frames too.
2737 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2738 (desktop--filter-tty*, desktop-save, desktop-read):
2739 Use frameset functions.
2740 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2741 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2742 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2743 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2744 (desktop--process-minibuffer-frames, desktop-save-frames)
2745 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2746 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2747 (desktop--sort-states, desktop-restoring-frames-p)
2748 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2749 (desktop-restoring-frameset-p, desktop-restore-frameset)
2750 (desktop--check-dont-save, desktop-save-frameset): New functions.
2751 (desktop--app-id): New constant.
2752 (desktop-first-buffer, desktop-buffer-ok-count)
2753 (desktop-buffer-fail-count): Move before first use.
2754 * frameset.el: New file.
2755
76dc5996
SM
27562013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * files.el: Use lexical-binding.
2759 (dir-locals-read-from-file): Remove unused `err' variable.
2760 (hack-dir-local-variables--warned-coding): New var.
2761 (hack-dir-local-variables): Use it to avoid repeated warnings.
2762 (make-backup-file-name--default-function): New function.
2763 (make-backup-file-name-function): Use it as default.
2764 (buffer-stale--default-function): New function.
2765 (buffer-stale-function): Use it as default.
2766 (revert-buffer-insert-file-contents--default-function): New function.
2767 (revert-buffer-insert-file-contents-function): Use it as default.
2768 (insert-directory): Avoid add-to-list.
2769
2770 * autorevert.el (auto-revert-handler): Simplify.
2771 Use buffer-stale--default-function.
2772
06d36e2b
TH
27732013-08-01 Tassilo Horn <tsdh@gnu.org>
2774
5f648ab4
TH
2775 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2776
06d36e2b
TH
2777 * whitespace.el (whitespace-ensure-local-variables): New function.
2778 (whitespace-cleanup-region): Call it.
2779 (whitespace-turn-on): Call it.
2780
a43dc424
MA
27812013-08-01 Michael Albinus <michael.albinus@gmx.de>
2782
2783 Complete file name handlers.
2784
2785 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2786 (tramp-handle-verify-visited-file-modtime)
2787 (tramp-handle-file-notify-rm-watch): New functions.
2788 (tramp-call-process): Do not bind `default-directory'.
2789
44e18199
JB
2790 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2791 Order alphabetically.
a43dc424
MA
2792 [access-file, add-name-to-file, dired-call-process]:
2793 [dired-compress-file, file-acl, file-notify-rm-watch]:
2794 [file-ownership-preserved-p, file-selinux-context]:
2795 [make-directory-internal, make-symbolic-link, set-file-acl]:
2796 [set-file-selinux-context, set-visited-file-modtime]:
2797 [verify-visited-file-modtime]: Add handler.
2798 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2799
2800 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2801 [file-notify-add-watch, file-notify-rm-watch]:
2802 [set-file-times, set-visited-file-modtime]:
2803 [verify-visited-file-modtime]: Add handler.
2804 (with-tramp-gvfs-error-message)
2805 (tramp-gvfs-handle-set-visited-file-modtime)
2806 (tramp-gvfs-fuse-file-name): Remove.
2807 (tramp-gvfs-handle-file-notify-add-watch)
2808 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2809 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2810
44e18199
JB
2811 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2812 Order alphabetically.
a43dc424
MA
2813 [file-notify-rm-watch ]: Use default Tramp handler.
2814 [executable-find]: Remove private handler.
2815 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2816 `default-directory'.
2817 (tramp-sh-handle-executable-find)
2818 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2819 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2820 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2821 Do not use `format' in `tramp-message'.
2822
2823 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2824 [file-notify-rm-watch, set-visited-file-modtime]:
2825 [verify-visited-file-modtime]: Add handler.
2826 (tramp-smb-call-winexe): Do not bind `default-directory'.
2827
7188b515
XF
28282013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2829
2830 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2831
2412ee1a
DG
28322013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2833
2834 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2835 use it.
2836 (log-view-diff-changeset): Same.
2837 (log-view-diff-common): Call backend command `previous-revision'
2838 to find out the previous revision, in both cases. Swap the
2839 variables `to' and `fr', so that `fr' usually refers to the
2840 earlier revision (Bug#14989).
2841
5002a754
KRC
28422013-07-31 Kan-Ru Chen <kanru@kanru.info>
2843
2844 * ibuf-ext.el (ibuffer-filter-by-filename):
2845 Make it work with dired buffers too.
2846
44e18199 28472013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2848
2849 * emacs-lisp/re-builder.el (reb-color-display-p):
2850 * files.el (save-buffers-kill-terminal):
2851 * net/browse-url.el (browse-url):
2852 * server.el (server-save-buffers-kill-terminal):
2853 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2854 Prefer nil to selected-frame for the first arg of frame-parameter.
2855
aeca3fbb
XF
28562013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2857
2858 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2859
158bc55c
SB
28602013-07-30 Stephen Berman <stephen.berman@gmx.net>
2861
2862 * minibuffer.el (completion--twq-all): Try and preserve each
2863 completion's case choice (bug#14907).
2864
d50fceab
LMI
28652013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2866
ac38e731
LMI
2867 * net/network-stream.el (open-network-stream): Mention the new
2868 :nogreeting parameter.
2869 (network-stream-open-starttls): Use the :nogreeting parameter
2870 (bug#14938).
2871
1211de50
LMI
2872 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2873
997798bf
LMI
2874 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2875 more natural than popping.
2876
d50fceab 2877 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2878 (shr-urlify): Highlight under mouse.
d50fceab 2879
5c09de04
XF
28802013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2881
207d1d04
XF
2882 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2883
2884 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2885
5c09de04
XF
2886 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2887 buffer for output.
2888
3cd51eaa
XF
2889 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2890 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2891
44e18199 2892 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2893 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2894
2895 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2896
2897 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2898 buffer for output.
2899
35a89bdd
EZ
29002013-07-29 Eli Zaretskii <eliz@gnu.org>
2901
2902 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2903 initial frame is minibuffer-less. (Bug#14841)
2904
78822e94
MA
29052013-07-29 Michael Albinus <michael.albinus@gmx.de>
2906
2907 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2908 option.
2909
2910 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2911 (tramp-maybe-open-connection): Use it.
2912
9503c190
JB
29132013-07-28 Juanma Barranquero <lekktu@gmail.com>
2914
2915 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2916 minimal set of parameters passed when creating a frame, because
2917 the minibuffer status of a frame cannot be changed later.
2918
d5a845b4
SB
29192013-07-28 Stephen Berman <stephen.berman@gmx.net>
2920
2921 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2922 replace-regexp-in-string and inadvertent omissions in previous change.
2923 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2924 name of filtered items buffer.
d5a845b4 2925
ddeffb17
JB
29262013-07-28 Juanma Barranquero <lekktu@gmail.com>
2927
2928 * desktop.el: Optionally force offscreen frames back onscreen.
2929 (desktop-restoring-reuses-frames): New option.
2930 (desktop--compute-pos, desktop--move-onscreen): New functions.
2931 (desktop--make-frame): Use desktop--move-onscreen.
2932
f5950f7a
AM
29332013-07-27 Alan Mackenzie <acm@muc.de>
2934
2935 Fontify a Java generic method as a function.
2936 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2937 value to t.
2938
ae43b66a
SB
29392013-07-27 Stephen Berman <stephen.berman@gmx.net>
2940
2941 * calendar/todo-mode.el: Add command to rename todo files.
2942 (todo-rename-file): New command.
2943 (todo-key-bindings-t): Add key binding for it. Change the
2944 bindings of todo-filter-regexp-items(-multifile) to use `x'
2945 instead of `r', since the latter is better suited to the new
2946 renaming command.
2947
5ab78d3d
AM
29482013-07-27 Alan Mackenzie <acm@muc.de>
2949
2950 Make Java try-with-resources statement parse properly.
2951 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2952 (c-block-stmt-1-2-key): New language constants/variables.
2953 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2954 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2955 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2956 with c-block-stmt-1-2-key.
5ab78d3d 2957
d85c4d50
JB
29582013-07-27 Juanma Barranquero <lekktu@gmail.com>
2959
2960 * desktop.el (desktop--make-frame): Apply most frame parameters after
2961 creating the frame to force (partially or totally) offscreen frames to
2962 be restored as such.
2963
e4c467f9
XF
29642013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2965
2966 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2967 (Bug#14948)
e4c467f9 2968
7ced0d04
SM
29692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2972 `base' arg of backtrace-frame.
2973
fec92060
EZ
29742013-07-26 Eli Zaretskii <eliz@gnu.org>
2975
2976 * simple.el (list-processes): Doc fix.
2977
d58d31fb
JB
29782013-07-26 Juanma Barranquero <lekktu@gmail.com>
2979
2980 * desktop.el (desktop--select-frame):
d85c4d50 2981 Try harder to reuse existing frames.
d58d31fb 2982
53ff3e77
SM
29832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2986 (edebug-eval): Use backtrace-eval.
2987 (edebug--display, edebug--recursive-edit): Don't let-bind the
2988 edebug-outer-* vars that keep track of variables we locally let-bind.
2989 (edebug-outside-excursion): Don't restore outside values of locally
2990 let-bound vars.
2991 (edebug--display): Use user-error.
2992 (cl-lexical-debug, cl-debug-env): Remove.
2993
045f7a53
JB
29942013-07-26 Juanma Barranquero <lekktu@gmail.com>
2995
2996 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2997 are restored to be sure that they are visible before deleting any
2998 remaining ones.
2999
59070b32
MM
30002013-07-26 Matthias Meulien <orontee@gmail.com>
3001
742a3501
XF
3002 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3003 vc-print-root-log. (Bug#14948)
59070b32 3004
b1fb3596
RS
30052013-07-26 Richard Stallman <rms@gnu.org>
3006
3007 Add aliases for encrypting mail.
3008 * epa.el (epa-mail-aliases): New option.
3009 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3010 Bind inhibit-read-only so read-only text doesn't ruin everything.
3011 (epa-mail-default-recipients): New subroutine broken out.
3012 Handle epa-mail-aliases.
3013
56ea7291
SM
30142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 Add support for lexical variables to the debugger's `e' command.
3017 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3018 vars, except for debugger-outer-match-data.
3019 (debugger-frame-number): Move check for "on a function call" from
3020 callers into it. Add `skip-base' argument.
3021 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3022 (debugger-env-macro): Only reset the state stored in non-variables,
3023 i.e. current-buffer and match-data.
3024 (debugger-eval-expression): Rewrite using backtrace-eval.
3025 * subr.el (internal--called-interactively-p--get-frame): Remove.
3026 (called-interactively-p):
3027 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3028 `base' arg of backtrace-frame instead.
3029
15ac32d5
GM
30302013-07-26 Glenn Morris <rgm@gnu.org>
3031
8358a09d
GM
3032 * align.el (align-regexp): Doc fix. (Bug#14857)
3033 (align-region): Explicit error if subexpression missing/does not match.
3034
15ac32d5
GM
3035 * simple.el (global-visual-line-mode):
3036 Do not duplicate the mode lighter. (Bug#14858)
3037
f47ad11b
MR
30382013-07-25 Martin Rudalics <rudalics@gmx.at>
3039
3040 * window.el (display-buffer): In display-buffer bind
3041 split-window-keep-point to t, bug#14829.
3042
02530987
JB
30432013-07-25 Juanma Barranquero <lekktu@gmail.com>
3044
3045 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3046 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3047 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3048 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3049 Change accordingly.
f63ebeb5
JB
3050 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3051 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3052
6ccb9cab 30532013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3054
6ccb9cab 3055 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3056
cb3a56d2
JB
30572013-07-25 Juanma Barranquero <lekktu@gmail.com>
3058
3059 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3060 parameter to modify-frame-parameters if the value has not changed;
3061 this is a workaround for bug#14949.
3062 (desktop--make-frame): On cl-delete-if call, check parameter name,
3063 not full parameter.
3064
7aa7fff0
XF
30652013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3066
3067 * vc/vc.el (vc-ignore): New function.
3068
3069 * vc/vc-svn.el (vc-svn-ignore): New function.
3070
3071 * vc/vc-hg.el (vc-hg-ignore): New function.
3072
3073 * vc/vc-git.el (vc-git-ignore): New function.
3074
3075 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3076 (vc-dir-ignore): New function.
3077
3078 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3079 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3080
3081 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3082
3083 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3084
889acc5c
JB
30852013-07-24 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3088 (desktop-restore-frames): Warn when deleting an existing frame failed.
3089
86c40970
GM
30902013-07-24 Glenn Morris <rgm@gnu.org>
3091
3092 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3093
d5d3c58a
MA
30942013-07-24 Michael Albinus <michael.albinus@gmx.de>
3095
3096 * filenotify.el (file-notify-supported-p):
3097 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3098 Remove functions.
3099
3100 * autorevert.el (auto-revert-use-notify):
3101 (auto-revert-notify-add-watch):
3102 * net/tramp.el (tramp-file-name-for-operation):
3103 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3104 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3105 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3106 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3107 Remove `file-notify-supported-p' entry.
3108
d100084b
GM
31092013-07-24 Glenn Morris <rgm@gnu.org>
3110
3111 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3112 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3113
ac93e56b
SM
31142013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3115
249eea30
SM
3116 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3117 checked with memq (bug#14935).
3118
ac93e56b
SM
3119 * files.el (revert-buffer-function): Use a non-nil default.
3120 (revert-buffer-preserve-modes): Declare var to
3121 provide access to the `preserve-modes' argument.
3122 (revert-buffer): Let-bind it.
3123 (revert-buffer--default): New function, extracted from revert-buffer.
3124
2cdeb903
SM
31252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * lpr.el: Signal print errors more prominently.
3128 (print-region-function): Don't default to nil.
3129 (lpr-print-region): New function, extracted from print-region-1.
3130 Check lpr's return value and signal an error in case of problem.
3131 (print-region-1): Use it.
3132 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3133 versions instead.
3134 (ps-printer-name): Default to nil.
3135 (ps-printer-name-option): Default to lpr-printer-switch.
3136 (ps-print-region-function): Don't default to nil.
3137 (ps-postscript-code-directory): Simplify default.
3138 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3139 (ps-string-list, ps-eval-switch, ps-flatten-list)
3140 (ps-flatten-list-1): Remove.
3141 (ps-multibyte-buffer): Avoid setq.
3142 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3143 (print-region-function, ps-print-region-function): Don't set them here.
3144
73600831
XF
31452013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3146
0e55c076
XF
3147 * ido.el (ido-fractionp):
3148 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3149 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3150 (ido-max-directory-size, ido-max-dir-file-cache)
3151 (ido-decorations): Doc fix.
3152
73600831
XF
3153 * ansi-color.el: Fix old URL.
3154
3d012865
MM
31552013-07-23 Michael R. Mauger <michael@mauger.com>
3156
3157 * progmodes/sql.el Version 3.3
3158 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3159 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3160 (sql-interactive-remove-continuation-prompt): Rewrite, use
3161 functions above. Fix continuation prompt and complete output line
3162 handling.
3163 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3164 redirected output buffer.
3165 (sql-mode): Restore deleted code (Bug#13591).
3166
da77a2e2
JB
31672013-07-23 Juanma Barranquero <lekktu@gmail.com>
3168
3169 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3170
80ff0c71
MA
31712013-07-23 Michael Albinus <michael.albinus@gmx.de>
3172
3173 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3174
3175 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3176 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3177 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3178
b61d71e4
JB
31792013-07-23 Juanma Barranquero <lekktu@gmail.com>
3180
3181 * desktop.el (desktop-clear): Simplify; remove useless checks
3182 against invalid buffer names.
3183 (desktop-list*): Use cl-list*.
3184 (desktop-buffer-info, desktop-create-buffer): Simplify.
3185
c3512092
LL
31862013-07-23 Leo Liu <sdl.web@gmail.com>
3187
3188 * bookmark.el (bookmark-make-record): Restore NAME as a default
3189 value. (Bug#14933)
3190
0ac26976
SM
31912013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3192
7d22ce18
SM
3193 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3194 extracted from autoload--insert-text.
3195 (autoload--insert-text): Remove.
3196 (autoload--print-cookie-text): New function, extracted from
3197 autoload--insert-cookie-text.
3198 (autoload--insert-cookie-text): Remove.
3199 (autoload-generate-file-autoloads): Adjust calls accordingly.
3200
9b2607e8
SM
3201 * winner.el (winner-hook-installed-p): Remove.
3202 (winner-mode): Simplify accordingly.
3203
c43a8618
SM
3204 * subr.el (add-to-list): Fix compiler-macro when `append' is
3205 not constant. Don't use `cl-member' for the base case.
3206
0ac26976
SM
3207 * progmodes/subword.el: Fix boundary case (bug#13758).
3208 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3209 own group.
3210 (subword-backward-regexp): Make it a constant.
3211 (subword-forward-internal): Don't treat a trailing capital as the
3212 beginning of a word.
3213
6874724a
AR
32142013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3215
3216 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3217 global value of tabulated-list-revert-hook (bug#14930).
3218
70f1b5e8
JB
32192013-07-22 Juanma Barranquero <lekktu@gmail.com>
3220
a1c80d9d
JB
3221 * desktop.el: Require 'cl-lib.
3222 (desktop-before-saving-frames-functions): New hook.
3223 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3224 for frames being saved. Rename from desktop--save-minibuffer-frames.
3225 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3226 Do not save frames with non-nil `desktop-dont-save' parameter.
3227 Filter out deleted frames.
a1c80d9d
JB
3228 (desktop--find-frame): Use cl-find-if.
3229 (desktop--select-frame): Use cl-(first|second|third) to access values
3230 of desktop-mini.
3231 (desktop--make-frame): Use cl-delete-if.
3232 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3233 (desktop-restore-frames): Use cl-(first|second|third) to access values
3234 of desktop-mini. Look for visible frame at the end, not while
3235 restoring frames.
3236
70f1b5e8
JB
3237 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3238 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3239 Use string-match-p, looking-at-p (bug#14927).
3240
728dc3cc
JB
32412013-07-21 Juanma Barranquero <lekktu@gmail.com>
3242
56bc453c
JB
3243 * desktop.el (desktop-saved-frame-states):
3244 Rename from desktop--saved-states; all users changed.
3245 (desktop-save-frames): Rename from desktop--save-frames.
3246 Do not save state to desktop file.
3247 (desktop-save): Save desktop-saved-frame-states to desktop file
3248 and reset to nil.
3249 (desktop-restoring-frames-p): New function.
3250 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3251 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3252 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3253
728dc3cc
JB
3254 * desktop.el: Correctly restore iconified frames.
3255 (desktop--filter-iconified-position): New function.
3256 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3257
862f1c9c
GM
32582013-07-20 Glenn Morris <rgm@gnu.org>
3259
c4074c9f
GM
3260 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3261 Let `message' do the formatting.
3262 (def-gdb-preempt-display-buffer): Add explicit format.
3263
d828e5f9
GM
3264 * image-dired.el (image-dired-track-original-file):
3265 Use with-current-buffer.
3266 (image-dired-track-thumbnail): Use with-current-buffer.
3267 Avoid changing point of wrong window.
3268
862f1c9c
GM
3269 * image-dired.el (image-dired-track-original-file):
3270 Avoid changing point of wrong window. (Bug#14909)
3271
f0398ec1 32722013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3273
3274 * progmodes/gdb-mi.el (gdb-done-or-error):
3275 Guard against "%" in gdb output. (Bug#14127)
3276
1451928f
AS
32772013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3278
763a086d
JB
3279 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3280 (Bug#14826)
f7a03897 3281
1451928f
AS
3282 * international/mule.el (coding-system-iso-2022-flags): Fix last
3283 change.
3284
99107004
KH
32852013-07-20 Kenichi Handa <handa@gnu.org>
3286
763a086d
JB
3287 * international/mule.el (coding-system-iso-2022-flags):
3288 Add `8-bit-level-4'. (Bug#8522)
99107004 3289
48494e06
LMI
32902013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3291
8ba8eec5
LMI
3292 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3293 (bug#14815).
3294
dfbc66e3
LMI
3295 * net/eww.el (eww-process-text-input): Allow inputting when the
3296 point is at the start of the line, as the properties aren't
3297 front-sticky.
3298
48494e06
LMI
3299 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3300 degenerate widths.
3301
77c92cb9
RS
33022013-07-19 Richard Stallman <rms@gnu.org>
3303
aec7da77
RS
3304 * epa.el (epa-popup-info-window): Doc fix.
3305
77c92cb9
RS
3306 * subr.el (split-string): New arg TRIM.
3307
945c5bb1
JB
33082013-07-18 Juanma Barranquero <lekktu@gmail.com>
3309
3310 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3311 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3312
e06ec67f
MA
33132013-07-18 Michael Albinus <michael.albinus@gmx.de>
3314
c7064f05 3315 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3316 `file-notify-support'. Do not autoload. Adapt all uses.
3317 (file-notify-supported-p): New defun.
3318
c7064f05
JB
3319 * autorevert.el (auto-revert-use-notify):
3320 Use `file-notify-supported-p' instead of `file-notify-support'.
3321 Adapt docstring.
e06ec67f
MA
3322 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3323
3324 * net/tramp.el (tramp-file-name-for-operation):
3325 Add `file-notify-supported-p'.
3326
3327 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3328 New defun.
3329 (tramp-sh-file-name-handler-alist): Add it as handler for
3330 `file-notify-supported-p '.
3331
3332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3333 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3334 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3335 Add `ignore' as handler for `file-notify-*' functions.
3336
5dc8a629
EZ
33372013-07-17 Eli Zaretskii <eliz@gnu.org>
3338
3339 * simple.el (line-move-partial, line-move): Don't start vscroll or
3340 scroll-up if the current line is not taller than the window.
3341 (Bug#14881)
3342
77aea2fb
DG
33432013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3344
3345 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3346 highlight question marks in the method names as strings.
ac72c08d
DG
3347 (ruby-block-beg-keywords): Inline.
3348 (ruby-font-lock-keyword-beg-re): Extract from
3349 `ruby-font-lock-keywords'.
77aea2fb 3350
18c26d81
JD
33512013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3352
3353 * frame.el (blink-cursor-blinks): New defcustom.
3354 (blink-cursor-blinks-done): New defvar.
3355 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3356 (blink-cursor-timer-function): Check if number of blinks has been
3357 done on X and NS.
3358 (blink-cursor-suspend, blink-cursor-check): New defuns.
3359
da48522e
GM
33602013-07-15 Glenn Morris <rgm@gnu.org>
3361
3362 * edmacro.el (edmacro-format-keys): Fix previous change.
3363
0463c1ef
PE
33642013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3365
3366 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3367 The hack didn't work outside English locales anyway.
3368
b43f6451
JB
33692013-07-15 Juanma Barranquero <lekktu@gmail.com>
3370
3371 * simple.el (define-alternatives): Rename from alternatives-define,
3372 per RMS' suggestion.
3373
b958c0ad
JB
33742013-07-14 Juanma Barranquero <lekktu@gmail.com>
3375
3376 * desktop.el (desktop-restore-frames): Change default to t.
3377 (desktop-restore-in-current-display): Now offer more options.
3378 (desktop-restoring-reuses-frames): New customization option.
3379 (desktop--saved-states): Doc fix.
3380 (desktop-filter-parameters-alist): New variable, renamed and expanded
3381 from desktop--excluded-frame-parameters.
3382 (desktop--target-display): New variable.
3383 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3384 (desktop--filter-tty*, desktop--filter-*-color)
3385 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3386 (desktop--filter-save-desktop-parm)
3387 (desktop-restore-in-original-display-p): New functions.
3388 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3389 (desktop--save-minibuffer-frames): New function, inspired by a similar
3390 function from Martin Rudalics.
3391 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3392 (desktop--restore-in-this-display-p): Remove.
3393 (desktop--find-frame): Rename from desktop--find-frame-in-display
3394 and add predicate argument.
3395 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3396 (desktop--reuse-list): New variable.
3397 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3398 New functions.
3399 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3400
f6dd8b36
MA
34012013-07-14 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3404
2ce3c565
DG
34052013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3406
763a086d
JB
3407 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3408 Highlight conversion methods on Kernel.
2ce3c565 3409
2cdb7698
AM
34102013-07-13 Alan Mackenzie <acm@muc.de>
3411
3412 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3413 and comment it out. This out-commenting enables certain C++
3414 declarations to be parsed correctly.
3415
1a67b811
EZ
34162013-07-13 Eli Zaretskii <eliz@gnu.org>
3417
1b796d6b
EZ
3418 * international/mule.el (define-coding-system): Doc fix.
3419
1a67b811
EZ
3420 * simple.el (default-font-height): Don't call font-info if the
3421 frame's default font didn't change since the frame was created.
3422 (Bug#14838)
3423
58fbe886
LL
34242013-07-13 Leo Liu <sdl.web@gmail.com>
3425
3426 * ido.el (ido-read-file-name): Guard against non-symbol value.
3427
1f0480d4
FEG
34282013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3429
3430 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3431 in nested defuns.
3432
97ead0e5
LL
34332013-07-13 Leo Liu <sdl.web@gmail.com>
3434
3435 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3436 ido-set-matches call. (Bug#6852)
3437
0880a952
DG
34382013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3439
3440 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3441 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3442 Ruby 2.0.
3443 (ruby-font-lock-keywords): Distinguish calls to functions with
3444 module-like names from module references. Highlight character
3445 literals.
3446
a7d8babb
SDJ
34472013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3448
3449 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3450 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3451
acfcc8c5
JB
34522013-07-12 Juanma Barranquero <lekktu@gmail.com>
3453
3454 * desktop.el (desktop--v2s): Remove unused local variable.
3455 (desktop-save-buffer): Make defvar-local; adjust docstring.
3456 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3457 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3458
051f2775
AS
34592013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3460
3461 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3462
f24e7572
GM
34632013-07-12 Eli Zaretskii <eliz@gnu.org>
3464
3465 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3466 (Bug#14842)
3467
539a920c
GM
34682013-07-12 Glenn Morris <rgm@gnu.org>
3469
3470 * doc-view.el: Require cl-lib at runtime too.
3471 (doc-view-remove-if): Remove.
3472 (doc-view-search-next-match, doc-view-search-previous-match):
3473 Use cl-remove-if.
3474
3475 * edmacro.el: Require cl-lib at runtime too.
3476 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3477 (edmacro-mismatch, edmacro-subseq): Remove.
3478
3479 * shadowfile.el: Require cl-lib.
3480 (shadow-remove-if): Remove.
3481 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3482 Use cl-remove-if.
3483
3484 * wid-edit.el: Require cl-lib.
3485 (widget-choose): Use cl-remove-if.
3486 (widget-remove-if): Remove.
3487
3488 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3489 (ebrowse-delete-if-not): Remove.
3490 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3491 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3492 Use cl-delete-if-not.
3493
1048af7c
JB
34942013-07-12 Juanma Barranquero <lekktu@gmail.com>
3495
3496 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3497 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3498
6c0674ee
LL
34992013-07-12 Leo Liu <sdl.web@gmail.com>
3500
3501 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3502
a19b3c2d
GM
35032013-07-11 Glenn Morris <rgm@gnu.org>
3504
4582a01c
GM
3505 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3506 (edebug-gensym-index, edebug-gensym):
3507 Remove reimplementation of cl-gensym.
3508 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3509
3510 * thumbs.el: Require cl-lib at run-time too.
3511 (thumbs-gensym-counter, thumbs-gensym):
3512 Remove reimplementation of cl-gensym.
3513 (thumbs-temp-file): Use cl-gensym.
3514
a19b3c2d
GM
3515 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3516 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3517 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3518 (ert--union, ert--gensym-counter, ert--gensym-counter)
3519 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3520 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3521 (ert-make-test-unbound, ert--expand-should-1)
3522 (ert--expand-should, ert--should-error-handle-error)
3523 (should-error, ert--explain-equal-rec)
3524 (ert--plist-difference-explanation, ert-select-tests)
3525 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3526 Use cl-lib functions rather than reimplementations.
3527
88f6a933
MA
35282013-07-11 Michael Albinus <michael.albinus@gmx.de>
3529
3530 * net/tramp.el (tramp-methods): Extend docstring.
3531 (tramp-connection-timeout): New defcustom.
3532 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3533 (with-tramp-progress-reporter): Simplify.
3534 (tramp-process-actions): Improve messages.
3535
3536 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3537 * net/tramp-sh.el (tramp-maybe-open-connection):
3538 Use `tramp-connection-timeout'.
3539 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3540 (Bug#14808)
3541
a43d577e
LL
35422013-07-11 Leo Liu <sdl.web@gmail.com>
3543
3544 * ido.el (ido-read-file-name): Conform to the requirements of
3545 read-file-name. (Bug#11861)
3546 (ido-read-directory-name): Conform to the requirements of
3547 read-directory-name.
3548
d77974bf
JB
35492013-07-11 Juanma Barranquero <lekktu@gmail.com>
3550
3551 * subr.el (delay-warning): New function.
3552
35cb8a3e
EZ
35532013-07-10 Eli Zaretskii <eliz@gnu.org>
3554
3555 * simple.el (default-line-height): New function.
3556 (line-move-partial, line-move): Use it instead of computing the
3557 line height inline.
3558 (line-move-partial): Always compute ROWH. If the last line is
3559 partially-visible, but its text is completely visible, allow
3560 cursor to enter such a partially-visible line.
3561
525c5c77
MA
35622013-07-10 Michael Albinus <michael.albinus@gmx.de>
3563
3564 Improve error messages. (Bug#14808)
3565
3566 * net/tramp.el (tramp-current-connection): New defvar, moved from
3567 tramp-sh.el.
0ac26976 3568 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3569 needed anymore.
0ac26976
SM
3570 (tramp-error-with-buffer): Show message in minibuffer.
3571 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3572 (with-tramp-progress-reporter): Improve messages.
3573 (tramp-process-actions): Use progress reporter. Delete process in
3574 case of error. Improve messages.
3575
763a086d
JB
3576 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3577 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3578 (tramp-current-connection): Remove.
525c5c77
MA
3579 (tramp-maybe-open-connection): The car of
3580 `tramp-current-connection' are the first 3 slots of the vector.
3581
c7a4d368
TZ
35822013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3583
3584 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3585 inside continued strings.
3586
954b166e
PE
35872013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3588
3589 Timestamp fixes for undo (Bug#14824).
3590 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3591
56973319
LL
35922013-07-10 Leo Liu <sdl.web@gmail.com>
3593
3594 * files.el (require-final-newline): Allow safe local value.
3595 (Bug#14834)
3596
5550a72c
LL
35972013-07-09 Leo Liu <sdl.web@gmail.com>
3598
3599 * ido.el (ido-read-directory-name): Handle fallback.
3600 (ido-read-file-name): Update DIR to ido-current-directory.
3601 (Bug#1516)
c28b9050 3602 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3603
70c46b28
DG
36042013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3605
3606 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3607 "autoload". Remove "warn lower camel case" section, previously
3608 commented out. Highlight negation char. Do not highlight the
3609 target in singleton method definitions.
3610
0b64b838
SM
36112013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3612
7fd72e2c
SM
3613 * faces.el (tty-setup-hook): Declare the hook.
3614
0b64b838
SM
3615 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3616 and detect when a guard/pred depends on local vars (bug#14773).
3617 (pcase--u1): Adjust caller.
3618
ab49d60b
EZ
36192013-07-08 Eli Zaretskii <eliz@gnu.org>
3620
3621 * simple.el (line-move-partial, line-move): Account for
3622 line-spacing.
701d79aa
EZ
3623 (line-move-partial): Avoid setting vscroll when the last
3624 partially-visible line in window is of default height.
ab49d60b 3625
2d756ae0
LMI
36262013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3627
3628 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3629 been used a while.
3630
ed095bd7
JB
36312013-07-07 Juanma Barranquero <lekktu@gmail.com>
3632
3633 * subr.el (read-quoted-char): Remove unused local variable `char'.
3634
f1e6674b
MK
36352013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3636
584ee3fc
GM
3637 * ediff.el (ediff-version): Version update.
3638 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3639 (ediff-merge-with-ancestor-command, ediff-directories-command)
3640 (ediff-directories3-command, ediff-merge-directories-command)
3641 (ediff-merge-directories-with-ancestor-command): New functions.
3642 All are command-line interfaces to ediff: to facilitate calling
3643 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3644
3645 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3646 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3647
584ee3fc
GM
3648 * viper.el (viper-version): Version update.
3649 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3650
584ee3fc
GM
36512013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3654 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3655 (viper-intercept-ESC-key): Simplify.
3656 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3657 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3658 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3659 (viper-setup-ESC-to-escape): New functions.
3660 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3661 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3662
9aff9b38
EZ
36632013-07-07 Eli Zaretskii <eliz@gnu.org>
3664
5165d44a
JB
3665 * simple.el (default-font-height, window-screen-lines):
3666 New functions.
9aff9b38
EZ
3667 (line-move, line-move-partial): Use them instead of
3668 frame-char-height and window-text-height. This makes scrolling
3669 text smoother when the buffer's default face uses a font that is
3670 different from the frame's default font.
3671
1afb1d07
JD
36722013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3673
3674 * files.el (write-file): Do not display confirm dialog for NS,
3675 it does its own dialog, which can't be cancelled (Bug#14578).
3676
23de972a
EZ
36772013-07-06 Eli Zaretskii <eliz@gnu.org>
3678
3679 * simple.el (line-move-partial): Adjust the row returned by
3680 posn-at-point for the current window-vscroll. (Bug#14567)
3681
54a42486
MA
36822013-07-06 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3685 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3686 spaces.
3687
34ada5f4
MR
36882013-07-06 Martin Rudalics <rudalics@gmx.at>
3689
3690 * window.el (window-state-put-stale-windows): New variable.
3691 (window--state-put-2): Save list of windows without matching buffer.
3692 (window-state-put): Remove "bufferless" windows if possible.
3693
11e03d89
JB
36942013-07-06 Juanma Barranquero <lekktu@gmail.com>
3695
3696 * simple.el (alternatives-define): Remove leftover :group keyword.
3697 Tweak docstring.
3698
3504a4be
LL
36992013-07-06 Leo Liu <sdl.web@gmail.com>
3700
3701 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3702 (ido-enable-virtual-buffers): New variable.
3703 (ido-buffer-internal, ido-toggle-virtual-buffers)
3704 (ido-make-buffer-list): Use it.
3705 (ido-exhibit): Support turning on and off virtual buffers
3706 automatically.
3707
61e56e2c
JB
37082013-07-06 Juanma Barranquero <lekktu@gmail.com>
3709
3710 * simple.el (alternatives-define): New macro.
3711
321e1a9c
SM
37122013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * subr.el (read-quoted-char): Use read-key.
3715 (sit-for): Let read-event decode tty input (bug#14782).
3716
d610f6dd
SB
37172013-07-05 Stephen Berman <stephen.berman@gmx.net>
3718
3719 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3720 mode command and externally. Fix various related bugs.
3721 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3722 (todo-delete-file): New command.
3723 (todo-check-file): New function.
3724 (todo-show): Handle external deletion of the file we're trying to
3725 show (bug#14688). Replace called-interactively-p by an optional
3726 prefix argument to avoid problematic interaction with catch form
3727 when byte compiled (bug#14702).
3728 (todo-quit): Handle external deletion of the archive's todo file.
3729 Make sure the buffer that was visiting the archive file is still
3730 live before trying to bury it.
3731 (todo-category-completions): Handle external deletion of any
3732 category completion files.
3733 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3734 of todo files, in case of external deletion.
3735 (todo-add-file): Replace unnecessary setq by let-binding.
3736 (todo-find-archive): Check whether there are any archives.
3737 Replace unnecessary setq by let-binding.
3738 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3739 archive buffer whether or not the archive already exists.
3740 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3741 check if the archive is new; if it is, update list of archives.
3742 (todo-default-todo-file): Allow nil to be a valid value for when
3743 there are no todo files.
3744 (todo-reevaluate-default-file-defcustom): Use corrected definition
3745 of todo-default-todo-file.
3746 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3747 (todo-delete-category, todo-show-categories-table)
3748 (todo-category-number): Clarify comment.
3749 (todo-filter-items): Clarify documentation string.
3750 (todo-show-current-file, todo-display-as-todo-file)
3751 (todo-reset-and-enable-done-separator): Tweak documentation string.
3752 (todo-done-separator): Make separator length window-width, since
3753 bug#2749 is now fixed.
3754
ddbdfd6f
MA
37552013-07-05 Michael Albinus <michael.albinus@gmx.de>
3756
321e1a9c
SM
3757 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3758 Support both "gvfs-monitor-dir" and "inotifywait".
3759 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3760 `tramp-sh-file-notify-process-filter'.
3761 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3762 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3763
96eb829a
LL
37642013-07-05 Leo Liu <sdl.web@gmail.com>
3765
3766 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3767
cf13177e
YM
37682013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3769
3770 * frame.el (display-pixel-height, display-pixel-width)
3771 (display-mm-height, display-mm-width): Mention behavior on
3772 multi-monitor setups in docstrings.
3773 (w32-display-monitor-attributes-list): Declare function.
3774 (display-monitor-attributes-list): Use it.
3775
864c58ca
MA
37762013-07-04 Michael Albinus <michael.albinus@gmx.de>
3777
3778 * filenotify.el: New package.
3779
3780 * autorevert.el (top): Require filenotify.el.
3781 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3782 instead.
3783 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3784 (auto-revert-notify-handler): Use `file-notify-*' functions.
3785
3786 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3787
321e1a9c
SM
3788 * net/tramp.el (tramp-file-name-for-operation):
3789 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3790
3791 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3792 for `file-notify-add-watch' and `file-notify-rm-watch'.
3793 (tramp-process-sentinel): Improve trace.
3794 (tramp-sh-handle-file-notify-add-watch)
3795 (tramp-sh-file-notify-process-filter)
3796 (tramp-sh-handle-file-notify-rm-watch)
3797 (tramp-get-remote-inotifywait): New defuns.
3798
96673afe
JL
37992013-07-03 Juri Linkov <juri@jurta.org>
3800
3801 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3802 call of `occur-read-primary-args' to interactive spec.
3803
3804 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3805 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3806
924494f4
MM
38072013-07-03 Matthias Meulien <orontee@gmail.com>
3808
3809 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3810 `Buffer-menu-multi-occur'. Add it to the menu.
3811 (Buffer-menu-mode): Document it in docstring.
3812 (Buffer-menu-multi-occur): New command. (Bug#14673)
3813
56f75efc
DG
38142013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3815
3816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3817 keywords and built-ins.
3818
9b057d61
GM
38192013-07-03 Glenn Morris <rgm@gnu.org>
3820
208dee4d
GM
3821 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3822
9b057d61
GM
3823 Make info-xref checks case-sensitive by default
3824 * info.el (Info-find-node, Info-find-in-tag-table)
3825 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3826 Add option for exact case matching of nodes.
3827 * info-xref.el (info-xref): New custom group.
3828 (info-xref-case-fold): New option.
3829 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3830
e01aa29c
LL
38312013-07-03 Leo Liu <sdl.web@gmail.com>
3832
3833 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3834
3086ca2e
DG
38352013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3836
3837 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3838 middle of block statement initially, lower the depth. Remove
3839 FIXME comment, not longer valid. Remove middle of block statement
3840 detection, no need to do that anymore since we've been using
3841 `ruby-parse-region' here.
3842
a3b49114
JD
38432013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3844
3845 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3846
08e5c823 38472013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3848
3849 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3850
2addf922
JB
38512013-07-01 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3854 (desktop-restore-in-current-display): New customization option.
3855 (desktop--excluded-frame-parameters): Add `font'.
3856 (desktop--save-frames): Rename from desktop--save-windows.
3857 (desktop--restore-in-this-display-p): New function.
3858 (desktop--make-full-frame): Remove unwanted width/height from
3859 full(width|height) frames.
3860 (desktop--restore-frames): Rename from desktop--restore-windows.
3861 Obey desktop-restore-current-display. Do not delete old frames or
3862 select a new frame unless we were able to restore at least one frame.
3863
ef099a94
MN
38642013-06-30 Michal Nazarewicz <mina86@mina86.com>
3865
3866 * files.el (find-file-noselect): Simplify conditional expression.
3867
3868 * remember.el (remember-append-to-file):
3869 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3870
3871 Add `remember-notes' function to store random notes across Emacs
3872 restarts.
3873 * remember.el (remember-data-file): Add :set callback to affect
3874 notes buffer (if any).
3875 (remember-notes): New command.
3876 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3877 New defcustoms for the `remember-notes' function.
3878 (remember-notes-save-and-bury-buffer): New command.
3879 (remember-notes-mode-map): New variable.
3880 (remember-mode): New minor mode.
3881 (remember-notes--kill-buffer-query): New function.
3882 * startup.el (initial-buffer-choice): Add notes to custom type.
3883
0865d506
EZ
38842013-06-30 Eli Zaretskii <eliz@gnu.org>
3885
0ba54312
EZ
3886 * bindings.el (right-char, left-char): Don't call sit-for, this is
3887 no longer needed. Use arithmetic comparison only for numerical
3888 arguments.
3889
ef099a94
MN
3890 * international/mule-cmds.el (select-safe-coding-system):
3891 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3892
2fae38e5
LMI
38932013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3894
3895 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3896 progression on degenerate tables.
ef099a94 3897 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3898
a47cbd64
JB
38992013-06-30 Juanma Barranquero <lekktu@gmail.com>
3900
3901 Some fixes and improvements for desktop frame restoration.
3902 It is still experimental and disabled by default.
3903 * desktop.el (desktop--save-windows): Put the selected frame at
3904 the head of the list.
3905 (desktop--make-full-frame): New function.
3906 (desktop--restore-windows): Try to re-select the frame that was
3907 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3908 just show an error message and continue. Set up maximized frames
3909 so they have default non-maximized dimensions.
a47cbd64 3910
6dbafa30
DG
39112013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3912
ef099a94
MN
3913 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3914 Don't start heredoc inside a string or comment.
6dbafa30 3915
4c672a0f
EZ
39162013-06-29 Eli Zaretskii <eliz@gnu.org>
3917
3918 * bindings.el (visual-order-cursor-movement): New defcustom.
3919 (right-char, left-char): Provide visual-order cursor motion by
3920 calling move-point-visually. Update the doc strings.
3921
50960f36
KH
39222013-06-28 Kenichi Handa <handa@gnu.org>
3923
3924 * international/mule.el (define-coding-system): New coding system
3925 properties :inhibit-null-byte-detection,
3926 :inhibit-iso-escape-detection, and :prefer-utf-8.
3927 (set-buffer-file-coding-system): If :charset-list property of
3928 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3929 appropriate for setting.
3930
c1ea3abf
JB
3931 * international/mule-cmds.el (select-safe-coding-system):
3932 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3933 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3934
3935 * international/mule-conf.el (prefer-utf-8): New coding system.
3936 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3937 files.
3938
75dbaf9d
IK
39392013-06-28 Ivan Kanis <ivan@kanis.fr>
3940
eadb6068
IK
3941 * net/shr.el (shr-render-region): New function.
3942
75dbaf9d
IK
3943 * net/eww.el: Autoload `eww-browse-url'.
3944
9ea5cf9f
DG
39452013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3946
c1ea3abf
JB
3947 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3948 Adapt to `package-desc-version' being a list.
3949 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3950 archive element.
3951
39c0e36f
JB
39522013-06-27 Juanma Barranquero <lekktu@gmail.com>
3953
3954 New experimental feature to save&restore window and frame setup.
3955 * desktop.el (desktop-save-windows): New defcustom.
3956 (desktop--saved-states): New var.
3957 (desktop--excluded-frame-parameters): New defconst.
3958 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3959 (desktop--restore-windows, desktop--save-windows): New functions.
3960 (desktop-save): Call `desktop--save-windows'.
3961 (desktop-read): Call `desktop--restore-windows'.
3962
7f13406b
LMI
39632013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3964
ef099a94 3965 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3966
1e072639
SB
39672013-06-27 Stephen Berman <stephen.berman@gmx.net>
3968
3969 * info.el (Info-try-follow-nearest-node): Move search for footnote
3970 above search for node name to prevent missing a footnote (bug#14717).
3971
f3e2cbde
SB
39722013-06-27 Stephen Berman <stephen.berman@gmx.net>
3973
3974 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3975
99906aa0
LL
39762013-06-27 Leo Liu <sdl.web@gmail.com>
3977
3978 * net/eww.el (eww-read-bookmarks): Check file size.
3979
539f75f4
SM
39802013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3983 advice--pending if newdef is nil or an autoload (bug#13820).
3984 (advice-mapc): New function.
3985
843571cb
LMI
39862013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3987
3988 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3989 probably.
23a75d7f 3990 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3991 (eww-add-bookmark): New command.
3992 (eww-bookmark-mode): New mode and commands.
a285ce99 3993 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3994 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3995
f2136e1e
GM
39962013-06-26 Glenn Morris <rgm@gnu.org>
3997
eab35f39
GM
3998 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3999 (hfy-size): Handle ttys. (Bug#14668)
4000
f2136e1e
GM
4001 * info-xref.el: Update for Texinfo 5 change in *note format.
4002 (info-xref-node-re, info-xref-note-re): New constants.
4003 (info-xref-check-buffer): Use info-xref-note-re.
4004
a49ff80c
SM
40052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4006
a343d218
SM
4007 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4008
a49ff80c
SM
4009 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4010 nil terminate the loop (bug#14718).
4011
8308f184
LMI
40122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4013
4014 * net/eww.el: Rework history traversal. When going forward/back,
4015 put these actions into the history, too, so that they can be
4016 replayed.
26bf2b82 4017 (eww-render): Move the history reset to the correct buffer.
8308f184 4018
ec64c273
JL
40192013-06-25 Juri Linkov <juri@jurta.org>
4020
4021 * files-x.el (modify-dir-local-variable): Change the header comment
4022 in the file with directory local variables. (Bug#14692)
4023
e080a9d7
JL
4024 * files-x.el (read-file-local-variable-value): Add `default'.
4025 (Bug#14710)
4026
bfbc93a1
IK
40272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4028
4029 * net/eww.el (eww-make-unique-file-name): Create a unique file
4030 name before saving to entering `y' accidentally asynchronously.
4031
40322013-06-25 Ivan Kanis <ivan@kanis.fr>
4033
4034 * net/eww.el (eww-download): New command and keystroke.
4035
16f74f10
LMI
40362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4037
a49ff80c 4038 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4039
4040 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4041 be more consistent with Info and dired.
4042
4043 * net/eww.el (eww-mode-map): Ditto.
4044
12059709
SM
40452013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4048 packages from archives.
4049 (package-archive-contents): Change format; include obsolete packages.
4050 (package-desc): Use `dir' to mark builtin packages.
4051 (package--from-builtin): Set the `dir' field to `builtin'.
4052 (generated-autoload-file, version-control): Declare.
4053 (package-compute-transaction): Change first arg and return value to be
4054 lists of package-descs. Adjust to new package-archive-contents format.
4055 (package--add-to-archive-contents): Adjust to new
4056 package-archive-contents format.
4057 (package-download-transaction): Arg is now a list of package-descs.
4058 (package-install): If `pkg' is a package name, pass it as
4059 a requirement, so it is subject to the usual (e.g. disabled) checks.
4060 (describe-package): Accept package-desc as well.
4061 (describe-package-1): Describe a specific package-desc. Add links to
4062 other package-descs for the same package name.
4063 (package-menu-describe-package): Pass the actual package-desc.
4064 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4065 works correctly.
4066 (package-desc-status): New function.
4067 (package-menu--refresh): New function, extracted
4068 from package-menu--generate.
4069 (package-menu--generate): Use it.
4070 (package-delete): Update package-alist.
4071 (package-menu-execute): Don't call package-initialize.
4072
4073 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4074 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4075 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4076 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4077 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4078 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4079
8bbdea0f
MR
40802013-06-25 Martin Rudalics <rudalics@gmx.at>
4081
4082 * window.el (window--state-get-1): Workaround for bug#14527.
4083 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4084
e82b0991
LMI
40852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4086
4087 * net/eww.el (eww-back-url): Implement the history by stashing all
4088 the data into a list.
d3f0f918 4089 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4090
c763842b
SM
40912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4094 for values and use read--expression for expressions (bug#14710).
4095 (read-file-local-variable): Avoid setq.
4096 (read-file-local-variable-mode): Use minor-mode-list.
4097
bceff189
RW
40982013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4099
864c58ca 4100 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4101 for DOI URLs.
4102
45f431c6
RW
41032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4104
864c58ca 4105 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4106 Update imenu-support when dialect changes.
4107
f42d8237
LL
41082013-06-25 Leo Liu <sdl.web@gmail.com>
4109
4110 * ido.el (ido-read-internal): Allow forward slash on windows.
4111
be549ce6
LMI
41122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4113
4114 * net/eww.el (eww): Start of strings is \\`, not ^.
4115
71d4c19d
IK
41162013-06-24 Ivan Kanis <ivan@kanis.fr>
4117
5196f88a
IK
4118 * net/shr.el (shr-browse-url): Fix interactive spec.
4119
71d4c19d
IK
4120 * net/eww.el (eww): Add a trailing slash to domain names.
4121
ae36ca55
JB
41222013-06-24 Juanma Barranquero <lekktu@gmail.com>
4123
4124 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4125
0ebd92a3
LMI
41262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4127
bdaa086b
LMI
4128 * net/shr.el (shr-browse-url): Use an external browser if given a
4129 prefix.
4130
c763842b 4131 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4132
b89fc156
IK
41332013-06-24 Ivan Kanis <ivan@kanis.fr>
4134
4135 * net/eww.el (eww): Work more correctly for file: URLs.
4136 (eww-detect-charset): Allow quoted charsets.
4137 (eww-yank-page-url): New command and keystroke.
4138
18eb4bca
DU
41392013-06-24 Daiki Ueno <ueno@gnu.org>
4140
4141 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4142 file name of gpg executable.
4143 (epg-context-program): New function.
4144 (epg-context-home-directory): New function.
4145 (epg-context-set-program): New function.
4146 (epg-context-set-home-directory): New function.
4147 (epg--start): Use `epg-context-program' instead of
4148 'epg-gpg-program'.
4149 (epg--list-keys-1): Likewise.
4150
6c6268c8
LL
41512013-06-24 Leo Liu <sdl.web@gmail.com>
4152
4153 * ido.el (ido-read-internal): Fix bug#14620.
4154
5e400cb3
JB
41552013-06-23 Juanma Barranquero <lekktu@gmail.com>
4156
4157 * faces.el (face-documentation): Simplify.
4158 (read-face-attribute, tty-find-type, x-resolve-font-name):
4159 Use `string-match-p'.
4160 (list-faces-display): Use `string-match-p'. Simplify.
4161 (face-spec-recalc): Check face to avoid face alias loops.
4162 (read-color): Use `string-match-p' and non-capturing parenthesis.
4163
f3f9606c
LMI
41642013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4165
4166 * net/shr.el (shr-rescale-image): Use the new
4167 :max-width/:max-height functionality.
4168
a3ca09b9
IK
41692013-06-23 Ivan Kanis <ivan@kanis.fr>
4170
4171 * net/eww.el (eww-search-prefix): New variable.
4172 (eww): Use it.
f865b474
IK
4173 (eww-external-browser): New variable.
4174 (eww-mode-map): New keystroke.
4175 (eww-browse-with-external-browser): New command.
a3ca09b9 4176
e854cfc7
IK
4177 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4178
18bb9e21
JB
41792013-06-23 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4182 Don't skip aligning the next header field when padding is 0;
4183 otherwise, field width is not respected unless the title is as
4184 wide as the field.
4185
5b165ade
SM
41862013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * emacs-lisp/package.el (package-el-version): Remove.
4189 (package-process-define-package): Fix inf-loop.
4190 (package-install): Allow symbols as arguments again.
4191
12adebe9
DG
41922013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4193
4194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4195 add some more keyword-like methods.
4196 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4197
388573ee
JB
41982013-06-22 Juanma Barranquero <lekktu@gmail.com>
4199
4200 * bs.el (bs-buffer-show-mark): Make defvar-local.
4201 (bs-mode): Use setq-local.
4202
4203 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4204 (emacs-lock--try-unlocking): Make defvar-local.
4205
4582a01c 42062013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4207
2663dd23
GM
4208 * play/cookie1.el (cookie-apropos): Minor simplification.
4209
3d94f3ad
GM
4210 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4211
f72e2fdb
DG
42122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4213
4214 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4215 `regexp-opt', it breaks the build during dumping.
4216
73eab938
DG
42172013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4218
c763842b
SM
4219 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4220 Highlight keyword-like methods on Kernel and Module with
73eab938 4221 font-lock-builtin-face.
5cf8176d
DG
4222 (auto-mode-alist): Consolidate different entries into one regexp
4223 and add more *file-s.
73eab938 4224
d26255f6
SB
42252013-06-21 Stephen Berman <stephen.berman@gmx.net>
4226
4227 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4228
4229 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4230 (diary-entry): Use it in the action of this button type instead of
4231 diary-goto-entry.
4232
4233 * calendar/todo-mode.el: New version.
4234 (todo-add-category): Append new category to end of file and give
4235 it the highest number, instead of putting it at the beginning and
4236 giving it 0. Incorporate noninteractive functionality.
4237 (todo-forward-category): Adapt to 1-based category numbering.
4238 Allow skipping over archived categories.
4239 (todo-backward-category): Derive from todo-forward-category.
4240 (todo-backward-item, todo-forward-item): Make noninteractive and
4241 delegate interactive part to new commands. Make sensitive to done items.
4242 (todo-categories): Make value an alist of category names and
4243 vectors of item counts.
4244 (todo-category-beg): Make a defconst.
4245 (todo-category-number): Use 1 instead of 0 as initial value.
4246 (todo-category-select): Make sensitive to overlays, optional item
4247 highlighting and done items.
4248 (todo-delete-item): Make sensitive to overlays and marked and done items.
4249 (todo-edit-item): Make sensitive to overlays and editing of
4250 date/time header optional. Add format checks.
4251 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4252 no-op if point is not on an item. Advertise using todo-edit-quit.
4253 (todo-edit-mode): Make sensitive to new format, font-locking, and
4254 multiple todo files.
4255 (todo-insert-item, todo-insert-item-here): Derive from
4256 todo-basic-insert-item and extend functionality.
4257 (todo-item-end, todo-item-start): Make sensitive to done items.
4258 (todo-item-string): Don't return text properties. Restore point.
4259 (todo-jump-to-category): Make sensitive to multiple todo files and
4260 todo archives. Use extended category completion.
4261 (todo-lower-item, todo-raise-item): Rename to *-priority and
4262 derive from todo-set-item-priority.
4263 (todo-mode): Derive from special-mode. Make sensitive to new
4264 format, font-locking and multiple todo files. Make read-only.
4265 (todo-mode-map): Don't suppress digit keys, so they can supply
4266 prefix arguments. Add many new key bindings.
4267 (todo-prefix): Insert as an overlay instead of file text.
4268 Change semantics from diary date expression to purely visual mark.
4269 (todo-print): Rename to todo-print-buffer. Make buffer display
4270 features printable. Remove option to restrict number of items
4271 printed. Add option to print to file.
4272 (todo-print-function): Rename to todo-print-buffer-function.
4273 (todo-quit): Extend to handle exiting new todo modes.
4274 (todo-remove-item): Make sensitive to overlays.
4275 (todo-save): Extend to buffers of filtered items.
4276 (todo-show): Make sensitive to done items, multiple todo files and
4277 new todo modes. Offer to convert legacy todo file before creating
4278 first new todo file.
4279 (todo-show-priorities): Rename to todo-top-priorities.
4280 Change semantics of value 0.
4281 (todo-top-priorities): Rename to todo-filter-top-priorities,
4282 derive from todo-filter-items and extend functionality.
4283 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4284 and extend functionality to other types of filtered items.
4285 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4286 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4287 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4288 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4289 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4290 (todo-edit-mode-hook, todo-entry-prefix-function)
4291 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4292 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4293 (todo-initials, todo-insert-threshold, todo-item-string-start)
4294 (todo-line-string, todo-menu, todo-mode-hook)
4295 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4296 (todo-print-priorities, todo-remove-separator)
4297 (todo-save-top-priorities-too, todo-string-count-lines)
4298 (todo-string-multiline-p, todo-time-string-format)
4299 (todo-tmp-buffer-name): Remove.
4300 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4301 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4302 (todo-edit-category-diary-inclusion)
4303 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4304 (todo-edit-file, todo-edit-item-date-day)
4305 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4306 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4307 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4308 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4309 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4310 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4311 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4312 (todo-filter-top-priorities-multifile, todo-find-archive)
4313 (todo-find-filtered-items-file, todo-go-to-source-item)
4314 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4315 (todo-jump-to-archive-category, todo-lower-category)
4316 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4317 (todo-move-category, todo-move-item, todo-next-button)
4318 (todo-next-item, todo-padded-string, todo-powerset)
4319 (todo-previous-button, todo-previous-item)
4320 (todo-print-buffer-to-file, todo-raise-category)
4321 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4322 (todo-set-category-number, todo-set-item-priority)
4323 (todo-set-top-priorities-in-category)
4324 (todo-set-top-priorities-in-file, todo-show-categories-table)
4325 (todo-sort-categories-alphabetically-or-numerically)
4326 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4327 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4328 (todo-toggle-item-header, todo-toggle-item-highlighting)
4329 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4330 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4331 (todo-unarchive-items, todo-unmark-category): New commands.
4332 (todo-absolute-file-name, todo-add-to-buffer-list)
4333 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4334 (todo-basic-insert-item, todo-category-completions)
4335 (todo-category-number, todo-category-string-matcher-1)
4336 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4337 (todo-check-format, todo-clear-matches)
4338 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4339 (todo-current-category, todo-date-string-matcher)
4340 (todo-define-insertion-command, todo-diary-expired-matcher)
4341 (todo-diary-goto-entry, todo-diary-item-p)
4342 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4343 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4344 (todo-done-item-section-p, todo-done-separator)
4345 (todo-done-string-matcher, todo-files, todo-filter-items)
4346 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4347 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4348 (todo-insert-category-line, todo-insert-item-from-calendar)
4349 (todo-insert-sort-button, todo-insert-with-overlays)
4350 (todo-insertion-command-name, todo-insertion-key-bindings)
4351 (todo-label-to-key, todo-longest-category-name-length)
4352 (todo-make-categories-list, todo-mode-external-set)
4353 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4354 (todo-modes-set-3, todo-multiple-filter-files)
4355 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4356 (todo-read-category, todo-read-date, todo-read-dayname)
4357 (todo-read-file-name, todo-read-time)
4358 (todo-reevaluate-category-completions-files-defcustom)
4359 (todo-reevaluate-default-file-defcustom)
4360 (todo-reevaluate-filelist-defcustoms)
4361 (todo-reevaluate-filter-files-defcustom)
4362 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4363 (todo-reset-done-separator, todo-reset-done-separator-string)
4364 (todo-reset-done-string, todo-reset-global-current-todo-file)
4365 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4366 (todo-reset-prefix, todo-set-categories)
4367 (todo-set-date-from-calendar, todo-set-show-current-file)
4368 (todo-set-top-priorities, todo-short-file-name)
4369 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4370 (todo-total-item-counts, todo-update-buffer-list)
4371 (todo-update-categories-display, todo-update-categories-sexp)
4372 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4373 New functions.
4374 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4375 New major modes.
4376 (todo-categories, todo-display, todo-edit, todo-faces)
4377 (todo-filtered): New defgroups.
4378 (todo-archived-only, todo-button, todo-category-string, todo-date)
4379 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4380 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4381 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4382 (todo-add-item-if-new-category, todo-always-add-time-string)
4383 (todo-categories-align, todo-categories-archived-label)
4384 (todo-categories-category-label, todo-categories-diary-label)
4385 (todo-categories-done-label, todo-categories-number-separator)
4386 (todo-categories-todo-label, todo-categories-totals-label)
4387 (todo-category-completions-files, todo-completion-ignore-case)
4388 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4389 (todo-done-separator-string, todo-done-string)
4390 (todo-files-function, todo-filter-done-items, todo-filter-files)
4391 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4392 (todo-initial-category, todo-initial-file, todo-item-mark)
4393 (todo-legacy-date-time-regexp, todo-mode-line-function)
4394 (todo-nondiary-marker, todo-number-prefix)
4395 (todo-print-buffer-function, todo-show-current-file)
4396 (todo-show-done-only, todo-show-first, todo-show-with-done)
4397 (todo-skip-archived-categories, todo-top-priorities-overrides)
4398 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4399 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4400 New defcustoms.
4401 (todo-category-done, todo-date-pattern, todo-date-string-start)
4402 (todo-diary-items-buffer, todo-done-string-start)
4403 (todo-filtered-items-buffer, todo-item-start)
4404 (todo-month-abbrev-array, todo-month-name-array)
4405 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4406 (todo-top-priorities-buffer): New defconsts.
4407 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4408 (todo-categories-with-marks, todo-category-string-face)
4409 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4410 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4411 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4412 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4413 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4414 (todo-font-lock-keywords, todo-global-current-todo-file)
4415 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4416 (todo-insertion-commands-args)
4417 (todo-insertion-commands-args-genlist)
4418 (todo-insertion-commands-names, todo-insertion-map)
4419 (todo-key-bindings-t, todo-key-bindings-t+a)
4420 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4421 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4422 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4423 (todo-visited): New variables.
4424
cad5d1cb
GM
44252013-06-21 Glenn Morris <rgm@gnu.org>
4426
4427 * play/cookie1.el (cookie-apropos): Add optional display argument.
4428 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4429 (psychoanalyze-pinhead): Use cookie-doctor.
4430
9e277302
JB
44312013-06-21 Juanma Barranquero <lekktu@gmail.com>
4432
4433 * emacs-lisp/package.el (tar-get-file-descriptor)
4434 (tar--extract): Declare.
4435
c5b0993e
EW
44362013-06-21 Eduard Wiebe <usenet@pusto.de>
4437
4438 Extend flymake's warning predicate to be a function (bug#14217).
4439 * progmodes/flymake.el (flymake-warning-predicate): New.
4440 (flymake-parse-line): Use it.
4441 (flymake-warning-re): Make obsolete alias to
4442 `flymake-warning-predicate'.
4443
a7d2d465
SM
44442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4447 (package-obsolete-list): Remove.
4448 (package-activate): Remove min-version argument. Add `force' argument.
4449 Adjust to new package-alist format.
4450 (package-mark-obsolete): Remove.
4451 (package-unpack): Force reload of the package's autoloads.
4452 (package-installed-p): Check builtins if the installed package is not
4453 recent enough.
4454 (package-initialize): Don't reset package-obsolete-list.
4455 Don't specify which package version to activate.
4456 (package-process-define-package, describe-package-1)
4457 (package-menu--generate): Adjust to new package-alist format.
4458
cedf5c9d
JB
44592013-06-21 Juanma Barranquero <lekktu@gmail.com>
4460
4461 * allout-widgets.el (allout-widgets-mode-off)
4462 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4463 (allout-widgets-post-command-business)
4464 (allout-widgets-after-copy-or-kill-function)
4465 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4466 (allout-decorate-item-and-context)
4467 (allout-graphics-modification-handler): Fix typos in docstrings.
4468 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4469
4470 * cmuscheme.el (scheme-start-file): Doc fix.
4471 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4472 (scheme-input-filter): Use `string-match-p'.
4473
4474 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4475
4476 * dired-x.el: Use Dired consistently in docstrings.
4477
4478 * dired.el: Use Dired consistently in docstrings.
4479 (dired-readin, dired-mode): Use `setq-local'.
4480 (dired-switches-alist): Make defvar-local.
4481 (dired-buffers-for-dir): Use `zerop'.
4482 (dired-safe-switches-p, dired-switches-escape-p)
4483 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4484 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4485 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4486 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4487 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4488 (dired-toggle-marks, dired-mark-files-containing-regexp)
4489 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4490 (dired-flag-auto-save-files, dired-flag-backup-files):
4491 Use `looking-at-p'.
4492 (dired-mark-files-regexp, dired-build-subdir-alist):
4493 Use `string-match-p', `looking-at-p'.
4494
4495 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4496 (direct-print-region-helper): Use `string-match-p'.
4497
aed838b5
LL
44982013-06-21 Leo Liu <sdl.web@gmail.com>
4499
cedf5c9d
JB
4500 * comint.el (comint-redirect-results-list-from-process):
4501 Fix infinite loop.
aed838b5 4502
d80a808f
LMI
45032013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4504
4505 * net/eww.el (eww-update-header-line-format): Quote % characters.
4506
e7a526e3
GM
45072013-06-21 Glenn Morris <rgm@gnu.org>
4508
4509 * play/cookie1.el (cookie): New custom group.
4510 (cookie-file): New option.
4511 (cookie-check-file): New function.
4512 (cookie): Make it interactive. Make start and end messages optional.
4513 Interactively, display the result. Default to cookie-file.
4514 (cookie-insert): Default to cookie-file.
4515 (cookie-snarf): Make start and end messages optional.
4516 Default to cookie-file. Use with-temp-buffer.
4517 (cookie-read): Rename from read-cookie.
4518 Make start and end messages optional. Default to cookie-file.
4519 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4520 Do not autoload it.
e7a526e3
GM
4521 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4522 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4523
62efb35e
LL
45242013-06-21 Leo Liu <sdl.web@gmail.com>
4525
4526 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4527
21e3f963
GM
45282013-06-21 Glenn Morris <rgm@gnu.org>
4529
4530 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4531
fd846ab4
SM
45322013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4533 Daniel Hackney <dan@haxney.org>
4534
4535 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4536 Consolidate the single-file vs tarball code.
4537 (package-desc-suffix): New function.
4538 (package-desc-full-name): Don't bother inlining it.
4539 (package-load-descriptor): Return the new package-desc.
4540 (package-mark-obsolete): Remove unused arg `package'.
4541 (package-unpack): Make it work for single files as well.
4542 Make it update package-alist.
4543 (package--make-autoloads-and-stuff): Rename from
4544 package--make-autoloads-and-compile. Don't compile any more.
4545 (package--compile): New function.
4546 (package-generate-description-file): New function, extracted from
4547 package-unpack-single.
4548 (package-unpack-single): Remove.
4549 (package--with-work-buffer): Add indentation and debugging info.
4550 (package-download-single): Remove.
4551 (package-install-from-archive): Rename from package-download-tar, make
4552 it take a pkg-desc, and make it work for single files as well.
4553 (package-download-transaction): Simplify.
4554 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4555 external tar program.
4556 (package-install-from-buffer): Remove `pkg-desc' argument.
4557 Use package-tar-file-info for tar-mode buffers.
4558 (package-install-file): Simplify accordingly.
4559 (package-archive-base): Change to take a pkg-desc.
4560 * tar-mode.el (tar--check-descriptor): New function, extracted from
4561 tar-get-descriptor.
4562 (tar-get-descriptor): Use it.
4563 (tar-get-file-descriptor): New function.
4564 (tar--extract): New function, extracted from tar-extract.
4565 (tar--extract): Use it.
4566 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4567 case the summary uses non-ascii. Adjust to new calling convention of
4568 package-tar-file-info.
4569
b7deae5e
LL
45702013-06-21 Leo Liu <sdl.web@gmail.com>
4571
fd846ab4
SM
4572 * comint.el (comint-redirect-results-list-from-process):
4573 Fix random delay. (Bug#14681)
b7deae5e 4574
7a65a0b2
JB
45752013-06-21 Juanma Barranquero <lekktu@gmail.com>
4576
4577 * profiler.el (profiler-format-number): Use log, not log10.
4578
1493c2af
JB
45792013-06-20 Juanma Barranquero <lekktu@gmail.com>
4580
4581 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4582
aff6371e
SM
45832013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4586 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4587 yet available.
4588 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4589 (AUTOGENEL): ... here.
4590 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4591 (cl--defsubst-expand): Use it.
4592
89561f72
PE
45932013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 * subr.el (log10): Move here from C code, and declare as obsolete.
4596 All uses of (log10 X) replaced with (log X 10).
4597
47199123
JB
45982013-06-20 Juanma Barranquero <lekktu@gmail.com>
4599
4600 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4601 Declare with `defvar-local'.
4602 (tabulated-list-use-header-line, tabulated-list-entries)
4603 (tabulated-list-padding, tabulated-list-printer)
4604 (tabulated-list-sort-key): Declare with `defvar-local'.
4605 (tabulated-list-init-header, tabulated-list-print-fake-header):
4606 Use `setq-local'.
4607
4a172eab
MA
46082013-06-20 Michael Albinus <michael.albinus@gmx.de>
4609
47199123
JB
4610 * arc-mode.el (archive-mode): Add `archive-write-file' to
4611 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4612
5fc0acc0
JB
46132013-06-20 Juanma Barranquero <lekktu@gmail.com>
4614
d5b27848
JB
4615 * cus-edit.el (custom-commands): Fix typos.
4616 (custom-display): Fix tooltip text.
4617 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4618 Fix typos in docstrings.
4619 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4620 (custom-unlispify-menu-entry, custom-magic-value-create)
4621 (custom-add-see-also, custom-group-value-create): Use ?\s.
4622 (custom-guess-type, customize-apropos, editable-field)
4623 (custom-face-value-create): Use `string-match-p'.
4624 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4625
4626 * custom.el (custom-load-symbol): Use `string-match-p'.
4627
a5c581d8
JB
4628 * ansi-color.el: Convert to lexical binding.
4629 (ansi-colors): Fix URL.
4630 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4631 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4632 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4633
970ad972
G
46342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4635
4636 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4637
4638 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4639
46402013-06-19 Tom Tromey <tromey@redhat.com>
4641
4642 * net/eww.el (eww-top-url): Remove.
4643 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4644 (eww-render): Set new variables. Don't set eww-top-url.
4645 (eww-handle-link): Handle "prev", "home", and "contents".
4646 Downcase the rel text.
4647 (eww-top-url): Choose best top URL.
4648
46492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650
4651 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4652 relying in widget.el. Using widget.el leads to too many
4653 user interface inconsistencies.
4654 (eww-self-insert): Implement entering commands in text fields.
4655 (eww-process-text-input): New function to make text input field editing
4656 work.
4657 (eww-submit): Rewrite to use the new-style form methods.
4658 (eww-select-display): Display the correct selected item.
4659 (eww-change-select): Implement changing the select value.
4660 (eww-toggle-checkbox): Implement radio/checkboxes.
4661 (eww-update-field): Fix compilation error.
4662 (eww-tag-textarea): Implement <textarea>.
4663
4664 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4665 we don't shadow mode-specific bindings.
4666
4667 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4668 nothing to push.
4669
4670 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4671
4582a01c 46722013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4673
4674 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4675
15b263dc
MA
46762013-06-19 Michael Albinus <michael.albinus@gmx.de>
4677
4678 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4679 not needed.
4680
4681 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4682
8f5297f7
LMI
46832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4684
4685 * net/browse-url.el (browse-url-browser-function):
4686 `eww-browse-url' has the right calling signature, `eww' does not.
4687
011c4552
GM
46882013-06-19 Glenn Morris <rgm@gnu.org>
4689
2285bd27
GM
4690 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4691 Only eval autoloaded macros.
4692 (byte-compile-autoload): Only give the macro warning for macros.
4693
1d653303
GM
4694 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4695 (ps-underlined-faces): Declare.
4696
bdd779ec
GM
4697 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4698 (speedbar-add-supported-extension): Declare.
4699
011c4552
GM
4700 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4701 Don't include a date stamp in the header of the generated file;
4702 it leads to needless differences between output files.
4703
e59dfb0e
MA
47042013-06-19 Michael Albinus <michael.albinus@gmx.de>
4705
c763842b
SM
4706 * net/secrets.el (secrets-struct-secret-content-type):
4707 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4708 Some servers do not offer introspection.
e59dfb0e 4709
102626e2
SM
47102013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * electric.el (electric-pair-mode): Improve interaction with
4713 electric-layout-mode.
4714 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4715 (electric-pair-syntax): Use text-mode-syntax-table in comments
4716 and strings.
4717 (electric-pair--insert): New function.
4718 (electric-pair-post-self-insert-function): Use it and
4719 electric--after-char-pos.
4720
ad528125
LL
47212013-06-19 Leo Liu <sdl.web@gmail.com>
4722
4723 * progmodes/octave.el (octave-help): Fix regexp.
4724
924d6997
G
47252013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4726
4727 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4728 (shr-table-horizontal-line): Allow nil as a value, and change the
4729 default.
4730 (shr-insert-table-ruler): Respect the nil value.
4731
47322013-06-18 Tom Tromey <tromey@barimba>
4733
4734 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4735 New defvars.
4736 (eww-open-file): New defun.
4737 (eww-render): Initialize new variables.
4738 (eww-display-html): Handle "link" and "a".
4739 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4740 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4741 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4742 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4743 New defuns.
924d6997 4744
d1bbba4f
DG
47452013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4746
4747 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4748 Distinguish ternary operator tokens from slash symbol and slash
4749 char literal.
4750
14dd22d2
JB
47512013-06-18 Juanma Barranquero <lekktu@gmail.com>
4752
4753 Convert symbol prettification into minor mode and global minor mode.
4754
4755 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4756 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4757 (prettify-symbols--keywords): Rename from
4758 `prog-prettify-symbols-alist' and make a local defvar.
4759 (prettify-symbols--compose-symbol): Rename from
4760 `prog--prettify-font-lock-compose-symbol'.
4761 (prettify-symbols--make-keywords): Rename from
4762 `prog-prettify-font-lock-symbols-keywords' and simplify.
4763 (prog-prettify-install): Remove.
4764 (prettify-symbols-mode): New minor mode, based on
4765 `prog-prettify-install'.
4766 (turn-on-prettify-symbols-mode): New function.
4767 (global-prettify-symbols-mode): New globalized minor mode.
4768
4769 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4770 * progmodes/cfengine.el (cfengine3-mode):
4771 * progmodes/perl-mode.el (perl-mode): Don't call
4772 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4773
292c880c
JL
47742013-06-18 Juri Linkov <juri@jurta.org>
4775
4776 * files-x.el (modify-file-local-variable-message): New function.
4777 (modify-file-local-variable)
4778 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4779 and call `modify-file-local-variable-message' when it's non-nil.
4780 (add-file-local-variable, delete-file-local-variable)
4781 (add-file-local-variable-prop-line)
4782 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4783 and use it. (Bug#9820)
4784
0950aa27
JL
47852013-06-18 Juri Linkov <juri@jurta.org>
4786
4787 * emulation/vi.el (vi-shell-op):
4788 * emulation/vip.el (vip-execute-com, ex-command):
4789 * emulation/viper-cmd.el (viper-exec-bang):
4790 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4791 the call of `shell-command-on-region'. (Bug#14637)
4792
4793 * simple.el (shell-command-on-region): Doc fix.
4794
8fbcca16
SM
47952013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4798 (bug#14633).
4799
dd7426ea
GM
48002013-06-18 Glenn Morris <rgm@gnu.org>
4801
4ba54f7d
GM
4802 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4803
dd7426ea
GM
4804 * newcomment.el (comment-search-forward, comment-search-backward):
4805 Doc fix. (Bug#14376)
4806
58aa805b
JB
48072013-06-18 Juanma Barranquero <lekktu@gmail.com>
4808
4809 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4810 (buffer-face-mode-invoke): Doc fix.
4811
9a08a617
MM
48122013-06-18 Matthias Meulien <orontee@gmail.com>
4813
4814 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4815 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4816
f2f426ca
GM
48172013-06-18 Glenn Morris <rgm@gnu.org>
4818
9445f99b
GM
4819 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4820 Replace obsolete function generic-make-keywords with its expansion.
4821
e0df2d14
GM
4822 * progmodes/python.el (ffap-alist): Declare.
4823
f2f426ca
GM
4824 * textmodes/reftex.el (bibtex-mode-map): Declare.
4825
f7f9a720
SM
48262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4829 (package-unpack, package-unpack-single): Return the pkg-dir.
4830 (package-download-transaction): Use it to update package-alist.
4831
57ff04e0
LMI
48322013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4833
4834 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4835 possible choice.
4836
c048c022
JL
48372013-06-17 Juri Linkov <juri@jurta.org>
4838
4839 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4840
b5bcaee5
DG
48412013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4842
a020afb9
JB
4843 * emacs-lisp/package.el (package-load-descriptor):
4844 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4845 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4846
551e07e5
JB
48472013-06-17 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * startup.el (command-line): Expand package name returned by
4850 `package--description-file' (bug#14639).
4851
d363bffb
DG
48522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4853
4854 * emacs-lisp/package.el (package-load-descriptor): Do not call
4855 `emacs-lisp-mode', just use its syntax table.
4856
f612933b
JB
48572013-06-17 Juanma Barranquero <lekktu@gmail.com>
4858
4859 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4860 `font-lock-extra-managed-props' if any prettifying keyword is added.
4861 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4862 (prog-mode): Use `setq-local'.
4863
db3b7db5
SM
48642013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * international/characters.el (standard-case-table): Set syntax of ?»
4867 and ?« to punctuation.
4868
f3d674df
JB
48692013-06-16 Juanma Barranquero <lekktu@gmail.com>
4870
4871 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4872 Save relevant match data before calling `syntax-ppss' (bug#14595).
4873
31489a32
JL
48742013-06-15 Juri Linkov <juri@jurta.org>
4875
4876 * files-x.el (modify-file-local-variable-prop-line): Add local
4877 variables to the end of the existing comment on the first line.
4878 Use `file-auto-mode-skip' to skip interpreter magic line,
4879 and also skip XML declaration.
4880
66bd25ab
SM
48812013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * startup.el (package--builtin-versions): New var.
4884 (package-subdirectory-regexp): Remove.
4885 (package--description-file): Hard code its value instead.
4886
4887 * emacs-lisp/package.el: Don't activate packages older than builtin.
4888 (package-obsolete-list): Rename from package-obsolete-alist, and make
4889 it into a simple list of package-desc.
4890 (package-strip-version): Remove.
4891 (package-built-in-p): Use package--builtin-versions.
4892 (package-mark-obsolete): Simplify.
4893 (package-process-define-package): Mark it obsolete if older than the
4894 builtin version.
4895 (package-handle-response): Use line-end-position.
4896 (package-read-archive-contents, package--download-one-archive):
4897 Simplify.
4898 (package--add-to-archive-contents): Skip if older than the builtin or
4899 installed version.
4900 (package-menu-describe-package): Fix last change.
4901 (package-list-unversioned): New var.
4902 (package-menu--generate): Use it.
4903
4904 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4905 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4906 (autoload-builtin-package-versions): New variable.
4907 (autoload-generate-file-autoloads): Use them.
4908 Remove the list of autoloaded functions/macros from the
4909 (autoload...) comments.
4910
4911 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4912
9583ec36
EZ
49132013-06-15 Eli Zaretskii <eliz@gnu.org>
4914
4915 * simple.el (line-move-partial): Don't jump to the next screen
4916 line as soon as it becomes visible. Instead, continue enlarging
4917 the vscroll until the portion of a tall screen line that's left on
4918 display is about the height of the frame's default font.
4919 (Bug#14567)
4920
f0100d8a
GM
49212013-06-15 Glenn Morris <rgm@gnu.org>
4922
b86a85ca
GM
4923 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4924 compilation-error-regexp-alist void, or local while let-bound.
4925
f0100d8a
GM
4926 * progmodes/make-mode.el (makefile-mode-syntax-table):
4927 Treat "=" as punctuation. (Bug#14614)
4928
05e7ce90
JB
49292013-06-15 Juanma Barranquero <lekktu@gmail.com>
4930
4931 * help-fns.el (describe-variable):
4932 Add extra line for permanent-local variables.
4933
12e5e86e
SH
49342013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4935
4936 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4937 Add export, import, library. (Bug#9164)
4938 (library): Set indent function.
4939
230dcbaf
GM
49402013-06-14 Glenn Morris <rgm@gnu.org>
4941
4942 * term/xterm.el (xterm--query):
4943 Stop after first matching handler. (Bug#14615)
4944
e36b2d20 49452013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4946
4947 Add support for dired in saveplace.
4948 * dired.el (dired-initial-position-hook): New variable.
4949 (dired-initial-position): Call hook to place cursor position.
4950 * saveplace.el (save-place-to-alist): Add dired position.
4951 (save-place-dired-hook): New function.
4952
0b31660d
SM
49532013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4954
bf1e6ae8
SM
4955 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4956 through a symbol rather than letrec.
4957
1b8dff23
SM
4958 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4959 (package-desc): Add `dir' field.
4960 (package-desc-full-name): New function.
4961 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4962 (package-maybe-load-descriptor): Remove.
4963 (package-load-all-descriptors): Just call package-load-descriptor.
4964 (package--disabled-p): New function.
4965 (package-desc-vers, package-desc-doc): Remove aliases.
4966 (package--dir): Remove function.
4967 (package-activate): Check if a package is disabled.
4968 (package-process-define-package): New function, extracted from
4969 define-package.
4970 (define-package): Turn into a place holder.
4971 (package-unpack-single, package-tar-file-info):
4972 Use package--description-file.
4973 (package-compute-transaction): Use package--disabled-p.
4974 (package-download-transaction): Don't call
4975 package-maybe-load-descriptor since they're all loaded anyway.
4976 (package-install): Change argument to be a pkg-desc.
4977 (package-delete): Use a single pkg-desc argument.
4978 (describe-package-1): Use package-desc-dir instead of package--dir.
4979 Use package-desc property instead of package-symbol.
4980 (package-install-button-action): Adjust accordingly.
4981 (package--push): Rewrite.
4982 (package-menu--print-info): Adjust accordingly. Change the ID format
4983 to be a pkg-desc.
4984 (package-menu-describe-package, package-menu-get-status)
4985 (package-menu--find-upgrades, package-menu-mark-upgrades)
4986 (package-menu-execute, package-menu--name-predicate):
4987 Adjust accordingly.
4988 * startup.el (package--description-file): New function.
4989 (command-line): Use it.
4990 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4991 Use package-desc-version.
4992
0b31660d
SM
4993 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4994 (byte-compile-preprocess): Use it.
4995 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4996 can't quite recognize.
4997 (byte-compile-add-to-list): Remove.
4998 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4999 (cconv-closure-convert): Add assertion.
5000
5001 * emacs-lisp/map-ynp.el: Use lexical-binding.
5002 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5003 Factor out some repeated code.
5004
de0503df
SM
50052013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * subr.el (with-eval-after-load): New macro.
5008 (eval-after-load): Allow form to be a function.
5009 take advantage of lexical-binding.
5010 (do-after-load-evaluation): Use dolist and adjust to new format.
5011 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5012
bc5c8c5a
JL
50132013-06-13 Juri Linkov <juri@jurta.org>
5014
5015 * replace.el (perform-replace): Display "symbol " and other search
5016 modes from `isearch-message-prefix' in the *Help* buffer.
5017
5018 * isearch.el (isearch-query-replace): Add " symbol" and other
5019 possible search modes from `isearch-message-prefix' to the prompt.
5020 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5021 when reading a regexp to collect.
5022
a22289f7
JL
50232013-06-13 Juri Linkov <juri@jurta.org>
5024
5025 * isearch.el (word-search-regexp): Match whitespace if the search
5026 string begins or ends in whitespace. The LAX arg is applied to
5027 both ends of the search string. Use `regexp-quote' and explicit
5028 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5029 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5030 boundaries are replaced with symbol boundaries, and characters
5031 between symbols match non-word non-symbol syntax. (Bug#14602)
5032
cb89acab
JL
50332013-06-13 Juri Linkov <juri@jurta.org>
5034
5035 * isearch.el (isearch-del-char): Don't exceed the length of
5036 `isearch-string' by the prefix arg. (Bug#14563)
5037
6e8cfc81
JL
50382013-06-13 Juri Linkov <juri@jurta.org>
5039
5040 * isearch.el (isearch-yank-word, isearch-yank-line)
5041 (isearch-char-by-name, isearch-quote-char)
5042 (isearch-printing-char, isearch-process-search-char):
5043 Add optional count prefix arg. (Bug#14563)
5044
5045 * international/isearch-x.el
5046 (isearch-process-search-multibyte-characters):
5047 Add optional count prefix arg.
5048
c23d55f4
VS
50492013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5052 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5053 lexical-binding.
5054
50552013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5056
5057 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5058
ba947bc4
GM
50592013-06-13 Glenn Morris <rgm@gnu.org>
5060
8baeb37a
GM
5061 * startup.el (tty-handle-args):
5062 Don't just discard "--" and anything after. (Bug#14608)
5063
ba947bc4
GM
5064 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5065
9abefce4
MA
50662013-06-13 Michael Albinus <michael.albinus@gmx.de>
5067
5068 Implement changes in Secret Service API. Make it backward compatible.
5069 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5070 (secrets-create-item): Use it. Prefix properties with interface.
5071
5755011f
MH
50722013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5073
5074 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5075 (term-emulate-terminal): Respect term-suppress-hard-newline.
5076
1261d2da
S
50772013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5078
5079 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5080 Only remove a `thumb-file' overlay. (Bug#14548)
5081
868490bb
GJ
50822013-06-12 Grégoire Jadi <daimrod@gmail.com>
5083
5084 * mail/reporter.el (reporter-submit-bug-report):
5085 Handle missing package-name. (Bug#14600)
5086
79d7167f
TH
50872013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5088
5089 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5090 (reftex-citation-prompt, reftex-default-bibliography)
5091 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5092 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5093 (reftex-bib-sort-author, reftex-bib-sort-year)
5094 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5095 (reftex-extract-bib-entries-from-thebibliography)
5096 (reftex-get-bibkey-default, reftex-get-bib-names)
5097 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5098 (reftex-format-bib-entry, reftex-parse-bibitem)
5099 (reftex-format-bibitem, reftex-do-citation)
5100 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5101 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5102 (reftex-insert-bib-matches, reftex-format-citation)
5103 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5104 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5105 existing comments into docstrings.
5106
5f9dbd7a
XF
51072013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5108
5109 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5110
94df41ab
AS
51112013-06-12 Andreas Schwab <schwab@suse.de>
5112
5113 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5114 for auto-save files.
5115
a7f3fecc
GM
51162013-06-12 Glenn Morris <rgm@gnu.org>
5117
001809f6
GM
5118 * ido.el (ido-delete-ignored-files): Remove.
5119 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5120 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5121
834b5ded
EL
51222013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5123
08c73ed2
EL
5124 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5125
834b5ded
EL
5126 * ido.el (ido-delete-ignored-files): New function,
5127 split from ido-make-file-list-1.
5128 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5129 (ido-make-file-list-1): Use ido-delete-ignored-files.
5130
daabf15a
LL
51312013-06-12 Leo Liu <sdl.web@gmail.com>
5132
5133 * progmodes/octave.el (inferior-octave-startup)
5134 (inferior-octave-completion-table)
5135 (inferior-octave-track-window-width-change)
5136 (octave-eldoc-function-signatures, octave-help)
5137 (octave-find-definition): Use single quoted strings.
5138 (inferior-octave-startup-args): Change default value.
5139 (inferior-octave-startup): Do not hard code "-i" and
5140 "--no-line-editing".
5141 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5142 (inferior-octave-directory-tracker): Use it.
5143 (octave-goto-function-definition): Robustify.
5144 (octave-help): Support highlighting operators in 'See also'.
5145 (octave-find-definition): Find subfunctions only in Octave mode.
5146
cf4e5178
SM
51472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * help-fns.el (help-fns--compiler-macro): If the handler function is
5150 named, then put a link to it.
5151 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5152 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5153 (cl-typep): Use it.
5154 (cl-eval-when): Simplify debug spec.
5155 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5156 compiler-macro function instead of setting `compiler-macro-file'.
5157
99c81280 51582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5159
5160 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5161 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5162
f56be016
SM
51632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5164 Daniel Hackney <dan@haxney.org>
5165
5166 First part of Daniel Hackney's patch to package.el.
5167 * emacs-lisp/package.el: Use defstruct.
5168 (package-desc): New, main struct.
5169 (package--bi-desc, package--ac-desc): New structs, used to describe the
5170 format in external files.
5171 (package-desc-vers): Replace with package-desc-version accessor.
5172 (package-desc-doc): Replace with package-desc-summary accessor.
5173 (package-activate-1): Remove `package' arg since the pkg-vec now
5174 includes the name.
5175 (define-package): Use package-desc-from-define.
5176 (package-unpack-single): Change file-name arg to be a symbol.
5177 (package--add-to-archive-contents): Use package-desc-create and new
5178 accessor functions to package--ac-desc.
5179 (package-buffer-info, package-tar-file-info): Return a package-desc.
5180 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5181 arg to be a package-desc.
5182 (package-install-file): Adjust accordingly. Use \' to match EOS.
5183 (package--from-builtin): New function.
5184 (describe-package-1, package-menu--generate): Use it.
5185 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5186 (package-generate-autoloads): Idem and return the name of the file.
5187 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5188 Change pkg-info arg to be a package-desc.
5189 Use package-make-ac-desc.
5190 (package-upload-file): Use \' to match EOS.
5191 * finder.el (finder-compile-keywords): Use package-make-builtin.
5192
31119d63
SM
51932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5194
931a2762
SM
5195 * vc/vc.el (vc-deduce-fileset): Change error message.
5196 (vc-read-backend): New function.
5197 (vc-next-action): Use it.
5198
5a3eb0c6
SM
5199 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5200
e3eb1bb7
SM
5201 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5202 (prolog-font-lock-keywords): Use regexp-opt instead.
5203 Don't manually highlight strings.
5204 (prolog-mode-variables): Simplify comment-start-skip.
5205 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5206
31119d63
SM
5207 * emacs-lisp/generic.el (generic--normalise-comments)
5208 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5209 (generic-mode-set-comments): Use them.
5210 (generic-bracket-support): Use setq-local.
5211 (generic-make-keywords-list): Declare obsolete.
5212
7de135d0
GM
52132013-06-11 Glenn Morris <rgm@gnu.org>
5214
5215 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5216 Prettify after setting font-lock-defaults. (Bug#14574)
5217
fa6bc6fd
JB
52182013-06-11 Juanma Barranquero <lekktu@gmail.com>
5219
5220 * replace.el (query-replace, occur-read-regexp-defaults-function)
5221 (replace-search):
5222 * subr.el (declare-function, number-sequence, local-set-key)
5223 (substitute-key-definition, locate-user-emacs-file)
5224 (with-silent-modifications, split-string, eval-after-load):
5225 Fix typos, remove unneeded backslashes and reflow some docstrings.
5226
cf1f9b9a
SM
52272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5230 default for Elisp files.
5231
56602a4b
GM
52322013-06-11 Glenn Morris <rgm@gnu.org>
5233
5234 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5235 although define-derived-mode was doing this anyway. (Bug#14583)
5236
30ae0b2c
JB
52372013-06-10 Juanma Barranquero <lekktu@gmail.com>
5238
5239 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5240 Fix make-variable-buffer-local call to refer to the correct variable.
5241
fa472906
AG
52422013-06-10 Aidan Gauland <aidalgol@amuri.net>
5243
5244 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5245 (eshell-visual-subcommands, eshell-visual-options):
5246 Add summary line to docstrings. Add cross-references.
fa472906 5247
ff4871b9
GM
52482013-06-10 Glenn Morris <rgm@gnu.org>
5249
5250 * epa.el (epa-read-file-name): New function. (Bug#14510)
5251 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5252
04fcf1b0
AG
52532013-06-09 Aidan Gauland <aidalgol@amuri.net>
5254
5255 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5256 output redirection to be ignored with visual commands.
5257
88b00caa
AG
52582013-06-09 Aidan Gauland <aidalgol@amuri.net>
5259
5260 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5261 (eshell-term-initialize): Move long lambda to separate function
5262 eshell-visual-command-p.
e7b41c4c
JB
5263 * eshell/em-dirs.el (eshell-dirs-initialise):
5264 * eshell/em-script.el (eshell-script-initialize):
5265 Add missing #' to lambda.
88b00caa 5266
fda74125
LL
52672013-06-08 Leo Liu <sdl.web@gmail.com>
5268
5269 * progmodes/octave.el (octave-add-log-current-defun): New function.
5270 (octave-mode): Set add-log-current-defun-function.
5271 (octave-goto-function-definition): Do not move point if not found.
5272 (octave-find-definition): Enhance to try subfunctions first.
5273
467f3b33
GM
52742013-06-08 Glenn Morris <rgm@gnu.org>
5275
5276 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5277 (byte-compile-backward-char, byte-compile-backward-word):
5278 Improve previous change, to handle non-explicit nil.
5279
544badc3
SM
52802013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5283 (smie--opener/closer-at-point): New function.
5284 (smie--matching-block-data): Use it. Don't match from right after an
5285 opener or right before a closer. Obey smie-blink-matching-inners.
5286 Don't signal a mismatch for repeated inners like "switch..case..case".
5287
a175bf33
LL
52882013-06-07 Leo Liu <sdl.web@gmail.com>
5289
5290 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5291 to t. (Bug#14303)
ce8209d4
LL
5292 (octave-function-header-regexp): Fix. (Bug#14570)
5293 (octave-help-mode-finish-hook, octave-help-mode-finish):
5294 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5295
5296 * newcomment.el (comment-search-backward): Revert last change.
5297 (Bug#14434)
5298
5299 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5300
a822acff
EZ
53012013-06-07 Eli Zaretskii <eliz@gnu.org>
5302
5303 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5304 through xargs, to avoid failure due to MS-Windows limitations on
5305 command-line length.
5306
961166f5
GM
53072013-06-06 Glenn Morris <rgm@gnu.org>
5308
d0341459
GM
5309 * font-lock.el (lisp-font-lock-keywords-2):
5310 Treat user-error like error.
5311
961166f5
GM
5312 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5313 (byte-compile-backward-char, byte-compile-backward-word):
5314 Handle explicit nil arguments. (Bug#14565)
5315
80fa505f
AM
53162013-06-05 Alan Mackenzie <acm@muc.de>
5317
5318 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5319 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5320 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5321 (Bug#9706)
80fa505f 5322
fccdc796
SM
53232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * autorevert.el (auto-revert-notify-handler): Use memq.
5326 Hide assertion failure.
5327
5328 * skeleton.el: Use cl-lib.
5329 (skeleton-further-elements): Use defvar-local.
5330 (skeleton-insert): Use cl-progv.
5331
9bfff84b
TZ
53322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5333
5334 * progmodes/prog-mode.el (prog-prettify-symbols)
5335 (prog-prettify-install): Update docstrings.
5336
55577e7c
SM
53372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * simple.el: Move all the prog-mode code to prog-mode.el.
5340 * progmodes/prog-mode.el: New file.
5341 * loadup.el: Add prog-mode.el.
5342
8fc57765
TZ
53432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5344
5345 * simple.el (prog-prettify-symbols): Add version.
5346 (prog-prettify-install): Add convenience function to prettify symbols.
5347
5348 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5349 (perl--augmented-font-lock-keywords-1)
5350 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5351 variables and use it.
5352
5353 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5354 (cfengine3-mode): Remove unneeded variable and use it.
5355
5356 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5357 (lisp--augmented-font-lock-keywords-1)
5358 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5359 Remove unneeded variables and use it.
5360
650645d5 53612013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5362
5363 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5364 to point when opening the connection. (Bug#14380)
28f5da6d 5365
781b4af6
SM
53662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * subr.el (load-history-regexp, load-history-filename-element)
5369 (eval-after-load, after-load-functions, do-after-load-evaluation)
5370 (eval-next-after-load, display-delayed-warnings)
5371 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5372 definition of save-match-data.
5373 (overriding-local-map): Remove accidental obsolescence declaration.
5374
5375 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5376
3ca0d0b4
TZ
53772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5378
5379 Generalize symbol prettify support to prog-mode and implement it
5380 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5381 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5382 (prog--prettify-font-lock-compose-symbol)
5383 (prog-prettify-font-lock-symbols-keywords): New variables and
5384 functions to support symbol prettification.
5385 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5386 (lisp--augmented-font-lock-keywords-1)
5387 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5388 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5389 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5390 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5391 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5392 * progmodes/perl-mode.el (perl-prettify-symbols)
5393 (perl--font-lock-compose-symbol)
5394 (perl--font-lock-symbols-keywords): Move to prog-mode.
5395 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5396 (perl-font-lock-keywords-1)
5397 (perl-font-lock-keywords-2): Remove explicit prettify support.
5398 (perl--augmented-font-lock-keywords)
5399 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5400 (perl--augmented-font-lock-keywords-2, perl-mode):
5401 Implement prettify support.
3ca0d0b4 5402
976cb066
LL
54032013-06-05 Leo Liu <sdl.web@gmail.com>
5404
5405 Re-implement smie matching block highlight using
5406 show-paren-data-function. (Bug#14395)
5407 * emacs-lisp/smie.el (smie-matching-block-highlight)
5408 (smie--highlight-matching-block-overlay)
5409 (smie--highlight-matching-block-lastpos)
5410 (smie-highlight-matching-block)
5411 (smie-highlight-matching-block-mode): Remove.
5412 (smie--matching-block-data-cache): New variable.
5413 (smie--matching-block-data): New function.
5414 (smie-setup): Use smie--matching-block-data for
5415 show-paren-data-function.
5416
5417 * progmodes/octave.el (octave-mode-menu): Fix.
5418 (octave-find-definition): Skip garbage lines.
5419
208d0342
SM
54202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 Fix compilation error with simultaneous dynamic+lexical scoping.
5423 Add warning when a defvar appears after the first let-binding.
5424 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5425 (byte-compile-close-variables): Initialize it.
5426 (byte-compile--declare-var): New function.
5427 (byte-compile-file-form-defvar)
5428 (byte-compile-file-form-define-abbrev-table)
5429 (byte-compile-file-form-custom-declare-variable): Use it.
5430 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5431 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5432 (byte-compile-bind): Handle dynamic bindings that shadow
5433 lexical bindings.
5434 (byte-compile-unbind): Make arg non-optional.
5435 (byte-compile-let): Simplify.
5436 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5437 (cconv--analyse-function, cconv-analyse-form): Populate it.
5438 Protect byte-compile-bound-variables to limit the scope of defvars.
5439 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5440 Remove unneeded rule for `declare'.
5441
5442 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5443 so as to avoid depending on cl-adjoin at run-time.
5444 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5445
5446 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5447 (macroexp--warn-and-return): Use it.
5448
2587b005
LL
54492013-06-05 Leo Liu <sdl.web@gmail.com>
5450
5451 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5452
f1da3c88
LL
54532013-06-04 Leo Liu <sdl.web@gmail.com>
5454
5455 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5456 (compilation-auto-jump): Suppress the "Mark set" message to give
5457 way to exit message.
5458
3caa391f
AM
54592013-06-04 Alan Mackenzie <acm@muc.de>
5460
5461 Remove faulty optimisation from indentation calculation.
5462 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5463 search limit based on 2000 characters back from indent-point.
5464
068922a2
TH
54652013-06-03 Tassilo Horn <tsdh@gnu.org>
5466
5467 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5468
1f8fdd53
SM
54692013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5470
bbcc4d97
SM
5471 * emacs-lisp/lisp.el: Use lexical-binding.
5472 (lisp--local-variables-1, lisp--local-variables): New functions.
5473 (lisp--local-variables-completion-table): New var.
208d0342 5474 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5475
1f8fdd53
SM
5476 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5477 eagerly (bug#14422).
5478
c9628c79
MA
54792013-06-03 Michael Albinus <michael.albinus@gmx.de>
5480
5481 * autorevert.el (auto-revert-notify-enabled)
5482 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5483 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5484 (auto-revert-notify-handler): Handle also gfilenotify.
5485
e7b41c4c 5486 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5487 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5488 Remove.
c9628c79 5489
e5e4a942
JL
54902013-06-03 Juri Linkov <juri@jurta.org>
5491
5492 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5493 `M-s h .'. (Bug#14427)
5494
5495 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5496 command `hi-lock-face-symbol-at-point'.
5497 (hi-lock-face-symbol-at-point): New command.
5498 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5499 (hi-lock-menu): Add `highlight-symbol-at-point'.
5500 (hi-lock-mode): Doc fix.
5501
5502 * isearch.el (isearch-forward-symbol-at-point): New command.
5503 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5504 (isearch-highlight-regexp): Add a regexp which matches
5505 words/symbols for word/symbol mode.
5506
5507 * subr.el (find-tag-default-bounds): New function with the body
5508 mostly moved from `find-tag-default'.
5509 (find-tag-default): Move most code to `find-tag-default-bounds',
5510 call it and apply `buffer-substring-no-properties' afterwards.
5511
26b3353a
TH
55122013-06-03 Tassilo Horn <tsdh@gnu.org>
5513
781b4af6
SM
5514 * eshell/em-term.el (eshell-term-initialize):
5515 Use `cl-intersection' rather than `intersection'.
26b3353a 5516
51b60f53
XF
55172013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5518
fe054b63 5519 * vc/log-view.el: Doc fix.
d3ffe17c 5520 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5521
a0eb10b3 55222013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5523
5524 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5525 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5526 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5527 (eieio-unbound, eieio-default-superclass)
5528 (eieio--define-field-accessors, method-static, method-before)
5529 (method-primary, method-after, method-num-lists)
5530 (method-generic-before, method-generic-primary)
5531 (method-generic-after, method-num-slots)
5532 (eieio-specialized-key-to-generic-key)
5533 (eieio--check-type, class-v, class-p)
5534 (eieio-class-name, define-obsolete-function-alias)
5535 (eieio-class-parents-fast, eieio-class-children-fast)
5536 (same-class-fast-p, class-constructor, generic-p)
5537 (generic-primary-only-p, generic-primary-only-one-p)
5538 (class-option-assoc, class-option, eieio-object-p)
5539 (class-abstract-p, class-method-invocation-order)
5540 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5541 (eieio-class-un-autoload, eieio-defclass)
5542 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5543 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5544 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5545 (eieio-defgeneric-reset-generic-form)
5546 (eieio-defgeneric-form-primary-only)
5547 (eieio-defgeneric-reset-generic-form-primary-only)
5548 (eieio-defgeneric-form-primary-only-one)
5549 (eieio-defgeneric-reset-generic-form-primary-only-one)
5550 (eieio-unbind-method-implementations)
5551 (eieio--defmethod, eieio--typep)
5552 (eieio-perform-slot-validation, eieio-validate-slot-value)
5553 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5554 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5555 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5556 (eieio-slot-name-index, eieio-class-slot-name-index)
5557 (eieio-set-defaults, eieio-initarg-to-attribute)
5558 (eieio-attribute-to-initarg, eieio-c3-candidate)
5559 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5560 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5561 (eieio-class-precedence-list, eieio-generic-call-methodname)
5562 (eieio-generic-call-arglst, eieio-generic-call-key)
5563 (eieio-generic-call-next-method-list)
5564 (eieio-pre-method-execution-functions, eieio-generic-call)
5565 (eieio-generic-call-primary-only, eieiomt-method-list)
5566 (eieiomt-optimizing-obarray, eieiomt-install)
5567 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5568 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5569 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5570 (defclass): Remove `eval-and-compile' from macro.
5571 (call-next-method, shared-initialize): Instead of using
5572 `scoped-class' variable, use new eieio--scoped-class, and
5573 eieio--with-scoped-class.
5574 (initialize-instance): Rename local variable 'scoped-class' to
5575 'this-class' to remove ambiguitity from old global.
5576
5577 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5578 eieio.el.
4f405069
JB
5579 (eieio--scoped-class-stack): New variable.
5580 (eieio--scoped-class): New fcn.
890f7890
DE
5581 (eieio--with-scoped-class): New scoping macro.
5582 (eieio-defclass): Use pushnew instead of add-to-list.
5583 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5584 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5585 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5586 `scoped-class' variable, use new eieio--scoped-class, and
5587 eieio--with-scoped-class.
5588
5589 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5590
d105b0e2
TH
55912013-06-02 Tassilo Horn <tsdh@gnu.org>
5592
5593 * eshell/esh-ext.el (eshell-external-command): Pass args to
5594 `eshell-find-interpreter'.
5595 (eshell-find-interpreter): Add new second parameter ARGS.
5596
5597 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5598 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5599
5600 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5601 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5602
5603 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5604 (eshell-visual-options): New defcustom.
5605 (eshell-escape-control-x): Adapt docstring.
5606 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5607 `eshell-visual-options' in addition to `eshell-visual-commands'.
5608 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5609
f46305c8 56102013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5611
5612 * progmodes/python.el (python-indent-block-enders): Add break,
5613 continue and raise keywords.
5614
d870df21
GM
56152013-06-01 Glenn Morris <rgm@gnu.org>
5616
9133b82e
GM
5617 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5618
02c992ec 5619 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5620 * progmodes/cc-cmds.el (delete-forward-p):
5621 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5622 * progmodes/cc-engine.el (buffer-syntactic-context):
5623 * progmodes/cc-fonts.el (face-property-instance):
5624 * progmodes/cc-mode.el (set-keymap-parents):
5625 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5626 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5627 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5628 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5629 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5630
31e7b090
GM
5631 * progmodes/cc-vars.el (other): Emacs has this widget since
5632 at least 21.1, so don't (re)define it.
5633
d870df21
GM
5634 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5635 Replace the obsolete alias pcomplete-arg-quote-list.
5636
c75c93c7
LL
56372013-06-01 Leo Liu <sdl.web@gmail.com>
5638
5639 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5640 punctuation syntax.
5641 (inferior-octave-minimal-columns)
5642 (inferior-octave-last-column-width): New variables.
5643 (inferior-octave-track-window-width-change): New function.
5644 (inferior-octave-mode): Adjust column width so that Octave output,
5645 for example from 'ls', can fit into the window nicely.
5646
973d1e12
DG
56472013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5648
5649 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5650 Highlight expansions inside regexp literals.
5651
0888c286
GM
56522013-05-31 Glenn Morris <rgm@gnu.org>
5653
e26aac1f
GM
5654 * obsolete/sym-comp.el (symbol-complete):
5655 Replace obsolete completion-annotate-function.
5656
0888c286
GM
5657 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5658
19bb8e62
DG
56592013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5660
781b4af6
SM
5661 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5662 New function, checks if point is inside a literal that allows
19bb8e62
DG
5663 expression expansion.
5664 (ruby-syntax-propertize-expansion): Use it.
5665 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5666 around the body.
5667
01dea85f
JL
56682013-05-30 Juri Linkov <juri@jurta.org>
5669
5670 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5671 to "\M-si".
5672 (isearch-invisible): New variable.
5673 (isearch-forward): Doc fix.
5674 (isearch-mode): Set `isearch-invisible'
5675 to the value of `search-invisible'.
5676 (isearch-toggle-case-fold): Doc fix.
5677 (isearch-toggle-invisible): New command.
5678 (isearch-query-replace): Let-bind `search-invisible'
5679 to the value of `isearch-invisible'.
5680 (isearch-search): Use `isearch-invisible' instead of
5681 `search-invisible'. Let-bind `search-invisible'
5682 to the value of `isearch-invisible'. (Bug#11378)
5683
ab1bdce5
JL
56842013-05-30 Juri Linkov <juri@jurta.org>
5685
5686 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5687 call when `query-flag' is nil and `search-invisible' is non-nil.
5688 (Bug#11746)
5689
d6d236e2
GM
56902013-05-30 Glenn Morris <rgm@gnu.org>
5691
8accd027
GM
5692 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5693
2a8bed1c
GM
5694 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5695 (cc-require): Suppress spurious "noruntime" warnings.
5696 (cc-require-when-compile): Use fboundp, for sake of compiler.
5697
d6d236e2
GM
5698 * progmodes/cc-mode.el: Move load of cc-vars before that of
5699 cc-langs (which in turn loads cc-vars), to quieten compiler.
5700
9190b35b
SM
57012013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * paren.el: Simplify the code.
5704 (show-paren-mode): Always start the timer.
5705 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5706 (show-paren--overlay, show-paren--overlay-1): Rename from
5707 show-paren-overlay and show-paren-overlay-1, and initialize to an
5708 overlay rather than to nil.
5709 (show-paren-function): Misc cleanup and simplifications.
5710
4f8d1cf6
SM
57112013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5712
5713 * paren.el (show-paren-data-function): New hook.
5714 (show-paren--default): New function, extracted from show-paren-function.
5715 (show-paren-function): Use show-paren-data-function.
5716
02d844b5
GM
57172013-05-30 Glenn Morris <rgm@gnu.org>
5718
d209d4a9
GM
5719 * ielm.el (ielm-map, ielm-complete-symbol):
5720 Use completion-at-point rather than obsolete functions.
5721 (inferior-emacs-lisp-mode): Doc fix.
5722 Set completion-at-point-functions, rather than
5723 comint-dynamic-complete-functions.
5724
2082faa6
GM
5725 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5726 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5727 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5728
dd8620de
GM
5729 * image.el (image-animated-p): Tweak definition.
5730
ceca95b1
GM
5731 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5732 (rlogin-process-connection-type): Tweak default. Add set-after.
5733 (rlogin-host): Doc fix.
5734 (rlogin): Tweak prompt.
5735 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5736
ee9f1acc
GM
5737 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5738 * progmodes/tcl.el (inferior-tcl-mode-map):
5739 Use completion-at-point rather than obsolete alias.
5740
45ce222e
GM
5741 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5742
02d844b5
GM
5743 * minibuffer.el (read-file-name-completion-ignore-case):
5744 Move before completion--in-region, for eager macro expansion.
5745
ac44d6c1
JL
57462013-05-29 Juri Linkov <juri@jurta.org>
5747
5748 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5749 for total count of matching lines. Add `global-matches' for total
5750 count of matches. Rename `matches' to `lines' for count of
5751 matching lines. Add `matches' for count of matches.
5752 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5753 to `prev-line' for line number of prev match endpt.
5754 Increment `matches' for every match. Print the number of
5755 matching lines in the header.
5756 (occur-context-lines): Rename `lines' to `curr-line'.
5757 Rename `prev-lines' to `prev-line'. (Bug#14017)
5758
3c9c9d38
JL
57592013-05-29 Juri Linkov <juri@jurta.org>
5760
5761 * replace.el (perform-replace): Add `skip-read-only-count',
5762 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5763 Increment them for corresponding conditions and report the number
5764 of skipped occurrences in the final message. (Bug#11746)
5765 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5766 (replace-string, replace-regexp): Doc fix.
5767
33e249a2
SM
57682013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5769
8e399682
SM
5770 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5771
33e249a2 5772 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5773 prog-mode-map (bug#14504).
33e249a2 5774
f236dd84
LL
57752013-05-29 Leo Liu <sdl.web@gmail.com>
5776
5777 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5778 (octave-help): Small simplification.
5779
5780 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5781 off the highlight first.
5782
3694d13f
GM
57832013-05-29 Glenn Morris <rgm@gnu.org>
5784
03983bdc
GM
5785 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5786 Handle idlwave-last-system-routine-info-cons-cell being nil.
5787
bc74a74a
GM
5788 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5789 (idlwave-write-paths): Simplify via with-temp-buffer.
5790
8b394200
GM
5791 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5792 * emulation/cua-rect.el: Also load cua-base at run time.
5793
3694d13f
GM
5794 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5795 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5796 (cperl-imenu-on-info): Require imenu.
5797
336d7284
AM
57982013-05-28 Alan Mackenzie <acm@muc.de>
5799
5800 Handle "capitalised keywords" correctly.
33e249a2 5801 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5802
cb29c582
AG
58032013-05-28 Aidan Gauland <aidalgol@amuri.net>
5804
781b4af6 5805 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5806
690e44b2
GM
58072013-05-28 Glenn Morris <rgm@gnu.org>
5808
e658d75c
GM
5809 * vc/vc-arch.el (vc-exec-after): Declare.
5810 (vc-switches): Autoload.
5811 * vc/vc-bzr.el: No need to require vc when compiling.
5812 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5813 (vc-resynch-buffer, vc-dir-refresh): Declare.
5814 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5815 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5816 (vc-resynch-buffer): Declare.
5817 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5818 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5819 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5820 (grep-read-regexp, grep-read-files, grep-expand-template)
5821 (vc-dir-refresh): Declare.
5822 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5823 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5824 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5825 * vc/vc-mtn.el (vc-exec-after): Declare.
5826 (vc-switches): Autoload.
5827 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5828 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5829 (vc-file-tree-walk): Declare.
712b9732
GM
5830 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5831 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5832 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5833 * vc/vc-svn.el (vc-exec-after): Declare.
5834 (vc-switches, vc-setup-buffer): Autoload.
5835 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5836 Autoload.
5837 (vc-resynch-buffer): Declare.
5838
98e87fb3
GM
5839 * obsolete/fast-lock.el (byte-compile-warnings):
5840 Don't warn about obsolete features in this obsolete file.
5841
f5379553
GM
5842 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5843 Move definition before use.
5844
7a20ef83
GM
5845 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5846 (dun-unix-verbs): Remove dun-zippy.
5847 (dun-zippy): Remove function.
5848
690e44b2
GM
5849 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5850
3a52ccf7
JL
58512013-05-27 Juri Linkov <juri@jurta.org>
5852
5853 * replace.el (replace-search): New function with code moved out
5854 from `perform-replace'.
5855 (replace-highlight, replace-dehighlight): Move function definitions
5856 up closer to `replace-search'. (Bug#11746)
5857
d289938a
JL
58582013-05-27 Juri Linkov <juri@jurta.org>
5859
5860 * replace.el (perform-replace): Ignore invisible matches.
5861 In addition to checking `query-replace-skip-read-only', also
5862 filter out matches by calling `run-hook-with-args-until-failure'
5863 on `isearch-filter-predicates', and also check `search-invisible'
5864 for t or call `isearch-range-invisible'.
5865 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5866
66fc57e3
JL
58672013-05-27 Juri Linkov <juri@jurta.org>
5868
5869 * isearch.el (isearch-filter-predicates): Rename from
5870 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5871 (isearch-message-prefix): Display text from the property
5872 `isearch-message-prefix' of the currently active filters.
5873 (isearch-search): Don't compare `isearch-filter-predicate' with
5874 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5875 on `isearch-filter-predicates'. Also check `search-invisible' for t
5876 or call `isearch-range-invisible'.
5877 (isearch-filter-visible): Make obsolete.
5878 (isearch-lazy-highlight-search):
5879 Call `run-hook-with-args-until-failure' on
5880 `isearch-filter-predicates' and use `isearch-range-invisible'.
5881
5882 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5883 `isearch-filter-predicates' instead of `funcall'ing
5884 `isearch-filter-predicate'.
5885 (Info-mode): Set `Info-isearch-filter' to
5886 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5887
5888 * dired-aux.el (dired-isearch-filter-predicate-orig):
5889 Remove variable.
5890 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5891 (dired-isearch-filenames-end): Add and remove
5892 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5893 instead of changing the value of `isearch-filter-predicate'.
5894 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5895 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5896 Put property `isearch-message-prefix' to "filename " on
5897 `dired-isearch-filter-filenames'.
5898
5899 * wdired.el (wdired-change-to-wdired-mode):
5900 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5901 locally instead of changing `isearch-filter-predicate'.
5902 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5903
f1a60a0f
DG
59042013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5905
5906 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5907 return the commit hash (Bug#14459). Also set the
5908 `vc-git-detached' property.
5909 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5910 (vc-git-mode-line-string): Use the same help-echo format whether
5911 in detached mode or not, because we know the actual revision now.
5912 When in detached mode, shorten the revision to 7 chars.
5913
7f17cc40
SM
59142013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * emacs-lisp/easy-mmode.el (define-minor-mode):
5917 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5918 mode hook and provide a docstring.
5919
25c8401c
AM
59202013-05-27 Alan Mackenzie <acm@muc.de>
5921
5922 Remove spurious syntax-table text properties inserted by C-y.
5923 * progmodes/cc-mode.el (c-after-change): Also clear hard
5924 syntax-table property with value nil.
5925
dde84790
MA
59262013-05-27 Michael Albinus <michael.albinus@gmx.de>
5927
5928 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5929 when reading the events; the buffer layout shall not be changed.
5930
837fd9af
LL
59312013-05-27 Leo Liu <sdl.web@gmail.com>
5932
5933 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5934 New variable.
5935 (inferior-octave-directory-tracker): Automatically re-sync
5936 default-directory.
5937 (octave-help): Improve handling of 'See also'.
5938
4fd996b3
SM
59392013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5940
416f1802
SM
5941 * doc-view.el: Minor naming convention tweaks.
5942 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5943
4fd996b3
SM
5944 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5945 even if there's no `display' property yet (bug#14435).
5946
a052ef3b
EZ
59472013-05-25 Eli Zaretskii <eliz@gnu.org>
5948
4fd996b3 5949 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5950
5951 * Makefile.in (custom-deps, finder-data, autoloads)
5952 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5953 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5954 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5955
c9023370
SM
59562013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5957
5958 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5959 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5960 Don't burp at EOB.
c9023370 5961
24d699fa
LL
59622013-05-25 Leo Liu <sdl.web@gmail.com>
5963
5964 * comint.el (comint-previous-matching-input): Do not flood the
5965 *Messages* buffer with trivial messages.
5966
17e5c0cc
SM
59672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * progmodes/flymake.el (flymake-nop): Don't return a string.
5970 (flymake-set-at): Fix typo.
5971
5972 * simple.el (read--expression): New function, extracted from
5973 eval-expression. Set completion-at-point-functions (bug#14465).
5974 (eval-expression, eval-minibuffer): Use it.
5975
5d028165
XF
59762013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5977
5978 * progmodes/flymake.el (flymake-save-buffer-in-file)
5979 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5980 (flymake-selected-frame, flymake-log, flymake-ins-after)
5981 (flymake-set-at, flymake-get-buildfile-from-cache)
5982 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5983 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5984 Refine the doc string.
5985 (flymake-get-file-name-mode-and-masks): Reformat.
5986 (flymake-get-real-file-name-function): Fix a minor bug.
5987
7a1d7ba7
JL
59882013-05-24 Juri Linkov <juri@jurta.org>
5989
5990 * progmodes/grep.el (grep-mode-font-lock-keywords):
5991 Support =linenumber= format used by git-grep for lines with
5992 function names. (Bug#13549)
5993
650cff3d
SM
59942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5995
5996 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5997 0 after a semi-colon; it works better for smie-auto-fill.
5998 (octave--indent-new-comment-line): New function.
5999 (octave-indent-new-comment-line): Use it (indirectly).
6000 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6001 modify comment-line-break-function.
6002
6003 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6004 (smie-setup): Use add-function to set it.
6005
9631677d
SS
60062013-05-24 Sam Steingold <sds@gnu.org>
6007
6008 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6009 argument (before the `interactive' argument).
6010
50105835
SM
60112013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * image-mode.el (image-mode-winprops): Add winprops to
6014 image-mode-winprops-alist before running
6015 image-mode-new-window-functions.
6016 * doc-view.el (doc-view-new-window-function): Don't delay
6017 doc-view-goto-page via timers (bug#14435).
6018
57b9823e
TH
60192013-05-24 Tassilo Horn <tsdh@gnu.org>
6020
6021 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6022 (doc-view-desktop-save-buffer): New function.
6023 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6024 (desktop-buffer-mode-handlers):
6025 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6026 handler.
6027 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6028 `desktop-save-buffer' function.
6029
91aafa16
MA
60302013-05-24 Michael Albinus <michael.albinus@gmx.de>
6031
6032 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6033 (tramp-gvfs-file-name-handler): Raise a user error when
6034 `tramp-gvfs-enabled' is nil.
6035 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6036 Do not raise a user error when loading package. (Bug#14447)
6037
ec076379
MA
6038 * net/xesam.el: Move to obsolete/.
6039
db785726
GM
60402013-05-24 Glenn Morris <rgm@gnu.org>
6041
af5c7606
GM
6042 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6043
e5d1916a
GM
6044 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6045
ded62b08
GM
6046 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6047 (Info-find-node, Man-getpage-in-background): Declare.
6048
9e614a3f
GM
6049 * mail/unrmail.el (unrmail):
6050 Replace obsolete detect-coding-with-priority.
6051
892f8ca3
GM
6052 * net/socks.el (socks-split-string): Use this rather than split-string.
6053 (socks-nslookup-host): Update for above change.
6054 (dynamic-choice, s5-dynamic-choice-match)
6055 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6056 Comment out unused code.
6057
3c291973
GM
6058 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6059 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6060 (gud-tooltip-echo-area): Make obsolete.
6061 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6062
43cc956b
GM
6063 * progmodes/js.el (js--optimize-arglist): Declare.
6064
dab49a3b
GM
6065 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6066
36b9d085
GM
6067 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6068 (ediff-window-C): Declare.
6069
e354ae76
GM
6070 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6071 Tweak requires to silence compiler.
6072
b8e57bf4
GM
6073 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6074 (he-search-string, he-tried-table, he-expand-list)
6075 (he-init-string, he-string-member, he-substitute-string)
6076 (he-reset-string): Declare.
6077
db785726
GM
6078 * obsolete/options.el (list-options): Use custom-variable-p,
6079 rather than obsolete alias.
6080
b3531901
SS
60812013-05-23 Sam Steingold <sds@gnu.org>
6082
6083 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6084 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6085 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6086
bdda4c66
SM
60872013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/smie.el (smie-indent-forward-token)
6090 (smie-indent-backward-token): Handle string tokens (bug#14381).
6091
c43d45f9
TH
60922013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6093
fe1eb856
RS
6094 * ielm.el (ielm-menu): New menu.
6095 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6096
fe1eb856
RS
60972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6098
6099 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6100 Fix deactivate action.
6101
6102 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6103 Add cleveref macros.
074dd971 6104
c43d45f9
TH
6105 * lisp/textmodes/reftex-parse.el
6106 (reftex-locate-bibliography-files): Accept options for
6107 bibliography commands.
6108 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6109 Add addbibresource. Basic Biblatex support.
6110
7764286e
MA
61112013-05-23 Michael Albinus <michael.albinus@gmx.de>
6112
6113 * net/tramp-gvfs.el (top):
6114 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6115 when loading package. (Bug#14447)
6116
d361bc10
GM
61172013-05-23 Glenn Morris <rgm@gnu.org>
6118
8fa23984
GM
6119 * progmodes/js.el: No need to load comint when compiling.
6120 (ring-insert, comint-send-string, comint-send-input)
6121 (comint-last-input-end, ido-chop): Declare.
6122
a5c7df1a
GM
6123 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6124 * vc/ediff-mult.el: Adjust requires.
6125 (ediff-directories-internal, ediff-directory-revisions-internal)
6126 (ediff-patch-file-internal): Declare.
6127 * vc/ediff-ptch.el: Adjust requires.
6128 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6129 (ediff-find-file): Autoload.
6130 * vc/ediff-util.el: No need to load ediff when compiling.
6131 (ediff-regions-internal): Declare.
6132 * vc/ediff-wind.el: Adjust requires.
6133 (ediff-compute-toolbar-width): Define when compiling.
6134 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6135 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6136 (dired-get-filename, dired-get-marked-files)
6137 (ediff-last-dir-patch, ediff-patch-default-directory)
6138 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6139 (ediff-patch-buffer-internal): Declare.
6140
e2aec513
GM
6141 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6142 (ispell-process, ispell-buffer-local-words, lm-summary)
6143 (lm-section-start, lm-section-end): Declare.
6144 (checkdoc-ispell-init): Simplify.
6145
e68bbd7c
GM
6146 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6147 (he-string-member, he-reset-string, he-substitute-string): Declare.
6148
7efe0991
GM
6149 * eshell/em-ls.el: Adjust requires.
6150 (eshell-glob-regexp): Declare.
f87b1284
GM
6151 * eshell/em-tramp.el: Adjust requires.
6152 (eshell-parse-command): Autoload.
6153 * eshell/em-xtra.el: Adjust requires.
6154 (eshell-parse-command): Autoload.
6155 * eshell/esh-ext.el: Adjust requires.
6156 (eshell-parse-command, eshell-close-handles): Autoload.
6157 * eshell/esh-io.el: Adjust requires.
6158 (eshell-output-filter): Autoload.
6159 * eshell/esh-util.el: No need to load tramp when compiling.
6160 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6161 Declare.
6162 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6163 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6164 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6165 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6166 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6167 * eshell/esh-opt.el, eshell/esh-proc.el:
6168 * eshell/esh-var.el: Adjust requires.
6169 * eshell/eshell.el: Do not require esh-util twice.
6170 (eshell-add-input-to-history): Declare.
6171 (eshell-command): Check history module is active before using it.
6172
d361bc10
GM
6173 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6174
85d090a9
LL
61752013-05-22 Leo Liu <sdl.web@gmail.com>
6176
6177 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6178
5d0acd9d
MA
61792013-05-22 Michael Albinus <michael.albinus@gmx.de>
6180
6181 * autorevert.el (auto-revert-notify-add-watch)
6182 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6183 it indicates changes in file modification time.
6184
0cdffd7d
GM
61852013-05-22 Glenn Morris <rgm@gnu.org>
6186
ca5995ec
GM
6187 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6188 Always delete the autoloaded function from the noruntime and
6189 unresolved functions lists.
6190
6450907e
GM
6191 * allout.el: No need to load epa, epg, overlay when compiling.
6192 (epg-context-set-passphrase-callback, epg-list-keys)
6193 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6194 (epg-key-user-id-list): Declare.
6195
9c6906f6
GM
6196 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6197 (viper-set-parsing-style-toggling-macro)
6198 (viper-set-emacs-state-searchstyle-macros):
6199 Use called-interactively-p on Emacs.
6200 (viper-looking-back): Make it an obsolete alias. Update callers.
6201 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6202 Use looking-back rather than viper-looking-back.
6203 (viper-tmp-insert-at-eob, viper-enlarge-region)
6204 (viper-read-string-with-history, viper-register-to-point)
6205 (viper-append-to-register, viper-change-state-to-vi)
6206 (viper-backward-char-carefully, viper-forward-char-carefully)
6207 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6208 (viper-change-state-to-emacs): Declare.
6209 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6210 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6211 * emulation/viper-mous.el: Do not load viper-cmd.
6212 (viper-backward-char-carefully, viper-forward-char-carefully)
6213 (viper-forward-word, viper-adjust-window): Declare.
6214
5f70c169
GM
6215 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6216
b1b7f300
GM
6217 * progmodes/idlw-help.el (idlwave-help-fontify):
6218 Use called-interactively-p.
6219
f6ebbb46
GM
6220 * term/w32console.el (w32-get-console-codepage)
6221 (w32-get-console-output-codepage): Declare.
6222
0cdffd7d
GM
6223 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6224 Remove unnecessary declarations.
6225 (dframe-message): Doc fix.
6226
6227 * info.el (dframe-select-attached-frame, dframe-current-frame):
6228 Declare.
6229
6230 * speedbar.el (speedbar-message): Make it an obsolete alias.
6231 Update all callers.
6232 (speedbar-with-attached-buffer)
6233 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6234 (speedbar-with-writable): Use backquote.
6235 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6236 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6237 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6238 rather than speedbar- aliases.
6239 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6240 (speedbar-make-specialized-keymap, speedbar-insert-button)
6241 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6242 (speedbar-do-function-pointer): Declare.
6243 (rmail-speedbar-button, rmail-speedbar-find-file)
6244 (rmail-speedbar-move-message):
6245 Use dframe-with-attached-buffer rather than speedbar- alias.
6246 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6247 (dframe-message, speedbar-make-specialized-keymap)
6248 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6249 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6250 (speedbar-insert-button, dframe-select-attached-frame)
6251 (dframe-maybee-jump-to-attached-frame)
6252 (speedbar-change-initial-expansion-list)
6253 (speedbar-previously-used-expansion-list-name): Declare.
6254 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6255 Use dframe-message, dframe-with-attached-buffer rather than
6256 speedbar- aliases.
6257 (gud-sentinel): Silence compiler.
6258 * progmodes/vhdl-mode.el (speedbar-refresh)
6259 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6260 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6261 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6262 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6263 (speedbar-file-lists, speedbar-make-tag-line)
6264 (speedbar-line-directory, speedbar-goto-this-file)
6265 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6266 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6267 (speedbar-make-button, speedbar-reset-scanners)
6268 (speedbar-files-item-info, speedbar-line-text)
6269 (speedbar-find-file-in-frame, speedbar-set-timer)
6270 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6271 (speedbar-with-writable): Do not (re)define it.
6272 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6273 rather than speedbar- alias.
6274
ee44b62a
LL
62752013-05-21 Leo Liu <sdl.web@gmail.com>
6276
6277 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6278 menu items.
6279 (octave-mode): Tweak fill-nobreak-predicate.
6280 (inferior-octave-startup): Check process to avoid infinite loop.
6281 (inferior-octave): Pop to buffer first to show abornmal process
6282 exit information.
6283
640f050f
GM
62842013-05-21 Glenn Morris <rgm@gnu.org>
6285
79458038
GM
6286 * printing.el (pr-menu-bar): Define when compiling.
6287
9cc3e83f
LL
62882013-05-21 Leo Liu <sdl.web@gmail.com>
6289
6290 * progmodes/octave.el (octave-auto-fill): Remove.
6291 (octave-indent-new-comment-line): Improve.
6292 (octave-mode): Use auto fill mode through
4f405069 6293 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6294 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6295 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6296 (octave-help): Show parent directory.
6297
f440830d
GM
62982013-05-21 Glenn Morris <rgm@gnu.org>
6299
6300 * files.el (dired-unmark):
6301 * progmodes/gud.el (gdb-input): Update declarations.
6302
6303 * calculator.el (electric, ehelp): No need to load when compiling.
6304 (Electric-command-loop, electric-describe-mode): Declare.
6305
6306 * doc-view.el (doc-view-current-converter-processes): Move before use.
6307
6308 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6309 Move MODE-set-explicitly definition before use.
6310
6311 * international/mule-diag.el (mule-diag):
6312 Don't use obsolete window-system-version.
6313
6314 * mail/feedmail.el (smtpmail): No need to load when compiling.
6315 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6316
6317 * mail/mail-utils.el (rfc822): No need to load when compiling.
6318 (rfc822-addresses): Autoload it.
6319 (mail-strip-quoted-names): Trivial simplification.
6320
6321 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6322 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6323
6324 * net/snmp-mode.el (tempo): Don't duplicate requires.
6325
6326 * progmodes/prolog.el (info): No need to load when compiling.
6327 (comint): Require before shell requires it.
6328 (Info-goto-node): Autoload it.
6329 (Info-follow-nearest-node): Declare.
6330 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6331
6332 * textmodes/artist.el (picture-mode-exit): Declare.
6333
6334 * textmodes/reftex-parse.el (reftex-parse-from-file):
6335 Trivial rewrite so the compiler can parse it better.
6336
b4da2cbb
LL
63372013-05-20 Leo Liu <sdl.web@gmail.com>
6338
6339 * progmodes/octave.el (octave-help-mode-map)
6340 (octave-help-mode-finish-hook): New variables.
6341 (octave-help-mode, octave-help-mode-finish): New functions.
6342 (octave-help): Use octave-help-mode.
6343
33c0f65b
GM
63442013-05-20 Glenn Morris <rgm@gnu.org>
6345
6346 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6347
1a0a0a8a
DG
63482013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6349
6350 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6351 start at point, so that expansion starting right after opening
6352 slash in a regexp is recognized.
6353 (ruby-syntax-before-regexp-re): New defvar, extracted from
6354 ruby-syntax-propertize-function. Since the value of this regexp
6355 is looked up at runtime now, we should be able to turn
6356 `ruby-syntax-methods-before-regexp' into a defcustom later.
6357 (ruby-syntax-propertize-function): Split regexp matching into two
6358 parts, for opening and closing slashes. That allows us to skip
6359 over string interpolations and support multiline regexps.
6360 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6361 for them, which calls `ruby-syntax-propertize-expansion'.
6362 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6363 call to `ruby-syntax-propertize-function'.
6364 (ruby-syntax-propertize-expansion): Extracted from
6365 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6366 (ruby-syntax-propertize-percent-literal): Leave point right after
6367 the percent symbol, so that the expression expansion rule can
6368 propertize the contents.
462388b6
DG
6369 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6370 heredoc openers.
6371 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6372
c1a6c0a4
JL
63732013-05-18 Juri Linkov <juri@jurta.org>
6374
6375 * man.el (Man-default-man-entry): Remove `-' from the end
6376 of the default value. (Bug#14400)
6377
8051fccd
GM
63782013-05-18 Glenn Morris <rgm@gnu.org>
6379
6380 * comint.el (comint-password-prompt-regexp):
6381 Allow "password for XXX" where XXX contains colons (eg https://...).
6382
5e80b74f
LL
63832013-05-18 Leo Liu <sdl.web@gmail.com>
6384
6385 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6386 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6387 (octave-source-directories): Don't check process.
6388 (octave-source-directories, octave-find-definition): Doc fix.
6389
521a54c5
GM
63902013-05-18 Glenn Morris <rgm@gnu.org>
6391
86a94b05
GM
6392 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6393 Remove backspace/delete bindings. (Bug#14392)
6394
521a54c5
GM
6395 * cus-dep.el (custom-make-dependencies): Sort the output.
6396 (custom-versions-load-alist): Convert comment to doc.
6397
42caeb89
LL
63982013-05-17 Leo Liu <sdl.web@gmail.com>
6399
6400 * newcomment.el (comment-search-backward): Stricter in finding
6401 comment start. (Bug#14303)
6402
6403 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6404 (octave-comment-start-skip): Properly anchored.
6405
e219dd97
LL
64062013-05-17 Leo Liu <sdl.web@gmail.com>
6407
fe1eb856
RS
6408 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6409 Clean up when turned off. (Bug#14395)
e219dd97
LL
6410 (smie--highlight-matching-block-overlay): No longer buffer-local.
6411 (smie-highlight-matching-block): Adjust.
6412
dc5dcb4b
PE
64132013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6414
6415 Doc string fix for "nanoseconds" (Bug#14406).
6416 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6417 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6418
1db165f0
JB
64192013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6420
6421 * calc/calc-units.el (math-extract-units): Preserve powers
6422 of units.
6423
c7a8fcac
LL
64242013-05-17 Leo Liu <sdl.web@gmail.com>
6425
6426 * subr.el (delete-consecutive-dups): New function.
6427 * ido.el (ido-set-matches-1): Use it.
6428 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6429 * ido.el (ido-remove-consecutive-dups): Remove.
6430
f678b18a
SM
64312013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6434 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6435 regexp-opt's `words'.
6436
ebfe68e8
LL
64372013-05-16 Leo Liu <sdl.web@gmail.com>
6438
6439 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6440 (smie--highlight-matching-block-overlay)
6441 (smie--highlight-matching-block-lastpos)
6442 (smie--highlight-matching-block-timer): New variables.
6443 (smie-highlight-matching-block): New function.
6444 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6445 (smie-setup): Conditionally enable smie-blink-matching-open.
6446
bc8bc17d
WS
64472013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6448
6449 Sync with upstream verilog-mode r840.
6450 * progmodes/verilog-mode.el (verilog-mode-version)
6451 (verilog-mode-release-date): Update.
6452 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6453 (verilog-sig-tieoff): Fix string error on
6454 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6455 (verilog-read-decls): Fix parameters confusing
6456 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6457
df065a0b
EZ
64582013-05-16 Eli Zaretskii <eliz@gnu.org>
6459
6460 * subr.el (reveal-filename): New function.
6461
6462 * loadup.el: Compute Emacs executable versions on MS-Windows,
6463 where executables have the .exe extension. Add a hard link
6464 emacs-XX.YY.ZZ.exe on MS-Windows.
6465
6466 * Makefile.in (XARGS_LIMIT): New variable.
6467 (custom-deps, finder-data, autoloads)
6468 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6469 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6470 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6471 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6472
2d4bf34b
LL
64732013-05-16 Leo Liu <sdl.web@gmail.com>
6474
6475 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6476 (octave-mode-menu, octave-mode-map): Remove its uses.
6477
6b9c2d85
RZ
64782013-05-16 Reto Zimmermann <reto@gnu.org>
6479
6480 Sync with upstream vhdl mode v3.34.2.
6481 * progmodes/vhdl-mode.el: Use `push' throughout.
6482 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6483 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6484 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6485 (vhdl-actual-generic-name): New option to derive actual generic name.
6486 (vhdl-port-paste-signals): Replace formal by actual generics.
6487 (vhdl-beautify): New name for old group vhdl-align. Update users.
6488 (vhdl-beautify-options): New option.
6489 (vhdl-last-input-event): New compat alias. Use throughout.
6490 (vhdl-goto-line): Replace user level function `goto-line'.
6491 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6492 vhdl-fix-statement-buffer.
6493 (vhdl-create-mode-menu): Add some entries.
6494 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6495 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6496 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6497 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6498 to force statements on one line.
6499 (vhdl-remove-trailing-spaces-region):
6500 New, split from vhdl-remove-trailing-spaces.
6501 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6502 Respect vhdl-beautify-options.
6503 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6504 (vhdl-update-sensitivity-list): Not add with index if exists without.
6505 Not include array index with signal. Ignore keywords in comments.
6506 (vhdl-get-visible-signals): Regexp tweaks.
6507 (vhdl-template-component-inst): Handle empty library.
6508 (vhdl-template-type): Add template for 'enum' type.
6509 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6510 Use vhdl-replace-string.
6511 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6512 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6513 (vhdl-speedbar-initialize): Update for above name change.
6514 (vhdl-compose-wire-components): Fix in handling of constants.
6515 (vhdl-error-regexp-emacs-alist): New variable.
6516 (vhdl-error-regexp-add-emacs): New function;
6517 adds support for new compile.el (Emacs 22+)
6518 (vhdl-generate-makefile-1): Change target order for single lib. units.
6519 Allow use of absolute file names.
6520
9df4ec5e
LL
65212013-05-16 Leo Liu <sdl.web@gmail.com>
6522
6523 * simple.el (prog-indent-sexp): Indent enclosing defun.
6524
f5ba00a6
GM
65252013-05-15 Glenn Morris <rgm@gnu.org>
6526
ed8be7ff
GM
6527 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6528 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6529 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6530 (whitespace-highlight): Move to whitespace group.
6531
6532 * comint.el (comint-source):
6533 * pcmpl-linux.el (pcmpl-linux):
6534 * shell.el (shell-faces):
6535 * eshell/esh-opt.el (eshell-opt):
6536 * international/ccl.el (ccl): Remove empty custom groups.
6537
6538 * completion.el (dynamic-completion-mode):
6539 * jit-lock.el (jit-lock-debug-mode):
6540 * minibuffer.el (completion-in-region-mode):
6541 * type-break.el (type-break-mode-line-message-mode)
6542 (type-break-query-mode):
6543 * emulation/tpu-edt.el (tpu-edt-mode):
6544 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6545 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6546 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6547
6548 * term/xterm.el (xterm): Change parent group to terminals.
6549
6550 * master.el (master): Remove empty custom group.
6551 (master-mode): Remove unused :group argument.
6552 * textmodes/refill.el (refill): Remove empty custom group.
6553 (refill-mode): Remove unused :group argument.
6554
6555 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6556
82a7c41b
GM
6557 * cus-dep.el: Provide a feature.
6558 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6559 Don't mistakenly ignore files whose basenames match a basename
6560 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6561 Add a fallback method for getting :group.
f5ba00a6 6562
6d65486d
JL
65632013-05-15 Juri Linkov <juri@jurta.org>
6564
da547b32
JL
6565 * isearch.el (isearch-char-by-name): Rename from
6566 `isearch-insert-char-by-name'. Doc fix.
6567 (isearch-forward): Mention `isearch-char-by-name' in
6568 the docstring. (Bug#13348)
6569
6d65486d
JL
6570 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6571 `exit-minibuffer' instead of
6572 `isearch-nonincremental-exit-minibuffer'.
6573 (isearch-edit-string): Remove mention of
6574 `isearch-nonincremental-exit-minibuffer' from docstring.
6575 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6576 (isearch-forward-exit-minibuffer)
6577 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6578
c9990474
SM
65792013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6e911150
SM
6581 * loadup.el: Just use unversioned DOC.
6582
c9990474
SM
6583 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6584 literals as extending to EOB.
6585 (nxml-last-fontify-end): Remove unused variable.
6586 (nxml-after-change1): Use with-silent-modifications.
6587 (nxml-extend-after-change-region): Simplify.
6588 (nxml-extend-after-change-region1): Remove function.
6589 (nxml-after-change1): Don't adjust for dependent regions.
6590 (nxml-fontify-matcher): Simplify.
6591 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6592 (xmltok-add-dependent): Remove function.
6593 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6594 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6595 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6596 unclosed <[[, <?, comment, and other literals as extending to EOB.
6597 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6598 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6599 Remove functions.
6600 (rng-do-some-validation-1): Don't mark dependent regions.
6601 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6602 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6603 (nxml-clear-dependent-regions): Remove functions.
6604 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6605 (nxml-ensure-scan-up-to-date):
6606 Don't clear&mark dependent regions.
6607
e3772e98
LL
66082013-05-15 Leo Liu <sdl.web@gmail.com>
6609
c9990474
SM
6610 * progmodes/octave.el (octave-goto-function-definition):
6611 Improve and fix callers.
e3772e98 6612
5ac2eb34
SM
66132013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6614
c46c57b0
SM
6615 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6616 the setter (bug#14387).
6617
5ac2eb34
SM
6618 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6619 surrounding group (bug#14402).
6620
180ed218
JL
66212013-05-14 Juri Linkov <juri@jurta.org>
6622
6623 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6624 (Bug#14390)
6625
0ac0fecb
GM
66262013-05-14 Glenn Morris <rgm@gnu.org>
6627
6628 * progmodes/f90.el (f90-imenu-generic-expression):
6629 Fix typo in 2013-05-08 change. (Bug#14402)
6630
2e78e6a7
JPG
66312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6632
5ac2eb34
SM
6633 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6634 Remove signals for which replies are never received.
2e78e6a7 6635
53267cca
JPG
66362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6637
6638 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6639 (gdb-handler-alist, gdb-handler-number): Remove variables.
6640 (gdb-handler-list): New variable.
6641 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6642 (gdb-pending-handler-p, gdb-handle-reply)
6643 (gdb-remove-all-pending-triggers): New functions.
6644 (gdb-discard-unordered-replies): New defcustom.
6645 (gdb-handler): New defstruct.
6646 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6647 instead of gdb-pending-triggers. Update docstring.
6648 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6649 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6650 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6651 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6652 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6653 (gdb-frame-handler): Pending triggers are now automatically managed.
6654 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6655 Remove argument.
6656 (gdb-input): Automatically handles pending triggers. Update docstring.
6657 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6658 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6659 Update comments.
6660 (gdb-done-or-error): Now use gdb-handle-reply.
6661
d04ce803
JPG
66622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6663
6664 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6665 gdb-debug-log.
6666
0114073a
GM
66672013-05-14 Glenn Morris <rgm@gnu.org>
6668
6669 * subr.el (user-emacs-directory-warning): New option.
6670 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6671
4d25fd7e
LL
66722013-05-14 Leo Liu <sdl.web@gmail.com>
6673
6674 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6675 during redisplay.
6676 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6677 (octave-font-lock-texinfo-comment): Fix invalid search bound
6678 error: wrong side of point.
4d25fd7e 6679
27c8b6eb
GM
66802013-05-14 Glenn Morris <rgm@gnu.org>
6681
61aaeb01
GM
6682 * progmodes/flymake.el (flymake-xml-program): New option.
6683 (flymake-xml-init): Use it.
6684
5bf90bc5
GM
6685 * term/xterm.el: Provide a feature.
6686
6687 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6688
f4c7dfd2
GM
66892013-05-13 Glenn Morris <rgm@gnu.org>
6690
6691 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6692 Add compat aliases as a hack workaround. (Bug#14384)
6693
2aeb3a1d
LL
66942013-05-13 Leo Liu <sdl.web@gmail.com>
6695
b0e069c2
LL
6696 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6697 ###, and %!.
f5a9432f
LL
6698 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6699 C-M-q.
b0e069c2
LL
6700 (octave-comment-start-skip): Include %!.
6701 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6702
30ea8374
LL
67032013-05-12 Leo Liu <sdl.web@gmail.com>
6704
6705 * progmodes/octave.el (inferior-octave-startup): Store the value
6706 of __octave_srcdir__ for octave-source-directories.
6707 (inferior-octave-check-process): New function refactored out of
6708 inferior-octave-send-list-and-digest.
6709 (octave-source-directories)
6710 (octave-find-definition-filename-function): New variables.
6711 (octave-source-directories)
6712 (octave-find-definition-default-filename): New functions.
6713 (octave-find-definition): Improve to find functions implemented in C++.
6714
472a3834
GM
67152013-05-12 Glenn Morris <rgm@gnu.org>
6716
6717 * calendar/diary-lib.el (diary-outlook-format-1):
6718 Don't include dayname in the output. (Bug#14349)
6719
3191b52f
GM
67202013-05-11 Glenn Morris <rgm@gnu.org>
6721
0060ac73
GM
6722 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6723
3191b52f
GM
6724 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6725 Treat cc-provide like provide.
6726
e065ba74
KR
67272013-05-11 Kevin Ryde <user42@zip.com.au>
6728
6729 * cus-dep.el (custom-make-dependencies):
6730 Use generated-autoload-load-name for the sake of files such
6731 such cedet/semantic/bovine/c.el, where the base file name
6732 is not in load-path. (Bug#5277)
6733
36f84c37
GM
67342013-05-11 Glenn Morris <rgm@gnu.org>
6735
6736 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6737 Provide features.
6738
c8730c3a
LL
67392013-05-11 Leo Liu <sdl.web@gmail.com>
6740
6741 * progmodes/octave.el (octave-indent-comment): Improve.
6742 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6743 (octave-eldoc-function-signatures, octave-eldoc-function):
6744 New functions.
c8730c3a
LL
6745 (octave-mode, inferior-octave-mode): Add eldoc support.
6746
212e29f2
RS
67472013-05-11 Richard Stallman <rms@gnu.org>
6748
6749 * epa.el (epa-decrypt-file): Take output file name as argument
6750 and read it using `interactive'.
6751
083fe0d7
LL
67522013-05-11 Leo Liu <sdl.web@gmail.com>
6753
6754 * progmodes/octave.el (octave-beginning-of-line)
6755 (octave-end-of-line): Check before using up-list because it jumps
6756 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6757 (octave-indent-comment): New function.
6758 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6759 (octave-begin-keywords, octave-end-keywords)
6760 (octave-reserved-words, octave-smie-bnf-table)
6761 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6762
8582e4c4
GM
67632013-05-11 Glenn Morris <rgm@gnu.org>
6764
f20def1f
GM
6765 * faces.el (internal-face-x-get-resource):
6766 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6767 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6768 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6769 Fix declarations.
f20def1f 6770
445f95e2
GM
6771 * calc/calc-menu.el: Make it loadable in isolation.
6772
6773 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6774 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6775 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6776 (eudc-bbdb-query-internal): Require 'bbdb.
6777
99fb2756
GM
6778 * lpr.el (lpr-headers-switches):
6779 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6780
6781 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6782
0da7ad96
GM
6783 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6784
8582e4c4
GM
6785 * term.el (term-set-escape-char): Make it idempotent.
6786
f71c50d0
LL
67872013-05-10 Leo Liu <sdl.web@gmail.com>
6788
5ac2eb34
SM
6789 * progmodes/octave.el (inferior-octave-completion-table):
6790 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6791 completion due to bug#11906.
6792 (octave-beginning-of-defun): Re-write to be more general.
6793
d5837773
GM
67942013-05-10 Glenn Morris <rgm@gnu.org>
6795
6796 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6797
027c0f75
SM
67982013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * comint.el (comint-redirect-send-command-to-process): Use :around
6801 rather than :override for comint-redirect-filter.
6802 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6803 Call it instead of comint-redirect-original-filter-function (which
6804 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6805
4465bfb4
JD
68062013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6807
6808 * frame.el (display-monitor-attributes-list): Add NS case.
6809 (ns-display-monitor-attributes-list): Declare.
6810
2d809ffa 68112013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6812
6813 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6814
e54eeb9b
GM
68152013-05-09 Glenn Morris <rgm@gnu.org>
6816
56cd351d
GM
6817 * international/fontset.el (vertical-centering-font-regexp):
6818 Set standard-value.
6819
d84b6108
GM
6820 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6821
a931698a
GM
6822 * bookmark.el (bookmark-search-delay):
6823 * cus-start.el (vertical-centering-font-regexp):
6824 * ps-mule.el (ps-mule-font-info-database-default):
6825 * ps-print.el (ps-default-fg, ps-default-bg):
6826 * type-break.el (type-break-good-break-interval):
6827 * whitespace.el (whitespace-indentation-regexp)
6828 (whitespace-space-after-tab-regexp):
6829 * emacs-lisp/testcover.el (testcover-1value-functions)
6830 (testcover-noreturn-functions, testcover-progn-functions)
6831 (testcover-prog1-functions):
6832 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6833 * eshell/em-glob.el (eshell-glob-translate-alist):
6834 * play/tetris.el (tetris-tty-colors):
6835 * progmodes/cpp.el (cpp-face-default-list):
6836 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6837 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6838 (idlwave-help-browser-generic-args):
6839 * progmodes/make-mode.el (makefile-special-targets-list):
6840 * progmodes/python.el (python-shell-virtualenv-path):
6841 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6842 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6843 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6844 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6845 * textmodes/reftex-vars.el (reftex-format-label-function):
6846 * textmodes/remember.el (remember-diary-file): Fix custom types.
6847
e54eeb9b
GM
6848 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6849 Add :version.
6850
455851dd
LL
68512013-05-09 Leo Liu <sdl.web@gmail.com>
6852
6853 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6854 Restore file completion. (Bug#14300)
455851dd
LL
6855 (inferior-octave-startup): Fix incorrect highlighting for the
6856 first prompt.
6857
a9e4425b
SM
68582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6859
6860 * progmodes/ruby-mode.el: First cut at SMIE support.
6861 (ruby-use-smie): New var.
6862 (ruby-smie-grammar): New constant.
6863 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6864 (ruby-smie--forward-token, ruby-smie--backward-token)
6865 (ruby-smie-rules): New functions.
6866 (ruby-mode-variables): Setup SMIE if applicable.
6867
060ca408
EZ
68682013-05-08 Eli Zaretskii <eliz@gnu.org>
6869
6870 * simple.el (line-move-visual): Signal beginning/end of buffer
6871 only if vertical-motion moved less than it was requested. Avoids
6872 silly incorrect error messages when there are display strings with
6873 multiple newlines at EOL.
6874
1d5963cc
SM
68752013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6878 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6879 (prolog-char-quote-workaround):
6880 * progmodes/cperl-mode.el (cperl-under-as-char):
6881 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6882 Mark as obsolete.
6883 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6884 their declaration.
6885 (vhdl-mode-syntax-table-init): Remove.
6886
c9990474
SM
6887 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6888 last change.
1d5963cc
SM
6889
6890 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6891 syntax for "_".
6892 (ld-script-font-lock-keywords):
6893 Change regexps to use things like \_< and \_>.
6894
6895 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6896 Change all regexps to use things like \_< and \_>.
6897
6898 * progmodes/autoconf.el (autoconf-definition-regexp)
6899 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6900 Handle a _ with symbol syntax.
6901 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6902
c9990474
SM
6903 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6904 Consolidate declaration.
1d5963cc
SM
6905 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6906 the declaration.
6907 (ada-create-syntax-table): Remove.
6908 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6909 already has the right syntax nowadays.
6910 (ada-goto-next-word): Don't change the syntax of "_".
6911
6912 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6913 with-wrapper-hook.
6914
72d3cfca
SS
69152013-05-08 Sam Steingold <sds@gnu.org>
6916
6917 * thingatpt.el (thing-at-point): Accept optional second argument
6918 NO-PROPERTIES to strip the text properties from the return value.
6919 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6920 to `thing-at-point' instead of stripping the properties ourselves.
6921 Also, when `thing-at-point' fails to find a url, prepend "http://"
6922 to the filename at point on the assumption that the user is
6923 pointing at something like gnu.org/gnu.
6924
5cb15713
JB
69252013-05-08 Juanma Barranquero <lekktu@gmail.com>
6926
6927 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6928 * faces.el (crm-separator):
6929 Silence byte-compiler.
6930
6931 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6932 (tool-bar-map): Remove unneeded defvars.
6933
ea78b95b
LL
69342013-05-08 Leo Liu <sdl.web@gmail.com>
6935
6936 Re-work a fix for bug#10994 based on Le Wang's patch.
6937 * ido.el (ido-remove-consecutive-dups): New helper.
6938 (ido-completing-read): Use it.
6939 (ido-chop): Revert fix for bug#10994.
6940
dc7466df
AS
69412013-05-08 Adam Spiers <emacs@adamspiers.org>
6942
6943 * cus-edit.el (custom-save-variables):
6944 Pretty-print long values. (Bug#14187)
6945
9ecf672a
GM
69462013-05-08 Glenn Morris <rgm@gnu.org>
6947
6948 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6949 (m4-mode-syntax-table): Init in the defvar.
6950 (m4-mode-abbrev-table): Let define-derived-mode define it.
6951
3f555be8
TT
69522013-05-08 Tom Tromey <tromey@redhat.com>
6953
6954 * progmodes/m4-mode.el (m4-mode-syntax-table):
6955 Do not treat "_" as word constituent. (Bug#14167)
6956
7cc8ae06
GM
69572013-05-07 Glenn Morris <rgm@gnu.org>
6958
4f58bc06
GM
6959 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6960 Remove explicit eshell-isearch-cancel-map.
6961
7cc8ae06
GM
6962 * progmodes/f90.el (f90-smart-end-names): New option.
6963 (f90-smart-end): Doc fix.
6964 (f90-end-block-optional-name): New constant.
6965 (f90-block-match): Respect f90-smart-end-names.
6966
ceb57e59
SM
69672013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6970 about implicit semi-colons (bug#14218).
6971
4e3f9230
YM
69722013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6973
6974 * frame.el (display-monitor-attributes-list)
6975 (frame-monitor-attributes): New functions.
6976
203a5572
LL
69772013-05-06 Leo Liu <sdl.web@gmail.com>
6978
6979 * progmodes/octave.el (octave-syntax-propertize-function): Change
6980 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6981 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6982 (octave-completion-at-point): Rename from
203a5572
LL
6983 octave-completion-at-point-function.
6984 (inferior-octave-directory-tracker): Robustify.
6985 (octave-text-functions): Remove and fix its uses. No such things
6986 any more.
6987
ee6cff99
SM
69882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * emacs-lisp/trace.el (trace--display-buffer): New function.
6991 (trace-make-advice): Use it.
6992
32985194
JL
69932013-05-06 Juri Linkov <juri@jurta.org>
6994
6995 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6996 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6997 Doc fix.
6998 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6999 in the help string. (Bug#12985)
7000
a1c700de
KD
70012013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7002
7003 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7004
c67c0839
SM
70052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7006
323885fd
SM
7007 * progmodes/perl-mode.el: Add support for here documents.
7008 (perl-syntax-propertize-function): Match here-doc markers.
7009 (perl-syntax-propertize-special-constructs): Find their end.
7010 (perl-imenu-generic-expression): Use [:alnum:].
7011
c67c0839
SM
7012 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7013 (advice--add-function): Refresh the advice if already present
7014 (bug#14317).
7015
d491e7a8
IA
70162013-05-06 Ivan Andrus <darthandrus@gmail.com>
7017
7018 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7019
ddf9925e
GM
70202013-05-06 Glenn Morris <rgm@gnu.org>
7021
7cc3af27
GM
7022 * w32-fns.el (w32-charset-info-alist): Declare.
7023
16e343d6
GM
7024 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7025 of its defcustom properties.
7026 (eshell-cmpl-initialize): No need to load pcomplete.
7027
7d889a47
GM
7028 * generic-x.el: No need to require comint when compiling.
7029
ddf9925e
GM
7030 * net/eudc-export.el: Make it loadable without bbdb.
7031 (top-level): Use require rather than load-library.
7032 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7033 (eudc-batch-export-records-to-bbdb)
7034 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7035 Require bbdb.
7036
1e2c18df
SM
70372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7040 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7041 some tweaks, instead.
7042
02502a5f
LL
70432013-05-05 Leo Liu <sdl.web@gmail.com>
7044
7045 * progmodes/octave.el (octave-font-lock-keywords)
7046 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7047 (inferior-octave-send-list-and-digest): Improve error message.
7048 (octave-mode, inferior-octave-mode): Use setq-local.
7049 (octave-help): Set info-lookup-mode.
7050
0dc04f42
RS
70512013-05-05 Richard Stallman <rms@gnu.org>
7052
6c54491c
RS
7053 * vc/compare-w.el (compare-windows-whitespace):
7054 Treat no-break space as whitespace.
7055
0dc04f42
RS
7056 * mail/rmailsum.el (rmail-summary-rmail-update):
7057 Detect empty summary and don't change selected message.
7058 (rmail-summary-goto-msg): Likewise.
7059
df8f35df
RS
7060 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7061 Doc fixes, rename args.
7062
5356e1a3
AM
70632013-05-05 Alan Mackenzie <acm@muc.de>
7064
7065 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7066
d44014cb
JL
70672013-05-05 Juri Linkov <juri@jurta.org>
7068
7069 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7070 to not add the length of the summary segment to the return value.
7071 (Bug#14125)
7072
c129b51f
LL
70732013-05-05 Leo Liu <sdl.web@gmail.com>
7074
7075 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7076 (inferior-octave-output-filter): Remove.
7077 (octave-send-region, inferior-octave-startup): Fix callers.
7078 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7079 (octave-binary-file-extensions): New user variable.
7080 (octave-find-definition): Confirm if opening binary files.
7081 (octave-help-file): Use octave-find-definition to get the binary
7082 confirmation.
7083 (octave-help): Adjust for octave-help-file change.
7084
aa7dab97
SM
70852013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7088 Merge the two entries that handle function definitions.
7089 (pascal--syntax-propertize): New const.
7090 (pascal-mode): Use it. Use setq-local.
7091
fd3a9a6b
GM
70922013-05-04 Glenn Morris <rgm@gnu.org>
7093
7094 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7095 (diary-from-outlook): Respect diary-from-outlook-function.
7096
30c7e542
SM
70972013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7100 Move the declaration from C.
7101 (read-minibuffer, eval-minibuffer): Move from C.
7102 (completion-setup-function): Avoid minibuffer-completion-contents.
7103
b54f978b
LL
71042013-05-03 Leo Liu <sdl.web@gmail.com>
7105
7106 * progmodes/octave.el (octave-font-lock-keywords): Do not
7107 dehighlight 'end' in comments or strings.
30c7e542
SM
7108 (octave-completing-read, octave-goto-function-definition):
7109 New helpers.
d4d0f9b3
LL
7110 (octave-help-buffer): New user variable.
7111 (octave-help-file, octave-help-function): New button types.
7112 (octave-help): New command and bind it to C-h ;.
7113 (octave-find-definition): New command and bind it to M-.
d74a1581 7114 (user-error): Alias to error if not defined.
b54f978b 7115
27135018
LL
71162013-05-02 Leo Liu <sdl.web@gmail.com>
7117
7118 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7119 for \. (bug#14332)
7120 (octave-font-lock-keywords): Include [ and {.
7121
0d634d3a
LL
71222013-05-02 Leo Liu <sdl.web@gmail.com>
7123
7124 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7125 (inferior-octave): Remove calling comint-mode and return the buffer.
7126 (inferior-octave-startup): Cosmetic changes.
7127
b4c8295e
LL
71282013-05-02 Leo Liu <sdl.web@gmail.com>
7129
30c7e542
SM
7130 * progmodes/octave.el (octave-syntax-propertize-function):
7131 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7132
f12ad6ec
GM
71332013-05-02 Glenn Morris <rgm@gnu.org>
7134
7135 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7136 * desktop.el (vc-dir-mode): Just autoload it here.
7137
30cac1e0
AM
71382013-05-02 Alan Mackenzie <acm@muc.de>
7139
7140 Eliminate variable c-standard-font-lock-fontify-region-function.
7141 * progmodes/cc-mode.el
7142 (c-standard-font-lock-fontify-region-function): Remove.
7143 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7144
d8ef28b1
LL
71452013-05-01 Leo Liu <sdl.web@gmail.com>
7146
2640d52e 7147 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7148 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7149 variables were removed from Octave in 2007.
d8ef28b1
LL
7150 (inferior-octave-startup): Fix uses.
7151 (comint-line-beginning-position): Remove compatibility code for
7152 emacs 21.
7153
ac63ec89
JL
71542013-05-01 Juri Linkov <juri@jurta.org>
7155
7156 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7157
9e9be37c
JL
71582013-05-01 Juri Linkov <juri@jurta.org>
7159
7160 * comint.el (comint-previous-matching-input): Don't print message
7161 "History item: %d" when `isearch-mode' is active.
7162 (comint-history-isearch-message): Print message "History item: %d"
7163 when `comint-input-ring-index' is not empty and this function is
7164 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7165
9b92c13b
LL
71662013-05-01 Leo Liu <sdl.web@gmail.com>
7167
7168 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7169 definitions. Use completion-at-point to insert keywords.
7170 (octave-abbrev-start): Remove.
7171 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7172
b12d33d7
LL
71732013-04-30 Leo Liu <sdl.web@gmail.com>
7174
7175 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7176 change.
7177
3d1c39fa
AM
71782013-04-30 Alan Mackenzie <acm@muc.de>
7179
7180 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7181 * progmodes/cc-engine.el (c-back-over-member-initializers):
7182 new function.
3d1c39fa
AM
7183 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7184 (most) member init lists.
7185
5147fc17
RS
71862013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7187
7188 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7189 variable.
7190
5b78d7fc
LL
71912013-04-30 Leo Liu <sdl.web@gmail.com>
7192
7193 * progmodes/octave.el (octave-variables): Remove. No builtin
7194 variables any more. All converted to functions.
7195 (octave-font-lock-keywords, octave-completion-at-point-function):
7196 Fix uses.
7197 (octave-font-lock-texinfo-comment): New user variable.
7198 (octave-texinfo-font-lock-keywords): New variable for texinfo
7199 comment block.
7200 (octave-function-comment-block): New face.
7201 (octave-font-lock-texinfo-comment): New function.
7202 (octave-mode): Font lock texinfo comment block.
7203
38d8527b
LL
72042013-04-29 Leo Liu <sdl.web@gmail.com>
7205
7206 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7207 indexing expression.
7208 (octave-continuation-string): Do not use \.
7209 (inferior-octave-complete-impossible): Remove.
7210 (inferior-octave-completion-table)
7211 (inferior-octave-completion-at-point): Remove its uses.
7212 (inferior-octave-startup): completion_matches was introduced to
7213 Octave in 1996 so safe to assume it.
7214 (octave-function-file-comment): Improve to follow how Octave does it.
7215 (octave-update-function-file-comment): Tweak.
7216
2ec12cb0
LL
72172013-04-29 Leo Liu <sdl.web@gmail.com>
7218
7219 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7220 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7221 (octave-function-file-comment): Fix typo.
7222 (octave-sync-function-file-names): Use read-char-choice.
7223
6eaed048
JB
72242013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7225
7226 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7227 to t for the less important warnings.
7228
3ffa2d4f
DH
72292013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7230
7231 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7232
685c9501
GM
72332013-04-27 Glenn Morris <rgm@gnu.org>
7234
7235 * vc/log-view.el (log-view-current-entry):
7236 Treat "---" separator lines as part of the following rev. (Bug#14169)
7237
0208ede7
JL
72382013-04-27 Juri Linkov <juri@jurta.org>
7239
7240 * subr.el (read-number): Doc fix about using it by interactive
7241 code letter `n'. (Bug#14254)
7242
5db9dace
JL
72432013-04-27 Juri Linkov <juri@jurta.org>
7244
7245 * desktop.el (desktop-auto-save-timeout): New option.
7246 (desktop-file-checksum): New variable.
7247 (desktop-save): Add optional arg `auto-save' and don't auto-save
7248 if nothing changed.
7249 (desktop-auto-save-timer): New variable.
7250 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7251 (after-init-hook): Call `desktop-auto-save-set-timer'.
7252 Suggested by Reuben Thomas <rrt@sc3d.org> in
7253 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7254
b7260dd4
LL
72552013-04-27 Leo Liu <sdl.web@gmail.com>
7256
7257 * progmodes/octave.el (octave-function-file-p)
7258 (octave-skip-comment-forward, octave-function-file-comment)
7259 (octave-update-function-file-comment): New functions.
7260 (octave-mode-map): Bind C-c ; to
7261 octave-update-function-file-comment.
7262 (octave-mode-menu): Add octave-update-function-file-comment.
7263 (octave-mode, inferior-octave-mode): Fix doc-string.
7264 (octave-insert-defun): Conform to Octave's coding convention.
7265 (Bug#14285)
7266
7267 * files.el (basic-save-buffer): Don't let errors in
7268 before-save-hook prevent saving buffer.
7269
c46da669
RW
72702013-04-20 Roland Winkler <winkler@gnu.org>
7271
7272 * faces.el (read-face-name): Use completing-read if arg multiple
7273 is nil.
7274
a81ee1eb
IL
72752013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7276
7277 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7278 displayed, move point to after the totals line.
7279 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7280 for the details.
7281
4fac34ce
SM
72822013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7285 Add current dir to the load-path.
7286 (package-generate-autoloads): Don't rely on
7287 autoload-ensure-default-file.
7288
f6bfc063
RT
72892013-04-26 Reuben Thomas <rrt@sc3d.org>
7290
d40ab5cf
BG
7291 * textmodes/remember.el (remember-store-in-files): Document that
7292 the file name format is passed to `format-time-string'.
f6bfc063 7293
e55d3b04
LL
72942013-04-26 Leo Liu <sdl.web@gmail.com>
7295
7296 * progmodes/octave.el (octave-sync-function-file-names): New function.
7297 (octave-mode): Use it in before-save-hook.
7298
e53052d3
SM
72992013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7300
140ef50c
SM
7301 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7302 (bug#14274).
7303
e53052d3
SM
7304 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7305 \n and comment, even if it's not an implicit ; (bug#14218).
7306
af80458d 73072013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7308
7309 * subr.el (read-number): Once more use `read' rather than
7310 `string-to-number', to trap non-numeric input. (Bug#14254)
7311
af80458d 73122013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7313
7314 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7315 Use `syntax-multiline' text property consistently instead of
8a621d53 7316 `font-lock-multiline'. (Bug#14237)
70203c2e 7317
e6ea1f6c
GM
73182013-04-26 Glenn Morris <rgm@gnu.org>
7319
7320 * emacs-lisp/shadow.el (list-load-path-shadows):
7321 No longer necessary to check for duplicate simple.el, since
7322 2012-07-07 change to init_lread to not include installation lisp
7323 directories in load-path when running uninstalled. (Bug#14270)
7324
070ccca4
LL
73252013-04-26 Leo Liu <sdl.web@gmail.com>
7326
7327 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7328 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7329 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7330 octave-in-string-or-comment-p.
7331 (octave-in-comment-p, octave-in-string-p)
7332 (octave-in-string-or-comment-p): Replace defsubst with defun.
7333
9d1c5fb6
PE
73342013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7335
7336 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7337
c034abda
BG
73382013-04-25 Bastien Guerry <bzg@gnu.org>
7339
7340 * textmodes/remember.el (remember-data-directory)
7341 (remember-directory-file-name-format): Fix custom types.
7342
584ea277
LL
73432013-04-25 Leo Liu <sdl.web@gmail.com>
7344
e53052d3
SM
7345 * progmodes/octave.el (octave-completion-at-point-function):
7346 Make use of inferior octave process.
584ea277
LL
7347 (octave-initialize-completions): Remove.
7348 (inferior-octave-completion-table): New function.
7349 (inferior-octave-completion-at-point): Use it.
7350 (octave-completion-alist): Remove.
7351
1693b06a
SM
73522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7355 (opascal-mode-syntax-table): New var.
7356 (opascal-literal-kind, opascal-is-literal-end)
7357 (opascal-literal-token-at): Rewrite.
7358 (opascal--literal-start-re, opascal-font-lock-keywords)
7359 (opascal--syntax-propertize): New constants.
7360 (opascal-font-lock-defaults): Adjust.
7361 (opascal-mode): Use them. Set comment-<foo> variables as well.
7362 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7363 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7364 (delphi-other-face, opascal-other-face): Remove face variables.
7365 (opascal-save-state): Remove macro.
7366 (opascal-fontifying-progress-step): Remove constant.
7367 (opascal--ignore-changes): Remove var.
7368 (opascal-set-token-property, opascal-parse-next-literal)
7369 (opascal-is-stable-literal, opascal-complete-literal)
7370 (opascal-is-literal-start, opascal-face-of)
7371 (opascal-parse-region, opascal-parse-region-until-stable)
7372 (opascal-fontify-region, opascal-after-change)
7373 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7374 (opascal-debug-parse-region, opascal-debug-parse-window)
7375 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7376 (opascal-debug-fontify-buffer): Remove.
7377 (opascal-debug-mode-map): Adjust accordingly.
7378
be64c05d
LL
73792013-04-25 Leo Liu <sdl.web@gmail.com>
7380
7381 Merge octave-mod.el and octave-inf.el into octave.el with some
7382 cleanups.
7383 * progmodes/octave.el: New file renamed from octave-mod.el.
7384 * progmodes/octave-inf.el: Merged into octave.el.
7385 * progmodes/octave-mod.el: Renamed to octave.el.
7386
d79d37bd
TH
73872013-04-25 Tassilo Horn <tsdh@gnu.org>
7388
7389 * textmodes/reftex-vars.el
7390 (reftex-label-ignored-macros-and-environments): New defcustom.
7391
7392 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7393
ced3fc5d
SM
73942013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7397 (smie-indent-keyword): Improve the check to ensure that the next
7398 comment is really on the same line.
7399 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7400
7401 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7402 semi-colons if the line is not otherwise empty (bug#14218).
7403
1c141dad
GM
74042013-04-25 Glenn Morris <rgm@gnu.org>
7405
7406 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7407
5058062a
SM
74082013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * progmodes/opascal.el (opascal-set-token-property): Rename from
7411 opascal-set-text-properties and only set `token' (bug#14134).
7412 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7413 (opascal-literal-text-properties): Remove.
7414 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7415 Adjust callers.
7416
5db9dace 74172013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7418
7419 * textmodes/remember.el (remember-handler-functions): Add an
7420 option for a new handler `remember-store-in-files'.
7421 (remember-data-directory, remember-directory-file-name-format):
7422 New options.
7423 (remember-store-in-files): New function to store remember notes
7424 as separate files within a directory.
7425
4391916c
MH
74262013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7427
7428 * progmodes/compile.el (compilation-next-error-function):
7429 Pass "formats" to compilation-find-file (bug#11777).
7430
bb7cdf58
GM
74312013-04-24 Glenn Morris <rgm@gnu.org>
7432
3b8fe752 7433 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7434 * vc/vc-hg.el (vc-hg-print-log):
7435 * vc/vc-svn.el (vc-svn-print-log):
7436 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7437
bb7cdf58
GM
7438 * vc/vc-bzr.el (vc-bzr-print-log):
7439 * vc/vc-cvs.el (vc-cvs-print-log):
7440 * vc/vc-git.el (vc-git-print-log):
7441 * vc/vc-hg.el (vc-hg-print-log):
7442 * vc/vc-mtn.el (vc-mtn-print-log):
7443 * vc/vc-rcs.el (vc-rcs-print-log):
7444 * vc/vc-sccs.el (vc-sccs-print-log):
7445 * vc/vc-svn.el (vc-svn-print-log):
7446 * vc/vc.el (vc-print-log-internal): Doc fixes.
7447
b46a056e
GM
74482013-04-23 Glenn Morris <rgm@gnu.org>
7449
7450 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7451 Remove venerable code attempting to avoid substitute-command-keys.
7452
0aecf718
TH
74532013-04-23 Tassilo Horn <tsdh@gnu.org>
7454
4391916c
MH
7455 * textmodes/reftex-vars.el (reftex-label-regexps):
7456 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7457
117f94cf
SM
74582013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7459
4391916c 7460 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7461 Use lexical-binding.
7462 (jit-lock-force-redisplay): Use markers, check buffer's continued
7463 existence and beware narrowed buffers.
7464 (jit-lock-fontify-now): Adjust call accordingly.
7465
1d829c64
SM
74662013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7469 to avoid misleading the user.
7470
72d548a9
LL
74712013-04-22 Leo Liu <sdl.web@gmail.com>
7472
7473 * info-look.el: Prefer latex2e.info. (Bug#14240)
7474
d0853629
MA
74752013-04-22 Michael Albinus <michael.albinus@gmx.de>
7476
7477 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7478
7479 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7480 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7481 (tramp-set-completion-function, tramp-parse-putty):
7482 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7483 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7484 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7485 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7486 (tramp-call-local-coding-command): Use `tramp-call-process'
7487 instead of `tramp-compat-call-process'.
7488
7489 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7490 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7491 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7492 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7493 (tramp-maybe-send-script): Check for Perl binary.
7494 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7495
38cc0210
DU
74962013-04-22 Daiki Ueno <ueno@gnu.org>
7497
7498 * epg.el (epg-context-pinentry-mode): New function.
7499 (epg-context-set-pinentry-mode): New function.
7500 (epg--start): Pass --pinentry-mode option to gpg command.
7501
cc641ee1
XF
75022013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7503
02d844b5 7504 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7505 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7506 `completion-at-point'. (Bug#13774)
5d4e5c31 7507
cc641ee1
XF
7508 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7509 default key binding for `describe-distribution' has been moved to
7510 `C-h C-o'. (Bug#13970)
7511
1b42ee43
GM
75122013-04-21 Glenn Morris <rgm@gnu.org>
7513
7514 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7515 Add doc strings.
7516 (vc-print-log): Clarify interactive prompt.
7517
a6d63d97
GM
75182013-04-20 Glenn Morris <rgm@gnu.org>
7519
7520 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7521 No longer include timestamp etc information.
7522
d7f5c16f
RW
75232013-04-20 Roland Winkler <winkler@gnu.org>
7524
7525 * faces.el (read-face-name): Bug fix, return just one face if arg
7526 multiple is nil. (Bug#14209)
7527
bcd7a0a4
SM
75282013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7531 (remove-function): Autoload.
7532
7533 * comint.el (comint-redirect-original-filter-function): Remove.
7534 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7535 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7536 (vc-cvs-annotate-command):
bcd7a0a4
SM
7537 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7538 * progmodes/prolog.el (prolog-consult-compile):
7539 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7540 Use add/remove-function instead.
7541 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7542 (gud-tooltip-process-output, gud-tooltip-tips):
7543 Use add/remove-function instead.
7544 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7545 (scheme-interaction-mode, exit-scheme-interaction-mode):
7546 Use add/remove-function instead.
7547
7548 * vc/vc-dispatcher.el: Use lexical-binding.
7549 (vc--process-sentinel): Rename from vc-process-sentinel.
7550 Change last arg to be the code to run. Don't use vc-previous-sentinel
7551 and vc-sentinel-commands any more.
7552 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7553 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7554
e36b2d20 75552013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7556
bcd7a0a4 7557 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7558 Handle function names with a single character. (Bug#14111)
4d3268ba 7559
781b4af6 75602013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7561
7562 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7563 for subroutines defined in an eval (bug#14182).
7564
7d688336
TV
75652013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7566
7567 * bookmark.el (bookmark-completing-read): Improve handling of empty
7568 string (bug#14176).
7569
31dcede0
SM
75702013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7573
adc31213
FEG
75742013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7575
7576 New faster Imenu implementation (bug#14058).
7577 * progmodes/python.el:
7578 (python-imenu-prev-index-position):
7579 (python-imenu-format-item-label-function)
7580 (python-imenu-format-parent-item-label-function)
7581 (python-imenu-format-parent-item-jump-label-function):
7582 New vars.
7583 (python-imenu-format-item-label)
7584 (python-imenu-format-parent-item-label)
7585 (python-imenu-format-parent-item-jump-label)
7586 (python-imenu--put-parent, python-imenu--build-tree)
7587 (python-imenu-create-index, python-imenu-create-flat-index)
7588 (python-util-popn): New functions.
7589 (python-mode): Set imenu-create-index-function to
7590 python-imenu-create-index.
7591
cdca8255
SM
75922013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * winner.el (winner-active-region): Use region-active-p, activate-mark
7595 and deactivate-mark (bug#14225).
7596
7597 * simple.el (deactivate-mark): Don't inline it.
7598
beb42340
MA
75992013-04-18 Michael Albinus <michael.albinus@gmx.de>
7600
7601 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7602
fc7f4d7e
TH
76032013-04-18 Tassilo Horn <tsdh@gnu.org>
7604
7605 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7606 file extensions from the archive-mode entry in order to prefer
7607 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7608
29f47822
LL
76092013-04-18 Leo Liu <sdl.web@gmail.com>
7610
7611 * bindings.el (help-event-list): Add ?\?.
7612
d36ed1c8
SM
76132013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * subr.el (with-wrapper-hook): Declare obsolete.
7616 * simple.el (filter-buffer-substring-function): New hook.
7617 (filter-buffer-substring): Use it.
7618 (filter-buffer-substring-functions): Mark obsolete.
7619 * minibuffer.el (completion-in-region-function): New hook.
7620 (completion-in-region): Use it.
7621 (completion-in-region-functions): Mark obsolete.
7622 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7623 * abbrev.el (abbrev-expand-function): New hook.
7624 (expand-abbrev): Use it.
7625 (abbrev-expand-functions): Mark obsolete.
7626 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7627 and :filter-return.
7628
04754d36
FEG
76292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7630
7631 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7632 and do not care about match data.
7633
dd8791e9
SM
76342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7637 completion tables when completing error conditions and
7638 `declare' arguments.
7639 (lisp-complete-symbol, field-complete): Mark as obsolete.
7640 (check-parens): Unmatched parens are user errors.
7641 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7642
ffe54a13
AM
76432013-04-17 Michal Nazarewicz <mina86@mina86.com>
7644
dd8791e9
SM
7645 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7646 command changed buffer (ie. `flyspell-pre-buffer' is not current
7647 buffer), which prevents making decisions based on invalid value of
7648 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7649 cause an error when `flyspell-pre-point' was nil after switching
7650 buffers.
7651 (flyspell-post-command-hook): No longer needs to change buffers when
7652 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7653
ec7e39f2
AM
76542013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7655
7656 * textmodes/ispell.el (ispell-add-per-file-word-list):
7657 Fix `flyspell-correct-word-before-point' error when accepting
7658 words and `coment-padding' is an integer by using
7659 `comment-normalize-vars' (Bug #14214).
7660
083850a6
FEG
76612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7662
7663 New defun movement commands.
7664 * progmodes/python.el (python-nav--syntactically)
7665 (python-nav--forward-defun, python-nav-backward-defun)
7666 (python-nav-forward-defun): New functions.
7667
619ed6e1
FEG
76682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7669
7670 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7671 (python-syntax-context): Use named compiler-macro for backwards
7672 compatibility with Emacs 24.x.
7673
7a1beb6c
LL
76742013-04-17 Leo Liu <sdl.web@gmail.com>
7675
7676 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7677 octave-hide-process-buffer.
7678
2d3fa3e5
SM
76792013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7682 (bug#14216).
7683
7ce5be54
JPG
76842013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7685
7686 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7687 Fix adjustment of offset when receiving incomplete responses from GDB
7688 (bug#14129).
7689
351edece
SM
76902013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7693 python-mode-abbrev-table.
7694 (python-skeleton-define): Adjust accordingly.
7695 (python-mode-abbrev-table): New table that inherits from it so that
7696 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7697
7698 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7699 (abbrev-symbol): Use it.
7700 (abbrev--before-point): Use it since we already handle inheritance.
7701
613f9481
LL
77022013-04-16 Leo Liu <sdl.web@gmail.com>
7703
7704 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7705 binding to info-lookup-symbol.
7706
51646b62
JB
77072013-04-16 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * minibuffer.el (completion--twq-all):
7710 * term/ns-win.el (ns-initialize-window-system):
7711 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7712
efb3f01d
SM
77132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7714
36c0a301
SM
7715 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7716 global bindings.
7717
efb3f01d
SM
7718 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7719
fb549d64
DG
77202013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7721
7722 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7723 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7724 to nil.
7725 (ruby-end-of-defun): Remove the unused arg, change the docstring
7726 to reflect that this function is only used as the value of
7727 `end-of-defun-function'.
7728 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7729 to reflect an earlier change that beginning/end-of-defun functions
7730 jump between methods in a class definition, as well as top-level
7731 functions.
7732
21e8fe2f
SM
77332013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * minibuffer.el (minibuffer-complete): Don't just scroll
7736 a *Completions* that's been iconified.
7737 (minibuffer-force-complete): Make sure repetitions do cycle when going
7738 through completion-in-region -> minibuffer-complete.
7739
20e527d0
AM
77402013-04-15 Alan Mackenzie <acm@muc.de>
7741
7742 Correct the placement of c-cpp-delimiters when there're #s not at
7743 col 0.
7744
7745 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7746 place a submatch around the #.
21e8fe2f
SM
7747 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7748 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7749 on the #, not BOL.
7750
dabefae5
SM
77512013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7754 (advice--member-p): New arg `name'.
7755 (advice--add-function, advice-member-p): Use it (bug#14202).
7756
85c9ab64
AM
77572013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7758
7759 Reformulate java imenu-generic-expression.
7760 The old expression contained ill formed regexps.
7761
7762 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7763 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7764 (cc-imenu-java-method-arg-regexp): New defconsts.
7765 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7766 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7767 handling of spaces in the regexp.
7768
0f821d99
AM
77692013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7770
7771 * textmodes/ispell.el (ispell-command-loop): Remove
7772 flyspell highlight of a word when ispell accepts it (bug #14178).
7773
eb922adf
MA
77742013-04-15 Michael Albinus <michael.albinus@gmx.de>
7775
7776 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7777 uses code from the previous `ange-ftp-run-real-handler'.
7778 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7779 only in case that function exist. This is needed for proper
7780 unloading of Tramp.
7781
4d9a0979
TH
77822013-04-15 Tassilo Horn <tsdh@gnu.org>
7783
7784 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7785
7786 * textmodes/reftex.el (reftex-compile-variables): Use it.
7787
a829b0dc
SM
77882013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7789
91e8293c
SM
7790 * files.el (normal-mode): Only use default major-mode if no other mode
7791 was specified.
7792
830aed4d
SM
7793 * emacs-lisp/trace.el (trace-values): New function.
7794
a829b0dc
SM
7795 * files.el: Allow : in local variables (bug#14089).
7796 (hack-local-variable-regexp): New var.
7797 (hack-local-variables-prop-line, hack-local-variables): Use it.
7798
7ae9f0fb
RW
77992013-04-13 Roland Winkler <winkler@gnu.org>
7800
7801 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7802 data before it gets modified by bibtex-beginning-of-entry.
7803
6646e848
RW
78042013-04-13 Roland Winkler <winkler@gnu.org>
7805
7806 * textmodes/bibtex.el (bibtex-url): Doc fix.
7807
78082013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7809
7810 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7811 does not visit a BibTeX file, exclude it from the list of buffers
7812 returned by bibtex-initialize.
7813
0aa3616e
SB
78142013-04-13 Stephen Berman <stephen.berman@gmx.net>
7815
7816 * window.el (split-window): Remove interactive form, since as a
7817 command this function is a special case of split-window-below.
7818 Correct doc string.
7819
011cddd6
RW
78202013-04-12 Roland Winkler <winkler@gnu.org>
7821
7822 * faces.el (read-face-name): Do not override value of arg default.
7823 Allow single faces and strings as default values. Remove those
7824 elements from return value that are not faces.
7825 (describe-face): Simplify.
7826 (face-at-point): New optional args thing and multiple so that this
7827 function can provide the same functionality previously provided by
7828 read-face-name.
7829 (make-face-bold, make-face-unbold, make-face-italic)
7830 (make-face-unitalic, make-face-bold-italic, invert-face)
7831 (modify-face, read-face-and-attribute): Use face-at-point.
7832
7833 * cus-edit.el (customize-face, customize-face-other-window)
7834 * cus-theme.el (custom-theme-add-face)
7835 * face-remap.el (buffer-face-set)
7836 * facemenu.el (facemenu-set-face): Use face-at-point.
7837
f24e0036
MA
78382013-04-12 Michael Albinus <michael.albinus@gmx.de>
7839
7840 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7841
da3cda2d
TH
78422013-04-10 Tassilo Horn <tsdh@gnu.org>
7843
7844 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7845 off leading { and trailing } from field values.
7846
15e54145
SM
78472013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7848
78ce603d
SM
7849 * emacs-lisp/timer.el (timer--check): New function.
7850 (timer--time, timer-set-function, timer-event-handler): Use it.
7851 (timer-set-idle-time): Simplify.
7852 (timer--activate): CSE.
7853 (timer-event-handler): Give more info in error message.
7854 (internal-timer-start-idle): New function, moved from C.
7855
15e54145
SM
7856 * mpc.el (mpc-proc): Add `restart' argument.
7857 (mpc-proc-cmd): Use it.
7858 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7859 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7860 less often.
7861
7144c627
MY
78622013-04-10 Masatake YAMATO <yamato@redhat.com>
7863
7864 * progmodes/sh-script.el: Implement `sh-mode' own
7865 `add-log-current-defun-function' (bug#14112).
7866 (sh-current-defun-name): New function.
7867 (sh-mode): Use the function.
7868
b39792eb
BG
78692013-04-09 Bastien Guerry <bzg@gnu.org>
7870
7871 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7872
8acdeb71
SM
78732013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7874
6fcdab68
SM
7875 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7876
8acdeb71
SM
7877 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7878 timer (bug#14156).
7879
e3e7b504
NF
78802013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7881
7882 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7883 declaration.
7884
201bb296
LL
78852013-04-07 Leo Liu <sdl.web@gmail.com>
7886
7887 * pcmpl-x.el: New file.
7888
ebb19708
DA
78892013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7890
7891 Do not set x-display-name until X connection is established.
7892 This is needed to prevent from weird situation described at
7893 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7894 * frame.el (make-frame): Set x-display-name after call to
7895 window system initialization function, not before.
7896 * term/x-win.el (x-initialize-window-system): Add optional
7897 display argument and use it.
7898 * term/w32-win.el (w32-initialize-window-system):
7899 * term/ns-win.el (ns-initialize-window-system):
7900 * term/pc-win.el (msdos-initialize-window-system):
7901 Add compatible optional display argument.
7902
33bb237a
EZ
79032013-04-06 Eli Zaretskii <eliz@gnu.org>
7904
7905 * files.el (normal-backup-enable-predicate): On MS-Windows and
7906 MS-DOS compare truenames of temporary-file-directory and of the
7907 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7908 don't fail comparison by compare-strings. Also, compare file
7909 names case-insensitively on MS-Windows and MS-DOS.
7910
134abf1f
SM
79112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7914 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7915
d695cb94
DG
79162013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7917
e3e7b504
NF
7918 * whitespace.el (whitespace-color-on, whitespace-color-off):
7919 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7920
f4ad7ea1 79212013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7922
7923 * ispell.el (ispell-set-spellchecker-params):
7924 Really set `ispell-args' for all equivs.
7925
632556e4
SM
79262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * ido.el (ido-completions): Use extra elements of ido-decorations
7929 (bug#14143).
7930 (ido-decorations): Update docstring.
7931
2a417372
MA
79322013-04-05 Michael Albinus <michael.albinus@gmx.de>
7933
7934 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7935 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7936 nil during initialization, in order not to miss changes since the
7937 file was opened. (Bug#14140)
7938
fc164b0c
LL
79392013-04-05 Leo Liu <sdl.web@gmail.com>
7940
7941 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7942
0ccecc08
JB
79432013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7944
7945 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7946
51af1aa2
GM
79472013-04-04 Glenn Morris <rgm@gnu.org>
7948
7949 * electric.el (electric-pair-inhibit-predicate): Add :version.
7950
b208ebc6
SM
79512013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7954 when a package is required several times (bug#14082).
7955
f3d3eaf0
RW
79562013-04-04 Roland Winkler <winkler@gnu.org>
7957
7958 * faces.el (read-face-name): Behave as promised by the docstring.
7959 Assume that arg default is a list of faces.
7960 (describe-face): Call read-face-name with list of default faces.
7961
2575da50
TV
79622013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7963
7964 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7965 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7966 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7967 the header.
7968 (bookmark-exit-hook-internal): Save even if list is empty.
7969
397703b4
YH
79702013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7971
7972 * emacs-lisp/package.el (package-pinned-packages): New var.
7973 (package--add-to-archive-contents): Obey it (bug#14118).
7974
691e26ae
AM
79752013-04-03 Alan Mackenzie <acm@muc.de>
7976
8a621d53
JB
7977 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7978 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7979
7980 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7981 parameter `not-in-delimiter'. Handle being inside comment opener.
7982 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7983 character in case we're typing a '*' after a '/'.
7984 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7985 instead by passing the parameter to c-state-pp-to-literal.
7986
7987 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7988 for elt. 7 of a parse state.
7989
4b725a70
PE
79902013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7991
7992 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7993 * international/latin1-disp.el, international/mule-util.el:
7994 * language/cyril-util.el, language/european.el, language/ind-util.el:
7995 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7996 * language/tibetan.el, language/viet-util.el:
7997 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7998
15c579f0
SM
79992013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8002 (electric-pair-post-self-insert-function): Use it.
8003 (electric-pair-default-inhibit): New function, extracted from
8004 electric-pair-post-self-insert-function.
8005
a77e2924
RW
80062013-03-31 Roland Winkler <winkler@gnu.org>
8007
8008 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8009
2bd8a4a8
SM
80102013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8013
8d3655be 80142013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8015
8016 Un-indent after "pass" and "return" statements (Bug#13888)
8017 * progmodes/python.el (python-indent-block-enders): New var.
8018 (python-indent-calculate-indentation): Use it.
8019
8d3655be 80202013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8021
8022 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8023 defun. Defining it as defalias could introduce too eager
8024 byte-compiler optimization. (Bug#14030)
8025
8d3655be 80262013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8027
8028 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8029
0b1619da
LL
80302013-03-30 Leo Liu <sdl.web@gmail.com>
8031
8032 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8033 (kmacro-execute-from-register): Pass the keyboard macro to
8034 kmacro-call-macro or repeating won't work correctly.
8035
0b938190
TZ
80362013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8037
8038 * progmodes/subword.el: Back to using `forward-symbol'.
8039
8040 * subr.el (forward-whitespace, forward-symbol)
8041 (forward-same-syntax): Move from thingatpt.el.
8042
35710234
LL
80432013-03-29 Leo Liu <sdl.web@gmail.com>
8044
8045 * kmacro.el (kmacro-to-register): New command.
8046 (kmacro-execute-from-register): New function.
8047 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8048
efc0bb73
SM
80492013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 * mpc.el: Use defvar-local and setq-local.
8052 (mpc--proc-connect): Connection failures are not bugs.
8053 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8054 (mpc-volume-map): Bind to the up-events.
8055
75a2f981
TZ
80562013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8057
8058 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8059 instead of `forward-symbol'.
8060
17c781d1
SM
80612013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8064 (edebug--recursive-edit): Use it.
8065 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8066 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8067
f67bfbcf
LL
80682013-03-28 Leo Liu <sdl.web@gmail.com>
8069
8070 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8071
b59f639d
EZ
80722013-03-27 Eli Zaretskii <eliz@gnu.org>
8073
8074 * facemenu.el (list-colors-callback): New defvar.
8075 (list-colors-redisplay): New function.
8076 (list-colors-display): Install list-colors-redisplay as the
8077 revert-buffer-function. (Bug#14063)
8078
f557c1b1
SM
80792013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8080
b1da2957
SM
8081 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8082 and suffixes don't overlap (bug#14061).
8083
f557c1b1
SM
8084 * case-table.el: Use lexical-binding.
8085 (case-table-get-table): New function.
8086 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8087
002668e1
TZ
80882013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8089
8090 * progmodes/subword.el: Add `superword-mode' to do word motion
8091 over symbol_words (parallels and leverages `subword-mode' which
8092 does word motion inside MixedCaseWords).
8093
73572c72
AG
80942013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8095
78b8f320 8096 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8097 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8098
69b2c07e
SM
80992013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8100
8101 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8102 Change return value to be a sexp. Delay `get-buffer' to after
8103 restoring the desktop (bug#13951).
8104
08bb5ee2
LL
81052013-03-26 Leo Liu <sdl.web@gmail.com>
8106
8107 * register.el: Move semantic tag handling back to
8108 cedet/semantic/senator.el. (Bug#14052)
8109
8d4c974e
SM
81102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8113 into the prompt either (bug#13963).
8114
b234d92c
SM
81152013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8118 part of "(error-foo)".
8119
ddfa3cb4
JL
81202013-03-24 Juri Linkov <juri@jurta.org>
8121
8122 * replace.el (list-matching-lines-prefix-face): New defcustom.
8123 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8124 `occur-engine' if `face-differs-from-default-p' returns t.
8125 (occur-engine): Add `,' inside backquote construct to evaluate
8126 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8127 Pass `prefix-face' to the functions `occur-context-lines' and
8128 `occur-engine-add-prefix'.
8129 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8130 `prefix-face' and propertize the prefix with `prefix-face'.
8131 (Bug#14017)
8132
7b0e2f85
LL
81332013-03-24 Leo Liu <sdl.web@gmail.com>
8134
8135 * nxml/rng-valid.el (rng-validate-while-idle)
8136 (rng-validate-quick-while-idle): Guard against deleted buffer.
8137 (Bug#13999)
8138
8139 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8140 is the last entry in kill-buffer-hook.
8141
8142 * files.el (kill-buffer-hook): Doc fix.
8143
b3082f49
DG
81442013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8145
b234d92c
SM
8146 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8147 Make it safe-local.
bde73d27 8148
b3082f49
DG
8149 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8150
a320a2db
LL
81512013-03-23 Leo Liu <sdl.web@gmail.com>
8152
7e74b0fb
LL
8153 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8154 Remove.
8155
8156 * nxml/rng-valid.el (rng-validate-mode)
8157 (rng-after-change-function, rng-do-some-validation):
8158 * nxml/rng-maint.el (rng-validate-buffer):
8159 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8160 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8161 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8162 (nxml-extend-after-change-region): Use with-silent-modifications.
8163
a320a2db
LL
8164 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8165 timer-idle-list.
8166
8167 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8168 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8169 timer-idle-list. (Bug#13999)
8170
e38e6780
JL
81712013-03-23 Juri Linkov <juri@jurta.org>
8172
8173 * info.el (info-index-match): New face.
8174 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8175 main pattern and add text properties with the new face to matches
8176 in index entries relative to the beginning of the index entry.
8177 (Bug#14015)
8178
e8cc7880
DE
81792013-03-21 Eric Ludlam <zappo@gnu.org>
8180
8181 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8182 Inhibit read only while inserting objects.
8183
9bb0d822
TZ
81842013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8185
8186 * progmodes/cfengine.el: Update docs to mention
8187 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8188 symbol motion. Remove "_" from the word syntax.
8189
aa703640
TZ
81902013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8191
8192 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8193 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8194
afff09d0
JL
81952013-03-20 Juri Linkov <juri@jurta.org>
8196
8197 * info.el (Info-next-reference-or-link)
8198 (Info-prev-reference-or-link): New functions.
8199 (Info-next-reference, Info-prev-reference): Use them.
8200 (Info-try-follow-nearest-node): Handle footnote navigation.
8201 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8202
9a1ff164
SM
82032013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8206 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8207
2667d15d
PE
82082013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8209
8210 Suppress unnecessary non-ASCII chatter during build process.
8211 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8212 (batch-skkdic-convert): Suppress most of the chatter.
8213 It's not needed so much now that machines are faster,
8214 and its non-ASCII component was confusing; see Dmitry Gutov in
8215 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8216
438b0579
LL
82172013-03-20 Leo Liu <sdl.web@gmail.com>
8218
8219 * ido.el (ido-chop): Fix bug#10994.
8220
c128ab07
DG
82212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8222
8223 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8224 Remove vars.
9a1ff164
SM
8225 (whitespace-color-on, whitespace-color-off):
8226 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8227
0e6008c5
SM
82282013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8231 remapping in mode-line.
8232 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8233
627b52b0
DG
82342013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8235
8236 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8237 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8238 (whitespace-font-lock-keywords): Change description.
8239 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8240 the constructed keywords instead.
8241 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8242
50c3a20b
LL
82432013-03-19 Leo Liu <sdl.web@gmail.com>
8244
8245 * progmodes/compile.el (compilation-display-error): New command.
8246 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8247 C-o. (Bug#13992)
8248
2aa2157b
PE
82492013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8250
8251 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8252
e477dbfa
JD
82532013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8254
8255 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8256
64ab82d1
MA
82572013-03-18 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8260
8261 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8262 * net/tramp-gvfs.el (top):
8263 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8264 (tramp-handle-shell-command): Use it.
8265 (tramp-dissect-file-name): Raise an error when hostname is a
8266 method name, and neither method nor user is specified.
8267
8268 * net/trampver.el: Update release number.
8269
33cef733
LL
82702013-03-18 Leo Liu <sdl.web@gmail.com>
8271
8272 Make sure eldoc can be turned off properly.
8273 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8274 eldoc-mode.
8275 (eldoc-display-message-p): Revert last change.
8276 (eldoc-display-message-no-interference-p)
8277 (eldoc-print-current-symbol-info): Tweak.
8278
2167b7b2
TH
82792013-03-18 Tassilo Horn <tsdh@gnu.org>
8280
8281 * doc-view.el (doc-view-new-window-function): Check the new window
8282 overlay's display property instead the char property of the
8283 buffer's first char. Use `with-selected-window' instead of
8284 `save-window-excursion' with `select-window'.
8285 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8286 display property instead the char property of the buffer's first char.
2167b7b2 8287
982efbcd
PE
82882013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8289
8290 Automate the build of ja-dic.el (Bug#13984).
8291 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8292 from the input, rather than assume that it's been done for us by the
8293 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8294 the current date into a ja-dic.el comment, as that complicates
8295 regression testing.
8296
2fcc7665
SM
82972013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * whitespace.el: Fix double evaluation.
8300 (whitespace-space, whitespace-hspace, whitespace-tab)
8301 (whitespace-newline, whitespace-trailing, whitespace-line)
8302 (whitespace-space-before-tab, whitespace-indentation)
8303 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8304 obsolete defvars.
8305 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8306 (whitespace-color-on): Use a single font-lock-add-keywords call.
8307 Fix double-evaluation of face variables.
8308
67c0a6e6
MA
83092013-03-17 Michael Albinus <michael.albinus@gmx.de>
8310
2fcc7665
SM
8311 * net/tramp-adb.el (tramp-adb-parse-device-names):
8312 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8313 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8314
69489f1d
LL
83152013-03-17 Leo Liu <sdl.web@gmail.com>
8316
8317 Extend eldoc to display info in the mode-line. (Bug#13978)
8318 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8319 (eldoc-mode-line-string): New variable.
8320 (eldoc-minibuffer-message): New function.
8321 (eldoc-message-function): New variable.
8322 (eldoc-message): Use it.
8323 (eldoc-display-message-p)
2fcc7665
SM
8324 (eldoc-display-message-no-interference-p):
8325 Support eldoc-post-insert-mode.
69489f1d
LL
8326
8327 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8328 (eval-expression): Run it.
8329
9c44569e
RW
83302013-03-17 Roland Winkler <winkler@gnu.org>
8331
8332 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8333 strings in the list of return values.
8334
327f1f6f
JB
83352013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8336
8337 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8338 radix before checking for HMS forms.
8339
67ed8fcd
LL
83402013-03-16 Leo Liu <sdl.web@gmail.com>
8341
8342 * progmodes/scheme.el: Add indentation and font-locking for λ.
8343 (Bug#13975)
8344
78be8b64 83452013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8346
8347 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8348 token before point (bug#13942).
8349
78be8b64 83502013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8351
95b43468 8352 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8353
98e775e6
EZ
83542013-03-16 Eli Zaretskii <eliz@gnu.org>
8355
8356 * startup.el (command-line-normalize-file-name): Fix handling of
8357 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8358 <xfq.free@gmail.com> in
8359 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8360
2edd6029
MA
83612013-03-15 Michael Albinus <michael.albinus@gmx.de>
8362
8363 Sync with Tramp 2.2.7.
8364
8365 * net/trampver.el: Update release number.
8366
d35f5864
TH
83672013-03-14 Tassilo Horn <tsdh@gnu.org>
8368
f35ffe5e
TH
8369 * doc-view.el Fix bug#13887.
8370 (doc-view-insert-image): Don't modify overlay associated to
8371 non-live windows, and implement horizontal centering of image in
8372 case it's smaller than the window.
8373 (doc-view-new-window-function): Force redisplay of new windows on
8374 doc-view buffers.
d35f5864 8375
1c4a85ed
KF
83762013-03-13 Karl Fogel <kfogel@red-bean.com>
8377
8378 * saveplace.el (save-place-alist-to-file): Don't sort
8379 `save-place-alist', just pretty-print it (bug#13882).
8380
85b66a21
MA
83812013-03-13 Michael Albinus <michael.albinus@gmx.de>
8382
a020afb9
JB
8383 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8384 Check whether `default-file-name-coding-system' is bound.
8385 It isn't in XEmacs.
85b66a21 8386
175600da
SM
83872013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8388
e7f7cb1a
SM
8389 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8390 backquotes for `obsolete' (bug#13929).
8391
175600da
SM
8392 * international/mule.el (find-auto-coding): Include file name in
8393 obsolescence warning (bug#13922).
8394
ca68a22e
TZ
83952013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8396
8397 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8398 for CFEngine 3-specific indentation.
8399 (cfengine3-indent-line): Use it. Fix up category regex.
8400 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8401
940e5099
SM
84022013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * type-break.el (type-break-file-name):
8405 * textmodes/remember.el (remember-data-file):
8406 * strokes.el (strokes-file):
8407 * shadowfile.el (shadow-initialize):
8408 * saveplace.el (save-place-file):
8409 * ps-bdf.el (bdf-cache-file):
8410 * progmodes/idlwave.el (idlwave-config-directory):
8411 * net/quickurl.el (quickurl-url-file):
8412 * international/kkc.el (kkc-init-file-name):
8413 * ido.el (ido-save-directory-list-file):
8414 * emulation/viper.el (viper-custom-file-name):
8415 * emulation/vip.el (vip-startup-file):
8416 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8417 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8418
cc725808
PE
84192013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8420
8421 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8422 * language/thai-word.el: Switch to UTF-8.
8423
a020afb9 8424See ChangeLog.16 for earlier changes.
e3d51b27
MR
8425
8426;; Local Variables:
8427;; coding: utf-8
e3d51b27
MR
8428;; End:
8429
ab422c4d 8430 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8431
8432 This file is part of GNU Emacs.
8433
8434 GNU Emacs is free software: you can redistribute it and/or modify
8435 it under the terms of the GNU General Public License as published by
8436 the Free Software Foundation, either version 3 of the License, or
8437 (at your option) any later version.
8438
8439 GNU Emacs is distributed in the hope that it will be useful,
8440 but WITHOUT ANY WARRANTY; without even the implied warranty of
8441 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8442 GNU General Public License for more details.
8443
8444 You should have received a copy of the GNU General Public License
8445 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.