Fix setting of invocation-directory with --chdir and relative argv[0]
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4f85b479
GM
12013-10-30 Glenn Morris <rgm@gnu.org>
2
ca7dd4cd
GM
3 * Makefile.in (autoloads): Do not use abs_lisp.
4
4f85b479
GM
5 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6 `newline' does not respect `standard-output', so use `princ'.
7
cf59e41c
AA
82013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9
10 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
11 * buff-menu.el (Buffer-menu--unmark): New function.
12 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
13
74cf04fb
GM
142013-10-30 Glenn Morris <rgm@gnu.org>
15
b040b60e
GM
16 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
17
f53d3815
GM
18 * emacs-lisp/package.el (lm-homepage): Declare.
19
5413d873
GM
20 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
21 Fix doc typos.
22
cecedb36
GM
23 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
24
74cf04fb
GM
25 * Makefile.in (finder-data, autoloads, update-subdirs)
26 (compile-main, compile-clean, compile-always, bootstrap-clean):
27 Check return value of cd.
28 (compile-calc): Remove.
29
195ee2f0
SM
302013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
31
ae4002ce
SM
32 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
33
34 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
35 (byte-compile-and-folded): New function.
36 (=, <, >, <=, >=): Use it.
37
38 * dos-w32.el (minibuffer-history-case-insensitive-variables)
39 (path-separator, null-device, buffer-file-coding-system)
40 (lpr-headers-switches): Check system-type before modifying them.
41 (find-buffer-file-type-coding-system): Mark obsolete.
42 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
43 find-file-not-found-set-buffer-file-coding-system.
44 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
45 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
46 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
47 (w32-direct-print-region-helper, w32-direct-print-region-function)
48 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
49 * startup.el (normal-top-level-add-subdirs-to-load-path):
50 * ps-print.el (ps-print-region-function):
51 * lpr.el (print-region-function): Use new name.
52
53b39e89
SM
53 * subr.el (custom-declare-variable-early): Remove function.
54 (custom-declare-variable-list): Remove var.
55 (error, user-error): Remove `while' loop.
56 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
57 (user-emacs-directory-warning, locate-user-emacs-file):
58 Move to files.el.
59 * simple.el (read-quoted-char-radix, read-quoted-char):
60 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
61 Move from subr.el.
62 * custom.el (custom-declare-variable-list): Don't process
63 custom-declare-variable-list.
64
195ee2f0
SM
65 * progmodes/python.el (python-shell-get-buffer): New function.
66 (python-shell-get-process): Use it.
67 (python-shell-send-string): Always use utf-8 and add a cookie to tell
68 Python which encoding was used. Don't split-string since we only care
69 about the first line. Return the temp-file, if applicable.
70 (python-shell-send-region): Tell compile.el how to turn locations in
71 the temp-file into locations in the source buffer.
72
7e3561ee
SM
732013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
74
4c9797cb
SM
75 * subr.el (undefined): Add missing behavior from the C code for
76 unbound keys.
77
3472b6c6
SM
78 * rect.el: Use lexical-binding. Add new rectangular region support.
79 (rectangle-mark): New command.
80 (rectangle--region): New var.
81 (deactivate-mark-hook): Reset rectangle--region.
82 (rectangle--extract-region, rectangle--insert-for-yank)
83 (rectangle--highlight-for-redisplay)
84 (rectangle--unhighlight-for-redisplay): New functions.
85 (region-extract-function, redisplay-unhighlight-region-function)
86 (redisplay-highlight-region-function): Use them to handle
87 rectangular region.
88 * simple.el (region-extract-function): New var.
89 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
90 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
91 (kill-region): Replace obsolete `yank-handler' arg with `region'.
92 (copy-region-as-kill, kill-ring-save): Add `region' argument.
93 (redisplay-unhighlight-region-function)
94 (redisplay-highlight-region-function): New vars.
95 (redisplay--update-region-highlight): New function.
96 (pre-redisplay-function): Use it.
97 (exchange-point-and-mark): Don't deactivate the mark before
98 reactivate-it anyway.
99 * comint.el (comint-kill-region): Remove yank-handler argument.
100 * delsel.el (delete-backward-char, backward-delete-char-untabify)
101 (delete-char): Remove property, since it's now part of their
102 default behavior.
103 (self-insert-iso): Remove property since this command doesn't exist.
104
7e3561ee
SM
105 * emacs-lisp/package.el (package--download-one-archive)
106 (describe-package-1): Don't query the user about final newline.
107
b9bef71f
DC
1082013-10-29 Daniel Colascione <dancol@dancol.org>
109
110 * net/tramp.el (tramp-methods): Document new functionality.
111 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
112 tramp-hostname-checker if method provides one instead of scanning
113 argument list for "%h" to decide hostname acceptability.
114
4efc33f0
MA
1152013-10-28 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
118 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
119 Handle COPY-CONTENTS. (Bug#15737)
120
ed42a877
DU
1212013-10-28 Daiki Ueno <ueno@gnu.org>
122
123 * epa-file.el
7e3561ee
SM
124 (epa-file-cache-passphrase-for-symmetric-encryption):
125 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 126
18c9f8a2
XF
1272013-10-27 Xue Fuqiao <xfq.free@gmail.com>
128
7a4bc7be
XF
129 * image.el (defimage):
130 (image-load-path): Doc fixes.
18c9f8a2 131
b1e8e010
AM
1322013-10-27 Alan Mackenzie <acm@muc.de>
133
134 Indent statements in macros following "##" correctly.
7e3561ee
SM
135 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
136 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 137
73d40d1e 1382013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
139
140 * linum.el (linum-update-window): Fix boundary test (bug#13446).
141
c8c605ac
DG
1422013-10-27 Dmitry Gutov <dgutov@yandex.ru>
143
144 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
145 after `=' is probably a new expression.
146
ca7e59d4
RS
1472013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
148
149 * man.el (man-imenu-title): New option.
150 (Man-mode-map): Add menu. (Bug#15722)
151 (Man-mode): Add imenu to menu.
152
bae91342
DG
1532013-10-26 Dmitry Gutov <dgutov@yandex.ru>
154
155 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
156 specific in what the first arg can be: a non-keyword word,
157 string/regexp/percent literal opener, opening paren, or unary
158 operator followed directly by word.
159
eb89dc14
SM
1602013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
163 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
164 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
165 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
166 Remove vars, they do not apply any more.
167 (prolog-mode-abbrev-table): Remove redundant declaration.
168 (prolog-upper-case-string, prolog-lower-case-string): Remove.
169 (prolog-use-smie): Remove.
170 (prolog-smie-rules): Add indentation rule for the if-then-else layout
171 supported by prolog-electric-if-then-else-flag.
172 (prolog-mode-variables, prolog-menu): Use setq-local.
173 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
174 Remove binding to `Backspace' since this key doesn't exist anyway.
175 Remove bindings for electric self-inserting keys.
176 (prog-mode): Assume it's defined.
177 (prolog-post-self-insert): New function.
178 (prolog-mode): Use it.
179 (prolog-indent-line, prolog-indent-level)
180 (prolog-find-indent-of-matching-paren)
181 (prolog-indentation-level-of-line, prolog-goto-comment-column)
182 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
183 (prolog-goto-next-paren, prolog-in-string-or-comment)
184 (prolog-tokenize, prolog-inside-mline-comment)
185 (prolog-find-start-of-mline-comment): Remove functions.
186 (prolog-find-unmatched-paren, prolog-clause-end)
187 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
188 (prolog-electric--if-then-else): Rename from
189 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
190 (prolog-tokenize-searchkey): Remove const.
191 (prolog-clause-info): Use forward-sexp.
192 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
193 (prolog-electric-if-then-else): Remove commands.
194 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
195 for use in post-self-insert-hook.
196 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
197 for use in post-self-insert-hook.
198 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
199 for use in post-self-insert-hook.
200 (prolog-electric--underscore): Rename from prolog-electric--underscore;
201 adapt it for use in post-self-insert-hook.
202
3dab0a83
MA
2032013-10-25 Michael Albinus <michael.albinus@gmx.de>
204
205 * emacs-lisp/ert.el (ert-run-tests-interactively):
206 Use `completing-read'. (Bug#9756)
207
fbfd0e1d
EZ
2082013-10-25 Eli Zaretskii <eliz@gnu.org>
209
210 * simple.el (line-move): Call line-move-1 instead of
211 line-move-visual when the current window hscroll is zero, but
212 temporary-goal-column indicates we will need to hscroll as result
213 of the movement. (Bug#15712)
214
963ce636
DG
2152013-10-25 Dmitry Gutov <dgutov@yandex.ru>
216
217 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
218 capitalization. Use :visible instead of :active.
219 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
220 commands that are used with SMIE.
221 (ruby-do-end-to-brace): Insert space after `{'.
222
a0be396a
JA
2232013-10-25 John Anthony <john@jo.hnanthony.com>
224
f73754c9
JA
225 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
226
227 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 228
f5bf77df
GM
2292013-10-25 Glenn Morris <rgm@gnu.org>
230
231 * vc/vc.el (vc-print-log): Don't use a working revision unless
232 one was explicitly specified. (Bug#15322)
233
37241f62
SM
2342013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * subr.el (add-to-list): Preserve return value in compiler-macro
237 (bug#15692).
238
6408a65d
RS
2392013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
240
241 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
242 result. Ask user to retry using '-all' flag. (Bug#15701)
243
71e3276b
SM
2442013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * emacs-lisp/smie.el: New smie-config system.
247 (smie-config): New defcustom.
248 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
249 (smie-config-guess, smie-config-save): New commands.
250 (smie-config--mode-local, smie-config--buffer-local)
251 (smie-config--trace, smie-config--modefuns): New vars.
252 (smie-config--advice, smie-config--mode-hook)
253 (smie-config--setter, smie-config-local, smie-config--get-trace)
254 (smie-config--guess-value, smie-config--guess): New functions.
255 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
256 text properties. Treat "string fence" syntax like string syntax.
257
258 * progmodes/sh-script.el (sh-use-smie): Change default.
259 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
260 (sh-var-value): Simplify by CSE.
261 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
262 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
263 is used.
264 (sh-guess-basic-offset): Use cl-incf.
265 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
266
60db713e
HE
2672013-10-24 Helmut Eller <eller.helmut@gmail.com>
268
269 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
270 (bug#15699).
271
8b251df6
GM
2722013-10-24 Glenn Morris <rgm@gnu.org>
273
274 * Makefile.in (abs_top_srcdir): Remove.
275 (update-subdirs): Use relative path to update-subdirs.
276
6be0e22b
EZ
2772013-10-24 Eli Zaretskii <eliz@gnu.org>
278
279 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
280 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
281 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
282 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 283
50b5b857
MA
2842013-10-24 Michael Albinus <michael.albinus@gmx.de>
285
286 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
287 (ert-test-skipped): New error.
288 (ert-skip, ert-stats-skipped): New defuns.
289 (ert--skip-unless): New macro.
290 (ert-test-skipped): New struct.
291 (ert--run-test-debugger, ert-test-result-type-p)
292 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
293 (ert--stats-set-test-and-result, ert-char-for-test-result)
294 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 295 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 296 Handle skipped tests. (Bug#9803)
50b5b857 297
6f317c2f
GM
2982013-10-24 Glenn Morris <rgm@gnu.org>
299
e43817c1
GM
300 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
301
6f317c2f
GM
302 * Makefile.in (abs_top_srcdir): New, set by configure.
303 (update-subdirs): Correct build-aux location.
304
369bbf71
DG
3052013-10-24 Dmitry Gutov <dgutov@yandex.ru>
306
8297b2cf
DG
307 * vc/vc.el (vc-print-root-log): Always set `default-directory'
308 value, whether we could auto-deduce `backend', or not.
309
369bbf71
DG
310 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
311 with parameters" example. Simplify the "is it block or is it
312 hash" check, but also make it more thorough.
313
d5f1282f
MF
3142013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
315
316 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
317
bc4aaa31
SM
3182013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
319
03d44565
SM
320 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
321 { if it is hanging.
322
bc4aaa31
SM
323 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
324 :before ";".
325
f493ff19
JB
3262013-10-23 Jed Brown <jed@59A2.org> (tiny change)
327
328 * progmodes/compile.el (compilation-directory-matcher)
329 (compilation-page-delimiter):
330 Support GNU Make-4.0 directory quoting. (Bug#15678)
331
c744a3b9
LL
3322013-10-23 Leo Liu <sdl.web@gmail.com>
333
334 * ido.el (ido-tidy): Handle read-only text.
335
b8e3b0a9
GM
3362013-10-23 Glenn Morris <rgm@gnu.org>
337
338 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
339 (emacs, compile, compile-always):
340 Quote entities that might contain whitespace.
341 (custom-deps, finder-data, autoloads): Use abs_lisp.
342 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
343 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
344 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
345
ee4282cd
DG
3462013-10-23 Dmitry Gutov <dgutov@yandex.ru>
347
bc4aaa31
SM
348 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
349 Use `following-char'.
7790a270 350
ee4282cd 3512013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
352
353 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
354 * progmodes/ruby-mode.el (ruby-smie-rules):
355 Remove corresponding workaround. Fix indentation rule of ";" so it
356 also applies when ";" is the parent.
357
d40a46d7
XF
3582013-10-22 Xue Fuqiao <xfq.free@gmail.com>
359
360 * frame.el (display-screens, display-pixel-height)
361 (display-pixel-width, display-mm-width, display-backing-store)
362 (display-save-under, display-planes, display-color-cells)
7790a270
SM
363 (display-visual-class, display-monitor-attributes-list):
364 Mention the optional ‘display’ argument in doc strings.
d40a46d7 365
a0f143c9
MG
3662013-10-22 Michael Gauland <mikelygee@amuri.net>
367
368 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
369 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
370
18cacc39
DG
3712013-10-21 Dmitry Gutov <dgutov@yandex.ru>
372
373 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
374 TODO. Add "." after " @ ".
375 (ruby-smie--at-dot-call): New function. Checks if point at method
376 call with explicit target.
377 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
378 to the method name tokens when it precedes them.
379 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
380 (ruby-smie-rules): Add rule for indentation before and after "."
381 token.
382
df74c4be
SM
3832013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
384
c6dab55f
SM
385 * textmodes/remember.el (remember-diary-extract-entries):
386 Avoid add-to-list.
387
df74c4be
SM
388 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
389 an instruction.
390
8c1ae481
DG
3912013-10-21 Dmitry Gutov <dgutov@yandex.ru>
392
cfef16c0
DG
393 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
394 (ruby-smie--implicit-semi-p): Add new operator chars.
395
8c1ae481
DG
396 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
397 `smie-down-list'.
398 (ruby-smie--args-separator-p): Check that there's no newline
399 between method call and its arguments.
400
87756ca9
AM
4012013-10-20 Alan Mackenzie <acm@muc.de>
402
403 Allow comma separated lists after Java "implements".
404
df74c4be
SM
405 * progmodes/cc-engine.el (c-backward-over-enum-header):
406 Parse commas.
87756ca9
AM
407 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
408 from a "disallowed" list in enum fontification.
409
c25f8957
JB
4102013-10-20 Johan Bockgård <bojohan@gnu.org>
411
df74c4be 412 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 413
c25f8957
JB
414 * progmodes/verilog-mode.el (verilog-mode): Don't set
415 comment-indent-function globally.
416
aca5fcdc
JD
4172013-10-20 Jan Djärv <jan.h.d@swipnet.se>
418
5f161884
JD
419 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
420 Move Info menu item creation to ns-win.el.
421
422 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
423 in menu bar.
424
aca5fcdc
JD
425 * menu-bar.el: Move GNUStep specific menus...
426
427 * term/ns-win.el (ns-initialize-window-system): ... to here.
428
914b7f98
SM
4292013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * simple.el (newline): Only run post-self-insert-hook when
432 called interactively.
433
846ffe77
JB
4342013-10-19 Johan Bockgård <bojohan@gnu.org>
435
436 * icomplete.el (icomplete-with-completion-tables): Add :version.
437
033f22dd
AM
4382013-10-19 Alan Mackenzie <acm@muc.de>
439
440 Fix fontification bugs with constructors and const.
441
442 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
443 CASE 2) Remove the check for the absence of a suffix construct
444 after a function declaration with only types (no identifiers) in
445 the parentheses. Also, accept a function declaration with just a
446 type inside the parentheses, if this type can be positively
447 recognised as such, or if a prefix keyword like "explicit" nails
448 down the construct as a declaration.
449
58ce0cfc
EZ
4502013-10-19 Eli Zaretskii <eliz@gnu.org>
451
452 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
453 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
454 the problem whereby selecting a menu item that leads to a
455 minibuffer prompt moves the cursor out of the minibuffer window,
456 making it hard to type at the prompt. Suggested by Stefan Monnier
457 <monnier@iro.umontreal.ca>.
458
50e28e7d
JD
4592013-10-19 Jan Djärv <jan.h.d@swipnet.se>
460
461 * menu-bar.el: Don't make Services menu.
462
7deed4bf
RS
4632013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
464
465 * ffap.el: Handle "/usr/include/c++/<version>" directories.
466 (ffap-alist): Use ffap-c++-mode for c++-mode.
467 (ffap-c++-path): New variable.
468 (ffap-c++-mode): New function.
469
7bcb455b
JVJ
4702013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
471
472 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
473
f0ff1cd5
MA
4742013-10-18 Michael Albinus <michael.albinus@gmx.de>
475
476 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
477 introduced on 2013-09-08, which results in an infinite loop
478 requesting a password.
479
d64da4b7
GM
4802013-10-18 Glenn Morris <rgm@gnu.org>
481
482 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
483
ea89ff08
WS
4842013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
485
486 Sync with upstream verilog-mode revision 1a6ecec7.
487 * progmodes/verilog-mode.el (verilog-mode-version): Update.
488 (verilog-mode-release-date): Remove.
489 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
490 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
491 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
492 (verilog-auto-tieoff-ignore-regexp)
493 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
494 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
495 (verilog-signals-with, verilog-dir-cache-preserving)
496 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
497 Doc fixes.
498 (verilog-case-fold): New option, to control case folding in
499 regexp searches, bug597.
500 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
501 (verilog-string-match-fold, verilog-in-paren-count)
502 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
503 (verilog-at-close-struct-p): New functions.
504 (verilog-beg-block-re-ordered, verilog-extended-case-re)
505 (verilog-forward-sexp, verilog-set-auto-endcomments):
506 (verilog-leap-to-case-head): Handle "unique0" case.
507 (verilog-in-constraint-re): New constant.
508 (verilog-keywords, verilog-type-font-keywords):
509 Add some SystemVerilog 1800-2012 keywords.
510 (verilog-label-be): Remove unimplemented argument, bug669.
511 (verilog-batch-execute-func): When batch expanding clear
512 create-lockfiles to prevent spurious user locks when a file ends
513 up not changing.
514 (verilog-calculate-indent, verilog-calc-1)
515 (verilog-at-close-constraint-p, verilog-at-constraint-p)
516 (verilog-do-indent): Fix indentation of nested constraints
517 and structures.
518 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
519 (verilog-auto-inst-param): Use verilog-string-match-fold.
520 (verilog-read-inst-module-matcher):
521 Fix AUTOINST on gate primitives with #1.
522 (verilog-read-decls): Fix double-declaring user-defined typed signals.
523 Reads all user-defined typed variables.
524 (verilog-read-defines): Fix reading definitions inside comments, bug647.
525 (verilog-signals-matching-regexp)
526 (verilog-signals-not-matching-regexp, verilog-auto):
527 Respect verilog-case-fold.
528 (verilog-diff-report): Fix line count.
529 (verilog-auto-assign-modport): Remove unused local `modi'.
530 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
531 better handle multidimensional arrays.
532 Fix packed array ports misadding bit index in AUTOINST, bug637.
533 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
534 to not double-declare existing outputs and inputs, respectively.
535 (verilog-template-map): Bind U to verilog-sk-uvm-component.
536 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
537 (verilog-sk-uvm-component): New skeleton.
538 (verilog-submit-bug-report): Add verilog-case-fold,
539 remove verilog-mode-release-date.
540
ef566920
BR
5412013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
542
543 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
544 as before.
545
29df8a0b
RT
5462013-10-18 Reuben Thomas <rrt@sc3d.org>
547
548 * textmodes/remember.el (remember): set buffer-offer-save in
549 remember buffers (bug#13566).
550
04a19a79
DC
5512013-10-18 Daniel Colascione <dancol@dancol.org>
552
553 When evaluating forms in ielm, direct standard output to ielm
554 buffer. Add new ielm-return-for-effect command. Remove trailing
555 whitespace throughout.
556
557 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
558 (ielm-return-for-effect): New command.
559 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
560 (ielm-eval-input): Accept optional `for-effect' parameter.
561 Bind `standard-output' to stream we create using
04a19a79
DC
562 `ielm-standard-output-impl'. Suppress printing result when
563 `for-effect'.
564 (ielm-standard-output-impl): New function.
565 (inferior-emacs-lisp-mode): Explain new features in documentation.
566
4c1f03ef
MA
5672013-10-17 Michael Albinus <michael.albinus@gmx.de>
568
569 Code cleanup.
570
571 * net/tramp.el (tramp-debug-message): Do not check for connection
572 buffer.
573 (tramp-message): Use "vector" connection property.
574
575 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
576 (tramp-equal-remote, tramp-eshell-directory-change)
577 * net/tramp-adb.el (tramp-adb-handle-copy-file)
578 (tramp-adb-handle-rename-file)
579 * net/tramp-cmds.el (tramp-list-remote-buffers)
580 (tramp-cleanup-connection, tramp-cleanup-this-connection)
581 * net/tramp-compat.el (tramp-compat-process-running-p)
582 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
583 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
584 (tramp-gvfs-handle-rename-file)
585 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
586 (tramp-set-file-uid-gid)
587 * net/tramp-smb.el (tramp-smb-handle-copy-file)
588 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
589 of `file-remote-p'.
590
591 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
592 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
593 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
594 (tramp-gw-open-network-stream): Suppress unrelated traces.
595
596 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
597 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
599 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
600 connection property.
601
602 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 603 persistency file.
4c1f03ef
MA
604
605 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
606 Refactor common code. Improve debug message.
607 (tramp-maybe-open-connection)
608 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
609 connection buffer too early.
610
611 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
612 from `tramp-smb-actions-with-acl'.
613 (tramp-smb-actions-set-acl): New defconst.
614 (tramp-smb-handle-copy-directory)
615 (tramp-smb-action-get-acl): New defun, renamed from
616 `tramp-smb-action-with-acl'.
617 (tramp-smb-action-set-acl): New defun.
618 (tramp-smb-handle-set-file-acl): Rewrite.
619
642eb8b6
GM
6202013-10-17 Glenn Morris <rgm@gnu.org>
621
622 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
623
85527ff3
SM
6242013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
625
921c1d62
SM
626 * skeleton.el (skeleton-newline): Remove.
627 (skeleton-internal-1): Use (insert "\n") instead.
628
e333fb10
SM
629 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
630 let-bindings.
631
85527ff3
SM
632 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
633 forward-sexp-function while we redo its job (bug#15613).
634
c8722a97
JB
6352013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
636
637 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
638 represented by lists.
639
7a550bbb
GM
6402013-10-16 Glenn Morris <rgm@gnu.org>
641
642 * tmm.el (tmm--history): New dynamic variable.
643 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
644
f19da8ad
MA
6452013-10-16 Michael Albinus <michael.albinus@gmx.de>
646
647 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
648 (tramp-smb-errors): Add error messages.
649 (tramp-smb-actions-with-acl): New defconst.
650 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
651 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
652 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
653 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
654 (tramp-smb-get-stat-capability): Fix tests.
655
a24b9961
DK
6562013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
657
658 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
659 (bug#15580).
660
62ad85e6
GM
6612013-10-16 Glenn Morris <rgm@gnu.org>
662
0283d6b0
GM
663 * ansi-color.el (ansi-color-drop-regexp):
664 Add 1J, 1K, 2K. (Bug#15617)
665
012e2f9f
GM
666 * files.el (hack-local-variables--warned-lexical): New.
667 (hack-local-variables):
668 Warn about misplaced lexical-binding. (Bug#15616)
669
62ad85e6
GM
670 * net/eww.el (eww-render): Always set eww-current-url,
671 and update header line. (Bug#15622)
672 (eww-display-html): ... Rather than just doing it here.
673
6456c0ea
EZ
6742013-10-15 Eli Zaretskii <eliz@gnu.org>
675
676 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
677 menu navigations commands.
678
c2de5588
DK
6792013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
680
681 * progmodes/subword.el (subword-capitalize): Be careful when
682 the search for [[:alpha:]] fails (bug#15580).
683
ccd4a783
EZ
6842013-10-14 Eli Zaretskii <eliz@gnu.org>
685
686 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
687 to commands that scroll the menu.
688
1eda1d8d
DG
6892013-10-14 Dmitry Gutov <dgutov@yandex.ru>
690
c2de5588
DK
691 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
692 Handle methods ending with `?' and `!'.
1eda1d8d 693
e70181b8
AM
6942013-10-14 Akinori MUSHA <knu@iDaemons.org>
695
696 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
697 `japanese-cp932' to `cp932' to fix the problem where saving a
698 source file written in Shift_JIS twice would end up having
699 `coding: japanese-cp932' which Ruby could not recognize.
700 (ruby-mode-set-encoding): Add support for encodings mapped to nil
701 in `ruby-encoding-map'.
702 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
703 doesn't need to be explicitly declared in magic comment.
704 (ruby-encoding-map): Add type declaration for better customize UI.
705
9148ee92
GM
7062013-10-13 Glenn Morris <rgm@gnu.org>
707
a5d38e34
GM
708 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
709 Occur buffers are read-only. http://bugs.debian.org/720775
710
9148ee92
GM
711 * emacs-lisp/authors.el (authors-fixed-entries):
712 Comment out old alpha stuff.
713
a9ba094b
DG
7142013-10-13 Dmitry Gutov <dgutov@yandex.ru>
715
716 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
717 to `after-save-hook' instead of `before-save-hook'.
718 (ruby-mode-set-encoding): Use the value of coding system used to
719 write the file. Call `basic-save-buffer-1' after modifying the
720 buffer.
721
7a068717
AM
7222013-10-13 Alan Mackenzie <acm@muc.de>
723
724 Fix indentation/fontification of Java enum with
725 "implements"/generic.
726
c2de5588
DK
727 * progmodes/cc-engine.el (c-backward-over-enum-header):
728 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
729 (c-inside-bracelist-p): Uses new function above.
730 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
731 function above.
732 (c-font-lock-enum-tail): Uses new function above.
733
85b64f02
KH
7342013-10-13 Kenichi Handa <handa@gnu.org>
735
736 * international/mule-cmds.el (select-safe-coding-system): Remove a
737 superfluous condition in chekcing whether a coding system is safe
738 or not.
739
fc7f501b
OK
7402013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
741
742 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
743
fdcb2049
AP
7442013-10-13 Andreas Politz <politza@hochschule-trier.de>
745
746 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
747
8c106d17
GM
7482013-10-13 Glenn Morris <rgm@gnu.org>
749
feab892d
GM
750 * menu-bar.el (menu-bar-update-buffers):
751 Unify Buffers menu prompt string. (Bug#15576)
752
b22d0686
GM
753 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
754
8c106d17
GM
755 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
756 Add some entries.
757 (authors-fixed-entries): Use accented form of name.
758
1b12c797
SM
7592013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
760
650fa7bf 761 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 762 method calls (bug#15594).
650fa7bf
SM
763 (ruby-smie--args-separator-p): New function.
764 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
765 recognize paren-free method calls.
766
1b12c797
SM
767 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
768 internals of universal-argument.
769
029619c8
EZ
7702013-10-11 Eli Zaretskii <eliz@gnu.org>
771
772 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
773 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
774 dropped menu on second mouse click on the menu bar.
029619c8 775
dd070019
SM
7762013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
779 (explicit-shell-file-name): Declare.
780 (sh--vars-before-point, sh--cmd-completion-table): New functions.
781 (sh-completion-at-point-function): New function.
782 (sh-mode): Use it.
783 (sh-smie--keyword-p): Remove unused argument.
784 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
785 vars.
786 (sh-set-shell): Always setup SMIE, even if we use the
787 old indentation code.
788
0922b826
DG
7892013-10-11 Dmitry Gutov <dgutov@yandex.ru>
790
b68e2926
DG
791 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
792 cases of ? and =.
793 (ruby-smie-rules): Simplify the "do" rule. The cases when the
794 predicate would return nil are almost non-existent.
795 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
796
0922b826
DG
797 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
798 cache also after commands that modify the buffer but don't move
799 point.
800
ee041f2d
SM
8012013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
802
803 * env.el (substitute-env-in-file-name): New function.
804 (substitute-env-vars): Extend the meaning of the optional arg.
805
a5dab159
EZ
8062013-10-10 Eli Zaretskii <eliz@gnu.org>
807
808 * term/w32-win.el (dynamic-library-alist): Define separate lists
809 of GIF DLLs for versions before and after 5.0.0 of giflib.
810 (Bug#15531)
811
db138698
JT
8122013-10-10 João Távora <joaotavora@gmail.com>
813
814 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
815 not locked, use last revision and current source as
816 defaults. (Bug#15569)
817
2f6e161e
MY
8182013-10-10 Masatake YAMATO <yamato@redhat.com>
819
820 * menu-bar.el (menu-bar-open): Don't use popup-menu if
821 menu-bar is hidden.
822
6c8413fc
MR
8232013-10-10 Martin Rudalics <rudalics@gmx.at>
824
825 * window.el (pop-to-buffer-same-window): Fix doc-string.
826 (Bug#15492)
827
20832de0
SM
8282013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
831
c6e8ae77
AC
8322013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
833
834 * calendar/icalendar.el (icalendar-import-file):
835 Fix interactive spec. (Bug#15482)
836
9db13baf
GM
8372013-10-10 Glenn Morris <rgm@gnu.org>
838
9271e90e
GM
839 * desktop.el (desktop-save): Default to saving in .emacs.d,
840 since PWD is no longer in desktop-path by default. (Bug#15319)
841
9db13baf
GM
842 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
843 now that text mode has a menu with the same entry.
844 (menu-bar-text-mode-auto-fill): Remove now unused func.
845 * textmodes/text-mode.el (text-mode-map):
846 Use auto-fill help text from menu-bar.el.
847
a0be396a 8482013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
849
850 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
851
2edcd3c7
JL
8522013-10-09 Juri Linkov <juri@jurta.org>
853
854 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
855 instead of this-command-keys. Add universal-argument-more and
856 universal-argument-minus to the list of prefix commands. (Bug#15568)
857
574411d0
GM
8582013-10-09 Glenn Morris <rgm@gnu.org>
859
14afa541
GM
860 * vc/vc-svn.el (vc-svn-create-repo):
861 Expand paths in file://... url. (Bug#15446)
862
574411d0
GM
863 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
864 Add some entries.
865 (authors): Remove unused local variables.
866
79804536
SM
8672013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * profiler.el: Create a more coherent calltree from partial backtraces.
870 (profiler-format): Hide the tail with `invisible' so that C-s can still
871 find the hidden elements.
872 (profiler-calltree-depth): Don't recurse so enthusiastically.
873 (profiler-function-equal): New hash-table-test.
874 (profiler-calltree-build-unified): New function.
875 (profiler-calltree-build): Use it.
876 (profiler-report-make-name-part): Indent the calltree less.
877 (profiler-report-mode): Add visibility specs for profiler-format.
878 (profiler-report-expand-entry, profiler-report-toggle-entry):
879 Expand the whole subtree when provided with a prefix arg.
880
238150c8
DG
8812013-10-09 Dmitry Gutov <dgutov@yandex.ru>
882
883 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
884 iuwu-mod token.
885 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
886 hanging iuwu-mod token.
887 (ruby-smie--forward-token): Do not include a dot after a token in
888 that token.
889 (ruby-smie--backward-token): Likewise.
890
b0949cc4
JL
8912013-10-08 Juri Linkov <juri@jurta.org>
892
893 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
894 to isearch-other-control-char.
895 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
896 and isearch-post-command-hook to post-command-hook.
897 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
898 and isearch-post-command-hook from post-command-hook.
899 (isearch-unread-key-sequence)
900 (isearch-reread-key-sequence-naturally)
901 (isearch-lookup-scroll-key, isearch-other-control-char)
902 (isearch-other-meta-char): Remove functions.
903 (isearch-pre-command-hook, isearch-post-command-hook):
904 New functions based on isearch-other-meta-char rewritten
905 relying on the new behavior of overriding-terminal-local-map
906 that does not replace the local keymaps any more. (Bug#15200)
907
4ed77415
EZ
9082013-10-08 Eli Zaretskii <eliz@gnu.org>
909
910 Support menus on text-mode terminals.
911 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
912 functionality.
913
914 * tooltip.el (tooltip-mode): Don't error out on TTYs.
915
c2de5588
DK
916 * menu-bar.el (popup-menu, popup-menu-normalize-position):
917 Move here from mouse.el.
4ed77415
EZ
918 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
919 and arrow keys.
920 (tty-menu-navigation-map): New map for TTY menu navigation.
921
922 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
923
924 * frame.el (display-mouse-p): Report text-mode mouse as available
925 on w32.
926 (display-popup-menus-p): Report availability if mouse is
927 available; don't condition on window-system.
928
929 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
930 (tty-menu-selected-face): New faces.
931
b7d5bd82
TL
9322013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
933
06286513
SM
934 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
935 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
936 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
937 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
938 New constants.
939 (lisp-mode-variables): New `elisp' argument.
940 (emacs-lisp-mode): Use it.
941 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
942 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
943
b7d5bd82
TL
944 * indent.el: Use lexical-binding.
945 (indent-region): Add progress reporter.
946 (tab-stop-list): Make it implicitly extend to infinity by repeating the
947 last step.
948 (indent--next-tab-stop): New function to implement this behavior.
949 (tab-to-tab-stop, move-to-tab-stop): Use it.
950
9512013-10-08 Teemu Likonen <tlikonen@iki.fi>
952
953 * indent.el (indent-rigidly--current-indentation): New function.
954 (indent-rigidly-map): New var.
955 (indent-rigidly): Use it to provide interactive mode (bug#8196).
956
5ea75d23
BG
9572013-10-08 Bastien Guerry <bzg@gnu.org>
958
959 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
960
cc5da1ec
SM
9612013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
962
8ffa1a0b
SM
963 * progmodes/perl-mode.el: Use lexical-binding.
964 Remove redundant :group args.
965 (perl-nochange): Change default to be closer to other major modes's
966 standard behavior.
967 (perl-indent-line): Don't consider text on current line as a
968 valid beginning of function from which to indent.
969
f2223371
SM
970 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
971 with more than one argument (bug#15538).
972
44256060
SM
973 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
974
cc5da1ec
SM
975 * vc/pcvs.el: Use lexical-binding.
976 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
977 environment of `eval'.
978 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
979 than a list of expressions. Adjust callers.
980 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
981
0ea1599d
DG
9822013-10-07 Dmitry Gutov <dgutov@yandex.ru>
983
984 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 985 case of the dot in a chained method call being on the following line.
0ea1599d 986
da3e5ebb
SM
9872013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
988
2abb4e65
SM
989 * electric.el (electric-indent-inhibit): New var.
990 (electric-indent-post-self-insert-function): Use it.
991 * progmodes/python.el (python-mode): Set it.
992
d2e0e795
SM
993 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
994 open braces.
995
996 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
997
bdc6b4c8
SM
998 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
999 (css-mode): Use electric-indent-chars.
1000
da3e5ebb
SM
1001 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1002 (font-lock-beg, font-lock-end): Move before first use.
1003 (nxml-mode): Use syntax-propertize-function.
1004 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1005 (nxml-extend-after-change-region): Remove.
1006 * nxml/xmltok.el: Use lexical-binding.
1007 (xmltok-save): Use `declare'.
1008 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1009 * nxml/nxml-util.el: Use lexical-binding.
1010 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1011 Use `declare'.
1012 * nxml/nxml-ns.el: Use lexical-binding.
1013 (nxml-ns-save): Use `declare'.
1014 (nxml-ns-prefixes-for): Avoid add-to-list.
1015 * nxml/rng-match.el: Use lexical-binding.
1016 (rng--ipattern): Use cl-defstruct.
1017 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1018 (rng-cons-group-after, rng-subst-group-after)
1019 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1020 Use closures instead of `(lambda...).
1021
f8f91d5d
MA
10222013-10-07 Michael Albinus <michael.albinus@gmx.de>
1023
1024 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1025 of BEG and END.
1026
da3e5ebb
SM
1027 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1028 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1029 (tramp-gvfs-handle-insert-file-contents): Remove function.
1030
da3e5ebb
SM
1031 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1032 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1033
1034 * net/trampver.el: Update release number.
1035
7ccae3b1
SM
10362013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1037
55ca2c0d
SM
1038 * progmodes/compile.el (compilation-parse-errors):
1039 Use compilation--put-prop.
1040 (compilation--ensure-parse): Check compilation-multiline.
1041
731fc3ae
SM
1042 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1043
da3e5ebb
SM
1044 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1045 lexical-binding.
a5833280 1046
2e7ba2c2
SM
1047 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1048
7ccae3b1
SM
1049 * progmodes/ruby-mode.el: Fix recently added tests.
1050 (ruby-smie-grammar): Add - and +.
1051 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1052 (ruby-smie--backward-id): New functions.
1053 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1054 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1055 any more.
1056
85698d63
LL
10572013-10-07 Leo Liu <sdl.web@gmail.com>
1058
1059 * register.el (register-preview-delay)
1060 (register-preview-functions): New variables.
1061 (register-read-with-preview, register-preview)
1062 (register-describe-oneline): New functions.
1063 (point-to-register, window-configuration-to-register)
1064 (frame-configuration-to-register, jump-to-register)
1065 (number-to-register, view-register, insert-register)
1066 (copy-to-register, append-to-register, prepend-to-register)
1067 (copy-rectangle-to-register): Use register-read-with-preview to
1068 read register. (Bug#15525)
1069
3986af6c
DS
10702013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1071
1072 * net/network-stream.el (network-stream-open-starttls): Don't add
1073 --insecure if it's already present, because that gnutls-cli
1074 rejects getting that parameter twice.
1075
5cd9cda9
DG
10762013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1077
1078 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1079 keyword, too.
1080
da9ea6d9
DG
10812013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1082
1083 * newcomment.el (comment-use-global-state): Change default value
1084 to t, mark obsolete (Bug#15251).
1085 (comment-beginning): In addition to `comment-to-syntax', check the
1086 value of `comment-use-global-state'.
1087
34d1a133
SM
10882013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1091 (ruby-comment-column): Follow the global default, by default.
1092 (ruby-smie-grammar): Add assignment syntax.
1093 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1094 open-paren, a comma, or a \.
1095 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1096 and line continuations.
1097 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1098 followed by implicit semi-colons. Add rule for string concatenation
1099 and for indentation at BOB.
1100 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1101
1102 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1103 calling next-sexp, since next-token may have skipped chars which
1104 next-sexp doesn't know should be skipped!
1105
6f6ab820
LL
11062013-10-05 Leo Liu <sdl.web@gmail.com>
1107
34d1a133
SM
1108 * progmodes/octave.el (octave-send-region):
1109 Call compilation-forget-errors.
6f6ab820 1110
34ca0f4c
XF
11112013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1112
1113 * vc/vc-svn.el (vc-svn-find-admin-dir):
1114 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1115 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1116 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1117 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1118
a27c1b72
SM
11192013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1122
258ab3bc
SM
11232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * subr.el (read-passwd): Hide chars even when called within a context
1126 where after-change-functions is disabled (bug#15501).
1127 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1128 until we removed ourself from overriding-terminal-local-map.
1129
939fb29c
LL
11302013-10-04 Leo Liu <sdl.web@gmail.com>
1131
258ab3bc
SM
1132 * progmodes/octave.el (inferior-octave-mode):
1133 Call compilation-forget-errors.
939fb29c 1134
63bd7f35
XF
11352013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1136
1137 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1138
9e6229fa
MA
11392013-10-04 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/secrets.el (secrets-create-collection): Add optional
1142 argument ALIAS. Use proper Label keyword. Append ALIAS as
1143 dbus-call-method argument. (Bug#15516)
1144
1dab32a3
LL
11452013-10-04 Leo Liu <sdl.web@gmail.com>
1146
1147 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1148 (inferior-octave-compilation-font-lock-keywords): New variables.
1149 (compilation-error-regexp-alist)
1150 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1151 (inferior-octave-mode): Use compilation-shell-minor-mode.
1152
6cad7ba3
JS
11532013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1154
1155 * minibuffer.el (completion--replace): Be careful that `end' might be
1156 a marker.
1157
acbadd00
DU
11582013-10-03 Daiki Ueno <ueno@gnu.org>
1159
1160 Add support for package signature checking.
1161 * emacs-lisp/package.el (url-http-file-exists-p)
1162 (epg-make-context, epg-context-set-home-directory)
1163 (epg-verify-string, epg-context-result-for)
1164 (epg-signature-status, epg-signature-to-string)
1165 (epg-check-configuration, epg-configuration)
1166 (epg-import-keys-from-file): Declare.
1167 (package-check-signature): New user option.
1168 (package-unsigned-archives): New user option.
1169 (package-desc): Add `signed' field.
1170 (package-load-descriptor): Set `signed' field if .signed file exists.
1171 (package--archive-file-exists-p): New function.
1172 (package--check-signature): New function.
1173 (package-install-from-archive): Check package signature.
1174 (package--download-one-archive): Check archive signature.
1175 (package-delete): Remove .signed file.
1176 (package-import-keyring): New command.
1177 (package-refresh-contents): Import default keyring.
1178 (package-desc-status): Add "unsigned" status.
1179 (describe-package-1, package-menu--print-info)
1180 (package-menu-mark-delete, package-menu--find-upgrades)
1181 (package-menu--status-predicate): Support "unsigned" status.
1182
adf2aa61
SM
11832013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1186 the new compilation scheme using the new byte-codes.
1187
1188 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1189 (byte-pophandler): New byte codes.
1190 (byte-goto-ops): Adjust accordingly.
1191 (byte-compile--use-old-handlers): New var.
1192 (byte-compile-catch): Use new byte codes depending on
1193 byte-compile--use-old-handlers.
1194 (byte-compile-condition-case--old): Rename from
1195 byte-compile-condition-case.
1196 (byte-compile-condition-case--new): New function.
1197 (byte-compile-condition-case): New function that dispatches depending
1198 on byte-compile--use-old-handlers.
1199 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1200 when we can.
1201
1202 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1203 Optimize under `condition-case' and `catch' if
1204 byte-compile--use-old-handlers is nil.
1205 (disassemble-offset): Handle new bytecodes.
1206
328a8179
SM
12072013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * subr.el (error): Use `declare'.
1210 (decode-char, encode-char): Use advertised-calling-convention instead
1211 of the docstring to discourage use of the `restriction' arg.
1212
15a1e936
DU
12132013-10-03 Daiki Ueno <ueno@gnu.org>
1214
1215 * epg.el (epg-verify-file): Add a comment saying that it does not
1216 notify verification error as a return value nor a signal.
1217 (epg-verify-string): Ditto.
1218
376f862a
KR
12192013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1220
1221 * progmodes/compile.el (compilation-start): Try globbing the arg to
1222 `cd' (bug#15417).
1223
a2f93a5f
MA
12242013-10-02 Michael Albinus <michael.albinus@gmx.de>
1225
1226 Sync with Tramp 2.2.8.
1227
1228 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1229 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1230 * net/trampver.el: Update release number.
1231
0daa0804
JD
12322013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1233
1234 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1235 and default-process-coding-system for darwin only.
1236
abd1ae34
SM
12372013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1240
be4e325d
MH
12412013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1242
1243 * vc/vc-git.el (vc-git-grep): Disable pager.
1244
e9155c4a
DG
12452013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1246
494e898b
DG
1247 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1248 Use :url instead of :homepage, as per
1249 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1250
e9155c4a
DG
1251 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1252 non-nil, use `syntax-ppss' (Bug#15251).
1253
481a8e0f
RS
12542013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1255
be4e325d
MH
1256 * progmodes/octave.el (inferior-octave-startup-file):
1257 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1258
056453c6
DG
12592013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1260
be4e325d
MH
1261 * emacs-lisp/package.el (package-desc-from-define):
1262 Accept additional arguments as plist, convert them to an alist and store
1263 them in the `extras' slot.
056453c6
DG
1264 (package-generate-description-file): Convert extras alist back to
1265 plist and append to the `define-package' form arguments.
1266 (package--alist-to-plist): New function.
1267 (package--ac-desc): Add `extras' slot.
1268 (package--add-to-archive-contents): Check if the archive-contents
1269 vector is long enough, and if it is, pass its `extras' slot value
1270 to `package-desc-create'.
1271 (package-buffer-info): Call `lm-homepage', pass the returned value
1272 to `package-desc-from-define'.
1273 (describe-package-1): Render the homepage button (Bug#13291).
1274
be4e325d
MH
1275 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1276 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1277
832966e5
JD
12782013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1279
1280 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1281 and default-process-coding-system to utf-8-unix (Bug#15402).
1282
6cfe977d
XF
12832013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1284
1285 * subr.el (looking-back): Do not recommend using looking-back.
1286
38de11bd
AM
12872013-09-28 Alan Mackenzie <acm@muc.de>
1288
1289 Fix indentation/fontification of Java enum with "implements".
1290
1291 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1292 regexp which matches "implements", etc., in Java.
1293 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1294 specifier clauses coming after "enum".
1295 * progmodes/cc-fonts.el (c-font-lock-declarations)
1296 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1297 after "enum".
1298
1610938f
JD
12992013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1300
1301 * faces.el (region): Change ns_selection_color to
1302 ns_selection_fg_color, add ns_selection_bg_color.
1303
e090f499
LL
13042013-09-28 Leo Liu <sdl.web@gmail.com>
1305
4d2e94d1
LL
1306 * progmodes/octave.el (inferior-octave-completion-table)
1307 (inferior-octave-completion-at-point): Minor tweaks.
1308
e090f499
LL
1309 * textmodes/ispell.el (ispell-lookup-words): Rename from
1310 lookup-words. (Bug#15460)
1311 (lookup-words): Obsolete.
1312 (ispell-complete-word, ispell-command-loop): All uses changed.
1313
7e138a62
RS
13142013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1315
1316 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1317 (octave-mode-menu): Add octave-send-buffer.
1318 (octave-send-buffer): New function.
1319
5af5ed08
RS
13202013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1321
1322 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1323 octave-lookfor.
1324 (octave-mode-menu): Add octave-lookfor.
1325 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1326 octave-lookfor.
1327 (octave-lookfor): New function.
1328
3b7b2692
SM
13292013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * emacs-lisp/cl-macs.el:
1332 (cl--loop-destr-temps): Remove.
1333 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1334 its convention.
1335 (cl--loop-set-iterator-function): New function.
1336 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1337 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1338 Bind `it' with `let' instead of substituting it with `cl-subst'.
1339 (cl--unused-var-p): New function.
1340 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1341 Eliminate some unused variable warnings (bug#15326).
1342
529fb53f
TH
13432013-09-27 Tassilo Horn <tsdh@gnu.org>
1344
1345 * doc-view.el (doc-view-scale-reset): Rename from
1346 `doc-view-reset-zoom-level'.
1347 (doc-view-scale-adjust): New command.
1348 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1349 `doc-view-scale-adjust'.
1350
0550c95a
TH
13512013-09-26 Tassilo Horn <tsdh@gnu.org>
1352
1353 * doc-view.el (doc-view-reset-zoom-level): New command.
1354 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1355 zoom commands (bug#15466).
1356
6950f152
KH
13572013-09-26 Kenichi Handa <handa@gnu.org>
1358
1359 * international/quail.el (quail-help): Make it not a command.
1360
39587580
LL
13612013-09-26 Leo Liu <sdl.web@gmail.com>
1362
1363 * minibuffer.el (completion-all-sorted-completions): Make args
1364 optional as they are.
1365
00578659
DC
13662013-09-25 Daniel Colascione <dancol@dancol.org>
1367
1368 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1369 specs are and that they're not evaluated.
1370
0c173878
SS
13712013-09-24 Sam Steingold <sds@gnu.org>
1372
1373 * midnight.el (clean-buffer-list-kill-regexps)
1374 (clean-buffer-list-kill-buffer-names): Update for the new Man
1375 buffer naming which includes the object name.
1376
84998447
SM
13772013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1380 (eshell-parse-command, eshell-parse-pipeline): Use it since
1381 eshell-separate-commands requires a dynamic scoped var.
1382 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1383
33215353
LL
13842013-09-23 Leo Liu <sdl.web@gmail.com>
1385
1386 * autoinsert.el (auto-insert-alist): Make the value of
1387 lexical-binding match its file setting.
1388
57b16162
JB
13892013-09-23 Juanma Barranquero <lekktu@gmail.com>
1390
c8af4e67
JB
1391 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1392
57b16162
JB
1393 * autoarg.el (autoarg-kp-digit-argument):
1394 * electric.el (Electric-command-loop):
1395 * kmacro.el (kmacro-step-edit-insert):
1396 Do not set universal-argument-num-events.
1397
7186ba60
LL
13982013-09-22 Leo Liu <sdl.web@gmail.com>
1399
1400 * files.el (interpreter-mode-alist): Add octave.
1401
ece15004
AM
14022013-09-21 Alan Mackenzie <acm@muc.de>
1403
1404 C++: fontify identifier in declaration following "public:" correctly.
1405 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1406 to match "public", etc.
1407 (c-decl-prefix-re): Add ":" into the C++ value.
1408 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1409 bit. Add a check for a ":" preceded by "public", etc.
1410
75d83e22
EZ
14112013-09-21 Eli Zaretskii <eliz@gnu.org>
1412
1413 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1414 recognized by GDB 7.5 and later.
1415
d052d3bd
XF
14162013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1417
1418 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1419
31dca772
R
14202013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * subr.el (internal--call-interactively): New const.
1423 (called-interactively-p): Use it (bug#3984).
1424
98ccf24e
XF
14252013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1426
1427 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1428 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1429 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1430
c39cc7d1
SM
14312013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1434 (eshell-ls-orig-insert-directory): Remove.
1435 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1436 (eshell-ls-use-in-dired): Use advice-add/remove.
1437 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1438 Add `orig-fun' arg for use in :around advice.
1439 Make it check (redundantly) eshell-ls-use-in-dired.
1440
9a0289a2
GM
14412013-09-19 Glenn Morris <rgm@gnu.org>
1442
a2c501b8
GM
1443 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1444
c440407a
GM
1445 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1446
9a0289a2
GM
1447 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1448
85e05915
MA
14492013-09-19 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1452 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1453 (tramp-get-remote-python): New defuns.
1454 (tramp-get-remote-uid-with-perl)
1455 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1456 contributed by yary <not.com@gmail.com> (tiny change).
1457 (tramp-get-remote-uid-with-python)
1458 (tramp-get-remote-gid-with-python): New defuns. Python code
1459 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1460 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1461
ce503312
GM
14622013-09-19 Glenn Morris <rgm@gnu.org>
1463
f7544773
GM
1464 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1465
72fd2877
GM
1466 * eshell/em-unix.el (eshell-remove-entries):
1467 Rename argument to avoid name-clash with global `top-level'.
1468
336b5a56
GM
1469 * eshell/esh-proc.el (eshell-kill-process-function):
1470 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1471 (eshell-reset-after-proc): Remove unused arg `proc'.
1472
57a3a53d
GM
1473 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1474 (directory-files-and-attributes): Mark unused arg.
1475
3261d4af
GM
1476 * eshell/em-unix.el (eshell-remove-entries):
1477 Remove unused arg `path'. Update callers.
1478
8e51b5d0
GM
1479 * eshell/em-hist.el (eshell-hist-parse-arguments):
1480 Remove unused arg `silent'. Update callers.
1481
ce503312
GM
1482 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1483 Fix (f)boundp mix-up.
1484
1485 * eshell/em-smart.el (eshell-smart-scroll-window)
1486 (eshell-disable-after-change):
336b5a56 1487 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1488
ee3ce8a7
AM
14892013-09-18 Alan Mackenzie <acm@muc.de>
1490
1491 Fix fontification of type when followed by "const".
1492 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1493 "known" types from fontification.
1494
ec9177ba
GM
14952013-09-18 Glenn Morris <rgm@gnu.org>
1496
7bb3e768
GM
1497 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1498 (chart-face-list): Drop Emacsen without display-color-p.
1499
5148da15
GM
1500 * net/eww.el (libxml-parse-html-region): Declare.
1501 (eww-display-html): Explicit error if no libxml2 support.
1502
2f68e157
GM
1503 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1504
9019d095
GM
1505 * image.el (image-type-from-buffer, image-multi-frame-p):
1506 Remove --without-x warning/error.
67645389 1507
5f30349b 1508 * mouse.el (mouse-yank-primary):
45069b2e 1509 * term.el (term-mouse-paste):
5f30349b
GM
1510 Reorder to silence --without-x compilation.
1511
cd8edbbe
GM
1512 * mpc.el (doc-view-mode): Silence --without-x compilation.
1513
8a78544e
GM
1514 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1515 Silence --without-x compilation.
1516
12679bfd
GM
1517 * progmodes/gud.el (gud-find-file, gud-mode):
1518 Silence --without-x compilation.
1519 (tooltip-mode): Declare.
30810a05 1520
f0047cb9
GM
1521 * wdired.el (dired-backup-overwrite): Remove declaration.
1522 (wdired-mode-map): Add doc string.
1523
e740f9d2
GM
1524 * custom.el (x-get-resource): Declare.
1525
92d77c89
GM
1526 * eshell/em-glob.el (ange-cache):
1527 * eshell/em-unix.el (ange-cache): Declare.
1528
76e69577
GM
1529 * faces.el (x-display-list, x-open-connection, x-get-resource):
1530 Declare.
7e58af4b
GM
1531
1532 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1533 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1534 Declare.
76e69577 1535
4bd4c0af 1536 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1537
ffb82dbd
GM
1538 * net/gnutls.el (gnutls-log-level): Declare.
1539
986ed135
GM
1540 * net/shr.el (image-size, image-animate): Declare.
1541
e740f9d2
GM
1542 * simple.el (font-info): Declare.
1543
d2f3e9f8
GM
1544 * subr.el (x-popup-dialog): Declare.
1545
047a1a4c
GM
1546 * term/common-win.el (x-select-enable-primary)
1547 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1548 Declare.
1549
f4a1d572
GM
1550 * term/ns-win.el (x-handle-args): Declare.
1551
e843de77
GM
1552 * term/x-win.el (x-select-enable-clipboard): Declare.
1553
5fa89513
GM
1554 * term/w32-win.el (create-default-fontset): Declare.
1555
38702b5b
GM
1556 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1557 Declare.
1558
e740f9d2
GM
1559 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1560 (fit-frame-to-buffer): Explicit error if --without-x.
1561 (mouse-autoselect-window-select): Silence compiler.
1562
49a053fc
GM
1563 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1564
1565 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1566 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1567 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1568 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1569 Remove unused local variables.
1570
1571 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1572
ec9177ba
GM
1573 * textmodes/two-column.el: Make 2C-split work for --without-x.
1574 (scroll-bar-columns): Autoload.
1575 (top-level): Require fringe when compiling.
1576
9f25cb77
LL
15772013-09-18 Leo Liu <sdl.web@gmail.com>
1578
1579 * subr.el (add-hook): Robustify to handle closure as well.
1580
2b42da98
GM
15812013-09-17 Glenn Morris <rgm@gnu.org>
1582
1583 * simple.el (messages-buffer-mode-map): Unbind "g".
1584
e8b66a6a
SM
15852013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1586
9c0ad4f7
SM
1587 * help-mode.el (help-mode-finish): Use derived-mode-p.
1588 Remove obsolete highlighting.
1589
7a806dfb
SM
1590 * play/life.el (life-mode): Use define-derived-mode. Derive from
1591 special-mode.
1592 (life): Let-bind inhibit-read-only.
1593 (life-setup): Avoid `setq'. Use `life-mode'.
1594
96dbf5a8
SM
1595 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1596 which should not be needed any more.
1597 (package-menu-refresh, package-menu-describe-package): Use user-error.
1598
e8b66a6a
SM
1599 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1600 (eshell-post-rewrite-command-hook): Make obsolete.
1601 (eshell-parse-command): Simplify.
1602 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1603 (eshell--cmd): Declare.
1604 (eshell-parse-pipeline): Remove unused var `final-p'.
1605 Pass a dynvar to eshell-post-rewrite-command-hook.
1606 Implement the new eshell-post-rewrite-command-function.
1607 (eshell-invoke-directly): Remove unused arg `input'.
1608 * eshell/esh-io.el (eshell-io-initialize):
1609 Use eshell-post-rewrite-command-function (bug#15399).
1610 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1611 adjust to new calling convention.
1612 (eshell-create-handles): Rename args to avoid clashing with dynvar
1613 `standard-output'.
1614
90582f05
GM
16152013-09-17 Glenn Morris <rgm@gnu.org>
1616
1617 * simple.el (messages-buffer-mode): New major mode.
1618 (messages-buffer): New function.
1619 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1620 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1621 (ert-run-test): Use `messages-buffer' function.
90582f05 1622 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1623 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1624 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1625
39eb0cb5 16262013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1627
1628 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1629
1f1e06e2
SM
1630 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1631
70568a90
SM
16322013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1633
504a0381
SM
1634 * icomplete.el (icomplete-in-buffer): New var.
1635 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1636 vars and replace them with functions.
1637 (icomplete-minibuffer-setup): Adjust accordingly.
1638 (icomplete--completion-table, icomplete--completion-predicate)
1639 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1640 New functions.
1641 (icomplete-forward-completions, icomplete-backward-completions)
1642 (icomplete-simple-completing-p, icomplete-exhibit)
1643 (icomplete-completions): Use them.
1644 (icomplete--in-region-buffer): New var.
1645 (icomplete--in-region-setup): New function.
1646 (icomplete-mode): Use it.
1647
70568a90
SM
1648 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1649 (bug#15379).
1650 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1651 return args and options.
1652 (eshell-eval-using-options): Use the new return value of
1653 eshell--do-opts to set the options's vars in their scope.
1654 (eshell--set-option): Rename from eshell-set-option.
1655 Add arg `opt-vals'.
1656 (eshell--process-option): Rename from eshell-process-option.
1657 Add arg `opt-vals'.
1658 (eshell--process-args): Use an `opt-vals' alist to store the options's
1659 values during their processing and return them additionally to the
1660 remaining args.
1661
578c21bc
DG
16622013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1663
1664 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1665 continuation character an operator, as far as indentation is
1666 concerned (Bug#15369).
1667
c089653d
MR
16682013-09-15 Martin Rudalics <rudalics@gmx.at>
1669
1670 * window.el (window--state-put-2): Don't process buffer state
1671 when buffer doesn't exist any more (Bug#15382).
1672
1e53bb4b
GM
16732013-09-15 Glenn Morris <rgm@gnu.org>
1674
30753242
GM
1675 * eshell/em-unix.el (eshell/rm):
1676 Make -f ignore missing files. (Bug#15373)
1677
1e53bb4b
GM
1678 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1679 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1680 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1681
0d8863b3
GM
16822013-09-14 Glenn Morris <rgm@gnu.org>
1683
1684 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1685
d3fc6549
GM
16862013-09-13 Glenn Morris <rgm@gnu.org>
1687
1688 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1689 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1690
fcd42c11
DA
16912013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1692
1693 * frame.el (x-focus-frame): Mark as declared in frame.c.
1694
7830899f
SM
16952013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * ls-lisp.el: Use advice-add.
1698 (original-insert-directory): Remove.
1699 (ls-lisp--insert-directory): Rename from insert-directory; add
1700 `orig-fun' argument.
1701 (insert-directory): Advise.
1702
84387cd2
EZ
17032013-09-13 Eli Zaretskii <eliz@gnu.org>
1704
1705 * term.el (term-emulate-terminal): Decode the command string
1706 before passing it to term-command-hook. (Bug#15337)
1707
35ffc6ba
GM
17082013-09-13 Glenn Morris <rgm@gnu.org>
1709
5c3f9bcc
GM
1710 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1711
2ada368a
GM
1712 * eshell/esh-ext.el (eshell-search-path): Declare.
1713
fcef2e13
GM
1714 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1715 Otherwise an error occurs if eshell-dirs module not loaded.
1716
35ffc6ba
GM
1717 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1718
35c3d36e
MA
17192013-09-13 Michael Albinus <michael.albinus@gmx.de>
1720
1721 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1722 `tramp-check-proper-host'. Check for a valid method name.
1723
1724 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1726 * net/tramp-sh.el (tramp-maybe-open-connection):
1727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1728
1729 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1730 also for hash values.
1731
ae5e4c48
SM
17322013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1733
379add74
SM
1734 * term/ns-win.el (parameters): Don't declare as dynamic.
1735 (before-make-frame-hook): Don't add ineffective function.
1736
ae5e4c48
SM
1737 * eshell/*.el: Use lexical-binding (bug#15231).
1738
b5623270
KH
17392013-09-12 Kenichi Handa <handa@gnu.org>
1740
ae5e4c48 1741 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1742
30213927
GM
17432013-09-12 Glenn Morris <rgm@gnu.org>
1744
be94d713 1745 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1746 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1747
44915370
GM
1748 * subr.el (do-after-load-evaluation): Also give compiler warnings
1749 when obsolete files are used (except by obsolete files).
1750
a6ae021f
GM
1751 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1752 in the status output, assume `filename' is the first. (Bug#15322)
1753
40e64f0c
GM
1754 * vc/vc.el (vc-deduce-fileset): Doc fix.
1755
16d9f896
GM
1756 * calc/calc-help.el (Info-goto-node):
1757 * progmodes/cperl-mode.el (Info-find-node):
1758 * vc/ediff.el (Info-goto-node): Update declarations.
1759
dea01c6e
GM
1760 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1761
759880bf 1762 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1763 (vc-bzr-pull): Require vc-dispatcher.
1764 * vc/vc-git.el (vc-compilation-mode): Declare.
1765 (vc-git-pull): Require vc-dispatcher.
1766
08d66420
GM
1767 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1768
30b626e9
GM
1769 * progmodes/octave.el (help-button-action): Declare.
1770
8c05cb10
GM
1771 * shell.el (shell-directory-tracker): Output error as a message
1772 rather than just returning it as a string.
1773 (shell-process-pushd): Remove useless use of message.
1774
30213927
GM
1775 * dframe.el (dframe-timer-fn):
1776 * files.el (dir-locals-read-from-file):
1777 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1778 (mpc-format):
1779 * reveal.el (reveal-post-command):
1780 * saveplace.el (load-save-place-alist-from-file):
1781 * shell.el (shell-resync-dirs):
1782 * w32-common-fns.el (x-get-selection-value):
1783 * emacs-lisp/copyright.el (copyright-find-copyright):
1784 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1785 * emulation/tpu-edt.el (tpu-copy-keyfile):
1786 * play/bubbles.el (bubbles--mark-neighbourhood):
1787 * progmodes/executable.el
1788 (executable-make-buffer-file-executable-if-script-p):
1789 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1790
d3b049e6
SM
17912013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1792
170266d0
SM
1793 Cleanup Eshell to rely less on dynamic scoping.
1794 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1795 last-value, and ext-command here. Bind `args' closer to `body'.
1796 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1797 (eshell--args): Declare new dynamic var.
1798 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1799 last-value, and ext-command. Pass `args' to `body'.
1800 (eshell-process-args): Bind eshell--args.
1801 (eshell-set-option): Use eshell--args.
1802 * eshell/eshell.el (eshell): Use derived-mode-p.
1803 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1804 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1805 (eshell-glob-function): Declare.
1806 * eshell/esh-util.el: Require cl-lib.
1807 (eshell-read-hosts-file): Avoid add-to-list.
1808 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1809 `err'.
1810 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1811 Declare.
1812 (eshell/diff): Remove unused var `err'.
1813 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1814 `killflag'.
1815 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1816 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1817 first use.
1818 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1819 Move declaration before first use.
1820 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1821 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1822 rely on cl-return.
1823
56834f3b
GM
18242013-09-12 Glenn Morris <rgm@gnu.org>
1825
1826 * term/ns-win.el (global-map): Remove binding for ispell-next,
1827 deleted 1999-05-29. (Bug#15357)
1828
5c91a2b8
GM
18292013-09-11 Glenn Morris <rgm@gnu.org>
1830
da712f22
GM
1831 * echistory.el (electric-command-history): Remove call to deleted func.
1832
512e4cdc
GM
1833 * play/landmark.el (landmark-mode): Fix typos.
1834
d3506ca5
GM
1835 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1836 Check cvs-sort-ignore-file is bound.
1837
5c91a2b8
GM
1838 * savehist.el: No need for cl when compiling on Emacs.
1839
feeff482
SM
18402013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1841
656bd483
SM
1842 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1843 (bug#15338).
d3b049e6
SM
1844 (eshell-self-insert-command, eshell-send-invisible):
1845 Remove unused argument.
656bd483
SM
1846 (eshell-handle-control-codes): Remove unused var `orig'.
1847 Avoid delete-backward-char.
1848
feeff482
SM
1849 * files.el (set-auto-mode): Simplify a bit further.
1850
2a08047a
GM
18512013-09-11 Glenn Morris <rgm@gnu.org>
1852
1853 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1854 (set-auto-mode): Don't regexp-quote elements.
1855 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1856 * progmodes/cc-mode.el (interpreter-mode-alist):
1857 * progmodes/ruby-mode.el (interpreter-mode-alist):
1858 Revert previous change.
1859
34675540
SM
18602013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1b3b87df
SM
1862 * play/snake.el (snake-mode):
1863 * play/mpuz.el (mpuz-mode):
1864 * play/landmark.el (lm-mode):
1865 * play/blackbox.el (blackbox-mode):
1866 * play/5x5.el (5x5-mode):
1867 * obsolete/options.el (Edit-options-mode):
1868 * net/quickurl.el (quickurl-list-mode):
1869 * net/newst-treeview.el (newsticker-treeview-mode):
1870 * mail/rmailsum.el (rmail-summary-mode):
1871 * mail/mspools.el (mspools-mode):
1872 * locate.el (locate-mode):
1873 * ibuffer.el (ibuffer-mode):
1874 * emulation/ws-mode.el (wordstar-mode):
1875 * emacs-lisp/debug.el (debugger-mode):
1876 * array.el (array-mode):
1877 * net/eudc.el (eudc-mode): Use define-derived-mode.
1878 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1879 Move initialization into declaration.
1880 (mairix-searches-mode): Use define-derived-mode.
1881 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1882 (eudc-edit-hotlist): Use dolist.
1883 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1884 (Man-mode): Use define-derived-mode.
1885 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1886 (Info-edit-mode): Use define-derived-mode.
1887 (Info-cease-edit): Use Info-mode.
1888 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1889 into declaration.
1890 (eshell-mode): Use define-derived-mode.
1891 * chistory.el (command-history-mode-map): Rename from
1892 command-history-map.
1893 (command-history-mode): Use define-derived-mode.
da712f22 1894 (Command-history-setup): Remove function.
1b3b87df
SM
1895 * calc/calc.el (calc-trail-mode-map): New var.
1896 (calc-trail-mode): Use define-derived-mode.
1897 (calc-trail-buffer): Set calc-main-buffer manually.
1898 * bookmark.el (bookmark-insert-annotation): New function.
1899 (bookmark-edit-annotation): Use it.
1900 (bookmark-edit-annotation-mode): Make it a proper major mode.
1901 (bookmark-send-edited-annotation): Use derived-mode-p.
1902 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1903 closer to its ideal place. Use \' to match EOS.
1904
34675540
SM
1905 * profiler.el (profiler-calltree-find): Use function-equal.
1906
6a5c15d9
GM
19072013-09-10 Glenn Morris <rgm@gnu.org>
1908
1af4c220
GM
1909 * files.el (interpreter-mode-alist): Convert to regexps.
1910 (set-auto-mode): Adapt for this. (Bug#15306)
1911 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1912 Comment out unused variable.
1913 * progmodes/cc-mode.el (interpreter-mode-alist):
1914 * progmodes/python.el (interpreter-mode-alist):
1915 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1916 * progmodes/sh-script.el (sh-set-shell):
1917 No longer use interpreter-mode-alist to get list of shells.
1918
6a5c15d9
GM
1919 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1920
8c27f5ff
SM
19212013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1922
02ef6c1a 1923 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1924 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1925 Bind switch-frame explicitly. Replace universal-argument-minus with
1926 a conditional binding.
1927 (universal-argument-num-events, saved-overriding-map): Remove.
1928 (restore-overriding-map): Remove.
1929 (universal-argument--mode): Rename from save&set-overriding-map,
1930 and rewrite.
1931 (universal-argument, universal-argument-more, negative-argument)
1932 (digit-argument): Adjust accordingly.
1933 (universal-argument-minus): Remove.
1934 (universal-argument-other-key): Remove.
1935
8c27f5ff
SM
1936 * subr.el (with-demoted-errors): Add `format' argument.
1937
6480194c
MA
19382013-09-10 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1941 `tramp-cleanup-connection'.
1942
1943 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1944 parameters KEEP-DEBUG and KEEP-PASSWORD.
1945
1946 * net/tramp.el (tramp-file-name-handler):
1947 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1948 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1949 (tramp-maybe-open-connection):
8c27f5ff
SM
1950 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1951 Use `tramp-cleanup-connection'.
6480194c 1952
8c27f5ff
SM
1953 * net/tramp-sh.el (tramp-maybe-open-connection):
1954 Catch 'uname-changed inside the progress reporter.
6480194c 1955
e5e916d8
GM
19562013-09-10 Glenn Morris <rgm@gnu.org>
1957
9a2c9b47
GM
1958 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1959
e5e916d8
GM
1960 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1961 returns "alternate access method" in mode (eg "-rw-r--r--.").
1962
144e38fe
GM
19632013-09-08 Glenn Morris <rgm@gnu.org>
1964
1965 * saveplace.el (load-save-place-alist-from-file):
1966 Demote errors. (Bug#15305)
1967
af9ff9e8
MA
19682013-09-08 Michael Albinus <michael.albinus@gmx.de>
1969
1970 Improve compatibility with older Emacsen, and XEmacs.
1971
1972 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1973 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1974 (with-tramp-progress-reporter): Do not let-bind `result'.
1975 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1976 (tramp-handle-make-auto-save-file-name): New function, moved from
1977 tramp-sh.el.
1978
1979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1980 for `make-auto-save-file-name'.
8c27f5ff
SM
1981 (tramp-adb--gnu-switches-to-ash):
1982 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1983
1984 * net/tramp-cache.el (tramp-cache-print): Call
1985 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1986
1987 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1988 bound. It isn't for XEmacs.
1989
8c27f5ff
SM
1990 * net/tramp-compat.el (tramp-compat-copy-file):
1991 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1992 (tramp-compat-replace-regexp-in-string): New defun.
1993
1994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1995 for `make-auto-save-file-name'.
1996 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1997 `copy-file'.
1998 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1999 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2000 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2001
8c27f5ff
SM
2002 * net/tramp-gw.el (tramp-gw-open-network-stream):
2003 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2004
8c27f5ff
SM
2005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2006 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2007 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2008 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2009 (tramp-sh-file-inotifywait-process-filter):
2010 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2011 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2012
2013 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2014 for `make-auto-save-file-name'.
8c27f5ff
SM
2015 (tramp-smb-handle-copy-directory):
2016 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2017 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2018 (tramp-smb-handle-copy-file): Improve error message.
2019 (tramp-smb-handle-rename-file): Rename directly only in case
2020 `newname' does not exist yet. This is a restriction of smbclient.
2021 (tramp-smb-maybe-open-connection): Rerun the function only when
2022 `auth-sources' is non-nil.
2023
0ca754d0
KH
20242013-09-08 Kenichi Handa <handa@gnu.org>
2025
2026 * international/characters.el: Set category "^" (Combining) for
2027 more characters.
2028
e8dd0787
AM
20292013-09-07 Alan Mackenzie <acm@muc.de>
2030
2031 Correctly fontify Java class constructors.
2032 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2033 in Java Mode.
2034 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2036 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2037 "typeless" declaration there.
2038
f2f248e7
RW
20392013-09-07 Roland Winkler <winkler@gnu.org>
2040
2041 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2042 field subtitle for entry type book.
2043
67982e2b
SM
20442013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * minibuffer.el: Make minibuffer-complete call completion-in-region
2047 rather than other way around.
2048 (completion--some, completion-pcm--find-all-completions):
2049 Don't delay signals when debugging.
2050 (minibuffer-completion-contents): Beware fields within the
2051 minibuffer contents.
2052 (completion-all-sorted-completions): Use defvar-local.
2053 (completion--do-completion, completion--cache-all-sorted-completions)
2054 (completion-all-sorted-completions, minibuffer-force-complete):
2055 Add args `beg' and `end'.
2056 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2057 (minibuffer-complete): Use completion-in-region.
2058 (completion-complete-and-exit): New fun, extracted from
2059 minibuffer-complete-and-exit.
2060 (minibuffer-complete-and-exit): Use it.
2061 (completion--complete-and-exit): Rename from
2062 minibuffer--complete-and-exit.
2063 (completion-in-region--single-word): New function, extracted from
2064 minibuffer-complete-word.
2065 (minibuffer-complete-word): Use it.
2066 (display-completion-list): Make `common-substring' argument obsolete.
2067 (completion--in-region): Call completion--in-region-1 instead of
2068 minibuffer-complete.
2069 (completion-help-at-point): Pass boundaries to
2070 minibuffer-completion-help as args rather than via an overlay.
2071 (completion-pcm--string->pattern): Use `any-delim'.
2072 (completion-pcm--optimize-pattern): New function.
2073 (completion-pcm--pattern->regex): Handle `any-delim'.
2074 * icomplete.el (icomplete-forward-completions)
2075 (icomplete-backward-completions, icomplete-completions):
2076 Adjust calls to completion-all-sorted-completions and
2077 completion--cache-all-sorted-completions.
2078 (icomplete-with-completion-tables): Default to t.
2079 * emacs-lisp/crm.el (crm--current-element): Rename from
2080 crm--select-current-element. Don't put an overlay but return the
2081 boundaries instead.
2082 (crm--completion-command): Take two new args to bind to the boundaries.
2083 (crm-completion-help): Adjust accordingly.
2084 (crm-complete): Use completion-in-region.
2085 (crm-complete-word): Use completion-in-region--single-word.
2086 (crm-complete-and-exit): Use completion-complete-and-exit.
2087
e17d94a5
SM
20882013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2091 than dynamically.
2092
96727100
JL
20932013-09-06 Juri Linkov <juri@jurta.org>
2094
2095 * info.el (Info-display-images-node): When image file doesn't exist
2096 display text version of the image if it's provided in the Info file.
2097 Otherwise, display the location of missing image from SRC attribute.
2098 Add help-echo text property from ALT attribute. (Bug#15279)
2099
86cf7329
SM
21002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2103 (edit-abbrevs-mode): Use define-derived-mode.
2104
2105 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2106 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2107 that it's defined.
2108 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2109 Use define-derived-mode.
2110
2111 * epg.el (epg-start-encrypt): Minor CSE simplification.
2112
816244a2
WX
21132013-09-06 William Xu <william.xwl@gmail.com>
2114
2115 * arc-mode.el: Add support for 7za (bug#15264).
2116 (archive-7z-program): New var.
2117 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2118 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2119 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2120
1486fa31
MA
21212013-09-06 Michael Albinus <michael.albinus@gmx.de>
2122
2123 Remove URL syntax.
2124
2125 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2126 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2127 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2128 (tramp-postfix-host-format, tramp-file-name-regexp)
2129 (tramp-completion-file-name-regexp)
2130 (tramp-completion-dissect-file-name)
2131 (tramp-handle-substitute-in-file-name): Remove 'url case.
2132 (tramp-file-name-regexp-url)
2133 (tramp-completion-file-name-regexp-url): Remove constants.
2134
39785324
GM
21352013-09-06 Glenn Morris <rgm@gnu.org>
2136
2137 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2138
1f896cb7
DG
21392013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2140
2141 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2142 keywords" below "here-doc beginnings" (Bug#15270).
2143
c0458e0b
SM
21442013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * subr.el (pop): Use `car-safe'.
2147 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2148 to detect unused `pop' return value.
2149
2150 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2151 var `block-regexp'.
2152 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2153 (python-fill-string): Remove unused var `marker'.
2154 (python-skeleton-add-menu-items): Remove unused var `items'.
2155
2156 * international/mule-cmds.el: Require CL.
2157 (find-coding-systems-for-charsets): Avoid add-to-list.
2158 (sanitize-coding-system-list): New function, extracted from
2159 select-safe-coding-system-interactively.
2160 (select-safe-coding-system-interactively): Use it.
2161 (read-input-method-name): Accept symbols for `default'.
2162
2163 * emacs-lisp/advice.el (defadvice): Add indent rule.
2164
6c42fc3e
DH
21652013-09-05 Daniel Hackney <dan@haxney.org>
2166
2167 * dired-x.el:
2168 * net/ange-ftp.el:
2169 * net/browse-url.el:
2170 * net/dbus.el:
2171 * net/eudc.el:
2172 * net/eudcb-ldap.el:
2173 * net/eww.el:
2174 * net/imap.el:
2175 * printing.el:
2176 * vc/ediff-diff.el:
2177 * vc/ediff-init.el:
2178 * vc/ediff-merg.el:
2179 * vc/ediff-mult.el:
2180 * vc/ediff-util.el:
2181 * vc/ediff-wind.el:
2182 * vc/ediff.el:
2183 * vc/emerge.el:
2184 * vc/pcvs.el:
2185 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2186 byte compiler. Remove some unused let-bound variables.
2187
4c528aab
SM
21882013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2191 a "ref-cell", since it gets better optimized (bug#14883).
2192
bd15c390
GM
21932013-09-05 Glenn Morris <rgm@gnu.org>
2194
2195 * progmodes/cc-awk.el (c-forward-sws): Declare.
2196
1c3ac2e5
GM
21972013-09-04 Glenn Morris <rgm@gnu.org>
2198
2199 * generic-x.el [rul-generic-mode]: Require cc-mode.
2200 (c++-mode-syntax-table): Declare.
2201 (rul-generic-mode-syntax-table): Init in the defvar.
2202
52b1cc79
SM
22032013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2204
c828af56
SM
2205 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2206 (vc-do-command, vc-set-async-update):
2207 * vc/vc-mtn.el (vc-mtn-dir-status):
2208 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2209 (vc-hg-pull, vc-hg-merge-branch):
2210 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2211 (vc-git-merge-branch):
2212 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2213 (vc-cvs-dir-status-files):
2214 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2215 (vc-bzr-dir-status-files):
2216 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2217 * vc/vc-annotate.el: Use lexical-binding.
2218 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2219 (vc-sentinel-movepoint): Declare.
2220 (vc-annotate): Don't use `goto-line'.
2221 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2222 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2223 (vc-sentinel-movepoint): Declare.
2224 * vc/vc-svn.el: Use lexical-binding.
2225 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2226 * vc/vc-sccs.el:
2227 * vc/vc-rcs.el: Use lexical-binding.
2228
abae272c
SM
2229 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2230 `deleted'. Don't drop errors silently.
2231
52b1cc79
SM
2232 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2233
63191d9f
XF
22342013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2235
2236 * vc/vc.el (vc-ignore): Rewrite.
2237 (vc-default-ignore): New function.
2238 (vc-default-ignore-completion-table): Use find-ignore-file.
2239
2240 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2241 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2242 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2243 Remove. Most code moved to vc.el.
2244
9d3f707c
SM
22452013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2246
abae272c 2247 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2248 * net/tramp-smb.el (tramp-smb-get-file-entries):
2249 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2250 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2251
fde38d49
SM
2252 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2253 Update call to it.
2254 (eww-change-select): Remove unused var `properties'.
2255 (eww-make-unique-file-name): Remove unused var `base'.
2256
2257 * finder.el (finder-compile-keywords): Don't mess with windows.
2258
84032db7
SM
2259 * calculator.el (calculator-funcall): Fix typo in last change.
2260
724f5e41
SM
2261 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2262
14b511d4
SM
2263 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2264 <pkg>-autoloads.el file stop us.
2265
9d3f707c 2266 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2267 warnings, and factor out common code.
9d3f707c 2268
88527bc0
DG
22692013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2272 two-character operators and whether the character preceding them
2273 changes their meaning (Bug#15208).
2274
96edb677
FEG
22752013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2276
2277 Format code sent to Python shell for robustness.
9d3f707c
SM
2278 * progmodes/python.el (python-shell-buffer-substring):
2279 New function.
96edb677
FEG
2280 (python-shell-send-region, python-shell-send-buffer): Use it.
2281
95beaef3
MA
22822013-09-02 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2285 * net/tramp.el (tramp-user-error): ... here.
2286 (tramp-find-method, tramp-check-proper-host)
2287 (tramp-dissect-file-name, tramp-debug-message)
2288 (tramp-handle-shell-command):
2289 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2290 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2291
2292 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2293
f167c27b
MR
22942013-09-02 Martin Rudalics <rudalics@gmx.at>
2295
2296 * avoid.el (mouse-avoidance-point-position)
2297 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2298 returns nil.
2299
cd16c5f1
FEG
23002013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2301
2302 * progmodes/python.el (python-shell-completion-get-completions):
2303 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2304 (python-nav-if-name-main): New command.
cd16c5f1 2305
e73c3a0d
GM
23062013-09-01 Glenn Morris <rgm@gnu.org>
2307
f8ccce03
GM
2308 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2309 Avoid leading space in $wins. Otherwise the sed command used by
2310 eg compile-main ends up containing "/*.el". (Bug#15170)
2311
e73c3a0d
GM
2312 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2313
415f808e
GM
23142013-08-30 Glenn Morris <rgm@gnu.org>
2315
2316 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2317 Fix is-this-a-directory logic. (Bug#15220)
2318
f069bba8
SM
23192013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2320
112798c1
SM
2321 * textmodes/css-mode.el: Use SMIE.
2322 (css-smie-grammar): New var.
2323 (css-smie--forward-token, css-smie--backward-token)
2324 (css-smie-rules): New functions.
2325 (css-mode): Use them.
2326 (css-navigation-syntax-table): Remove var.
2327 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2328 (css-indent-calculate, css-indent-line): Remove functions.
2329
2330 Misc changes to reduce use of `(lambda...); and other cleanups.
2331 * cus-edit.el: Use lexical-binding.
2332 (customize-push-and-save, customize-apropos)
2333 (custom-buffer-create-internal): Use closures.
2334 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2335 * progmodes/ada-xref.el: Use setq.
2336 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2337 * dframe.el: Use lexical-binding.
2338 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2339 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2340 * descr-text.el: Use lexical-binding.
2341 (describe-text-widget, describe-text-sexp, describe-property-list):
2342 Use closures.
2343 * comint.el (comint-history-isearch-push-state): Use a closure.
2344 * calculator.el: Use lexical-binding.
2345 (calculator-number-to-string): Make it work with lexical-binding.
2346 (calculator-funcall): Same and use cl-letf.
2347
2da4c3ab
SM
2348 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2349 (lisp--company-doc-string, lisp--company-location): New functions.
2350 (lisp-completion-at-point): Use them to improve Company support.
2351
f069bba8
SM
2352 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2353 params of lambda expressions.
2354 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2355 (ruby-smie--opening-pipe-p): New function.
2356 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2357 symbols and matched |...| for formal params.
2358 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2359 from being treated as hanging. Handle "rescue".
2360
6758b6a8
GM
23612013-08-29 Glenn Morris <rgm@gnu.org>
2362
2363 * progmodes/cc-engine.el (c-pull-open-brace):
2364 Move definition before use.
2365
e8dfd197
SM
23662013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2369 are immutable. Don't use `unsafe' any more.
2370 (cl--defsubst-expand): Don't substitute at the same time as keeping
2371 a residual unused let-binding. Don't use `unsafe' any more.
2372
cc585c96
GM
23732013-08-29 Glenn Morris <rgm@gnu.org>
2374
ba579ea6
GM
2375 * calendar/cal-china.el (calendar-chinese-year-cache):
2376 Recenter on 2015.
2377
8201a87e
GM
2378 * nxml/nxml-util.el (nxml-debug-clear-inside):
2379 Use cl-loop rather than loop.
2380
6ee877c7
GM
2381 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2382
cc585c96
GM
2383 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2384
27be8d39
GM
23852013-08-28 Glenn Morris <rgm@gnu.org>
2386
397440a1
GM
2387 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2388
2bb762d4
GM
2389 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2390
27be8d39
GM
2391 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2392
2d69b99e
SM
23932013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2394
f663baa7
SM
2395 * simple.el (repeat-complex-command--called-interactively-skip):
2396 New function.
2397 (repeat-complex-command): Use it (bug#14136).
2398
dd4f8b74
SM
2399 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2400 (c-define-abbrev-table): Add `doc' argument.
2401 (c-mode-abbrev-table, c++-mode-abbrev-table)
2402 (objc-mode-abbrev-table, java-mode-abbrev-table)
2403 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2404 (awk-mode-abbrev-table): Use it.
2405 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2406 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2407 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2408 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2409 Move initialization into the declaration; and remove any
2410 autoload cookie.
2411
b58969f7
SM
2412 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2413 and dynamic let binding.
2414
4021d6a6
SM
2415 * vc/smerge-mode.el: Remove redundant :group args.
2416
2d69b99e
SM
2417 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2418 to load-path.
2419
274919fd
JL
24202013-08-28 Juri Linkov <juri@jurta.org>
2421
2422 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2423 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2424 (isearch-other-meta-char): Handle an undefined shifted printing
2425 character by downshifting it. (Bug#15200)
2426
121f8c95
JL
24272013-08-28 Juri Linkov <juri@jurta.org>
2428
2429 * isearch.el (isearch-search): Change regexp error message for
2430 non-regexp searches. (Bug#15166)
2431
50b13cde
PE
24322013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2433
2434 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2435 for portability to hosts where /bin/sh has problems.
2436
95888bca
SM
24372013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2440
bbe558f1
JL
24412013-08-27 Juri Linkov <juri@jurta.org>
2442
2443 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2444 in the keyboard macro. (Bug#15126)
2445
26f98a7d
JL
24462013-08-27 Juri Linkov <juri@jurta.org>
2447
2448 * isearch.el (isearch-quote-char): Comment out converting unibyte
2449 to multibyte, thus syncing with its `quoted-insert' counterpart.
2450 (Bug#15166)
2451
7c97d35e
MR
24522013-08-27 Martin Rudalics <rudalics@gmx.at>
2453
2454 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2455 argument in call of get-largest-window (Bug#15185).
2456 Reported by Stephen Leake.
7c97d35e 2457
a0b5606e 24582013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2459
2460 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2461
9e89d835
SM
24622013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2465 from a matcher-function unless there's no more matches (bug#15161).
2466
78fc2530
MA
24672013-08-26 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * minibuffer.el: Revert change from 2013-08-20.
2470
2471 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2472 with text property `tramp-default', if appropriate.
2473 (tramp-check-proper-host): New defun.
2474 (tramp-dissect-file-name): Do not check hostname. Revert change
2475 of 2013-03-18.
2476 (tramp-backtrace): Make VEC-OR-PROC optional.
2477
2478 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2479 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2480 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2481 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2482 Apply `tramp-check-proper-host'.
78fc2530 2483
edca97cd
TH
24842013-08-26 Tassilo Horn <tsdh@gnu.org>
2485
2486 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2487 lambda expression in order to have `describe-variable' display it.
2488
df54bcbd
MA
24892013-08-26 Michael Albinus <michael.albinus@gmx.de>
2490
2491 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2492 BUF can be optional. (Bug#15186)
2493
eed99101
XF
24942013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2495
2496 * progmodes/flymake.el (flymake-get-real-file-name-function):
2497 Fix broken customization. (Bug#15184)
2498
b5eb9035
AM
24992013-08-25 Alan Mackenzie <acm@muc.de>
2500
8a51e842
AM
2501 Improve indentation of bracelists defined by macros (without "=").
2502
2503 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2504 expansion begins with "{", regard it as bracelist when it doesn't
2505 contain a ";".
2506
869455d4
AM
2507 Parse C++ inher-intro when there's a template split over 2 lines.
2508
2509 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2510 rigorously the search for "class" etc. followed by ":".
2511
2512 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2513 random languages a regexp which never matches rather than nil.
2514
b5eb9035
AM
2515 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2516
2517 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2518 (c-awk-regexp-one-line-possibly-open-char-list-re)
2519 (c-awk-one-line-possibly-open-regexp-re)
2520 (c-awk-one-line-non-syn-ws*-re): Remove.
2521 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2522 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2523 (c-awk-space*-unclosed-regexp-/-re): New constants.
2524 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2525 aren't regexp delimiters.
2526
2527 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2528 handling for a rare situation in AWK Mode involving unterminated
2529 strings/regexps.
2530
61611d54
GM
25312013-08-23 Glenn Morris <rgm@gnu.org>
2532
2d85dc34
GM
2533 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2534
cb8d2612
GM
2535 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2536
bb35f42f
GM
2537 * files.el (create-file-buffer): If the result would begin with
2538 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2539
b9808e77
SM
25402013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2541
e3a66363
SM
2542 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2543 text-properties (bug#15155).
2544
b9808e77
SM
2545 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2546 exist any more.
2547 (calc-keypad-redraw): Remove unused var `pad'.
2548 (calc-keypad-press): Remove unused var `menu'.
2549
7fd5f65e
MR
25502013-08-23 Martin Rudalics <rudalics@gmx.at>
2551
b9808e77
SM
2552 * window.el (display-buffer-pop-up-frame):
2553 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2554 use it as the new frame's buffer (Bug#15133).
2555
8352b530
SM
25562013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * calendar/timeclock.el: Minor cleanups.
2559 (timeclock-ask-before-exiting, timeclock-use-display-time):
2560 Use `symbol'.
2561 (timeclock-modeline-display): Define as alias before the
2562 actual definition.
2563 (timeclock-mode-line-display): Use define-minor-mode.
2564 (timeclock-day-list-template): Make it a function, add an argument.
2565 (timeclock-day-list-required, timeclock-day-list-length)
2566 (timeclock-day-list-debt, timeclock-day-list-span)
2567 (timeclock-day-list-break): Adjust calls accordingly.
2568
9f7b1925
SM
25692013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2572 Use read--expression so that completion works again.
2573
6e50e983
SS
25742013-08-21 Sam Steingold <sds@gnu.org>
2575
2576 Add rudimentary inferior shell interaction
2577 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2578 (sh-set-shell): Reset it.
9f7b1925
SM
2579 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2580 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2581
dbb0d350
SM
25822013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * align.el: Use lexical-binding.
2585 (align-region): Simplify accordingly.
2586
c88586a9
MA
25872013-08-20 Michael Albinus <michael.albinus@gmx.de>
2588
2589 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2590
2591 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2592 `non-essential' up.
2593
f95527c8
MA
25942013-08-17 Michael Albinus <michael.albinus@gmx.de>
2595
2596 * net/tramp.el:
2597 * net/tramp-adb.el:
2598 * net/tramp-cmds.el:
2599 * net/tramp-ftp.el:
2600 * net/tramp-gvfs.el:
2601 * net/tramp-gw.el:
2602 * net/tramp-sh.el: Don't wrap external variable declarations by
2603 `eval-when-compile'.
2604
4b5fe4ee
LMI
26052013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2606
2607 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2608 now that Emacs supports ImageMagick animations.
2609
13c366c9
MA
26102013-08-16 Michael Albinus <michael.albinus@gmx.de>
2611
2612 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2613 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2614
3dfc5cd6
MR
26152013-08-16 Martin Rudalics <rudalics@gmx.at>
2616
2617 * window.el (mouse-autoselect-window-select): Do autoselect when
2618 mouse pointer is on margin.
2619
4bbb4381
WP
26202013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2621
2622 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2623
3a2ddc2d
GM
26242013-08-16 Glenn Morris <rgm@gnu.org>
2625
e8bedf5a
GM
2626 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2627 Handle "Remote Directory" response of some clients. (Bug#15058)
2628
58c4682f
GM
2629 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2630 Tweak warning. (Bug#14926)
2631
57953f49
GM
2632 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2633 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2634
3a2ddc2d
GM
2635 * image-mode.el (image-mode-map): Add menu items to reverse,
2636 increase, decrease, reset animation speed.
2637 (image--set-speed, image-increase-speed, image-decrease-speed)
2638 (image-reverse-speed, image-reset-speed): New functions.
2639 (image-mode-map): Add bindings for speed commands.
2640
2641 * image.el (image-animate-get-speed, image-animate-set-speed):
2642 New functions.
2643 (image-animate-timeout): Respect image :speed property.
2644
10fa0ed3
SM
26452013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2648 previous line (bug#15101).
2649 (debugger-eval-expression, debugger-record-expression):
2650 Use read--expression (bug#15102).
2651
5d89d9d2
MA
26522013-08-15 Michael Albinus <michael.albinus@gmx.de>
2653
2654 Remove byte compiler warnings, visible when compiling with
2655 `byte-compile-force-lexical-warnings' set to t.
2656
2657 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2658 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2659 (tramp-handle-unhandled-file-name-directory)
2660 (tramp-handle-file-notify-add-watch, tramp-action-login)
2661 (tramp-action-succeed, tramp-action-permission-denied)
2662 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2663 arguments with "_".
2664
2665 * net/tramp-adb.el (tramp-adb-parse-device-names)
2666 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2667 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2668 (tramp-adb-handle-file-truename): Remove unused arguments.
2669
2670 * net/tramp-cache.el (tramp-flush-directory-property)
2671 (tramp-flush-connection-property, tramp-list-connections)
2672 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2673
10fa0ed3
SM
2674 * net/tramp-compat.el (tramp-compat-make-temp-file):
2675 Rename FILENAME to F.
5d89d9d2
MA
2676
2677 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2678 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2679 (tramp-zeroconf-parse-workstation-device-names)
2680 (tramp-zeroconf-parse-webdav-device-names)
2681 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2682
2683 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2684 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2685
2686 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2687 arguments.
2688 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2689 (tramp-sh-handle-insert-file-contents-literally)
2690 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2691 with "_".
2692 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2693 Remove unused variables.
2694
2695 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2696 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2697 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2698
2699 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2700 Make them a defconst.
2701 (tramp-uuencode-region): Remove unused variable.
2702
62f33bae
JB
27032013-08-14 Juanma Barranquero <lekktu@gmail.com>
2704
2705 * frameset.el (frameset--prop-setter): New function.
2706 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2707 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2708 parameter was already set in FILTERED. Doc fix.
2709 (frameset--record-minibuffer-relationships): Allow saving a
2710 minibufferless frame without its corresponding minibuffer frame.
2711 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2712 frame, if the frame id matches.
2713 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2714 frames before orphaned ones.
2715 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2716
c660a885
MR
27172013-08-14 Martin Rudalics <rudalics@gmx.at>
2718
2719 * window.el (window-make-atom): Don't overwrite parameter
2720 already present.
2721 (display-buffer-in-atom-window): Handle special case where we
2722 split an already atomic window.
2723 (window--major-non-side-window, display-buffer-in-side-window)
2724 (window--side-check): Ignore minibuffer window when walking
2725 window tree.
2726 (window-deletable-p): Return 'frame only if no other frame uses
2727 our minibuffer window.
2728 (record-window-buffer): Run buffer-list-update-hook.
2729 (split-window): Make sure window--check-frame won't destroy an
2730 existing atomic window in case the new window gets nested
2731 inside.
2732 (display-buffer-at-bottom): Ignore minibuffer window when
2733 walking window tree. Don't split a side window.
2734 (pop-to-buffer): Don't set-buffer here, the select-window call
2735 should do that.
2736 (mouse-autoselect-window-select): Autoselect only if we are in the
2737 text portion of the window.
2738
8259030d
LMI
27392013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2740
21c58ae2
LMI
2741 * net/shr.el (shr-parse-image-data): New function to grab both the
2742 data itself and the Content-Type.
2743 (shr-put-image): Use it.
2744
2745 * net/eww.el (eww-display-image): Ditto.
2746
8259030d
LMI
2747 * image.el (image-content-type-suffixes): New variable.
2748
ad756449
FEG
27492013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2750
2751 * progmodes/python.el (python-imenu--build-tree)
2752 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2753
f73f4ce6
XF
27542013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2755
2756 * simple.el (backward-word): Mention the optional argument.
2757
1f585e65
SM
27582013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * frameset.el (frameset--make): Rename constructor from make-frameset.
2761 (frameset-p, frameset-valid-p): Don't autoload.
2762 (frameset-valid-p): Use normal accessors.
2763
af1c6c84
GM
27642013-08-13 Glenn Morris <rgm@gnu.org>
2765
55e47f95
GM
2766 * progmodes/compile.el (compile-command): Tweak example in doc.
2767 * obsolete/scribe.el (scribe-mode):
2768 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2769
f0024d8c
GM
2770 * mail/feedmail.el (feedmail-confirm-outgoing)
2771 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2772
2773 * cus-start.el (truncate-partial-width-windows): Fix type.
2774
2775 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2776
af1c6c84
GM
2777 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2778
5514cc4c
SM
27792013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * emacs-lisp/timer.el (timer--time-setter): New function.
2782 (timer--time): Use it as gv-setter.
2783
2784 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2785 setter is not a symbol.
2786
7997a2f1
GJ
27872013-08-12 Grégoire Jadi <daimrod@gmail.com>
2788
2789 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2790 if sending fails. This makes debugging easier.
2791
01f1a9ab
JB
27922013-08-12 Juanma Barranquero <lekktu@gmail.com>
2793
2794 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2795 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2796 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2797
594a4307
EZ
27982013-08-12 Eli Zaretskii <eliz@gnu.org>
2799
2800 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2801
7a22490f 28022013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2803
2804 * format.el (format-annotate-function):
2805 Handle read-only text properties in the source. (Bug#14887)
2806
3e41a054
LMI
28072013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2808
5514cc4c
SM
2809 * net/eww.el (eww-display-html): Ignore coding system errors.
2810 One web site uses "utf-8lias" as the coding system.
3e41a054 2811
7ec326db
JB
28122013-08-11 Juanma Barranquero <lekktu@gmail.com>
2813
2814 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2815
5660113b
JB
28162013-08-10 Juanma Barranquero <lekktu@gmail.com>
2817
9a4ebc74
JB
2818 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2819 (tutorial--detailed-help): Remove unused local variables.
2820 (tutorial--save-tutorial-to): Use ignore-errors.
2821 (help-with-tutorial): Use looking-at-p.
2822
2823 * view.el (view-buffer-other-window, view-buffer-other-frame):
2824 Mark unused arguments.
2825
2826 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2827 (woman-select-symbol-fonts, woman, woman-find-file)
2828 (woman-insert-file-contents, woman-non-underline-faces):
2829 Use string-match-p.
2830 (woman1-unquote): Move declaration.
2831
2832 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2833 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2834 argument. Remove unused local variable.
2835 (xml-parse-elem-type): Use string-match-p.
2836 (xml-substitute-numeric-entities): Use ignore-errors.
2837
45fdb482
JB
2838 * calculator.el (calculator): Mark unused argument.
2839 (calculator-paste, calculator-quit, calculator-integer-p):
2840 Use ignore-errors.
2841 (calculator-string-to-number, calculator-decimal, calculator-exp)
2842 (calculator-op-or-exp): Use string-match-p.
2843
2844 * dired.el (dired-buffer-more-recently-used-p): Declare.
2845 (dired-insert-set-properties, dired-insert-old-subdirs):
2846 Use ignore-errors.
2847
2848 * dired-aux.el (dired-compress): Use ignore-errors.
2849 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2850 (dired-do-async-shell-command, dired-do-shell-command)
2851 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2852 (dired-insert-subdir-validate): Use string-match-p.
2853 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2854 (dired-add-entry): Use string-match-p, looking-at-p.
2855 (dired-insert-subdir-newpos): Remove unused local variable.
2856
2857 * filenotify.el (file-notify-callback): Remove unused local variable.
2858
2859 * filesets.el (filesets-error): Mark unused argument.
2860 (filesets-which-command-p, filesets-filter-dir-names)
2861 (filesets-directory-files, filesets-get-external-viewer)
2862 (filesets-ingroup-get-data): Use string-match-p.
2863
2864 * find-file.el (ff-other-file-name, ff-other-file-name)
2865 (ff-find-the-other-file, ff-cc-hh-converter):
2866 Remove unused local variables.
2867 (ff-get-file-name): Use string-match-p.
2868 (ff-all-dirs-under): Use ignore-errors.
2869
2870 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2871 (follow-select-if-visible): Remove unused local variable.
2872
2873 * forms.el (read-file-filter): Move declaration.
2874 (forms--make-format, forms--make-parser, forms-insert-record):
2875 Quote function with #'.
2876 (forms--update): Use string-match-p. Quote function with #'.
2877
2878 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2879 (help-make-xrefs): Use looking-at-p.
2880 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2881
2882 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2883 (ibuffer-confirm-operation-on): Use string-match-p.
2884
2885 * msb.el (msb-item-handler, msb-dired-item-handler):
2886 Mark unused arguments.
2887
2888 * ses.el (ses-decode-cell-symbol)
2889 (ses-kill-override): Remove unused local variable.
2890 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2891 (ses-load): Use ignore-errors, looking-at-p.
2892 (ses-jump-safe): Use ignore-errors.
2893 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2894
2895 * tabify.el (untabify, tabify): Mark unused arguments.
2896
2897 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2898 Mark unused argument.
2899 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2900 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2901
c880af52
JB
2902 * emacs-lisp/timer.el (timer--time): Define setter with
2903 gv-define-setter to avoid deprecation warning.
2904
5660113b 2905 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2906 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2907 (cmpl-statistics-block): Remove (body was commented out).
2908 All callers changed.
2909 (add-completions-from-buffer, load-completions-from-file):
2910 Remove unused variables.
2911
156aab80
JB
29122013-08-09 Juanma Barranquero <lekktu@gmail.com>
2913
5c5dee78
JB
2914 * filecache.el (file-cache-delete-file-list):
2915 Print message only when told so.
2916 (file-cache-files-matching): Use #' in mapconcat argument.
2917
156aab80
JB
2918 * ffap.el (ffap-url-at-point): Fix reference to variable
2919 thing-at-point-default-mail-uri-scheme.
2920
ad9dcd70
SM
29212013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2922
54bd972f
SM
2923 * subr.el (define-error): New function.
2924 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2925 error-file-not-found and define with define-error.
2926 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2927 and define with define-error.
2928 * userlock.el (file-locked, file-supersession):
2929 * simple.el (mark-inactive):
2930 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2931 * progmodes/ada-mode.el (ada-mode-errors):
2932 * play/life.el (life-extinct):
2933 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2934 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2935 * nxml/rng-util.el (rng-error):
2936 * nxml/rng-uri.el (rng-uri-error):
2937 * nxml/rng-match.el (rng-compile-error):
2938 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2939 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2940 * nxml/nxml-rap.el (nxml-scan-error):
2941 * nxml/nxml-outln.el (nxml-outline-error):
2942 * net/soap-client.el (soap-error):
2943 * net/gnutls.el (gnutls-error):
2944 * net/ange-ftp.el (ftp-error):
2945 * mpc.el (mpc-proc-error):
2946 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2947 (json-number-format, json-string-escape, json-string-format)
2948 (json-key-format, json-object-format):
2949 * jka-compr.el (compression-error):
2950 * international/quail.el (quail-error):
2951 * international/kkc.el (kkc-error):
2952 * emacs-lisp/ert.el (ert-test-failed):
2953 * calc/calc.el (calc-error, inexact-result, math-overflow)
2954 (math-underflow):
2955 * bookmark.el (bookmark-error-no-filename):
2956 * epg.el (epg-error): Define with define-error.
2957
0ea9e53a
SM
2958 * time.el (display-time-event-handler)
2959 (display-time-next-load-average): Don't call sit-for since it seems
2960 unnecessary (bug#15045).
2961
b0429158
SM
2962 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2963 Use #' instead of ' to quote functions.
2964 (checkdoc-output-mode): Use setq-local.
2965 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2966 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2967 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2968 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2969 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2970 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2971 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2972 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2973
ad9dcd70
SM
2974 * ido.el (ido-completion-help): Fix up compiler warning.
2975
77187e6f
JB
29762013-08-09 Juanma Barranquero <lekktu@gmail.com>
2977
2978 * frameset.el (frameset-p): Add autoload cookie.
2979 (frameset--jump-to-register): New function, based on code moved from
2980 register.el.
2981 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2982
2983 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2984 (frameset-restore, frameset-save, frameset-session-filter-alist):
2985 Remove declarations.
2986 (register-alist): Doc fix.
2987 (frameset-to-register): Move to frameset.el.
2988 (jump-to-register, describe-register-1): Remove frameset-specific code.
2989
9d3aa82c
JB
29902013-08-08 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * allout-widgets.el (allout-widgets-pre-command-business)
2993 (allout-widgets-post-command-business)
2994 (allout-widgets-after-change-handler)
2995 (allout-decorate-item-and-context, allout-set-boundary-marker)
2996 (allout-body-modification-handler)
2997 (allout-graphics-modification-handler): Mark ignored arguments.
2998 (allout-widgets-post-command-business)
2999 (allout-widgets-exposure-change-processor)
3000 (allout-widgets-exposure-undo-processor)
3001 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3002 (allout-parse-item-at-point, allout-decorate-item-guides)
3003 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3004 * allout.el (epa-passphrase-callback-function): Declare.
3005 (allout-overlay-insert-in-front-handler)
3006 (allout-overlay-interior-modification-handler)
3007 (allout-isearch-end-handler, allout-chart-siblings)
3008 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3009 (allout-yank-processing, allout-process-exposed)
3010 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3011 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3012 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3013 (lisp-indent-defform): Mark ignored arguments.
3014 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3015 (calculate-lisp-indent): Remove unused variables.
3016 * international/characters.el (indian-2-column, arabic-2-column)
3017 (tibetan): Mark ignored arguments.
3018 (use-cjk-char-width-table): Mark ignored arguments.
3019 Remove unused variables.
3020 * international/fontset.el (build-default-fontset-data)
3021 (x-compose-font-name, create-fontset-from-fontset-spec):
3022 Mark ignored arguments.
3023 (fontset-plain-name): Remove unused variables.
3024 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3025 (keyboard-coding-system): Mark ignored arguments.
3026 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3027 * help.el (resize-temp-buffer-window):
3028 * window.el (display-buffer-in-major-side-window)
3029 (display-buffer-in-side-window, display-buffer-in-previous-window):
3030 Remove unused variables.
3031 * isearch.el (isearch-forward-symbol):
3032 * version.el (emacs-bzr-version-bzr):
3033 * international/mule-cmds.el (current-language-environment):
3034 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3035 (x-handle-display):
3036 * term/pc-win.el (x-list-fonts, x-display-planes)
3037 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3038 (x-server-version, x-display-screens, x-display-mm-height)
3039 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3040 (x-selection-owner-p, x-own-selection-internal)
3041 (x-disown-selection-internal, x-get-selection-internal)
3042 (msdos-initialize-window-system):
3043 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3044 * term/x-win.el (x-handle-no-bitmap-icon):
3045 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3046 (vc-default-find-file-hook, vc-default-extra-menu):
3047 Mark ignored arguments.
3048
0ca3f70e
SM
30492013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3052 break-condition in the context of the debugged code (bug#12685).
3053
74c5d24c
CS
30542013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3055
3056 * comint.el:
3057 Do not use an overlay to highlight the last prompt. (Bug#14744)
3058 (comint-mode): Make comint-last-prompt buffer local.
3059 (comint-last-prompt): New variable.
3060 (comint-last-prompt-overlay): Remove. Superseded by
3061 comint-last-prompt.
0ca3f70e
SM
3062 (comint-snapshot-last-prompt, comint-output-filter):
3063 Use comint-last-prompt.
74c5d24c 3064
c03c02ee
JB
30652013-08-08 Juanma Barranquero <lekktu@gmail.com>
3066
a3738d20 3067 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3068 (frameset-save): Check validity of the resulting frameset.
3069
04263d23
XF
30702013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3071
3072 * ido.el (ido-record-command): Add doc string.
3073
76c5e5ab
JB
30742013-08-08 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * frameset.el (frameset): Do not disable creation of the default
3077 frameset-p predicate. Doc fix.
3078 (frameset-valid-p): New function, copied from the old predicate-p.
3079 Add additional checks.
3080 (frameset-restore): Check with frameset-valid-p.
3081 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3082 (frameset-name, frameset-description, frameset-properties)
3083 (frameset-states): Add docstring.
f9dbf1cb
JB
3084 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3085 (frameset-filter-alist): Doc fixes.
76c5e5ab 3086
bd0c3c0b
JB
30872013-08-08 Juanma Barranquero <lekktu@gmail.com>
3088
3089 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3090
c735544c
SM
30912013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3094 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3095 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3096 (byte-compile-normal-call): Remove obsolescence check.
3097
2805a651
JB
30982013-08-08 Juanma Barranquero <lekktu@gmail.com>
3099
3677ffeb
JB
3100 * frameset.el (frameset-restore): Doc fix.
3101
2805a651
JB
3102 * register.el (frameset-frame-id, frameset-frame-with-id)
3103 (frameset-p, frameset-restore, frameset-save): Declare.
3104 (register-alist): Document framesets.
3105 (frameset-session-filter-alist): Declare.
3106 (frameset-to-register): New function.
3107 (jump-to-register): Implement jumping to framesets. Doc fix.
3108 (describe-register-1): Describe framesets.
3109
3110 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3111
a912c016
JB
31122013-08-07 Juanma Barranquero <lekktu@gmail.com>
3113
3114 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3115 Use lexical-binding.
3116
3117 * frameset.el (frameset): Use type vector, not list (incompatible
3118 change). Do not declare a new constructor, use the default one.
3119 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3120 `name' and `description', respectively, and add read-only slot
3121 `timestamp'. Doc fixes.
3122 (frameset-copy, frameset-persistent-filter-alist)
3123 (frameset-filter-alist, frameset-switch-to-gui-p)
3124 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3125 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3126 (frameset-filter-iconified, frameset-keep-original-display-p):
3127 Doc fixes.
3128 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3129 Rename from frameset-filter-(save|restore)-param. All callers changed.
3130 Doc fix.
3131 (frameset-p): Adapt to change to vector and be more thorough.
3132 Change arg name to OBJECT. Doc fix.
3133 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3134 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3135 All callers changed.
3136 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3137 All callers changed.
3138 (frameset--record-minibuffer-relationships): Rename from
3139 frameset--process-minibuffer-frames. All callers changed.
3140 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3141 Use new default constructor (again). Doc fix.
3142 (frameset--find-frame-if): Rename from `frameset--find-frame.
3143 All callers changed.
3144 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3145 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3146 Doc fix.
3147 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3148 PARAMETERS and WINDOW-STATE, respectively.
3149 (frameset-restore): Add new keyword argument PREDICATE.
3150 Reset frameset--target-display to nil. Doc fix.
3151
bb41480a
SM
31522013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3153
f001e98e
SM
3154 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3155 (bat-mode): Use it.
3156 (bat-mode-syntax-table): Mark \n as end-of-comment.
3157 (bat-font-lock-keywords): Remove comment rule.
3158
7679edb1
SM
3159 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3160 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3161
bb41480a
SM
3162 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3163 (byte-compile-callargs-warn): Use `push'.
3164 (byte-compile-arglist-warn): Ignore higher-order "calls".
3165 (byte-compile-file-form-autoload): Use `pcase'.
3166 (byte-compile-function-form): If quoting a symbol, check that it exists.
3167
cdc1ebb9
EZ
31682013-08-07 Eli Zaretskii <eliz@gnu.org>
3169
3170 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3171 and add a few popular commands found in batch files.
3172 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3173 (dos-mode): Doc fixes.
3174
312b1740
SM
31752013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3178 (dos-mode): Use setq-local. Add space after "rem".
3179 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3180 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3181
400a3178
AM
31822013-08-07 Arni Magnusson <arnima@hafro.is>
3183
3184 * progmodes/dos.el: New file.
3185 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3186 dos-mode.
3187
3b5c03d3
GM
31882013-08-06 Glenn Morris <rgm@gnu.org>
3189
3190 * calendar/calendar.el: Add new faces, and day-header-array.
3191 (calendar-weekday-header, calendar-weekend-header)
3192 (calendar-month-header): New faces.
3193 (calendar-day-header-construct): New function.
3194 (calendar-day-header-width): Also :set calendar-day-header-array.
3195 (calendar-american-month-header, calendar-european-month-header)
3196 (calendar-iso-month-header): Use calendar- faces.
3197 (calendar-generate-month):
3198 Use calendar-day-header-array for day headers; apply faces to them.
3199 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3200 (calendar-abbrev-construct): Add optional maxlen argument.
3201 (calendar-day-name-array): Doc fix.
3202 (calendar-day-name-array, calendar-abbrev-length)
3203 (calendar-day-abbrev-array):
3204 Also :set calendar-day-header-array, and maybe redraw.
3205 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3206 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3207 (calendar-day-name): Add option to use header array.
3208
ec6a2d7a
LMI
32092013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3210
3211 * net/shr.el (shr-render-td): Remove debugging.
3212 (shr-render-td): Make width computation consistent by defaulting
3213 all zero-width columns to 10 characters. This may not be optimal,
3214 but it's at least consistent.
2122cb6d
LMI
3215 (shr-make-table-1): Redo last change to fix the real problem in
3216 colspan handling.
ec6a2d7a 3217
ed4fd9c5
DA
32182013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3219
0ca3f70e
SM
3220 * files.el (cache-long-line-scans):
3221 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3222
64e22afe
JB
32232013-08-06 Juanma Barranquero <lekktu@gmail.com>
3224
024b38fc
JB
3225 * frameset.el (frameset, frameset-filter-alist)
3226 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3227 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3228 (frameset-compute-pos): Rename from frameset--compute-pos,
3229 and add docstring.
3230 (frameset-move-onscreen): Use frameset-compute-pos.
3231 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3232
64e22afe
JB
3233 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3234 Fix typos in docstrings.
3235
c8c2aca8
DA
32362013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3237
3238 * frame.el (get-other-frame): Tiny cleanup.
3239
1d237bba
JB
32402013-08-06 Juanma Barranquero <lekktu@gmail.com>
3241
8951efef
JB
3242 * vc/vc.el (vc-default-ignore-completion-table):
3243 Silence byte-compiler warning.
3244
307764cc
JB
3245 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3246 slot , which can indeed be nil.
3247 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3248 Move entry for `left' from persistent to live filter alist.
3249 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3250 Doc fixes.
3251 (frameset-filter-params): When restoring a frame, copy items added to
3252 `filtered', to avoid unwittingly modifying the original parameters.
3253 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3254 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3255
1d237bba
JB
3256 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3257 to use looking-at-p instead of looking-at. (Bug#15028)
3258
dc6c0eda
SM
32592013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 Revert introduction of isearch-filter-predicates (bug#14714).
3262 Rely on add-function instead.
3263 * isearch.el (isearch-filter-predicates): Rename it back to
3264 isearch-filter-predicate.
3265 (isearch-message-prefix): Use advice-function-mapc and advice
3266 properties to get the isearch-message-prefix.
3267 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3268 instead of run-hook-with-args-until-failure.
3269 (isearch-filter-visible): Not obsolete any more.
3270 * loadup.el: Preload nadvice.
3271 * replace.el (perform-replace): Revert to funcall
3272 instead of run-hook-with-args-until-failure.
3273 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3274 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3275 dired-isearch-filenames-toggle; make it into a proper minor mode.
3276 Use add/remove-function.
3277 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3278 Call the minor-mode rather than add/remove-hook.
3279 (dired-isearch-filter-filenames):
3280 Remove isearch-message-prefix property.
3281 * info.el (Info--search-loop): New function, extracted from Info-search.
3282 Funcall isearch-filter-predicate instead of
3283 run-hook-with-args-until-failure isearch-filter-predicates.
3284 (Info-search): Use it.
3285 (Info-mode): Use isearch-filter-predicate instead of
3286 isearch-filter-predicates.
3287
290d5b58
DA
32882013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3289
3290 Do not call to `selected-window' where it is assumed by default.
3291 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3292 `window-hscroll', `window-width', `window-height', `window-buffer',
3293 `window-frame', `window-start', `window-point', `next-window'
3294 and `window-display-table'.
3295 * abbrev.el (abbrev--default-expand):
3296 * bs.el (bs--show-with-configuration):
3297 * buff-menu.el (Buffer-menu-mouse-select):
3298 * calc/calc.el (calc):
3299 * calendar/calendar.el (calendar-generate-window):
3300 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3301 (diary-make-entry):
3302 * comint.el (send-invisible, comint-dynamic-complete-filename)
3303 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3304 * completion.el (complete):
3305 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3306 * disp-table.el (describe-current-display-table):
3307 * doc-view.el (doc-view-insert-image):
3308 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3309 * ehelp.el (with-electric-help):
3310 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3311 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3312 * emacs-lisp/helper.el (Helper-help-scroller):
3313 * emulation/cua-base.el (cua--post-command-handler-1):
3314 * eshell/esh-mode.el (eshell-output-filter):
3315 * ffap.el (ffap-gnus-wrapper):
3316 * help-macro.el (make-help-screen):
3317 * hilit-chg.el (highlight-compare-buffers):
3318 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3319 * hl-line.el (global-hl-line-highlight):
3320 * icomplete.el (icomplete-simple-completing-p):
3321 * isearch.el (isearch-done):
3322 * jit-lock.el (jit-lock-stealth-fontify):
3323 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3324 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3325 * mpc.el (mpc-tagbrowser, mpc):
3326 * net/rcirc.el (rcirc-any-buffer):
3327 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3328 * play/landmark.el (landmark-max-width, landmark-max-height):
3329 * play/zone.el (zone):
3330 * progmodes/compile.el (compilation-goto-locus):
3331 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3332 * progmodes/etags.el (find-tag-other-window):
3333 * progmodes/fortran.el (fortran-column-ruler):
3334 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3335 * progmodes/verilog-mode.el (verilog-point-text):
3336 * reposition.el (reposition-window):
3337 * rot13.el (toggle-rot13-mode):
3338 * server.el (server-switch-buffer):
3339 * shell.el (shell-dynamic-complete-command)
3340 (shell-dynamic-complete-environment-variable):
3341 * simple.el (insert-buffer, set-selective-display)
3342 (delete-completion-window):
3343 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3344 (speedbar-recenter):
3345 * startup.el (fancy-splash-head):
3346 * textmodes/ispell.el (ispell-command-loop):
3347 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3348 * tutorial.el (help-with-tutorial):
3349 * vc/add-log.el (add-change-log-entry):
3350 * vc/compare-w.el (compare-windows):
3351 * vc/ediff-help.el (ediff-indent-help-message):
3352 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3353 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3354 (ediff-setup-control-frame):
3355 * vc/emerge.el (emerge-position-region):
3356 * vc/pcvs-util.el (cvs-bury-buffer):
3357 * window.el (walk-windows, mouse-autoselect-window-select):
3358 * winner.el (winner-set-conf, winner-undo): Related users changed.
3359
38276e01
JB
33602013-08-05 Juanma Barranquero <lekktu@gmail.com>
3361
3362 * frameset.el (frameset--set-id): Doc fix.
3363 (frameset-frame-id, frameset-frame-id-equal-p)
3364 (frameset-locate-frame-id): New functions.
3365 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3366 (frameset-restore): Use them.
3367
12b4c0ea
DA
33682013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3369
3370 Do not call to `selected-frame' where it is assumed by default.
3371 Affected functions are `raise-frame', `redraw-frame',
3372 `frame-first-window', `frame-terminal' and `delete-frame'.
3373 * calendar/appt.el (appt-disp-window):
3374 * epg.el (epg-wait-for-completion):
3375 * follow.el (follow-delete-other-windows-and-split)
3376 (follow-avoid-tail-recenter):
3377 * international/mule.el (set-terminal-coding-system):
3378 * mail/rmail.el (rmail-mail-return):
3379 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3380 * progmodes/f90.el (f90-add-imenu-menu):
3381 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3382 * server.el (server-switch-buffer):
3383 * simple.el (delete-completion-window):
3384 * talk.el (talk):
3385 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3386 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3387 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3388 * vc/ediff.el (ediff-documentation): Related users changed.
3389 * frame.el (selected-terminal): Remove the leftover.
3390
17f25e76
GM
33912013-08-05 Glenn Morris <rgm@gnu.org>
3392
3393 * calendar/calendar.el (calendar-generate-month):
3394 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3395 (calendar-generate-month, calendar-font-lock-keywords):
3396 Fix for calendar-day-header-width > length of any day name.
17f25e76 3397
063233c3
JB
33982013-08-05 Juanma Barranquero <lekktu@gmail.com>
3399
3400 * desktop.el (desktop-clear): Use new name of sort predicate.
3401
3402 * frameset.el (frameset): Add docstring. Move :version property to its
3403 own `version' slot.
3404 (frameset-copy): Rename from copy-frameset.
3405 (frameset-p): Check more thoroughly.
3406 (frameset-prop): Do not check for :version, which is no longer a prop.
3407 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3408 Use new :never value instead of t.
3409 (frameset-filter-alist): Expand and clarify docstring.
3410 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3411 (frameset-filter-minibuffer, frameset-filter-save-param)
3412 (frameset-filter-restore-param, frameset-filter-iconified):
3413 Add pointer to docstring of frameset-filter-alist.
3414 (frameset-filter-params): Rename filter values to be more meaningful:
3415 :never instead of t, and reverse the meanings of :save and :restore.
3416 (frameset--process-minibuffer-frames): Clarify error message.
3417 (frameset-save): Avoid unnecessary and confusing call to framep.
3418 Use new BOA constructor for framesets.
3419 (frameset--reuse-list): Doc fix.
3420 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3421 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3422 (frameset-minibufferless-first-p): Doc fix.
3423 Rename from frameset-sort-frames-for-deletion.
3424 (frameset-restore): Doc fixes. Use new function names.
3425 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3426
d5671a82
JB
34272013-08-04 Juanma Barranquero <lekktu@gmail.com>
3428
3429 * desktop.el (desktop-restore-forces-onscreen)
3430 (desktop-restore-reuses-frames): Document :keyword constant values.
3431 (desktop-filter-parameters-alist): Remove, now identical to
3432 frameset-filter-alist.
3433 (desktop--filter-tty*): Remove, moved to frameset.el.
3434 (desktop-save-frameset, desktop-restore-frameset):
3435 Do not pass :filters argument.
3436
3437 * frameset.el (frameset-live-filter-alist)
3438 (frameset-persistent-filter-alist): New variables.
3439 (frameset-filter-alist): Use them. Add autoload cookie.
3440 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3441 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3442 `frameset--id' (it's supposed to be internal to frameset.el).
3443 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3444 (frameset--initial-params): New function.
3445 (frameset--get-frame): Use it. Doc fix.
3446 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3447 Accept :all, not 'all.
3448 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3449 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3450 with fbound symbols. Fix frame id matching, and remove matching ids if
3451 the frame being restored is deleted. Obey :delete.
3452
671d5c16
SM
34532013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * subr.el (macrop): New function.
3456 (text-clone--maintaining): New var.
3457 (text-clone--maintain): Rename from text-clone-maintain. Use it
3458 instead of inhibit-modification-hooks.
3459
3460 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3461 a proxy, so as handle autoloads and redefinitions of the target.
3462 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3463
3464 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3465 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3466 (pcase--mutually-exclusive-p): New function.
3467 (pcase--split-consp): Use it.
3468 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3469 mutually exclusive with the current predicate.
3470
3471 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3472 (edebug-macrop): Remove. Use `macrop' instead.
3473 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3474 (ad-macro-p):
3475 * eshell/esh-cmd.el (eshell-macrop):
3476 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3477
1d44e9dc
SM
34782013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3481 (advice-mapc): New function, using it.
3482 (advice-function-member-p): New function.
3483 (advice--normalize): Store the cdr in advice--saved-rewrite since
3484 that's the part that will be changed.
3485 (advice--symbol-function): New function.
3486 (advice-remove): Handle removal before the function is defined.
3487 Adjust to new advice--saved-rewrite.
3488 (advice-member-p): Use advice-function-member-p and
3489 advice--symbol-function.
3490
5414a283
JB
34912013-08-04 Juanma Barranquero <lekktu@gmail.com>
3492
51d30f2c
JB
3493 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3494 (frameset-filter-minibuffer): Doc fix.
3495 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3496 (frameset--set-id, frameset--process-minibuffer-frames)
3497 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3498 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3499
5414a283
JB
3500 * desktop.el (desktop-clear): Only delete frames when called
3501 interactively and desktop-restore-frames is non-nil. Doc fix.
3502 (desktop-read): Set desktop-saved-frameset to nil.
3503
ab419665
XF
35042013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3505
3506 * vc/vc.el (vc-ignore): Rewrite.
3507 (vc-default-ignore-completion-table):
3508 (vc--read-lines):
3509 (vc--add-line, vc--remove-regexp): New functions.
3510
3511 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3512 (vc-svn-ignore-completion-table): New function.
3513
3514 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3515 (vc-hg-ignore-completion-table):
3516 (vc-hg-find-ignore-file): New functions.
3517
3518 * vc/vc-git.el (vc-git-ignore): Rewrite.
3519 (vc-git-ignore-completion-table):
3520 (vc-git-find-ignore-file): New functions.
3521
3522 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3523
3524 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3525 (vc-bzr-ignore-completion-table):
3526 (vc-bzr-find-ignore-file): New functions.
3527
2613dea2
JB
35282013-08-03 Juanma Barranquero <lekktu@gmail.com>
3529
3530 * frameset.el (frameset-prop): New function and setter.
3531 (frameset-save): Do not modify frame list passed by the caller.
3532
9c959872
SM
35332013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3536
a104f656
SM
35372013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3538
70122acf
SM
3539 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3540 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3541
a104f656
SM
3542 * custom.el (custom-initialize-default, custom-initialize-set)
3543 (custom-initialize-reset, custom-initialize-changed): Affect the
3544 toplevel-default-value (bug#6275, bug#14586).
3545 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3546 for bug#6275.
3547
f078d570
JB
35482013-08-02 Juanma Barranquero <lekktu@gmail.com>
3549
185e3b5a
JB
3550 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3551 Add cl-def* expressions.
3552
f078d570
JB
3553 * frameset.el (frameset-filter-params): Fix order of arguments.
3554
9421876d
JB
35552013-08-02 Juanma Barranquero <lekktu@gmail.com>
3556
3557 Move code related to saving frames to frameset.el.
3558 * desktop.el: Require frameset.
3559 (desktop-restore-frames): Doc fix.
3560 (desktop-restore-reuses-frames): Rename from
3561 desktop-restoring-reuses-frames.
3562 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3563 (desktop-clear): Clear frames too.
3564 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3565 (desktop--filter-tty*, desktop-save, desktop-read):
3566 Use frameset functions.
3567 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3569 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3570 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3571 (desktop--process-minibuffer-frames, desktop-save-frames)
3572 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3573 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3574 (desktop--sort-states, desktop-restoring-frames-p)
3575 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3576 (desktop-restoring-frameset-p, desktop-restore-frameset)
3577 (desktop--check-dont-save, desktop-save-frameset): New functions.
3578 (desktop--app-id): New constant.
3579 (desktop-first-buffer, desktop-buffer-ok-count)
3580 (desktop-buffer-fail-count): Move before first use.
3581 * frameset.el: New file.
3582
76dc5996
SM
35832013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * files.el: Use lexical-binding.
3586 (dir-locals-read-from-file): Remove unused `err' variable.
3587 (hack-dir-local-variables--warned-coding): New var.
3588 (hack-dir-local-variables): Use it to avoid repeated warnings.
3589 (make-backup-file-name--default-function): New function.
3590 (make-backup-file-name-function): Use it as default.
3591 (buffer-stale--default-function): New function.
3592 (buffer-stale-function): Use it as default.
3593 (revert-buffer-insert-file-contents--default-function): New function.
3594 (revert-buffer-insert-file-contents-function): Use it as default.
3595 (insert-directory): Avoid add-to-list.
3596
3597 * autorevert.el (auto-revert-handler): Simplify.
3598 Use buffer-stale--default-function.
3599
06d36e2b
TH
36002013-08-01 Tassilo Horn <tsdh@gnu.org>
3601
5f648ab4
TH
3602 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3603
06d36e2b
TH
3604 * whitespace.el (whitespace-ensure-local-variables): New function.
3605 (whitespace-cleanup-region): Call it.
3606 (whitespace-turn-on): Call it.
3607
a43dc424
MA
36082013-08-01 Michael Albinus <michael.albinus@gmx.de>
3609
3610 Complete file name handlers.
3611
3612 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3613 (tramp-handle-verify-visited-file-modtime)
3614 (tramp-handle-file-notify-rm-watch): New functions.
3615 (tramp-call-process): Do not bind `default-directory'.
3616
44e18199
JB
3617 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3618 Order alphabetically.
a43dc424
MA
3619 [access-file, add-name-to-file, dired-call-process]:
3620 [dired-compress-file, file-acl, file-notify-rm-watch]:
3621 [file-ownership-preserved-p, file-selinux-context]:
3622 [make-directory-internal, make-symbolic-link, set-file-acl]:
3623 [set-file-selinux-context, set-visited-file-modtime]:
3624 [verify-visited-file-modtime]: Add handler.
3625 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3626
3627 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3628 [file-notify-add-watch, file-notify-rm-watch]:
3629 [set-file-times, set-visited-file-modtime]:
3630 [verify-visited-file-modtime]: Add handler.
3631 (with-tramp-gvfs-error-message)
3632 (tramp-gvfs-handle-set-visited-file-modtime)
3633 (tramp-gvfs-fuse-file-name): Remove.
3634 (tramp-gvfs-handle-file-notify-add-watch)
3635 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3636 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3637
44e18199
JB
3638 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3639 Order alphabetically.
a43dc424
MA
3640 [file-notify-rm-watch ]: Use default Tramp handler.
3641 [executable-find]: Remove private handler.
3642 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3643 `default-directory'.
3644 (tramp-sh-handle-executable-find)
3645 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3646 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3647 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3648 Do not use `format' in `tramp-message'.
3649
3650 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3651 [file-notify-rm-watch, set-visited-file-modtime]:
3652 [verify-visited-file-modtime]: Add handler.
3653 (tramp-smb-call-winexe): Do not bind `default-directory'.
3654
7188b515
XF
36552013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3656
3657 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3658
2412ee1a
DG
36592013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3660
3661 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3662 use it.
3663 (log-view-diff-changeset): Same.
3664 (log-view-diff-common): Call backend command `previous-revision'
3665 to find out the previous revision, in both cases. Swap the
3666 variables `to' and `fr', so that `fr' usually refers to the
3667 earlier revision (Bug#14989).
3668
5002a754
KRC
36692013-07-31 Kan-Ru Chen <kanru@kanru.info>
3670
3671 * ibuf-ext.el (ibuffer-filter-by-filename):
3672 Make it work with dired buffers too.
3673
44e18199 36742013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3675
3676 * emacs-lisp/re-builder.el (reb-color-display-p):
3677 * files.el (save-buffers-kill-terminal):
3678 * net/browse-url.el (browse-url):
3679 * server.el (server-save-buffers-kill-terminal):
3680 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3681 Prefer nil to selected-frame for the first arg of frame-parameter.
3682
aeca3fbb
XF
36832013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3684
3685 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3686
158bc55c
SB
36872013-07-30 Stephen Berman <stephen.berman@gmx.net>
3688
3689 * minibuffer.el (completion--twq-all): Try and preserve each
3690 completion's case choice (bug#14907).
3691
d50fceab
LMI
36922013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3693
ac38e731
LMI
3694 * net/network-stream.el (open-network-stream): Mention the new
3695 :nogreeting parameter.
3696 (network-stream-open-starttls): Use the :nogreeting parameter
3697 (bug#14938).
3698
1211de50
LMI
3699 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3700
997798bf
LMI
3701 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3702 more natural than popping.
3703
d50fceab 3704 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3705 (shr-urlify): Highlight under mouse.
d50fceab 3706
5c09de04
XF
37072013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3708
207d1d04
XF
3709 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3710
3711 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3712
5c09de04
XF
3713 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3714 buffer for output.
3715
3cd51eaa
XF
3716 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3717 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3718
44e18199 3719 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3720 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3721
3722 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3723
3724 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3725 buffer for output.
3726
35a89bdd
EZ
37272013-07-29 Eli Zaretskii <eliz@gnu.org>
3728
3729 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3730 initial frame is minibuffer-less. (Bug#14841)
3731
78822e94
MA
37322013-07-29 Michael Albinus <michael.albinus@gmx.de>
3733
3734 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3735 option.
3736
3737 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3738 (tramp-maybe-open-connection): Use it.
3739
9503c190
JB
37402013-07-28 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3743 minimal set of parameters passed when creating a frame, because
3744 the minibuffer status of a frame cannot be changed later.
3745
d5a845b4
SB
37462013-07-28 Stephen Berman <stephen.berman@gmx.net>
3747
3748 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3749 replace-regexp-in-string and inadvertent omissions in previous change.
3750 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3751 name of filtered items buffer.
d5a845b4 3752
ddeffb17
JB
37532013-07-28 Juanma Barranquero <lekktu@gmail.com>
3754
3755 * desktop.el: Optionally force offscreen frames back onscreen.
3756 (desktop-restoring-reuses-frames): New option.
3757 (desktop--compute-pos, desktop--move-onscreen): New functions.
3758 (desktop--make-frame): Use desktop--move-onscreen.
3759
f5950f7a
AM
37602013-07-27 Alan Mackenzie <acm@muc.de>
3761
3762 Fontify a Java generic method as a function.
3763 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3764 value to t.
3765
ae43b66a
SB
37662013-07-27 Stephen Berman <stephen.berman@gmx.net>
3767
3768 * calendar/todo-mode.el: Add command to rename todo files.
3769 (todo-rename-file): New command.
3770 (todo-key-bindings-t): Add key binding for it. Change the
3771 bindings of todo-filter-regexp-items(-multifile) to use `x'
3772 instead of `r', since the latter is better suited to the new
3773 renaming command.
3774
5ab78d3d
AM
37752013-07-27 Alan Mackenzie <acm@muc.de>
3776
3777 Make Java try-with-resources statement parse properly.
3778 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3779 (c-block-stmt-1-2-key): New language constants/variables.
3780 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3781 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3782 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3783 with c-block-stmt-1-2-key.
5ab78d3d 3784
d85c4d50
JB
37852013-07-27 Juanma Barranquero <lekktu@gmail.com>
3786
3787 * desktop.el (desktop--make-frame): Apply most frame parameters after
3788 creating the frame to force (partially or totally) offscreen frames to
3789 be restored as such.
3790
e4c467f9
XF
37912013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3792
3793 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3794 (Bug#14948)
e4c467f9 3795
7ced0d04
SM
37962013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3799 `base' arg of backtrace-frame.
3800
fec92060
EZ
38012013-07-26 Eli Zaretskii <eliz@gnu.org>
3802
3803 * simple.el (list-processes): Doc fix.
3804
d58d31fb
JB
38052013-07-26 Juanma Barranquero <lekktu@gmail.com>
3806
3807 * desktop.el (desktop--select-frame):
d85c4d50 3808 Try harder to reuse existing frames.
d58d31fb 3809
53ff3e77
SM
38102013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3813 (edebug-eval): Use backtrace-eval.
3814 (edebug--display, edebug--recursive-edit): Don't let-bind the
3815 edebug-outer-* vars that keep track of variables we locally let-bind.
3816 (edebug-outside-excursion): Don't restore outside values of locally
3817 let-bound vars.
3818 (edebug--display): Use user-error.
3819 (cl-lexical-debug, cl-debug-env): Remove.
3820
045f7a53
JB
38212013-07-26 Juanma Barranquero <lekktu@gmail.com>
3822
3823 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3824 are restored to be sure that they are visible before deleting any
3825 remaining ones.
3826
59070b32
MM
38272013-07-26 Matthias Meulien <orontee@gmail.com>
3828
742a3501
XF
3829 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3830 vc-print-root-log. (Bug#14948)
59070b32 3831
b1fb3596
RS
38322013-07-26 Richard Stallman <rms@gnu.org>
3833
3834 Add aliases for encrypting mail.
3835 * epa.el (epa-mail-aliases): New option.
3836 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3837 Bind inhibit-read-only so read-only text doesn't ruin everything.
3838 (epa-mail-default-recipients): New subroutine broken out.
3839 Handle epa-mail-aliases.
3840
56ea7291
SM
38412013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 Add support for lexical variables to the debugger's `e' command.
3844 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3845 vars, except for debugger-outer-match-data.
3846 (debugger-frame-number): Move check for "on a function call" from
3847 callers into it. Add `skip-base' argument.
3848 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3849 (debugger-env-macro): Only reset the state stored in non-variables,
3850 i.e. current-buffer and match-data.
3851 (debugger-eval-expression): Rewrite using backtrace-eval.
3852 * subr.el (internal--called-interactively-p--get-frame): Remove.
3853 (called-interactively-p):
3854 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3855 `base' arg of backtrace-frame instead.
3856
15ac32d5
GM
38572013-07-26 Glenn Morris <rgm@gnu.org>
3858
8358a09d
GM
3859 * align.el (align-regexp): Doc fix. (Bug#14857)
3860 (align-region): Explicit error if subexpression missing/does not match.
3861
15ac32d5
GM
3862 * simple.el (global-visual-line-mode):
3863 Do not duplicate the mode lighter. (Bug#14858)
3864
f47ad11b
MR
38652013-07-25 Martin Rudalics <rudalics@gmx.at>
3866
3867 * window.el (display-buffer): In display-buffer bind
3868 split-window-keep-point to t, bug#14829.
3869
02530987
JB
38702013-07-25 Juanma Barranquero <lekktu@gmail.com>
3871
3872 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3873 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3874 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3875 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3876 Change accordingly.
f63ebeb5
JB
3877 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3878 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3879
6ccb9cab 38802013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3881
6ccb9cab 3882 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3883
cb3a56d2
JB
38842013-07-25 Juanma Barranquero <lekktu@gmail.com>
3885
3886 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3887 parameter to modify-frame-parameters if the value has not changed;
3888 this is a workaround for bug#14949.
3889 (desktop--make-frame): On cl-delete-if call, check parameter name,
3890 not full parameter.
3891
7aa7fff0
XF
38922013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3893
3894 * vc/vc.el (vc-ignore): New function.
3895
3896 * vc/vc-svn.el (vc-svn-ignore): New function.
3897
3898 * vc/vc-hg.el (vc-hg-ignore): New function.
3899
3900 * vc/vc-git.el (vc-git-ignore): New function.
3901
3902 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3903 (vc-dir-ignore): New function.
3904
3905 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3906 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3907
3908 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3909
3910 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3911
889acc5c
JB
39122013-07-24 Juanma Barranquero <lekktu@gmail.com>
3913
3914 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3915 (desktop-restore-frames): Warn when deleting an existing frame failed.
3916
86c40970
GM
39172013-07-24 Glenn Morris <rgm@gnu.org>
3918
3919 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3920
d5d3c58a
MA
39212013-07-24 Michael Albinus <michael.albinus@gmx.de>
3922
3923 * filenotify.el (file-notify-supported-p):
3924 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3925 Remove functions.
3926
3927 * autorevert.el (auto-revert-use-notify):
3928 (auto-revert-notify-add-watch):
3929 * net/tramp.el (tramp-file-name-for-operation):
3930 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3932 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3934 Remove `file-notify-supported-p' entry.
3935
d100084b
GM
39362013-07-24 Glenn Morris <rgm@gnu.org>
3937
3938 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3939 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3940
ac93e56b
SM
39412013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3942
249eea30
SM
3943 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3944 checked with memq (bug#14935).
3945
ac93e56b
SM
3946 * files.el (revert-buffer-function): Use a non-nil default.
3947 (revert-buffer-preserve-modes): Declare var to
3948 provide access to the `preserve-modes' argument.
3949 (revert-buffer): Let-bind it.
3950 (revert-buffer--default): New function, extracted from revert-buffer.
3951
2cdeb903
SM
39522013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * lpr.el: Signal print errors more prominently.
3955 (print-region-function): Don't default to nil.
3956 (lpr-print-region): New function, extracted from print-region-1.
3957 Check lpr's return value and signal an error in case of problem.
3958 (print-region-1): Use it.
3959 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3960 versions instead.
3961 (ps-printer-name): Default to nil.
3962 (ps-printer-name-option): Default to lpr-printer-switch.
3963 (ps-print-region-function): Don't default to nil.
3964 (ps-postscript-code-directory): Simplify default.
3965 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3966 (ps-string-list, ps-eval-switch, ps-flatten-list)
3967 (ps-flatten-list-1): Remove.
3968 (ps-multibyte-buffer): Avoid setq.
3969 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3970 (print-region-function, ps-print-region-function): Don't set them here.
3971
73600831
XF
39722013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3973
0e55c076
XF
3974 * ido.el (ido-fractionp):
3975 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3976 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3977 (ido-max-directory-size, ido-max-dir-file-cache)
3978 (ido-decorations): Doc fix.
3979
73600831
XF
3980 * ansi-color.el: Fix old URL.
3981
3d012865
MM
39822013-07-23 Michael R. Mauger <michael@mauger.com>
3983
e903c210 3984 * progmodes/sql.el: Version 3.3
3d012865
MM
3985 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3986 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3987 (sql-interactive-remove-continuation-prompt): Rewrite, use
3988 functions above. Fix continuation prompt and complete output line
3989 handling.
3990 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3991 redirected output buffer.
3992 (sql-mode): Restore deleted code (Bug#13591).
3993
da77a2e2
JB
39942013-07-23 Juanma Barranquero <lekktu@gmail.com>
3995
3996 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3997
80ff0c71
MA
39982013-07-23 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4001
4002 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4004 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4005
b61d71e4
JB
40062013-07-23 Juanma Barranquero <lekktu@gmail.com>
4007
4008 * desktop.el (desktop-clear): Simplify; remove useless checks
4009 against invalid buffer names.
4010 (desktop-list*): Use cl-list*.
4011 (desktop-buffer-info, desktop-create-buffer): Simplify.
4012
c3512092
LL
40132013-07-23 Leo Liu <sdl.web@gmail.com>
4014
4015 * bookmark.el (bookmark-make-record): Restore NAME as a default
4016 value. (Bug#14933)
4017
0ac26976
SM
40182013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4019
7d22ce18
SM
4020 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4021 extracted from autoload--insert-text.
4022 (autoload--insert-text): Remove.
4023 (autoload--print-cookie-text): New function, extracted from
4024 autoload--insert-cookie-text.
4025 (autoload--insert-cookie-text): Remove.
4026 (autoload-generate-file-autoloads): Adjust calls accordingly.
4027
9b2607e8
SM
4028 * winner.el (winner-hook-installed-p): Remove.
4029 (winner-mode): Simplify accordingly.
4030
c43a8618
SM
4031 * subr.el (add-to-list): Fix compiler-macro when `append' is
4032 not constant. Don't use `cl-member' for the base case.
4033
0ac26976
SM
4034 * progmodes/subword.el: Fix boundary case (bug#13758).
4035 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4036 own group.
4037 (subword-backward-regexp): Make it a constant.
4038 (subword-forward-internal): Don't treat a trailing capital as the
4039 beginning of a word.
4040
6874724a
AR
40412013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4042
4043 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4044 global value of tabulated-list-revert-hook (bug#14930).
4045
70f1b5e8
JB
40462013-07-22 Juanma Barranquero <lekktu@gmail.com>
4047
a1c80d9d
JB
4048 * desktop.el: Require 'cl-lib.
4049 (desktop-before-saving-frames-functions): New hook.
4050 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4051 for frames being saved. Rename from desktop--save-minibuffer-frames.
4052 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4053 Do not save frames with non-nil `desktop-dont-save' parameter.
4054 Filter out deleted frames.
a1c80d9d
JB
4055 (desktop--find-frame): Use cl-find-if.
4056 (desktop--select-frame): Use cl-(first|second|third) to access values
4057 of desktop-mini.
4058 (desktop--make-frame): Use cl-delete-if.
4059 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4060 (desktop-restore-frames): Use cl-(first|second|third) to access values
4061 of desktop-mini. Look for visible frame at the end, not while
4062 restoring frames.
4063
70f1b5e8
JB
4064 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4065 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4066 Use string-match-p, looking-at-p (bug#14927).
4067
728dc3cc
JB
40682013-07-21 Juanma Barranquero <lekktu@gmail.com>
4069
56bc453c
JB
4070 * desktop.el (desktop-saved-frame-states):
4071 Rename from desktop--saved-states; all users changed.
4072 (desktop-save-frames): Rename from desktop--save-frames.
4073 Do not save state to desktop file.
4074 (desktop-save): Save desktop-saved-frame-states to desktop file
4075 and reset to nil.
4076 (desktop-restoring-frames-p): New function.
4077 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4078 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4079 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4080
728dc3cc
JB
4081 * desktop.el: Correctly restore iconified frames.
4082 (desktop--filter-iconified-position): New function.
4083 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4084
862f1c9c
GM
40852013-07-20 Glenn Morris <rgm@gnu.org>
4086
c4074c9f
GM
4087 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4088 Let `message' do the formatting.
4089 (def-gdb-preempt-display-buffer): Add explicit format.
4090
d828e5f9
GM
4091 * image-dired.el (image-dired-track-original-file):
4092 Use with-current-buffer.
4093 (image-dired-track-thumbnail): Use with-current-buffer.
4094 Avoid changing point of wrong window.
4095
862f1c9c
GM
4096 * image-dired.el (image-dired-track-original-file):
4097 Avoid changing point of wrong window. (Bug#14909)
4098
f0398ec1 40992013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4100
4101 * progmodes/gdb-mi.el (gdb-done-or-error):
4102 Guard against "%" in gdb output. (Bug#14127)
4103
1451928f
AS
41042013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4105
763a086d
JB
4106 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4107 (Bug#14826)
f7a03897 4108
1451928f
AS
4109 * international/mule.el (coding-system-iso-2022-flags): Fix last
4110 change.
4111
99107004
KH
41122013-07-20 Kenichi Handa <handa@gnu.org>
4113
763a086d
JB
4114 * international/mule.el (coding-system-iso-2022-flags):
4115 Add `8-bit-level-4'. (Bug#8522)
99107004 4116
48494e06
LMI
41172013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4118
8ba8eec5
LMI
4119 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4120 (bug#14815).
4121
dfbc66e3
LMI
4122 * net/eww.el (eww-process-text-input): Allow inputting when the
4123 point is at the start of the line, as the properties aren't
4124 front-sticky.
4125
48494e06
LMI
4126 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4127 degenerate widths.
4128
77c92cb9
RS
41292013-07-19 Richard Stallman <rms@gnu.org>
4130
aec7da77
RS
4131 * epa.el (epa-popup-info-window): Doc fix.
4132
77c92cb9
RS
4133 * subr.el (split-string): New arg TRIM.
4134
945c5bb1
JB
41352013-07-18 Juanma Barranquero <lekktu@gmail.com>
4136
4137 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4138 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4139
e06ec67f
MA
41402013-07-18 Michael Albinus <michael.albinus@gmx.de>
4141
c7064f05 4142 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4143 `file-notify-support'. Do not autoload. Adapt all uses.
4144 (file-notify-supported-p): New defun.
4145
c7064f05
JB
4146 * autorevert.el (auto-revert-use-notify):
4147 Use `file-notify-supported-p' instead of `file-notify-support'.
4148 Adapt docstring.
e06ec67f
MA
4149 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4150
4151 * net/tramp.el (tramp-file-name-for-operation):
4152 Add `file-notify-supported-p'.
4153
4154 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4155 New defun.
4156 (tramp-sh-file-name-handler-alist): Add it as handler for
4157 `file-notify-supported-p '.
4158
4159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4161 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4162 Add `ignore' as handler for `file-notify-*' functions.
4163
5dc8a629
EZ
41642013-07-17 Eli Zaretskii <eliz@gnu.org>
4165
4166 * simple.el (line-move-partial, line-move): Don't start vscroll or
4167 scroll-up if the current line is not taller than the window.
4168 (Bug#14881)
4169
77aea2fb
DG
41702013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4171
4172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4173 highlight question marks in the method names as strings.
ac72c08d
DG
4174 (ruby-block-beg-keywords): Inline.
4175 (ruby-font-lock-keyword-beg-re): Extract from
4176 `ruby-font-lock-keywords'.
77aea2fb 4177
18c26d81
JD
41782013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4179
4180 * frame.el (blink-cursor-blinks): New defcustom.
4181 (blink-cursor-blinks-done): New defvar.
4182 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4183 (blink-cursor-timer-function): Check if number of blinks has been
4184 done on X and NS.
4185 (blink-cursor-suspend, blink-cursor-check): New defuns.
4186
da48522e
GM
41872013-07-15 Glenn Morris <rgm@gnu.org>
4188
4189 * edmacro.el (edmacro-format-keys): Fix previous change.
4190
0463c1ef
PE
41912013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4192
4193 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4194 The hack didn't work outside English locales anyway.
4195
b43f6451
JB
41962013-07-15 Juanma Barranquero <lekktu@gmail.com>
4197
4198 * simple.el (define-alternatives): Rename from alternatives-define,
4199 per RMS' suggestion.
4200
b958c0ad
JB
42012013-07-14 Juanma Barranquero <lekktu@gmail.com>
4202
4203 * desktop.el (desktop-restore-frames): Change default to t.
4204 (desktop-restore-in-current-display): Now offer more options.
4205 (desktop-restoring-reuses-frames): New customization option.
4206 (desktop--saved-states): Doc fix.
4207 (desktop-filter-parameters-alist): New variable, renamed and expanded
4208 from desktop--excluded-frame-parameters.
4209 (desktop--target-display): New variable.
4210 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4211 (desktop--filter-tty*, desktop--filter-*-color)
4212 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4213 (desktop--filter-save-desktop-parm)
4214 (desktop-restore-in-original-display-p): New functions.
4215 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4216 (desktop--save-minibuffer-frames): New function, inspired by a similar
4217 function from Martin Rudalics.
4218 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4219 (desktop--restore-in-this-display-p): Remove.
4220 (desktop--find-frame): Rename from desktop--find-frame-in-display
4221 and add predicate argument.
4222 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4223 (desktop--reuse-list): New variable.
4224 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4225 New functions.
4226 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4227
f6dd8b36
MA
42282013-07-14 Michael Albinus <michael.albinus@gmx.de>
4229
4230 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4231
2ce3c565
DG
42322013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4233
763a086d
JB
4234 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4235 Highlight conversion methods on Kernel.
2ce3c565 4236
2cdb7698
AM
42372013-07-13 Alan Mackenzie <acm@muc.de>
4238
4239 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4240 and comment it out. This out-commenting enables certain C++
4241 declarations to be parsed correctly.
4242
1a67b811
EZ
42432013-07-13 Eli Zaretskii <eliz@gnu.org>
4244
1b796d6b
EZ
4245 * international/mule.el (define-coding-system): Doc fix.
4246
1a67b811
EZ
4247 * simple.el (default-font-height): Don't call font-info if the
4248 frame's default font didn't change since the frame was created.
4249 (Bug#14838)
4250
58fbe886
LL
42512013-07-13 Leo Liu <sdl.web@gmail.com>
4252
4253 * ido.el (ido-read-file-name): Guard against non-symbol value.
4254
1f0480d4
FEG
42552013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4256
4257 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4258 in nested defuns.
4259
97ead0e5
LL
42602013-07-13 Leo Liu <sdl.web@gmail.com>
4261
4262 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4263 ido-set-matches call. (Bug#6852)
4264
0880a952
DG
42652013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4266
4267 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4268 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4269 Ruby 2.0.
4270 (ruby-font-lock-keywords): Distinguish calls to functions with
4271 module-like names from module references. Highlight character
4272 literals.
4273
a7d8babb
SDJ
42742013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4275
4276 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4277 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4278
acfcc8c5
JB
42792013-07-12 Juanma Barranquero <lekktu@gmail.com>
4280
4281 * desktop.el (desktop--v2s): Remove unused local variable.
4282 (desktop-save-buffer): Make defvar-local; adjust docstring.
4283 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4284 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4285
051f2775
AS
42862013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4287
4288 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4289
f24e7572
GM
42902013-07-12 Eli Zaretskii <eliz@gnu.org>
4291
4292 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4293 (Bug#14842)
4294
539a920c
GM
42952013-07-12 Glenn Morris <rgm@gnu.org>
4296
4297 * doc-view.el: Require cl-lib at runtime too.
4298 (doc-view-remove-if): Remove.
4299 (doc-view-search-next-match, doc-view-search-previous-match):
4300 Use cl-remove-if.
4301
4302 * edmacro.el: Require cl-lib at runtime too.
4303 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4304 (edmacro-mismatch, edmacro-subseq): Remove.
4305
4306 * shadowfile.el: Require cl-lib.
4307 (shadow-remove-if): Remove.
4308 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4309 Use cl-remove-if.
4310
4311 * wid-edit.el: Require cl-lib.
4312 (widget-choose): Use cl-remove-if.
4313 (widget-remove-if): Remove.
4314
4315 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4316 (ebrowse-delete-if-not): Remove.
4317 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4318 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4319 Use cl-delete-if-not.
4320
1048af7c
JB
43212013-07-12 Juanma Barranquero <lekktu@gmail.com>
4322
4323 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4324 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4325
6c0674ee
LL
43262013-07-12 Leo Liu <sdl.web@gmail.com>
4327
4328 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4329
a19b3c2d
GM
43302013-07-11 Glenn Morris <rgm@gnu.org>
4331
4582a01c
GM
4332 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4333 (edebug-gensym-index, edebug-gensym):
4334 Remove reimplementation of cl-gensym.
4335 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4336
4337 * thumbs.el: Require cl-lib at run-time too.
4338 (thumbs-gensym-counter, thumbs-gensym):
4339 Remove reimplementation of cl-gensym.
4340 (thumbs-temp-file): Use cl-gensym.
4341
a19b3c2d
GM
4342 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4343 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4344 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4345 (ert--union, ert--gensym-counter, ert--gensym-counter)
4346 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4347 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4348 (ert-make-test-unbound, ert--expand-should-1)
4349 (ert--expand-should, ert--should-error-handle-error)
4350 (should-error, ert--explain-equal-rec)
4351 (ert--plist-difference-explanation, ert-select-tests)
4352 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4353 Use cl-lib functions rather than reimplementations.
4354
88f6a933
MA
43552013-07-11 Michael Albinus <michael.albinus@gmx.de>
4356
4357 * net/tramp.el (tramp-methods): Extend docstring.
4358 (tramp-connection-timeout): New defcustom.
4359 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4360 (with-tramp-progress-reporter): Simplify.
4361 (tramp-process-actions): Improve messages.
4362
4363 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4364 * net/tramp-sh.el (tramp-maybe-open-connection):
4365 Use `tramp-connection-timeout'.
4366 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4367 (Bug#14808)
4368
a43d577e
LL
43692013-07-11 Leo Liu <sdl.web@gmail.com>
4370
4371 * ido.el (ido-read-file-name): Conform to the requirements of
4372 read-file-name. (Bug#11861)
4373 (ido-read-directory-name): Conform to the requirements of
4374 read-directory-name.
4375
d77974bf
JB
43762013-07-11 Juanma Barranquero <lekktu@gmail.com>
4377
4378 * subr.el (delay-warning): New function.
4379
35cb8a3e
EZ
43802013-07-10 Eli Zaretskii <eliz@gnu.org>
4381
4382 * simple.el (default-line-height): New function.
4383 (line-move-partial, line-move): Use it instead of computing the
4384 line height inline.
4385 (line-move-partial): Always compute ROWH. If the last line is
4386 partially-visible, but its text is completely visible, allow
4387 cursor to enter such a partially-visible line.
4388
525c5c77
MA
43892013-07-10 Michael Albinus <michael.albinus@gmx.de>
4390
4391 Improve error messages. (Bug#14808)
4392
4393 * net/tramp.el (tramp-current-connection): New defvar, moved from
4394 tramp-sh.el.
0ac26976 4395 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4396 needed anymore.
0ac26976
SM
4397 (tramp-error-with-buffer): Show message in minibuffer.
4398 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4399 (with-tramp-progress-reporter): Improve messages.
4400 (tramp-process-actions): Use progress reporter. Delete process in
4401 case of error. Improve messages.
4402
763a086d
JB
4403 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4404 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4405 (tramp-current-connection): Remove.
525c5c77
MA
4406 (tramp-maybe-open-connection): The car of
4407 `tramp-current-connection' are the first 3 slots of the vector.
4408
c7a4d368
TZ
44092013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4410
4411 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4412 inside continued strings.
4413
954b166e
PE
44142013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4415
4416 Timestamp fixes for undo (Bug#14824).
4417 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4418
56973319
LL
44192013-07-10 Leo Liu <sdl.web@gmail.com>
4420
4421 * files.el (require-final-newline): Allow safe local value.
4422 (Bug#14834)
4423
5550a72c
LL
44242013-07-09 Leo Liu <sdl.web@gmail.com>
4425
4426 * ido.el (ido-read-directory-name): Handle fallback.
4427 (ido-read-file-name): Update DIR to ido-current-directory.
4428 (Bug#1516)
c28b9050 4429 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4430
70c46b28
DG
44312013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4432
4433 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4434 "autoload". Remove "warn lower camel case" section, previously
4435 commented out. Highlight negation char. Do not highlight the
4436 target in singleton method definitions.
4437
0b64b838
SM
44382013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4439
7fd72e2c
SM
4440 * faces.el (tty-setup-hook): Declare the hook.
4441
0b64b838
SM
4442 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4443 and detect when a guard/pred depends on local vars (bug#14773).
4444 (pcase--u1): Adjust caller.
4445
ab49d60b
EZ
44462013-07-08 Eli Zaretskii <eliz@gnu.org>
4447
4448 * simple.el (line-move-partial, line-move): Account for
4449 line-spacing.
701d79aa
EZ
4450 (line-move-partial): Avoid setting vscroll when the last
4451 partially-visible line in window is of default height.
ab49d60b 4452
2d756ae0
LMI
44532013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4454
4455 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4456 been used a while.
4457
ed095bd7
JB
44582013-07-07 Juanma Barranquero <lekktu@gmail.com>
4459
4460 * subr.el (read-quoted-char): Remove unused local variable `char'.
4461
f1e6674b
MK
44622013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4463
584ee3fc
GM
4464 * ediff.el (ediff-version): Version update.
4465 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4466 (ediff-merge-with-ancestor-command, ediff-directories-command)
4467 (ediff-directories3-command, ediff-merge-directories-command)
4468 (ediff-merge-directories-with-ancestor-command): New functions.
4469 All are command-line interfaces to ediff: to facilitate calling
4470 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4471
4472 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4473 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4474
584ee3fc
GM
4475 * viper.el (viper-version): Version update.
4476 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4477
584ee3fc
GM
44782013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4481 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4482 (viper-intercept-ESC-key): Simplify.
4483 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4484 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4485 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4486 (viper-setup-ESC-to-escape): New functions.
4487 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4488 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4489
9aff9b38
EZ
44902013-07-07 Eli Zaretskii <eliz@gnu.org>
4491
5165d44a
JB
4492 * simple.el (default-font-height, window-screen-lines):
4493 New functions.
9aff9b38
EZ
4494 (line-move, line-move-partial): Use them instead of
4495 frame-char-height and window-text-height. This makes scrolling
4496 text smoother when the buffer's default face uses a font that is
4497 different from the frame's default font.
4498
1afb1d07
JD
44992013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4500
4501 * files.el (write-file): Do not display confirm dialog for NS,
4502 it does its own dialog, which can't be cancelled (Bug#14578).
4503
23de972a
EZ
45042013-07-06 Eli Zaretskii <eliz@gnu.org>
4505
4506 * simple.el (line-move-partial): Adjust the row returned by
4507 posn-at-point for the current window-vscroll. (Bug#14567)
4508
54a42486
MA
45092013-07-06 Michael Albinus <michael.albinus@gmx.de>
4510
4511 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4512 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4513 spaces.
4514
34ada5f4
MR
45152013-07-06 Martin Rudalics <rudalics@gmx.at>
4516
4517 * window.el (window-state-put-stale-windows): New variable.
4518 (window--state-put-2): Save list of windows without matching buffer.
4519 (window-state-put): Remove "bufferless" windows if possible.
4520
11e03d89
JB
45212013-07-06 Juanma Barranquero <lekktu@gmail.com>
4522
4523 * simple.el (alternatives-define): Remove leftover :group keyword.
4524 Tweak docstring.
4525
3504a4be
LL
45262013-07-06 Leo Liu <sdl.web@gmail.com>
4527
4528 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4529 (ido-enable-virtual-buffers): New variable.
4530 (ido-buffer-internal, ido-toggle-virtual-buffers)
4531 (ido-make-buffer-list): Use it.
4532 (ido-exhibit): Support turning on and off virtual buffers
4533 automatically.
4534
61e56e2c
JB
45352013-07-06 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * simple.el (alternatives-define): New macro.
4538
321e1a9c
SM
45392013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * subr.el (read-quoted-char): Use read-key.
4542 (sit-for): Let read-event decode tty input (bug#14782).
4543
d610f6dd
SB
45442013-07-05 Stephen Berman <stephen.berman@gmx.net>
4545
4546 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4547 mode command and externally. Fix various related bugs.
4548 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4549 (todo-delete-file): New command.
4550 (todo-check-file): New function.
4551 (todo-show): Handle external deletion of the file we're trying to
4552 show (bug#14688). Replace called-interactively-p by an optional
4553 prefix argument to avoid problematic interaction with catch form
4554 when byte compiled (bug#14702).
4555 (todo-quit): Handle external deletion of the archive's todo file.
4556 Make sure the buffer that was visiting the archive file is still
4557 live before trying to bury it.
4558 (todo-category-completions): Handle external deletion of any
4559 category completion files.
4560 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4561 of todo files, in case of external deletion.
4562 (todo-add-file): Replace unnecessary setq by let-binding.
4563 (todo-find-archive): Check whether there are any archives.
4564 Replace unnecessary setq by let-binding.
4565 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4566 archive buffer whether or not the archive already exists.
4567 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4568 check if the archive is new; if it is, update list of archives.
4569 (todo-default-todo-file): Allow nil to be a valid value for when
4570 there are no todo files.
4571 (todo-reevaluate-default-file-defcustom): Use corrected definition
4572 of todo-default-todo-file.
4573 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4574 (todo-delete-category, todo-show-categories-table)
4575 (todo-category-number): Clarify comment.
4576 (todo-filter-items): Clarify documentation string.
4577 (todo-show-current-file, todo-display-as-todo-file)
4578 (todo-reset-and-enable-done-separator): Tweak documentation string.
4579 (todo-done-separator): Make separator length window-width, since
4580 bug#2749 is now fixed.
4581
ddbdfd6f
MA
45822013-07-05 Michael Albinus <michael.albinus@gmx.de>
4583
321e1a9c
SM
4584 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4585 Support both "gvfs-monitor-dir" and "inotifywait".
4586 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4587 `tramp-sh-file-notify-process-filter'.
4588 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4589 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4590
96eb829a
LL
45912013-07-05 Leo Liu <sdl.web@gmail.com>
4592
4593 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4594
cf13177e
YM
45952013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4596
4597 * frame.el (display-pixel-height, display-pixel-width)
4598 (display-mm-height, display-mm-width): Mention behavior on
4599 multi-monitor setups in docstrings.
4600 (w32-display-monitor-attributes-list): Declare function.
4601 (display-monitor-attributes-list): Use it.
4602
864c58ca
MA
46032013-07-04 Michael Albinus <michael.albinus@gmx.de>
4604
4605 * filenotify.el: New package.
4606
4607 * autorevert.el (top): Require filenotify.el.
4608 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4609 instead.
4610 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4611 (auto-revert-notify-handler): Use `file-notify-*' functions.
4612
4613 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4614
321e1a9c
SM
4615 * net/tramp.el (tramp-file-name-for-operation):
4616 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4617
4618 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4619 for `file-notify-add-watch' and `file-notify-rm-watch'.
4620 (tramp-process-sentinel): Improve trace.
4621 (tramp-sh-handle-file-notify-add-watch)
4622 (tramp-sh-file-notify-process-filter)
4623 (tramp-sh-handle-file-notify-rm-watch)
4624 (tramp-get-remote-inotifywait): New defuns.
4625
96673afe
JL
46262013-07-03 Juri Linkov <juri@jurta.org>
4627
4628 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4629 call of `occur-read-primary-args' to interactive spec.
4630
4631 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4632 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4633
924494f4
MM
46342013-07-03 Matthias Meulien <orontee@gmail.com>
4635
4636 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4637 `Buffer-menu-multi-occur'. Add it to the menu.
4638 (Buffer-menu-mode): Document it in docstring.
4639 (Buffer-menu-multi-occur): New command. (Bug#14673)
4640
56f75efc
DG
46412013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4642
4643 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4644 keywords and built-ins.
4645
9b057d61
GM
46462013-07-03 Glenn Morris <rgm@gnu.org>
4647
208dee4d
GM
4648 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4649
9b057d61
GM
4650 Make info-xref checks case-sensitive by default
4651 * info.el (Info-find-node, Info-find-in-tag-table)
4652 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4653 Add option for exact case matching of nodes.
4654 * info-xref.el (info-xref): New custom group.
4655 (info-xref-case-fold): New option.
4656 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4657
e01aa29c
LL
46582013-07-03 Leo Liu <sdl.web@gmail.com>
4659
4660 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4661
3086ca2e
DG
46622013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4663
4664 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4665 middle of block statement initially, lower the depth. Remove
4666 FIXME comment, not longer valid. Remove middle of block statement
4667 detection, no need to do that anymore since we've been using
4668 `ruby-parse-region' here.
4669
a3b49114
JD
46702013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4671
4672 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4673
08e5c823 46742013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4675
4676 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4677
2addf922
JB
46782013-07-01 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4681 (desktop-restore-in-current-display): New customization option.
4682 (desktop--excluded-frame-parameters): Add `font'.
4683 (desktop--save-frames): Rename from desktop--save-windows.
4684 (desktop--restore-in-this-display-p): New function.
4685 (desktop--make-full-frame): Remove unwanted width/height from
4686 full(width|height) frames.
4687 (desktop--restore-frames): Rename from desktop--restore-windows.
4688 Obey desktop-restore-current-display. Do not delete old frames or
4689 select a new frame unless we were able to restore at least one frame.
4690
ef099a94
MN
46912013-06-30 Michal Nazarewicz <mina86@mina86.com>
4692
4693 * files.el (find-file-noselect): Simplify conditional expression.
4694
4695 * remember.el (remember-append-to-file):
4696 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4697
4698 Add `remember-notes' function to store random notes across Emacs
4699 restarts.
4700 * remember.el (remember-data-file): Add :set callback to affect
4701 notes buffer (if any).
4702 (remember-notes): New command.
4703 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4704 New defcustoms for the `remember-notes' function.
4705 (remember-notes-save-and-bury-buffer): New command.
4706 (remember-notes-mode-map): New variable.
4707 (remember-mode): New minor mode.
4708 (remember-notes--kill-buffer-query): New function.
4709 * startup.el (initial-buffer-choice): Add notes to custom type.
4710
0865d506
EZ
47112013-06-30 Eli Zaretskii <eliz@gnu.org>
4712
0ba54312
EZ
4713 * bindings.el (right-char, left-char): Don't call sit-for, this is
4714 no longer needed. Use arithmetic comparison only for numerical
4715 arguments.
4716
ef099a94
MN
4717 * international/mule-cmds.el (select-safe-coding-system):
4718 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4719
2fae38e5
LMI
47202013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4721
4722 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4723 progression on degenerate tables.
ef099a94 4724 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4725
a47cbd64
JB
47262013-06-30 Juanma Barranquero <lekktu@gmail.com>
4727
4728 Some fixes and improvements for desktop frame restoration.
4729 It is still experimental and disabled by default.
4730 * desktop.el (desktop--save-windows): Put the selected frame at
4731 the head of the list.
4732 (desktop--make-full-frame): New function.
4733 (desktop--restore-windows): Try to re-select the frame that was
4734 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4735 just show an error message and continue. Set up maximized frames
4736 so they have default non-maximized dimensions.
a47cbd64 4737
6dbafa30
DG
47382013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4739
ef099a94
MN
4740 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4741 Don't start heredoc inside a string or comment.
6dbafa30 4742
4c672a0f
EZ
47432013-06-29 Eli Zaretskii <eliz@gnu.org>
4744
4745 * bindings.el (visual-order-cursor-movement): New defcustom.
4746 (right-char, left-char): Provide visual-order cursor motion by
4747 calling move-point-visually. Update the doc strings.
4748
50960f36
KH
47492013-06-28 Kenichi Handa <handa@gnu.org>
4750
4751 * international/mule.el (define-coding-system): New coding system
4752 properties :inhibit-null-byte-detection,
4753 :inhibit-iso-escape-detection, and :prefer-utf-8.
4754 (set-buffer-file-coding-system): If :charset-list property of
4755 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4756 appropriate for setting.
4757
c1ea3abf
JB
4758 * international/mule-cmds.el (select-safe-coding-system):
4759 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4760 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4761
4762 * international/mule-conf.el (prefer-utf-8): New coding system.
4763 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4764 files.
4765
75dbaf9d
IK
47662013-06-28 Ivan Kanis <ivan@kanis.fr>
4767
eadb6068
IK
4768 * net/shr.el (shr-render-region): New function.
4769
75dbaf9d
IK
4770 * net/eww.el: Autoload `eww-browse-url'.
4771
9ea5cf9f
DG
47722013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4773
c1ea3abf
JB
4774 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4775 Adapt to `package-desc-version' being a list.
4776 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4777 archive element.
4778
39c0e36f
JB
47792013-06-27 Juanma Barranquero <lekktu@gmail.com>
4780
4781 New experimental feature to save&restore window and frame setup.
4782 * desktop.el (desktop-save-windows): New defcustom.
4783 (desktop--saved-states): New var.
4784 (desktop--excluded-frame-parameters): New defconst.
4785 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4786 (desktop--restore-windows, desktop--save-windows): New functions.
4787 (desktop-save): Call `desktop--save-windows'.
4788 (desktop-read): Call `desktop--restore-windows'.
4789
7f13406b
LMI
47902013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791
ef099a94 4792 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4793
1e072639
SB
47942013-06-27 Stephen Berman <stephen.berman@gmx.net>
4795
4796 * info.el (Info-try-follow-nearest-node): Move search for footnote
4797 above search for node name to prevent missing a footnote (bug#14717).
4798
f3e2cbde
SB
47992013-06-27 Stephen Berman <stephen.berman@gmx.net>
4800
4801 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4802
99906aa0
LL
48032013-06-27 Leo Liu <sdl.web@gmail.com>
4804
4805 * net/eww.el (eww-read-bookmarks): Check file size.
4806
539f75f4
SM
48072013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4810 advice--pending if newdef is nil or an autoload (bug#13820).
4811 (advice-mapc): New function.
4812
843571cb
LMI
48132013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4814
4815 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4816 probably.
23a75d7f 4817 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4818 (eww-add-bookmark): New command.
4819 (eww-bookmark-mode): New mode and commands.
a285ce99 4820 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4821 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4822
f2136e1e
GM
48232013-06-26 Glenn Morris <rgm@gnu.org>
4824
eab35f39
GM
4825 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4826 (hfy-size): Handle ttys. (Bug#14668)
4827
f2136e1e
GM
4828 * info-xref.el: Update for Texinfo 5 change in *note format.
4829 (info-xref-node-re, info-xref-note-re): New constants.
4830 (info-xref-check-buffer): Use info-xref-note-re.
4831
a49ff80c
SM
48322013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4833
a343d218
SM
4834 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4835
a49ff80c
SM
4836 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4837 nil terminate the loop (bug#14718).
4838
8308f184
LMI
48392013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4840
4841 * net/eww.el: Rework history traversal. When going forward/back,
4842 put these actions into the history, too, so that they can be
4843 replayed.
26bf2b82 4844 (eww-render): Move the history reset to the correct buffer.
8308f184 4845
ec64c273
JL
48462013-06-25 Juri Linkov <juri@jurta.org>
4847
4848 * files-x.el (modify-dir-local-variable): Change the header comment
4849 in the file with directory local variables. (Bug#14692)
4850
e080a9d7
JL
4851 * files-x.el (read-file-local-variable-value): Add `default'.
4852 (Bug#14710)
4853
bfbc93a1
IK
48542013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4855
4856 * net/eww.el (eww-make-unique-file-name): Create a unique file
4857 name before saving to entering `y' accidentally asynchronously.
4858
48592013-06-25 Ivan Kanis <ivan@kanis.fr>
4860
4861 * net/eww.el (eww-download): New command and keystroke.
4862
16f74f10
LMI
48632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4864
a49ff80c 4865 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4866
4867 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4868 be more consistent with Info and dired.
4869
4870 * net/eww.el (eww-mode-map): Ditto.
4871
12059709
SM
48722013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4875 packages from archives.
4876 (package-archive-contents): Change format; include obsolete packages.
4877 (package-desc): Use `dir' to mark builtin packages.
4878 (package--from-builtin): Set the `dir' field to `builtin'.
4879 (generated-autoload-file, version-control): Declare.
4880 (package-compute-transaction): Change first arg and return value to be
4881 lists of package-descs. Adjust to new package-archive-contents format.
4882 (package--add-to-archive-contents): Adjust to new
4883 package-archive-contents format.
4884 (package-download-transaction): Arg is now a list of package-descs.
4885 (package-install): If `pkg' is a package name, pass it as
4886 a requirement, so it is subject to the usual (e.g. disabled) checks.
4887 (describe-package): Accept package-desc as well.
4888 (describe-package-1): Describe a specific package-desc. Add links to
4889 other package-descs for the same package name.
4890 (package-menu-describe-package): Pass the actual package-desc.
4891 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4892 works correctly.
4893 (package-desc-status): New function.
4894 (package-menu--refresh): New function, extracted
4895 from package-menu--generate.
4896 (package-menu--generate): Use it.
4897 (package-delete): Update package-alist.
4898 (package-menu-execute): Don't call package-initialize.
4899
4900 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4901 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4902 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4903 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4904 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4905 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4906
8bbdea0f
MR
49072013-06-25 Martin Rudalics <rudalics@gmx.at>
4908
4909 * window.el (window--state-get-1): Workaround for bug#14527.
4910 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4911
e82b0991
LMI
49122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4913
4914 * net/eww.el (eww-back-url): Implement the history by stashing all
4915 the data into a list.
d3f0f918 4916 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4917
c763842b
SM
49182013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4921 for values and use read--expression for expressions (bug#14710).
4922 (read-file-local-variable): Avoid setq.
4923 (read-file-local-variable-mode): Use minor-mode-list.
4924
bceff189
RW
49252013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4926
864c58ca 4927 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4928 for DOI URLs.
4929
45f431c6
RW
49302013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4931
864c58ca 4932 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4933 Update imenu-support when dialect changes.
4934
f42d8237
LL
49352013-06-25 Leo Liu <sdl.web@gmail.com>
4936
4937 * ido.el (ido-read-internal): Allow forward slash on windows.
4938
be549ce6
LMI
49392013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4940
4941 * net/eww.el (eww): Start of strings is \\`, not ^.
4942
71d4c19d
IK
49432013-06-24 Ivan Kanis <ivan@kanis.fr>
4944
5196f88a
IK
4945 * net/shr.el (shr-browse-url): Fix interactive spec.
4946
71d4c19d
IK
4947 * net/eww.el (eww): Add a trailing slash to domain names.
4948
ae36ca55
JB
49492013-06-24 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4952
0ebd92a3
LMI
49532013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4954
bdaa086b
LMI
4955 * net/shr.el (shr-browse-url): Use an external browser if given a
4956 prefix.
4957
c763842b 4958 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4959
b89fc156
IK
49602013-06-24 Ivan Kanis <ivan@kanis.fr>
4961
4962 * net/eww.el (eww): Work more correctly for file: URLs.
4963 (eww-detect-charset): Allow quoted charsets.
4964 (eww-yank-page-url): New command and keystroke.
4965
18eb4bca
DU
49662013-06-24 Daiki Ueno <ueno@gnu.org>
4967
4968 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4969 file name of gpg executable.
4970 (epg-context-program): New function.
4971 (epg-context-home-directory): New function.
4972 (epg-context-set-program): New function.
4973 (epg-context-set-home-directory): New function.
4974 (epg--start): Use `epg-context-program' instead of
4975 'epg-gpg-program'.
4976 (epg--list-keys-1): Likewise.
4977
6c6268c8
LL
49782013-06-24 Leo Liu <sdl.web@gmail.com>
4979
4980 * ido.el (ido-read-internal): Fix bug#14620.
4981
5e400cb3
JB
49822013-06-23 Juanma Barranquero <lekktu@gmail.com>
4983
4984 * faces.el (face-documentation): Simplify.
4985 (read-face-attribute, tty-find-type, x-resolve-font-name):
4986 Use `string-match-p'.
4987 (list-faces-display): Use `string-match-p'. Simplify.
4988 (face-spec-recalc): Check face to avoid face alias loops.
4989 (read-color): Use `string-match-p' and non-capturing parenthesis.
4990
f3f9606c
LMI
49912013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4992
4993 * net/shr.el (shr-rescale-image): Use the new
4994 :max-width/:max-height functionality.
4995
a3ca09b9
IK
49962013-06-23 Ivan Kanis <ivan@kanis.fr>
4997
4998 * net/eww.el (eww-search-prefix): New variable.
4999 (eww): Use it.
f865b474
IK
5000 (eww-external-browser): New variable.
5001 (eww-mode-map): New keystroke.
5002 (eww-browse-with-external-browser): New command.
a3ca09b9 5003
e854cfc7
IK
5004 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5005
18bb9e21
JB
50062013-06-23 Juanma Barranquero <lekktu@gmail.com>
5007
5008 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5009 Don't skip aligning the next header field when padding is 0;
5010 otherwise, field width is not respected unless the title is as
5011 wide as the field.
5012
5b165ade
SM
50132013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * emacs-lisp/package.el (package-el-version): Remove.
5016 (package-process-define-package): Fix inf-loop.
5017 (package-install): Allow symbols as arguments again.
5018
12adebe9
DG
50192013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5020
5021 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5022 add some more keyword-like methods.
5023 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5024
388573ee
JB
50252013-06-22 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * bs.el (bs-buffer-show-mark): Make defvar-local.
5028 (bs-mode): Use setq-local.
5029
5030 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5031 (emacs-lock--try-unlocking): Make defvar-local.
5032
4582a01c 50332013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5034
2663dd23
GM
5035 * play/cookie1.el (cookie-apropos): Minor simplification.
5036
3d94f3ad
GM
5037 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5038
f72e2fdb
DG
50392013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5040
5041 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5042 `regexp-opt', it breaks the build during dumping.
5043
73eab938
DG
50442013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5045
c763842b
SM
5046 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5047 Highlight keyword-like methods on Kernel and Module with
73eab938 5048 font-lock-builtin-face.
5cf8176d
DG
5049 (auto-mode-alist): Consolidate different entries into one regexp
5050 and add more *file-s.
73eab938 5051
d26255f6
SB
50522013-06-21 Stephen Berman <stephen.berman@gmx.net>
5053
5054 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5055
5056 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5057 (diary-entry): Use it in the action of this button type instead of
5058 diary-goto-entry.
5059
5060 * calendar/todo-mode.el: New version.
5061 (todo-add-category): Append new category to end of file and give
5062 it the highest number, instead of putting it at the beginning and
5063 giving it 0. Incorporate noninteractive functionality.
5064 (todo-forward-category): Adapt to 1-based category numbering.
5065 Allow skipping over archived categories.
5066 (todo-backward-category): Derive from todo-forward-category.
5067 (todo-backward-item, todo-forward-item): Make noninteractive and
5068 delegate interactive part to new commands. Make sensitive to done items.
5069 (todo-categories): Make value an alist of category names and
5070 vectors of item counts.
5071 (todo-category-beg): Make a defconst.
5072 (todo-category-number): Use 1 instead of 0 as initial value.
5073 (todo-category-select): Make sensitive to overlays, optional item
5074 highlighting and done items.
5075 (todo-delete-item): Make sensitive to overlays and marked and done items.
5076 (todo-edit-item): Make sensitive to overlays and editing of
5077 date/time header optional. Add format checks.
5078 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5079 no-op if point is not on an item. Advertise using todo-edit-quit.
5080 (todo-edit-mode): Make sensitive to new format, font-locking, and
5081 multiple todo files.
5082 (todo-insert-item, todo-insert-item-here): Derive from
5083 todo-basic-insert-item and extend functionality.
5084 (todo-item-end, todo-item-start): Make sensitive to done items.
5085 (todo-item-string): Don't return text properties. Restore point.
5086 (todo-jump-to-category): Make sensitive to multiple todo files and
5087 todo archives. Use extended category completion.
5088 (todo-lower-item, todo-raise-item): Rename to *-priority and
5089 derive from todo-set-item-priority.
5090 (todo-mode): Derive from special-mode. Make sensitive to new
5091 format, font-locking and multiple todo files. Make read-only.
5092 (todo-mode-map): Don't suppress digit keys, so they can supply
5093 prefix arguments. Add many new key bindings.
5094 (todo-prefix): Insert as an overlay instead of file text.
5095 Change semantics from diary date expression to purely visual mark.
5096 (todo-print): Rename to todo-print-buffer. Make buffer display
5097 features printable. Remove option to restrict number of items
5098 printed. Add option to print to file.
5099 (todo-print-function): Rename to todo-print-buffer-function.
5100 (todo-quit): Extend to handle exiting new todo modes.
5101 (todo-remove-item): Make sensitive to overlays.
5102 (todo-save): Extend to buffers of filtered items.
5103 (todo-show): Make sensitive to done items, multiple todo files and
5104 new todo modes. Offer to convert legacy todo file before creating
5105 first new todo file.
5106 (todo-show-priorities): Rename to todo-top-priorities.
5107 Change semantics of value 0.
5108 (todo-top-priorities): Rename to todo-filter-top-priorities,
5109 derive from todo-filter-items and extend functionality.
5110 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5111 and extend functionality to other types of filtered items.
5112 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5113 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5114 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5115 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5116 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5117 (todo-edit-mode-hook, todo-entry-prefix-function)
5118 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5119 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5120 (todo-initials, todo-insert-threshold, todo-item-string-start)
5121 (todo-line-string, todo-menu, todo-mode-hook)
5122 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5123 (todo-print-priorities, todo-remove-separator)
5124 (todo-save-top-priorities-too, todo-string-count-lines)
5125 (todo-string-multiline-p, todo-time-string-format)
5126 (todo-tmp-buffer-name): Remove.
5127 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5128 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5129 (todo-edit-category-diary-inclusion)
5130 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5131 (todo-edit-file, todo-edit-item-date-day)
5132 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5133 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5134 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5135 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5136 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5137 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5138 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5139 (todo-filter-top-priorities-multifile, todo-find-archive)
5140 (todo-find-filtered-items-file, todo-go-to-source-item)
5141 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5142 (todo-jump-to-archive-category, todo-lower-category)
5143 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5144 (todo-move-category, todo-move-item, todo-next-button)
5145 (todo-next-item, todo-padded-string, todo-powerset)
5146 (todo-previous-button, todo-previous-item)
5147 (todo-print-buffer-to-file, todo-raise-category)
5148 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5149 (todo-set-category-number, todo-set-item-priority)
5150 (todo-set-top-priorities-in-category)
5151 (todo-set-top-priorities-in-file, todo-show-categories-table)
5152 (todo-sort-categories-alphabetically-or-numerically)
5153 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5154 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5155 (todo-toggle-item-header, todo-toggle-item-highlighting)
5156 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5157 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5158 (todo-unarchive-items, todo-unmark-category): New commands.
5159 (todo-absolute-file-name, todo-add-to-buffer-list)
5160 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5161 (todo-basic-insert-item, todo-category-completions)
5162 (todo-category-number, todo-category-string-matcher-1)
5163 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5164 (todo-check-format, todo-clear-matches)
5165 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5166 (todo-current-category, todo-date-string-matcher)
5167 (todo-define-insertion-command, todo-diary-expired-matcher)
5168 (todo-diary-goto-entry, todo-diary-item-p)
5169 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5170 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5171 (todo-done-item-section-p, todo-done-separator)
5172 (todo-done-string-matcher, todo-files, todo-filter-items)
5173 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5174 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5175 (todo-insert-category-line, todo-insert-item-from-calendar)
5176 (todo-insert-sort-button, todo-insert-with-overlays)
5177 (todo-insertion-command-name, todo-insertion-key-bindings)
5178 (todo-label-to-key, todo-longest-category-name-length)
5179 (todo-make-categories-list, todo-mode-external-set)
5180 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5181 (todo-modes-set-3, todo-multiple-filter-files)
5182 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5183 (todo-read-category, todo-read-date, todo-read-dayname)
5184 (todo-read-file-name, todo-read-time)
5185 (todo-reevaluate-category-completions-files-defcustom)
5186 (todo-reevaluate-default-file-defcustom)
5187 (todo-reevaluate-filelist-defcustoms)
5188 (todo-reevaluate-filter-files-defcustom)
5189 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5190 (todo-reset-done-separator, todo-reset-done-separator-string)
5191 (todo-reset-done-string, todo-reset-global-current-todo-file)
5192 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5193 (todo-reset-prefix, todo-set-categories)
5194 (todo-set-date-from-calendar, todo-set-show-current-file)
5195 (todo-set-top-priorities, todo-short-file-name)
5196 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5197 (todo-total-item-counts, todo-update-buffer-list)
5198 (todo-update-categories-display, todo-update-categories-sexp)
5199 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5200 New functions.
5201 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5202 New major modes.
5203 (todo-categories, todo-display, todo-edit, todo-faces)
5204 (todo-filtered): New defgroups.
5205 (todo-archived-only, todo-button, todo-category-string, todo-date)
5206 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5207 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5208 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5209 (todo-add-item-if-new-category, todo-always-add-time-string)
5210 (todo-categories-align, todo-categories-archived-label)
5211 (todo-categories-category-label, todo-categories-diary-label)
5212 (todo-categories-done-label, todo-categories-number-separator)
5213 (todo-categories-todo-label, todo-categories-totals-label)
5214 (todo-category-completions-files, todo-completion-ignore-case)
5215 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5216 (todo-done-separator-string, todo-done-string)
5217 (todo-files-function, todo-filter-done-items, todo-filter-files)
5218 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5219 (todo-initial-category, todo-initial-file, todo-item-mark)
5220 (todo-legacy-date-time-regexp, todo-mode-line-function)
5221 (todo-nondiary-marker, todo-number-prefix)
5222 (todo-print-buffer-function, todo-show-current-file)
5223 (todo-show-done-only, todo-show-first, todo-show-with-done)
5224 (todo-skip-archived-categories, todo-top-priorities-overrides)
5225 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5226 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5227 New defcustoms.
5228 (todo-category-done, todo-date-pattern, todo-date-string-start)
5229 (todo-diary-items-buffer, todo-done-string-start)
5230 (todo-filtered-items-buffer, todo-item-start)
5231 (todo-month-abbrev-array, todo-month-name-array)
5232 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5233 (todo-top-priorities-buffer): New defconsts.
5234 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5235 (todo-categories-with-marks, todo-category-string-face)
5236 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5237 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5238 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5239 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5240 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5241 (todo-font-lock-keywords, todo-global-current-todo-file)
5242 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5243 (todo-insertion-commands-args)
5244 (todo-insertion-commands-args-genlist)
5245 (todo-insertion-commands-names, todo-insertion-map)
5246 (todo-key-bindings-t, todo-key-bindings-t+a)
5247 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5248 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5249 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5250 (todo-visited): New variables.
5251
cad5d1cb
GM
52522013-06-21 Glenn Morris <rgm@gnu.org>
5253
5254 * play/cookie1.el (cookie-apropos): Add optional display argument.
5255 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5256 (psychoanalyze-pinhead): Use cookie-doctor.
5257
9e277302
JB
52582013-06-21 Juanma Barranquero <lekktu@gmail.com>
5259
5260 * emacs-lisp/package.el (tar-get-file-descriptor)
5261 (tar--extract): Declare.
5262
c5b0993e
EW
52632013-06-21 Eduard Wiebe <usenet@pusto.de>
5264
5265 Extend flymake's warning predicate to be a function (bug#14217).
5266 * progmodes/flymake.el (flymake-warning-predicate): New.
5267 (flymake-parse-line): Use it.
5268 (flymake-warning-re): Make obsolete alias to
5269 `flymake-warning-predicate'.
5270
a7d2d465
SM
52712013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5274 (package-obsolete-list): Remove.
5275 (package-activate): Remove min-version argument. Add `force' argument.
5276 Adjust to new package-alist format.
5277 (package-mark-obsolete): Remove.
5278 (package-unpack): Force reload of the package's autoloads.
5279 (package-installed-p): Check builtins if the installed package is not
5280 recent enough.
5281 (package-initialize): Don't reset package-obsolete-list.
5282 Don't specify which package version to activate.
5283 (package-process-define-package, describe-package-1)
5284 (package-menu--generate): Adjust to new package-alist format.
5285
cedf5c9d
JB
52862013-06-21 Juanma Barranquero <lekktu@gmail.com>
5287
5288 * allout-widgets.el (allout-widgets-mode-off)
5289 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5290 (allout-widgets-post-command-business)
5291 (allout-widgets-after-copy-or-kill-function)
5292 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5293 (allout-decorate-item-and-context)
5294 (allout-graphics-modification-handler): Fix typos in docstrings.
5295 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5296
5297 * cmuscheme.el (scheme-start-file): Doc fix.
5298 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5299 (scheme-input-filter): Use `string-match-p'.
5300
5301 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5302
5303 * dired-x.el: Use Dired consistently in docstrings.
5304
5305 * dired.el: Use Dired consistently in docstrings.
5306 (dired-readin, dired-mode): Use `setq-local'.
5307 (dired-switches-alist): Make defvar-local.
5308 (dired-buffers-for-dir): Use `zerop'.
5309 (dired-safe-switches-p, dired-switches-escape-p)
5310 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5311 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5312 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5313 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5314 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5315 (dired-toggle-marks, dired-mark-files-containing-regexp)
5316 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5317 (dired-flag-auto-save-files, dired-flag-backup-files):
5318 Use `looking-at-p'.
5319 (dired-mark-files-regexp, dired-build-subdir-alist):
5320 Use `string-match-p', `looking-at-p'.
5321
5322 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5323 (direct-print-region-helper): Use `string-match-p'.
5324
aed838b5
LL
53252013-06-21 Leo Liu <sdl.web@gmail.com>
5326
cedf5c9d
JB
5327 * comint.el (comint-redirect-results-list-from-process):
5328 Fix infinite loop.
aed838b5 5329
d80a808f
LMI
53302013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5331
5332 * net/eww.el (eww-update-header-line-format): Quote % characters.
5333
e7a526e3
GM
53342013-06-21 Glenn Morris <rgm@gnu.org>
5335
5336 * play/cookie1.el (cookie): New custom group.
5337 (cookie-file): New option.
5338 (cookie-check-file): New function.
5339 (cookie): Make it interactive. Make start and end messages optional.
5340 Interactively, display the result. Default to cookie-file.
5341 (cookie-insert): Default to cookie-file.
5342 (cookie-snarf): Make start and end messages optional.
5343 Default to cookie-file. Use with-temp-buffer.
5344 (cookie-read): Rename from read-cookie.
5345 Make start and end messages optional. Default to cookie-file.
5346 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5347 Do not autoload it.
e7a526e3
GM
5348 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5349 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5350
62efb35e
LL
53512013-06-21 Leo Liu <sdl.web@gmail.com>
5352
5353 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5354
21e3f963
GM
53552013-06-21 Glenn Morris <rgm@gnu.org>
5356
5357 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5358
fd846ab4
SM
53592013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5360 Daniel Hackney <dan@haxney.org>
5361
5362 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5363 Consolidate the single-file vs tarball code.
5364 (package-desc-suffix): New function.
5365 (package-desc-full-name): Don't bother inlining it.
5366 (package-load-descriptor): Return the new package-desc.
5367 (package-mark-obsolete): Remove unused arg `package'.
5368 (package-unpack): Make it work for single files as well.
5369 Make it update package-alist.
5370 (package--make-autoloads-and-stuff): Rename from
5371 package--make-autoloads-and-compile. Don't compile any more.
5372 (package--compile): New function.
5373 (package-generate-description-file): New function, extracted from
5374 package-unpack-single.
5375 (package-unpack-single): Remove.
5376 (package--with-work-buffer): Add indentation and debugging info.
5377 (package-download-single): Remove.
5378 (package-install-from-archive): Rename from package-download-tar, make
5379 it take a pkg-desc, and make it work for single files as well.
5380 (package-download-transaction): Simplify.
5381 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5382 external tar program.
5383 (package-install-from-buffer): Remove `pkg-desc' argument.
5384 Use package-tar-file-info for tar-mode buffers.
5385 (package-install-file): Simplify accordingly.
5386 (package-archive-base): Change to take a pkg-desc.
5387 * tar-mode.el (tar--check-descriptor): New function, extracted from
5388 tar-get-descriptor.
5389 (tar-get-descriptor): Use it.
5390 (tar-get-file-descriptor): New function.
5391 (tar--extract): New function, extracted from tar-extract.
5392 (tar--extract): Use it.
5393 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5394 case the summary uses non-ascii. Adjust to new calling convention of
5395 package-tar-file-info.
5396
b7deae5e
LL
53972013-06-21 Leo Liu <sdl.web@gmail.com>
5398
fd846ab4
SM
5399 * comint.el (comint-redirect-results-list-from-process):
5400 Fix random delay. (Bug#14681)
b7deae5e 5401
7a65a0b2
JB
54022013-06-21 Juanma Barranquero <lekktu@gmail.com>
5403
5404 * profiler.el (profiler-format-number): Use log, not log10.
5405
1493c2af
JB
54062013-06-20 Juanma Barranquero <lekktu@gmail.com>
5407
5408 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5409
aff6371e
SM
54102013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5413 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5414 yet available.
5415 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5416 (AUTOGENEL): ... here.
5417 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5418 (cl--defsubst-expand): Use it.
5419
89561f72
PE
54202013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5421
5422 * subr.el (log10): Move here from C code, and declare as obsolete.
5423 All uses of (log10 X) replaced with (log X 10).
5424
47199123
JB
54252013-06-20 Juanma Barranquero <lekktu@gmail.com>
5426
5427 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5428 Declare with `defvar-local'.
5429 (tabulated-list-use-header-line, tabulated-list-entries)
5430 (tabulated-list-padding, tabulated-list-printer)
5431 (tabulated-list-sort-key): Declare with `defvar-local'.
5432 (tabulated-list-init-header, tabulated-list-print-fake-header):
5433 Use `setq-local'.
5434
4a172eab
MA
54352013-06-20 Michael Albinus <michael.albinus@gmx.de>
5436
47199123
JB
5437 * arc-mode.el (archive-mode): Add `archive-write-file' to
5438 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5439
5fc0acc0
JB
54402013-06-20 Juanma Barranquero <lekktu@gmail.com>
5441
d5b27848
JB
5442 * cus-edit.el (custom-commands): Fix typos.
5443 (custom-display): Fix tooltip text.
5444 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5445 Fix typos in docstrings.
5446 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5447 (custom-unlispify-menu-entry, custom-magic-value-create)
5448 (custom-add-see-also, custom-group-value-create): Use ?\s.
5449 (custom-guess-type, customize-apropos, editable-field)
5450 (custom-face-value-create): Use `string-match-p'.
5451 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5452
5453 * custom.el (custom-load-symbol): Use `string-match-p'.
5454
a5c581d8
JB
5455 * ansi-color.el: Convert to lexical binding.
5456 (ansi-colors): Fix URL.
5457 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5458 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5459 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5460
970ad972
G
54612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5462
5463 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5464
5465 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5466
54672013-06-19 Tom Tromey <tromey@redhat.com>
5468
5469 * net/eww.el (eww-top-url): Remove.
5470 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5471 (eww-render): Set new variables. Don't set eww-top-url.
5472 (eww-handle-link): Handle "prev", "home", and "contents".
5473 Downcase the rel text.
5474 (eww-top-url): Choose best top URL.
5475
54762013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5477
5478 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5479 relying in widget.el. Using widget.el leads to too many
5480 user interface inconsistencies.
5481 (eww-self-insert): Implement entering commands in text fields.
5482 (eww-process-text-input): New function to make text input field editing
5483 work.
5484 (eww-submit): Rewrite to use the new-style form methods.
5485 (eww-select-display): Display the correct selected item.
5486 (eww-change-select): Implement changing the select value.
5487 (eww-toggle-checkbox): Implement radio/checkboxes.
5488 (eww-update-field): Fix compilation error.
5489 (eww-tag-textarea): Implement <textarea>.
5490
5491 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5492 we don't shadow mode-specific bindings.
5493
5494 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5495 nothing to push.
5496
5497 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5498
4582a01c 54992013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5500
5501 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5502
15b263dc
MA
55032013-06-19 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5506 not needed.
5507
5508 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5509
8f5297f7
LMI
55102013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5511
5512 * net/browse-url.el (browse-url-browser-function):
5513 `eww-browse-url' has the right calling signature, `eww' does not.
5514
011c4552
GM
55152013-06-19 Glenn Morris <rgm@gnu.org>
5516
2285bd27
GM
5517 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5518 Only eval autoloaded macros.
5519 (byte-compile-autoload): Only give the macro warning for macros.
5520
1d653303
GM
5521 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5522 (ps-underlined-faces): Declare.
5523
bdd779ec
GM
5524 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5525 (speedbar-add-supported-extension): Declare.
5526
011c4552
GM
5527 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5528 Don't include a date stamp in the header of the generated file;
5529 it leads to needless differences between output files.
5530
e59dfb0e
MA
55312013-06-19 Michael Albinus <michael.albinus@gmx.de>
5532
c763842b
SM
5533 * net/secrets.el (secrets-struct-secret-content-type):
5534 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5535 Some servers do not offer introspection.
e59dfb0e 5536
102626e2
SM
55372013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * electric.el (electric-pair-mode): Improve interaction with
5540 electric-layout-mode.
5541 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5542 (electric-pair-syntax): Use text-mode-syntax-table in comments
5543 and strings.
5544 (electric-pair--insert): New function.
5545 (electric-pair-post-self-insert-function): Use it and
5546 electric--after-char-pos.
5547
ad528125
LL
55482013-06-19 Leo Liu <sdl.web@gmail.com>
5549
5550 * progmodes/octave.el (octave-help): Fix regexp.
5551
924d6997
G
55522013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5553
5554 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5555 (shr-table-horizontal-line): Allow nil as a value, and change the
5556 default.
5557 (shr-insert-table-ruler): Respect the nil value.
5558
55592013-06-18 Tom Tromey <tromey@barimba>
5560
5561 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5562 New defvars.
5563 (eww-open-file): New defun.
5564 (eww-render): Initialize new variables.
5565 (eww-display-html): Handle "link" and "a".
5566 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5567 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5568 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5569 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5570 New defuns.
924d6997 5571
d1bbba4f
DG
55722013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5573
5574 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5575 Distinguish ternary operator tokens from slash symbol and slash
5576 char literal.
5577
14dd22d2
JB
55782013-06-18 Juanma Barranquero <lekktu@gmail.com>
5579
5580 Convert symbol prettification into minor mode and global minor mode.
5581
5582 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5583 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5584 (prettify-symbols--keywords): Rename from
5585 `prog-prettify-symbols-alist' and make a local defvar.
5586 (prettify-symbols--compose-symbol): Rename from
5587 `prog--prettify-font-lock-compose-symbol'.
5588 (prettify-symbols--make-keywords): Rename from
5589 `prog-prettify-font-lock-symbols-keywords' and simplify.
5590 (prog-prettify-install): Remove.
5591 (prettify-symbols-mode): New minor mode, based on
5592 `prog-prettify-install'.
5593 (turn-on-prettify-symbols-mode): New function.
5594 (global-prettify-symbols-mode): New globalized minor mode.
5595
5596 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5597 * progmodes/cfengine.el (cfengine3-mode):
5598 * progmodes/perl-mode.el (perl-mode): Don't call
5599 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5600
292c880c
JL
56012013-06-18 Juri Linkov <juri@jurta.org>
5602
5603 * files-x.el (modify-file-local-variable-message): New function.
5604 (modify-file-local-variable)
5605 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5606 and call `modify-file-local-variable-message' when it's non-nil.
5607 (add-file-local-variable, delete-file-local-variable)
5608 (add-file-local-variable-prop-line)
5609 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5610 and use it. (Bug#9820)
5611
0950aa27
JL
56122013-06-18 Juri Linkov <juri@jurta.org>
5613
5614 * emulation/vi.el (vi-shell-op):
5615 * emulation/vip.el (vip-execute-com, ex-command):
5616 * emulation/viper-cmd.el (viper-exec-bang):
5617 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5618 the call of `shell-command-on-region'. (Bug#14637)
5619
5620 * simple.el (shell-command-on-region): Doc fix.
5621
8fbcca16
SM
56222013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5625 (bug#14633).
5626
dd7426ea
GM
56272013-06-18 Glenn Morris <rgm@gnu.org>
5628
4ba54f7d
GM
5629 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5630
dd7426ea
GM
5631 * newcomment.el (comment-search-forward, comment-search-backward):
5632 Doc fix. (Bug#14376)
5633
58aa805b
JB
56342013-06-18 Juanma Barranquero <lekktu@gmail.com>
5635
5636 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5637 (buffer-face-mode-invoke): Doc fix.
5638
9a08a617
MM
56392013-06-18 Matthias Meulien <orontee@gmail.com>
5640
5641 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5642 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5643
f2f426ca
GM
56442013-06-18 Glenn Morris <rgm@gnu.org>
5645
9445f99b
GM
5646 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5647 Replace obsolete function generic-make-keywords with its expansion.
5648
e0df2d14
GM
5649 * progmodes/python.el (ffap-alist): Declare.
5650
f2f426ca
GM
5651 * textmodes/reftex.el (bibtex-mode-map): Declare.
5652
f7f9a720
SM
56532013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5656 (package-unpack, package-unpack-single): Return the pkg-dir.
5657 (package-download-transaction): Use it to update package-alist.
5658
57ff04e0
LMI
56592013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5660
5661 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5662 possible choice.
5663
c048c022
JL
56642013-06-17 Juri Linkov <juri@jurta.org>
5665
5666 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5667
b5bcaee5
DG
56682013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5669
a020afb9
JB
5670 * emacs-lisp/package.el (package-load-descriptor):
5671 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5672 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5673
551e07e5
JB
56742013-06-17 Juanma Barranquero <lekktu@gmail.com>
5675
5676 * startup.el (command-line): Expand package name returned by
5677 `package--description-file' (bug#14639).
5678
d363bffb
DG
56792013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5680
5681 * emacs-lisp/package.el (package-load-descriptor): Do not call
5682 `emacs-lisp-mode', just use its syntax table.
5683
f612933b
JB
56842013-06-17 Juanma Barranquero <lekktu@gmail.com>
5685
5686 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5687 `font-lock-extra-managed-props' if any prettifying keyword is added.
5688 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5689 (prog-mode): Use `setq-local'.
5690
db3b7db5
SM
56912013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * international/characters.el (standard-case-table): Set syntax of ?»
5694 and ?« to punctuation.
5695
f3d674df
JB
56962013-06-16 Juanma Barranquero <lekktu@gmail.com>
5697
5698 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5699 Save relevant match data before calling `syntax-ppss' (bug#14595).
5700
31489a32
JL
57012013-06-15 Juri Linkov <juri@jurta.org>
5702
5703 * files-x.el (modify-file-local-variable-prop-line): Add local
5704 variables to the end of the existing comment on the first line.
5705 Use `file-auto-mode-skip' to skip interpreter magic line,
5706 and also skip XML declaration.
5707
66bd25ab
SM
57082013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * startup.el (package--builtin-versions): New var.
5711 (package-subdirectory-regexp): Remove.
5712 (package--description-file): Hard code its value instead.
5713
5714 * emacs-lisp/package.el: Don't activate packages older than builtin.
5715 (package-obsolete-list): Rename from package-obsolete-alist, and make
5716 it into a simple list of package-desc.
5717 (package-strip-version): Remove.
5718 (package-built-in-p): Use package--builtin-versions.
5719 (package-mark-obsolete): Simplify.
5720 (package-process-define-package): Mark it obsolete if older than the
5721 builtin version.
5722 (package-handle-response): Use line-end-position.
5723 (package-read-archive-contents, package--download-one-archive):
5724 Simplify.
5725 (package--add-to-archive-contents): Skip if older than the builtin or
5726 installed version.
5727 (package-menu-describe-package): Fix last change.
5728 (package-list-unversioned): New var.
5729 (package-menu--generate): Use it.
5730
5731 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5732 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5733 (autoload-builtin-package-versions): New variable.
5734 (autoload-generate-file-autoloads): Use them.
5735 Remove the list of autoloaded functions/macros from the
5736 (autoload...) comments.
5737
5738 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5739
9583ec36
EZ
57402013-06-15 Eli Zaretskii <eliz@gnu.org>
5741
5742 * simple.el (line-move-partial): Don't jump to the next screen
5743 line as soon as it becomes visible. Instead, continue enlarging
5744 the vscroll until the portion of a tall screen line that's left on
5745 display is about the height of the frame's default font.
5746 (Bug#14567)
5747
f0100d8a
GM
57482013-06-15 Glenn Morris <rgm@gnu.org>
5749
b86a85ca
GM
5750 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5751 compilation-error-regexp-alist void, or local while let-bound.
5752
f0100d8a
GM
5753 * progmodes/make-mode.el (makefile-mode-syntax-table):
5754 Treat "=" as punctuation. (Bug#14614)
5755
05e7ce90
JB
57562013-06-15 Juanma Barranquero <lekktu@gmail.com>
5757
5758 * help-fns.el (describe-variable):
5759 Add extra line for permanent-local variables.
5760
12e5e86e
SH
57612013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5762
5763 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5764 Add export, import, library. (Bug#9164)
5765 (library): Set indent function.
5766
230dcbaf
GM
57672013-06-14 Glenn Morris <rgm@gnu.org>
5768
5769 * term/xterm.el (xterm--query):
5770 Stop after first matching handler. (Bug#14615)
5771
e36b2d20 57722013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5773
5774 Add support for dired in saveplace.
5775 * dired.el (dired-initial-position-hook): New variable.
5776 (dired-initial-position): Call hook to place cursor position.
5777 * saveplace.el (save-place-to-alist): Add dired position.
5778 (save-place-dired-hook): New function.
5779
0b31660d
SM
57802013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5781
bf1e6ae8
SM
5782 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5783 through a symbol rather than letrec.
5784
1b8dff23
SM
5785 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5786 (package-desc): Add `dir' field.
5787 (package-desc-full-name): New function.
5788 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5789 (package-maybe-load-descriptor): Remove.
5790 (package-load-all-descriptors): Just call package-load-descriptor.
5791 (package--disabled-p): New function.
5792 (package-desc-vers, package-desc-doc): Remove aliases.
5793 (package--dir): Remove function.
5794 (package-activate): Check if a package is disabled.
5795 (package-process-define-package): New function, extracted from
5796 define-package.
5797 (define-package): Turn into a place holder.
5798 (package-unpack-single, package-tar-file-info):
5799 Use package--description-file.
5800 (package-compute-transaction): Use package--disabled-p.
5801 (package-download-transaction): Don't call
5802 package-maybe-load-descriptor since they're all loaded anyway.
5803 (package-install): Change argument to be a pkg-desc.
5804 (package-delete): Use a single pkg-desc argument.
5805 (describe-package-1): Use package-desc-dir instead of package--dir.
5806 Use package-desc property instead of package-symbol.
5807 (package-install-button-action): Adjust accordingly.
5808 (package--push): Rewrite.
5809 (package-menu--print-info): Adjust accordingly. Change the ID format
5810 to be a pkg-desc.
5811 (package-menu-describe-package, package-menu-get-status)
5812 (package-menu--find-upgrades, package-menu-mark-upgrades)
5813 (package-menu-execute, package-menu--name-predicate):
5814 Adjust accordingly.
5815 * startup.el (package--description-file): New function.
5816 (command-line): Use it.
5817 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5818 Use package-desc-version.
5819
0b31660d
SM
5820 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5821 (byte-compile-preprocess): Use it.
5822 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5823 can't quite recognize.
5824 (byte-compile-add-to-list): Remove.
5825 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5826 (cconv-closure-convert): Add assertion.
5827
5828 * emacs-lisp/map-ynp.el: Use lexical-binding.
5829 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5830 Factor out some repeated code.
5831
de0503df
SM
58322013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * subr.el (with-eval-after-load): New macro.
5835 (eval-after-load): Allow form to be a function.
5836 take advantage of lexical-binding.
5837 (do-after-load-evaluation): Use dolist and adjust to new format.
5838 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5839
bc5c8c5a
JL
58402013-06-13 Juri Linkov <juri@jurta.org>
5841
5842 * replace.el (perform-replace): Display "symbol " and other search
5843 modes from `isearch-message-prefix' in the *Help* buffer.
5844
5845 * isearch.el (isearch-query-replace): Add " symbol" and other
5846 possible search modes from `isearch-message-prefix' to the prompt.
5847 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5848 when reading a regexp to collect.
5849
a22289f7
JL
58502013-06-13 Juri Linkov <juri@jurta.org>
5851
5852 * isearch.el (word-search-regexp): Match whitespace if the search
5853 string begins or ends in whitespace. The LAX arg is applied to
5854 both ends of the search string. Use `regexp-quote' and explicit
5855 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5856 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5857 boundaries are replaced with symbol boundaries, and characters
5858 between symbols match non-word non-symbol syntax. (Bug#14602)
5859
cb89acab
JL
58602013-06-13 Juri Linkov <juri@jurta.org>
5861
5862 * isearch.el (isearch-del-char): Don't exceed the length of
5863 `isearch-string' by the prefix arg. (Bug#14563)
5864
6e8cfc81
JL
58652013-06-13 Juri Linkov <juri@jurta.org>
5866
5867 * isearch.el (isearch-yank-word, isearch-yank-line)
5868 (isearch-char-by-name, isearch-quote-char)
5869 (isearch-printing-char, isearch-process-search-char):
5870 Add optional count prefix arg. (Bug#14563)
5871
5872 * international/isearch-x.el
5873 (isearch-process-search-multibyte-characters):
5874 Add optional count prefix arg.
5875
c23d55f4
VS
58762013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5879 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5880 lexical-binding.
5881
58822013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5883
5884 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5885
ba947bc4
GM
58862013-06-13 Glenn Morris <rgm@gnu.org>
5887
8baeb37a
GM
5888 * startup.el (tty-handle-args):
5889 Don't just discard "--" and anything after. (Bug#14608)
5890
ba947bc4
GM
5891 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5892
9abefce4
MA
58932013-06-13 Michael Albinus <michael.albinus@gmx.de>
5894
5895 Implement changes in Secret Service API. Make it backward compatible.
5896 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5897 (secrets-create-item): Use it. Prefix properties with interface.
5898
5755011f
MH
58992013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5900
5901 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5902 (term-emulate-terminal): Respect term-suppress-hard-newline.
5903
1261d2da
S
59042013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5905
5906 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5907 Only remove a `thumb-file' overlay. (Bug#14548)
5908
868490bb
GJ
59092013-06-12 Grégoire Jadi <daimrod@gmail.com>
5910
5911 * mail/reporter.el (reporter-submit-bug-report):
5912 Handle missing package-name. (Bug#14600)
5913
79d7167f
TH
59142013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5915
5916 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5917 (reftex-citation-prompt, reftex-default-bibliography)
5918 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5919 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5920 (reftex-bib-sort-author, reftex-bib-sort-year)
5921 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5922 (reftex-extract-bib-entries-from-thebibliography)
5923 (reftex-get-bibkey-default, reftex-get-bib-names)
5924 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5925 (reftex-format-bib-entry, reftex-parse-bibitem)
5926 (reftex-format-bibitem, reftex-do-citation)
5927 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5928 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5929 (reftex-insert-bib-matches, reftex-format-citation)
5930 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5931 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5932 existing comments into docstrings.
5933
5f9dbd7a
XF
59342013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5935
5936 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5937
94df41ab
AS
59382013-06-12 Andreas Schwab <schwab@suse.de>
5939
5940 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5941 for auto-save files.
5942
a7f3fecc
GM
59432013-06-12 Glenn Morris <rgm@gnu.org>
5944
001809f6
GM
5945 * ido.el (ido-delete-ignored-files): Remove.
5946 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5947 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5948
834b5ded
EL
59492013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5950
08c73ed2
EL
5951 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5952
834b5ded
EL
5953 * ido.el (ido-delete-ignored-files): New function,
5954 split from ido-make-file-list-1.
5955 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5956 (ido-make-file-list-1): Use ido-delete-ignored-files.
5957
daabf15a
LL
59582013-06-12 Leo Liu <sdl.web@gmail.com>
5959
5960 * progmodes/octave.el (inferior-octave-startup)
5961 (inferior-octave-completion-table)
5962 (inferior-octave-track-window-width-change)
5963 (octave-eldoc-function-signatures, octave-help)
5964 (octave-find-definition): Use single quoted strings.
5965 (inferior-octave-startup-args): Change default value.
5966 (inferior-octave-startup): Do not hard code "-i" and
5967 "--no-line-editing".
5968 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5969 (inferior-octave-directory-tracker): Use it.
5970 (octave-goto-function-definition): Robustify.
5971 (octave-help): Support highlighting operators in 'See also'.
5972 (octave-find-definition): Find subfunctions only in Octave mode.
5973
cf4e5178
SM
59742013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * help-fns.el (help-fns--compiler-macro): If the handler function is
5977 named, then put a link to it.
5978 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5979 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5980 (cl-typep): Use it.
5981 (cl-eval-when): Simplify debug spec.
5982 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5983 compiler-macro function instead of setting `compiler-macro-file'.
5984
99c81280 59852013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5986
5987 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5988 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5989
f56be016
SM
59902013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5991 Daniel Hackney <dan@haxney.org>
5992
5993 First part of Daniel Hackney's patch to package.el.
5994 * emacs-lisp/package.el: Use defstruct.
5995 (package-desc): New, main struct.
5996 (package--bi-desc, package--ac-desc): New structs, used to describe the
5997 format in external files.
5998 (package-desc-vers): Replace with package-desc-version accessor.
5999 (package-desc-doc): Replace with package-desc-summary accessor.
6000 (package-activate-1): Remove `package' arg since the pkg-vec now
6001 includes the name.
6002 (define-package): Use package-desc-from-define.
6003 (package-unpack-single): Change file-name arg to be a symbol.
6004 (package--add-to-archive-contents): Use package-desc-create and new
6005 accessor functions to package--ac-desc.
6006 (package-buffer-info, package-tar-file-info): Return a package-desc.
6007 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6008 arg to be a package-desc.
6009 (package-install-file): Adjust accordingly. Use \' to match EOS.
6010 (package--from-builtin): New function.
6011 (describe-package-1, package-menu--generate): Use it.
6012 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6013 (package-generate-autoloads): Idem and return the name of the file.
6014 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6015 Change pkg-info arg to be a package-desc.
6016 Use package-make-ac-desc.
6017 (package-upload-file): Use \' to match EOS.
6018 * finder.el (finder-compile-keywords): Use package-make-builtin.
6019
31119d63
SM
60202013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6021
931a2762
SM
6022 * vc/vc.el (vc-deduce-fileset): Change error message.
6023 (vc-read-backend): New function.
6024 (vc-next-action): Use it.
6025
5a3eb0c6
SM
6026 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6027
e3eb1bb7
SM
6028 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6029 (prolog-font-lock-keywords): Use regexp-opt instead.
6030 Don't manually highlight strings.
6031 (prolog-mode-variables): Simplify comment-start-skip.
6032 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6033
31119d63
SM
6034 * emacs-lisp/generic.el (generic--normalise-comments)
6035 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6036 (generic-mode-set-comments): Use them.
6037 (generic-bracket-support): Use setq-local.
6038 (generic-make-keywords-list): Declare obsolete.
6039
7de135d0
GM
60402013-06-11 Glenn Morris <rgm@gnu.org>
6041
6042 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6043 Prettify after setting font-lock-defaults. (Bug#14574)
6044
fa6bc6fd
JB
60452013-06-11 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * replace.el (query-replace, occur-read-regexp-defaults-function)
6048 (replace-search):
6049 * subr.el (declare-function, number-sequence, local-set-key)
6050 (substitute-key-definition, locate-user-emacs-file)
6051 (with-silent-modifications, split-string, eval-after-load):
6052 Fix typos, remove unneeded backslashes and reflow some docstrings.
6053
cf1f9b9a
SM
60542013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6057 default for Elisp files.
6058
56602a4b
GM
60592013-06-11 Glenn Morris <rgm@gnu.org>
6060
6061 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6062 although define-derived-mode was doing this anyway. (Bug#14583)
6063
30ae0b2c
JB
60642013-06-10 Juanma Barranquero <lekktu@gmail.com>
6065
6066 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6067 Fix make-variable-buffer-local call to refer to the correct variable.
6068
fa472906
AG
60692013-06-10 Aidan Gauland <aidalgol@amuri.net>
6070
6071 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6072 (eshell-visual-subcommands, eshell-visual-options):
6073 Add summary line to docstrings. Add cross-references.
fa472906 6074
ff4871b9
GM
60752013-06-10 Glenn Morris <rgm@gnu.org>
6076
6077 * epa.el (epa-read-file-name): New function. (Bug#14510)
6078 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6079
04fcf1b0
AG
60802013-06-09 Aidan Gauland <aidalgol@amuri.net>
6081
6082 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6083 output redirection to be ignored with visual commands.
6084
88b00caa
AG
60852013-06-09 Aidan Gauland <aidalgol@amuri.net>
6086
6087 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6088 (eshell-term-initialize): Move long lambda to separate function
6089 eshell-visual-command-p.
e7b41c4c
JB
6090 * eshell/em-dirs.el (eshell-dirs-initialise):
6091 * eshell/em-script.el (eshell-script-initialize):
6092 Add missing #' to lambda.
88b00caa 6093
fda74125
LL
60942013-06-08 Leo Liu <sdl.web@gmail.com>
6095
6096 * progmodes/octave.el (octave-add-log-current-defun): New function.
6097 (octave-mode): Set add-log-current-defun-function.
6098 (octave-goto-function-definition): Do not move point if not found.
6099 (octave-find-definition): Enhance to try subfunctions first.
6100
467f3b33
GM
61012013-06-08 Glenn Morris <rgm@gnu.org>
6102
6103 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6104 (byte-compile-backward-char, byte-compile-backward-word):
6105 Improve previous change, to handle non-explicit nil.
6106
544badc3
SM
61072013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6110 (smie--opener/closer-at-point): New function.
6111 (smie--matching-block-data): Use it. Don't match from right after an
6112 opener or right before a closer. Obey smie-blink-matching-inners.
6113 Don't signal a mismatch for repeated inners like "switch..case..case".
6114
a175bf33
LL
61152013-06-07 Leo Liu <sdl.web@gmail.com>
6116
6117 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6118 to t. (Bug#14303)
ce8209d4
LL
6119 (octave-function-header-regexp): Fix. (Bug#14570)
6120 (octave-help-mode-finish-hook, octave-help-mode-finish):
6121 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6122
6123 * newcomment.el (comment-search-backward): Revert last change.
6124 (Bug#14434)
6125
6126 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6127
a822acff
EZ
61282013-06-07 Eli Zaretskii <eliz@gnu.org>
6129
6130 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6131 through xargs, to avoid failure due to MS-Windows limitations on
6132 command-line length.
6133
961166f5
GM
61342013-06-06 Glenn Morris <rgm@gnu.org>
6135
d0341459
GM
6136 * font-lock.el (lisp-font-lock-keywords-2):
6137 Treat user-error like error.
6138
961166f5
GM
6139 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6140 (byte-compile-backward-char, byte-compile-backward-word):
6141 Handle explicit nil arguments. (Bug#14565)
6142
80fa505f
AM
61432013-06-05 Alan Mackenzie <acm@muc.de>
6144
6145 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6146 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6147 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6148 (Bug#9706)
80fa505f 6149
fccdc796
SM
61502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * autorevert.el (auto-revert-notify-handler): Use memq.
6153 Hide assertion failure.
6154
6155 * skeleton.el: Use cl-lib.
6156 (skeleton-further-elements): Use defvar-local.
6157 (skeleton-insert): Use cl-progv.
6158
9bfff84b
TZ
61592013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6160
6161 * progmodes/prog-mode.el (prog-prettify-symbols)
6162 (prog-prettify-install): Update docstrings.
6163
55577e7c
SM
61642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * simple.el: Move all the prog-mode code to prog-mode.el.
6167 * progmodes/prog-mode.el: New file.
6168 * loadup.el: Add prog-mode.el.
6169
8fc57765
TZ
61702013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6171
6172 * simple.el (prog-prettify-symbols): Add version.
6173 (prog-prettify-install): Add convenience function to prettify symbols.
6174
6175 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6176 (perl--augmented-font-lock-keywords-1)
6177 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6178 variables and use it.
6179
6180 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6181 (cfengine3-mode): Remove unneeded variable and use it.
6182
6183 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6184 (lisp--augmented-font-lock-keywords-1)
6185 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6186 Remove unneeded variables and use it.
6187
650645d5 61882013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6189
6190 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6191 to point when opening the connection. (Bug#14380)
28f5da6d 6192
781b4af6
SM
61932013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * subr.el (load-history-regexp, load-history-filename-element)
6196 (eval-after-load, after-load-functions, do-after-load-evaluation)
6197 (eval-next-after-load, display-delayed-warnings)
6198 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6199 definition of save-match-data.
6200 (overriding-local-map): Remove accidental obsolescence declaration.
6201
6202 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6203
3ca0d0b4
TZ
62042013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6205
6206 Generalize symbol prettify support to prog-mode and implement it
6207 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6208 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6209 (prog--prettify-font-lock-compose-symbol)
6210 (prog-prettify-font-lock-symbols-keywords): New variables and
6211 functions to support symbol prettification.
6212 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6213 (lisp--augmented-font-lock-keywords-1)
6214 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6215 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6216 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6217 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6218 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6219 * progmodes/perl-mode.el (perl-prettify-symbols)
6220 (perl--font-lock-compose-symbol)
6221 (perl--font-lock-symbols-keywords): Move to prog-mode.
6222 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6223 (perl-font-lock-keywords-1)
6224 (perl-font-lock-keywords-2): Remove explicit prettify support.
6225 (perl--augmented-font-lock-keywords)
6226 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6227 (perl--augmented-font-lock-keywords-2, perl-mode):
6228 Implement prettify support.
3ca0d0b4 6229
976cb066
LL
62302013-06-05 Leo Liu <sdl.web@gmail.com>
6231
6232 Re-implement smie matching block highlight using
6233 show-paren-data-function. (Bug#14395)
6234 * emacs-lisp/smie.el (smie-matching-block-highlight)
6235 (smie--highlight-matching-block-overlay)
6236 (smie--highlight-matching-block-lastpos)
6237 (smie-highlight-matching-block)
6238 (smie-highlight-matching-block-mode): Remove.
6239 (smie--matching-block-data-cache): New variable.
6240 (smie--matching-block-data): New function.
6241 (smie-setup): Use smie--matching-block-data for
6242 show-paren-data-function.
6243
6244 * progmodes/octave.el (octave-mode-menu): Fix.
6245 (octave-find-definition): Skip garbage lines.
6246
208d0342
SM
62472013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 Fix compilation error with simultaneous dynamic+lexical scoping.
6250 Add warning when a defvar appears after the first let-binding.
6251 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6252 (byte-compile-close-variables): Initialize it.
6253 (byte-compile--declare-var): New function.
6254 (byte-compile-file-form-defvar)
6255 (byte-compile-file-form-define-abbrev-table)
6256 (byte-compile-file-form-custom-declare-variable): Use it.
6257 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6258 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6259 (byte-compile-bind): Handle dynamic bindings that shadow
6260 lexical bindings.
6261 (byte-compile-unbind): Make arg non-optional.
6262 (byte-compile-let): Simplify.
6263 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6264 (cconv--analyse-function, cconv-analyse-form): Populate it.
6265 Protect byte-compile-bound-variables to limit the scope of defvars.
6266 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6267 Remove unneeded rule for `declare'.
6268
6269 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6270 so as to avoid depending on cl-adjoin at run-time.
6271 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6272
6273 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6274 (macroexp--warn-and-return): Use it.
6275
2587b005
LL
62762013-06-05 Leo Liu <sdl.web@gmail.com>
6277
6278 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6279
f1da3c88
LL
62802013-06-04 Leo Liu <sdl.web@gmail.com>
6281
6282 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6283 (compilation-auto-jump): Suppress the "Mark set" message to give
6284 way to exit message.
6285
3caa391f
AM
62862013-06-04 Alan Mackenzie <acm@muc.de>
6287
6288 Remove faulty optimisation from indentation calculation.
6289 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6290 search limit based on 2000 characters back from indent-point.
6291
068922a2
TH
62922013-06-03 Tassilo Horn <tsdh@gnu.org>
6293
6294 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6295
1f8fdd53
SM
62962013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6297
bbcc4d97
SM
6298 * emacs-lisp/lisp.el: Use lexical-binding.
6299 (lisp--local-variables-1, lisp--local-variables): New functions.
6300 (lisp--local-variables-completion-table): New var.
208d0342 6301 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6302
1f8fdd53
SM
6303 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6304 eagerly (bug#14422).
6305
c9628c79
MA
63062013-06-03 Michael Albinus <michael.albinus@gmx.de>
6307
6308 * autorevert.el (auto-revert-notify-enabled)
6309 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6310 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6311 (auto-revert-notify-handler): Handle also gfilenotify.
6312
e7b41c4c 6313 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6314 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6315 Remove.
c9628c79 6316
e5e4a942
JL
63172013-06-03 Juri Linkov <juri@jurta.org>
6318
6319 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6320 `M-s h .'. (Bug#14427)
6321
6322 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6323 command `hi-lock-face-symbol-at-point'.
6324 (hi-lock-face-symbol-at-point): New command.
6325 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6326 (hi-lock-menu): Add `highlight-symbol-at-point'.
6327 (hi-lock-mode): Doc fix.
6328
6329 * isearch.el (isearch-forward-symbol-at-point): New command.
6330 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6331 (isearch-highlight-regexp): Add a regexp which matches
6332 words/symbols for word/symbol mode.
6333
6334 * subr.el (find-tag-default-bounds): New function with the body
6335 mostly moved from `find-tag-default'.
6336 (find-tag-default): Move most code to `find-tag-default-bounds',
6337 call it and apply `buffer-substring-no-properties' afterwards.
6338
26b3353a
TH
63392013-06-03 Tassilo Horn <tsdh@gnu.org>
6340
781b4af6
SM
6341 * eshell/em-term.el (eshell-term-initialize):
6342 Use `cl-intersection' rather than `intersection'.
26b3353a 6343
51b60f53
XF
63442013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6345
fe054b63 6346 * vc/log-view.el: Doc fix.
d3ffe17c 6347 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6348
a0eb10b3 63492013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6350
6351 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6352 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6353 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6354 (eieio-unbound, eieio-default-superclass)
6355 (eieio--define-field-accessors, method-static, method-before)
6356 (method-primary, method-after, method-num-lists)
6357 (method-generic-before, method-generic-primary)
6358 (method-generic-after, method-num-slots)
6359 (eieio-specialized-key-to-generic-key)
6360 (eieio--check-type, class-v, class-p)
6361 (eieio-class-name, define-obsolete-function-alias)
6362 (eieio-class-parents-fast, eieio-class-children-fast)
6363 (same-class-fast-p, class-constructor, generic-p)
6364 (generic-primary-only-p, generic-primary-only-one-p)
6365 (class-option-assoc, class-option, eieio-object-p)
6366 (class-abstract-p, class-method-invocation-order)
6367 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6368 (eieio-class-un-autoload, eieio-defclass)
6369 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6370 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6371 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6372 (eieio-defgeneric-reset-generic-form)
6373 (eieio-defgeneric-form-primary-only)
6374 (eieio-defgeneric-reset-generic-form-primary-only)
6375 (eieio-defgeneric-form-primary-only-one)
6376 (eieio-defgeneric-reset-generic-form-primary-only-one)
6377 (eieio-unbind-method-implementations)
6378 (eieio--defmethod, eieio--typep)
6379 (eieio-perform-slot-validation, eieio-validate-slot-value)
6380 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6381 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6382 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6383 (eieio-slot-name-index, eieio-class-slot-name-index)
6384 (eieio-set-defaults, eieio-initarg-to-attribute)
6385 (eieio-attribute-to-initarg, eieio-c3-candidate)
6386 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6387 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6388 (eieio-class-precedence-list, eieio-generic-call-methodname)
6389 (eieio-generic-call-arglst, eieio-generic-call-key)
6390 (eieio-generic-call-next-method-list)
6391 (eieio-pre-method-execution-functions, eieio-generic-call)
6392 (eieio-generic-call-primary-only, eieiomt-method-list)
6393 (eieiomt-optimizing-obarray, eieiomt-install)
6394 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6395 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6396 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6397 (defclass): Remove `eval-and-compile' from macro.
6398 (call-next-method, shared-initialize): Instead of using
6399 `scoped-class' variable, use new eieio--scoped-class, and
6400 eieio--with-scoped-class.
6401 (initialize-instance): Rename local variable 'scoped-class' to
6402 'this-class' to remove ambiguitity from old global.
6403
6404 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6405 eieio.el.
4f405069
JB
6406 (eieio--scoped-class-stack): New variable.
6407 (eieio--scoped-class): New fcn.
890f7890
DE
6408 (eieio--with-scoped-class): New scoping macro.
6409 (eieio-defclass): Use pushnew instead of add-to-list.
6410 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6411 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6412 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6413 `scoped-class' variable, use new eieio--scoped-class, and
6414 eieio--with-scoped-class.
6415
6416 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6417
d105b0e2
TH
64182013-06-02 Tassilo Horn <tsdh@gnu.org>
6419
6420 * eshell/esh-ext.el (eshell-external-command): Pass args to
6421 `eshell-find-interpreter'.
6422 (eshell-find-interpreter): Add new second parameter ARGS.
6423
6424 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6425 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6426
6427 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6428 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6429
6430 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6431 (eshell-visual-options): New defcustom.
6432 (eshell-escape-control-x): Adapt docstring.
6433 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6434 `eshell-visual-options' in addition to `eshell-visual-commands'.
6435 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6436
f46305c8 64372013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6438
6439 * progmodes/python.el (python-indent-block-enders): Add break,
6440 continue and raise keywords.
6441
d870df21
GM
64422013-06-01 Glenn Morris <rgm@gnu.org>
6443
9133b82e
GM
6444 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6445
02c992ec 6446 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6447 * progmodes/cc-cmds.el (delete-forward-p):
6448 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6449 * progmodes/cc-engine.el (buffer-syntactic-context):
6450 * progmodes/cc-fonts.el (face-property-instance):
6451 * progmodes/cc-mode.el (set-keymap-parents):
6452 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6453 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6454 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6455 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6456 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6457
31e7b090
GM
6458 * progmodes/cc-vars.el (other): Emacs has this widget since
6459 at least 21.1, so don't (re)define it.
6460
d870df21
GM
6461 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6462 Replace the obsolete alias pcomplete-arg-quote-list.
6463
c75c93c7
LL
64642013-06-01 Leo Liu <sdl.web@gmail.com>
6465
6466 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6467 punctuation syntax.
6468 (inferior-octave-minimal-columns)
6469 (inferior-octave-last-column-width): New variables.
6470 (inferior-octave-track-window-width-change): New function.
6471 (inferior-octave-mode): Adjust column width so that Octave output,
6472 for example from 'ls', can fit into the window nicely.
6473
973d1e12
DG
64742013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6475
6476 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6477 Highlight expansions inside regexp literals.
6478
0888c286
GM
64792013-05-31 Glenn Morris <rgm@gnu.org>
6480
e26aac1f
GM
6481 * obsolete/sym-comp.el (symbol-complete):
6482 Replace obsolete completion-annotate-function.
6483
0888c286
GM
6484 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6485
19bb8e62
DG
64862013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6487
781b4af6
SM
6488 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6489 New function, checks if point is inside a literal that allows
19bb8e62
DG
6490 expression expansion.
6491 (ruby-syntax-propertize-expansion): Use it.
6492 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6493 around the body.
6494
01dea85f
JL
64952013-05-30 Juri Linkov <juri@jurta.org>
6496
6497 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6498 to "\M-si".
6499 (isearch-invisible): New variable.
6500 (isearch-forward): Doc fix.
6501 (isearch-mode): Set `isearch-invisible'
6502 to the value of `search-invisible'.
6503 (isearch-toggle-case-fold): Doc fix.
6504 (isearch-toggle-invisible): New command.
6505 (isearch-query-replace): Let-bind `search-invisible'
6506 to the value of `isearch-invisible'.
6507 (isearch-search): Use `isearch-invisible' instead of
6508 `search-invisible'. Let-bind `search-invisible'
6509 to the value of `isearch-invisible'. (Bug#11378)
6510
ab1bdce5
JL
65112013-05-30 Juri Linkov <juri@jurta.org>
6512
6513 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6514 call when `query-flag' is nil and `search-invisible' is non-nil.
6515 (Bug#11746)
6516
d6d236e2
GM
65172013-05-30 Glenn Morris <rgm@gnu.org>
6518
8accd027
GM
6519 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6520
2a8bed1c
GM
6521 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6522 (cc-require): Suppress spurious "noruntime" warnings.
6523 (cc-require-when-compile): Use fboundp, for sake of compiler.
6524
d6d236e2
GM
6525 * progmodes/cc-mode.el: Move load of cc-vars before that of
6526 cc-langs (which in turn loads cc-vars), to quieten compiler.
6527
9190b35b
SM
65282013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * paren.el: Simplify the code.
6531 (show-paren-mode): Always start the timer.
6532 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6533 (show-paren--overlay, show-paren--overlay-1): Rename from
6534 show-paren-overlay and show-paren-overlay-1, and initialize to an
6535 overlay rather than to nil.
6536 (show-paren-function): Misc cleanup and simplifications.
6537
4f8d1cf6
SM
65382013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * paren.el (show-paren-data-function): New hook.
6541 (show-paren--default): New function, extracted from show-paren-function.
6542 (show-paren-function): Use show-paren-data-function.
6543
02d844b5
GM
65442013-05-30 Glenn Morris <rgm@gnu.org>
6545
d209d4a9
GM
6546 * ielm.el (ielm-map, ielm-complete-symbol):
6547 Use completion-at-point rather than obsolete functions.
6548 (inferior-emacs-lisp-mode): Doc fix.
6549 Set completion-at-point-functions, rather than
6550 comint-dynamic-complete-functions.
6551
2082faa6
GM
6552 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6553 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6554 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6555
dd8620de
GM
6556 * image.el (image-animated-p): Tweak definition.
6557
ceca95b1
GM
6558 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6559 (rlogin-process-connection-type): Tweak default. Add set-after.
6560 (rlogin-host): Doc fix.
6561 (rlogin): Tweak prompt.
6562 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6563
ee9f1acc
GM
6564 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6565 * progmodes/tcl.el (inferior-tcl-mode-map):
6566 Use completion-at-point rather than obsolete alias.
6567
45ce222e
GM
6568 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6569
02d844b5
GM
6570 * minibuffer.el (read-file-name-completion-ignore-case):
6571 Move before completion--in-region, for eager macro expansion.
6572
ac44d6c1
JL
65732013-05-29 Juri Linkov <juri@jurta.org>
6574
6575 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6576 for total count of matching lines. Add `global-matches' for total
6577 count of matches. Rename `matches' to `lines' for count of
6578 matching lines. Add `matches' for count of matches.
6579 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6580 to `prev-line' for line number of prev match endpt.
6581 Increment `matches' for every match. Print the number of
6582 matching lines in the header.
6583 (occur-context-lines): Rename `lines' to `curr-line'.
6584 Rename `prev-lines' to `prev-line'. (Bug#14017)
6585
3c9c9d38
JL
65862013-05-29 Juri Linkov <juri@jurta.org>
6587
6588 * replace.el (perform-replace): Add `skip-read-only-count',
6589 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6590 Increment them for corresponding conditions and report the number
6591 of skipped occurrences in the final message. (Bug#11746)
6592 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6593 (replace-string, replace-regexp): Doc fix.
6594
33e249a2
SM
65952013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6596
8e399682
SM
6597 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6598
33e249a2 6599 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6600 prog-mode-map (bug#14504).
33e249a2 6601
f236dd84
LL
66022013-05-29 Leo Liu <sdl.web@gmail.com>
6603
6604 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6605 (octave-help): Small simplification.
6606
6607 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6608 off the highlight first.
6609
3694d13f
GM
66102013-05-29 Glenn Morris <rgm@gnu.org>
6611
03983bdc
GM
6612 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6613 Handle idlwave-last-system-routine-info-cons-cell being nil.
6614
bc74a74a
GM
6615 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6616 (idlwave-write-paths): Simplify via with-temp-buffer.
6617
8b394200
GM
6618 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6619 * emulation/cua-rect.el: Also load cua-base at run time.
6620
3694d13f
GM
6621 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6622 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6623 (cperl-imenu-on-info): Require imenu.
6624
336d7284
AM
66252013-05-28 Alan Mackenzie <acm@muc.de>
6626
6627 Handle "capitalised keywords" correctly.
33e249a2 6628 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6629
cb29c582
AG
66302013-05-28 Aidan Gauland <aidalgol@amuri.net>
6631
781b4af6 6632 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6633
690e44b2
GM
66342013-05-28 Glenn Morris <rgm@gnu.org>
6635
e658d75c
GM
6636 * vc/vc-arch.el (vc-exec-after): Declare.
6637 (vc-switches): Autoload.
6638 * vc/vc-bzr.el: No need to require vc when compiling.
6639 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6640 (vc-resynch-buffer, vc-dir-refresh): Declare.
6641 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6642 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6643 (vc-resynch-buffer): Declare.
6644 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6645 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6646 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6647 (grep-read-regexp, grep-read-files, grep-expand-template)
6648 (vc-dir-refresh): Declare.
6649 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6650 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6651 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6652 * vc/vc-mtn.el (vc-exec-after): Declare.
6653 (vc-switches): Autoload.
6654 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6655 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6656 (vc-file-tree-walk): Declare.
712b9732
GM
6657 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6658 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6659 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6660 * vc/vc-svn.el (vc-exec-after): Declare.
6661 (vc-switches, vc-setup-buffer): Autoload.
6662 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6663 Autoload.
6664 (vc-resynch-buffer): Declare.
6665
98e87fb3
GM
6666 * obsolete/fast-lock.el (byte-compile-warnings):
6667 Don't warn about obsolete features in this obsolete file.
6668
f5379553
GM
6669 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6670 Move definition before use.
6671
7a20ef83
GM
6672 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6673 (dun-unix-verbs): Remove dun-zippy.
6674 (dun-zippy): Remove function.
6675
690e44b2
GM
6676 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6677
3a52ccf7
JL
66782013-05-27 Juri Linkov <juri@jurta.org>
6679
6680 * replace.el (replace-search): New function with code moved out
6681 from `perform-replace'.
6682 (replace-highlight, replace-dehighlight): Move function definitions
6683 up closer to `replace-search'. (Bug#11746)
6684
d289938a
JL
66852013-05-27 Juri Linkov <juri@jurta.org>
6686
6687 * replace.el (perform-replace): Ignore invisible matches.
6688 In addition to checking `query-replace-skip-read-only', also
6689 filter out matches by calling `run-hook-with-args-until-failure'
6690 on `isearch-filter-predicates', and also check `search-invisible'
6691 for t or call `isearch-range-invisible'.
6692 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6693
66fc57e3
JL
66942013-05-27 Juri Linkov <juri@jurta.org>
6695
6696 * isearch.el (isearch-filter-predicates): Rename from
6697 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6698 (isearch-message-prefix): Display text from the property
6699 `isearch-message-prefix' of the currently active filters.
6700 (isearch-search): Don't compare `isearch-filter-predicate' with
6701 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6702 on `isearch-filter-predicates'. Also check `search-invisible' for t
6703 or call `isearch-range-invisible'.
6704 (isearch-filter-visible): Make obsolete.
6705 (isearch-lazy-highlight-search):
6706 Call `run-hook-with-args-until-failure' on
6707 `isearch-filter-predicates' and use `isearch-range-invisible'.
6708
6709 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6710 `isearch-filter-predicates' instead of `funcall'ing
6711 `isearch-filter-predicate'.
6712 (Info-mode): Set `Info-isearch-filter' to
6713 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6714
6715 * dired-aux.el (dired-isearch-filter-predicate-orig):
6716 Remove variable.
6717 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6718 (dired-isearch-filenames-end): Add and remove
6719 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6720 instead of changing the value of `isearch-filter-predicate'.
6721 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6722 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6723 Put property `isearch-message-prefix' to "filename " on
6724 `dired-isearch-filter-filenames'.
6725
6726 * wdired.el (wdired-change-to-wdired-mode):
6727 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6728 locally instead of changing `isearch-filter-predicate'.
6729 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6730
f1a60a0f
DG
67312013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6732
6733 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6734 return the commit hash (Bug#14459). Also set the
6735 `vc-git-detached' property.
6736 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6737 (vc-git-mode-line-string): Use the same help-echo format whether
6738 in detached mode or not, because we know the actual revision now.
6739 When in detached mode, shorten the revision to 7 chars.
6740
7f17cc40
SM
67412013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * emacs-lisp/easy-mmode.el (define-minor-mode):
6744 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6745 mode hook and provide a docstring.
6746
25c8401c
AM
67472013-05-27 Alan Mackenzie <acm@muc.de>
6748
6749 Remove spurious syntax-table text properties inserted by C-y.
6750 * progmodes/cc-mode.el (c-after-change): Also clear hard
6751 syntax-table property with value nil.
6752
dde84790
MA
67532013-05-27 Michael Albinus <michael.albinus@gmx.de>
6754
6755 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6756 when reading the events; the buffer layout shall not be changed.
6757
837fd9af
LL
67582013-05-27 Leo Liu <sdl.web@gmail.com>
6759
6760 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6761 New variable.
6762 (inferior-octave-directory-tracker): Automatically re-sync
6763 default-directory.
6764 (octave-help): Improve handling of 'See also'.
6765
4fd996b3
SM
67662013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6767
416f1802
SM
6768 * doc-view.el: Minor naming convention tweaks.
6769 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6770
4fd996b3
SM
6771 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6772 even if there's no `display' property yet (bug#14435).
6773
a052ef3b
EZ
67742013-05-25 Eli Zaretskii <eliz@gnu.org>
6775
4fd996b3 6776 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6777
6778 * Makefile.in (custom-deps, finder-data, autoloads)
6779 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6780 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6781 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6782
c9023370
SM
67832013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6786 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6787 Don't burp at EOB.
c9023370 6788
24d699fa
LL
67892013-05-25 Leo Liu <sdl.web@gmail.com>
6790
6791 * comint.el (comint-previous-matching-input): Do not flood the
6792 *Messages* buffer with trivial messages.
6793
17e5c0cc
SM
67942013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * progmodes/flymake.el (flymake-nop): Don't return a string.
6797 (flymake-set-at): Fix typo.
6798
6799 * simple.el (read--expression): New function, extracted from
6800 eval-expression. Set completion-at-point-functions (bug#14465).
6801 (eval-expression, eval-minibuffer): Use it.
6802
5d028165
XF
68032013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6804
6805 * progmodes/flymake.el (flymake-save-buffer-in-file)
6806 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6807 (flymake-selected-frame, flymake-log, flymake-ins-after)
6808 (flymake-set-at, flymake-get-buildfile-from-cache)
6809 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6810 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6811 Refine the doc string.
6812 (flymake-get-file-name-mode-and-masks): Reformat.
6813 (flymake-get-real-file-name-function): Fix a minor bug.
6814
7a1d7ba7
JL
68152013-05-24 Juri Linkov <juri@jurta.org>
6816
6817 * progmodes/grep.el (grep-mode-font-lock-keywords):
6818 Support =linenumber= format used by git-grep for lines with
6819 function names. (Bug#13549)
6820
650cff3d
SM
68212013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6824 0 after a semi-colon; it works better for smie-auto-fill.
6825 (octave--indent-new-comment-line): New function.
6826 (octave-indent-new-comment-line): Use it (indirectly).
6827 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6828 modify comment-line-break-function.
6829
6830 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6831 (smie-setup): Use add-function to set it.
6832
9631677d
SS
68332013-05-24 Sam Steingold <sds@gnu.org>
6834
6835 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6836 argument (before the `interactive' argument).
6837
50105835
SM
68382013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * image-mode.el (image-mode-winprops): Add winprops to
6841 image-mode-winprops-alist before running
6842 image-mode-new-window-functions.
6843 * doc-view.el (doc-view-new-window-function): Don't delay
6844 doc-view-goto-page via timers (bug#14435).
6845
57b9823e
TH
68462013-05-24 Tassilo Horn <tsdh@gnu.org>
6847
6848 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6849 (doc-view-desktop-save-buffer): New function.
6850 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6851 (desktop-buffer-mode-handlers):
6852 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6853 handler.
6854 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6855 `desktop-save-buffer' function.
6856
91aafa16
MA
68572013-05-24 Michael Albinus <michael.albinus@gmx.de>
6858
6859 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6860 (tramp-gvfs-file-name-handler): Raise a user error when
6861 `tramp-gvfs-enabled' is nil.
6862 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6863 Do not raise a user error when loading package. (Bug#14447)
6864
ec076379
MA
6865 * net/xesam.el: Move to obsolete/.
6866
db785726
GM
68672013-05-24 Glenn Morris <rgm@gnu.org>
6868
af5c7606
GM
6869 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6870
e5d1916a
GM
6871 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6872
ded62b08
GM
6873 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6874 (Info-find-node, Man-getpage-in-background): Declare.
6875
9e614a3f
GM
6876 * mail/unrmail.el (unrmail):
6877 Replace obsolete detect-coding-with-priority.
6878
892f8ca3
GM
6879 * net/socks.el (socks-split-string): Use this rather than split-string.
6880 (socks-nslookup-host): Update for above change.
6881 (dynamic-choice, s5-dynamic-choice-match)
6882 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6883 Comment out unused code.
6884
3c291973
GM
6885 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6886 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6887 (gud-tooltip-echo-area): Make obsolete.
6888 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6889
43cc956b
GM
6890 * progmodes/js.el (js--optimize-arglist): Declare.
6891
dab49a3b
GM
6892 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6893
36b9d085
GM
6894 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6895 (ediff-window-C): Declare.
6896
e354ae76
GM
6897 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6898 Tweak requires to silence compiler.
6899
b8e57bf4
GM
6900 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6901 (he-search-string, he-tried-table, he-expand-list)
6902 (he-init-string, he-string-member, he-substitute-string)
6903 (he-reset-string): Declare.
6904
db785726
GM
6905 * obsolete/options.el (list-options): Use custom-variable-p,
6906 rather than obsolete alias.
6907
b3531901
SS
69082013-05-23 Sam Steingold <sds@gnu.org>
6909
6910 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6911 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6912 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6913
bdda4c66
SM
69142013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * emacs-lisp/smie.el (smie-indent-forward-token)
6917 (smie-indent-backward-token): Handle string tokens (bug#14381).
6918
c43d45f9
TH
69192013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6920
fe1eb856
RS
6921 * ielm.el (ielm-menu): New menu.
6922 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6923
fe1eb856
RS
69242013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6925
6926 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6927 Fix deactivate action.
6928
6929 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6930 Add cleveref macros.
074dd971 6931
c43d45f9
TH
6932 * lisp/textmodes/reftex-parse.el
6933 (reftex-locate-bibliography-files): Accept options for
6934 bibliography commands.
6935 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6936 Add addbibresource. Basic Biblatex support.
6937
7764286e
MA
69382013-05-23 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/tramp-gvfs.el (top):
6941 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6942 when loading package. (Bug#14447)
6943
d361bc10
GM
69442013-05-23 Glenn Morris <rgm@gnu.org>
6945
8fa23984
GM
6946 * progmodes/js.el: No need to load comint when compiling.
6947 (ring-insert, comint-send-string, comint-send-input)
6948 (comint-last-input-end, ido-chop): Declare.
6949
a5c7df1a
GM
6950 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6951 * vc/ediff-mult.el: Adjust requires.
6952 (ediff-directories-internal, ediff-directory-revisions-internal)
6953 (ediff-patch-file-internal): Declare.
6954 * vc/ediff-ptch.el: Adjust requires.
6955 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6956 (ediff-find-file): Autoload.
6957 * vc/ediff-util.el: No need to load ediff when compiling.
6958 (ediff-regions-internal): Declare.
6959 * vc/ediff-wind.el: Adjust requires.
6960 (ediff-compute-toolbar-width): Define when compiling.
6961 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6962 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6963 (dired-get-filename, dired-get-marked-files)
6964 (ediff-last-dir-patch, ediff-patch-default-directory)
6965 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6966 (ediff-patch-buffer-internal): Declare.
6967
e2aec513
GM
6968 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6969 (ispell-process, ispell-buffer-local-words, lm-summary)
6970 (lm-section-start, lm-section-end): Declare.
6971 (checkdoc-ispell-init): Simplify.
6972
e68bbd7c
GM
6973 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6974 (he-string-member, he-reset-string, he-substitute-string): Declare.
6975
7efe0991
GM
6976 * eshell/em-ls.el: Adjust requires.
6977 (eshell-glob-regexp): Declare.
f87b1284
GM
6978 * eshell/em-tramp.el: Adjust requires.
6979 (eshell-parse-command): Autoload.
6980 * eshell/em-xtra.el: Adjust requires.
6981 (eshell-parse-command): Autoload.
6982 * eshell/esh-ext.el: Adjust requires.
6983 (eshell-parse-command, eshell-close-handles): Autoload.
6984 * eshell/esh-io.el: Adjust requires.
6985 (eshell-output-filter): Autoload.
6986 * eshell/esh-util.el: No need to load tramp when compiling.
6987 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6988 Declare.
6989 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6990 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6991 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6992 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6993 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6994 * eshell/esh-opt.el, eshell/esh-proc.el:
6995 * eshell/esh-var.el: Adjust requires.
6996 * eshell/eshell.el: Do not require esh-util twice.
6997 (eshell-add-input-to-history): Declare.
6998 (eshell-command): Check history module is active before using it.
6999
d361bc10
GM
7000 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7001
85d090a9
LL
70022013-05-22 Leo Liu <sdl.web@gmail.com>
7003
7004 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7005
5d0acd9d
MA
70062013-05-22 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * autorevert.el (auto-revert-notify-add-watch)
7009 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7010 it indicates changes in file modification time.
7011
0cdffd7d
GM
70122013-05-22 Glenn Morris <rgm@gnu.org>
7013
ca5995ec
GM
7014 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7015 Always delete the autoloaded function from the noruntime and
7016 unresolved functions lists.
7017
6450907e
GM
7018 * allout.el: No need to load epa, epg, overlay when compiling.
7019 (epg-context-set-passphrase-callback, epg-list-keys)
7020 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7021 (epg-key-user-id-list): Declare.
7022
9c6906f6
GM
7023 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7024 (viper-set-parsing-style-toggling-macro)
7025 (viper-set-emacs-state-searchstyle-macros):
7026 Use called-interactively-p on Emacs.
7027 (viper-looking-back): Make it an obsolete alias. Update callers.
7028 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7029 Use looking-back rather than viper-looking-back.
7030 (viper-tmp-insert-at-eob, viper-enlarge-region)
7031 (viper-read-string-with-history, viper-register-to-point)
7032 (viper-append-to-register, viper-change-state-to-vi)
7033 (viper-backward-char-carefully, viper-forward-char-carefully)
7034 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7035 (viper-change-state-to-emacs): Declare.
7036 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7037 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7038 * emulation/viper-mous.el: Do not load viper-cmd.
7039 (viper-backward-char-carefully, viper-forward-char-carefully)
7040 (viper-forward-word, viper-adjust-window): Declare.
7041
5f70c169
GM
7042 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7043
b1b7f300
GM
7044 * progmodes/idlw-help.el (idlwave-help-fontify):
7045 Use called-interactively-p.
7046
f6ebbb46
GM
7047 * term/w32console.el (w32-get-console-codepage)
7048 (w32-get-console-output-codepage): Declare.
7049
0cdffd7d
GM
7050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7051 Remove unnecessary declarations.
7052 (dframe-message): Doc fix.
7053
7054 * info.el (dframe-select-attached-frame, dframe-current-frame):
7055 Declare.
7056
7057 * speedbar.el (speedbar-message): Make it an obsolete alias.
7058 Update all callers.
7059 (speedbar-with-attached-buffer)
7060 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7061 (speedbar-with-writable): Use backquote.
7062 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7063 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7064 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7065 rather than speedbar- aliases.
7066 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7067 (speedbar-make-specialized-keymap, speedbar-insert-button)
7068 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7069 (speedbar-do-function-pointer): Declare.
7070 (rmail-speedbar-button, rmail-speedbar-find-file)
7071 (rmail-speedbar-move-message):
7072 Use dframe-with-attached-buffer rather than speedbar- alias.
7073 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7074 (dframe-message, speedbar-make-specialized-keymap)
7075 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7076 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7077 (speedbar-insert-button, dframe-select-attached-frame)
7078 (dframe-maybee-jump-to-attached-frame)
7079 (speedbar-change-initial-expansion-list)
7080 (speedbar-previously-used-expansion-list-name): Declare.
7081 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7082 Use dframe-message, dframe-with-attached-buffer rather than
7083 speedbar- aliases.
7084 (gud-sentinel): Silence compiler.
7085 * progmodes/vhdl-mode.el (speedbar-refresh)
7086 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7087 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7088 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7089 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7090 (speedbar-file-lists, speedbar-make-tag-line)
7091 (speedbar-line-directory, speedbar-goto-this-file)
7092 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7093 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7094 (speedbar-make-button, speedbar-reset-scanners)
7095 (speedbar-files-item-info, speedbar-line-text)
7096 (speedbar-find-file-in-frame, speedbar-set-timer)
7097 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7098 (speedbar-with-writable): Do not (re)define it.
7099 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7100 rather than speedbar- alias.
7101
ee44b62a
LL
71022013-05-21 Leo Liu <sdl.web@gmail.com>
7103
7104 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7105 menu items.
7106 (octave-mode): Tweak fill-nobreak-predicate.
7107 (inferior-octave-startup): Check process to avoid infinite loop.
7108 (inferior-octave): Pop to buffer first to show abornmal process
7109 exit information.
7110
640f050f
GM
71112013-05-21 Glenn Morris <rgm@gnu.org>
7112
79458038
GM
7113 * printing.el (pr-menu-bar): Define when compiling.
7114
9cc3e83f
LL
71152013-05-21 Leo Liu <sdl.web@gmail.com>
7116
7117 * progmodes/octave.el (octave-auto-fill): Remove.
7118 (octave-indent-new-comment-line): Improve.
7119 (octave-mode): Use auto fill mode through
4f405069 7120 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7121 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7122 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7123 (octave-help): Show parent directory.
7124
f440830d
GM
71252013-05-21 Glenn Morris <rgm@gnu.org>
7126
7127 * files.el (dired-unmark):
7128 * progmodes/gud.el (gdb-input): Update declarations.
7129
7130 * calculator.el (electric, ehelp): No need to load when compiling.
7131 (Electric-command-loop, electric-describe-mode): Declare.
7132
7133 * doc-view.el (doc-view-current-converter-processes): Move before use.
7134
7135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7136 Move MODE-set-explicitly definition before use.
7137
7138 * international/mule-diag.el (mule-diag):
7139 Don't use obsolete window-system-version.
7140
7141 * mail/feedmail.el (smtpmail): No need to load when compiling.
7142 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7143
7144 * mail/mail-utils.el (rfc822): No need to load when compiling.
7145 (rfc822-addresses): Autoload it.
7146 (mail-strip-quoted-names): Trivial simplification.
7147
7148 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7149 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7150
7151 * net/snmp-mode.el (tempo): Don't duplicate requires.
7152
7153 * progmodes/prolog.el (info): No need to load when compiling.
7154 (comint): Require before shell requires it.
7155 (Info-goto-node): Autoload it.
7156 (Info-follow-nearest-node): Declare.
7157 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7158
7159 * textmodes/artist.el (picture-mode-exit): Declare.
7160
7161 * textmodes/reftex-parse.el (reftex-parse-from-file):
7162 Trivial rewrite so the compiler can parse it better.
7163
b4da2cbb
LL
71642013-05-20 Leo Liu <sdl.web@gmail.com>
7165
7166 * progmodes/octave.el (octave-help-mode-map)
7167 (octave-help-mode-finish-hook): New variables.
7168 (octave-help-mode, octave-help-mode-finish): New functions.
7169 (octave-help): Use octave-help-mode.
7170
33c0f65b
GM
71712013-05-20 Glenn Morris <rgm@gnu.org>
7172
7173 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7174
1a0a0a8a
DG
71752013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7176
7177 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7178 start at point, so that expansion starting right after opening
7179 slash in a regexp is recognized.
7180 (ruby-syntax-before-regexp-re): New defvar, extracted from
7181 ruby-syntax-propertize-function. Since the value of this regexp
7182 is looked up at runtime now, we should be able to turn
7183 `ruby-syntax-methods-before-regexp' into a defcustom later.
7184 (ruby-syntax-propertize-function): Split regexp matching into two
7185 parts, for opening and closing slashes. That allows us to skip
7186 over string interpolations and support multiline regexps.
7187 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7188 for them, which calls `ruby-syntax-propertize-expansion'.
7189 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7190 call to `ruby-syntax-propertize-function'.
7191 (ruby-syntax-propertize-expansion): Extracted from
7192 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7193 (ruby-syntax-propertize-percent-literal): Leave point right after
7194 the percent symbol, so that the expression expansion rule can
7195 propertize the contents.
462388b6
DG
7196 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7197 heredoc openers.
7198 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7199
c1a6c0a4
JL
72002013-05-18 Juri Linkov <juri@jurta.org>
7201
7202 * man.el (Man-default-man-entry): Remove `-' from the end
7203 of the default value. (Bug#14400)
7204
8051fccd
GM
72052013-05-18 Glenn Morris <rgm@gnu.org>
7206
7207 * comint.el (comint-password-prompt-regexp):
7208 Allow "password for XXX" where XXX contains colons (eg https://...).
7209
5e80b74f
LL
72102013-05-18 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7213 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7214 (octave-source-directories): Don't check process.
7215 (octave-source-directories, octave-find-definition): Doc fix.
7216
521a54c5
GM
72172013-05-18 Glenn Morris <rgm@gnu.org>
7218
86a94b05
GM
7219 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7220 Remove backspace/delete bindings. (Bug#14392)
7221
521a54c5
GM
7222 * cus-dep.el (custom-make-dependencies): Sort the output.
7223 (custom-versions-load-alist): Convert comment to doc.
7224
42caeb89
LL
72252013-05-17 Leo Liu <sdl.web@gmail.com>
7226
7227 * newcomment.el (comment-search-backward): Stricter in finding
7228 comment start. (Bug#14303)
7229
7230 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7231 (octave-comment-start-skip): Properly anchored.
7232
e219dd97
LL
72332013-05-17 Leo Liu <sdl.web@gmail.com>
7234
fe1eb856
RS
7235 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7236 Clean up when turned off. (Bug#14395)
e219dd97
LL
7237 (smie--highlight-matching-block-overlay): No longer buffer-local.
7238 (smie-highlight-matching-block): Adjust.
7239
dc5dcb4b
PE
72402013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7241
7242 Doc string fix for "nanoseconds" (Bug#14406).
7243 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7244 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7245
1db165f0
JB
72462013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7247
7248 * calc/calc-units.el (math-extract-units): Preserve powers
7249 of units.
7250
c7a8fcac
LL
72512013-05-17 Leo Liu <sdl.web@gmail.com>
7252
7253 * subr.el (delete-consecutive-dups): New function.
7254 * ido.el (ido-set-matches-1): Use it.
7255 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7256 * ido.el (ido-remove-consecutive-dups): Remove.
7257
f678b18a
SM
72582013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7261 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7262 regexp-opt's `words'.
7263
ebfe68e8
LL
72642013-05-16 Leo Liu <sdl.web@gmail.com>
7265
7266 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7267 (smie--highlight-matching-block-overlay)
7268 (smie--highlight-matching-block-lastpos)
7269 (smie--highlight-matching-block-timer): New variables.
7270 (smie-highlight-matching-block): New function.
7271 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7272 (smie-setup): Conditionally enable smie-blink-matching-open.
7273
bc8bc17d
WS
72742013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7275
7276 Sync with upstream verilog-mode r840.
7277 * progmodes/verilog-mode.el (verilog-mode-version)
7278 (verilog-mode-release-date): Update.
7279 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7280 (verilog-sig-tieoff): Fix string error on
7281 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7282 (verilog-read-decls): Fix parameters confusing
7283 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7284
df065a0b
EZ
72852013-05-16 Eli Zaretskii <eliz@gnu.org>
7286
7287 * subr.el (reveal-filename): New function.
7288
7289 * loadup.el: Compute Emacs executable versions on MS-Windows,
7290 where executables have the .exe extension. Add a hard link
7291 emacs-XX.YY.ZZ.exe on MS-Windows.
7292
7293 * Makefile.in (XARGS_LIMIT): New variable.
7294 (custom-deps, finder-data, autoloads)
7295 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7296 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7297 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7298 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7299
2d4bf34b
LL
73002013-05-16 Leo Liu <sdl.web@gmail.com>
7301
7302 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7303 (octave-mode-menu, octave-mode-map): Remove its uses.
7304
6b9c2d85
RZ
73052013-05-16 Reto Zimmermann <reto@gnu.org>
7306
7307 Sync with upstream vhdl mode v3.34.2.
7308 * progmodes/vhdl-mode.el: Use `push' throughout.
7309 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7310 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7311 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7312 (vhdl-actual-generic-name): New option to derive actual generic name.
7313 (vhdl-port-paste-signals): Replace formal by actual generics.
7314 (vhdl-beautify): New name for old group vhdl-align. Update users.
7315 (vhdl-beautify-options): New option.
7316 (vhdl-last-input-event): New compat alias. Use throughout.
7317 (vhdl-goto-line): Replace user level function `goto-line'.
7318 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7319 vhdl-fix-statement-buffer.
7320 (vhdl-create-mode-menu): Add some entries.
7321 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7322 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7323 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7324 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7325 to force statements on one line.
7326 (vhdl-remove-trailing-spaces-region):
7327 New, split from vhdl-remove-trailing-spaces.
7328 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7329 Respect vhdl-beautify-options.
7330 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7331 (vhdl-update-sensitivity-list): Not add with index if exists without.
7332 Not include array index with signal. Ignore keywords in comments.
7333 (vhdl-get-visible-signals): Regexp tweaks.
7334 (vhdl-template-component-inst): Handle empty library.
7335 (vhdl-template-type): Add template for 'enum' type.
7336 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7337 Use vhdl-replace-string.
7338 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7339 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7340 (vhdl-speedbar-initialize): Update for above name change.
7341 (vhdl-compose-wire-components): Fix in handling of constants.
7342 (vhdl-error-regexp-emacs-alist): New variable.
7343 (vhdl-error-regexp-add-emacs): New function;
7344 adds support for new compile.el (Emacs 22+)
7345 (vhdl-generate-makefile-1): Change target order for single lib. units.
7346 Allow use of absolute file names.
7347
9df4ec5e
LL
73482013-05-16 Leo Liu <sdl.web@gmail.com>
7349
7350 * simple.el (prog-indent-sexp): Indent enclosing defun.
7351
f5ba00a6
GM
73522013-05-15 Glenn Morris <rgm@gnu.org>
7353
ed8be7ff
GM
7354 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7355 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7356 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7357 (whitespace-highlight): Move to whitespace group.
7358
7359 * comint.el (comint-source):
7360 * pcmpl-linux.el (pcmpl-linux):
7361 * shell.el (shell-faces):
7362 * eshell/esh-opt.el (eshell-opt):
7363 * international/ccl.el (ccl): Remove empty custom groups.
7364
7365 * completion.el (dynamic-completion-mode):
7366 * jit-lock.el (jit-lock-debug-mode):
7367 * minibuffer.el (completion-in-region-mode):
7368 * type-break.el (type-break-mode-line-message-mode)
7369 (type-break-query-mode):
7370 * emulation/tpu-edt.el (tpu-edt-mode):
7371 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7372 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7373 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7374
7375 * term/xterm.el (xterm): Change parent group to terminals.
7376
7377 * master.el (master): Remove empty custom group.
7378 (master-mode): Remove unused :group argument.
7379 * textmodes/refill.el (refill): Remove empty custom group.
7380 (refill-mode): Remove unused :group argument.
7381
7382 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7383
82a7c41b
GM
7384 * cus-dep.el: Provide a feature.
7385 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7386 Don't mistakenly ignore files whose basenames match a basename
7387 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7388 Add a fallback method for getting :group.
f5ba00a6 7389
6d65486d
JL
73902013-05-15 Juri Linkov <juri@jurta.org>
7391
da547b32
JL
7392 * isearch.el (isearch-char-by-name): Rename from
7393 `isearch-insert-char-by-name'. Doc fix.
7394 (isearch-forward): Mention `isearch-char-by-name' in
7395 the docstring. (Bug#13348)
7396
6d65486d
JL
7397 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7398 `exit-minibuffer' instead of
7399 `isearch-nonincremental-exit-minibuffer'.
7400 (isearch-edit-string): Remove mention of
7401 `isearch-nonincremental-exit-minibuffer' from docstring.
7402 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7403 (isearch-forward-exit-minibuffer)
7404 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7405
c9990474
SM
74062013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7407
6e911150
SM
7408 * loadup.el: Just use unversioned DOC.
7409
c9990474
SM
7410 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7411 literals as extending to EOB.
7412 (nxml-last-fontify-end): Remove unused variable.
7413 (nxml-after-change1): Use with-silent-modifications.
7414 (nxml-extend-after-change-region): Simplify.
7415 (nxml-extend-after-change-region1): Remove function.
7416 (nxml-after-change1): Don't adjust for dependent regions.
7417 (nxml-fontify-matcher): Simplify.
7418 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7419 (xmltok-add-dependent): Remove function.
7420 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7421 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7422 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7423 unclosed <[[, <?, comment, and other literals as extending to EOB.
7424 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7425 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7426 Remove functions.
7427 (rng-do-some-validation-1): Don't mark dependent regions.
7428 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7429 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7430 (nxml-clear-dependent-regions): Remove functions.
7431 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7432 (nxml-ensure-scan-up-to-date):
7433 Don't clear&mark dependent regions.
7434
e3772e98
LL
74352013-05-15 Leo Liu <sdl.web@gmail.com>
7436
c9990474
SM
7437 * progmodes/octave.el (octave-goto-function-definition):
7438 Improve and fix callers.
e3772e98 7439
5ac2eb34
SM
74402013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7441
c46c57b0
SM
7442 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7443 the setter (bug#14387).
7444
5ac2eb34
SM
7445 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7446 surrounding group (bug#14402).
7447
180ed218
JL
74482013-05-14 Juri Linkov <juri@jurta.org>
7449
7450 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7451 (Bug#14390)
7452
0ac0fecb
GM
74532013-05-14 Glenn Morris <rgm@gnu.org>
7454
7455 * progmodes/f90.el (f90-imenu-generic-expression):
7456 Fix typo in 2013-05-08 change. (Bug#14402)
7457
2e78e6a7
JPG
74582013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7459
5ac2eb34
SM
7460 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7461 Remove signals for which replies are never received.
2e78e6a7 7462
53267cca
JPG
74632013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7464
7465 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7466 (gdb-handler-alist, gdb-handler-number): Remove variables.
7467 (gdb-handler-list): New variable.
7468 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7469 (gdb-pending-handler-p, gdb-handle-reply)
7470 (gdb-remove-all-pending-triggers): New functions.
7471 (gdb-discard-unordered-replies): New defcustom.
7472 (gdb-handler): New defstruct.
7473 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7474 instead of gdb-pending-triggers. Update docstring.
7475 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7476 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7477 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7478 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7479 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7480 (gdb-frame-handler): Pending triggers are now automatically managed.
7481 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7482 Remove argument.
7483 (gdb-input): Automatically handles pending triggers. Update docstring.
7484 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7485 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7486 Update comments.
7487 (gdb-done-or-error): Now use gdb-handle-reply.
7488
d04ce803
JPG
74892013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7490
7491 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7492 gdb-debug-log.
7493
0114073a
GM
74942013-05-14 Glenn Morris <rgm@gnu.org>
7495
7496 * subr.el (user-emacs-directory-warning): New option.
7497 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7498
4d25fd7e
LL
74992013-05-14 Leo Liu <sdl.web@gmail.com>
7500
7501 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7502 during redisplay.
7503 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7504 (octave-font-lock-texinfo-comment): Fix invalid search bound
7505 error: wrong side of point.
4d25fd7e 7506
27c8b6eb
GM
75072013-05-14 Glenn Morris <rgm@gnu.org>
7508
61aaeb01
GM
7509 * progmodes/flymake.el (flymake-xml-program): New option.
7510 (flymake-xml-init): Use it.
7511
5bf90bc5
GM
7512 * term/xterm.el: Provide a feature.
7513
7514 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7515
f4c7dfd2
GM
75162013-05-13 Glenn Morris <rgm@gnu.org>
7517
7518 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7519 Add compat aliases as a hack workaround. (Bug#14384)
7520
2aeb3a1d
LL
75212013-05-13 Leo Liu <sdl.web@gmail.com>
7522
b0e069c2
LL
7523 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7524 ###, and %!.
f5a9432f
LL
7525 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7526 C-M-q.
b0e069c2
LL
7527 (octave-comment-start-skip): Include %!.
7528 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7529
30ea8374
LL
75302013-05-12 Leo Liu <sdl.web@gmail.com>
7531
7532 * progmodes/octave.el (inferior-octave-startup): Store the value
7533 of __octave_srcdir__ for octave-source-directories.
7534 (inferior-octave-check-process): New function refactored out of
7535 inferior-octave-send-list-and-digest.
7536 (octave-source-directories)
7537 (octave-find-definition-filename-function): New variables.
7538 (octave-source-directories)
7539 (octave-find-definition-default-filename): New functions.
7540 (octave-find-definition): Improve to find functions implemented in C++.
7541
472a3834
GM
75422013-05-12 Glenn Morris <rgm@gnu.org>
7543
7544 * calendar/diary-lib.el (diary-outlook-format-1):
7545 Don't include dayname in the output. (Bug#14349)
7546
3191b52f
GM
75472013-05-11 Glenn Morris <rgm@gnu.org>
7548
0060ac73
GM
7549 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7550
3191b52f
GM
7551 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7552 Treat cc-provide like provide.
7553
e065ba74
KR
75542013-05-11 Kevin Ryde <user42@zip.com.au>
7555
7556 * cus-dep.el (custom-make-dependencies):
7557 Use generated-autoload-load-name for the sake of files such
7558 such cedet/semantic/bovine/c.el, where the base file name
7559 is not in load-path. (Bug#5277)
7560
36f84c37
GM
75612013-05-11 Glenn Morris <rgm@gnu.org>
7562
7563 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7564 Provide features.
7565
c8730c3a
LL
75662013-05-11 Leo Liu <sdl.web@gmail.com>
7567
7568 * progmodes/octave.el (octave-indent-comment): Improve.
7569 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7570 (octave-eldoc-function-signatures, octave-eldoc-function):
7571 New functions.
c8730c3a
LL
7572 (octave-mode, inferior-octave-mode): Add eldoc support.
7573
212e29f2
RS
75742013-05-11 Richard Stallman <rms@gnu.org>
7575
7576 * epa.el (epa-decrypt-file): Take output file name as argument
7577 and read it using `interactive'.
7578
083fe0d7
LL
75792013-05-11 Leo Liu <sdl.web@gmail.com>
7580
7581 * progmodes/octave.el (octave-beginning-of-line)
7582 (octave-end-of-line): Check before using up-list because it jumps
7583 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7584 (octave-indent-comment): New function.
7585 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7586 (octave-begin-keywords, octave-end-keywords)
7587 (octave-reserved-words, octave-smie-bnf-table)
7588 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7589
8582e4c4
GM
75902013-05-11 Glenn Morris <rgm@gnu.org>
7591
f20def1f
GM
7592 * faces.el (internal-face-x-get-resource):
7593 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7594 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7595 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7596 Fix declarations.
f20def1f 7597
445f95e2
GM
7598 * calc/calc-menu.el: Make it loadable in isolation.
7599
7600 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7601 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7602 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7603 (eudc-bbdb-query-internal): Require 'bbdb.
7604
99fb2756
GM
7605 * lpr.el (lpr-headers-switches):
7606 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7607
7608 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7609
0da7ad96
GM
7610 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7611
8582e4c4
GM
7612 * term.el (term-set-escape-char): Make it idempotent.
7613
f71c50d0
LL
76142013-05-10 Leo Liu <sdl.web@gmail.com>
7615
5ac2eb34
SM
7616 * progmodes/octave.el (inferior-octave-completion-table):
7617 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7618 completion due to bug#11906.
7619 (octave-beginning-of-defun): Re-write to be more general.
7620
d5837773
GM
76212013-05-10 Glenn Morris <rgm@gnu.org>
7622
7623 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7624
027c0f75
SM
76252013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * comint.el (comint-redirect-send-command-to-process): Use :around
7628 rather than :override for comint-redirect-filter.
7629 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7630 Call it instead of comint-redirect-original-filter-function (which
7631 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7632
4465bfb4
JD
76332013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7634
7635 * frame.el (display-monitor-attributes-list): Add NS case.
7636 (ns-display-monitor-attributes-list): Declare.
7637
2d809ffa 76382013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7639
7640 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7641
e54eeb9b
GM
76422013-05-09 Glenn Morris <rgm@gnu.org>
7643
56cd351d
GM
7644 * international/fontset.el (vertical-centering-font-regexp):
7645 Set standard-value.
7646
d84b6108
GM
7647 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7648
a931698a
GM
7649 * bookmark.el (bookmark-search-delay):
7650 * cus-start.el (vertical-centering-font-regexp):
7651 * ps-mule.el (ps-mule-font-info-database-default):
7652 * ps-print.el (ps-default-fg, ps-default-bg):
7653 * type-break.el (type-break-good-break-interval):
7654 * whitespace.el (whitespace-indentation-regexp)
7655 (whitespace-space-after-tab-regexp):
7656 * emacs-lisp/testcover.el (testcover-1value-functions)
7657 (testcover-noreturn-functions, testcover-progn-functions)
7658 (testcover-prog1-functions):
7659 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7660 * eshell/em-glob.el (eshell-glob-translate-alist):
7661 * play/tetris.el (tetris-tty-colors):
7662 * progmodes/cpp.el (cpp-face-default-list):
7663 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7664 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7665 (idlwave-help-browser-generic-args):
7666 * progmodes/make-mode.el (makefile-special-targets-list):
7667 * progmodes/python.el (python-shell-virtualenv-path):
7668 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7669 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7670 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7671 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7672 * textmodes/reftex-vars.el (reftex-format-label-function):
7673 * textmodes/remember.el (remember-diary-file): Fix custom types.
7674
e54eeb9b
GM
7675 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7676 Add :version.
7677
455851dd
LL
76782013-05-09 Leo Liu <sdl.web@gmail.com>
7679
7680 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7681 Restore file completion. (Bug#14300)
455851dd
LL
7682 (inferior-octave-startup): Fix incorrect highlighting for the
7683 first prompt.
7684
a9e4425b
SM
76852013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * progmodes/ruby-mode.el: First cut at SMIE support.
7688 (ruby-use-smie): New var.
7689 (ruby-smie-grammar): New constant.
7690 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7691 (ruby-smie--forward-token, ruby-smie--backward-token)
7692 (ruby-smie-rules): New functions.
7693 (ruby-mode-variables): Setup SMIE if applicable.
7694
060ca408
EZ
76952013-05-08 Eli Zaretskii <eliz@gnu.org>
7696
7697 * simple.el (line-move-visual): Signal beginning/end of buffer
7698 only if vertical-motion moved less than it was requested. Avoids
7699 silly incorrect error messages when there are display strings with
7700 multiple newlines at EOL.
7701
1d5963cc
SM
77022013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7705 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7706 (prolog-char-quote-workaround):
7707 * progmodes/cperl-mode.el (cperl-under-as-char):
7708 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7709 Mark as obsolete.
7710 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7711 their declaration.
7712 (vhdl-mode-syntax-table-init): Remove.
7713
c9990474
SM
7714 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7715 last change.
1d5963cc
SM
7716
7717 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7718 syntax for "_".
7719 (ld-script-font-lock-keywords):
7720 Change regexps to use things like \_< and \_>.
7721
7722 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7723 Change all regexps to use things like \_< and \_>.
7724
7725 * progmodes/autoconf.el (autoconf-definition-regexp)
7726 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7727 Handle a _ with symbol syntax.
7728 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7729
c9990474
SM
7730 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7731 Consolidate declaration.
1d5963cc
SM
7732 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7733 the declaration.
7734 (ada-create-syntax-table): Remove.
7735 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7736 already has the right syntax nowadays.
7737 (ada-goto-next-word): Don't change the syntax of "_".
7738
7739 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7740 with-wrapper-hook.
7741
72d3cfca
SS
77422013-05-08 Sam Steingold <sds@gnu.org>
7743
7744 * thingatpt.el (thing-at-point): Accept optional second argument
7745 NO-PROPERTIES to strip the text properties from the return value.
7746 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7747 to `thing-at-point' instead of stripping the properties ourselves.
7748 Also, when `thing-at-point' fails to find a url, prepend "http://"
7749 to the filename at point on the assumption that the user is
7750 pointing at something like gnu.org/gnu.
7751
5cb15713
JB
77522013-05-08 Juanma Barranquero <lekktu@gmail.com>
7753
7754 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7755 * faces.el (crm-separator):
7756 Silence byte-compiler.
7757
7758 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7759 (tool-bar-map): Remove unneeded defvars.
7760
ea78b95b
LL
77612013-05-08 Leo Liu <sdl.web@gmail.com>
7762
7763 Re-work a fix for bug#10994 based on Le Wang's patch.
7764 * ido.el (ido-remove-consecutive-dups): New helper.
7765 (ido-completing-read): Use it.
7766 (ido-chop): Revert fix for bug#10994.
7767
dc7466df
AS
77682013-05-08 Adam Spiers <emacs@adamspiers.org>
7769
7770 * cus-edit.el (custom-save-variables):
7771 Pretty-print long values. (Bug#14187)
7772
9ecf672a
GM
77732013-05-08 Glenn Morris <rgm@gnu.org>
7774
7775 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7776 (m4-mode-syntax-table): Init in the defvar.
7777 (m4-mode-abbrev-table): Let define-derived-mode define it.
7778
3f555be8
TT
77792013-05-08 Tom Tromey <tromey@redhat.com>
7780
7781 * progmodes/m4-mode.el (m4-mode-syntax-table):
7782 Do not treat "_" as word constituent. (Bug#14167)
7783
7cc8ae06
GM
77842013-05-07 Glenn Morris <rgm@gnu.org>
7785
4f58bc06
GM
7786 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7787 Remove explicit eshell-isearch-cancel-map.
7788
7cc8ae06
GM
7789 * progmodes/f90.el (f90-smart-end-names): New option.
7790 (f90-smart-end): Doc fix.
7791 (f90-end-block-optional-name): New constant.
7792 (f90-block-match): Respect f90-smart-end-names.
7793
ceb57e59
SM
77942013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7797 about implicit semi-colons (bug#14218).
7798
4e3f9230
YM
77992013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7800
7801 * frame.el (display-monitor-attributes-list)
7802 (frame-monitor-attributes): New functions.
7803
203a5572
LL
78042013-05-06 Leo Liu <sdl.web@gmail.com>
7805
7806 * progmodes/octave.el (octave-syntax-propertize-function): Change
7807 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7808 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7809 (octave-completion-at-point): Rename from
203a5572
LL
7810 octave-completion-at-point-function.
7811 (inferior-octave-directory-tracker): Robustify.
7812 (octave-text-functions): Remove and fix its uses. No such things
7813 any more.
7814
ee6cff99
SM
78152013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * emacs-lisp/trace.el (trace--display-buffer): New function.
7818 (trace-make-advice): Use it.
7819
32985194
JL
78202013-05-06 Juri Linkov <juri@jurta.org>
7821
7822 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7823 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7824 Doc fix.
7825 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7826 in the help string. (Bug#12985)
7827
a1c700de
KD
78282013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7829
7830 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7831
c67c0839
SM
78322013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7833
323885fd
SM
7834 * progmodes/perl-mode.el: Add support for here documents.
7835 (perl-syntax-propertize-function): Match here-doc markers.
7836 (perl-syntax-propertize-special-constructs): Find their end.
7837 (perl-imenu-generic-expression): Use [:alnum:].
7838
c67c0839
SM
7839 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7840 (advice--add-function): Refresh the advice if already present
7841 (bug#14317).
7842
d491e7a8
IA
78432013-05-06 Ivan Andrus <darthandrus@gmail.com>
7844
7845 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7846
ddf9925e
GM
78472013-05-06 Glenn Morris <rgm@gnu.org>
7848
7cc3af27
GM
7849 * w32-fns.el (w32-charset-info-alist): Declare.
7850
16e343d6
GM
7851 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7852 of its defcustom properties.
7853 (eshell-cmpl-initialize): No need to load pcomplete.
7854
7d889a47
GM
7855 * generic-x.el: No need to require comint when compiling.
7856
ddf9925e
GM
7857 * net/eudc-export.el: Make it loadable without bbdb.
7858 (top-level): Use require rather than load-library.
7859 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7860 (eudc-batch-export-records-to-bbdb)
7861 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7862 Require bbdb.
7863
1e2c18df
SM
78642013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7867 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7868 some tweaks, instead.
7869
02502a5f
LL
78702013-05-05 Leo Liu <sdl.web@gmail.com>
7871
7872 * progmodes/octave.el (octave-font-lock-keywords)
7873 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7874 (inferior-octave-send-list-and-digest): Improve error message.
7875 (octave-mode, inferior-octave-mode): Use setq-local.
7876 (octave-help): Set info-lookup-mode.
7877
0dc04f42
RS
78782013-05-05 Richard Stallman <rms@gnu.org>
7879
6c54491c
RS
7880 * vc/compare-w.el (compare-windows-whitespace):
7881 Treat no-break space as whitespace.
7882
0dc04f42
RS
7883 * mail/rmailsum.el (rmail-summary-rmail-update):
7884 Detect empty summary and don't change selected message.
7885 (rmail-summary-goto-msg): Likewise.
7886
df8f35df
RS
7887 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7888 Doc fixes, rename args.
7889
5356e1a3
AM
78902013-05-05 Alan Mackenzie <acm@muc.de>
7891
7892 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7893
d44014cb
JL
78942013-05-05 Juri Linkov <juri@jurta.org>
7895
7896 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7897 to not add the length of the summary segment to the return value.
7898 (Bug#14125)
7899
c129b51f
LL
79002013-05-05 Leo Liu <sdl.web@gmail.com>
7901
7902 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7903 (inferior-octave-output-filter): Remove.
7904 (octave-send-region, inferior-octave-startup): Fix callers.
7905 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7906 (octave-binary-file-extensions): New user variable.
7907 (octave-find-definition): Confirm if opening binary files.
7908 (octave-help-file): Use octave-find-definition to get the binary
7909 confirmation.
7910 (octave-help): Adjust for octave-help-file change.
7911
aa7dab97
SM
79122013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7915 Merge the two entries that handle function definitions.
7916 (pascal--syntax-propertize): New const.
7917 (pascal-mode): Use it. Use setq-local.
7918
fd3a9a6b
GM
79192013-05-04 Glenn Morris <rgm@gnu.org>
7920
7921 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7922 (diary-from-outlook): Respect diary-from-outlook-function.
7923
30c7e542
SM
79242013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7927 Move the declaration from C.
7928 (read-minibuffer, eval-minibuffer): Move from C.
7929 (completion-setup-function): Avoid minibuffer-completion-contents.
7930
b54f978b
LL
79312013-05-03 Leo Liu <sdl.web@gmail.com>
7932
7933 * progmodes/octave.el (octave-font-lock-keywords): Do not
7934 dehighlight 'end' in comments or strings.
30c7e542
SM
7935 (octave-completing-read, octave-goto-function-definition):
7936 New helpers.
d4d0f9b3
LL
7937 (octave-help-buffer): New user variable.
7938 (octave-help-file, octave-help-function): New button types.
7939 (octave-help): New command and bind it to C-h ;.
7940 (octave-find-definition): New command and bind it to M-.
d74a1581 7941 (user-error): Alias to error if not defined.
b54f978b 7942
27135018
LL
79432013-05-02 Leo Liu <sdl.web@gmail.com>
7944
7945 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7946 for \. (bug#14332)
7947 (octave-font-lock-keywords): Include [ and {.
7948
0d634d3a
LL
79492013-05-02 Leo Liu <sdl.web@gmail.com>
7950
7951 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7952 (inferior-octave): Remove calling comint-mode and return the buffer.
7953 (inferior-octave-startup): Cosmetic changes.
7954
b4c8295e
LL
79552013-05-02 Leo Liu <sdl.web@gmail.com>
7956
30c7e542
SM
7957 * progmodes/octave.el (octave-syntax-propertize-function):
7958 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7959
f12ad6ec
GM
79602013-05-02 Glenn Morris <rgm@gnu.org>
7961
7962 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7963 * desktop.el (vc-dir-mode): Just autoload it here.
7964
30cac1e0
AM
79652013-05-02 Alan Mackenzie <acm@muc.de>
7966
7967 Eliminate variable c-standard-font-lock-fontify-region-function.
7968 * progmodes/cc-mode.el
7969 (c-standard-font-lock-fontify-region-function): Remove.
7970 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7971
d8ef28b1
LL
79722013-05-01 Leo Liu <sdl.web@gmail.com>
7973
2640d52e 7974 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7975 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7976 variables were removed from Octave in 2007.
d8ef28b1
LL
7977 (inferior-octave-startup): Fix uses.
7978 (comint-line-beginning-position): Remove compatibility code for
7979 emacs 21.
7980
ac63ec89
JL
79812013-05-01 Juri Linkov <juri@jurta.org>
7982
7983 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7984
9e9be37c
JL
79852013-05-01 Juri Linkov <juri@jurta.org>
7986
7987 * comint.el (comint-previous-matching-input): Don't print message
7988 "History item: %d" when `isearch-mode' is active.
7989 (comint-history-isearch-message): Print message "History item: %d"
7990 when `comint-input-ring-index' is not empty and this function is
7991 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7992
9b92c13b
LL
79932013-05-01 Leo Liu <sdl.web@gmail.com>
7994
7995 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7996 definitions. Use completion-at-point to insert keywords.
7997 (octave-abbrev-start): Remove.
7998 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7999
b12d33d7
LL
80002013-04-30 Leo Liu <sdl.web@gmail.com>
8001
8002 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8003 change.
8004
3d1c39fa
AM
80052013-04-30 Alan Mackenzie <acm@muc.de>
8006
8007 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8008 * progmodes/cc-engine.el (c-back-over-member-initializers):
8009 new function.
3d1c39fa
AM
8010 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8011 (most) member init lists.
8012
5147fc17
RS
80132013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8014
8015 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8016 variable.
8017
5b78d7fc
LL
80182013-04-30 Leo Liu <sdl.web@gmail.com>
8019
8020 * progmodes/octave.el (octave-variables): Remove. No builtin
8021 variables any more. All converted to functions.
8022 (octave-font-lock-keywords, octave-completion-at-point-function):
8023 Fix uses.
8024 (octave-font-lock-texinfo-comment): New user variable.
8025 (octave-texinfo-font-lock-keywords): New variable for texinfo
8026 comment block.
8027 (octave-function-comment-block): New face.
8028 (octave-font-lock-texinfo-comment): New function.
8029 (octave-mode): Font lock texinfo comment block.
8030
38d8527b
LL
80312013-04-29 Leo Liu <sdl.web@gmail.com>
8032
8033 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8034 indexing expression.
8035 (octave-continuation-string): Do not use \.
8036 (inferior-octave-complete-impossible): Remove.
8037 (inferior-octave-completion-table)
8038 (inferior-octave-completion-at-point): Remove its uses.
8039 (inferior-octave-startup): completion_matches was introduced to
8040 Octave in 1996 so safe to assume it.
8041 (octave-function-file-comment): Improve to follow how Octave does it.
8042 (octave-update-function-file-comment): Tweak.
8043
2ec12cb0
LL
80442013-04-29 Leo Liu <sdl.web@gmail.com>
8045
8046 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8047 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8048 (octave-function-file-comment): Fix typo.
8049 (octave-sync-function-file-names): Use read-char-choice.
8050
6eaed048
JB
80512013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8052
8053 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8054 to t for the less important warnings.
8055
3ffa2d4f
DH
80562013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8057
8058 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8059
685c9501
GM
80602013-04-27 Glenn Morris <rgm@gnu.org>
8061
8062 * vc/log-view.el (log-view-current-entry):
8063 Treat "---" separator lines as part of the following rev. (Bug#14169)
8064
0208ede7
JL
80652013-04-27 Juri Linkov <juri@jurta.org>
8066
8067 * subr.el (read-number): Doc fix about using it by interactive
8068 code letter `n'. (Bug#14254)
8069
5db9dace
JL
80702013-04-27 Juri Linkov <juri@jurta.org>
8071
8072 * desktop.el (desktop-auto-save-timeout): New option.
8073 (desktop-file-checksum): New variable.
8074 (desktop-save): Add optional arg `auto-save' and don't auto-save
8075 if nothing changed.
8076 (desktop-auto-save-timer): New variable.
8077 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8078 (after-init-hook): Call `desktop-auto-save-set-timer'.
8079 Suggested by Reuben Thomas <rrt@sc3d.org> in
8080 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8081
b7260dd4
LL
80822013-04-27 Leo Liu <sdl.web@gmail.com>
8083
8084 * progmodes/octave.el (octave-function-file-p)
8085 (octave-skip-comment-forward, octave-function-file-comment)
8086 (octave-update-function-file-comment): New functions.
8087 (octave-mode-map): Bind C-c ; to
8088 octave-update-function-file-comment.
8089 (octave-mode-menu): Add octave-update-function-file-comment.
8090 (octave-mode, inferior-octave-mode): Fix doc-string.
8091 (octave-insert-defun): Conform to Octave's coding convention.
8092 (Bug#14285)
8093
8094 * files.el (basic-save-buffer): Don't let errors in
8095 before-save-hook prevent saving buffer.
8096
c46da669
RW
80972013-04-20 Roland Winkler <winkler@gnu.org>
8098
8099 * faces.el (read-face-name): Use completing-read if arg multiple
8100 is nil.
8101
a81ee1eb
IL
81022013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8103
8104 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8105 displayed, move point to after the totals line.
8106 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8107 for the details.
8108
4fac34ce
SM
81092013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8112 Add current dir to the load-path.
8113 (package-generate-autoloads): Don't rely on
8114 autoload-ensure-default-file.
8115
f6bfc063
RT
81162013-04-26 Reuben Thomas <rrt@sc3d.org>
8117
d40ab5cf
BG
8118 * textmodes/remember.el (remember-store-in-files): Document that
8119 the file name format is passed to `format-time-string'.
f6bfc063 8120
e55d3b04
LL
81212013-04-26 Leo Liu <sdl.web@gmail.com>
8122
8123 * progmodes/octave.el (octave-sync-function-file-names): New function.
8124 (octave-mode): Use it in before-save-hook.
8125
e53052d3
SM
81262013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8127
140ef50c
SM
8128 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8129 (bug#14274).
8130
e53052d3
SM
8131 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8132 \n and comment, even if it's not an implicit ; (bug#14218).
8133
af80458d 81342013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8135
8136 * subr.el (read-number): Once more use `read' rather than
8137 `string-to-number', to trap non-numeric input. (Bug#14254)
8138
af80458d 81392013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8140
8141 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8142 Use `syntax-multiline' text property consistently instead of
8a621d53 8143 `font-lock-multiline'. (Bug#14237)
70203c2e 8144
e6ea1f6c
GM
81452013-04-26 Glenn Morris <rgm@gnu.org>
8146
8147 * emacs-lisp/shadow.el (list-load-path-shadows):
8148 No longer necessary to check for duplicate simple.el, since
8149 2012-07-07 change to init_lread to not include installation lisp
8150 directories in load-path when running uninstalled. (Bug#14270)
8151
070ccca4
LL
81522013-04-26 Leo Liu <sdl.web@gmail.com>
8153
8154 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8155 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8156 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8157 octave-in-string-or-comment-p.
8158 (octave-in-comment-p, octave-in-string-p)
8159 (octave-in-string-or-comment-p): Replace defsubst with defun.
8160
9d1c5fb6
PE
81612013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8162
8163 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8164
c034abda
BG
81652013-04-25 Bastien Guerry <bzg@gnu.org>
8166
8167 * textmodes/remember.el (remember-data-directory)
8168 (remember-directory-file-name-format): Fix custom types.
8169
584ea277
LL
81702013-04-25 Leo Liu <sdl.web@gmail.com>
8171
e53052d3
SM
8172 * progmodes/octave.el (octave-completion-at-point-function):
8173 Make use of inferior octave process.
584ea277
LL
8174 (octave-initialize-completions): Remove.
8175 (inferior-octave-completion-table): New function.
8176 (inferior-octave-completion-at-point): Use it.
8177 (octave-completion-alist): Remove.
8178
1693b06a
SM
81792013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8182 (opascal-mode-syntax-table): New var.
8183 (opascal-literal-kind, opascal-is-literal-end)
8184 (opascal-literal-token-at): Rewrite.
8185 (opascal--literal-start-re, opascal-font-lock-keywords)
8186 (opascal--syntax-propertize): New constants.
8187 (opascal-font-lock-defaults): Adjust.
8188 (opascal-mode): Use them. Set comment-<foo> variables as well.
8189 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8190 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8191 (delphi-other-face, opascal-other-face): Remove face variables.
8192 (opascal-save-state): Remove macro.
8193 (opascal-fontifying-progress-step): Remove constant.
8194 (opascal--ignore-changes): Remove var.
8195 (opascal-set-token-property, opascal-parse-next-literal)
8196 (opascal-is-stable-literal, opascal-complete-literal)
8197 (opascal-is-literal-start, opascal-face-of)
8198 (opascal-parse-region, opascal-parse-region-until-stable)
8199 (opascal-fontify-region, opascal-after-change)
8200 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8201 (opascal-debug-parse-region, opascal-debug-parse-window)
8202 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8203 (opascal-debug-fontify-buffer): Remove.
8204 (opascal-debug-mode-map): Adjust accordingly.
8205
be64c05d
LL
82062013-04-25 Leo Liu <sdl.web@gmail.com>
8207
8208 Merge octave-mod.el and octave-inf.el into octave.el with some
8209 cleanups.
8210 * progmodes/octave.el: New file renamed from octave-mod.el.
8211 * progmodes/octave-inf.el: Merged into octave.el.
8212 * progmodes/octave-mod.el: Renamed to octave.el.
8213
d79d37bd
TH
82142013-04-25 Tassilo Horn <tsdh@gnu.org>
8215
8216 * textmodes/reftex-vars.el
8217 (reftex-label-ignored-macros-and-environments): New defcustom.
8218
8219 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8220
ced3fc5d
SM
82212013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8224 (smie-indent-keyword): Improve the check to ensure that the next
8225 comment is really on the same line.
8226 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8227
8228 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8229 semi-colons if the line is not otherwise empty (bug#14218).
8230
1c141dad
GM
82312013-04-25 Glenn Morris <rgm@gnu.org>
8232
8233 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8234
5058062a
SM
82352013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * progmodes/opascal.el (opascal-set-token-property): Rename from
8238 opascal-set-text-properties and only set `token' (bug#14134).
8239 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8240 (opascal-literal-text-properties): Remove.
8241 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8242 Adjust callers.
8243
5db9dace 82442013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8245
8246 * textmodes/remember.el (remember-handler-functions): Add an
8247 option for a new handler `remember-store-in-files'.
8248 (remember-data-directory, remember-directory-file-name-format):
8249 New options.
8250 (remember-store-in-files): New function to store remember notes
8251 as separate files within a directory.
8252
4391916c
MH
82532013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8254
8255 * progmodes/compile.el (compilation-next-error-function):
8256 Pass "formats" to compilation-find-file (bug#11777).
8257
bb7cdf58
GM
82582013-04-24 Glenn Morris <rgm@gnu.org>
8259
3b8fe752 8260 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8261 * vc/vc-hg.el (vc-hg-print-log):
8262 * vc/vc-svn.el (vc-svn-print-log):
8263 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8264
bb7cdf58
GM
8265 * vc/vc-bzr.el (vc-bzr-print-log):
8266 * vc/vc-cvs.el (vc-cvs-print-log):
8267 * vc/vc-git.el (vc-git-print-log):
8268 * vc/vc-hg.el (vc-hg-print-log):
8269 * vc/vc-mtn.el (vc-mtn-print-log):
8270 * vc/vc-rcs.el (vc-rcs-print-log):
8271 * vc/vc-sccs.el (vc-sccs-print-log):
8272 * vc/vc-svn.el (vc-svn-print-log):
8273 * vc/vc.el (vc-print-log-internal): Doc fixes.
8274
b46a056e
GM
82752013-04-23 Glenn Morris <rgm@gnu.org>
8276
8277 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8278 Remove venerable code attempting to avoid substitute-command-keys.
8279
0aecf718
TH
82802013-04-23 Tassilo Horn <tsdh@gnu.org>
8281
4391916c
MH
8282 * textmodes/reftex-vars.el (reftex-label-regexps):
8283 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8284
117f94cf
SM
82852013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8286
4391916c 8287 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8288 Use lexical-binding.
8289 (jit-lock-force-redisplay): Use markers, check buffer's continued
8290 existence and beware narrowed buffers.
8291 (jit-lock-fontify-now): Adjust call accordingly.
8292
1d829c64
SM
82932013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8296 to avoid misleading the user.
8297
72d548a9
LL
82982013-04-22 Leo Liu <sdl.web@gmail.com>
8299
8300 * info-look.el: Prefer latex2e.info. (Bug#14240)
8301
d0853629
MA
83022013-04-22 Michael Albinus <michael.albinus@gmx.de>
8303
8304 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8305
8306 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8307 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8308 (tramp-set-completion-function, tramp-parse-putty):
8309 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8310 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8311 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8312 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8313 (tramp-call-local-coding-command): Use `tramp-call-process'
8314 instead of `tramp-compat-call-process'.
8315
8316 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8317 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8318 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8319 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8320 (tramp-maybe-send-script): Check for Perl binary.
8321 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8322
38cc0210
DU
83232013-04-22 Daiki Ueno <ueno@gnu.org>
8324
8325 * epg.el (epg-context-pinentry-mode): New function.
8326 (epg-context-set-pinentry-mode): New function.
8327 (epg--start): Pass --pinentry-mode option to gpg command.
8328
cc641ee1
XF
83292013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8330
02d844b5 8331 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8332 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8333 `completion-at-point'. (Bug#13774)
5d4e5c31 8334
cc641ee1
XF
8335 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8336 default key binding for `describe-distribution' has been moved to
8337 `C-h C-o'. (Bug#13970)
8338
1b42ee43
GM
83392013-04-21 Glenn Morris <rgm@gnu.org>
8340
8341 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8342 Add doc strings.
8343 (vc-print-log): Clarify interactive prompt.
8344
a6d63d97
GM
83452013-04-20 Glenn Morris <rgm@gnu.org>
8346
8347 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8348 No longer include timestamp etc information.
8349
d7f5c16f
RW
83502013-04-20 Roland Winkler <winkler@gnu.org>
8351
8352 * faces.el (read-face-name): Bug fix, return just one face if arg
8353 multiple is nil. (Bug#14209)
8354
bcd7a0a4
SM
83552013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8358 (remove-function): Autoload.
8359
8360 * comint.el (comint-redirect-original-filter-function): Remove.
8361 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8362 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8363 (vc-cvs-annotate-command):
bcd7a0a4
SM
8364 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8365 * progmodes/prolog.el (prolog-consult-compile):
8366 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8367 Use add/remove-function instead.
8368 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8369 (gud-tooltip-process-output, gud-tooltip-tips):
8370 Use add/remove-function instead.
8371 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8372 (scheme-interaction-mode, exit-scheme-interaction-mode):
8373 Use add/remove-function instead.
8374
8375 * vc/vc-dispatcher.el: Use lexical-binding.
8376 (vc--process-sentinel): Rename from vc-process-sentinel.
8377 Change last arg to be the code to run. Don't use vc-previous-sentinel
8378 and vc-sentinel-commands any more.
8379 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8380 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8381
e36b2d20 83822013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8383
bcd7a0a4 8384 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8385 Handle function names with a single character. (Bug#14111)
4d3268ba 8386
781b4af6 83872013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8388
8389 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8390 for subroutines defined in an eval (bug#14182).
8391
7d688336
TV
83922013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8393
8394 * bookmark.el (bookmark-completing-read): Improve handling of empty
8395 string (bug#14176).
8396
31dcede0
SM
83972013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8400
adc31213
FEG
84012013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8402
8403 New faster Imenu implementation (bug#14058).
8404 * progmodes/python.el:
8405 (python-imenu-prev-index-position):
8406 (python-imenu-format-item-label-function)
8407 (python-imenu-format-parent-item-label-function)
8408 (python-imenu-format-parent-item-jump-label-function):
8409 New vars.
8410 (python-imenu-format-item-label)
8411 (python-imenu-format-parent-item-label)
8412 (python-imenu-format-parent-item-jump-label)
8413 (python-imenu--put-parent, python-imenu--build-tree)
8414 (python-imenu-create-index, python-imenu-create-flat-index)
8415 (python-util-popn): New functions.
8416 (python-mode): Set imenu-create-index-function to
8417 python-imenu-create-index.
8418
cdca8255
SM
84192013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * winner.el (winner-active-region): Use region-active-p, activate-mark
8422 and deactivate-mark (bug#14225).
8423
8424 * simple.el (deactivate-mark): Don't inline it.
8425
beb42340
MA
84262013-04-18 Michael Albinus <michael.albinus@gmx.de>
8427
8428 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8429
fc7f4d7e
TH
84302013-04-18 Tassilo Horn <tsdh@gnu.org>
8431
8432 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8433 file extensions from the archive-mode entry in order to prefer
8434 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8435
29f47822
LL
84362013-04-18 Leo Liu <sdl.web@gmail.com>
8437
8438 * bindings.el (help-event-list): Add ?\?.
8439
d36ed1c8
SM
84402013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * subr.el (with-wrapper-hook): Declare obsolete.
8443 * simple.el (filter-buffer-substring-function): New hook.
8444 (filter-buffer-substring): Use it.
8445 (filter-buffer-substring-functions): Mark obsolete.
8446 * minibuffer.el (completion-in-region-function): New hook.
8447 (completion-in-region): Use it.
8448 (completion-in-region-functions): Mark obsolete.
8449 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8450 * abbrev.el (abbrev-expand-function): New hook.
8451 (expand-abbrev): Use it.
8452 (abbrev-expand-functions): Mark obsolete.
8453 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8454 and :filter-return.
8455
04754d36
FEG
84562013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8457
8458 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8459 and do not care about match data.
8460
dd8791e9
SM
84612013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8464 completion tables when completing error conditions and
8465 `declare' arguments.
8466 (lisp-complete-symbol, field-complete): Mark as obsolete.
8467 (check-parens): Unmatched parens are user errors.
8468 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8469
ffe54a13
AM
84702013-04-17 Michal Nazarewicz <mina86@mina86.com>
8471
dd8791e9
SM
8472 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8473 command changed buffer (ie. `flyspell-pre-buffer' is not current
8474 buffer), which prevents making decisions based on invalid value of
8475 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8476 cause an error when `flyspell-pre-point' was nil after switching
8477 buffers.
8478 (flyspell-post-command-hook): No longer needs to change buffers when
8479 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8480
ec7e39f2
AM
84812013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8482
8483 * textmodes/ispell.el (ispell-add-per-file-word-list):
8484 Fix `flyspell-correct-word-before-point' error when accepting
8485 words and `coment-padding' is an integer by using
8486 `comment-normalize-vars' (Bug #14214).
8487
083850a6
FEG
84882013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8489
8490 New defun movement commands.
8491 * progmodes/python.el (python-nav--syntactically)
8492 (python-nav--forward-defun, python-nav-backward-defun)
8493 (python-nav-forward-defun): New functions.
8494
619ed6e1
FEG
84952013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8496
8497 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8498 (python-syntax-context): Use named compiler-macro for backwards
8499 compatibility with Emacs 24.x.
8500
7a1beb6c
LL
85012013-04-17 Leo Liu <sdl.web@gmail.com>
8502
8503 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8504 octave-hide-process-buffer.
8505
2d3fa3e5
SM
85062013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8509 (bug#14216).
8510
7ce5be54
JPG
85112013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8512
8513 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8514 Fix adjustment of offset when receiving incomplete responses from GDB
8515 (bug#14129).
8516
351edece
SM
85172013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8520 python-mode-abbrev-table.
8521 (python-skeleton-define): Adjust accordingly.
8522 (python-mode-abbrev-table): New table that inherits from it so that
8523 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8524
8525 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8526 (abbrev-symbol): Use it.
8527 (abbrev--before-point): Use it since we already handle inheritance.
8528
613f9481
LL
85292013-04-16 Leo Liu <sdl.web@gmail.com>
8530
8531 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8532 binding to info-lookup-symbol.
8533
51646b62
JB
85342013-04-16 Juanma Barranquero <lekktu@gmail.com>
8535
8536 * minibuffer.el (completion--twq-all):
8537 * term/ns-win.el (ns-initialize-window-system):
8538 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8539
efb3f01d
SM
85402013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8541
36c0a301
SM
8542 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8543 global bindings.
8544
efb3f01d
SM
8545 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8546
fb549d64
DG
85472013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8548
8549 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8550 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8551 to nil.
8552 (ruby-end-of-defun): Remove the unused arg, change the docstring
8553 to reflect that this function is only used as the value of
8554 `end-of-defun-function'.
8555 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8556 to reflect an earlier change that beginning/end-of-defun functions
8557 jump between methods in a class definition, as well as top-level
8558 functions.
8559
21e8fe2f
SM
85602013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * minibuffer.el (minibuffer-complete): Don't just scroll
8563 a *Completions* that's been iconified.
8564 (minibuffer-force-complete): Make sure repetitions do cycle when going
8565 through completion-in-region -> minibuffer-complete.
8566
20e527d0
AM
85672013-04-15 Alan Mackenzie <acm@muc.de>
8568
8569 Correct the placement of c-cpp-delimiters when there're #s not at
8570 col 0.
8571
8572 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8573 place a submatch around the #.
21e8fe2f
SM
8574 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8575 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8576 on the #, not BOL.
8577
dabefae5
SM
85782013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8581 (advice--member-p): New arg `name'.
8582 (advice--add-function, advice-member-p): Use it (bug#14202).
8583
85c9ab64
AM
85842013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8585
8586 Reformulate java imenu-generic-expression.
8587 The old expression contained ill formed regexps.
8588
8589 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8590 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8591 (cc-imenu-java-method-arg-regexp): New defconsts.
8592 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8593 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8594 handling of spaces in the regexp.
8595
0f821d99
AM
85962013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8597
8598 * textmodes/ispell.el (ispell-command-loop): Remove
8599 flyspell highlight of a word when ispell accepts it (bug #14178).
8600
eb922adf
MA
86012013-04-15 Michael Albinus <michael.albinus@gmx.de>
8602
8603 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8604 uses code from the previous `ange-ftp-run-real-handler'.
8605 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8606 only in case that function exist. This is needed for proper
8607 unloading of Tramp.
8608
4d9a0979
TH
86092013-04-15 Tassilo Horn <tsdh@gnu.org>
8610
8611 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8612
8613 * textmodes/reftex.el (reftex-compile-variables): Use it.
8614
a829b0dc
SM
86152013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8616
91e8293c
SM
8617 * files.el (normal-mode): Only use default major-mode if no other mode
8618 was specified.
8619
830aed4d
SM
8620 * emacs-lisp/trace.el (trace-values): New function.
8621
a829b0dc
SM
8622 * files.el: Allow : in local variables (bug#14089).
8623 (hack-local-variable-regexp): New var.
8624 (hack-local-variables-prop-line, hack-local-variables): Use it.
8625
7ae9f0fb
RW
86262013-04-13 Roland Winkler <winkler@gnu.org>
8627
8628 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8629 data before it gets modified by bibtex-beginning-of-entry.
8630
6646e848
RW
86312013-04-13 Roland Winkler <winkler@gnu.org>
8632
8633 * textmodes/bibtex.el (bibtex-url): Doc fix.
8634
86352013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8636
8637 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8638 does not visit a BibTeX file, exclude it from the list of buffers
8639 returned by bibtex-initialize.
8640
0aa3616e
SB
86412013-04-13 Stephen Berman <stephen.berman@gmx.net>
8642
8643 * window.el (split-window): Remove interactive form, since as a
8644 command this function is a special case of split-window-below.
8645 Correct doc string.
8646
011cddd6
RW
86472013-04-12 Roland Winkler <winkler@gnu.org>
8648
8649 * faces.el (read-face-name): Do not override value of arg default.
8650 Allow single faces and strings as default values. Remove those
8651 elements from return value that are not faces.
8652 (describe-face): Simplify.
8653 (face-at-point): New optional args thing and multiple so that this
8654 function can provide the same functionality previously provided by
8655 read-face-name.
8656 (make-face-bold, make-face-unbold, make-face-italic)
8657 (make-face-unitalic, make-face-bold-italic, invert-face)
8658 (modify-face, read-face-and-attribute): Use face-at-point.
8659
8660 * cus-edit.el (customize-face, customize-face-other-window)
8661 * cus-theme.el (custom-theme-add-face)
8662 * face-remap.el (buffer-face-set)
8663 * facemenu.el (facemenu-set-face): Use face-at-point.
8664
f24e0036
MA
86652013-04-12 Michael Albinus <michael.albinus@gmx.de>
8666
8667 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8668
da3cda2d
TH
86692013-04-10 Tassilo Horn <tsdh@gnu.org>
8670
8671 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8672 off leading { and trailing } from field values.
8673
15e54145
SM
86742013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8675
78ce603d
SM
8676 * emacs-lisp/timer.el (timer--check): New function.
8677 (timer--time, timer-set-function, timer-event-handler): Use it.
8678 (timer-set-idle-time): Simplify.
8679 (timer--activate): CSE.
8680 (timer-event-handler): Give more info in error message.
8681 (internal-timer-start-idle): New function, moved from C.
8682
15e54145
SM
8683 * mpc.el (mpc-proc): Add `restart' argument.
8684 (mpc-proc-cmd): Use it.
8685 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8686 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8687 less often.
8688
7144c627
MY
86892013-04-10 Masatake YAMATO <yamato@redhat.com>
8690
8691 * progmodes/sh-script.el: Implement `sh-mode' own
8692 `add-log-current-defun-function' (bug#14112).
8693 (sh-current-defun-name): New function.
8694 (sh-mode): Use the function.
8695
b39792eb
BG
86962013-04-09 Bastien Guerry <bzg@gnu.org>
8697
8698 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8699
8acdeb71
SM
87002013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8701
6fcdab68
SM
8702 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8703
8acdeb71
SM
8704 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8705 timer (bug#14156).
8706
e3e7b504
NF
87072013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8708
8709 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8710 declaration.
8711
201bb296
LL
87122013-04-07 Leo Liu <sdl.web@gmail.com>
8713
8714 * pcmpl-x.el: New file.
8715
ebb19708
DA
87162013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8717
8718 Do not set x-display-name until X connection is established.
8719 This is needed to prevent from weird situation described at
8720 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8721 * frame.el (make-frame): Set x-display-name after call to
8722 window system initialization function, not before.
8723 * term/x-win.el (x-initialize-window-system): Add optional
8724 display argument and use it.
8725 * term/w32-win.el (w32-initialize-window-system):
8726 * term/ns-win.el (ns-initialize-window-system):
8727 * term/pc-win.el (msdos-initialize-window-system):
8728 Add compatible optional display argument.
8729
33bb237a
EZ
87302013-04-06 Eli Zaretskii <eliz@gnu.org>
8731
8732 * files.el (normal-backup-enable-predicate): On MS-Windows and
8733 MS-DOS compare truenames of temporary-file-directory and of the
8734 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8735 don't fail comparison by compare-strings. Also, compare file
8736 names case-insensitively on MS-Windows and MS-DOS.
8737
134abf1f
SM
87382013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8741 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8742
d695cb94
DG
87432013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8744
e3e7b504
NF
8745 * whitespace.el (whitespace-color-on, whitespace-color-off):
8746 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8747
f4ad7ea1 87482013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8749
8750 * ispell.el (ispell-set-spellchecker-params):
8751 Really set `ispell-args' for all equivs.
8752
632556e4
SM
87532013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * ido.el (ido-completions): Use extra elements of ido-decorations
8756 (bug#14143).
8757 (ido-decorations): Update docstring.
8758
2a417372
MA
87592013-04-05 Michael Albinus <michael.albinus@gmx.de>
8760
8761 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8762 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8763 nil during initialization, in order not to miss changes since the
8764 file was opened. (Bug#14140)
8765
fc164b0c
LL
87662013-04-05 Leo Liu <sdl.web@gmail.com>
8767
8768 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8769
0ccecc08
JB
87702013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8771
8772 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8773
51af1aa2
GM
87742013-04-04 Glenn Morris <rgm@gnu.org>
8775
8776 * electric.el (electric-pair-inhibit-predicate): Add :version.
8777
b208ebc6
SM
87782013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8781 when a package is required several times (bug#14082).
8782
f3d3eaf0
RW
87832013-04-04 Roland Winkler <winkler@gnu.org>
8784
8785 * faces.el (read-face-name): Behave as promised by the docstring.
8786 Assume that arg default is a list of faces.
8787 (describe-face): Call read-face-name with list of default faces.
8788
2575da50
TV
87892013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8790
8791 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8792 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8793 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8794 the header.
8795 (bookmark-exit-hook-internal): Save even if list is empty.
8796
397703b4
YH
87972013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8798
8799 * emacs-lisp/package.el (package-pinned-packages): New var.
8800 (package--add-to-archive-contents): Obey it (bug#14118).
8801
691e26ae
AM
88022013-04-03 Alan Mackenzie <acm@muc.de>
8803
8a621d53
JB
8804 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8805 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8806
8807 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8808 parameter `not-in-delimiter'. Handle being inside comment opener.
8809 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8810 character in case we're typing a '*' after a '/'.
8811 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8812 instead by passing the parameter to c-state-pp-to-literal.
8813
8814 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8815 for elt. 7 of a parse state.
8816
4b725a70
PE
88172013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8818
8819 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8820 * international/latin1-disp.el, international/mule-util.el:
8821 * language/cyril-util.el, language/european.el, language/ind-util.el:
8822 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8823 * language/tibetan.el, language/viet-util.el:
8824 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8825
15c579f0
SM
88262013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8829 (electric-pair-post-self-insert-function): Use it.
8830 (electric-pair-default-inhibit): New function, extracted from
8831 electric-pair-post-self-insert-function.
8832
a77e2924
RW
88332013-03-31 Roland Winkler <winkler@gnu.org>
8834
8835 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8836
2bd8a4a8
SM
88372013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8840
8d3655be 88412013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8842
8843 Un-indent after "pass" and "return" statements (Bug#13888)
8844 * progmodes/python.el (python-indent-block-enders): New var.
8845 (python-indent-calculate-indentation): Use it.
8846
8d3655be 88472013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8848
8849 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8850 defun. Defining it as defalias could introduce too eager
8851 byte-compiler optimization. (Bug#14030)
8852
8d3655be 88532013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8854
8855 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8856
0b1619da
LL
88572013-03-30 Leo Liu <sdl.web@gmail.com>
8858
8859 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8860 (kmacro-execute-from-register): Pass the keyboard macro to
8861 kmacro-call-macro or repeating won't work correctly.
8862
0b938190
TZ
88632013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8864
8865 * progmodes/subword.el: Back to using `forward-symbol'.
8866
8867 * subr.el (forward-whitespace, forward-symbol)
8868 (forward-same-syntax): Move from thingatpt.el.
8869
35710234
LL
88702013-03-29 Leo Liu <sdl.web@gmail.com>
8871
8872 * kmacro.el (kmacro-to-register): New command.
8873 (kmacro-execute-from-register): New function.
8874 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8875
efc0bb73
SM
88762013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * mpc.el: Use defvar-local and setq-local.
8879 (mpc--proc-connect): Connection failures are not bugs.
8880 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8881 (mpc-volume-map): Bind to the up-events.
8882
75a2f981
TZ
88832013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8884
8885 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8886 instead of `forward-symbol'.
8887
17c781d1
SM
88882013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8891 (edebug--recursive-edit): Use it.
8892 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8893 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8894
f67bfbcf
LL
88952013-03-28 Leo Liu <sdl.web@gmail.com>
8896
8897 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8898
b59f639d
EZ
88992013-03-27 Eli Zaretskii <eliz@gnu.org>
8900
8901 * facemenu.el (list-colors-callback): New defvar.
8902 (list-colors-redisplay): New function.
8903 (list-colors-display): Install list-colors-redisplay as the
8904 revert-buffer-function. (Bug#14063)
8905
f557c1b1
SM
89062013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8907
b1da2957
SM
8908 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8909 and suffixes don't overlap (bug#14061).
8910
f557c1b1
SM
8911 * case-table.el: Use lexical-binding.
8912 (case-table-get-table): New function.
8913 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8914
002668e1
TZ
89152013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8916
8917 * progmodes/subword.el: Add `superword-mode' to do word motion
8918 over symbol_words (parallels and leverages `subword-mode' which
8919 does word motion inside MixedCaseWords).
8920
73572c72
AG
89212013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8922
78b8f320 8923 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8924 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8925
69b2c07e
SM
89262013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8929 Change return value to be a sexp. Delay `get-buffer' to after
8930 restoring the desktop (bug#13951).
8931
08bb5ee2
LL
89322013-03-26 Leo Liu <sdl.web@gmail.com>
8933
8934 * register.el: Move semantic tag handling back to
8935 cedet/semantic/senator.el. (Bug#14052)
8936
8d4c974e
SM
89372013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8940 into the prompt either (bug#13963).
8941
b234d92c
SM
89422013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8945 part of "(error-foo)".
8946
ddfa3cb4
JL
89472013-03-24 Juri Linkov <juri@jurta.org>
8948
8949 * replace.el (list-matching-lines-prefix-face): New defcustom.
8950 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8951 `occur-engine' if `face-differs-from-default-p' returns t.
8952 (occur-engine): Add `,' inside backquote construct to evaluate
8953 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8954 Pass `prefix-face' to the functions `occur-context-lines' and
8955 `occur-engine-add-prefix'.
8956 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8957 `prefix-face' and propertize the prefix with `prefix-face'.
8958 (Bug#14017)
8959
7b0e2f85
LL
89602013-03-24 Leo Liu <sdl.web@gmail.com>
8961
8962 * nxml/rng-valid.el (rng-validate-while-idle)
8963 (rng-validate-quick-while-idle): Guard against deleted buffer.
8964 (Bug#13999)
8965
8966 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8967 is the last entry in kill-buffer-hook.
8968
8969 * files.el (kill-buffer-hook): Doc fix.
8970
b3082f49
DG
89712013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8972
b234d92c
SM
8973 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8974 Make it safe-local.
bde73d27 8975
b3082f49
DG
8976 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8977
a320a2db
LL
89782013-03-23 Leo Liu <sdl.web@gmail.com>
8979
7e74b0fb
LL
8980 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8981 Remove.
8982
8983 * nxml/rng-valid.el (rng-validate-mode)
8984 (rng-after-change-function, rng-do-some-validation):
8985 * nxml/rng-maint.el (rng-validate-buffer):
8986 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8987 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8988 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8989 (nxml-extend-after-change-region): Use with-silent-modifications.
8990
a320a2db
LL
8991 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8992 timer-idle-list.
8993
8994 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8995 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8996 timer-idle-list. (Bug#13999)
8997
e38e6780
JL
89982013-03-23 Juri Linkov <juri@jurta.org>
8999
9000 * info.el (info-index-match): New face.
9001 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9002 main pattern and add text properties with the new face to matches
9003 in index entries relative to the beginning of the index entry.
9004 (Bug#14015)
9005
e8cc7880
DE
90062013-03-21 Eric Ludlam <zappo@gnu.org>
9007
9008 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9009 Inhibit read only while inserting objects.
9010
9bb0d822
TZ
90112013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9012
9013 * progmodes/cfengine.el: Update docs to mention
9014 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9015 symbol motion. Remove "_" from the word syntax.
9016
aa703640
TZ
90172013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9018
9019 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9020 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9021
afff09d0
JL
90222013-03-20 Juri Linkov <juri@jurta.org>
9023
9024 * info.el (Info-next-reference-or-link)
9025 (Info-prev-reference-or-link): New functions.
9026 (Info-next-reference, Info-prev-reference): Use them.
9027 (Info-try-follow-nearest-node): Handle footnote navigation.
9028 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9029
9a1ff164
SM
90302013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9033 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9034
2667d15d
PE
90352013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9036
9037 Suppress unnecessary non-ASCII chatter during build process.
9038 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9039 (batch-skkdic-convert): Suppress most of the chatter.
9040 It's not needed so much now that machines are faster,
9041 and its non-ASCII component was confusing; see Dmitry Gutov in
9042 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9043
438b0579
LL
90442013-03-20 Leo Liu <sdl.web@gmail.com>
9045
9046 * ido.el (ido-chop): Fix bug#10994.
9047
c128ab07
DG
90482013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9049
9050 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9051 Remove vars.
9a1ff164
SM
9052 (whitespace-color-on, whitespace-color-off):
9053 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9054
0e6008c5
SM
90552013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9058 remapping in mode-line.
9059 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9060
627b52b0
DG
90612013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9062
9063 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9064 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9065 (whitespace-font-lock-keywords): Change description.
9066 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9067 the constructed keywords instead.
9068 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9069
50c3a20b
LL
90702013-03-19 Leo Liu <sdl.web@gmail.com>
9071
9072 * progmodes/compile.el (compilation-display-error): New command.
9073 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9074 C-o. (Bug#13992)
9075
2aa2157b
PE
90762013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9077
9078 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9079
e477dbfa
JD
90802013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9081
9082 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9083
64ab82d1
MA
90842013-03-18 Michael Albinus <michael.albinus@gmx.de>
9085
9086 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9087
9088 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9089 * net/tramp-gvfs.el (top):
9090 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9091 (tramp-handle-shell-command): Use it.
9092 (tramp-dissect-file-name): Raise an error when hostname is a
9093 method name, and neither method nor user is specified.
9094
9095 * net/trampver.el: Update release number.
9096
33cef733
LL
90972013-03-18 Leo Liu <sdl.web@gmail.com>
9098
9099 Make sure eldoc can be turned off properly.
9100 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9101 eldoc-mode.
9102 (eldoc-display-message-p): Revert last change.
9103 (eldoc-display-message-no-interference-p)
9104 (eldoc-print-current-symbol-info): Tweak.
9105
2167b7b2
TH
91062013-03-18 Tassilo Horn <tsdh@gnu.org>
9107
9108 * doc-view.el (doc-view-new-window-function): Check the new window
9109 overlay's display property instead the char property of the
9110 buffer's first char. Use `with-selected-window' instead of
9111 `save-window-excursion' with `select-window'.
9112 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9113 display property instead the char property of the buffer's first char.
2167b7b2 9114
982efbcd
PE
91152013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9116
9117 Automate the build of ja-dic.el (Bug#13984).
9118 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9119 from the input, rather than assume that it's been done for us by the
9120 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9121 the current date into a ja-dic.el comment, as that complicates
9122 regression testing.
9123
2fcc7665
SM
91242013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * whitespace.el: Fix double evaluation.
9127 (whitespace-space, whitespace-hspace, whitespace-tab)
9128 (whitespace-newline, whitespace-trailing, whitespace-line)
9129 (whitespace-space-before-tab, whitespace-indentation)
9130 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9131 obsolete defvars.
9132 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9133 (whitespace-color-on): Use a single font-lock-add-keywords call.
9134 Fix double-evaluation of face variables.
9135
67c0a6e6
MA
91362013-03-17 Michael Albinus <michael.albinus@gmx.de>
9137
2fcc7665
SM
9138 * net/tramp-adb.el (tramp-adb-parse-device-names):
9139 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9140 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9141
69489f1d
LL
91422013-03-17 Leo Liu <sdl.web@gmail.com>
9143
9144 Extend eldoc to display info in the mode-line. (Bug#13978)
9145 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9146 (eldoc-mode-line-string): New variable.
9147 (eldoc-minibuffer-message): New function.
9148 (eldoc-message-function): New variable.
9149 (eldoc-message): Use it.
9150 (eldoc-display-message-p)
2fcc7665
SM
9151 (eldoc-display-message-no-interference-p):
9152 Support eldoc-post-insert-mode.
69489f1d
LL
9153
9154 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9155 (eval-expression): Run it.
9156
9c44569e
RW
91572013-03-17 Roland Winkler <winkler@gnu.org>
9158
9159 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9160 strings in the list of return values.
9161
327f1f6f
JB
91622013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9163
9164 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9165 radix before checking for HMS forms.
9166
67ed8fcd
LL
91672013-03-16 Leo Liu <sdl.web@gmail.com>
9168
9169 * progmodes/scheme.el: Add indentation and font-locking for λ.
9170 (Bug#13975)
9171
78be8b64 91722013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9173
9174 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9175 token before point (bug#13942).
9176
78be8b64 91772013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9178
95b43468 9179 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9180
98e775e6
EZ
91812013-03-16 Eli Zaretskii <eliz@gnu.org>
9182
9183 * startup.el (command-line-normalize-file-name): Fix handling of
9184 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9185 <xfq.free@gmail.com> in
9186 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9187
2edd6029
MA
91882013-03-15 Michael Albinus <michael.albinus@gmx.de>
9189
9190 Sync with Tramp 2.2.7.
9191
9192 * net/trampver.el: Update release number.
9193
d35f5864
TH
91942013-03-14 Tassilo Horn <tsdh@gnu.org>
9195
e903c210 9196 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9197 (doc-view-insert-image): Don't modify overlay associated to
9198 non-live windows, and implement horizontal centering of image in
9199 case it's smaller than the window.
9200 (doc-view-new-window-function): Force redisplay of new windows on
9201 doc-view buffers.
d35f5864 9202
1c4a85ed
KF
92032013-03-13 Karl Fogel <kfogel@red-bean.com>
9204
9205 * saveplace.el (save-place-alist-to-file): Don't sort
9206 `save-place-alist', just pretty-print it (bug#13882).
9207
85b66a21
MA
92082013-03-13 Michael Albinus <michael.albinus@gmx.de>
9209
a020afb9
JB
9210 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9211 Check whether `default-file-name-coding-system' is bound.
9212 It isn't in XEmacs.
85b66a21 9213
175600da
SM
92142013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9215
e7f7cb1a
SM
9216 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9217 backquotes for `obsolete' (bug#13929).
9218
175600da
SM
9219 * international/mule.el (find-auto-coding): Include file name in
9220 obsolescence warning (bug#13922).
9221
ca68a22e
TZ
92222013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9223
9224 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9225 for CFEngine 3-specific indentation.
9226 (cfengine3-indent-line): Use it. Fix up category regex.
9227 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9228
940e5099
SM
92292013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * type-break.el (type-break-file-name):
9232 * textmodes/remember.el (remember-data-file):
9233 * strokes.el (strokes-file):
9234 * shadowfile.el (shadow-initialize):
9235 * saveplace.el (save-place-file):
9236 * ps-bdf.el (bdf-cache-file):
9237 * progmodes/idlwave.el (idlwave-config-directory):
9238 * net/quickurl.el (quickurl-url-file):
9239 * international/kkc.el (kkc-init-file-name):
9240 * ido.el (ido-save-directory-list-file):
9241 * emulation/viper.el (viper-custom-file-name):
9242 * emulation/vip.el (vip-startup-file):
9243 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9244 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9245
cc725808
PE
92462013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9247
9248 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9249 * language/thai-word.el: Switch to UTF-8.
9250
a020afb9 9251See ChangeLog.16 for earlier changes.
e3d51b27
MR
9252
9253;; Local Variables:
9254;; coding: utf-8
e3d51b27
MR
9255;; End:
9256
ab422c4d 9257 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9258
9259 This file is part of GNU Emacs.
9260
9261 GNU Emacs is free software: you can redistribute it and/or modify
9262 it under the terms of the GNU General Public License as published by
9263 the Free Software Foundation, either version 3 of the License, or
9264 (at your option) any later version.
9265
9266 GNU Emacs is distributed in the hope that it will be useful,
9267 but WITHOUT ANY WARRANTY; without even the implied warranty of
9268 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9269 GNU General Public License for more details.
9270
9271 You should have received a copy of the GNU General Public License
9272 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.