lisp/Makefile.in trivia
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
74cf04fb
GM
12013-10-30 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (finder-data, autoloads, update-subdirs)
4 (compile-main, compile-clean, compile-always, bootstrap-clean):
5 Check return value of cd.
6 (compile-calc): Remove.
7
195ee2f0
SM
82013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9
ae4002ce
SM
10 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
11
12 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
13 (byte-compile-and-folded): New function.
14 (=, <, >, <=, >=): Use it.
15
16 * dos-w32.el (minibuffer-history-case-insensitive-variables)
17 (path-separator, null-device, buffer-file-coding-system)
18 (lpr-headers-switches): Check system-type before modifying them.
19 (find-buffer-file-type-coding-system): Mark obsolete.
20 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
21 find-file-not-found-set-buffer-file-coding-system.
22 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
23 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
24 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
25 (w32-direct-print-region-helper, w32-direct-print-region-function)
26 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
27 * startup.el (normal-top-level-add-subdirs-to-load-path):
28 * ps-print.el (ps-print-region-function):
29 * lpr.el (print-region-function): Use new name.
30
53b39e89
SM
31 * subr.el (custom-declare-variable-early): Remove function.
32 (custom-declare-variable-list): Remove var.
33 (error, user-error): Remove `while' loop.
34 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
35 (user-emacs-directory-warning, locate-user-emacs-file):
36 Move to files.el.
37 * simple.el (read-quoted-char-radix, read-quoted-char):
38 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
39 Move from subr.el.
40 * custom.el (custom-declare-variable-list): Don't process
41 custom-declare-variable-list.
42
195ee2f0
SM
43 * progmodes/python.el (python-shell-get-buffer): New function.
44 (python-shell-get-process): Use it.
45 (python-shell-send-string): Always use utf-8 and add a cookie to tell
46 Python which encoding was used. Don't split-string since we only care
47 about the first line. Return the temp-file, if applicable.
48 (python-shell-send-region): Tell compile.el how to turn locations in
49 the temp-file into locations in the source buffer.
50
7e3561ee
SM
512013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
52
4c9797cb
SM
53 * subr.el (undefined): Add missing behavior from the C code for
54 unbound keys.
55
3472b6c6
SM
56 * rect.el: Use lexical-binding. Add new rectangular region support.
57 (rectangle-mark): New command.
58 (rectangle--region): New var.
59 (deactivate-mark-hook): Reset rectangle--region.
60 (rectangle--extract-region, rectangle--insert-for-yank)
61 (rectangle--highlight-for-redisplay)
62 (rectangle--unhighlight-for-redisplay): New functions.
63 (region-extract-function, redisplay-unhighlight-region-function)
64 (redisplay-highlight-region-function): Use them to handle
65 rectangular region.
66 * simple.el (region-extract-function): New var.
67 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
68 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
69 (kill-region): Replace obsolete `yank-handler' arg with `region'.
70 (copy-region-as-kill, kill-ring-save): Add `region' argument.
71 (redisplay-unhighlight-region-function)
72 (redisplay-highlight-region-function): New vars.
73 (redisplay--update-region-highlight): New function.
74 (pre-redisplay-function): Use it.
75 (exchange-point-and-mark): Don't deactivate the mark before
76 reactivate-it anyway.
77 * comint.el (comint-kill-region): Remove yank-handler argument.
78 * delsel.el (delete-backward-char, backward-delete-char-untabify)
79 (delete-char): Remove property, since it's now part of their
80 default behavior.
81 (self-insert-iso): Remove property since this command doesn't exist.
82
7e3561ee
SM
83 * emacs-lisp/package.el (package--download-one-archive)
84 (describe-package-1): Don't query the user about final newline.
85
b9bef71f
DC
862013-10-29 Daniel Colascione <dancol@dancol.org>
87
88 * net/tramp.el (tramp-methods): Document new functionality.
89 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
90 tramp-hostname-checker if method provides one instead of scanning
91 argument list for "%h" to decide hostname acceptability.
92
4efc33f0
MA
932013-10-28 Michael Albinus <michael.albinus@gmx.de>
94
95 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
96 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
97 Handle COPY-CONTENTS. (Bug#15737)
98
ed42a877
DU
992013-10-28 Daiki Ueno <ueno@gnu.org>
100
101 * epa-file.el
7e3561ee
SM
102 (epa-file-cache-passphrase-for-symmetric-encryption):
103 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 104
18c9f8a2
XF
1052013-10-27 Xue Fuqiao <xfq.free@gmail.com>
106
7a4bc7be
XF
107 * image.el (defimage):
108 (image-load-path): Doc fixes.
18c9f8a2 109
b1e8e010
AM
1102013-10-27 Alan Mackenzie <acm@muc.de>
111
112 Indent statements in macros following "##" correctly.
7e3561ee
SM
113 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
114 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 115
73d40d1e 1162013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
117
118 * linum.el (linum-update-window): Fix boundary test (bug#13446).
119
c8c605ac
DG
1202013-10-27 Dmitry Gutov <dgutov@yandex.ru>
121
122 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
123 after `=' is probably a new expression.
124
ca7e59d4
RS
1252013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
126
127 * man.el (man-imenu-title): New option.
128 (Man-mode-map): Add menu. (Bug#15722)
129 (Man-mode): Add imenu to menu.
130
bae91342
DG
1312013-10-26 Dmitry Gutov <dgutov@yandex.ru>
132
133 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
134 specific in what the first arg can be: a non-keyword word,
135 string/regexp/percent literal opener, opening paren, or unary
136 operator followed directly by word.
137
eb89dc14
SM
1382013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
141 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
142 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
143 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
144 Remove vars, they do not apply any more.
145 (prolog-mode-abbrev-table): Remove redundant declaration.
146 (prolog-upper-case-string, prolog-lower-case-string): Remove.
147 (prolog-use-smie): Remove.
148 (prolog-smie-rules): Add indentation rule for the if-then-else layout
149 supported by prolog-electric-if-then-else-flag.
150 (prolog-mode-variables, prolog-menu): Use setq-local.
151 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
152 Remove binding to `Backspace' since this key doesn't exist anyway.
153 Remove bindings for electric self-inserting keys.
154 (prog-mode): Assume it's defined.
155 (prolog-post-self-insert): New function.
156 (prolog-mode): Use it.
157 (prolog-indent-line, prolog-indent-level)
158 (prolog-find-indent-of-matching-paren)
159 (prolog-indentation-level-of-line, prolog-goto-comment-column)
160 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
161 (prolog-goto-next-paren, prolog-in-string-or-comment)
162 (prolog-tokenize, prolog-inside-mline-comment)
163 (prolog-find-start-of-mline-comment): Remove functions.
164 (prolog-find-unmatched-paren, prolog-clause-end)
165 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
166 (prolog-electric--if-then-else): Rename from
167 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
168 (prolog-tokenize-searchkey): Remove const.
169 (prolog-clause-info): Use forward-sexp.
170 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
171 (prolog-electric-if-then-else): Remove commands.
172 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
173 for use in post-self-insert-hook.
174 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
175 for use in post-self-insert-hook.
176 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
177 for use in post-self-insert-hook.
178 (prolog-electric--underscore): Rename from prolog-electric--underscore;
179 adapt it for use in post-self-insert-hook.
180
3dab0a83
MA
1812013-10-25 Michael Albinus <michael.albinus@gmx.de>
182
183 * emacs-lisp/ert.el (ert-run-tests-interactively):
184 Use `completing-read'. (Bug#9756)
185
fbfd0e1d
EZ
1862013-10-25 Eli Zaretskii <eliz@gnu.org>
187
188 * simple.el (line-move): Call line-move-1 instead of
189 line-move-visual when the current window hscroll is zero, but
190 temporary-goal-column indicates we will need to hscroll as result
191 of the movement. (Bug#15712)
192
963ce636
DG
1932013-10-25 Dmitry Gutov <dgutov@yandex.ru>
194
195 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
196 capitalization. Use :visible instead of :active.
197 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
198 commands that are used with SMIE.
199 (ruby-do-end-to-brace): Insert space after `{'.
200
a0be396a
JA
2012013-10-25 John Anthony <john@jo.hnanthony.com>
202
f73754c9
JA
203 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
204
205 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 206
f5bf77df
GM
2072013-10-25 Glenn Morris <rgm@gnu.org>
208
209 * vc/vc.el (vc-print-log): Don't use a working revision unless
210 one was explicitly specified. (Bug#15322)
211
37241f62
SM
2122013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * subr.el (add-to-list): Preserve return value in compiler-macro
215 (bug#15692).
216
6408a65d
RS
2172013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
218
219 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
220 result. Ask user to retry using '-all' flag. (Bug#15701)
221
71e3276b
SM
2222013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/smie.el: New smie-config system.
225 (smie-config): New defcustom.
226 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
227 (smie-config-guess, smie-config-save): New commands.
228 (smie-config--mode-local, smie-config--buffer-local)
229 (smie-config--trace, smie-config--modefuns): New vars.
230 (smie-config--advice, smie-config--mode-hook)
231 (smie-config--setter, smie-config-local, smie-config--get-trace)
232 (smie-config--guess-value, smie-config--guess): New functions.
233 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
234 text properties. Treat "string fence" syntax like string syntax.
235
236 * progmodes/sh-script.el (sh-use-smie): Change default.
237 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
238 (sh-var-value): Simplify by CSE.
239 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
240 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
241 is used.
242 (sh-guess-basic-offset): Use cl-incf.
243 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
244
60db713e
HE
2452013-10-24 Helmut Eller <eller.helmut@gmail.com>
246
247 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
248 (bug#15699).
249
8b251df6
GM
2502013-10-24 Glenn Morris <rgm@gnu.org>
251
252 * Makefile.in (abs_top_srcdir): Remove.
253 (update-subdirs): Use relative path to update-subdirs.
254
6be0e22b
EZ
2552013-10-24 Eli Zaretskii <eliz@gnu.org>
256
257 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
258 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
259 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
260 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 261
50b5b857
MA
2622013-10-24 Michael Albinus <michael.albinus@gmx.de>
263
264 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
265 (ert-test-skipped): New error.
266 (ert-skip, ert-stats-skipped): New defuns.
267 (ert--skip-unless): New macro.
268 (ert-test-skipped): New struct.
269 (ert--run-test-debugger, ert-test-result-type-p)
270 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
271 (ert--stats-set-test-and-result, ert-char-for-test-result)
272 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 273 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 274 Handle skipped tests. (Bug#9803)
50b5b857 275
6f317c2f
GM
2762013-10-24 Glenn Morris <rgm@gnu.org>
277
e43817c1
GM
278 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
279
6f317c2f
GM
280 * Makefile.in (abs_top_srcdir): New, set by configure.
281 (update-subdirs): Correct build-aux location.
282
369bbf71
DG
2832013-10-24 Dmitry Gutov <dgutov@yandex.ru>
284
8297b2cf
DG
285 * vc/vc.el (vc-print-root-log): Always set `default-directory'
286 value, whether we could auto-deduce `backend', or not.
287
369bbf71
DG
288 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
289 with parameters" example. Simplify the "is it block or is it
290 hash" check, but also make it more thorough.
291
d5f1282f
MF
2922013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
293
294 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
295
bc4aaa31
SM
2962013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
297
03d44565
SM
298 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
299 { if it is hanging.
300
bc4aaa31
SM
301 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
302 :before ";".
303
f493ff19
JB
3042013-10-23 Jed Brown <jed@59A2.org> (tiny change)
305
306 * progmodes/compile.el (compilation-directory-matcher)
307 (compilation-page-delimiter):
308 Support GNU Make-4.0 directory quoting. (Bug#15678)
309
c744a3b9
LL
3102013-10-23 Leo Liu <sdl.web@gmail.com>
311
312 * ido.el (ido-tidy): Handle read-only text.
313
b8e3b0a9
GM
3142013-10-23 Glenn Morris <rgm@gnu.org>
315
316 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
317 (emacs, compile, compile-always):
318 Quote entities that might contain whitespace.
319 (custom-deps, finder-data, autoloads): Use abs_lisp.
320 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
321 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
322 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
323
ee4282cd
DG
3242013-10-23 Dmitry Gutov <dgutov@yandex.ru>
325
bc4aaa31
SM
326 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
327 Use `following-char'.
7790a270 328
ee4282cd 3292013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
330
331 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
332 * progmodes/ruby-mode.el (ruby-smie-rules):
333 Remove corresponding workaround. Fix indentation rule of ";" so it
334 also applies when ";" is the parent.
335
d40a46d7
XF
3362013-10-22 Xue Fuqiao <xfq.free@gmail.com>
337
338 * frame.el (display-screens, display-pixel-height)
339 (display-pixel-width, display-mm-width, display-backing-store)
340 (display-save-under, display-planes, display-color-cells)
7790a270
SM
341 (display-visual-class, display-monitor-attributes-list):
342 Mention the optional ‘display’ argument in doc strings.
d40a46d7 343
a0f143c9
MG
3442013-10-22 Michael Gauland <mikelygee@amuri.net>
345
346 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
347 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
348
18cacc39
DG
3492013-10-21 Dmitry Gutov <dgutov@yandex.ru>
350
351 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
352 TODO. Add "." after " @ ".
353 (ruby-smie--at-dot-call): New function. Checks if point at method
354 call with explicit target.
355 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
356 to the method name tokens when it precedes them.
357 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
358 (ruby-smie-rules): Add rule for indentation before and after "."
359 token.
360
df74c4be
SM
3612013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
362
c6dab55f
SM
363 * textmodes/remember.el (remember-diary-extract-entries):
364 Avoid add-to-list.
365
df74c4be
SM
366 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
367 an instruction.
368
8c1ae481
DG
3692013-10-21 Dmitry Gutov <dgutov@yandex.ru>
370
cfef16c0
DG
371 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
372 (ruby-smie--implicit-semi-p): Add new operator chars.
373
8c1ae481
DG
374 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
375 `smie-down-list'.
376 (ruby-smie--args-separator-p): Check that there's no newline
377 between method call and its arguments.
378
87756ca9
AM
3792013-10-20 Alan Mackenzie <acm@muc.de>
380
381 Allow comma separated lists after Java "implements".
382
df74c4be
SM
383 * progmodes/cc-engine.el (c-backward-over-enum-header):
384 Parse commas.
87756ca9
AM
385 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
386 from a "disallowed" list in enum fontification.
387
c25f8957
JB
3882013-10-20 Johan Bockgård <bojohan@gnu.org>
389
df74c4be 390 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 391
c25f8957
JB
392 * progmodes/verilog-mode.el (verilog-mode): Don't set
393 comment-indent-function globally.
394
aca5fcdc
JD
3952013-10-20 Jan Djärv <jan.h.d@swipnet.se>
396
5f161884
JD
397 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
398 Move Info menu item creation to ns-win.el.
399
400 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
401 in menu bar.
402
aca5fcdc
JD
403 * menu-bar.el: Move GNUStep specific menus...
404
405 * term/ns-win.el (ns-initialize-window-system): ... to here.
406
914b7f98
SM
4072013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * simple.el (newline): Only run post-self-insert-hook when
410 called interactively.
411
846ffe77
JB
4122013-10-19 Johan Bockgård <bojohan@gnu.org>
413
414 * icomplete.el (icomplete-with-completion-tables): Add :version.
415
033f22dd
AM
4162013-10-19 Alan Mackenzie <acm@muc.de>
417
418 Fix fontification bugs with constructors and const.
419
420 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
421 CASE 2) Remove the check for the absence of a suffix construct
422 after a function declaration with only types (no identifiers) in
423 the parentheses. Also, accept a function declaration with just a
424 type inside the parentheses, if this type can be positively
425 recognised as such, or if a prefix keyword like "explicit" nails
426 down the construct as a declaration.
427
58ce0cfc
EZ
4282013-10-19 Eli Zaretskii <eliz@gnu.org>
429
430 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
431 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
432 the problem whereby selecting a menu item that leads to a
433 minibuffer prompt moves the cursor out of the minibuffer window,
434 making it hard to type at the prompt. Suggested by Stefan Monnier
435 <monnier@iro.umontreal.ca>.
436
50e28e7d
JD
4372013-10-19 Jan Djärv <jan.h.d@swipnet.se>
438
439 * menu-bar.el: Don't make Services menu.
440
7deed4bf
RS
4412013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
442
443 * ffap.el: Handle "/usr/include/c++/<version>" directories.
444 (ffap-alist): Use ffap-c++-mode for c++-mode.
445 (ffap-c++-path): New variable.
446 (ffap-c++-mode): New function.
447
7bcb455b
JVJ
4482013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
449
450 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
451
f0ff1cd5
MA
4522013-10-18 Michael Albinus <michael.albinus@gmx.de>
453
454 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
455 introduced on 2013-09-08, which results in an infinite loop
456 requesting a password.
457
d64da4b7
GM
4582013-10-18 Glenn Morris <rgm@gnu.org>
459
460 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
461
ea89ff08
WS
4622013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
463
464 Sync with upstream verilog-mode revision 1a6ecec7.
465 * progmodes/verilog-mode.el (verilog-mode-version): Update.
466 (verilog-mode-release-date): Remove.
467 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
468 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
469 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
470 (verilog-auto-tieoff-ignore-regexp)
471 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
472 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
473 (verilog-signals-with, verilog-dir-cache-preserving)
474 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
475 Doc fixes.
476 (verilog-case-fold): New option, to control case folding in
477 regexp searches, bug597.
478 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
479 (verilog-string-match-fold, verilog-in-paren-count)
480 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
481 (verilog-at-close-struct-p): New functions.
482 (verilog-beg-block-re-ordered, verilog-extended-case-re)
483 (verilog-forward-sexp, verilog-set-auto-endcomments):
484 (verilog-leap-to-case-head): Handle "unique0" case.
485 (verilog-in-constraint-re): New constant.
486 (verilog-keywords, verilog-type-font-keywords):
487 Add some SystemVerilog 1800-2012 keywords.
488 (verilog-label-be): Remove unimplemented argument, bug669.
489 (verilog-batch-execute-func): When batch expanding clear
490 create-lockfiles to prevent spurious user locks when a file ends
491 up not changing.
492 (verilog-calculate-indent, verilog-calc-1)
493 (verilog-at-close-constraint-p, verilog-at-constraint-p)
494 (verilog-do-indent): Fix indentation of nested constraints
495 and structures.
496 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
497 (verilog-auto-inst-param): Use verilog-string-match-fold.
498 (verilog-read-inst-module-matcher):
499 Fix AUTOINST on gate primitives with #1.
500 (verilog-read-decls): Fix double-declaring user-defined typed signals.
501 Reads all user-defined typed variables.
502 (verilog-read-defines): Fix reading definitions inside comments, bug647.
503 (verilog-signals-matching-regexp)
504 (verilog-signals-not-matching-regexp, verilog-auto):
505 Respect verilog-case-fold.
506 (verilog-diff-report): Fix line count.
507 (verilog-auto-assign-modport): Remove unused local `modi'.
508 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
509 better handle multidimensional arrays.
510 Fix packed array ports misadding bit index in AUTOINST, bug637.
511 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
512 to not double-declare existing outputs and inputs, respectively.
513 (verilog-template-map): Bind U to verilog-sk-uvm-component.
514 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
515 (verilog-sk-uvm-component): New skeleton.
516 (verilog-submit-bug-report): Add verilog-case-fold,
517 remove verilog-mode-release-date.
518
ef566920
BR
5192013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
520
521 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
522 as before.
523
29df8a0b
RT
5242013-10-18 Reuben Thomas <rrt@sc3d.org>
525
526 * textmodes/remember.el (remember): set buffer-offer-save in
527 remember buffers (bug#13566).
528
04a19a79
DC
5292013-10-18 Daniel Colascione <dancol@dancol.org>
530
531 When evaluating forms in ielm, direct standard output to ielm
532 buffer. Add new ielm-return-for-effect command. Remove trailing
533 whitespace throughout.
534
535 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
536 (ielm-return-for-effect): New command.
537 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
538 (ielm-eval-input): Accept optional `for-effect' parameter.
539 Bind `standard-output' to stream we create using
04a19a79
DC
540 `ielm-standard-output-impl'. Suppress printing result when
541 `for-effect'.
542 (ielm-standard-output-impl): New function.
543 (inferior-emacs-lisp-mode): Explain new features in documentation.
544
4c1f03ef
MA
5452013-10-17 Michael Albinus <michael.albinus@gmx.de>
546
547 Code cleanup.
548
549 * net/tramp.el (tramp-debug-message): Do not check for connection
550 buffer.
551 (tramp-message): Use "vector" connection property.
552
553 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
554 (tramp-equal-remote, tramp-eshell-directory-change)
555 * net/tramp-adb.el (tramp-adb-handle-copy-file)
556 (tramp-adb-handle-rename-file)
557 * net/tramp-cmds.el (tramp-list-remote-buffers)
558 (tramp-cleanup-connection, tramp-cleanup-this-connection)
559 * net/tramp-compat.el (tramp-compat-process-running-p)
560 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
561 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
562 (tramp-gvfs-handle-rename-file)
563 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
564 (tramp-set-file-uid-gid)
565 * net/tramp-smb.el (tramp-smb-handle-copy-file)
566 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
567 of `file-remote-p'.
568
569 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
570 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
571 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
572 (tramp-gw-open-network-stream): Suppress unrelated traces.
573
574 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
575 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
576 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
577 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
578 connection property.
579
580 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 581 persistency file.
4c1f03ef
MA
582
583 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
584 Refactor common code. Improve debug message.
585 (tramp-maybe-open-connection)
586 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
587 connection buffer too early.
588
589 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
590 from `tramp-smb-actions-with-acl'.
591 (tramp-smb-actions-set-acl): New defconst.
592 (tramp-smb-handle-copy-directory)
593 (tramp-smb-action-get-acl): New defun, renamed from
594 `tramp-smb-action-with-acl'.
595 (tramp-smb-action-set-acl): New defun.
596 (tramp-smb-handle-set-file-acl): Rewrite.
597
642eb8b6
GM
5982013-10-17 Glenn Morris <rgm@gnu.org>
599
600 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
601
85527ff3
SM
6022013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
603
921c1d62
SM
604 * skeleton.el (skeleton-newline): Remove.
605 (skeleton-internal-1): Use (insert "\n") instead.
606
e333fb10
SM
607 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
608 let-bindings.
609
85527ff3
SM
610 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
611 forward-sexp-function while we redo its job (bug#15613).
612
c8722a97
JB
6132013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
614
615 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
616 represented by lists.
617
7a550bbb
GM
6182013-10-16 Glenn Morris <rgm@gnu.org>
619
620 * tmm.el (tmm--history): New dynamic variable.
621 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
622
f19da8ad
MA
6232013-10-16 Michael Albinus <michael.albinus@gmx.de>
624
625 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
626 (tramp-smb-errors): Add error messages.
627 (tramp-smb-actions-with-acl): New defconst.
628 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
629 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
630 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
631 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
632 (tramp-smb-get-stat-capability): Fix tests.
633
a24b9961
DK
6342013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
635
636 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
637 (bug#15580).
638
62ad85e6
GM
6392013-10-16 Glenn Morris <rgm@gnu.org>
640
0283d6b0
GM
641 * ansi-color.el (ansi-color-drop-regexp):
642 Add 1J, 1K, 2K. (Bug#15617)
643
012e2f9f
GM
644 * files.el (hack-local-variables--warned-lexical): New.
645 (hack-local-variables):
646 Warn about misplaced lexical-binding. (Bug#15616)
647
62ad85e6
GM
648 * net/eww.el (eww-render): Always set eww-current-url,
649 and update header line. (Bug#15622)
650 (eww-display-html): ... Rather than just doing it here.
651
6456c0ea
EZ
6522013-10-15 Eli Zaretskii <eliz@gnu.org>
653
654 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
655 menu navigations commands.
656
c2de5588
DK
6572013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
658
659 * progmodes/subword.el (subword-capitalize): Be careful when
660 the search for [[:alpha:]] fails (bug#15580).
661
ccd4a783
EZ
6622013-10-14 Eli Zaretskii <eliz@gnu.org>
663
664 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
665 to commands that scroll the menu.
666
1eda1d8d
DG
6672013-10-14 Dmitry Gutov <dgutov@yandex.ru>
668
c2de5588
DK
669 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
670 Handle methods ending with `?' and `!'.
1eda1d8d 671
e70181b8
AM
6722013-10-14 Akinori MUSHA <knu@iDaemons.org>
673
674 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
675 `japanese-cp932' to `cp932' to fix the problem where saving a
676 source file written in Shift_JIS twice would end up having
677 `coding: japanese-cp932' which Ruby could not recognize.
678 (ruby-mode-set-encoding): Add support for encodings mapped to nil
679 in `ruby-encoding-map'.
680 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
681 doesn't need to be explicitly declared in magic comment.
682 (ruby-encoding-map): Add type declaration for better customize UI.
683
9148ee92
GM
6842013-10-13 Glenn Morris <rgm@gnu.org>
685
a5d38e34
GM
686 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
687 Occur buffers are read-only. http://bugs.debian.org/720775
688
9148ee92
GM
689 * emacs-lisp/authors.el (authors-fixed-entries):
690 Comment out old alpha stuff.
691
a9ba094b
DG
6922013-10-13 Dmitry Gutov <dgutov@yandex.ru>
693
694 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
695 to `after-save-hook' instead of `before-save-hook'.
696 (ruby-mode-set-encoding): Use the value of coding system used to
697 write the file. Call `basic-save-buffer-1' after modifying the
698 buffer.
699
7a068717
AM
7002013-10-13 Alan Mackenzie <acm@muc.de>
701
702 Fix indentation/fontification of Java enum with
703 "implements"/generic.
704
c2de5588
DK
705 * progmodes/cc-engine.el (c-backward-over-enum-header):
706 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
707 (c-inside-bracelist-p): Uses new function above.
708 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
709 function above.
710 (c-font-lock-enum-tail): Uses new function above.
711
85b64f02
KH
7122013-10-13 Kenichi Handa <handa@gnu.org>
713
714 * international/mule-cmds.el (select-safe-coding-system): Remove a
715 superfluous condition in chekcing whether a coding system is safe
716 or not.
717
fc7f501b
OK
7182013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
719
720 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
721
fdcb2049
AP
7222013-10-13 Andreas Politz <politza@hochschule-trier.de>
723
724 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
725
8c106d17
GM
7262013-10-13 Glenn Morris <rgm@gnu.org>
727
feab892d
GM
728 * menu-bar.el (menu-bar-update-buffers):
729 Unify Buffers menu prompt string. (Bug#15576)
730
b22d0686
GM
731 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
732
8c106d17
GM
733 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
734 Add some entries.
735 (authors-fixed-entries): Use accented form of name.
736
1b12c797
SM
7372013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
738
650fa7bf 739 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 740 method calls (bug#15594).
650fa7bf
SM
741 (ruby-smie--args-separator-p): New function.
742 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
743 recognize paren-free method calls.
744
1b12c797
SM
745 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
746 internals of universal-argument.
747
029619c8
EZ
7482013-10-11 Eli Zaretskii <eliz@gnu.org>
749
750 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
751 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
752 dropped menu on second mouse click on the menu bar.
029619c8 753
dd070019
SM
7542013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
757 (explicit-shell-file-name): Declare.
758 (sh--vars-before-point, sh--cmd-completion-table): New functions.
759 (sh-completion-at-point-function): New function.
760 (sh-mode): Use it.
761 (sh-smie--keyword-p): Remove unused argument.
762 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
763 vars.
764 (sh-set-shell): Always setup SMIE, even if we use the
765 old indentation code.
766
0922b826
DG
7672013-10-11 Dmitry Gutov <dgutov@yandex.ru>
768
b68e2926
DG
769 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
770 cases of ? and =.
771 (ruby-smie-rules): Simplify the "do" rule. The cases when the
772 predicate would return nil are almost non-existent.
773 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
774
0922b826
DG
775 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
776 cache also after commands that modify the buffer but don't move
777 point.
778
ee041f2d
SM
7792013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * env.el (substitute-env-in-file-name): New function.
782 (substitute-env-vars): Extend the meaning of the optional arg.
783
a5dab159
EZ
7842013-10-10 Eli Zaretskii <eliz@gnu.org>
785
786 * term/w32-win.el (dynamic-library-alist): Define separate lists
787 of GIF DLLs for versions before and after 5.0.0 of giflib.
788 (Bug#15531)
789
db138698
JT
7902013-10-10 João Távora <joaotavora@gmail.com>
791
792 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
793 not locked, use last revision and current source as
794 defaults. (Bug#15569)
795
2f6e161e
MY
7962013-10-10 Masatake YAMATO <yamato@redhat.com>
797
798 * menu-bar.el (menu-bar-open): Don't use popup-menu if
799 menu-bar is hidden.
800
6c8413fc
MR
8012013-10-10 Martin Rudalics <rudalics@gmx.at>
802
803 * window.el (pop-to-buffer-same-window): Fix doc-string.
804 (Bug#15492)
805
20832de0
SM
8062013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
809
c6e8ae77
AC
8102013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
811
812 * calendar/icalendar.el (icalendar-import-file):
813 Fix interactive spec. (Bug#15482)
814
9db13baf
GM
8152013-10-10 Glenn Morris <rgm@gnu.org>
816
9271e90e
GM
817 * desktop.el (desktop-save): Default to saving in .emacs.d,
818 since PWD is no longer in desktop-path by default. (Bug#15319)
819
9db13baf
GM
820 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
821 now that text mode has a menu with the same entry.
822 (menu-bar-text-mode-auto-fill): Remove now unused func.
823 * textmodes/text-mode.el (text-mode-map):
824 Use auto-fill help text from menu-bar.el.
825
a0be396a 8262013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
827
828 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
829
2edcd3c7
JL
8302013-10-09 Juri Linkov <juri@jurta.org>
831
832 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
833 instead of this-command-keys. Add universal-argument-more and
834 universal-argument-minus to the list of prefix commands. (Bug#15568)
835
574411d0
GM
8362013-10-09 Glenn Morris <rgm@gnu.org>
837
14afa541
GM
838 * vc/vc-svn.el (vc-svn-create-repo):
839 Expand paths in file://... url. (Bug#15446)
840
574411d0
GM
841 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
842 Add some entries.
843 (authors): Remove unused local variables.
844
79804536
SM
8452013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * profiler.el: Create a more coherent calltree from partial backtraces.
848 (profiler-format): Hide the tail with `invisible' so that C-s can still
849 find the hidden elements.
850 (profiler-calltree-depth): Don't recurse so enthusiastically.
851 (profiler-function-equal): New hash-table-test.
852 (profiler-calltree-build-unified): New function.
853 (profiler-calltree-build): Use it.
854 (profiler-report-make-name-part): Indent the calltree less.
855 (profiler-report-mode): Add visibility specs for profiler-format.
856 (profiler-report-expand-entry, profiler-report-toggle-entry):
857 Expand the whole subtree when provided with a prefix arg.
858
238150c8
DG
8592013-10-09 Dmitry Gutov <dgutov@yandex.ru>
860
861 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
862 iuwu-mod token.
863 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
864 hanging iuwu-mod token.
865 (ruby-smie--forward-token): Do not include a dot after a token in
866 that token.
867 (ruby-smie--backward-token): Likewise.
868
b0949cc4
JL
8692013-10-08 Juri Linkov <juri@jurta.org>
870
871 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
872 to isearch-other-control-char.
873 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
874 and isearch-post-command-hook to post-command-hook.
875 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
876 and isearch-post-command-hook from post-command-hook.
877 (isearch-unread-key-sequence)
878 (isearch-reread-key-sequence-naturally)
879 (isearch-lookup-scroll-key, isearch-other-control-char)
880 (isearch-other-meta-char): Remove functions.
881 (isearch-pre-command-hook, isearch-post-command-hook):
882 New functions based on isearch-other-meta-char rewritten
883 relying on the new behavior of overriding-terminal-local-map
884 that does not replace the local keymaps any more. (Bug#15200)
885
4ed77415
EZ
8862013-10-08 Eli Zaretskii <eliz@gnu.org>
887
888 Support menus on text-mode terminals.
889 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
890 functionality.
891
892 * tooltip.el (tooltip-mode): Don't error out on TTYs.
893
c2de5588
DK
894 * menu-bar.el (popup-menu, popup-menu-normalize-position):
895 Move here from mouse.el.
4ed77415
EZ
896 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
897 and arrow keys.
898 (tty-menu-navigation-map): New map for TTY menu navigation.
899
900 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
901
902 * frame.el (display-mouse-p): Report text-mode mouse as available
903 on w32.
904 (display-popup-menus-p): Report availability if mouse is
905 available; don't condition on window-system.
906
907 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
908 (tty-menu-selected-face): New faces.
909
b7d5bd82
TL
9102013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
911
06286513
SM
912 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
913 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
914 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
915 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
916 New constants.
917 (lisp-mode-variables): New `elisp' argument.
918 (emacs-lisp-mode): Use it.
919 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
920 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
921
b7d5bd82
TL
922 * indent.el: Use lexical-binding.
923 (indent-region): Add progress reporter.
924 (tab-stop-list): Make it implicitly extend to infinity by repeating the
925 last step.
926 (indent--next-tab-stop): New function to implement this behavior.
927 (tab-to-tab-stop, move-to-tab-stop): Use it.
928
9292013-10-08 Teemu Likonen <tlikonen@iki.fi>
930
931 * indent.el (indent-rigidly--current-indentation): New function.
932 (indent-rigidly-map): New var.
933 (indent-rigidly): Use it to provide interactive mode (bug#8196).
934
5ea75d23
BG
9352013-10-08 Bastien Guerry <bzg@gnu.org>
936
937 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
938
cc5da1ec
SM
9392013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
940
8ffa1a0b
SM
941 * progmodes/perl-mode.el: Use lexical-binding.
942 Remove redundant :group args.
943 (perl-nochange): Change default to be closer to other major modes's
944 standard behavior.
945 (perl-indent-line): Don't consider text on current line as a
946 valid beginning of function from which to indent.
947
f2223371
SM
948 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
949 with more than one argument (bug#15538).
950
44256060
SM
951 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
952
cc5da1ec
SM
953 * vc/pcvs.el: Use lexical-binding.
954 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
955 environment of `eval'.
956 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
957 than a list of expressions. Adjust callers.
958 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
959
0ea1599d
DG
9602013-10-07 Dmitry Gutov <dgutov@yandex.ru>
961
962 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 963 case of the dot in a chained method call being on the following line.
0ea1599d 964
da3e5ebb
SM
9652013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
966
2abb4e65
SM
967 * electric.el (electric-indent-inhibit): New var.
968 (electric-indent-post-self-insert-function): Use it.
969 * progmodes/python.el (python-mode): Set it.
970
d2e0e795
SM
971 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
972 open braces.
973
974 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
975
bdc6b4c8
SM
976 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
977 (css-mode): Use electric-indent-chars.
978
da3e5ebb
SM
979 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
980 (font-lock-beg, font-lock-end): Move before first use.
981 (nxml-mode): Use syntax-propertize-function.
982 (nxml-after-change, nxml-after-change1): Adjust accordingly.
983 (nxml-extend-after-change-region): Remove.
984 * nxml/xmltok.el: Use lexical-binding.
985 (xmltok-save): Use `declare'.
986 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
987 * nxml/nxml-util.el: Use lexical-binding.
988 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
989 Use `declare'.
990 * nxml/nxml-ns.el: Use lexical-binding.
991 (nxml-ns-save): Use `declare'.
992 (nxml-ns-prefixes-for): Avoid add-to-list.
993 * nxml/rng-match.el: Use lexical-binding.
994 (rng--ipattern): Use cl-defstruct.
995 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
996 (rng-cons-group-after, rng-subst-group-after)
997 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
998 Use closures instead of `(lambda...).
999
f8f91d5d
MA
10002013-10-07 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1003 of BEG and END.
1004
da3e5ebb
SM
1005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1006 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1007 (tramp-gvfs-handle-insert-file-contents): Remove function.
1008
da3e5ebb
SM
1009 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1010 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1011
1012 * net/trampver.el: Update release number.
1013
7ccae3b1
SM
10142013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1015
55ca2c0d
SM
1016 * progmodes/compile.el (compilation-parse-errors):
1017 Use compilation--put-prop.
1018 (compilation--ensure-parse): Check compilation-multiline.
1019
731fc3ae
SM
1020 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1021
da3e5ebb
SM
1022 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1023 lexical-binding.
a5833280 1024
2e7ba2c2
SM
1025 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1026
7ccae3b1
SM
1027 * progmodes/ruby-mode.el: Fix recently added tests.
1028 (ruby-smie-grammar): Add - and +.
1029 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1030 (ruby-smie--backward-id): New functions.
1031 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1032 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1033 any more.
1034
85698d63
LL
10352013-10-07 Leo Liu <sdl.web@gmail.com>
1036
1037 * register.el (register-preview-delay)
1038 (register-preview-functions): New variables.
1039 (register-read-with-preview, register-preview)
1040 (register-describe-oneline): New functions.
1041 (point-to-register, window-configuration-to-register)
1042 (frame-configuration-to-register, jump-to-register)
1043 (number-to-register, view-register, insert-register)
1044 (copy-to-register, append-to-register, prepend-to-register)
1045 (copy-rectangle-to-register): Use register-read-with-preview to
1046 read register. (Bug#15525)
1047
3986af6c
DS
10482013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1049
1050 * net/network-stream.el (network-stream-open-starttls): Don't add
1051 --insecure if it's already present, because that gnutls-cli
1052 rejects getting that parameter twice.
1053
5cd9cda9
DG
10542013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1055
1056 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1057 keyword, too.
1058
da9ea6d9
DG
10592013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1060
1061 * newcomment.el (comment-use-global-state): Change default value
1062 to t, mark obsolete (Bug#15251).
1063 (comment-beginning): In addition to `comment-to-syntax', check the
1064 value of `comment-use-global-state'.
1065
34d1a133
SM
10662013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1069 (ruby-comment-column): Follow the global default, by default.
1070 (ruby-smie-grammar): Add assignment syntax.
1071 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1072 open-paren, a comma, or a \.
1073 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1074 and line continuations.
1075 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1076 followed by implicit semi-colons. Add rule for string concatenation
1077 and for indentation at BOB.
1078 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1079
1080 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1081 calling next-sexp, since next-token may have skipped chars which
1082 next-sexp doesn't know should be skipped!
1083
6f6ab820
LL
10842013-10-05 Leo Liu <sdl.web@gmail.com>
1085
34d1a133
SM
1086 * progmodes/octave.el (octave-send-region):
1087 Call compilation-forget-errors.
6f6ab820 1088
34ca0f4c
XF
10892013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1090
1091 * vc/vc-svn.el (vc-svn-find-admin-dir):
1092 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1093 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1094 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1095 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1096
a27c1b72
SM
10972013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1100
258ab3bc
SM
11012013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * subr.el (read-passwd): Hide chars even when called within a context
1104 where after-change-functions is disabled (bug#15501).
1105 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1106 until we removed ourself from overriding-terminal-local-map.
1107
939fb29c
LL
11082013-10-04 Leo Liu <sdl.web@gmail.com>
1109
258ab3bc
SM
1110 * progmodes/octave.el (inferior-octave-mode):
1111 Call compilation-forget-errors.
939fb29c 1112
63bd7f35
XF
11132013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1114
1115 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1116
9e6229fa
MA
11172013-10-04 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * net/secrets.el (secrets-create-collection): Add optional
1120 argument ALIAS. Use proper Label keyword. Append ALIAS as
1121 dbus-call-method argument. (Bug#15516)
1122
1dab32a3
LL
11232013-10-04 Leo Liu <sdl.web@gmail.com>
1124
1125 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1126 (inferior-octave-compilation-font-lock-keywords): New variables.
1127 (compilation-error-regexp-alist)
1128 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1129 (inferior-octave-mode): Use compilation-shell-minor-mode.
1130
6cad7ba3
JS
11312013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1132
1133 * minibuffer.el (completion--replace): Be careful that `end' might be
1134 a marker.
1135
acbadd00
DU
11362013-10-03 Daiki Ueno <ueno@gnu.org>
1137
1138 Add support for package signature checking.
1139 * emacs-lisp/package.el (url-http-file-exists-p)
1140 (epg-make-context, epg-context-set-home-directory)
1141 (epg-verify-string, epg-context-result-for)
1142 (epg-signature-status, epg-signature-to-string)
1143 (epg-check-configuration, epg-configuration)
1144 (epg-import-keys-from-file): Declare.
1145 (package-check-signature): New user option.
1146 (package-unsigned-archives): New user option.
1147 (package-desc): Add `signed' field.
1148 (package-load-descriptor): Set `signed' field if .signed file exists.
1149 (package--archive-file-exists-p): New function.
1150 (package--check-signature): New function.
1151 (package-install-from-archive): Check package signature.
1152 (package--download-one-archive): Check archive signature.
1153 (package-delete): Remove .signed file.
1154 (package-import-keyring): New command.
1155 (package-refresh-contents): Import default keyring.
1156 (package-desc-status): Add "unsigned" status.
1157 (describe-package-1, package-menu--print-info)
1158 (package-menu-mark-delete, package-menu--find-upgrades)
1159 (package-menu--status-predicate): Support "unsigned" status.
1160
adf2aa61
SM
11612013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1164 the new compilation scheme using the new byte-codes.
1165
1166 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1167 (byte-pophandler): New byte codes.
1168 (byte-goto-ops): Adjust accordingly.
1169 (byte-compile--use-old-handlers): New var.
1170 (byte-compile-catch): Use new byte codes depending on
1171 byte-compile--use-old-handlers.
1172 (byte-compile-condition-case--old): Rename from
1173 byte-compile-condition-case.
1174 (byte-compile-condition-case--new): New function.
1175 (byte-compile-condition-case): New function that dispatches depending
1176 on byte-compile--use-old-handlers.
1177 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1178 when we can.
1179
1180 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1181 Optimize under `condition-case' and `catch' if
1182 byte-compile--use-old-handlers is nil.
1183 (disassemble-offset): Handle new bytecodes.
1184
328a8179
SM
11852013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * subr.el (error): Use `declare'.
1188 (decode-char, encode-char): Use advertised-calling-convention instead
1189 of the docstring to discourage use of the `restriction' arg.
1190
15a1e936
DU
11912013-10-03 Daiki Ueno <ueno@gnu.org>
1192
1193 * epg.el (epg-verify-file): Add a comment saying that it does not
1194 notify verification error as a return value nor a signal.
1195 (epg-verify-string): Ditto.
1196
376f862a
KR
11972013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1198
1199 * progmodes/compile.el (compilation-start): Try globbing the arg to
1200 `cd' (bug#15417).
1201
a2f93a5f
MA
12022013-10-02 Michael Albinus <michael.albinus@gmx.de>
1203
1204 Sync with Tramp 2.2.8.
1205
1206 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1207 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1208 * net/trampver.el: Update release number.
1209
0daa0804
JD
12102013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1211
1212 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1213 and default-process-coding-system for darwin only.
1214
abd1ae34
SM
12152013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1218
be4e325d
MH
12192013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1220
1221 * vc/vc-git.el (vc-git-grep): Disable pager.
1222
e9155c4a
DG
12232013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1224
494e898b
DG
1225 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1226 Use :url instead of :homepage, as per
1227 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1228
e9155c4a
DG
1229 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1230 non-nil, use `syntax-ppss' (Bug#15251).
1231
481a8e0f
RS
12322013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1233
be4e325d
MH
1234 * progmodes/octave.el (inferior-octave-startup-file):
1235 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1236
056453c6
DG
12372013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1238
be4e325d
MH
1239 * emacs-lisp/package.el (package-desc-from-define):
1240 Accept additional arguments as plist, convert them to an alist and store
1241 them in the `extras' slot.
056453c6
DG
1242 (package-generate-description-file): Convert extras alist back to
1243 plist and append to the `define-package' form arguments.
1244 (package--alist-to-plist): New function.
1245 (package--ac-desc): Add `extras' slot.
1246 (package--add-to-archive-contents): Check if the archive-contents
1247 vector is long enough, and if it is, pass its `extras' slot value
1248 to `package-desc-create'.
1249 (package-buffer-info): Call `lm-homepage', pass the returned value
1250 to `package-desc-from-define'.
1251 (describe-package-1): Render the homepage button (Bug#13291).
1252
be4e325d
MH
1253 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1254 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1255
832966e5
JD
12562013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1257
1258 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1259 and default-process-coding-system to utf-8-unix (Bug#15402).
1260
6cfe977d
XF
12612013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1262
1263 * subr.el (looking-back): Do not recommend using looking-back.
1264
38de11bd
AM
12652013-09-28 Alan Mackenzie <acm@muc.de>
1266
1267 Fix indentation/fontification of Java enum with "implements".
1268
1269 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1270 regexp which matches "implements", etc., in Java.
1271 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1272 specifier clauses coming after "enum".
1273 * progmodes/cc-fonts.el (c-font-lock-declarations)
1274 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1275 after "enum".
1276
1610938f
JD
12772013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1278
1279 * faces.el (region): Change ns_selection_color to
1280 ns_selection_fg_color, add ns_selection_bg_color.
1281
e090f499
LL
12822013-09-28 Leo Liu <sdl.web@gmail.com>
1283
4d2e94d1
LL
1284 * progmodes/octave.el (inferior-octave-completion-table)
1285 (inferior-octave-completion-at-point): Minor tweaks.
1286
e090f499
LL
1287 * textmodes/ispell.el (ispell-lookup-words): Rename from
1288 lookup-words. (Bug#15460)
1289 (lookup-words): Obsolete.
1290 (ispell-complete-word, ispell-command-loop): All uses changed.
1291
7e138a62
RS
12922013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1293
1294 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1295 (octave-mode-menu): Add octave-send-buffer.
1296 (octave-send-buffer): New function.
1297
5af5ed08
RS
12982013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1299
1300 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1301 octave-lookfor.
1302 (octave-mode-menu): Add octave-lookfor.
1303 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1304 octave-lookfor.
1305 (octave-lookfor): New function.
1306
3b7b2692
SM
13072013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * emacs-lisp/cl-macs.el:
1310 (cl--loop-destr-temps): Remove.
1311 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1312 its convention.
1313 (cl--loop-set-iterator-function): New function.
1314 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1315 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1316 Bind `it' with `let' instead of substituting it with `cl-subst'.
1317 (cl--unused-var-p): New function.
1318 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1319 Eliminate some unused variable warnings (bug#15326).
1320
529fb53f
TH
13212013-09-27 Tassilo Horn <tsdh@gnu.org>
1322
1323 * doc-view.el (doc-view-scale-reset): Rename from
1324 `doc-view-reset-zoom-level'.
1325 (doc-view-scale-adjust): New command.
1326 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1327 `doc-view-scale-adjust'.
1328
0550c95a
TH
13292013-09-26 Tassilo Horn <tsdh@gnu.org>
1330
1331 * doc-view.el (doc-view-reset-zoom-level): New command.
1332 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1333 zoom commands (bug#15466).
1334
6950f152
KH
13352013-09-26 Kenichi Handa <handa@gnu.org>
1336
1337 * international/quail.el (quail-help): Make it not a command.
1338
39587580
LL
13392013-09-26 Leo Liu <sdl.web@gmail.com>
1340
1341 * minibuffer.el (completion-all-sorted-completions): Make args
1342 optional as they are.
1343
00578659
DC
13442013-09-25 Daniel Colascione <dancol@dancol.org>
1345
1346 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1347 specs are and that they're not evaluated.
1348
0c173878
SS
13492013-09-24 Sam Steingold <sds@gnu.org>
1350
1351 * midnight.el (clean-buffer-list-kill-regexps)
1352 (clean-buffer-list-kill-buffer-names): Update for the new Man
1353 buffer naming which includes the object name.
1354
84998447
SM
13552013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1358 (eshell-parse-command, eshell-parse-pipeline): Use it since
1359 eshell-separate-commands requires a dynamic scoped var.
1360 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1361
33215353
LL
13622013-09-23 Leo Liu <sdl.web@gmail.com>
1363
1364 * autoinsert.el (auto-insert-alist): Make the value of
1365 lexical-binding match its file setting.
1366
57b16162
JB
13672013-09-23 Juanma Barranquero <lekktu@gmail.com>
1368
c8af4e67
JB
1369 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1370
57b16162
JB
1371 * autoarg.el (autoarg-kp-digit-argument):
1372 * electric.el (Electric-command-loop):
1373 * kmacro.el (kmacro-step-edit-insert):
1374 Do not set universal-argument-num-events.
1375
7186ba60
LL
13762013-09-22 Leo Liu <sdl.web@gmail.com>
1377
1378 * files.el (interpreter-mode-alist): Add octave.
1379
ece15004
AM
13802013-09-21 Alan Mackenzie <acm@muc.de>
1381
1382 C++: fontify identifier in declaration following "public:" correctly.
1383 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1384 to match "public", etc.
1385 (c-decl-prefix-re): Add ":" into the C++ value.
1386 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1387 bit. Add a check for a ":" preceded by "public", etc.
1388
75d83e22
EZ
13892013-09-21 Eli Zaretskii <eliz@gnu.org>
1390
1391 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1392 recognized by GDB 7.5 and later.
1393
d052d3bd
XF
13942013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1395
1396 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1397
31dca772
R
13982013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * subr.el (internal--call-interactively): New const.
1401 (called-interactively-p): Use it (bug#3984).
1402
98ccf24e
XF
14032013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1404
1405 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1406 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1407 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1408
c39cc7d1
SM
14092013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1412 (eshell-ls-orig-insert-directory): Remove.
1413 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1414 (eshell-ls-use-in-dired): Use advice-add/remove.
1415 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1416 Add `orig-fun' arg for use in :around advice.
1417 Make it check (redundantly) eshell-ls-use-in-dired.
1418
9a0289a2
GM
14192013-09-19 Glenn Morris <rgm@gnu.org>
1420
a2c501b8
GM
1421 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1422
c440407a
GM
1423 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1424
9a0289a2
GM
1425 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1426
85e05915
MA
14272013-09-19 Michael Albinus <michael.albinus@gmx.de>
1428
1429 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1430 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1431 (tramp-get-remote-python): New defuns.
1432 (tramp-get-remote-uid-with-perl)
1433 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1434 contributed by yary <not.com@gmail.com> (tiny change).
1435 (tramp-get-remote-uid-with-python)
1436 (tramp-get-remote-gid-with-python): New defuns. Python code
1437 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1438 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1439
ce503312
GM
14402013-09-19 Glenn Morris <rgm@gnu.org>
1441
f7544773
GM
1442 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1443
72fd2877
GM
1444 * eshell/em-unix.el (eshell-remove-entries):
1445 Rename argument to avoid name-clash with global `top-level'.
1446
336b5a56
GM
1447 * eshell/esh-proc.el (eshell-kill-process-function):
1448 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1449 (eshell-reset-after-proc): Remove unused arg `proc'.
1450
57a3a53d
GM
1451 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1452 (directory-files-and-attributes): Mark unused arg.
1453
3261d4af
GM
1454 * eshell/em-unix.el (eshell-remove-entries):
1455 Remove unused arg `path'. Update callers.
1456
8e51b5d0
GM
1457 * eshell/em-hist.el (eshell-hist-parse-arguments):
1458 Remove unused arg `silent'. Update callers.
1459
ce503312
GM
1460 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1461 Fix (f)boundp mix-up.
1462
1463 * eshell/em-smart.el (eshell-smart-scroll-window)
1464 (eshell-disable-after-change):
336b5a56 1465 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1466
ee3ce8a7
AM
14672013-09-18 Alan Mackenzie <acm@muc.de>
1468
1469 Fix fontification of type when followed by "const".
1470 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1471 "known" types from fontification.
1472
ec9177ba
GM
14732013-09-18 Glenn Morris <rgm@gnu.org>
1474
7bb3e768
GM
1475 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1476 (chart-face-list): Drop Emacsen without display-color-p.
1477
5148da15
GM
1478 * net/eww.el (libxml-parse-html-region): Declare.
1479 (eww-display-html): Explicit error if no libxml2 support.
1480
2f68e157
GM
1481 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1482
9019d095
GM
1483 * image.el (image-type-from-buffer, image-multi-frame-p):
1484 Remove --without-x warning/error.
67645389 1485
5f30349b 1486 * mouse.el (mouse-yank-primary):
45069b2e 1487 * term.el (term-mouse-paste):
5f30349b
GM
1488 Reorder to silence --without-x compilation.
1489
cd8edbbe
GM
1490 * mpc.el (doc-view-mode): Silence --without-x compilation.
1491
8a78544e
GM
1492 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1493 Silence --without-x compilation.
1494
12679bfd
GM
1495 * progmodes/gud.el (gud-find-file, gud-mode):
1496 Silence --without-x compilation.
1497 (tooltip-mode): Declare.
30810a05 1498
f0047cb9
GM
1499 * wdired.el (dired-backup-overwrite): Remove declaration.
1500 (wdired-mode-map): Add doc string.
1501
e740f9d2
GM
1502 * custom.el (x-get-resource): Declare.
1503
92d77c89
GM
1504 * eshell/em-glob.el (ange-cache):
1505 * eshell/em-unix.el (ange-cache): Declare.
1506
76e69577
GM
1507 * faces.el (x-display-list, x-open-connection, x-get-resource):
1508 Declare.
7e58af4b
GM
1509
1510 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1511 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1512 Declare.
76e69577 1513
4bd4c0af 1514 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1515
ffb82dbd
GM
1516 * net/gnutls.el (gnutls-log-level): Declare.
1517
986ed135
GM
1518 * net/shr.el (image-size, image-animate): Declare.
1519
e740f9d2
GM
1520 * simple.el (font-info): Declare.
1521
d2f3e9f8
GM
1522 * subr.el (x-popup-dialog): Declare.
1523
047a1a4c
GM
1524 * term/common-win.el (x-select-enable-primary)
1525 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1526 Declare.
1527
f4a1d572
GM
1528 * term/ns-win.el (x-handle-args): Declare.
1529
e843de77
GM
1530 * term/x-win.el (x-select-enable-clipboard): Declare.
1531
5fa89513
GM
1532 * term/w32-win.el (create-default-fontset): Declare.
1533
38702b5b
GM
1534 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1535 Declare.
1536
e740f9d2
GM
1537 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1538 (fit-frame-to-buffer): Explicit error if --without-x.
1539 (mouse-autoselect-window-select): Silence compiler.
1540
49a053fc
GM
1541 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1542
1543 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1544 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1545 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1546 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1547 Remove unused local variables.
1548
1549 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1550
ec9177ba
GM
1551 * textmodes/two-column.el: Make 2C-split work for --without-x.
1552 (scroll-bar-columns): Autoload.
1553 (top-level): Require fringe when compiling.
1554
9f25cb77
LL
15552013-09-18 Leo Liu <sdl.web@gmail.com>
1556
1557 * subr.el (add-hook): Robustify to handle closure as well.
1558
2b42da98
GM
15592013-09-17 Glenn Morris <rgm@gnu.org>
1560
1561 * simple.el (messages-buffer-mode-map): Unbind "g".
1562
e8b66a6a
SM
15632013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1564
9c0ad4f7
SM
1565 * help-mode.el (help-mode-finish): Use derived-mode-p.
1566 Remove obsolete highlighting.
1567
7a806dfb
SM
1568 * play/life.el (life-mode): Use define-derived-mode. Derive from
1569 special-mode.
1570 (life): Let-bind inhibit-read-only.
1571 (life-setup): Avoid `setq'. Use `life-mode'.
1572
96dbf5a8
SM
1573 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1574 which should not be needed any more.
1575 (package-menu-refresh, package-menu-describe-package): Use user-error.
1576
e8b66a6a
SM
1577 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1578 (eshell-post-rewrite-command-hook): Make obsolete.
1579 (eshell-parse-command): Simplify.
1580 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1581 (eshell--cmd): Declare.
1582 (eshell-parse-pipeline): Remove unused var `final-p'.
1583 Pass a dynvar to eshell-post-rewrite-command-hook.
1584 Implement the new eshell-post-rewrite-command-function.
1585 (eshell-invoke-directly): Remove unused arg `input'.
1586 * eshell/esh-io.el (eshell-io-initialize):
1587 Use eshell-post-rewrite-command-function (bug#15399).
1588 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1589 adjust to new calling convention.
1590 (eshell-create-handles): Rename args to avoid clashing with dynvar
1591 `standard-output'.
1592
90582f05
GM
15932013-09-17 Glenn Morris <rgm@gnu.org>
1594
1595 * simple.el (messages-buffer-mode): New major mode.
1596 (messages-buffer): New function.
1597 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1598 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1599 (ert-run-test): Use `messages-buffer' function.
90582f05 1600 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1601 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1602 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1603
39eb0cb5 16042013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1605
1606 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1607
1f1e06e2
SM
1608 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1609
70568a90
SM
16102013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1611
504a0381
SM
1612 * icomplete.el (icomplete-in-buffer): New var.
1613 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1614 vars and replace them with functions.
1615 (icomplete-minibuffer-setup): Adjust accordingly.
1616 (icomplete--completion-table, icomplete--completion-predicate)
1617 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1618 New functions.
1619 (icomplete-forward-completions, icomplete-backward-completions)
1620 (icomplete-simple-completing-p, icomplete-exhibit)
1621 (icomplete-completions): Use them.
1622 (icomplete--in-region-buffer): New var.
1623 (icomplete--in-region-setup): New function.
1624 (icomplete-mode): Use it.
1625
70568a90
SM
1626 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1627 (bug#15379).
1628 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1629 return args and options.
1630 (eshell-eval-using-options): Use the new return value of
1631 eshell--do-opts to set the options's vars in their scope.
1632 (eshell--set-option): Rename from eshell-set-option.
1633 Add arg `opt-vals'.
1634 (eshell--process-option): Rename from eshell-process-option.
1635 Add arg `opt-vals'.
1636 (eshell--process-args): Use an `opt-vals' alist to store the options's
1637 values during their processing and return them additionally to the
1638 remaining args.
1639
578c21bc
DG
16402013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1641
1642 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1643 continuation character an operator, as far as indentation is
1644 concerned (Bug#15369).
1645
c089653d
MR
16462013-09-15 Martin Rudalics <rudalics@gmx.at>
1647
1648 * window.el (window--state-put-2): Don't process buffer state
1649 when buffer doesn't exist any more (Bug#15382).
1650
1e53bb4b
GM
16512013-09-15 Glenn Morris <rgm@gnu.org>
1652
30753242
GM
1653 * eshell/em-unix.el (eshell/rm):
1654 Make -f ignore missing files. (Bug#15373)
1655
1e53bb4b
GM
1656 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1657 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1658 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1659
0d8863b3
GM
16602013-09-14 Glenn Morris <rgm@gnu.org>
1661
1662 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1663
d3fc6549
GM
16642013-09-13 Glenn Morris <rgm@gnu.org>
1665
1666 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1667 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1668
fcd42c11
DA
16692013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1670
1671 * frame.el (x-focus-frame): Mark as declared in frame.c.
1672
7830899f
SM
16732013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * ls-lisp.el: Use advice-add.
1676 (original-insert-directory): Remove.
1677 (ls-lisp--insert-directory): Rename from insert-directory; add
1678 `orig-fun' argument.
1679 (insert-directory): Advise.
1680
84387cd2
EZ
16812013-09-13 Eli Zaretskii <eliz@gnu.org>
1682
1683 * term.el (term-emulate-terminal): Decode the command string
1684 before passing it to term-command-hook. (Bug#15337)
1685
35ffc6ba
GM
16862013-09-13 Glenn Morris <rgm@gnu.org>
1687
5c3f9bcc
GM
1688 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1689
2ada368a
GM
1690 * eshell/esh-ext.el (eshell-search-path): Declare.
1691
fcef2e13
GM
1692 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1693 Otherwise an error occurs if eshell-dirs module not loaded.
1694
35ffc6ba
GM
1695 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1696
35c3d36e
MA
16972013-09-13 Michael Albinus <michael.albinus@gmx.de>
1698
1699 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1700 `tramp-check-proper-host'. Check for a valid method name.
1701
1702 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1703 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1704 * net/tramp-sh.el (tramp-maybe-open-connection):
1705 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1706
1707 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1708 also for hash values.
1709
ae5e4c48
SM
17102013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1711
379add74
SM
1712 * term/ns-win.el (parameters): Don't declare as dynamic.
1713 (before-make-frame-hook): Don't add ineffective function.
1714
ae5e4c48
SM
1715 * eshell/*.el: Use lexical-binding (bug#15231).
1716
b5623270
KH
17172013-09-12 Kenichi Handa <handa@gnu.org>
1718
ae5e4c48 1719 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1720
30213927
GM
17212013-09-12 Glenn Morris <rgm@gnu.org>
1722
be94d713 1723 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1724 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1725
44915370
GM
1726 * subr.el (do-after-load-evaluation): Also give compiler warnings
1727 when obsolete files are used (except by obsolete files).
1728
a6ae021f
GM
1729 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1730 in the status output, assume `filename' is the first. (Bug#15322)
1731
40e64f0c
GM
1732 * vc/vc.el (vc-deduce-fileset): Doc fix.
1733
16d9f896
GM
1734 * calc/calc-help.el (Info-goto-node):
1735 * progmodes/cperl-mode.el (Info-find-node):
1736 * vc/ediff.el (Info-goto-node): Update declarations.
1737
dea01c6e
GM
1738 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1739
759880bf 1740 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1741 (vc-bzr-pull): Require vc-dispatcher.
1742 * vc/vc-git.el (vc-compilation-mode): Declare.
1743 (vc-git-pull): Require vc-dispatcher.
1744
08d66420
GM
1745 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1746
30b626e9
GM
1747 * progmodes/octave.el (help-button-action): Declare.
1748
8c05cb10
GM
1749 * shell.el (shell-directory-tracker): Output error as a message
1750 rather than just returning it as a string.
1751 (shell-process-pushd): Remove useless use of message.
1752
30213927
GM
1753 * dframe.el (dframe-timer-fn):
1754 * files.el (dir-locals-read-from-file):
1755 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1756 (mpc-format):
1757 * reveal.el (reveal-post-command):
1758 * saveplace.el (load-save-place-alist-from-file):
1759 * shell.el (shell-resync-dirs):
1760 * w32-common-fns.el (x-get-selection-value):
1761 * emacs-lisp/copyright.el (copyright-find-copyright):
1762 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1763 * emulation/tpu-edt.el (tpu-copy-keyfile):
1764 * play/bubbles.el (bubbles--mark-neighbourhood):
1765 * progmodes/executable.el
1766 (executable-make-buffer-file-executable-if-script-p):
1767 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1768
d3b049e6
SM
17692013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1770
170266d0
SM
1771 Cleanup Eshell to rely less on dynamic scoping.
1772 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1773 last-value, and ext-command here. Bind `args' closer to `body'.
1774 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1775 (eshell--args): Declare new dynamic var.
1776 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1777 last-value, and ext-command. Pass `args' to `body'.
1778 (eshell-process-args): Bind eshell--args.
1779 (eshell-set-option): Use eshell--args.
1780 * eshell/eshell.el (eshell): Use derived-mode-p.
1781 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1782 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1783 (eshell-glob-function): Declare.
1784 * eshell/esh-util.el: Require cl-lib.
1785 (eshell-read-hosts-file): Avoid add-to-list.
1786 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1787 `err'.
1788 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1789 Declare.
1790 (eshell/diff): Remove unused var `err'.
1791 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1792 `killflag'.
1793 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1794 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1795 first use.
1796 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1797 Move declaration before first use.
1798 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1799 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1800 rely on cl-return.
1801
56834f3b
GM
18022013-09-12 Glenn Morris <rgm@gnu.org>
1803
1804 * term/ns-win.el (global-map): Remove binding for ispell-next,
1805 deleted 1999-05-29. (Bug#15357)
1806
5c91a2b8
GM
18072013-09-11 Glenn Morris <rgm@gnu.org>
1808
da712f22
GM
1809 * echistory.el (electric-command-history): Remove call to deleted func.
1810
512e4cdc
GM
1811 * play/landmark.el (landmark-mode): Fix typos.
1812
d3506ca5
GM
1813 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1814 Check cvs-sort-ignore-file is bound.
1815
5c91a2b8
GM
1816 * savehist.el: No need for cl when compiling on Emacs.
1817
feeff482
SM
18182013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1819
656bd483
SM
1820 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1821 (bug#15338).
d3b049e6
SM
1822 (eshell-self-insert-command, eshell-send-invisible):
1823 Remove unused argument.
656bd483
SM
1824 (eshell-handle-control-codes): Remove unused var `orig'.
1825 Avoid delete-backward-char.
1826
feeff482
SM
1827 * files.el (set-auto-mode): Simplify a bit further.
1828
2a08047a
GM
18292013-09-11 Glenn Morris <rgm@gnu.org>
1830
1831 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1832 (set-auto-mode): Don't regexp-quote elements.
1833 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1834 * progmodes/cc-mode.el (interpreter-mode-alist):
1835 * progmodes/ruby-mode.el (interpreter-mode-alist):
1836 Revert previous change.
1837
34675540
SM
18382013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1b3b87df
SM
1840 * play/snake.el (snake-mode):
1841 * play/mpuz.el (mpuz-mode):
1842 * play/landmark.el (lm-mode):
1843 * play/blackbox.el (blackbox-mode):
1844 * play/5x5.el (5x5-mode):
1845 * obsolete/options.el (Edit-options-mode):
1846 * net/quickurl.el (quickurl-list-mode):
1847 * net/newst-treeview.el (newsticker-treeview-mode):
1848 * mail/rmailsum.el (rmail-summary-mode):
1849 * mail/mspools.el (mspools-mode):
1850 * locate.el (locate-mode):
1851 * ibuffer.el (ibuffer-mode):
1852 * emulation/ws-mode.el (wordstar-mode):
1853 * emacs-lisp/debug.el (debugger-mode):
1854 * array.el (array-mode):
1855 * net/eudc.el (eudc-mode): Use define-derived-mode.
1856 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1857 Move initialization into declaration.
1858 (mairix-searches-mode): Use define-derived-mode.
1859 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1860 (eudc-edit-hotlist): Use dolist.
1861 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1862 (Man-mode): Use define-derived-mode.
1863 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1864 (Info-edit-mode): Use define-derived-mode.
1865 (Info-cease-edit): Use Info-mode.
1866 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1867 into declaration.
1868 (eshell-mode): Use define-derived-mode.
1869 * chistory.el (command-history-mode-map): Rename from
1870 command-history-map.
1871 (command-history-mode): Use define-derived-mode.
da712f22 1872 (Command-history-setup): Remove function.
1b3b87df
SM
1873 * calc/calc.el (calc-trail-mode-map): New var.
1874 (calc-trail-mode): Use define-derived-mode.
1875 (calc-trail-buffer): Set calc-main-buffer manually.
1876 * bookmark.el (bookmark-insert-annotation): New function.
1877 (bookmark-edit-annotation): Use it.
1878 (bookmark-edit-annotation-mode): Make it a proper major mode.
1879 (bookmark-send-edited-annotation): Use derived-mode-p.
1880 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1881 closer to its ideal place. Use \' to match EOS.
1882
34675540
SM
1883 * profiler.el (profiler-calltree-find): Use function-equal.
1884
6a5c15d9
GM
18852013-09-10 Glenn Morris <rgm@gnu.org>
1886
1af4c220
GM
1887 * files.el (interpreter-mode-alist): Convert to regexps.
1888 (set-auto-mode): Adapt for this. (Bug#15306)
1889 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1890 Comment out unused variable.
1891 * progmodes/cc-mode.el (interpreter-mode-alist):
1892 * progmodes/python.el (interpreter-mode-alist):
1893 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1894 * progmodes/sh-script.el (sh-set-shell):
1895 No longer use interpreter-mode-alist to get list of shells.
1896
6a5c15d9
GM
1897 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1898
8c27f5ff
SM
18992013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1900
02ef6c1a 1901 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1902 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1903 Bind switch-frame explicitly. Replace universal-argument-minus with
1904 a conditional binding.
1905 (universal-argument-num-events, saved-overriding-map): Remove.
1906 (restore-overriding-map): Remove.
1907 (universal-argument--mode): Rename from save&set-overriding-map,
1908 and rewrite.
1909 (universal-argument, universal-argument-more, negative-argument)
1910 (digit-argument): Adjust accordingly.
1911 (universal-argument-minus): Remove.
1912 (universal-argument-other-key): Remove.
1913
8c27f5ff
SM
1914 * subr.el (with-demoted-errors): Add `format' argument.
1915
6480194c
MA
19162013-09-10 Michael Albinus <michael.albinus@gmx.de>
1917
1918 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1919 `tramp-cleanup-connection'.
1920
1921 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1922 parameters KEEP-DEBUG and KEEP-PASSWORD.
1923
1924 * net/tramp.el (tramp-file-name-handler):
1925 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1926 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1927 (tramp-maybe-open-connection):
8c27f5ff
SM
1928 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1929 Use `tramp-cleanup-connection'.
6480194c 1930
8c27f5ff
SM
1931 * net/tramp-sh.el (tramp-maybe-open-connection):
1932 Catch 'uname-changed inside the progress reporter.
6480194c 1933
e5e916d8
GM
19342013-09-10 Glenn Morris <rgm@gnu.org>
1935
9a2c9b47
GM
1936 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1937
e5e916d8
GM
1938 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1939 returns "alternate access method" in mode (eg "-rw-r--r--.").
1940
144e38fe
GM
19412013-09-08 Glenn Morris <rgm@gnu.org>
1942
1943 * saveplace.el (load-save-place-alist-from-file):
1944 Demote errors. (Bug#15305)
1945
af9ff9e8
MA
19462013-09-08 Michael Albinus <michael.albinus@gmx.de>
1947
1948 Improve compatibility with older Emacsen, and XEmacs.
1949
1950 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1951 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1952 (with-tramp-progress-reporter): Do not let-bind `result'.
1953 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1954 (tramp-handle-make-auto-save-file-name): New function, moved from
1955 tramp-sh.el.
1956
1957 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1958 for `make-auto-save-file-name'.
8c27f5ff
SM
1959 (tramp-adb--gnu-switches-to-ash):
1960 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1961
1962 * net/tramp-cache.el (tramp-cache-print): Call
1963 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1964
1965 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1966 bound. It isn't for XEmacs.
1967
8c27f5ff
SM
1968 * net/tramp-compat.el (tramp-compat-copy-file):
1969 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1970 (tramp-compat-replace-regexp-in-string): New defun.
1971
1972 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1973 for `make-auto-save-file-name'.
1974 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1975 `copy-file'.
1976 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1977 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1978 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1979
8c27f5ff
SM
1980 * net/tramp-gw.el (tramp-gw-open-network-stream):
1981 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1982
8c27f5ff
SM
1983 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1984 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1985 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1986 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1987 (tramp-sh-file-inotifywait-process-filter):
1988 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1989 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1990
1991 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1992 for `make-auto-save-file-name'.
8c27f5ff
SM
1993 (tramp-smb-handle-copy-directory):
1994 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1995 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1996 (tramp-smb-handle-copy-file): Improve error message.
1997 (tramp-smb-handle-rename-file): Rename directly only in case
1998 `newname' does not exist yet. This is a restriction of smbclient.
1999 (tramp-smb-maybe-open-connection): Rerun the function only when
2000 `auth-sources' is non-nil.
2001
0ca754d0
KH
20022013-09-08 Kenichi Handa <handa@gnu.org>
2003
2004 * international/characters.el: Set category "^" (Combining) for
2005 more characters.
2006
e8dd0787
AM
20072013-09-07 Alan Mackenzie <acm@muc.de>
2008
2009 Correctly fontify Java class constructors.
2010 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2011 in Java Mode.
2012 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2013 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2014 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2015 "typeless" declaration there.
2016
f2f248e7
RW
20172013-09-07 Roland Winkler <winkler@gnu.org>
2018
2019 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2020 field subtitle for entry type book.
2021
67982e2b
SM
20222013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * minibuffer.el: Make minibuffer-complete call completion-in-region
2025 rather than other way around.
2026 (completion--some, completion-pcm--find-all-completions):
2027 Don't delay signals when debugging.
2028 (minibuffer-completion-contents): Beware fields within the
2029 minibuffer contents.
2030 (completion-all-sorted-completions): Use defvar-local.
2031 (completion--do-completion, completion--cache-all-sorted-completions)
2032 (completion-all-sorted-completions, minibuffer-force-complete):
2033 Add args `beg' and `end'.
2034 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2035 (minibuffer-complete): Use completion-in-region.
2036 (completion-complete-and-exit): New fun, extracted from
2037 minibuffer-complete-and-exit.
2038 (minibuffer-complete-and-exit): Use it.
2039 (completion--complete-and-exit): Rename from
2040 minibuffer--complete-and-exit.
2041 (completion-in-region--single-word): New function, extracted from
2042 minibuffer-complete-word.
2043 (minibuffer-complete-word): Use it.
2044 (display-completion-list): Make `common-substring' argument obsolete.
2045 (completion--in-region): Call completion--in-region-1 instead of
2046 minibuffer-complete.
2047 (completion-help-at-point): Pass boundaries to
2048 minibuffer-completion-help as args rather than via an overlay.
2049 (completion-pcm--string->pattern): Use `any-delim'.
2050 (completion-pcm--optimize-pattern): New function.
2051 (completion-pcm--pattern->regex): Handle `any-delim'.
2052 * icomplete.el (icomplete-forward-completions)
2053 (icomplete-backward-completions, icomplete-completions):
2054 Adjust calls to completion-all-sorted-completions and
2055 completion--cache-all-sorted-completions.
2056 (icomplete-with-completion-tables): Default to t.
2057 * emacs-lisp/crm.el (crm--current-element): Rename from
2058 crm--select-current-element. Don't put an overlay but return the
2059 boundaries instead.
2060 (crm--completion-command): Take two new args to bind to the boundaries.
2061 (crm-completion-help): Adjust accordingly.
2062 (crm-complete): Use completion-in-region.
2063 (crm-complete-word): Use completion-in-region--single-word.
2064 (crm-complete-and-exit): Use completion-complete-and-exit.
2065
e17d94a5
SM
20662013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2069 than dynamically.
2070
96727100
JL
20712013-09-06 Juri Linkov <juri@jurta.org>
2072
2073 * info.el (Info-display-images-node): When image file doesn't exist
2074 display text version of the image if it's provided in the Info file.
2075 Otherwise, display the location of missing image from SRC attribute.
2076 Add help-echo text property from ALT attribute. (Bug#15279)
2077
86cf7329
SM
20782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2081 (edit-abbrevs-mode): Use define-derived-mode.
2082
2083 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2084 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2085 that it's defined.
2086 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2087 Use define-derived-mode.
2088
2089 * epg.el (epg-start-encrypt): Minor CSE simplification.
2090
816244a2
WX
20912013-09-06 William Xu <william.xwl@gmail.com>
2092
2093 * arc-mode.el: Add support for 7za (bug#15264).
2094 (archive-7z-program): New var.
2095 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2096 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2097 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2098
1486fa31
MA
20992013-09-06 Michael Albinus <michael.albinus@gmx.de>
2100
2101 Remove URL syntax.
2102
2103 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2104 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2105 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2106 (tramp-postfix-host-format, tramp-file-name-regexp)
2107 (tramp-completion-file-name-regexp)
2108 (tramp-completion-dissect-file-name)
2109 (tramp-handle-substitute-in-file-name): Remove 'url case.
2110 (tramp-file-name-regexp-url)
2111 (tramp-completion-file-name-regexp-url): Remove constants.
2112
39785324
GM
21132013-09-06 Glenn Morris <rgm@gnu.org>
2114
2115 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2116
1f896cb7
DG
21172013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2118
2119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2120 keywords" below "here-doc beginnings" (Bug#15270).
2121
c0458e0b
SM
21222013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * subr.el (pop): Use `car-safe'.
2125 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2126 to detect unused `pop' return value.
2127
2128 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2129 var `block-regexp'.
2130 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2131 (python-fill-string): Remove unused var `marker'.
2132 (python-skeleton-add-menu-items): Remove unused var `items'.
2133
2134 * international/mule-cmds.el: Require CL.
2135 (find-coding-systems-for-charsets): Avoid add-to-list.
2136 (sanitize-coding-system-list): New function, extracted from
2137 select-safe-coding-system-interactively.
2138 (select-safe-coding-system-interactively): Use it.
2139 (read-input-method-name): Accept symbols for `default'.
2140
2141 * emacs-lisp/advice.el (defadvice): Add indent rule.
2142
6c42fc3e
DH
21432013-09-05 Daniel Hackney <dan@haxney.org>
2144
2145 * dired-x.el:
2146 * net/ange-ftp.el:
2147 * net/browse-url.el:
2148 * net/dbus.el:
2149 * net/eudc.el:
2150 * net/eudcb-ldap.el:
2151 * net/eww.el:
2152 * net/imap.el:
2153 * printing.el:
2154 * vc/ediff-diff.el:
2155 * vc/ediff-init.el:
2156 * vc/ediff-merg.el:
2157 * vc/ediff-mult.el:
2158 * vc/ediff-util.el:
2159 * vc/ediff-wind.el:
2160 * vc/ediff.el:
2161 * vc/emerge.el:
2162 * vc/pcvs.el:
2163 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2164 byte compiler. Remove some unused let-bound variables.
2165
4c528aab
SM
21662013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2169 a "ref-cell", since it gets better optimized (bug#14883).
2170
bd15c390
GM
21712013-09-05 Glenn Morris <rgm@gnu.org>
2172
2173 * progmodes/cc-awk.el (c-forward-sws): Declare.
2174
1c3ac2e5
GM
21752013-09-04 Glenn Morris <rgm@gnu.org>
2176
2177 * generic-x.el [rul-generic-mode]: Require cc-mode.
2178 (c++-mode-syntax-table): Declare.
2179 (rul-generic-mode-syntax-table): Init in the defvar.
2180
52b1cc79
SM
21812013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2182
c828af56
SM
2183 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2184 (vc-do-command, vc-set-async-update):
2185 * vc/vc-mtn.el (vc-mtn-dir-status):
2186 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2187 (vc-hg-pull, vc-hg-merge-branch):
2188 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2189 (vc-git-merge-branch):
2190 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2191 (vc-cvs-dir-status-files):
2192 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2193 (vc-bzr-dir-status-files):
2194 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2195 * vc/vc-annotate.el: Use lexical-binding.
2196 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2197 (vc-sentinel-movepoint): Declare.
2198 (vc-annotate): Don't use `goto-line'.
2199 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2200 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2201 (vc-sentinel-movepoint): Declare.
2202 * vc/vc-svn.el: Use lexical-binding.
2203 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2204 * vc/vc-sccs.el:
2205 * vc/vc-rcs.el: Use lexical-binding.
2206
abae272c
SM
2207 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2208 `deleted'. Don't drop errors silently.
2209
52b1cc79
SM
2210 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2211
63191d9f
XF
22122013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2213
2214 * vc/vc.el (vc-ignore): Rewrite.
2215 (vc-default-ignore): New function.
2216 (vc-default-ignore-completion-table): Use find-ignore-file.
2217
2218 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2219 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2220 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2221 Remove. Most code moved to vc.el.
2222
9d3f707c
SM
22232013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2224
abae272c 2225 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2226 * net/tramp-smb.el (tramp-smb-get-file-entries):
2227 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2228 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2229
fde38d49
SM
2230 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2231 Update call to it.
2232 (eww-change-select): Remove unused var `properties'.
2233 (eww-make-unique-file-name): Remove unused var `base'.
2234
2235 * finder.el (finder-compile-keywords): Don't mess with windows.
2236
84032db7
SM
2237 * calculator.el (calculator-funcall): Fix typo in last change.
2238
724f5e41
SM
2239 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2240
14b511d4
SM
2241 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2242 <pkg>-autoloads.el file stop us.
2243
9d3f707c 2244 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2245 warnings, and factor out common code.
9d3f707c 2246
88527bc0
DG
22472013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2248
2249 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2250 two-character operators and whether the character preceding them
2251 changes their meaning (Bug#15208).
2252
96edb677
FEG
22532013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2254
2255 Format code sent to Python shell for robustness.
9d3f707c
SM
2256 * progmodes/python.el (python-shell-buffer-substring):
2257 New function.
96edb677
FEG
2258 (python-shell-send-region, python-shell-send-buffer): Use it.
2259
95beaef3
MA
22602013-09-02 Michael Albinus <michael.albinus@gmx.de>
2261
2262 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2263 * net/tramp.el (tramp-user-error): ... here.
2264 (tramp-find-method, tramp-check-proper-host)
2265 (tramp-dissect-file-name, tramp-debug-message)
2266 (tramp-handle-shell-command):
2267 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2268 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2269
2270 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2271
f167c27b
MR
22722013-09-02 Martin Rudalics <rudalics@gmx.at>
2273
2274 * avoid.el (mouse-avoidance-point-position)
2275 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2276 returns nil.
2277
cd16c5f1
FEG
22782013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2279
2280 * progmodes/python.el (python-shell-completion-get-completions):
2281 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2282 (python-nav-if-name-main): New command.
cd16c5f1 2283
e73c3a0d
GM
22842013-09-01 Glenn Morris <rgm@gnu.org>
2285
f8ccce03
GM
2286 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2287 Avoid leading space in $wins. Otherwise the sed command used by
2288 eg compile-main ends up containing "/*.el". (Bug#15170)
2289
e73c3a0d
GM
2290 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2291
415f808e
GM
22922013-08-30 Glenn Morris <rgm@gnu.org>
2293
2294 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2295 Fix is-this-a-directory logic. (Bug#15220)
2296
f069bba8
SM
22972013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2298
112798c1
SM
2299 * textmodes/css-mode.el: Use SMIE.
2300 (css-smie-grammar): New var.
2301 (css-smie--forward-token, css-smie--backward-token)
2302 (css-smie-rules): New functions.
2303 (css-mode): Use them.
2304 (css-navigation-syntax-table): Remove var.
2305 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2306 (css-indent-calculate, css-indent-line): Remove functions.
2307
2308 Misc changes to reduce use of `(lambda...); and other cleanups.
2309 * cus-edit.el: Use lexical-binding.
2310 (customize-push-and-save, customize-apropos)
2311 (custom-buffer-create-internal): Use closures.
2312 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2313 * progmodes/ada-xref.el: Use setq.
2314 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2315 * dframe.el: Use lexical-binding.
2316 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2317 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2318 * descr-text.el: Use lexical-binding.
2319 (describe-text-widget, describe-text-sexp, describe-property-list):
2320 Use closures.
2321 * comint.el (comint-history-isearch-push-state): Use a closure.
2322 * calculator.el: Use lexical-binding.
2323 (calculator-number-to-string): Make it work with lexical-binding.
2324 (calculator-funcall): Same and use cl-letf.
2325
2da4c3ab
SM
2326 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2327 (lisp--company-doc-string, lisp--company-location): New functions.
2328 (lisp-completion-at-point): Use them to improve Company support.
2329
f069bba8
SM
2330 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2331 params of lambda expressions.
2332 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2333 (ruby-smie--opening-pipe-p): New function.
2334 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2335 symbols and matched |...| for formal params.
2336 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2337 from being treated as hanging. Handle "rescue".
2338
6758b6a8
GM
23392013-08-29 Glenn Morris <rgm@gnu.org>
2340
2341 * progmodes/cc-engine.el (c-pull-open-brace):
2342 Move definition before use.
2343
e8dfd197
SM
23442013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2347 are immutable. Don't use `unsafe' any more.
2348 (cl--defsubst-expand): Don't substitute at the same time as keeping
2349 a residual unused let-binding. Don't use `unsafe' any more.
2350
cc585c96
GM
23512013-08-29 Glenn Morris <rgm@gnu.org>
2352
ba579ea6
GM
2353 * calendar/cal-china.el (calendar-chinese-year-cache):
2354 Recenter on 2015.
2355
8201a87e
GM
2356 * nxml/nxml-util.el (nxml-debug-clear-inside):
2357 Use cl-loop rather than loop.
2358
6ee877c7
GM
2359 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2360
cc585c96
GM
2361 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2362
27be8d39
GM
23632013-08-28 Glenn Morris <rgm@gnu.org>
2364
397440a1
GM
2365 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2366
2bb762d4
GM
2367 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2368
27be8d39
GM
2369 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2370
2d69b99e
SM
23712013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2372
f663baa7
SM
2373 * simple.el (repeat-complex-command--called-interactively-skip):
2374 New function.
2375 (repeat-complex-command): Use it (bug#14136).
2376
dd4f8b74
SM
2377 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2378 (c-define-abbrev-table): Add `doc' argument.
2379 (c-mode-abbrev-table, c++-mode-abbrev-table)
2380 (objc-mode-abbrev-table, java-mode-abbrev-table)
2381 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2382 (awk-mode-abbrev-table): Use it.
2383 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2384 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2385 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2386 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2387 Move initialization into the declaration; and remove any
2388 autoload cookie.
2389
b58969f7
SM
2390 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2391 and dynamic let binding.
2392
4021d6a6
SM
2393 * vc/smerge-mode.el: Remove redundant :group args.
2394
2d69b99e
SM
2395 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2396 to load-path.
2397
274919fd
JL
23982013-08-28 Juri Linkov <juri@jurta.org>
2399
2400 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2401 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2402 (isearch-other-meta-char): Handle an undefined shifted printing
2403 character by downshifting it. (Bug#15200)
2404
121f8c95
JL
24052013-08-28 Juri Linkov <juri@jurta.org>
2406
2407 * isearch.el (isearch-search): Change regexp error message for
2408 non-regexp searches. (Bug#15166)
2409
50b13cde
PE
24102013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2411
2412 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2413 for portability to hosts where /bin/sh has problems.
2414
95888bca
SM
24152013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2418
bbe558f1
JL
24192013-08-27 Juri Linkov <juri@jurta.org>
2420
2421 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2422 in the keyboard macro. (Bug#15126)
2423
26f98a7d
JL
24242013-08-27 Juri Linkov <juri@jurta.org>
2425
2426 * isearch.el (isearch-quote-char): Comment out converting unibyte
2427 to multibyte, thus syncing with its `quoted-insert' counterpart.
2428 (Bug#15166)
2429
7c97d35e
MR
24302013-08-27 Martin Rudalics <rudalics@gmx.at>
2431
2432 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2433 argument in call of get-largest-window (Bug#15185).
2434 Reported by Stephen Leake.
7c97d35e 2435
a0b5606e 24362013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2437
2438 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2439
9e89d835
SM
24402013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2443 from a matcher-function unless there's no more matches (bug#15161).
2444
78fc2530
MA
24452013-08-26 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * minibuffer.el: Revert change from 2013-08-20.
2448
2449 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2450 with text property `tramp-default', if appropriate.
2451 (tramp-check-proper-host): New defun.
2452 (tramp-dissect-file-name): Do not check hostname. Revert change
2453 of 2013-03-18.
2454 (tramp-backtrace): Make VEC-OR-PROC optional.
2455
2456 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2457 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2458 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2459 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2460 Apply `tramp-check-proper-host'.
78fc2530 2461
edca97cd
TH
24622013-08-26 Tassilo Horn <tsdh@gnu.org>
2463
2464 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2465 lambda expression in order to have `describe-variable' display it.
2466
df54bcbd
MA
24672013-08-26 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2470 BUF can be optional. (Bug#15186)
2471
eed99101
XF
24722013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2473
2474 * progmodes/flymake.el (flymake-get-real-file-name-function):
2475 Fix broken customization. (Bug#15184)
2476
b5eb9035
AM
24772013-08-25 Alan Mackenzie <acm@muc.de>
2478
8a51e842
AM
2479 Improve indentation of bracelists defined by macros (without "=").
2480
2481 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2482 expansion begins with "{", regard it as bracelist when it doesn't
2483 contain a ";".
2484
869455d4
AM
2485 Parse C++ inher-intro when there's a template split over 2 lines.
2486
2487 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2488 rigorously the search for "class" etc. followed by ":".
2489
2490 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2491 random languages a regexp which never matches rather than nil.
2492
b5eb9035
AM
2493 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2494
2495 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2496 (c-awk-regexp-one-line-possibly-open-char-list-re)
2497 (c-awk-one-line-possibly-open-regexp-re)
2498 (c-awk-one-line-non-syn-ws*-re): Remove.
2499 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2500 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2501 (c-awk-space*-unclosed-regexp-/-re): New constants.
2502 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2503 aren't regexp delimiters.
2504
2505 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2506 handling for a rare situation in AWK Mode involving unterminated
2507 strings/regexps.
2508
61611d54
GM
25092013-08-23 Glenn Morris <rgm@gnu.org>
2510
2d85dc34
GM
2511 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2512
cb8d2612
GM
2513 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2514
bb35f42f
GM
2515 * files.el (create-file-buffer): If the result would begin with
2516 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2517
b9808e77
SM
25182013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2519
e3a66363
SM
2520 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2521 text-properties (bug#15155).
2522
b9808e77
SM
2523 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2524 exist any more.
2525 (calc-keypad-redraw): Remove unused var `pad'.
2526 (calc-keypad-press): Remove unused var `menu'.
2527
7fd5f65e
MR
25282013-08-23 Martin Rudalics <rudalics@gmx.at>
2529
b9808e77
SM
2530 * window.el (display-buffer-pop-up-frame):
2531 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2532 use it as the new frame's buffer (Bug#15133).
2533
8352b530
SM
25342013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * calendar/timeclock.el: Minor cleanups.
2537 (timeclock-ask-before-exiting, timeclock-use-display-time):
2538 Use `symbol'.
2539 (timeclock-modeline-display): Define as alias before the
2540 actual definition.
2541 (timeclock-mode-line-display): Use define-minor-mode.
2542 (timeclock-day-list-template): Make it a function, add an argument.
2543 (timeclock-day-list-required, timeclock-day-list-length)
2544 (timeclock-day-list-debt, timeclock-day-list-span)
2545 (timeclock-day-list-break): Adjust calls accordingly.
2546
9f7b1925
SM
25472013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2550 Use read--expression so that completion works again.
2551
6e50e983
SS
25522013-08-21 Sam Steingold <sds@gnu.org>
2553
2554 Add rudimentary inferior shell interaction
2555 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2556 (sh-set-shell): Reset it.
9f7b1925
SM
2557 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2558 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2559
dbb0d350
SM
25602013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * align.el: Use lexical-binding.
2563 (align-region): Simplify accordingly.
2564
c88586a9
MA
25652013-08-20 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2568
2569 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2570 `non-essential' up.
2571
f95527c8
MA
25722013-08-17 Michael Albinus <michael.albinus@gmx.de>
2573
2574 * net/tramp.el:
2575 * net/tramp-adb.el:
2576 * net/tramp-cmds.el:
2577 * net/tramp-ftp.el:
2578 * net/tramp-gvfs.el:
2579 * net/tramp-gw.el:
2580 * net/tramp-sh.el: Don't wrap external variable declarations by
2581 `eval-when-compile'.
2582
4b5fe4ee
LMI
25832013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2584
2585 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2586 now that Emacs supports ImageMagick animations.
2587
13c366c9
MA
25882013-08-16 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2591 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2592
3dfc5cd6
MR
25932013-08-16 Martin Rudalics <rudalics@gmx.at>
2594
2595 * window.el (mouse-autoselect-window-select): Do autoselect when
2596 mouse pointer is on margin.
2597
4bbb4381
WP
25982013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2599
2600 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2601
3a2ddc2d
GM
26022013-08-16 Glenn Morris <rgm@gnu.org>
2603
e8bedf5a
GM
2604 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2605 Handle "Remote Directory" response of some clients. (Bug#15058)
2606
58c4682f
GM
2607 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2608 Tweak warning. (Bug#14926)
2609
57953f49
GM
2610 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2611 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2612
3a2ddc2d
GM
2613 * image-mode.el (image-mode-map): Add menu items to reverse,
2614 increase, decrease, reset animation speed.
2615 (image--set-speed, image-increase-speed, image-decrease-speed)
2616 (image-reverse-speed, image-reset-speed): New functions.
2617 (image-mode-map): Add bindings for speed commands.
2618
2619 * image.el (image-animate-get-speed, image-animate-set-speed):
2620 New functions.
2621 (image-animate-timeout): Respect image :speed property.
2622
10fa0ed3
SM
26232013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2626 previous line (bug#15101).
2627 (debugger-eval-expression, debugger-record-expression):
2628 Use read--expression (bug#15102).
2629
5d89d9d2
MA
26302013-08-15 Michael Albinus <michael.albinus@gmx.de>
2631
2632 Remove byte compiler warnings, visible when compiling with
2633 `byte-compile-force-lexical-warnings' set to t.
2634
2635 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2636 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2637 (tramp-handle-unhandled-file-name-directory)
2638 (tramp-handle-file-notify-add-watch, tramp-action-login)
2639 (tramp-action-succeed, tramp-action-permission-denied)
2640 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2641 arguments with "_".
2642
2643 * net/tramp-adb.el (tramp-adb-parse-device-names)
2644 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2645 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2646 (tramp-adb-handle-file-truename): Remove unused arguments.
2647
2648 * net/tramp-cache.el (tramp-flush-directory-property)
2649 (tramp-flush-connection-property, tramp-list-connections)
2650 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2651
10fa0ed3
SM
2652 * net/tramp-compat.el (tramp-compat-make-temp-file):
2653 Rename FILENAME to F.
5d89d9d2
MA
2654
2655 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2656 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2657 (tramp-zeroconf-parse-workstation-device-names)
2658 (tramp-zeroconf-parse-webdav-device-names)
2659 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2660
2661 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2662 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2663
2664 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2665 arguments.
2666 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2667 (tramp-sh-handle-insert-file-contents-literally)
2668 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2669 with "_".
2670 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2671 Remove unused variables.
2672
2673 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2674 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2675 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2676
2677 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2678 Make them a defconst.
2679 (tramp-uuencode-region): Remove unused variable.
2680
62f33bae
JB
26812013-08-14 Juanma Barranquero <lekktu@gmail.com>
2682
2683 * frameset.el (frameset--prop-setter): New function.
2684 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2685 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2686 parameter was already set in FILTERED. Doc fix.
2687 (frameset--record-minibuffer-relationships): Allow saving a
2688 minibufferless frame without its corresponding minibuffer frame.
2689 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2690 frame, if the frame id matches.
2691 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2692 frames before orphaned ones.
2693 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2694
c660a885
MR
26952013-08-14 Martin Rudalics <rudalics@gmx.at>
2696
2697 * window.el (window-make-atom): Don't overwrite parameter
2698 already present.
2699 (display-buffer-in-atom-window): Handle special case where we
2700 split an already atomic window.
2701 (window--major-non-side-window, display-buffer-in-side-window)
2702 (window--side-check): Ignore minibuffer window when walking
2703 window tree.
2704 (window-deletable-p): Return 'frame only if no other frame uses
2705 our minibuffer window.
2706 (record-window-buffer): Run buffer-list-update-hook.
2707 (split-window): Make sure window--check-frame won't destroy an
2708 existing atomic window in case the new window gets nested
2709 inside.
2710 (display-buffer-at-bottom): Ignore minibuffer window when
2711 walking window tree. Don't split a side window.
2712 (pop-to-buffer): Don't set-buffer here, the select-window call
2713 should do that.
2714 (mouse-autoselect-window-select): Autoselect only if we are in the
2715 text portion of the window.
2716
8259030d
LMI
27172013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2718
21c58ae2
LMI
2719 * net/shr.el (shr-parse-image-data): New function to grab both the
2720 data itself and the Content-Type.
2721 (shr-put-image): Use it.
2722
2723 * net/eww.el (eww-display-image): Ditto.
2724
8259030d
LMI
2725 * image.el (image-content-type-suffixes): New variable.
2726
ad756449
FEG
27272013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2728
2729 * progmodes/python.el (python-imenu--build-tree)
2730 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2731
f73f4ce6
XF
27322013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2733
2734 * simple.el (backward-word): Mention the optional argument.
2735
1f585e65
SM
27362013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * frameset.el (frameset--make): Rename constructor from make-frameset.
2739 (frameset-p, frameset-valid-p): Don't autoload.
2740 (frameset-valid-p): Use normal accessors.
2741
af1c6c84
GM
27422013-08-13 Glenn Morris <rgm@gnu.org>
2743
55e47f95
GM
2744 * progmodes/compile.el (compile-command): Tweak example in doc.
2745 * obsolete/scribe.el (scribe-mode):
2746 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2747
f0024d8c
GM
2748 * mail/feedmail.el (feedmail-confirm-outgoing)
2749 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2750
2751 * cus-start.el (truncate-partial-width-windows): Fix type.
2752
2753 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2754
af1c6c84
GM
2755 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2756
5514cc4c
SM
27572013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * emacs-lisp/timer.el (timer--time-setter): New function.
2760 (timer--time): Use it as gv-setter.
2761
2762 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2763 setter is not a symbol.
2764
7997a2f1
GJ
27652013-08-12 Grégoire Jadi <daimrod@gmail.com>
2766
2767 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2768 if sending fails. This makes debugging easier.
2769
01f1a9ab
JB
27702013-08-12 Juanma Barranquero <lekktu@gmail.com>
2771
2772 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2773 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2774 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2775
594a4307
EZ
27762013-08-12 Eli Zaretskii <eliz@gnu.org>
2777
2778 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2779
7a22490f 27802013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2781
2782 * format.el (format-annotate-function):
2783 Handle read-only text properties in the source. (Bug#14887)
2784
3e41a054
LMI
27852013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786
5514cc4c
SM
2787 * net/eww.el (eww-display-html): Ignore coding system errors.
2788 One web site uses "utf-8lias" as the coding system.
3e41a054 2789
7ec326db
JB
27902013-08-11 Juanma Barranquero <lekktu@gmail.com>
2791
2792 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2793
5660113b
JB
27942013-08-10 Juanma Barranquero <lekktu@gmail.com>
2795
9a4ebc74
JB
2796 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2797 (tutorial--detailed-help): Remove unused local variables.
2798 (tutorial--save-tutorial-to): Use ignore-errors.
2799 (help-with-tutorial): Use looking-at-p.
2800
2801 * view.el (view-buffer-other-window, view-buffer-other-frame):
2802 Mark unused arguments.
2803
2804 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2805 (woman-select-symbol-fonts, woman, woman-find-file)
2806 (woman-insert-file-contents, woman-non-underline-faces):
2807 Use string-match-p.
2808 (woman1-unquote): Move declaration.
2809
2810 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2811 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2812 argument. Remove unused local variable.
2813 (xml-parse-elem-type): Use string-match-p.
2814 (xml-substitute-numeric-entities): Use ignore-errors.
2815
45fdb482
JB
2816 * calculator.el (calculator): Mark unused argument.
2817 (calculator-paste, calculator-quit, calculator-integer-p):
2818 Use ignore-errors.
2819 (calculator-string-to-number, calculator-decimal, calculator-exp)
2820 (calculator-op-or-exp): Use string-match-p.
2821
2822 * dired.el (dired-buffer-more-recently-used-p): Declare.
2823 (dired-insert-set-properties, dired-insert-old-subdirs):
2824 Use ignore-errors.
2825
2826 * dired-aux.el (dired-compress): Use ignore-errors.
2827 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2828 (dired-do-async-shell-command, dired-do-shell-command)
2829 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2830 (dired-insert-subdir-validate): Use string-match-p.
2831 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2832 (dired-add-entry): Use string-match-p, looking-at-p.
2833 (dired-insert-subdir-newpos): Remove unused local variable.
2834
2835 * filenotify.el (file-notify-callback): Remove unused local variable.
2836
2837 * filesets.el (filesets-error): Mark unused argument.
2838 (filesets-which-command-p, filesets-filter-dir-names)
2839 (filesets-directory-files, filesets-get-external-viewer)
2840 (filesets-ingroup-get-data): Use string-match-p.
2841
2842 * find-file.el (ff-other-file-name, ff-other-file-name)
2843 (ff-find-the-other-file, ff-cc-hh-converter):
2844 Remove unused local variables.
2845 (ff-get-file-name): Use string-match-p.
2846 (ff-all-dirs-under): Use ignore-errors.
2847
2848 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2849 (follow-select-if-visible): Remove unused local variable.
2850
2851 * forms.el (read-file-filter): Move declaration.
2852 (forms--make-format, forms--make-parser, forms-insert-record):
2853 Quote function with #'.
2854 (forms--update): Use string-match-p. Quote function with #'.
2855
2856 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2857 (help-make-xrefs): Use looking-at-p.
2858 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2859
2860 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2861 (ibuffer-confirm-operation-on): Use string-match-p.
2862
2863 * msb.el (msb-item-handler, msb-dired-item-handler):
2864 Mark unused arguments.
2865
2866 * ses.el (ses-decode-cell-symbol)
2867 (ses-kill-override): Remove unused local variable.
2868 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2869 (ses-load): Use ignore-errors, looking-at-p.
2870 (ses-jump-safe): Use ignore-errors.
2871 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2872
2873 * tabify.el (untabify, tabify): Mark unused arguments.
2874
2875 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2876 Mark unused argument.
2877 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2878 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2879
c880af52
JB
2880 * emacs-lisp/timer.el (timer--time): Define setter with
2881 gv-define-setter to avoid deprecation warning.
2882
5660113b 2883 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2884 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2885 (cmpl-statistics-block): Remove (body was commented out).
2886 All callers changed.
2887 (add-completions-from-buffer, load-completions-from-file):
2888 Remove unused variables.
2889
156aab80
JB
28902013-08-09 Juanma Barranquero <lekktu@gmail.com>
2891
5c5dee78
JB
2892 * filecache.el (file-cache-delete-file-list):
2893 Print message only when told so.
2894 (file-cache-files-matching): Use #' in mapconcat argument.
2895
156aab80
JB
2896 * ffap.el (ffap-url-at-point): Fix reference to variable
2897 thing-at-point-default-mail-uri-scheme.
2898
ad9dcd70
SM
28992013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2900
54bd972f
SM
2901 * subr.el (define-error): New function.
2902 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2903 error-file-not-found and define with define-error.
2904 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2905 and define with define-error.
2906 * userlock.el (file-locked, file-supersession):
2907 * simple.el (mark-inactive):
2908 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2909 * progmodes/ada-mode.el (ada-mode-errors):
2910 * play/life.el (life-extinct):
2911 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2912 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2913 * nxml/rng-util.el (rng-error):
2914 * nxml/rng-uri.el (rng-uri-error):
2915 * nxml/rng-match.el (rng-compile-error):
2916 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2917 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2918 * nxml/nxml-rap.el (nxml-scan-error):
2919 * nxml/nxml-outln.el (nxml-outline-error):
2920 * net/soap-client.el (soap-error):
2921 * net/gnutls.el (gnutls-error):
2922 * net/ange-ftp.el (ftp-error):
2923 * mpc.el (mpc-proc-error):
2924 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2925 (json-number-format, json-string-escape, json-string-format)
2926 (json-key-format, json-object-format):
2927 * jka-compr.el (compression-error):
2928 * international/quail.el (quail-error):
2929 * international/kkc.el (kkc-error):
2930 * emacs-lisp/ert.el (ert-test-failed):
2931 * calc/calc.el (calc-error, inexact-result, math-overflow)
2932 (math-underflow):
2933 * bookmark.el (bookmark-error-no-filename):
2934 * epg.el (epg-error): Define with define-error.
2935
0ea9e53a
SM
2936 * time.el (display-time-event-handler)
2937 (display-time-next-load-average): Don't call sit-for since it seems
2938 unnecessary (bug#15045).
2939
b0429158
SM
2940 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2941 Use #' instead of ' to quote functions.
2942 (checkdoc-output-mode): Use setq-local.
2943 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2944 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2945 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2946 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2947 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2948 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2949 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2950 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2951
ad9dcd70
SM
2952 * ido.el (ido-completion-help): Fix up compiler warning.
2953
77187e6f
JB
29542013-08-09 Juanma Barranquero <lekktu@gmail.com>
2955
2956 * frameset.el (frameset-p): Add autoload cookie.
2957 (frameset--jump-to-register): New function, based on code moved from
2958 register.el.
2959 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2960
2961 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2962 (frameset-restore, frameset-save, frameset-session-filter-alist):
2963 Remove declarations.
2964 (register-alist): Doc fix.
2965 (frameset-to-register): Move to frameset.el.
2966 (jump-to-register, describe-register-1): Remove frameset-specific code.
2967
9d3aa82c
JB
29682013-08-08 Juanma Barranquero <lekktu@gmail.com>
2969
2970 * allout-widgets.el (allout-widgets-pre-command-business)
2971 (allout-widgets-post-command-business)
2972 (allout-widgets-after-change-handler)
2973 (allout-decorate-item-and-context, allout-set-boundary-marker)
2974 (allout-body-modification-handler)
2975 (allout-graphics-modification-handler): Mark ignored arguments.
2976 (allout-widgets-post-command-business)
2977 (allout-widgets-exposure-change-processor)
2978 (allout-widgets-exposure-undo-processor)
2979 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2980 (allout-parse-item-at-point, allout-decorate-item-guides)
2981 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2982 * allout.el (epa-passphrase-callback-function): Declare.
2983 (allout-overlay-insert-in-front-handler)
2984 (allout-overlay-interior-modification-handler)
2985 (allout-isearch-end-handler, allout-chart-siblings)
2986 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2987 (allout-yank-processing, allout-process-exposed)
2988 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2989 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2990 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2991 (lisp-indent-defform): Mark ignored arguments.
2992 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2993 (calculate-lisp-indent): Remove unused variables.
2994 * international/characters.el (indian-2-column, arabic-2-column)
2995 (tibetan): Mark ignored arguments.
2996 (use-cjk-char-width-table): Mark ignored arguments.
2997 Remove unused variables.
2998 * international/fontset.el (build-default-fontset-data)
2999 (x-compose-font-name, create-fontset-from-fontset-spec):
3000 Mark ignored arguments.
3001 (fontset-plain-name): Remove unused variables.
3002 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3003 (keyboard-coding-system): Mark ignored arguments.
3004 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3005 * help.el (resize-temp-buffer-window):
3006 * window.el (display-buffer-in-major-side-window)
3007 (display-buffer-in-side-window, display-buffer-in-previous-window):
3008 Remove unused variables.
3009 * isearch.el (isearch-forward-symbol):
3010 * version.el (emacs-bzr-version-bzr):
3011 * international/mule-cmds.el (current-language-environment):
3012 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3013 (x-handle-display):
3014 * term/pc-win.el (x-list-fonts, x-display-planes)
3015 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3016 (x-server-version, x-display-screens, x-display-mm-height)
3017 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3018 (x-selection-owner-p, x-own-selection-internal)
3019 (x-disown-selection-internal, x-get-selection-internal)
3020 (msdos-initialize-window-system):
3021 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3022 * term/x-win.el (x-handle-no-bitmap-icon):
3023 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3024 (vc-default-find-file-hook, vc-default-extra-menu):
3025 Mark ignored arguments.
3026
0ca3f70e
SM
30272013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3030 break-condition in the context of the debugged code (bug#12685).
3031
74c5d24c
CS
30322013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3033
3034 * comint.el:
3035 Do not use an overlay to highlight the last prompt. (Bug#14744)
3036 (comint-mode): Make comint-last-prompt buffer local.
3037 (comint-last-prompt): New variable.
3038 (comint-last-prompt-overlay): Remove. Superseded by
3039 comint-last-prompt.
0ca3f70e
SM
3040 (comint-snapshot-last-prompt, comint-output-filter):
3041 Use comint-last-prompt.
74c5d24c 3042
c03c02ee
JB
30432013-08-08 Juanma Barranquero <lekktu@gmail.com>
3044
a3738d20 3045 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3046 (frameset-save): Check validity of the resulting frameset.
3047
04263d23
XF
30482013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3049
3050 * ido.el (ido-record-command): Add doc string.
3051
76c5e5ab
JB
30522013-08-08 Juanma Barranquero <lekktu@gmail.com>
3053
3054 * frameset.el (frameset): Do not disable creation of the default
3055 frameset-p predicate. Doc fix.
3056 (frameset-valid-p): New function, copied from the old predicate-p.
3057 Add additional checks.
3058 (frameset-restore): Check with frameset-valid-p.
3059 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3060 (frameset-name, frameset-description, frameset-properties)
3061 (frameset-states): Add docstring.
f9dbf1cb
JB
3062 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3063 (frameset-filter-alist): Doc fixes.
76c5e5ab 3064
bd0c3c0b
JB
30652013-08-08 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3068
c735544c
SM
30692013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3072 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3073 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3074 (byte-compile-normal-call): Remove obsolescence check.
3075
2805a651
JB
30762013-08-08 Juanma Barranquero <lekktu@gmail.com>
3077
3677ffeb
JB
3078 * frameset.el (frameset-restore): Doc fix.
3079
2805a651
JB
3080 * register.el (frameset-frame-id, frameset-frame-with-id)
3081 (frameset-p, frameset-restore, frameset-save): Declare.
3082 (register-alist): Document framesets.
3083 (frameset-session-filter-alist): Declare.
3084 (frameset-to-register): New function.
3085 (jump-to-register): Implement jumping to framesets. Doc fix.
3086 (describe-register-1): Describe framesets.
3087
3088 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3089
a912c016
JB
30902013-08-07 Juanma Barranquero <lekktu@gmail.com>
3091
3092 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3093 Use lexical-binding.
3094
3095 * frameset.el (frameset): Use type vector, not list (incompatible
3096 change). Do not declare a new constructor, use the default one.
3097 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3098 `name' and `description', respectively, and add read-only slot
3099 `timestamp'. Doc fixes.
3100 (frameset-copy, frameset-persistent-filter-alist)
3101 (frameset-filter-alist, frameset-switch-to-gui-p)
3102 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3103 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3104 (frameset-filter-iconified, frameset-keep-original-display-p):
3105 Doc fixes.
3106 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3107 Rename from frameset-filter-(save|restore)-param. All callers changed.
3108 Doc fix.
3109 (frameset-p): Adapt to change to vector and be more thorough.
3110 Change arg name to OBJECT. Doc fix.
3111 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3112 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3113 All callers changed.
3114 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3115 All callers changed.
3116 (frameset--record-minibuffer-relationships): Rename from
3117 frameset--process-minibuffer-frames. All callers changed.
3118 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3119 Use new default constructor (again). Doc fix.
3120 (frameset--find-frame-if): Rename from `frameset--find-frame.
3121 All callers changed.
3122 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3123 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3124 Doc fix.
3125 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3126 PARAMETERS and WINDOW-STATE, respectively.
3127 (frameset-restore): Add new keyword argument PREDICATE.
3128 Reset frameset--target-display to nil. Doc fix.
3129
bb41480a
SM
31302013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3131
f001e98e
SM
3132 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3133 (bat-mode): Use it.
3134 (bat-mode-syntax-table): Mark \n as end-of-comment.
3135 (bat-font-lock-keywords): Remove comment rule.
3136
7679edb1
SM
3137 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3138 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3139
bb41480a
SM
3140 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3141 (byte-compile-callargs-warn): Use `push'.
3142 (byte-compile-arglist-warn): Ignore higher-order "calls".
3143 (byte-compile-file-form-autoload): Use `pcase'.
3144 (byte-compile-function-form): If quoting a symbol, check that it exists.
3145
cdc1ebb9
EZ
31462013-08-07 Eli Zaretskii <eliz@gnu.org>
3147
3148 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3149 and add a few popular commands found in batch files.
3150 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3151 (dos-mode): Doc fixes.
3152
312b1740
SM
31532013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3156 (dos-mode): Use setq-local. Add space after "rem".
3157 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3158 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3159
400a3178
AM
31602013-08-07 Arni Magnusson <arnima@hafro.is>
3161
3162 * progmodes/dos.el: New file.
3163 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3164 dos-mode.
3165
3b5c03d3
GM
31662013-08-06 Glenn Morris <rgm@gnu.org>
3167
3168 * calendar/calendar.el: Add new faces, and day-header-array.
3169 (calendar-weekday-header, calendar-weekend-header)
3170 (calendar-month-header): New faces.
3171 (calendar-day-header-construct): New function.
3172 (calendar-day-header-width): Also :set calendar-day-header-array.
3173 (calendar-american-month-header, calendar-european-month-header)
3174 (calendar-iso-month-header): Use calendar- faces.
3175 (calendar-generate-month):
3176 Use calendar-day-header-array for day headers; apply faces to them.
3177 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3178 (calendar-abbrev-construct): Add optional maxlen argument.
3179 (calendar-day-name-array): Doc fix.
3180 (calendar-day-name-array, calendar-abbrev-length)
3181 (calendar-day-abbrev-array):
3182 Also :set calendar-day-header-array, and maybe redraw.
3183 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3184 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3185 (calendar-day-name): Add option to use header array.
3186
ec6a2d7a
LMI
31872013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3188
3189 * net/shr.el (shr-render-td): Remove debugging.
3190 (shr-render-td): Make width computation consistent by defaulting
3191 all zero-width columns to 10 characters. This may not be optimal,
3192 but it's at least consistent.
2122cb6d
LMI
3193 (shr-make-table-1): Redo last change to fix the real problem in
3194 colspan handling.
ec6a2d7a 3195
ed4fd9c5
DA
31962013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3197
0ca3f70e
SM
3198 * files.el (cache-long-line-scans):
3199 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3200
64e22afe
JB
32012013-08-06 Juanma Barranquero <lekktu@gmail.com>
3202
024b38fc
JB
3203 * frameset.el (frameset, frameset-filter-alist)
3204 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3205 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3206 (frameset-compute-pos): Rename from frameset--compute-pos,
3207 and add docstring.
3208 (frameset-move-onscreen): Use frameset-compute-pos.
3209 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3210
64e22afe
JB
3211 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3212 Fix typos in docstrings.
3213
c8c2aca8
DA
32142013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3215
3216 * frame.el (get-other-frame): Tiny cleanup.
3217
1d237bba
JB
32182013-08-06 Juanma Barranquero <lekktu@gmail.com>
3219
8951efef
JB
3220 * vc/vc.el (vc-default-ignore-completion-table):
3221 Silence byte-compiler warning.
3222
307764cc
JB
3223 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3224 slot , which can indeed be nil.
3225 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3226 Move entry for `left' from persistent to live filter alist.
3227 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3228 Doc fixes.
3229 (frameset-filter-params): When restoring a frame, copy items added to
3230 `filtered', to avoid unwittingly modifying the original parameters.
3231 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3232 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3233
1d237bba
JB
3234 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3235 to use looking-at-p instead of looking-at. (Bug#15028)
3236
dc6c0eda
SM
32372013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 Revert introduction of isearch-filter-predicates (bug#14714).
3240 Rely on add-function instead.
3241 * isearch.el (isearch-filter-predicates): Rename it back to
3242 isearch-filter-predicate.
3243 (isearch-message-prefix): Use advice-function-mapc and advice
3244 properties to get the isearch-message-prefix.
3245 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3246 instead of run-hook-with-args-until-failure.
3247 (isearch-filter-visible): Not obsolete any more.
3248 * loadup.el: Preload nadvice.
3249 * replace.el (perform-replace): Revert to funcall
3250 instead of run-hook-with-args-until-failure.
3251 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3252 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3253 dired-isearch-filenames-toggle; make it into a proper minor mode.
3254 Use add/remove-function.
3255 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3256 Call the minor-mode rather than add/remove-hook.
3257 (dired-isearch-filter-filenames):
3258 Remove isearch-message-prefix property.
3259 * info.el (Info--search-loop): New function, extracted from Info-search.
3260 Funcall isearch-filter-predicate instead of
3261 run-hook-with-args-until-failure isearch-filter-predicates.
3262 (Info-search): Use it.
3263 (Info-mode): Use isearch-filter-predicate instead of
3264 isearch-filter-predicates.
3265
290d5b58
DA
32662013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3267
3268 Do not call to `selected-window' where it is assumed by default.
3269 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3270 `window-hscroll', `window-width', `window-height', `window-buffer',
3271 `window-frame', `window-start', `window-point', `next-window'
3272 and `window-display-table'.
3273 * abbrev.el (abbrev--default-expand):
3274 * bs.el (bs--show-with-configuration):
3275 * buff-menu.el (Buffer-menu-mouse-select):
3276 * calc/calc.el (calc):
3277 * calendar/calendar.el (calendar-generate-window):
3278 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3279 (diary-make-entry):
3280 * comint.el (send-invisible, comint-dynamic-complete-filename)
3281 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3282 * completion.el (complete):
3283 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3284 * disp-table.el (describe-current-display-table):
3285 * doc-view.el (doc-view-insert-image):
3286 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3287 * ehelp.el (with-electric-help):
3288 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3289 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3290 * emacs-lisp/helper.el (Helper-help-scroller):
3291 * emulation/cua-base.el (cua--post-command-handler-1):
3292 * eshell/esh-mode.el (eshell-output-filter):
3293 * ffap.el (ffap-gnus-wrapper):
3294 * help-macro.el (make-help-screen):
3295 * hilit-chg.el (highlight-compare-buffers):
3296 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3297 * hl-line.el (global-hl-line-highlight):
3298 * icomplete.el (icomplete-simple-completing-p):
3299 * isearch.el (isearch-done):
3300 * jit-lock.el (jit-lock-stealth-fontify):
3301 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3302 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3303 * mpc.el (mpc-tagbrowser, mpc):
3304 * net/rcirc.el (rcirc-any-buffer):
3305 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3306 * play/landmark.el (landmark-max-width, landmark-max-height):
3307 * play/zone.el (zone):
3308 * progmodes/compile.el (compilation-goto-locus):
3309 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3310 * progmodes/etags.el (find-tag-other-window):
3311 * progmodes/fortran.el (fortran-column-ruler):
3312 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3313 * progmodes/verilog-mode.el (verilog-point-text):
3314 * reposition.el (reposition-window):
3315 * rot13.el (toggle-rot13-mode):
3316 * server.el (server-switch-buffer):
3317 * shell.el (shell-dynamic-complete-command)
3318 (shell-dynamic-complete-environment-variable):
3319 * simple.el (insert-buffer, set-selective-display)
3320 (delete-completion-window):
3321 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3322 (speedbar-recenter):
3323 * startup.el (fancy-splash-head):
3324 * textmodes/ispell.el (ispell-command-loop):
3325 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3326 * tutorial.el (help-with-tutorial):
3327 * vc/add-log.el (add-change-log-entry):
3328 * vc/compare-w.el (compare-windows):
3329 * vc/ediff-help.el (ediff-indent-help-message):
3330 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3331 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3332 (ediff-setup-control-frame):
3333 * vc/emerge.el (emerge-position-region):
3334 * vc/pcvs-util.el (cvs-bury-buffer):
3335 * window.el (walk-windows, mouse-autoselect-window-select):
3336 * winner.el (winner-set-conf, winner-undo): Related users changed.
3337
38276e01
JB
33382013-08-05 Juanma Barranquero <lekktu@gmail.com>
3339
3340 * frameset.el (frameset--set-id): Doc fix.
3341 (frameset-frame-id, frameset-frame-id-equal-p)
3342 (frameset-locate-frame-id): New functions.
3343 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3344 (frameset-restore): Use them.
3345
12b4c0ea
DA
33462013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3347
3348 Do not call to `selected-frame' where it is assumed by default.
3349 Affected functions are `raise-frame', `redraw-frame',
3350 `frame-first-window', `frame-terminal' and `delete-frame'.
3351 * calendar/appt.el (appt-disp-window):
3352 * epg.el (epg-wait-for-completion):
3353 * follow.el (follow-delete-other-windows-and-split)
3354 (follow-avoid-tail-recenter):
3355 * international/mule.el (set-terminal-coding-system):
3356 * mail/rmail.el (rmail-mail-return):
3357 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3358 * progmodes/f90.el (f90-add-imenu-menu):
3359 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3360 * server.el (server-switch-buffer):
3361 * simple.el (delete-completion-window):
3362 * talk.el (talk):
3363 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3364 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3365 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3366 * vc/ediff.el (ediff-documentation): Related users changed.
3367 * frame.el (selected-terminal): Remove the leftover.
3368
17f25e76
GM
33692013-08-05 Glenn Morris <rgm@gnu.org>
3370
3371 * calendar/calendar.el (calendar-generate-month):
3372 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3373 (calendar-generate-month, calendar-font-lock-keywords):
3374 Fix for calendar-day-header-width > length of any day name.
17f25e76 3375
063233c3
JB
33762013-08-05 Juanma Barranquero <lekktu@gmail.com>
3377
3378 * desktop.el (desktop-clear): Use new name of sort predicate.
3379
3380 * frameset.el (frameset): Add docstring. Move :version property to its
3381 own `version' slot.
3382 (frameset-copy): Rename from copy-frameset.
3383 (frameset-p): Check more thoroughly.
3384 (frameset-prop): Do not check for :version, which is no longer a prop.
3385 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3386 Use new :never value instead of t.
3387 (frameset-filter-alist): Expand and clarify docstring.
3388 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3389 (frameset-filter-minibuffer, frameset-filter-save-param)
3390 (frameset-filter-restore-param, frameset-filter-iconified):
3391 Add pointer to docstring of frameset-filter-alist.
3392 (frameset-filter-params): Rename filter values to be more meaningful:
3393 :never instead of t, and reverse the meanings of :save and :restore.
3394 (frameset--process-minibuffer-frames): Clarify error message.
3395 (frameset-save): Avoid unnecessary and confusing call to framep.
3396 Use new BOA constructor for framesets.
3397 (frameset--reuse-list): Doc fix.
3398 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3399 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3400 (frameset-minibufferless-first-p): Doc fix.
3401 Rename from frameset-sort-frames-for-deletion.
3402 (frameset-restore): Doc fixes. Use new function names.
3403 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3404
d5671a82
JB
34052013-08-04 Juanma Barranquero <lekktu@gmail.com>
3406
3407 * desktop.el (desktop-restore-forces-onscreen)
3408 (desktop-restore-reuses-frames): Document :keyword constant values.
3409 (desktop-filter-parameters-alist): Remove, now identical to
3410 frameset-filter-alist.
3411 (desktop--filter-tty*): Remove, moved to frameset.el.
3412 (desktop-save-frameset, desktop-restore-frameset):
3413 Do not pass :filters argument.
3414
3415 * frameset.el (frameset-live-filter-alist)
3416 (frameset-persistent-filter-alist): New variables.
3417 (frameset-filter-alist): Use them. Add autoload cookie.
3418 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3419 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3420 `frameset--id' (it's supposed to be internal to frameset.el).
3421 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3422 (frameset--initial-params): New function.
3423 (frameset--get-frame): Use it. Doc fix.
3424 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3425 Accept :all, not 'all.
3426 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3427 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3428 with fbound symbols. Fix frame id matching, and remove matching ids if
3429 the frame being restored is deleted. Obey :delete.
3430
671d5c16
SM
34312013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * subr.el (macrop): New function.
3434 (text-clone--maintaining): New var.
3435 (text-clone--maintain): Rename from text-clone-maintain. Use it
3436 instead of inhibit-modification-hooks.
3437
3438 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3439 a proxy, so as handle autoloads and redefinitions of the target.
3440 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3441
3442 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3443 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3444 (pcase--mutually-exclusive-p): New function.
3445 (pcase--split-consp): Use it.
3446 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3447 mutually exclusive with the current predicate.
3448
3449 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3450 (edebug-macrop): Remove. Use `macrop' instead.
3451 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3452 (ad-macro-p):
3453 * eshell/esh-cmd.el (eshell-macrop):
3454 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3455
1d44e9dc
SM
34562013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3459 (advice-mapc): New function, using it.
3460 (advice-function-member-p): New function.
3461 (advice--normalize): Store the cdr in advice--saved-rewrite since
3462 that's the part that will be changed.
3463 (advice--symbol-function): New function.
3464 (advice-remove): Handle removal before the function is defined.
3465 Adjust to new advice--saved-rewrite.
3466 (advice-member-p): Use advice-function-member-p and
3467 advice--symbol-function.
3468
5414a283
JB
34692013-08-04 Juanma Barranquero <lekktu@gmail.com>
3470
51d30f2c
JB
3471 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3472 (frameset-filter-minibuffer): Doc fix.
3473 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3474 (frameset--set-id, frameset--process-minibuffer-frames)
3475 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3476 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3477
5414a283
JB
3478 * desktop.el (desktop-clear): Only delete frames when called
3479 interactively and desktop-restore-frames is non-nil. Doc fix.
3480 (desktop-read): Set desktop-saved-frameset to nil.
3481
ab419665
XF
34822013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3483
3484 * vc/vc.el (vc-ignore): Rewrite.
3485 (vc-default-ignore-completion-table):
3486 (vc--read-lines):
3487 (vc--add-line, vc--remove-regexp): New functions.
3488
3489 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3490 (vc-svn-ignore-completion-table): New function.
3491
3492 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3493 (vc-hg-ignore-completion-table):
3494 (vc-hg-find-ignore-file): New functions.
3495
3496 * vc/vc-git.el (vc-git-ignore): Rewrite.
3497 (vc-git-ignore-completion-table):
3498 (vc-git-find-ignore-file): New functions.
3499
3500 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3501
3502 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3503 (vc-bzr-ignore-completion-table):
3504 (vc-bzr-find-ignore-file): New functions.
3505
2613dea2
JB
35062013-08-03 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * frameset.el (frameset-prop): New function and setter.
3509 (frameset-save): Do not modify frame list passed by the caller.
3510
9c959872
SM
35112013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3514
a104f656
SM
35152013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3516
70122acf
SM
3517 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3518 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3519
a104f656
SM
3520 * custom.el (custom-initialize-default, custom-initialize-set)
3521 (custom-initialize-reset, custom-initialize-changed): Affect the
3522 toplevel-default-value (bug#6275, bug#14586).
3523 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3524 for bug#6275.
3525
f078d570
JB
35262013-08-02 Juanma Barranquero <lekktu@gmail.com>
3527
185e3b5a
JB
3528 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3529 Add cl-def* expressions.
3530
f078d570
JB
3531 * frameset.el (frameset-filter-params): Fix order of arguments.
3532
9421876d
JB
35332013-08-02 Juanma Barranquero <lekktu@gmail.com>
3534
3535 Move code related to saving frames to frameset.el.
3536 * desktop.el: Require frameset.
3537 (desktop-restore-frames): Doc fix.
3538 (desktop-restore-reuses-frames): Rename from
3539 desktop-restoring-reuses-frames.
3540 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3541 (desktop-clear): Clear frames too.
3542 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3543 (desktop--filter-tty*, desktop-save, desktop-read):
3544 Use frameset functions.
3545 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3546 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3547 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3548 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3549 (desktop--process-minibuffer-frames, desktop-save-frames)
3550 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3551 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3552 (desktop--sort-states, desktop-restoring-frames-p)
3553 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3554 (desktop-restoring-frameset-p, desktop-restore-frameset)
3555 (desktop--check-dont-save, desktop-save-frameset): New functions.
3556 (desktop--app-id): New constant.
3557 (desktop-first-buffer, desktop-buffer-ok-count)
3558 (desktop-buffer-fail-count): Move before first use.
3559 * frameset.el: New file.
3560
76dc5996
SM
35612013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * files.el: Use lexical-binding.
3564 (dir-locals-read-from-file): Remove unused `err' variable.
3565 (hack-dir-local-variables--warned-coding): New var.
3566 (hack-dir-local-variables): Use it to avoid repeated warnings.
3567 (make-backup-file-name--default-function): New function.
3568 (make-backup-file-name-function): Use it as default.
3569 (buffer-stale--default-function): New function.
3570 (buffer-stale-function): Use it as default.
3571 (revert-buffer-insert-file-contents--default-function): New function.
3572 (revert-buffer-insert-file-contents-function): Use it as default.
3573 (insert-directory): Avoid add-to-list.
3574
3575 * autorevert.el (auto-revert-handler): Simplify.
3576 Use buffer-stale--default-function.
3577
06d36e2b
TH
35782013-08-01 Tassilo Horn <tsdh@gnu.org>
3579
5f648ab4
TH
3580 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3581
06d36e2b
TH
3582 * whitespace.el (whitespace-ensure-local-variables): New function.
3583 (whitespace-cleanup-region): Call it.
3584 (whitespace-turn-on): Call it.
3585
a43dc424
MA
35862013-08-01 Michael Albinus <michael.albinus@gmx.de>
3587
3588 Complete file name handlers.
3589
3590 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3591 (tramp-handle-verify-visited-file-modtime)
3592 (tramp-handle-file-notify-rm-watch): New functions.
3593 (tramp-call-process): Do not bind `default-directory'.
3594
44e18199
JB
3595 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3596 Order alphabetically.
a43dc424
MA
3597 [access-file, add-name-to-file, dired-call-process]:
3598 [dired-compress-file, file-acl, file-notify-rm-watch]:
3599 [file-ownership-preserved-p, file-selinux-context]:
3600 [make-directory-internal, make-symbolic-link, set-file-acl]:
3601 [set-file-selinux-context, set-visited-file-modtime]:
3602 [verify-visited-file-modtime]: Add handler.
3603 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3604
3605 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3606 [file-notify-add-watch, file-notify-rm-watch]:
3607 [set-file-times, set-visited-file-modtime]:
3608 [verify-visited-file-modtime]: Add handler.
3609 (with-tramp-gvfs-error-message)
3610 (tramp-gvfs-handle-set-visited-file-modtime)
3611 (tramp-gvfs-fuse-file-name): Remove.
3612 (tramp-gvfs-handle-file-notify-add-watch)
3613 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3614 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3615
44e18199
JB
3616 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3617 Order alphabetically.
a43dc424
MA
3618 [file-notify-rm-watch ]: Use default Tramp handler.
3619 [executable-find]: Remove private handler.
3620 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3621 `default-directory'.
3622 (tramp-sh-handle-executable-find)
3623 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3624 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3625 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3626 Do not use `format' in `tramp-message'.
3627
3628 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3629 [file-notify-rm-watch, set-visited-file-modtime]:
3630 [verify-visited-file-modtime]: Add handler.
3631 (tramp-smb-call-winexe): Do not bind `default-directory'.
3632
7188b515
XF
36332013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3634
3635 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3636
2412ee1a
DG
36372013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3638
3639 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3640 use it.
3641 (log-view-diff-changeset): Same.
3642 (log-view-diff-common): Call backend command `previous-revision'
3643 to find out the previous revision, in both cases. Swap the
3644 variables `to' and `fr', so that `fr' usually refers to the
3645 earlier revision (Bug#14989).
3646
5002a754
KRC
36472013-07-31 Kan-Ru Chen <kanru@kanru.info>
3648
3649 * ibuf-ext.el (ibuffer-filter-by-filename):
3650 Make it work with dired buffers too.
3651
44e18199 36522013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3653
3654 * emacs-lisp/re-builder.el (reb-color-display-p):
3655 * files.el (save-buffers-kill-terminal):
3656 * net/browse-url.el (browse-url):
3657 * server.el (server-save-buffers-kill-terminal):
3658 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3659 Prefer nil to selected-frame for the first arg of frame-parameter.
3660
aeca3fbb
XF
36612013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3662
3663 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3664
158bc55c
SB
36652013-07-30 Stephen Berman <stephen.berman@gmx.net>
3666
3667 * minibuffer.el (completion--twq-all): Try and preserve each
3668 completion's case choice (bug#14907).
3669
d50fceab
LMI
36702013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3671
ac38e731
LMI
3672 * net/network-stream.el (open-network-stream): Mention the new
3673 :nogreeting parameter.
3674 (network-stream-open-starttls): Use the :nogreeting parameter
3675 (bug#14938).
3676
1211de50
LMI
3677 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3678
997798bf
LMI
3679 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3680 more natural than popping.
3681
d50fceab 3682 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3683 (shr-urlify): Highlight under mouse.
d50fceab 3684
5c09de04
XF
36852013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3686
207d1d04
XF
3687 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3688
3689 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3690
5c09de04
XF
3691 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3692 buffer for output.
3693
3cd51eaa
XF
3694 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3695 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3696
44e18199 3697 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3698 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3699
3700 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3701
3702 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3703 buffer for output.
3704
35a89bdd
EZ
37052013-07-29 Eli Zaretskii <eliz@gnu.org>
3706
3707 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3708 initial frame is minibuffer-less. (Bug#14841)
3709
78822e94
MA
37102013-07-29 Michael Albinus <michael.albinus@gmx.de>
3711
3712 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3713 option.
3714
3715 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3716 (tramp-maybe-open-connection): Use it.
3717
9503c190
JB
37182013-07-28 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3721 minimal set of parameters passed when creating a frame, because
3722 the minibuffer status of a frame cannot be changed later.
3723
d5a845b4
SB
37242013-07-28 Stephen Berman <stephen.berman@gmx.net>
3725
3726 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3727 replace-regexp-in-string and inadvertent omissions in previous change.
3728 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3729 name of filtered items buffer.
d5a845b4 3730
ddeffb17
JB
37312013-07-28 Juanma Barranquero <lekktu@gmail.com>
3732
3733 * desktop.el: Optionally force offscreen frames back onscreen.
3734 (desktop-restoring-reuses-frames): New option.
3735 (desktop--compute-pos, desktop--move-onscreen): New functions.
3736 (desktop--make-frame): Use desktop--move-onscreen.
3737
f5950f7a
AM
37382013-07-27 Alan Mackenzie <acm@muc.de>
3739
3740 Fontify a Java generic method as a function.
3741 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3742 value to t.
3743
ae43b66a
SB
37442013-07-27 Stephen Berman <stephen.berman@gmx.net>
3745
3746 * calendar/todo-mode.el: Add command to rename todo files.
3747 (todo-rename-file): New command.
3748 (todo-key-bindings-t): Add key binding for it. Change the
3749 bindings of todo-filter-regexp-items(-multifile) to use `x'
3750 instead of `r', since the latter is better suited to the new
3751 renaming command.
3752
5ab78d3d
AM
37532013-07-27 Alan Mackenzie <acm@muc.de>
3754
3755 Make Java try-with-resources statement parse properly.
3756 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3757 (c-block-stmt-1-2-key): New language constants/variables.
3758 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3759 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3760 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3761 with c-block-stmt-1-2-key.
5ab78d3d 3762
d85c4d50
JB
37632013-07-27 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * desktop.el (desktop--make-frame): Apply most frame parameters after
3766 creating the frame to force (partially or totally) offscreen frames to
3767 be restored as such.
3768
e4c467f9
XF
37692013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3770
3771 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3772 (Bug#14948)
e4c467f9 3773
7ced0d04
SM
37742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3777 `base' arg of backtrace-frame.
3778
fec92060
EZ
37792013-07-26 Eli Zaretskii <eliz@gnu.org>
3780
3781 * simple.el (list-processes): Doc fix.
3782
d58d31fb
JB
37832013-07-26 Juanma Barranquero <lekktu@gmail.com>
3784
3785 * desktop.el (desktop--select-frame):
d85c4d50 3786 Try harder to reuse existing frames.
d58d31fb 3787
53ff3e77
SM
37882013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3791 (edebug-eval): Use backtrace-eval.
3792 (edebug--display, edebug--recursive-edit): Don't let-bind the
3793 edebug-outer-* vars that keep track of variables we locally let-bind.
3794 (edebug-outside-excursion): Don't restore outside values of locally
3795 let-bound vars.
3796 (edebug--display): Use user-error.
3797 (cl-lexical-debug, cl-debug-env): Remove.
3798
045f7a53
JB
37992013-07-26 Juanma Barranquero <lekktu@gmail.com>
3800
3801 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3802 are restored to be sure that they are visible before deleting any
3803 remaining ones.
3804
59070b32
MM
38052013-07-26 Matthias Meulien <orontee@gmail.com>
3806
742a3501
XF
3807 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3808 vc-print-root-log. (Bug#14948)
59070b32 3809
b1fb3596
RS
38102013-07-26 Richard Stallman <rms@gnu.org>
3811
3812 Add aliases for encrypting mail.
3813 * epa.el (epa-mail-aliases): New option.
3814 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3815 Bind inhibit-read-only so read-only text doesn't ruin everything.
3816 (epa-mail-default-recipients): New subroutine broken out.
3817 Handle epa-mail-aliases.
3818
56ea7291
SM
38192013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 Add support for lexical variables to the debugger's `e' command.
3822 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3823 vars, except for debugger-outer-match-data.
3824 (debugger-frame-number): Move check for "on a function call" from
3825 callers into it. Add `skip-base' argument.
3826 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3827 (debugger-env-macro): Only reset the state stored in non-variables,
3828 i.e. current-buffer and match-data.
3829 (debugger-eval-expression): Rewrite using backtrace-eval.
3830 * subr.el (internal--called-interactively-p--get-frame): Remove.
3831 (called-interactively-p):
3832 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3833 `base' arg of backtrace-frame instead.
3834
15ac32d5
GM
38352013-07-26 Glenn Morris <rgm@gnu.org>
3836
8358a09d
GM
3837 * align.el (align-regexp): Doc fix. (Bug#14857)
3838 (align-region): Explicit error if subexpression missing/does not match.
3839
15ac32d5
GM
3840 * simple.el (global-visual-line-mode):
3841 Do not duplicate the mode lighter. (Bug#14858)
3842
f47ad11b
MR
38432013-07-25 Martin Rudalics <rudalics@gmx.at>
3844
3845 * window.el (display-buffer): In display-buffer bind
3846 split-window-keep-point to t, bug#14829.
3847
02530987
JB
38482013-07-25 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3851 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3852 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3853 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3854 Change accordingly.
f63ebeb5
JB
3855 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3856 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3857
6ccb9cab 38582013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3859
6ccb9cab 3860 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3861
cb3a56d2
JB
38622013-07-25 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3865 parameter to modify-frame-parameters if the value has not changed;
3866 this is a workaround for bug#14949.
3867 (desktop--make-frame): On cl-delete-if call, check parameter name,
3868 not full parameter.
3869
7aa7fff0
XF
38702013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3871
3872 * vc/vc.el (vc-ignore): New function.
3873
3874 * vc/vc-svn.el (vc-svn-ignore): New function.
3875
3876 * vc/vc-hg.el (vc-hg-ignore): New function.
3877
3878 * vc/vc-git.el (vc-git-ignore): New function.
3879
3880 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3881 (vc-dir-ignore): New function.
3882
3883 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3884 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3885
3886 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3887
3888 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3889
889acc5c
JB
38902013-07-24 Juanma Barranquero <lekktu@gmail.com>
3891
3892 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3893 (desktop-restore-frames): Warn when deleting an existing frame failed.
3894
86c40970
GM
38952013-07-24 Glenn Morris <rgm@gnu.org>
3896
3897 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3898
d5d3c58a
MA
38992013-07-24 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * filenotify.el (file-notify-supported-p):
3902 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3903 Remove functions.
3904
3905 * autorevert.el (auto-revert-use-notify):
3906 (auto-revert-notify-add-watch):
3907 * net/tramp.el (tramp-file-name-for-operation):
3908 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3909 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3910 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3911 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3912 Remove `file-notify-supported-p' entry.
3913
d100084b
GM
39142013-07-24 Glenn Morris <rgm@gnu.org>
3915
3916 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3917 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3918
ac93e56b
SM
39192013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3920
249eea30
SM
3921 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3922 checked with memq (bug#14935).
3923
ac93e56b
SM
3924 * files.el (revert-buffer-function): Use a non-nil default.
3925 (revert-buffer-preserve-modes): Declare var to
3926 provide access to the `preserve-modes' argument.
3927 (revert-buffer): Let-bind it.
3928 (revert-buffer--default): New function, extracted from revert-buffer.
3929
2cdeb903
SM
39302013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * lpr.el: Signal print errors more prominently.
3933 (print-region-function): Don't default to nil.
3934 (lpr-print-region): New function, extracted from print-region-1.
3935 Check lpr's return value and signal an error in case of problem.
3936 (print-region-1): Use it.
3937 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3938 versions instead.
3939 (ps-printer-name): Default to nil.
3940 (ps-printer-name-option): Default to lpr-printer-switch.
3941 (ps-print-region-function): Don't default to nil.
3942 (ps-postscript-code-directory): Simplify default.
3943 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3944 (ps-string-list, ps-eval-switch, ps-flatten-list)
3945 (ps-flatten-list-1): Remove.
3946 (ps-multibyte-buffer): Avoid setq.
3947 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3948 (print-region-function, ps-print-region-function): Don't set them here.
3949
73600831
XF
39502013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3951
0e55c076
XF
3952 * ido.el (ido-fractionp):
3953 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3954 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3955 (ido-max-directory-size, ido-max-dir-file-cache)
3956 (ido-decorations): Doc fix.
3957
73600831
XF
3958 * ansi-color.el: Fix old URL.
3959
3d012865
MM
39602013-07-23 Michael R. Mauger <michael@mauger.com>
3961
e903c210 3962 * progmodes/sql.el: Version 3.3
3d012865
MM
3963 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3964 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3965 (sql-interactive-remove-continuation-prompt): Rewrite, use
3966 functions above. Fix continuation prompt and complete output line
3967 handling.
3968 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3969 redirected output buffer.
3970 (sql-mode): Restore deleted code (Bug#13591).
3971
da77a2e2
JB
39722013-07-23 Juanma Barranquero <lekktu@gmail.com>
3973
3974 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3975
80ff0c71
MA
39762013-07-23 Michael Albinus <michael.albinus@gmx.de>
3977
3978 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3979
3980 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3981 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3982 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3983
b61d71e4
JB
39842013-07-23 Juanma Barranquero <lekktu@gmail.com>
3985
3986 * desktop.el (desktop-clear): Simplify; remove useless checks
3987 against invalid buffer names.
3988 (desktop-list*): Use cl-list*.
3989 (desktop-buffer-info, desktop-create-buffer): Simplify.
3990
c3512092
LL
39912013-07-23 Leo Liu <sdl.web@gmail.com>
3992
3993 * bookmark.el (bookmark-make-record): Restore NAME as a default
3994 value. (Bug#14933)
3995
0ac26976
SM
39962013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3997
7d22ce18
SM
3998 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3999 extracted from autoload--insert-text.
4000 (autoload--insert-text): Remove.
4001 (autoload--print-cookie-text): New function, extracted from
4002 autoload--insert-cookie-text.
4003 (autoload--insert-cookie-text): Remove.
4004 (autoload-generate-file-autoloads): Adjust calls accordingly.
4005
9b2607e8
SM
4006 * winner.el (winner-hook-installed-p): Remove.
4007 (winner-mode): Simplify accordingly.
4008
c43a8618
SM
4009 * subr.el (add-to-list): Fix compiler-macro when `append' is
4010 not constant. Don't use `cl-member' for the base case.
4011
0ac26976
SM
4012 * progmodes/subword.el: Fix boundary case (bug#13758).
4013 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4014 own group.
4015 (subword-backward-regexp): Make it a constant.
4016 (subword-forward-internal): Don't treat a trailing capital as the
4017 beginning of a word.
4018
6874724a
AR
40192013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4020
4021 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4022 global value of tabulated-list-revert-hook (bug#14930).
4023
70f1b5e8
JB
40242013-07-22 Juanma Barranquero <lekktu@gmail.com>
4025
a1c80d9d
JB
4026 * desktop.el: Require 'cl-lib.
4027 (desktop-before-saving-frames-functions): New hook.
4028 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4029 for frames being saved. Rename from desktop--save-minibuffer-frames.
4030 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4031 Do not save frames with non-nil `desktop-dont-save' parameter.
4032 Filter out deleted frames.
a1c80d9d
JB
4033 (desktop--find-frame): Use cl-find-if.
4034 (desktop--select-frame): Use cl-(first|second|third) to access values
4035 of desktop-mini.
4036 (desktop--make-frame): Use cl-delete-if.
4037 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4038 (desktop-restore-frames): Use cl-(first|second|third) to access values
4039 of desktop-mini. Look for visible frame at the end, not while
4040 restoring frames.
4041
70f1b5e8
JB
4042 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4043 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4044 Use string-match-p, looking-at-p (bug#14927).
4045
728dc3cc
JB
40462013-07-21 Juanma Barranquero <lekktu@gmail.com>
4047
56bc453c
JB
4048 * desktop.el (desktop-saved-frame-states):
4049 Rename from desktop--saved-states; all users changed.
4050 (desktop-save-frames): Rename from desktop--save-frames.
4051 Do not save state to desktop file.
4052 (desktop-save): Save desktop-saved-frame-states to desktop file
4053 and reset to nil.
4054 (desktop-restoring-frames-p): New function.
4055 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4056 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4057 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4058
728dc3cc
JB
4059 * desktop.el: Correctly restore iconified frames.
4060 (desktop--filter-iconified-position): New function.
4061 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4062
862f1c9c
GM
40632013-07-20 Glenn Morris <rgm@gnu.org>
4064
c4074c9f
GM
4065 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4066 Let `message' do the formatting.
4067 (def-gdb-preempt-display-buffer): Add explicit format.
4068
d828e5f9
GM
4069 * image-dired.el (image-dired-track-original-file):
4070 Use with-current-buffer.
4071 (image-dired-track-thumbnail): Use with-current-buffer.
4072 Avoid changing point of wrong window.
4073
862f1c9c
GM
4074 * image-dired.el (image-dired-track-original-file):
4075 Avoid changing point of wrong window. (Bug#14909)
4076
f0398ec1 40772013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4078
4079 * progmodes/gdb-mi.el (gdb-done-or-error):
4080 Guard against "%" in gdb output. (Bug#14127)
4081
1451928f
AS
40822013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4083
763a086d
JB
4084 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4085 (Bug#14826)
f7a03897 4086
1451928f
AS
4087 * international/mule.el (coding-system-iso-2022-flags): Fix last
4088 change.
4089
99107004
KH
40902013-07-20 Kenichi Handa <handa@gnu.org>
4091
763a086d
JB
4092 * international/mule.el (coding-system-iso-2022-flags):
4093 Add `8-bit-level-4'. (Bug#8522)
99107004 4094
48494e06
LMI
40952013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096
8ba8eec5
LMI
4097 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4098 (bug#14815).
4099
dfbc66e3
LMI
4100 * net/eww.el (eww-process-text-input): Allow inputting when the
4101 point is at the start of the line, as the properties aren't
4102 front-sticky.
4103
48494e06
LMI
4104 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4105 degenerate widths.
4106
77c92cb9
RS
41072013-07-19 Richard Stallman <rms@gnu.org>
4108
aec7da77
RS
4109 * epa.el (epa-popup-info-window): Doc fix.
4110
77c92cb9
RS
4111 * subr.el (split-string): New arg TRIM.
4112
945c5bb1
JB
41132013-07-18 Juanma Barranquero <lekktu@gmail.com>
4114
4115 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4116 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4117
e06ec67f
MA
41182013-07-18 Michael Albinus <michael.albinus@gmx.de>
4119
c7064f05 4120 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4121 `file-notify-support'. Do not autoload. Adapt all uses.
4122 (file-notify-supported-p): New defun.
4123
c7064f05
JB
4124 * autorevert.el (auto-revert-use-notify):
4125 Use `file-notify-supported-p' instead of `file-notify-support'.
4126 Adapt docstring.
e06ec67f
MA
4127 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4128
4129 * net/tramp.el (tramp-file-name-for-operation):
4130 Add `file-notify-supported-p'.
4131
4132 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4133 New defun.
4134 (tramp-sh-file-name-handler-alist): Add it as handler for
4135 `file-notify-supported-p '.
4136
4137 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4138 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4139 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4140 Add `ignore' as handler for `file-notify-*' functions.
4141
5dc8a629
EZ
41422013-07-17 Eli Zaretskii <eliz@gnu.org>
4143
4144 * simple.el (line-move-partial, line-move): Don't start vscroll or
4145 scroll-up if the current line is not taller than the window.
4146 (Bug#14881)
4147
77aea2fb
DG
41482013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4149
4150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4151 highlight question marks in the method names as strings.
ac72c08d
DG
4152 (ruby-block-beg-keywords): Inline.
4153 (ruby-font-lock-keyword-beg-re): Extract from
4154 `ruby-font-lock-keywords'.
77aea2fb 4155
18c26d81
JD
41562013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4157
4158 * frame.el (blink-cursor-blinks): New defcustom.
4159 (blink-cursor-blinks-done): New defvar.
4160 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4161 (blink-cursor-timer-function): Check if number of blinks has been
4162 done on X and NS.
4163 (blink-cursor-suspend, blink-cursor-check): New defuns.
4164
da48522e
GM
41652013-07-15 Glenn Morris <rgm@gnu.org>
4166
4167 * edmacro.el (edmacro-format-keys): Fix previous change.
4168
0463c1ef
PE
41692013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4170
4171 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4172 The hack didn't work outside English locales anyway.
4173
b43f6451
JB
41742013-07-15 Juanma Barranquero <lekktu@gmail.com>
4175
4176 * simple.el (define-alternatives): Rename from alternatives-define,
4177 per RMS' suggestion.
4178
b958c0ad
JB
41792013-07-14 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * desktop.el (desktop-restore-frames): Change default to t.
4182 (desktop-restore-in-current-display): Now offer more options.
4183 (desktop-restoring-reuses-frames): New customization option.
4184 (desktop--saved-states): Doc fix.
4185 (desktop-filter-parameters-alist): New variable, renamed and expanded
4186 from desktop--excluded-frame-parameters.
4187 (desktop--target-display): New variable.
4188 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4189 (desktop--filter-tty*, desktop--filter-*-color)
4190 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4191 (desktop--filter-save-desktop-parm)
4192 (desktop-restore-in-original-display-p): New functions.
4193 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4194 (desktop--save-minibuffer-frames): New function, inspired by a similar
4195 function from Martin Rudalics.
4196 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4197 (desktop--restore-in-this-display-p): Remove.
4198 (desktop--find-frame): Rename from desktop--find-frame-in-display
4199 and add predicate argument.
4200 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4201 (desktop--reuse-list): New variable.
4202 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4203 New functions.
4204 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4205
f6dd8b36
MA
42062013-07-14 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4209
2ce3c565
DG
42102013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4211
763a086d
JB
4212 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4213 Highlight conversion methods on Kernel.
2ce3c565 4214
2cdb7698
AM
42152013-07-13 Alan Mackenzie <acm@muc.de>
4216
4217 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4218 and comment it out. This out-commenting enables certain C++
4219 declarations to be parsed correctly.
4220
1a67b811
EZ
42212013-07-13 Eli Zaretskii <eliz@gnu.org>
4222
1b796d6b
EZ
4223 * international/mule.el (define-coding-system): Doc fix.
4224
1a67b811
EZ
4225 * simple.el (default-font-height): Don't call font-info if the
4226 frame's default font didn't change since the frame was created.
4227 (Bug#14838)
4228
58fbe886
LL
42292013-07-13 Leo Liu <sdl.web@gmail.com>
4230
4231 * ido.el (ido-read-file-name): Guard against non-symbol value.
4232
1f0480d4
FEG
42332013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4234
4235 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4236 in nested defuns.
4237
97ead0e5
LL
42382013-07-13 Leo Liu <sdl.web@gmail.com>
4239
4240 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4241 ido-set-matches call. (Bug#6852)
4242
0880a952
DG
42432013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4246 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4247 Ruby 2.0.
4248 (ruby-font-lock-keywords): Distinguish calls to functions with
4249 module-like names from module references. Highlight character
4250 literals.
4251
a7d8babb
SDJ
42522013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4253
4254 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4255 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4256
acfcc8c5
JB
42572013-07-12 Juanma Barranquero <lekktu@gmail.com>
4258
4259 * desktop.el (desktop--v2s): Remove unused local variable.
4260 (desktop-save-buffer): Make defvar-local; adjust docstring.
4261 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4262 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4263
051f2775
AS
42642013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4265
4266 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4267
f24e7572
GM
42682013-07-12 Eli Zaretskii <eliz@gnu.org>
4269
4270 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4271 (Bug#14842)
4272
539a920c
GM
42732013-07-12 Glenn Morris <rgm@gnu.org>
4274
4275 * doc-view.el: Require cl-lib at runtime too.
4276 (doc-view-remove-if): Remove.
4277 (doc-view-search-next-match, doc-view-search-previous-match):
4278 Use cl-remove-if.
4279
4280 * edmacro.el: Require cl-lib at runtime too.
4281 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4282 (edmacro-mismatch, edmacro-subseq): Remove.
4283
4284 * shadowfile.el: Require cl-lib.
4285 (shadow-remove-if): Remove.
4286 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4287 Use cl-remove-if.
4288
4289 * wid-edit.el: Require cl-lib.
4290 (widget-choose): Use cl-remove-if.
4291 (widget-remove-if): Remove.
4292
4293 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4294 (ebrowse-delete-if-not): Remove.
4295 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4296 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4297 Use cl-delete-if-not.
4298
1048af7c
JB
42992013-07-12 Juanma Barranquero <lekktu@gmail.com>
4300
4301 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4302 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4303
6c0674ee
LL
43042013-07-12 Leo Liu <sdl.web@gmail.com>
4305
4306 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4307
a19b3c2d
GM
43082013-07-11 Glenn Morris <rgm@gnu.org>
4309
4582a01c
GM
4310 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4311 (edebug-gensym-index, edebug-gensym):
4312 Remove reimplementation of cl-gensym.
4313 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4314
4315 * thumbs.el: Require cl-lib at run-time too.
4316 (thumbs-gensym-counter, thumbs-gensym):
4317 Remove reimplementation of cl-gensym.
4318 (thumbs-temp-file): Use cl-gensym.
4319
a19b3c2d
GM
4320 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4321 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4322 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4323 (ert--union, ert--gensym-counter, ert--gensym-counter)
4324 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4325 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4326 (ert-make-test-unbound, ert--expand-should-1)
4327 (ert--expand-should, ert--should-error-handle-error)
4328 (should-error, ert--explain-equal-rec)
4329 (ert--plist-difference-explanation, ert-select-tests)
4330 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4331 Use cl-lib functions rather than reimplementations.
4332
88f6a933
MA
43332013-07-11 Michael Albinus <michael.albinus@gmx.de>
4334
4335 * net/tramp.el (tramp-methods): Extend docstring.
4336 (tramp-connection-timeout): New defcustom.
4337 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4338 (with-tramp-progress-reporter): Simplify.
4339 (tramp-process-actions): Improve messages.
4340
4341 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4342 * net/tramp-sh.el (tramp-maybe-open-connection):
4343 Use `tramp-connection-timeout'.
4344 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4345 (Bug#14808)
4346
a43d577e
LL
43472013-07-11 Leo Liu <sdl.web@gmail.com>
4348
4349 * ido.el (ido-read-file-name): Conform to the requirements of
4350 read-file-name. (Bug#11861)
4351 (ido-read-directory-name): Conform to the requirements of
4352 read-directory-name.
4353
d77974bf
JB
43542013-07-11 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * subr.el (delay-warning): New function.
4357
35cb8a3e
EZ
43582013-07-10 Eli Zaretskii <eliz@gnu.org>
4359
4360 * simple.el (default-line-height): New function.
4361 (line-move-partial, line-move): Use it instead of computing the
4362 line height inline.
4363 (line-move-partial): Always compute ROWH. If the last line is
4364 partially-visible, but its text is completely visible, allow
4365 cursor to enter such a partially-visible line.
4366
525c5c77
MA
43672013-07-10 Michael Albinus <michael.albinus@gmx.de>
4368
4369 Improve error messages. (Bug#14808)
4370
4371 * net/tramp.el (tramp-current-connection): New defvar, moved from
4372 tramp-sh.el.
0ac26976 4373 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4374 needed anymore.
0ac26976
SM
4375 (tramp-error-with-buffer): Show message in minibuffer.
4376 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4377 (with-tramp-progress-reporter): Improve messages.
4378 (tramp-process-actions): Use progress reporter. Delete process in
4379 case of error. Improve messages.
4380
763a086d
JB
4381 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4382 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4383 (tramp-current-connection): Remove.
525c5c77
MA
4384 (tramp-maybe-open-connection): The car of
4385 `tramp-current-connection' are the first 3 slots of the vector.
4386
c7a4d368
TZ
43872013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4388
4389 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4390 inside continued strings.
4391
954b166e
PE
43922013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4393
4394 Timestamp fixes for undo (Bug#14824).
4395 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4396
56973319
LL
43972013-07-10 Leo Liu <sdl.web@gmail.com>
4398
4399 * files.el (require-final-newline): Allow safe local value.
4400 (Bug#14834)
4401
5550a72c
LL
44022013-07-09 Leo Liu <sdl.web@gmail.com>
4403
4404 * ido.el (ido-read-directory-name): Handle fallback.
4405 (ido-read-file-name): Update DIR to ido-current-directory.
4406 (Bug#1516)
c28b9050 4407 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4408
70c46b28
DG
44092013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4410
4411 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4412 "autoload". Remove "warn lower camel case" section, previously
4413 commented out. Highlight negation char. Do not highlight the
4414 target in singleton method definitions.
4415
0b64b838
SM
44162013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4417
7fd72e2c
SM
4418 * faces.el (tty-setup-hook): Declare the hook.
4419
0b64b838
SM
4420 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4421 and detect when a guard/pred depends on local vars (bug#14773).
4422 (pcase--u1): Adjust caller.
4423
ab49d60b
EZ
44242013-07-08 Eli Zaretskii <eliz@gnu.org>
4425
4426 * simple.el (line-move-partial, line-move): Account for
4427 line-spacing.
701d79aa
EZ
4428 (line-move-partial): Avoid setting vscroll when the last
4429 partially-visible line in window is of default height.
ab49d60b 4430
2d756ae0
LMI
44312013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4432
4433 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4434 been used a while.
4435
ed095bd7
JB
44362013-07-07 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * subr.el (read-quoted-char): Remove unused local variable `char'.
4439
f1e6674b
MK
44402013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4441
584ee3fc
GM
4442 * ediff.el (ediff-version): Version update.
4443 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4444 (ediff-merge-with-ancestor-command, ediff-directories-command)
4445 (ediff-directories3-command, ediff-merge-directories-command)
4446 (ediff-merge-directories-with-ancestor-command): New functions.
4447 All are command-line interfaces to ediff: to facilitate calling
4448 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4449
4450 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4451 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4452
584ee3fc
GM
4453 * viper.el (viper-version): Version update.
4454 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4455
584ee3fc
GM
44562013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4459 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4460 (viper-intercept-ESC-key): Simplify.
4461 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4462 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4463 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4464 (viper-setup-ESC-to-escape): New functions.
4465 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4466 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4467
9aff9b38
EZ
44682013-07-07 Eli Zaretskii <eliz@gnu.org>
4469
5165d44a
JB
4470 * simple.el (default-font-height, window-screen-lines):
4471 New functions.
9aff9b38
EZ
4472 (line-move, line-move-partial): Use them instead of
4473 frame-char-height and window-text-height. This makes scrolling
4474 text smoother when the buffer's default face uses a font that is
4475 different from the frame's default font.
4476
1afb1d07
JD
44772013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4478
4479 * files.el (write-file): Do not display confirm dialog for NS,
4480 it does its own dialog, which can't be cancelled (Bug#14578).
4481
23de972a
EZ
44822013-07-06 Eli Zaretskii <eliz@gnu.org>
4483
4484 * simple.el (line-move-partial): Adjust the row returned by
4485 posn-at-point for the current window-vscroll. (Bug#14567)
4486
54a42486
MA
44872013-07-06 Michael Albinus <michael.albinus@gmx.de>
4488
4489 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4490 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4491 spaces.
4492
34ada5f4
MR
44932013-07-06 Martin Rudalics <rudalics@gmx.at>
4494
4495 * window.el (window-state-put-stale-windows): New variable.
4496 (window--state-put-2): Save list of windows without matching buffer.
4497 (window-state-put): Remove "bufferless" windows if possible.
4498
11e03d89
JB
44992013-07-06 Juanma Barranquero <lekktu@gmail.com>
4500
4501 * simple.el (alternatives-define): Remove leftover :group keyword.
4502 Tweak docstring.
4503
3504a4be
LL
45042013-07-06 Leo Liu <sdl.web@gmail.com>
4505
4506 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4507 (ido-enable-virtual-buffers): New variable.
4508 (ido-buffer-internal, ido-toggle-virtual-buffers)
4509 (ido-make-buffer-list): Use it.
4510 (ido-exhibit): Support turning on and off virtual buffers
4511 automatically.
4512
61e56e2c
JB
45132013-07-06 Juanma Barranquero <lekktu@gmail.com>
4514
4515 * simple.el (alternatives-define): New macro.
4516
321e1a9c
SM
45172013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * subr.el (read-quoted-char): Use read-key.
4520 (sit-for): Let read-event decode tty input (bug#14782).
4521
d610f6dd
SB
45222013-07-05 Stephen Berman <stephen.berman@gmx.net>
4523
4524 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4525 mode command and externally. Fix various related bugs.
4526 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4527 (todo-delete-file): New command.
4528 (todo-check-file): New function.
4529 (todo-show): Handle external deletion of the file we're trying to
4530 show (bug#14688). Replace called-interactively-p by an optional
4531 prefix argument to avoid problematic interaction with catch form
4532 when byte compiled (bug#14702).
4533 (todo-quit): Handle external deletion of the archive's todo file.
4534 Make sure the buffer that was visiting the archive file is still
4535 live before trying to bury it.
4536 (todo-category-completions): Handle external deletion of any
4537 category completion files.
4538 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4539 of todo files, in case of external deletion.
4540 (todo-add-file): Replace unnecessary setq by let-binding.
4541 (todo-find-archive): Check whether there are any archives.
4542 Replace unnecessary setq by let-binding.
4543 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4544 archive buffer whether or not the archive already exists.
4545 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4546 check if the archive is new; if it is, update list of archives.
4547 (todo-default-todo-file): Allow nil to be a valid value for when
4548 there are no todo files.
4549 (todo-reevaluate-default-file-defcustom): Use corrected definition
4550 of todo-default-todo-file.
4551 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4552 (todo-delete-category, todo-show-categories-table)
4553 (todo-category-number): Clarify comment.
4554 (todo-filter-items): Clarify documentation string.
4555 (todo-show-current-file, todo-display-as-todo-file)
4556 (todo-reset-and-enable-done-separator): Tweak documentation string.
4557 (todo-done-separator): Make separator length window-width, since
4558 bug#2749 is now fixed.
4559
ddbdfd6f
MA
45602013-07-05 Michael Albinus <michael.albinus@gmx.de>
4561
321e1a9c
SM
4562 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4563 Support both "gvfs-monitor-dir" and "inotifywait".
4564 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4565 `tramp-sh-file-notify-process-filter'.
4566 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4567 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4568
96eb829a
LL
45692013-07-05 Leo Liu <sdl.web@gmail.com>
4570
4571 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4572
cf13177e
YM
45732013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4574
4575 * frame.el (display-pixel-height, display-pixel-width)
4576 (display-mm-height, display-mm-width): Mention behavior on
4577 multi-monitor setups in docstrings.
4578 (w32-display-monitor-attributes-list): Declare function.
4579 (display-monitor-attributes-list): Use it.
4580
864c58ca
MA
45812013-07-04 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * filenotify.el: New package.
4584
4585 * autorevert.el (top): Require filenotify.el.
4586 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4587 instead.
4588 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4589 (auto-revert-notify-handler): Use `file-notify-*' functions.
4590
4591 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4592
321e1a9c
SM
4593 * net/tramp.el (tramp-file-name-for-operation):
4594 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4595
4596 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4597 for `file-notify-add-watch' and `file-notify-rm-watch'.
4598 (tramp-process-sentinel): Improve trace.
4599 (tramp-sh-handle-file-notify-add-watch)
4600 (tramp-sh-file-notify-process-filter)
4601 (tramp-sh-handle-file-notify-rm-watch)
4602 (tramp-get-remote-inotifywait): New defuns.
4603
96673afe
JL
46042013-07-03 Juri Linkov <juri@jurta.org>
4605
4606 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4607 call of `occur-read-primary-args' to interactive spec.
4608
4609 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4610 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4611
924494f4
MM
46122013-07-03 Matthias Meulien <orontee@gmail.com>
4613
4614 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4615 `Buffer-menu-multi-occur'. Add it to the menu.
4616 (Buffer-menu-mode): Document it in docstring.
4617 (Buffer-menu-multi-occur): New command. (Bug#14673)
4618
56f75efc
DG
46192013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4620
4621 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4622 keywords and built-ins.
4623
9b057d61
GM
46242013-07-03 Glenn Morris <rgm@gnu.org>
4625
208dee4d
GM
4626 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4627
9b057d61
GM
4628 Make info-xref checks case-sensitive by default
4629 * info.el (Info-find-node, Info-find-in-tag-table)
4630 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4631 Add option for exact case matching of nodes.
4632 * info-xref.el (info-xref): New custom group.
4633 (info-xref-case-fold): New option.
4634 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4635
e01aa29c
LL
46362013-07-03 Leo Liu <sdl.web@gmail.com>
4637
4638 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4639
3086ca2e
DG
46402013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4641
4642 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4643 middle of block statement initially, lower the depth. Remove
4644 FIXME comment, not longer valid. Remove middle of block statement
4645 detection, no need to do that anymore since we've been using
4646 `ruby-parse-region' here.
4647
a3b49114
JD
46482013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4649
4650 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4651
08e5c823 46522013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4653
4654 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4655
2addf922
JB
46562013-07-01 Juanma Barranquero <lekktu@gmail.com>
4657
4658 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4659 (desktop-restore-in-current-display): New customization option.
4660 (desktop--excluded-frame-parameters): Add `font'.
4661 (desktop--save-frames): Rename from desktop--save-windows.
4662 (desktop--restore-in-this-display-p): New function.
4663 (desktop--make-full-frame): Remove unwanted width/height from
4664 full(width|height) frames.
4665 (desktop--restore-frames): Rename from desktop--restore-windows.
4666 Obey desktop-restore-current-display. Do not delete old frames or
4667 select a new frame unless we were able to restore at least one frame.
4668
ef099a94
MN
46692013-06-30 Michal Nazarewicz <mina86@mina86.com>
4670
4671 * files.el (find-file-noselect): Simplify conditional expression.
4672
4673 * remember.el (remember-append-to-file):
4674 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4675
4676 Add `remember-notes' function to store random notes across Emacs
4677 restarts.
4678 * remember.el (remember-data-file): Add :set callback to affect
4679 notes buffer (if any).
4680 (remember-notes): New command.
4681 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4682 New defcustoms for the `remember-notes' function.
4683 (remember-notes-save-and-bury-buffer): New command.
4684 (remember-notes-mode-map): New variable.
4685 (remember-mode): New minor mode.
4686 (remember-notes--kill-buffer-query): New function.
4687 * startup.el (initial-buffer-choice): Add notes to custom type.
4688
0865d506
EZ
46892013-06-30 Eli Zaretskii <eliz@gnu.org>
4690
0ba54312
EZ
4691 * bindings.el (right-char, left-char): Don't call sit-for, this is
4692 no longer needed. Use arithmetic comparison only for numerical
4693 arguments.
4694
ef099a94
MN
4695 * international/mule-cmds.el (select-safe-coding-system):
4696 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4697
2fae38e5
LMI
46982013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4699
4700 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4701 progression on degenerate tables.
ef099a94 4702 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4703
a47cbd64
JB
47042013-06-30 Juanma Barranquero <lekktu@gmail.com>
4705
4706 Some fixes and improvements for desktop frame restoration.
4707 It is still experimental and disabled by default.
4708 * desktop.el (desktop--save-windows): Put the selected frame at
4709 the head of the list.
4710 (desktop--make-full-frame): New function.
4711 (desktop--restore-windows): Try to re-select the frame that was
4712 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4713 just show an error message and continue. Set up maximized frames
4714 so they have default non-maximized dimensions.
a47cbd64 4715
6dbafa30
DG
47162013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4717
ef099a94
MN
4718 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4719 Don't start heredoc inside a string or comment.
6dbafa30 4720
4c672a0f
EZ
47212013-06-29 Eli Zaretskii <eliz@gnu.org>
4722
4723 * bindings.el (visual-order-cursor-movement): New defcustom.
4724 (right-char, left-char): Provide visual-order cursor motion by
4725 calling move-point-visually. Update the doc strings.
4726
50960f36
KH
47272013-06-28 Kenichi Handa <handa@gnu.org>
4728
4729 * international/mule.el (define-coding-system): New coding system
4730 properties :inhibit-null-byte-detection,
4731 :inhibit-iso-escape-detection, and :prefer-utf-8.
4732 (set-buffer-file-coding-system): If :charset-list property of
4733 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4734 appropriate for setting.
4735
c1ea3abf
JB
4736 * international/mule-cmds.el (select-safe-coding-system):
4737 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4738 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4739
4740 * international/mule-conf.el (prefer-utf-8): New coding system.
4741 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4742 files.
4743
75dbaf9d
IK
47442013-06-28 Ivan Kanis <ivan@kanis.fr>
4745
eadb6068
IK
4746 * net/shr.el (shr-render-region): New function.
4747
75dbaf9d
IK
4748 * net/eww.el: Autoload `eww-browse-url'.
4749
9ea5cf9f
DG
47502013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4751
c1ea3abf
JB
4752 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4753 Adapt to `package-desc-version' being a list.
4754 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4755 archive element.
4756
39c0e36f
JB
47572013-06-27 Juanma Barranquero <lekktu@gmail.com>
4758
4759 New experimental feature to save&restore window and frame setup.
4760 * desktop.el (desktop-save-windows): New defcustom.
4761 (desktop--saved-states): New var.
4762 (desktop--excluded-frame-parameters): New defconst.
4763 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4764 (desktop--restore-windows, desktop--save-windows): New functions.
4765 (desktop-save): Call `desktop--save-windows'.
4766 (desktop-read): Call `desktop--restore-windows'.
4767
7f13406b
LMI
47682013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769
ef099a94 4770 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4771
1e072639
SB
47722013-06-27 Stephen Berman <stephen.berman@gmx.net>
4773
4774 * info.el (Info-try-follow-nearest-node): Move search for footnote
4775 above search for node name to prevent missing a footnote (bug#14717).
4776
f3e2cbde
SB
47772013-06-27 Stephen Berman <stephen.berman@gmx.net>
4778
4779 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4780
99906aa0
LL
47812013-06-27 Leo Liu <sdl.web@gmail.com>
4782
4783 * net/eww.el (eww-read-bookmarks): Check file size.
4784
539f75f4
SM
47852013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4788 advice--pending if newdef is nil or an autoload (bug#13820).
4789 (advice-mapc): New function.
4790
843571cb
LMI
47912013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4792
4793 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4794 probably.
23a75d7f 4795 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4796 (eww-add-bookmark): New command.
4797 (eww-bookmark-mode): New mode and commands.
a285ce99 4798 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4799 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4800
f2136e1e
GM
48012013-06-26 Glenn Morris <rgm@gnu.org>
4802
eab35f39
GM
4803 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4804 (hfy-size): Handle ttys. (Bug#14668)
4805
f2136e1e
GM
4806 * info-xref.el: Update for Texinfo 5 change in *note format.
4807 (info-xref-node-re, info-xref-note-re): New constants.
4808 (info-xref-check-buffer): Use info-xref-note-re.
4809
a49ff80c
SM
48102013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4811
a343d218
SM
4812 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4813
a49ff80c
SM
4814 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4815 nil terminate the loop (bug#14718).
4816
8308f184
LMI
48172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818
4819 * net/eww.el: Rework history traversal. When going forward/back,
4820 put these actions into the history, too, so that they can be
4821 replayed.
26bf2b82 4822 (eww-render): Move the history reset to the correct buffer.
8308f184 4823
ec64c273
JL
48242013-06-25 Juri Linkov <juri@jurta.org>
4825
4826 * files-x.el (modify-dir-local-variable): Change the header comment
4827 in the file with directory local variables. (Bug#14692)
4828
e080a9d7
JL
4829 * files-x.el (read-file-local-variable-value): Add `default'.
4830 (Bug#14710)
4831
bfbc93a1
IK
48322013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4833
4834 * net/eww.el (eww-make-unique-file-name): Create a unique file
4835 name before saving to entering `y' accidentally asynchronously.
4836
48372013-06-25 Ivan Kanis <ivan@kanis.fr>
4838
4839 * net/eww.el (eww-download): New command and keystroke.
4840
16f74f10
LMI
48412013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842
a49ff80c 4843 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4844
4845 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4846 be more consistent with Info and dired.
4847
4848 * net/eww.el (eww-mode-map): Ditto.
4849
12059709
SM
48502013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4853 packages from archives.
4854 (package-archive-contents): Change format; include obsolete packages.
4855 (package-desc): Use `dir' to mark builtin packages.
4856 (package--from-builtin): Set the `dir' field to `builtin'.
4857 (generated-autoload-file, version-control): Declare.
4858 (package-compute-transaction): Change first arg and return value to be
4859 lists of package-descs. Adjust to new package-archive-contents format.
4860 (package--add-to-archive-contents): Adjust to new
4861 package-archive-contents format.
4862 (package-download-transaction): Arg is now a list of package-descs.
4863 (package-install): If `pkg' is a package name, pass it as
4864 a requirement, so it is subject to the usual (e.g. disabled) checks.
4865 (describe-package): Accept package-desc as well.
4866 (describe-package-1): Describe a specific package-desc. Add links to
4867 other package-descs for the same package name.
4868 (package-menu-describe-package): Pass the actual package-desc.
4869 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4870 works correctly.
4871 (package-desc-status): New function.
4872 (package-menu--refresh): New function, extracted
4873 from package-menu--generate.
4874 (package-menu--generate): Use it.
4875 (package-delete): Update package-alist.
4876 (package-menu-execute): Don't call package-initialize.
4877
4878 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4879 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4880 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4881 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4882 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4883 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4884
8bbdea0f
MR
48852013-06-25 Martin Rudalics <rudalics@gmx.at>
4886
4887 * window.el (window--state-get-1): Workaround for bug#14527.
4888 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4889
e82b0991
LMI
48902013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4891
4892 * net/eww.el (eww-back-url): Implement the history by stashing all
4893 the data into a list.
d3f0f918 4894 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4895
c763842b
SM
48962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4899 for values and use read--expression for expressions (bug#14710).
4900 (read-file-local-variable): Avoid setq.
4901 (read-file-local-variable-mode): Use minor-mode-list.
4902
bceff189
RW
49032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4904
864c58ca 4905 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4906 for DOI URLs.
4907
45f431c6
RW
49082013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4909
864c58ca 4910 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4911 Update imenu-support when dialect changes.
4912
f42d8237
LL
49132013-06-25 Leo Liu <sdl.web@gmail.com>
4914
4915 * ido.el (ido-read-internal): Allow forward slash on windows.
4916
be549ce6
LMI
49172013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4918
4919 * net/eww.el (eww): Start of strings is \\`, not ^.
4920
71d4c19d
IK
49212013-06-24 Ivan Kanis <ivan@kanis.fr>
4922
5196f88a
IK
4923 * net/shr.el (shr-browse-url): Fix interactive spec.
4924
71d4c19d
IK
4925 * net/eww.el (eww): Add a trailing slash to domain names.
4926
ae36ca55
JB
49272013-06-24 Juanma Barranquero <lekktu@gmail.com>
4928
4929 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4930
0ebd92a3
LMI
49312013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4932
bdaa086b
LMI
4933 * net/shr.el (shr-browse-url): Use an external browser if given a
4934 prefix.
4935
c763842b 4936 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4937
b89fc156
IK
49382013-06-24 Ivan Kanis <ivan@kanis.fr>
4939
4940 * net/eww.el (eww): Work more correctly for file: URLs.
4941 (eww-detect-charset): Allow quoted charsets.
4942 (eww-yank-page-url): New command and keystroke.
4943
18eb4bca
DU
49442013-06-24 Daiki Ueno <ueno@gnu.org>
4945
4946 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4947 file name of gpg executable.
4948 (epg-context-program): New function.
4949 (epg-context-home-directory): New function.
4950 (epg-context-set-program): New function.
4951 (epg-context-set-home-directory): New function.
4952 (epg--start): Use `epg-context-program' instead of
4953 'epg-gpg-program'.
4954 (epg--list-keys-1): Likewise.
4955
6c6268c8
LL
49562013-06-24 Leo Liu <sdl.web@gmail.com>
4957
4958 * ido.el (ido-read-internal): Fix bug#14620.
4959
5e400cb3
JB
49602013-06-23 Juanma Barranquero <lekktu@gmail.com>
4961
4962 * faces.el (face-documentation): Simplify.
4963 (read-face-attribute, tty-find-type, x-resolve-font-name):
4964 Use `string-match-p'.
4965 (list-faces-display): Use `string-match-p'. Simplify.
4966 (face-spec-recalc): Check face to avoid face alias loops.
4967 (read-color): Use `string-match-p' and non-capturing parenthesis.
4968
f3f9606c
LMI
49692013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4970
4971 * net/shr.el (shr-rescale-image): Use the new
4972 :max-width/:max-height functionality.
4973
a3ca09b9
IK
49742013-06-23 Ivan Kanis <ivan@kanis.fr>
4975
4976 * net/eww.el (eww-search-prefix): New variable.
4977 (eww): Use it.
f865b474
IK
4978 (eww-external-browser): New variable.
4979 (eww-mode-map): New keystroke.
4980 (eww-browse-with-external-browser): New command.
a3ca09b9 4981
e854cfc7
IK
4982 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4983
18bb9e21
JB
49842013-06-23 Juanma Barranquero <lekktu@gmail.com>
4985
4986 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4987 Don't skip aligning the next header field when padding is 0;
4988 otherwise, field width is not respected unless the title is as
4989 wide as the field.
4990
5b165ade
SM
49912013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/package.el (package-el-version): Remove.
4994 (package-process-define-package): Fix inf-loop.
4995 (package-install): Allow symbols as arguments again.
4996
12adebe9
DG
49972013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4998
4999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5000 add some more keyword-like methods.
5001 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5002
388573ee
JB
50032013-06-22 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * bs.el (bs-buffer-show-mark): Make defvar-local.
5006 (bs-mode): Use setq-local.
5007
5008 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5009 (emacs-lock--try-unlocking): Make defvar-local.
5010
4582a01c 50112013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5012
2663dd23
GM
5013 * play/cookie1.el (cookie-apropos): Minor simplification.
5014
3d94f3ad
GM
5015 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5016
f72e2fdb
DG
50172013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5018
5019 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5020 `regexp-opt', it breaks the build during dumping.
5021
73eab938
DG
50222013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5023
c763842b
SM
5024 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5025 Highlight keyword-like methods on Kernel and Module with
73eab938 5026 font-lock-builtin-face.
5cf8176d
DG
5027 (auto-mode-alist): Consolidate different entries into one regexp
5028 and add more *file-s.
73eab938 5029
d26255f6
SB
50302013-06-21 Stephen Berman <stephen.berman@gmx.net>
5031
5032 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5033
5034 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5035 (diary-entry): Use it in the action of this button type instead of
5036 diary-goto-entry.
5037
5038 * calendar/todo-mode.el: New version.
5039 (todo-add-category): Append new category to end of file and give
5040 it the highest number, instead of putting it at the beginning and
5041 giving it 0. Incorporate noninteractive functionality.
5042 (todo-forward-category): Adapt to 1-based category numbering.
5043 Allow skipping over archived categories.
5044 (todo-backward-category): Derive from todo-forward-category.
5045 (todo-backward-item, todo-forward-item): Make noninteractive and
5046 delegate interactive part to new commands. Make sensitive to done items.
5047 (todo-categories): Make value an alist of category names and
5048 vectors of item counts.
5049 (todo-category-beg): Make a defconst.
5050 (todo-category-number): Use 1 instead of 0 as initial value.
5051 (todo-category-select): Make sensitive to overlays, optional item
5052 highlighting and done items.
5053 (todo-delete-item): Make sensitive to overlays and marked and done items.
5054 (todo-edit-item): Make sensitive to overlays and editing of
5055 date/time header optional. Add format checks.
5056 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5057 no-op if point is not on an item. Advertise using todo-edit-quit.
5058 (todo-edit-mode): Make sensitive to new format, font-locking, and
5059 multiple todo files.
5060 (todo-insert-item, todo-insert-item-here): Derive from
5061 todo-basic-insert-item and extend functionality.
5062 (todo-item-end, todo-item-start): Make sensitive to done items.
5063 (todo-item-string): Don't return text properties. Restore point.
5064 (todo-jump-to-category): Make sensitive to multiple todo files and
5065 todo archives. Use extended category completion.
5066 (todo-lower-item, todo-raise-item): Rename to *-priority and
5067 derive from todo-set-item-priority.
5068 (todo-mode): Derive from special-mode. Make sensitive to new
5069 format, font-locking and multiple todo files. Make read-only.
5070 (todo-mode-map): Don't suppress digit keys, so they can supply
5071 prefix arguments. Add many new key bindings.
5072 (todo-prefix): Insert as an overlay instead of file text.
5073 Change semantics from diary date expression to purely visual mark.
5074 (todo-print): Rename to todo-print-buffer. Make buffer display
5075 features printable. Remove option to restrict number of items
5076 printed. Add option to print to file.
5077 (todo-print-function): Rename to todo-print-buffer-function.
5078 (todo-quit): Extend to handle exiting new todo modes.
5079 (todo-remove-item): Make sensitive to overlays.
5080 (todo-save): Extend to buffers of filtered items.
5081 (todo-show): Make sensitive to done items, multiple todo files and
5082 new todo modes. Offer to convert legacy todo file before creating
5083 first new todo file.
5084 (todo-show-priorities): Rename to todo-top-priorities.
5085 Change semantics of value 0.
5086 (todo-top-priorities): Rename to todo-filter-top-priorities,
5087 derive from todo-filter-items and extend functionality.
5088 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5089 and extend functionality to other types of filtered items.
5090 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5091 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5092 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5093 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5094 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5095 (todo-edit-mode-hook, todo-entry-prefix-function)
5096 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5097 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5098 (todo-initials, todo-insert-threshold, todo-item-string-start)
5099 (todo-line-string, todo-menu, todo-mode-hook)
5100 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5101 (todo-print-priorities, todo-remove-separator)
5102 (todo-save-top-priorities-too, todo-string-count-lines)
5103 (todo-string-multiline-p, todo-time-string-format)
5104 (todo-tmp-buffer-name): Remove.
5105 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5106 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5107 (todo-edit-category-diary-inclusion)
5108 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5109 (todo-edit-file, todo-edit-item-date-day)
5110 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5111 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5112 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5113 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5114 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5115 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5116 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5117 (todo-filter-top-priorities-multifile, todo-find-archive)
5118 (todo-find-filtered-items-file, todo-go-to-source-item)
5119 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5120 (todo-jump-to-archive-category, todo-lower-category)
5121 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5122 (todo-move-category, todo-move-item, todo-next-button)
5123 (todo-next-item, todo-padded-string, todo-powerset)
5124 (todo-previous-button, todo-previous-item)
5125 (todo-print-buffer-to-file, todo-raise-category)
5126 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5127 (todo-set-category-number, todo-set-item-priority)
5128 (todo-set-top-priorities-in-category)
5129 (todo-set-top-priorities-in-file, todo-show-categories-table)
5130 (todo-sort-categories-alphabetically-or-numerically)
5131 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5132 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5133 (todo-toggle-item-header, todo-toggle-item-highlighting)
5134 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5135 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5136 (todo-unarchive-items, todo-unmark-category): New commands.
5137 (todo-absolute-file-name, todo-add-to-buffer-list)
5138 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5139 (todo-basic-insert-item, todo-category-completions)
5140 (todo-category-number, todo-category-string-matcher-1)
5141 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5142 (todo-check-format, todo-clear-matches)
5143 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5144 (todo-current-category, todo-date-string-matcher)
5145 (todo-define-insertion-command, todo-diary-expired-matcher)
5146 (todo-diary-goto-entry, todo-diary-item-p)
5147 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5148 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5149 (todo-done-item-section-p, todo-done-separator)
5150 (todo-done-string-matcher, todo-files, todo-filter-items)
5151 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5152 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5153 (todo-insert-category-line, todo-insert-item-from-calendar)
5154 (todo-insert-sort-button, todo-insert-with-overlays)
5155 (todo-insertion-command-name, todo-insertion-key-bindings)
5156 (todo-label-to-key, todo-longest-category-name-length)
5157 (todo-make-categories-list, todo-mode-external-set)
5158 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5159 (todo-modes-set-3, todo-multiple-filter-files)
5160 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5161 (todo-read-category, todo-read-date, todo-read-dayname)
5162 (todo-read-file-name, todo-read-time)
5163 (todo-reevaluate-category-completions-files-defcustom)
5164 (todo-reevaluate-default-file-defcustom)
5165 (todo-reevaluate-filelist-defcustoms)
5166 (todo-reevaluate-filter-files-defcustom)
5167 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5168 (todo-reset-done-separator, todo-reset-done-separator-string)
5169 (todo-reset-done-string, todo-reset-global-current-todo-file)
5170 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5171 (todo-reset-prefix, todo-set-categories)
5172 (todo-set-date-from-calendar, todo-set-show-current-file)
5173 (todo-set-top-priorities, todo-short-file-name)
5174 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5175 (todo-total-item-counts, todo-update-buffer-list)
5176 (todo-update-categories-display, todo-update-categories-sexp)
5177 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5178 New functions.
5179 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5180 New major modes.
5181 (todo-categories, todo-display, todo-edit, todo-faces)
5182 (todo-filtered): New defgroups.
5183 (todo-archived-only, todo-button, todo-category-string, todo-date)
5184 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5185 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5186 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5187 (todo-add-item-if-new-category, todo-always-add-time-string)
5188 (todo-categories-align, todo-categories-archived-label)
5189 (todo-categories-category-label, todo-categories-diary-label)
5190 (todo-categories-done-label, todo-categories-number-separator)
5191 (todo-categories-todo-label, todo-categories-totals-label)
5192 (todo-category-completions-files, todo-completion-ignore-case)
5193 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5194 (todo-done-separator-string, todo-done-string)
5195 (todo-files-function, todo-filter-done-items, todo-filter-files)
5196 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5197 (todo-initial-category, todo-initial-file, todo-item-mark)
5198 (todo-legacy-date-time-regexp, todo-mode-line-function)
5199 (todo-nondiary-marker, todo-number-prefix)
5200 (todo-print-buffer-function, todo-show-current-file)
5201 (todo-show-done-only, todo-show-first, todo-show-with-done)
5202 (todo-skip-archived-categories, todo-top-priorities-overrides)
5203 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5204 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5205 New defcustoms.
5206 (todo-category-done, todo-date-pattern, todo-date-string-start)
5207 (todo-diary-items-buffer, todo-done-string-start)
5208 (todo-filtered-items-buffer, todo-item-start)
5209 (todo-month-abbrev-array, todo-month-name-array)
5210 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5211 (todo-top-priorities-buffer): New defconsts.
5212 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5213 (todo-categories-with-marks, todo-category-string-face)
5214 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5215 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5216 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5217 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5218 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5219 (todo-font-lock-keywords, todo-global-current-todo-file)
5220 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5221 (todo-insertion-commands-args)
5222 (todo-insertion-commands-args-genlist)
5223 (todo-insertion-commands-names, todo-insertion-map)
5224 (todo-key-bindings-t, todo-key-bindings-t+a)
5225 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5226 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5227 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5228 (todo-visited): New variables.
5229
cad5d1cb
GM
52302013-06-21 Glenn Morris <rgm@gnu.org>
5231
5232 * play/cookie1.el (cookie-apropos): Add optional display argument.
5233 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5234 (psychoanalyze-pinhead): Use cookie-doctor.
5235
9e277302
JB
52362013-06-21 Juanma Barranquero <lekktu@gmail.com>
5237
5238 * emacs-lisp/package.el (tar-get-file-descriptor)
5239 (tar--extract): Declare.
5240
c5b0993e
EW
52412013-06-21 Eduard Wiebe <usenet@pusto.de>
5242
5243 Extend flymake's warning predicate to be a function (bug#14217).
5244 * progmodes/flymake.el (flymake-warning-predicate): New.
5245 (flymake-parse-line): Use it.
5246 (flymake-warning-re): Make obsolete alias to
5247 `flymake-warning-predicate'.
5248
a7d2d465
SM
52492013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5252 (package-obsolete-list): Remove.
5253 (package-activate): Remove min-version argument. Add `force' argument.
5254 Adjust to new package-alist format.
5255 (package-mark-obsolete): Remove.
5256 (package-unpack): Force reload of the package's autoloads.
5257 (package-installed-p): Check builtins if the installed package is not
5258 recent enough.
5259 (package-initialize): Don't reset package-obsolete-list.
5260 Don't specify which package version to activate.
5261 (package-process-define-package, describe-package-1)
5262 (package-menu--generate): Adjust to new package-alist format.
5263
cedf5c9d
JB
52642013-06-21 Juanma Barranquero <lekktu@gmail.com>
5265
5266 * allout-widgets.el (allout-widgets-mode-off)
5267 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5268 (allout-widgets-post-command-business)
5269 (allout-widgets-after-copy-or-kill-function)
5270 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5271 (allout-decorate-item-and-context)
5272 (allout-graphics-modification-handler): Fix typos in docstrings.
5273 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5274
5275 * cmuscheme.el (scheme-start-file): Doc fix.
5276 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5277 (scheme-input-filter): Use `string-match-p'.
5278
5279 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5280
5281 * dired-x.el: Use Dired consistently in docstrings.
5282
5283 * dired.el: Use Dired consistently in docstrings.
5284 (dired-readin, dired-mode): Use `setq-local'.
5285 (dired-switches-alist): Make defvar-local.
5286 (dired-buffers-for-dir): Use `zerop'.
5287 (dired-safe-switches-p, dired-switches-escape-p)
5288 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5289 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5290 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5291 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5292 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5293 (dired-toggle-marks, dired-mark-files-containing-regexp)
5294 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5295 (dired-flag-auto-save-files, dired-flag-backup-files):
5296 Use `looking-at-p'.
5297 (dired-mark-files-regexp, dired-build-subdir-alist):
5298 Use `string-match-p', `looking-at-p'.
5299
5300 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5301 (direct-print-region-helper): Use `string-match-p'.
5302
aed838b5
LL
53032013-06-21 Leo Liu <sdl.web@gmail.com>
5304
cedf5c9d
JB
5305 * comint.el (comint-redirect-results-list-from-process):
5306 Fix infinite loop.
aed838b5 5307
d80a808f
LMI
53082013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5309
5310 * net/eww.el (eww-update-header-line-format): Quote % characters.
5311
e7a526e3
GM
53122013-06-21 Glenn Morris <rgm@gnu.org>
5313
5314 * play/cookie1.el (cookie): New custom group.
5315 (cookie-file): New option.
5316 (cookie-check-file): New function.
5317 (cookie): Make it interactive. Make start and end messages optional.
5318 Interactively, display the result. Default to cookie-file.
5319 (cookie-insert): Default to cookie-file.
5320 (cookie-snarf): Make start and end messages optional.
5321 Default to cookie-file. Use with-temp-buffer.
5322 (cookie-read): Rename from read-cookie.
5323 Make start and end messages optional. Default to cookie-file.
5324 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5325 Do not autoload it.
e7a526e3
GM
5326 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5327 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5328
62efb35e
LL
53292013-06-21 Leo Liu <sdl.web@gmail.com>
5330
5331 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5332
21e3f963
GM
53332013-06-21 Glenn Morris <rgm@gnu.org>
5334
5335 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5336
fd846ab4
SM
53372013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5338 Daniel Hackney <dan@haxney.org>
5339
5340 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5341 Consolidate the single-file vs tarball code.
5342 (package-desc-suffix): New function.
5343 (package-desc-full-name): Don't bother inlining it.
5344 (package-load-descriptor): Return the new package-desc.
5345 (package-mark-obsolete): Remove unused arg `package'.
5346 (package-unpack): Make it work for single files as well.
5347 Make it update package-alist.
5348 (package--make-autoloads-and-stuff): Rename from
5349 package--make-autoloads-and-compile. Don't compile any more.
5350 (package--compile): New function.
5351 (package-generate-description-file): New function, extracted from
5352 package-unpack-single.
5353 (package-unpack-single): Remove.
5354 (package--with-work-buffer): Add indentation and debugging info.
5355 (package-download-single): Remove.
5356 (package-install-from-archive): Rename from package-download-tar, make
5357 it take a pkg-desc, and make it work for single files as well.
5358 (package-download-transaction): Simplify.
5359 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5360 external tar program.
5361 (package-install-from-buffer): Remove `pkg-desc' argument.
5362 Use package-tar-file-info for tar-mode buffers.
5363 (package-install-file): Simplify accordingly.
5364 (package-archive-base): Change to take a pkg-desc.
5365 * tar-mode.el (tar--check-descriptor): New function, extracted from
5366 tar-get-descriptor.
5367 (tar-get-descriptor): Use it.
5368 (tar-get-file-descriptor): New function.
5369 (tar--extract): New function, extracted from tar-extract.
5370 (tar--extract): Use it.
5371 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5372 case the summary uses non-ascii. Adjust to new calling convention of
5373 package-tar-file-info.
5374
b7deae5e
LL
53752013-06-21 Leo Liu <sdl.web@gmail.com>
5376
fd846ab4
SM
5377 * comint.el (comint-redirect-results-list-from-process):
5378 Fix random delay. (Bug#14681)
b7deae5e 5379
7a65a0b2
JB
53802013-06-21 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * profiler.el (profiler-format-number): Use log, not log10.
5383
1493c2af
JB
53842013-06-20 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5387
aff6371e
SM
53882013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5391 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5392 yet available.
5393 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5394 (AUTOGENEL): ... here.
5395 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5396 (cl--defsubst-expand): Use it.
5397
89561f72
PE
53982013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5399
5400 * subr.el (log10): Move here from C code, and declare as obsolete.
5401 All uses of (log10 X) replaced with (log X 10).
5402
47199123
JB
54032013-06-20 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5406 Declare with `defvar-local'.
5407 (tabulated-list-use-header-line, tabulated-list-entries)
5408 (tabulated-list-padding, tabulated-list-printer)
5409 (tabulated-list-sort-key): Declare with `defvar-local'.
5410 (tabulated-list-init-header, tabulated-list-print-fake-header):
5411 Use `setq-local'.
5412
4a172eab
MA
54132013-06-20 Michael Albinus <michael.albinus@gmx.de>
5414
47199123
JB
5415 * arc-mode.el (archive-mode): Add `archive-write-file' to
5416 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5417
5fc0acc0
JB
54182013-06-20 Juanma Barranquero <lekktu@gmail.com>
5419
d5b27848
JB
5420 * cus-edit.el (custom-commands): Fix typos.
5421 (custom-display): Fix tooltip text.
5422 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5423 Fix typos in docstrings.
5424 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5425 (custom-unlispify-menu-entry, custom-magic-value-create)
5426 (custom-add-see-also, custom-group-value-create): Use ?\s.
5427 (custom-guess-type, customize-apropos, editable-field)
5428 (custom-face-value-create): Use `string-match-p'.
5429 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5430
5431 * custom.el (custom-load-symbol): Use `string-match-p'.
5432
a5c581d8
JB
5433 * ansi-color.el: Convert to lexical binding.
5434 (ansi-colors): Fix URL.
5435 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5436 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5437 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5438
970ad972
G
54392013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5440
5441 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5442
5443 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5444
54452013-06-19 Tom Tromey <tromey@redhat.com>
5446
5447 * net/eww.el (eww-top-url): Remove.
5448 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5449 (eww-render): Set new variables. Don't set eww-top-url.
5450 (eww-handle-link): Handle "prev", "home", and "contents".
5451 Downcase the rel text.
5452 (eww-top-url): Choose best top URL.
5453
54542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5455
5456 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5457 relying in widget.el. Using widget.el leads to too many
5458 user interface inconsistencies.
5459 (eww-self-insert): Implement entering commands in text fields.
5460 (eww-process-text-input): New function to make text input field editing
5461 work.
5462 (eww-submit): Rewrite to use the new-style form methods.
5463 (eww-select-display): Display the correct selected item.
5464 (eww-change-select): Implement changing the select value.
5465 (eww-toggle-checkbox): Implement radio/checkboxes.
5466 (eww-update-field): Fix compilation error.
5467 (eww-tag-textarea): Implement <textarea>.
5468
5469 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5470 we don't shadow mode-specific bindings.
5471
5472 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5473 nothing to push.
5474
5475 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5476
4582a01c 54772013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5478
5479 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5480
15b263dc
MA
54812013-06-19 Michael Albinus <michael.albinus@gmx.de>
5482
5483 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5484 not needed.
5485
5486 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5487
8f5297f7
LMI
54882013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5489
5490 * net/browse-url.el (browse-url-browser-function):
5491 `eww-browse-url' has the right calling signature, `eww' does not.
5492
011c4552
GM
54932013-06-19 Glenn Morris <rgm@gnu.org>
5494
2285bd27
GM
5495 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5496 Only eval autoloaded macros.
5497 (byte-compile-autoload): Only give the macro warning for macros.
5498
1d653303
GM
5499 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5500 (ps-underlined-faces): Declare.
5501
bdd779ec
GM
5502 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5503 (speedbar-add-supported-extension): Declare.
5504
011c4552
GM
5505 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5506 Don't include a date stamp in the header of the generated file;
5507 it leads to needless differences between output files.
5508
e59dfb0e
MA
55092013-06-19 Michael Albinus <michael.albinus@gmx.de>
5510
c763842b
SM
5511 * net/secrets.el (secrets-struct-secret-content-type):
5512 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5513 Some servers do not offer introspection.
e59dfb0e 5514
102626e2
SM
55152013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * electric.el (electric-pair-mode): Improve interaction with
5518 electric-layout-mode.
5519 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5520 (electric-pair-syntax): Use text-mode-syntax-table in comments
5521 and strings.
5522 (electric-pair--insert): New function.
5523 (electric-pair-post-self-insert-function): Use it and
5524 electric--after-char-pos.
5525
ad528125
LL
55262013-06-19 Leo Liu <sdl.web@gmail.com>
5527
5528 * progmodes/octave.el (octave-help): Fix regexp.
5529
924d6997
G
55302013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5531
5532 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5533 (shr-table-horizontal-line): Allow nil as a value, and change the
5534 default.
5535 (shr-insert-table-ruler): Respect the nil value.
5536
55372013-06-18 Tom Tromey <tromey@barimba>
5538
5539 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5540 New defvars.
5541 (eww-open-file): New defun.
5542 (eww-render): Initialize new variables.
5543 (eww-display-html): Handle "link" and "a".
5544 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5545 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5546 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5547 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5548 New defuns.
924d6997 5549
d1bbba4f
DG
55502013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5551
5552 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5553 Distinguish ternary operator tokens from slash symbol and slash
5554 char literal.
5555
14dd22d2
JB
55562013-06-18 Juanma Barranquero <lekktu@gmail.com>
5557
5558 Convert symbol prettification into minor mode and global minor mode.
5559
5560 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5561 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5562 (prettify-symbols--keywords): Rename from
5563 `prog-prettify-symbols-alist' and make a local defvar.
5564 (prettify-symbols--compose-symbol): Rename from
5565 `prog--prettify-font-lock-compose-symbol'.
5566 (prettify-symbols--make-keywords): Rename from
5567 `prog-prettify-font-lock-symbols-keywords' and simplify.
5568 (prog-prettify-install): Remove.
5569 (prettify-symbols-mode): New minor mode, based on
5570 `prog-prettify-install'.
5571 (turn-on-prettify-symbols-mode): New function.
5572 (global-prettify-symbols-mode): New globalized minor mode.
5573
5574 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5575 * progmodes/cfengine.el (cfengine3-mode):
5576 * progmodes/perl-mode.el (perl-mode): Don't call
5577 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5578
292c880c
JL
55792013-06-18 Juri Linkov <juri@jurta.org>
5580
5581 * files-x.el (modify-file-local-variable-message): New function.
5582 (modify-file-local-variable)
5583 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5584 and call `modify-file-local-variable-message' when it's non-nil.
5585 (add-file-local-variable, delete-file-local-variable)
5586 (add-file-local-variable-prop-line)
5587 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5588 and use it. (Bug#9820)
5589
0950aa27
JL
55902013-06-18 Juri Linkov <juri@jurta.org>
5591
5592 * emulation/vi.el (vi-shell-op):
5593 * emulation/vip.el (vip-execute-com, ex-command):
5594 * emulation/viper-cmd.el (viper-exec-bang):
5595 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5596 the call of `shell-command-on-region'. (Bug#14637)
5597
5598 * simple.el (shell-command-on-region): Doc fix.
5599
8fbcca16
SM
56002013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5603 (bug#14633).
5604
dd7426ea
GM
56052013-06-18 Glenn Morris <rgm@gnu.org>
5606
4ba54f7d
GM
5607 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5608
dd7426ea
GM
5609 * newcomment.el (comment-search-forward, comment-search-backward):
5610 Doc fix. (Bug#14376)
5611
58aa805b
JB
56122013-06-18 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5615 (buffer-face-mode-invoke): Doc fix.
5616
9a08a617
MM
56172013-06-18 Matthias Meulien <orontee@gmail.com>
5618
5619 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5620 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5621
f2f426ca
GM
56222013-06-18 Glenn Morris <rgm@gnu.org>
5623
9445f99b
GM
5624 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5625 Replace obsolete function generic-make-keywords with its expansion.
5626
e0df2d14
GM
5627 * progmodes/python.el (ffap-alist): Declare.
5628
f2f426ca
GM
5629 * textmodes/reftex.el (bibtex-mode-map): Declare.
5630
f7f9a720
SM
56312013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5634 (package-unpack, package-unpack-single): Return the pkg-dir.
5635 (package-download-transaction): Use it to update package-alist.
5636
57ff04e0
LMI
56372013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5638
5639 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5640 possible choice.
5641
c048c022
JL
56422013-06-17 Juri Linkov <juri@jurta.org>
5643
5644 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5645
b5bcaee5
DG
56462013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5647
a020afb9
JB
5648 * emacs-lisp/package.el (package-load-descriptor):
5649 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5650 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5651
551e07e5
JB
56522013-06-17 Juanma Barranquero <lekktu@gmail.com>
5653
5654 * startup.el (command-line): Expand package name returned by
5655 `package--description-file' (bug#14639).
5656
d363bffb
DG
56572013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5658
5659 * emacs-lisp/package.el (package-load-descriptor): Do not call
5660 `emacs-lisp-mode', just use its syntax table.
5661
f612933b
JB
56622013-06-17 Juanma Barranquero <lekktu@gmail.com>
5663
5664 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5665 `font-lock-extra-managed-props' if any prettifying keyword is added.
5666 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5667 (prog-mode): Use `setq-local'.
5668
db3b7db5
SM
56692013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * international/characters.el (standard-case-table): Set syntax of ?»
5672 and ?« to punctuation.
5673
f3d674df
JB
56742013-06-16 Juanma Barranquero <lekktu@gmail.com>
5675
5676 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5677 Save relevant match data before calling `syntax-ppss' (bug#14595).
5678
31489a32
JL
56792013-06-15 Juri Linkov <juri@jurta.org>
5680
5681 * files-x.el (modify-file-local-variable-prop-line): Add local
5682 variables to the end of the existing comment on the first line.
5683 Use `file-auto-mode-skip' to skip interpreter magic line,
5684 and also skip XML declaration.
5685
66bd25ab
SM
56862013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * startup.el (package--builtin-versions): New var.
5689 (package-subdirectory-regexp): Remove.
5690 (package--description-file): Hard code its value instead.
5691
5692 * emacs-lisp/package.el: Don't activate packages older than builtin.
5693 (package-obsolete-list): Rename from package-obsolete-alist, and make
5694 it into a simple list of package-desc.
5695 (package-strip-version): Remove.
5696 (package-built-in-p): Use package--builtin-versions.
5697 (package-mark-obsolete): Simplify.
5698 (package-process-define-package): Mark it obsolete if older than the
5699 builtin version.
5700 (package-handle-response): Use line-end-position.
5701 (package-read-archive-contents, package--download-one-archive):
5702 Simplify.
5703 (package--add-to-archive-contents): Skip if older than the builtin or
5704 installed version.
5705 (package-menu-describe-package): Fix last change.
5706 (package-list-unversioned): New var.
5707 (package-menu--generate): Use it.
5708
5709 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5710 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5711 (autoload-builtin-package-versions): New variable.
5712 (autoload-generate-file-autoloads): Use them.
5713 Remove the list of autoloaded functions/macros from the
5714 (autoload...) comments.
5715
5716 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5717
9583ec36
EZ
57182013-06-15 Eli Zaretskii <eliz@gnu.org>
5719
5720 * simple.el (line-move-partial): Don't jump to the next screen
5721 line as soon as it becomes visible. Instead, continue enlarging
5722 the vscroll until the portion of a tall screen line that's left on
5723 display is about the height of the frame's default font.
5724 (Bug#14567)
5725
f0100d8a
GM
57262013-06-15 Glenn Morris <rgm@gnu.org>
5727
b86a85ca
GM
5728 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5729 compilation-error-regexp-alist void, or local while let-bound.
5730
f0100d8a
GM
5731 * progmodes/make-mode.el (makefile-mode-syntax-table):
5732 Treat "=" as punctuation. (Bug#14614)
5733
05e7ce90
JB
57342013-06-15 Juanma Barranquero <lekktu@gmail.com>
5735
5736 * help-fns.el (describe-variable):
5737 Add extra line for permanent-local variables.
5738
12e5e86e
SH
57392013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5740
5741 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5742 Add export, import, library. (Bug#9164)
5743 (library): Set indent function.
5744
230dcbaf
GM
57452013-06-14 Glenn Morris <rgm@gnu.org>
5746
5747 * term/xterm.el (xterm--query):
5748 Stop after first matching handler. (Bug#14615)
5749
e36b2d20 57502013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5751
5752 Add support for dired in saveplace.
5753 * dired.el (dired-initial-position-hook): New variable.
5754 (dired-initial-position): Call hook to place cursor position.
5755 * saveplace.el (save-place-to-alist): Add dired position.
5756 (save-place-dired-hook): New function.
5757
0b31660d
SM
57582013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5759
bf1e6ae8
SM
5760 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5761 through a symbol rather than letrec.
5762
1b8dff23
SM
5763 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5764 (package-desc): Add `dir' field.
5765 (package-desc-full-name): New function.
5766 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5767 (package-maybe-load-descriptor): Remove.
5768 (package-load-all-descriptors): Just call package-load-descriptor.
5769 (package--disabled-p): New function.
5770 (package-desc-vers, package-desc-doc): Remove aliases.
5771 (package--dir): Remove function.
5772 (package-activate): Check if a package is disabled.
5773 (package-process-define-package): New function, extracted from
5774 define-package.
5775 (define-package): Turn into a place holder.
5776 (package-unpack-single, package-tar-file-info):
5777 Use package--description-file.
5778 (package-compute-transaction): Use package--disabled-p.
5779 (package-download-transaction): Don't call
5780 package-maybe-load-descriptor since they're all loaded anyway.
5781 (package-install): Change argument to be a pkg-desc.
5782 (package-delete): Use a single pkg-desc argument.
5783 (describe-package-1): Use package-desc-dir instead of package--dir.
5784 Use package-desc property instead of package-symbol.
5785 (package-install-button-action): Adjust accordingly.
5786 (package--push): Rewrite.
5787 (package-menu--print-info): Adjust accordingly. Change the ID format
5788 to be a pkg-desc.
5789 (package-menu-describe-package, package-menu-get-status)
5790 (package-menu--find-upgrades, package-menu-mark-upgrades)
5791 (package-menu-execute, package-menu--name-predicate):
5792 Adjust accordingly.
5793 * startup.el (package--description-file): New function.
5794 (command-line): Use it.
5795 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5796 Use package-desc-version.
5797
0b31660d
SM
5798 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5799 (byte-compile-preprocess): Use it.
5800 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5801 can't quite recognize.
5802 (byte-compile-add-to-list): Remove.
5803 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5804 (cconv-closure-convert): Add assertion.
5805
5806 * emacs-lisp/map-ynp.el: Use lexical-binding.
5807 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5808 Factor out some repeated code.
5809
de0503df
SM
58102013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * subr.el (with-eval-after-load): New macro.
5813 (eval-after-load): Allow form to be a function.
5814 take advantage of lexical-binding.
5815 (do-after-load-evaluation): Use dolist and adjust to new format.
5816 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5817
bc5c8c5a
JL
58182013-06-13 Juri Linkov <juri@jurta.org>
5819
5820 * replace.el (perform-replace): Display "symbol " and other search
5821 modes from `isearch-message-prefix' in the *Help* buffer.
5822
5823 * isearch.el (isearch-query-replace): Add " symbol" and other
5824 possible search modes from `isearch-message-prefix' to the prompt.
5825 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5826 when reading a regexp to collect.
5827
a22289f7
JL
58282013-06-13 Juri Linkov <juri@jurta.org>
5829
5830 * isearch.el (word-search-regexp): Match whitespace if the search
5831 string begins or ends in whitespace. The LAX arg is applied to
5832 both ends of the search string. Use `regexp-quote' and explicit
5833 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5834 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5835 boundaries are replaced with symbol boundaries, and characters
5836 between symbols match non-word non-symbol syntax. (Bug#14602)
5837
cb89acab
JL
58382013-06-13 Juri Linkov <juri@jurta.org>
5839
5840 * isearch.el (isearch-del-char): Don't exceed the length of
5841 `isearch-string' by the prefix arg. (Bug#14563)
5842
6e8cfc81
JL
58432013-06-13 Juri Linkov <juri@jurta.org>
5844
5845 * isearch.el (isearch-yank-word, isearch-yank-line)
5846 (isearch-char-by-name, isearch-quote-char)
5847 (isearch-printing-char, isearch-process-search-char):
5848 Add optional count prefix arg. (Bug#14563)
5849
5850 * international/isearch-x.el
5851 (isearch-process-search-multibyte-characters):
5852 Add optional count prefix arg.
5853
c23d55f4
VS
58542013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5857 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5858 lexical-binding.
5859
58602013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5861
5862 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5863
ba947bc4
GM
58642013-06-13 Glenn Morris <rgm@gnu.org>
5865
8baeb37a
GM
5866 * startup.el (tty-handle-args):
5867 Don't just discard "--" and anything after. (Bug#14608)
5868
ba947bc4
GM
5869 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5870
9abefce4
MA
58712013-06-13 Michael Albinus <michael.albinus@gmx.de>
5872
5873 Implement changes in Secret Service API. Make it backward compatible.
5874 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5875 (secrets-create-item): Use it. Prefix properties with interface.
5876
5755011f
MH
58772013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5878
5879 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5880 (term-emulate-terminal): Respect term-suppress-hard-newline.
5881
1261d2da
S
58822013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5883
5884 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5885 Only remove a `thumb-file' overlay. (Bug#14548)
5886
868490bb
GJ
58872013-06-12 Grégoire Jadi <daimrod@gmail.com>
5888
5889 * mail/reporter.el (reporter-submit-bug-report):
5890 Handle missing package-name. (Bug#14600)
5891
79d7167f
TH
58922013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5893
5894 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5895 (reftex-citation-prompt, reftex-default-bibliography)
5896 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5897 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5898 (reftex-bib-sort-author, reftex-bib-sort-year)
5899 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5900 (reftex-extract-bib-entries-from-thebibliography)
5901 (reftex-get-bibkey-default, reftex-get-bib-names)
5902 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5903 (reftex-format-bib-entry, reftex-parse-bibitem)
5904 (reftex-format-bibitem, reftex-do-citation)
5905 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5906 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5907 (reftex-insert-bib-matches, reftex-format-citation)
5908 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5909 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5910 existing comments into docstrings.
5911
5f9dbd7a
XF
59122013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5913
5914 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5915
94df41ab
AS
59162013-06-12 Andreas Schwab <schwab@suse.de>
5917
5918 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5919 for auto-save files.
5920
a7f3fecc
GM
59212013-06-12 Glenn Morris <rgm@gnu.org>
5922
001809f6
GM
5923 * ido.el (ido-delete-ignored-files): Remove.
5924 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5925 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5926
834b5ded
EL
59272013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5928
08c73ed2
EL
5929 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5930
834b5ded
EL
5931 * ido.el (ido-delete-ignored-files): New function,
5932 split from ido-make-file-list-1.
5933 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5934 (ido-make-file-list-1): Use ido-delete-ignored-files.
5935
daabf15a
LL
59362013-06-12 Leo Liu <sdl.web@gmail.com>
5937
5938 * progmodes/octave.el (inferior-octave-startup)
5939 (inferior-octave-completion-table)
5940 (inferior-octave-track-window-width-change)
5941 (octave-eldoc-function-signatures, octave-help)
5942 (octave-find-definition): Use single quoted strings.
5943 (inferior-octave-startup-args): Change default value.
5944 (inferior-octave-startup): Do not hard code "-i" and
5945 "--no-line-editing".
5946 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5947 (inferior-octave-directory-tracker): Use it.
5948 (octave-goto-function-definition): Robustify.
5949 (octave-help): Support highlighting operators in 'See also'.
5950 (octave-find-definition): Find subfunctions only in Octave mode.
5951
cf4e5178
SM
59522013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * help-fns.el (help-fns--compiler-macro): If the handler function is
5955 named, then put a link to it.
5956 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5957 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5958 (cl-typep): Use it.
5959 (cl-eval-when): Simplify debug spec.
5960 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5961 compiler-macro function instead of setting `compiler-macro-file'.
5962
99c81280 59632013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5964
5965 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5966 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5967
f56be016
SM
59682013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5969 Daniel Hackney <dan@haxney.org>
5970
5971 First part of Daniel Hackney's patch to package.el.
5972 * emacs-lisp/package.el: Use defstruct.
5973 (package-desc): New, main struct.
5974 (package--bi-desc, package--ac-desc): New structs, used to describe the
5975 format in external files.
5976 (package-desc-vers): Replace with package-desc-version accessor.
5977 (package-desc-doc): Replace with package-desc-summary accessor.
5978 (package-activate-1): Remove `package' arg since the pkg-vec now
5979 includes the name.
5980 (define-package): Use package-desc-from-define.
5981 (package-unpack-single): Change file-name arg to be a symbol.
5982 (package--add-to-archive-contents): Use package-desc-create and new
5983 accessor functions to package--ac-desc.
5984 (package-buffer-info, package-tar-file-info): Return a package-desc.
5985 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5986 arg to be a package-desc.
5987 (package-install-file): Adjust accordingly. Use \' to match EOS.
5988 (package--from-builtin): New function.
5989 (describe-package-1, package-menu--generate): Use it.
5990 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5991 (package-generate-autoloads): Idem and return the name of the file.
5992 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5993 Change pkg-info arg to be a package-desc.
5994 Use package-make-ac-desc.
5995 (package-upload-file): Use \' to match EOS.
5996 * finder.el (finder-compile-keywords): Use package-make-builtin.
5997
31119d63
SM
59982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5999
931a2762
SM
6000 * vc/vc.el (vc-deduce-fileset): Change error message.
6001 (vc-read-backend): New function.
6002 (vc-next-action): Use it.
6003
5a3eb0c6
SM
6004 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6005
e3eb1bb7
SM
6006 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6007 (prolog-font-lock-keywords): Use regexp-opt instead.
6008 Don't manually highlight strings.
6009 (prolog-mode-variables): Simplify comment-start-skip.
6010 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6011
31119d63
SM
6012 * emacs-lisp/generic.el (generic--normalise-comments)
6013 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6014 (generic-mode-set-comments): Use them.
6015 (generic-bracket-support): Use setq-local.
6016 (generic-make-keywords-list): Declare obsolete.
6017
7de135d0
GM
60182013-06-11 Glenn Morris <rgm@gnu.org>
6019
6020 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6021 Prettify after setting font-lock-defaults. (Bug#14574)
6022
fa6bc6fd
JB
60232013-06-11 Juanma Barranquero <lekktu@gmail.com>
6024
6025 * replace.el (query-replace, occur-read-regexp-defaults-function)
6026 (replace-search):
6027 * subr.el (declare-function, number-sequence, local-set-key)
6028 (substitute-key-definition, locate-user-emacs-file)
6029 (with-silent-modifications, split-string, eval-after-load):
6030 Fix typos, remove unneeded backslashes and reflow some docstrings.
6031
cf1f9b9a
SM
60322013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6035 default for Elisp files.
6036
56602a4b
GM
60372013-06-11 Glenn Morris <rgm@gnu.org>
6038
6039 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6040 although define-derived-mode was doing this anyway. (Bug#14583)
6041
30ae0b2c
JB
60422013-06-10 Juanma Barranquero <lekktu@gmail.com>
6043
6044 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6045 Fix make-variable-buffer-local call to refer to the correct variable.
6046
fa472906
AG
60472013-06-10 Aidan Gauland <aidalgol@amuri.net>
6048
6049 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6050 (eshell-visual-subcommands, eshell-visual-options):
6051 Add summary line to docstrings. Add cross-references.
fa472906 6052
ff4871b9
GM
60532013-06-10 Glenn Morris <rgm@gnu.org>
6054
6055 * epa.el (epa-read-file-name): New function. (Bug#14510)
6056 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6057
04fcf1b0
AG
60582013-06-09 Aidan Gauland <aidalgol@amuri.net>
6059
6060 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6061 output redirection to be ignored with visual commands.
6062
88b00caa
AG
60632013-06-09 Aidan Gauland <aidalgol@amuri.net>
6064
6065 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6066 (eshell-term-initialize): Move long lambda to separate function
6067 eshell-visual-command-p.
e7b41c4c
JB
6068 * eshell/em-dirs.el (eshell-dirs-initialise):
6069 * eshell/em-script.el (eshell-script-initialize):
6070 Add missing #' to lambda.
88b00caa 6071
fda74125
LL
60722013-06-08 Leo Liu <sdl.web@gmail.com>
6073
6074 * progmodes/octave.el (octave-add-log-current-defun): New function.
6075 (octave-mode): Set add-log-current-defun-function.
6076 (octave-goto-function-definition): Do not move point if not found.
6077 (octave-find-definition): Enhance to try subfunctions first.
6078
467f3b33
GM
60792013-06-08 Glenn Morris <rgm@gnu.org>
6080
6081 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6082 (byte-compile-backward-char, byte-compile-backward-word):
6083 Improve previous change, to handle non-explicit nil.
6084
544badc3
SM
60852013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6088 (smie--opener/closer-at-point): New function.
6089 (smie--matching-block-data): Use it. Don't match from right after an
6090 opener or right before a closer. Obey smie-blink-matching-inners.
6091 Don't signal a mismatch for repeated inners like "switch..case..case".
6092
a175bf33
LL
60932013-06-07 Leo Liu <sdl.web@gmail.com>
6094
6095 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6096 to t. (Bug#14303)
ce8209d4
LL
6097 (octave-function-header-regexp): Fix. (Bug#14570)
6098 (octave-help-mode-finish-hook, octave-help-mode-finish):
6099 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6100
6101 * newcomment.el (comment-search-backward): Revert last change.
6102 (Bug#14434)
6103
6104 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6105
a822acff
EZ
61062013-06-07 Eli Zaretskii <eliz@gnu.org>
6107
6108 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6109 through xargs, to avoid failure due to MS-Windows limitations on
6110 command-line length.
6111
961166f5
GM
61122013-06-06 Glenn Morris <rgm@gnu.org>
6113
d0341459
GM
6114 * font-lock.el (lisp-font-lock-keywords-2):
6115 Treat user-error like error.
6116
961166f5
GM
6117 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6118 (byte-compile-backward-char, byte-compile-backward-word):
6119 Handle explicit nil arguments. (Bug#14565)
6120
80fa505f
AM
61212013-06-05 Alan Mackenzie <acm@muc.de>
6122
6123 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6124 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6125 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6126 (Bug#9706)
80fa505f 6127
fccdc796
SM
61282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * autorevert.el (auto-revert-notify-handler): Use memq.
6131 Hide assertion failure.
6132
6133 * skeleton.el: Use cl-lib.
6134 (skeleton-further-elements): Use defvar-local.
6135 (skeleton-insert): Use cl-progv.
6136
9bfff84b
TZ
61372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6138
6139 * progmodes/prog-mode.el (prog-prettify-symbols)
6140 (prog-prettify-install): Update docstrings.
6141
55577e7c
SM
61422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * simple.el: Move all the prog-mode code to prog-mode.el.
6145 * progmodes/prog-mode.el: New file.
6146 * loadup.el: Add prog-mode.el.
6147
8fc57765
TZ
61482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6149
6150 * simple.el (prog-prettify-symbols): Add version.
6151 (prog-prettify-install): Add convenience function to prettify symbols.
6152
6153 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6154 (perl--augmented-font-lock-keywords-1)
6155 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6156 variables and use it.
6157
6158 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6159 (cfengine3-mode): Remove unneeded variable and use it.
6160
6161 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6162 (lisp--augmented-font-lock-keywords-1)
6163 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6164 Remove unneeded variables and use it.
6165
650645d5 61662013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6167
6168 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6169 to point when opening the connection. (Bug#14380)
28f5da6d 6170
781b4af6
SM
61712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * subr.el (load-history-regexp, load-history-filename-element)
6174 (eval-after-load, after-load-functions, do-after-load-evaluation)
6175 (eval-next-after-load, display-delayed-warnings)
6176 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6177 definition of save-match-data.
6178 (overriding-local-map): Remove accidental obsolescence declaration.
6179
6180 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6181
3ca0d0b4
TZ
61822013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6183
6184 Generalize symbol prettify support to prog-mode and implement it
6185 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6186 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6187 (prog--prettify-font-lock-compose-symbol)
6188 (prog-prettify-font-lock-symbols-keywords): New variables and
6189 functions to support symbol prettification.
6190 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6191 (lisp--augmented-font-lock-keywords-1)
6192 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6193 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6194 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6195 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6196 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6197 * progmodes/perl-mode.el (perl-prettify-symbols)
6198 (perl--font-lock-compose-symbol)
6199 (perl--font-lock-symbols-keywords): Move to prog-mode.
6200 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6201 (perl-font-lock-keywords-1)
6202 (perl-font-lock-keywords-2): Remove explicit prettify support.
6203 (perl--augmented-font-lock-keywords)
6204 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6205 (perl--augmented-font-lock-keywords-2, perl-mode):
6206 Implement prettify support.
3ca0d0b4 6207
976cb066
LL
62082013-06-05 Leo Liu <sdl.web@gmail.com>
6209
6210 Re-implement smie matching block highlight using
6211 show-paren-data-function. (Bug#14395)
6212 * emacs-lisp/smie.el (smie-matching-block-highlight)
6213 (smie--highlight-matching-block-overlay)
6214 (smie--highlight-matching-block-lastpos)
6215 (smie-highlight-matching-block)
6216 (smie-highlight-matching-block-mode): Remove.
6217 (smie--matching-block-data-cache): New variable.
6218 (smie--matching-block-data): New function.
6219 (smie-setup): Use smie--matching-block-data for
6220 show-paren-data-function.
6221
6222 * progmodes/octave.el (octave-mode-menu): Fix.
6223 (octave-find-definition): Skip garbage lines.
6224
208d0342
SM
62252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 Fix compilation error with simultaneous dynamic+lexical scoping.
6228 Add warning when a defvar appears after the first let-binding.
6229 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6230 (byte-compile-close-variables): Initialize it.
6231 (byte-compile--declare-var): New function.
6232 (byte-compile-file-form-defvar)
6233 (byte-compile-file-form-define-abbrev-table)
6234 (byte-compile-file-form-custom-declare-variable): Use it.
6235 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6236 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6237 (byte-compile-bind): Handle dynamic bindings that shadow
6238 lexical bindings.
6239 (byte-compile-unbind): Make arg non-optional.
6240 (byte-compile-let): Simplify.
6241 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6242 (cconv--analyse-function, cconv-analyse-form): Populate it.
6243 Protect byte-compile-bound-variables to limit the scope of defvars.
6244 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6245 Remove unneeded rule for `declare'.
6246
6247 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6248 so as to avoid depending on cl-adjoin at run-time.
6249 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6250
6251 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6252 (macroexp--warn-and-return): Use it.
6253
2587b005
LL
62542013-06-05 Leo Liu <sdl.web@gmail.com>
6255
6256 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6257
f1da3c88
LL
62582013-06-04 Leo Liu <sdl.web@gmail.com>
6259
6260 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6261 (compilation-auto-jump): Suppress the "Mark set" message to give
6262 way to exit message.
6263
3caa391f
AM
62642013-06-04 Alan Mackenzie <acm@muc.de>
6265
6266 Remove faulty optimisation from indentation calculation.
6267 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6268 search limit based on 2000 characters back from indent-point.
6269
068922a2
TH
62702013-06-03 Tassilo Horn <tsdh@gnu.org>
6271
6272 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6273
1f8fdd53
SM
62742013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6275
bbcc4d97
SM
6276 * emacs-lisp/lisp.el: Use lexical-binding.
6277 (lisp--local-variables-1, lisp--local-variables): New functions.
6278 (lisp--local-variables-completion-table): New var.
208d0342 6279 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6280
1f8fdd53
SM
6281 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6282 eagerly (bug#14422).
6283
c9628c79
MA
62842013-06-03 Michael Albinus <michael.albinus@gmx.de>
6285
6286 * autorevert.el (auto-revert-notify-enabled)
6287 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6288 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6289 (auto-revert-notify-handler): Handle also gfilenotify.
6290
e7b41c4c 6291 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6292 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6293 Remove.
c9628c79 6294
e5e4a942
JL
62952013-06-03 Juri Linkov <juri@jurta.org>
6296
6297 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6298 `M-s h .'. (Bug#14427)
6299
6300 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6301 command `hi-lock-face-symbol-at-point'.
6302 (hi-lock-face-symbol-at-point): New command.
6303 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6304 (hi-lock-menu): Add `highlight-symbol-at-point'.
6305 (hi-lock-mode): Doc fix.
6306
6307 * isearch.el (isearch-forward-symbol-at-point): New command.
6308 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6309 (isearch-highlight-regexp): Add a regexp which matches
6310 words/symbols for word/symbol mode.
6311
6312 * subr.el (find-tag-default-bounds): New function with the body
6313 mostly moved from `find-tag-default'.
6314 (find-tag-default): Move most code to `find-tag-default-bounds',
6315 call it and apply `buffer-substring-no-properties' afterwards.
6316
26b3353a
TH
63172013-06-03 Tassilo Horn <tsdh@gnu.org>
6318
781b4af6
SM
6319 * eshell/em-term.el (eshell-term-initialize):
6320 Use `cl-intersection' rather than `intersection'.
26b3353a 6321
51b60f53
XF
63222013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6323
fe054b63 6324 * vc/log-view.el: Doc fix.
d3ffe17c 6325 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6326
a0eb10b3 63272013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6328
6329 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6330 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6331 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6332 (eieio-unbound, eieio-default-superclass)
6333 (eieio--define-field-accessors, method-static, method-before)
6334 (method-primary, method-after, method-num-lists)
6335 (method-generic-before, method-generic-primary)
6336 (method-generic-after, method-num-slots)
6337 (eieio-specialized-key-to-generic-key)
6338 (eieio--check-type, class-v, class-p)
6339 (eieio-class-name, define-obsolete-function-alias)
6340 (eieio-class-parents-fast, eieio-class-children-fast)
6341 (same-class-fast-p, class-constructor, generic-p)
6342 (generic-primary-only-p, generic-primary-only-one-p)
6343 (class-option-assoc, class-option, eieio-object-p)
6344 (class-abstract-p, class-method-invocation-order)
6345 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6346 (eieio-class-un-autoload, eieio-defclass)
6347 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6348 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6349 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6350 (eieio-defgeneric-reset-generic-form)
6351 (eieio-defgeneric-form-primary-only)
6352 (eieio-defgeneric-reset-generic-form-primary-only)
6353 (eieio-defgeneric-form-primary-only-one)
6354 (eieio-defgeneric-reset-generic-form-primary-only-one)
6355 (eieio-unbind-method-implementations)
6356 (eieio--defmethod, eieio--typep)
6357 (eieio-perform-slot-validation, eieio-validate-slot-value)
6358 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6359 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6360 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6361 (eieio-slot-name-index, eieio-class-slot-name-index)
6362 (eieio-set-defaults, eieio-initarg-to-attribute)
6363 (eieio-attribute-to-initarg, eieio-c3-candidate)
6364 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6365 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6366 (eieio-class-precedence-list, eieio-generic-call-methodname)
6367 (eieio-generic-call-arglst, eieio-generic-call-key)
6368 (eieio-generic-call-next-method-list)
6369 (eieio-pre-method-execution-functions, eieio-generic-call)
6370 (eieio-generic-call-primary-only, eieiomt-method-list)
6371 (eieiomt-optimizing-obarray, eieiomt-install)
6372 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6373 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6374 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6375 (defclass): Remove `eval-and-compile' from macro.
6376 (call-next-method, shared-initialize): Instead of using
6377 `scoped-class' variable, use new eieio--scoped-class, and
6378 eieio--with-scoped-class.
6379 (initialize-instance): Rename local variable 'scoped-class' to
6380 'this-class' to remove ambiguitity from old global.
6381
6382 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6383 eieio.el.
4f405069
JB
6384 (eieio--scoped-class-stack): New variable.
6385 (eieio--scoped-class): New fcn.
890f7890
DE
6386 (eieio--with-scoped-class): New scoping macro.
6387 (eieio-defclass): Use pushnew instead of add-to-list.
6388 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6389 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6390 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6391 `scoped-class' variable, use new eieio--scoped-class, and
6392 eieio--with-scoped-class.
6393
6394 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6395
d105b0e2
TH
63962013-06-02 Tassilo Horn <tsdh@gnu.org>
6397
6398 * eshell/esh-ext.el (eshell-external-command): Pass args to
6399 `eshell-find-interpreter'.
6400 (eshell-find-interpreter): Add new second parameter ARGS.
6401
6402 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6403 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6404
6405 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6406 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6407
6408 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6409 (eshell-visual-options): New defcustom.
6410 (eshell-escape-control-x): Adapt docstring.
6411 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6412 `eshell-visual-options' in addition to `eshell-visual-commands'.
6413 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6414
f46305c8 64152013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6416
6417 * progmodes/python.el (python-indent-block-enders): Add break,
6418 continue and raise keywords.
6419
d870df21
GM
64202013-06-01 Glenn Morris <rgm@gnu.org>
6421
9133b82e
GM
6422 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6423
02c992ec 6424 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6425 * progmodes/cc-cmds.el (delete-forward-p):
6426 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6427 * progmodes/cc-engine.el (buffer-syntactic-context):
6428 * progmodes/cc-fonts.el (face-property-instance):
6429 * progmodes/cc-mode.el (set-keymap-parents):
6430 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6431 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6432 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6433 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6434 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6435
31e7b090
GM
6436 * progmodes/cc-vars.el (other): Emacs has this widget since
6437 at least 21.1, so don't (re)define it.
6438
d870df21
GM
6439 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6440 Replace the obsolete alias pcomplete-arg-quote-list.
6441
c75c93c7
LL
64422013-06-01 Leo Liu <sdl.web@gmail.com>
6443
6444 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6445 punctuation syntax.
6446 (inferior-octave-minimal-columns)
6447 (inferior-octave-last-column-width): New variables.
6448 (inferior-octave-track-window-width-change): New function.
6449 (inferior-octave-mode): Adjust column width so that Octave output,
6450 for example from 'ls', can fit into the window nicely.
6451
973d1e12
DG
64522013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6453
6454 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6455 Highlight expansions inside regexp literals.
6456
0888c286
GM
64572013-05-31 Glenn Morris <rgm@gnu.org>
6458
e26aac1f
GM
6459 * obsolete/sym-comp.el (symbol-complete):
6460 Replace obsolete completion-annotate-function.
6461
0888c286
GM
6462 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6463
19bb8e62
DG
64642013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6465
781b4af6
SM
6466 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6467 New function, checks if point is inside a literal that allows
19bb8e62
DG
6468 expression expansion.
6469 (ruby-syntax-propertize-expansion): Use it.
6470 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6471 around the body.
6472
01dea85f
JL
64732013-05-30 Juri Linkov <juri@jurta.org>
6474
6475 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6476 to "\M-si".
6477 (isearch-invisible): New variable.
6478 (isearch-forward): Doc fix.
6479 (isearch-mode): Set `isearch-invisible'
6480 to the value of `search-invisible'.
6481 (isearch-toggle-case-fold): Doc fix.
6482 (isearch-toggle-invisible): New command.
6483 (isearch-query-replace): Let-bind `search-invisible'
6484 to the value of `isearch-invisible'.
6485 (isearch-search): Use `isearch-invisible' instead of
6486 `search-invisible'. Let-bind `search-invisible'
6487 to the value of `isearch-invisible'. (Bug#11378)
6488
ab1bdce5
JL
64892013-05-30 Juri Linkov <juri@jurta.org>
6490
6491 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6492 call when `query-flag' is nil and `search-invisible' is non-nil.
6493 (Bug#11746)
6494
d6d236e2
GM
64952013-05-30 Glenn Morris <rgm@gnu.org>
6496
8accd027
GM
6497 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6498
2a8bed1c
GM
6499 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6500 (cc-require): Suppress spurious "noruntime" warnings.
6501 (cc-require-when-compile): Use fboundp, for sake of compiler.
6502
d6d236e2
GM
6503 * progmodes/cc-mode.el: Move load of cc-vars before that of
6504 cc-langs (which in turn loads cc-vars), to quieten compiler.
6505
9190b35b
SM
65062013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * paren.el: Simplify the code.
6509 (show-paren-mode): Always start the timer.
6510 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6511 (show-paren--overlay, show-paren--overlay-1): Rename from
6512 show-paren-overlay and show-paren-overlay-1, and initialize to an
6513 overlay rather than to nil.
6514 (show-paren-function): Misc cleanup and simplifications.
6515
4f8d1cf6
SM
65162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * paren.el (show-paren-data-function): New hook.
6519 (show-paren--default): New function, extracted from show-paren-function.
6520 (show-paren-function): Use show-paren-data-function.
6521
02d844b5
GM
65222013-05-30 Glenn Morris <rgm@gnu.org>
6523
d209d4a9
GM
6524 * ielm.el (ielm-map, ielm-complete-symbol):
6525 Use completion-at-point rather than obsolete functions.
6526 (inferior-emacs-lisp-mode): Doc fix.
6527 Set completion-at-point-functions, rather than
6528 comint-dynamic-complete-functions.
6529
2082faa6
GM
6530 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6531 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6532 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6533
dd8620de
GM
6534 * image.el (image-animated-p): Tweak definition.
6535
ceca95b1
GM
6536 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6537 (rlogin-process-connection-type): Tweak default. Add set-after.
6538 (rlogin-host): Doc fix.
6539 (rlogin): Tweak prompt.
6540 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6541
ee9f1acc
GM
6542 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6543 * progmodes/tcl.el (inferior-tcl-mode-map):
6544 Use completion-at-point rather than obsolete alias.
6545
45ce222e
GM
6546 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6547
02d844b5
GM
6548 * minibuffer.el (read-file-name-completion-ignore-case):
6549 Move before completion--in-region, for eager macro expansion.
6550
ac44d6c1
JL
65512013-05-29 Juri Linkov <juri@jurta.org>
6552
6553 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6554 for total count of matching lines. Add `global-matches' for total
6555 count of matches. Rename `matches' to `lines' for count of
6556 matching lines. Add `matches' for count of matches.
6557 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6558 to `prev-line' for line number of prev match endpt.
6559 Increment `matches' for every match. Print the number of
6560 matching lines in the header.
6561 (occur-context-lines): Rename `lines' to `curr-line'.
6562 Rename `prev-lines' to `prev-line'. (Bug#14017)
6563
3c9c9d38
JL
65642013-05-29 Juri Linkov <juri@jurta.org>
6565
6566 * replace.el (perform-replace): Add `skip-read-only-count',
6567 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6568 Increment them for corresponding conditions and report the number
6569 of skipped occurrences in the final message. (Bug#11746)
6570 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6571 (replace-string, replace-regexp): Doc fix.
6572
33e249a2
SM
65732013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6574
8e399682
SM
6575 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6576
33e249a2 6577 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6578 prog-mode-map (bug#14504).
33e249a2 6579
f236dd84
LL
65802013-05-29 Leo Liu <sdl.web@gmail.com>
6581
6582 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6583 (octave-help): Small simplification.
6584
6585 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6586 off the highlight first.
6587
3694d13f
GM
65882013-05-29 Glenn Morris <rgm@gnu.org>
6589
03983bdc
GM
6590 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6591 Handle idlwave-last-system-routine-info-cons-cell being nil.
6592
bc74a74a
GM
6593 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6594 (idlwave-write-paths): Simplify via with-temp-buffer.
6595
8b394200
GM
6596 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6597 * emulation/cua-rect.el: Also load cua-base at run time.
6598
3694d13f
GM
6599 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6600 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6601 (cperl-imenu-on-info): Require imenu.
6602
336d7284
AM
66032013-05-28 Alan Mackenzie <acm@muc.de>
6604
6605 Handle "capitalised keywords" correctly.
33e249a2 6606 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6607
cb29c582
AG
66082013-05-28 Aidan Gauland <aidalgol@amuri.net>
6609
781b4af6 6610 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6611
690e44b2
GM
66122013-05-28 Glenn Morris <rgm@gnu.org>
6613
e658d75c
GM
6614 * vc/vc-arch.el (vc-exec-after): Declare.
6615 (vc-switches): Autoload.
6616 * vc/vc-bzr.el: No need to require vc when compiling.
6617 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6618 (vc-resynch-buffer, vc-dir-refresh): Declare.
6619 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6620 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6621 (vc-resynch-buffer): Declare.
6622 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6623 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6624 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6625 (grep-read-regexp, grep-read-files, grep-expand-template)
6626 (vc-dir-refresh): Declare.
6627 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6628 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6629 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6630 * vc/vc-mtn.el (vc-exec-after): Declare.
6631 (vc-switches): Autoload.
6632 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6633 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6634 (vc-file-tree-walk): Declare.
712b9732
GM
6635 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6636 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6637 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6638 * vc/vc-svn.el (vc-exec-after): Declare.
6639 (vc-switches, vc-setup-buffer): Autoload.
6640 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6641 Autoload.
6642 (vc-resynch-buffer): Declare.
6643
98e87fb3
GM
6644 * obsolete/fast-lock.el (byte-compile-warnings):
6645 Don't warn about obsolete features in this obsolete file.
6646
f5379553
GM
6647 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6648 Move definition before use.
6649
7a20ef83
GM
6650 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6651 (dun-unix-verbs): Remove dun-zippy.
6652 (dun-zippy): Remove function.
6653
690e44b2
GM
6654 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6655
3a52ccf7
JL
66562013-05-27 Juri Linkov <juri@jurta.org>
6657
6658 * replace.el (replace-search): New function with code moved out
6659 from `perform-replace'.
6660 (replace-highlight, replace-dehighlight): Move function definitions
6661 up closer to `replace-search'. (Bug#11746)
6662
d289938a
JL
66632013-05-27 Juri Linkov <juri@jurta.org>
6664
6665 * replace.el (perform-replace): Ignore invisible matches.
6666 In addition to checking `query-replace-skip-read-only', also
6667 filter out matches by calling `run-hook-with-args-until-failure'
6668 on `isearch-filter-predicates', and also check `search-invisible'
6669 for t or call `isearch-range-invisible'.
6670 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6671
66fc57e3
JL
66722013-05-27 Juri Linkov <juri@jurta.org>
6673
6674 * isearch.el (isearch-filter-predicates): Rename from
6675 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6676 (isearch-message-prefix): Display text from the property
6677 `isearch-message-prefix' of the currently active filters.
6678 (isearch-search): Don't compare `isearch-filter-predicate' with
6679 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6680 on `isearch-filter-predicates'. Also check `search-invisible' for t
6681 or call `isearch-range-invisible'.
6682 (isearch-filter-visible): Make obsolete.
6683 (isearch-lazy-highlight-search):
6684 Call `run-hook-with-args-until-failure' on
6685 `isearch-filter-predicates' and use `isearch-range-invisible'.
6686
6687 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6688 `isearch-filter-predicates' instead of `funcall'ing
6689 `isearch-filter-predicate'.
6690 (Info-mode): Set `Info-isearch-filter' to
6691 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6692
6693 * dired-aux.el (dired-isearch-filter-predicate-orig):
6694 Remove variable.
6695 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6696 (dired-isearch-filenames-end): Add and remove
6697 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6698 instead of changing the value of `isearch-filter-predicate'.
6699 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6700 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6701 Put property `isearch-message-prefix' to "filename " on
6702 `dired-isearch-filter-filenames'.
6703
6704 * wdired.el (wdired-change-to-wdired-mode):
6705 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6706 locally instead of changing `isearch-filter-predicate'.
6707 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6708
f1a60a0f
DG
67092013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6710
6711 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6712 return the commit hash (Bug#14459). Also set the
6713 `vc-git-detached' property.
6714 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6715 (vc-git-mode-line-string): Use the same help-echo format whether
6716 in detached mode or not, because we know the actual revision now.
6717 When in detached mode, shorten the revision to 7 chars.
6718
7f17cc40
SM
67192013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * emacs-lisp/easy-mmode.el (define-minor-mode):
6722 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6723 mode hook and provide a docstring.
6724
25c8401c
AM
67252013-05-27 Alan Mackenzie <acm@muc.de>
6726
6727 Remove spurious syntax-table text properties inserted by C-y.
6728 * progmodes/cc-mode.el (c-after-change): Also clear hard
6729 syntax-table property with value nil.
6730
dde84790
MA
67312013-05-27 Michael Albinus <michael.albinus@gmx.de>
6732
6733 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6734 when reading the events; the buffer layout shall not be changed.
6735
837fd9af
LL
67362013-05-27 Leo Liu <sdl.web@gmail.com>
6737
6738 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6739 New variable.
6740 (inferior-octave-directory-tracker): Automatically re-sync
6741 default-directory.
6742 (octave-help): Improve handling of 'See also'.
6743
4fd996b3
SM
67442013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6745
416f1802
SM
6746 * doc-view.el: Minor naming convention tweaks.
6747 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6748
4fd996b3
SM
6749 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6750 even if there's no `display' property yet (bug#14435).
6751
a052ef3b
EZ
67522013-05-25 Eli Zaretskii <eliz@gnu.org>
6753
4fd996b3 6754 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6755
6756 * Makefile.in (custom-deps, finder-data, autoloads)
6757 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6758 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6759 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6760
c9023370
SM
67612013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6764 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6765 Don't burp at EOB.
c9023370 6766
24d699fa
LL
67672013-05-25 Leo Liu <sdl.web@gmail.com>
6768
6769 * comint.el (comint-previous-matching-input): Do not flood the
6770 *Messages* buffer with trivial messages.
6771
17e5c0cc
SM
67722013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * progmodes/flymake.el (flymake-nop): Don't return a string.
6775 (flymake-set-at): Fix typo.
6776
6777 * simple.el (read--expression): New function, extracted from
6778 eval-expression. Set completion-at-point-functions (bug#14465).
6779 (eval-expression, eval-minibuffer): Use it.
6780
5d028165
XF
67812013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6782
6783 * progmodes/flymake.el (flymake-save-buffer-in-file)
6784 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6785 (flymake-selected-frame, flymake-log, flymake-ins-after)
6786 (flymake-set-at, flymake-get-buildfile-from-cache)
6787 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6788 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6789 Refine the doc string.
6790 (flymake-get-file-name-mode-and-masks): Reformat.
6791 (flymake-get-real-file-name-function): Fix a minor bug.
6792
7a1d7ba7
JL
67932013-05-24 Juri Linkov <juri@jurta.org>
6794
6795 * progmodes/grep.el (grep-mode-font-lock-keywords):
6796 Support =linenumber= format used by git-grep for lines with
6797 function names. (Bug#13549)
6798
650cff3d
SM
67992013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6802 0 after a semi-colon; it works better for smie-auto-fill.
6803 (octave--indent-new-comment-line): New function.
6804 (octave-indent-new-comment-line): Use it (indirectly).
6805 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6806 modify comment-line-break-function.
6807
6808 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6809 (smie-setup): Use add-function to set it.
6810
9631677d
SS
68112013-05-24 Sam Steingold <sds@gnu.org>
6812
6813 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6814 argument (before the `interactive' argument).
6815
50105835
SM
68162013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * image-mode.el (image-mode-winprops): Add winprops to
6819 image-mode-winprops-alist before running
6820 image-mode-new-window-functions.
6821 * doc-view.el (doc-view-new-window-function): Don't delay
6822 doc-view-goto-page via timers (bug#14435).
6823
57b9823e
TH
68242013-05-24 Tassilo Horn <tsdh@gnu.org>
6825
6826 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6827 (doc-view-desktop-save-buffer): New function.
6828 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6829 (desktop-buffer-mode-handlers):
6830 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6831 handler.
6832 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6833 `desktop-save-buffer' function.
6834
91aafa16
MA
68352013-05-24 Michael Albinus <michael.albinus@gmx.de>
6836
6837 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6838 (tramp-gvfs-file-name-handler): Raise a user error when
6839 `tramp-gvfs-enabled' is nil.
6840 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6841 Do not raise a user error when loading package. (Bug#14447)
6842
ec076379
MA
6843 * net/xesam.el: Move to obsolete/.
6844
db785726
GM
68452013-05-24 Glenn Morris <rgm@gnu.org>
6846
af5c7606
GM
6847 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6848
e5d1916a
GM
6849 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6850
ded62b08
GM
6851 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6852 (Info-find-node, Man-getpage-in-background): Declare.
6853
9e614a3f
GM
6854 * mail/unrmail.el (unrmail):
6855 Replace obsolete detect-coding-with-priority.
6856
892f8ca3
GM
6857 * net/socks.el (socks-split-string): Use this rather than split-string.
6858 (socks-nslookup-host): Update for above change.
6859 (dynamic-choice, s5-dynamic-choice-match)
6860 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6861 Comment out unused code.
6862
3c291973
GM
6863 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6864 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6865 (gud-tooltip-echo-area): Make obsolete.
6866 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6867
43cc956b
GM
6868 * progmodes/js.el (js--optimize-arglist): Declare.
6869
dab49a3b
GM
6870 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6871
36b9d085
GM
6872 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6873 (ediff-window-C): Declare.
6874
e354ae76
GM
6875 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6876 Tweak requires to silence compiler.
6877
b8e57bf4
GM
6878 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6879 (he-search-string, he-tried-table, he-expand-list)
6880 (he-init-string, he-string-member, he-substitute-string)
6881 (he-reset-string): Declare.
6882
db785726
GM
6883 * obsolete/options.el (list-options): Use custom-variable-p,
6884 rather than obsolete alias.
6885
b3531901
SS
68862013-05-23 Sam Steingold <sds@gnu.org>
6887
6888 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6889 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6890 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6891
bdda4c66
SM
68922013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * emacs-lisp/smie.el (smie-indent-forward-token)
6895 (smie-indent-backward-token): Handle string tokens (bug#14381).
6896
c43d45f9
TH
68972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6898
fe1eb856
RS
6899 * ielm.el (ielm-menu): New menu.
6900 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6901
fe1eb856
RS
69022013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6903
6904 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6905 Fix deactivate action.
6906
6907 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6908 Add cleveref macros.
074dd971 6909
c43d45f9
TH
6910 * lisp/textmodes/reftex-parse.el
6911 (reftex-locate-bibliography-files): Accept options for
6912 bibliography commands.
6913 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6914 Add addbibresource. Basic Biblatex support.
6915
7764286e
MA
69162013-05-23 Michael Albinus <michael.albinus@gmx.de>
6917
6918 * net/tramp-gvfs.el (top):
6919 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6920 when loading package. (Bug#14447)
6921
d361bc10
GM
69222013-05-23 Glenn Morris <rgm@gnu.org>
6923
8fa23984
GM
6924 * progmodes/js.el: No need to load comint when compiling.
6925 (ring-insert, comint-send-string, comint-send-input)
6926 (comint-last-input-end, ido-chop): Declare.
6927
a5c7df1a
GM
6928 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6929 * vc/ediff-mult.el: Adjust requires.
6930 (ediff-directories-internal, ediff-directory-revisions-internal)
6931 (ediff-patch-file-internal): Declare.
6932 * vc/ediff-ptch.el: Adjust requires.
6933 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6934 (ediff-find-file): Autoload.
6935 * vc/ediff-util.el: No need to load ediff when compiling.
6936 (ediff-regions-internal): Declare.
6937 * vc/ediff-wind.el: Adjust requires.
6938 (ediff-compute-toolbar-width): Define when compiling.
6939 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6940 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6941 (dired-get-filename, dired-get-marked-files)
6942 (ediff-last-dir-patch, ediff-patch-default-directory)
6943 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6944 (ediff-patch-buffer-internal): Declare.
6945
e2aec513
GM
6946 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6947 (ispell-process, ispell-buffer-local-words, lm-summary)
6948 (lm-section-start, lm-section-end): Declare.
6949 (checkdoc-ispell-init): Simplify.
6950
e68bbd7c
GM
6951 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6952 (he-string-member, he-reset-string, he-substitute-string): Declare.
6953
7efe0991
GM
6954 * eshell/em-ls.el: Adjust requires.
6955 (eshell-glob-regexp): Declare.
f87b1284
GM
6956 * eshell/em-tramp.el: Adjust requires.
6957 (eshell-parse-command): Autoload.
6958 * eshell/em-xtra.el: Adjust requires.
6959 (eshell-parse-command): Autoload.
6960 * eshell/esh-ext.el: Adjust requires.
6961 (eshell-parse-command, eshell-close-handles): Autoload.
6962 * eshell/esh-io.el: Adjust requires.
6963 (eshell-output-filter): Autoload.
6964 * eshell/esh-util.el: No need to load tramp when compiling.
6965 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6966 Declare.
6967 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6968 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6969 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6970 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6971 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6972 * eshell/esh-opt.el, eshell/esh-proc.el:
6973 * eshell/esh-var.el: Adjust requires.
6974 * eshell/eshell.el: Do not require esh-util twice.
6975 (eshell-add-input-to-history): Declare.
6976 (eshell-command): Check history module is active before using it.
6977
d361bc10
GM
6978 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6979
85d090a9
LL
69802013-05-22 Leo Liu <sdl.web@gmail.com>
6981
6982 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6983
5d0acd9d
MA
69842013-05-22 Michael Albinus <michael.albinus@gmx.de>
6985
6986 * autorevert.el (auto-revert-notify-add-watch)
6987 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6988 it indicates changes in file modification time.
6989
0cdffd7d
GM
69902013-05-22 Glenn Morris <rgm@gnu.org>
6991
ca5995ec
GM
6992 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6993 Always delete the autoloaded function from the noruntime and
6994 unresolved functions lists.
6995
6450907e
GM
6996 * allout.el: No need to load epa, epg, overlay when compiling.
6997 (epg-context-set-passphrase-callback, epg-list-keys)
6998 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6999 (epg-key-user-id-list): Declare.
7000
9c6906f6
GM
7001 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7002 (viper-set-parsing-style-toggling-macro)
7003 (viper-set-emacs-state-searchstyle-macros):
7004 Use called-interactively-p on Emacs.
7005 (viper-looking-back): Make it an obsolete alias. Update callers.
7006 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7007 Use looking-back rather than viper-looking-back.
7008 (viper-tmp-insert-at-eob, viper-enlarge-region)
7009 (viper-read-string-with-history, viper-register-to-point)
7010 (viper-append-to-register, viper-change-state-to-vi)
7011 (viper-backward-char-carefully, viper-forward-char-carefully)
7012 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7013 (viper-change-state-to-emacs): Declare.
7014 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7015 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7016 * emulation/viper-mous.el: Do not load viper-cmd.
7017 (viper-backward-char-carefully, viper-forward-char-carefully)
7018 (viper-forward-word, viper-adjust-window): Declare.
7019
5f70c169
GM
7020 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7021
b1b7f300
GM
7022 * progmodes/idlw-help.el (idlwave-help-fontify):
7023 Use called-interactively-p.
7024
f6ebbb46
GM
7025 * term/w32console.el (w32-get-console-codepage)
7026 (w32-get-console-output-codepage): Declare.
7027
0cdffd7d
GM
7028 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7029 Remove unnecessary declarations.
7030 (dframe-message): Doc fix.
7031
7032 * info.el (dframe-select-attached-frame, dframe-current-frame):
7033 Declare.
7034
7035 * speedbar.el (speedbar-message): Make it an obsolete alias.
7036 Update all callers.
7037 (speedbar-with-attached-buffer)
7038 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7039 (speedbar-with-writable): Use backquote.
7040 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7041 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7042 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7043 rather than speedbar- aliases.
7044 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7045 (speedbar-make-specialized-keymap, speedbar-insert-button)
7046 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7047 (speedbar-do-function-pointer): Declare.
7048 (rmail-speedbar-button, rmail-speedbar-find-file)
7049 (rmail-speedbar-move-message):
7050 Use dframe-with-attached-buffer rather than speedbar- alias.
7051 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7052 (dframe-message, speedbar-make-specialized-keymap)
7053 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7054 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7055 (speedbar-insert-button, dframe-select-attached-frame)
7056 (dframe-maybee-jump-to-attached-frame)
7057 (speedbar-change-initial-expansion-list)
7058 (speedbar-previously-used-expansion-list-name): Declare.
7059 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7060 Use dframe-message, dframe-with-attached-buffer rather than
7061 speedbar- aliases.
7062 (gud-sentinel): Silence compiler.
7063 * progmodes/vhdl-mode.el (speedbar-refresh)
7064 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7065 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7066 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7067 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7068 (speedbar-file-lists, speedbar-make-tag-line)
7069 (speedbar-line-directory, speedbar-goto-this-file)
7070 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7071 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7072 (speedbar-make-button, speedbar-reset-scanners)
7073 (speedbar-files-item-info, speedbar-line-text)
7074 (speedbar-find-file-in-frame, speedbar-set-timer)
7075 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7076 (speedbar-with-writable): Do not (re)define it.
7077 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7078 rather than speedbar- alias.
7079
ee44b62a
LL
70802013-05-21 Leo Liu <sdl.web@gmail.com>
7081
7082 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7083 menu items.
7084 (octave-mode): Tweak fill-nobreak-predicate.
7085 (inferior-octave-startup): Check process to avoid infinite loop.
7086 (inferior-octave): Pop to buffer first to show abornmal process
7087 exit information.
7088
640f050f
GM
70892013-05-21 Glenn Morris <rgm@gnu.org>
7090
79458038
GM
7091 * printing.el (pr-menu-bar): Define when compiling.
7092
9cc3e83f
LL
70932013-05-21 Leo Liu <sdl.web@gmail.com>
7094
7095 * progmodes/octave.el (octave-auto-fill): Remove.
7096 (octave-indent-new-comment-line): Improve.
7097 (octave-mode): Use auto fill mode through
4f405069 7098 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7099 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7100 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7101 (octave-help): Show parent directory.
7102
f440830d
GM
71032013-05-21 Glenn Morris <rgm@gnu.org>
7104
7105 * files.el (dired-unmark):
7106 * progmodes/gud.el (gdb-input): Update declarations.
7107
7108 * calculator.el (electric, ehelp): No need to load when compiling.
7109 (Electric-command-loop, electric-describe-mode): Declare.
7110
7111 * doc-view.el (doc-view-current-converter-processes): Move before use.
7112
7113 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7114 Move MODE-set-explicitly definition before use.
7115
7116 * international/mule-diag.el (mule-diag):
7117 Don't use obsolete window-system-version.
7118
7119 * mail/feedmail.el (smtpmail): No need to load when compiling.
7120 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7121
7122 * mail/mail-utils.el (rfc822): No need to load when compiling.
7123 (rfc822-addresses): Autoload it.
7124 (mail-strip-quoted-names): Trivial simplification.
7125
7126 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7127 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7128
7129 * net/snmp-mode.el (tempo): Don't duplicate requires.
7130
7131 * progmodes/prolog.el (info): No need to load when compiling.
7132 (comint): Require before shell requires it.
7133 (Info-goto-node): Autoload it.
7134 (Info-follow-nearest-node): Declare.
7135 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7136
7137 * textmodes/artist.el (picture-mode-exit): Declare.
7138
7139 * textmodes/reftex-parse.el (reftex-parse-from-file):
7140 Trivial rewrite so the compiler can parse it better.
7141
b4da2cbb
LL
71422013-05-20 Leo Liu <sdl.web@gmail.com>
7143
7144 * progmodes/octave.el (octave-help-mode-map)
7145 (octave-help-mode-finish-hook): New variables.
7146 (octave-help-mode, octave-help-mode-finish): New functions.
7147 (octave-help): Use octave-help-mode.
7148
33c0f65b
GM
71492013-05-20 Glenn Morris <rgm@gnu.org>
7150
7151 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7152
1a0a0a8a
DG
71532013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7154
7155 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7156 start at point, so that expansion starting right after opening
7157 slash in a regexp is recognized.
7158 (ruby-syntax-before-regexp-re): New defvar, extracted from
7159 ruby-syntax-propertize-function. Since the value of this regexp
7160 is looked up at runtime now, we should be able to turn
7161 `ruby-syntax-methods-before-regexp' into a defcustom later.
7162 (ruby-syntax-propertize-function): Split regexp matching into two
7163 parts, for opening and closing slashes. That allows us to skip
7164 over string interpolations and support multiline regexps.
7165 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7166 for them, which calls `ruby-syntax-propertize-expansion'.
7167 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7168 call to `ruby-syntax-propertize-function'.
7169 (ruby-syntax-propertize-expansion): Extracted from
7170 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7171 (ruby-syntax-propertize-percent-literal): Leave point right after
7172 the percent symbol, so that the expression expansion rule can
7173 propertize the contents.
462388b6
DG
7174 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7175 heredoc openers.
7176 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7177
c1a6c0a4
JL
71782013-05-18 Juri Linkov <juri@jurta.org>
7179
7180 * man.el (Man-default-man-entry): Remove `-' from the end
7181 of the default value. (Bug#14400)
7182
8051fccd
GM
71832013-05-18 Glenn Morris <rgm@gnu.org>
7184
7185 * comint.el (comint-password-prompt-regexp):
7186 Allow "password for XXX" where XXX contains colons (eg https://...).
7187
5e80b74f
LL
71882013-05-18 Leo Liu <sdl.web@gmail.com>
7189
7190 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7191 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7192 (octave-source-directories): Don't check process.
7193 (octave-source-directories, octave-find-definition): Doc fix.
7194
521a54c5
GM
71952013-05-18 Glenn Morris <rgm@gnu.org>
7196
86a94b05
GM
7197 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7198 Remove backspace/delete bindings. (Bug#14392)
7199
521a54c5
GM
7200 * cus-dep.el (custom-make-dependencies): Sort the output.
7201 (custom-versions-load-alist): Convert comment to doc.
7202
42caeb89
LL
72032013-05-17 Leo Liu <sdl.web@gmail.com>
7204
7205 * newcomment.el (comment-search-backward): Stricter in finding
7206 comment start. (Bug#14303)
7207
7208 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7209 (octave-comment-start-skip): Properly anchored.
7210
e219dd97
LL
72112013-05-17 Leo Liu <sdl.web@gmail.com>
7212
fe1eb856
RS
7213 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7214 Clean up when turned off. (Bug#14395)
e219dd97
LL
7215 (smie--highlight-matching-block-overlay): No longer buffer-local.
7216 (smie-highlight-matching-block): Adjust.
7217
dc5dcb4b
PE
72182013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7219
7220 Doc string fix for "nanoseconds" (Bug#14406).
7221 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7222 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7223
1db165f0
JB
72242013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7225
7226 * calc/calc-units.el (math-extract-units): Preserve powers
7227 of units.
7228
c7a8fcac
LL
72292013-05-17 Leo Liu <sdl.web@gmail.com>
7230
7231 * subr.el (delete-consecutive-dups): New function.
7232 * ido.el (ido-set-matches-1): Use it.
7233 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7234 * ido.el (ido-remove-consecutive-dups): Remove.
7235
f678b18a
SM
72362013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7239 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7240 regexp-opt's `words'.
7241
ebfe68e8
LL
72422013-05-16 Leo Liu <sdl.web@gmail.com>
7243
7244 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7245 (smie--highlight-matching-block-overlay)
7246 (smie--highlight-matching-block-lastpos)
7247 (smie--highlight-matching-block-timer): New variables.
7248 (smie-highlight-matching-block): New function.
7249 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7250 (smie-setup): Conditionally enable smie-blink-matching-open.
7251
bc8bc17d
WS
72522013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7253
7254 Sync with upstream verilog-mode r840.
7255 * progmodes/verilog-mode.el (verilog-mode-version)
7256 (verilog-mode-release-date): Update.
7257 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7258 (verilog-sig-tieoff): Fix string error on
7259 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7260 (verilog-read-decls): Fix parameters confusing
7261 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7262
df065a0b
EZ
72632013-05-16 Eli Zaretskii <eliz@gnu.org>
7264
7265 * subr.el (reveal-filename): New function.
7266
7267 * loadup.el: Compute Emacs executable versions on MS-Windows,
7268 where executables have the .exe extension. Add a hard link
7269 emacs-XX.YY.ZZ.exe on MS-Windows.
7270
7271 * Makefile.in (XARGS_LIMIT): New variable.
7272 (custom-deps, finder-data, autoloads)
7273 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7274 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7275 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7276 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7277
2d4bf34b
LL
72782013-05-16 Leo Liu <sdl.web@gmail.com>
7279
7280 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7281 (octave-mode-menu, octave-mode-map): Remove its uses.
7282
6b9c2d85
RZ
72832013-05-16 Reto Zimmermann <reto@gnu.org>
7284
7285 Sync with upstream vhdl mode v3.34.2.
7286 * progmodes/vhdl-mode.el: Use `push' throughout.
7287 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7288 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7289 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7290 (vhdl-actual-generic-name): New option to derive actual generic name.
7291 (vhdl-port-paste-signals): Replace formal by actual generics.
7292 (vhdl-beautify): New name for old group vhdl-align. Update users.
7293 (vhdl-beautify-options): New option.
7294 (vhdl-last-input-event): New compat alias. Use throughout.
7295 (vhdl-goto-line): Replace user level function `goto-line'.
7296 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7297 vhdl-fix-statement-buffer.
7298 (vhdl-create-mode-menu): Add some entries.
7299 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7300 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7301 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7302 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7303 to force statements on one line.
7304 (vhdl-remove-trailing-spaces-region):
7305 New, split from vhdl-remove-trailing-spaces.
7306 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7307 Respect vhdl-beautify-options.
7308 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7309 (vhdl-update-sensitivity-list): Not add with index if exists without.
7310 Not include array index with signal. Ignore keywords in comments.
7311 (vhdl-get-visible-signals): Regexp tweaks.
7312 (vhdl-template-component-inst): Handle empty library.
7313 (vhdl-template-type): Add template for 'enum' type.
7314 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7315 Use vhdl-replace-string.
7316 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7317 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7318 (vhdl-speedbar-initialize): Update for above name change.
7319 (vhdl-compose-wire-components): Fix in handling of constants.
7320 (vhdl-error-regexp-emacs-alist): New variable.
7321 (vhdl-error-regexp-add-emacs): New function;
7322 adds support for new compile.el (Emacs 22+)
7323 (vhdl-generate-makefile-1): Change target order for single lib. units.
7324 Allow use of absolute file names.
7325
9df4ec5e
LL
73262013-05-16 Leo Liu <sdl.web@gmail.com>
7327
7328 * simple.el (prog-indent-sexp): Indent enclosing defun.
7329
f5ba00a6
GM
73302013-05-15 Glenn Morris <rgm@gnu.org>
7331
ed8be7ff
GM
7332 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7333 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7334 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7335 (whitespace-highlight): Move to whitespace group.
7336
7337 * comint.el (comint-source):
7338 * pcmpl-linux.el (pcmpl-linux):
7339 * shell.el (shell-faces):
7340 * eshell/esh-opt.el (eshell-opt):
7341 * international/ccl.el (ccl): Remove empty custom groups.
7342
7343 * completion.el (dynamic-completion-mode):
7344 * jit-lock.el (jit-lock-debug-mode):
7345 * minibuffer.el (completion-in-region-mode):
7346 * type-break.el (type-break-mode-line-message-mode)
7347 (type-break-query-mode):
7348 * emulation/tpu-edt.el (tpu-edt-mode):
7349 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7350 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7351 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7352
7353 * term/xterm.el (xterm): Change parent group to terminals.
7354
7355 * master.el (master): Remove empty custom group.
7356 (master-mode): Remove unused :group argument.
7357 * textmodes/refill.el (refill): Remove empty custom group.
7358 (refill-mode): Remove unused :group argument.
7359
7360 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7361
82a7c41b
GM
7362 * cus-dep.el: Provide a feature.
7363 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7364 Don't mistakenly ignore files whose basenames match a basename
7365 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7366 Add a fallback method for getting :group.
f5ba00a6 7367
6d65486d
JL
73682013-05-15 Juri Linkov <juri@jurta.org>
7369
da547b32
JL
7370 * isearch.el (isearch-char-by-name): Rename from
7371 `isearch-insert-char-by-name'. Doc fix.
7372 (isearch-forward): Mention `isearch-char-by-name' in
7373 the docstring. (Bug#13348)
7374
6d65486d
JL
7375 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7376 `exit-minibuffer' instead of
7377 `isearch-nonincremental-exit-minibuffer'.
7378 (isearch-edit-string): Remove mention of
7379 `isearch-nonincremental-exit-minibuffer' from docstring.
7380 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7381 (isearch-forward-exit-minibuffer)
7382 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7383
c9990474
SM
73842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7385
6e911150
SM
7386 * loadup.el: Just use unversioned DOC.
7387
c9990474
SM
7388 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7389 literals as extending to EOB.
7390 (nxml-last-fontify-end): Remove unused variable.
7391 (nxml-after-change1): Use with-silent-modifications.
7392 (nxml-extend-after-change-region): Simplify.
7393 (nxml-extend-after-change-region1): Remove function.
7394 (nxml-after-change1): Don't adjust for dependent regions.
7395 (nxml-fontify-matcher): Simplify.
7396 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7397 (xmltok-add-dependent): Remove function.
7398 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7399 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7400 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7401 unclosed <[[, <?, comment, and other literals as extending to EOB.
7402 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7403 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7404 Remove functions.
7405 (rng-do-some-validation-1): Don't mark dependent regions.
7406 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7407 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7408 (nxml-clear-dependent-regions): Remove functions.
7409 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7410 (nxml-ensure-scan-up-to-date):
7411 Don't clear&mark dependent regions.
7412
e3772e98
LL
74132013-05-15 Leo Liu <sdl.web@gmail.com>
7414
c9990474
SM
7415 * progmodes/octave.el (octave-goto-function-definition):
7416 Improve and fix callers.
e3772e98 7417
5ac2eb34
SM
74182013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7419
c46c57b0
SM
7420 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7421 the setter (bug#14387).
7422
5ac2eb34
SM
7423 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7424 surrounding group (bug#14402).
7425
180ed218
JL
74262013-05-14 Juri Linkov <juri@jurta.org>
7427
7428 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7429 (Bug#14390)
7430
0ac0fecb
GM
74312013-05-14 Glenn Morris <rgm@gnu.org>
7432
7433 * progmodes/f90.el (f90-imenu-generic-expression):
7434 Fix typo in 2013-05-08 change. (Bug#14402)
7435
2e78e6a7
JPG
74362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7437
5ac2eb34
SM
7438 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7439 Remove signals for which replies are never received.
2e78e6a7 7440
53267cca
JPG
74412013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7442
7443 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7444 (gdb-handler-alist, gdb-handler-number): Remove variables.
7445 (gdb-handler-list): New variable.
7446 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7447 (gdb-pending-handler-p, gdb-handle-reply)
7448 (gdb-remove-all-pending-triggers): New functions.
7449 (gdb-discard-unordered-replies): New defcustom.
7450 (gdb-handler): New defstruct.
7451 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7452 instead of gdb-pending-triggers. Update docstring.
7453 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7454 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7455 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7456 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7457 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7458 (gdb-frame-handler): Pending triggers are now automatically managed.
7459 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7460 Remove argument.
7461 (gdb-input): Automatically handles pending triggers. Update docstring.
7462 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7463 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7464 Update comments.
7465 (gdb-done-or-error): Now use gdb-handle-reply.
7466
d04ce803
JPG
74672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7468
7469 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7470 gdb-debug-log.
7471
0114073a
GM
74722013-05-14 Glenn Morris <rgm@gnu.org>
7473
7474 * subr.el (user-emacs-directory-warning): New option.
7475 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7476
4d25fd7e
LL
74772013-05-14 Leo Liu <sdl.web@gmail.com>
7478
7479 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7480 during redisplay.
7481 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7482 (octave-font-lock-texinfo-comment): Fix invalid search bound
7483 error: wrong side of point.
4d25fd7e 7484
27c8b6eb
GM
74852013-05-14 Glenn Morris <rgm@gnu.org>
7486
61aaeb01
GM
7487 * progmodes/flymake.el (flymake-xml-program): New option.
7488 (flymake-xml-init): Use it.
7489
5bf90bc5
GM
7490 * term/xterm.el: Provide a feature.
7491
7492 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7493
f4c7dfd2
GM
74942013-05-13 Glenn Morris <rgm@gnu.org>
7495
7496 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7497 Add compat aliases as a hack workaround. (Bug#14384)
7498
2aeb3a1d
LL
74992013-05-13 Leo Liu <sdl.web@gmail.com>
7500
b0e069c2
LL
7501 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7502 ###, and %!.
f5a9432f
LL
7503 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7504 C-M-q.
b0e069c2
LL
7505 (octave-comment-start-skip): Include %!.
7506 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7507
30ea8374
LL
75082013-05-12 Leo Liu <sdl.web@gmail.com>
7509
7510 * progmodes/octave.el (inferior-octave-startup): Store the value
7511 of __octave_srcdir__ for octave-source-directories.
7512 (inferior-octave-check-process): New function refactored out of
7513 inferior-octave-send-list-and-digest.
7514 (octave-source-directories)
7515 (octave-find-definition-filename-function): New variables.
7516 (octave-source-directories)
7517 (octave-find-definition-default-filename): New functions.
7518 (octave-find-definition): Improve to find functions implemented in C++.
7519
472a3834
GM
75202013-05-12 Glenn Morris <rgm@gnu.org>
7521
7522 * calendar/diary-lib.el (diary-outlook-format-1):
7523 Don't include dayname in the output. (Bug#14349)
7524
3191b52f
GM
75252013-05-11 Glenn Morris <rgm@gnu.org>
7526
0060ac73
GM
7527 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7528
3191b52f
GM
7529 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7530 Treat cc-provide like provide.
7531
e065ba74
KR
75322013-05-11 Kevin Ryde <user42@zip.com.au>
7533
7534 * cus-dep.el (custom-make-dependencies):
7535 Use generated-autoload-load-name for the sake of files such
7536 such cedet/semantic/bovine/c.el, where the base file name
7537 is not in load-path. (Bug#5277)
7538
36f84c37
GM
75392013-05-11 Glenn Morris <rgm@gnu.org>
7540
7541 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7542 Provide features.
7543
c8730c3a
LL
75442013-05-11 Leo Liu <sdl.web@gmail.com>
7545
7546 * progmodes/octave.el (octave-indent-comment): Improve.
7547 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7548 (octave-eldoc-function-signatures, octave-eldoc-function):
7549 New functions.
c8730c3a
LL
7550 (octave-mode, inferior-octave-mode): Add eldoc support.
7551
212e29f2
RS
75522013-05-11 Richard Stallman <rms@gnu.org>
7553
7554 * epa.el (epa-decrypt-file): Take output file name as argument
7555 and read it using `interactive'.
7556
083fe0d7
LL
75572013-05-11 Leo Liu <sdl.web@gmail.com>
7558
7559 * progmodes/octave.el (octave-beginning-of-line)
7560 (octave-end-of-line): Check before using up-list because it jumps
7561 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7562 (octave-indent-comment): New function.
7563 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7564 (octave-begin-keywords, octave-end-keywords)
7565 (octave-reserved-words, octave-smie-bnf-table)
7566 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7567
8582e4c4
GM
75682013-05-11 Glenn Morris <rgm@gnu.org>
7569
f20def1f
GM
7570 * faces.el (internal-face-x-get-resource):
7571 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7572 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7573 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7574 Fix declarations.
f20def1f 7575
445f95e2
GM
7576 * calc/calc-menu.el: Make it loadable in isolation.
7577
7578 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7579 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7580 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7581 (eudc-bbdb-query-internal): Require 'bbdb.
7582
99fb2756
GM
7583 * lpr.el (lpr-headers-switches):
7584 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7585
7586 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7587
0da7ad96
GM
7588 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7589
8582e4c4
GM
7590 * term.el (term-set-escape-char): Make it idempotent.
7591
f71c50d0
LL
75922013-05-10 Leo Liu <sdl.web@gmail.com>
7593
5ac2eb34
SM
7594 * progmodes/octave.el (inferior-octave-completion-table):
7595 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7596 completion due to bug#11906.
7597 (octave-beginning-of-defun): Re-write to be more general.
7598
d5837773
GM
75992013-05-10 Glenn Morris <rgm@gnu.org>
7600
7601 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7602
027c0f75
SM
76032013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * comint.el (comint-redirect-send-command-to-process): Use :around
7606 rather than :override for comint-redirect-filter.
7607 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7608 Call it instead of comint-redirect-original-filter-function (which
7609 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7610
4465bfb4
JD
76112013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7612
7613 * frame.el (display-monitor-attributes-list): Add NS case.
7614 (ns-display-monitor-attributes-list): Declare.
7615
2d809ffa 76162013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7617
7618 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7619
e54eeb9b
GM
76202013-05-09 Glenn Morris <rgm@gnu.org>
7621
56cd351d
GM
7622 * international/fontset.el (vertical-centering-font-regexp):
7623 Set standard-value.
7624
d84b6108
GM
7625 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7626
a931698a
GM
7627 * bookmark.el (bookmark-search-delay):
7628 * cus-start.el (vertical-centering-font-regexp):
7629 * ps-mule.el (ps-mule-font-info-database-default):
7630 * ps-print.el (ps-default-fg, ps-default-bg):
7631 * type-break.el (type-break-good-break-interval):
7632 * whitespace.el (whitespace-indentation-regexp)
7633 (whitespace-space-after-tab-regexp):
7634 * emacs-lisp/testcover.el (testcover-1value-functions)
7635 (testcover-noreturn-functions, testcover-progn-functions)
7636 (testcover-prog1-functions):
7637 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7638 * eshell/em-glob.el (eshell-glob-translate-alist):
7639 * play/tetris.el (tetris-tty-colors):
7640 * progmodes/cpp.el (cpp-face-default-list):
7641 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7642 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7643 (idlwave-help-browser-generic-args):
7644 * progmodes/make-mode.el (makefile-special-targets-list):
7645 * progmodes/python.el (python-shell-virtualenv-path):
7646 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7647 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7648 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7649 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7650 * textmodes/reftex-vars.el (reftex-format-label-function):
7651 * textmodes/remember.el (remember-diary-file): Fix custom types.
7652
e54eeb9b
GM
7653 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7654 Add :version.
7655
455851dd
LL
76562013-05-09 Leo Liu <sdl.web@gmail.com>
7657
7658 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7659 Restore file completion. (Bug#14300)
455851dd
LL
7660 (inferior-octave-startup): Fix incorrect highlighting for the
7661 first prompt.
7662
a9e4425b
SM
76632013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * progmodes/ruby-mode.el: First cut at SMIE support.
7666 (ruby-use-smie): New var.
7667 (ruby-smie-grammar): New constant.
7668 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7669 (ruby-smie--forward-token, ruby-smie--backward-token)
7670 (ruby-smie-rules): New functions.
7671 (ruby-mode-variables): Setup SMIE if applicable.
7672
060ca408
EZ
76732013-05-08 Eli Zaretskii <eliz@gnu.org>
7674
7675 * simple.el (line-move-visual): Signal beginning/end of buffer
7676 only if vertical-motion moved less than it was requested. Avoids
7677 silly incorrect error messages when there are display strings with
7678 multiple newlines at EOL.
7679
1d5963cc
SM
76802013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7683 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7684 (prolog-char-quote-workaround):
7685 * progmodes/cperl-mode.el (cperl-under-as-char):
7686 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7687 Mark as obsolete.
7688 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7689 their declaration.
7690 (vhdl-mode-syntax-table-init): Remove.
7691
c9990474
SM
7692 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7693 last change.
1d5963cc
SM
7694
7695 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7696 syntax for "_".
7697 (ld-script-font-lock-keywords):
7698 Change regexps to use things like \_< and \_>.
7699
7700 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7701 Change all regexps to use things like \_< and \_>.
7702
7703 * progmodes/autoconf.el (autoconf-definition-regexp)
7704 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7705 Handle a _ with symbol syntax.
7706 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7707
c9990474
SM
7708 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7709 Consolidate declaration.
1d5963cc
SM
7710 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7711 the declaration.
7712 (ada-create-syntax-table): Remove.
7713 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7714 already has the right syntax nowadays.
7715 (ada-goto-next-word): Don't change the syntax of "_".
7716
7717 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7718 with-wrapper-hook.
7719
72d3cfca
SS
77202013-05-08 Sam Steingold <sds@gnu.org>
7721
7722 * thingatpt.el (thing-at-point): Accept optional second argument
7723 NO-PROPERTIES to strip the text properties from the return value.
7724 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7725 to `thing-at-point' instead of stripping the properties ourselves.
7726 Also, when `thing-at-point' fails to find a url, prepend "http://"
7727 to the filename at point on the assumption that the user is
7728 pointing at something like gnu.org/gnu.
7729
5cb15713
JB
77302013-05-08 Juanma Barranquero <lekktu@gmail.com>
7731
7732 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7733 * faces.el (crm-separator):
7734 Silence byte-compiler.
7735
7736 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7737 (tool-bar-map): Remove unneeded defvars.
7738
ea78b95b
LL
77392013-05-08 Leo Liu <sdl.web@gmail.com>
7740
7741 Re-work a fix for bug#10994 based on Le Wang's patch.
7742 * ido.el (ido-remove-consecutive-dups): New helper.
7743 (ido-completing-read): Use it.
7744 (ido-chop): Revert fix for bug#10994.
7745
dc7466df
AS
77462013-05-08 Adam Spiers <emacs@adamspiers.org>
7747
7748 * cus-edit.el (custom-save-variables):
7749 Pretty-print long values. (Bug#14187)
7750
9ecf672a
GM
77512013-05-08 Glenn Morris <rgm@gnu.org>
7752
7753 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7754 (m4-mode-syntax-table): Init in the defvar.
7755 (m4-mode-abbrev-table): Let define-derived-mode define it.
7756
3f555be8
TT
77572013-05-08 Tom Tromey <tromey@redhat.com>
7758
7759 * progmodes/m4-mode.el (m4-mode-syntax-table):
7760 Do not treat "_" as word constituent. (Bug#14167)
7761
7cc8ae06
GM
77622013-05-07 Glenn Morris <rgm@gnu.org>
7763
4f58bc06
GM
7764 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7765 Remove explicit eshell-isearch-cancel-map.
7766
7cc8ae06
GM
7767 * progmodes/f90.el (f90-smart-end-names): New option.
7768 (f90-smart-end): Doc fix.
7769 (f90-end-block-optional-name): New constant.
7770 (f90-block-match): Respect f90-smart-end-names.
7771
ceb57e59
SM
77722013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7775 about implicit semi-colons (bug#14218).
7776
4e3f9230
YM
77772013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7778
7779 * frame.el (display-monitor-attributes-list)
7780 (frame-monitor-attributes): New functions.
7781
203a5572
LL
77822013-05-06 Leo Liu <sdl.web@gmail.com>
7783
7784 * progmodes/octave.el (octave-syntax-propertize-function): Change
7785 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7786 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7787 (octave-completion-at-point): Rename from
203a5572
LL
7788 octave-completion-at-point-function.
7789 (inferior-octave-directory-tracker): Robustify.
7790 (octave-text-functions): Remove and fix its uses. No such things
7791 any more.
7792
ee6cff99
SM
77932013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * emacs-lisp/trace.el (trace--display-buffer): New function.
7796 (trace-make-advice): Use it.
7797
32985194
JL
77982013-05-06 Juri Linkov <juri@jurta.org>
7799
7800 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7801 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7802 Doc fix.
7803 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7804 in the help string. (Bug#12985)
7805
a1c700de
KD
78062013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7807
7808 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7809
c67c0839
SM
78102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7811
323885fd
SM
7812 * progmodes/perl-mode.el: Add support for here documents.
7813 (perl-syntax-propertize-function): Match here-doc markers.
7814 (perl-syntax-propertize-special-constructs): Find their end.
7815 (perl-imenu-generic-expression): Use [:alnum:].
7816
c67c0839
SM
7817 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7818 (advice--add-function): Refresh the advice if already present
7819 (bug#14317).
7820
d491e7a8
IA
78212013-05-06 Ivan Andrus <darthandrus@gmail.com>
7822
7823 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7824
ddf9925e
GM
78252013-05-06 Glenn Morris <rgm@gnu.org>
7826
7cc3af27
GM
7827 * w32-fns.el (w32-charset-info-alist): Declare.
7828
16e343d6
GM
7829 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7830 of its defcustom properties.
7831 (eshell-cmpl-initialize): No need to load pcomplete.
7832
7d889a47
GM
7833 * generic-x.el: No need to require comint when compiling.
7834
ddf9925e
GM
7835 * net/eudc-export.el: Make it loadable without bbdb.
7836 (top-level): Use require rather than load-library.
7837 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7838 (eudc-batch-export-records-to-bbdb)
7839 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7840 Require bbdb.
7841
1e2c18df
SM
78422013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7845 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7846 some tweaks, instead.
7847
02502a5f
LL
78482013-05-05 Leo Liu <sdl.web@gmail.com>
7849
7850 * progmodes/octave.el (octave-font-lock-keywords)
7851 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7852 (inferior-octave-send-list-and-digest): Improve error message.
7853 (octave-mode, inferior-octave-mode): Use setq-local.
7854 (octave-help): Set info-lookup-mode.
7855
0dc04f42
RS
78562013-05-05 Richard Stallman <rms@gnu.org>
7857
6c54491c
RS
7858 * vc/compare-w.el (compare-windows-whitespace):
7859 Treat no-break space as whitespace.
7860
0dc04f42
RS
7861 * mail/rmailsum.el (rmail-summary-rmail-update):
7862 Detect empty summary and don't change selected message.
7863 (rmail-summary-goto-msg): Likewise.
7864
df8f35df
RS
7865 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7866 Doc fixes, rename args.
7867
5356e1a3
AM
78682013-05-05 Alan Mackenzie <acm@muc.de>
7869
7870 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7871
d44014cb
JL
78722013-05-05 Juri Linkov <juri@jurta.org>
7873
7874 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7875 to not add the length of the summary segment to the return value.
7876 (Bug#14125)
7877
c129b51f
LL
78782013-05-05 Leo Liu <sdl.web@gmail.com>
7879
7880 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7881 (inferior-octave-output-filter): Remove.
7882 (octave-send-region, inferior-octave-startup): Fix callers.
7883 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7884 (octave-binary-file-extensions): New user variable.
7885 (octave-find-definition): Confirm if opening binary files.
7886 (octave-help-file): Use octave-find-definition to get the binary
7887 confirmation.
7888 (octave-help): Adjust for octave-help-file change.
7889
aa7dab97
SM
78902013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7891
7892 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7893 Merge the two entries that handle function definitions.
7894 (pascal--syntax-propertize): New const.
7895 (pascal-mode): Use it. Use setq-local.
7896
fd3a9a6b
GM
78972013-05-04 Glenn Morris <rgm@gnu.org>
7898
7899 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7900 (diary-from-outlook): Respect diary-from-outlook-function.
7901
30c7e542
SM
79022013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7905 Move the declaration from C.
7906 (read-minibuffer, eval-minibuffer): Move from C.
7907 (completion-setup-function): Avoid minibuffer-completion-contents.
7908
b54f978b
LL
79092013-05-03 Leo Liu <sdl.web@gmail.com>
7910
7911 * progmodes/octave.el (octave-font-lock-keywords): Do not
7912 dehighlight 'end' in comments or strings.
30c7e542
SM
7913 (octave-completing-read, octave-goto-function-definition):
7914 New helpers.
d4d0f9b3
LL
7915 (octave-help-buffer): New user variable.
7916 (octave-help-file, octave-help-function): New button types.
7917 (octave-help): New command and bind it to C-h ;.
7918 (octave-find-definition): New command and bind it to M-.
d74a1581 7919 (user-error): Alias to error if not defined.
b54f978b 7920
27135018
LL
79212013-05-02 Leo Liu <sdl.web@gmail.com>
7922
7923 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7924 for \. (bug#14332)
7925 (octave-font-lock-keywords): Include [ and {.
7926
0d634d3a
LL
79272013-05-02 Leo Liu <sdl.web@gmail.com>
7928
7929 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7930 (inferior-octave): Remove calling comint-mode and return the buffer.
7931 (inferior-octave-startup): Cosmetic changes.
7932
b4c8295e
LL
79332013-05-02 Leo Liu <sdl.web@gmail.com>
7934
30c7e542
SM
7935 * progmodes/octave.el (octave-syntax-propertize-function):
7936 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7937
f12ad6ec
GM
79382013-05-02 Glenn Morris <rgm@gnu.org>
7939
7940 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7941 * desktop.el (vc-dir-mode): Just autoload it here.
7942
30cac1e0
AM
79432013-05-02 Alan Mackenzie <acm@muc.de>
7944
7945 Eliminate variable c-standard-font-lock-fontify-region-function.
7946 * progmodes/cc-mode.el
7947 (c-standard-font-lock-fontify-region-function): Remove.
7948 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7949
d8ef28b1
LL
79502013-05-01 Leo Liu <sdl.web@gmail.com>
7951
2640d52e 7952 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7953 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7954 variables were removed from Octave in 2007.
d8ef28b1
LL
7955 (inferior-octave-startup): Fix uses.
7956 (comint-line-beginning-position): Remove compatibility code for
7957 emacs 21.
7958
ac63ec89
JL
79592013-05-01 Juri Linkov <juri@jurta.org>
7960
7961 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7962
9e9be37c
JL
79632013-05-01 Juri Linkov <juri@jurta.org>
7964
7965 * comint.el (comint-previous-matching-input): Don't print message
7966 "History item: %d" when `isearch-mode' is active.
7967 (comint-history-isearch-message): Print message "History item: %d"
7968 when `comint-input-ring-index' is not empty and this function is
7969 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7970
9b92c13b
LL
79712013-05-01 Leo Liu <sdl.web@gmail.com>
7972
7973 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7974 definitions. Use completion-at-point to insert keywords.
7975 (octave-abbrev-start): Remove.
7976 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7977
b12d33d7
LL
79782013-04-30 Leo Liu <sdl.web@gmail.com>
7979
7980 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7981 change.
7982
3d1c39fa
AM
79832013-04-30 Alan Mackenzie <acm@muc.de>
7984
7985 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7986 * progmodes/cc-engine.el (c-back-over-member-initializers):
7987 new function.
3d1c39fa
AM
7988 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7989 (most) member init lists.
7990
5147fc17
RS
79912013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7992
7993 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7994 variable.
7995
5b78d7fc
LL
79962013-04-30 Leo Liu <sdl.web@gmail.com>
7997
7998 * progmodes/octave.el (octave-variables): Remove. No builtin
7999 variables any more. All converted to functions.
8000 (octave-font-lock-keywords, octave-completion-at-point-function):
8001 Fix uses.
8002 (octave-font-lock-texinfo-comment): New user variable.
8003 (octave-texinfo-font-lock-keywords): New variable for texinfo
8004 comment block.
8005 (octave-function-comment-block): New face.
8006 (octave-font-lock-texinfo-comment): New function.
8007 (octave-mode): Font lock texinfo comment block.
8008
38d8527b
LL
80092013-04-29 Leo Liu <sdl.web@gmail.com>
8010
8011 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8012 indexing expression.
8013 (octave-continuation-string): Do not use \.
8014 (inferior-octave-complete-impossible): Remove.
8015 (inferior-octave-completion-table)
8016 (inferior-octave-completion-at-point): Remove its uses.
8017 (inferior-octave-startup): completion_matches was introduced to
8018 Octave in 1996 so safe to assume it.
8019 (octave-function-file-comment): Improve to follow how Octave does it.
8020 (octave-update-function-file-comment): Tweak.
8021
2ec12cb0
LL
80222013-04-29 Leo Liu <sdl.web@gmail.com>
8023
8024 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8025 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8026 (octave-function-file-comment): Fix typo.
8027 (octave-sync-function-file-names): Use read-char-choice.
8028
6eaed048
JB
80292013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8030
8031 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8032 to t for the less important warnings.
8033
3ffa2d4f
DH
80342013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8035
8036 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8037
685c9501
GM
80382013-04-27 Glenn Morris <rgm@gnu.org>
8039
8040 * vc/log-view.el (log-view-current-entry):
8041 Treat "---" separator lines as part of the following rev. (Bug#14169)
8042
0208ede7
JL
80432013-04-27 Juri Linkov <juri@jurta.org>
8044
8045 * subr.el (read-number): Doc fix about using it by interactive
8046 code letter `n'. (Bug#14254)
8047
5db9dace
JL
80482013-04-27 Juri Linkov <juri@jurta.org>
8049
8050 * desktop.el (desktop-auto-save-timeout): New option.
8051 (desktop-file-checksum): New variable.
8052 (desktop-save): Add optional arg `auto-save' and don't auto-save
8053 if nothing changed.
8054 (desktop-auto-save-timer): New variable.
8055 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8056 (after-init-hook): Call `desktop-auto-save-set-timer'.
8057 Suggested by Reuben Thomas <rrt@sc3d.org> in
8058 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8059
b7260dd4
LL
80602013-04-27 Leo Liu <sdl.web@gmail.com>
8061
8062 * progmodes/octave.el (octave-function-file-p)
8063 (octave-skip-comment-forward, octave-function-file-comment)
8064 (octave-update-function-file-comment): New functions.
8065 (octave-mode-map): Bind C-c ; to
8066 octave-update-function-file-comment.
8067 (octave-mode-menu): Add octave-update-function-file-comment.
8068 (octave-mode, inferior-octave-mode): Fix doc-string.
8069 (octave-insert-defun): Conform to Octave's coding convention.
8070 (Bug#14285)
8071
8072 * files.el (basic-save-buffer): Don't let errors in
8073 before-save-hook prevent saving buffer.
8074
c46da669
RW
80752013-04-20 Roland Winkler <winkler@gnu.org>
8076
8077 * faces.el (read-face-name): Use completing-read if arg multiple
8078 is nil.
8079
a81ee1eb
IL
80802013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8081
8082 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8083 displayed, move point to after the totals line.
8084 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8085 for the details.
8086
4fac34ce
SM
80872013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8090 Add current dir to the load-path.
8091 (package-generate-autoloads): Don't rely on
8092 autoload-ensure-default-file.
8093
f6bfc063
RT
80942013-04-26 Reuben Thomas <rrt@sc3d.org>
8095
d40ab5cf
BG
8096 * textmodes/remember.el (remember-store-in-files): Document that
8097 the file name format is passed to `format-time-string'.
f6bfc063 8098
e55d3b04
LL
80992013-04-26 Leo Liu <sdl.web@gmail.com>
8100
8101 * progmodes/octave.el (octave-sync-function-file-names): New function.
8102 (octave-mode): Use it in before-save-hook.
8103
e53052d3
SM
81042013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8105
140ef50c
SM
8106 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8107 (bug#14274).
8108
e53052d3
SM
8109 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8110 \n and comment, even if it's not an implicit ; (bug#14218).
8111
af80458d 81122013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8113
8114 * subr.el (read-number): Once more use `read' rather than
8115 `string-to-number', to trap non-numeric input. (Bug#14254)
8116
af80458d 81172013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8118
8119 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8120 Use `syntax-multiline' text property consistently instead of
8a621d53 8121 `font-lock-multiline'. (Bug#14237)
70203c2e 8122
e6ea1f6c
GM
81232013-04-26 Glenn Morris <rgm@gnu.org>
8124
8125 * emacs-lisp/shadow.el (list-load-path-shadows):
8126 No longer necessary to check for duplicate simple.el, since
8127 2012-07-07 change to init_lread to not include installation lisp
8128 directories in load-path when running uninstalled. (Bug#14270)
8129
070ccca4
LL
81302013-04-26 Leo Liu <sdl.web@gmail.com>
8131
8132 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8133 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8134 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8135 octave-in-string-or-comment-p.
8136 (octave-in-comment-p, octave-in-string-p)
8137 (octave-in-string-or-comment-p): Replace defsubst with defun.
8138
9d1c5fb6
PE
81392013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8140
8141 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8142
c034abda
BG
81432013-04-25 Bastien Guerry <bzg@gnu.org>
8144
8145 * textmodes/remember.el (remember-data-directory)
8146 (remember-directory-file-name-format): Fix custom types.
8147
584ea277
LL
81482013-04-25 Leo Liu <sdl.web@gmail.com>
8149
e53052d3
SM
8150 * progmodes/octave.el (octave-completion-at-point-function):
8151 Make use of inferior octave process.
584ea277
LL
8152 (octave-initialize-completions): Remove.
8153 (inferior-octave-completion-table): New function.
8154 (inferior-octave-completion-at-point): Use it.
8155 (octave-completion-alist): Remove.
8156
1693b06a
SM
81572013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8160 (opascal-mode-syntax-table): New var.
8161 (opascal-literal-kind, opascal-is-literal-end)
8162 (opascal-literal-token-at): Rewrite.
8163 (opascal--literal-start-re, opascal-font-lock-keywords)
8164 (opascal--syntax-propertize): New constants.
8165 (opascal-font-lock-defaults): Adjust.
8166 (opascal-mode): Use them. Set comment-<foo> variables as well.
8167 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8168 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8169 (delphi-other-face, opascal-other-face): Remove face variables.
8170 (opascal-save-state): Remove macro.
8171 (opascal-fontifying-progress-step): Remove constant.
8172 (opascal--ignore-changes): Remove var.
8173 (opascal-set-token-property, opascal-parse-next-literal)
8174 (opascal-is-stable-literal, opascal-complete-literal)
8175 (opascal-is-literal-start, opascal-face-of)
8176 (opascal-parse-region, opascal-parse-region-until-stable)
8177 (opascal-fontify-region, opascal-after-change)
8178 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8179 (opascal-debug-parse-region, opascal-debug-parse-window)
8180 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8181 (opascal-debug-fontify-buffer): Remove.
8182 (opascal-debug-mode-map): Adjust accordingly.
8183
be64c05d
LL
81842013-04-25 Leo Liu <sdl.web@gmail.com>
8185
8186 Merge octave-mod.el and octave-inf.el into octave.el with some
8187 cleanups.
8188 * progmodes/octave.el: New file renamed from octave-mod.el.
8189 * progmodes/octave-inf.el: Merged into octave.el.
8190 * progmodes/octave-mod.el: Renamed to octave.el.
8191
d79d37bd
TH
81922013-04-25 Tassilo Horn <tsdh@gnu.org>
8193
8194 * textmodes/reftex-vars.el
8195 (reftex-label-ignored-macros-and-environments): New defcustom.
8196
8197 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8198
ced3fc5d
SM
81992013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8202 (smie-indent-keyword): Improve the check to ensure that the next
8203 comment is really on the same line.
8204 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8205
8206 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8207 semi-colons if the line is not otherwise empty (bug#14218).
8208
1c141dad
GM
82092013-04-25 Glenn Morris <rgm@gnu.org>
8210
8211 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8212
5058062a
SM
82132013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * progmodes/opascal.el (opascal-set-token-property): Rename from
8216 opascal-set-text-properties and only set `token' (bug#14134).
8217 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8218 (opascal-literal-text-properties): Remove.
8219 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8220 Adjust callers.
8221
5db9dace 82222013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8223
8224 * textmodes/remember.el (remember-handler-functions): Add an
8225 option for a new handler `remember-store-in-files'.
8226 (remember-data-directory, remember-directory-file-name-format):
8227 New options.
8228 (remember-store-in-files): New function to store remember notes
8229 as separate files within a directory.
8230
4391916c
MH
82312013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8232
8233 * progmodes/compile.el (compilation-next-error-function):
8234 Pass "formats" to compilation-find-file (bug#11777).
8235
bb7cdf58
GM
82362013-04-24 Glenn Morris <rgm@gnu.org>
8237
3b8fe752 8238 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8239 * vc/vc-hg.el (vc-hg-print-log):
8240 * vc/vc-svn.el (vc-svn-print-log):
8241 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8242
bb7cdf58
GM
8243 * vc/vc-bzr.el (vc-bzr-print-log):
8244 * vc/vc-cvs.el (vc-cvs-print-log):
8245 * vc/vc-git.el (vc-git-print-log):
8246 * vc/vc-hg.el (vc-hg-print-log):
8247 * vc/vc-mtn.el (vc-mtn-print-log):
8248 * vc/vc-rcs.el (vc-rcs-print-log):
8249 * vc/vc-sccs.el (vc-sccs-print-log):
8250 * vc/vc-svn.el (vc-svn-print-log):
8251 * vc/vc.el (vc-print-log-internal): Doc fixes.
8252
b46a056e
GM
82532013-04-23 Glenn Morris <rgm@gnu.org>
8254
8255 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8256 Remove venerable code attempting to avoid substitute-command-keys.
8257
0aecf718
TH
82582013-04-23 Tassilo Horn <tsdh@gnu.org>
8259
4391916c
MH
8260 * textmodes/reftex-vars.el (reftex-label-regexps):
8261 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8262
117f94cf
SM
82632013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8264
4391916c 8265 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8266 Use lexical-binding.
8267 (jit-lock-force-redisplay): Use markers, check buffer's continued
8268 existence and beware narrowed buffers.
8269 (jit-lock-fontify-now): Adjust call accordingly.
8270
1d829c64
SM
82712013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8274 to avoid misleading the user.
8275
72d548a9
LL
82762013-04-22 Leo Liu <sdl.web@gmail.com>
8277
8278 * info-look.el: Prefer latex2e.info. (Bug#14240)
8279
d0853629
MA
82802013-04-22 Michael Albinus <michael.albinus@gmx.de>
8281
8282 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8283
8284 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8285 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8286 (tramp-set-completion-function, tramp-parse-putty):
8287 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8288 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8289 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8290 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8291 (tramp-call-local-coding-command): Use `tramp-call-process'
8292 instead of `tramp-compat-call-process'.
8293
8294 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8295 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8296 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8297 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8298 (tramp-maybe-send-script): Check for Perl binary.
8299 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8300
38cc0210
DU
83012013-04-22 Daiki Ueno <ueno@gnu.org>
8302
8303 * epg.el (epg-context-pinentry-mode): New function.
8304 (epg-context-set-pinentry-mode): New function.
8305 (epg--start): Pass --pinentry-mode option to gpg command.
8306
cc641ee1
XF
83072013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8308
02d844b5 8309 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8310 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8311 `completion-at-point'. (Bug#13774)
5d4e5c31 8312
cc641ee1
XF
8313 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8314 default key binding for `describe-distribution' has been moved to
8315 `C-h C-o'. (Bug#13970)
8316
1b42ee43
GM
83172013-04-21 Glenn Morris <rgm@gnu.org>
8318
8319 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8320 Add doc strings.
8321 (vc-print-log): Clarify interactive prompt.
8322
a6d63d97
GM
83232013-04-20 Glenn Morris <rgm@gnu.org>
8324
8325 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8326 No longer include timestamp etc information.
8327
d7f5c16f
RW
83282013-04-20 Roland Winkler <winkler@gnu.org>
8329
8330 * faces.el (read-face-name): Bug fix, return just one face if arg
8331 multiple is nil. (Bug#14209)
8332
bcd7a0a4
SM
83332013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8336 (remove-function): Autoload.
8337
8338 * comint.el (comint-redirect-original-filter-function): Remove.
8339 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8340 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8341 (vc-cvs-annotate-command):
bcd7a0a4
SM
8342 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8343 * progmodes/prolog.el (prolog-consult-compile):
8344 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8345 Use add/remove-function instead.
8346 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8347 (gud-tooltip-process-output, gud-tooltip-tips):
8348 Use add/remove-function instead.
8349 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8350 (scheme-interaction-mode, exit-scheme-interaction-mode):
8351 Use add/remove-function instead.
8352
8353 * vc/vc-dispatcher.el: Use lexical-binding.
8354 (vc--process-sentinel): Rename from vc-process-sentinel.
8355 Change last arg to be the code to run. Don't use vc-previous-sentinel
8356 and vc-sentinel-commands any more.
8357 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8358 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8359
e36b2d20 83602013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8361
bcd7a0a4 8362 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8363 Handle function names with a single character. (Bug#14111)
4d3268ba 8364
781b4af6 83652013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8366
8367 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8368 for subroutines defined in an eval (bug#14182).
8369
7d688336
TV
83702013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8371
8372 * bookmark.el (bookmark-completing-read): Improve handling of empty
8373 string (bug#14176).
8374
31dcede0
SM
83752013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8378
adc31213
FEG
83792013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8380
8381 New faster Imenu implementation (bug#14058).
8382 * progmodes/python.el:
8383 (python-imenu-prev-index-position):
8384 (python-imenu-format-item-label-function)
8385 (python-imenu-format-parent-item-label-function)
8386 (python-imenu-format-parent-item-jump-label-function):
8387 New vars.
8388 (python-imenu-format-item-label)
8389 (python-imenu-format-parent-item-label)
8390 (python-imenu-format-parent-item-jump-label)
8391 (python-imenu--put-parent, python-imenu--build-tree)
8392 (python-imenu-create-index, python-imenu-create-flat-index)
8393 (python-util-popn): New functions.
8394 (python-mode): Set imenu-create-index-function to
8395 python-imenu-create-index.
8396
cdca8255
SM
83972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * winner.el (winner-active-region): Use region-active-p, activate-mark
8400 and deactivate-mark (bug#14225).
8401
8402 * simple.el (deactivate-mark): Don't inline it.
8403
beb42340
MA
84042013-04-18 Michael Albinus <michael.albinus@gmx.de>
8405
8406 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8407
fc7f4d7e
TH
84082013-04-18 Tassilo Horn <tsdh@gnu.org>
8409
8410 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8411 file extensions from the archive-mode entry in order to prefer
8412 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8413
29f47822
LL
84142013-04-18 Leo Liu <sdl.web@gmail.com>
8415
8416 * bindings.el (help-event-list): Add ?\?.
8417
d36ed1c8
SM
84182013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * subr.el (with-wrapper-hook): Declare obsolete.
8421 * simple.el (filter-buffer-substring-function): New hook.
8422 (filter-buffer-substring): Use it.
8423 (filter-buffer-substring-functions): Mark obsolete.
8424 * minibuffer.el (completion-in-region-function): New hook.
8425 (completion-in-region): Use it.
8426 (completion-in-region-functions): Mark obsolete.
8427 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8428 * abbrev.el (abbrev-expand-function): New hook.
8429 (expand-abbrev): Use it.
8430 (abbrev-expand-functions): Mark obsolete.
8431 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8432 and :filter-return.
8433
04754d36
FEG
84342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8435
8436 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8437 and do not care about match data.
8438
dd8791e9
SM
84392013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8442 completion tables when completing error conditions and
8443 `declare' arguments.
8444 (lisp-complete-symbol, field-complete): Mark as obsolete.
8445 (check-parens): Unmatched parens are user errors.
8446 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8447
ffe54a13
AM
84482013-04-17 Michal Nazarewicz <mina86@mina86.com>
8449
dd8791e9
SM
8450 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8451 command changed buffer (ie. `flyspell-pre-buffer' is not current
8452 buffer), which prevents making decisions based on invalid value of
8453 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8454 cause an error when `flyspell-pre-point' was nil after switching
8455 buffers.
8456 (flyspell-post-command-hook): No longer needs to change buffers when
8457 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8458
ec7e39f2
AM
84592013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8460
8461 * textmodes/ispell.el (ispell-add-per-file-word-list):
8462 Fix `flyspell-correct-word-before-point' error when accepting
8463 words and `coment-padding' is an integer by using
8464 `comment-normalize-vars' (Bug #14214).
8465
083850a6
FEG
84662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8467
8468 New defun movement commands.
8469 * progmodes/python.el (python-nav--syntactically)
8470 (python-nav--forward-defun, python-nav-backward-defun)
8471 (python-nav-forward-defun): New functions.
8472
619ed6e1
FEG
84732013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8474
8475 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8476 (python-syntax-context): Use named compiler-macro for backwards
8477 compatibility with Emacs 24.x.
8478
7a1beb6c
LL
84792013-04-17 Leo Liu <sdl.web@gmail.com>
8480
8481 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8482 octave-hide-process-buffer.
8483
2d3fa3e5
SM
84842013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8487 (bug#14216).
8488
7ce5be54
JPG
84892013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8490
8491 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8492 Fix adjustment of offset when receiving incomplete responses from GDB
8493 (bug#14129).
8494
351edece
SM
84952013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8498 python-mode-abbrev-table.
8499 (python-skeleton-define): Adjust accordingly.
8500 (python-mode-abbrev-table): New table that inherits from it so that
8501 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8502
8503 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8504 (abbrev-symbol): Use it.
8505 (abbrev--before-point): Use it since we already handle inheritance.
8506
613f9481
LL
85072013-04-16 Leo Liu <sdl.web@gmail.com>
8508
8509 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8510 binding to info-lookup-symbol.
8511
51646b62
JB
85122013-04-16 Juanma Barranquero <lekktu@gmail.com>
8513
8514 * minibuffer.el (completion--twq-all):
8515 * term/ns-win.el (ns-initialize-window-system):
8516 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8517
efb3f01d
SM
85182013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8519
36c0a301
SM
8520 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8521 global bindings.
8522
efb3f01d
SM
8523 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8524
fb549d64
DG
85252013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8526
8527 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8528 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8529 to nil.
8530 (ruby-end-of-defun): Remove the unused arg, change the docstring
8531 to reflect that this function is only used as the value of
8532 `end-of-defun-function'.
8533 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8534 to reflect an earlier change that beginning/end-of-defun functions
8535 jump between methods in a class definition, as well as top-level
8536 functions.
8537
21e8fe2f
SM
85382013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * minibuffer.el (minibuffer-complete): Don't just scroll
8541 a *Completions* that's been iconified.
8542 (minibuffer-force-complete): Make sure repetitions do cycle when going
8543 through completion-in-region -> minibuffer-complete.
8544
20e527d0
AM
85452013-04-15 Alan Mackenzie <acm@muc.de>
8546
8547 Correct the placement of c-cpp-delimiters when there're #s not at
8548 col 0.
8549
8550 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8551 place a submatch around the #.
21e8fe2f
SM
8552 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8553 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8554 on the #, not BOL.
8555
dabefae5
SM
85562013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8559 (advice--member-p): New arg `name'.
8560 (advice--add-function, advice-member-p): Use it (bug#14202).
8561
85c9ab64
AM
85622013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8563
8564 Reformulate java imenu-generic-expression.
8565 The old expression contained ill formed regexps.
8566
8567 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8568 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8569 (cc-imenu-java-method-arg-regexp): New defconsts.
8570 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8571 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8572 handling of spaces in the regexp.
8573
0f821d99
AM
85742013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8575
8576 * textmodes/ispell.el (ispell-command-loop): Remove
8577 flyspell highlight of a word when ispell accepts it (bug #14178).
8578
eb922adf
MA
85792013-04-15 Michael Albinus <michael.albinus@gmx.de>
8580
8581 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8582 uses code from the previous `ange-ftp-run-real-handler'.
8583 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8584 only in case that function exist. This is needed for proper
8585 unloading of Tramp.
8586
4d9a0979
TH
85872013-04-15 Tassilo Horn <tsdh@gnu.org>
8588
8589 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8590
8591 * textmodes/reftex.el (reftex-compile-variables): Use it.
8592
a829b0dc
SM
85932013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8594
91e8293c
SM
8595 * files.el (normal-mode): Only use default major-mode if no other mode
8596 was specified.
8597
830aed4d
SM
8598 * emacs-lisp/trace.el (trace-values): New function.
8599
a829b0dc
SM
8600 * files.el: Allow : in local variables (bug#14089).
8601 (hack-local-variable-regexp): New var.
8602 (hack-local-variables-prop-line, hack-local-variables): Use it.
8603
7ae9f0fb
RW
86042013-04-13 Roland Winkler <winkler@gnu.org>
8605
8606 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8607 data before it gets modified by bibtex-beginning-of-entry.
8608
6646e848
RW
86092013-04-13 Roland Winkler <winkler@gnu.org>
8610
8611 * textmodes/bibtex.el (bibtex-url): Doc fix.
8612
86132013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8614
8615 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8616 does not visit a BibTeX file, exclude it from the list of buffers
8617 returned by bibtex-initialize.
8618
0aa3616e
SB
86192013-04-13 Stephen Berman <stephen.berman@gmx.net>
8620
8621 * window.el (split-window): Remove interactive form, since as a
8622 command this function is a special case of split-window-below.
8623 Correct doc string.
8624
011cddd6
RW
86252013-04-12 Roland Winkler <winkler@gnu.org>
8626
8627 * faces.el (read-face-name): Do not override value of arg default.
8628 Allow single faces and strings as default values. Remove those
8629 elements from return value that are not faces.
8630 (describe-face): Simplify.
8631 (face-at-point): New optional args thing and multiple so that this
8632 function can provide the same functionality previously provided by
8633 read-face-name.
8634 (make-face-bold, make-face-unbold, make-face-italic)
8635 (make-face-unitalic, make-face-bold-italic, invert-face)
8636 (modify-face, read-face-and-attribute): Use face-at-point.
8637
8638 * cus-edit.el (customize-face, customize-face-other-window)
8639 * cus-theme.el (custom-theme-add-face)
8640 * face-remap.el (buffer-face-set)
8641 * facemenu.el (facemenu-set-face): Use face-at-point.
8642
f24e0036
MA
86432013-04-12 Michael Albinus <michael.albinus@gmx.de>
8644
8645 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8646
da3cda2d
TH
86472013-04-10 Tassilo Horn <tsdh@gnu.org>
8648
8649 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8650 off leading { and trailing } from field values.
8651
15e54145
SM
86522013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8653
78ce603d
SM
8654 * emacs-lisp/timer.el (timer--check): New function.
8655 (timer--time, timer-set-function, timer-event-handler): Use it.
8656 (timer-set-idle-time): Simplify.
8657 (timer--activate): CSE.
8658 (timer-event-handler): Give more info in error message.
8659 (internal-timer-start-idle): New function, moved from C.
8660
15e54145
SM
8661 * mpc.el (mpc-proc): Add `restart' argument.
8662 (mpc-proc-cmd): Use it.
8663 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8664 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8665 less often.
8666
7144c627
MY
86672013-04-10 Masatake YAMATO <yamato@redhat.com>
8668
8669 * progmodes/sh-script.el: Implement `sh-mode' own
8670 `add-log-current-defun-function' (bug#14112).
8671 (sh-current-defun-name): New function.
8672 (sh-mode): Use the function.
8673
b39792eb
BG
86742013-04-09 Bastien Guerry <bzg@gnu.org>
8675
8676 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8677
8acdeb71
SM
86782013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8679
6fcdab68
SM
8680 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8681
8acdeb71
SM
8682 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8683 timer (bug#14156).
8684
e3e7b504
NF
86852013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8686
8687 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8688 declaration.
8689
201bb296
LL
86902013-04-07 Leo Liu <sdl.web@gmail.com>
8691
8692 * pcmpl-x.el: New file.
8693
ebb19708
DA
86942013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8695
8696 Do not set x-display-name until X connection is established.
8697 This is needed to prevent from weird situation described at
8698 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8699 * frame.el (make-frame): Set x-display-name after call to
8700 window system initialization function, not before.
8701 * term/x-win.el (x-initialize-window-system): Add optional
8702 display argument and use it.
8703 * term/w32-win.el (w32-initialize-window-system):
8704 * term/ns-win.el (ns-initialize-window-system):
8705 * term/pc-win.el (msdos-initialize-window-system):
8706 Add compatible optional display argument.
8707
33bb237a
EZ
87082013-04-06 Eli Zaretskii <eliz@gnu.org>
8709
8710 * files.el (normal-backup-enable-predicate): On MS-Windows and
8711 MS-DOS compare truenames of temporary-file-directory and of the
8712 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8713 don't fail comparison by compare-strings. Also, compare file
8714 names case-insensitively on MS-Windows and MS-DOS.
8715
134abf1f
SM
87162013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8717
8718 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8719 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8720
d695cb94
DG
87212013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8722
e3e7b504
NF
8723 * whitespace.el (whitespace-color-on, whitespace-color-off):
8724 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8725
f4ad7ea1 87262013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8727
8728 * ispell.el (ispell-set-spellchecker-params):
8729 Really set `ispell-args' for all equivs.
8730
632556e4
SM
87312013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * ido.el (ido-completions): Use extra elements of ido-decorations
8734 (bug#14143).
8735 (ido-decorations): Update docstring.
8736
2a417372
MA
87372013-04-05 Michael Albinus <michael.albinus@gmx.de>
8738
8739 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8740 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8741 nil during initialization, in order not to miss changes since the
8742 file was opened. (Bug#14140)
8743
fc164b0c
LL
87442013-04-05 Leo Liu <sdl.web@gmail.com>
8745
8746 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8747
0ccecc08
JB
87482013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8749
8750 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8751
51af1aa2
GM
87522013-04-04 Glenn Morris <rgm@gnu.org>
8753
8754 * electric.el (electric-pair-inhibit-predicate): Add :version.
8755
b208ebc6
SM
87562013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8759 when a package is required several times (bug#14082).
8760
f3d3eaf0
RW
87612013-04-04 Roland Winkler <winkler@gnu.org>
8762
8763 * faces.el (read-face-name): Behave as promised by the docstring.
8764 Assume that arg default is a list of faces.
8765 (describe-face): Call read-face-name with list of default faces.
8766
2575da50
TV
87672013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8768
8769 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8770 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8771 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8772 the header.
8773 (bookmark-exit-hook-internal): Save even if list is empty.
8774
397703b4
YH
87752013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8776
8777 * emacs-lisp/package.el (package-pinned-packages): New var.
8778 (package--add-to-archive-contents): Obey it (bug#14118).
8779
691e26ae
AM
87802013-04-03 Alan Mackenzie <acm@muc.de>
8781
8a621d53
JB
8782 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8783 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8784
8785 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8786 parameter `not-in-delimiter'. Handle being inside comment opener.
8787 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8788 character in case we're typing a '*' after a '/'.
8789 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8790 instead by passing the parameter to c-state-pp-to-literal.
8791
8792 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8793 for elt. 7 of a parse state.
8794
4b725a70
PE
87952013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8796
8797 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8798 * international/latin1-disp.el, international/mule-util.el:
8799 * language/cyril-util.el, language/european.el, language/ind-util.el:
8800 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8801 * language/tibetan.el, language/viet-util.el:
8802 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8803
15c579f0
SM
88042013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8807 (electric-pair-post-self-insert-function): Use it.
8808 (electric-pair-default-inhibit): New function, extracted from
8809 electric-pair-post-self-insert-function.
8810
a77e2924
RW
88112013-03-31 Roland Winkler <winkler@gnu.org>
8812
8813 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8814
2bd8a4a8
SM
88152013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8818
8d3655be 88192013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8820
8821 Un-indent after "pass" and "return" statements (Bug#13888)
8822 * progmodes/python.el (python-indent-block-enders): New var.
8823 (python-indent-calculate-indentation): Use it.
8824
8d3655be 88252013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8826
8827 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8828 defun. Defining it as defalias could introduce too eager
8829 byte-compiler optimization. (Bug#14030)
8830
8d3655be 88312013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8832
8833 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8834
0b1619da
LL
88352013-03-30 Leo Liu <sdl.web@gmail.com>
8836
8837 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8838 (kmacro-execute-from-register): Pass the keyboard macro to
8839 kmacro-call-macro or repeating won't work correctly.
8840
0b938190
TZ
88412013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8842
8843 * progmodes/subword.el: Back to using `forward-symbol'.
8844
8845 * subr.el (forward-whitespace, forward-symbol)
8846 (forward-same-syntax): Move from thingatpt.el.
8847
35710234
LL
88482013-03-29 Leo Liu <sdl.web@gmail.com>
8849
8850 * kmacro.el (kmacro-to-register): New command.
8851 (kmacro-execute-from-register): New function.
8852 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8853
efc0bb73
SM
88542013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * mpc.el: Use defvar-local and setq-local.
8857 (mpc--proc-connect): Connection failures are not bugs.
8858 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8859 (mpc-volume-map): Bind to the up-events.
8860
75a2f981
TZ
88612013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8862
8863 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8864 instead of `forward-symbol'.
8865
17c781d1
SM
88662013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8869 (edebug--recursive-edit): Use it.
8870 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8871 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8872
f67bfbcf
LL
88732013-03-28 Leo Liu <sdl.web@gmail.com>
8874
8875 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8876
b59f639d
EZ
88772013-03-27 Eli Zaretskii <eliz@gnu.org>
8878
8879 * facemenu.el (list-colors-callback): New defvar.
8880 (list-colors-redisplay): New function.
8881 (list-colors-display): Install list-colors-redisplay as the
8882 revert-buffer-function. (Bug#14063)
8883
f557c1b1
SM
88842013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8885
b1da2957
SM
8886 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8887 and suffixes don't overlap (bug#14061).
8888
f557c1b1
SM
8889 * case-table.el: Use lexical-binding.
8890 (case-table-get-table): New function.
8891 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8892
002668e1
TZ
88932013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8894
8895 * progmodes/subword.el: Add `superword-mode' to do word motion
8896 over symbol_words (parallels and leverages `subword-mode' which
8897 does word motion inside MixedCaseWords).
8898
73572c72
AG
88992013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8900
78b8f320 8901 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8902 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8903
69b2c07e
SM
89042013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8907 Change return value to be a sexp. Delay `get-buffer' to after
8908 restoring the desktop (bug#13951).
8909
08bb5ee2
LL
89102013-03-26 Leo Liu <sdl.web@gmail.com>
8911
8912 * register.el: Move semantic tag handling back to
8913 cedet/semantic/senator.el. (Bug#14052)
8914
8d4c974e
SM
89152013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8918 into the prompt either (bug#13963).
8919
b234d92c
SM
89202013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8923 part of "(error-foo)".
8924
ddfa3cb4
JL
89252013-03-24 Juri Linkov <juri@jurta.org>
8926
8927 * replace.el (list-matching-lines-prefix-face): New defcustom.
8928 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8929 `occur-engine' if `face-differs-from-default-p' returns t.
8930 (occur-engine): Add `,' inside backquote construct to evaluate
8931 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8932 Pass `prefix-face' to the functions `occur-context-lines' and
8933 `occur-engine-add-prefix'.
8934 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8935 `prefix-face' and propertize the prefix with `prefix-face'.
8936 (Bug#14017)
8937
7b0e2f85
LL
89382013-03-24 Leo Liu <sdl.web@gmail.com>
8939
8940 * nxml/rng-valid.el (rng-validate-while-idle)
8941 (rng-validate-quick-while-idle): Guard against deleted buffer.
8942 (Bug#13999)
8943
8944 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8945 is the last entry in kill-buffer-hook.
8946
8947 * files.el (kill-buffer-hook): Doc fix.
8948
b3082f49
DG
89492013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8950
b234d92c
SM
8951 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8952 Make it safe-local.
bde73d27 8953
b3082f49
DG
8954 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8955
a320a2db
LL
89562013-03-23 Leo Liu <sdl.web@gmail.com>
8957
7e74b0fb
LL
8958 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8959 Remove.
8960
8961 * nxml/rng-valid.el (rng-validate-mode)
8962 (rng-after-change-function, rng-do-some-validation):
8963 * nxml/rng-maint.el (rng-validate-buffer):
8964 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8965 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8966 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8967 (nxml-extend-after-change-region): Use with-silent-modifications.
8968
a320a2db
LL
8969 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8970 timer-idle-list.
8971
8972 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8973 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8974 timer-idle-list. (Bug#13999)
8975
e38e6780
JL
89762013-03-23 Juri Linkov <juri@jurta.org>
8977
8978 * info.el (info-index-match): New face.
8979 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8980 main pattern and add text properties with the new face to matches
8981 in index entries relative to the beginning of the index entry.
8982 (Bug#14015)
8983
e8cc7880
DE
89842013-03-21 Eric Ludlam <zappo@gnu.org>
8985
8986 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8987 Inhibit read only while inserting objects.
8988
9bb0d822
TZ
89892013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8990
8991 * progmodes/cfengine.el: Update docs to mention
8992 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8993 symbol motion. Remove "_" from the word syntax.
8994
aa703640
TZ
89952013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8996
8997 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8998 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8999
afff09d0
JL
90002013-03-20 Juri Linkov <juri@jurta.org>
9001
9002 * info.el (Info-next-reference-or-link)
9003 (Info-prev-reference-or-link): New functions.
9004 (Info-next-reference, Info-prev-reference): Use them.
9005 (Info-try-follow-nearest-node): Handle footnote navigation.
9006 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9007
9a1ff164
SM
90082013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9011 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9012
2667d15d
PE
90132013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9014
9015 Suppress unnecessary non-ASCII chatter during build process.
9016 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9017 (batch-skkdic-convert): Suppress most of the chatter.
9018 It's not needed so much now that machines are faster,
9019 and its non-ASCII component was confusing; see Dmitry Gutov in
9020 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9021
438b0579
LL
90222013-03-20 Leo Liu <sdl.web@gmail.com>
9023
9024 * ido.el (ido-chop): Fix bug#10994.
9025
c128ab07
DG
90262013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9027
9028 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9029 Remove vars.
9a1ff164
SM
9030 (whitespace-color-on, whitespace-color-off):
9031 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9032
0e6008c5
SM
90332013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9034
9035 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9036 remapping in mode-line.
9037 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9038
627b52b0
DG
90392013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9040
9041 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9042 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9043 (whitespace-font-lock-keywords): Change description.
9044 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9045 the constructed keywords instead.
9046 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9047
50c3a20b
LL
90482013-03-19 Leo Liu <sdl.web@gmail.com>
9049
9050 * progmodes/compile.el (compilation-display-error): New command.
9051 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9052 C-o. (Bug#13992)
9053
2aa2157b
PE
90542013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9055
9056 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9057
e477dbfa
JD
90582013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9059
9060 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9061
64ab82d1
MA
90622013-03-18 Michael Albinus <michael.albinus@gmx.de>
9063
9064 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9065
9066 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9067 * net/tramp-gvfs.el (top):
9068 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9069 (tramp-handle-shell-command): Use it.
9070 (tramp-dissect-file-name): Raise an error when hostname is a
9071 method name, and neither method nor user is specified.
9072
9073 * net/trampver.el: Update release number.
9074
33cef733
LL
90752013-03-18 Leo Liu <sdl.web@gmail.com>
9076
9077 Make sure eldoc can be turned off properly.
9078 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9079 eldoc-mode.
9080 (eldoc-display-message-p): Revert last change.
9081 (eldoc-display-message-no-interference-p)
9082 (eldoc-print-current-symbol-info): Tweak.
9083
2167b7b2
TH
90842013-03-18 Tassilo Horn <tsdh@gnu.org>
9085
9086 * doc-view.el (doc-view-new-window-function): Check the new window
9087 overlay's display property instead the char property of the
9088 buffer's first char. Use `with-selected-window' instead of
9089 `save-window-excursion' with `select-window'.
9090 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9091 display property instead the char property of the buffer's first char.
2167b7b2 9092
982efbcd
PE
90932013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9094
9095 Automate the build of ja-dic.el (Bug#13984).
9096 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9097 from the input, rather than assume that it's been done for us by the
9098 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9099 the current date into a ja-dic.el comment, as that complicates
9100 regression testing.
9101
2fcc7665
SM
91022013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * whitespace.el: Fix double evaluation.
9105 (whitespace-space, whitespace-hspace, whitespace-tab)
9106 (whitespace-newline, whitespace-trailing, whitespace-line)
9107 (whitespace-space-before-tab, whitespace-indentation)
9108 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9109 obsolete defvars.
9110 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9111 (whitespace-color-on): Use a single font-lock-add-keywords call.
9112 Fix double-evaluation of face variables.
9113
67c0a6e6
MA
91142013-03-17 Michael Albinus <michael.albinus@gmx.de>
9115
2fcc7665
SM
9116 * net/tramp-adb.el (tramp-adb-parse-device-names):
9117 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9118 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9119
69489f1d
LL
91202013-03-17 Leo Liu <sdl.web@gmail.com>
9121
9122 Extend eldoc to display info in the mode-line. (Bug#13978)
9123 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9124 (eldoc-mode-line-string): New variable.
9125 (eldoc-minibuffer-message): New function.
9126 (eldoc-message-function): New variable.
9127 (eldoc-message): Use it.
9128 (eldoc-display-message-p)
2fcc7665
SM
9129 (eldoc-display-message-no-interference-p):
9130 Support eldoc-post-insert-mode.
69489f1d
LL
9131
9132 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9133 (eval-expression): Run it.
9134
9c44569e
RW
91352013-03-17 Roland Winkler <winkler@gnu.org>
9136
9137 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9138 strings in the list of return values.
9139
327f1f6f
JB
91402013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9141
9142 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9143 radix before checking for HMS forms.
9144
67ed8fcd
LL
91452013-03-16 Leo Liu <sdl.web@gmail.com>
9146
9147 * progmodes/scheme.el: Add indentation and font-locking for λ.
9148 (Bug#13975)
9149
78be8b64 91502013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9151
9152 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9153 token before point (bug#13942).
9154
78be8b64 91552013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9156
95b43468 9157 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9158
98e775e6
EZ
91592013-03-16 Eli Zaretskii <eliz@gnu.org>
9160
9161 * startup.el (command-line-normalize-file-name): Fix handling of
9162 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9163 <xfq.free@gmail.com> in
9164 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9165
2edd6029
MA
91662013-03-15 Michael Albinus <michael.albinus@gmx.de>
9167
9168 Sync with Tramp 2.2.7.
9169
9170 * net/trampver.el: Update release number.
9171
d35f5864
TH
91722013-03-14 Tassilo Horn <tsdh@gnu.org>
9173
e903c210 9174 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9175 (doc-view-insert-image): Don't modify overlay associated to
9176 non-live windows, and implement horizontal centering of image in
9177 case it's smaller than the window.
9178 (doc-view-new-window-function): Force redisplay of new windows on
9179 doc-view buffers.
d35f5864 9180
1c4a85ed
KF
91812013-03-13 Karl Fogel <kfogel@red-bean.com>
9182
9183 * saveplace.el (save-place-alist-to-file): Don't sort
9184 `save-place-alist', just pretty-print it (bug#13882).
9185
85b66a21
MA
91862013-03-13 Michael Albinus <michael.albinus@gmx.de>
9187
a020afb9
JB
9188 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9189 Check whether `default-file-name-coding-system' is bound.
9190 It isn't in XEmacs.
85b66a21 9191
175600da
SM
91922013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9193
e7f7cb1a
SM
9194 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9195 backquotes for `obsolete' (bug#13929).
9196
175600da
SM
9197 * international/mule.el (find-auto-coding): Include file name in
9198 obsolescence warning (bug#13922).
9199
ca68a22e
TZ
92002013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9201
9202 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9203 for CFEngine 3-specific indentation.
9204 (cfengine3-indent-line): Use it. Fix up category regex.
9205 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9206
940e5099
SM
92072013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * type-break.el (type-break-file-name):
9210 * textmodes/remember.el (remember-data-file):
9211 * strokes.el (strokes-file):
9212 * shadowfile.el (shadow-initialize):
9213 * saveplace.el (save-place-file):
9214 * ps-bdf.el (bdf-cache-file):
9215 * progmodes/idlwave.el (idlwave-config-directory):
9216 * net/quickurl.el (quickurl-url-file):
9217 * international/kkc.el (kkc-init-file-name):
9218 * ido.el (ido-save-directory-list-file):
9219 * emulation/viper.el (viper-custom-file-name):
9220 * emulation/vip.el (vip-startup-file):
9221 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9222 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9223
cc725808
PE
92242013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9225
9226 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9227 * language/thai-word.el: Switch to UTF-8.
9228
a020afb9 9229See ChangeLog.16 for earlier changes.
e3d51b27
MR
9230
9231;; Local Variables:
9232;; coding: utf-8
e3d51b27
MR
9233;; End:
9234
ab422c4d 9235 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9236
9237 This file is part of GNU Emacs.
9238
9239 GNU Emacs is free software: you can redistribute it and/or modify
9240 it under the terms of the GNU General Public License as published by
9241 the Free Software Foundation, either version 3 of the License, or
9242 (at your option) any later version.
9243
9244 GNU Emacs is distributed in the hope that it will be useful,
9245 but WITHOUT ANY WARRANTY; without even the implied warranty of
9246 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9247 GNU General Public License for more details.
9248
9249 You should have received a copy of the GNU General Public License
9250 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.