* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c8c605ac
DG
12013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4 after `=' is probably a new expression.
5
ca7e59d4
RS
62013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7
8 * man.el (man-imenu-title): New option.
9 (Man-mode-map): Add menu. (Bug#15722)
10 (Man-mode): Add imenu to menu.
11
bae91342
DG
122013-10-26 Dmitry Gutov <dgutov@yandex.ru>
13
14 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15 specific in what the first arg can be: a non-keyword word,
16 string/regexp/percent literal opener, opening paren, or unary
17 operator followed directly by word.
18
eb89dc14
SM
192013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
22 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
23 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
24 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
25 Remove vars, they do not apply any more.
26 (prolog-mode-abbrev-table): Remove redundant declaration.
27 (prolog-upper-case-string, prolog-lower-case-string): Remove.
28 (prolog-use-smie): Remove.
29 (prolog-smie-rules): Add indentation rule for the if-then-else layout
30 supported by prolog-electric-if-then-else-flag.
31 (prolog-mode-variables, prolog-menu): Use setq-local.
32 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
33 Remove binding to `Backspace' since this key doesn't exist anyway.
34 Remove bindings for electric self-inserting keys.
35 (prog-mode): Assume it's defined.
36 (prolog-post-self-insert): New function.
37 (prolog-mode): Use it.
38 (prolog-indent-line, prolog-indent-level)
39 (prolog-find-indent-of-matching-paren)
40 (prolog-indentation-level-of-line, prolog-goto-comment-column)
41 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
42 (prolog-goto-next-paren, prolog-in-string-or-comment)
43 (prolog-tokenize, prolog-inside-mline-comment)
44 (prolog-find-start-of-mline-comment): Remove functions.
45 (prolog-find-unmatched-paren, prolog-clause-end)
46 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
47 (prolog-electric--if-then-else): Rename from
48 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
49 (prolog-tokenize-searchkey): Remove const.
50 (prolog-clause-info): Use forward-sexp.
51 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
52 (prolog-electric-if-then-else): Remove commands.
53 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
54 for use in post-self-insert-hook.
55 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
56 for use in post-self-insert-hook.
57 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
58 for use in post-self-insert-hook.
59 (prolog-electric--underscore): Rename from prolog-electric--underscore;
60 adapt it for use in post-self-insert-hook.
61
3dab0a83
MA
622013-10-25 Michael Albinus <michael.albinus@gmx.de>
63
64 * emacs-lisp/ert.el (ert-run-tests-interactively):
65 Use `completing-read'. (Bug#9756)
66
fbfd0e1d
EZ
672013-10-25 Eli Zaretskii <eliz@gnu.org>
68
69 * simple.el (line-move): Call line-move-1 instead of
70 line-move-visual when the current window hscroll is zero, but
71 temporary-goal-column indicates we will need to hscroll as result
72 of the movement. (Bug#15712)
73
963ce636
DG
742013-10-25 Dmitry Gutov <dgutov@yandex.ru>
75
76 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
77 capitalization. Use :visible instead of :active.
78 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
79 commands that are used with SMIE.
80 (ruby-do-end-to-brace): Insert space after `{'.
81
a0be396a
JA
822013-10-25 John Anthony <john@jo.hnanthony.com>
83
f73754c9
JA
84 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
85
86 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 87
f5bf77df
GM
882013-10-25 Glenn Morris <rgm@gnu.org>
89
90 * vc/vc.el (vc-print-log): Don't use a working revision unless
91 one was explicitly specified. (Bug#15322)
92
37241f62
SM
932013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * subr.el (add-to-list): Preserve return value in compiler-macro
96 (bug#15692).
97
6408a65d
RS
982013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
99
100 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
101 result. Ask user to retry using '-all' flag. (Bug#15701)
102
71e3276b
SM
1032013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/smie.el: New smie-config system.
106 (smie-config): New defcustom.
107 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
108 (smie-config-guess, smie-config-save): New commands.
109 (smie-config--mode-local, smie-config--buffer-local)
110 (smie-config--trace, smie-config--modefuns): New vars.
111 (smie-config--advice, smie-config--mode-hook)
112 (smie-config--setter, smie-config-local, smie-config--get-trace)
113 (smie-config--guess-value, smie-config--guess): New functions.
114 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
115 text properties. Treat "string fence" syntax like string syntax.
116
117 * progmodes/sh-script.el (sh-use-smie): Change default.
118 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
119 (sh-var-value): Simplify by CSE.
120 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
121 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
122 is used.
123 (sh-guess-basic-offset): Use cl-incf.
124 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
125
60db713e
HE
1262013-10-24 Helmut Eller <eller.helmut@gmail.com>
127
128 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
129 (bug#15699).
130
8b251df6
GM
1312013-10-24 Glenn Morris <rgm@gnu.org>
132
133 * Makefile.in (abs_top_srcdir): Remove.
134 (update-subdirs): Use relative path to update-subdirs.
135
6be0e22b
EZ
1362013-10-24 Eli Zaretskii <eliz@gnu.org>
137
138 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
139 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
140 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
141 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 142
50b5b857
MA
1432013-10-24 Michael Albinus <michael.albinus@gmx.de>
144
145 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
146 (ert-test-skipped): New error.
147 (ert-skip, ert-stats-skipped): New defuns.
148 (ert--skip-unless): New macro.
149 (ert-test-skipped): New struct.
150 (ert--run-test-debugger, ert-test-result-type-p)
151 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
152 (ert--stats-set-test-and-result, ert-char-for-test-result)
153 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 154 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 155 Handle skipped tests. (Bug#9803)
50b5b857 156
6f317c2f
GM
1572013-10-24 Glenn Morris <rgm@gnu.org>
158
e43817c1
GM
159 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
160
6f317c2f
GM
161 * Makefile.in (abs_top_srcdir): New, set by configure.
162 (update-subdirs): Correct build-aux location.
163
369bbf71
DG
1642013-10-24 Dmitry Gutov <dgutov@yandex.ru>
165
8297b2cf
DG
166 * vc/vc.el (vc-print-root-log): Always set `default-directory'
167 value, whether we could auto-deduce `backend', or not.
168
369bbf71
DG
169 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
170 with parameters" example. Simplify the "is it block or is it
171 hash" check, but also make it more thorough.
172
d5f1282f
MF
1732013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
174
175 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
176
bc4aaa31
SM
1772013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
178
03d44565
SM
179 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
180 { if it is hanging.
181
bc4aaa31
SM
182 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
183 :before ";".
184
f493ff19
JB
1852013-10-23 Jed Brown <jed@59A2.org> (tiny change)
186
187 * progmodes/compile.el (compilation-directory-matcher)
188 (compilation-page-delimiter):
189 Support GNU Make-4.0 directory quoting. (Bug#15678)
190
c744a3b9
LL
1912013-10-23 Leo Liu <sdl.web@gmail.com>
192
193 * ido.el (ido-tidy): Handle read-only text.
194
b8e3b0a9
GM
1952013-10-23 Glenn Morris <rgm@gnu.org>
196
197 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
198 (emacs, compile, compile-always):
199 Quote entities that might contain whitespace.
200 (custom-deps, finder-data, autoloads): Use abs_lisp.
201 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
202 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
203 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
204
ee4282cd
DG
2052013-10-23 Dmitry Gutov <dgutov@yandex.ru>
206
bc4aaa31
SM
207 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
208 Use `following-char'.
7790a270 209
ee4282cd 2102013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
211
212 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
213 * progmodes/ruby-mode.el (ruby-smie-rules):
214 Remove corresponding workaround. Fix indentation rule of ";" so it
215 also applies when ";" is the parent.
216
d40a46d7
XF
2172013-10-22 Xue Fuqiao <xfq.free@gmail.com>
218
219 * frame.el (display-screens, display-pixel-height)
220 (display-pixel-width, display-mm-width, display-backing-store)
221 (display-save-under, display-planes, display-color-cells)
7790a270
SM
222 (display-visual-class, display-monitor-attributes-list):
223 Mention the optional ‘display’ argument in doc strings.
d40a46d7 224
a0f143c9
MG
2252013-10-22 Michael Gauland <mikelygee@amuri.net>
226
227 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
228 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
229
18cacc39
DG
2302013-10-21 Dmitry Gutov <dgutov@yandex.ru>
231
232 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
233 TODO. Add "." after " @ ".
234 (ruby-smie--at-dot-call): New function. Checks if point at method
235 call with explicit target.
236 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
237 to the method name tokens when it precedes them.
238 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
239 (ruby-smie-rules): Add rule for indentation before and after "."
240 token.
241
df74c4be
SM
2422013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
243
c6dab55f
SM
244 * textmodes/remember.el (remember-diary-extract-entries):
245 Avoid add-to-list.
246
df74c4be
SM
247 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
248 an instruction.
249
8c1ae481
DG
2502013-10-21 Dmitry Gutov <dgutov@yandex.ru>
251
cfef16c0
DG
252 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
253 (ruby-smie--implicit-semi-p): Add new operator chars.
254
8c1ae481
DG
255 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
256 `smie-down-list'.
257 (ruby-smie--args-separator-p): Check that there's no newline
258 between method call and its arguments.
259
87756ca9
AM
2602013-10-20 Alan Mackenzie <acm@muc.de>
261
262 Allow comma separated lists after Java "implements".
263
df74c4be
SM
264 * progmodes/cc-engine.el (c-backward-over-enum-header):
265 Parse commas.
87756ca9
AM
266 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
267 from a "disallowed" list in enum fontification.
268
c25f8957
JB
2692013-10-20 Johan Bockgård <bojohan@gnu.org>
270
df74c4be 271 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 272
c25f8957
JB
273 * progmodes/verilog-mode.el (verilog-mode): Don't set
274 comment-indent-function globally.
275
aca5fcdc
JD
2762013-10-20 Jan Djärv <jan.h.d@swipnet.se>
277
5f161884
JD
278 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
279 Move Info menu item creation to ns-win.el.
280
281 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
282 in menu bar.
283
aca5fcdc
JD
284 * menu-bar.el: Move GNUStep specific menus...
285
286 * term/ns-win.el (ns-initialize-window-system): ... to here.
287
914b7f98
SM
2882013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * simple.el (newline): Only run post-self-insert-hook when
291 called interactively.
292
846ffe77
JB
2932013-10-19 Johan Bockgård <bojohan@gnu.org>
294
295 * icomplete.el (icomplete-with-completion-tables): Add :version.
296
033f22dd
AM
2972013-10-19 Alan Mackenzie <acm@muc.de>
298
299 Fix fontification bugs with constructors and const.
300
301 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
302 CASE 2) Remove the check for the absence of a suffix construct
303 after a function declaration with only types (no identifiers) in
304 the parentheses. Also, accept a function declaration with just a
305 type inside the parentheses, if this type can be positively
306 recognised as such, or if a prefix keyword like "explicit" nails
307 down the construct as a declaration.
308
58ce0cfc
EZ
3092013-10-19 Eli Zaretskii <eliz@gnu.org>
310
311 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
312 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
313 the problem whereby selecting a menu item that leads to a
314 minibuffer prompt moves the cursor out of the minibuffer window,
315 making it hard to type at the prompt. Suggested by Stefan Monnier
316 <monnier@iro.umontreal.ca>.
317
50e28e7d
JD
3182013-10-19 Jan Djärv <jan.h.d@swipnet.se>
319
320 * menu-bar.el: Don't make Services menu.
321
7deed4bf
RS
3222013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
323
324 * ffap.el: Handle "/usr/include/c++/<version>" directories.
325 (ffap-alist): Use ffap-c++-mode for c++-mode.
326 (ffap-c++-path): New variable.
327 (ffap-c++-mode): New function.
328
7bcb455b
JVJ
3292013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
330
331 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
332
f0ff1cd5
MA
3332013-10-18 Michael Albinus <michael.albinus@gmx.de>
334
335 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
336 introduced on 2013-09-08, which results in an infinite loop
337 requesting a password.
338
d64da4b7
GM
3392013-10-18 Glenn Morris <rgm@gnu.org>
340
341 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
342
ea89ff08
WS
3432013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
344
345 Sync with upstream verilog-mode revision 1a6ecec7.
346 * progmodes/verilog-mode.el (verilog-mode-version): Update.
347 (verilog-mode-release-date): Remove.
348 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
349 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
350 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
351 (verilog-auto-tieoff-ignore-regexp)
352 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
353 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
354 (verilog-signals-with, verilog-dir-cache-preserving)
355 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
356 Doc fixes.
357 (verilog-case-fold): New option, to control case folding in
358 regexp searches, bug597.
359 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
360 (verilog-string-match-fold, verilog-in-paren-count)
361 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
362 (verilog-at-close-struct-p): New functions.
363 (verilog-beg-block-re-ordered, verilog-extended-case-re)
364 (verilog-forward-sexp, verilog-set-auto-endcomments):
365 (verilog-leap-to-case-head): Handle "unique0" case.
366 (verilog-in-constraint-re): New constant.
367 (verilog-keywords, verilog-type-font-keywords):
368 Add some SystemVerilog 1800-2012 keywords.
369 (verilog-label-be): Remove unimplemented argument, bug669.
370 (verilog-batch-execute-func): When batch expanding clear
371 create-lockfiles to prevent spurious user locks when a file ends
372 up not changing.
373 (verilog-calculate-indent, verilog-calc-1)
374 (verilog-at-close-constraint-p, verilog-at-constraint-p)
375 (verilog-do-indent): Fix indentation of nested constraints
376 and structures.
377 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
378 (verilog-auto-inst-param): Use verilog-string-match-fold.
379 (verilog-read-inst-module-matcher):
380 Fix AUTOINST on gate primitives with #1.
381 (verilog-read-decls): Fix double-declaring user-defined typed signals.
382 Reads all user-defined typed variables.
383 (verilog-read-defines): Fix reading definitions inside comments, bug647.
384 (verilog-signals-matching-regexp)
385 (verilog-signals-not-matching-regexp, verilog-auto):
386 Respect verilog-case-fold.
387 (verilog-diff-report): Fix line count.
388 (verilog-auto-assign-modport): Remove unused local `modi'.
389 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
390 better handle multidimensional arrays.
391 Fix packed array ports misadding bit index in AUTOINST, bug637.
392 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
393 to not double-declare existing outputs and inputs, respectively.
394 (verilog-template-map): Bind U to verilog-sk-uvm-component.
395 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
396 (verilog-sk-uvm-component): New skeleton.
397 (verilog-submit-bug-report): Add verilog-case-fold,
398 remove verilog-mode-release-date.
399
ef566920
BR
4002013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
401
402 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
403 as before.
404
29df8a0b
RT
4052013-10-18 Reuben Thomas <rrt@sc3d.org>
406
407 * textmodes/remember.el (remember): set buffer-offer-save in
408 remember buffers (bug#13566).
409
04a19a79
DC
4102013-10-18 Daniel Colascione <dancol@dancol.org>
411
412 When evaluating forms in ielm, direct standard output to ielm
413 buffer. Add new ielm-return-for-effect command. Remove trailing
414 whitespace throughout.
415
416 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
417 (ielm-return-for-effect): New command.
418 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
419 (ielm-eval-input): Accept optional `for-effect' parameter.
420 Bind `standard-output' to stream we create using
04a19a79
DC
421 `ielm-standard-output-impl'. Suppress printing result when
422 `for-effect'.
423 (ielm-standard-output-impl): New function.
424 (inferior-emacs-lisp-mode): Explain new features in documentation.
425
4c1f03ef
MA
4262013-10-17 Michael Albinus <michael.albinus@gmx.de>
427
428 Code cleanup.
429
430 * net/tramp.el (tramp-debug-message): Do not check for connection
431 buffer.
432 (tramp-message): Use "vector" connection property.
433
434 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
435 (tramp-equal-remote, tramp-eshell-directory-change)
436 * net/tramp-adb.el (tramp-adb-handle-copy-file)
437 (tramp-adb-handle-rename-file)
438 * net/tramp-cmds.el (tramp-list-remote-buffers)
439 (tramp-cleanup-connection, tramp-cleanup-this-connection)
440 * net/tramp-compat.el (tramp-compat-process-running-p)
441 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
442 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
443 (tramp-gvfs-handle-rename-file)
444 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
445 (tramp-set-file-uid-gid)
446 * net/tramp-smb.el (tramp-smb-handle-copy-file)
447 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
448 of `file-remote-p'.
449
450 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
451 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
452 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
453 (tramp-gw-open-network-stream): Suppress unrelated traces.
454
455 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
456 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
458 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
459 connection property.
460
461 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 462 persistency file.
4c1f03ef
MA
463
464 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
465 Refactor common code. Improve debug message.
466 (tramp-maybe-open-connection)
467 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
468 connection buffer too early.
469
470 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
471 from `tramp-smb-actions-with-acl'.
472 (tramp-smb-actions-set-acl): New defconst.
473 (tramp-smb-handle-copy-directory)
474 (tramp-smb-action-get-acl): New defun, renamed from
475 `tramp-smb-action-with-acl'.
476 (tramp-smb-action-set-acl): New defun.
477 (tramp-smb-handle-set-file-acl): Rewrite.
478
642eb8b6
GM
4792013-10-17 Glenn Morris <rgm@gnu.org>
480
481 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
482
85527ff3
SM
4832013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
484
921c1d62
SM
485 * skeleton.el (skeleton-newline): Remove.
486 (skeleton-internal-1): Use (insert "\n") instead.
487
e333fb10
SM
488 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
489 let-bindings.
490
85527ff3
SM
491 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
492 forward-sexp-function while we redo its job (bug#15613).
493
c8722a97
JB
4942013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
495
496 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
497 represented by lists.
498
7a550bbb
GM
4992013-10-16 Glenn Morris <rgm@gnu.org>
500
501 * tmm.el (tmm--history): New dynamic variable.
502 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
503
f19da8ad
MA
5042013-10-16 Michael Albinus <michael.albinus@gmx.de>
505
506 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
507 (tramp-smb-errors): Add error messages.
508 (tramp-smb-actions-with-acl): New defconst.
509 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
510 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
511 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
512 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
513 (tramp-smb-get-stat-capability): Fix tests.
514
a24b9961
DK
5152013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
516
517 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
518 (bug#15580).
519
62ad85e6
GM
5202013-10-16 Glenn Morris <rgm@gnu.org>
521
0283d6b0
GM
522 * ansi-color.el (ansi-color-drop-regexp):
523 Add 1J, 1K, 2K. (Bug#15617)
524
012e2f9f
GM
525 * files.el (hack-local-variables--warned-lexical): New.
526 (hack-local-variables):
527 Warn about misplaced lexical-binding. (Bug#15616)
528
62ad85e6
GM
529 * net/eww.el (eww-render): Always set eww-current-url,
530 and update header line. (Bug#15622)
531 (eww-display-html): ... Rather than just doing it here.
532
6456c0ea
EZ
5332013-10-15 Eli Zaretskii <eliz@gnu.org>
534
535 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
536 menu navigations commands.
537
c2de5588
DK
5382013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
539
540 * progmodes/subword.el (subword-capitalize): Be careful when
541 the search for [[:alpha:]] fails (bug#15580).
542
ccd4a783
EZ
5432013-10-14 Eli Zaretskii <eliz@gnu.org>
544
545 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
546 to commands that scroll the menu.
547
1eda1d8d
DG
5482013-10-14 Dmitry Gutov <dgutov@yandex.ru>
549
c2de5588
DK
550 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
551 Handle methods ending with `?' and `!'.
1eda1d8d 552
e70181b8
AM
5532013-10-14 Akinori MUSHA <knu@iDaemons.org>
554
555 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
556 `japanese-cp932' to `cp932' to fix the problem where saving a
557 source file written in Shift_JIS twice would end up having
558 `coding: japanese-cp932' which Ruby could not recognize.
559 (ruby-mode-set-encoding): Add support for encodings mapped to nil
560 in `ruby-encoding-map'.
561 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
562 doesn't need to be explicitly declared in magic comment.
563 (ruby-encoding-map): Add type declaration for better customize UI.
564
9148ee92
GM
5652013-10-13 Glenn Morris <rgm@gnu.org>
566
a5d38e34
GM
567 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
568 Occur buffers are read-only. http://bugs.debian.org/720775
569
9148ee92
GM
570 * emacs-lisp/authors.el (authors-fixed-entries):
571 Comment out old alpha stuff.
572
a9ba094b
DG
5732013-10-13 Dmitry Gutov <dgutov@yandex.ru>
574
575 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
576 to `after-save-hook' instead of `before-save-hook'.
577 (ruby-mode-set-encoding): Use the value of coding system used to
578 write the file. Call `basic-save-buffer-1' after modifying the
579 buffer.
580
7a068717
AM
5812013-10-13 Alan Mackenzie <acm@muc.de>
582
583 Fix indentation/fontification of Java enum with
584 "implements"/generic.
585
c2de5588
DK
586 * progmodes/cc-engine.el (c-backward-over-enum-header):
587 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
588 (c-inside-bracelist-p): Uses new function above.
589 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
590 function above.
591 (c-font-lock-enum-tail): Uses new function above.
592
85b64f02
KH
5932013-10-13 Kenichi Handa <handa@gnu.org>
594
595 * international/mule-cmds.el (select-safe-coding-system): Remove a
596 superfluous condition in chekcing whether a coding system is safe
597 or not.
598
fc7f501b
OK
5992013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
600
601 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
602
fdcb2049
AP
6032013-10-13 Andreas Politz <politza@hochschule-trier.de>
604
605 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
606
8c106d17
GM
6072013-10-13 Glenn Morris <rgm@gnu.org>
608
feab892d
GM
609 * menu-bar.el (menu-bar-update-buffers):
610 Unify Buffers menu prompt string. (Bug#15576)
611
b22d0686
GM
612 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
613
8c106d17
GM
614 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
615 Add some entries.
616 (authors-fixed-entries): Use accented form of name.
617
1b12c797
SM
6182013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
619
650fa7bf 620 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 621 method calls (bug#15594).
650fa7bf
SM
622 (ruby-smie--args-separator-p): New function.
623 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
624 recognize paren-free method calls.
625
1b12c797
SM
626 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
627 internals of universal-argument.
628
029619c8
EZ
6292013-10-11 Eli Zaretskii <eliz@gnu.org>
630
631 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
632 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
633 dropped menu on second mouse click on the menu bar.
029619c8 634
dd070019
SM
6352013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
638 (explicit-shell-file-name): Declare.
639 (sh--vars-before-point, sh--cmd-completion-table): New functions.
640 (sh-completion-at-point-function): New function.
641 (sh-mode): Use it.
642 (sh-smie--keyword-p): Remove unused argument.
643 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
644 vars.
645 (sh-set-shell): Always setup SMIE, even if we use the
646 old indentation code.
647
0922b826
DG
6482013-10-11 Dmitry Gutov <dgutov@yandex.ru>
649
b68e2926
DG
650 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
651 cases of ? and =.
652 (ruby-smie-rules): Simplify the "do" rule. The cases when the
653 predicate would return nil are almost non-existent.
654 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
655
0922b826
DG
656 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
657 cache also after commands that modify the buffer but don't move
658 point.
659
ee041f2d
SM
6602013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * env.el (substitute-env-in-file-name): New function.
663 (substitute-env-vars): Extend the meaning of the optional arg.
664
a5dab159
EZ
6652013-10-10 Eli Zaretskii <eliz@gnu.org>
666
667 * term/w32-win.el (dynamic-library-alist): Define separate lists
668 of GIF DLLs for versions before and after 5.0.0 of giflib.
669 (Bug#15531)
670
db138698
JT
6712013-10-10 João Távora <joaotavora@gmail.com>
672
673 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
674 not locked, use last revision and current source as
675 defaults. (Bug#15569)
676
2f6e161e
MY
6772013-10-10 Masatake YAMATO <yamato@redhat.com>
678
679 * menu-bar.el (menu-bar-open): Don't use popup-menu if
680 menu-bar is hidden.
681
6c8413fc
MR
6822013-10-10 Martin Rudalics <rudalics@gmx.at>
683
684 * window.el (pop-to-buffer-same-window): Fix doc-string.
685 (Bug#15492)
686
20832de0
SM
6872013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
690
c6e8ae77
AC
6912013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
692
693 * calendar/icalendar.el (icalendar-import-file):
694 Fix interactive spec. (Bug#15482)
695
9db13baf
GM
6962013-10-10 Glenn Morris <rgm@gnu.org>
697
9271e90e
GM
698 * desktop.el (desktop-save): Default to saving in .emacs.d,
699 since PWD is no longer in desktop-path by default. (Bug#15319)
700
9db13baf
GM
701 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
702 now that text mode has a menu with the same entry.
703 (menu-bar-text-mode-auto-fill): Remove now unused func.
704 * textmodes/text-mode.el (text-mode-map):
705 Use auto-fill help text from menu-bar.el.
706
a0be396a 7072013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
708
709 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
710
2edcd3c7
JL
7112013-10-09 Juri Linkov <juri@jurta.org>
712
713 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
714 instead of this-command-keys. Add universal-argument-more and
715 universal-argument-minus to the list of prefix commands. (Bug#15568)
716
574411d0
GM
7172013-10-09 Glenn Morris <rgm@gnu.org>
718
14afa541
GM
719 * vc/vc-svn.el (vc-svn-create-repo):
720 Expand paths in file://... url. (Bug#15446)
721
574411d0
GM
722 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
723 Add some entries.
724 (authors): Remove unused local variables.
725
79804536
SM
7262013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * profiler.el: Create a more coherent calltree from partial backtraces.
729 (profiler-format): Hide the tail with `invisible' so that C-s can still
730 find the hidden elements.
731 (profiler-calltree-depth): Don't recurse so enthusiastically.
732 (profiler-function-equal): New hash-table-test.
733 (profiler-calltree-build-unified): New function.
734 (profiler-calltree-build): Use it.
735 (profiler-report-make-name-part): Indent the calltree less.
736 (profiler-report-mode): Add visibility specs for profiler-format.
737 (profiler-report-expand-entry, profiler-report-toggle-entry):
738 Expand the whole subtree when provided with a prefix arg.
739
238150c8
DG
7402013-10-09 Dmitry Gutov <dgutov@yandex.ru>
741
742 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
743 iuwu-mod token.
744 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
745 hanging iuwu-mod token.
746 (ruby-smie--forward-token): Do not include a dot after a token in
747 that token.
748 (ruby-smie--backward-token): Likewise.
749
b0949cc4
JL
7502013-10-08 Juri Linkov <juri@jurta.org>
751
752 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
753 to isearch-other-control-char.
754 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
755 and isearch-post-command-hook to post-command-hook.
756 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
757 and isearch-post-command-hook from post-command-hook.
758 (isearch-unread-key-sequence)
759 (isearch-reread-key-sequence-naturally)
760 (isearch-lookup-scroll-key, isearch-other-control-char)
761 (isearch-other-meta-char): Remove functions.
762 (isearch-pre-command-hook, isearch-post-command-hook):
763 New functions based on isearch-other-meta-char rewritten
764 relying on the new behavior of overriding-terminal-local-map
765 that does not replace the local keymaps any more. (Bug#15200)
766
4ed77415
EZ
7672013-10-08 Eli Zaretskii <eliz@gnu.org>
768
769 Support menus on text-mode terminals.
770 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
771 functionality.
772
773 * tooltip.el (tooltip-mode): Don't error out on TTYs.
774
c2de5588
DK
775 * menu-bar.el (popup-menu, popup-menu-normalize-position):
776 Move here from mouse.el.
4ed77415
EZ
777 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
778 and arrow keys.
779 (tty-menu-navigation-map): New map for TTY menu navigation.
780
781 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
782
783 * frame.el (display-mouse-p): Report text-mode mouse as available
784 on w32.
785 (display-popup-menus-p): Report availability if mouse is
786 available; don't condition on window-system.
787
788 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
789 (tty-menu-selected-face): New faces.
790
b7d5bd82
TL
7912013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
792
06286513
SM
793 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
794 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
795 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
796 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
797 New constants.
798 (lisp-mode-variables): New `elisp' argument.
799 (emacs-lisp-mode): Use it.
800 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
801 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
802
b7d5bd82
TL
803 * indent.el: Use lexical-binding.
804 (indent-region): Add progress reporter.
805 (tab-stop-list): Make it implicitly extend to infinity by repeating the
806 last step.
807 (indent--next-tab-stop): New function to implement this behavior.
808 (tab-to-tab-stop, move-to-tab-stop): Use it.
809
8102013-10-08 Teemu Likonen <tlikonen@iki.fi>
811
812 * indent.el (indent-rigidly--current-indentation): New function.
813 (indent-rigidly-map): New var.
814 (indent-rigidly): Use it to provide interactive mode (bug#8196).
815
5ea75d23
BG
8162013-10-08 Bastien Guerry <bzg@gnu.org>
817
818 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
819
cc5da1ec
SM
8202013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
821
8ffa1a0b
SM
822 * progmodes/perl-mode.el: Use lexical-binding.
823 Remove redundant :group args.
824 (perl-nochange): Change default to be closer to other major modes's
825 standard behavior.
826 (perl-indent-line): Don't consider text on current line as a
827 valid beginning of function from which to indent.
828
f2223371
SM
829 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
830 with more than one argument (bug#15538).
831
44256060
SM
832 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
833
cc5da1ec
SM
834 * vc/pcvs.el: Use lexical-binding.
835 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
836 environment of `eval'.
837 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
838 than a list of expressions. Adjust callers.
839 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
840
0ea1599d
DG
8412013-10-07 Dmitry Gutov <dgutov@yandex.ru>
842
843 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 844 case of the dot in a chained method call being on the following line.
0ea1599d 845
da3e5ebb
SM
8462013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
847
2abb4e65
SM
848 * electric.el (electric-indent-inhibit): New var.
849 (electric-indent-post-self-insert-function): Use it.
850 * progmodes/python.el (python-mode): Set it.
851
d2e0e795
SM
852 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
853 open braces.
854
855 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
856
bdc6b4c8
SM
857 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
858 (css-mode): Use electric-indent-chars.
859
da3e5ebb
SM
860 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
861 (font-lock-beg, font-lock-end): Move before first use.
862 (nxml-mode): Use syntax-propertize-function.
863 (nxml-after-change, nxml-after-change1): Adjust accordingly.
864 (nxml-extend-after-change-region): Remove.
865 * nxml/xmltok.el: Use lexical-binding.
866 (xmltok-save): Use `declare'.
867 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
868 * nxml/nxml-util.el: Use lexical-binding.
869 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
870 Use `declare'.
871 * nxml/nxml-ns.el: Use lexical-binding.
872 (nxml-ns-save): Use `declare'.
873 (nxml-ns-prefixes-for): Avoid add-to-list.
874 * nxml/rng-match.el: Use lexical-binding.
875 (rng--ipattern): Use cl-defstruct.
876 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
877 (rng-cons-group-after, rng-subst-group-after)
878 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
879 Use closures instead of `(lambda...).
880
f8f91d5d
MA
8812013-10-07 Michael Albinus <michael.albinus@gmx.de>
882
883 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
884 of BEG and END.
885
da3e5ebb
SM
886 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
887 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
888 (tramp-gvfs-handle-insert-file-contents): Remove function.
889
da3e5ebb
SM
890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
891 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
892
893 * net/trampver.el: Update release number.
894
7ccae3b1
SM
8952013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
896
55ca2c0d
SM
897 * progmodes/compile.el (compilation-parse-errors):
898 Use compilation--put-prop.
899 (compilation--ensure-parse): Check compilation-multiline.
900
731fc3ae
SM
901 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
902
da3e5ebb
SM
903 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
904 lexical-binding.
a5833280 905
2e7ba2c2
SM
906 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
907
7ccae3b1
SM
908 * progmodes/ruby-mode.el: Fix recently added tests.
909 (ruby-smie-grammar): Add - and +.
910 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
911 (ruby-smie--backward-id): New functions.
912 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
913 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
914 any more.
915
85698d63
LL
9162013-10-07 Leo Liu <sdl.web@gmail.com>
917
918 * register.el (register-preview-delay)
919 (register-preview-functions): New variables.
920 (register-read-with-preview, register-preview)
921 (register-describe-oneline): New functions.
922 (point-to-register, window-configuration-to-register)
923 (frame-configuration-to-register, jump-to-register)
924 (number-to-register, view-register, insert-register)
925 (copy-to-register, append-to-register, prepend-to-register)
926 (copy-rectangle-to-register): Use register-read-with-preview to
927 read register. (Bug#15525)
928
3986af6c
DS
9292013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
930
931 * net/network-stream.el (network-stream-open-starttls): Don't add
932 --insecure if it's already present, because that gnutls-cli
933 rejects getting that parameter twice.
934
5cd9cda9
DG
9352013-10-06 Dmitry Gutov <dgutov@yandex.ru>
936
937 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
938 keyword, too.
939
da9ea6d9
DG
9402013-10-05 Dmitry Gutov <dgutov@yandex.ru>
941
942 * newcomment.el (comment-use-global-state): Change default value
943 to t, mark obsolete (Bug#15251).
944 (comment-beginning): In addition to `comment-to-syntax', check the
945 value of `comment-use-global-state'.
946
34d1a133
SM
9472013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
950 (ruby-comment-column): Follow the global default, by default.
951 (ruby-smie-grammar): Add assignment syntax.
952 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
953 open-paren, a comma, or a \.
954 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
955 and line continuations.
956 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
957 followed by implicit semi-colons. Add rule for string concatenation
958 and for indentation at BOB.
959 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
960
961 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
962 calling next-sexp, since next-token may have skipped chars which
963 next-sexp doesn't know should be skipped!
964
6f6ab820
LL
9652013-10-05 Leo Liu <sdl.web@gmail.com>
966
34d1a133
SM
967 * progmodes/octave.el (octave-send-region):
968 Call compilation-forget-errors.
6f6ab820 969
34ca0f4c
XF
9702013-10-04 Xue Fuqiao <xfq.free@gmail.com>
971
972 * vc/vc-svn.el (vc-svn-find-admin-dir):
973 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
974 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
975 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
976 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
977
a27c1b72
SM
9782013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
981
258ab3bc
SM
9822013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * subr.el (read-passwd): Hide chars even when called within a context
985 where after-change-functions is disabled (bug#15501).
986 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
987 until we removed ourself from overriding-terminal-local-map.
988
939fb29c
LL
9892013-10-04 Leo Liu <sdl.web@gmail.com>
990
258ab3bc
SM
991 * progmodes/octave.el (inferior-octave-mode):
992 Call compilation-forget-errors.
939fb29c 993
63bd7f35
XF
9942013-10-04 Xue Fuqiao <xfq.free@gmail.com>
995
996 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
997
9e6229fa
MA
9982013-10-04 Michael Albinus <michael.albinus@gmx.de>
999
1000 * net/secrets.el (secrets-create-collection): Add optional
1001 argument ALIAS. Use proper Label keyword. Append ALIAS as
1002 dbus-call-method argument. (Bug#15516)
1003
1dab32a3
LL
10042013-10-04 Leo Liu <sdl.web@gmail.com>
1005
1006 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1007 (inferior-octave-compilation-font-lock-keywords): New variables.
1008 (compilation-error-regexp-alist)
1009 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1010 (inferior-octave-mode): Use compilation-shell-minor-mode.
1011
6cad7ba3
JS
10122013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1013
1014 * minibuffer.el (completion--replace): Be careful that `end' might be
1015 a marker.
1016
acbadd00
DU
10172013-10-03 Daiki Ueno <ueno@gnu.org>
1018
1019 Add support for package signature checking.
1020 * emacs-lisp/package.el (url-http-file-exists-p)
1021 (epg-make-context, epg-context-set-home-directory)
1022 (epg-verify-string, epg-context-result-for)
1023 (epg-signature-status, epg-signature-to-string)
1024 (epg-check-configuration, epg-configuration)
1025 (epg-import-keys-from-file): Declare.
1026 (package-check-signature): New user option.
1027 (package-unsigned-archives): New user option.
1028 (package-desc): Add `signed' field.
1029 (package-load-descriptor): Set `signed' field if .signed file exists.
1030 (package--archive-file-exists-p): New function.
1031 (package--check-signature): New function.
1032 (package-install-from-archive): Check package signature.
1033 (package--download-one-archive): Check archive signature.
1034 (package-delete): Remove .signed file.
1035 (package-import-keyring): New command.
1036 (package-refresh-contents): Import default keyring.
1037 (package-desc-status): Add "unsigned" status.
1038 (describe-package-1, package-menu--print-info)
1039 (package-menu-mark-delete, package-menu--find-upgrades)
1040 (package-menu--status-predicate): Support "unsigned" status.
1041
adf2aa61
SM
10422013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1045 the new compilation scheme using the new byte-codes.
1046
1047 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1048 (byte-pophandler): New byte codes.
1049 (byte-goto-ops): Adjust accordingly.
1050 (byte-compile--use-old-handlers): New var.
1051 (byte-compile-catch): Use new byte codes depending on
1052 byte-compile--use-old-handlers.
1053 (byte-compile-condition-case--old): Rename from
1054 byte-compile-condition-case.
1055 (byte-compile-condition-case--new): New function.
1056 (byte-compile-condition-case): New function that dispatches depending
1057 on byte-compile--use-old-handlers.
1058 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1059 when we can.
1060
1061 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1062 Optimize under `condition-case' and `catch' if
1063 byte-compile--use-old-handlers is nil.
1064 (disassemble-offset): Handle new bytecodes.
1065
328a8179
SM
10662013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1067
1068 * subr.el (error): Use `declare'.
1069 (decode-char, encode-char): Use advertised-calling-convention instead
1070 of the docstring to discourage use of the `restriction' arg.
1071
15a1e936
DU
10722013-10-03 Daiki Ueno <ueno@gnu.org>
1073
1074 * epg.el (epg-verify-file): Add a comment saying that it does not
1075 notify verification error as a return value nor a signal.
1076 (epg-verify-string): Ditto.
1077
376f862a
KR
10782013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1079
1080 * progmodes/compile.el (compilation-start): Try globbing the arg to
1081 `cd' (bug#15417).
1082
a2f93a5f
MA
10832013-10-02 Michael Albinus <michael.albinus@gmx.de>
1084
1085 Sync with Tramp 2.2.8.
1086
1087 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1088 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1089 * net/trampver.el: Update release number.
1090
0daa0804
JD
10912013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1092
1093 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1094 and default-process-coding-system for darwin only.
1095
abd1ae34
SM
10962013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1099
be4e325d
MH
11002013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1101
1102 * vc/vc-git.el (vc-git-grep): Disable pager.
1103
e9155c4a
DG
11042013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1105
494e898b
DG
1106 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1107 Use :url instead of :homepage, as per
1108 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1109
e9155c4a
DG
1110 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1111 non-nil, use `syntax-ppss' (Bug#15251).
1112
481a8e0f
RS
11132013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1114
be4e325d
MH
1115 * progmodes/octave.el (inferior-octave-startup-file):
1116 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1117
056453c6
DG
11182013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1119
be4e325d
MH
1120 * emacs-lisp/package.el (package-desc-from-define):
1121 Accept additional arguments as plist, convert them to an alist and store
1122 them in the `extras' slot.
056453c6
DG
1123 (package-generate-description-file): Convert extras alist back to
1124 plist and append to the `define-package' form arguments.
1125 (package--alist-to-plist): New function.
1126 (package--ac-desc): Add `extras' slot.
1127 (package--add-to-archive-contents): Check if the archive-contents
1128 vector is long enough, and if it is, pass its `extras' slot value
1129 to `package-desc-create'.
1130 (package-buffer-info): Call `lm-homepage', pass the returned value
1131 to `package-desc-from-define'.
1132 (describe-package-1): Render the homepage button (Bug#13291).
1133
be4e325d
MH
1134 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1135 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1136
832966e5
JD
11372013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1138
1139 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1140 and default-process-coding-system to utf-8-unix (Bug#15402).
1141
6cfe977d
XF
11422013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1143
1144 * subr.el (looking-back): Do not recommend using looking-back.
1145
38de11bd
AM
11462013-09-28 Alan Mackenzie <acm@muc.de>
1147
1148 Fix indentation/fontification of Java enum with "implements".
1149
1150 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1151 regexp which matches "implements", etc., in Java.
1152 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1153 specifier clauses coming after "enum".
1154 * progmodes/cc-fonts.el (c-font-lock-declarations)
1155 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1156 after "enum".
1157
1610938f
JD
11582013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1159
1160 * faces.el (region): Change ns_selection_color to
1161 ns_selection_fg_color, add ns_selection_bg_color.
1162
e090f499
LL
11632013-09-28 Leo Liu <sdl.web@gmail.com>
1164
4d2e94d1
LL
1165 * progmodes/octave.el (inferior-octave-completion-table)
1166 (inferior-octave-completion-at-point): Minor tweaks.
1167
e090f499
LL
1168 * textmodes/ispell.el (ispell-lookup-words): Rename from
1169 lookup-words. (Bug#15460)
1170 (lookup-words): Obsolete.
1171 (ispell-complete-word, ispell-command-loop): All uses changed.
1172
7e138a62
RS
11732013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1174
1175 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1176 (octave-mode-menu): Add octave-send-buffer.
1177 (octave-send-buffer): New function.
1178
5af5ed08
RS
11792013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1180
1181 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1182 octave-lookfor.
1183 (octave-mode-menu): Add octave-lookfor.
1184 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1185 octave-lookfor.
1186 (octave-lookfor): New function.
1187
3b7b2692
SM
11882013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * emacs-lisp/cl-macs.el:
1191 (cl--loop-destr-temps): Remove.
1192 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1193 its convention.
1194 (cl--loop-set-iterator-function): New function.
1195 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1196 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1197 Bind `it' with `let' instead of substituting it with `cl-subst'.
1198 (cl--unused-var-p): New function.
1199 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1200 Eliminate some unused variable warnings (bug#15326).
1201
529fb53f
TH
12022013-09-27 Tassilo Horn <tsdh@gnu.org>
1203
1204 * doc-view.el (doc-view-scale-reset): Rename from
1205 `doc-view-reset-zoom-level'.
1206 (doc-view-scale-adjust): New command.
1207 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1208 `doc-view-scale-adjust'.
1209
0550c95a
TH
12102013-09-26 Tassilo Horn <tsdh@gnu.org>
1211
1212 * doc-view.el (doc-view-reset-zoom-level): New command.
1213 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1214 zoom commands (bug#15466).
1215
6950f152
KH
12162013-09-26 Kenichi Handa <handa@gnu.org>
1217
1218 * international/quail.el (quail-help): Make it not a command.
1219
39587580
LL
12202013-09-26 Leo Liu <sdl.web@gmail.com>
1221
1222 * minibuffer.el (completion-all-sorted-completions): Make args
1223 optional as they are.
1224
00578659
DC
12252013-09-25 Daniel Colascione <dancol@dancol.org>
1226
1227 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1228 specs are and that they're not evaluated.
1229
0c173878
SS
12302013-09-24 Sam Steingold <sds@gnu.org>
1231
1232 * midnight.el (clean-buffer-list-kill-regexps)
1233 (clean-buffer-list-kill-buffer-names): Update for the new Man
1234 buffer naming which includes the object name.
1235
84998447
SM
12362013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1239 (eshell-parse-command, eshell-parse-pipeline): Use it since
1240 eshell-separate-commands requires a dynamic scoped var.
1241 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1242
33215353
LL
12432013-09-23 Leo Liu <sdl.web@gmail.com>
1244
1245 * autoinsert.el (auto-insert-alist): Make the value of
1246 lexical-binding match its file setting.
1247
57b16162
JB
12482013-09-23 Juanma Barranquero <lekktu@gmail.com>
1249
c8af4e67
JB
1250 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1251
57b16162
JB
1252 * autoarg.el (autoarg-kp-digit-argument):
1253 * electric.el (Electric-command-loop):
1254 * kmacro.el (kmacro-step-edit-insert):
1255 Do not set universal-argument-num-events.
1256
7186ba60
LL
12572013-09-22 Leo Liu <sdl.web@gmail.com>
1258
1259 * files.el (interpreter-mode-alist): Add octave.
1260
ece15004
AM
12612013-09-21 Alan Mackenzie <acm@muc.de>
1262
1263 C++: fontify identifier in declaration following "public:" correctly.
1264 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1265 to match "public", etc.
1266 (c-decl-prefix-re): Add ":" into the C++ value.
1267 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1268 bit. Add a check for a ":" preceded by "public", etc.
1269
75d83e22
EZ
12702013-09-21 Eli Zaretskii <eliz@gnu.org>
1271
1272 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1273 recognized by GDB 7.5 and later.
1274
d052d3bd
XF
12752013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1276
1277 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1278
31dca772
R
12792013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * subr.el (internal--call-interactively): New const.
1282 (called-interactively-p): Use it (bug#3984).
1283
98ccf24e
XF
12842013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1285
1286 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1287 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1288 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1289
c39cc7d1
SM
12902013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1293 (eshell-ls-orig-insert-directory): Remove.
1294 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1295 (eshell-ls-use-in-dired): Use advice-add/remove.
1296 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1297 Add `orig-fun' arg for use in :around advice.
1298 Make it check (redundantly) eshell-ls-use-in-dired.
1299
9a0289a2
GM
13002013-09-19 Glenn Morris <rgm@gnu.org>
1301
a2c501b8
GM
1302 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1303
c440407a
GM
1304 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1305
9a0289a2
GM
1306 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1307
85e05915
MA
13082013-09-19 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1311 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1312 (tramp-get-remote-python): New defuns.
1313 (tramp-get-remote-uid-with-perl)
1314 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1315 contributed by yary <not.com@gmail.com> (tiny change).
1316 (tramp-get-remote-uid-with-python)
1317 (tramp-get-remote-gid-with-python): New defuns. Python code
1318 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1319 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1320
ce503312
GM
13212013-09-19 Glenn Morris <rgm@gnu.org>
1322
f7544773
GM
1323 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1324
72fd2877
GM
1325 * eshell/em-unix.el (eshell-remove-entries):
1326 Rename argument to avoid name-clash with global `top-level'.
1327
336b5a56
GM
1328 * eshell/esh-proc.el (eshell-kill-process-function):
1329 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1330 (eshell-reset-after-proc): Remove unused arg `proc'.
1331
57a3a53d
GM
1332 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1333 (directory-files-and-attributes): Mark unused arg.
1334
3261d4af
GM
1335 * eshell/em-unix.el (eshell-remove-entries):
1336 Remove unused arg `path'. Update callers.
1337
8e51b5d0
GM
1338 * eshell/em-hist.el (eshell-hist-parse-arguments):
1339 Remove unused arg `silent'. Update callers.
1340
ce503312
GM
1341 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1342 Fix (f)boundp mix-up.
1343
1344 * eshell/em-smart.el (eshell-smart-scroll-window)
1345 (eshell-disable-after-change):
336b5a56 1346 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1347
ee3ce8a7
AM
13482013-09-18 Alan Mackenzie <acm@muc.de>
1349
1350 Fix fontification of type when followed by "const".
1351 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1352 "known" types from fontification.
1353
ec9177ba
GM
13542013-09-18 Glenn Morris <rgm@gnu.org>
1355
7bb3e768
GM
1356 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1357 (chart-face-list): Drop Emacsen without display-color-p.
1358
5148da15
GM
1359 * net/eww.el (libxml-parse-html-region): Declare.
1360 (eww-display-html): Explicit error if no libxml2 support.
1361
2f68e157
GM
1362 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1363
9019d095
GM
1364 * image.el (image-type-from-buffer, image-multi-frame-p):
1365 Remove --without-x warning/error.
67645389 1366
5f30349b 1367 * mouse.el (mouse-yank-primary):
45069b2e 1368 * term.el (term-mouse-paste):
5f30349b
GM
1369 Reorder to silence --without-x compilation.
1370
cd8edbbe
GM
1371 * mpc.el (doc-view-mode): Silence --without-x compilation.
1372
8a78544e
GM
1373 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1374 Silence --without-x compilation.
1375
12679bfd
GM
1376 * progmodes/gud.el (gud-find-file, gud-mode):
1377 Silence --without-x compilation.
1378 (tooltip-mode): Declare.
30810a05 1379
f0047cb9
GM
1380 * wdired.el (dired-backup-overwrite): Remove declaration.
1381 (wdired-mode-map): Add doc string.
1382
e740f9d2
GM
1383 * custom.el (x-get-resource): Declare.
1384
92d77c89
GM
1385 * eshell/em-glob.el (ange-cache):
1386 * eshell/em-unix.el (ange-cache): Declare.
1387
76e69577
GM
1388 * faces.el (x-display-list, x-open-connection, x-get-resource):
1389 Declare.
7e58af4b
GM
1390
1391 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1392 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1393 Declare.
76e69577 1394
4bd4c0af 1395 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1396
ffb82dbd
GM
1397 * net/gnutls.el (gnutls-log-level): Declare.
1398
986ed135
GM
1399 * net/shr.el (image-size, image-animate): Declare.
1400
e740f9d2
GM
1401 * simple.el (font-info): Declare.
1402
d2f3e9f8
GM
1403 * subr.el (x-popup-dialog): Declare.
1404
047a1a4c
GM
1405 * term/common-win.el (x-select-enable-primary)
1406 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1407 Declare.
1408
f4a1d572
GM
1409 * term/ns-win.el (x-handle-args): Declare.
1410
e843de77
GM
1411 * term/x-win.el (x-select-enable-clipboard): Declare.
1412
5fa89513
GM
1413 * term/w32-win.el (create-default-fontset): Declare.
1414
38702b5b
GM
1415 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1416 Declare.
1417
e740f9d2
GM
1418 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1419 (fit-frame-to-buffer): Explicit error if --without-x.
1420 (mouse-autoselect-window-select): Silence compiler.
1421
49a053fc
GM
1422 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1423
1424 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1425 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1426 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1427 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1428 Remove unused local variables.
1429
1430 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1431
ec9177ba
GM
1432 * textmodes/two-column.el: Make 2C-split work for --without-x.
1433 (scroll-bar-columns): Autoload.
1434 (top-level): Require fringe when compiling.
1435
9f25cb77
LL
14362013-09-18 Leo Liu <sdl.web@gmail.com>
1437
1438 * subr.el (add-hook): Robustify to handle closure as well.
1439
2b42da98
GM
14402013-09-17 Glenn Morris <rgm@gnu.org>
1441
1442 * simple.el (messages-buffer-mode-map): Unbind "g".
1443
e8b66a6a
SM
14442013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1445
9c0ad4f7
SM
1446 * help-mode.el (help-mode-finish): Use derived-mode-p.
1447 Remove obsolete highlighting.
1448
7a806dfb
SM
1449 * play/life.el (life-mode): Use define-derived-mode. Derive from
1450 special-mode.
1451 (life): Let-bind inhibit-read-only.
1452 (life-setup): Avoid `setq'. Use `life-mode'.
1453
96dbf5a8
SM
1454 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1455 which should not be needed any more.
1456 (package-menu-refresh, package-menu-describe-package): Use user-error.
1457
e8b66a6a
SM
1458 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1459 (eshell-post-rewrite-command-hook): Make obsolete.
1460 (eshell-parse-command): Simplify.
1461 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1462 (eshell--cmd): Declare.
1463 (eshell-parse-pipeline): Remove unused var `final-p'.
1464 Pass a dynvar to eshell-post-rewrite-command-hook.
1465 Implement the new eshell-post-rewrite-command-function.
1466 (eshell-invoke-directly): Remove unused arg `input'.
1467 * eshell/esh-io.el (eshell-io-initialize):
1468 Use eshell-post-rewrite-command-function (bug#15399).
1469 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1470 adjust to new calling convention.
1471 (eshell-create-handles): Rename args to avoid clashing with dynvar
1472 `standard-output'.
1473
90582f05
GM
14742013-09-17 Glenn Morris <rgm@gnu.org>
1475
1476 * simple.el (messages-buffer-mode): New major mode.
1477 (messages-buffer): New function.
1478 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1479 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1480 (ert-run-test): Use `messages-buffer' function.
90582f05 1481 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1482 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1483 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1484
39eb0cb5 14852013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1486
1487 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1488
1f1e06e2
SM
1489 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1490
70568a90
SM
14912013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1492
504a0381
SM
1493 * icomplete.el (icomplete-in-buffer): New var.
1494 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1495 vars and replace them with functions.
1496 (icomplete-minibuffer-setup): Adjust accordingly.
1497 (icomplete--completion-table, icomplete--completion-predicate)
1498 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1499 New functions.
1500 (icomplete-forward-completions, icomplete-backward-completions)
1501 (icomplete-simple-completing-p, icomplete-exhibit)
1502 (icomplete-completions): Use them.
1503 (icomplete--in-region-buffer): New var.
1504 (icomplete--in-region-setup): New function.
1505 (icomplete-mode): Use it.
1506
70568a90
SM
1507 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1508 (bug#15379).
1509 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1510 return args and options.
1511 (eshell-eval-using-options): Use the new return value of
1512 eshell--do-opts to set the options's vars in their scope.
1513 (eshell--set-option): Rename from eshell-set-option.
1514 Add arg `opt-vals'.
1515 (eshell--process-option): Rename from eshell-process-option.
1516 Add arg `opt-vals'.
1517 (eshell--process-args): Use an `opt-vals' alist to store the options's
1518 values during their processing and return them additionally to the
1519 remaining args.
1520
578c21bc
DG
15212013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1522
1523 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1524 continuation character an operator, as far as indentation is
1525 concerned (Bug#15369).
1526
c089653d
MR
15272013-09-15 Martin Rudalics <rudalics@gmx.at>
1528
1529 * window.el (window--state-put-2): Don't process buffer state
1530 when buffer doesn't exist any more (Bug#15382).
1531
1e53bb4b
GM
15322013-09-15 Glenn Morris <rgm@gnu.org>
1533
30753242
GM
1534 * eshell/em-unix.el (eshell/rm):
1535 Make -f ignore missing files. (Bug#15373)
1536
1e53bb4b
GM
1537 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1538 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1539 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1540
0d8863b3
GM
15412013-09-14 Glenn Morris <rgm@gnu.org>
1542
1543 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1544
d3fc6549
GM
15452013-09-13 Glenn Morris <rgm@gnu.org>
1546
1547 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1548 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1549
fcd42c11
DA
15502013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1551
1552 * frame.el (x-focus-frame): Mark as declared in frame.c.
1553
7830899f
SM
15542013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * ls-lisp.el: Use advice-add.
1557 (original-insert-directory): Remove.
1558 (ls-lisp--insert-directory): Rename from insert-directory; add
1559 `orig-fun' argument.
1560 (insert-directory): Advise.
1561
84387cd2
EZ
15622013-09-13 Eli Zaretskii <eliz@gnu.org>
1563
1564 * term.el (term-emulate-terminal): Decode the command string
1565 before passing it to term-command-hook. (Bug#15337)
1566
35ffc6ba
GM
15672013-09-13 Glenn Morris <rgm@gnu.org>
1568
5c3f9bcc
GM
1569 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1570
2ada368a
GM
1571 * eshell/esh-ext.el (eshell-search-path): Declare.
1572
fcef2e13
GM
1573 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1574 Otherwise an error occurs if eshell-dirs module not loaded.
1575
35ffc6ba
GM
1576 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1577
35c3d36e
MA
15782013-09-13 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1581 `tramp-check-proper-host'. Check for a valid method name.
1582
1583 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1584 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1585 * net/tramp-sh.el (tramp-maybe-open-connection):
1586 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1587
1588 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1589 also for hash values.
1590
ae5e4c48
SM
15912013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1592
379add74
SM
1593 * term/ns-win.el (parameters): Don't declare as dynamic.
1594 (before-make-frame-hook): Don't add ineffective function.
1595
ae5e4c48
SM
1596 * eshell/*.el: Use lexical-binding (bug#15231).
1597
b5623270
KH
15982013-09-12 Kenichi Handa <handa@gnu.org>
1599
ae5e4c48 1600 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1601
30213927
GM
16022013-09-12 Glenn Morris <rgm@gnu.org>
1603
be94d713 1604 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1605 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1606
44915370
GM
1607 * subr.el (do-after-load-evaluation): Also give compiler warnings
1608 when obsolete files are used (except by obsolete files).
1609
a6ae021f
GM
1610 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1611 in the status output, assume `filename' is the first. (Bug#15322)
1612
40e64f0c
GM
1613 * vc/vc.el (vc-deduce-fileset): Doc fix.
1614
16d9f896
GM
1615 * calc/calc-help.el (Info-goto-node):
1616 * progmodes/cperl-mode.el (Info-find-node):
1617 * vc/ediff.el (Info-goto-node): Update declarations.
1618
dea01c6e
GM
1619 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1620
759880bf 1621 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1622 (vc-bzr-pull): Require vc-dispatcher.
1623 * vc/vc-git.el (vc-compilation-mode): Declare.
1624 (vc-git-pull): Require vc-dispatcher.
1625
08d66420
GM
1626 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1627
30b626e9
GM
1628 * progmodes/octave.el (help-button-action): Declare.
1629
8c05cb10
GM
1630 * shell.el (shell-directory-tracker): Output error as a message
1631 rather than just returning it as a string.
1632 (shell-process-pushd): Remove useless use of message.
1633
30213927
GM
1634 * dframe.el (dframe-timer-fn):
1635 * files.el (dir-locals-read-from-file):
1636 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1637 (mpc-format):
1638 * reveal.el (reveal-post-command):
1639 * saveplace.el (load-save-place-alist-from-file):
1640 * shell.el (shell-resync-dirs):
1641 * w32-common-fns.el (x-get-selection-value):
1642 * emacs-lisp/copyright.el (copyright-find-copyright):
1643 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1644 * emulation/tpu-edt.el (tpu-copy-keyfile):
1645 * play/bubbles.el (bubbles--mark-neighbourhood):
1646 * progmodes/executable.el
1647 (executable-make-buffer-file-executable-if-script-p):
1648 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1649
d3b049e6
SM
16502013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1651
170266d0
SM
1652 Cleanup Eshell to rely less on dynamic scoping.
1653 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1654 last-value, and ext-command here. Bind `args' closer to `body'.
1655 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1656 (eshell--args): Declare new dynamic var.
1657 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1658 last-value, and ext-command. Pass `args' to `body'.
1659 (eshell-process-args): Bind eshell--args.
1660 (eshell-set-option): Use eshell--args.
1661 * eshell/eshell.el (eshell): Use derived-mode-p.
1662 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1663 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1664 (eshell-glob-function): Declare.
1665 * eshell/esh-util.el: Require cl-lib.
1666 (eshell-read-hosts-file): Avoid add-to-list.
1667 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1668 `err'.
1669 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1670 Declare.
1671 (eshell/diff): Remove unused var `err'.
1672 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1673 `killflag'.
1674 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1675 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1676 first use.
1677 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1678 Move declaration before first use.
1679 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1680 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1681 rely on cl-return.
1682
56834f3b
GM
16832013-09-12 Glenn Morris <rgm@gnu.org>
1684
1685 * term/ns-win.el (global-map): Remove binding for ispell-next,
1686 deleted 1999-05-29. (Bug#15357)
1687
5c91a2b8
GM
16882013-09-11 Glenn Morris <rgm@gnu.org>
1689
da712f22
GM
1690 * echistory.el (electric-command-history): Remove call to deleted func.
1691
512e4cdc
GM
1692 * play/landmark.el (landmark-mode): Fix typos.
1693
d3506ca5
GM
1694 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1695 Check cvs-sort-ignore-file is bound.
1696
5c91a2b8
GM
1697 * savehist.el: No need for cl when compiling on Emacs.
1698
feeff482
SM
16992013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1700
656bd483
SM
1701 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1702 (bug#15338).
d3b049e6
SM
1703 (eshell-self-insert-command, eshell-send-invisible):
1704 Remove unused argument.
656bd483
SM
1705 (eshell-handle-control-codes): Remove unused var `orig'.
1706 Avoid delete-backward-char.
1707
feeff482
SM
1708 * files.el (set-auto-mode): Simplify a bit further.
1709
2a08047a
GM
17102013-09-11 Glenn Morris <rgm@gnu.org>
1711
1712 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1713 (set-auto-mode): Don't regexp-quote elements.
1714 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1715 * progmodes/cc-mode.el (interpreter-mode-alist):
1716 * progmodes/ruby-mode.el (interpreter-mode-alist):
1717 Revert previous change.
1718
34675540
SM
17192013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1b3b87df
SM
1721 * play/snake.el (snake-mode):
1722 * play/mpuz.el (mpuz-mode):
1723 * play/landmark.el (lm-mode):
1724 * play/blackbox.el (blackbox-mode):
1725 * play/5x5.el (5x5-mode):
1726 * obsolete/options.el (Edit-options-mode):
1727 * net/quickurl.el (quickurl-list-mode):
1728 * net/newst-treeview.el (newsticker-treeview-mode):
1729 * mail/rmailsum.el (rmail-summary-mode):
1730 * mail/mspools.el (mspools-mode):
1731 * locate.el (locate-mode):
1732 * ibuffer.el (ibuffer-mode):
1733 * emulation/ws-mode.el (wordstar-mode):
1734 * emacs-lisp/debug.el (debugger-mode):
1735 * array.el (array-mode):
1736 * net/eudc.el (eudc-mode): Use define-derived-mode.
1737 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1738 Move initialization into declaration.
1739 (mairix-searches-mode): Use define-derived-mode.
1740 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1741 (eudc-edit-hotlist): Use dolist.
1742 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1743 (Man-mode): Use define-derived-mode.
1744 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1745 (Info-edit-mode): Use define-derived-mode.
1746 (Info-cease-edit): Use Info-mode.
1747 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1748 into declaration.
1749 (eshell-mode): Use define-derived-mode.
1750 * chistory.el (command-history-mode-map): Rename from
1751 command-history-map.
1752 (command-history-mode): Use define-derived-mode.
da712f22 1753 (Command-history-setup): Remove function.
1b3b87df
SM
1754 * calc/calc.el (calc-trail-mode-map): New var.
1755 (calc-trail-mode): Use define-derived-mode.
1756 (calc-trail-buffer): Set calc-main-buffer manually.
1757 * bookmark.el (bookmark-insert-annotation): New function.
1758 (bookmark-edit-annotation): Use it.
1759 (bookmark-edit-annotation-mode): Make it a proper major mode.
1760 (bookmark-send-edited-annotation): Use derived-mode-p.
1761 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1762 closer to its ideal place. Use \' to match EOS.
1763
34675540
SM
1764 * profiler.el (profiler-calltree-find): Use function-equal.
1765
6a5c15d9
GM
17662013-09-10 Glenn Morris <rgm@gnu.org>
1767
1af4c220
GM
1768 * files.el (interpreter-mode-alist): Convert to regexps.
1769 (set-auto-mode): Adapt for this. (Bug#15306)
1770 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1771 Comment out unused variable.
1772 * progmodes/cc-mode.el (interpreter-mode-alist):
1773 * progmodes/python.el (interpreter-mode-alist):
1774 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1775 * progmodes/sh-script.el (sh-set-shell):
1776 No longer use interpreter-mode-alist to get list of shells.
1777
6a5c15d9
GM
1778 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1779
8c27f5ff
SM
17802013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1781
02ef6c1a 1782 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1783 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1784 Bind switch-frame explicitly. Replace universal-argument-minus with
1785 a conditional binding.
1786 (universal-argument-num-events, saved-overriding-map): Remove.
1787 (restore-overriding-map): Remove.
1788 (universal-argument--mode): Rename from save&set-overriding-map,
1789 and rewrite.
1790 (universal-argument, universal-argument-more, negative-argument)
1791 (digit-argument): Adjust accordingly.
1792 (universal-argument-minus): Remove.
1793 (universal-argument-other-key): Remove.
1794
8c27f5ff
SM
1795 * subr.el (with-demoted-errors): Add `format' argument.
1796
6480194c
MA
17972013-09-10 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1800 `tramp-cleanup-connection'.
1801
1802 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1803 parameters KEEP-DEBUG and KEEP-PASSWORD.
1804
1805 * net/tramp.el (tramp-file-name-handler):
1806 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1807 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1808 (tramp-maybe-open-connection):
8c27f5ff
SM
1809 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1810 Use `tramp-cleanup-connection'.
6480194c 1811
8c27f5ff
SM
1812 * net/tramp-sh.el (tramp-maybe-open-connection):
1813 Catch 'uname-changed inside the progress reporter.
6480194c 1814
e5e916d8
GM
18152013-09-10 Glenn Morris <rgm@gnu.org>
1816
9a2c9b47
GM
1817 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1818
e5e916d8
GM
1819 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1820 returns "alternate access method" in mode (eg "-rw-r--r--.").
1821
144e38fe
GM
18222013-09-08 Glenn Morris <rgm@gnu.org>
1823
1824 * saveplace.el (load-save-place-alist-from-file):
1825 Demote errors. (Bug#15305)
1826
af9ff9e8
MA
18272013-09-08 Michael Albinus <michael.albinus@gmx.de>
1828
1829 Improve compatibility with older Emacsen, and XEmacs.
1830
1831 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1832 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1833 (with-tramp-progress-reporter): Do not let-bind `result'.
1834 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1835 (tramp-handle-make-auto-save-file-name): New function, moved from
1836 tramp-sh.el.
1837
1838 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1839 for `make-auto-save-file-name'.
8c27f5ff
SM
1840 (tramp-adb--gnu-switches-to-ash):
1841 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1842
1843 * net/tramp-cache.el (tramp-cache-print): Call
1844 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1845
1846 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1847 bound. It isn't for XEmacs.
1848
8c27f5ff
SM
1849 * net/tramp-compat.el (tramp-compat-copy-file):
1850 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1851 (tramp-compat-replace-regexp-in-string): New defun.
1852
1853 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1854 for `make-auto-save-file-name'.
1855 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1856 `copy-file'.
1857 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1858 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1859 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1860
8c27f5ff
SM
1861 * net/tramp-gw.el (tramp-gw-open-network-stream):
1862 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1863
8c27f5ff
SM
1864 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1865 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1866 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1867 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1868 (tramp-sh-file-inotifywait-process-filter):
1869 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1870 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1871
1872 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1873 for `make-auto-save-file-name'.
8c27f5ff
SM
1874 (tramp-smb-handle-copy-directory):
1875 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1876 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1877 (tramp-smb-handle-copy-file): Improve error message.
1878 (tramp-smb-handle-rename-file): Rename directly only in case
1879 `newname' does not exist yet. This is a restriction of smbclient.
1880 (tramp-smb-maybe-open-connection): Rerun the function only when
1881 `auth-sources' is non-nil.
1882
0ca754d0
KH
18832013-09-08 Kenichi Handa <handa@gnu.org>
1884
1885 * international/characters.el: Set category "^" (Combining) for
1886 more characters.
1887
e8dd0787
AM
18882013-09-07 Alan Mackenzie <acm@muc.de>
1889
1890 Correctly fontify Java class constructors.
1891 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1892 in Java Mode.
1893 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1895 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1896 "typeless" declaration there.
1897
f2f248e7
RW
18982013-09-07 Roland Winkler <winkler@gnu.org>
1899
1900 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1901 field subtitle for entry type book.
1902
67982e2b
SM
19032013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * minibuffer.el: Make minibuffer-complete call completion-in-region
1906 rather than other way around.
1907 (completion--some, completion-pcm--find-all-completions):
1908 Don't delay signals when debugging.
1909 (minibuffer-completion-contents): Beware fields within the
1910 minibuffer contents.
1911 (completion-all-sorted-completions): Use defvar-local.
1912 (completion--do-completion, completion--cache-all-sorted-completions)
1913 (completion-all-sorted-completions, minibuffer-force-complete):
1914 Add args `beg' and `end'.
1915 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1916 (minibuffer-complete): Use completion-in-region.
1917 (completion-complete-and-exit): New fun, extracted from
1918 minibuffer-complete-and-exit.
1919 (minibuffer-complete-and-exit): Use it.
1920 (completion--complete-and-exit): Rename from
1921 minibuffer--complete-and-exit.
1922 (completion-in-region--single-word): New function, extracted from
1923 minibuffer-complete-word.
1924 (minibuffer-complete-word): Use it.
1925 (display-completion-list): Make `common-substring' argument obsolete.
1926 (completion--in-region): Call completion--in-region-1 instead of
1927 minibuffer-complete.
1928 (completion-help-at-point): Pass boundaries to
1929 minibuffer-completion-help as args rather than via an overlay.
1930 (completion-pcm--string->pattern): Use `any-delim'.
1931 (completion-pcm--optimize-pattern): New function.
1932 (completion-pcm--pattern->regex): Handle `any-delim'.
1933 * icomplete.el (icomplete-forward-completions)
1934 (icomplete-backward-completions, icomplete-completions):
1935 Adjust calls to completion-all-sorted-completions and
1936 completion--cache-all-sorted-completions.
1937 (icomplete-with-completion-tables): Default to t.
1938 * emacs-lisp/crm.el (crm--current-element): Rename from
1939 crm--select-current-element. Don't put an overlay but return the
1940 boundaries instead.
1941 (crm--completion-command): Take two new args to bind to the boundaries.
1942 (crm-completion-help): Adjust accordingly.
1943 (crm-complete): Use completion-in-region.
1944 (crm-complete-word): Use completion-in-region--single-word.
1945 (crm-complete-and-exit): Use completion-complete-and-exit.
1946
e17d94a5
SM
19472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1950 than dynamically.
1951
96727100
JL
19522013-09-06 Juri Linkov <juri@jurta.org>
1953
1954 * info.el (Info-display-images-node): When image file doesn't exist
1955 display text version of the image if it's provided in the Info file.
1956 Otherwise, display the location of missing image from SRC attribute.
1957 Add help-echo text property from ALT attribute. (Bug#15279)
1958
86cf7329
SM
19592013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1962 (edit-abbrevs-mode): Use define-derived-mode.
1963
1964 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1965 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1966 that it's defined.
1967 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1968 Use define-derived-mode.
1969
1970 * epg.el (epg-start-encrypt): Minor CSE simplification.
1971
816244a2
WX
19722013-09-06 William Xu <william.xwl@gmail.com>
1973
1974 * arc-mode.el: Add support for 7za (bug#15264).
1975 (archive-7z-program): New var.
1976 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1977 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1978 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1979
1486fa31
MA
19802013-09-06 Michael Albinus <michael.albinus@gmx.de>
1981
1982 Remove URL syntax.
1983
1984 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1985 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1986 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1987 (tramp-postfix-host-format, tramp-file-name-regexp)
1988 (tramp-completion-file-name-regexp)
1989 (tramp-completion-dissect-file-name)
1990 (tramp-handle-substitute-in-file-name): Remove 'url case.
1991 (tramp-file-name-regexp-url)
1992 (tramp-completion-file-name-regexp-url): Remove constants.
1993
39785324
GM
19942013-09-06 Glenn Morris <rgm@gnu.org>
1995
1996 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1997
1f896cb7
DG
19982013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1999
2000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2001 keywords" below "here-doc beginnings" (Bug#15270).
2002
c0458e0b
SM
20032013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * subr.el (pop): Use `car-safe'.
2006 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2007 to detect unused `pop' return value.
2008
2009 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2010 var `block-regexp'.
2011 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2012 (python-fill-string): Remove unused var `marker'.
2013 (python-skeleton-add-menu-items): Remove unused var `items'.
2014
2015 * international/mule-cmds.el: Require CL.
2016 (find-coding-systems-for-charsets): Avoid add-to-list.
2017 (sanitize-coding-system-list): New function, extracted from
2018 select-safe-coding-system-interactively.
2019 (select-safe-coding-system-interactively): Use it.
2020 (read-input-method-name): Accept symbols for `default'.
2021
2022 * emacs-lisp/advice.el (defadvice): Add indent rule.
2023
6c42fc3e
DH
20242013-09-05 Daniel Hackney <dan@haxney.org>
2025
2026 * dired-x.el:
2027 * net/ange-ftp.el:
2028 * net/browse-url.el:
2029 * net/dbus.el:
2030 * net/eudc.el:
2031 * net/eudcb-ldap.el:
2032 * net/eww.el:
2033 * net/imap.el:
2034 * printing.el:
2035 * vc/ediff-diff.el:
2036 * vc/ediff-init.el:
2037 * vc/ediff-merg.el:
2038 * vc/ediff-mult.el:
2039 * vc/ediff-util.el:
2040 * vc/ediff-wind.el:
2041 * vc/ediff.el:
2042 * vc/emerge.el:
2043 * vc/pcvs.el:
2044 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2045 byte compiler. Remove some unused let-bound variables.
2046
4c528aab
SM
20472013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2050 a "ref-cell", since it gets better optimized (bug#14883).
2051
bd15c390
GM
20522013-09-05 Glenn Morris <rgm@gnu.org>
2053
2054 * progmodes/cc-awk.el (c-forward-sws): Declare.
2055
1c3ac2e5
GM
20562013-09-04 Glenn Morris <rgm@gnu.org>
2057
2058 * generic-x.el [rul-generic-mode]: Require cc-mode.
2059 (c++-mode-syntax-table): Declare.
2060 (rul-generic-mode-syntax-table): Init in the defvar.
2061
52b1cc79
SM
20622013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2063
c828af56
SM
2064 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2065 (vc-do-command, vc-set-async-update):
2066 * vc/vc-mtn.el (vc-mtn-dir-status):
2067 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2068 (vc-hg-pull, vc-hg-merge-branch):
2069 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2070 (vc-git-merge-branch):
2071 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2072 (vc-cvs-dir-status-files):
2073 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2074 (vc-bzr-dir-status-files):
2075 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2076 * vc/vc-annotate.el: Use lexical-binding.
2077 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2078 (vc-sentinel-movepoint): Declare.
2079 (vc-annotate): Don't use `goto-line'.
2080 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2081 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2082 (vc-sentinel-movepoint): Declare.
2083 * vc/vc-svn.el: Use lexical-binding.
2084 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2085 * vc/vc-sccs.el:
2086 * vc/vc-rcs.el: Use lexical-binding.
2087
abae272c
SM
2088 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2089 `deleted'. Don't drop errors silently.
2090
52b1cc79
SM
2091 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2092
63191d9f
XF
20932013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2094
2095 * vc/vc.el (vc-ignore): Rewrite.
2096 (vc-default-ignore): New function.
2097 (vc-default-ignore-completion-table): Use find-ignore-file.
2098
2099 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2100 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2101 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2102 Remove. Most code moved to vc.el.
2103
9d3f707c
SM
21042013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2105
abae272c 2106 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2107 * net/tramp-smb.el (tramp-smb-get-file-entries):
2108 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2109 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2110
fde38d49
SM
2111 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2112 Update call to it.
2113 (eww-change-select): Remove unused var `properties'.
2114 (eww-make-unique-file-name): Remove unused var `base'.
2115
2116 * finder.el (finder-compile-keywords): Don't mess with windows.
2117
84032db7
SM
2118 * calculator.el (calculator-funcall): Fix typo in last change.
2119
724f5e41
SM
2120 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2121
14b511d4
SM
2122 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2123 <pkg>-autoloads.el file stop us.
2124
9d3f707c 2125 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2126 warnings, and factor out common code.
9d3f707c 2127
88527bc0
DG
21282013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2129
2130 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2131 two-character operators and whether the character preceding them
2132 changes their meaning (Bug#15208).
2133
96edb677
FEG
21342013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2135
2136 Format code sent to Python shell for robustness.
9d3f707c
SM
2137 * progmodes/python.el (python-shell-buffer-substring):
2138 New function.
96edb677
FEG
2139 (python-shell-send-region, python-shell-send-buffer): Use it.
2140
95beaef3
MA
21412013-09-02 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2144 * net/tramp.el (tramp-user-error): ... here.
2145 (tramp-find-method, tramp-check-proper-host)
2146 (tramp-dissect-file-name, tramp-debug-message)
2147 (tramp-handle-shell-command):
2148 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2149 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2150
2151 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2152
f167c27b
MR
21532013-09-02 Martin Rudalics <rudalics@gmx.at>
2154
2155 * avoid.el (mouse-avoidance-point-position)
2156 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2157 returns nil.
2158
cd16c5f1
FEG
21592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2160
2161 * progmodes/python.el (python-shell-completion-get-completions):
2162 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2163 (python-nav-if-name-main): New command.
cd16c5f1 2164
e73c3a0d
GM
21652013-09-01 Glenn Morris <rgm@gnu.org>
2166
f8ccce03
GM
2167 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2168 Avoid leading space in $wins. Otherwise the sed command used by
2169 eg compile-main ends up containing "/*.el". (Bug#15170)
2170
e73c3a0d
GM
2171 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2172
415f808e
GM
21732013-08-30 Glenn Morris <rgm@gnu.org>
2174
2175 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2176 Fix is-this-a-directory logic. (Bug#15220)
2177
f069bba8
SM
21782013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2179
112798c1
SM
2180 * textmodes/css-mode.el: Use SMIE.
2181 (css-smie-grammar): New var.
2182 (css-smie--forward-token, css-smie--backward-token)
2183 (css-smie-rules): New functions.
2184 (css-mode): Use them.
2185 (css-navigation-syntax-table): Remove var.
2186 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2187 (css-indent-calculate, css-indent-line): Remove functions.
2188
2189 Misc changes to reduce use of `(lambda...); and other cleanups.
2190 * cus-edit.el: Use lexical-binding.
2191 (customize-push-and-save, customize-apropos)
2192 (custom-buffer-create-internal): Use closures.
2193 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2194 * progmodes/ada-xref.el: Use setq.
2195 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2196 * dframe.el: Use lexical-binding.
2197 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2198 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2199 * descr-text.el: Use lexical-binding.
2200 (describe-text-widget, describe-text-sexp, describe-property-list):
2201 Use closures.
2202 * comint.el (comint-history-isearch-push-state): Use a closure.
2203 * calculator.el: Use lexical-binding.
2204 (calculator-number-to-string): Make it work with lexical-binding.
2205 (calculator-funcall): Same and use cl-letf.
2206
2da4c3ab
SM
2207 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2208 (lisp--company-doc-string, lisp--company-location): New functions.
2209 (lisp-completion-at-point): Use them to improve Company support.
2210
f069bba8
SM
2211 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2212 params of lambda expressions.
2213 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2214 (ruby-smie--opening-pipe-p): New function.
2215 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2216 symbols and matched |...| for formal params.
2217 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2218 from being treated as hanging. Handle "rescue".
2219
6758b6a8
GM
22202013-08-29 Glenn Morris <rgm@gnu.org>
2221
2222 * progmodes/cc-engine.el (c-pull-open-brace):
2223 Move definition before use.
2224
e8dfd197
SM
22252013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2228 are immutable. Don't use `unsafe' any more.
2229 (cl--defsubst-expand): Don't substitute at the same time as keeping
2230 a residual unused let-binding. Don't use `unsafe' any more.
2231
cc585c96
GM
22322013-08-29 Glenn Morris <rgm@gnu.org>
2233
ba579ea6
GM
2234 * calendar/cal-china.el (calendar-chinese-year-cache):
2235 Recenter on 2015.
2236
8201a87e
GM
2237 * nxml/nxml-util.el (nxml-debug-clear-inside):
2238 Use cl-loop rather than loop.
2239
6ee877c7
GM
2240 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2241
cc585c96
GM
2242 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2243
27be8d39
GM
22442013-08-28 Glenn Morris <rgm@gnu.org>
2245
397440a1
GM
2246 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2247
2bb762d4
GM
2248 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2249
27be8d39
GM
2250 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2251
2d69b99e
SM
22522013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2253
f663baa7
SM
2254 * simple.el (repeat-complex-command--called-interactively-skip):
2255 New function.
2256 (repeat-complex-command): Use it (bug#14136).
2257
dd4f8b74
SM
2258 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2259 (c-define-abbrev-table): Add `doc' argument.
2260 (c-mode-abbrev-table, c++-mode-abbrev-table)
2261 (objc-mode-abbrev-table, java-mode-abbrev-table)
2262 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2263 (awk-mode-abbrev-table): Use it.
2264 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2265 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2266 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2267 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2268 Move initialization into the declaration; and remove any
2269 autoload cookie.
2270
b58969f7
SM
2271 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2272 and dynamic let binding.
2273
4021d6a6
SM
2274 * vc/smerge-mode.el: Remove redundant :group args.
2275
2d69b99e
SM
2276 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2277 to load-path.
2278
274919fd
JL
22792013-08-28 Juri Linkov <juri@jurta.org>
2280
2281 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2282 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2283 (isearch-other-meta-char): Handle an undefined shifted printing
2284 character by downshifting it. (Bug#15200)
2285
121f8c95
JL
22862013-08-28 Juri Linkov <juri@jurta.org>
2287
2288 * isearch.el (isearch-search): Change regexp error message for
2289 non-regexp searches. (Bug#15166)
2290
50b13cde
PE
22912013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2292
2293 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2294 for portability to hosts where /bin/sh has problems.
2295
95888bca
SM
22962013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2299
bbe558f1
JL
23002013-08-27 Juri Linkov <juri@jurta.org>
2301
2302 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2303 in the keyboard macro. (Bug#15126)
2304
26f98a7d
JL
23052013-08-27 Juri Linkov <juri@jurta.org>
2306
2307 * isearch.el (isearch-quote-char): Comment out converting unibyte
2308 to multibyte, thus syncing with its `quoted-insert' counterpart.
2309 (Bug#15166)
2310
7c97d35e
MR
23112013-08-27 Martin Rudalics <rudalics@gmx.at>
2312
2313 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2314 argument in call of get-largest-window (Bug#15185).
2315 Reported by Stephen Leake.
7c97d35e 2316
a0b5606e 23172013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2318
2319 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2320
9e89d835
SM
23212013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2324 from a matcher-function unless there's no more matches (bug#15161).
2325
78fc2530
MA
23262013-08-26 Michael Albinus <michael.albinus@gmx.de>
2327
2328 * minibuffer.el: Revert change from 2013-08-20.
2329
2330 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2331 with text property `tramp-default', if appropriate.
2332 (tramp-check-proper-host): New defun.
2333 (tramp-dissect-file-name): Do not check hostname. Revert change
2334 of 2013-03-18.
2335 (tramp-backtrace): Make VEC-OR-PROC optional.
2336
2337 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2338 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2339 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2340 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2341 Apply `tramp-check-proper-host'.
78fc2530 2342
edca97cd
TH
23432013-08-26 Tassilo Horn <tsdh@gnu.org>
2344
2345 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2346 lambda expression in order to have `describe-variable' display it.
2347
df54bcbd
MA
23482013-08-26 Michael Albinus <michael.albinus@gmx.de>
2349
2350 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2351 BUF can be optional. (Bug#15186)
2352
eed99101
XF
23532013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2354
2355 * progmodes/flymake.el (flymake-get-real-file-name-function):
2356 Fix broken customization. (Bug#15184)
2357
b5eb9035
AM
23582013-08-25 Alan Mackenzie <acm@muc.de>
2359
8a51e842
AM
2360 Improve indentation of bracelists defined by macros (without "=").
2361
2362 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2363 expansion begins with "{", regard it as bracelist when it doesn't
2364 contain a ";".
2365
869455d4
AM
2366 Parse C++ inher-intro when there's a template split over 2 lines.
2367
2368 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2369 rigorously the search for "class" etc. followed by ":".
2370
2371 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2372 random languages a regexp which never matches rather than nil.
2373
b5eb9035
AM
2374 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2375
2376 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2377 (c-awk-regexp-one-line-possibly-open-char-list-re)
2378 (c-awk-one-line-possibly-open-regexp-re)
2379 (c-awk-one-line-non-syn-ws*-re): Remove.
2380 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2381 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2382 (c-awk-space*-unclosed-regexp-/-re): New constants.
2383 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2384 aren't regexp delimiters.
2385
2386 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2387 handling for a rare situation in AWK Mode involving unterminated
2388 strings/regexps.
2389
61611d54
GM
23902013-08-23 Glenn Morris <rgm@gnu.org>
2391
2d85dc34
GM
2392 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2393
cb8d2612
GM
2394 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2395
bb35f42f
GM
2396 * files.el (create-file-buffer): If the result would begin with
2397 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2398
b9808e77
SM
23992013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2400
e3a66363
SM
2401 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2402 text-properties (bug#15155).
2403
b9808e77
SM
2404 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2405 exist any more.
2406 (calc-keypad-redraw): Remove unused var `pad'.
2407 (calc-keypad-press): Remove unused var `menu'.
2408
7fd5f65e
MR
24092013-08-23 Martin Rudalics <rudalics@gmx.at>
2410
b9808e77
SM
2411 * window.el (display-buffer-pop-up-frame):
2412 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2413 use it as the new frame's buffer (Bug#15133).
2414
8352b530
SM
24152013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * calendar/timeclock.el: Minor cleanups.
2418 (timeclock-ask-before-exiting, timeclock-use-display-time):
2419 Use `symbol'.
2420 (timeclock-modeline-display): Define as alias before the
2421 actual definition.
2422 (timeclock-mode-line-display): Use define-minor-mode.
2423 (timeclock-day-list-template): Make it a function, add an argument.
2424 (timeclock-day-list-required, timeclock-day-list-length)
2425 (timeclock-day-list-debt, timeclock-day-list-span)
2426 (timeclock-day-list-break): Adjust calls accordingly.
2427
9f7b1925
SM
24282013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2431 Use read--expression so that completion works again.
2432
6e50e983
SS
24332013-08-21 Sam Steingold <sds@gnu.org>
2434
2435 Add rudimentary inferior shell interaction
2436 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2437 (sh-set-shell): Reset it.
9f7b1925
SM
2438 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2439 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2440
dbb0d350
SM
24412013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * align.el: Use lexical-binding.
2444 (align-region): Simplify accordingly.
2445
c88586a9
MA
24462013-08-20 Michael Albinus <michael.albinus@gmx.de>
2447
2448 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2449
2450 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2451 `non-essential' up.
2452
f95527c8
MA
24532013-08-17 Michael Albinus <michael.albinus@gmx.de>
2454
2455 * net/tramp.el:
2456 * net/tramp-adb.el:
2457 * net/tramp-cmds.el:
2458 * net/tramp-ftp.el:
2459 * net/tramp-gvfs.el:
2460 * net/tramp-gw.el:
2461 * net/tramp-sh.el: Don't wrap external variable declarations by
2462 `eval-when-compile'.
2463
4b5fe4ee
LMI
24642013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2465
2466 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2467 now that Emacs supports ImageMagick animations.
2468
13c366c9
MA
24692013-08-16 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2472 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2473
3dfc5cd6
MR
24742013-08-16 Martin Rudalics <rudalics@gmx.at>
2475
2476 * window.el (mouse-autoselect-window-select): Do autoselect when
2477 mouse pointer is on margin.
2478
4bbb4381
WP
24792013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2480
2481 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2482
3a2ddc2d
GM
24832013-08-16 Glenn Morris <rgm@gnu.org>
2484
e8bedf5a
GM
2485 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2486 Handle "Remote Directory" response of some clients. (Bug#15058)
2487
58c4682f
GM
2488 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2489 Tweak warning. (Bug#14926)
2490
57953f49
GM
2491 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2492 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2493
3a2ddc2d
GM
2494 * image-mode.el (image-mode-map): Add menu items to reverse,
2495 increase, decrease, reset animation speed.
2496 (image--set-speed, image-increase-speed, image-decrease-speed)
2497 (image-reverse-speed, image-reset-speed): New functions.
2498 (image-mode-map): Add bindings for speed commands.
2499
2500 * image.el (image-animate-get-speed, image-animate-set-speed):
2501 New functions.
2502 (image-animate-timeout): Respect image :speed property.
2503
10fa0ed3
SM
25042013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2507 previous line (bug#15101).
2508 (debugger-eval-expression, debugger-record-expression):
2509 Use read--expression (bug#15102).
2510
5d89d9d2
MA
25112013-08-15 Michael Albinus <michael.albinus@gmx.de>
2512
2513 Remove byte compiler warnings, visible when compiling with
2514 `byte-compile-force-lexical-warnings' set to t.
2515
2516 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2517 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2518 (tramp-handle-unhandled-file-name-directory)
2519 (tramp-handle-file-notify-add-watch, tramp-action-login)
2520 (tramp-action-succeed, tramp-action-permission-denied)
2521 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2522 arguments with "_".
2523
2524 * net/tramp-adb.el (tramp-adb-parse-device-names)
2525 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2526 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2527 (tramp-adb-handle-file-truename): Remove unused arguments.
2528
2529 * net/tramp-cache.el (tramp-flush-directory-property)
2530 (tramp-flush-connection-property, tramp-list-connections)
2531 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2532
10fa0ed3
SM
2533 * net/tramp-compat.el (tramp-compat-make-temp-file):
2534 Rename FILENAME to F.
5d89d9d2
MA
2535
2536 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2537 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2538 (tramp-zeroconf-parse-workstation-device-names)
2539 (tramp-zeroconf-parse-webdav-device-names)
2540 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2541
2542 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2543 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2544
2545 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2546 arguments.
2547 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2548 (tramp-sh-handle-insert-file-contents-literally)
2549 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2550 with "_".
2551 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2552 Remove unused variables.
2553
2554 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2555 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2556 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2557
2558 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2559 Make them a defconst.
2560 (tramp-uuencode-region): Remove unused variable.
2561
62f33bae
JB
25622013-08-14 Juanma Barranquero <lekktu@gmail.com>
2563
2564 * frameset.el (frameset--prop-setter): New function.
2565 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2566 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2567 parameter was already set in FILTERED. Doc fix.
2568 (frameset--record-minibuffer-relationships): Allow saving a
2569 minibufferless frame without its corresponding minibuffer frame.
2570 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2571 frame, if the frame id matches.
2572 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2573 frames before orphaned ones.
2574 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2575
c660a885
MR
25762013-08-14 Martin Rudalics <rudalics@gmx.at>
2577
2578 * window.el (window-make-atom): Don't overwrite parameter
2579 already present.
2580 (display-buffer-in-atom-window): Handle special case where we
2581 split an already atomic window.
2582 (window--major-non-side-window, display-buffer-in-side-window)
2583 (window--side-check): Ignore minibuffer window when walking
2584 window tree.
2585 (window-deletable-p): Return 'frame only if no other frame uses
2586 our minibuffer window.
2587 (record-window-buffer): Run buffer-list-update-hook.
2588 (split-window): Make sure window--check-frame won't destroy an
2589 existing atomic window in case the new window gets nested
2590 inside.
2591 (display-buffer-at-bottom): Ignore minibuffer window when
2592 walking window tree. Don't split a side window.
2593 (pop-to-buffer): Don't set-buffer here, the select-window call
2594 should do that.
2595 (mouse-autoselect-window-select): Autoselect only if we are in the
2596 text portion of the window.
2597
8259030d
LMI
25982013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2599
21c58ae2
LMI
2600 * net/shr.el (shr-parse-image-data): New function to grab both the
2601 data itself and the Content-Type.
2602 (shr-put-image): Use it.
2603
2604 * net/eww.el (eww-display-image): Ditto.
2605
8259030d
LMI
2606 * image.el (image-content-type-suffixes): New variable.
2607
ad756449
FEG
26082013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2609
2610 * progmodes/python.el (python-imenu--build-tree)
2611 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2612
f73f4ce6
XF
26132013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2614
2615 * simple.el (backward-word): Mention the optional argument.
2616
1f585e65
SM
26172013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * frameset.el (frameset--make): Rename constructor from make-frameset.
2620 (frameset-p, frameset-valid-p): Don't autoload.
2621 (frameset-valid-p): Use normal accessors.
2622
af1c6c84
GM
26232013-08-13 Glenn Morris <rgm@gnu.org>
2624
55e47f95
GM
2625 * progmodes/compile.el (compile-command): Tweak example in doc.
2626 * obsolete/scribe.el (scribe-mode):
2627 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2628
f0024d8c
GM
2629 * mail/feedmail.el (feedmail-confirm-outgoing)
2630 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2631
2632 * cus-start.el (truncate-partial-width-windows): Fix type.
2633
2634 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2635
af1c6c84
GM
2636 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2637
5514cc4c
SM
26382013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * emacs-lisp/timer.el (timer--time-setter): New function.
2641 (timer--time): Use it as gv-setter.
2642
2643 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2644 setter is not a symbol.
2645
7997a2f1
GJ
26462013-08-12 Grégoire Jadi <daimrod@gmail.com>
2647
2648 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2649 if sending fails. This makes debugging easier.
2650
01f1a9ab
JB
26512013-08-12 Juanma Barranquero <lekktu@gmail.com>
2652
2653 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2654 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2655 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2656
594a4307
EZ
26572013-08-12 Eli Zaretskii <eliz@gnu.org>
2658
2659 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2660
7a22490f 26612013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2662
2663 * format.el (format-annotate-function):
2664 Handle read-only text properties in the source. (Bug#14887)
2665
3e41a054
LMI
26662013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667
5514cc4c
SM
2668 * net/eww.el (eww-display-html): Ignore coding system errors.
2669 One web site uses "utf-8lias" as the coding system.
3e41a054 2670
7ec326db
JB
26712013-08-11 Juanma Barranquero <lekktu@gmail.com>
2672
2673 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2674
5660113b
JB
26752013-08-10 Juanma Barranquero <lekktu@gmail.com>
2676
9a4ebc74
JB
2677 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2678 (tutorial--detailed-help): Remove unused local variables.
2679 (tutorial--save-tutorial-to): Use ignore-errors.
2680 (help-with-tutorial): Use looking-at-p.
2681
2682 * view.el (view-buffer-other-window, view-buffer-other-frame):
2683 Mark unused arguments.
2684
2685 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2686 (woman-select-symbol-fonts, woman, woman-find-file)
2687 (woman-insert-file-contents, woman-non-underline-faces):
2688 Use string-match-p.
2689 (woman1-unquote): Move declaration.
2690
2691 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2692 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2693 argument. Remove unused local variable.
2694 (xml-parse-elem-type): Use string-match-p.
2695 (xml-substitute-numeric-entities): Use ignore-errors.
2696
45fdb482
JB
2697 * calculator.el (calculator): Mark unused argument.
2698 (calculator-paste, calculator-quit, calculator-integer-p):
2699 Use ignore-errors.
2700 (calculator-string-to-number, calculator-decimal, calculator-exp)
2701 (calculator-op-or-exp): Use string-match-p.
2702
2703 * dired.el (dired-buffer-more-recently-used-p): Declare.
2704 (dired-insert-set-properties, dired-insert-old-subdirs):
2705 Use ignore-errors.
2706
2707 * dired-aux.el (dired-compress): Use ignore-errors.
2708 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2709 (dired-do-async-shell-command, dired-do-shell-command)
2710 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2711 (dired-insert-subdir-validate): Use string-match-p.
2712 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2713 (dired-add-entry): Use string-match-p, looking-at-p.
2714 (dired-insert-subdir-newpos): Remove unused local variable.
2715
2716 * filenotify.el (file-notify-callback): Remove unused local variable.
2717
2718 * filesets.el (filesets-error): Mark unused argument.
2719 (filesets-which-command-p, filesets-filter-dir-names)
2720 (filesets-directory-files, filesets-get-external-viewer)
2721 (filesets-ingroup-get-data): Use string-match-p.
2722
2723 * find-file.el (ff-other-file-name, ff-other-file-name)
2724 (ff-find-the-other-file, ff-cc-hh-converter):
2725 Remove unused local variables.
2726 (ff-get-file-name): Use string-match-p.
2727 (ff-all-dirs-under): Use ignore-errors.
2728
2729 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2730 (follow-select-if-visible): Remove unused local variable.
2731
2732 * forms.el (read-file-filter): Move declaration.
2733 (forms--make-format, forms--make-parser, forms-insert-record):
2734 Quote function with #'.
2735 (forms--update): Use string-match-p. Quote function with #'.
2736
2737 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2738 (help-make-xrefs): Use looking-at-p.
2739 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2740
2741 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2742 (ibuffer-confirm-operation-on): Use string-match-p.
2743
2744 * msb.el (msb-item-handler, msb-dired-item-handler):
2745 Mark unused arguments.
2746
2747 * ses.el (ses-decode-cell-symbol)
2748 (ses-kill-override): Remove unused local variable.
2749 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2750 (ses-load): Use ignore-errors, looking-at-p.
2751 (ses-jump-safe): Use ignore-errors.
2752 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2753
2754 * tabify.el (untabify, tabify): Mark unused arguments.
2755
2756 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2757 Mark unused argument.
2758 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2759 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2760
c880af52
JB
2761 * emacs-lisp/timer.el (timer--time): Define setter with
2762 gv-define-setter to avoid deprecation warning.
2763
5660113b 2764 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2765 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2766 (cmpl-statistics-block): Remove (body was commented out).
2767 All callers changed.
2768 (add-completions-from-buffer, load-completions-from-file):
2769 Remove unused variables.
2770
156aab80
JB
27712013-08-09 Juanma Barranquero <lekktu@gmail.com>
2772
5c5dee78
JB
2773 * filecache.el (file-cache-delete-file-list):
2774 Print message only when told so.
2775 (file-cache-files-matching): Use #' in mapconcat argument.
2776
156aab80
JB
2777 * ffap.el (ffap-url-at-point): Fix reference to variable
2778 thing-at-point-default-mail-uri-scheme.
2779
ad9dcd70
SM
27802013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2781
54bd972f
SM
2782 * subr.el (define-error): New function.
2783 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2784 error-file-not-found and define with define-error.
2785 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2786 and define with define-error.
2787 * userlock.el (file-locked, file-supersession):
2788 * simple.el (mark-inactive):
2789 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2790 * progmodes/ada-mode.el (ada-mode-errors):
2791 * play/life.el (life-extinct):
2792 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2793 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2794 * nxml/rng-util.el (rng-error):
2795 * nxml/rng-uri.el (rng-uri-error):
2796 * nxml/rng-match.el (rng-compile-error):
2797 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2798 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2799 * nxml/nxml-rap.el (nxml-scan-error):
2800 * nxml/nxml-outln.el (nxml-outline-error):
2801 * net/soap-client.el (soap-error):
2802 * net/gnutls.el (gnutls-error):
2803 * net/ange-ftp.el (ftp-error):
2804 * mpc.el (mpc-proc-error):
2805 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2806 (json-number-format, json-string-escape, json-string-format)
2807 (json-key-format, json-object-format):
2808 * jka-compr.el (compression-error):
2809 * international/quail.el (quail-error):
2810 * international/kkc.el (kkc-error):
2811 * emacs-lisp/ert.el (ert-test-failed):
2812 * calc/calc.el (calc-error, inexact-result, math-overflow)
2813 (math-underflow):
2814 * bookmark.el (bookmark-error-no-filename):
2815 * epg.el (epg-error): Define with define-error.
2816
0ea9e53a
SM
2817 * time.el (display-time-event-handler)
2818 (display-time-next-load-average): Don't call sit-for since it seems
2819 unnecessary (bug#15045).
2820
b0429158
SM
2821 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2822 Use #' instead of ' to quote functions.
2823 (checkdoc-output-mode): Use setq-local.
2824 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2825 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2826 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2827 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2828 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2829 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2830 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2831 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2832
ad9dcd70
SM
2833 * ido.el (ido-completion-help): Fix up compiler warning.
2834
77187e6f
JB
28352013-08-09 Juanma Barranquero <lekktu@gmail.com>
2836
2837 * frameset.el (frameset-p): Add autoload cookie.
2838 (frameset--jump-to-register): New function, based on code moved from
2839 register.el.
2840 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2841
2842 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2843 (frameset-restore, frameset-save, frameset-session-filter-alist):
2844 Remove declarations.
2845 (register-alist): Doc fix.
2846 (frameset-to-register): Move to frameset.el.
2847 (jump-to-register, describe-register-1): Remove frameset-specific code.
2848
9d3aa82c
JB
28492013-08-08 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * allout-widgets.el (allout-widgets-pre-command-business)
2852 (allout-widgets-post-command-business)
2853 (allout-widgets-after-change-handler)
2854 (allout-decorate-item-and-context, allout-set-boundary-marker)
2855 (allout-body-modification-handler)
2856 (allout-graphics-modification-handler): Mark ignored arguments.
2857 (allout-widgets-post-command-business)
2858 (allout-widgets-exposure-change-processor)
2859 (allout-widgets-exposure-undo-processor)
2860 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2861 (allout-parse-item-at-point, allout-decorate-item-guides)
2862 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2863 * allout.el (epa-passphrase-callback-function): Declare.
2864 (allout-overlay-insert-in-front-handler)
2865 (allout-overlay-interior-modification-handler)
2866 (allout-isearch-end-handler, allout-chart-siblings)
2867 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2868 (allout-yank-processing, allout-process-exposed)
2869 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2870 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2871 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2872 (lisp-indent-defform): Mark ignored arguments.
2873 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2874 (calculate-lisp-indent): Remove unused variables.
2875 * international/characters.el (indian-2-column, arabic-2-column)
2876 (tibetan): Mark ignored arguments.
2877 (use-cjk-char-width-table): Mark ignored arguments.
2878 Remove unused variables.
2879 * international/fontset.el (build-default-fontset-data)
2880 (x-compose-font-name, create-fontset-from-fontset-spec):
2881 Mark ignored arguments.
2882 (fontset-plain-name): Remove unused variables.
2883 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2884 (keyboard-coding-system): Mark ignored arguments.
2885 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2886 * help.el (resize-temp-buffer-window):
2887 * window.el (display-buffer-in-major-side-window)
2888 (display-buffer-in-side-window, display-buffer-in-previous-window):
2889 Remove unused variables.
2890 * isearch.el (isearch-forward-symbol):
2891 * version.el (emacs-bzr-version-bzr):
2892 * international/mule-cmds.el (current-language-environment):
2893 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2894 (x-handle-display):
2895 * term/pc-win.el (x-list-fonts, x-display-planes)
2896 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2897 (x-server-version, x-display-screens, x-display-mm-height)
2898 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2899 (x-selection-owner-p, x-own-selection-internal)
2900 (x-disown-selection-internal, x-get-selection-internal)
2901 (msdos-initialize-window-system):
2902 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2903 * term/x-win.el (x-handle-no-bitmap-icon):
2904 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2905 (vc-default-find-file-hook, vc-default-extra-menu):
2906 Mark ignored arguments.
2907
0ca3f70e
SM
29082013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2911 break-condition in the context of the debugged code (bug#12685).
2912
74c5d24c
CS
29132013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2914
2915 * comint.el:
2916 Do not use an overlay to highlight the last prompt. (Bug#14744)
2917 (comint-mode): Make comint-last-prompt buffer local.
2918 (comint-last-prompt): New variable.
2919 (comint-last-prompt-overlay): Remove. Superseded by
2920 comint-last-prompt.
0ca3f70e
SM
2921 (comint-snapshot-last-prompt, comint-output-filter):
2922 Use comint-last-prompt.
74c5d24c 2923
c03c02ee
JB
29242013-08-08 Juanma Barranquero <lekktu@gmail.com>
2925
a3738d20 2926 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2927 (frameset-save): Check validity of the resulting frameset.
2928
04263d23
XF
29292013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2930
2931 * ido.el (ido-record-command): Add doc string.
2932
76c5e5ab
JB
29332013-08-08 Juanma Barranquero <lekktu@gmail.com>
2934
2935 * frameset.el (frameset): Do not disable creation of the default
2936 frameset-p predicate. Doc fix.
2937 (frameset-valid-p): New function, copied from the old predicate-p.
2938 Add additional checks.
2939 (frameset-restore): Check with frameset-valid-p.
2940 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2941 (frameset-name, frameset-description, frameset-properties)
2942 (frameset-states): Add docstring.
f9dbf1cb
JB
2943 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2944 (frameset-filter-alist): Doc fixes.
76c5e5ab 2945
bd0c3c0b
JB
29462013-08-08 Juanma Barranquero <lekktu@gmail.com>
2947
2948 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2949
c735544c
SM
29502013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2953 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2954 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2955 (byte-compile-normal-call): Remove obsolescence check.
2956
2805a651
JB
29572013-08-08 Juanma Barranquero <lekktu@gmail.com>
2958
3677ffeb
JB
2959 * frameset.el (frameset-restore): Doc fix.
2960
2805a651
JB
2961 * register.el (frameset-frame-id, frameset-frame-with-id)
2962 (frameset-p, frameset-restore, frameset-save): Declare.
2963 (register-alist): Document framesets.
2964 (frameset-session-filter-alist): Declare.
2965 (frameset-to-register): New function.
2966 (jump-to-register): Implement jumping to framesets. Doc fix.
2967 (describe-register-1): Describe framesets.
2968
2969 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2970
a912c016
JB
29712013-08-07 Juanma Barranquero <lekktu@gmail.com>
2972
2973 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2974 Use lexical-binding.
2975
2976 * frameset.el (frameset): Use type vector, not list (incompatible
2977 change). Do not declare a new constructor, use the default one.
2978 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2979 `name' and `description', respectively, and add read-only slot
2980 `timestamp'. Doc fixes.
2981 (frameset-copy, frameset-persistent-filter-alist)
2982 (frameset-filter-alist, frameset-switch-to-gui-p)
2983 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2984 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2985 (frameset-filter-iconified, frameset-keep-original-display-p):
2986 Doc fixes.
2987 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2988 Rename from frameset-filter-(save|restore)-param. All callers changed.
2989 Doc fix.
2990 (frameset-p): Adapt to change to vector and be more thorough.
2991 Change arg name to OBJECT. Doc fix.
2992 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2993 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2994 All callers changed.
2995 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2996 All callers changed.
2997 (frameset--record-minibuffer-relationships): Rename from
2998 frameset--process-minibuffer-frames. All callers changed.
2999 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3000 Use new default constructor (again). Doc fix.
3001 (frameset--find-frame-if): Rename from `frameset--find-frame.
3002 All callers changed.
3003 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3004 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3005 Doc fix.
3006 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3007 PARAMETERS and WINDOW-STATE, respectively.
3008 (frameset-restore): Add new keyword argument PREDICATE.
3009 Reset frameset--target-display to nil. Doc fix.
3010
bb41480a
SM
30112013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3012
f001e98e
SM
3013 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3014 (bat-mode): Use it.
3015 (bat-mode-syntax-table): Mark \n as end-of-comment.
3016 (bat-font-lock-keywords): Remove comment rule.
3017
7679edb1
SM
3018 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3019 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3020
bb41480a
SM
3021 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3022 (byte-compile-callargs-warn): Use `push'.
3023 (byte-compile-arglist-warn): Ignore higher-order "calls".
3024 (byte-compile-file-form-autoload): Use `pcase'.
3025 (byte-compile-function-form): If quoting a symbol, check that it exists.
3026
cdc1ebb9
EZ
30272013-08-07 Eli Zaretskii <eliz@gnu.org>
3028
3029 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3030 and add a few popular commands found in batch files.
3031 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3032 (dos-mode): Doc fixes.
3033
312b1740
SM
30342013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3037 (dos-mode): Use setq-local. Add space after "rem".
3038 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3039 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3040
400a3178
AM
30412013-08-07 Arni Magnusson <arnima@hafro.is>
3042
3043 * progmodes/dos.el: New file.
3044 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3045 dos-mode.
3046
3b5c03d3
GM
30472013-08-06 Glenn Morris <rgm@gnu.org>
3048
3049 * calendar/calendar.el: Add new faces, and day-header-array.
3050 (calendar-weekday-header, calendar-weekend-header)
3051 (calendar-month-header): New faces.
3052 (calendar-day-header-construct): New function.
3053 (calendar-day-header-width): Also :set calendar-day-header-array.
3054 (calendar-american-month-header, calendar-european-month-header)
3055 (calendar-iso-month-header): Use calendar- faces.
3056 (calendar-generate-month):
3057 Use calendar-day-header-array for day headers; apply faces to them.
3058 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3059 (calendar-abbrev-construct): Add optional maxlen argument.
3060 (calendar-day-name-array): Doc fix.
3061 (calendar-day-name-array, calendar-abbrev-length)
3062 (calendar-day-abbrev-array):
3063 Also :set calendar-day-header-array, and maybe redraw.
3064 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3065 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3066 (calendar-day-name): Add option to use header array.
3067
ec6a2d7a
LMI
30682013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3069
3070 * net/shr.el (shr-render-td): Remove debugging.
3071 (shr-render-td): Make width computation consistent by defaulting
3072 all zero-width columns to 10 characters. This may not be optimal,
3073 but it's at least consistent.
2122cb6d
LMI
3074 (shr-make-table-1): Redo last change to fix the real problem in
3075 colspan handling.
ec6a2d7a 3076
ed4fd9c5
DA
30772013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3078
0ca3f70e
SM
3079 * files.el (cache-long-line-scans):
3080 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3081
64e22afe
JB
30822013-08-06 Juanma Barranquero <lekktu@gmail.com>
3083
024b38fc
JB
3084 * frameset.el (frameset, frameset-filter-alist)
3085 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3086 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3087 (frameset-compute-pos): Rename from frameset--compute-pos,
3088 and add docstring.
3089 (frameset-move-onscreen): Use frameset-compute-pos.
3090 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3091
64e22afe
JB
3092 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3093 Fix typos in docstrings.
3094
c8c2aca8
DA
30952013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3096
3097 * frame.el (get-other-frame): Tiny cleanup.
3098
1d237bba
JB
30992013-08-06 Juanma Barranquero <lekktu@gmail.com>
3100
8951efef
JB
3101 * vc/vc.el (vc-default-ignore-completion-table):
3102 Silence byte-compiler warning.
3103
307764cc
JB
3104 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3105 slot , which can indeed be nil.
3106 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3107 Move entry for `left' from persistent to live filter alist.
3108 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3109 Doc fixes.
3110 (frameset-filter-params): When restoring a frame, copy items added to
3111 `filtered', to avoid unwittingly modifying the original parameters.
3112 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3113 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3114
1d237bba
JB
3115 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3116 to use looking-at-p instead of looking-at. (Bug#15028)
3117
dc6c0eda
SM
31182013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 Revert introduction of isearch-filter-predicates (bug#14714).
3121 Rely on add-function instead.
3122 * isearch.el (isearch-filter-predicates): Rename it back to
3123 isearch-filter-predicate.
3124 (isearch-message-prefix): Use advice-function-mapc and advice
3125 properties to get the isearch-message-prefix.
3126 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3127 instead of run-hook-with-args-until-failure.
3128 (isearch-filter-visible): Not obsolete any more.
3129 * loadup.el: Preload nadvice.
3130 * replace.el (perform-replace): Revert to funcall
3131 instead of run-hook-with-args-until-failure.
3132 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3133 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3134 dired-isearch-filenames-toggle; make it into a proper minor mode.
3135 Use add/remove-function.
3136 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3137 Call the minor-mode rather than add/remove-hook.
3138 (dired-isearch-filter-filenames):
3139 Remove isearch-message-prefix property.
3140 * info.el (Info--search-loop): New function, extracted from Info-search.
3141 Funcall isearch-filter-predicate instead of
3142 run-hook-with-args-until-failure isearch-filter-predicates.
3143 (Info-search): Use it.
3144 (Info-mode): Use isearch-filter-predicate instead of
3145 isearch-filter-predicates.
3146
290d5b58
DA
31472013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3148
3149 Do not call to `selected-window' where it is assumed by default.
3150 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3151 `window-hscroll', `window-width', `window-height', `window-buffer',
3152 `window-frame', `window-start', `window-point', `next-window'
3153 and `window-display-table'.
3154 * abbrev.el (abbrev--default-expand):
3155 * bs.el (bs--show-with-configuration):
3156 * buff-menu.el (Buffer-menu-mouse-select):
3157 * calc/calc.el (calc):
3158 * calendar/calendar.el (calendar-generate-window):
3159 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3160 (diary-make-entry):
3161 * comint.el (send-invisible, comint-dynamic-complete-filename)
3162 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3163 * completion.el (complete):
3164 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3165 * disp-table.el (describe-current-display-table):
3166 * doc-view.el (doc-view-insert-image):
3167 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3168 * ehelp.el (with-electric-help):
3169 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3170 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3171 * emacs-lisp/helper.el (Helper-help-scroller):
3172 * emulation/cua-base.el (cua--post-command-handler-1):
3173 * eshell/esh-mode.el (eshell-output-filter):
3174 * ffap.el (ffap-gnus-wrapper):
3175 * help-macro.el (make-help-screen):
3176 * hilit-chg.el (highlight-compare-buffers):
3177 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3178 * hl-line.el (global-hl-line-highlight):
3179 * icomplete.el (icomplete-simple-completing-p):
3180 * isearch.el (isearch-done):
3181 * jit-lock.el (jit-lock-stealth-fontify):
3182 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3183 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3184 * mpc.el (mpc-tagbrowser, mpc):
3185 * net/rcirc.el (rcirc-any-buffer):
3186 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3187 * play/landmark.el (landmark-max-width, landmark-max-height):
3188 * play/zone.el (zone):
3189 * progmodes/compile.el (compilation-goto-locus):
3190 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3191 * progmodes/etags.el (find-tag-other-window):
3192 * progmodes/fortran.el (fortran-column-ruler):
3193 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3194 * progmodes/verilog-mode.el (verilog-point-text):
3195 * reposition.el (reposition-window):
3196 * rot13.el (toggle-rot13-mode):
3197 * server.el (server-switch-buffer):
3198 * shell.el (shell-dynamic-complete-command)
3199 (shell-dynamic-complete-environment-variable):
3200 * simple.el (insert-buffer, set-selective-display)
3201 (delete-completion-window):
3202 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3203 (speedbar-recenter):
3204 * startup.el (fancy-splash-head):
3205 * textmodes/ispell.el (ispell-command-loop):
3206 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3207 * tutorial.el (help-with-tutorial):
3208 * vc/add-log.el (add-change-log-entry):
3209 * vc/compare-w.el (compare-windows):
3210 * vc/ediff-help.el (ediff-indent-help-message):
3211 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3212 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3213 (ediff-setup-control-frame):
3214 * vc/emerge.el (emerge-position-region):
3215 * vc/pcvs-util.el (cvs-bury-buffer):
3216 * window.el (walk-windows, mouse-autoselect-window-select):
3217 * winner.el (winner-set-conf, winner-undo): Related users changed.
3218
38276e01
JB
32192013-08-05 Juanma Barranquero <lekktu@gmail.com>
3220
3221 * frameset.el (frameset--set-id): Doc fix.
3222 (frameset-frame-id, frameset-frame-id-equal-p)
3223 (frameset-locate-frame-id): New functions.
3224 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3225 (frameset-restore): Use them.
3226
12b4c0ea
DA
32272013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3228
3229 Do not call to `selected-frame' where it is assumed by default.
3230 Affected functions are `raise-frame', `redraw-frame',
3231 `frame-first-window', `frame-terminal' and `delete-frame'.
3232 * calendar/appt.el (appt-disp-window):
3233 * epg.el (epg-wait-for-completion):
3234 * follow.el (follow-delete-other-windows-and-split)
3235 (follow-avoid-tail-recenter):
3236 * international/mule.el (set-terminal-coding-system):
3237 * mail/rmail.el (rmail-mail-return):
3238 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3239 * progmodes/f90.el (f90-add-imenu-menu):
3240 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3241 * server.el (server-switch-buffer):
3242 * simple.el (delete-completion-window):
3243 * talk.el (talk):
3244 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3245 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3246 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3247 * vc/ediff.el (ediff-documentation): Related users changed.
3248 * frame.el (selected-terminal): Remove the leftover.
3249
17f25e76
GM
32502013-08-05 Glenn Morris <rgm@gnu.org>
3251
3252 * calendar/calendar.el (calendar-generate-month):
3253 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3254 (calendar-generate-month, calendar-font-lock-keywords):
3255 Fix for calendar-day-header-width > length of any day name.
17f25e76 3256
063233c3
JB
32572013-08-05 Juanma Barranquero <lekktu@gmail.com>
3258
3259 * desktop.el (desktop-clear): Use new name of sort predicate.
3260
3261 * frameset.el (frameset): Add docstring. Move :version property to its
3262 own `version' slot.
3263 (frameset-copy): Rename from copy-frameset.
3264 (frameset-p): Check more thoroughly.
3265 (frameset-prop): Do not check for :version, which is no longer a prop.
3266 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3267 Use new :never value instead of t.
3268 (frameset-filter-alist): Expand and clarify docstring.
3269 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3270 (frameset-filter-minibuffer, frameset-filter-save-param)
3271 (frameset-filter-restore-param, frameset-filter-iconified):
3272 Add pointer to docstring of frameset-filter-alist.
3273 (frameset-filter-params): Rename filter values to be more meaningful:
3274 :never instead of t, and reverse the meanings of :save and :restore.
3275 (frameset--process-minibuffer-frames): Clarify error message.
3276 (frameset-save): Avoid unnecessary and confusing call to framep.
3277 Use new BOA constructor for framesets.
3278 (frameset--reuse-list): Doc fix.
3279 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3280 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3281 (frameset-minibufferless-first-p): Doc fix.
3282 Rename from frameset-sort-frames-for-deletion.
3283 (frameset-restore): Doc fixes. Use new function names.
3284 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3285
d5671a82
JB
32862013-08-04 Juanma Barranquero <lekktu@gmail.com>
3287
3288 * desktop.el (desktop-restore-forces-onscreen)
3289 (desktop-restore-reuses-frames): Document :keyword constant values.
3290 (desktop-filter-parameters-alist): Remove, now identical to
3291 frameset-filter-alist.
3292 (desktop--filter-tty*): Remove, moved to frameset.el.
3293 (desktop-save-frameset, desktop-restore-frameset):
3294 Do not pass :filters argument.
3295
3296 * frameset.el (frameset-live-filter-alist)
3297 (frameset-persistent-filter-alist): New variables.
3298 (frameset-filter-alist): Use them. Add autoload cookie.
3299 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3300 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3301 `frameset--id' (it's supposed to be internal to frameset.el).
3302 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3303 (frameset--initial-params): New function.
3304 (frameset--get-frame): Use it. Doc fix.
3305 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3306 Accept :all, not 'all.
3307 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3308 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3309 with fbound symbols. Fix frame id matching, and remove matching ids if
3310 the frame being restored is deleted. Obey :delete.
3311
671d5c16
SM
33122013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * subr.el (macrop): New function.
3315 (text-clone--maintaining): New var.
3316 (text-clone--maintain): Rename from text-clone-maintain. Use it
3317 instead of inhibit-modification-hooks.
3318
3319 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3320 a proxy, so as handle autoloads and redefinitions of the target.
3321 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3322
3323 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3324 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3325 (pcase--mutually-exclusive-p): New function.
3326 (pcase--split-consp): Use it.
3327 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3328 mutually exclusive with the current predicate.
3329
3330 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3331 (edebug-macrop): Remove. Use `macrop' instead.
3332 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3333 (ad-macro-p):
3334 * eshell/esh-cmd.el (eshell-macrop):
3335 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3336
1d44e9dc
SM
33372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3340 (advice-mapc): New function, using it.
3341 (advice-function-member-p): New function.
3342 (advice--normalize): Store the cdr in advice--saved-rewrite since
3343 that's the part that will be changed.
3344 (advice--symbol-function): New function.
3345 (advice-remove): Handle removal before the function is defined.
3346 Adjust to new advice--saved-rewrite.
3347 (advice-member-p): Use advice-function-member-p and
3348 advice--symbol-function.
3349
5414a283
JB
33502013-08-04 Juanma Barranquero <lekktu@gmail.com>
3351
51d30f2c
JB
3352 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3353 (frameset-filter-minibuffer): Doc fix.
3354 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3355 (frameset--set-id, frameset--process-minibuffer-frames)
3356 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3357 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3358
5414a283
JB
3359 * desktop.el (desktop-clear): Only delete frames when called
3360 interactively and desktop-restore-frames is non-nil. Doc fix.
3361 (desktop-read): Set desktop-saved-frameset to nil.
3362
ab419665
XF
33632013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3364
3365 * vc/vc.el (vc-ignore): Rewrite.
3366 (vc-default-ignore-completion-table):
3367 (vc--read-lines):
3368 (vc--add-line, vc--remove-regexp): New functions.
3369
3370 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3371 (vc-svn-ignore-completion-table): New function.
3372
3373 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3374 (vc-hg-ignore-completion-table):
3375 (vc-hg-find-ignore-file): New functions.
3376
3377 * vc/vc-git.el (vc-git-ignore): Rewrite.
3378 (vc-git-ignore-completion-table):
3379 (vc-git-find-ignore-file): New functions.
3380
3381 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3382
3383 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3384 (vc-bzr-ignore-completion-table):
3385 (vc-bzr-find-ignore-file): New functions.
3386
2613dea2
JB
33872013-08-03 Juanma Barranquero <lekktu@gmail.com>
3388
3389 * frameset.el (frameset-prop): New function and setter.
3390 (frameset-save): Do not modify frame list passed by the caller.
3391
9c959872
SM
33922013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3395
a104f656
SM
33962013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3397
70122acf
SM
3398 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3399 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3400
a104f656
SM
3401 * custom.el (custom-initialize-default, custom-initialize-set)
3402 (custom-initialize-reset, custom-initialize-changed): Affect the
3403 toplevel-default-value (bug#6275, bug#14586).
3404 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3405 for bug#6275.
3406
f078d570
JB
34072013-08-02 Juanma Barranquero <lekktu@gmail.com>
3408
185e3b5a
JB
3409 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3410 Add cl-def* expressions.
3411
f078d570
JB
3412 * frameset.el (frameset-filter-params): Fix order of arguments.
3413
9421876d
JB
34142013-08-02 Juanma Barranquero <lekktu@gmail.com>
3415
3416 Move code related to saving frames to frameset.el.
3417 * desktop.el: Require frameset.
3418 (desktop-restore-frames): Doc fix.
3419 (desktop-restore-reuses-frames): Rename from
3420 desktop-restoring-reuses-frames.
3421 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3422 (desktop-clear): Clear frames too.
3423 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3424 (desktop--filter-tty*, desktop-save, desktop-read):
3425 Use frameset functions.
3426 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3427 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3428 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3429 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3430 (desktop--process-minibuffer-frames, desktop-save-frames)
3431 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3432 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3433 (desktop--sort-states, desktop-restoring-frames-p)
3434 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3435 (desktop-restoring-frameset-p, desktop-restore-frameset)
3436 (desktop--check-dont-save, desktop-save-frameset): New functions.
3437 (desktop--app-id): New constant.
3438 (desktop-first-buffer, desktop-buffer-ok-count)
3439 (desktop-buffer-fail-count): Move before first use.
3440 * frameset.el: New file.
3441
76dc5996
SM
34422013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * files.el: Use lexical-binding.
3445 (dir-locals-read-from-file): Remove unused `err' variable.
3446 (hack-dir-local-variables--warned-coding): New var.
3447 (hack-dir-local-variables): Use it to avoid repeated warnings.
3448 (make-backup-file-name--default-function): New function.
3449 (make-backup-file-name-function): Use it as default.
3450 (buffer-stale--default-function): New function.
3451 (buffer-stale-function): Use it as default.
3452 (revert-buffer-insert-file-contents--default-function): New function.
3453 (revert-buffer-insert-file-contents-function): Use it as default.
3454 (insert-directory): Avoid add-to-list.
3455
3456 * autorevert.el (auto-revert-handler): Simplify.
3457 Use buffer-stale--default-function.
3458
06d36e2b
TH
34592013-08-01 Tassilo Horn <tsdh@gnu.org>
3460
5f648ab4
TH
3461 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3462
06d36e2b
TH
3463 * whitespace.el (whitespace-ensure-local-variables): New function.
3464 (whitespace-cleanup-region): Call it.
3465 (whitespace-turn-on): Call it.
3466
a43dc424
MA
34672013-08-01 Michael Albinus <michael.albinus@gmx.de>
3468
3469 Complete file name handlers.
3470
3471 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3472 (tramp-handle-verify-visited-file-modtime)
3473 (tramp-handle-file-notify-rm-watch): New functions.
3474 (tramp-call-process): Do not bind `default-directory'.
3475
44e18199
JB
3476 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3477 Order alphabetically.
a43dc424
MA
3478 [access-file, add-name-to-file, dired-call-process]:
3479 [dired-compress-file, file-acl, file-notify-rm-watch]:
3480 [file-ownership-preserved-p, file-selinux-context]:
3481 [make-directory-internal, make-symbolic-link, set-file-acl]:
3482 [set-file-selinux-context, set-visited-file-modtime]:
3483 [verify-visited-file-modtime]: Add handler.
3484 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3485
3486 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3487 [file-notify-add-watch, file-notify-rm-watch]:
3488 [set-file-times, set-visited-file-modtime]:
3489 [verify-visited-file-modtime]: Add handler.
3490 (with-tramp-gvfs-error-message)
3491 (tramp-gvfs-handle-set-visited-file-modtime)
3492 (tramp-gvfs-fuse-file-name): Remove.
3493 (tramp-gvfs-handle-file-notify-add-watch)
3494 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3495 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3496
44e18199
JB
3497 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3498 Order alphabetically.
a43dc424
MA
3499 [file-notify-rm-watch ]: Use default Tramp handler.
3500 [executable-find]: Remove private handler.
3501 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3502 `default-directory'.
3503 (tramp-sh-handle-executable-find)
3504 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3505 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3506 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3507 Do not use `format' in `tramp-message'.
3508
3509 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3510 [file-notify-rm-watch, set-visited-file-modtime]:
3511 [verify-visited-file-modtime]: Add handler.
3512 (tramp-smb-call-winexe): Do not bind `default-directory'.
3513
7188b515
XF
35142013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3515
3516 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3517
2412ee1a
DG
35182013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3519
3520 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3521 use it.
3522 (log-view-diff-changeset): Same.
3523 (log-view-diff-common): Call backend command `previous-revision'
3524 to find out the previous revision, in both cases. Swap the
3525 variables `to' and `fr', so that `fr' usually refers to the
3526 earlier revision (Bug#14989).
3527
5002a754
KRC
35282013-07-31 Kan-Ru Chen <kanru@kanru.info>
3529
3530 * ibuf-ext.el (ibuffer-filter-by-filename):
3531 Make it work with dired buffers too.
3532
44e18199 35332013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3534
3535 * emacs-lisp/re-builder.el (reb-color-display-p):
3536 * files.el (save-buffers-kill-terminal):
3537 * net/browse-url.el (browse-url):
3538 * server.el (server-save-buffers-kill-terminal):
3539 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3540 Prefer nil to selected-frame for the first arg of frame-parameter.
3541
aeca3fbb
XF
35422013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3543
3544 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3545
158bc55c
SB
35462013-07-30 Stephen Berman <stephen.berman@gmx.net>
3547
3548 * minibuffer.el (completion--twq-all): Try and preserve each
3549 completion's case choice (bug#14907).
3550
d50fceab
LMI
35512013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3552
ac38e731
LMI
3553 * net/network-stream.el (open-network-stream): Mention the new
3554 :nogreeting parameter.
3555 (network-stream-open-starttls): Use the :nogreeting parameter
3556 (bug#14938).
3557
1211de50
LMI
3558 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3559
997798bf
LMI
3560 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3561 more natural than popping.
3562
d50fceab 3563 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3564 (shr-urlify): Highlight under mouse.
d50fceab 3565
5c09de04
XF
35662013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3567
207d1d04
XF
3568 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3569
3570 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3571
5c09de04
XF
3572 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3573 buffer for output.
3574
3cd51eaa
XF
3575 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3576 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3577
44e18199 3578 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3579 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3580
3581 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3582
3583 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3584 buffer for output.
3585
35a89bdd
EZ
35862013-07-29 Eli Zaretskii <eliz@gnu.org>
3587
3588 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3589 initial frame is minibuffer-less. (Bug#14841)
3590
78822e94
MA
35912013-07-29 Michael Albinus <michael.albinus@gmx.de>
3592
3593 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3594 option.
3595
3596 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3597 (tramp-maybe-open-connection): Use it.
3598
9503c190
JB
35992013-07-28 Juanma Barranquero <lekktu@gmail.com>
3600
3601 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3602 minimal set of parameters passed when creating a frame, because
3603 the minibuffer status of a frame cannot be changed later.
3604
d5a845b4
SB
36052013-07-28 Stephen Berman <stephen.berman@gmx.net>
3606
3607 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3608 replace-regexp-in-string and inadvertent omissions in previous change.
3609 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3610 name of filtered items buffer.
d5a845b4 3611
ddeffb17
JB
36122013-07-28 Juanma Barranquero <lekktu@gmail.com>
3613
3614 * desktop.el: Optionally force offscreen frames back onscreen.
3615 (desktop-restoring-reuses-frames): New option.
3616 (desktop--compute-pos, desktop--move-onscreen): New functions.
3617 (desktop--make-frame): Use desktop--move-onscreen.
3618
f5950f7a
AM
36192013-07-27 Alan Mackenzie <acm@muc.de>
3620
3621 Fontify a Java generic method as a function.
3622 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3623 value to t.
3624
ae43b66a
SB
36252013-07-27 Stephen Berman <stephen.berman@gmx.net>
3626
3627 * calendar/todo-mode.el: Add command to rename todo files.
3628 (todo-rename-file): New command.
3629 (todo-key-bindings-t): Add key binding for it. Change the
3630 bindings of todo-filter-regexp-items(-multifile) to use `x'
3631 instead of `r', since the latter is better suited to the new
3632 renaming command.
3633
5ab78d3d
AM
36342013-07-27 Alan Mackenzie <acm@muc.de>
3635
3636 Make Java try-with-resources statement parse properly.
3637 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3638 (c-block-stmt-1-2-key): New language constants/variables.
3639 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3640 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3641 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3642 with c-block-stmt-1-2-key.
5ab78d3d 3643
d85c4d50
JB
36442013-07-27 Juanma Barranquero <lekktu@gmail.com>
3645
3646 * desktop.el (desktop--make-frame): Apply most frame parameters after
3647 creating the frame to force (partially or totally) offscreen frames to
3648 be restored as such.
3649
e4c467f9
XF
36502013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3651
3652 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3653 (Bug#14948)
e4c467f9 3654
7ced0d04
SM
36552013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3658 `base' arg of backtrace-frame.
3659
fec92060
EZ
36602013-07-26 Eli Zaretskii <eliz@gnu.org>
3661
3662 * simple.el (list-processes): Doc fix.
3663
d58d31fb
JB
36642013-07-26 Juanma Barranquero <lekktu@gmail.com>
3665
3666 * desktop.el (desktop--select-frame):
d85c4d50 3667 Try harder to reuse existing frames.
d58d31fb 3668
53ff3e77
SM
36692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3672 (edebug-eval): Use backtrace-eval.
3673 (edebug--display, edebug--recursive-edit): Don't let-bind the
3674 edebug-outer-* vars that keep track of variables we locally let-bind.
3675 (edebug-outside-excursion): Don't restore outside values of locally
3676 let-bound vars.
3677 (edebug--display): Use user-error.
3678 (cl-lexical-debug, cl-debug-env): Remove.
3679
045f7a53
JB
36802013-07-26 Juanma Barranquero <lekktu@gmail.com>
3681
3682 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3683 are restored to be sure that they are visible before deleting any
3684 remaining ones.
3685
59070b32
MM
36862013-07-26 Matthias Meulien <orontee@gmail.com>
3687
742a3501
XF
3688 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3689 vc-print-root-log. (Bug#14948)
59070b32 3690
b1fb3596
RS
36912013-07-26 Richard Stallman <rms@gnu.org>
3692
3693 Add aliases for encrypting mail.
3694 * epa.el (epa-mail-aliases): New option.
3695 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3696 Bind inhibit-read-only so read-only text doesn't ruin everything.
3697 (epa-mail-default-recipients): New subroutine broken out.
3698 Handle epa-mail-aliases.
3699
56ea7291
SM
37002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 Add support for lexical variables to the debugger's `e' command.
3703 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3704 vars, except for debugger-outer-match-data.
3705 (debugger-frame-number): Move check for "on a function call" from
3706 callers into it. Add `skip-base' argument.
3707 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3708 (debugger-env-macro): Only reset the state stored in non-variables,
3709 i.e. current-buffer and match-data.
3710 (debugger-eval-expression): Rewrite using backtrace-eval.
3711 * subr.el (internal--called-interactively-p--get-frame): Remove.
3712 (called-interactively-p):
3713 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3714 `base' arg of backtrace-frame instead.
3715
15ac32d5
GM
37162013-07-26 Glenn Morris <rgm@gnu.org>
3717
8358a09d
GM
3718 * align.el (align-regexp): Doc fix. (Bug#14857)
3719 (align-region): Explicit error if subexpression missing/does not match.
3720
15ac32d5
GM
3721 * simple.el (global-visual-line-mode):
3722 Do not duplicate the mode lighter. (Bug#14858)
3723
f47ad11b
MR
37242013-07-25 Martin Rudalics <rudalics@gmx.at>
3725
3726 * window.el (display-buffer): In display-buffer bind
3727 split-window-keep-point to t, bug#14829.
3728
02530987
JB
37292013-07-25 Juanma Barranquero <lekktu@gmail.com>
3730
3731 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3732 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3733 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3734 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3735 Change accordingly.
f63ebeb5
JB
3736 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3737 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3738
6ccb9cab 37392013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3740
6ccb9cab 3741 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3742
cb3a56d2
JB
37432013-07-25 Juanma Barranquero <lekktu@gmail.com>
3744
3745 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3746 parameter to modify-frame-parameters if the value has not changed;
3747 this is a workaround for bug#14949.
3748 (desktop--make-frame): On cl-delete-if call, check parameter name,
3749 not full parameter.
3750
7aa7fff0
XF
37512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3752
3753 * vc/vc.el (vc-ignore): New function.
3754
3755 * vc/vc-svn.el (vc-svn-ignore): New function.
3756
3757 * vc/vc-hg.el (vc-hg-ignore): New function.
3758
3759 * vc/vc-git.el (vc-git-ignore): New function.
3760
3761 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3762 (vc-dir-ignore): New function.
3763
3764 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3765 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3766
3767 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3768
3769 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3770
889acc5c
JB
37712013-07-24 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3774 (desktop-restore-frames): Warn when deleting an existing frame failed.
3775
86c40970
GM
37762013-07-24 Glenn Morris <rgm@gnu.org>
3777
3778 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3779
d5d3c58a
MA
37802013-07-24 Michael Albinus <michael.albinus@gmx.de>
3781
3782 * filenotify.el (file-notify-supported-p):
3783 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3784 Remove functions.
3785
3786 * autorevert.el (auto-revert-use-notify):
3787 (auto-revert-notify-add-watch):
3788 * net/tramp.el (tramp-file-name-for-operation):
3789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3790 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3791 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3792 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3793 Remove `file-notify-supported-p' entry.
3794
d100084b
GM
37952013-07-24 Glenn Morris <rgm@gnu.org>
3796
3797 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3798 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3799
ac93e56b
SM
38002013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3801
249eea30
SM
3802 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3803 checked with memq (bug#14935).
3804
ac93e56b
SM
3805 * files.el (revert-buffer-function): Use a non-nil default.
3806 (revert-buffer-preserve-modes): Declare var to
3807 provide access to the `preserve-modes' argument.
3808 (revert-buffer): Let-bind it.
3809 (revert-buffer--default): New function, extracted from revert-buffer.
3810
2cdeb903
SM
38112013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * lpr.el: Signal print errors more prominently.
3814 (print-region-function): Don't default to nil.
3815 (lpr-print-region): New function, extracted from print-region-1.
3816 Check lpr's return value and signal an error in case of problem.
3817 (print-region-1): Use it.
3818 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3819 versions instead.
3820 (ps-printer-name): Default to nil.
3821 (ps-printer-name-option): Default to lpr-printer-switch.
3822 (ps-print-region-function): Don't default to nil.
3823 (ps-postscript-code-directory): Simplify default.
3824 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3825 (ps-string-list, ps-eval-switch, ps-flatten-list)
3826 (ps-flatten-list-1): Remove.
3827 (ps-multibyte-buffer): Avoid setq.
3828 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3829 (print-region-function, ps-print-region-function): Don't set them here.
3830
73600831
XF
38312013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3832
0e55c076
XF
3833 * ido.el (ido-fractionp):
3834 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3835 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3836 (ido-max-directory-size, ido-max-dir-file-cache)
3837 (ido-decorations): Doc fix.
3838
73600831
XF
3839 * ansi-color.el: Fix old URL.
3840
3d012865
MM
38412013-07-23 Michael R. Mauger <michael@mauger.com>
3842
e903c210 3843 * progmodes/sql.el: Version 3.3
3d012865
MM
3844 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3845 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3846 (sql-interactive-remove-continuation-prompt): Rewrite, use
3847 functions above. Fix continuation prompt and complete output line
3848 handling.
3849 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3850 redirected output buffer.
3851 (sql-mode): Restore deleted code (Bug#13591).
3852
da77a2e2
JB
38532013-07-23 Juanma Barranquero <lekktu@gmail.com>
3854
3855 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3856
80ff0c71
MA
38572013-07-23 Michael Albinus <michael.albinus@gmx.de>
3858
3859 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3860
3861 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3862 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3863 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3864
b61d71e4
JB
38652013-07-23 Juanma Barranquero <lekktu@gmail.com>
3866
3867 * desktop.el (desktop-clear): Simplify; remove useless checks
3868 against invalid buffer names.
3869 (desktop-list*): Use cl-list*.
3870 (desktop-buffer-info, desktop-create-buffer): Simplify.
3871
c3512092
LL
38722013-07-23 Leo Liu <sdl.web@gmail.com>
3873
3874 * bookmark.el (bookmark-make-record): Restore NAME as a default
3875 value. (Bug#14933)
3876
0ac26976
SM
38772013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3878
7d22ce18
SM
3879 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3880 extracted from autoload--insert-text.
3881 (autoload--insert-text): Remove.
3882 (autoload--print-cookie-text): New function, extracted from
3883 autoload--insert-cookie-text.
3884 (autoload--insert-cookie-text): Remove.
3885 (autoload-generate-file-autoloads): Adjust calls accordingly.
3886
9b2607e8
SM
3887 * winner.el (winner-hook-installed-p): Remove.
3888 (winner-mode): Simplify accordingly.
3889
c43a8618
SM
3890 * subr.el (add-to-list): Fix compiler-macro when `append' is
3891 not constant. Don't use `cl-member' for the base case.
3892
0ac26976
SM
3893 * progmodes/subword.el: Fix boundary case (bug#13758).
3894 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3895 own group.
3896 (subword-backward-regexp): Make it a constant.
3897 (subword-forward-internal): Don't treat a trailing capital as the
3898 beginning of a word.
3899
6874724a
AR
39002013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3901
3902 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3903 global value of tabulated-list-revert-hook (bug#14930).
3904
70f1b5e8
JB
39052013-07-22 Juanma Barranquero <lekktu@gmail.com>
3906
a1c80d9d
JB
3907 * desktop.el: Require 'cl-lib.
3908 (desktop-before-saving-frames-functions): New hook.
3909 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3910 for frames being saved. Rename from desktop--save-minibuffer-frames.
3911 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3912 Do not save frames with non-nil `desktop-dont-save' parameter.
3913 Filter out deleted frames.
a1c80d9d
JB
3914 (desktop--find-frame): Use cl-find-if.
3915 (desktop--select-frame): Use cl-(first|second|third) to access values
3916 of desktop-mini.
3917 (desktop--make-frame): Use cl-delete-if.
3918 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3919 (desktop-restore-frames): Use cl-(first|second|third) to access values
3920 of desktop-mini. Look for visible frame at the end, not while
3921 restoring frames.
3922
70f1b5e8
JB
3923 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3924 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3925 Use string-match-p, looking-at-p (bug#14927).
3926
728dc3cc
JB
39272013-07-21 Juanma Barranquero <lekktu@gmail.com>
3928
56bc453c
JB
3929 * desktop.el (desktop-saved-frame-states):
3930 Rename from desktop--saved-states; all users changed.
3931 (desktop-save-frames): Rename from desktop--save-frames.
3932 Do not save state to desktop file.
3933 (desktop-save): Save desktop-saved-frame-states to desktop file
3934 and reset to nil.
3935 (desktop-restoring-frames-p): New function.
3936 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3937 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3938 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3939
728dc3cc
JB
3940 * desktop.el: Correctly restore iconified frames.
3941 (desktop--filter-iconified-position): New function.
3942 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3943
862f1c9c
GM
39442013-07-20 Glenn Morris <rgm@gnu.org>
3945
c4074c9f
GM
3946 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3947 Let `message' do the formatting.
3948 (def-gdb-preempt-display-buffer): Add explicit format.
3949
d828e5f9
GM
3950 * image-dired.el (image-dired-track-original-file):
3951 Use with-current-buffer.
3952 (image-dired-track-thumbnail): Use with-current-buffer.
3953 Avoid changing point of wrong window.
3954
862f1c9c
GM
3955 * image-dired.el (image-dired-track-original-file):
3956 Avoid changing point of wrong window. (Bug#14909)
3957
f0398ec1 39582013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3959
3960 * progmodes/gdb-mi.el (gdb-done-or-error):
3961 Guard against "%" in gdb output. (Bug#14127)
3962
1451928f
AS
39632013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3964
763a086d
JB
3965 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3966 (Bug#14826)
f7a03897 3967
1451928f
AS
3968 * international/mule.el (coding-system-iso-2022-flags): Fix last
3969 change.
3970
99107004
KH
39712013-07-20 Kenichi Handa <handa@gnu.org>
3972
763a086d
JB
3973 * international/mule.el (coding-system-iso-2022-flags):
3974 Add `8-bit-level-4'. (Bug#8522)
99107004 3975
48494e06
LMI
39762013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3977
8ba8eec5
LMI
3978 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3979 (bug#14815).
3980
dfbc66e3
LMI
3981 * net/eww.el (eww-process-text-input): Allow inputting when the
3982 point is at the start of the line, as the properties aren't
3983 front-sticky.
3984
48494e06
LMI
3985 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3986 degenerate widths.
3987
77c92cb9
RS
39882013-07-19 Richard Stallman <rms@gnu.org>
3989
aec7da77
RS
3990 * epa.el (epa-popup-info-window): Doc fix.
3991
77c92cb9
RS
3992 * subr.el (split-string): New arg TRIM.
3993
945c5bb1
JB
39942013-07-18 Juanma Barranquero <lekktu@gmail.com>
3995
3996 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3997 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3998
e06ec67f
MA
39992013-07-18 Michael Albinus <michael.albinus@gmx.de>
4000
c7064f05 4001 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4002 `file-notify-support'. Do not autoload. Adapt all uses.
4003 (file-notify-supported-p): New defun.
4004
c7064f05
JB
4005 * autorevert.el (auto-revert-use-notify):
4006 Use `file-notify-supported-p' instead of `file-notify-support'.
4007 Adapt docstring.
e06ec67f
MA
4008 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4009
4010 * net/tramp.el (tramp-file-name-for-operation):
4011 Add `file-notify-supported-p'.
4012
4013 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4014 New defun.
4015 (tramp-sh-file-name-handler-alist): Add it as handler for
4016 `file-notify-supported-p '.
4017
4018 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4019 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Add `ignore' as handler for `file-notify-*' functions.
4022
5dc8a629
EZ
40232013-07-17 Eli Zaretskii <eliz@gnu.org>
4024
4025 * simple.el (line-move-partial, line-move): Don't start vscroll or
4026 scroll-up if the current line is not taller than the window.
4027 (Bug#14881)
4028
77aea2fb
DG
40292013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4030
4031 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4032 highlight question marks in the method names as strings.
ac72c08d
DG
4033 (ruby-block-beg-keywords): Inline.
4034 (ruby-font-lock-keyword-beg-re): Extract from
4035 `ruby-font-lock-keywords'.
77aea2fb 4036
18c26d81
JD
40372013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4038
4039 * frame.el (blink-cursor-blinks): New defcustom.
4040 (blink-cursor-blinks-done): New defvar.
4041 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4042 (blink-cursor-timer-function): Check if number of blinks has been
4043 done on X and NS.
4044 (blink-cursor-suspend, blink-cursor-check): New defuns.
4045
da48522e
GM
40462013-07-15 Glenn Morris <rgm@gnu.org>
4047
4048 * edmacro.el (edmacro-format-keys): Fix previous change.
4049
0463c1ef
PE
40502013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4051
4052 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4053 The hack didn't work outside English locales anyway.
4054
b43f6451
JB
40552013-07-15 Juanma Barranquero <lekktu@gmail.com>
4056
4057 * simple.el (define-alternatives): Rename from alternatives-define,
4058 per RMS' suggestion.
4059
b958c0ad
JB
40602013-07-14 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * desktop.el (desktop-restore-frames): Change default to t.
4063 (desktop-restore-in-current-display): Now offer more options.
4064 (desktop-restoring-reuses-frames): New customization option.
4065 (desktop--saved-states): Doc fix.
4066 (desktop-filter-parameters-alist): New variable, renamed and expanded
4067 from desktop--excluded-frame-parameters.
4068 (desktop--target-display): New variable.
4069 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4070 (desktop--filter-tty*, desktop--filter-*-color)
4071 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4072 (desktop--filter-save-desktop-parm)
4073 (desktop-restore-in-original-display-p): New functions.
4074 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4075 (desktop--save-minibuffer-frames): New function, inspired by a similar
4076 function from Martin Rudalics.
4077 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4078 (desktop--restore-in-this-display-p): Remove.
4079 (desktop--find-frame): Rename from desktop--find-frame-in-display
4080 and add predicate argument.
4081 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4082 (desktop--reuse-list): New variable.
4083 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4084 New functions.
4085 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4086
f6dd8b36
MA
40872013-07-14 Michael Albinus <michael.albinus@gmx.de>
4088
4089 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4090
2ce3c565
DG
40912013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4092
763a086d
JB
4093 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4094 Highlight conversion methods on Kernel.
2ce3c565 4095
2cdb7698
AM
40962013-07-13 Alan Mackenzie <acm@muc.de>
4097
4098 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4099 and comment it out. This out-commenting enables certain C++
4100 declarations to be parsed correctly.
4101
1a67b811
EZ
41022013-07-13 Eli Zaretskii <eliz@gnu.org>
4103
1b796d6b
EZ
4104 * international/mule.el (define-coding-system): Doc fix.
4105
1a67b811
EZ
4106 * simple.el (default-font-height): Don't call font-info if the
4107 frame's default font didn't change since the frame was created.
4108 (Bug#14838)
4109
58fbe886
LL
41102013-07-13 Leo Liu <sdl.web@gmail.com>
4111
4112 * ido.el (ido-read-file-name): Guard against non-symbol value.
4113
1f0480d4
FEG
41142013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4115
4116 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4117 in nested defuns.
4118
97ead0e5
LL
41192013-07-13 Leo Liu <sdl.web@gmail.com>
4120
4121 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4122 ido-set-matches call. (Bug#6852)
4123
0880a952
DG
41242013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4125
4126 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4127 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4128 Ruby 2.0.
4129 (ruby-font-lock-keywords): Distinguish calls to functions with
4130 module-like names from module references. Highlight character
4131 literals.
4132
a7d8babb
SDJ
41332013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4134
4135 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4136 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4137
acfcc8c5
JB
41382013-07-12 Juanma Barranquero <lekktu@gmail.com>
4139
4140 * desktop.el (desktop--v2s): Remove unused local variable.
4141 (desktop-save-buffer): Make defvar-local; adjust docstring.
4142 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4143 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4144
051f2775
AS
41452013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4146
4147 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4148
f24e7572
GM
41492013-07-12 Eli Zaretskii <eliz@gnu.org>
4150
4151 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4152 (Bug#14842)
4153
539a920c
GM
41542013-07-12 Glenn Morris <rgm@gnu.org>
4155
4156 * doc-view.el: Require cl-lib at runtime too.
4157 (doc-view-remove-if): Remove.
4158 (doc-view-search-next-match, doc-view-search-previous-match):
4159 Use cl-remove-if.
4160
4161 * edmacro.el: Require cl-lib at runtime too.
4162 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4163 (edmacro-mismatch, edmacro-subseq): Remove.
4164
4165 * shadowfile.el: Require cl-lib.
4166 (shadow-remove-if): Remove.
4167 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4168 Use cl-remove-if.
4169
4170 * wid-edit.el: Require cl-lib.
4171 (widget-choose): Use cl-remove-if.
4172 (widget-remove-if): Remove.
4173
4174 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4175 (ebrowse-delete-if-not): Remove.
4176 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4177 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4178 Use cl-delete-if-not.
4179
1048af7c
JB
41802013-07-12 Juanma Barranquero <lekktu@gmail.com>
4181
4182 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4183 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4184
6c0674ee
LL
41852013-07-12 Leo Liu <sdl.web@gmail.com>
4186
4187 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4188
a19b3c2d
GM
41892013-07-11 Glenn Morris <rgm@gnu.org>
4190
4582a01c
GM
4191 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4192 (edebug-gensym-index, edebug-gensym):
4193 Remove reimplementation of cl-gensym.
4194 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4195
4196 * thumbs.el: Require cl-lib at run-time too.
4197 (thumbs-gensym-counter, thumbs-gensym):
4198 Remove reimplementation of cl-gensym.
4199 (thumbs-temp-file): Use cl-gensym.
4200
a19b3c2d
GM
4201 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4202 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4203 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4204 (ert--union, ert--gensym-counter, ert--gensym-counter)
4205 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4206 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4207 (ert-make-test-unbound, ert--expand-should-1)
4208 (ert--expand-should, ert--should-error-handle-error)
4209 (should-error, ert--explain-equal-rec)
4210 (ert--plist-difference-explanation, ert-select-tests)
4211 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4212 Use cl-lib functions rather than reimplementations.
4213
88f6a933
MA
42142013-07-11 Michael Albinus <michael.albinus@gmx.de>
4215
4216 * net/tramp.el (tramp-methods): Extend docstring.
4217 (tramp-connection-timeout): New defcustom.
4218 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4219 (with-tramp-progress-reporter): Simplify.
4220 (tramp-process-actions): Improve messages.
4221
4222 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4223 * net/tramp-sh.el (tramp-maybe-open-connection):
4224 Use `tramp-connection-timeout'.
4225 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4226 (Bug#14808)
4227
a43d577e
LL
42282013-07-11 Leo Liu <sdl.web@gmail.com>
4229
4230 * ido.el (ido-read-file-name): Conform to the requirements of
4231 read-file-name. (Bug#11861)
4232 (ido-read-directory-name): Conform to the requirements of
4233 read-directory-name.
4234
d77974bf
JB
42352013-07-11 Juanma Barranquero <lekktu@gmail.com>
4236
4237 * subr.el (delay-warning): New function.
4238
35cb8a3e
EZ
42392013-07-10 Eli Zaretskii <eliz@gnu.org>
4240
4241 * simple.el (default-line-height): New function.
4242 (line-move-partial, line-move): Use it instead of computing the
4243 line height inline.
4244 (line-move-partial): Always compute ROWH. If the last line is
4245 partially-visible, but its text is completely visible, allow
4246 cursor to enter such a partially-visible line.
4247
525c5c77
MA
42482013-07-10 Michael Albinus <michael.albinus@gmx.de>
4249
4250 Improve error messages. (Bug#14808)
4251
4252 * net/tramp.el (tramp-current-connection): New defvar, moved from
4253 tramp-sh.el.
0ac26976 4254 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4255 needed anymore.
0ac26976
SM
4256 (tramp-error-with-buffer): Show message in minibuffer.
4257 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4258 (with-tramp-progress-reporter): Improve messages.
4259 (tramp-process-actions): Use progress reporter. Delete process in
4260 case of error. Improve messages.
4261
763a086d
JB
4262 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4263 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4264 (tramp-current-connection): Remove.
525c5c77
MA
4265 (tramp-maybe-open-connection): The car of
4266 `tramp-current-connection' are the first 3 slots of the vector.
4267
c7a4d368
TZ
42682013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4269
4270 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4271 inside continued strings.
4272
954b166e
PE
42732013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4274
4275 Timestamp fixes for undo (Bug#14824).
4276 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4277
56973319
LL
42782013-07-10 Leo Liu <sdl.web@gmail.com>
4279
4280 * files.el (require-final-newline): Allow safe local value.
4281 (Bug#14834)
4282
5550a72c
LL
42832013-07-09 Leo Liu <sdl.web@gmail.com>
4284
4285 * ido.el (ido-read-directory-name): Handle fallback.
4286 (ido-read-file-name): Update DIR to ido-current-directory.
4287 (Bug#1516)
c28b9050 4288 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4289
70c46b28
DG
42902013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4291
4292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4293 "autoload". Remove "warn lower camel case" section, previously
4294 commented out. Highlight negation char. Do not highlight the
4295 target in singleton method definitions.
4296
0b64b838
SM
42972013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4298
7fd72e2c
SM
4299 * faces.el (tty-setup-hook): Declare the hook.
4300
0b64b838
SM
4301 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4302 and detect when a guard/pred depends on local vars (bug#14773).
4303 (pcase--u1): Adjust caller.
4304
ab49d60b
EZ
43052013-07-08 Eli Zaretskii <eliz@gnu.org>
4306
4307 * simple.el (line-move-partial, line-move): Account for
4308 line-spacing.
701d79aa
EZ
4309 (line-move-partial): Avoid setting vscroll when the last
4310 partially-visible line in window is of default height.
ab49d60b 4311
2d756ae0
LMI
43122013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4313
4314 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4315 been used a while.
4316
ed095bd7
JB
43172013-07-07 Juanma Barranquero <lekktu@gmail.com>
4318
4319 * subr.el (read-quoted-char): Remove unused local variable `char'.
4320
f1e6674b
MK
43212013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4322
584ee3fc
GM
4323 * ediff.el (ediff-version): Version update.
4324 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4325 (ediff-merge-with-ancestor-command, ediff-directories-command)
4326 (ediff-directories3-command, ediff-merge-directories-command)
4327 (ediff-merge-directories-with-ancestor-command): New functions.
4328 All are command-line interfaces to ediff: to facilitate calling
4329 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4330
4331 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4332 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4333
584ee3fc
GM
4334 * viper.el (viper-version): Version update.
4335 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4336
584ee3fc
GM
43372013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4340 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4341 (viper-intercept-ESC-key): Simplify.
4342 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4343 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4344 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4345 (viper-setup-ESC-to-escape): New functions.
4346 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4347 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4348
9aff9b38
EZ
43492013-07-07 Eli Zaretskii <eliz@gnu.org>
4350
5165d44a
JB
4351 * simple.el (default-font-height, window-screen-lines):
4352 New functions.
9aff9b38
EZ
4353 (line-move, line-move-partial): Use them instead of
4354 frame-char-height and window-text-height. This makes scrolling
4355 text smoother when the buffer's default face uses a font that is
4356 different from the frame's default font.
4357
1afb1d07
JD
43582013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4359
4360 * files.el (write-file): Do not display confirm dialog for NS,
4361 it does its own dialog, which can't be cancelled (Bug#14578).
4362
23de972a
EZ
43632013-07-06 Eli Zaretskii <eliz@gnu.org>
4364
4365 * simple.el (line-move-partial): Adjust the row returned by
4366 posn-at-point for the current window-vscroll. (Bug#14567)
4367
54a42486
MA
43682013-07-06 Michael Albinus <michael.albinus@gmx.de>
4369
4370 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4371 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4372 spaces.
4373
34ada5f4
MR
43742013-07-06 Martin Rudalics <rudalics@gmx.at>
4375
4376 * window.el (window-state-put-stale-windows): New variable.
4377 (window--state-put-2): Save list of windows without matching buffer.
4378 (window-state-put): Remove "bufferless" windows if possible.
4379
11e03d89
JB
43802013-07-06 Juanma Barranquero <lekktu@gmail.com>
4381
4382 * simple.el (alternatives-define): Remove leftover :group keyword.
4383 Tweak docstring.
4384
3504a4be
LL
43852013-07-06 Leo Liu <sdl.web@gmail.com>
4386
4387 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4388 (ido-enable-virtual-buffers): New variable.
4389 (ido-buffer-internal, ido-toggle-virtual-buffers)
4390 (ido-make-buffer-list): Use it.
4391 (ido-exhibit): Support turning on and off virtual buffers
4392 automatically.
4393
61e56e2c
JB
43942013-07-06 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * simple.el (alternatives-define): New macro.
4397
321e1a9c
SM
43982013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * subr.el (read-quoted-char): Use read-key.
4401 (sit-for): Let read-event decode tty input (bug#14782).
4402
d610f6dd
SB
44032013-07-05 Stephen Berman <stephen.berman@gmx.net>
4404
4405 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4406 mode command and externally. Fix various related bugs.
4407 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4408 (todo-delete-file): New command.
4409 (todo-check-file): New function.
4410 (todo-show): Handle external deletion of the file we're trying to
4411 show (bug#14688). Replace called-interactively-p by an optional
4412 prefix argument to avoid problematic interaction with catch form
4413 when byte compiled (bug#14702).
4414 (todo-quit): Handle external deletion of the archive's todo file.
4415 Make sure the buffer that was visiting the archive file is still
4416 live before trying to bury it.
4417 (todo-category-completions): Handle external deletion of any
4418 category completion files.
4419 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4420 of todo files, in case of external deletion.
4421 (todo-add-file): Replace unnecessary setq by let-binding.
4422 (todo-find-archive): Check whether there are any archives.
4423 Replace unnecessary setq by let-binding.
4424 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4425 archive buffer whether or not the archive already exists.
4426 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4427 check if the archive is new; if it is, update list of archives.
4428 (todo-default-todo-file): Allow nil to be a valid value for when
4429 there are no todo files.
4430 (todo-reevaluate-default-file-defcustom): Use corrected definition
4431 of todo-default-todo-file.
4432 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4433 (todo-delete-category, todo-show-categories-table)
4434 (todo-category-number): Clarify comment.
4435 (todo-filter-items): Clarify documentation string.
4436 (todo-show-current-file, todo-display-as-todo-file)
4437 (todo-reset-and-enable-done-separator): Tweak documentation string.
4438 (todo-done-separator): Make separator length window-width, since
4439 bug#2749 is now fixed.
4440
ddbdfd6f
MA
44412013-07-05 Michael Albinus <michael.albinus@gmx.de>
4442
321e1a9c
SM
4443 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4444 Support both "gvfs-monitor-dir" and "inotifywait".
4445 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4446 `tramp-sh-file-notify-process-filter'.
4447 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4448 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4449
96eb829a
LL
44502013-07-05 Leo Liu <sdl.web@gmail.com>
4451
4452 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4453
cf13177e
YM
44542013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4455
4456 * frame.el (display-pixel-height, display-pixel-width)
4457 (display-mm-height, display-mm-width): Mention behavior on
4458 multi-monitor setups in docstrings.
4459 (w32-display-monitor-attributes-list): Declare function.
4460 (display-monitor-attributes-list): Use it.
4461
864c58ca
MA
44622013-07-04 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * filenotify.el: New package.
4465
4466 * autorevert.el (top): Require filenotify.el.
4467 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4468 instead.
4469 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4470 (auto-revert-notify-handler): Use `file-notify-*' functions.
4471
4472 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4473
321e1a9c
SM
4474 * net/tramp.el (tramp-file-name-for-operation):
4475 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4476
4477 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4478 for `file-notify-add-watch' and `file-notify-rm-watch'.
4479 (tramp-process-sentinel): Improve trace.
4480 (tramp-sh-handle-file-notify-add-watch)
4481 (tramp-sh-file-notify-process-filter)
4482 (tramp-sh-handle-file-notify-rm-watch)
4483 (tramp-get-remote-inotifywait): New defuns.
4484
96673afe
JL
44852013-07-03 Juri Linkov <juri@jurta.org>
4486
4487 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4488 call of `occur-read-primary-args' to interactive spec.
4489
4490 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4491 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4492
924494f4
MM
44932013-07-03 Matthias Meulien <orontee@gmail.com>
4494
4495 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4496 `Buffer-menu-multi-occur'. Add it to the menu.
4497 (Buffer-menu-mode): Document it in docstring.
4498 (Buffer-menu-multi-occur): New command. (Bug#14673)
4499
56f75efc
DG
45002013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4501
4502 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4503 keywords and built-ins.
4504
9b057d61
GM
45052013-07-03 Glenn Morris <rgm@gnu.org>
4506
208dee4d
GM
4507 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4508
9b057d61
GM
4509 Make info-xref checks case-sensitive by default
4510 * info.el (Info-find-node, Info-find-in-tag-table)
4511 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4512 Add option for exact case matching of nodes.
4513 * info-xref.el (info-xref): New custom group.
4514 (info-xref-case-fold): New option.
4515 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4516
e01aa29c
LL
45172013-07-03 Leo Liu <sdl.web@gmail.com>
4518
4519 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4520
3086ca2e
DG
45212013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4522
4523 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4524 middle of block statement initially, lower the depth. Remove
4525 FIXME comment, not longer valid. Remove middle of block statement
4526 detection, no need to do that anymore since we've been using
4527 `ruby-parse-region' here.
4528
a3b49114
JD
45292013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4530
4531 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4532
08e5c823 45332013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4534
4535 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4536
2addf922
JB
45372013-07-01 Juanma Barranquero <lekktu@gmail.com>
4538
4539 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4540 (desktop-restore-in-current-display): New customization option.
4541 (desktop--excluded-frame-parameters): Add `font'.
4542 (desktop--save-frames): Rename from desktop--save-windows.
4543 (desktop--restore-in-this-display-p): New function.
4544 (desktop--make-full-frame): Remove unwanted width/height from
4545 full(width|height) frames.
4546 (desktop--restore-frames): Rename from desktop--restore-windows.
4547 Obey desktop-restore-current-display. Do not delete old frames or
4548 select a new frame unless we were able to restore at least one frame.
4549
ef099a94
MN
45502013-06-30 Michal Nazarewicz <mina86@mina86.com>
4551
4552 * files.el (find-file-noselect): Simplify conditional expression.
4553
4554 * remember.el (remember-append-to-file):
4555 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4556
4557 Add `remember-notes' function to store random notes across Emacs
4558 restarts.
4559 * remember.el (remember-data-file): Add :set callback to affect
4560 notes buffer (if any).
4561 (remember-notes): New command.
4562 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4563 New defcustoms for the `remember-notes' function.
4564 (remember-notes-save-and-bury-buffer): New command.
4565 (remember-notes-mode-map): New variable.
4566 (remember-mode): New minor mode.
4567 (remember-notes--kill-buffer-query): New function.
4568 * startup.el (initial-buffer-choice): Add notes to custom type.
4569
0865d506
EZ
45702013-06-30 Eli Zaretskii <eliz@gnu.org>
4571
0ba54312
EZ
4572 * bindings.el (right-char, left-char): Don't call sit-for, this is
4573 no longer needed. Use arithmetic comparison only for numerical
4574 arguments.
4575
ef099a94
MN
4576 * international/mule-cmds.el (select-safe-coding-system):
4577 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4578
2fae38e5
LMI
45792013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4580
4581 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4582 progression on degenerate tables.
ef099a94 4583 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4584
a47cbd64
JB
45852013-06-30 Juanma Barranquero <lekktu@gmail.com>
4586
4587 Some fixes and improvements for desktop frame restoration.
4588 It is still experimental and disabled by default.
4589 * desktop.el (desktop--save-windows): Put the selected frame at
4590 the head of the list.
4591 (desktop--make-full-frame): New function.
4592 (desktop--restore-windows): Try to re-select the frame that was
4593 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4594 just show an error message and continue. Set up maximized frames
4595 so they have default non-maximized dimensions.
a47cbd64 4596
6dbafa30
DG
45972013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4598
ef099a94
MN
4599 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4600 Don't start heredoc inside a string or comment.
6dbafa30 4601
4c672a0f
EZ
46022013-06-29 Eli Zaretskii <eliz@gnu.org>
4603
4604 * bindings.el (visual-order-cursor-movement): New defcustom.
4605 (right-char, left-char): Provide visual-order cursor motion by
4606 calling move-point-visually. Update the doc strings.
4607
50960f36
KH
46082013-06-28 Kenichi Handa <handa@gnu.org>
4609
4610 * international/mule.el (define-coding-system): New coding system
4611 properties :inhibit-null-byte-detection,
4612 :inhibit-iso-escape-detection, and :prefer-utf-8.
4613 (set-buffer-file-coding-system): If :charset-list property of
4614 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4615 appropriate for setting.
4616
c1ea3abf
JB
4617 * international/mule-cmds.el (select-safe-coding-system):
4618 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4619 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4620
4621 * international/mule-conf.el (prefer-utf-8): New coding system.
4622 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4623 files.
4624
75dbaf9d
IK
46252013-06-28 Ivan Kanis <ivan@kanis.fr>
4626
eadb6068
IK
4627 * net/shr.el (shr-render-region): New function.
4628
75dbaf9d
IK
4629 * net/eww.el: Autoload `eww-browse-url'.
4630
9ea5cf9f
DG
46312013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4632
c1ea3abf
JB
4633 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4634 Adapt to `package-desc-version' being a list.
4635 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4636 archive element.
4637
39c0e36f
JB
46382013-06-27 Juanma Barranquero <lekktu@gmail.com>
4639
4640 New experimental feature to save&restore window and frame setup.
4641 * desktop.el (desktop-save-windows): New defcustom.
4642 (desktop--saved-states): New var.
4643 (desktop--excluded-frame-parameters): New defconst.
4644 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4645 (desktop--restore-windows, desktop--save-windows): New functions.
4646 (desktop-save): Call `desktop--save-windows'.
4647 (desktop-read): Call `desktop--restore-windows'.
4648
7f13406b
LMI
46492013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650
ef099a94 4651 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4652
1e072639
SB
46532013-06-27 Stephen Berman <stephen.berman@gmx.net>
4654
4655 * info.el (Info-try-follow-nearest-node): Move search for footnote
4656 above search for node name to prevent missing a footnote (bug#14717).
4657
f3e2cbde
SB
46582013-06-27 Stephen Berman <stephen.berman@gmx.net>
4659
4660 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4661
99906aa0
LL
46622013-06-27 Leo Liu <sdl.web@gmail.com>
4663
4664 * net/eww.el (eww-read-bookmarks): Check file size.
4665
539f75f4
SM
46662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4669 advice--pending if newdef is nil or an autoload (bug#13820).
4670 (advice-mapc): New function.
4671
843571cb
LMI
46722013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4673
4674 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4675 probably.
23a75d7f 4676 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4677 (eww-add-bookmark): New command.
4678 (eww-bookmark-mode): New mode and commands.
a285ce99 4679 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4680 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4681
f2136e1e
GM
46822013-06-26 Glenn Morris <rgm@gnu.org>
4683
eab35f39
GM
4684 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4685 (hfy-size): Handle ttys. (Bug#14668)
4686
f2136e1e
GM
4687 * info-xref.el: Update for Texinfo 5 change in *note format.
4688 (info-xref-node-re, info-xref-note-re): New constants.
4689 (info-xref-check-buffer): Use info-xref-note-re.
4690
a49ff80c
SM
46912013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4692
a343d218
SM
4693 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4694
a49ff80c
SM
4695 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4696 nil terminate the loop (bug#14718).
4697
8308f184
LMI
46982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4699
4700 * net/eww.el: Rework history traversal. When going forward/back,
4701 put these actions into the history, too, so that they can be
4702 replayed.
26bf2b82 4703 (eww-render): Move the history reset to the correct buffer.
8308f184 4704
ec64c273
JL
47052013-06-25 Juri Linkov <juri@jurta.org>
4706
4707 * files-x.el (modify-dir-local-variable): Change the header comment
4708 in the file with directory local variables. (Bug#14692)
4709
e080a9d7
JL
4710 * files-x.el (read-file-local-variable-value): Add `default'.
4711 (Bug#14710)
4712
bfbc93a1
IK
47132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4714
4715 * net/eww.el (eww-make-unique-file-name): Create a unique file
4716 name before saving to entering `y' accidentally asynchronously.
4717
47182013-06-25 Ivan Kanis <ivan@kanis.fr>
4719
4720 * net/eww.el (eww-download): New command and keystroke.
4721
16f74f10
LMI
47222013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4723
a49ff80c 4724 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4725
4726 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4727 be more consistent with Info and dired.
4728
4729 * net/eww.el (eww-mode-map): Ditto.
4730
12059709
SM
47312013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4734 packages from archives.
4735 (package-archive-contents): Change format; include obsolete packages.
4736 (package-desc): Use `dir' to mark builtin packages.
4737 (package--from-builtin): Set the `dir' field to `builtin'.
4738 (generated-autoload-file, version-control): Declare.
4739 (package-compute-transaction): Change first arg and return value to be
4740 lists of package-descs. Adjust to new package-archive-contents format.
4741 (package--add-to-archive-contents): Adjust to new
4742 package-archive-contents format.
4743 (package-download-transaction): Arg is now a list of package-descs.
4744 (package-install): If `pkg' is a package name, pass it as
4745 a requirement, so it is subject to the usual (e.g. disabled) checks.
4746 (describe-package): Accept package-desc as well.
4747 (describe-package-1): Describe a specific package-desc. Add links to
4748 other package-descs for the same package name.
4749 (package-menu-describe-package): Pass the actual package-desc.
4750 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4751 works correctly.
4752 (package-desc-status): New function.
4753 (package-menu--refresh): New function, extracted
4754 from package-menu--generate.
4755 (package-menu--generate): Use it.
4756 (package-delete): Update package-alist.
4757 (package-menu-execute): Don't call package-initialize.
4758
4759 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4760 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4761 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4762 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4763 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4764 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4765
8bbdea0f
MR
47662013-06-25 Martin Rudalics <rudalics@gmx.at>
4767
4768 * window.el (window--state-get-1): Workaround for bug#14527.
4769 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4770
e82b0991
LMI
47712013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4772
4773 * net/eww.el (eww-back-url): Implement the history by stashing all
4774 the data into a list.
d3f0f918 4775 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4776
c763842b
SM
47772013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4780 for values and use read--expression for expressions (bug#14710).
4781 (read-file-local-variable): Avoid setq.
4782 (read-file-local-variable-mode): Use minor-mode-list.
4783
bceff189
RW
47842013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4785
864c58ca 4786 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4787 for DOI URLs.
4788
45f431c6
RW
47892013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4790
864c58ca 4791 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4792 Update imenu-support when dialect changes.
4793
f42d8237
LL
47942013-06-25 Leo Liu <sdl.web@gmail.com>
4795
4796 * ido.el (ido-read-internal): Allow forward slash on windows.
4797
be549ce6
LMI
47982013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4799
4800 * net/eww.el (eww): Start of strings is \\`, not ^.
4801
71d4c19d
IK
48022013-06-24 Ivan Kanis <ivan@kanis.fr>
4803
5196f88a
IK
4804 * net/shr.el (shr-browse-url): Fix interactive spec.
4805
71d4c19d
IK
4806 * net/eww.el (eww): Add a trailing slash to domain names.
4807
ae36ca55
JB
48082013-06-24 Juanma Barranquero <lekktu@gmail.com>
4809
4810 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4811
0ebd92a3
LMI
48122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
bdaa086b
LMI
4814 * net/shr.el (shr-browse-url): Use an external browser if given a
4815 prefix.
4816
c763842b 4817 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4818
b89fc156
IK
48192013-06-24 Ivan Kanis <ivan@kanis.fr>
4820
4821 * net/eww.el (eww): Work more correctly for file: URLs.
4822 (eww-detect-charset): Allow quoted charsets.
4823 (eww-yank-page-url): New command and keystroke.
4824
18eb4bca
DU
48252013-06-24 Daiki Ueno <ueno@gnu.org>
4826
4827 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4828 file name of gpg executable.
4829 (epg-context-program): New function.
4830 (epg-context-home-directory): New function.
4831 (epg-context-set-program): New function.
4832 (epg-context-set-home-directory): New function.
4833 (epg--start): Use `epg-context-program' instead of
4834 'epg-gpg-program'.
4835 (epg--list-keys-1): Likewise.
4836
6c6268c8
LL
48372013-06-24 Leo Liu <sdl.web@gmail.com>
4838
4839 * ido.el (ido-read-internal): Fix bug#14620.
4840
5e400cb3
JB
48412013-06-23 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * faces.el (face-documentation): Simplify.
4844 (read-face-attribute, tty-find-type, x-resolve-font-name):
4845 Use `string-match-p'.
4846 (list-faces-display): Use `string-match-p'. Simplify.
4847 (face-spec-recalc): Check face to avoid face alias loops.
4848 (read-color): Use `string-match-p' and non-capturing parenthesis.
4849
f3f9606c
LMI
48502013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4851
4852 * net/shr.el (shr-rescale-image): Use the new
4853 :max-width/:max-height functionality.
4854
a3ca09b9
IK
48552013-06-23 Ivan Kanis <ivan@kanis.fr>
4856
4857 * net/eww.el (eww-search-prefix): New variable.
4858 (eww): Use it.
f865b474
IK
4859 (eww-external-browser): New variable.
4860 (eww-mode-map): New keystroke.
4861 (eww-browse-with-external-browser): New command.
a3ca09b9 4862
e854cfc7
IK
4863 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4864
18bb9e21
JB
48652013-06-23 Juanma Barranquero <lekktu@gmail.com>
4866
4867 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4868 Don't skip aligning the next header field when padding is 0;
4869 otherwise, field width is not respected unless the title is as
4870 wide as the field.
4871
5b165ade
SM
48722013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/package.el (package-el-version): Remove.
4875 (package-process-define-package): Fix inf-loop.
4876 (package-install): Allow symbols as arguments again.
4877
12adebe9
DG
48782013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4879
4880 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4881 add some more keyword-like methods.
4882 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4883
388573ee
JB
48842013-06-22 Juanma Barranquero <lekktu@gmail.com>
4885
4886 * bs.el (bs-buffer-show-mark): Make defvar-local.
4887 (bs-mode): Use setq-local.
4888
4889 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4890 (emacs-lock--try-unlocking): Make defvar-local.
4891
4582a01c 48922013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4893
2663dd23
GM
4894 * play/cookie1.el (cookie-apropos): Minor simplification.
4895
3d94f3ad
GM
4896 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4897
f72e2fdb
DG
48982013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4899
4900 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4901 `regexp-opt', it breaks the build during dumping.
4902
73eab938
DG
49032013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4904
c763842b
SM
4905 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4906 Highlight keyword-like methods on Kernel and Module with
73eab938 4907 font-lock-builtin-face.
5cf8176d
DG
4908 (auto-mode-alist): Consolidate different entries into one regexp
4909 and add more *file-s.
73eab938 4910
d26255f6
SB
49112013-06-21 Stephen Berman <stephen.berman@gmx.net>
4912
4913 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4914
4915 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4916 (diary-entry): Use it in the action of this button type instead of
4917 diary-goto-entry.
4918
4919 * calendar/todo-mode.el: New version.
4920 (todo-add-category): Append new category to end of file and give
4921 it the highest number, instead of putting it at the beginning and
4922 giving it 0. Incorporate noninteractive functionality.
4923 (todo-forward-category): Adapt to 1-based category numbering.
4924 Allow skipping over archived categories.
4925 (todo-backward-category): Derive from todo-forward-category.
4926 (todo-backward-item, todo-forward-item): Make noninteractive and
4927 delegate interactive part to new commands. Make sensitive to done items.
4928 (todo-categories): Make value an alist of category names and
4929 vectors of item counts.
4930 (todo-category-beg): Make a defconst.
4931 (todo-category-number): Use 1 instead of 0 as initial value.
4932 (todo-category-select): Make sensitive to overlays, optional item
4933 highlighting and done items.
4934 (todo-delete-item): Make sensitive to overlays and marked and done items.
4935 (todo-edit-item): Make sensitive to overlays and editing of
4936 date/time header optional. Add format checks.
4937 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4938 no-op if point is not on an item. Advertise using todo-edit-quit.
4939 (todo-edit-mode): Make sensitive to new format, font-locking, and
4940 multiple todo files.
4941 (todo-insert-item, todo-insert-item-here): Derive from
4942 todo-basic-insert-item and extend functionality.
4943 (todo-item-end, todo-item-start): Make sensitive to done items.
4944 (todo-item-string): Don't return text properties. Restore point.
4945 (todo-jump-to-category): Make sensitive to multiple todo files and
4946 todo archives. Use extended category completion.
4947 (todo-lower-item, todo-raise-item): Rename to *-priority and
4948 derive from todo-set-item-priority.
4949 (todo-mode): Derive from special-mode. Make sensitive to new
4950 format, font-locking and multiple todo files. Make read-only.
4951 (todo-mode-map): Don't suppress digit keys, so they can supply
4952 prefix arguments. Add many new key bindings.
4953 (todo-prefix): Insert as an overlay instead of file text.
4954 Change semantics from diary date expression to purely visual mark.
4955 (todo-print): Rename to todo-print-buffer. Make buffer display
4956 features printable. Remove option to restrict number of items
4957 printed. Add option to print to file.
4958 (todo-print-function): Rename to todo-print-buffer-function.
4959 (todo-quit): Extend to handle exiting new todo modes.
4960 (todo-remove-item): Make sensitive to overlays.
4961 (todo-save): Extend to buffers of filtered items.
4962 (todo-show): Make sensitive to done items, multiple todo files and
4963 new todo modes. Offer to convert legacy todo file before creating
4964 first new todo file.
4965 (todo-show-priorities): Rename to todo-top-priorities.
4966 Change semantics of value 0.
4967 (todo-top-priorities): Rename to todo-filter-top-priorities,
4968 derive from todo-filter-items and extend functionality.
4969 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4970 and extend functionality to other types of filtered items.
4971 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4972 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4973 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4974 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4975 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4976 (todo-edit-mode-hook, todo-entry-prefix-function)
4977 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4978 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4979 (todo-initials, todo-insert-threshold, todo-item-string-start)
4980 (todo-line-string, todo-menu, todo-mode-hook)
4981 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4982 (todo-print-priorities, todo-remove-separator)
4983 (todo-save-top-priorities-too, todo-string-count-lines)
4984 (todo-string-multiline-p, todo-time-string-format)
4985 (todo-tmp-buffer-name): Remove.
4986 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4987 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4988 (todo-edit-category-diary-inclusion)
4989 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4990 (todo-edit-file, todo-edit-item-date-day)
4991 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4992 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4993 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4994 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4995 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4996 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4997 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4998 (todo-filter-top-priorities-multifile, todo-find-archive)
4999 (todo-find-filtered-items-file, todo-go-to-source-item)
5000 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5001 (todo-jump-to-archive-category, todo-lower-category)
5002 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5003 (todo-move-category, todo-move-item, todo-next-button)
5004 (todo-next-item, todo-padded-string, todo-powerset)
5005 (todo-previous-button, todo-previous-item)
5006 (todo-print-buffer-to-file, todo-raise-category)
5007 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5008 (todo-set-category-number, todo-set-item-priority)
5009 (todo-set-top-priorities-in-category)
5010 (todo-set-top-priorities-in-file, todo-show-categories-table)
5011 (todo-sort-categories-alphabetically-or-numerically)
5012 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5013 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5014 (todo-toggle-item-header, todo-toggle-item-highlighting)
5015 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5016 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5017 (todo-unarchive-items, todo-unmark-category): New commands.
5018 (todo-absolute-file-name, todo-add-to-buffer-list)
5019 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5020 (todo-basic-insert-item, todo-category-completions)
5021 (todo-category-number, todo-category-string-matcher-1)
5022 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5023 (todo-check-format, todo-clear-matches)
5024 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5025 (todo-current-category, todo-date-string-matcher)
5026 (todo-define-insertion-command, todo-diary-expired-matcher)
5027 (todo-diary-goto-entry, todo-diary-item-p)
5028 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5029 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5030 (todo-done-item-section-p, todo-done-separator)
5031 (todo-done-string-matcher, todo-files, todo-filter-items)
5032 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5033 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5034 (todo-insert-category-line, todo-insert-item-from-calendar)
5035 (todo-insert-sort-button, todo-insert-with-overlays)
5036 (todo-insertion-command-name, todo-insertion-key-bindings)
5037 (todo-label-to-key, todo-longest-category-name-length)
5038 (todo-make-categories-list, todo-mode-external-set)
5039 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5040 (todo-modes-set-3, todo-multiple-filter-files)
5041 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5042 (todo-read-category, todo-read-date, todo-read-dayname)
5043 (todo-read-file-name, todo-read-time)
5044 (todo-reevaluate-category-completions-files-defcustom)
5045 (todo-reevaluate-default-file-defcustom)
5046 (todo-reevaluate-filelist-defcustoms)
5047 (todo-reevaluate-filter-files-defcustom)
5048 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5049 (todo-reset-done-separator, todo-reset-done-separator-string)
5050 (todo-reset-done-string, todo-reset-global-current-todo-file)
5051 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5052 (todo-reset-prefix, todo-set-categories)
5053 (todo-set-date-from-calendar, todo-set-show-current-file)
5054 (todo-set-top-priorities, todo-short-file-name)
5055 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5056 (todo-total-item-counts, todo-update-buffer-list)
5057 (todo-update-categories-display, todo-update-categories-sexp)
5058 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5059 New functions.
5060 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5061 New major modes.
5062 (todo-categories, todo-display, todo-edit, todo-faces)
5063 (todo-filtered): New defgroups.
5064 (todo-archived-only, todo-button, todo-category-string, todo-date)
5065 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5066 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5067 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5068 (todo-add-item-if-new-category, todo-always-add-time-string)
5069 (todo-categories-align, todo-categories-archived-label)
5070 (todo-categories-category-label, todo-categories-diary-label)
5071 (todo-categories-done-label, todo-categories-number-separator)
5072 (todo-categories-todo-label, todo-categories-totals-label)
5073 (todo-category-completions-files, todo-completion-ignore-case)
5074 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5075 (todo-done-separator-string, todo-done-string)
5076 (todo-files-function, todo-filter-done-items, todo-filter-files)
5077 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5078 (todo-initial-category, todo-initial-file, todo-item-mark)
5079 (todo-legacy-date-time-regexp, todo-mode-line-function)
5080 (todo-nondiary-marker, todo-number-prefix)
5081 (todo-print-buffer-function, todo-show-current-file)
5082 (todo-show-done-only, todo-show-first, todo-show-with-done)
5083 (todo-skip-archived-categories, todo-top-priorities-overrides)
5084 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5085 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5086 New defcustoms.
5087 (todo-category-done, todo-date-pattern, todo-date-string-start)
5088 (todo-diary-items-buffer, todo-done-string-start)
5089 (todo-filtered-items-buffer, todo-item-start)
5090 (todo-month-abbrev-array, todo-month-name-array)
5091 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5092 (todo-top-priorities-buffer): New defconsts.
5093 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5094 (todo-categories-with-marks, todo-category-string-face)
5095 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5096 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5097 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5098 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5099 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5100 (todo-font-lock-keywords, todo-global-current-todo-file)
5101 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5102 (todo-insertion-commands-args)
5103 (todo-insertion-commands-args-genlist)
5104 (todo-insertion-commands-names, todo-insertion-map)
5105 (todo-key-bindings-t, todo-key-bindings-t+a)
5106 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5107 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5108 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5109 (todo-visited): New variables.
5110
cad5d1cb
GM
51112013-06-21 Glenn Morris <rgm@gnu.org>
5112
5113 * play/cookie1.el (cookie-apropos): Add optional display argument.
5114 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5115 (psychoanalyze-pinhead): Use cookie-doctor.
5116
9e277302
JB
51172013-06-21 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * emacs-lisp/package.el (tar-get-file-descriptor)
5120 (tar--extract): Declare.
5121
c5b0993e
EW
51222013-06-21 Eduard Wiebe <usenet@pusto.de>
5123
5124 Extend flymake's warning predicate to be a function (bug#14217).
5125 * progmodes/flymake.el (flymake-warning-predicate): New.
5126 (flymake-parse-line): Use it.
5127 (flymake-warning-re): Make obsolete alias to
5128 `flymake-warning-predicate'.
5129
a7d2d465
SM
51302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5133 (package-obsolete-list): Remove.
5134 (package-activate): Remove min-version argument. Add `force' argument.
5135 Adjust to new package-alist format.
5136 (package-mark-obsolete): Remove.
5137 (package-unpack): Force reload of the package's autoloads.
5138 (package-installed-p): Check builtins if the installed package is not
5139 recent enough.
5140 (package-initialize): Don't reset package-obsolete-list.
5141 Don't specify which package version to activate.
5142 (package-process-define-package, describe-package-1)
5143 (package-menu--generate): Adjust to new package-alist format.
5144
cedf5c9d
JB
51452013-06-21 Juanma Barranquero <lekktu@gmail.com>
5146
5147 * allout-widgets.el (allout-widgets-mode-off)
5148 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5149 (allout-widgets-post-command-business)
5150 (allout-widgets-after-copy-or-kill-function)
5151 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5152 (allout-decorate-item-and-context)
5153 (allout-graphics-modification-handler): Fix typos in docstrings.
5154 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5155
5156 * cmuscheme.el (scheme-start-file): Doc fix.
5157 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5158 (scheme-input-filter): Use `string-match-p'.
5159
5160 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5161
5162 * dired-x.el: Use Dired consistently in docstrings.
5163
5164 * dired.el: Use Dired consistently in docstrings.
5165 (dired-readin, dired-mode): Use `setq-local'.
5166 (dired-switches-alist): Make defvar-local.
5167 (dired-buffers-for-dir): Use `zerop'.
5168 (dired-safe-switches-p, dired-switches-escape-p)
5169 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5170 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5171 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5172 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5173 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5174 (dired-toggle-marks, dired-mark-files-containing-regexp)
5175 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5176 (dired-flag-auto-save-files, dired-flag-backup-files):
5177 Use `looking-at-p'.
5178 (dired-mark-files-regexp, dired-build-subdir-alist):
5179 Use `string-match-p', `looking-at-p'.
5180
5181 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5182 (direct-print-region-helper): Use `string-match-p'.
5183
aed838b5
LL
51842013-06-21 Leo Liu <sdl.web@gmail.com>
5185
cedf5c9d
JB
5186 * comint.el (comint-redirect-results-list-from-process):
5187 Fix infinite loop.
aed838b5 5188
d80a808f
LMI
51892013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5190
5191 * net/eww.el (eww-update-header-line-format): Quote % characters.
5192
e7a526e3
GM
51932013-06-21 Glenn Morris <rgm@gnu.org>
5194
5195 * play/cookie1.el (cookie): New custom group.
5196 (cookie-file): New option.
5197 (cookie-check-file): New function.
5198 (cookie): Make it interactive. Make start and end messages optional.
5199 Interactively, display the result. Default to cookie-file.
5200 (cookie-insert): Default to cookie-file.
5201 (cookie-snarf): Make start and end messages optional.
5202 Default to cookie-file. Use with-temp-buffer.
5203 (cookie-read): Rename from read-cookie.
5204 Make start and end messages optional. Default to cookie-file.
5205 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5206 Do not autoload it.
e7a526e3
GM
5207 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5208 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5209
62efb35e
LL
52102013-06-21 Leo Liu <sdl.web@gmail.com>
5211
5212 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5213
21e3f963
GM
52142013-06-21 Glenn Morris <rgm@gnu.org>
5215
5216 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5217
fd846ab4
SM
52182013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5219 Daniel Hackney <dan@haxney.org>
5220
5221 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5222 Consolidate the single-file vs tarball code.
5223 (package-desc-suffix): New function.
5224 (package-desc-full-name): Don't bother inlining it.
5225 (package-load-descriptor): Return the new package-desc.
5226 (package-mark-obsolete): Remove unused arg `package'.
5227 (package-unpack): Make it work for single files as well.
5228 Make it update package-alist.
5229 (package--make-autoloads-and-stuff): Rename from
5230 package--make-autoloads-and-compile. Don't compile any more.
5231 (package--compile): New function.
5232 (package-generate-description-file): New function, extracted from
5233 package-unpack-single.
5234 (package-unpack-single): Remove.
5235 (package--with-work-buffer): Add indentation and debugging info.
5236 (package-download-single): Remove.
5237 (package-install-from-archive): Rename from package-download-tar, make
5238 it take a pkg-desc, and make it work for single files as well.
5239 (package-download-transaction): Simplify.
5240 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5241 external tar program.
5242 (package-install-from-buffer): Remove `pkg-desc' argument.
5243 Use package-tar-file-info for tar-mode buffers.
5244 (package-install-file): Simplify accordingly.
5245 (package-archive-base): Change to take a pkg-desc.
5246 * tar-mode.el (tar--check-descriptor): New function, extracted from
5247 tar-get-descriptor.
5248 (tar-get-descriptor): Use it.
5249 (tar-get-file-descriptor): New function.
5250 (tar--extract): New function, extracted from tar-extract.
5251 (tar--extract): Use it.
5252 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5253 case the summary uses non-ascii. Adjust to new calling convention of
5254 package-tar-file-info.
5255
b7deae5e
LL
52562013-06-21 Leo Liu <sdl.web@gmail.com>
5257
fd846ab4
SM
5258 * comint.el (comint-redirect-results-list-from-process):
5259 Fix random delay. (Bug#14681)
b7deae5e 5260
7a65a0b2
JB
52612013-06-21 Juanma Barranquero <lekktu@gmail.com>
5262
5263 * profiler.el (profiler-format-number): Use log, not log10.
5264
1493c2af
JB
52652013-06-20 Juanma Barranquero <lekktu@gmail.com>
5266
5267 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5268
aff6371e
SM
52692013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5272 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5273 yet available.
5274 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5275 (AUTOGENEL): ... here.
5276 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5277 (cl--defsubst-expand): Use it.
5278
89561f72
PE
52792013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5280
5281 * subr.el (log10): Move here from C code, and declare as obsolete.
5282 All uses of (log10 X) replaced with (log X 10).
5283
47199123
JB
52842013-06-20 Juanma Barranquero <lekktu@gmail.com>
5285
5286 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5287 Declare with `defvar-local'.
5288 (tabulated-list-use-header-line, tabulated-list-entries)
5289 (tabulated-list-padding, tabulated-list-printer)
5290 (tabulated-list-sort-key): Declare with `defvar-local'.
5291 (tabulated-list-init-header, tabulated-list-print-fake-header):
5292 Use `setq-local'.
5293
4a172eab
MA
52942013-06-20 Michael Albinus <michael.albinus@gmx.de>
5295
47199123
JB
5296 * arc-mode.el (archive-mode): Add `archive-write-file' to
5297 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5298
5fc0acc0
JB
52992013-06-20 Juanma Barranquero <lekktu@gmail.com>
5300
d5b27848
JB
5301 * cus-edit.el (custom-commands): Fix typos.
5302 (custom-display): Fix tooltip text.
5303 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5304 Fix typos in docstrings.
5305 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5306 (custom-unlispify-menu-entry, custom-magic-value-create)
5307 (custom-add-see-also, custom-group-value-create): Use ?\s.
5308 (custom-guess-type, customize-apropos, editable-field)
5309 (custom-face-value-create): Use `string-match-p'.
5310 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5311
5312 * custom.el (custom-load-symbol): Use `string-match-p'.
5313
a5c581d8
JB
5314 * ansi-color.el: Convert to lexical binding.
5315 (ansi-colors): Fix URL.
5316 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5317 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5318 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5319
970ad972
G
53202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5321
5322 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5323
5324 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5325
53262013-06-19 Tom Tromey <tromey@redhat.com>
5327
5328 * net/eww.el (eww-top-url): Remove.
5329 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5330 (eww-render): Set new variables. Don't set eww-top-url.
5331 (eww-handle-link): Handle "prev", "home", and "contents".
5332 Downcase the rel text.
5333 (eww-top-url): Choose best top URL.
5334
53352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336
5337 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5338 relying in widget.el. Using widget.el leads to too many
5339 user interface inconsistencies.
5340 (eww-self-insert): Implement entering commands in text fields.
5341 (eww-process-text-input): New function to make text input field editing
5342 work.
5343 (eww-submit): Rewrite to use the new-style form methods.
5344 (eww-select-display): Display the correct selected item.
5345 (eww-change-select): Implement changing the select value.
5346 (eww-toggle-checkbox): Implement radio/checkboxes.
5347 (eww-update-field): Fix compilation error.
5348 (eww-tag-textarea): Implement <textarea>.
5349
5350 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5351 we don't shadow mode-specific bindings.
5352
5353 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5354 nothing to push.
5355
5356 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5357
4582a01c 53582013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5359
5360 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5361
15b263dc
MA
53622013-06-19 Michael Albinus <michael.albinus@gmx.de>
5363
5364 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5365 not needed.
5366
5367 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5368
8f5297f7
LMI
53692013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5370
5371 * net/browse-url.el (browse-url-browser-function):
5372 `eww-browse-url' has the right calling signature, `eww' does not.
5373
011c4552
GM
53742013-06-19 Glenn Morris <rgm@gnu.org>
5375
2285bd27
GM
5376 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5377 Only eval autoloaded macros.
5378 (byte-compile-autoload): Only give the macro warning for macros.
5379
1d653303
GM
5380 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5381 (ps-underlined-faces): Declare.
5382
bdd779ec
GM
5383 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5384 (speedbar-add-supported-extension): Declare.
5385
011c4552
GM
5386 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5387 Don't include a date stamp in the header of the generated file;
5388 it leads to needless differences between output files.
5389
e59dfb0e
MA
53902013-06-19 Michael Albinus <michael.albinus@gmx.de>
5391
c763842b
SM
5392 * net/secrets.el (secrets-struct-secret-content-type):
5393 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5394 Some servers do not offer introspection.
e59dfb0e 5395
102626e2
SM
53962013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * electric.el (electric-pair-mode): Improve interaction with
5399 electric-layout-mode.
5400 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5401 (electric-pair-syntax): Use text-mode-syntax-table in comments
5402 and strings.
5403 (electric-pair--insert): New function.
5404 (electric-pair-post-self-insert-function): Use it and
5405 electric--after-char-pos.
5406
ad528125
LL
54072013-06-19 Leo Liu <sdl.web@gmail.com>
5408
5409 * progmodes/octave.el (octave-help): Fix regexp.
5410
924d6997
G
54112013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412
5413 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5414 (shr-table-horizontal-line): Allow nil as a value, and change the
5415 default.
5416 (shr-insert-table-ruler): Respect the nil value.
5417
54182013-06-18 Tom Tromey <tromey@barimba>
5419
5420 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5421 New defvars.
5422 (eww-open-file): New defun.
5423 (eww-render): Initialize new variables.
5424 (eww-display-html): Handle "link" and "a".
5425 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5426 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5427 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5428 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5429 New defuns.
924d6997 5430
d1bbba4f
DG
54312013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5432
5433 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5434 Distinguish ternary operator tokens from slash symbol and slash
5435 char literal.
5436
14dd22d2
JB
54372013-06-18 Juanma Barranquero <lekktu@gmail.com>
5438
5439 Convert symbol prettification into minor mode and global minor mode.
5440
5441 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5442 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5443 (prettify-symbols--keywords): Rename from
5444 `prog-prettify-symbols-alist' and make a local defvar.
5445 (prettify-symbols--compose-symbol): Rename from
5446 `prog--prettify-font-lock-compose-symbol'.
5447 (prettify-symbols--make-keywords): Rename from
5448 `prog-prettify-font-lock-symbols-keywords' and simplify.
5449 (prog-prettify-install): Remove.
5450 (prettify-symbols-mode): New minor mode, based on
5451 `prog-prettify-install'.
5452 (turn-on-prettify-symbols-mode): New function.
5453 (global-prettify-symbols-mode): New globalized minor mode.
5454
5455 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5456 * progmodes/cfengine.el (cfengine3-mode):
5457 * progmodes/perl-mode.el (perl-mode): Don't call
5458 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5459
292c880c
JL
54602013-06-18 Juri Linkov <juri@jurta.org>
5461
5462 * files-x.el (modify-file-local-variable-message): New function.
5463 (modify-file-local-variable)
5464 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5465 and call `modify-file-local-variable-message' when it's non-nil.
5466 (add-file-local-variable, delete-file-local-variable)
5467 (add-file-local-variable-prop-line)
5468 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5469 and use it. (Bug#9820)
5470
0950aa27
JL
54712013-06-18 Juri Linkov <juri@jurta.org>
5472
5473 * emulation/vi.el (vi-shell-op):
5474 * emulation/vip.el (vip-execute-com, ex-command):
5475 * emulation/viper-cmd.el (viper-exec-bang):
5476 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5477 the call of `shell-command-on-region'. (Bug#14637)
5478
5479 * simple.el (shell-command-on-region): Doc fix.
5480
8fbcca16
SM
54812013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5484 (bug#14633).
5485
dd7426ea
GM
54862013-06-18 Glenn Morris <rgm@gnu.org>
5487
4ba54f7d
GM
5488 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5489
dd7426ea
GM
5490 * newcomment.el (comment-search-forward, comment-search-backward):
5491 Doc fix. (Bug#14376)
5492
58aa805b
JB
54932013-06-18 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5496 (buffer-face-mode-invoke): Doc fix.
5497
9a08a617
MM
54982013-06-18 Matthias Meulien <orontee@gmail.com>
5499
5500 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5501 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5502
f2f426ca
GM
55032013-06-18 Glenn Morris <rgm@gnu.org>
5504
9445f99b
GM
5505 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5506 Replace obsolete function generic-make-keywords with its expansion.
5507
e0df2d14
GM
5508 * progmodes/python.el (ffap-alist): Declare.
5509
f2f426ca
GM
5510 * textmodes/reftex.el (bibtex-mode-map): Declare.
5511
f7f9a720
SM
55122013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5515 (package-unpack, package-unpack-single): Return the pkg-dir.
5516 (package-download-transaction): Use it to update package-alist.
5517
57ff04e0
LMI
55182013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5519
5520 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5521 possible choice.
5522
c048c022
JL
55232013-06-17 Juri Linkov <juri@jurta.org>
5524
5525 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5526
b5bcaee5
DG
55272013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5528
a020afb9
JB
5529 * emacs-lisp/package.el (package-load-descriptor):
5530 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5531 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5532
551e07e5
JB
55332013-06-17 Juanma Barranquero <lekktu@gmail.com>
5534
5535 * startup.el (command-line): Expand package name returned by
5536 `package--description-file' (bug#14639).
5537
d363bffb
DG
55382013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5539
5540 * emacs-lisp/package.el (package-load-descriptor): Do not call
5541 `emacs-lisp-mode', just use its syntax table.
5542
f612933b
JB
55432013-06-17 Juanma Barranquero <lekktu@gmail.com>
5544
5545 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5546 `font-lock-extra-managed-props' if any prettifying keyword is added.
5547 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5548 (prog-mode): Use `setq-local'.
5549
db3b7db5
SM
55502013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * international/characters.el (standard-case-table): Set syntax of ?»
5553 and ?« to punctuation.
5554
f3d674df
JB
55552013-06-16 Juanma Barranquero <lekktu@gmail.com>
5556
5557 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5558 Save relevant match data before calling `syntax-ppss' (bug#14595).
5559
31489a32
JL
55602013-06-15 Juri Linkov <juri@jurta.org>
5561
5562 * files-x.el (modify-file-local-variable-prop-line): Add local
5563 variables to the end of the existing comment on the first line.
5564 Use `file-auto-mode-skip' to skip interpreter magic line,
5565 and also skip XML declaration.
5566
66bd25ab
SM
55672013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * startup.el (package--builtin-versions): New var.
5570 (package-subdirectory-regexp): Remove.
5571 (package--description-file): Hard code its value instead.
5572
5573 * emacs-lisp/package.el: Don't activate packages older than builtin.
5574 (package-obsolete-list): Rename from package-obsolete-alist, and make
5575 it into a simple list of package-desc.
5576 (package-strip-version): Remove.
5577 (package-built-in-p): Use package--builtin-versions.
5578 (package-mark-obsolete): Simplify.
5579 (package-process-define-package): Mark it obsolete if older than the
5580 builtin version.
5581 (package-handle-response): Use line-end-position.
5582 (package-read-archive-contents, package--download-one-archive):
5583 Simplify.
5584 (package--add-to-archive-contents): Skip if older than the builtin or
5585 installed version.
5586 (package-menu-describe-package): Fix last change.
5587 (package-list-unversioned): New var.
5588 (package-menu--generate): Use it.
5589
5590 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5591 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5592 (autoload-builtin-package-versions): New variable.
5593 (autoload-generate-file-autoloads): Use them.
5594 Remove the list of autoloaded functions/macros from the
5595 (autoload...) comments.
5596
5597 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5598
9583ec36
EZ
55992013-06-15 Eli Zaretskii <eliz@gnu.org>
5600
5601 * simple.el (line-move-partial): Don't jump to the next screen
5602 line as soon as it becomes visible. Instead, continue enlarging
5603 the vscroll until the portion of a tall screen line that's left on
5604 display is about the height of the frame's default font.
5605 (Bug#14567)
5606
f0100d8a
GM
56072013-06-15 Glenn Morris <rgm@gnu.org>
5608
b86a85ca
GM
5609 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5610 compilation-error-regexp-alist void, or local while let-bound.
5611
f0100d8a
GM
5612 * progmodes/make-mode.el (makefile-mode-syntax-table):
5613 Treat "=" as punctuation. (Bug#14614)
5614
05e7ce90
JB
56152013-06-15 Juanma Barranquero <lekktu@gmail.com>
5616
5617 * help-fns.el (describe-variable):
5618 Add extra line for permanent-local variables.
5619
12e5e86e
SH
56202013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5621
5622 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5623 Add export, import, library. (Bug#9164)
5624 (library): Set indent function.
5625
230dcbaf
GM
56262013-06-14 Glenn Morris <rgm@gnu.org>
5627
5628 * term/xterm.el (xterm--query):
5629 Stop after first matching handler. (Bug#14615)
5630
e36b2d20 56312013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5632
5633 Add support for dired in saveplace.
5634 * dired.el (dired-initial-position-hook): New variable.
5635 (dired-initial-position): Call hook to place cursor position.
5636 * saveplace.el (save-place-to-alist): Add dired position.
5637 (save-place-dired-hook): New function.
5638
0b31660d
SM
56392013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5640
bf1e6ae8
SM
5641 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5642 through a symbol rather than letrec.
5643
1b8dff23
SM
5644 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5645 (package-desc): Add `dir' field.
5646 (package-desc-full-name): New function.
5647 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5648 (package-maybe-load-descriptor): Remove.
5649 (package-load-all-descriptors): Just call package-load-descriptor.
5650 (package--disabled-p): New function.
5651 (package-desc-vers, package-desc-doc): Remove aliases.
5652 (package--dir): Remove function.
5653 (package-activate): Check if a package is disabled.
5654 (package-process-define-package): New function, extracted from
5655 define-package.
5656 (define-package): Turn into a place holder.
5657 (package-unpack-single, package-tar-file-info):
5658 Use package--description-file.
5659 (package-compute-transaction): Use package--disabled-p.
5660 (package-download-transaction): Don't call
5661 package-maybe-load-descriptor since they're all loaded anyway.
5662 (package-install): Change argument to be a pkg-desc.
5663 (package-delete): Use a single pkg-desc argument.
5664 (describe-package-1): Use package-desc-dir instead of package--dir.
5665 Use package-desc property instead of package-symbol.
5666 (package-install-button-action): Adjust accordingly.
5667 (package--push): Rewrite.
5668 (package-menu--print-info): Adjust accordingly. Change the ID format
5669 to be a pkg-desc.
5670 (package-menu-describe-package, package-menu-get-status)
5671 (package-menu--find-upgrades, package-menu-mark-upgrades)
5672 (package-menu-execute, package-menu--name-predicate):
5673 Adjust accordingly.
5674 * startup.el (package--description-file): New function.
5675 (command-line): Use it.
5676 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5677 Use package-desc-version.
5678
0b31660d
SM
5679 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5680 (byte-compile-preprocess): Use it.
5681 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5682 can't quite recognize.
5683 (byte-compile-add-to-list): Remove.
5684 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5685 (cconv-closure-convert): Add assertion.
5686
5687 * emacs-lisp/map-ynp.el: Use lexical-binding.
5688 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5689 Factor out some repeated code.
5690
de0503df
SM
56912013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * subr.el (with-eval-after-load): New macro.
5694 (eval-after-load): Allow form to be a function.
5695 take advantage of lexical-binding.
5696 (do-after-load-evaluation): Use dolist and adjust to new format.
5697 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5698
bc5c8c5a
JL
56992013-06-13 Juri Linkov <juri@jurta.org>
5700
5701 * replace.el (perform-replace): Display "symbol " and other search
5702 modes from `isearch-message-prefix' in the *Help* buffer.
5703
5704 * isearch.el (isearch-query-replace): Add " symbol" and other
5705 possible search modes from `isearch-message-prefix' to the prompt.
5706 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5707 when reading a regexp to collect.
5708
a22289f7
JL
57092013-06-13 Juri Linkov <juri@jurta.org>
5710
5711 * isearch.el (word-search-regexp): Match whitespace if the search
5712 string begins or ends in whitespace. The LAX arg is applied to
5713 both ends of the search string. Use `regexp-quote' and explicit
5714 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5715 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5716 boundaries are replaced with symbol boundaries, and characters
5717 between symbols match non-word non-symbol syntax. (Bug#14602)
5718
cb89acab
JL
57192013-06-13 Juri Linkov <juri@jurta.org>
5720
5721 * isearch.el (isearch-del-char): Don't exceed the length of
5722 `isearch-string' by the prefix arg. (Bug#14563)
5723
6e8cfc81
JL
57242013-06-13 Juri Linkov <juri@jurta.org>
5725
5726 * isearch.el (isearch-yank-word, isearch-yank-line)
5727 (isearch-char-by-name, isearch-quote-char)
5728 (isearch-printing-char, isearch-process-search-char):
5729 Add optional count prefix arg. (Bug#14563)
5730
5731 * international/isearch-x.el
5732 (isearch-process-search-multibyte-characters):
5733 Add optional count prefix arg.
5734
c23d55f4
VS
57352013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5738 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5739 lexical-binding.
5740
57412013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5742
5743 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5744
ba947bc4
GM
57452013-06-13 Glenn Morris <rgm@gnu.org>
5746
8baeb37a
GM
5747 * startup.el (tty-handle-args):
5748 Don't just discard "--" and anything after. (Bug#14608)
5749
ba947bc4
GM
5750 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5751
9abefce4
MA
57522013-06-13 Michael Albinus <michael.albinus@gmx.de>
5753
5754 Implement changes in Secret Service API. Make it backward compatible.
5755 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5756 (secrets-create-item): Use it. Prefix properties with interface.
5757
5755011f
MH
57582013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5759
5760 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5761 (term-emulate-terminal): Respect term-suppress-hard-newline.
5762
1261d2da
S
57632013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5764
5765 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5766 Only remove a `thumb-file' overlay. (Bug#14548)
5767
868490bb
GJ
57682013-06-12 Grégoire Jadi <daimrod@gmail.com>
5769
5770 * mail/reporter.el (reporter-submit-bug-report):
5771 Handle missing package-name. (Bug#14600)
5772
79d7167f
TH
57732013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5774
5775 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5776 (reftex-citation-prompt, reftex-default-bibliography)
5777 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5778 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5779 (reftex-bib-sort-author, reftex-bib-sort-year)
5780 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5781 (reftex-extract-bib-entries-from-thebibliography)
5782 (reftex-get-bibkey-default, reftex-get-bib-names)
5783 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5784 (reftex-format-bib-entry, reftex-parse-bibitem)
5785 (reftex-format-bibitem, reftex-do-citation)
5786 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5787 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5788 (reftex-insert-bib-matches, reftex-format-citation)
5789 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5790 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5791 existing comments into docstrings.
5792
5f9dbd7a
XF
57932013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5794
5795 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5796
94df41ab
AS
57972013-06-12 Andreas Schwab <schwab@suse.de>
5798
5799 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5800 for auto-save files.
5801
a7f3fecc
GM
58022013-06-12 Glenn Morris <rgm@gnu.org>
5803
001809f6
GM
5804 * ido.el (ido-delete-ignored-files): Remove.
5805 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5806 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5807
834b5ded
EL
58082013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5809
08c73ed2
EL
5810 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5811
834b5ded
EL
5812 * ido.el (ido-delete-ignored-files): New function,
5813 split from ido-make-file-list-1.
5814 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5815 (ido-make-file-list-1): Use ido-delete-ignored-files.
5816
daabf15a
LL
58172013-06-12 Leo Liu <sdl.web@gmail.com>
5818
5819 * progmodes/octave.el (inferior-octave-startup)
5820 (inferior-octave-completion-table)
5821 (inferior-octave-track-window-width-change)
5822 (octave-eldoc-function-signatures, octave-help)
5823 (octave-find-definition): Use single quoted strings.
5824 (inferior-octave-startup-args): Change default value.
5825 (inferior-octave-startup): Do not hard code "-i" and
5826 "--no-line-editing".
5827 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5828 (inferior-octave-directory-tracker): Use it.
5829 (octave-goto-function-definition): Robustify.
5830 (octave-help): Support highlighting operators in 'See also'.
5831 (octave-find-definition): Find subfunctions only in Octave mode.
5832
cf4e5178
SM
58332013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * help-fns.el (help-fns--compiler-macro): If the handler function is
5836 named, then put a link to it.
5837 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5838 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5839 (cl-typep): Use it.
5840 (cl-eval-when): Simplify debug spec.
5841 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5842 compiler-macro function instead of setting `compiler-macro-file'.
5843
99c81280 58442013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5845
5846 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5847 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5848
f56be016
SM
58492013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5850 Daniel Hackney <dan@haxney.org>
5851
5852 First part of Daniel Hackney's patch to package.el.
5853 * emacs-lisp/package.el: Use defstruct.
5854 (package-desc): New, main struct.
5855 (package--bi-desc, package--ac-desc): New structs, used to describe the
5856 format in external files.
5857 (package-desc-vers): Replace with package-desc-version accessor.
5858 (package-desc-doc): Replace with package-desc-summary accessor.
5859 (package-activate-1): Remove `package' arg since the pkg-vec now
5860 includes the name.
5861 (define-package): Use package-desc-from-define.
5862 (package-unpack-single): Change file-name arg to be a symbol.
5863 (package--add-to-archive-contents): Use package-desc-create and new
5864 accessor functions to package--ac-desc.
5865 (package-buffer-info, package-tar-file-info): Return a package-desc.
5866 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5867 arg to be a package-desc.
5868 (package-install-file): Adjust accordingly. Use \' to match EOS.
5869 (package--from-builtin): New function.
5870 (describe-package-1, package-menu--generate): Use it.
5871 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5872 (package-generate-autoloads): Idem and return the name of the file.
5873 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5874 Change pkg-info arg to be a package-desc.
5875 Use package-make-ac-desc.
5876 (package-upload-file): Use \' to match EOS.
5877 * finder.el (finder-compile-keywords): Use package-make-builtin.
5878
31119d63
SM
58792013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5880
931a2762
SM
5881 * vc/vc.el (vc-deduce-fileset): Change error message.
5882 (vc-read-backend): New function.
5883 (vc-next-action): Use it.
5884
5a3eb0c6
SM
5885 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5886
e3eb1bb7
SM
5887 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5888 (prolog-font-lock-keywords): Use regexp-opt instead.
5889 Don't manually highlight strings.
5890 (prolog-mode-variables): Simplify comment-start-skip.
5891 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5892
31119d63
SM
5893 * emacs-lisp/generic.el (generic--normalise-comments)
5894 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5895 (generic-mode-set-comments): Use them.
5896 (generic-bracket-support): Use setq-local.
5897 (generic-make-keywords-list): Declare obsolete.
5898
7de135d0
GM
58992013-06-11 Glenn Morris <rgm@gnu.org>
5900
5901 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5902 Prettify after setting font-lock-defaults. (Bug#14574)
5903
fa6bc6fd
JB
59042013-06-11 Juanma Barranquero <lekktu@gmail.com>
5905
5906 * replace.el (query-replace, occur-read-regexp-defaults-function)
5907 (replace-search):
5908 * subr.el (declare-function, number-sequence, local-set-key)
5909 (substitute-key-definition, locate-user-emacs-file)
5910 (with-silent-modifications, split-string, eval-after-load):
5911 Fix typos, remove unneeded backslashes and reflow some docstrings.
5912
cf1f9b9a
SM
59132013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5916 default for Elisp files.
5917
56602a4b
GM
59182013-06-11 Glenn Morris <rgm@gnu.org>
5919
5920 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5921 although define-derived-mode was doing this anyway. (Bug#14583)
5922
30ae0b2c
JB
59232013-06-10 Juanma Barranquero <lekktu@gmail.com>
5924
5925 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5926 Fix make-variable-buffer-local call to refer to the correct variable.
5927
fa472906
AG
59282013-06-10 Aidan Gauland <aidalgol@amuri.net>
5929
5930 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5931 (eshell-visual-subcommands, eshell-visual-options):
5932 Add summary line to docstrings. Add cross-references.
fa472906 5933
ff4871b9
GM
59342013-06-10 Glenn Morris <rgm@gnu.org>
5935
5936 * epa.el (epa-read-file-name): New function. (Bug#14510)
5937 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5938
04fcf1b0
AG
59392013-06-09 Aidan Gauland <aidalgol@amuri.net>
5940
5941 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5942 output redirection to be ignored with visual commands.
5943
88b00caa
AG
59442013-06-09 Aidan Gauland <aidalgol@amuri.net>
5945
5946 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5947 (eshell-term-initialize): Move long lambda to separate function
5948 eshell-visual-command-p.
e7b41c4c
JB
5949 * eshell/em-dirs.el (eshell-dirs-initialise):
5950 * eshell/em-script.el (eshell-script-initialize):
5951 Add missing #' to lambda.
88b00caa 5952
fda74125
LL
59532013-06-08 Leo Liu <sdl.web@gmail.com>
5954
5955 * progmodes/octave.el (octave-add-log-current-defun): New function.
5956 (octave-mode): Set add-log-current-defun-function.
5957 (octave-goto-function-definition): Do not move point if not found.
5958 (octave-find-definition): Enhance to try subfunctions first.
5959
467f3b33
GM
59602013-06-08 Glenn Morris <rgm@gnu.org>
5961
5962 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5963 (byte-compile-backward-char, byte-compile-backward-word):
5964 Improve previous change, to handle non-explicit nil.
5965
544badc3
SM
59662013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5969 (smie--opener/closer-at-point): New function.
5970 (smie--matching-block-data): Use it. Don't match from right after an
5971 opener or right before a closer. Obey smie-blink-matching-inners.
5972 Don't signal a mismatch for repeated inners like "switch..case..case".
5973
a175bf33
LL
59742013-06-07 Leo Liu <sdl.web@gmail.com>
5975
5976 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5977 to t. (Bug#14303)
ce8209d4
LL
5978 (octave-function-header-regexp): Fix. (Bug#14570)
5979 (octave-help-mode-finish-hook, octave-help-mode-finish):
5980 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5981
5982 * newcomment.el (comment-search-backward): Revert last change.
5983 (Bug#14434)
5984
5985 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5986
a822acff
EZ
59872013-06-07 Eli Zaretskii <eliz@gnu.org>
5988
5989 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5990 through xargs, to avoid failure due to MS-Windows limitations on
5991 command-line length.
5992
961166f5
GM
59932013-06-06 Glenn Morris <rgm@gnu.org>
5994
d0341459
GM
5995 * font-lock.el (lisp-font-lock-keywords-2):
5996 Treat user-error like error.
5997
961166f5
GM
5998 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5999 (byte-compile-backward-char, byte-compile-backward-word):
6000 Handle explicit nil arguments. (Bug#14565)
6001
80fa505f
AM
60022013-06-05 Alan Mackenzie <acm@muc.de>
6003
6004 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6005 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6006 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6007 (Bug#9706)
80fa505f 6008
fccdc796
SM
60092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * autorevert.el (auto-revert-notify-handler): Use memq.
6012 Hide assertion failure.
6013
6014 * skeleton.el: Use cl-lib.
6015 (skeleton-further-elements): Use defvar-local.
6016 (skeleton-insert): Use cl-progv.
6017
9bfff84b
TZ
60182013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6019
6020 * progmodes/prog-mode.el (prog-prettify-symbols)
6021 (prog-prettify-install): Update docstrings.
6022
55577e7c
SM
60232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * simple.el: Move all the prog-mode code to prog-mode.el.
6026 * progmodes/prog-mode.el: New file.
6027 * loadup.el: Add prog-mode.el.
6028
8fc57765
TZ
60292013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6030
6031 * simple.el (prog-prettify-symbols): Add version.
6032 (prog-prettify-install): Add convenience function to prettify symbols.
6033
6034 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6035 (perl--augmented-font-lock-keywords-1)
6036 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6037 variables and use it.
6038
6039 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6040 (cfengine3-mode): Remove unneeded variable and use it.
6041
6042 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6043 (lisp--augmented-font-lock-keywords-1)
6044 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6045 Remove unneeded variables and use it.
6046
650645d5 60472013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6048
6049 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6050 to point when opening the connection. (Bug#14380)
28f5da6d 6051
781b4af6
SM
60522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * subr.el (load-history-regexp, load-history-filename-element)
6055 (eval-after-load, after-load-functions, do-after-load-evaluation)
6056 (eval-next-after-load, display-delayed-warnings)
6057 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6058 definition of save-match-data.
6059 (overriding-local-map): Remove accidental obsolescence declaration.
6060
6061 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6062
3ca0d0b4
TZ
60632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6064
6065 Generalize symbol prettify support to prog-mode and implement it
6066 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6067 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6068 (prog--prettify-font-lock-compose-symbol)
6069 (prog-prettify-font-lock-symbols-keywords): New variables and
6070 functions to support symbol prettification.
6071 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6072 (lisp--augmented-font-lock-keywords-1)
6073 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6074 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6075 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6076 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6077 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6078 * progmodes/perl-mode.el (perl-prettify-symbols)
6079 (perl--font-lock-compose-symbol)
6080 (perl--font-lock-symbols-keywords): Move to prog-mode.
6081 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6082 (perl-font-lock-keywords-1)
6083 (perl-font-lock-keywords-2): Remove explicit prettify support.
6084 (perl--augmented-font-lock-keywords)
6085 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6086 (perl--augmented-font-lock-keywords-2, perl-mode):
6087 Implement prettify support.
3ca0d0b4 6088
976cb066
LL
60892013-06-05 Leo Liu <sdl.web@gmail.com>
6090
6091 Re-implement smie matching block highlight using
6092 show-paren-data-function. (Bug#14395)
6093 * emacs-lisp/smie.el (smie-matching-block-highlight)
6094 (smie--highlight-matching-block-overlay)
6095 (smie--highlight-matching-block-lastpos)
6096 (smie-highlight-matching-block)
6097 (smie-highlight-matching-block-mode): Remove.
6098 (smie--matching-block-data-cache): New variable.
6099 (smie--matching-block-data): New function.
6100 (smie-setup): Use smie--matching-block-data for
6101 show-paren-data-function.
6102
6103 * progmodes/octave.el (octave-mode-menu): Fix.
6104 (octave-find-definition): Skip garbage lines.
6105
208d0342
SM
61062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 Fix compilation error with simultaneous dynamic+lexical scoping.
6109 Add warning when a defvar appears after the first let-binding.
6110 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6111 (byte-compile-close-variables): Initialize it.
6112 (byte-compile--declare-var): New function.
6113 (byte-compile-file-form-defvar)
6114 (byte-compile-file-form-define-abbrev-table)
6115 (byte-compile-file-form-custom-declare-variable): Use it.
6116 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6117 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6118 (byte-compile-bind): Handle dynamic bindings that shadow
6119 lexical bindings.
6120 (byte-compile-unbind): Make arg non-optional.
6121 (byte-compile-let): Simplify.
6122 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6123 (cconv--analyse-function, cconv-analyse-form): Populate it.
6124 Protect byte-compile-bound-variables to limit the scope of defvars.
6125 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6126 Remove unneeded rule for `declare'.
6127
6128 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6129 so as to avoid depending on cl-adjoin at run-time.
6130 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6131
6132 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6133 (macroexp--warn-and-return): Use it.
6134
2587b005
LL
61352013-06-05 Leo Liu <sdl.web@gmail.com>
6136
6137 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6138
f1da3c88
LL
61392013-06-04 Leo Liu <sdl.web@gmail.com>
6140
6141 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6142 (compilation-auto-jump): Suppress the "Mark set" message to give
6143 way to exit message.
6144
3caa391f
AM
61452013-06-04 Alan Mackenzie <acm@muc.de>
6146
6147 Remove faulty optimisation from indentation calculation.
6148 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6149 search limit based on 2000 characters back from indent-point.
6150
068922a2
TH
61512013-06-03 Tassilo Horn <tsdh@gnu.org>
6152
6153 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6154
1f8fdd53
SM
61552013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6156
bbcc4d97
SM
6157 * emacs-lisp/lisp.el: Use lexical-binding.
6158 (lisp--local-variables-1, lisp--local-variables): New functions.
6159 (lisp--local-variables-completion-table): New var.
208d0342 6160 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6161
1f8fdd53
SM
6162 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6163 eagerly (bug#14422).
6164
c9628c79
MA
61652013-06-03 Michael Albinus <michael.albinus@gmx.de>
6166
6167 * autorevert.el (auto-revert-notify-enabled)
6168 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6169 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6170 (auto-revert-notify-handler): Handle also gfilenotify.
6171
e7b41c4c 6172 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6173 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6174 Remove.
c9628c79 6175
e5e4a942
JL
61762013-06-03 Juri Linkov <juri@jurta.org>
6177
6178 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6179 `M-s h .'. (Bug#14427)
6180
6181 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6182 command `hi-lock-face-symbol-at-point'.
6183 (hi-lock-face-symbol-at-point): New command.
6184 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6185 (hi-lock-menu): Add `highlight-symbol-at-point'.
6186 (hi-lock-mode): Doc fix.
6187
6188 * isearch.el (isearch-forward-symbol-at-point): New command.
6189 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6190 (isearch-highlight-regexp): Add a regexp which matches
6191 words/symbols for word/symbol mode.
6192
6193 * subr.el (find-tag-default-bounds): New function with the body
6194 mostly moved from `find-tag-default'.
6195 (find-tag-default): Move most code to `find-tag-default-bounds',
6196 call it and apply `buffer-substring-no-properties' afterwards.
6197
26b3353a
TH
61982013-06-03 Tassilo Horn <tsdh@gnu.org>
6199
781b4af6
SM
6200 * eshell/em-term.el (eshell-term-initialize):
6201 Use `cl-intersection' rather than `intersection'.
26b3353a 6202
51b60f53
XF
62032013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6204
fe054b63 6205 * vc/log-view.el: Doc fix.
d3ffe17c 6206 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6207
a0eb10b3 62082013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6209
6210 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6211 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6212 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6213 (eieio-unbound, eieio-default-superclass)
6214 (eieio--define-field-accessors, method-static, method-before)
6215 (method-primary, method-after, method-num-lists)
6216 (method-generic-before, method-generic-primary)
6217 (method-generic-after, method-num-slots)
6218 (eieio-specialized-key-to-generic-key)
6219 (eieio--check-type, class-v, class-p)
6220 (eieio-class-name, define-obsolete-function-alias)
6221 (eieio-class-parents-fast, eieio-class-children-fast)
6222 (same-class-fast-p, class-constructor, generic-p)
6223 (generic-primary-only-p, generic-primary-only-one-p)
6224 (class-option-assoc, class-option, eieio-object-p)
6225 (class-abstract-p, class-method-invocation-order)
6226 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6227 (eieio-class-un-autoload, eieio-defclass)
6228 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6229 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6230 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6231 (eieio-defgeneric-reset-generic-form)
6232 (eieio-defgeneric-form-primary-only)
6233 (eieio-defgeneric-reset-generic-form-primary-only)
6234 (eieio-defgeneric-form-primary-only-one)
6235 (eieio-defgeneric-reset-generic-form-primary-only-one)
6236 (eieio-unbind-method-implementations)
6237 (eieio--defmethod, eieio--typep)
6238 (eieio-perform-slot-validation, eieio-validate-slot-value)
6239 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6240 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6241 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6242 (eieio-slot-name-index, eieio-class-slot-name-index)
6243 (eieio-set-defaults, eieio-initarg-to-attribute)
6244 (eieio-attribute-to-initarg, eieio-c3-candidate)
6245 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6246 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6247 (eieio-class-precedence-list, eieio-generic-call-methodname)
6248 (eieio-generic-call-arglst, eieio-generic-call-key)
6249 (eieio-generic-call-next-method-list)
6250 (eieio-pre-method-execution-functions, eieio-generic-call)
6251 (eieio-generic-call-primary-only, eieiomt-method-list)
6252 (eieiomt-optimizing-obarray, eieiomt-install)
6253 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6254 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6255 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6256 (defclass): Remove `eval-and-compile' from macro.
6257 (call-next-method, shared-initialize): Instead of using
6258 `scoped-class' variable, use new eieio--scoped-class, and
6259 eieio--with-scoped-class.
6260 (initialize-instance): Rename local variable 'scoped-class' to
6261 'this-class' to remove ambiguitity from old global.
6262
6263 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6264 eieio.el.
4f405069
JB
6265 (eieio--scoped-class-stack): New variable.
6266 (eieio--scoped-class): New fcn.
890f7890
DE
6267 (eieio--with-scoped-class): New scoping macro.
6268 (eieio-defclass): Use pushnew instead of add-to-list.
6269 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6270 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6271 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6272 `scoped-class' variable, use new eieio--scoped-class, and
6273 eieio--with-scoped-class.
6274
6275 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6276
d105b0e2
TH
62772013-06-02 Tassilo Horn <tsdh@gnu.org>
6278
6279 * eshell/esh-ext.el (eshell-external-command): Pass args to
6280 `eshell-find-interpreter'.
6281 (eshell-find-interpreter): Add new second parameter ARGS.
6282
6283 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6284 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6285
6286 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6287 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6288
6289 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6290 (eshell-visual-options): New defcustom.
6291 (eshell-escape-control-x): Adapt docstring.
6292 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6293 `eshell-visual-options' in addition to `eshell-visual-commands'.
6294 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6295
f46305c8 62962013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6297
6298 * progmodes/python.el (python-indent-block-enders): Add break,
6299 continue and raise keywords.
6300
d870df21
GM
63012013-06-01 Glenn Morris <rgm@gnu.org>
6302
9133b82e
GM
6303 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6304
02c992ec 6305 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6306 * progmodes/cc-cmds.el (delete-forward-p):
6307 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6308 * progmodes/cc-engine.el (buffer-syntactic-context):
6309 * progmodes/cc-fonts.el (face-property-instance):
6310 * progmodes/cc-mode.el (set-keymap-parents):
6311 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6312 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6313 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6314 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6315 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6316
31e7b090
GM
6317 * progmodes/cc-vars.el (other): Emacs has this widget since
6318 at least 21.1, so don't (re)define it.
6319
d870df21
GM
6320 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6321 Replace the obsolete alias pcomplete-arg-quote-list.
6322
c75c93c7
LL
63232013-06-01 Leo Liu <sdl.web@gmail.com>
6324
6325 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6326 punctuation syntax.
6327 (inferior-octave-minimal-columns)
6328 (inferior-octave-last-column-width): New variables.
6329 (inferior-octave-track-window-width-change): New function.
6330 (inferior-octave-mode): Adjust column width so that Octave output,
6331 for example from 'ls', can fit into the window nicely.
6332
973d1e12
DG
63332013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6336 Highlight expansions inside regexp literals.
6337
0888c286
GM
63382013-05-31 Glenn Morris <rgm@gnu.org>
6339
e26aac1f
GM
6340 * obsolete/sym-comp.el (symbol-complete):
6341 Replace obsolete completion-annotate-function.
6342
0888c286
GM
6343 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6344
19bb8e62
DG
63452013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6346
781b4af6
SM
6347 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6348 New function, checks if point is inside a literal that allows
19bb8e62
DG
6349 expression expansion.
6350 (ruby-syntax-propertize-expansion): Use it.
6351 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6352 around the body.
6353
01dea85f
JL
63542013-05-30 Juri Linkov <juri@jurta.org>
6355
6356 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6357 to "\M-si".
6358 (isearch-invisible): New variable.
6359 (isearch-forward): Doc fix.
6360 (isearch-mode): Set `isearch-invisible'
6361 to the value of `search-invisible'.
6362 (isearch-toggle-case-fold): Doc fix.
6363 (isearch-toggle-invisible): New command.
6364 (isearch-query-replace): Let-bind `search-invisible'
6365 to the value of `isearch-invisible'.
6366 (isearch-search): Use `isearch-invisible' instead of
6367 `search-invisible'. Let-bind `search-invisible'
6368 to the value of `isearch-invisible'. (Bug#11378)
6369
ab1bdce5
JL
63702013-05-30 Juri Linkov <juri@jurta.org>
6371
6372 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6373 call when `query-flag' is nil and `search-invisible' is non-nil.
6374 (Bug#11746)
6375
d6d236e2
GM
63762013-05-30 Glenn Morris <rgm@gnu.org>
6377
8accd027
GM
6378 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6379
2a8bed1c
GM
6380 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6381 (cc-require): Suppress spurious "noruntime" warnings.
6382 (cc-require-when-compile): Use fboundp, for sake of compiler.
6383
d6d236e2
GM
6384 * progmodes/cc-mode.el: Move load of cc-vars before that of
6385 cc-langs (which in turn loads cc-vars), to quieten compiler.
6386
9190b35b
SM
63872013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * paren.el: Simplify the code.
6390 (show-paren-mode): Always start the timer.
6391 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6392 (show-paren--overlay, show-paren--overlay-1): Rename from
6393 show-paren-overlay and show-paren-overlay-1, and initialize to an
6394 overlay rather than to nil.
6395 (show-paren-function): Misc cleanup and simplifications.
6396
4f8d1cf6
SM
63972013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * paren.el (show-paren-data-function): New hook.
6400 (show-paren--default): New function, extracted from show-paren-function.
6401 (show-paren-function): Use show-paren-data-function.
6402
02d844b5
GM
64032013-05-30 Glenn Morris <rgm@gnu.org>
6404
d209d4a9
GM
6405 * ielm.el (ielm-map, ielm-complete-symbol):
6406 Use completion-at-point rather than obsolete functions.
6407 (inferior-emacs-lisp-mode): Doc fix.
6408 Set completion-at-point-functions, rather than
6409 comint-dynamic-complete-functions.
6410
2082faa6
GM
6411 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6412 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6413 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6414
dd8620de
GM
6415 * image.el (image-animated-p): Tweak definition.
6416
ceca95b1
GM
6417 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6418 (rlogin-process-connection-type): Tweak default. Add set-after.
6419 (rlogin-host): Doc fix.
6420 (rlogin): Tweak prompt.
6421 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6422
ee9f1acc
GM
6423 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6424 * progmodes/tcl.el (inferior-tcl-mode-map):
6425 Use completion-at-point rather than obsolete alias.
6426
45ce222e
GM
6427 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6428
02d844b5
GM
6429 * minibuffer.el (read-file-name-completion-ignore-case):
6430 Move before completion--in-region, for eager macro expansion.
6431
ac44d6c1
JL
64322013-05-29 Juri Linkov <juri@jurta.org>
6433
6434 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6435 for total count of matching lines. Add `global-matches' for total
6436 count of matches. Rename `matches' to `lines' for count of
6437 matching lines. Add `matches' for count of matches.
6438 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6439 to `prev-line' for line number of prev match endpt.
6440 Increment `matches' for every match. Print the number of
6441 matching lines in the header.
6442 (occur-context-lines): Rename `lines' to `curr-line'.
6443 Rename `prev-lines' to `prev-line'. (Bug#14017)
6444
3c9c9d38
JL
64452013-05-29 Juri Linkov <juri@jurta.org>
6446
6447 * replace.el (perform-replace): Add `skip-read-only-count',
6448 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6449 Increment them for corresponding conditions and report the number
6450 of skipped occurrences in the final message. (Bug#11746)
6451 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6452 (replace-string, replace-regexp): Doc fix.
6453
33e249a2
SM
64542013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6455
8e399682
SM
6456 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6457
33e249a2 6458 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6459 prog-mode-map (bug#14504).
33e249a2 6460
f236dd84
LL
64612013-05-29 Leo Liu <sdl.web@gmail.com>
6462
6463 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6464 (octave-help): Small simplification.
6465
6466 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6467 off the highlight first.
6468
3694d13f
GM
64692013-05-29 Glenn Morris <rgm@gnu.org>
6470
03983bdc
GM
6471 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6472 Handle idlwave-last-system-routine-info-cons-cell being nil.
6473
bc74a74a
GM
6474 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6475 (idlwave-write-paths): Simplify via with-temp-buffer.
6476
8b394200
GM
6477 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6478 * emulation/cua-rect.el: Also load cua-base at run time.
6479
3694d13f
GM
6480 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6481 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6482 (cperl-imenu-on-info): Require imenu.
6483
336d7284
AM
64842013-05-28 Alan Mackenzie <acm@muc.de>
6485
6486 Handle "capitalised keywords" correctly.
33e249a2 6487 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6488
cb29c582
AG
64892013-05-28 Aidan Gauland <aidalgol@amuri.net>
6490
781b4af6 6491 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6492
690e44b2
GM
64932013-05-28 Glenn Morris <rgm@gnu.org>
6494
e658d75c
GM
6495 * vc/vc-arch.el (vc-exec-after): Declare.
6496 (vc-switches): Autoload.
6497 * vc/vc-bzr.el: No need to require vc when compiling.
6498 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6499 (vc-resynch-buffer, vc-dir-refresh): Declare.
6500 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6501 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6502 (vc-resynch-buffer): Declare.
6503 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6504 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6505 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6506 (grep-read-regexp, grep-read-files, grep-expand-template)
6507 (vc-dir-refresh): Declare.
6508 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6509 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6510 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6511 * vc/vc-mtn.el (vc-exec-after): Declare.
6512 (vc-switches): Autoload.
6513 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6514 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6515 (vc-file-tree-walk): Declare.
712b9732
GM
6516 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6517 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6518 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6519 * vc/vc-svn.el (vc-exec-after): Declare.
6520 (vc-switches, vc-setup-buffer): Autoload.
6521 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6522 Autoload.
6523 (vc-resynch-buffer): Declare.
6524
98e87fb3
GM
6525 * obsolete/fast-lock.el (byte-compile-warnings):
6526 Don't warn about obsolete features in this obsolete file.
6527
f5379553
GM
6528 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6529 Move definition before use.
6530
7a20ef83
GM
6531 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6532 (dun-unix-verbs): Remove dun-zippy.
6533 (dun-zippy): Remove function.
6534
690e44b2
GM
6535 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6536
3a52ccf7
JL
65372013-05-27 Juri Linkov <juri@jurta.org>
6538
6539 * replace.el (replace-search): New function with code moved out
6540 from `perform-replace'.
6541 (replace-highlight, replace-dehighlight): Move function definitions
6542 up closer to `replace-search'. (Bug#11746)
6543
d289938a
JL
65442013-05-27 Juri Linkov <juri@jurta.org>
6545
6546 * replace.el (perform-replace): Ignore invisible matches.
6547 In addition to checking `query-replace-skip-read-only', also
6548 filter out matches by calling `run-hook-with-args-until-failure'
6549 on `isearch-filter-predicates', and also check `search-invisible'
6550 for t or call `isearch-range-invisible'.
6551 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6552
66fc57e3
JL
65532013-05-27 Juri Linkov <juri@jurta.org>
6554
6555 * isearch.el (isearch-filter-predicates): Rename from
6556 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6557 (isearch-message-prefix): Display text from the property
6558 `isearch-message-prefix' of the currently active filters.
6559 (isearch-search): Don't compare `isearch-filter-predicate' with
6560 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6561 on `isearch-filter-predicates'. Also check `search-invisible' for t
6562 or call `isearch-range-invisible'.
6563 (isearch-filter-visible): Make obsolete.
6564 (isearch-lazy-highlight-search):
6565 Call `run-hook-with-args-until-failure' on
6566 `isearch-filter-predicates' and use `isearch-range-invisible'.
6567
6568 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6569 `isearch-filter-predicates' instead of `funcall'ing
6570 `isearch-filter-predicate'.
6571 (Info-mode): Set `Info-isearch-filter' to
6572 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6573
6574 * dired-aux.el (dired-isearch-filter-predicate-orig):
6575 Remove variable.
6576 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6577 (dired-isearch-filenames-end): Add and remove
6578 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6579 instead of changing the value of `isearch-filter-predicate'.
6580 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6581 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6582 Put property `isearch-message-prefix' to "filename " on
6583 `dired-isearch-filter-filenames'.
6584
6585 * wdired.el (wdired-change-to-wdired-mode):
6586 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6587 locally instead of changing `isearch-filter-predicate'.
6588 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6589
f1a60a0f
DG
65902013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6591
6592 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6593 return the commit hash (Bug#14459). Also set the
6594 `vc-git-detached' property.
6595 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6596 (vc-git-mode-line-string): Use the same help-echo format whether
6597 in detached mode or not, because we know the actual revision now.
6598 When in detached mode, shorten the revision to 7 chars.
6599
7f17cc40
SM
66002013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * emacs-lisp/easy-mmode.el (define-minor-mode):
6603 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6604 mode hook and provide a docstring.
6605
25c8401c
AM
66062013-05-27 Alan Mackenzie <acm@muc.de>
6607
6608 Remove spurious syntax-table text properties inserted by C-y.
6609 * progmodes/cc-mode.el (c-after-change): Also clear hard
6610 syntax-table property with value nil.
6611
dde84790
MA
66122013-05-27 Michael Albinus <michael.albinus@gmx.de>
6613
6614 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6615 when reading the events; the buffer layout shall not be changed.
6616
837fd9af
LL
66172013-05-27 Leo Liu <sdl.web@gmail.com>
6618
6619 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6620 New variable.
6621 (inferior-octave-directory-tracker): Automatically re-sync
6622 default-directory.
6623 (octave-help): Improve handling of 'See also'.
6624
4fd996b3
SM
66252013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6626
416f1802
SM
6627 * doc-view.el: Minor naming convention tweaks.
6628 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6629
4fd996b3
SM
6630 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6631 even if there's no `display' property yet (bug#14435).
6632
a052ef3b
EZ
66332013-05-25 Eli Zaretskii <eliz@gnu.org>
6634
4fd996b3 6635 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6636
6637 * Makefile.in (custom-deps, finder-data, autoloads)
6638 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6639 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6640 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6641
c9023370
SM
66422013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6645 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6646 Don't burp at EOB.
c9023370 6647
24d699fa
LL
66482013-05-25 Leo Liu <sdl.web@gmail.com>
6649
6650 * comint.el (comint-previous-matching-input): Do not flood the
6651 *Messages* buffer with trivial messages.
6652
17e5c0cc
SM
66532013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * progmodes/flymake.el (flymake-nop): Don't return a string.
6656 (flymake-set-at): Fix typo.
6657
6658 * simple.el (read--expression): New function, extracted from
6659 eval-expression. Set completion-at-point-functions (bug#14465).
6660 (eval-expression, eval-minibuffer): Use it.
6661
5d028165
XF
66622013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6663
6664 * progmodes/flymake.el (flymake-save-buffer-in-file)
6665 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6666 (flymake-selected-frame, flymake-log, flymake-ins-after)
6667 (flymake-set-at, flymake-get-buildfile-from-cache)
6668 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6669 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6670 Refine the doc string.
6671 (flymake-get-file-name-mode-and-masks): Reformat.
6672 (flymake-get-real-file-name-function): Fix a minor bug.
6673
7a1d7ba7
JL
66742013-05-24 Juri Linkov <juri@jurta.org>
6675
6676 * progmodes/grep.el (grep-mode-font-lock-keywords):
6677 Support =linenumber= format used by git-grep for lines with
6678 function names. (Bug#13549)
6679
650cff3d
SM
66802013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6683 0 after a semi-colon; it works better for smie-auto-fill.
6684 (octave--indent-new-comment-line): New function.
6685 (octave-indent-new-comment-line): Use it (indirectly).
6686 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6687 modify comment-line-break-function.
6688
6689 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6690 (smie-setup): Use add-function to set it.
6691
9631677d
SS
66922013-05-24 Sam Steingold <sds@gnu.org>
6693
6694 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6695 argument (before the `interactive' argument).
6696
50105835
SM
66972013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * image-mode.el (image-mode-winprops): Add winprops to
6700 image-mode-winprops-alist before running
6701 image-mode-new-window-functions.
6702 * doc-view.el (doc-view-new-window-function): Don't delay
6703 doc-view-goto-page via timers (bug#14435).
6704
57b9823e
TH
67052013-05-24 Tassilo Horn <tsdh@gnu.org>
6706
6707 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6708 (doc-view-desktop-save-buffer): New function.
6709 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6710 (desktop-buffer-mode-handlers):
6711 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6712 handler.
6713 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6714 `desktop-save-buffer' function.
6715
91aafa16
MA
67162013-05-24 Michael Albinus <michael.albinus@gmx.de>
6717
6718 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6719 (tramp-gvfs-file-name-handler): Raise a user error when
6720 `tramp-gvfs-enabled' is nil.
6721 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6722 Do not raise a user error when loading package. (Bug#14447)
6723
ec076379
MA
6724 * net/xesam.el: Move to obsolete/.
6725
db785726
GM
67262013-05-24 Glenn Morris <rgm@gnu.org>
6727
af5c7606
GM
6728 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6729
e5d1916a
GM
6730 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6731
ded62b08
GM
6732 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6733 (Info-find-node, Man-getpage-in-background): Declare.
6734
9e614a3f
GM
6735 * mail/unrmail.el (unrmail):
6736 Replace obsolete detect-coding-with-priority.
6737
892f8ca3
GM
6738 * net/socks.el (socks-split-string): Use this rather than split-string.
6739 (socks-nslookup-host): Update for above change.
6740 (dynamic-choice, s5-dynamic-choice-match)
6741 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6742 Comment out unused code.
6743
3c291973
GM
6744 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6745 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6746 (gud-tooltip-echo-area): Make obsolete.
6747 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6748
43cc956b
GM
6749 * progmodes/js.el (js--optimize-arglist): Declare.
6750
dab49a3b
GM
6751 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6752
36b9d085
GM
6753 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6754 (ediff-window-C): Declare.
6755
e354ae76
GM
6756 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6757 Tweak requires to silence compiler.
6758
b8e57bf4
GM
6759 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6760 (he-search-string, he-tried-table, he-expand-list)
6761 (he-init-string, he-string-member, he-substitute-string)
6762 (he-reset-string): Declare.
6763
db785726
GM
6764 * obsolete/options.el (list-options): Use custom-variable-p,
6765 rather than obsolete alias.
6766
b3531901
SS
67672013-05-23 Sam Steingold <sds@gnu.org>
6768
6769 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6770 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6771 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6772
bdda4c66
SM
67732013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * emacs-lisp/smie.el (smie-indent-forward-token)
6776 (smie-indent-backward-token): Handle string tokens (bug#14381).
6777
c43d45f9
TH
67782013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6779
fe1eb856
RS
6780 * ielm.el (ielm-menu): New menu.
6781 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6782
fe1eb856
RS
67832013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6784
6785 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6786 Fix deactivate action.
6787
6788 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6789 Add cleveref macros.
074dd971 6790
c43d45f9
TH
6791 * lisp/textmodes/reftex-parse.el
6792 (reftex-locate-bibliography-files): Accept options for
6793 bibliography commands.
6794 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6795 Add addbibresource. Basic Biblatex support.
6796
7764286e
MA
67972013-05-23 Michael Albinus <michael.albinus@gmx.de>
6798
6799 * net/tramp-gvfs.el (top):
6800 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6801 when loading package. (Bug#14447)
6802
d361bc10
GM
68032013-05-23 Glenn Morris <rgm@gnu.org>
6804
8fa23984
GM
6805 * progmodes/js.el: No need to load comint when compiling.
6806 (ring-insert, comint-send-string, comint-send-input)
6807 (comint-last-input-end, ido-chop): Declare.
6808
a5c7df1a
GM
6809 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6810 * vc/ediff-mult.el: Adjust requires.
6811 (ediff-directories-internal, ediff-directory-revisions-internal)
6812 (ediff-patch-file-internal): Declare.
6813 * vc/ediff-ptch.el: Adjust requires.
6814 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6815 (ediff-find-file): Autoload.
6816 * vc/ediff-util.el: No need to load ediff when compiling.
6817 (ediff-regions-internal): Declare.
6818 * vc/ediff-wind.el: Adjust requires.
6819 (ediff-compute-toolbar-width): Define when compiling.
6820 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6821 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6822 (dired-get-filename, dired-get-marked-files)
6823 (ediff-last-dir-patch, ediff-patch-default-directory)
6824 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6825 (ediff-patch-buffer-internal): Declare.
6826
e2aec513
GM
6827 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6828 (ispell-process, ispell-buffer-local-words, lm-summary)
6829 (lm-section-start, lm-section-end): Declare.
6830 (checkdoc-ispell-init): Simplify.
6831
e68bbd7c
GM
6832 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6833 (he-string-member, he-reset-string, he-substitute-string): Declare.
6834
7efe0991
GM
6835 * eshell/em-ls.el: Adjust requires.
6836 (eshell-glob-regexp): Declare.
f87b1284
GM
6837 * eshell/em-tramp.el: Adjust requires.
6838 (eshell-parse-command): Autoload.
6839 * eshell/em-xtra.el: Adjust requires.
6840 (eshell-parse-command): Autoload.
6841 * eshell/esh-ext.el: Adjust requires.
6842 (eshell-parse-command, eshell-close-handles): Autoload.
6843 * eshell/esh-io.el: Adjust requires.
6844 (eshell-output-filter): Autoload.
6845 * eshell/esh-util.el: No need to load tramp when compiling.
6846 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6847 Declare.
6848 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6849 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6850 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6851 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6852 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6853 * eshell/esh-opt.el, eshell/esh-proc.el:
6854 * eshell/esh-var.el: Adjust requires.
6855 * eshell/eshell.el: Do not require esh-util twice.
6856 (eshell-add-input-to-history): Declare.
6857 (eshell-command): Check history module is active before using it.
6858
d361bc10
GM
6859 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6860
85d090a9
LL
68612013-05-22 Leo Liu <sdl.web@gmail.com>
6862
6863 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6864
5d0acd9d
MA
68652013-05-22 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * autorevert.el (auto-revert-notify-add-watch)
6868 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6869 it indicates changes in file modification time.
6870
0cdffd7d
GM
68712013-05-22 Glenn Morris <rgm@gnu.org>
6872
ca5995ec
GM
6873 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6874 Always delete the autoloaded function from the noruntime and
6875 unresolved functions lists.
6876
6450907e
GM
6877 * allout.el: No need to load epa, epg, overlay when compiling.
6878 (epg-context-set-passphrase-callback, epg-list-keys)
6879 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6880 (epg-key-user-id-list): Declare.
6881
9c6906f6
GM
6882 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6883 (viper-set-parsing-style-toggling-macro)
6884 (viper-set-emacs-state-searchstyle-macros):
6885 Use called-interactively-p on Emacs.
6886 (viper-looking-back): Make it an obsolete alias. Update callers.
6887 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6888 Use looking-back rather than viper-looking-back.
6889 (viper-tmp-insert-at-eob, viper-enlarge-region)
6890 (viper-read-string-with-history, viper-register-to-point)
6891 (viper-append-to-register, viper-change-state-to-vi)
6892 (viper-backward-char-carefully, viper-forward-char-carefully)
6893 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6894 (viper-change-state-to-emacs): Declare.
6895 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6896 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6897 * emulation/viper-mous.el: Do not load viper-cmd.
6898 (viper-backward-char-carefully, viper-forward-char-carefully)
6899 (viper-forward-word, viper-adjust-window): Declare.
6900
5f70c169
GM
6901 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6902
b1b7f300
GM
6903 * progmodes/idlw-help.el (idlwave-help-fontify):
6904 Use called-interactively-p.
6905
f6ebbb46
GM
6906 * term/w32console.el (w32-get-console-codepage)
6907 (w32-get-console-output-codepage): Declare.
6908
0cdffd7d
GM
6909 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6910 Remove unnecessary declarations.
6911 (dframe-message): Doc fix.
6912
6913 * info.el (dframe-select-attached-frame, dframe-current-frame):
6914 Declare.
6915
6916 * speedbar.el (speedbar-message): Make it an obsolete alias.
6917 Update all callers.
6918 (speedbar-with-attached-buffer)
6919 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6920 (speedbar-with-writable): Use backquote.
6921 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6922 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6923 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6924 rather than speedbar- aliases.
6925 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6926 (speedbar-make-specialized-keymap, speedbar-insert-button)
6927 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6928 (speedbar-do-function-pointer): Declare.
6929 (rmail-speedbar-button, rmail-speedbar-find-file)
6930 (rmail-speedbar-move-message):
6931 Use dframe-with-attached-buffer rather than speedbar- alias.
6932 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6933 (dframe-message, speedbar-make-specialized-keymap)
6934 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6935 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6936 (speedbar-insert-button, dframe-select-attached-frame)
6937 (dframe-maybee-jump-to-attached-frame)
6938 (speedbar-change-initial-expansion-list)
6939 (speedbar-previously-used-expansion-list-name): Declare.
6940 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6941 Use dframe-message, dframe-with-attached-buffer rather than
6942 speedbar- aliases.
6943 (gud-sentinel): Silence compiler.
6944 * progmodes/vhdl-mode.el (speedbar-refresh)
6945 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6946 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6947 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6948 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6949 (speedbar-file-lists, speedbar-make-tag-line)
6950 (speedbar-line-directory, speedbar-goto-this-file)
6951 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6952 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6953 (speedbar-make-button, speedbar-reset-scanners)
6954 (speedbar-files-item-info, speedbar-line-text)
6955 (speedbar-find-file-in-frame, speedbar-set-timer)
6956 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6957 (speedbar-with-writable): Do not (re)define it.
6958 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6959 rather than speedbar- alias.
6960
ee44b62a
LL
69612013-05-21 Leo Liu <sdl.web@gmail.com>
6962
6963 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6964 menu items.
6965 (octave-mode): Tweak fill-nobreak-predicate.
6966 (inferior-octave-startup): Check process to avoid infinite loop.
6967 (inferior-octave): Pop to buffer first to show abornmal process
6968 exit information.
6969
640f050f
GM
69702013-05-21 Glenn Morris <rgm@gnu.org>
6971
79458038
GM
6972 * printing.el (pr-menu-bar): Define when compiling.
6973
9cc3e83f
LL
69742013-05-21 Leo Liu <sdl.web@gmail.com>
6975
6976 * progmodes/octave.el (octave-auto-fill): Remove.
6977 (octave-indent-new-comment-line): Improve.
6978 (octave-mode): Use auto fill mode through
4f405069 6979 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6980 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6981 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6982 (octave-help): Show parent directory.
6983
f440830d
GM
69842013-05-21 Glenn Morris <rgm@gnu.org>
6985
6986 * files.el (dired-unmark):
6987 * progmodes/gud.el (gdb-input): Update declarations.
6988
6989 * calculator.el (electric, ehelp): No need to load when compiling.
6990 (Electric-command-loop, electric-describe-mode): Declare.
6991
6992 * doc-view.el (doc-view-current-converter-processes): Move before use.
6993
6994 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6995 Move MODE-set-explicitly definition before use.
6996
6997 * international/mule-diag.el (mule-diag):
6998 Don't use obsolete window-system-version.
6999
7000 * mail/feedmail.el (smtpmail): No need to load when compiling.
7001 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7002
7003 * mail/mail-utils.el (rfc822): No need to load when compiling.
7004 (rfc822-addresses): Autoload it.
7005 (mail-strip-quoted-names): Trivial simplification.
7006
7007 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7008 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7009
7010 * net/snmp-mode.el (tempo): Don't duplicate requires.
7011
7012 * progmodes/prolog.el (info): No need to load when compiling.
7013 (comint): Require before shell requires it.
7014 (Info-goto-node): Autoload it.
7015 (Info-follow-nearest-node): Declare.
7016 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7017
7018 * textmodes/artist.el (picture-mode-exit): Declare.
7019
7020 * textmodes/reftex-parse.el (reftex-parse-from-file):
7021 Trivial rewrite so the compiler can parse it better.
7022
b4da2cbb
LL
70232013-05-20 Leo Liu <sdl.web@gmail.com>
7024
7025 * progmodes/octave.el (octave-help-mode-map)
7026 (octave-help-mode-finish-hook): New variables.
7027 (octave-help-mode, octave-help-mode-finish): New functions.
7028 (octave-help): Use octave-help-mode.
7029
33c0f65b
GM
70302013-05-20 Glenn Morris <rgm@gnu.org>
7031
7032 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7033
1a0a0a8a
DG
70342013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7035
7036 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7037 start at point, so that expansion starting right after opening
7038 slash in a regexp is recognized.
7039 (ruby-syntax-before-regexp-re): New defvar, extracted from
7040 ruby-syntax-propertize-function. Since the value of this regexp
7041 is looked up at runtime now, we should be able to turn
7042 `ruby-syntax-methods-before-regexp' into a defcustom later.
7043 (ruby-syntax-propertize-function): Split regexp matching into two
7044 parts, for opening and closing slashes. That allows us to skip
7045 over string interpolations and support multiline regexps.
7046 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7047 for them, which calls `ruby-syntax-propertize-expansion'.
7048 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7049 call to `ruby-syntax-propertize-function'.
7050 (ruby-syntax-propertize-expansion): Extracted from
7051 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7052 (ruby-syntax-propertize-percent-literal): Leave point right after
7053 the percent symbol, so that the expression expansion rule can
7054 propertize the contents.
462388b6
DG
7055 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7056 heredoc openers.
7057 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7058
c1a6c0a4
JL
70592013-05-18 Juri Linkov <juri@jurta.org>
7060
7061 * man.el (Man-default-man-entry): Remove `-' from the end
7062 of the default value. (Bug#14400)
7063
8051fccd
GM
70642013-05-18 Glenn Morris <rgm@gnu.org>
7065
7066 * comint.el (comint-password-prompt-regexp):
7067 Allow "password for XXX" where XXX contains colons (eg https://...).
7068
5e80b74f
LL
70692013-05-18 Leo Liu <sdl.web@gmail.com>
7070
7071 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7072 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7073 (octave-source-directories): Don't check process.
7074 (octave-source-directories, octave-find-definition): Doc fix.
7075
521a54c5
GM
70762013-05-18 Glenn Morris <rgm@gnu.org>
7077
86a94b05
GM
7078 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7079 Remove backspace/delete bindings. (Bug#14392)
7080
521a54c5
GM
7081 * cus-dep.el (custom-make-dependencies): Sort the output.
7082 (custom-versions-load-alist): Convert comment to doc.
7083
42caeb89
LL
70842013-05-17 Leo Liu <sdl.web@gmail.com>
7085
7086 * newcomment.el (comment-search-backward): Stricter in finding
7087 comment start. (Bug#14303)
7088
7089 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7090 (octave-comment-start-skip): Properly anchored.
7091
e219dd97
LL
70922013-05-17 Leo Liu <sdl.web@gmail.com>
7093
fe1eb856
RS
7094 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7095 Clean up when turned off. (Bug#14395)
e219dd97
LL
7096 (smie--highlight-matching-block-overlay): No longer buffer-local.
7097 (smie-highlight-matching-block): Adjust.
7098
dc5dcb4b
PE
70992013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7100
7101 Doc string fix for "nanoseconds" (Bug#14406).
7102 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7103 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7104
1db165f0
JB
71052013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7106
7107 * calc/calc-units.el (math-extract-units): Preserve powers
7108 of units.
7109
c7a8fcac
LL
71102013-05-17 Leo Liu <sdl.web@gmail.com>
7111
7112 * subr.el (delete-consecutive-dups): New function.
7113 * ido.el (ido-set-matches-1): Use it.
7114 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7115 * ido.el (ido-remove-consecutive-dups): Remove.
7116
f678b18a
SM
71172013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7120 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7121 regexp-opt's `words'.
7122
ebfe68e8
LL
71232013-05-16 Leo Liu <sdl.web@gmail.com>
7124
7125 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7126 (smie--highlight-matching-block-overlay)
7127 (smie--highlight-matching-block-lastpos)
7128 (smie--highlight-matching-block-timer): New variables.
7129 (smie-highlight-matching-block): New function.
7130 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7131 (smie-setup): Conditionally enable smie-blink-matching-open.
7132
bc8bc17d
WS
71332013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7134
7135 Sync with upstream verilog-mode r840.
7136 * progmodes/verilog-mode.el (verilog-mode-version)
7137 (verilog-mode-release-date): Update.
7138 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7139 (verilog-sig-tieoff): Fix string error on
7140 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7141 (verilog-read-decls): Fix parameters confusing
7142 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7143
df065a0b
EZ
71442013-05-16 Eli Zaretskii <eliz@gnu.org>
7145
7146 * subr.el (reveal-filename): New function.
7147
7148 * loadup.el: Compute Emacs executable versions on MS-Windows,
7149 where executables have the .exe extension. Add a hard link
7150 emacs-XX.YY.ZZ.exe on MS-Windows.
7151
7152 * Makefile.in (XARGS_LIMIT): New variable.
7153 (custom-deps, finder-data, autoloads)
7154 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7155 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7156 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7157 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7158
2d4bf34b
LL
71592013-05-16 Leo Liu <sdl.web@gmail.com>
7160
7161 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7162 (octave-mode-menu, octave-mode-map): Remove its uses.
7163
6b9c2d85
RZ
71642013-05-16 Reto Zimmermann <reto@gnu.org>
7165
7166 Sync with upstream vhdl mode v3.34.2.
7167 * progmodes/vhdl-mode.el: Use `push' throughout.
7168 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7169 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7170 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7171 (vhdl-actual-generic-name): New option to derive actual generic name.
7172 (vhdl-port-paste-signals): Replace formal by actual generics.
7173 (vhdl-beautify): New name for old group vhdl-align. Update users.
7174 (vhdl-beautify-options): New option.
7175 (vhdl-last-input-event): New compat alias. Use throughout.
7176 (vhdl-goto-line): Replace user level function `goto-line'.
7177 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7178 vhdl-fix-statement-buffer.
7179 (vhdl-create-mode-menu): Add some entries.
7180 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7181 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7182 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7183 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7184 to force statements on one line.
7185 (vhdl-remove-trailing-spaces-region):
7186 New, split from vhdl-remove-trailing-spaces.
7187 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7188 Respect vhdl-beautify-options.
7189 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7190 (vhdl-update-sensitivity-list): Not add with index if exists without.
7191 Not include array index with signal. Ignore keywords in comments.
7192 (vhdl-get-visible-signals): Regexp tweaks.
7193 (vhdl-template-component-inst): Handle empty library.
7194 (vhdl-template-type): Add template for 'enum' type.
7195 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7196 Use vhdl-replace-string.
7197 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7198 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7199 (vhdl-speedbar-initialize): Update for above name change.
7200 (vhdl-compose-wire-components): Fix in handling of constants.
7201 (vhdl-error-regexp-emacs-alist): New variable.
7202 (vhdl-error-regexp-add-emacs): New function;
7203 adds support for new compile.el (Emacs 22+)
7204 (vhdl-generate-makefile-1): Change target order for single lib. units.
7205 Allow use of absolute file names.
7206
9df4ec5e
LL
72072013-05-16 Leo Liu <sdl.web@gmail.com>
7208
7209 * simple.el (prog-indent-sexp): Indent enclosing defun.
7210
f5ba00a6
GM
72112013-05-15 Glenn Morris <rgm@gnu.org>
7212
ed8be7ff
GM
7213 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7214 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7215 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7216 (whitespace-highlight): Move to whitespace group.
7217
7218 * comint.el (comint-source):
7219 * pcmpl-linux.el (pcmpl-linux):
7220 * shell.el (shell-faces):
7221 * eshell/esh-opt.el (eshell-opt):
7222 * international/ccl.el (ccl): Remove empty custom groups.
7223
7224 * completion.el (dynamic-completion-mode):
7225 * jit-lock.el (jit-lock-debug-mode):
7226 * minibuffer.el (completion-in-region-mode):
7227 * type-break.el (type-break-mode-line-message-mode)
7228 (type-break-query-mode):
7229 * emulation/tpu-edt.el (tpu-edt-mode):
7230 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7231 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7232 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7233
7234 * term/xterm.el (xterm): Change parent group to terminals.
7235
7236 * master.el (master): Remove empty custom group.
7237 (master-mode): Remove unused :group argument.
7238 * textmodes/refill.el (refill): Remove empty custom group.
7239 (refill-mode): Remove unused :group argument.
7240
7241 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7242
82a7c41b
GM
7243 * cus-dep.el: Provide a feature.
7244 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7245 Don't mistakenly ignore files whose basenames match a basename
7246 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7247 Add a fallback method for getting :group.
f5ba00a6 7248
6d65486d
JL
72492013-05-15 Juri Linkov <juri@jurta.org>
7250
da547b32
JL
7251 * isearch.el (isearch-char-by-name): Rename from
7252 `isearch-insert-char-by-name'. Doc fix.
7253 (isearch-forward): Mention `isearch-char-by-name' in
7254 the docstring. (Bug#13348)
7255
6d65486d
JL
7256 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7257 `exit-minibuffer' instead of
7258 `isearch-nonincremental-exit-minibuffer'.
7259 (isearch-edit-string): Remove mention of
7260 `isearch-nonincremental-exit-minibuffer' from docstring.
7261 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7262 (isearch-forward-exit-minibuffer)
7263 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7264
c9990474
SM
72652013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7266
6e911150
SM
7267 * loadup.el: Just use unversioned DOC.
7268
c9990474
SM
7269 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7270 literals as extending to EOB.
7271 (nxml-last-fontify-end): Remove unused variable.
7272 (nxml-after-change1): Use with-silent-modifications.
7273 (nxml-extend-after-change-region): Simplify.
7274 (nxml-extend-after-change-region1): Remove function.
7275 (nxml-after-change1): Don't adjust for dependent regions.
7276 (nxml-fontify-matcher): Simplify.
7277 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7278 (xmltok-add-dependent): Remove function.
7279 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7280 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7281 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7282 unclosed <[[, <?, comment, and other literals as extending to EOB.
7283 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7284 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7285 Remove functions.
7286 (rng-do-some-validation-1): Don't mark dependent regions.
7287 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7288 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7289 (nxml-clear-dependent-regions): Remove functions.
7290 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7291 (nxml-ensure-scan-up-to-date):
7292 Don't clear&mark dependent regions.
7293
e3772e98
LL
72942013-05-15 Leo Liu <sdl.web@gmail.com>
7295
c9990474
SM
7296 * progmodes/octave.el (octave-goto-function-definition):
7297 Improve and fix callers.
e3772e98 7298
5ac2eb34
SM
72992013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7300
c46c57b0
SM
7301 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7302 the setter (bug#14387).
7303
5ac2eb34
SM
7304 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7305 surrounding group (bug#14402).
7306
180ed218
JL
73072013-05-14 Juri Linkov <juri@jurta.org>
7308
7309 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7310 (Bug#14390)
7311
0ac0fecb
GM
73122013-05-14 Glenn Morris <rgm@gnu.org>
7313
7314 * progmodes/f90.el (f90-imenu-generic-expression):
7315 Fix typo in 2013-05-08 change. (Bug#14402)
7316
2e78e6a7
JPG
73172013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7318
5ac2eb34
SM
7319 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7320 Remove signals for which replies are never received.
2e78e6a7 7321
53267cca
JPG
73222013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7323
7324 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7325 (gdb-handler-alist, gdb-handler-number): Remove variables.
7326 (gdb-handler-list): New variable.
7327 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7328 (gdb-pending-handler-p, gdb-handle-reply)
7329 (gdb-remove-all-pending-triggers): New functions.
7330 (gdb-discard-unordered-replies): New defcustom.
7331 (gdb-handler): New defstruct.
7332 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7333 instead of gdb-pending-triggers. Update docstring.
7334 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7335 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7336 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7337 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7338 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7339 (gdb-frame-handler): Pending triggers are now automatically managed.
7340 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7341 Remove argument.
7342 (gdb-input): Automatically handles pending triggers. Update docstring.
7343 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7344 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7345 Update comments.
7346 (gdb-done-or-error): Now use gdb-handle-reply.
7347
d04ce803
JPG
73482013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7349
7350 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7351 gdb-debug-log.
7352
0114073a
GM
73532013-05-14 Glenn Morris <rgm@gnu.org>
7354
7355 * subr.el (user-emacs-directory-warning): New option.
7356 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7357
4d25fd7e
LL
73582013-05-14 Leo Liu <sdl.web@gmail.com>
7359
7360 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7361 during redisplay.
7362 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7363 (octave-font-lock-texinfo-comment): Fix invalid search bound
7364 error: wrong side of point.
4d25fd7e 7365
27c8b6eb
GM
73662013-05-14 Glenn Morris <rgm@gnu.org>
7367
61aaeb01
GM
7368 * progmodes/flymake.el (flymake-xml-program): New option.
7369 (flymake-xml-init): Use it.
7370
5bf90bc5
GM
7371 * term/xterm.el: Provide a feature.
7372
7373 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7374
f4c7dfd2
GM
73752013-05-13 Glenn Morris <rgm@gnu.org>
7376
7377 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7378 Add compat aliases as a hack workaround. (Bug#14384)
7379
2aeb3a1d
LL
73802013-05-13 Leo Liu <sdl.web@gmail.com>
7381
b0e069c2
LL
7382 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7383 ###, and %!.
f5a9432f
LL
7384 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7385 C-M-q.
b0e069c2
LL
7386 (octave-comment-start-skip): Include %!.
7387 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7388
30ea8374
LL
73892013-05-12 Leo Liu <sdl.web@gmail.com>
7390
7391 * progmodes/octave.el (inferior-octave-startup): Store the value
7392 of __octave_srcdir__ for octave-source-directories.
7393 (inferior-octave-check-process): New function refactored out of
7394 inferior-octave-send-list-and-digest.
7395 (octave-source-directories)
7396 (octave-find-definition-filename-function): New variables.
7397 (octave-source-directories)
7398 (octave-find-definition-default-filename): New functions.
7399 (octave-find-definition): Improve to find functions implemented in C++.
7400
472a3834
GM
74012013-05-12 Glenn Morris <rgm@gnu.org>
7402
7403 * calendar/diary-lib.el (diary-outlook-format-1):
7404 Don't include dayname in the output. (Bug#14349)
7405
3191b52f
GM
74062013-05-11 Glenn Morris <rgm@gnu.org>
7407
0060ac73
GM
7408 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7409
3191b52f
GM
7410 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7411 Treat cc-provide like provide.
7412
e065ba74
KR
74132013-05-11 Kevin Ryde <user42@zip.com.au>
7414
7415 * cus-dep.el (custom-make-dependencies):
7416 Use generated-autoload-load-name for the sake of files such
7417 such cedet/semantic/bovine/c.el, where the base file name
7418 is not in load-path. (Bug#5277)
7419
36f84c37
GM
74202013-05-11 Glenn Morris <rgm@gnu.org>
7421
7422 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7423 Provide features.
7424
c8730c3a
LL
74252013-05-11 Leo Liu <sdl.web@gmail.com>
7426
7427 * progmodes/octave.el (octave-indent-comment): Improve.
7428 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7429 (octave-eldoc-function-signatures, octave-eldoc-function):
7430 New functions.
c8730c3a
LL
7431 (octave-mode, inferior-octave-mode): Add eldoc support.
7432
212e29f2
RS
74332013-05-11 Richard Stallman <rms@gnu.org>
7434
7435 * epa.el (epa-decrypt-file): Take output file name as argument
7436 and read it using `interactive'.
7437
083fe0d7
LL
74382013-05-11 Leo Liu <sdl.web@gmail.com>
7439
7440 * progmodes/octave.el (octave-beginning-of-line)
7441 (octave-end-of-line): Check before using up-list because it jumps
7442 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7443 (octave-indent-comment): New function.
7444 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7445 (octave-begin-keywords, octave-end-keywords)
7446 (octave-reserved-words, octave-smie-bnf-table)
7447 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7448
8582e4c4
GM
74492013-05-11 Glenn Morris <rgm@gnu.org>
7450
f20def1f
GM
7451 * faces.el (internal-face-x-get-resource):
7452 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7453 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7454 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7455 Fix declarations.
f20def1f 7456
445f95e2
GM
7457 * calc/calc-menu.el: Make it loadable in isolation.
7458
7459 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7460 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7461 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7462 (eudc-bbdb-query-internal): Require 'bbdb.
7463
99fb2756
GM
7464 * lpr.el (lpr-headers-switches):
7465 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7466
7467 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7468
0da7ad96
GM
7469 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7470
8582e4c4
GM
7471 * term.el (term-set-escape-char): Make it idempotent.
7472
f71c50d0
LL
74732013-05-10 Leo Liu <sdl.web@gmail.com>
7474
5ac2eb34
SM
7475 * progmodes/octave.el (inferior-octave-completion-table):
7476 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7477 completion due to bug#11906.
7478 (octave-beginning-of-defun): Re-write to be more general.
7479
d5837773
GM
74802013-05-10 Glenn Morris <rgm@gnu.org>
7481
7482 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7483
027c0f75
SM
74842013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * comint.el (comint-redirect-send-command-to-process): Use :around
7487 rather than :override for comint-redirect-filter.
7488 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7489 Call it instead of comint-redirect-original-filter-function (which
7490 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7491
4465bfb4
JD
74922013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7493
7494 * frame.el (display-monitor-attributes-list): Add NS case.
7495 (ns-display-monitor-attributes-list): Declare.
7496
2d809ffa 74972013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7498
7499 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7500
e54eeb9b
GM
75012013-05-09 Glenn Morris <rgm@gnu.org>
7502
56cd351d
GM
7503 * international/fontset.el (vertical-centering-font-regexp):
7504 Set standard-value.
7505
d84b6108
GM
7506 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7507
a931698a
GM
7508 * bookmark.el (bookmark-search-delay):
7509 * cus-start.el (vertical-centering-font-regexp):
7510 * ps-mule.el (ps-mule-font-info-database-default):
7511 * ps-print.el (ps-default-fg, ps-default-bg):
7512 * type-break.el (type-break-good-break-interval):
7513 * whitespace.el (whitespace-indentation-regexp)
7514 (whitespace-space-after-tab-regexp):
7515 * emacs-lisp/testcover.el (testcover-1value-functions)
7516 (testcover-noreturn-functions, testcover-progn-functions)
7517 (testcover-prog1-functions):
7518 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7519 * eshell/em-glob.el (eshell-glob-translate-alist):
7520 * play/tetris.el (tetris-tty-colors):
7521 * progmodes/cpp.el (cpp-face-default-list):
7522 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7523 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7524 (idlwave-help-browser-generic-args):
7525 * progmodes/make-mode.el (makefile-special-targets-list):
7526 * progmodes/python.el (python-shell-virtualenv-path):
7527 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7528 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7529 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7530 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7531 * textmodes/reftex-vars.el (reftex-format-label-function):
7532 * textmodes/remember.el (remember-diary-file): Fix custom types.
7533
e54eeb9b
GM
7534 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7535 Add :version.
7536
455851dd
LL
75372013-05-09 Leo Liu <sdl.web@gmail.com>
7538
7539 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7540 Restore file completion. (Bug#14300)
455851dd
LL
7541 (inferior-octave-startup): Fix incorrect highlighting for the
7542 first prompt.
7543
a9e4425b
SM
75442013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * progmodes/ruby-mode.el: First cut at SMIE support.
7547 (ruby-use-smie): New var.
7548 (ruby-smie-grammar): New constant.
7549 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7550 (ruby-smie--forward-token, ruby-smie--backward-token)
7551 (ruby-smie-rules): New functions.
7552 (ruby-mode-variables): Setup SMIE if applicable.
7553
060ca408
EZ
75542013-05-08 Eli Zaretskii <eliz@gnu.org>
7555
7556 * simple.el (line-move-visual): Signal beginning/end of buffer
7557 only if vertical-motion moved less than it was requested. Avoids
7558 silly incorrect error messages when there are display strings with
7559 multiple newlines at EOL.
7560
1d5963cc
SM
75612013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7564 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7565 (prolog-char-quote-workaround):
7566 * progmodes/cperl-mode.el (cperl-under-as-char):
7567 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7568 Mark as obsolete.
7569 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7570 their declaration.
7571 (vhdl-mode-syntax-table-init): Remove.
7572
c9990474
SM
7573 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7574 last change.
1d5963cc
SM
7575
7576 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7577 syntax for "_".
7578 (ld-script-font-lock-keywords):
7579 Change regexps to use things like \_< and \_>.
7580
7581 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7582 Change all regexps to use things like \_< and \_>.
7583
7584 * progmodes/autoconf.el (autoconf-definition-regexp)
7585 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7586 Handle a _ with symbol syntax.
7587 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7588
c9990474
SM
7589 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7590 Consolidate declaration.
1d5963cc
SM
7591 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7592 the declaration.
7593 (ada-create-syntax-table): Remove.
7594 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7595 already has the right syntax nowadays.
7596 (ada-goto-next-word): Don't change the syntax of "_".
7597
7598 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7599 with-wrapper-hook.
7600
72d3cfca
SS
76012013-05-08 Sam Steingold <sds@gnu.org>
7602
7603 * thingatpt.el (thing-at-point): Accept optional second argument
7604 NO-PROPERTIES to strip the text properties from the return value.
7605 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7606 to `thing-at-point' instead of stripping the properties ourselves.
7607 Also, when `thing-at-point' fails to find a url, prepend "http://"
7608 to the filename at point on the assumption that the user is
7609 pointing at something like gnu.org/gnu.
7610
5cb15713
JB
76112013-05-08 Juanma Barranquero <lekktu@gmail.com>
7612
7613 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7614 * faces.el (crm-separator):
7615 Silence byte-compiler.
7616
7617 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7618 (tool-bar-map): Remove unneeded defvars.
7619
ea78b95b
LL
76202013-05-08 Leo Liu <sdl.web@gmail.com>
7621
7622 Re-work a fix for bug#10994 based on Le Wang's patch.
7623 * ido.el (ido-remove-consecutive-dups): New helper.
7624 (ido-completing-read): Use it.
7625 (ido-chop): Revert fix for bug#10994.
7626
dc7466df
AS
76272013-05-08 Adam Spiers <emacs@adamspiers.org>
7628
7629 * cus-edit.el (custom-save-variables):
7630 Pretty-print long values. (Bug#14187)
7631
9ecf672a
GM
76322013-05-08 Glenn Morris <rgm@gnu.org>
7633
7634 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7635 (m4-mode-syntax-table): Init in the defvar.
7636 (m4-mode-abbrev-table): Let define-derived-mode define it.
7637
3f555be8
TT
76382013-05-08 Tom Tromey <tromey@redhat.com>
7639
7640 * progmodes/m4-mode.el (m4-mode-syntax-table):
7641 Do not treat "_" as word constituent. (Bug#14167)
7642
7cc8ae06
GM
76432013-05-07 Glenn Morris <rgm@gnu.org>
7644
4f58bc06
GM
7645 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7646 Remove explicit eshell-isearch-cancel-map.
7647
7cc8ae06
GM
7648 * progmodes/f90.el (f90-smart-end-names): New option.
7649 (f90-smart-end): Doc fix.
7650 (f90-end-block-optional-name): New constant.
7651 (f90-block-match): Respect f90-smart-end-names.
7652
ceb57e59
SM
76532013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7656 about implicit semi-colons (bug#14218).
7657
4e3f9230
YM
76582013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7659
7660 * frame.el (display-monitor-attributes-list)
7661 (frame-monitor-attributes): New functions.
7662
203a5572
LL
76632013-05-06 Leo Liu <sdl.web@gmail.com>
7664
7665 * progmodes/octave.el (octave-syntax-propertize-function): Change
7666 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7667 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7668 (octave-completion-at-point): Rename from
203a5572
LL
7669 octave-completion-at-point-function.
7670 (inferior-octave-directory-tracker): Robustify.
7671 (octave-text-functions): Remove and fix its uses. No such things
7672 any more.
7673
ee6cff99
SM
76742013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/trace.el (trace--display-buffer): New function.
7677 (trace-make-advice): Use it.
7678
32985194
JL
76792013-05-06 Juri Linkov <juri@jurta.org>
7680
7681 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7682 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7683 Doc fix.
7684 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7685 in the help string. (Bug#12985)
7686
a1c700de
KD
76872013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7688
7689 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7690
c67c0839
SM
76912013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7692
323885fd
SM
7693 * progmodes/perl-mode.el: Add support for here documents.
7694 (perl-syntax-propertize-function): Match here-doc markers.
7695 (perl-syntax-propertize-special-constructs): Find their end.
7696 (perl-imenu-generic-expression): Use [:alnum:].
7697
c67c0839
SM
7698 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7699 (advice--add-function): Refresh the advice if already present
7700 (bug#14317).
7701
d491e7a8
IA
77022013-05-06 Ivan Andrus <darthandrus@gmail.com>
7703
7704 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7705
ddf9925e
GM
77062013-05-06 Glenn Morris <rgm@gnu.org>
7707
7cc3af27
GM
7708 * w32-fns.el (w32-charset-info-alist): Declare.
7709
16e343d6
GM
7710 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7711 of its defcustom properties.
7712 (eshell-cmpl-initialize): No need to load pcomplete.
7713
7d889a47
GM
7714 * generic-x.el: No need to require comint when compiling.
7715
ddf9925e
GM
7716 * net/eudc-export.el: Make it loadable without bbdb.
7717 (top-level): Use require rather than load-library.
7718 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7719 (eudc-batch-export-records-to-bbdb)
7720 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7721 Require bbdb.
7722
1e2c18df
SM
77232013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7726 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7727 some tweaks, instead.
7728
02502a5f
LL
77292013-05-05 Leo Liu <sdl.web@gmail.com>
7730
7731 * progmodes/octave.el (octave-font-lock-keywords)
7732 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7733 (inferior-octave-send-list-and-digest): Improve error message.
7734 (octave-mode, inferior-octave-mode): Use setq-local.
7735 (octave-help): Set info-lookup-mode.
7736
0dc04f42
RS
77372013-05-05 Richard Stallman <rms@gnu.org>
7738
6c54491c
RS
7739 * vc/compare-w.el (compare-windows-whitespace):
7740 Treat no-break space as whitespace.
7741
0dc04f42
RS
7742 * mail/rmailsum.el (rmail-summary-rmail-update):
7743 Detect empty summary and don't change selected message.
7744 (rmail-summary-goto-msg): Likewise.
7745
df8f35df
RS
7746 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7747 Doc fixes, rename args.
7748
5356e1a3
AM
77492013-05-05 Alan Mackenzie <acm@muc.de>
7750
7751 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7752
d44014cb
JL
77532013-05-05 Juri Linkov <juri@jurta.org>
7754
7755 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7756 to not add the length of the summary segment to the return value.
7757 (Bug#14125)
7758
c129b51f
LL
77592013-05-05 Leo Liu <sdl.web@gmail.com>
7760
7761 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7762 (inferior-octave-output-filter): Remove.
7763 (octave-send-region, inferior-octave-startup): Fix callers.
7764 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7765 (octave-binary-file-extensions): New user variable.
7766 (octave-find-definition): Confirm if opening binary files.
7767 (octave-help-file): Use octave-find-definition to get the binary
7768 confirmation.
7769 (octave-help): Adjust for octave-help-file change.
7770
aa7dab97
SM
77712013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7772
7773 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7774 Merge the two entries that handle function definitions.
7775 (pascal--syntax-propertize): New const.
7776 (pascal-mode): Use it. Use setq-local.
7777
fd3a9a6b
GM
77782013-05-04 Glenn Morris <rgm@gnu.org>
7779
7780 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7781 (diary-from-outlook): Respect diary-from-outlook-function.
7782
30c7e542
SM
77832013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7786 Move the declaration from C.
7787 (read-minibuffer, eval-minibuffer): Move from C.
7788 (completion-setup-function): Avoid minibuffer-completion-contents.
7789
b54f978b
LL
77902013-05-03 Leo Liu <sdl.web@gmail.com>
7791
7792 * progmodes/octave.el (octave-font-lock-keywords): Do not
7793 dehighlight 'end' in comments or strings.
30c7e542
SM
7794 (octave-completing-read, octave-goto-function-definition):
7795 New helpers.
d4d0f9b3
LL
7796 (octave-help-buffer): New user variable.
7797 (octave-help-file, octave-help-function): New button types.
7798 (octave-help): New command and bind it to C-h ;.
7799 (octave-find-definition): New command and bind it to M-.
d74a1581 7800 (user-error): Alias to error if not defined.
b54f978b 7801
27135018
LL
78022013-05-02 Leo Liu <sdl.web@gmail.com>
7803
7804 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7805 for \. (bug#14332)
7806 (octave-font-lock-keywords): Include [ and {.
7807
0d634d3a
LL
78082013-05-02 Leo Liu <sdl.web@gmail.com>
7809
7810 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7811 (inferior-octave): Remove calling comint-mode and return the buffer.
7812 (inferior-octave-startup): Cosmetic changes.
7813
b4c8295e
LL
78142013-05-02 Leo Liu <sdl.web@gmail.com>
7815
30c7e542
SM
7816 * progmodes/octave.el (octave-syntax-propertize-function):
7817 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7818
f12ad6ec
GM
78192013-05-02 Glenn Morris <rgm@gnu.org>
7820
7821 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7822 * desktop.el (vc-dir-mode): Just autoload it here.
7823
30cac1e0
AM
78242013-05-02 Alan Mackenzie <acm@muc.de>
7825
7826 Eliminate variable c-standard-font-lock-fontify-region-function.
7827 * progmodes/cc-mode.el
7828 (c-standard-font-lock-fontify-region-function): Remove.
7829 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7830
d8ef28b1
LL
78312013-05-01 Leo Liu <sdl.web@gmail.com>
7832
2640d52e 7833 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7834 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7835 variables were removed from Octave in 2007.
d8ef28b1
LL
7836 (inferior-octave-startup): Fix uses.
7837 (comint-line-beginning-position): Remove compatibility code for
7838 emacs 21.
7839
ac63ec89
JL
78402013-05-01 Juri Linkov <juri@jurta.org>
7841
7842 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7843
9e9be37c
JL
78442013-05-01 Juri Linkov <juri@jurta.org>
7845
7846 * comint.el (comint-previous-matching-input): Don't print message
7847 "History item: %d" when `isearch-mode' is active.
7848 (comint-history-isearch-message): Print message "History item: %d"
7849 when `comint-input-ring-index' is not empty and this function is
7850 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7851
9b92c13b
LL
78522013-05-01 Leo Liu <sdl.web@gmail.com>
7853
7854 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7855 definitions. Use completion-at-point to insert keywords.
7856 (octave-abbrev-start): Remove.
7857 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7858
b12d33d7
LL
78592013-04-30 Leo Liu <sdl.web@gmail.com>
7860
7861 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7862 change.
7863
3d1c39fa
AM
78642013-04-30 Alan Mackenzie <acm@muc.de>
7865
7866 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7867 * progmodes/cc-engine.el (c-back-over-member-initializers):
7868 new function.
3d1c39fa
AM
7869 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7870 (most) member init lists.
7871
5147fc17
RS
78722013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7873
7874 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7875 variable.
7876
5b78d7fc
LL
78772013-04-30 Leo Liu <sdl.web@gmail.com>
7878
7879 * progmodes/octave.el (octave-variables): Remove. No builtin
7880 variables any more. All converted to functions.
7881 (octave-font-lock-keywords, octave-completion-at-point-function):
7882 Fix uses.
7883 (octave-font-lock-texinfo-comment): New user variable.
7884 (octave-texinfo-font-lock-keywords): New variable for texinfo
7885 comment block.
7886 (octave-function-comment-block): New face.
7887 (octave-font-lock-texinfo-comment): New function.
7888 (octave-mode): Font lock texinfo comment block.
7889
38d8527b
LL
78902013-04-29 Leo Liu <sdl.web@gmail.com>
7891
7892 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7893 indexing expression.
7894 (octave-continuation-string): Do not use \.
7895 (inferior-octave-complete-impossible): Remove.
7896 (inferior-octave-completion-table)
7897 (inferior-octave-completion-at-point): Remove its uses.
7898 (inferior-octave-startup): completion_matches was introduced to
7899 Octave in 1996 so safe to assume it.
7900 (octave-function-file-comment): Improve to follow how Octave does it.
7901 (octave-update-function-file-comment): Tweak.
7902
2ec12cb0
LL
79032013-04-29 Leo Liu <sdl.web@gmail.com>
7904
7905 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7906 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7907 (octave-function-file-comment): Fix typo.
7908 (octave-sync-function-file-names): Use read-char-choice.
7909
6eaed048
JB
79102013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7911
7912 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7913 to t for the less important warnings.
7914
3ffa2d4f
DH
79152013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7916
7917 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7918
685c9501
GM
79192013-04-27 Glenn Morris <rgm@gnu.org>
7920
7921 * vc/log-view.el (log-view-current-entry):
7922 Treat "---" separator lines as part of the following rev. (Bug#14169)
7923
0208ede7
JL
79242013-04-27 Juri Linkov <juri@jurta.org>
7925
7926 * subr.el (read-number): Doc fix about using it by interactive
7927 code letter `n'. (Bug#14254)
7928
5db9dace
JL
79292013-04-27 Juri Linkov <juri@jurta.org>
7930
7931 * desktop.el (desktop-auto-save-timeout): New option.
7932 (desktop-file-checksum): New variable.
7933 (desktop-save): Add optional arg `auto-save' and don't auto-save
7934 if nothing changed.
7935 (desktop-auto-save-timer): New variable.
7936 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7937 (after-init-hook): Call `desktop-auto-save-set-timer'.
7938 Suggested by Reuben Thomas <rrt@sc3d.org> in
7939 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7940
b7260dd4
LL
79412013-04-27 Leo Liu <sdl.web@gmail.com>
7942
7943 * progmodes/octave.el (octave-function-file-p)
7944 (octave-skip-comment-forward, octave-function-file-comment)
7945 (octave-update-function-file-comment): New functions.
7946 (octave-mode-map): Bind C-c ; to
7947 octave-update-function-file-comment.
7948 (octave-mode-menu): Add octave-update-function-file-comment.
7949 (octave-mode, inferior-octave-mode): Fix doc-string.
7950 (octave-insert-defun): Conform to Octave's coding convention.
7951 (Bug#14285)
7952
7953 * files.el (basic-save-buffer): Don't let errors in
7954 before-save-hook prevent saving buffer.
7955
c46da669
RW
79562013-04-20 Roland Winkler <winkler@gnu.org>
7957
7958 * faces.el (read-face-name): Use completing-read if arg multiple
7959 is nil.
7960
a81ee1eb
IL
79612013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7962
7963 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7964 displayed, move point to after the totals line.
7965 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7966 for the details.
7967
4fac34ce
SM
79682013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7971 Add current dir to the load-path.
7972 (package-generate-autoloads): Don't rely on
7973 autoload-ensure-default-file.
7974
f6bfc063
RT
79752013-04-26 Reuben Thomas <rrt@sc3d.org>
7976
d40ab5cf
BG
7977 * textmodes/remember.el (remember-store-in-files): Document that
7978 the file name format is passed to `format-time-string'.
f6bfc063 7979
e55d3b04
LL
79802013-04-26 Leo Liu <sdl.web@gmail.com>
7981
7982 * progmodes/octave.el (octave-sync-function-file-names): New function.
7983 (octave-mode): Use it in before-save-hook.
7984
e53052d3
SM
79852013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7986
140ef50c
SM
7987 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7988 (bug#14274).
7989
e53052d3
SM
7990 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7991 \n and comment, even if it's not an implicit ; (bug#14218).
7992
af80458d 79932013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7994
7995 * subr.el (read-number): Once more use `read' rather than
7996 `string-to-number', to trap non-numeric input. (Bug#14254)
7997
af80458d 79982013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7999
8000 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8001 Use `syntax-multiline' text property consistently instead of
8a621d53 8002 `font-lock-multiline'. (Bug#14237)
70203c2e 8003
e6ea1f6c
GM
80042013-04-26 Glenn Morris <rgm@gnu.org>
8005
8006 * emacs-lisp/shadow.el (list-load-path-shadows):
8007 No longer necessary to check for duplicate simple.el, since
8008 2012-07-07 change to init_lread to not include installation lisp
8009 directories in load-path when running uninstalled. (Bug#14270)
8010
070ccca4
LL
80112013-04-26 Leo Liu <sdl.web@gmail.com>
8012
8013 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8014 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8015 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8016 octave-in-string-or-comment-p.
8017 (octave-in-comment-p, octave-in-string-p)
8018 (octave-in-string-or-comment-p): Replace defsubst with defun.
8019
9d1c5fb6
PE
80202013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8021
8022 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8023
c034abda
BG
80242013-04-25 Bastien Guerry <bzg@gnu.org>
8025
8026 * textmodes/remember.el (remember-data-directory)
8027 (remember-directory-file-name-format): Fix custom types.
8028
584ea277
LL
80292013-04-25 Leo Liu <sdl.web@gmail.com>
8030
e53052d3
SM
8031 * progmodes/octave.el (octave-completion-at-point-function):
8032 Make use of inferior octave process.
584ea277
LL
8033 (octave-initialize-completions): Remove.
8034 (inferior-octave-completion-table): New function.
8035 (inferior-octave-completion-at-point): Use it.
8036 (octave-completion-alist): Remove.
8037
1693b06a
SM
80382013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8041 (opascal-mode-syntax-table): New var.
8042 (opascal-literal-kind, opascal-is-literal-end)
8043 (opascal-literal-token-at): Rewrite.
8044 (opascal--literal-start-re, opascal-font-lock-keywords)
8045 (opascal--syntax-propertize): New constants.
8046 (opascal-font-lock-defaults): Adjust.
8047 (opascal-mode): Use them. Set comment-<foo> variables as well.
8048 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8049 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8050 (delphi-other-face, opascal-other-face): Remove face variables.
8051 (opascal-save-state): Remove macro.
8052 (opascal-fontifying-progress-step): Remove constant.
8053 (opascal--ignore-changes): Remove var.
8054 (opascal-set-token-property, opascal-parse-next-literal)
8055 (opascal-is-stable-literal, opascal-complete-literal)
8056 (opascal-is-literal-start, opascal-face-of)
8057 (opascal-parse-region, opascal-parse-region-until-stable)
8058 (opascal-fontify-region, opascal-after-change)
8059 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8060 (opascal-debug-parse-region, opascal-debug-parse-window)
8061 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8062 (opascal-debug-fontify-buffer): Remove.
8063 (opascal-debug-mode-map): Adjust accordingly.
8064
be64c05d
LL
80652013-04-25 Leo Liu <sdl.web@gmail.com>
8066
8067 Merge octave-mod.el and octave-inf.el into octave.el with some
8068 cleanups.
8069 * progmodes/octave.el: New file renamed from octave-mod.el.
8070 * progmodes/octave-inf.el: Merged into octave.el.
8071 * progmodes/octave-mod.el: Renamed to octave.el.
8072
d79d37bd
TH
80732013-04-25 Tassilo Horn <tsdh@gnu.org>
8074
8075 * textmodes/reftex-vars.el
8076 (reftex-label-ignored-macros-and-environments): New defcustom.
8077
8078 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8079
ced3fc5d
SM
80802013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8083 (smie-indent-keyword): Improve the check to ensure that the next
8084 comment is really on the same line.
8085 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8086
8087 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8088 semi-colons if the line is not otherwise empty (bug#14218).
8089
1c141dad
GM
80902013-04-25 Glenn Morris <rgm@gnu.org>
8091
8092 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8093
5058062a
SM
80942013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * progmodes/opascal.el (opascal-set-token-property): Rename from
8097 opascal-set-text-properties and only set `token' (bug#14134).
8098 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8099 (opascal-literal-text-properties): Remove.
8100 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8101 Adjust callers.
8102
5db9dace 81032013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8104
8105 * textmodes/remember.el (remember-handler-functions): Add an
8106 option for a new handler `remember-store-in-files'.
8107 (remember-data-directory, remember-directory-file-name-format):
8108 New options.
8109 (remember-store-in-files): New function to store remember notes
8110 as separate files within a directory.
8111
4391916c
MH
81122013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8113
8114 * progmodes/compile.el (compilation-next-error-function):
8115 Pass "formats" to compilation-find-file (bug#11777).
8116
bb7cdf58
GM
81172013-04-24 Glenn Morris <rgm@gnu.org>
8118
3b8fe752 8119 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8120 * vc/vc-hg.el (vc-hg-print-log):
8121 * vc/vc-svn.el (vc-svn-print-log):
8122 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8123
bb7cdf58
GM
8124 * vc/vc-bzr.el (vc-bzr-print-log):
8125 * vc/vc-cvs.el (vc-cvs-print-log):
8126 * vc/vc-git.el (vc-git-print-log):
8127 * vc/vc-hg.el (vc-hg-print-log):
8128 * vc/vc-mtn.el (vc-mtn-print-log):
8129 * vc/vc-rcs.el (vc-rcs-print-log):
8130 * vc/vc-sccs.el (vc-sccs-print-log):
8131 * vc/vc-svn.el (vc-svn-print-log):
8132 * vc/vc.el (vc-print-log-internal): Doc fixes.
8133
b46a056e
GM
81342013-04-23 Glenn Morris <rgm@gnu.org>
8135
8136 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8137 Remove venerable code attempting to avoid substitute-command-keys.
8138
0aecf718
TH
81392013-04-23 Tassilo Horn <tsdh@gnu.org>
8140
4391916c
MH
8141 * textmodes/reftex-vars.el (reftex-label-regexps):
8142 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8143
117f94cf
SM
81442013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8145
4391916c 8146 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8147 Use lexical-binding.
8148 (jit-lock-force-redisplay): Use markers, check buffer's continued
8149 existence and beware narrowed buffers.
8150 (jit-lock-fontify-now): Adjust call accordingly.
8151
1d829c64
SM
81522013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8155 to avoid misleading the user.
8156
72d548a9
LL
81572013-04-22 Leo Liu <sdl.web@gmail.com>
8158
8159 * info-look.el: Prefer latex2e.info. (Bug#14240)
8160
d0853629
MA
81612013-04-22 Michael Albinus <michael.albinus@gmx.de>
8162
8163 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8164
8165 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8166 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8167 (tramp-set-completion-function, tramp-parse-putty):
8168 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8169 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8170 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8171 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8172 (tramp-call-local-coding-command): Use `tramp-call-process'
8173 instead of `tramp-compat-call-process'.
8174
8175 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8176 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8177 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8178 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8179 (tramp-maybe-send-script): Check for Perl binary.
8180 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8181
38cc0210
DU
81822013-04-22 Daiki Ueno <ueno@gnu.org>
8183
8184 * epg.el (epg-context-pinentry-mode): New function.
8185 (epg-context-set-pinentry-mode): New function.
8186 (epg--start): Pass --pinentry-mode option to gpg command.
8187
cc641ee1
XF
81882013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8189
02d844b5 8190 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8191 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8192 `completion-at-point'. (Bug#13774)
5d4e5c31 8193
cc641ee1
XF
8194 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8195 default key binding for `describe-distribution' has been moved to
8196 `C-h C-o'. (Bug#13970)
8197
1b42ee43
GM
81982013-04-21 Glenn Morris <rgm@gnu.org>
8199
8200 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8201 Add doc strings.
8202 (vc-print-log): Clarify interactive prompt.
8203
a6d63d97
GM
82042013-04-20 Glenn Morris <rgm@gnu.org>
8205
8206 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8207 No longer include timestamp etc information.
8208
d7f5c16f
RW
82092013-04-20 Roland Winkler <winkler@gnu.org>
8210
8211 * faces.el (read-face-name): Bug fix, return just one face if arg
8212 multiple is nil. (Bug#14209)
8213
bcd7a0a4
SM
82142013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8217 (remove-function): Autoload.
8218
8219 * comint.el (comint-redirect-original-filter-function): Remove.
8220 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8221 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8222 (vc-cvs-annotate-command):
bcd7a0a4
SM
8223 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8224 * progmodes/prolog.el (prolog-consult-compile):
8225 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8226 Use add/remove-function instead.
8227 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8228 (gud-tooltip-process-output, gud-tooltip-tips):
8229 Use add/remove-function instead.
8230 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8231 (scheme-interaction-mode, exit-scheme-interaction-mode):
8232 Use add/remove-function instead.
8233
8234 * vc/vc-dispatcher.el: Use lexical-binding.
8235 (vc--process-sentinel): Rename from vc-process-sentinel.
8236 Change last arg to be the code to run. Don't use vc-previous-sentinel
8237 and vc-sentinel-commands any more.
8238 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8239 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8240
e36b2d20 82412013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8242
bcd7a0a4 8243 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8244 Handle function names with a single character. (Bug#14111)
4d3268ba 8245
781b4af6 82462013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8247
8248 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8249 for subroutines defined in an eval (bug#14182).
8250
7d688336
TV
82512013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8252
8253 * bookmark.el (bookmark-completing-read): Improve handling of empty
8254 string (bug#14176).
8255
31dcede0
SM
82562013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8259
adc31213
FEG
82602013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8261
8262 New faster Imenu implementation (bug#14058).
8263 * progmodes/python.el:
8264 (python-imenu-prev-index-position):
8265 (python-imenu-format-item-label-function)
8266 (python-imenu-format-parent-item-label-function)
8267 (python-imenu-format-parent-item-jump-label-function):
8268 New vars.
8269 (python-imenu-format-item-label)
8270 (python-imenu-format-parent-item-label)
8271 (python-imenu-format-parent-item-jump-label)
8272 (python-imenu--put-parent, python-imenu--build-tree)
8273 (python-imenu-create-index, python-imenu-create-flat-index)
8274 (python-util-popn): New functions.
8275 (python-mode): Set imenu-create-index-function to
8276 python-imenu-create-index.
8277
cdca8255
SM
82782013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * winner.el (winner-active-region): Use region-active-p, activate-mark
8281 and deactivate-mark (bug#14225).
8282
8283 * simple.el (deactivate-mark): Don't inline it.
8284
beb42340
MA
82852013-04-18 Michael Albinus <michael.albinus@gmx.de>
8286
8287 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8288
fc7f4d7e
TH
82892013-04-18 Tassilo Horn <tsdh@gnu.org>
8290
8291 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8292 file extensions from the archive-mode entry in order to prefer
8293 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8294
29f47822
LL
82952013-04-18 Leo Liu <sdl.web@gmail.com>
8296
8297 * bindings.el (help-event-list): Add ?\?.
8298
d36ed1c8
SM
82992013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * subr.el (with-wrapper-hook): Declare obsolete.
8302 * simple.el (filter-buffer-substring-function): New hook.
8303 (filter-buffer-substring): Use it.
8304 (filter-buffer-substring-functions): Mark obsolete.
8305 * minibuffer.el (completion-in-region-function): New hook.
8306 (completion-in-region): Use it.
8307 (completion-in-region-functions): Mark obsolete.
8308 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8309 * abbrev.el (abbrev-expand-function): New hook.
8310 (expand-abbrev): Use it.
8311 (abbrev-expand-functions): Mark obsolete.
8312 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8313 and :filter-return.
8314
04754d36
FEG
83152013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8316
8317 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8318 and do not care about match data.
8319
dd8791e9
SM
83202013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8323 completion tables when completing error conditions and
8324 `declare' arguments.
8325 (lisp-complete-symbol, field-complete): Mark as obsolete.
8326 (check-parens): Unmatched parens are user errors.
8327 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8328
ffe54a13
AM
83292013-04-17 Michal Nazarewicz <mina86@mina86.com>
8330
dd8791e9
SM
8331 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8332 command changed buffer (ie. `flyspell-pre-buffer' is not current
8333 buffer), which prevents making decisions based on invalid value of
8334 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8335 cause an error when `flyspell-pre-point' was nil after switching
8336 buffers.
8337 (flyspell-post-command-hook): No longer needs to change buffers when
8338 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8339
ec7e39f2
AM
83402013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8341
8342 * textmodes/ispell.el (ispell-add-per-file-word-list):
8343 Fix `flyspell-correct-word-before-point' error when accepting
8344 words and `coment-padding' is an integer by using
8345 `comment-normalize-vars' (Bug #14214).
8346
083850a6
FEG
83472013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8348
8349 New defun movement commands.
8350 * progmodes/python.el (python-nav--syntactically)
8351 (python-nav--forward-defun, python-nav-backward-defun)
8352 (python-nav-forward-defun): New functions.
8353
619ed6e1
FEG
83542013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8355
8356 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8357 (python-syntax-context): Use named compiler-macro for backwards
8358 compatibility with Emacs 24.x.
8359
7a1beb6c
LL
83602013-04-17 Leo Liu <sdl.web@gmail.com>
8361
8362 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8363 octave-hide-process-buffer.
8364
2d3fa3e5
SM
83652013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8368 (bug#14216).
8369
7ce5be54
JPG
83702013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8371
8372 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8373 Fix adjustment of offset when receiving incomplete responses from GDB
8374 (bug#14129).
8375
351edece
SM
83762013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8379 python-mode-abbrev-table.
8380 (python-skeleton-define): Adjust accordingly.
8381 (python-mode-abbrev-table): New table that inherits from it so that
8382 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8383
8384 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8385 (abbrev-symbol): Use it.
8386 (abbrev--before-point): Use it since we already handle inheritance.
8387
613f9481
LL
83882013-04-16 Leo Liu <sdl.web@gmail.com>
8389
8390 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8391 binding to info-lookup-symbol.
8392
51646b62
JB
83932013-04-16 Juanma Barranquero <lekktu@gmail.com>
8394
8395 * minibuffer.el (completion--twq-all):
8396 * term/ns-win.el (ns-initialize-window-system):
8397 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8398
efb3f01d
SM
83992013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8400
36c0a301
SM
8401 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8402 global bindings.
8403
efb3f01d
SM
8404 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8405
fb549d64
DG
84062013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8407
8408 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8409 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8410 to nil.
8411 (ruby-end-of-defun): Remove the unused arg, change the docstring
8412 to reflect that this function is only used as the value of
8413 `end-of-defun-function'.
8414 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8415 to reflect an earlier change that beginning/end-of-defun functions
8416 jump between methods in a class definition, as well as top-level
8417 functions.
8418
21e8fe2f
SM
84192013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * minibuffer.el (minibuffer-complete): Don't just scroll
8422 a *Completions* that's been iconified.
8423 (minibuffer-force-complete): Make sure repetitions do cycle when going
8424 through completion-in-region -> minibuffer-complete.
8425
20e527d0
AM
84262013-04-15 Alan Mackenzie <acm@muc.de>
8427
8428 Correct the placement of c-cpp-delimiters when there're #s not at
8429 col 0.
8430
8431 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8432 place a submatch around the #.
21e8fe2f
SM
8433 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8434 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8435 on the #, not BOL.
8436
dabefae5
SM
84372013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8440 (advice--member-p): New arg `name'.
8441 (advice--add-function, advice-member-p): Use it (bug#14202).
8442
85c9ab64
AM
84432013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8444
8445 Reformulate java imenu-generic-expression.
8446 The old expression contained ill formed regexps.
8447
8448 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8449 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8450 (cc-imenu-java-method-arg-regexp): New defconsts.
8451 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8452 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8453 handling of spaces in the regexp.
8454
0f821d99
AM
84552013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8456
8457 * textmodes/ispell.el (ispell-command-loop): Remove
8458 flyspell highlight of a word when ispell accepts it (bug #14178).
8459
eb922adf
MA
84602013-04-15 Michael Albinus <michael.albinus@gmx.de>
8461
8462 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8463 uses code from the previous `ange-ftp-run-real-handler'.
8464 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8465 only in case that function exist. This is needed for proper
8466 unloading of Tramp.
8467
4d9a0979
TH
84682013-04-15 Tassilo Horn <tsdh@gnu.org>
8469
8470 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8471
8472 * textmodes/reftex.el (reftex-compile-variables): Use it.
8473
a829b0dc
SM
84742013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8475
91e8293c
SM
8476 * files.el (normal-mode): Only use default major-mode if no other mode
8477 was specified.
8478
830aed4d
SM
8479 * emacs-lisp/trace.el (trace-values): New function.
8480
a829b0dc
SM
8481 * files.el: Allow : in local variables (bug#14089).
8482 (hack-local-variable-regexp): New var.
8483 (hack-local-variables-prop-line, hack-local-variables): Use it.
8484
7ae9f0fb
RW
84852013-04-13 Roland Winkler <winkler@gnu.org>
8486
8487 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8488 data before it gets modified by bibtex-beginning-of-entry.
8489
6646e848
RW
84902013-04-13 Roland Winkler <winkler@gnu.org>
8491
8492 * textmodes/bibtex.el (bibtex-url): Doc fix.
8493
84942013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8495
8496 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8497 does not visit a BibTeX file, exclude it from the list of buffers
8498 returned by bibtex-initialize.
8499
0aa3616e
SB
85002013-04-13 Stephen Berman <stephen.berman@gmx.net>
8501
8502 * window.el (split-window): Remove interactive form, since as a
8503 command this function is a special case of split-window-below.
8504 Correct doc string.
8505
011cddd6
RW
85062013-04-12 Roland Winkler <winkler@gnu.org>
8507
8508 * faces.el (read-face-name): Do not override value of arg default.
8509 Allow single faces and strings as default values. Remove those
8510 elements from return value that are not faces.
8511 (describe-face): Simplify.
8512 (face-at-point): New optional args thing and multiple so that this
8513 function can provide the same functionality previously provided by
8514 read-face-name.
8515 (make-face-bold, make-face-unbold, make-face-italic)
8516 (make-face-unitalic, make-face-bold-italic, invert-face)
8517 (modify-face, read-face-and-attribute): Use face-at-point.
8518
8519 * cus-edit.el (customize-face, customize-face-other-window)
8520 * cus-theme.el (custom-theme-add-face)
8521 * face-remap.el (buffer-face-set)
8522 * facemenu.el (facemenu-set-face): Use face-at-point.
8523
f24e0036
MA
85242013-04-12 Michael Albinus <michael.albinus@gmx.de>
8525
8526 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8527
da3cda2d
TH
85282013-04-10 Tassilo Horn <tsdh@gnu.org>
8529
8530 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8531 off leading { and trailing } from field values.
8532
15e54145
SM
85332013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8534
78ce603d
SM
8535 * emacs-lisp/timer.el (timer--check): New function.
8536 (timer--time, timer-set-function, timer-event-handler): Use it.
8537 (timer-set-idle-time): Simplify.
8538 (timer--activate): CSE.
8539 (timer-event-handler): Give more info in error message.
8540 (internal-timer-start-idle): New function, moved from C.
8541
15e54145
SM
8542 * mpc.el (mpc-proc): Add `restart' argument.
8543 (mpc-proc-cmd): Use it.
8544 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8545 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8546 less often.
8547
7144c627
MY
85482013-04-10 Masatake YAMATO <yamato@redhat.com>
8549
8550 * progmodes/sh-script.el: Implement `sh-mode' own
8551 `add-log-current-defun-function' (bug#14112).
8552 (sh-current-defun-name): New function.
8553 (sh-mode): Use the function.
8554
b39792eb
BG
85552013-04-09 Bastien Guerry <bzg@gnu.org>
8556
8557 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8558
8acdeb71
SM
85592013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8560
6fcdab68
SM
8561 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8562
8acdeb71
SM
8563 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8564 timer (bug#14156).
8565
e3e7b504
NF
85662013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8567
8568 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8569 declaration.
8570
201bb296
LL
85712013-04-07 Leo Liu <sdl.web@gmail.com>
8572
8573 * pcmpl-x.el: New file.
8574
ebb19708
DA
85752013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8576
8577 Do not set x-display-name until X connection is established.
8578 This is needed to prevent from weird situation described at
8579 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8580 * frame.el (make-frame): Set x-display-name after call to
8581 window system initialization function, not before.
8582 * term/x-win.el (x-initialize-window-system): Add optional
8583 display argument and use it.
8584 * term/w32-win.el (w32-initialize-window-system):
8585 * term/ns-win.el (ns-initialize-window-system):
8586 * term/pc-win.el (msdos-initialize-window-system):
8587 Add compatible optional display argument.
8588
33bb237a
EZ
85892013-04-06 Eli Zaretskii <eliz@gnu.org>
8590
8591 * files.el (normal-backup-enable-predicate): On MS-Windows and
8592 MS-DOS compare truenames of temporary-file-directory and of the
8593 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8594 don't fail comparison by compare-strings. Also, compare file
8595 names case-insensitively on MS-Windows and MS-DOS.
8596
134abf1f
SM
85972013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8600 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8601
d695cb94
DG
86022013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8603
e3e7b504
NF
8604 * whitespace.el (whitespace-color-on, whitespace-color-off):
8605 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8606
f4ad7ea1 86072013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8608
8609 * ispell.el (ispell-set-spellchecker-params):
8610 Really set `ispell-args' for all equivs.
8611
632556e4
SM
86122013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * ido.el (ido-completions): Use extra elements of ido-decorations
8615 (bug#14143).
8616 (ido-decorations): Update docstring.
8617
2a417372
MA
86182013-04-05 Michael Albinus <michael.albinus@gmx.de>
8619
8620 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8621 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8622 nil during initialization, in order not to miss changes since the
8623 file was opened. (Bug#14140)
8624
fc164b0c
LL
86252013-04-05 Leo Liu <sdl.web@gmail.com>
8626
8627 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8628
0ccecc08
JB
86292013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8630
8631 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8632
51af1aa2
GM
86332013-04-04 Glenn Morris <rgm@gnu.org>
8634
8635 * electric.el (electric-pair-inhibit-predicate): Add :version.
8636
b208ebc6
SM
86372013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8640 when a package is required several times (bug#14082).
8641
f3d3eaf0
RW
86422013-04-04 Roland Winkler <winkler@gnu.org>
8643
8644 * faces.el (read-face-name): Behave as promised by the docstring.
8645 Assume that arg default is a list of faces.
8646 (describe-face): Call read-face-name with list of default faces.
8647
2575da50
TV
86482013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8649
8650 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8651 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8652 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8653 the header.
8654 (bookmark-exit-hook-internal): Save even if list is empty.
8655
397703b4
YH
86562013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8657
8658 * emacs-lisp/package.el (package-pinned-packages): New var.
8659 (package--add-to-archive-contents): Obey it (bug#14118).
8660
691e26ae
AM
86612013-04-03 Alan Mackenzie <acm@muc.de>
8662
8a621d53
JB
8663 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8664 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8665
8666 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8667 parameter `not-in-delimiter'. Handle being inside comment opener.
8668 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8669 character in case we're typing a '*' after a '/'.
8670 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8671 instead by passing the parameter to c-state-pp-to-literal.
8672
8673 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8674 for elt. 7 of a parse state.
8675
4b725a70
PE
86762013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8677
8678 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8679 * international/latin1-disp.el, international/mule-util.el:
8680 * language/cyril-util.el, language/european.el, language/ind-util.el:
8681 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8682 * language/tibetan.el, language/viet-util.el:
8683 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8684
15c579f0
SM
86852013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8688 (electric-pair-post-self-insert-function): Use it.
8689 (electric-pair-default-inhibit): New function, extracted from
8690 electric-pair-post-self-insert-function.
8691
a77e2924
RW
86922013-03-31 Roland Winkler <winkler@gnu.org>
8693
8694 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8695
2bd8a4a8
SM
86962013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8699
8d3655be 87002013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8701
8702 Un-indent after "pass" and "return" statements (Bug#13888)
8703 * progmodes/python.el (python-indent-block-enders): New var.
8704 (python-indent-calculate-indentation): Use it.
8705
8d3655be 87062013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8707
8708 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8709 defun. Defining it as defalias could introduce too eager
8710 byte-compiler optimization. (Bug#14030)
8711
8d3655be 87122013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8713
8714 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8715
0b1619da
LL
87162013-03-30 Leo Liu <sdl.web@gmail.com>
8717
8718 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8719 (kmacro-execute-from-register): Pass the keyboard macro to
8720 kmacro-call-macro or repeating won't work correctly.
8721
0b938190
TZ
87222013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8723
8724 * progmodes/subword.el: Back to using `forward-symbol'.
8725
8726 * subr.el (forward-whitespace, forward-symbol)
8727 (forward-same-syntax): Move from thingatpt.el.
8728
35710234
LL
87292013-03-29 Leo Liu <sdl.web@gmail.com>
8730
8731 * kmacro.el (kmacro-to-register): New command.
8732 (kmacro-execute-from-register): New function.
8733 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8734
efc0bb73
SM
87352013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * mpc.el: Use defvar-local and setq-local.
8738 (mpc--proc-connect): Connection failures are not bugs.
8739 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8740 (mpc-volume-map): Bind to the up-events.
8741
75a2f981
TZ
87422013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8743
8744 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8745 instead of `forward-symbol'.
8746
17c781d1
SM
87472013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8750 (edebug--recursive-edit): Use it.
8751 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8752 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8753
f67bfbcf
LL
87542013-03-28 Leo Liu <sdl.web@gmail.com>
8755
8756 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8757
b59f639d
EZ
87582013-03-27 Eli Zaretskii <eliz@gnu.org>
8759
8760 * facemenu.el (list-colors-callback): New defvar.
8761 (list-colors-redisplay): New function.
8762 (list-colors-display): Install list-colors-redisplay as the
8763 revert-buffer-function. (Bug#14063)
8764
f557c1b1
SM
87652013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8766
b1da2957
SM
8767 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8768 and suffixes don't overlap (bug#14061).
8769
f557c1b1
SM
8770 * case-table.el: Use lexical-binding.
8771 (case-table-get-table): New function.
8772 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8773
002668e1
TZ
87742013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8775
8776 * progmodes/subword.el: Add `superword-mode' to do word motion
8777 over symbol_words (parallels and leverages `subword-mode' which
8778 does word motion inside MixedCaseWords).
8779
73572c72
AG
87802013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8781
78b8f320 8782 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8783 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8784
69b2c07e
SM
87852013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8788 Change return value to be a sexp. Delay `get-buffer' to after
8789 restoring the desktop (bug#13951).
8790
08bb5ee2
LL
87912013-03-26 Leo Liu <sdl.web@gmail.com>
8792
8793 * register.el: Move semantic tag handling back to
8794 cedet/semantic/senator.el. (Bug#14052)
8795
8d4c974e
SM
87962013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8799 into the prompt either (bug#13963).
8800
b234d92c
SM
88012013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8804 part of "(error-foo)".
8805
ddfa3cb4
JL
88062013-03-24 Juri Linkov <juri@jurta.org>
8807
8808 * replace.el (list-matching-lines-prefix-face): New defcustom.
8809 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8810 `occur-engine' if `face-differs-from-default-p' returns t.
8811 (occur-engine): Add `,' inside backquote construct to evaluate
8812 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8813 Pass `prefix-face' to the functions `occur-context-lines' and
8814 `occur-engine-add-prefix'.
8815 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8816 `prefix-face' and propertize the prefix with `prefix-face'.
8817 (Bug#14017)
8818
7b0e2f85
LL
88192013-03-24 Leo Liu <sdl.web@gmail.com>
8820
8821 * nxml/rng-valid.el (rng-validate-while-idle)
8822 (rng-validate-quick-while-idle): Guard against deleted buffer.
8823 (Bug#13999)
8824
8825 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8826 is the last entry in kill-buffer-hook.
8827
8828 * files.el (kill-buffer-hook): Doc fix.
8829
b3082f49
DG
88302013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8831
b234d92c
SM
8832 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8833 Make it safe-local.
bde73d27 8834
b3082f49
DG
8835 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8836
a320a2db
LL
88372013-03-23 Leo Liu <sdl.web@gmail.com>
8838
7e74b0fb
LL
8839 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8840 Remove.
8841
8842 * nxml/rng-valid.el (rng-validate-mode)
8843 (rng-after-change-function, rng-do-some-validation):
8844 * nxml/rng-maint.el (rng-validate-buffer):
8845 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8846 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8847 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8848 (nxml-extend-after-change-region): Use with-silent-modifications.
8849
a320a2db
LL
8850 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8851 timer-idle-list.
8852
8853 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8854 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8855 timer-idle-list. (Bug#13999)
8856
e38e6780
JL
88572013-03-23 Juri Linkov <juri@jurta.org>
8858
8859 * info.el (info-index-match): New face.
8860 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8861 main pattern and add text properties with the new face to matches
8862 in index entries relative to the beginning of the index entry.
8863 (Bug#14015)
8864
e8cc7880
DE
88652013-03-21 Eric Ludlam <zappo@gnu.org>
8866
8867 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8868 Inhibit read only while inserting objects.
8869
9bb0d822
TZ
88702013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8871
8872 * progmodes/cfengine.el: Update docs to mention
8873 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8874 symbol motion. Remove "_" from the word syntax.
8875
aa703640
TZ
88762013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8877
8878 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8879 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8880
afff09d0
JL
88812013-03-20 Juri Linkov <juri@jurta.org>
8882
8883 * info.el (Info-next-reference-or-link)
8884 (Info-prev-reference-or-link): New functions.
8885 (Info-next-reference, Info-prev-reference): Use them.
8886 (Info-try-follow-nearest-node): Handle footnote navigation.
8887 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8888
9a1ff164
SM
88892013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8890
8891 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8892 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8893
2667d15d
PE
88942013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8895
8896 Suppress unnecessary non-ASCII chatter during build process.
8897 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8898 (batch-skkdic-convert): Suppress most of the chatter.
8899 It's not needed so much now that machines are faster,
8900 and its non-ASCII component was confusing; see Dmitry Gutov in
8901 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8902
438b0579
LL
89032013-03-20 Leo Liu <sdl.web@gmail.com>
8904
8905 * ido.el (ido-chop): Fix bug#10994.
8906
c128ab07
DG
89072013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8908
8909 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8910 Remove vars.
9a1ff164
SM
8911 (whitespace-color-on, whitespace-color-off):
8912 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8913
0e6008c5
SM
89142013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8917 remapping in mode-line.
8918 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8919
627b52b0
DG
89202013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8921
8922 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8923 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8924 (whitespace-font-lock-keywords): Change description.
8925 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8926 the constructed keywords instead.
8927 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8928
50c3a20b
LL
89292013-03-19 Leo Liu <sdl.web@gmail.com>
8930
8931 * progmodes/compile.el (compilation-display-error): New command.
8932 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8933 C-o. (Bug#13992)
8934
2aa2157b
PE
89352013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8936
8937 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8938
e477dbfa
JD
89392013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8940
8941 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8942
64ab82d1
MA
89432013-03-18 Michael Albinus <michael.albinus@gmx.de>
8944
8945 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8946
8947 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8948 * net/tramp-gvfs.el (top):
8949 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8950 (tramp-handle-shell-command): Use it.
8951 (tramp-dissect-file-name): Raise an error when hostname is a
8952 method name, and neither method nor user is specified.
8953
8954 * net/trampver.el: Update release number.
8955
33cef733
LL
89562013-03-18 Leo Liu <sdl.web@gmail.com>
8957
8958 Make sure eldoc can be turned off properly.
8959 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8960 eldoc-mode.
8961 (eldoc-display-message-p): Revert last change.
8962 (eldoc-display-message-no-interference-p)
8963 (eldoc-print-current-symbol-info): Tweak.
8964
2167b7b2
TH
89652013-03-18 Tassilo Horn <tsdh@gnu.org>
8966
8967 * doc-view.el (doc-view-new-window-function): Check the new window
8968 overlay's display property instead the char property of the
8969 buffer's first char. Use `with-selected-window' instead of
8970 `save-window-excursion' with `select-window'.
8971 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8972 display property instead the char property of the buffer's first char.
2167b7b2 8973
982efbcd
PE
89742013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8975
8976 Automate the build of ja-dic.el (Bug#13984).
8977 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8978 from the input, rather than assume that it's been done for us by the
8979 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8980 the current date into a ja-dic.el comment, as that complicates
8981 regression testing.
8982
2fcc7665
SM
89832013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * whitespace.el: Fix double evaluation.
8986 (whitespace-space, whitespace-hspace, whitespace-tab)
8987 (whitespace-newline, whitespace-trailing, whitespace-line)
8988 (whitespace-space-before-tab, whitespace-indentation)
8989 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8990 obsolete defvars.
8991 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8992 (whitespace-color-on): Use a single font-lock-add-keywords call.
8993 Fix double-evaluation of face variables.
8994
67c0a6e6
MA
89952013-03-17 Michael Albinus <michael.albinus@gmx.de>
8996
2fcc7665
SM
8997 * net/tramp-adb.el (tramp-adb-parse-device-names):
8998 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8999 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9000
69489f1d
LL
90012013-03-17 Leo Liu <sdl.web@gmail.com>
9002
9003 Extend eldoc to display info in the mode-line. (Bug#13978)
9004 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9005 (eldoc-mode-line-string): New variable.
9006 (eldoc-minibuffer-message): New function.
9007 (eldoc-message-function): New variable.
9008 (eldoc-message): Use it.
9009 (eldoc-display-message-p)
2fcc7665
SM
9010 (eldoc-display-message-no-interference-p):
9011 Support eldoc-post-insert-mode.
69489f1d
LL
9012
9013 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9014 (eval-expression): Run it.
9015
9c44569e
RW
90162013-03-17 Roland Winkler <winkler@gnu.org>
9017
9018 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9019 strings in the list of return values.
9020
327f1f6f
JB
90212013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9022
9023 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9024 radix before checking for HMS forms.
9025
67ed8fcd
LL
90262013-03-16 Leo Liu <sdl.web@gmail.com>
9027
9028 * progmodes/scheme.el: Add indentation and font-locking for λ.
9029 (Bug#13975)
9030
78be8b64 90312013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9032
9033 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9034 token before point (bug#13942).
9035
78be8b64 90362013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9037
95b43468 9038 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9039
98e775e6
EZ
90402013-03-16 Eli Zaretskii <eliz@gnu.org>
9041
9042 * startup.el (command-line-normalize-file-name): Fix handling of
9043 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9044 <xfq.free@gmail.com> in
9045 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9046
2edd6029
MA
90472013-03-15 Michael Albinus <michael.albinus@gmx.de>
9048
9049 Sync with Tramp 2.2.7.
9050
9051 * net/trampver.el: Update release number.
9052
d35f5864
TH
90532013-03-14 Tassilo Horn <tsdh@gnu.org>
9054
e903c210 9055 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9056 (doc-view-insert-image): Don't modify overlay associated to
9057 non-live windows, and implement horizontal centering of image in
9058 case it's smaller than the window.
9059 (doc-view-new-window-function): Force redisplay of new windows on
9060 doc-view buffers.
d35f5864 9061
1c4a85ed
KF
90622013-03-13 Karl Fogel <kfogel@red-bean.com>
9063
9064 * saveplace.el (save-place-alist-to-file): Don't sort
9065 `save-place-alist', just pretty-print it (bug#13882).
9066
85b66a21
MA
90672013-03-13 Michael Albinus <michael.albinus@gmx.de>
9068
a020afb9
JB
9069 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9070 Check whether `default-file-name-coding-system' is bound.
9071 It isn't in XEmacs.
85b66a21 9072
175600da
SM
90732013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9074
e7f7cb1a
SM
9075 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9076 backquotes for `obsolete' (bug#13929).
9077
175600da
SM
9078 * international/mule.el (find-auto-coding): Include file name in
9079 obsolescence warning (bug#13922).
9080
ca68a22e
TZ
90812013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9082
9083 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9084 for CFEngine 3-specific indentation.
9085 (cfengine3-indent-line): Use it. Fix up category regex.
9086 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9087
940e5099
SM
90882013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * type-break.el (type-break-file-name):
9091 * textmodes/remember.el (remember-data-file):
9092 * strokes.el (strokes-file):
9093 * shadowfile.el (shadow-initialize):
9094 * saveplace.el (save-place-file):
9095 * ps-bdf.el (bdf-cache-file):
9096 * progmodes/idlwave.el (idlwave-config-directory):
9097 * net/quickurl.el (quickurl-url-file):
9098 * international/kkc.el (kkc-init-file-name):
9099 * ido.el (ido-save-directory-list-file):
9100 * emulation/viper.el (viper-custom-file-name):
9101 * emulation/vip.el (vip-startup-file):
9102 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9103 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9104
cc725808
PE
91052013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9106
9107 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9108 * language/thai-word.el: Switch to UTF-8.
9109
a020afb9 9110See ChangeLog.16 for earlier changes.
e3d51b27
MR
9111
9112;; Local Variables:
9113;; coding: utf-8
e3d51b27
MR
9114;; End:
9115
ab422c4d 9116 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9117
9118 This file is part of GNU Emacs.
9119
9120 GNU Emacs is free software: you can redistribute it and/or modify
9121 it under the terms of the GNU General Public License as published by
9122 the Free Software Foundation, either version 3 of the License, or
9123 (at your option) any later version.
9124
9125 GNU Emacs is distributed in the hope that it will be useful,
9126 but WITHOUT ANY WARRANTY; without even the implied warranty of
9127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9128 GNU General Public License for more details.
9129
9130 You should have received a copy of the GNU General Public License
9131 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.