* lisp/image.el (defimage): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
18c9f8a2
XF
12013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2
3 * image.el (defimage): Doc fix.
4
b1e8e010
AM
52013-10-27 Alan Mackenzie <acm@muc.de>
6
7 Indent statements in macros following "##" correctly.
8 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Modify
9 the "#" arm of a cond form to handle "#" and "##" operators.
10
73d40d1e 112013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
12
13 * linum.el (linum-update-window): Fix boundary test (bug#13446).
14
c8c605ac
DG
152013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16
17 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
18 after `=' is probably a new expression.
19
ca7e59d4
RS
202013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21
22 * man.el (man-imenu-title): New option.
23 (Man-mode-map): Add menu. (Bug#15722)
24 (Man-mode): Add imenu to menu.
25
bae91342
DG
262013-10-26 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
29 specific in what the first arg can be: a non-keyword word,
30 string/regexp/percent literal opener, opening paren, or unary
31 operator followed directly by word.
32
eb89dc14
SM
332013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
36 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
37 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
38 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
39 Remove vars, they do not apply any more.
40 (prolog-mode-abbrev-table): Remove redundant declaration.
41 (prolog-upper-case-string, prolog-lower-case-string): Remove.
42 (prolog-use-smie): Remove.
43 (prolog-smie-rules): Add indentation rule for the if-then-else layout
44 supported by prolog-electric-if-then-else-flag.
45 (prolog-mode-variables, prolog-menu): Use setq-local.
46 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
47 Remove binding to `Backspace' since this key doesn't exist anyway.
48 Remove bindings for electric self-inserting keys.
49 (prog-mode): Assume it's defined.
50 (prolog-post-self-insert): New function.
51 (prolog-mode): Use it.
52 (prolog-indent-line, prolog-indent-level)
53 (prolog-find-indent-of-matching-paren)
54 (prolog-indentation-level-of-line, prolog-goto-comment-column)
55 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
56 (prolog-goto-next-paren, prolog-in-string-or-comment)
57 (prolog-tokenize, prolog-inside-mline-comment)
58 (prolog-find-start-of-mline-comment): Remove functions.
59 (prolog-find-unmatched-paren, prolog-clause-end)
60 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
61 (prolog-electric--if-then-else): Rename from
62 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
63 (prolog-tokenize-searchkey): Remove const.
64 (prolog-clause-info): Use forward-sexp.
65 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
66 (prolog-electric-if-then-else): Remove commands.
67 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
68 for use in post-self-insert-hook.
69 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
70 for use in post-self-insert-hook.
71 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
72 for use in post-self-insert-hook.
73 (prolog-electric--underscore): Rename from prolog-electric--underscore;
74 adapt it for use in post-self-insert-hook.
75
3dab0a83
MA
762013-10-25 Michael Albinus <michael.albinus@gmx.de>
77
78 * emacs-lisp/ert.el (ert-run-tests-interactively):
79 Use `completing-read'. (Bug#9756)
80
fbfd0e1d
EZ
812013-10-25 Eli Zaretskii <eliz@gnu.org>
82
83 * simple.el (line-move): Call line-move-1 instead of
84 line-move-visual when the current window hscroll is zero, but
85 temporary-goal-column indicates we will need to hscroll as result
86 of the movement. (Bug#15712)
87
963ce636
DG
882013-10-25 Dmitry Gutov <dgutov@yandex.ru>
89
90 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
91 capitalization. Use :visible instead of :active.
92 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
93 commands that are used with SMIE.
94 (ruby-do-end-to-brace): Insert space after `{'.
95
a0be396a
JA
962013-10-25 John Anthony <john@jo.hnanthony.com>
97
f73754c9
JA
98 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
99
100 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 101
f5bf77df
GM
1022013-10-25 Glenn Morris <rgm@gnu.org>
103
104 * vc/vc.el (vc-print-log): Don't use a working revision unless
105 one was explicitly specified. (Bug#15322)
106
37241f62
SM
1072013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * subr.el (add-to-list): Preserve return value in compiler-macro
110 (bug#15692).
111
6408a65d
RS
1122013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
113
114 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
115 result. Ask user to retry using '-all' flag. (Bug#15701)
116
71e3276b
SM
1172013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * emacs-lisp/smie.el: New smie-config system.
120 (smie-config): New defcustom.
121 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
122 (smie-config-guess, smie-config-save): New commands.
123 (smie-config--mode-local, smie-config--buffer-local)
124 (smie-config--trace, smie-config--modefuns): New vars.
125 (smie-config--advice, smie-config--mode-hook)
126 (smie-config--setter, smie-config-local, smie-config--get-trace)
127 (smie-config--guess-value, smie-config--guess): New functions.
128 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
129 text properties. Treat "string fence" syntax like string syntax.
130
131 * progmodes/sh-script.el (sh-use-smie): Change default.
132 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
133 (sh-var-value): Simplify by CSE.
134 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
135 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
136 is used.
137 (sh-guess-basic-offset): Use cl-incf.
138 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
139
60db713e
HE
1402013-10-24 Helmut Eller <eller.helmut@gmail.com>
141
142 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
143 (bug#15699).
144
8b251df6
GM
1452013-10-24 Glenn Morris <rgm@gnu.org>
146
147 * Makefile.in (abs_top_srcdir): Remove.
148 (update-subdirs): Use relative path to update-subdirs.
149
6be0e22b
EZ
1502013-10-24 Eli Zaretskii <eliz@gnu.org>
151
152 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
153 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
154 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
155 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 156
50b5b857
MA
1572013-10-24 Michael Albinus <michael.albinus@gmx.de>
158
159 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
160 (ert-test-skipped): New error.
161 (ert-skip, ert-stats-skipped): New defuns.
162 (ert--skip-unless): New macro.
163 (ert-test-skipped): New struct.
164 (ert--run-test-debugger, ert-test-result-type-p)
165 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
166 (ert--stats-set-test-and-result, ert-char-for-test-result)
167 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 168 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 169 Handle skipped tests. (Bug#9803)
50b5b857 170
6f317c2f
GM
1712013-10-24 Glenn Morris <rgm@gnu.org>
172
e43817c1
GM
173 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
174
6f317c2f
GM
175 * Makefile.in (abs_top_srcdir): New, set by configure.
176 (update-subdirs): Correct build-aux location.
177
369bbf71
DG
1782013-10-24 Dmitry Gutov <dgutov@yandex.ru>
179
8297b2cf
DG
180 * vc/vc.el (vc-print-root-log): Always set `default-directory'
181 value, whether we could auto-deduce `backend', or not.
182
369bbf71
DG
183 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
184 with parameters" example. Simplify the "is it block or is it
185 hash" check, but also make it more thorough.
186
d5f1282f
MF
1872013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
188
189 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
190
bc4aaa31
SM
1912013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
192
03d44565
SM
193 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
194 { if it is hanging.
195
bc4aaa31
SM
196 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
197 :before ";".
198
f493ff19
JB
1992013-10-23 Jed Brown <jed@59A2.org> (tiny change)
200
201 * progmodes/compile.el (compilation-directory-matcher)
202 (compilation-page-delimiter):
203 Support GNU Make-4.0 directory quoting. (Bug#15678)
204
c744a3b9
LL
2052013-10-23 Leo Liu <sdl.web@gmail.com>
206
207 * ido.el (ido-tidy): Handle read-only text.
208
b8e3b0a9
GM
2092013-10-23 Glenn Morris <rgm@gnu.org>
210
211 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
212 (emacs, compile, compile-always):
213 Quote entities that might contain whitespace.
214 (custom-deps, finder-data, autoloads): Use abs_lisp.
215 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
216 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
217 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
218
ee4282cd
DG
2192013-10-23 Dmitry Gutov <dgutov@yandex.ru>
220
bc4aaa31
SM
221 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
222 Use `following-char'.
7790a270 223
ee4282cd 2242013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
225
226 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
227 * progmodes/ruby-mode.el (ruby-smie-rules):
228 Remove corresponding workaround. Fix indentation rule of ";" so it
229 also applies when ";" is the parent.
230
d40a46d7
XF
2312013-10-22 Xue Fuqiao <xfq.free@gmail.com>
232
233 * frame.el (display-screens, display-pixel-height)
234 (display-pixel-width, display-mm-width, display-backing-store)
235 (display-save-under, display-planes, display-color-cells)
7790a270
SM
236 (display-visual-class, display-monitor-attributes-list):
237 Mention the optional ‘display’ argument in doc strings.
d40a46d7 238
a0f143c9
MG
2392013-10-22 Michael Gauland <mikelygee@amuri.net>
240
241 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
242 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
243
18cacc39
DG
2442013-10-21 Dmitry Gutov <dgutov@yandex.ru>
245
246 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
247 TODO. Add "." after " @ ".
248 (ruby-smie--at-dot-call): New function. Checks if point at method
249 call with explicit target.
250 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
251 to the method name tokens when it precedes them.
252 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
253 (ruby-smie-rules): Add rule for indentation before and after "."
254 token.
255
df74c4be
SM
2562013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
257
c6dab55f
SM
258 * textmodes/remember.el (remember-diary-extract-entries):
259 Avoid add-to-list.
260
df74c4be
SM
261 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
262 an instruction.
263
8c1ae481
DG
2642013-10-21 Dmitry Gutov <dgutov@yandex.ru>
265
cfef16c0
DG
266 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
267 (ruby-smie--implicit-semi-p): Add new operator chars.
268
8c1ae481
DG
269 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
270 `smie-down-list'.
271 (ruby-smie--args-separator-p): Check that there's no newline
272 between method call and its arguments.
273
87756ca9
AM
2742013-10-20 Alan Mackenzie <acm@muc.de>
275
276 Allow comma separated lists after Java "implements".
277
df74c4be
SM
278 * progmodes/cc-engine.el (c-backward-over-enum-header):
279 Parse commas.
87756ca9
AM
280 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
281 from a "disallowed" list in enum fontification.
282
c25f8957
JB
2832013-10-20 Johan Bockgård <bojohan@gnu.org>
284
df74c4be 285 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 286
c25f8957
JB
287 * progmodes/verilog-mode.el (verilog-mode): Don't set
288 comment-indent-function globally.
289
aca5fcdc
JD
2902013-10-20 Jan Djärv <jan.h.d@swipnet.se>
291
5f161884
JD
292 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
293 Move Info menu item creation to ns-win.el.
294
295 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
296 in menu bar.
297
aca5fcdc
JD
298 * menu-bar.el: Move GNUStep specific menus...
299
300 * term/ns-win.el (ns-initialize-window-system): ... to here.
301
914b7f98
SM
3022013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * simple.el (newline): Only run post-self-insert-hook when
305 called interactively.
306
846ffe77
JB
3072013-10-19 Johan Bockgård <bojohan@gnu.org>
308
309 * icomplete.el (icomplete-with-completion-tables): Add :version.
310
033f22dd
AM
3112013-10-19 Alan Mackenzie <acm@muc.de>
312
313 Fix fontification bugs with constructors and const.
314
315 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
316 CASE 2) Remove the check for the absence of a suffix construct
317 after a function declaration with only types (no identifiers) in
318 the parentheses. Also, accept a function declaration with just a
319 type inside the parentheses, if this type can be positively
320 recognised as such, or if a prefix keyword like "explicit" nails
321 down the construct as a declaration.
322
58ce0cfc
EZ
3232013-10-19 Eli Zaretskii <eliz@gnu.org>
324
325 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
326 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
327 the problem whereby selecting a menu item that leads to a
328 minibuffer prompt moves the cursor out of the minibuffer window,
329 making it hard to type at the prompt. Suggested by Stefan Monnier
330 <monnier@iro.umontreal.ca>.
331
50e28e7d
JD
3322013-10-19 Jan Djärv <jan.h.d@swipnet.se>
333
334 * menu-bar.el: Don't make Services menu.
335
7deed4bf
RS
3362013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
337
338 * ffap.el: Handle "/usr/include/c++/<version>" directories.
339 (ffap-alist): Use ffap-c++-mode for c++-mode.
340 (ffap-c++-path): New variable.
341 (ffap-c++-mode): New function.
342
7bcb455b
JVJ
3432013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
344
345 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
346
f0ff1cd5
MA
3472013-10-18 Michael Albinus <michael.albinus@gmx.de>
348
349 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
350 introduced on 2013-09-08, which results in an infinite loop
351 requesting a password.
352
d64da4b7
GM
3532013-10-18 Glenn Morris <rgm@gnu.org>
354
355 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
356
ea89ff08
WS
3572013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
358
359 Sync with upstream verilog-mode revision 1a6ecec7.
360 * progmodes/verilog-mode.el (verilog-mode-version): Update.
361 (verilog-mode-release-date): Remove.
362 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
363 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
364 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
365 (verilog-auto-tieoff-ignore-regexp)
366 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
367 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
368 (verilog-signals-with, verilog-dir-cache-preserving)
369 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
370 Doc fixes.
371 (verilog-case-fold): New option, to control case folding in
372 regexp searches, bug597.
373 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
374 (verilog-string-match-fold, verilog-in-paren-count)
375 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
376 (verilog-at-close-struct-p): New functions.
377 (verilog-beg-block-re-ordered, verilog-extended-case-re)
378 (verilog-forward-sexp, verilog-set-auto-endcomments):
379 (verilog-leap-to-case-head): Handle "unique0" case.
380 (verilog-in-constraint-re): New constant.
381 (verilog-keywords, verilog-type-font-keywords):
382 Add some SystemVerilog 1800-2012 keywords.
383 (verilog-label-be): Remove unimplemented argument, bug669.
384 (verilog-batch-execute-func): When batch expanding clear
385 create-lockfiles to prevent spurious user locks when a file ends
386 up not changing.
387 (verilog-calculate-indent, verilog-calc-1)
388 (verilog-at-close-constraint-p, verilog-at-constraint-p)
389 (verilog-do-indent): Fix indentation of nested constraints
390 and structures.
391 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
392 (verilog-auto-inst-param): Use verilog-string-match-fold.
393 (verilog-read-inst-module-matcher):
394 Fix AUTOINST on gate primitives with #1.
395 (verilog-read-decls): Fix double-declaring user-defined typed signals.
396 Reads all user-defined typed variables.
397 (verilog-read-defines): Fix reading definitions inside comments, bug647.
398 (verilog-signals-matching-regexp)
399 (verilog-signals-not-matching-regexp, verilog-auto):
400 Respect verilog-case-fold.
401 (verilog-diff-report): Fix line count.
402 (verilog-auto-assign-modport): Remove unused local `modi'.
403 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
404 better handle multidimensional arrays.
405 Fix packed array ports misadding bit index in AUTOINST, bug637.
406 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
407 to not double-declare existing outputs and inputs, respectively.
408 (verilog-template-map): Bind U to verilog-sk-uvm-component.
409 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
410 (verilog-sk-uvm-component): New skeleton.
411 (verilog-submit-bug-report): Add verilog-case-fold,
412 remove verilog-mode-release-date.
413
ef566920
BR
4142013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
415
416 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
417 as before.
418
29df8a0b
RT
4192013-10-18 Reuben Thomas <rrt@sc3d.org>
420
421 * textmodes/remember.el (remember): set buffer-offer-save in
422 remember buffers (bug#13566).
423
04a19a79
DC
4242013-10-18 Daniel Colascione <dancol@dancol.org>
425
426 When evaluating forms in ielm, direct standard output to ielm
427 buffer. Add new ielm-return-for-effect command. Remove trailing
428 whitespace throughout.
429
430 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
431 (ielm-return-for-effect): New command.
432 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
433 (ielm-eval-input): Accept optional `for-effect' parameter.
434 Bind `standard-output' to stream we create using
04a19a79
DC
435 `ielm-standard-output-impl'. Suppress printing result when
436 `for-effect'.
437 (ielm-standard-output-impl): New function.
438 (inferior-emacs-lisp-mode): Explain new features in documentation.
439
4c1f03ef
MA
4402013-10-17 Michael Albinus <michael.albinus@gmx.de>
441
442 Code cleanup.
443
444 * net/tramp.el (tramp-debug-message): Do not check for connection
445 buffer.
446 (tramp-message): Use "vector" connection property.
447
448 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
449 (tramp-equal-remote, tramp-eshell-directory-change)
450 * net/tramp-adb.el (tramp-adb-handle-copy-file)
451 (tramp-adb-handle-rename-file)
452 * net/tramp-cmds.el (tramp-list-remote-buffers)
453 (tramp-cleanup-connection, tramp-cleanup-this-connection)
454 * net/tramp-compat.el (tramp-compat-process-running-p)
455 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
456 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
457 (tramp-gvfs-handle-rename-file)
458 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
459 (tramp-set-file-uid-gid)
460 * net/tramp-smb.el (tramp-smb-handle-copy-file)
461 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
462 of `file-remote-p'.
463
464 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
465 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
466 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
467 (tramp-gw-open-network-stream): Suppress unrelated traces.
468
469 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
470 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
472 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
473 connection property.
474
475 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 476 persistency file.
4c1f03ef
MA
477
478 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
479 Refactor common code. Improve debug message.
480 (tramp-maybe-open-connection)
481 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
482 connection buffer too early.
483
484 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
485 from `tramp-smb-actions-with-acl'.
486 (tramp-smb-actions-set-acl): New defconst.
487 (tramp-smb-handle-copy-directory)
488 (tramp-smb-action-get-acl): New defun, renamed from
489 `tramp-smb-action-with-acl'.
490 (tramp-smb-action-set-acl): New defun.
491 (tramp-smb-handle-set-file-acl): Rewrite.
492
642eb8b6
GM
4932013-10-17 Glenn Morris <rgm@gnu.org>
494
495 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
496
85527ff3
SM
4972013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
498
921c1d62
SM
499 * skeleton.el (skeleton-newline): Remove.
500 (skeleton-internal-1): Use (insert "\n") instead.
501
e333fb10
SM
502 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
503 let-bindings.
504
85527ff3
SM
505 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
506 forward-sexp-function while we redo its job (bug#15613).
507
c8722a97
JB
5082013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
509
510 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
511 represented by lists.
512
7a550bbb
GM
5132013-10-16 Glenn Morris <rgm@gnu.org>
514
515 * tmm.el (tmm--history): New dynamic variable.
516 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
517
f19da8ad
MA
5182013-10-16 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
521 (tramp-smb-errors): Add error messages.
522 (tramp-smb-actions-with-acl): New defconst.
523 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
524 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
525 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
526 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
527 (tramp-smb-get-stat-capability): Fix tests.
528
a24b9961
DK
5292013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
530
531 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
532 (bug#15580).
533
62ad85e6
GM
5342013-10-16 Glenn Morris <rgm@gnu.org>
535
0283d6b0
GM
536 * ansi-color.el (ansi-color-drop-regexp):
537 Add 1J, 1K, 2K. (Bug#15617)
538
012e2f9f
GM
539 * files.el (hack-local-variables--warned-lexical): New.
540 (hack-local-variables):
541 Warn about misplaced lexical-binding. (Bug#15616)
542
62ad85e6
GM
543 * net/eww.el (eww-render): Always set eww-current-url,
544 and update header line. (Bug#15622)
545 (eww-display-html): ... Rather than just doing it here.
546
6456c0ea
EZ
5472013-10-15 Eli Zaretskii <eliz@gnu.org>
548
549 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
550 menu navigations commands.
551
c2de5588
DK
5522013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
553
554 * progmodes/subword.el (subword-capitalize): Be careful when
555 the search for [[:alpha:]] fails (bug#15580).
556
ccd4a783
EZ
5572013-10-14 Eli Zaretskii <eliz@gnu.org>
558
559 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
560 to commands that scroll the menu.
561
1eda1d8d
DG
5622013-10-14 Dmitry Gutov <dgutov@yandex.ru>
563
c2de5588
DK
564 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
565 Handle methods ending with `?' and `!'.
1eda1d8d 566
e70181b8
AM
5672013-10-14 Akinori MUSHA <knu@iDaemons.org>
568
569 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
570 `japanese-cp932' to `cp932' to fix the problem where saving a
571 source file written in Shift_JIS twice would end up having
572 `coding: japanese-cp932' which Ruby could not recognize.
573 (ruby-mode-set-encoding): Add support for encodings mapped to nil
574 in `ruby-encoding-map'.
575 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
576 doesn't need to be explicitly declared in magic comment.
577 (ruby-encoding-map): Add type declaration for better customize UI.
578
9148ee92
GM
5792013-10-13 Glenn Morris <rgm@gnu.org>
580
a5d38e34
GM
581 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
582 Occur buffers are read-only. http://bugs.debian.org/720775
583
9148ee92
GM
584 * emacs-lisp/authors.el (authors-fixed-entries):
585 Comment out old alpha stuff.
586
a9ba094b
DG
5872013-10-13 Dmitry Gutov <dgutov@yandex.ru>
588
589 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
590 to `after-save-hook' instead of `before-save-hook'.
591 (ruby-mode-set-encoding): Use the value of coding system used to
592 write the file. Call `basic-save-buffer-1' after modifying the
593 buffer.
594
7a068717
AM
5952013-10-13 Alan Mackenzie <acm@muc.de>
596
597 Fix indentation/fontification of Java enum with
598 "implements"/generic.
599
c2de5588
DK
600 * progmodes/cc-engine.el (c-backward-over-enum-header):
601 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
602 (c-inside-bracelist-p): Uses new function above.
603 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
604 function above.
605 (c-font-lock-enum-tail): Uses new function above.
606
85b64f02
KH
6072013-10-13 Kenichi Handa <handa@gnu.org>
608
609 * international/mule-cmds.el (select-safe-coding-system): Remove a
610 superfluous condition in chekcing whether a coding system is safe
611 or not.
612
fc7f501b
OK
6132013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
614
615 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
616
fdcb2049
AP
6172013-10-13 Andreas Politz <politza@hochschule-trier.de>
618
619 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
620
8c106d17
GM
6212013-10-13 Glenn Morris <rgm@gnu.org>
622
feab892d
GM
623 * menu-bar.el (menu-bar-update-buffers):
624 Unify Buffers menu prompt string. (Bug#15576)
625
b22d0686
GM
626 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
627
8c106d17
GM
628 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
629 Add some entries.
630 (authors-fixed-entries): Use accented form of name.
631
1b12c797
SM
6322013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
633
650fa7bf 634 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 635 method calls (bug#15594).
650fa7bf
SM
636 (ruby-smie--args-separator-p): New function.
637 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
638 recognize paren-free method calls.
639
1b12c797
SM
640 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
641 internals of universal-argument.
642
029619c8
EZ
6432013-10-11 Eli Zaretskii <eliz@gnu.org>
644
645 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
646 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
647 dropped menu on second mouse click on the menu bar.
029619c8 648
dd070019
SM
6492013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
652 (explicit-shell-file-name): Declare.
653 (sh--vars-before-point, sh--cmd-completion-table): New functions.
654 (sh-completion-at-point-function): New function.
655 (sh-mode): Use it.
656 (sh-smie--keyword-p): Remove unused argument.
657 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
658 vars.
659 (sh-set-shell): Always setup SMIE, even if we use the
660 old indentation code.
661
0922b826
DG
6622013-10-11 Dmitry Gutov <dgutov@yandex.ru>
663
b68e2926
DG
664 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
665 cases of ? and =.
666 (ruby-smie-rules): Simplify the "do" rule. The cases when the
667 predicate would return nil are almost non-existent.
668 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
669
0922b826
DG
670 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
671 cache also after commands that modify the buffer but don't move
672 point.
673
ee041f2d
SM
6742013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * env.el (substitute-env-in-file-name): New function.
677 (substitute-env-vars): Extend the meaning of the optional arg.
678
a5dab159
EZ
6792013-10-10 Eli Zaretskii <eliz@gnu.org>
680
681 * term/w32-win.el (dynamic-library-alist): Define separate lists
682 of GIF DLLs for versions before and after 5.0.0 of giflib.
683 (Bug#15531)
684
db138698
JT
6852013-10-10 João Távora <joaotavora@gmail.com>
686
687 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
688 not locked, use last revision and current source as
689 defaults. (Bug#15569)
690
2f6e161e
MY
6912013-10-10 Masatake YAMATO <yamato@redhat.com>
692
693 * menu-bar.el (menu-bar-open): Don't use popup-menu if
694 menu-bar is hidden.
695
6c8413fc
MR
6962013-10-10 Martin Rudalics <rudalics@gmx.at>
697
698 * window.el (pop-to-buffer-same-window): Fix doc-string.
699 (Bug#15492)
700
20832de0
SM
7012013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
704
c6e8ae77
AC
7052013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
706
707 * calendar/icalendar.el (icalendar-import-file):
708 Fix interactive spec. (Bug#15482)
709
9db13baf
GM
7102013-10-10 Glenn Morris <rgm@gnu.org>
711
9271e90e
GM
712 * desktop.el (desktop-save): Default to saving in .emacs.d,
713 since PWD is no longer in desktop-path by default. (Bug#15319)
714
9db13baf
GM
715 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
716 now that text mode has a menu with the same entry.
717 (menu-bar-text-mode-auto-fill): Remove now unused func.
718 * textmodes/text-mode.el (text-mode-map):
719 Use auto-fill help text from menu-bar.el.
720
a0be396a 7212013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
722
723 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
724
2edcd3c7
JL
7252013-10-09 Juri Linkov <juri@jurta.org>
726
727 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
728 instead of this-command-keys. Add universal-argument-more and
729 universal-argument-minus to the list of prefix commands. (Bug#15568)
730
574411d0
GM
7312013-10-09 Glenn Morris <rgm@gnu.org>
732
14afa541
GM
733 * vc/vc-svn.el (vc-svn-create-repo):
734 Expand paths in file://... url. (Bug#15446)
735
574411d0
GM
736 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
737 Add some entries.
738 (authors): Remove unused local variables.
739
79804536
SM
7402013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * profiler.el: Create a more coherent calltree from partial backtraces.
743 (profiler-format): Hide the tail with `invisible' so that C-s can still
744 find the hidden elements.
745 (profiler-calltree-depth): Don't recurse so enthusiastically.
746 (profiler-function-equal): New hash-table-test.
747 (profiler-calltree-build-unified): New function.
748 (profiler-calltree-build): Use it.
749 (profiler-report-make-name-part): Indent the calltree less.
750 (profiler-report-mode): Add visibility specs for profiler-format.
751 (profiler-report-expand-entry, profiler-report-toggle-entry):
752 Expand the whole subtree when provided with a prefix arg.
753
238150c8
DG
7542013-10-09 Dmitry Gutov <dgutov@yandex.ru>
755
756 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
757 iuwu-mod token.
758 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
759 hanging iuwu-mod token.
760 (ruby-smie--forward-token): Do not include a dot after a token in
761 that token.
762 (ruby-smie--backward-token): Likewise.
763
b0949cc4
JL
7642013-10-08 Juri Linkov <juri@jurta.org>
765
766 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
767 to isearch-other-control-char.
768 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
769 and isearch-post-command-hook to post-command-hook.
770 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
771 and isearch-post-command-hook from post-command-hook.
772 (isearch-unread-key-sequence)
773 (isearch-reread-key-sequence-naturally)
774 (isearch-lookup-scroll-key, isearch-other-control-char)
775 (isearch-other-meta-char): Remove functions.
776 (isearch-pre-command-hook, isearch-post-command-hook):
777 New functions based on isearch-other-meta-char rewritten
778 relying on the new behavior of overriding-terminal-local-map
779 that does not replace the local keymaps any more. (Bug#15200)
780
4ed77415
EZ
7812013-10-08 Eli Zaretskii <eliz@gnu.org>
782
783 Support menus on text-mode terminals.
784 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
785 functionality.
786
787 * tooltip.el (tooltip-mode): Don't error out on TTYs.
788
c2de5588
DK
789 * menu-bar.el (popup-menu, popup-menu-normalize-position):
790 Move here from mouse.el.
4ed77415
EZ
791 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
792 and arrow keys.
793 (tty-menu-navigation-map): New map for TTY menu navigation.
794
795 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
796
797 * frame.el (display-mouse-p): Report text-mode mouse as available
798 on w32.
799 (display-popup-menus-p): Report availability if mouse is
800 available; don't condition on window-system.
801
802 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
803 (tty-menu-selected-face): New faces.
804
b7d5bd82
TL
8052013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
806
06286513
SM
807 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
808 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
809 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
810 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
811 New constants.
812 (lisp-mode-variables): New `elisp' argument.
813 (emacs-lisp-mode): Use it.
814 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
815 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
816
b7d5bd82
TL
817 * indent.el: Use lexical-binding.
818 (indent-region): Add progress reporter.
819 (tab-stop-list): Make it implicitly extend to infinity by repeating the
820 last step.
821 (indent--next-tab-stop): New function to implement this behavior.
822 (tab-to-tab-stop, move-to-tab-stop): Use it.
823
8242013-10-08 Teemu Likonen <tlikonen@iki.fi>
825
826 * indent.el (indent-rigidly--current-indentation): New function.
827 (indent-rigidly-map): New var.
828 (indent-rigidly): Use it to provide interactive mode (bug#8196).
829
5ea75d23
BG
8302013-10-08 Bastien Guerry <bzg@gnu.org>
831
832 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
833
cc5da1ec
SM
8342013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
835
8ffa1a0b
SM
836 * progmodes/perl-mode.el: Use lexical-binding.
837 Remove redundant :group args.
838 (perl-nochange): Change default to be closer to other major modes's
839 standard behavior.
840 (perl-indent-line): Don't consider text on current line as a
841 valid beginning of function from which to indent.
842
f2223371
SM
843 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
844 with more than one argument (bug#15538).
845
44256060
SM
846 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
847
cc5da1ec
SM
848 * vc/pcvs.el: Use lexical-binding.
849 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
850 environment of `eval'.
851 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
852 than a list of expressions. Adjust callers.
853 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
854
0ea1599d
DG
8552013-10-07 Dmitry Gutov <dgutov@yandex.ru>
856
857 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 858 case of the dot in a chained method call being on the following line.
0ea1599d 859
da3e5ebb
SM
8602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
861
2abb4e65
SM
862 * electric.el (electric-indent-inhibit): New var.
863 (electric-indent-post-self-insert-function): Use it.
864 * progmodes/python.el (python-mode): Set it.
865
d2e0e795
SM
866 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
867 open braces.
868
869 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
870
bdc6b4c8
SM
871 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
872 (css-mode): Use electric-indent-chars.
873
da3e5ebb
SM
874 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
875 (font-lock-beg, font-lock-end): Move before first use.
876 (nxml-mode): Use syntax-propertize-function.
877 (nxml-after-change, nxml-after-change1): Adjust accordingly.
878 (nxml-extend-after-change-region): Remove.
879 * nxml/xmltok.el: Use lexical-binding.
880 (xmltok-save): Use `declare'.
881 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
882 * nxml/nxml-util.el: Use lexical-binding.
883 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
884 Use `declare'.
885 * nxml/nxml-ns.el: Use lexical-binding.
886 (nxml-ns-save): Use `declare'.
887 (nxml-ns-prefixes-for): Avoid add-to-list.
888 * nxml/rng-match.el: Use lexical-binding.
889 (rng--ipattern): Use cl-defstruct.
890 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
891 (rng-cons-group-after, rng-subst-group-after)
892 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
893 Use closures instead of `(lambda...).
894
f8f91d5d
MA
8952013-10-07 Michael Albinus <michael.albinus@gmx.de>
896
897 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
898 of BEG and END.
899
da3e5ebb
SM
900 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
901 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
902 (tramp-gvfs-handle-insert-file-contents): Remove function.
903
da3e5ebb
SM
904 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
905 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
906
907 * net/trampver.el: Update release number.
908
7ccae3b1
SM
9092013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
910
55ca2c0d
SM
911 * progmodes/compile.el (compilation-parse-errors):
912 Use compilation--put-prop.
913 (compilation--ensure-parse): Check compilation-multiline.
914
731fc3ae
SM
915 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
916
da3e5ebb
SM
917 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
918 lexical-binding.
a5833280 919
2e7ba2c2
SM
920 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
921
7ccae3b1
SM
922 * progmodes/ruby-mode.el: Fix recently added tests.
923 (ruby-smie-grammar): Add - and +.
924 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
925 (ruby-smie--backward-id): New functions.
926 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
927 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
928 any more.
929
85698d63
LL
9302013-10-07 Leo Liu <sdl.web@gmail.com>
931
932 * register.el (register-preview-delay)
933 (register-preview-functions): New variables.
934 (register-read-with-preview, register-preview)
935 (register-describe-oneline): New functions.
936 (point-to-register, window-configuration-to-register)
937 (frame-configuration-to-register, jump-to-register)
938 (number-to-register, view-register, insert-register)
939 (copy-to-register, append-to-register, prepend-to-register)
940 (copy-rectangle-to-register): Use register-read-with-preview to
941 read register. (Bug#15525)
942
3986af6c
DS
9432013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
944
945 * net/network-stream.el (network-stream-open-starttls): Don't add
946 --insecure if it's already present, because that gnutls-cli
947 rejects getting that parameter twice.
948
5cd9cda9
DG
9492013-10-06 Dmitry Gutov <dgutov@yandex.ru>
950
951 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
952 keyword, too.
953
da9ea6d9
DG
9542013-10-05 Dmitry Gutov <dgutov@yandex.ru>
955
956 * newcomment.el (comment-use-global-state): Change default value
957 to t, mark obsolete (Bug#15251).
958 (comment-beginning): In addition to `comment-to-syntax', check the
959 value of `comment-use-global-state'.
960
34d1a133
SM
9612013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
964 (ruby-comment-column): Follow the global default, by default.
965 (ruby-smie-grammar): Add assignment syntax.
966 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
967 open-paren, a comma, or a \.
968 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
969 and line continuations.
970 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
971 followed by implicit semi-colons. Add rule for string concatenation
972 and for indentation at BOB.
973 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
974
975 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
976 calling next-sexp, since next-token may have skipped chars which
977 next-sexp doesn't know should be skipped!
978
6f6ab820
LL
9792013-10-05 Leo Liu <sdl.web@gmail.com>
980
34d1a133
SM
981 * progmodes/octave.el (octave-send-region):
982 Call compilation-forget-errors.
6f6ab820 983
34ca0f4c
XF
9842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
985
986 * vc/vc-svn.el (vc-svn-find-admin-dir):
987 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
988 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
989 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
990 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
991
a27c1b72
SM
9922013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
995
258ab3bc
SM
9962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * subr.el (read-passwd): Hide chars even when called within a context
999 where after-change-functions is disabled (bug#15501).
1000 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1001 until we removed ourself from overriding-terminal-local-map.
1002
939fb29c
LL
10032013-10-04 Leo Liu <sdl.web@gmail.com>
1004
258ab3bc
SM
1005 * progmodes/octave.el (inferior-octave-mode):
1006 Call compilation-forget-errors.
939fb29c 1007
63bd7f35
XF
10082013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1009
1010 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1011
9e6229fa
MA
10122013-10-04 Michael Albinus <michael.albinus@gmx.de>
1013
1014 * net/secrets.el (secrets-create-collection): Add optional
1015 argument ALIAS. Use proper Label keyword. Append ALIAS as
1016 dbus-call-method argument. (Bug#15516)
1017
1dab32a3
LL
10182013-10-04 Leo Liu <sdl.web@gmail.com>
1019
1020 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1021 (inferior-octave-compilation-font-lock-keywords): New variables.
1022 (compilation-error-regexp-alist)
1023 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1024 (inferior-octave-mode): Use compilation-shell-minor-mode.
1025
6cad7ba3
JS
10262013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1027
1028 * minibuffer.el (completion--replace): Be careful that `end' might be
1029 a marker.
1030
acbadd00
DU
10312013-10-03 Daiki Ueno <ueno@gnu.org>
1032
1033 Add support for package signature checking.
1034 * emacs-lisp/package.el (url-http-file-exists-p)
1035 (epg-make-context, epg-context-set-home-directory)
1036 (epg-verify-string, epg-context-result-for)
1037 (epg-signature-status, epg-signature-to-string)
1038 (epg-check-configuration, epg-configuration)
1039 (epg-import-keys-from-file): Declare.
1040 (package-check-signature): New user option.
1041 (package-unsigned-archives): New user option.
1042 (package-desc): Add `signed' field.
1043 (package-load-descriptor): Set `signed' field if .signed file exists.
1044 (package--archive-file-exists-p): New function.
1045 (package--check-signature): New function.
1046 (package-install-from-archive): Check package signature.
1047 (package--download-one-archive): Check archive signature.
1048 (package-delete): Remove .signed file.
1049 (package-import-keyring): New command.
1050 (package-refresh-contents): Import default keyring.
1051 (package-desc-status): Add "unsigned" status.
1052 (describe-package-1, package-menu--print-info)
1053 (package-menu-mark-delete, package-menu--find-upgrades)
1054 (package-menu--status-predicate): Support "unsigned" status.
1055
adf2aa61
SM
10562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1059 the new compilation scheme using the new byte-codes.
1060
1061 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1062 (byte-pophandler): New byte codes.
1063 (byte-goto-ops): Adjust accordingly.
1064 (byte-compile--use-old-handlers): New var.
1065 (byte-compile-catch): Use new byte codes depending on
1066 byte-compile--use-old-handlers.
1067 (byte-compile-condition-case--old): Rename from
1068 byte-compile-condition-case.
1069 (byte-compile-condition-case--new): New function.
1070 (byte-compile-condition-case): New function that dispatches depending
1071 on byte-compile--use-old-handlers.
1072 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1073 when we can.
1074
1075 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1076 Optimize under `condition-case' and `catch' if
1077 byte-compile--use-old-handlers is nil.
1078 (disassemble-offset): Handle new bytecodes.
1079
328a8179
SM
10802013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * subr.el (error): Use `declare'.
1083 (decode-char, encode-char): Use advertised-calling-convention instead
1084 of the docstring to discourage use of the `restriction' arg.
1085
15a1e936
DU
10862013-10-03 Daiki Ueno <ueno@gnu.org>
1087
1088 * epg.el (epg-verify-file): Add a comment saying that it does not
1089 notify verification error as a return value nor a signal.
1090 (epg-verify-string): Ditto.
1091
376f862a
KR
10922013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1093
1094 * progmodes/compile.el (compilation-start): Try globbing the arg to
1095 `cd' (bug#15417).
1096
a2f93a5f
MA
10972013-10-02 Michael Albinus <michael.albinus@gmx.de>
1098
1099 Sync with Tramp 2.2.8.
1100
1101 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1102 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1103 * net/trampver.el: Update release number.
1104
0daa0804
JD
11052013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1106
1107 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1108 and default-process-coding-system for darwin only.
1109
abd1ae34
SM
11102013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1113
be4e325d
MH
11142013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1115
1116 * vc/vc-git.el (vc-git-grep): Disable pager.
1117
e9155c4a
DG
11182013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1119
494e898b
DG
1120 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1121 Use :url instead of :homepage, as per
1122 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1123
e9155c4a
DG
1124 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1125 non-nil, use `syntax-ppss' (Bug#15251).
1126
481a8e0f
RS
11272013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1128
be4e325d
MH
1129 * progmodes/octave.el (inferior-octave-startup-file):
1130 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1131
056453c6
DG
11322013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1133
be4e325d
MH
1134 * emacs-lisp/package.el (package-desc-from-define):
1135 Accept additional arguments as plist, convert them to an alist and store
1136 them in the `extras' slot.
056453c6
DG
1137 (package-generate-description-file): Convert extras alist back to
1138 plist and append to the `define-package' form arguments.
1139 (package--alist-to-plist): New function.
1140 (package--ac-desc): Add `extras' slot.
1141 (package--add-to-archive-contents): Check if the archive-contents
1142 vector is long enough, and if it is, pass its `extras' slot value
1143 to `package-desc-create'.
1144 (package-buffer-info): Call `lm-homepage', pass the returned value
1145 to `package-desc-from-define'.
1146 (describe-package-1): Render the homepage button (Bug#13291).
1147
be4e325d
MH
1148 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1149 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1150
832966e5
JD
11512013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1152
1153 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1154 and default-process-coding-system to utf-8-unix (Bug#15402).
1155
6cfe977d
XF
11562013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1157
1158 * subr.el (looking-back): Do not recommend using looking-back.
1159
38de11bd
AM
11602013-09-28 Alan Mackenzie <acm@muc.de>
1161
1162 Fix indentation/fontification of Java enum with "implements".
1163
1164 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1165 regexp which matches "implements", etc., in Java.
1166 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1167 specifier clauses coming after "enum".
1168 * progmodes/cc-fonts.el (c-font-lock-declarations)
1169 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1170 after "enum".
1171
1610938f
JD
11722013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1173
1174 * faces.el (region): Change ns_selection_color to
1175 ns_selection_fg_color, add ns_selection_bg_color.
1176
e090f499
LL
11772013-09-28 Leo Liu <sdl.web@gmail.com>
1178
4d2e94d1
LL
1179 * progmodes/octave.el (inferior-octave-completion-table)
1180 (inferior-octave-completion-at-point): Minor tweaks.
1181
e090f499
LL
1182 * textmodes/ispell.el (ispell-lookup-words): Rename from
1183 lookup-words. (Bug#15460)
1184 (lookup-words): Obsolete.
1185 (ispell-complete-word, ispell-command-loop): All uses changed.
1186
7e138a62
RS
11872013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1188
1189 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1190 (octave-mode-menu): Add octave-send-buffer.
1191 (octave-send-buffer): New function.
1192
5af5ed08
RS
11932013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1194
1195 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1196 octave-lookfor.
1197 (octave-mode-menu): Add octave-lookfor.
1198 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1199 octave-lookfor.
1200 (octave-lookfor): New function.
1201
3b7b2692
SM
12022013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 * emacs-lisp/cl-macs.el:
1205 (cl--loop-destr-temps): Remove.
1206 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1207 its convention.
1208 (cl--loop-set-iterator-function): New function.
1209 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1210 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1211 Bind `it' with `let' instead of substituting it with `cl-subst'.
1212 (cl--unused-var-p): New function.
1213 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1214 Eliminate some unused variable warnings (bug#15326).
1215
529fb53f
TH
12162013-09-27 Tassilo Horn <tsdh@gnu.org>
1217
1218 * doc-view.el (doc-view-scale-reset): Rename from
1219 `doc-view-reset-zoom-level'.
1220 (doc-view-scale-adjust): New command.
1221 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1222 `doc-view-scale-adjust'.
1223
0550c95a
TH
12242013-09-26 Tassilo Horn <tsdh@gnu.org>
1225
1226 * doc-view.el (doc-view-reset-zoom-level): New command.
1227 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1228 zoom commands (bug#15466).
1229
6950f152
KH
12302013-09-26 Kenichi Handa <handa@gnu.org>
1231
1232 * international/quail.el (quail-help): Make it not a command.
1233
39587580
LL
12342013-09-26 Leo Liu <sdl.web@gmail.com>
1235
1236 * minibuffer.el (completion-all-sorted-completions): Make args
1237 optional as they are.
1238
00578659
DC
12392013-09-25 Daniel Colascione <dancol@dancol.org>
1240
1241 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1242 specs are and that they're not evaluated.
1243
0c173878
SS
12442013-09-24 Sam Steingold <sds@gnu.org>
1245
1246 * midnight.el (clean-buffer-list-kill-regexps)
1247 (clean-buffer-list-kill-buffer-names): Update for the new Man
1248 buffer naming which includes the object name.
1249
84998447
SM
12502013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1253 (eshell-parse-command, eshell-parse-pipeline): Use it since
1254 eshell-separate-commands requires a dynamic scoped var.
1255 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1256
33215353
LL
12572013-09-23 Leo Liu <sdl.web@gmail.com>
1258
1259 * autoinsert.el (auto-insert-alist): Make the value of
1260 lexical-binding match its file setting.
1261
57b16162
JB
12622013-09-23 Juanma Barranquero <lekktu@gmail.com>
1263
c8af4e67
JB
1264 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1265
57b16162
JB
1266 * autoarg.el (autoarg-kp-digit-argument):
1267 * electric.el (Electric-command-loop):
1268 * kmacro.el (kmacro-step-edit-insert):
1269 Do not set universal-argument-num-events.
1270
7186ba60
LL
12712013-09-22 Leo Liu <sdl.web@gmail.com>
1272
1273 * files.el (interpreter-mode-alist): Add octave.
1274
ece15004
AM
12752013-09-21 Alan Mackenzie <acm@muc.de>
1276
1277 C++: fontify identifier in declaration following "public:" correctly.
1278 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1279 to match "public", etc.
1280 (c-decl-prefix-re): Add ":" into the C++ value.
1281 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1282 bit. Add a check for a ":" preceded by "public", etc.
1283
75d83e22
EZ
12842013-09-21 Eli Zaretskii <eliz@gnu.org>
1285
1286 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1287 recognized by GDB 7.5 and later.
1288
d052d3bd
XF
12892013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1290
1291 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1292
31dca772
R
12932013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * subr.el (internal--call-interactively): New const.
1296 (called-interactively-p): Use it (bug#3984).
1297
98ccf24e
XF
12982013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1299
1300 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1301 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1302 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1303
c39cc7d1
SM
13042013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1307 (eshell-ls-orig-insert-directory): Remove.
1308 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1309 (eshell-ls-use-in-dired): Use advice-add/remove.
1310 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1311 Add `orig-fun' arg for use in :around advice.
1312 Make it check (redundantly) eshell-ls-use-in-dired.
1313
9a0289a2
GM
13142013-09-19 Glenn Morris <rgm@gnu.org>
1315
a2c501b8
GM
1316 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1317
c440407a
GM
1318 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1319
9a0289a2
GM
1320 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1321
85e05915
MA
13222013-09-19 Michael Albinus <michael.albinus@gmx.de>
1323
1324 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1325 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1326 (tramp-get-remote-python): New defuns.
1327 (tramp-get-remote-uid-with-perl)
1328 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1329 contributed by yary <not.com@gmail.com> (tiny change).
1330 (tramp-get-remote-uid-with-python)
1331 (tramp-get-remote-gid-with-python): New defuns. Python code
1332 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1333 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1334
ce503312
GM
13352013-09-19 Glenn Morris <rgm@gnu.org>
1336
f7544773
GM
1337 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1338
72fd2877
GM
1339 * eshell/em-unix.el (eshell-remove-entries):
1340 Rename argument to avoid name-clash with global `top-level'.
1341
336b5a56
GM
1342 * eshell/esh-proc.el (eshell-kill-process-function):
1343 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1344 (eshell-reset-after-proc): Remove unused arg `proc'.
1345
57a3a53d
GM
1346 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1347 (directory-files-and-attributes): Mark unused arg.
1348
3261d4af
GM
1349 * eshell/em-unix.el (eshell-remove-entries):
1350 Remove unused arg `path'. Update callers.
1351
8e51b5d0
GM
1352 * eshell/em-hist.el (eshell-hist-parse-arguments):
1353 Remove unused arg `silent'. Update callers.
1354
ce503312
GM
1355 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1356 Fix (f)boundp mix-up.
1357
1358 * eshell/em-smart.el (eshell-smart-scroll-window)
1359 (eshell-disable-after-change):
336b5a56 1360 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1361
ee3ce8a7
AM
13622013-09-18 Alan Mackenzie <acm@muc.de>
1363
1364 Fix fontification of type when followed by "const".
1365 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1366 "known" types from fontification.
1367
ec9177ba
GM
13682013-09-18 Glenn Morris <rgm@gnu.org>
1369
7bb3e768
GM
1370 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1371 (chart-face-list): Drop Emacsen without display-color-p.
1372
5148da15
GM
1373 * net/eww.el (libxml-parse-html-region): Declare.
1374 (eww-display-html): Explicit error if no libxml2 support.
1375
2f68e157
GM
1376 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1377
9019d095
GM
1378 * image.el (image-type-from-buffer, image-multi-frame-p):
1379 Remove --without-x warning/error.
67645389 1380
5f30349b 1381 * mouse.el (mouse-yank-primary):
45069b2e 1382 * term.el (term-mouse-paste):
5f30349b
GM
1383 Reorder to silence --without-x compilation.
1384
cd8edbbe
GM
1385 * mpc.el (doc-view-mode): Silence --without-x compilation.
1386
8a78544e
GM
1387 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1388 Silence --without-x compilation.
1389
12679bfd
GM
1390 * progmodes/gud.el (gud-find-file, gud-mode):
1391 Silence --without-x compilation.
1392 (tooltip-mode): Declare.
30810a05 1393
f0047cb9
GM
1394 * wdired.el (dired-backup-overwrite): Remove declaration.
1395 (wdired-mode-map): Add doc string.
1396
e740f9d2
GM
1397 * custom.el (x-get-resource): Declare.
1398
92d77c89
GM
1399 * eshell/em-glob.el (ange-cache):
1400 * eshell/em-unix.el (ange-cache): Declare.
1401
76e69577
GM
1402 * faces.el (x-display-list, x-open-connection, x-get-resource):
1403 Declare.
7e58af4b
GM
1404
1405 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1406 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1407 Declare.
76e69577 1408
4bd4c0af 1409 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1410
ffb82dbd
GM
1411 * net/gnutls.el (gnutls-log-level): Declare.
1412
986ed135
GM
1413 * net/shr.el (image-size, image-animate): Declare.
1414
e740f9d2
GM
1415 * simple.el (font-info): Declare.
1416
d2f3e9f8
GM
1417 * subr.el (x-popup-dialog): Declare.
1418
047a1a4c
GM
1419 * term/common-win.el (x-select-enable-primary)
1420 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1421 Declare.
1422
f4a1d572
GM
1423 * term/ns-win.el (x-handle-args): Declare.
1424
e843de77
GM
1425 * term/x-win.el (x-select-enable-clipboard): Declare.
1426
5fa89513
GM
1427 * term/w32-win.el (create-default-fontset): Declare.
1428
38702b5b
GM
1429 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1430 Declare.
1431
e740f9d2
GM
1432 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1433 (fit-frame-to-buffer): Explicit error if --without-x.
1434 (mouse-autoselect-window-select): Silence compiler.
1435
49a053fc
GM
1436 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1437
1438 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1439 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1440 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1441 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1442 Remove unused local variables.
1443
1444 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1445
ec9177ba
GM
1446 * textmodes/two-column.el: Make 2C-split work for --without-x.
1447 (scroll-bar-columns): Autoload.
1448 (top-level): Require fringe when compiling.
1449
9f25cb77
LL
14502013-09-18 Leo Liu <sdl.web@gmail.com>
1451
1452 * subr.el (add-hook): Robustify to handle closure as well.
1453
2b42da98
GM
14542013-09-17 Glenn Morris <rgm@gnu.org>
1455
1456 * simple.el (messages-buffer-mode-map): Unbind "g".
1457
e8b66a6a
SM
14582013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1459
9c0ad4f7
SM
1460 * help-mode.el (help-mode-finish): Use derived-mode-p.
1461 Remove obsolete highlighting.
1462
7a806dfb
SM
1463 * play/life.el (life-mode): Use define-derived-mode. Derive from
1464 special-mode.
1465 (life): Let-bind inhibit-read-only.
1466 (life-setup): Avoid `setq'. Use `life-mode'.
1467
96dbf5a8
SM
1468 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1469 which should not be needed any more.
1470 (package-menu-refresh, package-menu-describe-package): Use user-error.
1471
e8b66a6a
SM
1472 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1473 (eshell-post-rewrite-command-hook): Make obsolete.
1474 (eshell-parse-command): Simplify.
1475 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1476 (eshell--cmd): Declare.
1477 (eshell-parse-pipeline): Remove unused var `final-p'.
1478 Pass a dynvar to eshell-post-rewrite-command-hook.
1479 Implement the new eshell-post-rewrite-command-function.
1480 (eshell-invoke-directly): Remove unused arg `input'.
1481 * eshell/esh-io.el (eshell-io-initialize):
1482 Use eshell-post-rewrite-command-function (bug#15399).
1483 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1484 adjust to new calling convention.
1485 (eshell-create-handles): Rename args to avoid clashing with dynvar
1486 `standard-output'.
1487
90582f05
GM
14882013-09-17 Glenn Morris <rgm@gnu.org>
1489
1490 * simple.el (messages-buffer-mode): New major mode.
1491 (messages-buffer): New function.
1492 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1493 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1494 (ert-run-test): Use `messages-buffer' function.
90582f05 1495 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1496 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1497 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1498
39eb0cb5 14992013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1500
1501 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1502
1f1e06e2
SM
1503 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1504
70568a90
SM
15052013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1506
504a0381
SM
1507 * icomplete.el (icomplete-in-buffer): New var.
1508 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1509 vars and replace them with functions.
1510 (icomplete-minibuffer-setup): Adjust accordingly.
1511 (icomplete--completion-table, icomplete--completion-predicate)
1512 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1513 New functions.
1514 (icomplete-forward-completions, icomplete-backward-completions)
1515 (icomplete-simple-completing-p, icomplete-exhibit)
1516 (icomplete-completions): Use them.
1517 (icomplete--in-region-buffer): New var.
1518 (icomplete--in-region-setup): New function.
1519 (icomplete-mode): Use it.
1520
70568a90
SM
1521 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1522 (bug#15379).
1523 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1524 return args and options.
1525 (eshell-eval-using-options): Use the new return value of
1526 eshell--do-opts to set the options's vars in their scope.
1527 (eshell--set-option): Rename from eshell-set-option.
1528 Add arg `opt-vals'.
1529 (eshell--process-option): Rename from eshell-process-option.
1530 Add arg `opt-vals'.
1531 (eshell--process-args): Use an `opt-vals' alist to store the options's
1532 values during their processing and return them additionally to the
1533 remaining args.
1534
578c21bc
DG
15352013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1536
1537 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1538 continuation character an operator, as far as indentation is
1539 concerned (Bug#15369).
1540
c089653d
MR
15412013-09-15 Martin Rudalics <rudalics@gmx.at>
1542
1543 * window.el (window--state-put-2): Don't process buffer state
1544 when buffer doesn't exist any more (Bug#15382).
1545
1e53bb4b
GM
15462013-09-15 Glenn Morris <rgm@gnu.org>
1547
30753242
GM
1548 * eshell/em-unix.el (eshell/rm):
1549 Make -f ignore missing files. (Bug#15373)
1550
1e53bb4b
GM
1551 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1552 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1553 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1554
0d8863b3
GM
15552013-09-14 Glenn Morris <rgm@gnu.org>
1556
1557 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1558
d3fc6549
GM
15592013-09-13 Glenn Morris <rgm@gnu.org>
1560
1561 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1562 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1563
fcd42c11
DA
15642013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1565
1566 * frame.el (x-focus-frame): Mark as declared in frame.c.
1567
7830899f
SM
15682013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1569
1570 * ls-lisp.el: Use advice-add.
1571 (original-insert-directory): Remove.
1572 (ls-lisp--insert-directory): Rename from insert-directory; add
1573 `orig-fun' argument.
1574 (insert-directory): Advise.
1575
84387cd2
EZ
15762013-09-13 Eli Zaretskii <eliz@gnu.org>
1577
1578 * term.el (term-emulate-terminal): Decode the command string
1579 before passing it to term-command-hook. (Bug#15337)
1580
35ffc6ba
GM
15812013-09-13 Glenn Morris <rgm@gnu.org>
1582
5c3f9bcc
GM
1583 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1584
2ada368a
GM
1585 * eshell/esh-ext.el (eshell-search-path): Declare.
1586
fcef2e13
GM
1587 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1588 Otherwise an error occurs if eshell-dirs module not loaded.
1589
35ffc6ba
GM
1590 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1591
35c3d36e
MA
15922013-09-13 Michael Albinus <michael.albinus@gmx.de>
1593
1594 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1595 `tramp-check-proper-host'. Check for a valid method name.
1596
1597 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1598 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1599 * net/tramp-sh.el (tramp-maybe-open-connection):
1600 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1601
1602 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1603 also for hash values.
1604
ae5e4c48
SM
16052013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1606
379add74
SM
1607 * term/ns-win.el (parameters): Don't declare as dynamic.
1608 (before-make-frame-hook): Don't add ineffective function.
1609
ae5e4c48
SM
1610 * eshell/*.el: Use lexical-binding (bug#15231).
1611
b5623270
KH
16122013-09-12 Kenichi Handa <handa@gnu.org>
1613
ae5e4c48 1614 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1615
30213927
GM
16162013-09-12 Glenn Morris <rgm@gnu.org>
1617
be94d713 1618 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1619 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1620
44915370
GM
1621 * subr.el (do-after-load-evaluation): Also give compiler warnings
1622 when obsolete files are used (except by obsolete files).
1623
a6ae021f
GM
1624 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1625 in the status output, assume `filename' is the first. (Bug#15322)
1626
40e64f0c
GM
1627 * vc/vc.el (vc-deduce-fileset): Doc fix.
1628
16d9f896
GM
1629 * calc/calc-help.el (Info-goto-node):
1630 * progmodes/cperl-mode.el (Info-find-node):
1631 * vc/ediff.el (Info-goto-node): Update declarations.
1632
dea01c6e
GM
1633 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1634
759880bf 1635 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1636 (vc-bzr-pull): Require vc-dispatcher.
1637 * vc/vc-git.el (vc-compilation-mode): Declare.
1638 (vc-git-pull): Require vc-dispatcher.
1639
08d66420
GM
1640 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1641
30b626e9
GM
1642 * progmodes/octave.el (help-button-action): Declare.
1643
8c05cb10
GM
1644 * shell.el (shell-directory-tracker): Output error as a message
1645 rather than just returning it as a string.
1646 (shell-process-pushd): Remove useless use of message.
1647
30213927
GM
1648 * dframe.el (dframe-timer-fn):
1649 * files.el (dir-locals-read-from-file):
1650 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1651 (mpc-format):
1652 * reveal.el (reveal-post-command):
1653 * saveplace.el (load-save-place-alist-from-file):
1654 * shell.el (shell-resync-dirs):
1655 * w32-common-fns.el (x-get-selection-value):
1656 * emacs-lisp/copyright.el (copyright-find-copyright):
1657 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1658 * emulation/tpu-edt.el (tpu-copy-keyfile):
1659 * play/bubbles.el (bubbles--mark-neighbourhood):
1660 * progmodes/executable.el
1661 (executable-make-buffer-file-executable-if-script-p):
1662 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1663
d3b049e6
SM
16642013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1665
170266d0
SM
1666 Cleanup Eshell to rely less on dynamic scoping.
1667 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1668 last-value, and ext-command here. Bind `args' closer to `body'.
1669 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1670 (eshell--args): Declare new dynamic var.
1671 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1672 last-value, and ext-command. Pass `args' to `body'.
1673 (eshell-process-args): Bind eshell--args.
1674 (eshell-set-option): Use eshell--args.
1675 * eshell/eshell.el (eshell): Use derived-mode-p.
1676 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1677 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1678 (eshell-glob-function): Declare.
1679 * eshell/esh-util.el: Require cl-lib.
1680 (eshell-read-hosts-file): Avoid add-to-list.
1681 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1682 `err'.
1683 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1684 Declare.
1685 (eshell/diff): Remove unused var `err'.
1686 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1687 `killflag'.
1688 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1689 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1690 first use.
1691 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1692 Move declaration before first use.
1693 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1694 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1695 rely on cl-return.
1696
56834f3b
GM
16972013-09-12 Glenn Morris <rgm@gnu.org>
1698
1699 * term/ns-win.el (global-map): Remove binding for ispell-next,
1700 deleted 1999-05-29. (Bug#15357)
1701
5c91a2b8
GM
17022013-09-11 Glenn Morris <rgm@gnu.org>
1703
da712f22
GM
1704 * echistory.el (electric-command-history): Remove call to deleted func.
1705
512e4cdc
GM
1706 * play/landmark.el (landmark-mode): Fix typos.
1707
d3506ca5
GM
1708 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1709 Check cvs-sort-ignore-file is bound.
1710
5c91a2b8
GM
1711 * savehist.el: No need for cl when compiling on Emacs.
1712
feeff482
SM
17132013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1714
656bd483
SM
1715 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1716 (bug#15338).
d3b049e6
SM
1717 (eshell-self-insert-command, eshell-send-invisible):
1718 Remove unused argument.
656bd483
SM
1719 (eshell-handle-control-codes): Remove unused var `orig'.
1720 Avoid delete-backward-char.
1721
feeff482
SM
1722 * files.el (set-auto-mode): Simplify a bit further.
1723
2a08047a
GM
17242013-09-11 Glenn Morris <rgm@gnu.org>
1725
1726 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1727 (set-auto-mode): Don't regexp-quote elements.
1728 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1729 * progmodes/cc-mode.el (interpreter-mode-alist):
1730 * progmodes/ruby-mode.el (interpreter-mode-alist):
1731 Revert previous change.
1732
34675540
SM
17332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1b3b87df
SM
1735 * play/snake.el (snake-mode):
1736 * play/mpuz.el (mpuz-mode):
1737 * play/landmark.el (lm-mode):
1738 * play/blackbox.el (blackbox-mode):
1739 * play/5x5.el (5x5-mode):
1740 * obsolete/options.el (Edit-options-mode):
1741 * net/quickurl.el (quickurl-list-mode):
1742 * net/newst-treeview.el (newsticker-treeview-mode):
1743 * mail/rmailsum.el (rmail-summary-mode):
1744 * mail/mspools.el (mspools-mode):
1745 * locate.el (locate-mode):
1746 * ibuffer.el (ibuffer-mode):
1747 * emulation/ws-mode.el (wordstar-mode):
1748 * emacs-lisp/debug.el (debugger-mode):
1749 * array.el (array-mode):
1750 * net/eudc.el (eudc-mode): Use define-derived-mode.
1751 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1752 Move initialization into declaration.
1753 (mairix-searches-mode): Use define-derived-mode.
1754 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1755 (eudc-edit-hotlist): Use dolist.
1756 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1757 (Man-mode): Use define-derived-mode.
1758 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1759 (Info-edit-mode): Use define-derived-mode.
1760 (Info-cease-edit): Use Info-mode.
1761 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1762 into declaration.
1763 (eshell-mode): Use define-derived-mode.
1764 * chistory.el (command-history-mode-map): Rename from
1765 command-history-map.
1766 (command-history-mode): Use define-derived-mode.
da712f22 1767 (Command-history-setup): Remove function.
1b3b87df
SM
1768 * calc/calc.el (calc-trail-mode-map): New var.
1769 (calc-trail-mode): Use define-derived-mode.
1770 (calc-trail-buffer): Set calc-main-buffer manually.
1771 * bookmark.el (bookmark-insert-annotation): New function.
1772 (bookmark-edit-annotation): Use it.
1773 (bookmark-edit-annotation-mode): Make it a proper major mode.
1774 (bookmark-send-edited-annotation): Use derived-mode-p.
1775 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1776 closer to its ideal place. Use \' to match EOS.
1777
34675540
SM
1778 * profiler.el (profiler-calltree-find): Use function-equal.
1779
6a5c15d9
GM
17802013-09-10 Glenn Morris <rgm@gnu.org>
1781
1af4c220
GM
1782 * files.el (interpreter-mode-alist): Convert to regexps.
1783 (set-auto-mode): Adapt for this. (Bug#15306)
1784 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1785 Comment out unused variable.
1786 * progmodes/cc-mode.el (interpreter-mode-alist):
1787 * progmodes/python.el (interpreter-mode-alist):
1788 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1789 * progmodes/sh-script.el (sh-set-shell):
1790 No longer use interpreter-mode-alist to get list of shells.
1791
6a5c15d9
GM
1792 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1793
8c27f5ff
SM
17942013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1795
02ef6c1a 1796 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1797 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1798 Bind switch-frame explicitly. Replace universal-argument-minus with
1799 a conditional binding.
1800 (universal-argument-num-events, saved-overriding-map): Remove.
1801 (restore-overriding-map): Remove.
1802 (universal-argument--mode): Rename from save&set-overriding-map,
1803 and rewrite.
1804 (universal-argument, universal-argument-more, negative-argument)
1805 (digit-argument): Adjust accordingly.
1806 (universal-argument-minus): Remove.
1807 (universal-argument-other-key): Remove.
1808
8c27f5ff
SM
1809 * subr.el (with-demoted-errors): Add `format' argument.
1810
6480194c
MA
18112013-09-10 Michael Albinus <michael.albinus@gmx.de>
1812
1813 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1814 `tramp-cleanup-connection'.
1815
1816 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1817 parameters KEEP-DEBUG and KEEP-PASSWORD.
1818
1819 * net/tramp.el (tramp-file-name-handler):
1820 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1821 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1822 (tramp-maybe-open-connection):
8c27f5ff
SM
1823 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1824 Use `tramp-cleanup-connection'.
6480194c 1825
8c27f5ff
SM
1826 * net/tramp-sh.el (tramp-maybe-open-connection):
1827 Catch 'uname-changed inside the progress reporter.
6480194c 1828
e5e916d8
GM
18292013-09-10 Glenn Morris <rgm@gnu.org>
1830
9a2c9b47
GM
1831 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1832
e5e916d8
GM
1833 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1834 returns "alternate access method" in mode (eg "-rw-r--r--.").
1835
144e38fe
GM
18362013-09-08 Glenn Morris <rgm@gnu.org>
1837
1838 * saveplace.el (load-save-place-alist-from-file):
1839 Demote errors. (Bug#15305)
1840
af9ff9e8
MA
18412013-09-08 Michael Albinus <michael.albinus@gmx.de>
1842
1843 Improve compatibility with older Emacsen, and XEmacs.
1844
1845 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1846 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1847 (with-tramp-progress-reporter): Do not let-bind `result'.
1848 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1849 (tramp-handle-make-auto-save-file-name): New function, moved from
1850 tramp-sh.el.
1851
1852 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1853 for `make-auto-save-file-name'.
8c27f5ff
SM
1854 (tramp-adb--gnu-switches-to-ash):
1855 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1856
1857 * net/tramp-cache.el (tramp-cache-print): Call
1858 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1859
1860 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1861 bound. It isn't for XEmacs.
1862
8c27f5ff
SM
1863 * net/tramp-compat.el (tramp-compat-copy-file):
1864 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1865 (tramp-compat-replace-regexp-in-string): New defun.
1866
1867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1868 for `make-auto-save-file-name'.
1869 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1870 `copy-file'.
1871 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1872 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1873 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1874
8c27f5ff
SM
1875 * net/tramp-gw.el (tramp-gw-open-network-stream):
1876 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1877
8c27f5ff
SM
1878 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1879 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1880 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1881 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1882 (tramp-sh-file-inotifywait-process-filter):
1883 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1884 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1885
1886 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1887 for `make-auto-save-file-name'.
8c27f5ff
SM
1888 (tramp-smb-handle-copy-directory):
1889 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1890 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1891 (tramp-smb-handle-copy-file): Improve error message.
1892 (tramp-smb-handle-rename-file): Rename directly only in case
1893 `newname' does not exist yet. This is a restriction of smbclient.
1894 (tramp-smb-maybe-open-connection): Rerun the function only when
1895 `auth-sources' is non-nil.
1896
0ca754d0
KH
18972013-09-08 Kenichi Handa <handa@gnu.org>
1898
1899 * international/characters.el: Set category "^" (Combining) for
1900 more characters.
1901
e8dd0787
AM
19022013-09-07 Alan Mackenzie <acm@muc.de>
1903
1904 Correctly fontify Java class constructors.
1905 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1906 in Java Mode.
1907 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1908 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1909 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1910 "typeless" declaration there.
1911
f2f248e7
RW
19122013-09-07 Roland Winkler <winkler@gnu.org>
1913
1914 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1915 field subtitle for entry type book.
1916
67982e2b
SM
19172013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * minibuffer.el: Make minibuffer-complete call completion-in-region
1920 rather than other way around.
1921 (completion--some, completion-pcm--find-all-completions):
1922 Don't delay signals when debugging.
1923 (minibuffer-completion-contents): Beware fields within the
1924 minibuffer contents.
1925 (completion-all-sorted-completions): Use defvar-local.
1926 (completion--do-completion, completion--cache-all-sorted-completions)
1927 (completion-all-sorted-completions, minibuffer-force-complete):
1928 Add args `beg' and `end'.
1929 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1930 (minibuffer-complete): Use completion-in-region.
1931 (completion-complete-and-exit): New fun, extracted from
1932 minibuffer-complete-and-exit.
1933 (minibuffer-complete-and-exit): Use it.
1934 (completion--complete-and-exit): Rename from
1935 minibuffer--complete-and-exit.
1936 (completion-in-region--single-word): New function, extracted from
1937 minibuffer-complete-word.
1938 (minibuffer-complete-word): Use it.
1939 (display-completion-list): Make `common-substring' argument obsolete.
1940 (completion--in-region): Call completion--in-region-1 instead of
1941 minibuffer-complete.
1942 (completion-help-at-point): Pass boundaries to
1943 minibuffer-completion-help as args rather than via an overlay.
1944 (completion-pcm--string->pattern): Use `any-delim'.
1945 (completion-pcm--optimize-pattern): New function.
1946 (completion-pcm--pattern->regex): Handle `any-delim'.
1947 * icomplete.el (icomplete-forward-completions)
1948 (icomplete-backward-completions, icomplete-completions):
1949 Adjust calls to completion-all-sorted-completions and
1950 completion--cache-all-sorted-completions.
1951 (icomplete-with-completion-tables): Default to t.
1952 * emacs-lisp/crm.el (crm--current-element): Rename from
1953 crm--select-current-element. Don't put an overlay but return the
1954 boundaries instead.
1955 (crm--completion-command): Take two new args to bind to the boundaries.
1956 (crm-completion-help): Adjust accordingly.
1957 (crm-complete): Use completion-in-region.
1958 (crm-complete-word): Use completion-in-region--single-word.
1959 (crm-complete-and-exit): Use completion-complete-and-exit.
1960
e17d94a5
SM
19612013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1964 than dynamically.
1965
96727100
JL
19662013-09-06 Juri Linkov <juri@jurta.org>
1967
1968 * info.el (Info-display-images-node): When image file doesn't exist
1969 display text version of the image if it's provided in the Info file.
1970 Otherwise, display the location of missing image from SRC attribute.
1971 Add help-echo text property from ALT attribute. (Bug#15279)
1972
86cf7329
SM
19732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1976 (edit-abbrevs-mode): Use define-derived-mode.
1977
1978 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1979 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1980 that it's defined.
1981 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1982 Use define-derived-mode.
1983
1984 * epg.el (epg-start-encrypt): Minor CSE simplification.
1985
816244a2
WX
19862013-09-06 William Xu <william.xwl@gmail.com>
1987
1988 * arc-mode.el: Add support for 7za (bug#15264).
1989 (archive-7z-program): New var.
1990 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1991 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1992 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1993
1486fa31
MA
19942013-09-06 Michael Albinus <michael.albinus@gmx.de>
1995
1996 Remove URL syntax.
1997
1998 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1999 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2000 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2001 (tramp-postfix-host-format, tramp-file-name-regexp)
2002 (tramp-completion-file-name-regexp)
2003 (tramp-completion-dissect-file-name)
2004 (tramp-handle-substitute-in-file-name): Remove 'url case.
2005 (tramp-file-name-regexp-url)
2006 (tramp-completion-file-name-regexp-url): Remove constants.
2007
39785324
GM
20082013-09-06 Glenn Morris <rgm@gnu.org>
2009
2010 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2011
1f896cb7
DG
20122013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2013
2014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2015 keywords" below "here-doc beginnings" (Bug#15270).
2016
c0458e0b
SM
20172013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * subr.el (pop): Use `car-safe'.
2020 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2021 to detect unused `pop' return value.
2022
2023 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2024 var `block-regexp'.
2025 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2026 (python-fill-string): Remove unused var `marker'.
2027 (python-skeleton-add-menu-items): Remove unused var `items'.
2028
2029 * international/mule-cmds.el: Require CL.
2030 (find-coding-systems-for-charsets): Avoid add-to-list.
2031 (sanitize-coding-system-list): New function, extracted from
2032 select-safe-coding-system-interactively.
2033 (select-safe-coding-system-interactively): Use it.
2034 (read-input-method-name): Accept symbols for `default'.
2035
2036 * emacs-lisp/advice.el (defadvice): Add indent rule.
2037
6c42fc3e
DH
20382013-09-05 Daniel Hackney <dan@haxney.org>
2039
2040 * dired-x.el:
2041 * net/ange-ftp.el:
2042 * net/browse-url.el:
2043 * net/dbus.el:
2044 * net/eudc.el:
2045 * net/eudcb-ldap.el:
2046 * net/eww.el:
2047 * net/imap.el:
2048 * printing.el:
2049 * vc/ediff-diff.el:
2050 * vc/ediff-init.el:
2051 * vc/ediff-merg.el:
2052 * vc/ediff-mult.el:
2053 * vc/ediff-util.el:
2054 * vc/ediff-wind.el:
2055 * vc/ediff.el:
2056 * vc/emerge.el:
2057 * vc/pcvs.el:
2058 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2059 byte compiler. Remove some unused let-bound variables.
2060
4c528aab
SM
20612013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2064 a "ref-cell", since it gets better optimized (bug#14883).
2065
bd15c390
GM
20662013-09-05 Glenn Morris <rgm@gnu.org>
2067
2068 * progmodes/cc-awk.el (c-forward-sws): Declare.
2069
1c3ac2e5
GM
20702013-09-04 Glenn Morris <rgm@gnu.org>
2071
2072 * generic-x.el [rul-generic-mode]: Require cc-mode.
2073 (c++-mode-syntax-table): Declare.
2074 (rul-generic-mode-syntax-table): Init in the defvar.
2075
52b1cc79
SM
20762013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2077
c828af56
SM
2078 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2079 (vc-do-command, vc-set-async-update):
2080 * vc/vc-mtn.el (vc-mtn-dir-status):
2081 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2082 (vc-hg-pull, vc-hg-merge-branch):
2083 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2084 (vc-git-merge-branch):
2085 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2086 (vc-cvs-dir-status-files):
2087 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2088 (vc-bzr-dir-status-files):
2089 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2090 * vc/vc-annotate.el: Use lexical-binding.
2091 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2092 (vc-sentinel-movepoint): Declare.
2093 (vc-annotate): Don't use `goto-line'.
2094 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2095 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2096 (vc-sentinel-movepoint): Declare.
2097 * vc/vc-svn.el: Use lexical-binding.
2098 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2099 * vc/vc-sccs.el:
2100 * vc/vc-rcs.el: Use lexical-binding.
2101
abae272c
SM
2102 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2103 `deleted'. Don't drop errors silently.
2104
52b1cc79
SM
2105 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2106
63191d9f
XF
21072013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2108
2109 * vc/vc.el (vc-ignore): Rewrite.
2110 (vc-default-ignore): New function.
2111 (vc-default-ignore-completion-table): Use find-ignore-file.
2112
2113 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2114 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2115 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2116 Remove. Most code moved to vc.el.
2117
9d3f707c
SM
21182013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2119
abae272c 2120 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2121 * net/tramp-smb.el (tramp-smb-get-file-entries):
2122 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2123 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2124
fde38d49
SM
2125 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2126 Update call to it.
2127 (eww-change-select): Remove unused var `properties'.
2128 (eww-make-unique-file-name): Remove unused var `base'.
2129
2130 * finder.el (finder-compile-keywords): Don't mess with windows.
2131
84032db7
SM
2132 * calculator.el (calculator-funcall): Fix typo in last change.
2133
724f5e41
SM
2134 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2135
14b511d4
SM
2136 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2137 <pkg>-autoloads.el file stop us.
2138
9d3f707c 2139 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2140 warnings, and factor out common code.
9d3f707c 2141
88527bc0
DG
21422013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2143
2144 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2145 two-character operators and whether the character preceding them
2146 changes their meaning (Bug#15208).
2147
96edb677
FEG
21482013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2149
2150 Format code sent to Python shell for robustness.
9d3f707c
SM
2151 * progmodes/python.el (python-shell-buffer-substring):
2152 New function.
96edb677
FEG
2153 (python-shell-send-region, python-shell-send-buffer): Use it.
2154
95beaef3
MA
21552013-09-02 Michael Albinus <michael.albinus@gmx.de>
2156
2157 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2158 * net/tramp.el (tramp-user-error): ... here.
2159 (tramp-find-method, tramp-check-proper-host)
2160 (tramp-dissect-file-name, tramp-debug-message)
2161 (tramp-handle-shell-command):
2162 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2163 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2164
2165 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2166
f167c27b
MR
21672013-09-02 Martin Rudalics <rudalics@gmx.at>
2168
2169 * avoid.el (mouse-avoidance-point-position)
2170 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2171 returns nil.
2172
cd16c5f1
FEG
21732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2174
2175 * progmodes/python.el (python-shell-completion-get-completions):
2176 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2177 (python-nav-if-name-main): New command.
cd16c5f1 2178
e73c3a0d
GM
21792013-09-01 Glenn Morris <rgm@gnu.org>
2180
f8ccce03
GM
2181 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2182 Avoid leading space in $wins. Otherwise the sed command used by
2183 eg compile-main ends up containing "/*.el". (Bug#15170)
2184
e73c3a0d
GM
2185 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2186
415f808e
GM
21872013-08-30 Glenn Morris <rgm@gnu.org>
2188
2189 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2190 Fix is-this-a-directory logic. (Bug#15220)
2191
f069bba8
SM
21922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2193
112798c1
SM
2194 * textmodes/css-mode.el: Use SMIE.
2195 (css-smie-grammar): New var.
2196 (css-smie--forward-token, css-smie--backward-token)
2197 (css-smie-rules): New functions.
2198 (css-mode): Use them.
2199 (css-navigation-syntax-table): Remove var.
2200 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2201 (css-indent-calculate, css-indent-line): Remove functions.
2202
2203 Misc changes to reduce use of `(lambda...); and other cleanups.
2204 * cus-edit.el: Use lexical-binding.
2205 (customize-push-and-save, customize-apropos)
2206 (custom-buffer-create-internal): Use closures.
2207 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2208 * progmodes/ada-xref.el: Use setq.
2209 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2210 * dframe.el: Use lexical-binding.
2211 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2212 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2213 * descr-text.el: Use lexical-binding.
2214 (describe-text-widget, describe-text-sexp, describe-property-list):
2215 Use closures.
2216 * comint.el (comint-history-isearch-push-state): Use a closure.
2217 * calculator.el: Use lexical-binding.
2218 (calculator-number-to-string): Make it work with lexical-binding.
2219 (calculator-funcall): Same and use cl-letf.
2220
2da4c3ab
SM
2221 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2222 (lisp--company-doc-string, lisp--company-location): New functions.
2223 (lisp-completion-at-point): Use them to improve Company support.
2224
f069bba8
SM
2225 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2226 params of lambda expressions.
2227 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2228 (ruby-smie--opening-pipe-p): New function.
2229 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2230 symbols and matched |...| for formal params.
2231 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2232 from being treated as hanging. Handle "rescue".
2233
6758b6a8
GM
22342013-08-29 Glenn Morris <rgm@gnu.org>
2235
2236 * progmodes/cc-engine.el (c-pull-open-brace):
2237 Move definition before use.
2238
e8dfd197
SM
22392013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2242 are immutable. Don't use `unsafe' any more.
2243 (cl--defsubst-expand): Don't substitute at the same time as keeping
2244 a residual unused let-binding. Don't use `unsafe' any more.
2245
cc585c96
GM
22462013-08-29 Glenn Morris <rgm@gnu.org>
2247
ba579ea6
GM
2248 * calendar/cal-china.el (calendar-chinese-year-cache):
2249 Recenter on 2015.
2250
8201a87e
GM
2251 * nxml/nxml-util.el (nxml-debug-clear-inside):
2252 Use cl-loop rather than loop.
2253
6ee877c7
GM
2254 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2255
cc585c96
GM
2256 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2257
27be8d39
GM
22582013-08-28 Glenn Morris <rgm@gnu.org>
2259
397440a1
GM
2260 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2261
2bb762d4
GM
2262 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2263
27be8d39
GM
2264 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2265
2d69b99e
SM
22662013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2267
f663baa7
SM
2268 * simple.el (repeat-complex-command--called-interactively-skip):
2269 New function.
2270 (repeat-complex-command): Use it (bug#14136).
2271
dd4f8b74
SM
2272 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2273 (c-define-abbrev-table): Add `doc' argument.
2274 (c-mode-abbrev-table, c++-mode-abbrev-table)
2275 (objc-mode-abbrev-table, java-mode-abbrev-table)
2276 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2277 (awk-mode-abbrev-table): Use it.
2278 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2279 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2280 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2281 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2282 Move initialization into the declaration; and remove any
2283 autoload cookie.
2284
b58969f7
SM
2285 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2286 and dynamic let binding.
2287
4021d6a6
SM
2288 * vc/smerge-mode.el: Remove redundant :group args.
2289
2d69b99e
SM
2290 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2291 to load-path.
2292
274919fd
JL
22932013-08-28 Juri Linkov <juri@jurta.org>
2294
2295 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2296 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2297 (isearch-other-meta-char): Handle an undefined shifted printing
2298 character by downshifting it. (Bug#15200)
2299
121f8c95
JL
23002013-08-28 Juri Linkov <juri@jurta.org>
2301
2302 * isearch.el (isearch-search): Change regexp error message for
2303 non-regexp searches. (Bug#15166)
2304
50b13cde
PE
23052013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2306
2307 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2308 for portability to hosts where /bin/sh has problems.
2309
95888bca
SM
23102013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2313
bbe558f1
JL
23142013-08-27 Juri Linkov <juri@jurta.org>
2315
2316 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2317 in the keyboard macro. (Bug#15126)
2318
26f98a7d
JL
23192013-08-27 Juri Linkov <juri@jurta.org>
2320
2321 * isearch.el (isearch-quote-char): Comment out converting unibyte
2322 to multibyte, thus syncing with its `quoted-insert' counterpart.
2323 (Bug#15166)
2324
7c97d35e
MR
23252013-08-27 Martin Rudalics <rudalics@gmx.at>
2326
2327 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2328 argument in call of get-largest-window (Bug#15185).
2329 Reported by Stephen Leake.
7c97d35e 2330
a0b5606e 23312013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2332
2333 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2334
9e89d835
SM
23352013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2338 from a matcher-function unless there's no more matches (bug#15161).
2339
78fc2530
MA
23402013-08-26 Michael Albinus <michael.albinus@gmx.de>
2341
2342 * minibuffer.el: Revert change from 2013-08-20.
2343
2344 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2345 with text property `tramp-default', if appropriate.
2346 (tramp-check-proper-host): New defun.
2347 (tramp-dissect-file-name): Do not check hostname. Revert change
2348 of 2013-03-18.
2349 (tramp-backtrace): Make VEC-OR-PROC optional.
2350
2351 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2352 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2353 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2354 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2355 Apply `tramp-check-proper-host'.
78fc2530 2356
edca97cd
TH
23572013-08-26 Tassilo Horn <tsdh@gnu.org>
2358
2359 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2360 lambda expression in order to have `describe-variable' display it.
2361
df54bcbd
MA
23622013-08-26 Michael Albinus <michael.albinus@gmx.de>
2363
2364 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2365 BUF can be optional. (Bug#15186)
2366
eed99101
XF
23672013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2368
2369 * progmodes/flymake.el (flymake-get-real-file-name-function):
2370 Fix broken customization. (Bug#15184)
2371
b5eb9035
AM
23722013-08-25 Alan Mackenzie <acm@muc.de>
2373
8a51e842
AM
2374 Improve indentation of bracelists defined by macros (without "=").
2375
2376 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2377 expansion begins with "{", regard it as bracelist when it doesn't
2378 contain a ";".
2379
869455d4
AM
2380 Parse C++ inher-intro when there's a template split over 2 lines.
2381
2382 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2383 rigorously the search for "class" etc. followed by ":".
2384
2385 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2386 random languages a regexp which never matches rather than nil.
2387
b5eb9035
AM
2388 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2389
2390 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2391 (c-awk-regexp-one-line-possibly-open-char-list-re)
2392 (c-awk-one-line-possibly-open-regexp-re)
2393 (c-awk-one-line-non-syn-ws*-re): Remove.
2394 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2395 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2396 (c-awk-space*-unclosed-regexp-/-re): New constants.
2397 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2398 aren't regexp delimiters.
2399
2400 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2401 handling for a rare situation in AWK Mode involving unterminated
2402 strings/regexps.
2403
61611d54
GM
24042013-08-23 Glenn Morris <rgm@gnu.org>
2405
2d85dc34
GM
2406 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2407
cb8d2612
GM
2408 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2409
bb35f42f
GM
2410 * files.el (create-file-buffer): If the result would begin with
2411 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2412
b9808e77
SM
24132013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2414
e3a66363
SM
2415 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2416 text-properties (bug#15155).
2417
b9808e77
SM
2418 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2419 exist any more.
2420 (calc-keypad-redraw): Remove unused var `pad'.
2421 (calc-keypad-press): Remove unused var `menu'.
2422
7fd5f65e
MR
24232013-08-23 Martin Rudalics <rudalics@gmx.at>
2424
b9808e77
SM
2425 * window.el (display-buffer-pop-up-frame):
2426 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2427 use it as the new frame's buffer (Bug#15133).
2428
8352b530
SM
24292013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * calendar/timeclock.el: Minor cleanups.
2432 (timeclock-ask-before-exiting, timeclock-use-display-time):
2433 Use `symbol'.
2434 (timeclock-modeline-display): Define as alias before the
2435 actual definition.
2436 (timeclock-mode-line-display): Use define-minor-mode.
2437 (timeclock-day-list-template): Make it a function, add an argument.
2438 (timeclock-day-list-required, timeclock-day-list-length)
2439 (timeclock-day-list-debt, timeclock-day-list-span)
2440 (timeclock-day-list-break): Adjust calls accordingly.
2441
9f7b1925
SM
24422013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2445 Use read--expression so that completion works again.
2446
6e50e983
SS
24472013-08-21 Sam Steingold <sds@gnu.org>
2448
2449 Add rudimentary inferior shell interaction
2450 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2451 (sh-set-shell): Reset it.
9f7b1925
SM
2452 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2453 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2454
dbb0d350
SM
24552013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * align.el: Use lexical-binding.
2458 (align-region): Simplify accordingly.
2459
c88586a9
MA
24602013-08-20 Michael Albinus <michael.albinus@gmx.de>
2461
2462 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2463
2464 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2465 `non-essential' up.
2466
f95527c8
MA
24672013-08-17 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * net/tramp.el:
2470 * net/tramp-adb.el:
2471 * net/tramp-cmds.el:
2472 * net/tramp-ftp.el:
2473 * net/tramp-gvfs.el:
2474 * net/tramp-gw.el:
2475 * net/tramp-sh.el: Don't wrap external variable declarations by
2476 `eval-when-compile'.
2477
4b5fe4ee
LMI
24782013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2479
2480 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2481 now that Emacs supports ImageMagick animations.
2482
13c366c9
MA
24832013-08-16 Michael Albinus <michael.albinus@gmx.de>
2484
2485 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2486 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2487
3dfc5cd6
MR
24882013-08-16 Martin Rudalics <rudalics@gmx.at>
2489
2490 * window.el (mouse-autoselect-window-select): Do autoselect when
2491 mouse pointer is on margin.
2492
4bbb4381
WP
24932013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2494
2495 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2496
3a2ddc2d
GM
24972013-08-16 Glenn Morris <rgm@gnu.org>
2498
e8bedf5a
GM
2499 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2500 Handle "Remote Directory" response of some clients. (Bug#15058)
2501
58c4682f
GM
2502 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2503 Tweak warning. (Bug#14926)
2504
57953f49
GM
2505 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2506 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2507
3a2ddc2d
GM
2508 * image-mode.el (image-mode-map): Add menu items to reverse,
2509 increase, decrease, reset animation speed.
2510 (image--set-speed, image-increase-speed, image-decrease-speed)
2511 (image-reverse-speed, image-reset-speed): New functions.
2512 (image-mode-map): Add bindings for speed commands.
2513
2514 * image.el (image-animate-get-speed, image-animate-set-speed):
2515 New functions.
2516 (image-animate-timeout): Respect image :speed property.
2517
10fa0ed3
SM
25182013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2521 previous line (bug#15101).
2522 (debugger-eval-expression, debugger-record-expression):
2523 Use read--expression (bug#15102).
2524
5d89d9d2
MA
25252013-08-15 Michael Albinus <michael.albinus@gmx.de>
2526
2527 Remove byte compiler warnings, visible when compiling with
2528 `byte-compile-force-lexical-warnings' set to t.
2529
2530 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2531 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2532 (tramp-handle-unhandled-file-name-directory)
2533 (tramp-handle-file-notify-add-watch, tramp-action-login)
2534 (tramp-action-succeed, tramp-action-permission-denied)
2535 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2536 arguments with "_".
2537
2538 * net/tramp-adb.el (tramp-adb-parse-device-names)
2539 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2540 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2541 (tramp-adb-handle-file-truename): Remove unused arguments.
2542
2543 * net/tramp-cache.el (tramp-flush-directory-property)
2544 (tramp-flush-connection-property, tramp-list-connections)
2545 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2546
10fa0ed3
SM
2547 * net/tramp-compat.el (tramp-compat-make-temp-file):
2548 Rename FILENAME to F.
5d89d9d2
MA
2549
2550 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2551 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2552 (tramp-zeroconf-parse-workstation-device-names)
2553 (tramp-zeroconf-parse-webdav-device-names)
2554 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2555
2556 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2557 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2558
2559 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2560 arguments.
2561 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2562 (tramp-sh-handle-insert-file-contents-literally)
2563 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2564 with "_".
2565 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2566 Remove unused variables.
2567
2568 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2569 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2570 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2571
2572 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2573 Make them a defconst.
2574 (tramp-uuencode-region): Remove unused variable.
2575
62f33bae
JB
25762013-08-14 Juanma Barranquero <lekktu@gmail.com>
2577
2578 * frameset.el (frameset--prop-setter): New function.
2579 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2580 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2581 parameter was already set in FILTERED. Doc fix.
2582 (frameset--record-minibuffer-relationships): Allow saving a
2583 minibufferless frame without its corresponding minibuffer frame.
2584 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2585 frame, if the frame id matches.
2586 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2587 frames before orphaned ones.
2588 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2589
c660a885
MR
25902013-08-14 Martin Rudalics <rudalics@gmx.at>
2591
2592 * window.el (window-make-atom): Don't overwrite parameter
2593 already present.
2594 (display-buffer-in-atom-window): Handle special case where we
2595 split an already atomic window.
2596 (window--major-non-side-window, display-buffer-in-side-window)
2597 (window--side-check): Ignore minibuffer window when walking
2598 window tree.
2599 (window-deletable-p): Return 'frame only if no other frame uses
2600 our minibuffer window.
2601 (record-window-buffer): Run buffer-list-update-hook.
2602 (split-window): Make sure window--check-frame won't destroy an
2603 existing atomic window in case the new window gets nested
2604 inside.
2605 (display-buffer-at-bottom): Ignore minibuffer window when
2606 walking window tree. Don't split a side window.
2607 (pop-to-buffer): Don't set-buffer here, the select-window call
2608 should do that.
2609 (mouse-autoselect-window-select): Autoselect only if we are in the
2610 text portion of the window.
2611
8259030d
LMI
26122013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2613
21c58ae2
LMI
2614 * net/shr.el (shr-parse-image-data): New function to grab both the
2615 data itself and the Content-Type.
2616 (shr-put-image): Use it.
2617
2618 * net/eww.el (eww-display-image): Ditto.
2619
8259030d
LMI
2620 * image.el (image-content-type-suffixes): New variable.
2621
ad756449
FEG
26222013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2623
2624 * progmodes/python.el (python-imenu--build-tree)
2625 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2626
f73f4ce6
XF
26272013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2628
2629 * simple.el (backward-word): Mention the optional argument.
2630
1f585e65
SM
26312013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * frameset.el (frameset--make): Rename constructor from make-frameset.
2634 (frameset-p, frameset-valid-p): Don't autoload.
2635 (frameset-valid-p): Use normal accessors.
2636
af1c6c84
GM
26372013-08-13 Glenn Morris <rgm@gnu.org>
2638
55e47f95
GM
2639 * progmodes/compile.el (compile-command): Tweak example in doc.
2640 * obsolete/scribe.el (scribe-mode):
2641 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2642
f0024d8c
GM
2643 * mail/feedmail.el (feedmail-confirm-outgoing)
2644 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2645
2646 * cus-start.el (truncate-partial-width-windows): Fix type.
2647
2648 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2649
af1c6c84
GM
2650 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2651
5514cc4c
SM
26522013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * emacs-lisp/timer.el (timer--time-setter): New function.
2655 (timer--time): Use it as gv-setter.
2656
2657 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2658 setter is not a symbol.
2659
7997a2f1
GJ
26602013-08-12 Grégoire Jadi <daimrod@gmail.com>
2661
2662 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2663 if sending fails. This makes debugging easier.
2664
01f1a9ab
JB
26652013-08-12 Juanma Barranquero <lekktu@gmail.com>
2666
2667 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2668 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2669 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2670
594a4307
EZ
26712013-08-12 Eli Zaretskii <eliz@gnu.org>
2672
2673 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2674
7a22490f 26752013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2676
2677 * format.el (format-annotate-function):
2678 Handle read-only text properties in the source. (Bug#14887)
2679
3e41a054
LMI
26802013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2681
5514cc4c
SM
2682 * net/eww.el (eww-display-html): Ignore coding system errors.
2683 One web site uses "utf-8lias" as the coding system.
3e41a054 2684
7ec326db
JB
26852013-08-11 Juanma Barranquero <lekktu@gmail.com>
2686
2687 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2688
5660113b
JB
26892013-08-10 Juanma Barranquero <lekktu@gmail.com>
2690
9a4ebc74
JB
2691 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2692 (tutorial--detailed-help): Remove unused local variables.
2693 (tutorial--save-tutorial-to): Use ignore-errors.
2694 (help-with-tutorial): Use looking-at-p.
2695
2696 * view.el (view-buffer-other-window, view-buffer-other-frame):
2697 Mark unused arguments.
2698
2699 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2700 (woman-select-symbol-fonts, woman, woman-find-file)
2701 (woman-insert-file-contents, woman-non-underline-faces):
2702 Use string-match-p.
2703 (woman1-unquote): Move declaration.
2704
2705 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2706 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2707 argument. Remove unused local variable.
2708 (xml-parse-elem-type): Use string-match-p.
2709 (xml-substitute-numeric-entities): Use ignore-errors.
2710
45fdb482
JB
2711 * calculator.el (calculator): Mark unused argument.
2712 (calculator-paste, calculator-quit, calculator-integer-p):
2713 Use ignore-errors.
2714 (calculator-string-to-number, calculator-decimal, calculator-exp)
2715 (calculator-op-or-exp): Use string-match-p.
2716
2717 * dired.el (dired-buffer-more-recently-used-p): Declare.
2718 (dired-insert-set-properties, dired-insert-old-subdirs):
2719 Use ignore-errors.
2720
2721 * dired-aux.el (dired-compress): Use ignore-errors.
2722 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2723 (dired-do-async-shell-command, dired-do-shell-command)
2724 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2725 (dired-insert-subdir-validate): Use string-match-p.
2726 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2727 (dired-add-entry): Use string-match-p, looking-at-p.
2728 (dired-insert-subdir-newpos): Remove unused local variable.
2729
2730 * filenotify.el (file-notify-callback): Remove unused local variable.
2731
2732 * filesets.el (filesets-error): Mark unused argument.
2733 (filesets-which-command-p, filesets-filter-dir-names)
2734 (filesets-directory-files, filesets-get-external-viewer)
2735 (filesets-ingroup-get-data): Use string-match-p.
2736
2737 * find-file.el (ff-other-file-name, ff-other-file-name)
2738 (ff-find-the-other-file, ff-cc-hh-converter):
2739 Remove unused local variables.
2740 (ff-get-file-name): Use string-match-p.
2741 (ff-all-dirs-under): Use ignore-errors.
2742
2743 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2744 (follow-select-if-visible): Remove unused local variable.
2745
2746 * forms.el (read-file-filter): Move declaration.
2747 (forms--make-format, forms--make-parser, forms-insert-record):
2748 Quote function with #'.
2749 (forms--update): Use string-match-p. Quote function with #'.
2750
2751 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2752 (help-make-xrefs): Use looking-at-p.
2753 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2754
2755 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2756 (ibuffer-confirm-operation-on): Use string-match-p.
2757
2758 * msb.el (msb-item-handler, msb-dired-item-handler):
2759 Mark unused arguments.
2760
2761 * ses.el (ses-decode-cell-symbol)
2762 (ses-kill-override): Remove unused local variable.
2763 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2764 (ses-load): Use ignore-errors, looking-at-p.
2765 (ses-jump-safe): Use ignore-errors.
2766 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2767
2768 * tabify.el (untabify, tabify): Mark unused arguments.
2769
2770 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2771 Mark unused argument.
2772 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2773 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2774
c880af52
JB
2775 * emacs-lisp/timer.el (timer--time): Define setter with
2776 gv-define-setter to avoid deprecation warning.
2777
5660113b 2778 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2779 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2780 (cmpl-statistics-block): Remove (body was commented out).
2781 All callers changed.
2782 (add-completions-from-buffer, load-completions-from-file):
2783 Remove unused variables.
2784
156aab80
JB
27852013-08-09 Juanma Barranquero <lekktu@gmail.com>
2786
5c5dee78
JB
2787 * filecache.el (file-cache-delete-file-list):
2788 Print message only when told so.
2789 (file-cache-files-matching): Use #' in mapconcat argument.
2790
156aab80
JB
2791 * ffap.el (ffap-url-at-point): Fix reference to variable
2792 thing-at-point-default-mail-uri-scheme.
2793
ad9dcd70
SM
27942013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2795
54bd972f
SM
2796 * subr.el (define-error): New function.
2797 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2798 error-file-not-found and define with define-error.
2799 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2800 and define with define-error.
2801 * userlock.el (file-locked, file-supersession):
2802 * simple.el (mark-inactive):
2803 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2804 * progmodes/ada-mode.el (ada-mode-errors):
2805 * play/life.el (life-extinct):
2806 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2807 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2808 * nxml/rng-util.el (rng-error):
2809 * nxml/rng-uri.el (rng-uri-error):
2810 * nxml/rng-match.el (rng-compile-error):
2811 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2812 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2813 * nxml/nxml-rap.el (nxml-scan-error):
2814 * nxml/nxml-outln.el (nxml-outline-error):
2815 * net/soap-client.el (soap-error):
2816 * net/gnutls.el (gnutls-error):
2817 * net/ange-ftp.el (ftp-error):
2818 * mpc.el (mpc-proc-error):
2819 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2820 (json-number-format, json-string-escape, json-string-format)
2821 (json-key-format, json-object-format):
2822 * jka-compr.el (compression-error):
2823 * international/quail.el (quail-error):
2824 * international/kkc.el (kkc-error):
2825 * emacs-lisp/ert.el (ert-test-failed):
2826 * calc/calc.el (calc-error, inexact-result, math-overflow)
2827 (math-underflow):
2828 * bookmark.el (bookmark-error-no-filename):
2829 * epg.el (epg-error): Define with define-error.
2830
0ea9e53a
SM
2831 * time.el (display-time-event-handler)
2832 (display-time-next-load-average): Don't call sit-for since it seems
2833 unnecessary (bug#15045).
2834
b0429158
SM
2835 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2836 Use #' instead of ' to quote functions.
2837 (checkdoc-output-mode): Use setq-local.
2838 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2839 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2840 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2841 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2842 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2843 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2844 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2845 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2846
ad9dcd70
SM
2847 * ido.el (ido-completion-help): Fix up compiler warning.
2848
77187e6f
JB
28492013-08-09 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * frameset.el (frameset-p): Add autoload cookie.
2852 (frameset--jump-to-register): New function, based on code moved from
2853 register.el.
2854 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2855
2856 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2857 (frameset-restore, frameset-save, frameset-session-filter-alist):
2858 Remove declarations.
2859 (register-alist): Doc fix.
2860 (frameset-to-register): Move to frameset.el.
2861 (jump-to-register, describe-register-1): Remove frameset-specific code.
2862
9d3aa82c
JB
28632013-08-08 Juanma Barranquero <lekktu@gmail.com>
2864
2865 * allout-widgets.el (allout-widgets-pre-command-business)
2866 (allout-widgets-post-command-business)
2867 (allout-widgets-after-change-handler)
2868 (allout-decorate-item-and-context, allout-set-boundary-marker)
2869 (allout-body-modification-handler)
2870 (allout-graphics-modification-handler): Mark ignored arguments.
2871 (allout-widgets-post-command-business)
2872 (allout-widgets-exposure-change-processor)
2873 (allout-widgets-exposure-undo-processor)
2874 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2875 (allout-parse-item-at-point, allout-decorate-item-guides)
2876 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2877 * allout.el (epa-passphrase-callback-function): Declare.
2878 (allout-overlay-insert-in-front-handler)
2879 (allout-overlay-interior-modification-handler)
2880 (allout-isearch-end-handler, allout-chart-siblings)
2881 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2882 (allout-yank-processing, allout-process-exposed)
2883 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2884 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2885 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2886 (lisp-indent-defform): Mark ignored arguments.
2887 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2888 (calculate-lisp-indent): Remove unused variables.
2889 * international/characters.el (indian-2-column, arabic-2-column)
2890 (tibetan): Mark ignored arguments.
2891 (use-cjk-char-width-table): Mark ignored arguments.
2892 Remove unused variables.
2893 * international/fontset.el (build-default-fontset-data)
2894 (x-compose-font-name, create-fontset-from-fontset-spec):
2895 Mark ignored arguments.
2896 (fontset-plain-name): Remove unused variables.
2897 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2898 (keyboard-coding-system): Mark ignored arguments.
2899 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2900 * help.el (resize-temp-buffer-window):
2901 * window.el (display-buffer-in-major-side-window)
2902 (display-buffer-in-side-window, display-buffer-in-previous-window):
2903 Remove unused variables.
2904 * isearch.el (isearch-forward-symbol):
2905 * version.el (emacs-bzr-version-bzr):
2906 * international/mule-cmds.el (current-language-environment):
2907 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2908 (x-handle-display):
2909 * term/pc-win.el (x-list-fonts, x-display-planes)
2910 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2911 (x-server-version, x-display-screens, x-display-mm-height)
2912 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2913 (x-selection-owner-p, x-own-selection-internal)
2914 (x-disown-selection-internal, x-get-selection-internal)
2915 (msdos-initialize-window-system):
2916 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2917 * term/x-win.el (x-handle-no-bitmap-icon):
2918 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2919 (vc-default-find-file-hook, vc-default-extra-menu):
2920 Mark ignored arguments.
2921
0ca3f70e
SM
29222013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2923
2924 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2925 break-condition in the context of the debugged code (bug#12685).
2926
74c5d24c
CS
29272013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2928
2929 * comint.el:
2930 Do not use an overlay to highlight the last prompt. (Bug#14744)
2931 (comint-mode): Make comint-last-prompt buffer local.
2932 (comint-last-prompt): New variable.
2933 (comint-last-prompt-overlay): Remove. Superseded by
2934 comint-last-prompt.
0ca3f70e
SM
2935 (comint-snapshot-last-prompt, comint-output-filter):
2936 Use comint-last-prompt.
74c5d24c 2937
c03c02ee
JB
29382013-08-08 Juanma Barranquero <lekktu@gmail.com>
2939
a3738d20 2940 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2941 (frameset-save): Check validity of the resulting frameset.
2942
04263d23
XF
29432013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2944
2945 * ido.el (ido-record-command): Add doc string.
2946
76c5e5ab
JB
29472013-08-08 Juanma Barranquero <lekktu@gmail.com>
2948
2949 * frameset.el (frameset): Do not disable creation of the default
2950 frameset-p predicate. Doc fix.
2951 (frameset-valid-p): New function, copied from the old predicate-p.
2952 Add additional checks.
2953 (frameset-restore): Check with frameset-valid-p.
2954 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2955 (frameset-name, frameset-description, frameset-properties)
2956 (frameset-states): Add docstring.
f9dbf1cb
JB
2957 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2958 (frameset-filter-alist): Doc fixes.
76c5e5ab 2959
bd0c3c0b
JB
29602013-08-08 Juanma Barranquero <lekktu@gmail.com>
2961
2962 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2963
c735544c
SM
29642013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2967 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2968 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2969 (byte-compile-normal-call): Remove obsolescence check.
2970
2805a651
JB
29712013-08-08 Juanma Barranquero <lekktu@gmail.com>
2972
3677ffeb
JB
2973 * frameset.el (frameset-restore): Doc fix.
2974
2805a651
JB
2975 * register.el (frameset-frame-id, frameset-frame-with-id)
2976 (frameset-p, frameset-restore, frameset-save): Declare.
2977 (register-alist): Document framesets.
2978 (frameset-session-filter-alist): Declare.
2979 (frameset-to-register): New function.
2980 (jump-to-register): Implement jumping to framesets. Doc fix.
2981 (describe-register-1): Describe framesets.
2982
2983 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2984
a912c016
JB
29852013-08-07 Juanma Barranquero <lekktu@gmail.com>
2986
2987 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2988 Use lexical-binding.
2989
2990 * frameset.el (frameset): Use type vector, not list (incompatible
2991 change). Do not declare a new constructor, use the default one.
2992 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2993 `name' and `description', respectively, and add read-only slot
2994 `timestamp'. Doc fixes.
2995 (frameset-copy, frameset-persistent-filter-alist)
2996 (frameset-filter-alist, frameset-switch-to-gui-p)
2997 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2998 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2999 (frameset-filter-iconified, frameset-keep-original-display-p):
3000 Doc fixes.
3001 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3002 Rename from frameset-filter-(save|restore)-param. All callers changed.
3003 Doc fix.
3004 (frameset-p): Adapt to change to vector and be more thorough.
3005 Change arg name to OBJECT. Doc fix.
3006 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3007 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3008 All callers changed.
3009 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3010 All callers changed.
3011 (frameset--record-minibuffer-relationships): Rename from
3012 frameset--process-minibuffer-frames. All callers changed.
3013 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3014 Use new default constructor (again). Doc fix.
3015 (frameset--find-frame-if): Rename from `frameset--find-frame.
3016 All callers changed.
3017 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3018 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3019 Doc fix.
3020 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3021 PARAMETERS and WINDOW-STATE, respectively.
3022 (frameset-restore): Add new keyword argument PREDICATE.
3023 Reset frameset--target-display to nil. Doc fix.
3024
bb41480a
SM
30252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3026
f001e98e
SM
3027 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3028 (bat-mode): Use it.
3029 (bat-mode-syntax-table): Mark \n as end-of-comment.
3030 (bat-font-lock-keywords): Remove comment rule.
3031
7679edb1
SM
3032 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3033 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3034
bb41480a
SM
3035 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3036 (byte-compile-callargs-warn): Use `push'.
3037 (byte-compile-arglist-warn): Ignore higher-order "calls".
3038 (byte-compile-file-form-autoload): Use `pcase'.
3039 (byte-compile-function-form): If quoting a symbol, check that it exists.
3040
cdc1ebb9
EZ
30412013-08-07 Eli Zaretskii <eliz@gnu.org>
3042
3043 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3044 and add a few popular commands found in batch files.
3045 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3046 (dos-mode): Doc fixes.
3047
312b1740
SM
30482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3051 (dos-mode): Use setq-local. Add space after "rem".
3052 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3053 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3054
400a3178
AM
30552013-08-07 Arni Magnusson <arnima@hafro.is>
3056
3057 * progmodes/dos.el: New file.
3058 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3059 dos-mode.
3060
3b5c03d3
GM
30612013-08-06 Glenn Morris <rgm@gnu.org>
3062
3063 * calendar/calendar.el: Add new faces, and day-header-array.
3064 (calendar-weekday-header, calendar-weekend-header)
3065 (calendar-month-header): New faces.
3066 (calendar-day-header-construct): New function.
3067 (calendar-day-header-width): Also :set calendar-day-header-array.
3068 (calendar-american-month-header, calendar-european-month-header)
3069 (calendar-iso-month-header): Use calendar- faces.
3070 (calendar-generate-month):
3071 Use calendar-day-header-array for day headers; apply faces to them.
3072 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3073 (calendar-abbrev-construct): Add optional maxlen argument.
3074 (calendar-day-name-array): Doc fix.
3075 (calendar-day-name-array, calendar-abbrev-length)
3076 (calendar-day-abbrev-array):
3077 Also :set calendar-day-header-array, and maybe redraw.
3078 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3079 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3080 (calendar-day-name): Add option to use header array.
3081
ec6a2d7a
LMI
30822013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3083
3084 * net/shr.el (shr-render-td): Remove debugging.
3085 (shr-render-td): Make width computation consistent by defaulting
3086 all zero-width columns to 10 characters. This may not be optimal,
3087 but it's at least consistent.
2122cb6d
LMI
3088 (shr-make-table-1): Redo last change to fix the real problem in
3089 colspan handling.
ec6a2d7a 3090
ed4fd9c5
DA
30912013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3092
0ca3f70e
SM
3093 * files.el (cache-long-line-scans):
3094 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3095
64e22afe
JB
30962013-08-06 Juanma Barranquero <lekktu@gmail.com>
3097
024b38fc
JB
3098 * frameset.el (frameset, frameset-filter-alist)
3099 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3100 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3101 (frameset-compute-pos): Rename from frameset--compute-pos,
3102 and add docstring.
3103 (frameset-move-onscreen): Use frameset-compute-pos.
3104 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3105
64e22afe
JB
3106 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3107 Fix typos in docstrings.
3108
c8c2aca8
DA
31092013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3110
3111 * frame.el (get-other-frame): Tiny cleanup.
3112
1d237bba
JB
31132013-08-06 Juanma Barranquero <lekktu@gmail.com>
3114
8951efef
JB
3115 * vc/vc.el (vc-default-ignore-completion-table):
3116 Silence byte-compiler warning.
3117
307764cc
JB
3118 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3119 slot , which can indeed be nil.
3120 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3121 Move entry for `left' from persistent to live filter alist.
3122 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3123 Doc fixes.
3124 (frameset-filter-params): When restoring a frame, copy items added to
3125 `filtered', to avoid unwittingly modifying the original parameters.
3126 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3127 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3128
1d237bba
JB
3129 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3130 to use looking-at-p instead of looking-at. (Bug#15028)
3131
dc6c0eda
SM
31322013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 Revert introduction of isearch-filter-predicates (bug#14714).
3135 Rely on add-function instead.
3136 * isearch.el (isearch-filter-predicates): Rename it back to
3137 isearch-filter-predicate.
3138 (isearch-message-prefix): Use advice-function-mapc and advice
3139 properties to get the isearch-message-prefix.
3140 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3141 instead of run-hook-with-args-until-failure.
3142 (isearch-filter-visible): Not obsolete any more.
3143 * loadup.el: Preload nadvice.
3144 * replace.el (perform-replace): Revert to funcall
3145 instead of run-hook-with-args-until-failure.
3146 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3147 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3148 dired-isearch-filenames-toggle; make it into a proper minor mode.
3149 Use add/remove-function.
3150 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3151 Call the minor-mode rather than add/remove-hook.
3152 (dired-isearch-filter-filenames):
3153 Remove isearch-message-prefix property.
3154 * info.el (Info--search-loop): New function, extracted from Info-search.
3155 Funcall isearch-filter-predicate instead of
3156 run-hook-with-args-until-failure isearch-filter-predicates.
3157 (Info-search): Use it.
3158 (Info-mode): Use isearch-filter-predicate instead of
3159 isearch-filter-predicates.
3160
290d5b58
DA
31612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3162
3163 Do not call to `selected-window' where it is assumed by default.
3164 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3165 `window-hscroll', `window-width', `window-height', `window-buffer',
3166 `window-frame', `window-start', `window-point', `next-window'
3167 and `window-display-table'.
3168 * abbrev.el (abbrev--default-expand):
3169 * bs.el (bs--show-with-configuration):
3170 * buff-menu.el (Buffer-menu-mouse-select):
3171 * calc/calc.el (calc):
3172 * calendar/calendar.el (calendar-generate-window):
3173 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3174 (diary-make-entry):
3175 * comint.el (send-invisible, comint-dynamic-complete-filename)
3176 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3177 * completion.el (complete):
3178 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3179 * disp-table.el (describe-current-display-table):
3180 * doc-view.el (doc-view-insert-image):
3181 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3182 * ehelp.el (with-electric-help):
3183 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3184 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3185 * emacs-lisp/helper.el (Helper-help-scroller):
3186 * emulation/cua-base.el (cua--post-command-handler-1):
3187 * eshell/esh-mode.el (eshell-output-filter):
3188 * ffap.el (ffap-gnus-wrapper):
3189 * help-macro.el (make-help-screen):
3190 * hilit-chg.el (highlight-compare-buffers):
3191 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3192 * hl-line.el (global-hl-line-highlight):
3193 * icomplete.el (icomplete-simple-completing-p):
3194 * isearch.el (isearch-done):
3195 * jit-lock.el (jit-lock-stealth-fontify):
3196 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3197 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3198 * mpc.el (mpc-tagbrowser, mpc):
3199 * net/rcirc.el (rcirc-any-buffer):
3200 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3201 * play/landmark.el (landmark-max-width, landmark-max-height):
3202 * play/zone.el (zone):
3203 * progmodes/compile.el (compilation-goto-locus):
3204 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3205 * progmodes/etags.el (find-tag-other-window):
3206 * progmodes/fortran.el (fortran-column-ruler):
3207 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3208 * progmodes/verilog-mode.el (verilog-point-text):
3209 * reposition.el (reposition-window):
3210 * rot13.el (toggle-rot13-mode):
3211 * server.el (server-switch-buffer):
3212 * shell.el (shell-dynamic-complete-command)
3213 (shell-dynamic-complete-environment-variable):
3214 * simple.el (insert-buffer, set-selective-display)
3215 (delete-completion-window):
3216 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3217 (speedbar-recenter):
3218 * startup.el (fancy-splash-head):
3219 * textmodes/ispell.el (ispell-command-loop):
3220 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3221 * tutorial.el (help-with-tutorial):
3222 * vc/add-log.el (add-change-log-entry):
3223 * vc/compare-w.el (compare-windows):
3224 * vc/ediff-help.el (ediff-indent-help-message):
3225 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3226 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3227 (ediff-setup-control-frame):
3228 * vc/emerge.el (emerge-position-region):
3229 * vc/pcvs-util.el (cvs-bury-buffer):
3230 * window.el (walk-windows, mouse-autoselect-window-select):
3231 * winner.el (winner-set-conf, winner-undo): Related users changed.
3232
38276e01
JB
32332013-08-05 Juanma Barranquero <lekktu@gmail.com>
3234
3235 * frameset.el (frameset--set-id): Doc fix.
3236 (frameset-frame-id, frameset-frame-id-equal-p)
3237 (frameset-locate-frame-id): New functions.
3238 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3239 (frameset-restore): Use them.
3240
12b4c0ea
DA
32412013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3242
3243 Do not call to `selected-frame' where it is assumed by default.
3244 Affected functions are `raise-frame', `redraw-frame',
3245 `frame-first-window', `frame-terminal' and `delete-frame'.
3246 * calendar/appt.el (appt-disp-window):
3247 * epg.el (epg-wait-for-completion):
3248 * follow.el (follow-delete-other-windows-and-split)
3249 (follow-avoid-tail-recenter):
3250 * international/mule.el (set-terminal-coding-system):
3251 * mail/rmail.el (rmail-mail-return):
3252 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3253 * progmodes/f90.el (f90-add-imenu-menu):
3254 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3255 * server.el (server-switch-buffer):
3256 * simple.el (delete-completion-window):
3257 * talk.el (talk):
3258 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3259 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3260 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3261 * vc/ediff.el (ediff-documentation): Related users changed.
3262 * frame.el (selected-terminal): Remove the leftover.
3263
17f25e76
GM
32642013-08-05 Glenn Morris <rgm@gnu.org>
3265
3266 * calendar/calendar.el (calendar-generate-month):
3267 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3268 (calendar-generate-month, calendar-font-lock-keywords):
3269 Fix for calendar-day-header-width > length of any day name.
17f25e76 3270
063233c3
JB
32712013-08-05 Juanma Barranquero <lekktu@gmail.com>
3272
3273 * desktop.el (desktop-clear): Use new name of sort predicate.
3274
3275 * frameset.el (frameset): Add docstring. Move :version property to its
3276 own `version' slot.
3277 (frameset-copy): Rename from copy-frameset.
3278 (frameset-p): Check more thoroughly.
3279 (frameset-prop): Do not check for :version, which is no longer a prop.
3280 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3281 Use new :never value instead of t.
3282 (frameset-filter-alist): Expand and clarify docstring.
3283 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3284 (frameset-filter-minibuffer, frameset-filter-save-param)
3285 (frameset-filter-restore-param, frameset-filter-iconified):
3286 Add pointer to docstring of frameset-filter-alist.
3287 (frameset-filter-params): Rename filter values to be more meaningful:
3288 :never instead of t, and reverse the meanings of :save and :restore.
3289 (frameset--process-minibuffer-frames): Clarify error message.
3290 (frameset-save): Avoid unnecessary and confusing call to framep.
3291 Use new BOA constructor for framesets.
3292 (frameset--reuse-list): Doc fix.
3293 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3294 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3295 (frameset-minibufferless-first-p): Doc fix.
3296 Rename from frameset-sort-frames-for-deletion.
3297 (frameset-restore): Doc fixes. Use new function names.
3298 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3299
d5671a82
JB
33002013-08-04 Juanma Barranquero <lekktu@gmail.com>
3301
3302 * desktop.el (desktop-restore-forces-onscreen)
3303 (desktop-restore-reuses-frames): Document :keyword constant values.
3304 (desktop-filter-parameters-alist): Remove, now identical to
3305 frameset-filter-alist.
3306 (desktop--filter-tty*): Remove, moved to frameset.el.
3307 (desktop-save-frameset, desktop-restore-frameset):
3308 Do not pass :filters argument.
3309
3310 * frameset.el (frameset-live-filter-alist)
3311 (frameset-persistent-filter-alist): New variables.
3312 (frameset-filter-alist): Use them. Add autoload cookie.
3313 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3314 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3315 `frameset--id' (it's supposed to be internal to frameset.el).
3316 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3317 (frameset--initial-params): New function.
3318 (frameset--get-frame): Use it. Doc fix.
3319 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3320 Accept :all, not 'all.
3321 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3322 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3323 with fbound symbols. Fix frame id matching, and remove matching ids if
3324 the frame being restored is deleted. Obey :delete.
3325
671d5c16
SM
33262013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * subr.el (macrop): New function.
3329 (text-clone--maintaining): New var.
3330 (text-clone--maintain): Rename from text-clone-maintain. Use it
3331 instead of inhibit-modification-hooks.
3332
3333 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3334 a proxy, so as handle autoloads and redefinitions of the target.
3335 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3336
3337 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3338 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3339 (pcase--mutually-exclusive-p): New function.
3340 (pcase--split-consp): Use it.
3341 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3342 mutually exclusive with the current predicate.
3343
3344 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3345 (edebug-macrop): Remove. Use `macrop' instead.
3346 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3347 (ad-macro-p):
3348 * eshell/esh-cmd.el (eshell-macrop):
3349 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3350
1d44e9dc
SM
33512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3354 (advice-mapc): New function, using it.
3355 (advice-function-member-p): New function.
3356 (advice--normalize): Store the cdr in advice--saved-rewrite since
3357 that's the part that will be changed.
3358 (advice--symbol-function): New function.
3359 (advice-remove): Handle removal before the function is defined.
3360 Adjust to new advice--saved-rewrite.
3361 (advice-member-p): Use advice-function-member-p and
3362 advice--symbol-function.
3363
5414a283
JB
33642013-08-04 Juanma Barranquero <lekktu@gmail.com>
3365
51d30f2c
JB
3366 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3367 (frameset-filter-minibuffer): Doc fix.
3368 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3369 (frameset--set-id, frameset--process-minibuffer-frames)
3370 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3371 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3372
5414a283
JB
3373 * desktop.el (desktop-clear): Only delete frames when called
3374 interactively and desktop-restore-frames is non-nil. Doc fix.
3375 (desktop-read): Set desktop-saved-frameset to nil.
3376
ab419665
XF
33772013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3378
3379 * vc/vc.el (vc-ignore): Rewrite.
3380 (vc-default-ignore-completion-table):
3381 (vc--read-lines):
3382 (vc--add-line, vc--remove-regexp): New functions.
3383
3384 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3385 (vc-svn-ignore-completion-table): New function.
3386
3387 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3388 (vc-hg-ignore-completion-table):
3389 (vc-hg-find-ignore-file): New functions.
3390
3391 * vc/vc-git.el (vc-git-ignore): Rewrite.
3392 (vc-git-ignore-completion-table):
3393 (vc-git-find-ignore-file): New functions.
3394
3395 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3396
3397 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3398 (vc-bzr-ignore-completion-table):
3399 (vc-bzr-find-ignore-file): New functions.
3400
2613dea2
JB
34012013-08-03 Juanma Barranquero <lekktu@gmail.com>
3402
3403 * frameset.el (frameset-prop): New function and setter.
3404 (frameset-save): Do not modify frame list passed by the caller.
3405
9c959872
SM
34062013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3409
a104f656
SM
34102013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3411
70122acf
SM
3412 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3413 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3414
a104f656
SM
3415 * custom.el (custom-initialize-default, custom-initialize-set)
3416 (custom-initialize-reset, custom-initialize-changed): Affect the
3417 toplevel-default-value (bug#6275, bug#14586).
3418 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3419 for bug#6275.
3420
f078d570
JB
34212013-08-02 Juanma Barranquero <lekktu@gmail.com>
3422
185e3b5a
JB
3423 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3424 Add cl-def* expressions.
3425
f078d570
JB
3426 * frameset.el (frameset-filter-params): Fix order of arguments.
3427
9421876d
JB
34282013-08-02 Juanma Barranquero <lekktu@gmail.com>
3429
3430 Move code related to saving frames to frameset.el.
3431 * desktop.el: Require frameset.
3432 (desktop-restore-frames): Doc fix.
3433 (desktop-restore-reuses-frames): Rename from
3434 desktop-restoring-reuses-frames.
3435 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3436 (desktop-clear): Clear frames too.
3437 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3438 (desktop--filter-tty*, desktop-save, desktop-read):
3439 Use frameset functions.
3440 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3441 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3442 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3443 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3444 (desktop--process-minibuffer-frames, desktop-save-frames)
3445 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3446 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3447 (desktop--sort-states, desktop-restoring-frames-p)
3448 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3449 (desktop-restoring-frameset-p, desktop-restore-frameset)
3450 (desktop--check-dont-save, desktop-save-frameset): New functions.
3451 (desktop--app-id): New constant.
3452 (desktop-first-buffer, desktop-buffer-ok-count)
3453 (desktop-buffer-fail-count): Move before first use.
3454 * frameset.el: New file.
3455
76dc5996
SM
34562013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * files.el: Use lexical-binding.
3459 (dir-locals-read-from-file): Remove unused `err' variable.
3460 (hack-dir-local-variables--warned-coding): New var.
3461 (hack-dir-local-variables): Use it to avoid repeated warnings.
3462 (make-backup-file-name--default-function): New function.
3463 (make-backup-file-name-function): Use it as default.
3464 (buffer-stale--default-function): New function.
3465 (buffer-stale-function): Use it as default.
3466 (revert-buffer-insert-file-contents--default-function): New function.
3467 (revert-buffer-insert-file-contents-function): Use it as default.
3468 (insert-directory): Avoid add-to-list.
3469
3470 * autorevert.el (auto-revert-handler): Simplify.
3471 Use buffer-stale--default-function.
3472
06d36e2b
TH
34732013-08-01 Tassilo Horn <tsdh@gnu.org>
3474
5f648ab4
TH
3475 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3476
06d36e2b
TH
3477 * whitespace.el (whitespace-ensure-local-variables): New function.
3478 (whitespace-cleanup-region): Call it.
3479 (whitespace-turn-on): Call it.
3480
a43dc424
MA
34812013-08-01 Michael Albinus <michael.albinus@gmx.de>
3482
3483 Complete file name handlers.
3484
3485 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3486 (tramp-handle-verify-visited-file-modtime)
3487 (tramp-handle-file-notify-rm-watch): New functions.
3488 (tramp-call-process): Do not bind `default-directory'.
3489
44e18199
JB
3490 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3491 Order alphabetically.
a43dc424
MA
3492 [access-file, add-name-to-file, dired-call-process]:
3493 [dired-compress-file, file-acl, file-notify-rm-watch]:
3494 [file-ownership-preserved-p, file-selinux-context]:
3495 [make-directory-internal, make-symbolic-link, set-file-acl]:
3496 [set-file-selinux-context, set-visited-file-modtime]:
3497 [verify-visited-file-modtime]: Add handler.
3498 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3499
3500 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3501 [file-notify-add-watch, file-notify-rm-watch]:
3502 [set-file-times, set-visited-file-modtime]:
3503 [verify-visited-file-modtime]: Add handler.
3504 (with-tramp-gvfs-error-message)
3505 (tramp-gvfs-handle-set-visited-file-modtime)
3506 (tramp-gvfs-fuse-file-name): Remove.
3507 (tramp-gvfs-handle-file-notify-add-watch)
3508 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3509 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3510
44e18199
JB
3511 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3512 Order alphabetically.
a43dc424
MA
3513 [file-notify-rm-watch ]: Use default Tramp handler.
3514 [executable-find]: Remove private handler.
3515 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3516 `default-directory'.
3517 (tramp-sh-handle-executable-find)
3518 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3519 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3520 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3521 Do not use `format' in `tramp-message'.
3522
3523 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3524 [file-notify-rm-watch, set-visited-file-modtime]:
3525 [verify-visited-file-modtime]: Add handler.
3526 (tramp-smb-call-winexe): Do not bind `default-directory'.
3527
7188b515
XF
35282013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3529
3530 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3531
2412ee1a
DG
35322013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3533
3534 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3535 use it.
3536 (log-view-diff-changeset): Same.
3537 (log-view-diff-common): Call backend command `previous-revision'
3538 to find out the previous revision, in both cases. Swap the
3539 variables `to' and `fr', so that `fr' usually refers to the
3540 earlier revision (Bug#14989).
3541
5002a754
KRC
35422013-07-31 Kan-Ru Chen <kanru@kanru.info>
3543
3544 * ibuf-ext.el (ibuffer-filter-by-filename):
3545 Make it work with dired buffers too.
3546
44e18199 35472013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3548
3549 * emacs-lisp/re-builder.el (reb-color-display-p):
3550 * files.el (save-buffers-kill-terminal):
3551 * net/browse-url.el (browse-url):
3552 * server.el (server-save-buffers-kill-terminal):
3553 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3554 Prefer nil to selected-frame for the first arg of frame-parameter.
3555
aeca3fbb
XF
35562013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3557
3558 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3559
158bc55c
SB
35602013-07-30 Stephen Berman <stephen.berman@gmx.net>
3561
3562 * minibuffer.el (completion--twq-all): Try and preserve each
3563 completion's case choice (bug#14907).
3564
d50fceab
LMI
35652013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3566
ac38e731
LMI
3567 * net/network-stream.el (open-network-stream): Mention the new
3568 :nogreeting parameter.
3569 (network-stream-open-starttls): Use the :nogreeting parameter
3570 (bug#14938).
3571
1211de50
LMI
3572 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3573
997798bf
LMI
3574 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3575 more natural than popping.
3576
d50fceab 3577 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3578 (shr-urlify): Highlight under mouse.
d50fceab 3579
5c09de04
XF
35802013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3581
207d1d04
XF
3582 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3583
3584 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3585
5c09de04
XF
3586 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3587 buffer for output.
3588
3cd51eaa
XF
3589 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3590 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3591
44e18199 3592 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3593 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3594
3595 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3596
3597 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3598 buffer for output.
3599
35a89bdd
EZ
36002013-07-29 Eli Zaretskii <eliz@gnu.org>
3601
3602 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3603 initial frame is minibuffer-less. (Bug#14841)
3604
78822e94
MA
36052013-07-29 Michael Albinus <michael.albinus@gmx.de>
3606
3607 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3608 option.
3609
3610 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3611 (tramp-maybe-open-connection): Use it.
3612
9503c190
JB
36132013-07-28 Juanma Barranquero <lekktu@gmail.com>
3614
3615 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3616 minimal set of parameters passed when creating a frame, because
3617 the minibuffer status of a frame cannot be changed later.
3618
d5a845b4
SB
36192013-07-28 Stephen Berman <stephen.berman@gmx.net>
3620
3621 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3622 replace-regexp-in-string and inadvertent omissions in previous change.
3623 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3624 name of filtered items buffer.
d5a845b4 3625
ddeffb17
JB
36262013-07-28 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * desktop.el: Optionally force offscreen frames back onscreen.
3629 (desktop-restoring-reuses-frames): New option.
3630 (desktop--compute-pos, desktop--move-onscreen): New functions.
3631 (desktop--make-frame): Use desktop--move-onscreen.
3632
f5950f7a
AM
36332013-07-27 Alan Mackenzie <acm@muc.de>
3634
3635 Fontify a Java generic method as a function.
3636 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3637 value to t.
3638
ae43b66a
SB
36392013-07-27 Stephen Berman <stephen.berman@gmx.net>
3640
3641 * calendar/todo-mode.el: Add command to rename todo files.
3642 (todo-rename-file): New command.
3643 (todo-key-bindings-t): Add key binding for it. Change the
3644 bindings of todo-filter-regexp-items(-multifile) to use `x'
3645 instead of `r', since the latter is better suited to the new
3646 renaming command.
3647
5ab78d3d
AM
36482013-07-27 Alan Mackenzie <acm@muc.de>
3649
3650 Make Java try-with-resources statement parse properly.
3651 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3652 (c-block-stmt-1-2-key): New language constants/variables.
3653 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3654 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3655 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3656 with c-block-stmt-1-2-key.
5ab78d3d 3657
d85c4d50
JB
36582013-07-27 Juanma Barranquero <lekktu@gmail.com>
3659
3660 * desktop.el (desktop--make-frame): Apply most frame parameters after
3661 creating the frame to force (partially or totally) offscreen frames to
3662 be restored as such.
3663
e4c467f9
XF
36642013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3665
3666 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3667 (Bug#14948)
e4c467f9 3668
7ced0d04
SM
36692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3672 `base' arg of backtrace-frame.
3673
fec92060
EZ
36742013-07-26 Eli Zaretskii <eliz@gnu.org>
3675
3676 * simple.el (list-processes): Doc fix.
3677
d58d31fb
JB
36782013-07-26 Juanma Barranquero <lekktu@gmail.com>
3679
3680 * desktop.el (desktop--select-frame):
d85c4d50 3681 Try harder to reuse existing frames.
d58d31fb 3682
53ff3e77
SM
36832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3684
3685 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3686 (edebug-eval): Use backtrace-eval.
3687 (edebug--display, edebug--recursive-edit): Don't let-bind the
3688 edebug-outer-* vars that keep track of variables we locally let-bind.
3689 (edebug-outside-excursion): Don't restore outside values of locally
3690 let-bound vars.
3691 (edebug--display): Use user-error.
3692 (cl-lexical-debug, cl-debug-env): Remove.
3693
045f7a53
JB
36942013-07-26 Juanma Barranquero <lekktu@gmail.com>
3695
3696 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3697 are restored to be sure that they are visible before deleting any
3698 remaining ones.
3699
59070b32
MM
37002013-07-26 Matthias Meulien <orontee@gmail.com>
3701
742a3501
XF
3702 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3703 vc-print-root-log. (Bug#14948)
59070b32 3704
b1fb3596
RS
37052013-07-26 Richard Stallman <rms@gnu.org>
3706
3707 Add aliases for encrypting mail.
3708 * epa.el (epa-mail-aliases): New option.
3709 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3710 Bind inhibit-read-only so read-only text doesn't ruin everything.
3711 (epa-mail-default-recipients): New subroutine broken out.
3712 Handle epa-mail-aliases.
3713
56ea7291
SM
37142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 Add support for lexical variables to the debugger's `e' command.
3717 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3718 vars, except for debugger-outer-match-data.
3719 (debugger-frame-number): Move check for "on a function call" from
3720 callers into it. Add `skip-base' argument.
3721 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3722 (debugger-env-macro): Only reset the state stored in non-variables,
3723 i.e. current-buffer and match-data.
3724 (debugger-eval-expression): Rewrite using backtrace-eval.
3725 * subr.el (internal--called-interactively-p--get-frame): Remove.
3726 (called-interactively-p):
3727 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3728 `base' arg of backtrace-frame instead.
3729
15ac32d5
GM
37302013-07-26 Glenn Morris <rgm@gnu.org>
3731
8358a09d
GM
3732 * align.el (align-regexp): Doc fix. (Bug#14857)
3733 (align-region): Explicit error if subexpression missing/does not match.
3734
15ac32d5
GM
3735 * simple.el (global-visual-line-mode):
3736 Do not duplicate the mode lighter. (Bug#14858)
3737
f47ad11b
MR
37382013-07-25 Martin Rudalics <rudalics@gmx.at>
3739
3740 * window.el (display-buffer): In display-buffer bind
3741 split-window-keep-point to t, bug#14829.
3742
02530987
JB
37432013-07-25 Juanma Barranquero <lekktu@gmail.com>
3744
3745 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3746 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3747 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3748 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3749 Change accordingly.
f63ebeb5
JB
3750 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3751 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3752
6ccb9cab 37532013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3754
6ccb9cab 3755 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3756
cb3a56d2
JB
37572013-07-25 Juanma Barranquero <lekktu@gmail.com>
3758
3759 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3760 parameter to modify-frame-parameters if the value has not changed;
3761 this is a workaround for bug#14949.
3762 (desktop--make-frame): On cl-delete-if call, check parameter name,
3763 not full parameter.
3764
7aa7fff0
XF
37652013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3766
3767 * vc/vc.el (vc-ignore): New function.
3768
3769 * vc/vc-svn.el (vc-svn-ignore): New function.
3770
3771 * vc/vc-hg.el (vc-hg-ignore): New function.
3772
3773 * vc/vc-git.el (vc-git-ignore): New function.
3774
3775 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3776 (vc-dir-ignore): New function.
3777
3778 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3779 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3780
3781 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3782
3783 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3784
889acc5c
JB
37852013-07-24 Juanma Barranquero <lekktu@gmail.com>
3786
3787 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3788 (desktop-restore-frames): Warn when deleting an existing frame failed.
3789
86c40970
GM
37902013-07-24 Glenn Morris <rgm@gnu.org>
3791
3792 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3793
d5d3c58a
MA
37942013-07-24 Michael Albinus <michael.albinus@gmx.de>
3795
3796 * filenotify.el (file-notify-supported-p):
3797 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3798 Remove functions.
3799
3800 * autorevert.el (auto-revert-use-notify):
3801 (auto-revert-notify-add-watch):
3802 * net/tramp.el (tramp-file-name-for-operation):
3803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3805 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3806 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3807 Remove `file-notify-supported-p' entry.
3808
d100084b
GM
38092013-07-24 Glenn Morris <rgm@gnu.org>
3810
3811 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3812 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3813
ac93e56b
SM
38142013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3815
249eea30
SM
3816 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3817 checked with memq (bug#14935).
3818
ac93e56b
SM
3819 * files.el (revert-buffer-function): Use a non-nil default.
3820 (revert-buffer-preserve-modes): Declare var to
3821 provide access to the `preserve-modes' argument.
3822 (revert-buffer): Let-bind it.
3823 (revert-buffer--default): New function, extracted from revert-buffer.
3824
2cdeb903
SM
38252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * lpr.el: Signal print errors more prominently.
3828 (print-region-function): Don't default to nil.
3829 (lpr-print-region): New function, extracted from print-region-1.
3830 Check lpr's return value and signal an error in case of problem.
3831 (print-region-1): Use it.
3832 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3833 versions instead.
3834 (ps-printer-name): Default to nil.
3835 (ps-printer-name-option): Default to lpr-printer-switch.
3836 (ps-print-region-function): Don't default to nil.
3837 (ps-postscript-code-directory): Simplify default.
3838 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3839 (ps-string-list, ps-eval-switch, ps-flatten-list)
3840 (ps-flatten-list-1): Remove.
3841 (ps-multibyte-buffer): Avoid setq.
3842 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3843 (print-region-function, ps-print-region-function): Don't set them here.
3844
73600831
XF
38452013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3846
0e55c076
XF
3847 * ido.el (ido-fractionp):
3848 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3849 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3850 (ido-max-directory-size, ido-max-dir-file-cache)
3851 (ido-decorations): Doc fix.
3852
73600831
XF
3853 * ansi-color.el: Fix old URL.
3854
3d012865
MM
38552013-07-23 Michael R. Mauger <michael@mauger.com>
3856
e903c210 3857 * progmodes/sql.el: Version 3.3
3d012865
MM
3858 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3859 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3860 (sql-interactive-remove-continuation-prompt): Rewrite, use
3861 functions above. Fix continuation prompt and complete output line
3862 handling.
3863 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3864 redirected output buffer.
3865 (sql-mode): Restore deleted code (Bug#13591).
3866
da77a2e2
JB
38672013-07-23 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3870
80ff0c71
MA
38712013-07-23 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3874
3875 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3876 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3877 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3878
b61d71e4
JB
38792013-07-23 Juanma Barranquero <lekktu@gmail.com>
3880
3881 * desktop.el (desktop-clear): Simplify; remove useless checks
3882 against invalid buffer names.
3883 (desktop-list*): Use cl-list*.
3884 (desktop-buffer-info, desktop-create-buffer): Simplify.
3885
c3512092
LL
38862013-07-23 Leo Liu <sdl.web@gmail.com>
3887
3888 * bookmark.el (bookmark-make-record): Restore NAME as a default
3889 value. (Bug#14933)
3890
0ac26976
SM
38912013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3892
7d22ce18
SM
3893 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3894 extracted from autoload--insert-text.
3895 (autoload--insert-text): Remove.
3896 (autoload--print-cookie-text): New function, extracted from
3897 autoload--insert-cookie-text.
3898 (autoload--insert-cookie-text): Remove.
3899 (autoload-generate-file-autoloads): Adjust calls accordingly.
3900
9b2607e8
SM
3901 * winner.el (winner-hook-installed-p): Remove.
3902 (winner-mode): Simplify accordingly.
3903
c43a8618
SM
3904 * subr.el (add-to-list): Fix compiler-macro when `append' is
3905 not constant. Don't use `cl-member' for the base case.
3906
0ac26976
SM
3907 * progmodes/subword.el: Fix boundary case (bug#13758).
3908 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3909 own group.
3910 (subword-backward-regexp): Make it a constant.
3911 (subword-forward-internal): Don't treat a trailing capital as the
3912 beginning of a word.
3913
6874724a
AR
39142013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3915
3916 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3917 global value of tabulated-list-revert-hook (bug#14930).
3918
70f1b5e8
JB
39192013-07-22 Juanma Barranquero <lekktu@gmail.com>
3920
a1c80d9d
JB
3921 * desktop.el: Require 'cl-lib.
3922 (desktop-before-saving-frames-functions): New hook.
3923 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3924 for frames being saved. Rename from desktop--save-minibuffer-frames.
3925 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3926 Do not save frames with non-nil `desktop-dont-save' parameter.
3927 Filter out deleted frames.
a1c80d9d
JB
3928 (desktop--find-frame): Use cl-find-if.
3929 (desktop--select-frame): Use cl-(first|second|third) to access values
3930 of desktop-mini.
3931 (desktop--make-frame): Use cl-delete-if.
3932 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3933 (desktop-restore-frames): Use cl-(first|second|third) to access values
3934 of desktop-mini. Look for visible frame at the end, not while
3935 restoring frames.
3936
70f1b5e8
JB
3937 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3938 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3939 Use string-match-p, looking-at-p (bug#14927).
3940
728dc3cc
JB
39412013-07-21 Juanma Barranquero <lekktu@gmail.com>
3942
56bc453c
JB
3943 * desktop.el (desktop-saved-frame-states):
3944 Rename from desktop--saved-states; all users changed.
3945 (desktop-save-frames): Rename from desktop--save-frames.
3946 Do not save state to desktop file.
3947 (desktop-save): Save desktop-saved-frame-states to desktop file
3948 and reset to nil.
3949 (desktop-restoring-frames-p): New function.
3950 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3951 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3952 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3953
728dc3cc
JB
3954 * desktop.el: Correctly restore iconified frames.
3955 (desktop--filter-iconified-position): New function.
3956 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3957
862f1c9c
GM
39582013-07-20 Glenn Morris <rgm@gnu.org>
3959
c4074c9f
GM
3960 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3961 Let `message' do the formatting.
3962 (def-gdb-preempt-display-buffer): Add explicit format.
3963
d828e5f9
GM
3964 * image-dired.el (image-dired-track-original-file):
3965 Use with-current-buffer.
3966 (image-dired-track-thumbnail): Use with-current-buffer.
3967 Avoid changing point of wrong window.
3968
862f1c9c
GM
3969 * image-dired.el (image-dired-track-original-file):
3970 Avoid changing point of wrong window. (Bug#14909)
3971
f0398ec1 39722013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3973
3974 * progmodes/gdb-mi.el (gdb-done-or-error):
3975 Guard against "%" in gdb output. (Bug#14127)
3976
1451928f
AS
39772013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3978
763a086d
JB
3979 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3980 (Bug#14826)
f7a03897 3981
1451928f
AS
3982 * international/mule.el (coding-system-iso-2022-flags): Fix last
3983 change.
3984
99107004
KH
39852013-07-20 Kenichi Handa <handa@gnu.org>
3986
763a086d
JB
3987 * international/mule.el (coding-system-iso-2022-flags):
3988 Add `8-bit-level-4'. (Bug#8522)
99107004 3989
48494e06
LMI
39902013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3991
8ba8eec5
LMI
3992 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3993 (bug#14815).
3994
dfbc66e3
LMI
3995 * net/eww.el (eww-process-text-input): Allow inputting when the
3996 point is at the start of the line, as the properties aren't
3997 front-sticky.
3998
48494e06
LMI
3999 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4000 degenerate widths.
4001
77c92cb9
RS
40022013-07-19 Richard Stallman <rms@gnu.org>
4003
aec7da77
RS
4004 * epa.el (epa-popup-info-window): Doc fix.
4005
77c92cb9
RS
4006 * subr.el (split-string): New arg TRIM.
4007
945c5bb1
JB
40082013-07-18 Juanma Barranquero <lekktu@gmail.com>
4009
4010 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4011 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4012
e06ec67f
MA
40132013-07-18 Michael Albinus <michael.albinus@gmx.de>
4014
c7064f05 4015 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4016 `file-notify-support'. Do not autoload. Adapt all uses.
4017 (file-notify-supported-p): New defun.
4018
c7064f05
JB
4019 * autorevert.el (auto-revert-use-notify):
4020 Use `file-notify-supported-p' instead of `file-notify-support'.
4021 Adapt docstring.
e06ec67f
MA
4022 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4023
4024 * net/tramp.el (tramp-file-name-for-operation):
4025 Add `file-notify-supported-p'.
4026
4027 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4028 New defun.
4029 (tramp-sh-file-name-handler-alist): Add it as handler for
4030 `file-notify-supported-p '.
4031
4032 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4033 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4035 Add `ignore' as handler for `file-notify-*' functions.
4036
5dc8a629
EZ
40372013-07-17 Eli Zaretskii <eliz@gnu.org>
4038
4039 * simple.el (line-move-partial, line-move): Don't start vscroll or
4040 scroll-up if the current line is not taller than the window.
4041 (Bug#14881)
4042
77aea2fb
DG
40432013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4044
4045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4046 highlight question marks in the method names as strings.
ac72c08d
DG
4047 (ruby-block-beg-keywords): Inline.
4048 (ruby-font-lock-keyword-beg-re): Extract from
4049 `ruby-font-lock-keywords'.
77aea2fb 4050
18c26d81
JD
40512013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4052
4053 * frame.el (blink-cursor-blinks): New defcustom.
4054 (blink-cursor-blinks-done): New defvar.
4055 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4056 (blink-cursor-timer-function): Check if number of blinks has been
4057 done on X and NS.
4058 (blink-cursor-suspend, blink-cursor-check): New defuns.
4059
da48522e
GM
40602013-07-15 Glenn Morris <rgm@gnu.org>
4061
4062 * edmacro.el (edmacro-format-keys): Fix previous change.
4063
0463c1ef
PE
40642013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4065
4066 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4067 The hack didn't work outside English locales anyway.
4068
b43f6451
JB
40692013-07-15 Juanma Barranquero <lekktu@gmail.com>
4070
4071 * simple.el (define-alternatives): Rename from alternatives-define,
4072 per RMS' suggestion.
4073
b958c0ad
JB
40742013-07-14 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * desktop.el (desktop-restore-frames): Change default to t.
4077 (desktop-restore-in-current-display): Now offer more options.
4078 (desktop-restoring-reuses-frames): New customization option.
4079 (desktop--saved-states): Doc fix.
4080 (desktop-filter-parameters-alist): New variable, renamed and expanded
4081 from desktop--excluded-frame-parameters.
4082 (desktop--target-display): New variable.
4083 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4084 (desktop--filter-tty*, desktop--filter-*-color)
4085 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4086 (desktop--filter-save-desktop-parm)
4087 (desktop-restore-in-original-display-p): New functions.
4088 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4089 (desktop--save-minibuffer-frames): New function, inspired by a similar
4090 function from Martin Rudalics.
4091 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4092 (desktop--restore-in-this-display-p): Remove.
4093 (desktop--find-frame): Rename from desktop--find-frame-in-display
4094 and add predicate argument.
4095 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4096 (desktop--reuse-list): New variable.
4097 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4098 New functions.
4099 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4100
f6dd8b36
MA
41012013-07-14 Michael Albinus <michael.albinus@gmx.de>
4102
4103 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4104
2ce3c565
DG
41052013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4106
763a086d
JB
4107 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4108 Highlight conversion methods on Kernel.
2ce3c565 4109
2cdb7698
AM
41102013-07-13 Alan Mackenzie <acm@muc.de>
4111
4112 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4113 and comment it out. This out-commenting enables certain C++
4114 declarations to be parsed correctly.
4115
1a67b811
EZ
41162013-07-13 Eli Zaretskii <eliz@gnu.org>
4117
1b796d6b
EZ
4118 * international/mule.el (define-coding-system): Doc fix.
4119
1a67b811
EZ
4120 * simple.el (default-font-height): Don't call font-info if the
4121 frame's default font didn't change since the frame was created.
4122 (Bug#14838)
4123
58fbe886
LL
41242013-07-13 Leo Liu <sdl.web@gmail.com>
4125
4126 * ido.el (ido-read-file-name): Guard against non-symbol value.
4127
1f0480d4
FEG
41282013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4129
4130 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4131 in nested defuns.
4132
97ead0e5
LL
41332013-07-13 Leo Liu <sdl.web@gmail.com>
4134
4135 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4136 ido-set-matches call. (Bug#6852)
4137
0880a952
DG
41382013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4139
4140 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4141 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4142 Ruby 2.0.
4143 (ruby-font-lock-keywords): Distinguish calls to functions with
4144 module-like names from module references. Highlight character
4145 literals.
4146
a7d8babb
SDJ
41472013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4148
4149 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4150 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4151
acfcc8c5
JB
41522013-07-12 Juanma Barranquero <lekktu@gmail.com>
4153
4154 * desktop.el (desktop--v2s): Remove unused local variable.
4155 (desktop-save-buffer): Make defvar-local; adjust docstring.
4156 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4157 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4158
051f2775
AS
41592013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4160
4161 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4162
f24e7572
GM
41632013-07-12 Eli Zaretskii <eliz@gnu.org>
4164
4165 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4166 (Bug#14842)
4167
539a920c
GM
41682013-07-12 Glenn Morris <rgm@gnu.org>
4169
4170 * doc-view.el: Require cl-lib at runtime too.
4171 (doc-view-remove-if): Remove.
4172 (doc-view-search-next-match, doc-view-search-previous-match):
4173 Use cl-remove-if.
4174
4175 * edmacro.el: Require cl-lib at runtime too.
4176 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4177 (edmacro-mismatch, edmacro-subseq): Remove.
4178
4179 * shadowfile.el: Require cl-lib.
4180 (shadow-remove-if): Remove.
4181 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4182 Use cl-remove-if.
4183
4184 * wid-edit.el: Require cl-lib.
4185 (widget-choose): Use cl-remove-if.
4186 (widget-remove-if): Remove.
4187
4188 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4189 (ebrowse-delete-if-not): Remove.
4190 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4191 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4192 Use cl-delete-if-not.
4193
1048af7c
JB
41942013-07-12 Juanma Barranquero <lekktu@gmail.com>
4195
4196 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4197 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4198
6c0674ee
LL
41992013-07-12 Leo Liu <sdl.web@gmail.com>
4200
4201 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4202
a19b3c2d
GM
42032013-07-11 Glenn Morris <rgm@gnu.org>
4204
4582a01c
GM
4205 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4206 (edebug-gensym-index, edebug-gensym):
4207 Remove reimplementation of cl-gensym.
4208 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4209
4210 * thumbs.el: Require cl-lib at run-time too.
4211 (thumbs-gensym-counter, thumbs-gensym):
4212 Remove reimplementation of cl-gensym.
4213 (thumbs-temp-file): Use cl-gensym.
4214
a19b3c2d
GM
4215 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4216 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4217 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4218 (ert--union, ert--gensym-counter, ert--gensym-counter)
4219 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4220 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4221 (ert-make-test-unbound, ert--expand-should-1)
4222 (ert--expand-should, ert--should-error-handle-error)
4223 (should-error, ert--explain-equal-rec)
4224 (ert--plist-difference-explanation, ert-select-tests)
4225 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4226 Use cl-lib functions rather than reimplementations.
4227
88f6a933
MA
42282013-07-11 Michael Albinus <michael.albinus@gmx.de>
4229
4230 * net/tramp.el (tramp-methods): Extend docstring.
4231 (tramp-connection-timeout): New defcustom.
4232 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4233 (with-tramp-progress-reporter): Simplify.
4234 (tramp-process-actions): Improve messages.
4235
4236 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4237 * net/tramp-sh.el (tramp-maybe-open-connection):
4238 Use `tramp-connection-timeout'.
4239 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4240 (Bug#14808)
4241
a43d577e
LL
42422013-07-11 Leo Liu <sdl.web@gmail.com>
4243
4244 * ido.el (ido-read-file-name): Conform to the requirements of
4245 read-file-name. (Bug#11861)
4246 (ido-read-directory-name): Conform to the requirements of
4247 read-directory-name.
4248
d77974bf
JB
42492013-07-11 Juanma Barranquero <lekktu@gmail.com>
4250
4251 * subr.el (delay-warning): New function.
4252
35cb8a3e
EZ
42532013-07-10 Eli Zaretskii <eliz@gnu.org>
4254
4255 * simple.el (default-line-height): New function.
4256 (line-move-partial, line-move): Use it instead of computing the
4257 line height inline.
4258 (line-move-partial): Always compute ROWH. If the last line is
4259 partially-visible, but its text is completely visible, allow
4260 cursor to enter such a partially-visible line.
4261
525c5c77
MA
42622013-07-10 Michael Albinus <michael.albinus@gmx.de>
4263
4264 Improve error messages. (Bug#14808)
4265
4266 * net/tramp.el (tramp-current-connection): New defvar, moved from
4267 tramp-sh.el.
0ac26976 4268 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4269 needed anymore.
0ac26976
SM
4270 (tramp-error-with-buffer): Show message in minibuffer.
4271 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4272 (with-tramp-progress-reporter): Improve messages.
4273 (tramp-process-actions): Use progress reporter. Delete process in
4274 case of error. Improve messages.
4275
763a086d
JB
4276 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4277 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4278 (tramp-current-connection): Remove.
525c5c77
MA
4279 (tramp-maybe-open-connection): The car of
4280 `tramp-current-connection' are the first 3 slots of the vector.
4281
c7a4d368
TZ
42822013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4283
4284 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4285 inside continued strings.
4286
954b166e
PE
42872013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4288
4289 Timestamp fixes for undo (Bug#14824).
4290 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4291
56973319
LL
42922013-07-10 Leo Liu <sdl.web@gmail.com>
4293
4294 * files.el (require-final-newline): Allow safe local value.
4295 (Bug#14834)
4296
5550a72c
LL
42972013-07-09 Leo Liu <sdl.web@gmail.com>
4298
4299 * ido.el (ido-read-directory-name): Handle fallback.
4300 (ido-read-file-name): Update DIR to ido-current-directory.
4301 (Bug#1516)
c28b9050 4302 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4303
70c46b28
DG
43042013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4305
4306 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4307 "autoload". Remove "warn lower camel case" section, previously
4308 commented out. Highlight negation char. Do not highlight the
4309 target in singleton method definitions.
4310
0b64b838
SM
43112013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4312
7fd72e2c
SM
4313 * faces.el (tty-setup-hook): Declare the hook.
4314
0b64b838
SM
4315 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4316 and detect when a guard/pred depends on local vars (bug#14773).
4317 (pcase--u1): Adjust caller.
4318
ab49d60b
EZ
43192013-07-08 Eli Zaretskii <eliz@gnu.org>
4320
4321 * simple.el (line-move-partial, line-move): Account for
4322 line-spacing.
701d79aa
EZ
4323 (line-move-partial): Avoid setting vscroll when the last
4324 partially-visible line in window is of default height.
ab49d60b 4325
2d756ae0
LMI
43262013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4327
4328 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4329 been used a while.
4330
ed095bd7
JB
43312013-07-07 Juanma Barranquero <lekktu@gmail.com>
4332
4333 * subr.el (read-quoted-char): Remove unused local variable `char'.
4334
f1e6674b
MK
43352013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4336
584ee3fc
GM
4337 * ediff.el (ediff-version): Version update.
4338 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4339 (ediff-merge-with-ancestor-command, ediff-directories-command)
4340 (ediff-directories3-command, ediff-merge-directories-command)
4341 (ediff-merge-directories-with-ancestor-command): New functions.
4342 All are command-line interfaces to ediff: to facilitate calling
4343 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4344
4345 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4346 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4347
584ee3fc
GM
4348 * viper.el (viper-version): Version update.
4349 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4350
584ee3fc
GM
43512013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4354 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4355 (viper-intercept-ESC-key): Simplify.
4356 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4357 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4358 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4359 (viper-setup-ESC-to-escape): New functions.
4360 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4361 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4362
9aff9b38
EZ
43632013-07-07 Eli Zaretskii <eliz@gnu.org>
4364
5165d44a
JB
4365 * simple.el (default-font-height, window-screen-lines):
4366 New functions.
9aff9b38
EZ
4367 (line-move, line-move-partial): Use them instead of
4368 frame-char-height and window-text-height. This makes scrolling
4369 text smoother when the buffer's default face uses a font that is
4370 different from the frame's default font.
4371
1afb1d07
JD
43722013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4373
4374 * files.el (write-file): Do not display confirm dialog for NS,
4375 it does its own dialog, which can't be cancelled (Bug#14578).
4376
23de972a
EZ
43772013-07-06 Eli Zaretskii <eliz@gnu.org>
4378
4379 * simple.el (line-move-partial): Adjust the row returned by
4380 posn-at-point for the current window-vscroll. (Bug#14567)
4381
54a42486
MA
43822013-07-06 Michael Albinus <michael.albinus@gmx.de>
4383
4384 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4385 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4386 spaces.
4387
34ada5f4
MR
43882013-07-06 Martin Rudalics <rudalics@gmx.at>
4389
4390 * window.el (window-state-put-stale-windows): New variable.
4391 (window--state-put-2): Save list of windows without matching buffer.
4392 (window-state-put): Remove "bufferless" windows if possible.
4393
11e03d89
JB
43942013-07-06 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * simple.el (alternatives-define): Remove leftover :group keyword.
4397 Tweak docstring.
4398
3504a4be
LL
43992013-07-06 Leo Liu <sdl.web@gmail.com>
4400
4401 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4402 (ido-enable-virtual-buffers): New variable.
4403 (ido-buffer-internal, ido-toggle-virtual-buffers)
4404 (ido-make-buffer-list): Use it.
4405 (ido-exhibit): Support turning on and off virtual buffers
4406 automatically.
4407
61e56e2c
JB
44082013-07-06 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * simple.el (alternatives-define): New macro.
4411
321e1a9c
SM
44122013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * subr.el (read-quoted-char): Use read-key.
4415 (sit-for): Let read-event decode tty input (bug#14782).
4416
d610f6dd
SB
44172013-07-05 Stephen Berman <stephen.berman@gmx.net>
4418
4419 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4420 mode command and externally. Fix various related bugs.
4421 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4422 (todo-delete-file): New command.
4423 (todo-check-file): New function.
4424 (todo-show): Handle external deletion of the file we're trying to
4425 show (bug#14688). Replace called-interactively-p by an optional
4426 prefix argument to avoid problematic interaction with catch form
4427 when byte compiled (bug#14702).
4428 (todo-quit): Handle external deletion of the archive's todo file.
4429 Make sure the buffer that was visiting the archive file is still
4430 live before trying to bury it.
4431 (todo-category-completions): Handle external deletion of any
4432 category completion files.
4433 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4434 of todo files, in case of external deletion.
4435 (todo-add-file): Replace unnecessary setq by let-binding.
4436 (todo-find-archive): Check whether there are any archives.
4437 Replace unnecessary setq by let-binding.
4438 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4439 archive buffer whether or not the archive already exists.
4440 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4441 check if the archive is new; if it is, update list of archives.
4442 (todo-default-todo-file): Allow nil to be a valid value for when
4443 there are no todo files.
4444 (todo-reevaluate-default-file-defcustom): Use corrected definition
4445 of todo-default-todo-file.
4446 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4447 (todo-delete-category, todo-show-categories-table)
4448 (todo-category-number): Clarify comment.
4449 (todo-filter-items): Clarify documentation string.
4450 (todo-show-current-file, todo-display-as-todo-file)
4451 (todo-reset-and-enable-done-separator): Tweak documentation string.
4452 (todo-done-separator): Make separator length window-width, since
4453 bug#2749 is now fixed.
4454
ddbdfd6f
MA
44552013-07-05 Michael Albinus <michael.albinus@gmx.de>
4456
321e1a9c
SM
4457 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4458 Support both "gvfs-monitor-dir" and "inotifywait".
4459 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4460 `tramp-sh-file-notify-process-filter'.
4461 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4462 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4463
96eb829a
LL
44642013-07-05 Leo Liu <sdl.web@gmail.com>
4465
4466 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4467
cf13177e
YM
44682013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4469
4470 * frame.el (display-pixel-height, display-pixel-width)
4471 (display-mm-height, display-mm-width): Mention behavior on
4472 multi-monitor setups in docstrings.
4473 (w32-display-monitor-attributes-list): Declare function.
4474 (display-monitor-attributes-list): Use it.
4475
864c58ca
MA
44762013-07-04 Michael Albinus <michael.albinus@gmx.de>
4477
4478 * filenotify.el: New package.
4479
4480 * autorevert.el (top): Require filenotify.el.
4481 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4482 instead.
4483 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4484 (auto-revert-notify-handler): Use `file-notify-*' functions.
4485
4486 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4487
321e1a9c
SM
4488 * net/tramp.el (tramp-file-name-for-operation):
4489 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4490
4491 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4492 for `file-notify-add-watch' and `file-notify-rm-watch'.
4493 (tramp-process-sentinel): Improve trace.
4494 (tramp-sh-handle-file-notify-add-watch)
4495 (tramp-sh-file-notify-process-filter)
4496 (tramp-sh-handle-file-notify-rm-watch)
4497 (tramp-get-remote-inotifywait): New defuns.
4498
96673afe
JL
44992013-07-03 Juri Linkov <juri@jurta.org>
4500
4501 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4502 call of `occur-read-primary-args' to interactive spec.
4503
4504 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4505 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4506
924494f4
MM
45072013-07-03 Matthias Meulien <orontee@gmail.com>
4508
4509 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4510 `Buffer-menu-multi-occur'. Add it to the menu.
4511 (Buffer-menu-mode): Document it in docstring.
4512 (Buffer-menu-multi-occur): New command. (Bug#14673)
4513
56f75efc
DG
45142013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4515
4516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4517 keywords and built-ins.
4518
9b057d61
GM
45192013-07-03 Glenn Morris <rgm@gnu.org>
4520
208dee4d
GM
4521 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4522
9b057d61
GM
4523 Make info-xref checks case-sensitive by default
4524 * info.el (Info-find-node, Info-find-in-tag-table)
4525 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4526 Add option for exact case matching of nodes.
4527 * info-xref.el (info-xref): New custom group.
4528 (info-xref-case-fold): New option.
4529 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4530
e01aa29c
LL
45312013-07-03 Leo Liu <sdl.web@gmail.com>
4532
4533 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4534
3086ca2e
DG
45352013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4536
4537 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4538 middle of block statement initially, lower the depth. Remove
4539 FIXME comment, not longer valid. Remove middle of block statement
4540 detection, no need to do that anymore since we've been using
4541 `ruby-parse-region' here.
4542
a3b49114
JD
45432013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4544
4545 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4546
08e5c823 45472013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4548
4549 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4550
2addf922
JB
45512013-07-01 Juanma Barranquero <lekktu@gmail.com>
4552
4553 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4554 (desktop-restore-in-current-display): New customization option.
4555 (desktop--excluded-frame-parameters): Add `font'.
4556 (desktop--save-frames): Rename from desktop--save-windows.
4557 (desktop--restore-in-this-display-p): New function.
4558 (desktop--make-full-frame): Remove unwanted width/height from
4559 full(width|height) frames.
4560 (desktop--restore-frames): Rename from desktop--restore-windows.
4561 Obey desktop-restore-current-display. Do not delete old frames or
4562 select a new frame unless we were able to restore at least one frame.
4563
ef099a94
MN
45642013-06-30 Michal Nazarewicz <mina86@mina86.com>
4565
4566 * files.el (find-file-noselect): Simplify conditional expression.
4567
4568 * remember.el (remember-append-to-file):
4569 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4570
4571 Add `remember-notes' function to store random notes across Emacs
4572 restarts.
4573 * remember.el (remember-data-file): Add :set callback to affect
4574 notes buffer (if any).
4575 (remember-notes): New command.
4576 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4577 New defcustoms for the `remember-notes' function.
4578 (remember-notes-save-and-bury-buffer): New command.
4579 (remember-notes-mode-map): New variable.
4580 (remember-mode): New minor mode.
4581 (remember-notes--kill-buffer-query): New function.
4582 * startup.el (initial-buffer-choice): Add notes to custom type.
4583
0865d506
EZ
45842013-06-30 Eli Zaretskii <eliz@gnu.org>
4585
0ba54312
EZ
4586 * bindings.el (right-char, left-char): Don't call sit-for, this is
4587 no longer needed. Use arithmetic comparison only for numerical
4588 arguments.
4589
ef099a94
MN
4590 * international/mule-cmds.el (select-safe-coding-system):
4591 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4592
2fae38e5
LMI
45932013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4594
4595 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4596 progression on degenerate tables.
ef099a94 4597 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4598
a47cbd64
JB
45992013-06-30 Juanma Barranquero <lekktu@gmail.com>
4600
4601 Some fixes and improvements for desktop frame restoration.
4602 It is still experimental and disabled by default.
4603 * desktop.el (desktop--save-windows): Put the selected frame at
4604 the head of the list.
4605 (desktop--make-full-frame): New function.
4606 (desktop--restore-windows): Try to re-select the frame that was
4607 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4608 just show an error message and continue. Set up maximized frames
4609 so they have default non-maximized dimensions.
a47cbd64 4610
6dbafa30
DG
46112013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4612
ef099a94
MN
4613 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4614 Don't start heredoc inside a string or comment.
6dbafa30 4615
4c672a0f
EZ
46162013-06-29 Eli Zaretskii <eliz@gnu.org>
4617
4618 * bindings.el (visual-order-cursor-movement): New defcustom.
4619 (right-char, left-char): Provide visual-order cursor motion by
4620 calling move-point-visually. Update the doc strings.
4621
50960f36
KH
46222013-06-28 Kenichi Handa <handa@gnu.org>
4623
4624 * international/mule.el (define-coding-system): New coding system
4625 properties :inhibit-null-byte-detection,
4626 :inhibit-iso-escape-detection, and :prefer-utf-8.
4627 (set-buffer-file-coding-system): If :charset-list property of
4628 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4629 appropriate for setting.
4630
c1ea3abf
JB
4631 * international/mule-cmds.el (select-safe-coding-system):
4632 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4633 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4634
4635 * international/mule-conf.el (prefer-utf-8): New coding system.
4636 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4637 files.
4638
75dbaf9d
IK
46392013-06-28 Ivan Kanis <ivan@kanis.fr>
4640
eadb6068
IK
4641 * net/shr.el (shr-render-region): New function.
4642
75dbaf9d
IK
4643 * net/eww.el: Autoload `eww-browse-url'.
4644
9ea5cf9f
DG
46452013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4646
c1ea3abf
JB
4647 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4648 Adapt to `package-desc-version' being a list.
4649 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4650 archive element.
4651
39c0e36f
JB
46522013-06-27 Juanma Barranquero <lekktu@gmail.com>
4653
4654 New experimental feature to save&restore window and frame setup.
4655 * desktop.el (desktop-save-windows): New defcustom.
4656 (desktop--saved-states): New var.
4657 (desktop--excluded-frame-parameters): New defconst.
4658 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4659 (desktop--restore-windows, desktop--save-windows): New functions.
4660 (desktop-save): Call `desktop--save-windows'.
4661 (desktop-read): Call `desktop--restore-windows'.
4662
7f13406b
LMI
46632013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4664
ef099a94 4665 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4666
1e072639
SB
46672013-06-27 Stephen Berman <stephen.berman@gmx.net>
4668
4669 * info.el (Info-try-follow-nearest-node): Move search for footnote
4670 above search for node name to prevent missing a footnote (bug#14717).
4671
f3e2cbde
SB
46722013-06-27 Stephen Berman <stephen.berman@gmx.net>
4673
4674 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4675
99906aa0
LL
46762013-06-27 Leo Liu <sdl.web@gmail.com>
4677
4678 * net/eww.el (eww-read-bookmarks): Check file size.
4679
539f75f4
SM
46802013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4683 advice--pending if newdef is nil or an autoload (bug#13820).
4684 (advice-mapc): New function.
4685
843571cb
LMI
46862013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4687
4688 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4689 probably.
23a75d7f 4690 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4691 (eww-add-bookmark): New command.
4692 (eww-bookmark-mode): New mode and commands.
a285ce99 4693 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4694 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4695
f2136e1e
GM
46962013-06-26 Glenn Morris <rgm@gnu.org>
4697
eab35f39
GM
4698 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4699 (hfy-size): Handle ttys. (Bug#14668)
4700
f2136e1e
GM
4701 * info-xref.el: Update for Texinfo 5 change in *note format.
4702 (info-xref-node-re, info-xref-note-re): New constants.
4703 (info-xref-check-buffer): Use info-xref-note-re.
4704
a49ff80c
SM
47052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4706
a343d218
SM
4707 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4708
a49ff80c
SM
4709 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4710 nil terminate the loop (bug#14718).
4711
8308f184
LMI
47122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4713
4714 * net/eww.el: Rework history traversal. When going forward/back,
4715 put these actions into the history, too, so that they can be
4716 replayed.
26bf2b82 4717 (eww-render): Move the history reset to the correct buffer.
8308f184 4718
ec64c273
JL
47192013-06-25 Juri Linkov <juri@jurta.org>
4720
4721 * files-x.el (modify-dir-local-variable): Change the header comment
4722 in the file with directory local variables. (Bug#14692)
4723
e080a9d7
JL
4724 * files-x.el (read-file-local-variable-value): Add `default'.
4725 (Bug#14710)
4726
bfbc93a1
IK
47272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4728
4729 * net/eww.el (eww-make-unique-file-name): Create a unique file
4730 name before saving to entering `y' accidentally asynchronously.
4731
47322013-06-25 Ivan Kanis <ivan@kanis.fr>
4733
4734 * net/eww.el (eww-download): New command and keystroke.
4735
16f74f10
LMI
47362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4737
a49ff80c 4738 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4739
4740 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4741 be more consistent with Info and dired.
4742
4743 * net/eww.el (eww-mode-map): Ditto.
4744
12059709
SM
47452013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4748 packages from archives.
4749 (package-archive-contents): Change format; include obsolete packages.
4750 (package-desc): Use `dir' to mark builtin packages.
4751 (package--from-builtin): Set the `dir' field to `builtin'.
4752 (generated-autoload-file, version-control): Declare.
4753 (package-compute-transaction): Change first arg and return value to be
4754 lists of package-descs. Adjust to new package-archive-contents format.
4755 (package--add-to-archive-contents): Adjust to new
4756 package-archive-contents format.
4757 (package-download-transaction): Arg is now a list of package-descs.
4758 (package-install): If `pkg' is a package name, pass it as
4759 a requirement, so it is subject to the usual (e.g. disabled) checks.
4760 (describe-package): Accept package-desc as well.
4761 (describe-package-1): Describe a specific package-desc. Add links to
4762 other package-descs for the same package name.
4763 (package-menu-describe-package): Pass the actual package-desc.
4764 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4765 works correctly.
4766 (package-desc-status): New function.
4767 (package-menu--refresh): New function, extracted
4768 from package-menu--generate.
4769 (package-menu--generate): Use it.
4770 (package-delete): Update package-alist.
4771 (package-menu-execute): Don't call package-initialize.
4772
4773 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4774 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4775 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4776 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4777 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4778 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4779
8bbdea0f
MR
47802013-06-25 Martin Rudalics <rudalics@gmx.at>
4781
4782 * window.el (window--state-get-1): Workaround for bug#14527.
4783 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4784
e82b0991
LMI
47852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4786
4787 * net/eww.el (eww-back-url): Implement the history by stashing all
4788 the data into a list.
d3f0f918 4789 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4790
c763842b
SM
47912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4792
4793 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4794 for values and use read--expression for expressions (bug#14710).
4795 (read-file-local-variable): Avoid setq.
4796 (read-file-local-variable-mode): Use minor-mode-list.
4797
bceff189
RW
47982013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4799
864c58ca 4800 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4801 for DOI URLs.
4802
45f431c6
RW
48032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4804
864c58ca 4805 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4806 Update imenu-support when dialect changes.
4807
f42d8237
LL
48082013-06-25 Leo Liu <sdl.web@gmail.com>
4809
4810 * ido.el (ido-read-internal): Allow forward slash on windows.
4811
be549ce6
LMI
48122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
4814 * net/eww.el (eww): Start of strings is \\`, not ^.
4815
71d4c19d
IK
48162013-06-24 Ivan Kanis <ivan@kanis.fr>
4817
5196f88a
IK
4818 * net/shr.el (shr-browse-url): Fix interactive spec.
4819
71d4c19d
IK
4820 * net/eww.el (eww): Add a trailing slash to domain names.
4821
ae36ca55
JB
48222013-06-24 Juanma Barranquero <lekktu@gmail.com>
4823
4824 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4825
0ebd92a3
LMI
48262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4827
bdaa086b
LMI
4828 * net/shr.el (shr-browse-url): Use an external browser if given a
4829 prefix.
4830
c763842b 4831 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4832
b89fc156
IK
48332013-06-24 Ivan Kanis <ivan@kanis.fr>
4834
4835 * net/eww.el (eww): Work more correctly for file: URLs.
4836 (eww-detect-charset): Allow quoted charsets.
4837 (eww-yank-page-url): New command and keystroke.
4838
18eb4bca
DU
48392013-06-24 Daiki Ueno <ueno@gnu.org>
4840
4841 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4842 file name of gpg executable.
4843 (epg-context-program): New function.
4844 (epg-context-home-directory): New function.
4845 (epg-context-set-program): New function.
4846 (epg-context-set-home-directory): New function.
4847 (epg--start): Use `epg-context-program' instead of
4848 'epg-gpg-program'.
4849 (epg--list-keys-1): Likewise.
4850
6c6268c8
LL
48512013-06-24 Leo Liu <sdl.web@gmail.com>
4852
4853 * ido.el (ido-read-internal): Fix bug#14620.
4854
5e400cb3
JB
48552013-06-23 Juanma Barranquero <lekktu@gmail.com>
4856
4857 * faces.el (face-documentation): Simplify.
4858 (read-face-attribute, tty-find-type, x-resolve-font-name):
4859 Use `string-match-p'.
4860 (list-faces-display): Use `string-match-p'. Simplify.
4861 (face-spec-recalc): Check face to avoid face alias loops.
4862 (read-color): Use `string-match-p' and non-capturing parenthesis.
4863
f3f9606c
LMI
48642013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865
4866 * net/shr.el (shr-rescale-image): Use the new
4867 :max-width/:max-height functionality.
4868
a3ca09b9
IK
48692013-06-23 Ivan Kanis <ivan@kanis.fr>
4870
4871 * net/eww.el (eww-search-prefix): New variable.
4872 (eww): Use it.
f865b474
IK
4873 (eww-external-browser): New variable.
4874 (eww-mode-map): New keystroke.
4875 (eww-browse-with-external-browser): New command.
a3ca09b9 4876
e854cfc7
IK
4877 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4878
18bb9e21
JB
48792013-06-23 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4882 Don't skip aligning the next header field when padding is 0;
4883 otherwise, field width is not respected unless the title is as
4884 wide as the field.
4885
5b165ade
SM
48862013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * emacs-lisp/package.el (package-el-version): Remove.
4889 (package-process-define-package): Fix inf-loop.
4890 (package-install): Allow symbols as arguments again.
4891
12adebe9
DG
48922013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4893
4894 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4895 add some more keyword-like methods.
4896 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4897
388573ee
JB
48982013-06-22 Juanma Barranquero <lekktu@gmail.com>
4899
4900 * bs.el (bs-buffer-show-mark): Make defvar-local.
4901 (bs-mode): Use setq-local.
4902
4903 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4904 (emacs-lock--try-unlocking): Make defvar-local.
4905
4582a01c 49062013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4907
2663dd23
GM
4908 * play/cookie1.el (cookie-apropos): Minor simplification.
4909
3d94f3ad
GM
4910 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4911
f72e2fdb
DG
49122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4913
4914 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4915 `regexp-opt', it breaks the build during dumping.
4916
73eab938
DG
49172013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4918
c763842b
SM
4919 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4920 Highlight keyword-like methods on Kernel and Module with
73eab938 4921 font-lock-builtin-face.
5cf8176d
DG
4922 (auto-mode-alist): Consolidate different entries into one regexp
4923 and add more *file-s.
73eab938 4924
d26255f6
SB
49252013-06-21 Stephen Berman <stephen.berman@gmx.net>
4926
4927 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4928
4929 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4930 (diary-entry): Use it in the action of this button type instead of
4931 diary-goto-entry.
4932
4933 * calendar/todo-mode.el: New version.
4934 (todo-add-category): Append new category to end of file and give
4935 it the highest number, instead of putting it at the beginning and
4936 giving it 0. Incorporate noninteractive functionality.
4937 (todo-forward-category): Adapt to 1-based category numbering.
4938 Allow skipping over archived categories.
4939 (todo-backward-category): Derive from todo-forward-category.
4940 (todo-backward-item, todo-forward-item): Make noninteractive and
4941 delegate interactive part to new commands. Make sensitive to done items.
4942 (todo-categories): Make value an alist of category names and
4943 vectors of item counts.
4944 (todo-category-beg): Make a defconst.
4945 (todo-category-number): Use 1 instead of 0 as initial value.
4946 (todo-category-select): Make sensitive to overlays, optional item
4947 highlighting and done items.
4948 (todo-delete-item): Make sensitive to overlays and marked and done items.
4949 (todo-edit-item): Make sensitive to overlays and editing of
4950 date/time header optional. Add format checks.
4951 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4952 no-op if point is not on an item. Advertise using todo-edit-quit.
4953 (todo-edit-mode): Make sensitive to new format, font-locking, and
4954 multiple todo files.
4955 (todo-insert-item, todo-insert-item-here): Derive from
4956 todo-basic-insert-item and extend functionality.
4957 (todo-item-end, todo-item-start): Make sensitive to done items.
4958 (todo-item-string): Don't return text properties. Restore point.
4959 (todo-jump-to-category): Make sensitive to multiple todo files and
4960 todo archives. Use extended category completion.
4961 (todo-lower-item, todo-raise-item): Rename to *-priority and
4962 derive from todo-set-item-priority.
4963 (todo-mode): Derive from special-mode. Make sensitive to new
4964 format, font-locking and multiple todo files. Make read-only.
4965 (todo-mode-map): Don't suppress digit keys, so they can supply
4966 prefix arguments. Add many new key bindings.
4967 (todo-prefix): Insert as an overlay instead of file text.
4968 Change semantics from diary date expression to purely visual mark.
4969 (todo-print): Rename to todo-print-buffer. Make buffer display
4970 features printable. Remove option to restrict number of items
4971 printed. Add option to print to file.
4972 (todo-print-function): Rename to todo-print-buffer-function.
4973 (todo-quit): Extend to handle exiting new todo modes.
4974 (todo-remove-item): Make sensitive to overlays.
4975 (todo-save): Extend to buffers of filtered items.
4976 (todo-show): Make sensitive to done items, multiple todo files and
4977 new todo modes. Offer to convert legacy todo file before creating
4978 first new todo file.
4979 (todo-show-priorities): Rename to todo-top-priorities.
4980 Change semantics of value 0.
4981 (todo-top-priorities): Rename to todo-filter-top-priorities,
4982 derive from todo-filter-items and extend functionality.
4983 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4984 and extend functionality to other types of filtered items.
4985 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4986 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4987 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4988 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4989 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4990 (todo-edit-mode-hook, todo-entry-prefix-function)
4991 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4992 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4993 (todo-initials, todo-insert-threshold, todo-item-string-start)
4994 (todo-line-string, todo-menu, todo-mode-hook)
4995 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4996 (todo-print-priorities, todo-remove-separator)
4997 (todo-save-top-priorities-too, todo-string-count-lines)
4998 (todo-string-multiline-p, todo-time-string-format)
4999 (todo-tmp-buffer-name): Remove.
5000 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5001 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5002 (todo-edit-category-diary-inclusion)
5003 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5004 (todo-edit-file, todo-edit-item-date-day)
5005 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5006 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5007 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5008 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5009 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5010 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5011 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5012 (todo-filter-top-priorities-multifile, todo-find-archive)
5013 (todo-find-filtered-items-file, todo-go-to-source-item)
5014 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5015 (todo-jump-to-archive-category, todo-lower-category)
5016 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5017 (todo-move-category, todo-move-item, todo-next-button)
5018 (todo-next-item, todo-padded-string, todo-powerset)
5019 (todo-previous-button, todo-previous-item)
5020 (todo-print-buffer-to-file, todo-raise-category)
5021 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5022 (todo-set-category-number, todo-set-item-priority)
5023 (todo-set-top-priorities-in-category)
5024 (todo-set-top-priorities-in-file, todo-show-categories-table)
5025 (todo-sort-categories-alphabetically-or-numerically)
5026 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5027 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5028 (todo-toggle-item-header, todo-toggle-item-highlighting)
5029 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5030 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5031 (todo-unarchive-items, todo-unmark-category): New commands.
5032 (todo-absolute-file-name, todo-add-to-buffer-list)
5033 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5034 (todo-basic-insert-item, todo-category-completions)
5035 (todo-category-number, todo-category-string-matcher-1)
5036 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5037 (todo-check-format, todo-clear-matches)
5038 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5039 (todo-current-category, todo-date-string-matcher)
5040 (todo-define-insertion-command, todo-diary-expired-matcher)
5041 (todo-diary-goto-entry, todo-diary-item-p)
5042 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5043 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5044 (todo-done-item-section-p, todo-done-separator)
5045 (todo-done-string-matcher, todo-files, todo-filter-items)
5046 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5047 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5048 (todo-insert-category-line, todo-insert-item-from-calendar)
5049 (todo-insert-sort-button, todo-insert-with-overlays)
5050 (todo-insertion-command-name, todo-insertion-key-bindings)
5051 (todo-label-to-key, todo-longest-category-name-length)
5052 (todo-make-categories-list, todo-mode-external-set)
5053 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5054 (todo-modes-set-3, todo-multiple-filter-files)
5055 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5056 (todo-read-category, todo-read-date, todo-read-dayname)
5057 (todo-read-file-name, todo-read-time)
5058 (todo-reevaluate-category-completions-files-defcustom)
5059 (todo-reevaluate-default-file-defcustom)
5060 (todo-reevaluate-filelist-defcustoms)
5061 (todo-reevaluate-filter-files-defcustom)
5062 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5063 (todo-reset-done-separator, todo-reset-done-separator-string)
5064 (todo-reset-done-string, todo-reset-global-current-todo-file)
5065 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5066 (todo-reset-prefix, todo-set-categories)
5067 (todo-set-date-from-calendar, todo-set-show-current-file)
5068 (todo-set-top-priorities, todo-short-file-name)
5069 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5070 (todo-total-item-counts, todo-update-buffer-list)
5071 (todo-update-categories-display, todo-update-categories-sexp)
5072 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5073 New functions.
5074 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5075 New major modes.
5076 (todo-categories, todo-display, todo-edit, todo-faces)
5077 (todo-filtered): New defgroups.
5078 (todo-archived-only, todo-button, todo-category-string, todo-date)
5079 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5080 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5081 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5082 (todo-add-item-if-new-category, todo-always-add-time-string)
5083 (todo-categories-align, todo-categories-archived-label)
5084 (todo-categories-category-label, todo-categories-diary-label)
5085 (todo-categories-done-label, todo-categories-number-separator)
5086 (todo-categories-todo-label, todo-categories-totals-label)
5087 (todo-category-completions-files, todo-completion-ignore-case)
5088 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5089 (todo-done-separator-string, todo-done-string)
5090 (todo-files-function, todo-filter-done-items, todo-filter-files)
5091 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5092 (todo-initial-category, todo-initial-file, todo-item-mark)
5093 (todo-legacy-date-time-regexp, todo-mode-line-function)
5094 (todo-nondiary-marker, todo-number-prefix)
5095 (todo-print-buffer-function, todo-show-current-file)
5096 (todo-show-done-only, todo-show-first, todo-show-with-done)
5097 (todo-skip-archived-categories, todo-top-priorities-overrides)
5098 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5099 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5100 New defcustoms.
5101 (todo-category-done, todo-date-pattern, todo-date-string-start)
5102 (todo-diary-items-buffer, todo-done-string-start)
5103 (todo-filtered-items-buffer, todo-item-start)
5104 (todo-month-abbrev-array, todo-month-name-array)
5105 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5106 (todo-top-priorities-buffer): New defconsts.
5107 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5108 (todo-categories-with-marks, todo-category-string-face)
5109 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5110 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5111 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5112 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5113 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5114 (todo-font-lock-keywords, todo-global-current-todo-file)
5115 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5116 (todo-insertion-commands-args)
5117 (todo-insertion-commands-args-genlist)
5118 (todo-insertion-commands-names, todo-insertion-map)
5119 (todo-key-bindings-t, todo-key-bindings-t+a)
5120 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5121 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5122 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5123 (todo-visited): New variables.
5124
cad5d1cb
GM
51252013-06-21 Glenn Morris <rgm@gnu.org>
5126
5127 * play/cookie1.el (cookie-apropos): Add optional display argument.
5128 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5129 (psychoanalyze-pinhead): Use cookie-doctor.
5130
9e277302
JB
51312013-06-21 Juanma Barranquero <lekktu@gmail.com>
5132
5133 * emacs-lisp/package.el (tar-get-file-descriptor)
5134 (tar--extract): Declare.
5135
c5b0993e
EW
51362013-06-21 Eduard Wiebe <usenet@pusto.de>
5137
5138 Extend flymake's warning predicate to be a function (bug#14217).
5139 * progmodes/flymake.el (flymake-warning-predicate): New.
5140 (flymake-parse-line): Use it.
5141 (flymake-warning-re): Make obsolete alias to
5142 `flymake-warning-predicate'.
5143
a7d2d465
SM
51442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5147 (package-obsolete-list): Remove.
5148 (package-activate): Remove min-version argument. Add `force' argument.
5149 Adjust to new package-alist format.
5150 (package-mark-obsolete): Remove.
5151 (package-unpack): Force reload of the package's autoloads.
5152 (package-installed-p): Check builtins if the installed package is not
5153 recent enough.
5154 (package-initialize): Don't reset package-obsolete-list.
5155 Don't specify which package version to activate.
5156 (package-process-define-package, describe-package-1)
5157 (package-menu--generate): Adjust to new package-alist format.
5158
cedf5c9d
JB
51592013-06-21 Juanma Barranquero <lekktu@gmail.com>
5160
5161 * allout-widgets.el (allout-widgets-mode-off)
5162 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5163 (allout-widgets-post-command-business)
5164 (allout-widgets-after-copy-or-kill-function)
5165 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5166 (allout-decorate-item-and-context)
5167 (allout-graphics-modification-handler): Fix typos in docstrings.
5168 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5169
5170 * cmuscheme.el (scheme-start-file): Doc fix.
5171 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5172 (scheme-input-filter): Use `string-match-p'.
5173
5174 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5175
5176 * dired-x.el: Use Dired consistently in docstrings.
5177
5178 * dired.el: Use Dired consistently in docstrings.
5179 (dired-readin, dired-mode): Use `setq-local'.
5180 (dired-switches-alist): Make defvar-local.
5181 (dired-buffers-for-dir): Use `zerop'.
5182 (dired-safe-switches-p, dired-switches-escape-p)
5183 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5184 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5185 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5186 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5187 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5188 (dired-toggle-marks, dired-mark-files-containing-regexp)
5189 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5190 (dired-flag-auto-save-files, dired-flag-backup-files):
5191 Use `looking-at-p'.
5192 (dired-mark-files-regexp, dired-build-subdir-alist):
5193 Use `string-match-p', `looking-at-p'.
5194
5195 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5196 (direct-print-region-helper): Use `string-match-p'.
5197
aed838b5
LL
51982013-06-21 Leo Liu <sdl.web@gmail.com>
5199
cedf5c9d
JB
5200 * comint.el (comint-redirect-results-list-from-process):
5201 Fix infinite loop.
aed838b5 5202
d80a808f
LMI
52032013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5204
5205 * net/eww.el (eww-update-header-line-format): Quote % characters.
5206
e7a526e3
GM
52072013-06-21 Glenn Morris <rgm@gnu.org>
5208
5209 * play/cookie1.el (cookie): New custom group.
5210 (cookie-file): New option.
5211 (cookie-check-file): New function.
5212 (cookie): Make it interactive. Make start and end messages optional.
5213 Interactively, display the result. Default to cookie-file.
5214 (cookie-insert): Default to cookie-file.
5215 (cookie-snarf): Make start and end messages optional.
5216 Default to cookie-file. Use with-temp-buffer.
5217 (cookie-read): Rename from read-cookie.
5218 Make start and end messages optional. Default to cookie-file.
5219 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5220 Do not autoload it.
e7a526e3
GM
5221 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5222 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5223
62efb35e
LL
52242013-06-21 Leo Liu <sdl.web@gmail.com>
5225
5226 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5227
21e3f963
GM
52282013-06-21 Glenn Morris <rgm@gnu.org>
5229
5230 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5231
fd846ab4
SM
52322013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5233 Daniel Hackney <dan@haxney.org>
5234
5235 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5236 Consolidate the single-file vs tarball code.
5237 (package-desc-suffix): New function.
5238 (package-desc-full-name): Don't bother inlining it.
5239 (package-load-descriptor): Return the new package-desc.
5240 (package-mark-obsolete): Remove unused arg `package'.
5241 (package-unpack): Make it work for single files as well.
5242 Make it update package-alist.
5243 (package--make-autoloads-and-stuff): Rename from
5244 package--make-autoloads-and-compile. Don't compile any more.
5245 (package--compile): New function.
5246 (package-generate-description-file): New function, extracted from
5247 package-unpack-single.
5248 (package-unpack-single): Remove.
5249 (package--with-work-buffer): Add indentation and debugging info.
5250 (package-download-single): Remove.
5251 (package-install-from-archive): Rename from package-download-tar, make
5252 it take a pkg-desc, and make it work for single files as well.
5253 (package-download-transaction): Simplify.
5254 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5255 external tar program.
5256 (package-install-from-buffer): Remove `pkg-desc' argument.
5257 Use package-tar-file-info for tar-mode buffers.
5258 (package-install-file): Simplify accordingly.
5259 (package-archive-base): Change to take a pkg-desc.
5260 * tar-mode.el (tar--check-descriptor): New function, extracted from
5261 tar-get-descriptor.
5262 (tar-get-descriptor): Use it.
5263 (tar-get-file-descriptor): New function.
5264 (tar--extract): New function, extracted from tar-extract.
5265 (tar--extract): Use it.
5266 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5267 case the summary uses non-ascii. Adjust to new calling convention of
5268 package-tar-file-info.
5269
b7deae5e
LL
52702013-06-21 Leo Liu <sdl.web@gmail.com>
5271
fd846ab4
SM
5272 * comint.el (comint-redirect-results-list-from-process):
5273 Fix random delay. (Bug#14681)
b7deae5e 5274
7a65a0b2
JB
52752013-06-21 Juanma Barranquero <lekktu@gmail.com>
5276
5277 * profiler.el (profiler-format-number): Use log, not log10.
5278
1493c2af
JB
52792013-06-20 Juanma Barranquero <lekktu@gmail.com>
5280
5281 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5282
aff6371e
SM
52832013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5286 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5287 yet available.
5288 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5289 (AUTOGENEL): ... here.
5290 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5291 (cl--defsubst-expand): Use it.
5292
89561f72
PE
52932013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5294
5295 * subr.el (log10): Move here from C code, and declare as obsolete.
5296 All uses of (log10 X) replaced with (log X 10).
5297
47199123
JB
52982013-06-20 Juanma Barranquero <lekktu@gmail.com>
5299
5300 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5301 Declare with `defvar-local'.
5302 (tabulated-list-use-header-line, tabulated-list-entries)
5303 (tabulated-list-padding, tabulated-list-printer)
5304 (tabulated-list-sort-key): Declare with `defvar-local'.
5305 (tabulated-list-init-header, tabulated-list-print-fake-header):
5306 Use `setq-local'.
5307
4a172eab
MA
53082013-06-20 Michael Albinus <michael.albinus@gmx.de>
5309
47199123
JB
5310 * arc-mode.el (archive-mode): Add `archive-write-file' to
5311 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5312
5fc0acc0
JB
53132013-06-20 Juanma Barranquero <lekktu@gmail.com>
5314
d5b27848
JB
5315 * cus-edit.el (custom-commands): Fix typos.
5316 (custom-display): Fix tooltip text.
5317 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5318 Fix typos in docstrings.
5319 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5320 (custom-unlispify-menu-entry, custom-magic-value-create)
5321 (custom-add-see-also, custom-group-value-create): Use ?\s.
5322 (custom-guess-type, customize-apropos, editable-field)
5323 (custom-face-value-create): Use `string-match-p'.
5324 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5325
5326 * custom.el (custom-load-symbol): Use `string-match-p'.
5327
a5c581d8
JB
5328 * ansi-color.el: Convert to lexical binding.
5329 (ansi-colors): Fix URL.
5330 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5331 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5332 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5333
970ad972
G
53342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5335
5336 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5337
5338 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5339
53402013-06-19 Tom Tromey <tromey@redhat.com>
5341
5342 * net/eww.el (eww-top-url): Remove.
5343 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5344 (eww-render): Set new variables. Don't set eww-top-url.
5345 (eww-handle-link): Handle "prev", "home", and "contents".
5346 Downcase the rel text.
5347 (eww-top-url): Choose best top URL.
5348
53492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5350
5351 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5352 relying in widget.el. Using widget.el leads to too many
5353 user interface inconsistencies.
5354 (eww-self-insert): Implement entering commands in text fields.
5355 (eww-process-text-input): New function to make text input field editing
5356 work.
5357 (eww-submit): Rewrite to use the new-style form methods.
5358 (eww-select-display): Display the correct selected item.
5359 (eww-change-select): Implement changing the select value.
5360 (eww-toggle-checkbox): Implement radio/checkboxes.
5361 (eww-update-field): Fix compilation error.
5362 (eww-tag-textarea): Implement <textarea>.
5363
5364 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5365 we don't shadow mode-specific bindings.
5366
5367 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5368 nothing to push.
5369
5370 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5371
4582a01c 53722013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5373
5374 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5375
15b263dc
MA
53762013-06-19 Michael Albinus <michael.albinus@gmx.de>
5377
5378 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5379 not needed.
5380
5381 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5382
8f5297f7
LMI
53832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5384
5385 * net/browse-url.el (browse-url-browser-function):
5386 `eww-browse-url' has the right calling signature, `eww' does not.
5387
011c4552
GM
53882013-06-19 Glenn Morris <rgm@gnu.org>
5389
2285bd27
GM
5390 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5391 Only eval autoloaded macros.
5392 (byte-compile-autoload): Only give the macro warning for macros.
5393
1d653303
GM
5394 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5395 (ps-underlined-faces): Declare.
5396
bdd779ec
GM
5397 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5398 (speedbar-add-supported-extension): Declare.
5399
011c4552
GM
5400 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5401 Don't include a date stamp in the header of the generated file;
5402 it leads to needless differences between output files.
5403
e59dfb0e
MA
54042013-06-19 Michael Albinus <michael.albinus@gmx.de>
5405
c763842b
SM
5406 * net/secrets.el (secrets-struct-secret-content-type):
5407 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5408 Some servers do not offer introspection.
e59dfb0e 5409
102626e2
SM
54102013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * electric.el (electric-pair-mode): Improve interaction with
5413 electric-layout-mode.
5414 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5415 (electric-pair-syntax): Use text-mode-syntax-table in comments
5416 and strings.
5417 (electric-pair--insert): New function.
5418 (electric-pair-post-self-insert-function): Use it and
5419 electric--after-char-pos.
5420
ad528125
LL
54212013-06-19 Leo Liu <sdl.web@gmail.com>
5422
5423 * progmodes/octave.el (octave-help): Fix regexp.
5424
924d6997
G
54252013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426
5427 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5428 (shr-table-horizontal-line): Allow nil as a value, and change the
5429 default.
5430 (shr-insert-table-ruler): Respect the nil value.
5431
54322013-06-18 Tom Tromey <tromey@barimba>
5433
5434 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5435 New defvars.
5436 (eww-open-file): New defun.
5437 (eww-render): Initialize new variables.
5438 (eww-display-html): Handle "link" and "a".
5439 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5440 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5441 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5442 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5443 New defuns.
924d6997 5444
d1bbba4f
DG
54452013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5446
5447 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5448 Distinguish ternary operator tokens from slash symbol and slash
5449 char literal.
5450
14dd22d2
JB
54512013-06-18 Juanma Barranquero <lekktu@gmail.com>
5452
5453 Convert symbol prettification into minor mode and global minor mode.
5454
5455 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5456 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5457 (prettify-symbols--keywords): Rename from
5458 `prog-prettify-symbols-alist' and make a local defvar.
5459 (prettify-symbols--compose-symbol): Rename from
5460 `prog--prettify-font-lock-compose-symbol'.
5461 (prettify-symbols--make-keywords): Rename from
5462 `prog-prettify-font-lock-symbols-keywords' and simplify.
5463 (prog-prettify-install): Remove.
5464 (prettify-symbols-mode): New minor mode, based on
5465 `prog-prettify-install'.
5466 (turn-on-prettify-symbols-mode): New function.
5467 (global-prettify-symbols-mode): New globalized minor mode.
5468
5469 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5470 * progmodes/cfengine.el (cfengine3-mode):
5471 * progmodes/perl-mode.el (perl-mode): Don't call
5472 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5473
292c880c
JL
54742013-06-18 Juri Linkov <juri@jurta.org>
5475
5476 * files-x.el (modify-file-local-variable-message): New function.
5477 (modify-file-local-variable)
5478 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5479 and call `modify-file-local-variable-message' when it's non-nil.
5480 (add-file-local-variable, delete-file-local-variable)
5481 (add-file-local-variable-prop-line)
5482 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5483 and use it. (Bug#9820)
5484
0950aa27
JL
54852013-06-18 Juri Linkov <juri@jurta.org>
5486
5487 * emulation/vi.el (vi-shell-op):
5488 * emulation/vip.el (vip-execute-com, ex-command):
5489 * emulation/viper-cmd.el (viper-exec-bang):
5490 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5491 the call of `shell-command-on-region'. (Bug#14637)
5492
5493 * simple.el (shell-command-on-region): Doc fix.
5494
8fbcca16
SM
54952013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5498 (bug#14633).
5499
dd7426ea
GM
55002013-06-18 Glenn Morris <rgm@gnu.org>
5501
4ba54f7d
GM
5502 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5503
dd7426ea
GM
5504 * newcomment.el (comment-search-forward, comment-search-backward):
5505 Doc fix. (Bug#14376)
5506
58aa805b
JB
55072013-06-18 Juanma Barranquero <lekktu@gmail.com>
5508
5509 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5510 (buffer-face-mode-invoke): Doc fix.
5511
9a08a617
MM
55122013-06-18 Matthias Meulien <orontee@gmail.com>
5513
5514 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5515 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5516
f2f426ca
GM
55172013-06-18 Glenn Morris <rgm@gnu.org>
5518
9445f99b
GM
5519 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5520 Replace obsolete function generic-make-keywords with its expansion.
5521
e0df2d14
GM
5522 * progmodes/python.el (ffap-alist): Declare.
5523
f2f426ca
GM
5524 * textmodes/reftex.el (bibtex-mode-map): Declare.
5525
f7f9a720
SM
55262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5529 (package-unpack, package-unpack-single): Return the pkg-dir.
5530 (package-download-transaction): Use it to update package-alist.
5531
57ff04e0
LMI
55322013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5533
5534 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5535 possible choice.
5536
c048c022
JL
55372013-06-17 Juri Linkov <juri@jurta.org>
5538
5539 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5540
b5bcaee5
DG
55412013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5542
a020afb9
JB
5543 * emacs-lisp/package.el (package-load-descriptor):
5544 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5545 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5546
551e07e5
JB
55472013-06-17 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * startup.el (command-line): Expand package name returned by
5550 `package--description-file' (bug#14639).
5551
d363bffb
DG
55522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5553
5554 * emacs-lisp/package.el (package-load-descriptor): Do not call
5555 `emacs-lisp-mode', just use its syntax table.
5556
f612933b
JB
55572013-06-17 Juanma Barranquero <lekktu@gmail.com>
5558
5559 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5560 `font-lock-extra-managed-props' if any prettifying keyword is added.
5561 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5562 (prog-mode): Use `setq-local'.
5563
db3b7db5
SM
55642013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * international/characters.el (standard-case-table): Set syntax of ?»
5567 and ?« to punctuation.
5568
f3d674df
JB
55692013-06-16 Juanma Barranquero <lekktu@gmail.com>
5570
5571 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5572 Save relevant match data before calling `syntax-ppss' (bug#14595).
5573
31489a32
JL
55742013-06-15 Juri Linkov <juri@jurta.org>
5575
5576 * files-x.el (modify-file-local-variable-prop-line): Add local
5577 variables to the end of the existing comment on the first line.
5578 Use `file-auto-mode-skip' to skip interpreter magic line,
5579 and also skip XML declaration.
5580
66bd25ab
SM
55812013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * startup.el (package--builtin-versions): New var.
5584 (package-subdirectory-regexp): Remove.
5585 (package--description-file): Hard code its value instead.
5586
5587 * emacs-lisp/package.el: Don't activate packages older than builtin.
5588 (package-obsolete-list): Rename from package-obsolete-alist, and make
5589 it into a simple list of package-desc.
5590 (package-strip-version): Remove.
5591 (package-built-in-p): Use package--builtin-versions.
5592 (package-mark-obsolete): Simplify.
5593 (package-process-define-package): Mark it obsolete if older than the
5594 builtin version.
5595 (package-handle-response): Use line-end-position.
5596 (package-read-archive-contents, package--download-one-archive):
5597 Simplify.
5598 (package--add-to-archive-contents): Skip if older than the builtin or
5599 installed version.
5600 (package-menu-describe-package): Fix last change.
5601 (package-list-unversioned): New var.
5602 (package-menu--generate): Use it.
5603
5604 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5605 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5606 (autoload-builtin-package-versions): New variable.
5607 (autoload-generate-file-autoloads): Use them.
5608 Remove the list of autoloaded functions/macros from the
5609 (autoload...) comments.
5610
5611 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5612
9583ec36
EZ
56132013-06-15 Eli Zaretskii <eliz@gnu.org>
5614
5615 * simple.el (line-move-partial): Don't jump to the next screen
5616 line as soon as it becomes visible. Instead, continue enlarging
5617 the vscroll until the portion of a tall screen line that's left on
5618 display is about the height of the frame's default font.
5619 (Bug#14567)
5620
f0100d8a
GM
56212013-06-15 Glenn Morris <rgm@gnu.org>
5622
b86a85ca
GM
5623 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5624 compilation-error-regexp-alist void, or local while let-bound.
5625
f0100d8a
GM
5626 * progmodes/make-mode.el (makefile-mode-syntax-table):
5627 Treat "=" as punctuation. (Bug#14614)
5628
05e7ce90
JB
56292013-06-15 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * help-fns.el (describe-variable):
5632 Add extra line for permanent-local variables.
5633
12e5e86e
SH
56342013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5635
5636 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5637 Add export, import, library. (Bug#9164)
5638 (library): Set indent function.
5639
230dcbaf
GM
56402013-06-14 Glenn Morris <rgm@gnu.org>
5641
5642 * term/xterm.el (xterm--query):
5643 Stop after first matching handler. (Bug#14615)
5644
e36b2d20 56452013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5646
5647 Add support for dired in saveplace.
5648 * dired.el (dired-initial-position-hook): New variable.
5649 (dired-initial-position): Call hook to place cursor position.
5650 * saveplace.el (save-place-to-alist): Add dired position.
5651 (save-place-dired-hook): New function.
5652
0b31660d
SM
56532013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5654
bf1e6ae8
SM
5655 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5656 through a symbol rather than letrec.
5657
1b8dff23
SM
5658 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5659 (package-desc): Add `dir' field.
5660 (package-desc-full-name): New function.
5661 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5662 (package-maybe-load-descriptor): Remove.
5663 (package-load-all-descriptors): Just call package-load-descriptor.
5664 (package--disabled-p): New function.
5665 (package-desc-vers, package-desc-doc): Remove aliases.
5666 (package--dir): Remove function.
5667 (package-activate): Check if a package is disabled.
5668 (package-process-define-package): New function, extracted from
5669 define-package.
5670 (define-package): Turn into a place holder.
5671 (package-unpack-single, package-tar-file-info):
5672 Use package--description-file.
5673 (package-compute-transaction): Use package--disabled-p.
5674 (package-download-transaction): Don't call
5675 package-maybe-load-descriptor since they're all loaded anyway.
5676 (package-install): Change argument to be a pkg-desc.
5677 (package-delete): Use a single pkg-desc argument.
5678 (describe-package-1): Use package-desc-dir instead of package--dir.
5679 Use package-desc property instead of package-symbol.
5680 (package-install-button-action): Adjust accordingly.
5681 (package--push): Rewrite.
5682 (package-menu--print-info): Adjust accordingly. Change the ID format
5683 to be a pkg-desc.
5684 (package-menu-describe-package, package-menu-get-status)
5685 (package-menu--find-upgrades, package-menu-mark-upgrades)
5686 (package-menu-execute, package-menu--name-predicate):
5687 Adjust accordingly.
5688 * startup.el (package--description-file): New function.
5689 (command-line): Use it.
5690 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5691 Use package-desc-version.
5692
0b31660d
SM
5693 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5694 (byte-compile-preprocess): Use it.
5695 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5696 can't quite recognize.
5697 (byte-compile-add-to-list): Remove.
5698 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5699 (cconv-closure-convert): Add assertion.
5700
5701 * emacs-lisp/map-ynp.el: Use lexical-binding.
5702 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5703 Factor out some repeated code.
5704
de0503df
SM
57052013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * subr.el (with-eval-after-load): New macro.
5708 (eval-after-load): Allow form to be a function.
5709 take advantage of lexical-binding.
5710 (do-after-load-evaluation): Use dolist and adjust to new format.
5711 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5712
bc5c8c5a
JL
57132013-06-13 Juri Linkov <juri@jurta.org>
5714
5715 * replace.el (perform-replace): Display "symbol " and other search
5716 modes from `isearch-message-prefix' in the *Help* buffer.
5717
5718 * isearch.el (isearch-query-replace): Add " symbol" and other
5719 possible search modes from `isearch-message-prefix' to the prompt.
5720 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5721 when reading a regexp to collect.
5722
a22289f7
JL
57232013-06-13 Juri Linkov <juri@jurta.org>
5724
5725 * isearch.el (word-search-regexp): Match whitespace if the search
5726 string begins or ends in whitespace. The LAX arg is applied to
5727 both ends of the search string. Use `regexp-quote' and explicit
5728 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5729 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5730 boundaries are replaced with symbol boundaries, and characters
5731 between symbols match non-word non-symbol syntax. (Bug#14602)
5732
cb89acab
JL
57332013-06-13 Juri Linkov <juri@jurta.org>
5734
5735 * isearch.el (isearch-del-char): Don't exceed the length of
5736 `isearch-string' by the prefix arg. (Bug#14563)
5737
6e8cfc81
JL
57382013-06-13 Juri Linkov <juri@jurta.org>
5739
5740 * isearch.el (isearch-yank-word, isearch-yank-line)
5741 (isearch-char-by-name, isearch-quote-char)
5742 (isearch-printing-char, isearch-process-search-char):
5743 Add optional count prefix arg. (Bug#14563)
5744
5745 * international/isearch-x.el
5746 (isearch-process-search-multibyte-characters):
5747 Add optional count prefix arg.
5748
c23d55f4
VS
57492013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5752 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5753 lexical-binding.
5754
57552013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5756
5757 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5758
ba947bc4
GM
57592013-06-13 Glenn Morris <rgm@gnu.org>
5760
8baeb37a
GM
5761 * startup.el (tty-handle-args):
5762 Don't just discard "--" and anything after. (Bug#14608)
5763
ba947bc4
GM
5764 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5765
9abefce4
MA
57662013-06-13 Michael Albinus <michael.albinus@gmx.de>
5767
5768 Implement changes in Secret Service API. Make it backward compatible.
5769 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5770 (secrets-create-item): Use it. Prefix properties with interface.
5771
5755011f
MH
57722013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5773
5774 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5775 (term-emulate-terminal): Respect term-suppress-hard-newline.
5776
1261d2da
S
57772013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5778
5779 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5780 Only remove a `thumb-file' overlay. (Bug#14548)
5781
868490bb
GJ
57822013-06-12 Grégoire Jadi <daimrod@gmail.com>
5783
5784 * mail/reporter.el (reporter-submit-bug-report):
5785 Handle missing package-name. (Bug#14600)
5786
79d7167f
TH
57872013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5788
5789 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5790 (reftex-citation-prompt, reftex-default-bibliography)
5791 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5792 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5793 (reftex-bib-sort-author, reftex-bib-sort-year)
5794 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5795 (reftex-extract-bib-entries-from-thebibliography)
5796 (reftex-get-bibkey-default, reftex-get-bib-names)
5797 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5798 (reftex-format-bib-entry, reftex-parse-bibitem)
5799 (reftex-format-bibitem, reftex-do-citation)
5800 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5801 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5802 (reftex-insert-bib-matches, reftex-format-citation)
5803 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5804 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5805 existing comments into docstrings.
5806
5f9dbd7a
XF
58072013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5808
5809 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5810
94df41ab
AS
58112013-06-12 Andreas Schwab <schwab@suse.de>
5812
5813 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5814 for auto-save files.
5815
a7f3fecc
GM
58162013-06-12 Glenn Morris <rgm@gnu.org>
5817
001809f6
GM
5818 * ido.el (ido-delete-ignored-files): Remove.
5819 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5820 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5821
834b5ded
EL
58222013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5823
08c73ed2
EL
5824 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5825
834b5ded
EL
5826 * ido.el (ido-delete-ignored-files): New function,
5827 split from ido-make-file-list-1.
5828 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5829 (ido-make-file-list-1): Use ido-delete-ignored-files.
5830
daabf15a
LL
58312013-06-12 Leo Liu <sdl.web@gmail.com>
5832
5833 * progmodes/octave.el (inferior-octave-startup)
5834 (inferior-octave-completion-table)
5835 (inferior-octave-track-window-width-change)
5836 (octave-eldoc-function-signatures, octave-help)
5837 (octave-find-definition): Use single quoted strings.
5838 (inferior-octave-startup-args): Change default value.
5839 (inferior-octave-startup): Do not hard code "-i" and
5840 "--no-line-editing".
5841 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5842 (inferior-octave-directory-tracker): Use it.
5843 (octave-goto-function-definition): Robustify.
5844 (octave-help): Support highlighting operators in 'See also'.
5845 (octave-find-definition): Find subfunctions only in Octave mode.
5846
cf4e5178
SM
58472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * help-fns.el (help-fns--compiler-macro): If the handler function is
5850 named, then put a link to it.
5851 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5852 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5853 (cl-typep): Use it.
5854 (cl-eval-when): Simplify debug spec.
5855 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5856 compiler-macro function instead of setting `compiler-macro-file'.
5857
99c81280 58582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5859
5860 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5861 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5862
f56be016
SM
58632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5864 Daniel Hackney <dan@haxney.org>
5865
5866 First part of Daniel Hackney's patch to package.el.
5867 * emacs-lisp/package.el: Use defstruct.
5868 (package-desc): New, main struct.
5869 (package--bi-desc, package--ac-desc): New structs, used to describe the
5870 format in external files.
5871 (package-desc-vers): Replace with package-desc-version accessor.
5872 (package-desc-doc): Replace with package-desc-summary accessor.
5873 (package-activate-1): Remove `package' arg since the pkg-vec now
5874 includes the name.
5875 (define-package): Use package-desc-from-define.
5876 (package-unpack-single): Change file-name arg to be a symbol.
5877 (package--add-to-archive-contents): Use package-desc-create and new
5878 accessor functions to package--ac-desc.
5879 (package-buffer-info, package-tar-file-info): Return a package-desc.
5880 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5881 arg to be a package-desc.
5882 (package-install-file): Adjust accordingly. Use \' to match EOS.
5883 (package--from-builtin): New function.
5884 (describe-package-1, package-menu--generate): Use it.
5885 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5886 (package-generate-autoloads): Idem and return the name of the file.
5887 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5888 Change pkg-info arg to be a package-desc.
5889 Use package-make-ac-desc.
5890 (package-upload-file): Use \' to match EOS.
5891 * finder.el (finder-compile-keywords): Use package-make-builtin.
5892
31119d63
SM
58932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5894
931a2762
SM
5895 * vc/vc.el (vc-deduce-fileset): Change error message.
5896 (vc-read-backend): New function.
5897 (vc-next-action): Use it.
5898
5a3eb0c6
SM
5899 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5900
e3eb1bb7
SM
5901 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5902 (prolog-font-lock-keywords): Use regexp-opt instead.
5903 Don't manually highlight strings.
5904 (prolog-mode-variables): Simplify comment-start-skip.
5905 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5906
31119d63
SM
5907 * emacs-lisp/generic.el (generic--normalise-comments)
5908 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5909 (generic-mode-set-comments): Use them.
5910 (generic-bracket-support): Use setq-local.
5911 (generic-make-keywords-list): Declare obsolete.
5912
7de135d0
GM
59132013-06-11 Glenn Morris <rgm@gnu.org>
5914
5915 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5916 Prettify after setting font-lock-defaults. (Bug#14574)
5917
fa6bc6fd
JB
59182013-06-11 Juanma Barranquero <lekktu@gmail.com>
5919
5920 * replace.el (query-replace, occur-read-regexp-defaults-function)
5921 (replace-search):
5922 * subr.el (declare-function, number-sequence, local-set-key)
5923 (substitute-key-definition, locate-user-emacs-file)
5924 (with-silent-modifications, split-string, eval-after-load):
5925 Fix typos, remove unneeded backslashes and reflow some docstrings.
5926
cf1f9b9a
SM
59272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5930 default for Elisp files.
5931
56602a4b
GM
59322013-06-11 Glenn Morris <rgm@gnu.org>
5933
5934 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5935 although define-derived-mode was doing this anyway. (Bug#14583)
5936
30ae0b2c
JB
59372013-06-10 Juanma Barranquero <lekktu@gmail.com>
5938
5939 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5940 Fix make-variable-buffer-local call to refer to the correct variable.
5941
fa472906
AG
59422013-06-10 Aidan Gauland <aidalgol@amuri.net>
5943
5944 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5945 (eshell-visual-subcommands, eshell-visual-options):
5946 Add summary line to docstrings. Add cross-references.
fa472906 5947
ff4871b9
GM
59482013-06-10 Glenn Morris <rgm@gnu.org>
5949
5950 * epa.el (epa-read-file-name): New function. (Bug#14510)
5951 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5952
04fcf1b0
AG
59532013-06-09 Aidan Gauland <aidalgol@amuri.net>
5954
5955 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5956 output redirection to be ignored with visual commands.
5957
88b00caa
AG
59582013-06-09 Aidan Gauland <aidalgol@amuri.net>
5959
5960 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5961 (eshell-term-initialize): Move long lambda to separate function
5962 eshell-visual-command-p.
e7b41c4c
JB
5963 * eshell/em-dirs.el (eshell-dirs-initialise):
5964 * eshell/em-script.el (eshell-script-initialize):
5965 Add missing #' to lambda.
88b00caa 5966
fda74125
LL
59672013-06-08 Leo Liu <sdl.web@gmail.com>
5968
5969 * progmodes/octave.el (octave-add-log-current-defun): New function.
5970 (octave-mode): Set add-log-current-defun-function.
5971 (octave-goto-function-definition): Do not move point if not found.
5972 (octave-find-definition): Enhance to try subfunctions first.
5973
467f3b33
GM
59742013-06-08 Glenn Morris <rgm@gnu.org>
5975
5976 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5977 (byte-compile-backward-char, byte-compile-backward-word):
5978 Improve previous change, to handle non-explicit nil.
5979
544badc3
SM
59802013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5983 (smie--opener/closer-at-point): New function.
5984 (smie--matching-block-data): Use it. Don't match from right after an
5985 opener or right before a closer. Obey smie-blink-matching-inners.
5986 Don't signal a mismatch for repeated inners like "switch..case..case".
5987
a175bf33
LL
59882013-06-07 Leo Liu <sdl.web@gmail.com>
5989
5990 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5991 to t. (Bug#14303)
ce8209d4
LL
5992 (octave-function-header-regexp): Fix. (Bug#14570)
5993 (octave-help-mode-finish-hook, octave-help-mode-finish):
5994 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5995
5996 * newcomment.el (comment-search-backward): Revert last change.
5997 (Bug#14434)
5998
5999 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6000
a822acff
EZ
60012013-06-07 Eli Zaretskii <eliz@gnu.org>
6002
6003 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6004 through xargs, to avoid failure due to MS-Windows limitations on
6005 command-line length.
6006
961166f5
GM
60072013-06-06 Glenn Morris <rgm@gnu.org>
6008
d0341459
GM
6009 * font-lock.el (lisp-font-lock-keywords-2):
6010 Treat user-error like error.
6011
961166f5
GM
6012 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6013 (byte-compile-backward-char, byte-compile-backward-word):
6014 Handle explicit nil arguments. (Bug#14565)
6015
80fa505f
AM
60162013-06-05 Alan Mackenzie <acm@muc.de>
6017
6018 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6019 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6020 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6021 (Bug#9706)
80fa505f 6022
fccdc796
SM
60232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * autorevert.el (auto-revert-notify-handler): Use memq.
6026 Hide assertion failure.
6027
6028 * skeleton.el: Use cl-lib.
6029 (skeleton-further-elements): Use defvar-local.
6030 (skeleton-insert): Use cl-progv.
6031
9bfff84b
TZ
60322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6033
6034 * progmodes/prog-mode.el (prog-prettify-symbols)
6035 (prog-prettify-install): Update docstrings.
6036
55577e7c
SM
60372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * simple.el: Move all the prog-mode code to prog-mode.el.
6040 * progmodes/prog-mode.el: New file.
6041 * loadup.el: Add prog-mode.el.
6042
8fc57765
TZ
60432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6044
6045 * simple.el (prog-prettify-symbols): Add version.
6046 (prog-prettify-install): Add convenience function to prettify symbols.
6047
6048 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6049 (perl--augmented-font-lock-keywords-1)
6050 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6051 variables and use it.
6052
6053 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6054 (cfengine3-mode): Remove unneeded variable and use it.
6055
6056 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6057 (lisp--augmented-font-lock-keywords-1)
6058 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6059 Remove unneeded variables and use it.
6060
650645d5 60612013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6062
6063 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6064 to point when opening the connection. (Bug#14380)
28f5da6d 6065
781b4af6
SM
60662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * subr.el (load-history-regexp, load-history-filename-element)
6069 (eval-after-load, after-load-functions, do-after-load-evaluation)
6070 (eval-next-after-load, display-delayed-warnings)
6071 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6072 definition of save-match-data.
6073 (overriding-local-map): Remove accidental obsolescence declaration.
6074
6075 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6076
3ca0d0b4
TZ
60772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6078
6079 Generalize symbol prettify support to prog-mode and implement it
6080 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6081 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6082 (prog--prettify-font-lock-compose-symbol)
6083 (prog-prettify-font-lock-symbols-keywords): New variables and
6084 functions to support symbol prettification.
6085 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6086 (lisp--augmented-font-lock-keywords-1)
6087 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6088 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6089 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6090 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6091 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6092 * progmodes/perl-mode.el (perl-prettify-symbols)
6093 (perl--font-lock-compose-symbol)
6094 (perl--font-lock-symbols-keywords): Move to prog-mode.
6095 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6096 (perl-font-lock-keywords-1)
6097 (perl-font-lock-keywords-2): Remove explicit prettify support.
6098 (perl--augmented-font-lock-keywords)
6099 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6100 (perl--augmented-font-lock-keywords-2, perl-mode):
6101 Implement prettify support.
3ca0d0b4 6102
976cb066
LL
61032013-06-05 Leo Liu <sdl.web@gmail.com>
6104
6105 Re-implement smie matching block highlight using
6106 show-paren-data-function. (Bug#14395)
6107 * emacs-lisp/smie.el (smie-matching-block-highlight)
6108 (smie--highlight-matching-block-overlay)
6109 (smie--highlight-matching-block-lastpos)
6110 (smie-highlight-matching-block)
6111 (smie-highlight-matching-block-mode): Remove.
6112 (smie--matching-block-data-cache): New variable.
6113 (smie--matching-block-data): New function.
6114 (smie-setup): Use smie--matching-block-data for
6115 show-paren-data-function.
6116
6117 * progmodes/octave.el (octave-mode-menu): Fix.
6118 (octave-find-definition): Skip garbage lines.
6119
208d0342
SM
61202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 Fix compilation error with simultaneous dynamic+lexical scoping.
6123 Add warning when a defvar appears after the first let-binding.
6124 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6125 (byte-compile-close-variables): Initialize it.
6126 (byte-compile--declare-var): New function.
6127 (byte-compile-file-form-defvar)
6128 (byte-compile-file-form-define-abbrev-table)
6129 (byte-compile-file-form-custom-declare-variable): Use it.
6130 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6131 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6132 (byte-compile-bind): Handle dynamic bindings that shadow
6133 lexical bindings.
6134 (byte-compile-unbind): Make arg non-optional.
6135 (byte-compile-let): Simplify.
6136 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6137 (cconv--analyse-function, cconv-analyse-form): Populate it.
6138 Protect byte-compile-bound-variables to limit the scope of defvars.
6139 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6140 Remove unneeded rule for `declare'.
6141
6142 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6143 so as to avoid depending on cl-adjoin at run-time.
6144 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6145
6146 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6147 (macroexp--warn-and-return): Use it.
6148
2587b005
LL
61492013-06-05 Leo Liu <sdl.web@gmail.com>
6150
6151 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6152
f1da3c88
LL
61532013-06-04 Leo Liu <sdl.web@gmail.com>
6154
6155 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6156 (compilation-auto-jump): Suppress the "Mark set" message to give
6157 way to exit message.
6158
3caa391f
AM
61592013-06-04 Alan Mackenzie <acm@muc.de>
6160
6161 Remove faulty optimisation from indentation calculation.
6162 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6163 search limit based on 2000 characters back from indent-point.
6164
068922a2
TH
61652013-06-03 Tassilo Horn <tsdh@gnu.org>
6166
6167 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6168
1f8fdd53
SM
61692013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6170
bbcc4d97
SM
6171 * emacs-lisp/lisp.el: Use lexical-binding.
6172 (lisp--local-variables-1, lisp--local-variables): New functions.
6173 (lisp--local-variables-completion-table): New var.
208d0342 6174 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6175
1f8fdd53
SM
6176 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6177 eagerly (bug#14422).
6178
c9628c79
MA
61792013-06-03 Michael Albinus <michael.albinus@gmx.de>
6180
6181 * autorevert.el (auto-revert-notify-enabled)
6182 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6183 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6184 (auto-revert-notify-handler): Handle also gfilenotify.
6185
e7b41c4c 6186 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6187 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6188 Remove.
c9628c79 6189
e5e4a942
JL
61902013-06-03 Juri Linkov <juri@jurta.org>
6191
6192 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6193 `M-s h .'. (Bug#14427)
6194
6195 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6196 command `hi-lock-face-symbol-at-point'.
6197 (hi-lock-face-symbol-at-point): New command.
6198 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6199 (hi-lock-menu): Add `highlight-symbol-at-point'.
6200 (hi-lock-mode): Doc fix.
6201
6202 * isearch.el (isearch-forward-symbol-at-point): New command.
6203 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6204 (isearch-highlight-regexp): Add a regexp which matches
6205 words/symbols for word/symbol mode.
6206
6207 * subr.el (find-tag-default-bounds): New function with the body
6208 mostly moved from `find-tag-default'.
6209 (find-tag-default): Move most code to `find-tag-default-bounds',
6210 call it and apply `buffer-substring-no-properties' afterwards.
6211
26b3353a
TH
62122013-06-03 Tassilo Horn <tsdh@gnu.org>
6213
781b4af6
SM
6214 * eshell/em-term.el (eshell-term-initialize):
6215 Use `cl-intersection' rather than `intersection'.
26b3353a 6216
51b60f53
XF
62172013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6218
fe054b63 6219 * vc/log-view.el: Doc fix.
d3ffe17c 6220 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6221
a0eb10b3 62222013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6223
6224 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6225 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6226 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6227 (eieio-unbound, eieio-default-superclass)
6228 (eieio--define-field-accessors, method-static, method-before)
6229 (method-primary, method-after, method-num-lists)
6230 (method-generic-before, method-generic-primary)
6231 (method-generic-after, method-num-slots)
6232 (eieio-specialized-key-to-generic-key)
6233 (eieio--check-type, class-v, class-p)
6234 (eieio-class-name, define-obsolete-function-alias)
6235 (eieio-class-parents-fast, eieio-class-children-fast)
6236 (same-class-fast-p, class-constructor, generic-p)
6237 (generic-primary-only-p, generic-primary-only-one-p)
6238 (class-option-assoc, class-option, eieio-object-p)
6239 (class-abstract-p, class-method-invocation-order)
6240 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6241 (eieio-class-un-autoload, eieio-defclass)
6242 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6243 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6244 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6245 (eieio-defgeneric-reset-generic-form)
6246 (eieio-defgeneric-form-primary-only)
6247 (eieio-defgeneric-reset-generic-form-primary-only)
6248 (eieio-defgeneric-form-primary-only-one)
6249 (eieio-defgeneric-reset-generic-form-primary-only-one)
6250 (eieio-unbind-method-implementations)
6251 (eieio--defmethod, eieio--typep)
6252 (eieio-perform-slot-validation, eieio-validate-slot-value)
6253 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6254 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6255 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6256 (eieio-slot-name-index, eieio-class-slot-name-index)
6257 (eieio-set-defaults, eieio-initarg-to-attribute)
6258 (eieio-attribute-to-initarg, eieio-c3-candidate)
6259 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6260 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6261 (eieio-class-precedence-list, eieio-generic-call-methodname)
6262 (eieio-generic-call-arglst, eieio-generic-call-key)
6263 (eieio-generic-call-next-method-list)
6264 (eieio-pre-method-execution-functions, eieio-generic-call)
6265 (eieio-generic-call-primary-only, eieiomt-method-list)
6266 (eieiomt-optimizing-obarray, eieiomt-install)
6267 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6268 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6269 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6270 (defclass): Remove `eval-and-compile' from macro.
6271 (call-next-method, shared-initialize): Instead of using
6272 `scoped-class' variable, use new eieio--scoped-class, and
6273 eieio--with-scoped-class.
6274 (initialize-instance): Rename local variable 'scoped-class' to
6275 'this-class' to remove ambiguitity from old global.
6276
6277 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6278 eieio.el.
4f405069
JB
6279 (eieio--scoped-class-stack): New variable.
6280 (eieio--scoped-class): New fcn.
890f7890
DE
6281 (eieio--with-scoped-class): New scoping macro.
6282 (eieio-defclass): Use pushnew instead of add-to-list.
6283 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6284 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6285 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6286 `scoped-class' variable, use new eieio--scoped-class, and
6287 eieio--with-scoped-class.
6288
6289 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6290
d105b0e2
TH
62912013-06-02 Tassilo Horn <tsdh@gnu.org>
6292
6293 * eshell/esh-ext.el (eshell-external-command): Pass args to
6294 `eshell-find-interpreter'.
6295 (eshell-find-interpreter): Add new second parameter ARGS.
6296
6297 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6298 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6299
6300 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6301 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6302
6303 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6304 (eshell-visual-options): New defcustom.
6305 (eshell-escape-control-x): Adapt docstring.
6306 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6307 `eshell-visual-options' in addition to `eshell-visual-commands'.
6308 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6309
f46305c8 63102013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6311
6312 * progmodes/python.el (python-indent-block-enders): Add break,
6313 continue and raise keywords.
6314
d870df21
GM
63152013-06-01 Glenn Morris <rgm@gnu.org>
6316
9133b82e
GM
6317 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6318
02c992ec 6319 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6320 * progmodes/cc-cmds.el (delete-forward-p):
6321 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6322 * progmodes/cc-engine.el (buffer-syntactic-context):
6323 * progmodes/cc-fonts.el (face-property-instance):
6324 * progmodes/cc-mode.el (set-keymap-parents):
6325 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6326 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6327 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6328 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6329 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6330
31e7b090
GM
6331 * progmodes/cc-vars.el (other): Emacs has this widget since
6332 at least 21.1, so don't (re)define it.
6333
d870df21
GM
6334 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6335 Replace the obsolete alias pcomplete-arg-quote-list.
6336
c75c93c7
LL
63372013-06-01 Leo Liu <sdl.web@gmail.com>
6338
6339 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6340 punctuation syntax.
6341 (inferior-octave-minimal-columns)
6342 (inferior-octave-last-column-width): New variables.
6343 (inferior-octave-track-window-width-change): New function.
6344 (inferior-octave-mode): Adjust column width so that Octave output,
6345 for example from 'ls', can fit into the window nicely.
6346
973d1e12
DG
63472013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6348
6349 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6350 Highlight expansions inside regexp literals.
6351
0888c286
GM
63522013-05-31 Glenn Morris <rgm@gnu.org>
6353
e26aac1f
GM
6354 * obsolete/sym-comp.el (symbol-complete):
6355 Replace obsolete completion-annotate-function.
6356
0888c286
GM
6357 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6358
19bb8e62
DG
63592013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6360
781b4af6
SM
6361 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6362 New function, checks if point is inside a literal that allows
19bb8e62
DG
6363 expression expansion.
6364 (ruby-syntax-propertize-expansion): Use it.
6365 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6366 around the body.
6367
01dea85f
JL
63682013-05-30 Juri Linkov <juri@jurta.org>
6369
6370 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6371 to "\M-si".
6372 (isearch-invisible): New variable.
6373 (isearch-forward): Doc fix.
6374 (isearch-mode): Set `isearch-invisible'
6375 to the value of `search-invisible'.
6376 (isearch-toggle-case-fold): Doc fix.
6377 (isearch-toggle-invisible): New command.
6378 (isearch-query-replace): Let-bind `search-invisible'
6379 to the value of `isearch-invisible'.
6380 (isearch-search): Use `isearch-invisible' instead of
6381 `search-invisible'. Let-bind `search-invisible'
6382 to the value of `isearch-invisible'. (Bug#11378)
6383
ab1bdce5
JL
63842013-05-30 Juri Linkov <juri@jurta.org>
6385
6386 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6387 call when `query-flag' is nil and `search-invisible' is non-nil.
6388 (Bug#11746)
6389
d6d236e2
GM
63902013-05-30 Glenn Morris <rgm@gnu.org>
6391
8accd027
GM
6392 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6393
2a8bed1c
GM
6394 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6395 (cc-require): Suppress spurious "noruntime" warnings.
6396 (cc-require-when-compile): Use fboundp, for sake of compiler.
6397
d6d236e2
GM
6398 * progmodes/cc-mode.el: Move load of cc-vars before that of
6399 cc-langs (which in turn loads cc-vars), to quieten compiler.
6400
9190b35b
SM
64012013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * paren.el: Simplify the code.
6404 (show-paren-mode): Always start the timer.
6405 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6406 (show-paren--overlay, show-paren--overlay-1): Rename from
6407 show-paren-overlay and show-paren-overlay-1, and initialize to an
6408 overlay rather than to nil.
6409 (show-paren-function): Misc cleanup and simplifications.
6410
4f8d1cf6
SM
64112013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * paren.el (show-paren-data-function): New hook.
6414 (show-paren--default): New function, extracted from show-paren-function.
6415 (show-paren-function): Use show-paren-data-function.
6416
02d844b5
GM
64172013-05-30 Glenn Morris <rgm@gnu.org>
6418
d209d4a9
GM
6419 * ielm.el (ielm-map, ielm-complete-symbol):
6420 Use completion-at-point rather than obsolete functions.
6421 (inferior-emacs-lisp-mode): Doc fix.
6422 Set completion-at-point-functions, rather than
6423 comint-dynamic-complete-functions.
6424
2082faa6
GM
6425 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6426 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6427 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6428
dd8620de
GM
6429 * image.el (image-animated-p): Tweak definition.
6430
ceca95b1
GM
6431 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6432 (rlogin-process-connection-type): Tweak default. Add set-after.
6433 (rlogin-host): Doc fix.
6434 (rlogin): Tweak prompt.
6435 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6436
ee9f1acc
GM
6437 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6438 * progmodes/tcl.el (inferior-tcl-mode-map):
6439 Use completion-at-point rather than obsolete alias.
6440
45ce222e
GM
6441 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6442
02d844b5
GM
6443 * minibuffer.el (read-file-name-completion-ignore-case):
6444 Move before completion--in-region, for eager macro expansion.
6445
ac44d6c1
JL
64462013-05-29 Juri Linkov <juri@jurta.org>
6447
6448 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6449 for total count of matching lines. Add `global-matches' for total
6450 count of matches. Rename `matches' to `lines' for count of
6451 matching lines. Add `matches' for count of matches.
6452 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6453 to `prev-line' for line number of prev match endpt.
6454 Increment `matches' for every match. Print the number of
6455 matching lines in the header.
6456 (occur-context-lines): Rename `lines' to `curr-line'.
6457 Rename `prev-lines' to `prev-line'. (Bug#14017)
6458
3c9c9d38
JL
64592013-05-29 Juri Linkov <juri@jurta.org>
6460
6461 * replace.el (perform-replace): Add `skip-read-only-count',
6462 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6463 Increment them for corresponding conditions and report the number
6464 of skipped occurrences in the final message. (Bug#11746)
6465 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6466 (replace-string, replace-regexp): Doc fix.
6467
33e249a2
SM
64682013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6469
8e399682
SM
6470 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6471
33e249a2 6472 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6473 prog-mode-map (bug#14504).
33e249a2 6474
f236dd84
LL
64752013-05-29 Leo Liu <sdl.web@gmail.com>
6476
6477 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6478 (octave-help): Small simplification.
6479
6480 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6481 off the highlight first.
6482
3694d13f
GM
64832013-05-29 Glenn Morris <rgm@gnu.org>
6484
03983bdc
GM
6485 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6486 Handle idlwave-last-system-routine-info-cons-cell being nil.
6487
bc74a74a
GM
6488 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6489 (idlwave-write-paths): Simplify via with-temp-buffer.
6490
8b394200
GM
6491 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6492 * emulation/cua-rect.el: Also load cua-base at run time.
6493
3694d13f
GM
6494 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6495 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6496 (cperl-imenu-on-info): Require imenu.
6497
336d7284
AM
64982013-05-28 Alan Mackenzie <acm@muc.de>
6499
6500 Handle "capitalised keywords" correctly.
33e249a2 6501 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6502
cb29c582
AG
65032013-05-28 Aidan Gauland <aidalgol@amuri.net>
6504
781b4af6 6505 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6506
690e44b2
GM
65072013-05-28 Glenn Morris <rgm@gnu.org>
6508
e658d75c
GM
6509 * vc/vc-arch.el (vc-exec-after): Declare.
6510 (vc-switches): Autoload.
6511 * vc/vc-bzr.el: No need to require vc when compiling.
6512 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6513 (vc-resynch-buffer, vc-dir-refresh): Declare.
6514 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6515 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6516 (vc-resynch-buffer): Declare.
6517 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6518 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6519 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6520 (grep-read-regexp, grep-read-files, grep-expand-template)
6521 (vc-dir-refresh): Declare.
6522 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6523 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6524 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6525 * vc/vc-mtn.el (vc-exec-after): Declare.
6526 (vc-switches): Autoload.
6527 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6528 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6529 (vc-file-tree-walk): Declare.
712b9732
GM
6530 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6531 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6532 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6533 * vc/vc-svn.el (vc-exec-after): Declare.
6534 (vc-switches, vc-setup-buffer): Autoload.
6535 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6536 Autoload.
6537 (vc-resynch-buffer): Declare.
6538
98e87fb3
GM
6539 * obsolete/fast-lock.el (byte-compile-warnings):
6540 Don't warn about obsolete features in this obsolete file.
6541
f5379553
GM
6542 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6543 Move definition before use.
6544
7a20ef83
GM
6545 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6546 (dun-unix-verbs): Remove dun-zippy.
6547 (dun-zippy): Remove function.
6548
690e44b2
GM
6549 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6550
3a52ccf7
JL
65512013-05-27 Juri Linkov <juri@jurta.org>
6552
6553 * replace.el (replace-search): New function with code moved out
6554 from `perform-replace'.
6555 (replace-highlight, replace-dehighlight): Move function definitions
6556 up closer to `replace-search'. (Bug#11746)
6557
d289938a
JL
65582013-05-27 Juri Linkov <juri@jurta.org>
6559
6560 * replace.el (perform-replace): Ignore invisible matches.
6561 In addition to checking `query-replace-skip-read-only', also
6562 filter out matches by calling `run-hook-with-args-until-failure'
6563 on `isearch-filter-predicates', and also check `search-invisible'
6564 for t or call `isearch-range-invisible'.
6565 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6566
66fc57e3
JL
65672013-05-27 Juri Linkov <juri@jurta.org>
6568
6569 * isearch.el (isearch-filter-predicates): Rename from
6570 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6571 (isearch-message-prefix): Display text from the property
6572 `isearch-message-prefix' of the currently active filters.
6573 (isearch-search): Don't compare `isearch-filter-predicate' with
6574 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6575 on `isearch-filter-predicates'. Also check `search-invisible' for t
6576 or call `isearch-range-invisible'.
6577 (isearch-filter-visible): Make obsolete.
6578 (isearch-lazy-highlight-search):
6579 Call `run-hook-with-args-until-failure' on
6580 `isearch-filter-predicates' and use `isearch-range-invisible'.
6581
6582 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6583 `isearch-filter-predicates' instead of `funcall'ing
6584 `isearch-filter-predicate'.
6585 (Info-mode): Set `Info-isearch-filter' to
6586 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6587
6588 * dired-aux.el (dired-isearch-filter-predicate-orig):
6589 Remove variable.
6590 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6591 (dired-isearch-filenames-end): Add and remove
6592 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6593 instead of changing the value of `isearch-filter-predicate'.
6594 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6595 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6596 Put property `isearch-message-prefix' to "filename " on
6597 `dired-isearch-filter-filenames'.
6598
6599 * wdired.el (wdired-change-to-wdired-mode):
6600 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6601 locally instead of changing `isearch-filter-predicate'.
6602 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6603
f1a60a0f
DG
66042013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6605
6606 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6607 return the commit hash (Bug#14459). Also set the
6608 `vc-git-detached' property.
6609 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6610 (vc-git-mode-line-string): Use the same help-echo format whether
6611 in detached mode or not, because we know the actual revision now.
6612 When in detached mode, shorten the revision to 7 chars.
6613
7f17cc40
SM
66142013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * emacs-lisp/easy-mmode.el (define-minor-mode):
6617 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6618 mode hook and provide a docstring.
6619
25c8401c
AM
66202013-05-27 Alan Mackenzie <acm@muc.de>
6621
6622 Remove spurious syntax-table text properties inserted by C-y.
6623 * progmodes/cc-mode.el (c-after-change): Also clear hard
6624 syntax-table property with value nil.
6625
dde84790
MA
66262013-05-27 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6629 when reading the events; the buffer layout shall not be changed.
6630
837fd9af
LL
66312013-05-27 Leo Liu <sdl.web@gmail.com>
6632
6633 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6634 New variable.
6635 (inferior-octave-directory-tracker): Automatically re-sync
6636 default-directory.
6637 (octave-help): Improve handling of 'See also'.
6638
4fd996b3
SM
66392013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6640
416f1802
SM
6641 * doc-view.el: Minor naming convention tweaks.
6642 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6643
4fd996b3
SM
6644 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6645 even if there's no `display' property yet (bug#14435).
6646
a052ef3b
EZ
66472013-05-25 Eli Zaretskii <eliz@gnu.org>
6648
4fd996b3 6649 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6650
6651 * Makefile.in (custom-deps, finder-data, autoloads)
6652 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6653 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6654 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6655
c9023370
SM
66562013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6659 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6660 Don't burp at EOB.
c9023370 6661
24d699fa
LL
66622013-05-25 Leo Liu <sdl.web@gmail.com>
6663
6664 * comint.el (comint-previous-matching-input): Do not flood the
6665 *Messages* buffer with trivial messages.
6666
17e5c0cc
SM
66672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * progmodes/flymake.el (flymake-nop): Don't return a string.
6670 (flymake-set-at): Fix typo.
6671
6672 * simple.el (read--expression): New function, extracted from
6673 eval-expression. Set completion-at-point-functions (bug#14465).
6674 (eval-expression, eval-minibuffer): Use it.
6675
5d028165
XF
66762013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6677
6678 * progmodes/flymake.el (flymake-save-buffer-in-file)
6679 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6680 (flymake-selected-frame, flymake-log, flymake-ins-after)
6681 (flymake-set-at, flymake-get-buildfile-from-cache)
6682 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6683 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6684 Refine the doc string.
6685 (flymake-get-file-name-mode-and-masks): Reformat.
6686 (flymake-get-real-file-name-function): Fix a minor bug.
6687
7a1d7ba7
JL
66882013-05-24 Juri Linkov <juri@jurta.org>
6689
6690 * progmodes/grep.el (grep-mode-font-lock-keywords):
6691 Support =linenumber= format used by git-grep for lines with
6692 function names. (Bug#13549)
6693
650cff3d
SM
66942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6697 0 after a semi-colon; it works better for smie-auto-fill.
6698 (octave--indent-new-comment-line): New function.
6699 (octave-indent-new-comment-line): Use it (indirectly).
6700 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6701 modify comment-line-break-function.
6702
6703 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6704 (smie-setup): Use add-function to set it.
6705
9631677d
SS
67062013-05-24 Sam Steingold <sds@gnu.org>
6707
6708 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6709 argument (before the `interactive' argument).
6710
50105835
SM
67112013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6712
6713 * image-mode.el (image-mode-winprops): Add winprops to
6714 image-mode-winprops-alist before running
6715 image-mode-new-window-functions.
6716 * doc-view.el (doc-view-new-window-function): Don't delay
6717 doc-view-goto-page via timers (bug#14435).
6718
57b9823e
TH
67192013-05-24 Tassilo Horn <tsdh@gnu.org>
6720
6721 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6722 (doc-view-desktop-save-buffer): New function.
6723 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6724 (desktop-buffer-mode-handlers):
6725 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6726 handler.
6727 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6728 `desktop-save-buffer' function.
6729
91aafa16
MA
67302013-05-24 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6733 (tramp-gvfs-file-name-handler): Raise a user error when
6734 `tramp-gvfs-enabled' is nil.
6735 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6736 Do not raise a user error when loading package. (Bug#14447)
6737
ec076379
MA
6738 * net/xesam.el: Move to obsolete/.
6739
db785726
GM
67402013-05-24 Glenn Morris <rgm@gnu.org>
6741
af5c7606
GM
6742 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6743
e5d1916a
GM
6744 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6745
ded62b08
GM
6746 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6747 (Info-find-node, Man-getpage-in-background): Declare.
6748
9e614a3f
GM
6749 * mail/unrmail.el (unrmail):
6750 Replace obsolete detect-coding-with-priority.
6751
892f8ca3
GM
6752 * net/socks.el (socks-split-string): Use this rather than split-string.
6753 (socks-nslookup-host): Update for above change.
6754 (dynamic-choice, s5-dynamic-choice-match)
6755 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6756 Comment out unused code.
6757
3c291973
GM
6758 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6759 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6760 (gud-tooltip-echo-area): Make obsolete.
6761 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6762
43cc956b
GM
6763 * progmodes/js.el (js--optimize-arglist): Declare.
6764
dab49a3b
GM
6765 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6766
36b9d085
GM
6767 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6768 (ediff-window-C): Declare.
6769
e354ae76
GM
6770 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6771 Tweak requires to silence compiler.
6772
b8e57bf4
GM
6773 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6774 (he-search-string, he-tried-table, he-expand-list)
6775 (he-init-string, he-string-member, he-substitute-string)
6776 (he-reset-string): Declare.
6777
db785726
GM
6778 * obsolete/options.el (list-options): Use custom-variable-p,
6779 rather than obsolete alias.
6780
b3531901
SS
67812013-05-23 Sam Steingold <sds@gnu.org>
6782
6783 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6784 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6785 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6786
bdda4c66
SM
67872013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * emacs-lisp/smie.el (smie-indent-forward-token)
6790 (smie-indent-backward-token): Handle string tokens (bug#14381).
6791
c43d45f9
TH
67922013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6793
fe1eb856
RS
6794 * ielm.el (ielm-menu): New menu.
6795 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6796
fe1eb856
RS
67972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6798
6799 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6800 Fix deactivate action.
6801
6802 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6803 Add cleveref macros.
074dd971 6804
c43d45f9
TH
6805 * lisp/textmodes/reftex-parse.el
6806 (reftex-locate-bibliography-files): Accept options for
6807 bibliography commands.
6808 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6809 Add addbibresource. Basic Biblatex support.
6810
7764286e
MA
68112013-05-23 Michael Albinus <michael.albinus@gmx.de>
6812
6813 * net/tramp-gvfs.el (top):
6814 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6815 when loading package. (Bug#14447)
6816
d361bc10
GM
68172013-05-23 Glenn Morris <rgm@gnu.org>
6818
8fa23984
GM
6819 * progmodes/js.el: No need to load comint when compiling.
6820 (ring-insert, comint-send-string, comint-send-input)
6821 (comint-last-input-end, ido-chop): Declare.
6822
a5c7df1a
GM
6823 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6824 * vc/ediff-mult.el: Adjust requires.
6825 (ediff-directories-internal, ediff-directory-revisions-internal)
6826 (ediff-patch-file-internal): Declare.
6827 * vc/ediff-ptch.el: Adjust requires.
6828 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6829 (ediff-find-file): Autoload.
6830 * vc/ediff-util.el: No need to load ediff when compiling.
6831 (ediff-regions-internal): Declare.
6832 * vc/ediff-wind.el: Adjust requires.
6833 (ediff-compute-toolbar-width): Define when compiling.
6834 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6835 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6836 (dired-get-filename, dired-get-marked-files)
6837 (ediff-last-dir-patch, ediff-patch-default-directory)
6838 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6839 (ediff-patch-buffer-internal): Declare.
6840
e2aec513
GM
6841 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6842 (ispell-process, ispell-buffer-local-words, lm-summary)
6843 (lm-section-start, lm-section-end): Declare.
6844 (checkdoc-ispell-init): Simplify.
6845
e68bbd7c
GM
6846 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6847 (he-string-member, he-reset-string, he-substitute-string): Declare.
6848
7efe0991
GM
6849 * eshell/em-ls.el: Adjust requires.
6850 (eshell-glob-regexp): Declare.
f87b1284
GM
6851 * eshell/em-tramp.el: Adjust requires.
6852 (eshell-parse-command): Autoload.
6853 * eshell/em-xtra.el: Adjust requires.
6854 (eshell-parse-command): Autoload.
6855 * eshell/esh-ext.el: Adjust requires.
6856 (eshell-parse-command, eshell-close-handles): Autoload.
6857 * eshell/esh-io.el: Adjust requires.
6858 (eshell-output-filter): Autoload.
6859 * eshell/esh-util.el: No need to load tramp when compiling.
6860 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6861 Declare.
6862 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6863 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6864 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6865 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6866 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6867 * eshell/esh-opt.el, eshell/esh-proc.el:
6868 * eshell/esh-var.el: Adjust requires.
6869 * eshell/eshell.el: Do not require esh-util twice.
6870 (eshell-add-input-to-history): Declare.
6871 (eshell-command): Check history module is active before using it.
6872
d361bc10
GM
6873 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6874
85d090a9
LL
68752013-05-22 Leo Liu <sdl.web@gmail.com>
6876
6877 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6878
5d0acd9d
MA
68792013-05-22 Michael Albinus <michael.albinus@gmx.de>
6880
6881 * autorevert.el (auto-revert-notify-add-watch)
6882 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6883 it indicates changes in file modification time.
6884
0cdffd7d
GM
68852013-05-22 Glenn Morris <rgm@gnu.org>
6886
ca5995ec
GM
6887 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6888 Always delete the autoloaded function from the noruntime and
6889 unresolved functions lists.
6890
6450907e
GM
6891 * allout.el: No need to load epa, epg, overlay when compiling.
6892 (epg-context-set-passphrase-callback, epg-list-keys)
6893 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6894 (epg-key-user-id-list): Declare.
6895
9c6906f6
GM
6896 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6897 (viper-set-parsing-style-toggling-macro)
6898 (viper-set-emacs-state-searchstyle-macros):
6899 Use called-interactively-p on Emacs.
6900 (viper-looking-back): Make it an obsolete alias. Update callers.
6901 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6902 Use looking-back rather than viper-looking-back.
6903 (viper-tmp-insert-at-eob, viper-enlarge-region)
6904 (viper-read-string-with-history, viper-register-to-point)
6905 (viper-append-to-register, viper-change-state-to-vi)
6906 (viper-backward-char-carefully, viper-forward-char-carefully)
6907 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6908 (viper-change-state-to-emacs): Declare.
6909 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6910 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6911 * emulation/viper-mous.el: Do not load viper-cmd.
6912 (viper-backward-char-carefully, viper-forward-char-carefully)
6913 (viper-forward-word, viper-adjust-window): Declare.
6914
5f70c169
GM
6915 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6916
b1b7f300
GM
6917 * progmodes/idlw-help.el (idlwave-help-fontify):
6918 Use called-interactively-p.
6919
f6ebbb46
GM
6920 * term/w32console.el (w32-get-console-codepage)
6921 (w32-get-console-output-codepage): Declare.
6922
0cdffd7d
GM
6923 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6924 Remove unnecessary declarations.
6925 (dframe-message): Doc fix.
6926
6927 * info.el (dframe-select-attached-frame, dframe-current-frame):
6928 Declare.
6929
6930 * speedbar.el (speedbar-message): Make it an obsolete alias.
6931 Update all callers.
6932 (speedbar-with-attached-buffer)
6933 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6934 (speedbar-with-writable): Use backquote.
6935 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6936 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6937 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6938 rather than speedbar- aliases.
6939 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6940 (speedbar-make-specialized-keymap, speedbar-insert-button)
6941 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6942 (speedbar-do-function-pointer): Declare.
6943 (rmail-speedbar-button, rmail-speedbar-find-file)
6944 (rmail-speedbar-move-message):
6945 Use dframe-with-attached-buffer rather than speedbar- alias.
6946 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6947 (dframe-message, speedbar-make-specialized-keymap)
6948 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6949 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6950 (speedbar-insert-button, dframe-select-attached-frame)
6951 (dframe-maybee-jump-to-attached-frame)
6952 (speedbar-change-initial-expansion-list)
6953 (speedbar-previously-used-expansion-list-name): Declare.
6954 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6955 Use dframe-message, dframe-with-attached-buffer rather than
6956 speedbar- aliases.
6957 (gud-sentinel): Silence compiler.
6958 * progmodes/vhdl-mode.el (speedbar-refresh)
6959 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6960 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6961 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6962 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6963 (speedbar-file-lists, speedbar-make-tag-line)
6964 (speedbar-line-directory, speedbar-goto-this-file)
6965 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6966 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6967 (speedbar-make-button, speedbar-reset-scanners)
6968 (speedbar-files-item-info, speedbar-line-text)
6969 (speedbar-find-file-in-frame, speedbar-set-timer)
6970 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6971 (speedbar-with-writable): Do not (re)define it.
6972 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6973 rather than speedbar- alias.
6974
ee44b62a
LL
69752013-05-21 Leo Liu <sdl.web@gmail.com>
6976
6977 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6978 menu items.
6979 (octave-mode): Tweak fill-nobreak-predicate.
6980 (inferior-octave-startup): Check process to avoid infinite loop.
6981 (inferior-octave): Pop to buffer first to show abornmal process
6982 exit information.
6983
640f050f
GM
69842013-05-21 Glenn Morris <rgm@gnu.org>
6985
79458038
GM
6986 * printing.el (pr-menu-bar): Define when compiling.
6987
9cc3e83f
LL
69882013-05-21 Leo Liu <sdl.web@gmail.com>
6989
6990 * progmodes/octave.el (octave-auto-fill): Remove.
6991 (octave-indent-new-comment-line): Improve.
6992 (octave-mode): Use auto fill mode through
4f405069 6993 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6994 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6995 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6996 (octave-help): Show parent directory.
6997
f440830d
GM
69982013-05-21 Glenn Morris <rgm@gnu.org>
6999
7000 * files.el (dired-unmark):
7001 * progmodes/gud.el (gdb-input): Update declarations.
7002
7003 * calculator.el (electric, ehelp): No need to load when compiling.
7004 (Electric-command-loop, electric-describe-mode): Declare.
7005
7006 * doc-view.el (doc-view-current-converter-processes): Move before use.
7007
7008 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7009 Move MODE-set-explicitly definition before use.
7010
7011 * international/mule-diag.el (mule-diag):
7012 Don't use obsolete window-system-version.
7013
7014 * mail/feedmail.el (smtpmail): No need to load when compiling.
7015 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7016
7017 * mail/mail-utils.el (rfc822): No need to load when compiling.
7018 (rfc822-addresses): Autoload it.
7019 (mail-strip-quoted-names): Trivial simplification.
7020
7021 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7022 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7023
7024 * net/snmp-mode.el (tempo): Don't duplicate requires.
7025
7026 * progmodes/prolog.el (info): No need to load when compiling.
7027 (comint): Require before shell requires it.
7028 (Info-goto-node): Autoload it.
7029 (Info-follow-nearest-node): Declare.
7030 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7031
7032 * textmodes/artist.el (picture-mode-exit): Declare.
7033
7034 * textmodes/reftex-parse.el (reftex-parse-from-file):
7035 Trivial rewrite so the compiler can parse it better.
7036
b4da2cbb
LL
70372013-05-20 Leo Liu <sdl.web@gmail.com>
7038
7039 * progmodes/octave.el (octave-help-mode-map)
7040 (octave-help-mode-finish-hook): New variables.
7041 (octave-help-mode, octave-help-mode-finish): New functions.
7042 (octave-help): Use octave-help-mode.
7043
33c0f65b
GM
70442013-05-20 Glenn Morris <rgm@gnu.org>
7045
7046 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7047
1a0a0a8a
DG
70482013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7049
7050 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7051 start at point, so that expansion starting right after opening
7052 slash in a regexp is recognized.
7053 (ruby-syntax-before-regexp-re): New defvar, extracted from
7054 ruby-syntax-propertize-function. Since the value of this regexp
7055 is looked up at runtime now, we should be able to turn
7056 `ruby-syntax-methods-before-regexp' into a defcustom later.
7057 (ruby-syntax-propertize-function): Split regexp matching into two
7058 parts, for opening and closing slashes. That allows us to skip
7059 over string interpolations and support multiline regexps.
7060 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7061 for them, which calls `ruby-syntax-propertize-expansion'.
7062 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7063 call to `ruby-syntax-propertize-function'.
7064 (ruby-syntax-propertize-expansion): Extracted from
7065 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7066 (ruby-syntax-propertize-percent-literal): Leave point right after
7067 the percent symbol, so that the expression expansion rule can
7068 propertize the contents.
462388b6
DG
7069 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7070 heredoc openers.
7071 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7072
c1a6c0a4
JL
70732013-05-18 Juri Linkov <juri@jurta.org>
7074
7075 * man.el (Man-default-man-entry): Remove `-' from the end
7076 of the default value. (Bug#14400)
7077
8051fccd
GM
70782013-05-18 Glenn Morris <rgm@gnu.org>
7079
7080 * comint.el (comint-password-prompt-regexp):
7081 Allow "password for XXX" where XXX contains colons (eg https://...).
7082
5e80b74f
LL
70832013-05-18 Leo Liu <sdl.web@gmail.com>
7084
7085 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7086 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7087 (octave-source-directories): Don't check process.
7088 (octave-source-directories, octave-find-definition): Doc fix.
7089
521a54c5
GM
70902013-05-18 Glenn Morris <rgm@gnu.org>
7091
86a94b05
GM
7092 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7093 Remove backspace/delete bindings. (Bug#14392)
7094
521a54c5
GM
7095 * cus-dep.el (custom-make-dependencies): Sort the output.
7096 (custom-versions-load-alist): Convert comment to doc.
7097
42caeb89
LL
70982013-05-17 Leo Liu <sdl.web@gmail.com>
7099
7100 * newcomment.el (comment-search-backward): Stricter in finding
7101 comment start. (Bug#14303)
7102
7103 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7104 (octave-comment-start-skip): Properly anchored.
7105
e219dd97
LL
71062013-05-17 Leo Liu <sdl.web@gmail.com>
7107
fe1eb856
RS
7108 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7109 Clean up when turned off. (Bug#14395)
e219dd97
LL
7110 (smie--highlight-matching-block-overlay): No longer buffer-local.
7111 (smie-highlight-matching-block): Adjust.
7112
dc5dcb4b
PE
71132013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7114
7115 Doc string fix for "nanoseconds" (Bug#14406).
7116 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7117 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7118
1db165f0
JB
71192013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7120
7121 * calc/calc-units.el (math-extract-units): Preserve powers
7122 of units.
7123
c7a8fcac
LL
71242013-05-17 Leo Liu <sdl.web@gmail.com>
7125
7126 * subr.el (delete-consecutive-dups): New function.
7127 * ido.el (ido-set-matches-1): Use it.
7128 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7129 * ido.el (ido-remove-consecutive-dups): Remove.
7130
f678b18a
SM
71312013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7134 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7135 regexp-opt's `words'.
7136
ebfe68e8
LL
71372013-05-16 Leo Liu <sdl.web@gmail.com>
7138
7139 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7140 (smie--highlight-matching-block-overlay)
7141 (smie--highlight-matching-block-lastpos)
7142 (smie--highlight-matching-block-timer): New variables.
7143 (smie-highlight-matching-block): New function.
7144 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7145 (smie-setup): Conditionally enable smie-blink-matching-open.
7146
bc8bc17d
WS
71472013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7148
7149 Sync with upstream verilog-mode r840.
7150 * progmodes/verilog-mode.el (verilog-mode-version)
7151 (verilog-mode-release-date): Update.
7152 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7153 (verilog-sig-tieoff): Fix string error on
7154 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7155 (verilog-read-decls): Fix parameters confusing
7156 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7157
df065a0b
EZ
71582013-05-16 Eli Zaretskii <eliz@gnu.org>
7159
7160 * subr.el (reveal-filename): New function.
7161
7162 * loadup.el: Compute Emacs executable versions on MS-Windows,
7163 where executables have the .exe extension. Add a hard link
7164 emacs-XX.YY.ZZ.exe on MS-Windows.
7165
7166 * Makefile.in (XARGS_LIMIT): New variable.
7167 (custom-deps, finder-data, autoloads)
7168 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7169 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7170 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7171 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7172
2d4bf34b
LL
71732013-05-16 Leo Liu <sdl.web@gmail.com>
7174
7175 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7176 (octave-mode-menu, octave-mode-map): Remove its uses.
7177
6b9c2d85
RZ
71782013-05-16 Reto Zimmermann <reto@gnu.org>
7179
7180 Sync with upstream vhdl mode v3.34.2.
7181 * progmodes/vhdl-mode.el: Use `push' throughout.
7182 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7183 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7184 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7185 (vhdl-actual-generic-name): New option to derive actual generic name.
7186 (vhdl-port-paste-signals): Replace formal by actual generics.
7187 (vhdl-beautify): New name for old group vhdl-align. Update users.
7188 (vhdl-beautify-options): New option.
7189 (vhdl-last-input-event): New compat alias. Use throughout.
7190 (vhdl-goto-line): Replace user level function `goto-line'.
7191 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7192 vhdl-fix-statement-buffer.
7193 (vhdl-create-mode-menu): Add some entries.
7194 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7195 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7196 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7197 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7198 to force statements on one line.
7199 (vhdl-remove-trailing-spaces-region):
7200 New, split from vhdl-remove-trailing-spaces.
7201 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7202 Respect vhdl-beautify-options.
7203 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7204 (vhdl-update-sensitivity-list): Not add with index if exists without.
7205 Not include array index with signal. Ignore keywords in comments.
7206 (vhdl-get-visible-signals): Regexp tweaks.
7207 (vhdl-template-component-inst): Handle empty library.
7208 (vhdl-template-type): Add template for 'enum' type.
7209 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7210 Use vhdl-replace-string.
7211 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7212 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7213 (vhdl-speedbar-initialize): Update for above name change.
7214 (vhdl-compose-wire-components): Fix in handling of constants.
7215 (vhdl-error-regexp-emacs-alist): New variable.
7216 (vhdl-error-regexp-add-emacs): New function;
7217 adds support for new compile.el (Emacs 22+)
7218 (vhdl-generate-makefile-1): Change target order for single lib. units.
7219 Allow use of absolute file names.
7220
9df4ec5e
LL
72212013-05-16 Leo Liu <sdl.web@gmail.com>
7222
7223 * simple.el (prog-indent-sexp): Indent enclosing defun.
7224
f5ba00a6
GM
72252013-05-15 Glenn Morris <rgm@gnu.org>
7226
ed8be7ff
GM
7227 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7228 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7229 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7230 (whitespace-highlight): Move to whitespace group.
7231
7232 * comint.el (comint-source):
7233 * pcmpl-linux.el (pcmpl-linux):
7234 * shell.el (shell-faces):
7235 * eshell/esh-opt.el (eshell-opt):
7236 * international/ccl.el (ccl): Remove empty custom groups.
7237
7238 * completion.el (dynamic-completion-mode):
7239 * jit-lock.el (jit-lock-debug-mode):
7240 * minibuffer.el (completion-in-region-mode):
7241 * type-break.el (type-break-mode-line-message-mode)
7242 (type-break-query-mode):
7243 * emulation/tpu-edt.el (tpu-edt-mode):
7244 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7245 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7246 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7247
7248 * term/xterm.el (xterm): Change parent group to terminals.
7249
7250 * master.el (master): Remove empty custom group.
7251 (master-mode): Remove unused :group argument.
7252 * textmodes/refill.el (refill): Remove empty custom group.
7253 (refill-mode): Remove unused :group argument.
7254
7255 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7256
82a7c41b
GM
7257 * cus-dep.el: Provide a feature.
7258 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7259 Don't mistakenly ignore files whose basenames match a basename
7260 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7261 Add a fallback method for getting :group.
f5ba00a6 7262
6d65486d
JL
72632013-05-15 Juri Linkov <juri@jurta.org>
7264
da547b32
JL
7265 * isearch.el (isearch-char-by-name): Rename from
7266 `isearch-insert-char-by-name'. Doc fix.
7267 (isearch-forward): Mention `isearch-char-by-name' in
7268 the docstring. (Bug#13348)
7269
6d65486d
JL
7270 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7271 `exit-minibuffer' instead of
7272 `isearch-nonincremental-exit-minibuffer'.
7273 (isearch-edit-string): Remove mention of
7274 `isearch-nonincremental-exit-minibuffer' from docstring.
7275 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7276 (isearch-forward-exit-minibuffer)
7277 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7278
c9990474
SM
72792013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7280
6e911150
SM
7281 * loadup.el: Just use unversioned DOC.
7282
c9990474
SM
7283 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7284 literals as extending to EOB.
7285 (nxml-last-fontify-end): Remove unused variable.
7286 (nxml-after-change1): Use with-silent-modifications.
7287 (nxml-extend-after-change-region): Simplify.
7288 (nxml-extend-after-change-region1): Remove function.
7289 (nxml-after-change1): Don't adjust for dependent regions.
7290 (nxml-fontify-matcher): Simplify.
7291 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7292 (xmltok-add-dependent): Remove function.
7293 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7294 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7295 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7296 unclosed <[[, <?, comment, and other literals as extending to EOB.
7297 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7298 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7299 Remove functions.
7300 (rng-do-some-validation-1): Don't mark dependent regions.
7301 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7302 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7303 (nxml-clear-dependent-regions): Remove functions.
7304 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7305 (nxml-ensure-scan-up-to-date):
7306 Don't clear&mark dependent regions.
7307
e3772e98
LL
73082013-05-15 Leo Liu <sdl.web@gmail.com>
7309
c9990474
SM
7310 * progmodes/octave.el (octave-goto-function-definition):
7311 Improve and fix callers.
e3772e98 7312
5ac2eb34
SM
73132013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7314
c46c57b0
SM
7315 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7316 the setter (bug#14387).
7317
5ac2eb34
SM
7318 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7319 surrounding group (bug#14402).
7320
180ed218
JL
73212013-05-14 Juri Linkov <juri@jurta.org>
7322
7323 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7324 (Bug#14390)
7325
0ac0fecb
GM
73262013-05-14 Glenn Morris <rgm@gnu.org>
7327
7328 * progmodes/f90.el (f90-imenu-generic-expression):
7329 Fix typo in 2013-05-08 change. (Bug#14402)
7330
2e78e6a7
JPG
73312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7332
5ac2eb34
SM
7333 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7334 Remove signals for which replies are never received.
2e78e6a7 7335
53267cca
JPG
73362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7337
7338 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7339 (gdb-handler-alist, gdb-handler-number): Remove variables.
7340 (gdb-handler-list): New variable.
7341 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7342 (gdb-pending-handler-p, gdb-handle-reply)
7343 (gdb-remove-all-pending-triggers): New functions.
7344 (gdb-discard-unordered-replies): New defcustom.
7345 (gdb-handler): New defstruct.
7346 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7347 instead of gdb-pending-triggers. Update docstring.
7348 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7349 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7350 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7351 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7352 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7353 (gdb-frame-handler): Pending triggers are now automatically managed.
7354 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7355 Remove argument.
7356 (gdb-input): Automatically handles pending triggers. Update docstring.
7357 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7358 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7359 Update comments.
7360 (gdb-done-or-error): Now use gdb-handle-reply.
7361
d04ce803
JPG
73622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7363
7364 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7365 gdb-debug-log.
7366
0114073a
GM
73672013-05-14 Glenn Morris <rgm@gnu.org>
7368
7369 * subr.el (user-emacs-directory-warning): New option.
7370 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7371
4d25fd7e
LL
73722013-05-14 Leo Liu <sdl.web@gmail.com>
7373
7374 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7375 during redisplay.
7376 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7377 (octave-font-lock-texinfo-comment): Fix invalid search bound
7378 error: wrong side of point.
4d25fd7e 7379
27c8b6eb
GM
73802013-05-14 Glenn Morris <rgm@gnu.org>
7381
61aaeb01
GM
7382 * progmodes/flymake.el (flymake-xml-program): New option.
7383 (flymake-xml-init): Use it.
7384
5bf90bc5
GM
7385 * term/xterm.el: Provide a feature.
7386
7387 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7388
f4c7dfd2
GM
73892013-05-13 Glenn Morris <rgm@gnu.org>
7390
7391 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7392 Add compat aliases as a hack workaround. (Bug#14384)
7393
2aeb3a1d
LL
73942013-05-13 Leo Liu <sdl.web@gmail.com>
7395
b0e069c2
LL
7396 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7397 ###, and %!.
f5a9432f
LL
7398 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7399 C-M-q.
b0e069c2
LL
7400 (octave-comment-start-skip): Include %!.
7401 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7402
30ea8374
LL
74032013-05-12 Leo Liu <sdl.web@gmail.com>
7404
7405 * progmodes/octave.el (inferior-octave-startup): Store the value
7406 of __octave_srcdir__ for octave-source-directories.
7407 (inferior-octave-check-process): New function refactored out of
7408 inferior-octave-send-list-and-digest.
7409 (octave-source-directories)
7410 (octave-find-definition-filename-function): New variables.
7411 (octave-source-directories)
7412 (octave-find-definition-default-filename): New functions.
7413 (octave-find-definition): Improve to find functions implemented in C++.
7414
472a3834
GM
74152013-05-12 Glenn Morris <rgm@gnu.org>
7416
7417 * calendar/diary-lib.el (diary-outlook-format-1):
7418 Don't include dayname in the output. (Bug#14349)
7419
3191b52f
GM
74202013-05-11 Glenn Morris <rgm@gnu.org>
7421
0060ac73
GM
7422 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7423
3191b52f
GM
7424 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7425 Treat cc-provide like provide.
7426
e065ba74
KR
74272013-05-11 Kevin Ryde <user42@zip.com.au>
7428
7429 * cus-dep.el (custom-make-dependencies):
7430 Use generated-autoload-load-name for the sake of files such
7431 such cedet/semantic/bovine/c.el, where the base file name
7432 is not in load-path. (Bug#5277)
7433
36f84c37
GM
74342013-05-11 Glenn Morris <rgm@gnu.org>
7435
7436 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7437 Provide features.
7438
c8730c3a
LL
74392013-05-11 Leo Liu <sdl.web@gmail.com>
7440
7441 * progmodes/octave.el (octave-indent-comment): Improve.
7442 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7443 (octave-eldoc-function-signatures, octave-eldoc-function):
7444 New functions.
c8730c3a
LL
7445 (octave-mode, inferior-octave-mode): Add eldoc support.
7446
212e29f2
RS
74472013-05-11 Richard Stallman <rms@gnu.org>
7448
7449 * epa.el (epa-decrypt-file): Take output file name as argument
7450 and read it using `interactive'.
7451
083fe0d7
LL
74522013-05-11 Leo Liu <sdl.web@gmail.com>
7453
7454 * progmodes/octave.el (octave-beginning-of-line)
7455 (octave-end-of-line): Check before using up-list because it jumps
7456 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7457 (octave-indent-comment): New function.
7458 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7459 (octave-begin-keywords, octave-end-keywords)
7460 (octave-reserved-words, octave-smie-bnf-table)
7461 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7462
8582e4c4
GM
74632013-05-11 Glenn Morris <rgm@gnu.org>
7464
f20def1f
GM
7465 * faces.el (internal-face-x-get-resource):
7466 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7467 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7468 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7469 Fix declarations.
f20def1f 7470
445f95e2
GM
7471 * calc/calc-menu.el: Make it loadable in isolation.
7472
7473 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7474 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7475 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7476 (eudc-bbdb-query-internal): Require 'bbdb.
7477
99fb2756
GM
7478 * lpr.el (lpr-headers-switches):
7479 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7480
7481 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7482
0da7ad96
GM
7483 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7484
8582e4c4
GM
7485 * term.el (term-set-escape-char): Make it idempotent.
7486
f71c50d0
LL
74872013-05-10 Leo Liu <sdl.web@gmail.com>
7488
5ac2eb34
SM
7489 * progmodes/octave.el (inferior-octave-completion-table):
7490 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7491 completion due to bug#11906.
7492 (octave-beginning-of-defun): Re-write to be more general.
7493
d5837773
GM
74942013-05-10 Glenn Morris <rgm@gnu.org>
7495
7496 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7497
027c0f75
SM
74982013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * comint.el (comint-redirect-send-command-to-process): Use :around
7501 rather than :override for comint-redirect-filter.
7502 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7503 Call it instead of comint-redirect-original-filter-function (which
7504 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7505
4465bfb4
JD
75062013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7507
7508 * frame.el (display-monitor-attributes-list): Add NS case.
7509 (ns-display-monitor-attributes-list): Declare.
7510
2d809ffa 75112013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7512
7513 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7514
e54eeb9b
GM
75152013-05-09 Glenn Morris <rgm@gnu.org>
7516
56cd351d
GM
7517 * international/fontset.el (vertical-centering-font-regexp):
7518 Set standard-value.
7519
d84b6108
GM
7520 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7521
a931698a
GM
7522 * bookmark.el (bookmark-search-delay):
7523 * cus-start.el (vertical-centering-font-regexp):
7524 * ps-mule.el (ps-mule-font-info-database-default):
7525 * ps-print.el (ps-default-fg, ps-default-bg):
7526 * type-break.el (type-break-good-break-interval):
7527 * whitespace.el (whitespace-indentation-regexp)
7528 (whitespace-space-after-tab-regexp):
7529 * emacs-lisp/testcover.el (testcover-1value-functions)
7530 (testcover-noreturn-functions, testcover-progn-functions)
7531 (testcover-prog1-functions):
7532 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7533 * eshell/em-glob.el (eshell-glob-translate-alist):
7534 * play/tetris.el (tetris-tty-colors):
7535 * progmodes/cpp.el (cpp-face-default-list):
7536 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7537 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7538 (idlwave-help-browser-generic-args):
7539 * progmodes/make-mode.el (makefile-special-targets-list):
7540 * progmodes/python.el (python-shell-virtualenv-path):
7541 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7542 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7543 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7544 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7545 * textmodes/reftex-vars.el (reftex-format-label-function):
7546 * textmodes/remember.el (remember-diary-file): Fix custom types.
7547
e54eeb9b
GM
7548 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7549 Add :version.
7550
455851dd
LL
75512013-05-09 Leo Liu <sdl.web@gmail.com>
7552
7553 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7554 Restore file completion. (Bug#14300)
455851dd
LL
7555 (inferior-octave-startup): Fix incorrect highlighting for the
7556 first prompt.
7557
a9e4425b
SM
75582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * progmodes/ruby-mode.el: First cut at SMIE support.
7561 (ruby-use-smie): New var.
7562 (ruby-smie-grammar): New constant.
7563 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7564 (ruby-smie--forward-token, ruby-smie--backward-token)
7565 (ruby-smie-rules): New functions.
7566 (ruby-mode-variables): Setup SMIE if applicable.
7567
060ca408
EZ
75682013-05-08 Eli Zaretskii <eliz@gnu.org>
7569
7570 * simple.el (line-move-visual): Signal beginning/end of buffer
7571 only if vertical-motion moved less than it was requested. Avoids
7572 silly incorrect error messages when there are display strings with
7573 multiple newlines at EOL.
7574
1d5963cc
SM
75752013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7578 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7579 (prolog-char-quote-workaround):
7580 * progmodes/cperl-mode.el (cperl-under-as-char):
7581 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7582 Mark as obsolete.
7583 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7584 their declaration.
7585 (vhdl-mode-syntax-table-init): Remove.
7586
c9990474
SM
7587 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7588 last change.
1d5963cc
SM
7589
7590 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7591 syntax for "_".
7592 (ld-script-font-lock-keywords):
7593 Change regexps to use things like \_< and \_>.
7594
7595 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7596 Change all regexps to use things like \_< and \_>.
7597
7598 * progmodes/autoconf.el (autoconf-definition-regexp)
7599 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7600 Handle a _ with symbol syntax.
7601 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7602
c9990474
SM
7603 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7604 Consolidate declaration.
1d5963cc
SM
7605 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7606 the declaration.
7607 (ada-create-syntax-table): Remove.
7608 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7609 already has the right syntax nowadays.
7610 (ada-goto-next-word): Don't change the syntax of "_".
7611
7612 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7613 with-wrapper-hook.
7614
72d3cfca
SS
76152013-05-08 Sam Steingold <sds@gnu.org>
7616
7617 * thingatpt.el (thing-at-point): Accept optional second argument
7618 NO-PROPERTIES to strip the text properties from the return value.
7619 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7620 to `thing-at-point' instead of stripping the properties ourselves.
7621 Also, when `thing-at-point' fails to find a url, prepend "http://"
7622 to the filename at point on the assumption that the user is
7623 pointing at something like gnu.org/gnu.
7624
5cb15713
JB
76252013-05-08 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7628 * faces.el (crm-separator):
7629 Silence byte-compiler.
7630
7631 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7632 (tool-bar-map): Remove unneeded defvars.
7633
ea78b95b
LL
76342013-05-08 Leo Liu <sdl.web@gmail.com>
7635
7636 Re-work a fix for bug#10994 based on Le Wang's patch.
7637 * ido.el (ido-remove-consecutive-dups): New helper.
7638 (ido-completing-read): Use it.
7639 (ido-chop): Revert fix for bug#10994.
7640
dc7466df
AS
76412013-05-08 Adam Spiers <emacs@adamspiers.org>
7642
7643 * cus-edit.el (custom-save-variables):
7644 Pretty-print long values. (Bug#14187)
7645
9ecf672a
GM
76462013-05-08 Glenn Morris <rgm@gnu.org>
7647
7648 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7649 (m4-mode-syntax-table): Init in the defvar.
7650 (m4-mode-abbrev-table): Let define-derived-mode define it.
7651
3f555be8
TT
76522013-05-08 Tom Tromey <tromey@redhat.com>
7653
7654 * progmodes/m4-mode.el (m4-mode-syntax-table):
7655 Do not treat "_" as word constituent. (Bug#14167)
7656
7cc8ae06
GM
76572013-05-07 Glenn Morris <rgm@gnu.org>
7658
4f58bc06
GM
7659 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7660 Remove explicit eshell-isearch-cancel-map.
7661
7cc8ae06
GM
7662 * progmodes/f90.el (f90-smart-end-names): New option.
7663 (f90-smart-end): Doc fix.
7664 (f90-end-block-optional-name): New constant.
7665 (f90-block-match): Respect f90-smart-end-names.
7666
ceb57e59
SM
76672013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7670 about implicit semi-colons (bug#14218).
7671
4e3f9230
YM
76722013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7673
7674 * frame.el (display-monitor-attributes-list)
7675 (frame-monitor-attributes): New functions.
7676
203a5572
LL
76772013-05-06 Leo Liu <sdl.web@gmail.com>
7678
7679 * progmodes/octave.el (octave-syntax-propertize-function): Change
7680 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7681 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7682 (octave-completion-at-point): Rename from
203a5572
LL
7683 octave-completion-at-point-function.
7684 (inferior-octave-directory-tracker): Robustify.
7685 (octave-text-functions): Remove and fix its uses. No such things
7686 any more.
7687
ee6cff99
SM
76882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * emacs-lisp/trace.el (trace--display-buffer): New function.
7691 (trace-make-advice): Use it.
7692
32985194
JL
76932013-05-06 Juri Linkov <juri@jurta.org>
7694
7695 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7696 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7697 Doc fix.
7698 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7699 in the help string. (Bug#12985)
7700
a1c700de
KD
77012013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7702
7703 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7704
c67c0839
SM
77052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7706
323885fd
SM
7707 * progmodes/perl-mode.el: Add support for here documents.
7708 (perl-syntax-propertize-function): Match here-doc markers.
7709 (perl-syntax-propertize-special-constructs): Find their end.
7710 (perl-imenu-generic-expression): Use [:alnum:].
7711
c67c0839
SM
7712 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7713 (advice--add-function): Refresh the advice if already present
7714 (bug#14317).
7715
d491e7a8
IA
77162013-05-06 Ivan Andrus <darthandrus@gmail.com>
7717
7718 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7719
ddf9925e
GM
77202013-05-06 Glenn Morris <rgm@gnu.org>
7721
7cc3af27
GM
7722 * w32-fns.el (w32-charset-info-alist): Declare.
7723
16e343d6
GM
7724 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7725 of its defcustom properties.
7726 (eshell-cmpl-initialize): No need to load pcomplete.
7727
7d889a47
GM
7728 * generic-x.el: No need to require comint when compiling.
7729
ddf9925e
GM
7730 * net/eudc-export.el: Make it loadable without bbdb.
7731 (top-level): Use require rather than load-library.
7732 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7733 (eudc-batch-export-records-to-bbdb)
7734 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7735 Require bbdb.
7736
1e2c18df
SM
77372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7740 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7741 some tweaks, instead.
7742
02502a5f
LL
77432013-05-05 Leo Liu <sdl.web@gmail.com>
7744
7745 * progmodes/octave.el (octave-font-lock-keywords)
7746 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7747 (inferior-octave-send-list-and-digest): Improve error message.
7748 (octave-mode, inferior-octave-mode): Use setq-local.
7749 (octave-help): Set info-lookup-mode.
7750
0dc04f42
RS
77512013-05-05 Richard Stallman <rms@gnu.org>
7752
6c54491c
RS
7753 * vc/compare-w.el (compare-windows-whitespace):
7754 Treat no-break space as whitespace.
7755
0dc04f42
RS
7756 * mail/rmailsum.el (rmail-summary-rmail-update):
7757 Detect empty summary and don't change selected message.
7758 (rmail-summary-goto-msg): Likewise.
7759
df8f35df
RS
7760 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7761 Doc fixes, rename args.
7762
5356e1a3
AM
77632013-05-05 Alan Mackenzie <acm@muc.de>
7764
7765 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7766
d44014cb
JL
77672013-05-05 Juri Linkov <juri@jurta.org>
7768
7769 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7770 to not add the length of the summary segment to the return value.
7771 (Bug#14125)
7772
c129b51f
LL
77732013-05-05 Leo Liu <sdl.web@gmail.com>
7774
7775 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7776 (inferior-octave-output-filter): Remove.
7777 (octave-send-region, inferior-octave-startup): Fix callers.
7778 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7779 (octave-binary-file-extensions): New user variable.
7780 (octave-find-definition): Confirm if opening binary files.
7781 (octave-help-file): Use octave-find-definition to get the binary
7782 confirmation.
7783 (octave-help): Adjust for octave-help-file change.
7784
aa7dab97
SM
77852013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7788 Merge the two entries that handle function definitions.
7789 (pascal--syntax-propertize): New const.
7790 (pascal-mode): Use it. Use setq-local.
7791
fd3a9a6b
GM
77922013-05-04 Glenn Morris <rgm@gnu.org>
7793
7794 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7795 (diary-from-outlook): Respect diary-from-outlook-function.
7796
30c7e542
SM
77972013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7800 Move the declaration from C.
7801 (read-minibuffer, eval-minibuffer): Move from C.
7802 (completion-setup-function): Avoid minibuffer-completion-contents.
7803
b54f978b
LL
78042013-05-03 Leo Liu <sdl.web@gmail.com>
7805
7806 * progmodes/octave.el (octave-font-lock-keywords): Do not
7807 dehighlight 'end' in comments or strings.
30c7e542
SM
7808 (octave-completing-read, octave-goto-function-definition):
7809 New helpers.
d4d0f9b3
LL
7810 (octave-help-buffer): New user variable.
7811 (octave-help-file, octave-help-function): New button types.
7812 (octave-help): New command and bind it to C-h ;.
7813 (octave-find-definition): New command and bind it to M-.
d74a1581 7814 (user-error): Alias to error if not defined.
b54f978b 7815
27135018
LL
78162013-05-02 Leo Liu <sdl.web@gmail.com>
7817
7818 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7819 for \. (bug#14332)
7820 (octave-font-lock-keywords): Include [ and {.
7821
0d634d3a
LL
78222013-05-02 Leo Liu <sdl.web@gmail.com>
7823
7824 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7825 (inferior-octave): Remove calling comint-mode and return the buffer.
7826 (inferior-octave-startup): Cosmetic changes.
7827
b4c8295e
LL
78282013-05-02 Leo Liu <sdl.web@gmail.com>
7829
30c7e542
SM
7830 * progmodes/octave.el (octave-syntax-propertize-function):
7831 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7832
f12ad6ec
GM
78332013-05-02 Glenn Morris <rgm@gnu.org>
7834
7835 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7836 * desktop.el (vc-dir-mode): Just autoload it here.
7837
30cac1e0
AM
78382013-05-02 Alan Mackenzie <acm@muc.de>
7839
7840 Eliminate variable c-standard-font-lock-fontify-region-function.
7841 * progmodes/cc-mode.el
7842 (c-standard-font-lock-fontify-region-function): Remove.
7843 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7844
d8ef28b1
LL
78452013-05-01 Leo Liu <sdl.web@gmail.com>
7846
2640d52e 7847 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7848 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7849 variables were removed from Octave in 2007.
d8ef28b1
LL
7850 (inferior-octave-startup): Fix uses.
7851 (comint-line-beginning-position): Remove compatibility code for
7852 emacs 21.
7853
ac63ec89
JL
78542013-05-01 Juri Linkov <juri@jurta.org>
7855
7856 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7857
9e9be37c
JL
78582013-05-01 Juri Linkov <juri@jurta.org>
7859
7860 * comint.el (comint-previous-matching-input): Don't print message
7861 "History item: %d" when `isearch-mode' is active.
7862 (comint-history-isearch-message): Print message "History item: %d"
7863 when `comint-input-ring-index' is not empty and this function is
7864 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7865
9b92c13b
LL
78662013-05-01 Leo Liu <sdl.web@gmail.com>
7867
7868 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7869 definitions. Use completion-at-point to insert keywords.
7870 (octave-abbrev-start): Remove.
7871 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7872
b12d33d7
LL
78732013-04-30 Leo Liu <sdl.web@gmail.com>
7874
7875 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7876 change.
7877
3d1c39fa
AM
78782013-04-30 Alan Mackenzie <acm@muc.de>
7879
7880 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7881 * progmodes/cc-engine.el (c-back-over-member-initializers):
7882 new function.
3d1c39fa
AM
7883 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7884 (most) member init lists.
7885
5147fc17
RS
78862013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7887
7888 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7889 variable.
7890
5b78d7fc
LL
78912013-04-30 Leo Liu <sdl.web@gmail.com>
7892
7893 * progmodes/octave.el (octave-variables): Remove. No builtin
7894 variables any more. All converted to functions.
7895 (octave-font-lock-keywords, octave-completion-at-point-function):
7896 Fix uses.
7897 (octave-font-lock-texinfo-comment): New user variable.
7898 (octave-texinfo-font-lock-keywords): New variable for texinfo
7899 comment block.
7900 (octave-function-comment-block): New face.
7901 (octave-font-lock-texinfo-comment): New function.
7902 (octave-mode): Font lock texinfo comment block.
7903
38d8527b
LL
79042013-04-29 Leo Liu <sdl.web@gmail.com>
7905
7906 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7907 indexing expression.
7908 (octave-continuation-string): Do not use \.
7909 (inferior-octave-complete-impossible): Remove.
7910 (inferior-octave-completion-table)
7911 (inferior-octave-completion-at-point): Remove its uses.
7912 (inferior-octave-startup): completion_matches was introduced to
7913 Octave in 1996 so safe to assume it.
7914 (octave-function-file-comment): Improve to follow how Octave does it.
7915 (octave-update-function-file-comment): Tweak.
7916
2ec12cb0
LL
79172013-04-29 Leo Liu <sdl.web@gmail.com>
7918
7919 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7920 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7921 (octave-function-file-comment): Fix typo.
7922 (octave-sync-function-file-names): Use read-char-choice.
7923
6eaed048
JB
79242013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7925
7926 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7927 to t for the less important warnings.
7928
3ffa2d4f
DH
79292013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7930
7931 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7932
685c9501
GM
79332013-04-27 Glenn Morris <rgm@gnu.org>
7934
7935 * vc/log-view.el (log-view-current-entry):
7936 Treat "---" separator lines as part of the following rev. (Bug#14169)
7937
0208ede7
JL
79382013-04-27 Juri Linkov <juri@jurta.org>
7939
7940 * subr.el (read-number): Doc fix about using it by interactive
7941 code letter `n'. (Bug#14254)
7942
5db9dace
JL
79432013-04-27 Juri Linkov <juri@jurta.org>
7944
7945 * desktop.el (desktop-auto-save-timeout): New option.
7946 (desktop-file-checksum): New variable.
7947 (desktop-save): Add optional arg `auto-save' and don't auto-save
7948 if nothing changed.
7949 (desktop-auto-save-timer): New variable.
7950 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7951 (after-init-hook): Call `desktop-auto-save-set-timer'.
7952 Suggested by Reuben Thomas <rrt@sc3d.org> in
7953 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7954
b7260dd4
LL
79552013-04-27 Leo Liu <sdl.web@gmail.com>
7956
7957 * progmodes/octave.el (octave-function-file-p)
7958 (octave-skip-comment-forward, octave-function-file-comment)
7959 (octave-update-function-file-comment): New functions.
7960 (octave-mode-map): Bind C-c ; to
7961 octave-update-function-file-comment.
7962 (octave-mode-menu): Add octave-update-function-file-comment.
7963 (octave-mode, inferior-octave-mode): Fix doc-string.
7964 (octave-insert-defun): Conform to Octave's coding convention.
7965 (Bug#14285)
7966
7967 * files.el (basic-save-buffer): Don't let errors in
7968 before-save-hook prevent saving buffer.
7969
c46da669
RW
79702013-04-20 Roland Winkler <winkler@gnu.org>
7971
7972 * faces.el (read-face-name): Use completing-read if arg multiple
7973 is nil.
7974
a81ee1eb
IL
79752013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7976
7977 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7978 displayed, move point to after the totals line.
7979 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7980 for the details.
7981
4fac34ce
SM
79822013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7985 Add current dir to the load-path.
7986 (package-generate-autoloads): Don't rely on
7987 autoload-ensure-default-file.
7988
f6bfc063
RT
79892013-04-26 Reuben Thomas <rrt@sc3d.org>
7990
d40ab5cf
BG
7991 * textmodes/remember.el (remember-store-in-files): Document that
7992 the file name format is passed to `format-time-string'.
f6bfc063 7993
e55d3b04
LL
79942013-04-26 Leo Liu <sdl.web@gmail.com>
7995
7996 * progmodes/octave.el (octave-sync-function-file-names): New function.
7997 (octave-mode): Use it in before-save-hook.
7998
e53052d3
SM
79992013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8000
140ef50c
SM
8001 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8002 (bug#14274).
8003
e53052d3
SM
8004 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8005 \n and comment, even if it's not an implicit ; (bug#14218).
8006
af80458d 80072013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8008
8009 * subr.el (read-number): Once more use `read' rather than
8010 `string-to-number', to trap non-numeric input. (Bug#14254)
8011
af80458d 80122013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8013
8014 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8015 Use `syntax-multiline' text property consistently instead of
8a621d53 8016 `font-lock-multiline'. (Bug#14237)
70203c2e 8017
e6ea1f6c
GM
80182013-04-26 Glenn Morris <rgm@gnu.org>
8019
8020 * emacs-lisp/shadow.el (list-load-path-shadows):
8021 No longer necessary to check for duplicate simple.el, since
8022 2012-07-07 change to init_lread to not include installation lisp
8023 directories in load-path when running uninstalled. (Bug#14270)
8024
070ccca4
LL
80252013-04-26 Leo Liu <sdl.web@gmail.com>
8026
8027 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8028 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8029 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8030 octave-in-string-or-comment-p.
8031 (octave-in-comment-p, octave-in-string-p)
8032 (octave-in-string-or-comment-p): Replace defsubst with defun.
8033
9d1c5fb6
PE
80342013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8035
8036 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8037
c034abda
BG
80382013-04-25 Bastien Guerry <bzg@gnu.org>
8039
8040 * textmodes/remember.el (remember-data-directory)
8041 (remember-directory-file-name-format): Fix custom types.
8042
584ea277
LL
80432013-04-25 Leo Liu <sdl.web@gmail.com>
8044
e53052d3
SM
8045 * progmodes/octave.el (octave-completion-at-point-function):
8046 Make use of inferior octave process.
584ea277
LL
8047 (octave-initialize-completions): Remove.
8048 (inferior-octave-completion-table): New function.
8049 (inferior-octave-completion-at-point): Use it.
8050 (octave-completion-alist): Remove.
8051
1693b06a
SM
80522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8055 (opascal-mode-syntax-table): New var.
8056 (opascal-literal-kind, opascal-is-literal-end)
8057 (opascal-literal-token-at): Rewrite.
8058 (opascal--literal-start-re, opascal-font-lock-keywords)
8059 (opascal--syntax-propertize): New constants.
8060 (opascal-font-lock-defaults): Adjust.
8061 (opascal-mode): Use them. Set comment-<foo> variables as well.
8062 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8063 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8064 (delphi-other-face, opascal-other-face): Remove face variables.
8065 (opascal-save-state): Remove macro.
8066 (opascal-fontifying-progress-step): Remove constant.
8067 (opascal--ignore-changes): Remove var.
8068 (opascal-set-token-property, opascal-parse-next-literal)
8069 (opascal-is-stable-literal, opascal-complete-literal)
8070 (opascal-is-literal-start, opascal-face-of)
8071 (opascal-parse-region, opascal-parse-region-until-stable)
8072 (opascal-fontify-region, opascal-after-change)
8073 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8074 (opascal-debug-parse-region, opascal-debug-parse-window)
8075 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8076 (opascal-debug-fontify-buffer): Remove.
8077 (opascal-debug-mode-map): Adjust accordingly.
8078
be64c05d
LL
80792013-04-25 Leo Liu <sdl.web@gmail.com>
8080
8081 Merge octave-mod.el and octave-inf.el into octave.el with some
8082 cleanups.
8083 * progmodes/octave.el: New file renamed from octave-mod.el.
8084 * progmodes/octave-inf.el: Merged into octave.el.
8085 * progmodes/octave-mod.el: Renamed to octave.el.
8086
d79d37bd
TH
80872013-04-25 Tassilo Horn <tsdh@gnu.org>
8088
8089 * textmodes/reftex-vars.el
8090 (reftex-label-ignored-macros-and-environments): New defcustom.
8091
8092 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8093
ced3fc5d
SM
80942013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8097 (smie-indent-keyword): Improve the check to ensure that the next
8098 comment is really on the same line.
8099 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8100
8101 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8102 semi-colons if the line is not otherwise empty (bug#14218).
8103
1c141dad
GM
81042013-04-25 Glenn Morris <rgm@gnu.org>
8105
8106 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8107
5058062a
SM
81082013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * progmodes/opascal.el (opascal-set-token-property): Rename from
8111 opascal-set-text-properties and only set `token' (bug#14134).
8112 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8113 (opascal-literal-text-properties): Remove.
8114 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8115 Adjust callers.
8116
5db9dace 81172013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8118
8119 * textmodes/remember.el (remember-handler-functions): Add an
8120 option for a new handler `remember-store-in-files'.
8121 (remember-data-directory, remember-directory-file-name-format):
8122 New options.
8123 (remember-store-in-files): New function to store remember notes
8124 as separate files within a directory.
8125
4391916c
MH
81262013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8127
8128 * progmodes/compile.el (compilation-next-error-function):
8129 Pass "formats" to compilation-find-file (bug#11777).
8130
bb7cdf58
GM
81312013-04-24 Glenn Morris <rgm@gnu.org>
8132
3b8fe752 8133 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8134 * vc/vc-hg.el (vc-hg-print-log):
8135 * vc/vc-svn.el (vc-svn-print-log):
8136 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8137
bb7cdf58
GM
8138 * vc/vc-bzr.el (vc-bzr-print-log):
8139 * vc/vc-cvs.el (vc-cvs-print-log):
8140 * vc/vc-git.el (vc-git-print-log):
8141 * vc/vc-hg.el (vc-hg-print-log):
8142 * vc/vc-mtn.el (vc-mtn-print-log):
8143 * vc/vc-rcs.el (vc-rcs-print-log):
8144 * vc/vc-sccs.el (vc-sccs-print-log):
8145 * vc/vc-svn.el (vc-svn-print-log):
8146 * vc/vc.el (vc-print-log-internal): Doc fixes.
8147
b46a056e
GM
81482013-04-23 Glenn Morris <rgm@gnu.org>
8149
8150 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8151 Remove venerable code attempting to avoid substitute-command-keys.
8152
0aecf718
TH
81532013-04-23 Tassilo Horn <tsdh@gnu.org>
8154
4391916c
MH
8155 * textmodes/reftex-vars.el (reftex-label-regexps):
8156 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8157
117f94cf
SM
81582013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8159
4391916c 8160 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8161 Use lexical-binding.
8162 (jit-lock-force-redisplay): Use markers, check buffer's continued
8163 existence and beware narrowed buffers.
8164 (jit-lock-fontify-now): Adjust call accordingly.
8165
1d829c64
SM
81662013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8169 to avoid misleading the user.
8170
72d548a9
LL
81712013-04-22 Leo Liu <sdl.web@gmail.com>
8172
8173 * info-look.el: Prefer latex2e.info. (Bug#14240)
8174
d0853629
MA
81752013-04-22 Michael Albinus <michael.albinus@gmx.de>
8176
8177 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8178
8179 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8180 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8181 (tramp-set-completion-function, tramp-parse-putty):
8182 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8183 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8184 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8185 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8186 (tramp-call-local-coding-command): Use `tramp-call-process'
8187 instead of `tramp-compat-call-process'.
8188
8189 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8190 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8191 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8192 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8193 (tramp-maybe-send-script): Check for Perl binary.
8194 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8195
38cc0210
DU
81962013-04-22 Daiki Ueno <ueno@gnu.org>
8197
8198 * epg.el (epg-context-pinentry-mode): New function.
8199 (epg-context-set-pinentry-mode): New function.
8200 (epg--start): Pass --pinentry-mode option to gpg command.
8201
cc641ee1
XF
82022013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8203
02d844b5 8204 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8205 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8206 `completion-at-point'. (Bug#13774)
5d4e5c31 8207
cc641ee1
XF
8208 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8209 default key binding for `describe-distribution' has been moved to
8210 `C-h C-o'. (Bug#13970)
8211
1b42ee43
GM
82122013-04-21 Glenn Morris <rgm@gnu.org>
8213
8214 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8215 Add doc strings.
8216 (vc-print-log): Clarify interactive prompt.
8217
a6d63d97
GM
82182013-04-20 Glenn Morris <rgm@gnu.org>
8219
8220 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8221 No longer include timestamp etc information.
8222
d7f5c16f
RW
82232013-04-20 Roland Winkler <winkler@gnu.org>
8224
8225 * faces.el (read-face-name): Bug fix, return just one face if arg
8226 multiple is nil. (Bug#14209)
8227
bcd7a0a4
SM
82282013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8231 (remove-function): Autoload.
8232
8233 * comint.el (comint-redirect-original-filter-function): Remove.
8234 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8235 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8236 (vc-cvs-annotate-command):
bcd7a0a4
SM
8237 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8238 * progmodes/prolog.el (prolog-consult-compile):
8239 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8240 Use add/remove-function instead.
8241 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8242 (gud-tooltip-process-output, gud-tooltip-tips):
8243 Use add/remove-function instead.
8244 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8245 (scheme-interaction-mode, exit-scheme-interaction-mode):
8246 Use add/remove-function instead.
8247
8248 * vc/vc-dispatcher.el: Use lexical-binding.
8249 (vc--process-sentinel): Rename from vc-process-sentinel.
8250 Change last arg to be the code to run. Don't use vc-previous-sentinel
8251 and vc-sentinel-commands any more.
8252 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8253 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8254
e36b2d20 82552013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8256
bcd7a0a4 8257 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8258 Handle function names with a single character. (Bug#14111)
4d3268ba 8259
781b4af6 82602013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8261
8262 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8263 for subroutines defined in an eval (bug#14182).
8264
7d688336
TV
82652013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8266
8267 * bookmark.el (bookmark-completing-read): Improve handling of empty
8268 string (bug#14176).
8269
31dcede0
SM
82702013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8273
adc31213
FEG
82742013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8275
8276 New faster Imenu implementation (bug#14058).
8277 * progmodes/python.el:
8278 (python-imenu-prev-index-position):
8279 (python-imenu-format-item-label-function)
8280 (python-imenu-format-parent-item-label-function)
8281 (python-imenu-format-parent-item-jump-label-function):
8282 New vars.
8283 (python-imenu-format-item-label)
8284 (python-imenu-format-parent-item-label)
8285 (python-imenu-format-parent-item-jump-label)
8286 (python-imenu--put-parent, python-imenu--build-tree)
8287 (python-imenu-create-index, python-imenu-create-flat-index)
8288 (python-util-popn): New functions.
8289 (python-mode): Set imenu-create-index-function to
8290 python-imenu-create-index.
8291
cdca8255
SM
82922013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * winner.el (winner-active-region): Use region-active-p, activate-mark
8295 and deactivate-mark (bug#14225).
8296
8297 * simple.el (deactivate-mark): Don't inline it.
8298
beb42340
MA
82992013-04-18 Michael Albinus <michael.albinus@gmx.de>
8300
8301 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8302
fc7f4d7e
TH
83032013-04-18 Tassilo Horn <tsdh@gnu.org>
8304
8305 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8306 file extensions from the archive-mode entry in order to prefer
8307 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8308
29f47822
LL
83092013-04-18 Leo Liu <sdl.web@gmail.com>
8310
8311 * bindings.el (help-event-list): Add ?\?.
8312
d36ed1c8
SM
83132013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * subr.el (with-wrapper-hook): Declare obsolete.
8316 * simple.el (filter-buffer-substring-function): New hook.
8317 (filter-buffer-substring): Use it.
8318 (filter-buffer-substring-functions): Mark obsolete.
8319 * minibuffer.el (completion-in-region-function): New hook.
8320 (completion-in-region): Use it.
8321 (completion-in-region-functions): Mark obsolete.
8322 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8323 * abbrev.el (abbrev-expand-function): New hook.
8324 (expand-abbrev): Use it.
8325 (abbrev-expand-functions): Mark obsolete.
8326 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8327 and :filter-return.
8328
04754d36
FEG
83292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8330
8331 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8332 and do not care about match data.
8333
dd8791e9
SM
83342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8337 completion tables when completing error conditions and
8338 `declare' arguments.
8339 (lisp-complete-symbol, field-complete): Mark as obsolete.
8340 (check-parens): Unmatched parens are user errors.
8341 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8342
ffe54a13
AM
83432013-04-17 Michal Nazarewicz <mina86@mina86.com>
8344
dd8791e9
SM
8345 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8346 command changed buffer (ie. `flyspell-pre-buffer' is not current
8347 buffer), which prevents making decisions based on invalid value of
8348 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8349 cause an error when `flyspell-pre-point' was nil after switching
8350 buffers.
8351 (flyspell-post-command-hook): No longer needs to change buffers when
8352 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8353
ec7e39f2
AM
83542013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8355
8356 * textmodes/ispell.el (ispell-add-per-file-word-list):
8357 Fix `flyspell-correct-word-before-point' error when accepting
8358 words and `coment-padding' is an integer by using
8359 `comment-normalize-vars' (Bug #14214).
8360
083850a6
FEG
83612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8362
8363 New defun movement commands.
8364 * progmodes/python.el (python-nav--syntactically)
8365 (python-nav--forward-defun, python-nav-backward-defun)
8366 (python-nav-forward-defun): New functions.
8367
619ed6e1
FEG
83682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8369
8370 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8371 (python-syntax-context): Use named compiler-macro for backwards
8372 compatibility with Emacs 24.x.
8373
7a1beb6c
LL
83742013-04-17 Leo Liu <sdl.web@gmail.com>
8375
8376 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8377 octave-hide-process-buffer.
8378
2d3fa3e5
SM
83792013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8380
8381 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8382 (bug#14216).
8383
7ce5be54
JPG
83842013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8385
8386 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8387 Fix adjustment of offset when receiving incomplete responses from GDB
8388 (bug#14129).
8389
351edece
SM
83902013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8393 python-mode-abbrev-table.
8394 (python-skeleton-define): Adjust accordingly.
8395 (python-mode-abbrev-table): New table that inherits from it so that
8396 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8397
8398 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8399 (abbrev-symbol): Use it.
8400 (abbrev--before-point): Use it since we already handle inheritance.
8401
613f9481
LL
84022013-04-16 Leo Liu <sdl.web@gmail.com>
8403
8404 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8405 binding to info-lookup-symbol.
8406
51646b62
JB
84072013-04-16 Juanma Barranquero <lekktu@gmail.com>
8408
8409 * minibuffer.el (completion--twq-all):
8410 * term/ns-win.el (ns-initialize-window-system):
8411 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8412
efb3f01d
SM
84132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8414
36c0a301
SM
8415 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8416 global bindings.
8417
efb3f01d
SM
8418 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8419
fb549d64
DG
84202013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8421
8422 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8423 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8424 to nil.
8425 (ruby-end-of-defun): Remove the unused arg, change the docstring
8426 to reflect that this function is only used as the value of
8427 `end-of-defun-function'.
8428 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8429 to reflect an earlier change that beginning/end-of-defun functions
8430 jump between methods in a class definition, as well as top-level
8431 functions.
8432
21e8fe2f
SM
84332013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * minibuffer.el (minibuffer-complete): Don't just scroll
8436 a *Completions* that's been iconified.
8437 (minibuffer-force-complete): Make sure repetitions do cycle when going
8438 through completion-in-region -> minibuffer-complete.
8439
20e527d0
AM
84402013-04-15 Alan Mackenzie <acm@muc.de>
8441
8442 Correct the placement of c-cpp-delimiters when there're #s not at
8443 col 0.
8444
8445 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8446 place a submatch around the #.
21e8fe2f
SM
8447 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8448 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8449 on the #, not BOL.
8450
dabefae5
SM
84512013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8454 (advice--member-p): New arg `name'.
8455 (advice--add-function, advice-member-p): Use it (bug#14202).
8456
85c9ab64
AM
84572013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8458
8459 Reformulate java imenu-generic-expression.
8460 The old expression contained ill formed regexps.
8461
8462 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8463 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8464 (cc-imenu-java-method-arg-regexp): New defconsts.
8465 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8466 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8467 handling of spaces in the regexp.
8468
0f821d99
AM
84692013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8470
8471 * textmodes/ispell.el (ispell-command-loop): Remove
8472 flyspell highlight of a word when ispell accepts it (bug #14178).
8473
eb922adf
MA
84742013-04-15 Michael Albinus <michael.albinus@gmx.de>
8475
8476 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8477 uses code from the previous `ange-ftp-run-real-handler'.
8478 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8479 only in case that function exist. This is needed for proper
8480 unloading of Tramp.
8481
4d9a0979
TH
84822013-04-15 Tassilo Horn <tsdh@gnu.org>
8483
8484 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8485
8486 * textmodes/reftex.el (reftex-compile-variables): Use it.
8487
a829b0dc
SM
84882013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8489
91e8293c
SM
8490 * files.el (normal-mode): Only use default major-mode if no other mode
8491 was specified.
8492
830aed4d
SM
8493 * emacs-lisp/trace.el (trace-values): New function.
8494
a829b0dc
SM
8495 * files.el: Allow : in local variables (bug#14089).
8496 (hack-local-variable-regexp): New var.
8497 (hack-local-variables-prop-line, hack-local-variables): Use it.
8498
7ae9f0fb
RW
84992013-04-13 Roland Winkler <winkler@gnu.org>
8500
8501 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8502 data before it gets modified by bibtex-beginning-of-entry.
8503
6646e848
RW
85042013-04-13 Roland Winkler <winkler@gnu.org>
8505
8506 * textmodes/bibtex.el (bibtex-url): Doc fix.
8507
85082013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8509
8510 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8511 does not visit a BibTeX file, exclude it from the list of buffers
8512 returned by bibtex-initialize.
8513
0aa3616e
SB
85142013-04-13 Stephen Berman <stephen.berman@gmx.net>
8515
8516 * window.el (split-window): Remove interactive form, since as a
8517 command this function is a special case of split-window-below.
8518 Correct doc string.
8519
011cddd6
RW
85202013-04-12 Roland Winkler <winkler@gnu.org>
8521
8522 * faces.el (read-face-name): Do not override value of arg default.
8523 Allow single faces and strings as default values. Remove those
8524 elements from return value that are not faces.
8525 (describe-face): Simplify.
8526 (face-at-point): New optional args thing and multiple so that this
8527 function can provide the same functionality previously provided by
8528 read-face-name.
8529 (make-face-bold, make-face-unbold, make-face-italic)
8530 (make-face-unitalic, make-face-bold-italic, invert-face)
8531 (modify-face, read-face-and-attribute): Use face-at-point.
8532
8533 * cus-edit.el (customize-face, customize-face-other-window)
8534 * cus-theme.el (custom-theme-add-face)
8535 * face-remap.el (buffer-face-set)
8536 * facemenu.el (facemenu-set-face): Use face-at-point.
8537
f24e0036
MA
85382013-04-12 Michael Albinus <michael.albinus@gmx.de>
8539
8540 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8541
da3cda2d
TH
85422013-04-10 Tassilo Horn <tsdh@gnu.org>
8543
8544 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8545 off leading { and trailing } from field values.
8546
15e54145
SM
85472013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8548
78ce603d
SM
8549 * emacs-lisp/timer.el (timer--check): New function.
8550 (timer--time, timer-set-function, timer-event-handler): Use it.
8551 (timer-set-idle-time): Simplify.
8552 (timer--activate): CSE.
8553 (timer-event-handler): Give more info in error message.
8554 (internal-timer-start-idle): New function, moved from C.
8555
15e54145
SM
8556 * mpc.el (mpc-proc): Add `restart' argument.
8557 (mpc-proc-cmd): Use it.
8558 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8559 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8560 less often.
8561
7144c627
MY
85622013-04-10 Masatake YAMATO <yamato@redhat.com>
8563
8564 * progmodes/sh-script.el: Implement `sh-mode' own
8565 `add-log-current-defun-function' (bug#14112).
8566 (sh-current-defun-name): New function.
8567 (sh-mode): Use the function.
8568
b39792eb
BG
85692013-04-09 Bastien Guerry <bzg@gnu.org>
8570
8571 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8572
8acdeb71
SM
85732013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8574
6fcdab68
SM
8575 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8576
8acdeb71
SM
8577 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8578 timer (bug#14156).
8579
e3e7b504
NF
85802013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8581
8582 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8583 declaration.
8584
201bb296
LL
85852013-04-07 Leo Liu <sdl.web@gmail.com>
8586
8587 * pcmpl-x.el: New file.
8588
ebb19708
DA
85892013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8590
8591 Do not set x-display-name until X connection is established.
8592 This is needed to prevent from weird situation described at
8593 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8594 * frame.el (make-frame): Set x-display-name after call to
8595 window system initialization function, not before.
8596 * term/x-win.el (x-initialize-window-system): Add optional
8597 display argument and use it.
8598 * term/w32-win.el (w32-initialize-window-system):
8599 * term/ns-win.el (ns-initialize-window-system):
8600 * term/pc-win.el (msdos-initialize-window-system):
8601 Add compatible optional display argument.
8602
33bb237a
EZ
86032013-04-06 Eli Zaretskii <eliz@gnu.org>
8604
8605 * files.el (normal-backup-enable-predicate): On MS-Windows and
8606 MS-DOS compare truenames of temporary-file-directory and of the
8607 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8608 don't fail comparison by compare-strings. Also, compare file
8609 names case-insensitively on MS-Windows and MS-DOS.
8610
134abf1f
SM
86112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8614 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8615
d695cb94
DG
86162013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8617
e3e7b504
NF
8618 * whitespace.el (whitespace-color-on, whitespace-color-off):
8619 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8620
f4ad7ea1 86212013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8622
8623 * ispell.el (ispell-set-spellchecker-params):
8624 Really set `ispell-args' for all equivs.
8625
632556e4
SM
86262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * ido.el (ido-completions): Use extra elements of ido-decorations
8629 (bug#14143).
8630 (ido-decorations): Update docstring.
8631
2a417372
MA
86322013-04-05 Michael Albinus <michael.albinus@gmx.de>
8633
8634 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8635 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8636 nil during initialization, in order not to miss changes since the
8637 file was opened. (Bug#14140)
8638
fc164b0c
LL
86392013-04-05 Leo Liu <sdl.web@gmail.com>
8640
8641 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8642
0ccecc08
JB
86432013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8644
8645 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8646
51af1aa2
GM
86472013-04-04 Glenn Morris <rgm@gnu.org>
8648
8649 * electric.el (electric-pair-inhibit-predicate): Add :version.
8650
b208ebc6
SM
86512013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8652
8653 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8654 when a package is required several times (bug#14082).
8655
f3d3eaf0
RW
86562013-04-04 Roland Winkler <winkler@gnu.org>
8657
8658 * faces.el (read-face-name): Behave as promised by the docstring.
8659 Assume that arg default is a list of faces.
8660 (describe-face): Call read-face-name with list of default faces.
8661
2575da50
TV
86622013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8663
8664 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8665 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8666 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8667 the header.
8668 (bookmark-exit-hook-internal): Save even if list is empty.
8669
397703b4
YH
86702013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8671
8672 * emacs-lisp/package.el (package-pinned-packages): New var.
8673 (package--add-to-archive-contents): Obey it (bug#14118).
8674
691e26ae
AM
86752013-04-03 Alan Mackenzie <acm@muc.de>
8676
8a621d53
JB
8677 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8678 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8679
8680 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8681 parameter `not-in-delimiter'. Handle being inside comment opener.
8682 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8683 character in case we're typing a '*' after a '/'.
8684 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8685 instead by passing the parameter to c-state-pp-to-literal.
8686
8687 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8688 for elt. 7 of a parse state.
8689
4b725a70
PE
86902013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8691
8692 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8693 * international/latin1-disp.el, international/mule-util.el:
8694 * language/cyril-util.el, language/european.el, language/ind-util.el:
8695 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8696 * language/tibetan.el, language/viet-util.el:
8697 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8698
15c579f0
SM
86992013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8702 (electric-pair-post-self-insert-function): Use it.
8703 (electric-pair-default-inhibit): New function, extracted from
8704 electric-pair-post-self-insert-function.
8705
a77e2924
RW
87062013-03-31 Roland Winkler <winkler@gnu.org>
8707
8708 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8709
2bd8a4a8
SM
87102013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8713
8d3655be 87142013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8715
8716 Un-indent after "pass" and "return" statements (Bug#13888)
8717 * progmodes/python.el (python-indent-block-enders): New var.
8718 (python-indent-calculate-indentation): Use it.
8719
8d3655be 87202013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8721
8722 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8723 defun. Defining it as defalias could introduce too eager
8724 byte-compiler optimization. (Bug#14030)
8725
8d3655be 87262013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8727
8728 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8729
0b1619da
LL
87302013-03-30 Leo Liu <sdl.web@gmail.com>
8731
8732 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8733 (kmacro-execute-from-register): Pass the keyboard macro to
8734 kmacro-call-macro or repeating won't work correctly.
8735
0b938190
TZ
87362013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8737
8738 * progmodes/subword.el: Back to using `forward-symbol'.
8739
8740 * subr.el (forward-whitespace, forward-symbol)
8741 (forward-same-syntax): Move from thingatpt.el.
8742
35710234
LL
87432013-03-29 Leo Liu <sdl.web@gmail.com>
8744
8745 * kmacro.el (kmacro-to-register): New command.
8746 (kmacro-execute-from-register): New function.
8747 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8748
efc0bb73
SM
87492013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * mpc.el: Use defvar-local and setq-local.
8752 (mpc--proc-connect): Connection failures are not bugs.
8753 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8754 (mpc-volume-map): Bind to the up-events.
8755
75a2f981
TZ
87562013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8757
8758 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8759 instead of `forward-symbol'.
8760
17c781d1
SM
87612013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8764 (edebug--recursive-edit): Use it.
8765 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8766 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8767
f67bfbcf
LL
87682013-03-28 Leo Liu <sdl.web@gmail.com>
8769
8770 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8771
b59f639d
EZ
87722013-03-27 Eli Zaretskii <eliz@gnu.org>
8773
8774 * facemenu.el (list-colors-callback): New defvar.
8775 (list-colors-redisplay): New function.
8776 (list-colors-display): Install list-colors-redisplay as the
8777 revert-buffer-function. (Bug#14063)
8778
f557c1b1
SM
87792013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8780
b1da2957
SM
8781 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8782 and suffixes don't overlap (bug#14061).
8783
f557c1b1
SM
8784 * case-table.el: Use lexical-binding.
8785 (case-table-get-table): New function.
8786 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8787
002668e1
TZ
87882013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8789
8790 * progmodes/subword.el: Add `superword-mode' to do word motion
8791 over symbol_words (parallels and leverages `subword-mode' which
8792 does word motion inside MixedCaseWords).
8793
73572c72
AG
87942013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8795
78b8f320 8796 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8797 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8798
69b2c07e
SM
87992013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8802 Change return value to be a sexp. Delay `get-buffer' to after
8803 restoring the desktop (bug#13951).
8804
08bb5ee2
LL
88052013-03-26 Leo Liu <sdl.web@gmail.com>
8806
8807 * register.el: Move semantic tag handling back to
8808 cedet/semantic/senator.el. (Bug#14052)
8809
8d4c974e
SM
88102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8813 into the prompt either (bug#13963).
8814
b234d92c
SM
88152013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8818 part of "(error-foo)".
8819
ddfa3cb4
JL
88202013-03-24 Juri Linkov <juri@jurta.org>
8821
8822 * replace.el (list-matching-lines-prefix-face): New defcustom.
8823 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8824 `occur-engine' if `face-differs-from-default-p' returns t.
8825 (occur-engine): Add `,' inside backquote construct to evaluate
8826 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8827 Pass `prefix-face' to the functions `occur-context-lines' and
8828 `occur-engine-add-prefix'.
8829 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8830 `prefix-face' and propertize the prefix with `prefix-face'.
8831 (Bug#14017)
8832
7b0e2f85
LL
88332013-03-24 Leo Liu <sdl.web@gmail.com>
8834
8835 * nxml/rng-valid.el (rng-validate-while-idle)
8836 (rng-validate-quick-while-idle): Guard against deleted buffer.
8837 (Bug#13999)
8838
8839 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8840 is the last entry in kill-buffer-hook.
8841
8842 * files.el (kill-buffer-hook): Doc fix.
8843
b3082f49
DG
88442013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8845
b234d92c
SM
8846 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8847 Make it safe-local.
bde73d27 8848
b3082f49
DG
8849 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8850
a320a2db
LL
88512013-03-23 Leo Liu <sdl.web@gmail.com>
8852
7e74b0fb
LL
8853 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8854 Remove.
8855
8856 * nxml/rng-valid.el (rng-validate-mode)
8857 (rng-after-change-function, rng-do-some-validation):
8858 * nxml/rng-maint.el (rng-validate-buffer):
8859 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8860 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8861 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8862 (nxml-extend-after-change-region): Use with-silent-modifications.
8863
a320a2db
LL
8864 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8865 timer-idle-list.
8866
8867 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8868 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8869 timer-idle-list. (Bug#13999)
8870
e38e6780
JL
88712013-03-23 Juri Linkov <juri@jurta.org>
8872
8873 * info.el (info-index-match): New face.
8874 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8875 main pattern and add text properties with the new face to matches
8876 in index entries relative to the beginning of the index entry.
8877 (Bug#14015)
8878
e8cc7880
DE
88792013-03-21 Eric Ludlam <zappo@gnu.org>
8880
8881 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8882 Inhibit read only while inserting objects.
8883
9bb0d822
TZ
88842013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8885
8886 * progmodes/cfengine.el: Update docs to mention
8887 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8888 symbol motion. Remove "_" from the word syntax.
8889
aa703640
TZ
88902013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8891
8892 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8893 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8894
afff09d0
JL
88952013-03-20 Juri Linkov <juri@jurta.org>
8896
8897 * info.el (Info-next-reference-or-link)
8898 (Info-prev-reference-or-link): New functions.
8899 (Info-next-reference, Info-prev-reference): Use them.
8900 (Info-try-follow-nearest-node): Handle footnote navigation.
8901 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8902
9a1ff164
SM
89032013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8906 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8907
2667d15d
PE
89082013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8909
8910 Suppress unnecessary non-ASCII chatter during build process.
8911 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8912 (batch-skkdic-convert): Suppress most of the chatter.
8913 It's not needed so much now that machines are faster,
8914 and its non-ASCII component was confusing; see Dmitry Gutov in
8915 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8916
438b0579
LL
89172013-03-20 Leo Liu <sdl.web@gmail.com>
8918
8919 * ido.el (ido-chop): Fix bug#10994.
8920
c128ab07
DG
89212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8922
8923 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8924 Remove vars.
9a1ff164
SM
8925 (whitespace-color-on, whitespace-color-off):
8926 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8927
0e6008c5
SM
89282013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8931 remapping in mode-line.
8932 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8933
627b52b0
DG
89342013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8935
8936 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8937 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8938 (whitespace-font-lock-keywords): Change description.
8939 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8940 the constructed keywords instead.
8941 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8942
50c3a20b
LL
89432013-03-19 Leo Liu <sdl.web@gmail.com>
8944
8945 * progmodes/compile.el (compilation-display-error): New command.
8946 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8947 C-o. (Bug#13992)
8948
2aa2157b
PE
89492013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8950
8951 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8952
e477dbfa
JD
89532013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8954
8955 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8956
64ab82d1
MA
89572013-03-18 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8960
8961 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8962 * net/tramp-gvfs.el (top):
8963 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8964 (tramp-handle-shell-command): Use it.
8965 (tramp-dissect-file-name): Raise an error when hostname is a
8966 method name, and neither method nor user is specified.
8967
8968 * net/trampver.el: Update release number.
8969
33cef733
LL
89702013-03-18 Leo Liu <sdl.web@gmail.com>
8971
8972 Make sure eldoc can be turned off properly.
8973 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8974 eldoc-mode.
8975 (eldoc-display-message-p): Revert last change.
8976 (eldoc-display-message-no-interference-p)
8977 (eldoc-print-current-symbol-info): Tweak.
8978
2167b7b2
TH
89792013-03-18 Tassilo Horn <tsdh@gnu.org>
8980
8981 * doc-view.el (doc-view-new-window-function): Check the new window
8982 overlay's display property instead the char property of the
8983 buffer's first char. Use `with-selected-window' instead of
8984 `save-window-excursion' with `select-window'.
8985 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8986 display property instead the char property of the buffer's first char.
2167b7b2 8987
982efbcd
PE
89882013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8989
8990 Automate the build of ja-dic.el (Bug#13984).
8991 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8992 from the input, rather than assume that it's been done for us by the
8993 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8994 the current date into a ja-dic.el comment, as that complicates
8995 regression testing.
8996
2fcc7665
SM
89972013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * whitespace.el: Fix double evaluation.
9000 (whitespace-space, whitespace-hspace, whitespace-tab)
9001 (whitespace-newline, whitespace-trailing, whitespace-line)
9002 (whitespace-space-before-tab, whitespace-indentation)
9003 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9004 obsolete defvars.
9005 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9006 (whitespace-color-on): Use a single font-lock-add-keywords call.
9007 Fix double-evaluation of face variables.
9008
67c0a6e6
MA
90092013-03-17 Michael Albinus <michael.albinus@gmx.de>
9010
2fcc7665
SM
9011 * net/tramp-adb.el (tramp-adb-parse-device-names):
9012 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9013 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9014
69489f1d
LL
90152013-03-17 Leo Liu <sdl.web@gmail.com>
9016
9017 Extend eldoc to display info in the mode-line. (Bug#13978)
9018 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9019 (eldoc-mode-line-string): New variable.
9020 (eldoc-minibuffer-message): New function.
9021 (eldoc-message-function): New variable.
9022 (eldoc-message): Use it.
9023 (eldoc-display-message-p)
2fcc7665
SM
9024 (eldoc-display-message-no-interference-p):
9025 Support eldoc-post-insert-mode.
69489f1d
LL
9026
9027 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9028 (eval-expression): Run it.
9029
9c44569e
RW
90302013-03-17 Roland Winkler <winkler@gnu.org>
9031
9032 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9033 strings in the list of return values.
9034
327f1f6f
JB
90352013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9036
9037 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9038 radix before checking for HMS forms.
9039
67ed8fcd
LL
90402013-03-16 Leo Liu <sdl.web@gmail.com>
9041
9042 * progmodes/scheme.el: Add indentation and font-locking for λ.
9043 (Bug#13975)
9044
78be8b64 90452013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9046
9047 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9048 token before point (bug#13942).
9049
78be8b64 90502013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9051
95b43468 9052 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9053
98e775e6
EZ
90542013-03-16 Eli Zaretskii <eliz@gnu.org>
9055
9056 * startup.el (command-line-normalize-file-name): Fix handling of
9057 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9058 <xfq.free@gmail.com> in
9059 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9060
2edd6029
MA
90612013-03-15 Michael Albinus <michael.albinus@gmx.de>
9062
9063 Sync with Tramp 2.2.7.
9064
9065 * net/trampver.el: Update release number.
9066
d35f5864
TH
90672013-03-14 Tassilo Horn <tsdh@gnu.org>
9068
e903c210 9069 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9070 (doc-view-insert-image): Don't modify overlay associated to
9071 non-live windows, and implement horizontal centering of image in
9072 case it's smaller than the window.
9073 (doc-view-new-window-function): Force redisplay of new windows on
9074 doc-view buffers.
d35f5864 9075
1c4a85ed
KF
90762013-03-13 Karl Fogel <kfogel@red-bean.com>
9077
9078 * saveplace.el (save-place-alist-to-file): Don't sort
9079 `save-place-alist', just pretty-print it (bug#13882).
9080
85b66a21
MA
90812013-03-13 Michael Albinus <michael.albinus@gmx.de>
9082
a020afb9
JB
9083 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9084 Check whether `default-file-name-coding-system' is bound.
9085 It isn't in XEmacs.
85b66a21 9086
175600da
SM
90872013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9088
e7f7cb1a
SM
9089 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9090 backquotes for `obsolete' (bug#13929).
9091
175600da
SM
9092 * international/mule.el (find-auto-coding): Include file name in
9093 obsolescence warning (bug#13922).
9094
ca68a22e
TZ
90952013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9096
9097 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9098 for CFEngine 3-specific indentation.
9099 (cfengine3-indent-line): Use it. Fix up category regex.
9100 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9101
940e5099
SM
91022013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * type-break.el (type-break-file-name):
9105 * textmodes/remember.el (remember-data-file):
9106 * strokes.el (strokes-file):
9107 * shadowfile.el (shadow-initialize):
9108 * saveplace.el (save-place-file):
9109 * ps-bdf.el (bdf-cache-file):
9110 * progmodes/idlwave.el (idlwave-config-directory):
9111 * net/quickurl.el (quickurl-url-file):
9112 * international/kkc.el (kkc-init-file-name):
9113 * ido.el (ido-save-directory-list-file):
9114 * emulation/viper.el (viper-custom-file-name):
9115 * emulation/vip.el (vip-startup-file):
9116 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9117 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9118
cc725808
PE
91192013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9120
9121 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9122 * language/thai-word.el: Switch to UTF-8.
9123
a020afb9 9124See ChangeLog.16 for earlier changes.
e3d51b27
MR
9125
9126;; Local Variables:
9127;; coding: utf-8
e3d51b27
MR
9128;; End:
9129
ab422c4d 9130 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9131
9132 This file is part of GNU Emacs.
9133
9134 GNU Emacs is free software: you can redistribute it and/or modify
9135 it under the terms of the GNU General Public License as published by
9136 the Free Software Foundation, either version 3 of the License, or
9137 (at your option) any later version.
9138
9139 GNU Emacs is distributed in the hope that it will be useful,
9140 but WITHOUT ANY WARRANTY; without even the implied warranty of
9141 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9142 GNU General Public License for more details.
9143
9144 You should have received a copy of the GNU General Public License
9145 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.