* configure.ac: Use [!...] rather than [^...], for ksh. (Bug#15769)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
47f58d85
GM
12013-10-31 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (custom-deps, finder-data): No need to setq the target
4 variables, we are in the right directory and the defaults work fine.
5
4f85b479
GM
62013-10-30 Glenn Morris <rgm@gnu.org>
7
ca7dd4cd
GM
8 * Makefile.in (autoloads): Do not use abs_lisp.
9
4f85b479
GM
10 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11 `newline' does not respect `standard-output', so use `princ'.
12
cf59e41c
AA
132013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
14
15 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16 * buff-menu.el (Buffer-menu--unmark): New function.
17 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
18
74cf04fb
GM
192013-10-30 Glenn Morris <rgm@gnu.org>
20
b040b60e
GM
21 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
22
f53d3815
GM
23 * emacs-lisp/package.el (lm-homepage): Declare.
24
5413d873
GM
25 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
26 Fix doc typos.
27
cecedb36
GM
28 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
29
74cf04fb
GM
30 * Makefile.in (finder-data, autoloads, update-subdirs)
31 (compile-main, compile-clean, compile-always, bootstrap-clean):
32 Check return value of cd.
33 (compile-calc): Remove.
34
195ee2f0
SM
352013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
36
ae4002ce
SM
37 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
38
39 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
40 (byte-compile-and-folded): New function.
41 (=, <, >, <=, >=): Use it.
42
43 * dos-w32.el (minibuffer-history-case-insensitive-variables)
44 (path-separator, null-device, buffer-file-coding-system)
45 (lpr-headers-switches): Check system-type before modifying them.
46 (find-buffer-file-type-coding-system): Mark obsolete.
47 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
48 find-file-not-found-set-buffer-file-coding-system.
49 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
50 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
51 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
52 (w32-direct-print-region-helper, w32-direct-print-region-function)
53 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
54 * startup.el (normal-top-level-add-subdirs-to-load-path):
55 * ps-print.el (ps-print-region-function):
56 * lpr.el (print-region-function): Use new name.
57
53b39e89
SM
58 * subr.el (custom-declare-variable-early): Remove function.
59 (custom-declare-variable-list): Remove var.
60 (error, user-error): Remove `while' loop.
61 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
62 (user-emacs-directory-warning, locate-user-emacs-file):
63 Move to files.el.
64 * simple.el (read-quoted-char-radix, read-quoted-char):
65 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
66 Move from subr.el.
67 * custom.el (custom-declare-variable-list): Don't process
68 custom-declare-variable-list.
69
195ee2f0
SM
70 * progmodes/python.el (python-shell-get-buffer): New function.
71 (python-shell-get-process): Use it.
72 (python-shell-send-string): Always use utf-8 and add a cookie to tell
73 Python which encoding was used. Don't split-string since we only care
74 about the first line. Return the temp-file, if applicable.
75 (python-shell-send-region): Tell compile.el how to turn locations in
76 the temp-file into locations in the source buffer.
77
7e3561ee
SM
782013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
79
4c9797cb
SM
80 * subr.el (undefined): Add missing behavior from the C code for
81 unbound keys.
82
3472b6c6
SM
83 * rect.el: Use lexical-binding. Add new rectangular region support.
84 (rectangle-mark): New command.
85 (rectangle--region): New var.
86 (deactivate-mark-hook): Reset rectangle--region.
87 (rectangle--extract-region, rectangle--insert-for-yank)
88 (rectangle--highlight-for-redisplay)
89 (rectangle--unhighlight-for-redisplay): New functions.
90 (region-extract-function, redisplay-unhighlight-region-function)
91 (redisplay-highlight-region-function): Use them to handle
92 rectangular region.
93 * simple.el (region-extract-function): New var.
94 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
95 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
96 (kill-region): Replace obsolete `yank-handler' arg with `region'.
97 (copy-region-as-kill, kill-ring-save): Add `region' argument.
98 (redisplay-unhighlight-region-function)
99 (redisplay-highlight-region-function): New vars.
100 (redisplay--update-region-highlight): New function.
101 (pre-redisplay-function): Use it.
102 (exchange-point-and-mark): Don't deactivate the mark before
103 reactivate-it anyway.
104 * comint.el (comint-kill-region): Remove yank-handler argument.
105 * delsel.el (delete-backward-char, backward-delete-char-untabify)
106 (delete-char): Remove property, since it's now part of their
107 default behavior.
108 (self-insert-iso): Remove property since this command doesn't exist.
109
7e3561ee
SM
110 * emacs-lisp/package.el (package--download-one-archive)
111 (describe-package-1): Don't query the user about final newline.
112
b9bef71f
DC
1132013-10-29 Daniel Colascione <dancol@dancol.org>
114
115 * net/tramp.el (tramp-methods): Document new functionality.
116 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
117 tramp-hostname-checker if method provides one instead of scanning
118 argument list for "%h" to decide hostname acceptability.
119
4efc33f0
MA
1202013-10-28 Michael Albinus <michael.albinus@gmx.de>
121
122 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
123 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
124 Handle COPY-CONTENTS. (Bug#15737)
125
ed42a877
DU
1262013-10-28 Daiki Ueno <ueno@gnu.org>
127
128 * epa-file.el
7e3561ee
SM
129 (epa-file-cache-passphrase-for-symmetric-encryption):
130 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 131
18c9f8a2
XF
1322013-10-27 Xue Fuqiao <xfq.free@gmail.com>
133
7a4bc7be
XF
134 * image.el (defimage):
135 (image-load-path): Doc fixes.
18c9f8a2 136
b1e8e010
AM
1372013-10-27 Alan Mackenzie <acm@muc.de>
138
139 Indent statements in macros following "##" correctly.
7e3561ee
SM
140 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
141 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 142
73d40d1e 1432013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
144
145 * linum.el (linum-update-window): Fix boundary test (bug#13446).
146
c8c605ac
DG
1472013-10-27 Dmitry Gutov <dgutov@yandex.ru>
148
149 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
150 after `=' is probably a new expression.
151
ca7e59d4
RS
1522013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
153
154 * man.el (man-imenu-title): New option.
155 (Man-mode-map): Add menu. (Bug#15722)
156 (Man-mode): Add imenu to menu.
157
bae91342
DG
1582013-10-26 Dmitry Gutov <dgutov@yandex.ru>
159
160 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
161 specific in what the first arg can be: a non-keyword word,
162 string/regexp/percent literal opener, opening paren, or unary
163 operator followed directly by word.
164
eb89dc14
SM
1652013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
168 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
169 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
170 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
171 Remove vars, they do not apply any more.
172 (prolog-mode-abbrev-table): Remove redundant declaration.
173 (prolog-upper-case-string, prolog-lower-case-string): Remove.
174 (prolog-use-smie): Remove.
175 (prolog-smie-rules): Add indentation rule for the if-then-else layout
176 supported by prolog-electric-if-then-else-flag.
177 (prolog-mode-variables, prolog-menu): Use setq-local.
178 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
179 Remove binding to `Backspace' since this key doesn't exist anyway.
180 Remove bindings for electric self-inserting keys.
181 (prog-mode): Assume it's defined.
182 (prolog-post-self-insert): New function.
183 (prolog-mode): Use it.
184 (prolog-indent-line, prolog-indent-level)
185 (prolog-find-indent-of-matching-paren)
186 (prolog-indentation-level-of-line, prolog-goto-comment-column)
187 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
188 (prolog-goto-next-paren, prolog-in-string-or-comment)
189 (prolog-tokenize, prolog-inside-mline-comment)
190 (prolog-find-start-of-mline-comment): Remove functions.
191 (prolog-find-unmatched-paren, prolog-clause-end)
192 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
193 (prolog-electric--if-then-else): Rename from
194 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
195 (prolog-tokenize-searchkey): Remove const.
196 (prolog-clause-info): Use forward-sexp.
197 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
198 (prolog-electric-if-then-else): Remove commands.
199 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
200 for use in post-self-insert-hook.
201 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
202 for use in post-self-insert-hook.
203 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
204 for use in post-self-insert-hook.
205 (prolog-electric--underscore): Rename from prolog-electric--underscore;
206 adapt it for use in post-self-insert-hook.
207
3dab0a83
MA
2082013-10-25 Michael Albinus <michael.albinus@gmx.de>
209
210 * emacs-lisp/ert.el (ert-run-tests-interactively):
211 Use `completing-read'. (Bug#9756)
212
fbfd0e1d
EZ
2132013-10-25 Eli Zaretskii <eliz@gnu.org>
214
215 * simple.el (line-move): Call line-move-1 instead of
216 line-move-visual when the current window hscroll is zero, but
217 temporary-goal-column indicates we will need to hscroll as result
218 of the movement. (Bug#15712)
219
963ce636
DG
2202013-10-25 Dmitry Gutov <dgutov@yandex.ru>
221
222 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
223 capitalization. Use :visible instead of :active.
224 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
225 commands that are used with SMIE.
226 (ruby-do-end-to-brace): Insert space after `{'.
227
a0be396a
JA
2282013-10-25 John Anthony <john@jo.hnanthony.com>
229
f73754c9
JA
230 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
231
232 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 233
f5bf77df
GM
2342013-10-25 Glenn Morris <rgm@gnu.org>
235
236 * vc/vc.el (vc-print-log): Don't use a working revision unless
237 one was explicitly specified. (Bug#15322)
238
37241f62
SM
2392013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * subr.el (add-to-list): Preserve return value in compiler-macro
242 (bug#15692).
243
6408a65d
RS
2442013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
245
246 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
247 result. Ask user to retry using '-all' flag. (Bug#15701)
248
71e3276b
SM
2492013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * emacs-lisp/smie.el: New smie-config system.
252 (smie-config): New defcustom.
253 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
254 (smie-config-guess, smie-config-save): New commands.
255 (smie-config--mode-local, smie-config--buffer-local)
256 (smie-config--trace, smie-config--modefuns): New vars.
257 (smie-config--advice, smie-config--mode-hook)
258 (smie-config--setter, smie-config-local, smie-config--get-trace)
259 (smie-config--guess-value, smie-config--guess): New functions.
260 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
261 text properties. Treat "string fence" syntax like string syntax.
262
263 * progmodes/sh-script.el (sh-use-smie): Change default.
264 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
265 (sh-var-value): Simplify by CSE.
266 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
267 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
268 is used.
269 (sh-guess-basic-offset): Use cl-incf.
270 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
271
60db713e
HE
2722013-10-24 Helmut Eller <eller.helmut@gmail.com>
273
274 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
275 (bug#15699).
276
8b251df6
GM
2772013-10-24 Glenn Morris <rgm@gnu.org>
278
279 * Makefile.in (abs_top_srcdir): Remove.
280 (update-subdirs): Use relative path to update-subdirs.
281
6be0e22b
EZ
2822013-10-24 Eli Zaretskii <eliz@gnu.org>
283
284 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
285 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
286 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
287 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 288
50b5b857
MA
2892013-10-24 Michael Albinus <michael.albinus@gmx.de>
290
291 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
292 (ert-test-skipped): New error.
293 (ert-skip, ert-stats-skipped): New defuns.
294 (ert--skip-unless): New macro.
295 (ert-test-skipped): New struct.
296 (ert--run-test-debugger, ert-test-result-type-p)
297 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
298 (ert--stats-set-test-and-result, ert-char-for-test-result)
299 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 300 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 301 Handle skipped tests. (Bug#9803)
50b5b857 302
6f317c2f
GM
3032013-10-24 Glenn Morris <rgm@gnu.org>
304
e43817c1
GM
305 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
306
6f317c2f
GM
307 * Makefile.in (abs_top_srcdir): New, set by configure.
308 (update-subdirs): Correct build-aux location.
309
369bbf71
DG
3102013-10-24 Dmitry Gutov <dgutov@yandex.ru>
311
8297b2cf
DG
312 * vc/vc.el (vc-print-root-log): Always set `default-directory'
313 value, whether we could auto-deduce `backend', or not.
314
369bbf71
DG
315 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
316 with parameters" example. Simplify the "is it block or is it
317 hash" check, but also make it more thorough.
318
d5f1282f
MF
3192013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
320
321 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
322
bc4aaa31
SM
3232013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
324
03d44565
SM
325 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
326 { if it is hanging.
327
bc4aaa31
SM
328 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
329 :before ";".
330
f493ff19
JB
3312013-10-23 Jed Brown <jed@59A2.org> (tiny change)
332
333 * progmodes/compile.el (compilation-directory-matcher)
334 (compilation-page-delimiter):
335 Support GNU Make-4.0 directory quoting. (Bug#15678)
336
c744a3b9
LL
3372013-10-23 Leo Liu <sdl.web@gmail.com>
338
339 * ido.el (ido-tidy): Handle read-only text.
340
b8e3b0a9
GM
3412013-10-23 Glenn Morris <rgm@gnu.org>
342
343 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
344 (emacs, compile, compile-always):
345 Quote entities that might contain whitespace.
346 (custom-deps, finder-data, autoloads): Use abs_lisp.
347 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
348 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
349 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
350
ee4282cd
DG
3512013-10-23 Dmitry Gutov <dgutov@yandex.ru>
352
bc4aaa31
SM
353 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
354 Use `following-char'.
7790a270 355
ee4282cd 3562013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
357
358 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
359 * progmodes/ruby-mode.el (ruby-smie-rules):
360 Remove corresponding workaround. Fix indentation rule of ";" so it
361 also applies when ";" is the parent.
362
d40a46d7
XF
3632013-10-22 Xue Fuqiao <xfq.free@gmail.com>
364
365 * frame.el (display-screens, display-pixel-height)
366 (display-pixel-width, display-mm-width, display-backing-store)
367 (display-save-under, display-planes, display-color-cells)
7790a270
SM
368 (display-visual-class, display-monitor-attributes-list):
369 Mention the optional ‘display’ argument in doc strings.
d40a46d7 370
a0f143c9
MG
3712013-10-22 Michael Gauland <mikelygee@amuri.net>
372
373 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
374 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
375
18cacc39
DG
3762013-10-21 Dmitry Gutov <dgutov@yandex.ru>
377
378 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
379 TODO. Add "." after " @ ".
380 (ruby-smie--at-dot-call): New function. Checks if point at method
381 call with explicit target.
382 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
383 to the method name tokens when it precedes them.
384 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
385 (ruby-smie-rules): Add rule for indentation before and after "."
386 token.
387
df74c4be
SM
3882013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
389
c6dab55f
SM
390 * textmodes/remember.el (remember-diary-extract-entries):
391 Avoid add-to-list.
392
df74c4be
SM
393 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
394 an instruction.
395
8c1ae481
DG
3962013-10-21 Dmitry Gutov <dgutov@yandex.ru>
397
cfef16c0
DG
398 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
399 (ruby-smie--implicit-semi-p): Add new operator chars.
400
8c1ae481
DG
401 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
402 `smie-down-list'.
403 (ruby-smie--args-separator-p): Check that there's no newline
404 between method call and its arguments.
405
87756ca9
AM
4062013-10-20 Alan Mackenzie <acm@muc.de>
407
408 Allow comma separated lists after Java "implements".
409
df74c4be
SM
410 * progmodes/cc-engine.el (c-backward-over-enum-header):
411 Parse commas.
87756ca9
AM
412 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
413 from a "disallowed" list in enum fontification.
414
c25f8957
JB
4152013-10-20 Johan Bockgård <bojohan@gnu.org>
416
df74c4be 417 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 418
c25f8957
JB
419 * progmodes/verilog-mode.el (verilog-mode): Don't set
420 comment-indent-function globally.
421
aca5fcdc
JD
4222013-10-20 Jan Djärv <jan.h.d@swipnet.se>
423
5f161884
JD
424 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
425 Move Info menu item creation to ns-win.el.
426
427 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
428 in menu bar.
429
aca5fcdc
JD
430 * menu-bar.el: Move GNUStep specific menus...
431
432 * term/ns-win.el (ns-initialize-window-system): ... to here.
433
914b7f98
SM
4342013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * simple.el (newline): Only run post-self-insert-hook when
437 called interactively.
438
846ffe77
JB
4392013-10-19 Johan Bockgård <bojohan@gnu.org>
440
441 * icomplete.el (icomplete-with-completion-tables): Add :version.
442
033f22dd
AM
4432013-10-19 Alan Mackenzie <acm@muc.de>
444
445 Fix fontification bugs with constructors and const.
446
447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
448 CASE 2) Remove the check for the absence of a suffix construct
449 after a function declaration with only types (no identifiers) in
450 the parentheses. Also, accept a function declaration with just a
451 type inside the parentheses, if this type can be positively
452 recognised as such, or if a prefix keyword like "explicit" nails
453 down the construct as a declaration.
454
58ce0cfc
EZ
4552013-10-19 Eli Zaretskii <eliz@gnu.org>
456
457 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
458 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
459 the problem whereby selecting a menu item that leads to a
460 minibuffer prompt moves the cursor out of the minibuffer window,
461 making it hard to type at the prompt. Suggested by Stefan Monnier
462 <monnier@iro.umontreal.ca>.
463
50e28e7d
JD
4642013-10-19 Jan Djärv <jan.h.d@swipnet.se>
465
466 * menu-bar.el: Don't make Services menu.
467
7deed4bf
RS
4682013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
469
470 * ffap.el: Handle "/usr/include/c++/<version>" directories.
471 (ffap-alist): Use ffap-c++-mode for c++-mode.
472 (ffap-c++-path): New variable.
473 (ffap-c++-mode): New function.
474
7bcb455b
JVJ
4752013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
476
477 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
478
f0ff1cd5
MA
4792013-10-18 Michael Albinus <michael.albinus@gmx.de>
480
481 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
482 introduced on 2013-09-08, which results in an infinite loop
483 requesting a password.
484
d64da4b7
GM
4852013-10-18 Glenn Morris <rgm@gnu.org>
486
487 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
488
ea89ff08
WS
4892013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
490
491 Sync with upstream verilog-mode revision 1a6ecec7.
492 * progmodes/verilog-mode.el (verilog-mode-version): Update.
493 (verilog-mode-release-date): Remove.
494 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
495 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
496 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
497 (verilog-auto-tieoff-ignore-regexp)
498 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
499 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
500 (verilog-signals-with, verilog-dir-cache-preserving)
501 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
502 Doc fixes.
503 (verilog-case-fold): New option, to control case folding in
504 regexp searches, bug597.
505 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
506 (verilog-string-match-fold, verilog-in-paren-count)
507 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
508 (verilog-at-close-struct-p): New functions.
509 (verilog-beg-block-re-ordered, verilog-extended-case-re)
510 (verilog-forward-sexp, verilog-set-auto-endcomments):
511 (verilog-leap-to-case-head): Handle "unique0" case.
512 (verilog-in-constraint-re): New constant.
513 (verilog-keywords, verilog-type-font-keywords):
514 Add some SystemVerilog 1800-2012 keywords.
515 (verilog-label-be): Remove unimplemented argument, bug669.
516 (verilog-batch-execute-func): When batch expanding clear
517 create-lockfiles to prevent spurious user locks when a file ends
518 up not changing.
519 (verilog-calculate-indent, verilog-calc-1)
520 (verilog-at-close-constraint-p, verilog-at-constraint-p)
521 (verilog-do-indent): Fix indentation of nested constraints
522 and structures.
523 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
524 (verilog-auto-inst-param): Use verilog-string-match-fold.
525 (verilog-read-inst-module-matcher):
526 Fix AUTOINST on gate primitives with #1.
527 (verilog-read-decls): Fix double-declaring user-defined typed signals.
528 Reads all user-defined typed variables.
529 (verilog-read-defines): Fix reading definitions inside comments, bug647.
530 (verilog-signals-matching-regexp)
531 (verilog-signals-not-matching-regexp, verilog-auto):
532 Respect verilog-case-fold.
533 (verilog-diff-report): Fix line count.
534 (verilog-auto-assign-modport): Remove unused local `modi'.
535 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
536 better handle multidimensional arrays.
537 Fix packed array ports misadding bit index in AUTOINST, bug637.
538 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
539 to not double-declare existing outputs and inputs, respectively.
540 (verilog-template-map): Bind U to verilog-sk-uvm-component.
541 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
542 (verilog-sk-uvm-component): New skeleton.
543 (verilog-submit-bug-report): Add verilog-case-fold,
544 remove verilog-mode-release-date.
545
ef566920
BR
5462013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
547
548 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
549 as before.
550
29df8a0b
RT
5512013-10-18 Reuben Thomas <rrt@sc3d.org>
552
553 * textmodes/remember.el (remember): set buffer-offer-save in
554 remember buffers (bug#13566).
555
04a19a79
DC
5562013-10-18 Daniel Colascione <dancol@dancol.org>
557
558 When evaluating forms in ielm, direct standard output to ielm
559 buffer. Add new ielm-return-for-effect command. Remove trailing
560 whitespace throughout.
561
562 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
563 (ielm-return-for-effect): New command.
564 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
565 (ielm-eval-input): Accept optional `for-effect' parameter.
566 Bind `standard-output' to stream we create using
04a19a79
DC
567 `ielm-standard-output-impl'. Suppress printing result when
568 `for-effect'.
569 (ielm-standard-output-impl): New function.
570 (inferior-emacs-lisp-mode): Explain new features in documentation.
571
4c1f03ef
MA
5722013-10-17 Michael Albinus <michael.albinus@gmx.de>
573
574 Code cleanup.
575
576 * net/tramp.el (tramp-debug-message): Do not check for connection
577 buffer.
578 (tramp-message): Use "vector" connection property.
579
580 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
581 (tramp-equal-remote, tramp-eshell-directory-change)
582 * net/tramp-adb.el (tramp-adb-handle-copy-file)
583 (tramp-adb-handle-rename-file)
584 * net/tramp-cmds.el (tramp-list-remote-buffers)
585 (tramp-cleanup-connection, tramp-cleanup-this-connection)
586 * net/tramp-compat.el (tramp-compat-process-running-p)
587 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
588 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
589 (tramp-gvfs-handle-rename-file)
590 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
591 (tramp-set-file-uid-gid)
592 * net/tramp-smb.el (tramp-smb-handle-copy-file)
593 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
594 of `file-remote-p'.
595
596 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
597 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
598 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
599 (tramp-gw-open-network-stream): Suppress unrelated traces.
600
601 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
602 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
604 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
605 connection property.
606
607 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 608 persistency file.
4c1f03ef
MA
609
610 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
611 Refactor common code. Improve debug message.
612 (tramp-maybe-open-connection)
613 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
614 connection buffer too early.
615
616 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
617 from `tramp-smb-actions-with-acl'.
618 (tramp-smb-actions-set-acl): New defconst.
619 (tramp-smb-handle-copy-directory)
620 (tramp-smb-action-get-acl): New defun, renamed from
621 `tramp-smb-action-with-acl'.
622 (tramp-smb-action-set-acl): New defun.
623 (tramp-smb-handle-set-file-acl): Rewrite.
624
642eb8b6
GM
6252013-10-17 Glenn Morris <rgm@gnu.org>
626
627 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
628
85527ff3
SM
6292013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
630
921c1d62
SM
631 * skeleton.el (skeleton-newline): Remove.
632 (skeleton-internal-1): Use (insert "\n") instead.
633
e333fb10
SM
634 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
635 let-bindings.
636
85527ff3
SM
637 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
638 forward-sexp-function while we redo its job (bug#15613).
639
c8722a97
JB
6402013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
641
642 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
643 represented by lists.
644
7a550bbb
GM
6452013-10-16 Glenn Morris <rgm@gnu.org>
646
647 * tmm.el (tmm--history): New dynamic variable.
648 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
649
f19da8ad
MA
6502013-10-16 Michael Albinus <michael.albinus@gmx.de>
651
652 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
653 (tramp-smb-errors): Add error messages.
654 (tramp-smb-actions-with-acl): New defconst.
655 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
656 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
657 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
658 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
659 (tramp-smb-get-stat-capability): Fix tests.
660
a24b9961
DK
6612013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
662
663 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
664 (bug#15580).
665
62ad85e6
GM
6662013-10-16 Glenn Morris <rgm@gnu.org>
667
0283d6b0
GM
668 * ansi-color.el (ansi-color-drop-regexp):
669 Add 1J, 1K, 2K. (Bug#15617)
670
012e2f9f
GM
671 * files.el (hack-local-variables--warned-lexical): New.
672 (hack-local-variables):
673 Warn about misplaced lexical-binding. (Bug#15616)
674
62ad85e6
GM
675 * net/eww.el (eww-render): Always set eww-current-url,
676 and update header line. (Bug#15622)
677 (eww-display-html): ... Rather than just doing it here.
678
6456c0ea
EZ
6792013-10-15 Eli Zaretskii <eliz@gnu.org>
680
681 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
682 menu navigations commands.
683
c2de5588
DK
6842013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
685
686 * progmodes/subword.el (subword-capitalize): Be careful when
687 the search for [[:alpha:]] fails (bug#15580).
688
ccd4a783
EZ
6892013-10-14 Eli Zaretskii <eliz@gnu.org>
690
691 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
692 to commands that scroll the menu.
693
1eda1d8d
DG
6942013-10-14 Dmitry Gutov <dgutov@yandex.ru>
695
c2de5588
DK
696 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
697 Handle methods ending with `?' and `!'.
1eda1d8d 698
e70181b8
AM
6992013-10-14 Akinori MUSHA <knu@iDaemons.org>
700
701 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
702 `japanese-cp932' to `cp932' to fix the problem where saving a
703 source file written in Shift_JIS twice would end up having
704 `coding: japanese-cp932' which Ruby could not recognize.
705 (ruby-mode-set-encoding): Add support for encodings mapped to nil
706 in `ruby-encoding-map'.
707 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
708 doesn't need to be explicitly declared in magic comment.
709 (ruby-encoding-map): Add type declaration for better customize UI.
710
9148ee92
GM
7112013-10-13 Glenn Morris <rgm@gnu.org>
712
a5d38e34
GM
713 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
714 Occur buffers are read-only. http://bugs.debian.org/720775
715
9148ee92
GM
716 * emacs-lisp/authors.el (authors-fixed-entries):
717 Comment out old alpha stuff.
718
a9ba094b
DG
7192013-10-13 Dmitry Gutov <dgutov@yandex.ru>
720
721 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
722 to `after-save-hook' instead of `before-save-hook'.
723 (ruby-mode-set-encoding): Use the value of coding system used to
724 write the file. Call `basic-save-buffer-1' after modifying the
725 buffer.
726
7a068717
AM
7272013-10-13 Alan Mackenzie <acm@muc.de>
728
729 Fix indentation/fontification of Java enum with
730 "implements"/generic.
731
c2de5588
DK
732 * progmodes/cc-engine.el (c-backward-over-enum-header):
733 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
734 (c-inside-bracelist-p): Uses new function above.
735 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
736 function above.
737 (c-font-lock-enum-tail): Uses new function above.
738
85b64f02
KH
7392013-10-13 Kenichi Handa <handa@gnu.org>
740
741 * international/mule-cmds.el (select-safe-coding-system): Remove a
742 superfluous condition in chekcing whether a coding system is safe
743 or not.
744
fc7f501b
OK
7452013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
746
747 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
748
fdcb2049
AP
7492013-10-13 Andreas Politz <politza@hochschule-trier.de>
750
751 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
752
8c106d17
GM
7532013-10-13 Glenn Morris <rgm@gnu.org>
754
feab892d
GM
755 * menu-bar.el (menu-bar-update-buffers):
756 Unify Buffers menu prompt string. (Bug#15576)
757
b22d0686
GM
758 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
759
8c106d17
GM
760 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
761 Add some entries.
762 (authors-fixed-entries): Use accented form of name.
763
1b12c797
SM
7642013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
765
650fa7bf 766 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 767 method calls (bug#15594).
650fa7bf
SM
768 (ruby-smie--args-separator-p): New function.
769 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
770 recognize paren-free method calls.
771
1b12c797
SM
772 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
773 internals of universal-argument.
774
029619c8
EZ
7752013-10-11 Eli Zaretskii <eliz@gnu.org>
776
777 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
778 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
779 dropped menu on second mouse click on the menu bar.
029619c8 780
dd070019
SM
7812013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
784 (explicit-shell-file-name): Declare.
785 (sh--vars-before-point, sh--cmd-completion-table): New functions.
786 (sh-completion-at-point-function): New function.
787 (sh-mode): Use it.
788 (sh-smie--keyword-p): Remove unused argument.
789 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
790 vars.
791 (sh-set-shell): Always setup SMIE, even if we use the
792 old indentation code.
793
0922b826
DG
7942013-10-11 Dmitry Gutov <dgutov@yandex.ru>
795
b68e2926
DG
796 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
797 cases of ? and =.
798 (ruby-smie-rules): Simplify the "do" rule. The cases when the
799 predicate would return nil are almost non-existent.
800 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
801
0922b826
DG
802 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
803 cache also after commands that modify the buffer but don't move
804 point.
805
ee041f2d
SM
8062013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * env.el (substitute-env-in-file-name): New function.
809 (substitute-env-vars): Extend the meaning of the optional arg.
810
a5dab159
EZ
8112013-10-10 Eli Zaretskii <eliz@gnu.org>
812
813 * term/w32-win.el (dynamic-library-alist): Define separate lists
814 of GIF DLLs for versions before and after 5.0.0 of giflib.
815 (Bug#15531)
816
db138698
JT
8172013-10-10 João Távora <joaotavora@gmail.com>
818
819 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
820 not locked, use last revision and current source as
821 defaults. (Bug#15569)
822
2f6e161e
MY
8232013-10-10 Masatake YAMATO <yamato@redhat.com>
824
825 * menu-bar.el (menu-bar-open): Don't use popup-menu if
826 menu-bar is hidden.
827
6c8413fc
MR
8282013-10-10 Martin Rudalics <rudalics@gmx.at>
829
830 * window.el (pop-to-buffer-same-window): Fix doc-string.
831 (Bug#15492)
832
20832de0
SM
8332013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
836
c6e8ae77
AC
8372013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
838
839 * calendar/icalendar.el (icalendar-import-file):
840 Fix interactive spec. (Bug#15482)
841
9db13baf
GM
8422013-10-10 Glenn Morris <rgm@gnu.org>
843
9271e90e
GM
844 * desktop.el (desktop-save): Default to saving in .emacs.d,
845 since PWD is no longer in desktop-path by default. (Bug#15319)
846
9db13baf
GM
847 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
848 now that text mode has a menu with the same entry.
849 (menu-bar-text-mode-auto-fill): Remove now unused func.
850 * textmodes/text-mode.el (text-mode-map):
851 Use auto-fill help text from menu-bar.el.
852
a0be396a 8532013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
854
855 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
856
2edcd3c7
JL
8572013-10-09 Juri Linkov <juri@jurta.org>
858
859 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
860 instead of this-command-keys. Add universal-argument-more and
861 universal-argument-minus to the list of prefix commands. (Bug#15568)
862
574411d0
GM
8632013-10-09 Glenn Morris <rgm@gnu.org>
864
14afa541
GM
865 * vc/vc-svn.el (vc-svn-create-repo):
866 Expand paths in file://... url. (Bug#15446)
867
574411d0
GM
868 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
869 Add some entries.
870 (authors): Remove unused local variables.
871
79804536
SM
8722013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * profiler.el: Create a more coherent calltree from partial backtraces.
875 (profiler-format): Hide the tail with `invisible' so that C-s can still
876 find the hidden elements.
877 (profiler-calltree-depth): Don't recurse so enthusiastically.
878 (profiler-function-equal): New hash-table-test.
879 (profiler-calltree-build-unified): New function.
880 (profiler-calltree-build): Use it.
881 (profiler-report-make-name-part): Indent the calltree less.
882 (profiler-report-mode): Add visibility specs for profiler-format.
883 (profiler-report-expand-entry, profiler-report-toggle-entry):
884 Expand the whole subtree when provided with a prefix arg.
885
238150c8
DG
8862013-10-09 Dmitry Gutov <dgutov@yandex.ru>
887
888 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
889 iuwu-mod token.
890 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
891 hanging iuwu-mod token.
892 (ruby-smie--forward-token): Do not include a dot after a token in
893 that token.
894 (ruby-smie--backward-token): Likewise.
895
b0949cc4
JL
8962013-10-08 Juri Linkov <juri@jurta.org>
897
898 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
899 to isearch-other-control-char.
900 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
901 and isearch-post-command-hook to post-command-hook.
902 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
903 and isearch-post-command-hook from post-command-hook.
904 (isearch-unread-key-sequence)
905 (isearch-reread-key-sequence-naturally)
906 (isearch-lookup-scroll-key, isearch-other-control-char)
907 (isearch-other-meta-char): Remove functions.
908 (isearch-pre-command-hook, isearch-post-command-hook):
909 New functions based on isearch-other-meta-char rewritten
910 relying on the new behavior of overriding-terminal-local-map
911 that does not replace the local keymaps any more. (Bug#15200)
912
4ed77415
EZ
9132013-10-08 Eli Zaretskii <eliz@gnu.org>
914
915 Support menus on text-mode terminals.
916 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
917 functionality.
918
919 * tooltip.el (tooltip-mode): Don't error out on TTYs.
920
c2de5588
DK
921 * menu-bar.el (popup-menu, popup-menu-normalize-position):
922 Move here from mouse.el.
4ed77415
EZ
923 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
924 and arrow keys.
925 (tty-menu-navigation-map): New map for TTY menu navigation.
926
927 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
928
929 * frame.el (display-mouse-p): Report text-mode mouse as available
930 on w32.
931 (display-popup-menus-p): Report availability if mouse is
932 available; don't condition on window-system.
933
934 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
935 (tty-menu-selected-face): New faces.
936
b7d5bd82
TL
9372013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
938
06286513
SM
939 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
940 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
941 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
942 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
943 New constants.
944 (lisp-mode-variables): New `elisp' argument.
945 (emacs-lisp-mode): Use it.
946 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
947 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
948
b7d5bd82
TL
949 * indent.el: Use lexical-binding.
950 (indent-region): Add progress reporter.
951 (tab-stop-list): Make it implicitly extend to infinity by repeating the
952 last step.
953 (indent--next-tab-stop): New function to implement this behavior.
954 (tab-to-tab-stop, move-to-tab-stop): Use it.
955
9562013-10-08 Teemu Likonen <tlikonen@iki.fi>
957
958 * indent.el (indent-rigidly--current-indentation): New function.
959 (indent-rigidly-map): New var.
960 (indent-rigidly): Use it to provide interactive mode (bug#8196).
961
5ea75d23
BG
9622013-10-08 Bastien Guerry <bzg@gnu.org>
963
964 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
965
cc5da1ec
SM
9662013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
967
8ffa1a0b
SM
968 * progmodes/perl-mode.el: Use lexical-binding.
969 Remove redundant :group args.
970 (perl-nochange): Change default to be closer to other major modes's
971 standard behavior.
972 (perl-indent-line): Don't consider text on current line as a
973 valid beginning of function from which to indent.
974
f2223371
SM
975 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
976 with more than one argument (bug#15538).
977
44256060
SM
978 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
979
cc5da1ec
SM
980 * vc/pcvs.el: Use lexical-binding.
981 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
982 environment of `eval'.
983 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
984 than a list of expressions. Adjust callers.
985 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
986
0ea1599d
DG
9872013-10-07 Dmitry Gutov <dgutov@yandex.ru>
988
989 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 990 case of the dot in a chained method call being on the following line.
0ea1599d 991
da3e5ebb
SM
9922013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
993
2abb4e65
SM
994 * electric.el (electric-indent-inhibit): New var.
995 (electric-indent-post-self-insert-function): Use it.
996 * progmodes/python.el (python-mode): Set it.
997
d2e0e795
SM
998 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
999 open braces.
1000
1001 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1002
bdc6b4c8
SM
1003 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1004 (css-mode): Use electric-indent-chars.
1005
da3e5ebb
SM
1006 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1007 (font-lock-beg, font-lock-end): Move before first use.
1008 (nxml-mode): Use syntax-propertize-function.
1009 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1010 (nxml-extend-after-change-region): Remove.
1011 * nxml/xmltok.el: Use lexical-binding.
1012 (xmltok-save): Use `declare'.
1013 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1014 * nxml/nxml-util.el: Use lexical-binding.
1015 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1016 Use `declare'.
1017 * nxml/nxml-ns.el: Use lexical-binding.
1018 (nxml-ns-save): Use `declare'.
1019 (nxml-ns-prefixes-for): Avoid add-to-list.
1020 * nxml/rng-match.el: Use lexical-binding.
1021 (rng--ipattern): Use cl-defstruct.
1022 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1023 (rng-cons-group-after, rng-subst-group-after)
1024 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1025 Use closures instead of `(lambda...).
1026
f8f91d5d
MA
10272013-10-07 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1030 of BEG and END.
1031
da3e5ebb
SM
1032 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1033 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1034 (tramp-gvfs-handle-insert-file-contents): Remove function.
1035
da3e5ebb
SM
1036 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1037 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1038
1039 * net/trampver.el: Update release number.
1040
7ccae3b1
SM
10412013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1042
55ca2c0d
SM
1043 * progmodes/compile.el (compilation-parse-errors):
1044 Use compilation--put-prop.
1045 (compilation--ensure-parse): Check compilation-multiline.
1046
731fc3ae
SM
1047 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1048
da3e5ebb
SM
1049 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1050 lexical-binding.
a5833280 1051
2e7ba2c2
SM
1052 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1053
7ccae3b1
SM
1054 * progmodes/ruby-mode.el: Fix recently added tests.
1055 (ruby-smie-grammar): Add - and +.
1056 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1057 (ruby-smie--backward-id): New functions.
1058 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1059 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1060 any more.
1061
85698d63
LL
10622013-10-07 Leo Liu <sdl.web@gmail.com>
1063
1064 * register.el (register-preview-delay)
1065 (register-preview-functions): New variables.
1066 (register-read-with-preview, register-preview)
1067 (register-describe-oneline): New functions.
1068 (point-to-register, window-configuration-to-register)
1069 (frame-configuration-to-register, jump-to-register)
1070 (number-to-register, view-register, insert-register)
1071 (copy-to-register, append-to-register, prepend-to-register)
1072 (copy-rectangle-to-register): Use register-read-with-preview to
1073 read register. (Bug#15525)
1074
3986af6c
DS
10752013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1076
1077 * net/network-stream.el (network-stream-open-starttls): Don't add
1078 --insecure if it's already present, because that gnutls-cli
1079 rejects getting that parameter twice.
1080
5cd9cda9
DG
10812013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1082
1083 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1084 keyword, too.
1085
da9ea6d9
DG
10862013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1087
1088 * newcomment.el (comment-use-global-state): Change default value
1089 to t, mark obsolete (Bug#15251).
1090 (comment-beginning): In addition to `comment-to-syntax', check the
1091 value of `comment-use-global-state'.
1092
34d1a133
SM
10932013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1096 (ruby-comment-column): Follow the global default, by default.
1097 (ruby-smie-grammar): Add assignment syntax.
1098 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1099 open-paren, a comma, or a \.
1100 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1101 and line continuations.
1102 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1103 followed by implicit semi-colons. Add rule for string concatenation
1104 and for indentation at BOB.
1105 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1106
1107 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1108 calling next-sexp, since next-token may have skipped chars which
1109 next-sexp doesn't know should be skipped!
1110
6f6ab820
LL
11112013-10-05 Leo Liu <sdl.web@gmail.com>
1112
34d1a133
SM
1113 * progmodes/octave.el (octave-send-region):
1114 Call compilation-forget-errors.
6f6ab820 1115
34ca0f4c
XF
11162013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1117
1118 * vc/vc-svn.el (vc-svn-find-admin-dir):
1119 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1120 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1121 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1122 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1123
a27c1b72
SM
11242013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1127
258ab3bc
SM
11282013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * subr.el (read-passwd): Hide chars even when called within a context
1131 where after-change-functions is disabled (bug#15501).
1132 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1133 until we removed ourself from overriding-terminal-local-map.
1134
939fb29c
LL
11352013-10-04 Leo Liu <sdl.web@gmail.com>
1136
258ab3bc
SM
1137 * progmodes/octave.el (inferior-octave-mode):
1138 Call compilation-forget-errors.
939fb29c 1139
63bd7f35
XF
11402013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1141
1142 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1143
9e6229fa
MA
11442013-10-04 Michael Albinus <michael.albinus@gmx.de>
1145
1146 * net/secrets.el (secrets-create-collection): Add optional
1147 argument ALIAS. Use proper Label keyword. Append ALIAS as
1148 dbus-call-method argument. (Bug#15516)
1149
1dab32a3
LL
11502013-10-04 Leo Liu <sdl.web@gmail.com>
1151
1152 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1153 (inferior-octave-compilation-font-lock-keywords): New variables.
1154 (compilation-error-regexp-alist)
1155 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1156 (inferior-octave-mode): Use compilation-shell-minor-mode.
1157
6cad7ba3
JS
11582013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1159
1160 * minibuffer.el (completion--replace): Be careful that `end' might be
1161 a marker.
1162
acbadd00
DU
11632013-10-03 Daiki Ueno <ueno@gnu.org>
1164
1165 Add support for package signature checking.
1166 * emacs-lisp/package.el (url-http-file-exists-p)
1167 (epg-make-context, epg-context-set-home-directory)
1168 (epg-verify-string, epg-context-result-for)
1169 (epg-signature-status, epg-signature-to-string)
1170 (epg-check-configuration, epg-configuration)
1171 (epg-import-keys-from-file): Declare.
1172 (package-check-signature): New user option.
1173 (package-unsigned-archives): New user option.
1174 (package-desc): Add `signed' field.
1175 (package-load-descriptor): Set `signed' field if .signed file exists.
1176 (package--archive-file-exists-p): New function.
1177 (package--check-signature): New function.
1178 (package-install-from-archive): Check package signature.
1179 (package--download-one-archive): Check archive signature.
1180 (package-delete): Remove .signed file.
1181 (package-import-keyring): New command.
1182 (package-refresh-contents): Import default keyring.
1183 (package-desc-status): Add "unsigned" status.
1184 (describe-package-1, package-menu--print-info)
1185 (package-menu-mark-delete, package-menu--find-upgrades)
1186 (package-menu--status-predicate): Support "unsigned" status.
1187
adf2aa61
SM
11882013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1191 the new compilation scheme using the new byte-codes.
1192
1193 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1194 (byte-pophandler): New byte codes.
1195 (byte-goto-ops): Adjust accordingly.
1196 (byte-compile--use-old-handlers): New var.
1197 (byte-compile-catch): Use new byte codes depending on
1198 byte-compile--use-old-handlers.
1199 (byte-compile-condition-case--old): Rename from
1200 byte-compile-condition-case.
1201 (byte-compile-condition-case--new): New function.
1202 (byte-compile-condition-case): New function that dispatches depending
1203 on byte-compile--use-old-handlers.
1204 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1205 when we can.
1206
1207 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1208 Optimize under `condition-case' and `catch' if
1209 byte-compile--use-old-handlers is nil.
1210 (disassemble-offset): Handle new bytecodes.
1211
328a8179
SM
12122013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * subr.el (error): Use `declare'.
1215 (decode-char, encode-char): Use advertised-calling-convention instead
1216 of the docstring to discourage use of the `restriction' arg.
1217
15a1e936
DU
12182013-10-03 Daiki Ueno <ueno@gnu.org>
1219
1220 * epg.el (epg-verify-file): Add a comment saying that it does not
1221 notify verification error as a return value nor a signal.
1222 (epg-verify-string): Ditto.
1223
376f862a
KR
12242013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1225
1226 * progmodes/compile.el (compilation-start): Try globbing the arg to
1227 `cd' (bug#15417).
1228
a2f93a5f
MA
12292013-10-02 Michael Albinus <michael.albinus@gmx.de>
1230
1231 Sync with Tramp 2.2.8.
1232
1233 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1234 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1235 * net/trampver.el: Update release number.
1236
0daa0804
JD
12372013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1238
1239 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1240 and default-process-coding-system for darwin only.
1241
abd1ae34
SM
12422013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1245
be4e325d
MH
12462013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1247
1248 * vc/vc-git.el (vc-git-grep): Disable pager.
1249
e9155c4a
DG
12502013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1251
494e898b
DG
1252 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1253 Use :url instead of :homepage, as per
1254 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1255
e9155c4a
DG
1256 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1257 non-nil, use `syntax-ppss' (Bug#15251).
1258
481a8e0f
RS
12592013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1260
be4e325d
MH
1261 * progmodes/octave.el (inferior-octave-startup-file):
1262 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1263
056453c6
DG
12642013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1265
be4e325d
MH
1266 * emacs-lisp/package.el (package-desc-from-define):
1267 Accept additional arguments as plist, convert them to an alist and store
1268 them in the `extras' slot.
056453c6
DG
1269 (package-generate-description-file): Convert extras alist back to
1270 plist and append to the `define-package' form arguments.
1271 (package--alist-to-plist): New function.
1272 (package--ac-desc): Add `extras' slot.
1273 (package--add-to-archive-contents): Check if the archive-contents
1274 vector is long enough, and if it is, pass its `extras' slot value
1275 to `package-desc-create'.
1276 (package-buffer-info): Call `lm-homepage', pass the returned value
1277 to `package-desc-from-define'.
1278 (describe-package-1): Render the homepage button (Bug#13291).
1279
be4e325d
MH
1280 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1281 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1282
832966e5
JD
12832013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1284
1285 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1286 and default-process-coding-system to utf-8-unix (Bug#15402).
1287
6cfe977d
XF
12882013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1289
1290 * subr.el (looking-back): Do not recommend using looking-back.
1291
38de11bd
AM
12922013-09-28 Alan Mackenzie <acm@muc.de>
1293
1294 Fix indentation/fontification of Java enum with "implements".
1295
1296 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1297 regexp which matches "implements", etc., in Java.
1298 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1299 specifier clauses coming after "enum".
1300 * progmodes/cc-fonts.el (c-font-lock-declarations)
1301 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1302 after "enum".
1303
1610938f
JD
13042013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1305
1306 * faces.el (region): Change ns_selection_color to
1307 ns_selection_fg_color, add ns_selection_bg_color.
1308
e090f499
LL
13092013-09-28 Leo Liu <sdl.web@gmail.com>
1310
4d2e94d1
LL
1311 * progmodes/octave.el (inferior-octave-completion-table)
1312 (inferior-octave-completion-at-point): Minor tweaks.
1313
e090f499
LL
1314 * textmodes/ispell.el (ispell-lookup-words): Rename from
1315 lookup-words. (Bug#15460)
1316 (lookup-words): Obsolete.
1317 (ispell-complete-word, ispell-command-loop): All uses changed.
1318
7e138a62
RS
13192013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1320
1321 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1322 (octave-mode-menu): Add octave-send-buffer.
1323 (octave-send-buffer): New function.
1324
5af5ed08
RS
13252013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1326
1327 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1328 octave-lookfor.
1329 (octave-mode-menu): Add octave-lookfor.
1330 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1331 octave-lookfor.
1332 (octave-lookfor): New function.
1333
3b7b2692
SM
13342013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1335
1336 * emacs-lisp/cl-macs.el:
1337 (cl--loop-destr-temps): Remove.
1338 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1339 its convention.
1340 (cl--loop-set-iterator-function): New function.
1341 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1342 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1343 Bind `it' with `let' instead of substituting it with `cl-subst'.
1344 (cl--unused-var-p): New function.
1345 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1346 Eliminate some unused variable warnings (bug#15326).
1347
529fb53f
TH
13482013-09-27 Tassilo Horn <tsdh@gnu.org>
1349
1350 * doc-view.el (doc-view-scale-reset): Rename from
1351 `doc-view-reset-zoom-level'.
1352 (doc-view-scale-adjust): New command.
1353 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1354 `doc-view-scale-adjust'.
1355
0550c95a
TH
13562013-09-26 Tassilo Horn <tsdh@gnu.org>
1357
1358 * doc-view.el (doc-view-reset-zoom-level): New command.
1359 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1360 zoom commands (bug#15466).
1361
6950f152
KH
13622013-09-26 Kenichi Handa <handa@gnu.org>
1363
1364 * international/quail.el (quail-help): Make it not a command.
1365
39587580
LL
13662013-09-26 Leo Liu <sdl.web@gmail.com>
1367
1368 * minibuffer.el (completion-all-sorted-completions): Make args
1369 optional as they are.
1370
00578659
DC
13712013-09-25 Daniel Colascione <dancol@dancol.org>
1372
1373 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1374 specs are and that they're not evaluated.
1375
0c173878
SS
13762013-09-24 Sam Steingold <sds@gnu.org>
1377
1378 * midnight.el (clean-buffer-list-kill-regexps)
1379 (clean-buffer-list-kill-buffer-names): Update for the new Man
1380 buffer naming which includes the object name.
1381
84998447
SM
13822013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1385 (eshell-parse-command, eshell-parse-pipeline): Use it since
1386 eshell-separate-commands requires a dynamic scoped var.
1387 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1388
33215353
LL
13892013-09-23 Leo Liu <sdl.web@gmail.com>
1390
1391 * autoinsert.el (auto-insert-alist): Make the value of
1392 lexical-binding match its file setting.
1393
57b16162
JB
13942013-09-23 Juanma Barranquero <lekktu@gmail.com>
1395
c8af4e67
JB
1396 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1397
57b16162
JB
1398 * autoarg.el (autoarg-kp-digit-argument):
1399 * electric.el (Electric-command-loop):
1400 * kmacro.el (kmacro-step-edit-insert):
1401 Do not set universal-argument-num-events.
1402
7186ba60
LL
14032013-09-22 Leo Liu <sdl.web@gmail.com>
1404
1405 * files.el (interpreter-mode-alist): Add octave.
1406
ece15004
AM
14072013-09-21 Alan Mackenzie <acm@muc.de>
1408
1409 C++: fontify identifier in declaration following "public:" correctly.
1410 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1411 to match "public", etc.
1412 (c-decl-prefix-re): Add ":" into the C++ value.
1413 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1414 bit. Add a check for a ":" preceded by "public", etc.
1415
75d83e22
EZ
14162013-09-21 Eli Zaretskii <eliz@gnu.org>
1417
1418 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1419 recognized by GDB 7.5 and later.
1420
d052d3bd
XF
14212013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1422
1423 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1424
31dca772
R
14252013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * subr.el (internal--call-interactively): New const.
1428 (called-interactively-p): Use it (bug#3984).
1429
98ccf24e
XF
14302013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1431
1432 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1433 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1434 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1435
c39cc7d1
SM
14362013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1439 (eshell-ls-orig-insert-directory): Remove.
1440 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1441 (eshell-ls-use-in-dired): Use advice-add/remove.
1442 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1443 Add `orig-fun' arg for use in :around advice.
1444 Make it check (redundantly) eshell-ls-use-in-dired.
1445
9a0289a2
GM
14462013-09-19 Glenn Morris <rgm@gnu.org>
1447
a2c501b8
GM
1448 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1449
c440407a
GM
1450 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1451
9a0289a2
GM
1452 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1453
85e05915
MA
14542013-09-19 Michael Albinus <michael.albinus@gmx.de>
1455
1456 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1457 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1458 (tramp-get-remote-python): New defuns.
1459 (tramp-get-remote-uid-with-perl)
1460 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1461 contributed by yary <not.com@gmail.com> (tiny change).
1462 (tramp-get-remote-uid-with-python)
1463 (tramp-get-remote-gid-with-python): New defuns. Python code
1464 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1465 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1466
ce503312
GM
14672013-09-19 Glenn Morris <rgm@gnu.org>
1468
f7544773
GM
1469 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1470
72fd2877
GM
1471 * eshell/em-unix.el (eshell-remove-entries):
1472 Rename argument to avoid name-clash with global `top-level'.
1473
336b5a56
GM
1474 * eshell/esh-proc.el (eshell-kill-process-function):
1475 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1476 (eshell-reset-after-proc): Remove unused arg `proc'.
1477
57a3a53d
GM
1478 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1479 (directory-files-and-attributes): Mark unused arg.
1480
3261d4af
GM
1481 * eshell/em-unix.el (eshell-remove-entries):
1482 Remove unused arg `path'. Update callers.
1483
8e51b5d0
GM
1484 * eshell/em-hist.el (eshell-hist-parse-arguments):
1485 Remove unused arg `silent'. Update callers.
1486
ce503312
GM
1487 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1488 Fix (f)boundp mix-up.
1489
1490 * eshell/em-smart.el (eshell-smart-scroll-window)
1491 (eshell-disable-after-change):
336b5a56 1492 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1493
ee3ce8a7
AM
14942013-09-18 Alan Mackenzie <acm@muc.de>
1495
1496 Fix fontification of type when followed by "const".
1497 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1498 "known" types from fontification.
1499
ec9177ba
GM
15002013-09-18 Glenn Morris <rgm@gnu.org>
1501
7bb3e768
GM
1502 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1503 (chart-face-list): Drop Emacsen without display-color-p.
1504
5148da15
GM
1505 * net/eww.el (libxml-parse-html-region): Declare.
1506 (eww-display-html): Explicit error if no libxml2 support.
1507
2f68e157
GM
1508 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1509
9019d095
GM
1510 * image.el (image-type-from-buffer, image-multi-frame-p):
1511 Remove --without-x warning/error.
67645389 1512
5f30349b 1513 * mouse.el (mouse-yank-primary):
45069b2e 1514 * term.el (term-mouse-paste):
5f30349b
GM
1515 Reorder to silence --without-x compilation.
1516
cd8edbbe
GM
1517 * mpc.el (doc-view-mode): Silence --without-x compilation.
1518
8a78544e
GM
1519 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1520 Silence --without-x compilation.
1521
12679bfd
GM
1522 * progmodes/gud.el (gud-find-file, gud-mode):
1523 Silence --without-x compilation.
1524 (tooltip-mode): Declare.
30810a05 1525
f0047cb9
GM
1526 * wdired.el (dired-backup-overwrite): Remove declaration.
1527 (wdired-mode-map): Add doc string.
1528
e740f9d2
GM
1529 * custom.el (x-get-resource): Declare.
1530
92d77c89
GM
1531 * eshell/em-glob.el (ange-cache):
1532 * eshell/em-unix.el (ange-cache): Declare.
1533
76e69577
GM
1534 * faces.el (x-display-list, x-open-connection, x-get-resource):
1535 Declare.
7e58af4b
GM
1536
1537 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1538 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1539 Declare.
76e69577 1540
4bd4c0af 1541 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1542
ffb82dbd
GM
1543 * net/gnutls.el (gnutls-log-level): Declare.
1544
986ed135
GM
1545 * net/shr.el (image-size, image-animate): Declare.
1546
e740f9d2
GM
1547 * simple.el (font-info): Declare.
1548
d2f3e9f8
GM
1549 * subr.el (x-popup-dialog): Declare.
1550
047a1a4c
GM
1551 * term/common-win.el (x-select-enable-primary)
1552 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1553 Declare.
1554
f4a1d572
GM
1555 * term/ns-win.el (x-handle-args): Declare.
1556
e843de77
GM
1557 * term/x-win.el (x-select-enable-clipboard): Declare.
1558
5fa89513
GM
1559 * term/w32-win.el (create-default-fontset): Declare.
1560
38702b5b
GM
1561 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1562 Declare.
1563
e740f9d2
GM
1564 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1565 (fit-frame-to-buffer): Explicit error if --without-x.
1566 (mouse-autoselect-window-select): Silence compiler.
1567
49a053fc
GM
1568 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1569
1570 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1571 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1572 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1573 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1574 Remove unused local variables.
1575
1576 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1577
ec9177ba
GM
1578 * textmodes/two-column.el: Make 2C-split work for --without-x.
1579 (scroll-bar-columns): Autoload.
1580 (top-level): Require fringe when compiling.
1581
9f25cb77
LL
15822013-09-18 Leo Liu <sdl.web@gmail.com>
1583
1584 * subr.el (add-hook): Robustify to handle closure as well.
1585
2b42da98
GM
15862013-09-17 Glenn Morris <rgm@gnu.org>
1587
1588 * simple.el (messages-buffer-mode-map): Unbind "g".
1589
e8b66a6a
SM
15902013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1591
9c0ad4f7
SM
1592 * help-mode.el (help-mode-finish): Use derived-mode-p.
1593 Remove obsolete highlighting.
1594
7a806dfb
SM
1595 * play/life.el (life-mode): Use define-derived-mode. Derive from
1596 special-mode.
1597 (life): Let-bind inhibit-read-only.
1598 (life-setup): Avoid `setq'. Use `life-mode'.
1599
96dbf5a8
SM
1600 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1601 which should not be needed any more.
1602 (package-menu-refresh, package-menu-describe-package): Use user-error.
1603
e8b66a6a
SM
1604 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1605 (eshell-post-rewrite-command-hook): Make obsolete.
1606 (eshell-parse-command): Simplify.
1607 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1608 (eshell--cmd): Declare.
1609 (eshell-parse-pipeline): Remove unused var `final-p'.
1610 Pass a dynvar to eshell-post-rewrite-command-hook.
1611 Implement the new eshell-post-rewrite-command-function.
1612 (eshell-invoke-directly): Remove unused arg `input'.
1613 * eshell/esh-io.el (eshell-io-initialize):
1614 Use eshell-post-rewrite-command-function (bug#15399).
1615 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1616 adjust to new calling convention.
1617 (eshell-create-handles): Rename args to avoid clashing with dynvar
1618 `standard-output'.
1619
90582f05
GM
16202013-09-17 Glenn Morris <rgm@gnu.org>
1621
1622 * simple.el (messages-buffer-mode): New major mode.
1623 (messages-buffer): New function.
1624 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1625 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1626 (ert-run-test): Use `messages-buffer' function.
90582f05 1627 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1628 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1629 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1630
39eb0cb5 16312013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1632
1633 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1634
1f1e06e2
SM
1635 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1636
70568a90
SM
16372013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1638
504a0381
SM
1639 * icomplete.el (icomplete-in-buffer): New var.
1640 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1641 vars and replace them with functions.
1642 (icomplete-minibuffer-setup): Adjust accordingly.
1643 (icomplete--completion-table, icomplete--completion-predicate)
1644 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1645 New functions.
1646 (icomplete-forward-completions, icomplete-backward-completions)
1647 (icomplete-simple-completing-p, icomplete-exhibit)
1648 (icomplete-completions): Use them.
1649 (icomplete--in-region-buffer): New var.
1650 (icomplete--in-region-setup): New function.
1651 (icomplete-mode): Use it.
1652
70568a90
SM
1653 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1654 (bug#15379).
1655 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1656 return args and options.
1657 (eshell-eval-using-options): Use the new return value of
1658 eshell--do-opts to set the options's vars in their scope.
1659 (eshell--set-option): Rename from eshell-set-option.
1660 Add arg `opt-vals'.
1661 (eshell--process-option): Rename from eshell-process-option.
1662 Add arg `opt-vals'.
1663 (eshell--process-args): Use an `opt-vals' alist to store the options's
1664 values during their processing and return them additionally to the
1665 remaining args.
1666
578c21bc
DG
16672013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1668
1669 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1670 continuation character an operator, as far as indentation is
1671 concerned (Bug#15369).
1672
c089653d
MR
16732013-09-15 Martin Rudalics <rudalics@gmx.at>
1674
1675 * window.el (window--state-put-2): Don't process buffer state
1676 when buffer doesn't exist any more (Bug#15382).
1677
1e53bb4b
GM
16782013-09-15 Glenn Morris <rgm@gnu.org>
1679
30753242
GM
1680 * eshell/em-unix.el (eshell/rm):
1681 Make -f ignore missing files. (Bug#15373)
1682
1e53bb4b
GM
1683 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1684 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1685 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1686
0d8863b3
GM
16872013-09-14 Glenn Morris <rgm@gnu.org>
1688
1689 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1690
d3fc6549
GM
16912013-09-13 Glenn Morris <rgm@gnu.org>
1692
1693 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1694 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1695
fcd42c11
DA
16962013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1697
1698 * frame.el (x-focus-frame): Mark as declared in frame.c.
1699
7830899f
SM
17002013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * ls-lisp.el: Use advice-add.
1703 (original-insert-directory): Remove.
1704 (ls-lisp--insert-directory): Rename from insert-directory; add
1705 `orig-fun' argument.
1706 (insert-directory): Advise.
1707
84387cd2
EZ
17082013-09-13 Eli Zaretskii <eliz@gnu.org>
1709
1710 * term.el (term-emulate-terminal): Decode the command string
1711 before passing it to term-command-hook. (Bug#15337)
1712
35ffc6ba
GM
17132013-09-13 Glenn Morris <rgm@gnu.org>
1714
5c3f9bcc
GM
1715 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1716
2ada368a
GM
1717 * eshell/esh-ext.el (eshell-search-path): Declare.
1718
fcef2e13
GM
1719 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1720 Otherwise an error occurs if eshell-dirs module not loaded.
1721
35ffc6ba
GM
1722 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1723
35c3d36e
MA
17242013-09-13 Michael Albinus <michael.albinus@gmx.de>
1725
1726 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1727 `tramp-check-proper-host'. Check for a valid method name.
1728
1729 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1730 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1731 * net/tramp-sh.el (tramp-maybe-open-connection):
1732 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1733
1734 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1735 also for hash values.
1736
ae5e4c48
SM
17372013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1738
379add74
SM
1739 * term/ns-win.el (parameters): Don't declare as dynamic.
1740 (before-make-frame-hook): Don't add ineffective function.
1741
ae5e4c48
SM
1742 * eshell/*.el: Use lexical-binding (bug#15231).
1743
b5623270
KH
17442013-09-12 Kenichi Handa <handa@gnu.org>
1745
ae5e4c48 1746 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1747
30213927
GM
17482013-09-12 Glenn Morris <rgm@gnu.org>
1749
be94d713 1750 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1751 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1752
44915370
GM
1753 * subr.el (do-after-load-evaluation): Also give compiler warnings
1754 when obsolete files are used (except by obsolete files).
1755
a6ae021f
GM
1756 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1757 in the status output, assume `filename' is the first. (Bug#15322)
1758
40e64f0c
GM
1759 * vc/vc.el (vc-deduce-fileset): Doc fix.
1760
16d9f896
GM
1761 * calc/calc-help.el (Info-goto-node):
1762 * progmodes/cperl-mode.el (Info-find-node):
1763 * vc/ediff.el (Info-goto-node): Update declarations.
1764
dea01c6e
GM
1765 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1766
759880bf 1767 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1768 (vc-bzr-pull): Require vc-dispatcher.
1769 * vc/vc-git.el (vc-compilation-mode): Declare.
1770 (vc-git-pull): Require vc-dispatcher.
1771
08d66420
GM
1772 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1773
30b626e9
GM
1774 * progmodes/octave.el (help-button-action): Declare.
1775
8c05cb10
GM
1776 * shell.el (shell-directory-tracker): Output error as a message
1777 rather than just returning it as a string.
1778 (shell-process-pushd): Remove useless use of message.
1779
30213927
GM
1780 * dframe.el (dframe-timer-fn):
1781 * files.el (dir-locals-read-from-file):
1782 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1783 (mpc-format):
1784 * reveal.el (reveal-post-command):
1785 * saveplace.el (load-save-place-alist-from-file):
1786 * shell.el (shell-resync-dirs):
1787 * w32-common-fns.el (x-get-selection-value):
1788 * emacs-lisp/copyright.el (copyright-find-copyright):
1789 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1790 * emulation/tpu-edt.el (tpu-copy-keyfile):
1791 * play/bubbles.el (bubbles--mark-neighbourhood):
1792 * progmodes/executable.el
1793 (executable-make-buffer-file-executable-if-script-p):
1794 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1795
d3b049e6
SM
17962013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1797
170266d0
SM
1798 Cleanup Eshell to rely less on dynamic scoping.
1799 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1800 last-value, and ext-command here. Bind `args' closer to `body'.
1801 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1802 (eshell--args): Declare new dynamic var.
1803 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1804 last-value, and ext-command. Pass `args' to `body'.
1805 (eshell-process-args): Bind eshell--args.
1806 (eshell-set-option): Use eshell--args.
1807 * eshell/eshell.el (eshell): Use derived-mode-p.
1808 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1809 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1810 (eshell-glob-function): Declare.
1811 * eshell/esh-util.el: Require cl-lib.
1812 (eshell-read-hosts-file): Avoid add-to-list.
1813 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1814 `err'.
1815 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1816 Declare.
1817 (eshell/diff): Remove unused var `err'.
1818 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1819 `killflag'.
1820 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1821 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1822 first use.
1823 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1824 Move declaration before first use.
1825 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1826 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1827 rely on cl-return.
1828
56834f3b
GM
18292013-09-12 Glenn Morris <rgm@gnu.org>
1830
1831 * term/ns-win.el (global-map): Remove binding for ispell-next,
1832 deleted 1999-05-29. (Bug#15357)
1833
5c91a2b8
GM
18342013-09-11 Glenn Morris <rgm@gnu.org>
1835
da712f22
GM
1836 * echistory.el (electric-command-history): Remove call to deleted func.
1837
512e4cdc
GM
1838 * play/landmark.el (landmark-mode): Fix typos.
1839
d3506ca5
GM
1840 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1841 Check cvs-sort-ignore-file is bound.
1842
5c91a2b8
GM
1843 * savehist.el: No need for cl when compiling on Emacs.
1844
feeff482
SM
18452013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1846
656bd483
SM
1847 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1848 (bug#15338).
d3b049e6
SM
1849 (eshell-self-insert-command, eshell-send-invisible):
1850 Remove unused argument.
656bd483
SM
1851 (eshell-handle-control-codes): Remove unused var `orig'.
1852 Avoid delete-backward-char.
1853
feeff482
SM
1854 * files.el (set-auto-mode): Simplify a bit further.
1855
2a08047a
GM
18562013-09-11 Glenn Morris <rgm@gnu.org>
1857
1858 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1859 (set-auto-mode): Don't regexp-quote elements.
1860 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1861 * progmodes/cc-mode.el (interpreter-mode-alist):
1862 * progmodes/ruby-mode.el (interpreter-mode-alist):
1863 Revert previous change.
1864
34675540
SM
18652013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1b3b87df
SM
1867 * play/snake.el (snake-mode):
1868 * play/mpuz.el (mpuz-mode):
1869 * play/landmark.el (lm-mode):
1870 * play/blackbox.el (blackbox-mode):
1871 * play/5x5.el (5x5-mode):
1872 * obsolete/options.el (Edit-options-mode):
1873 * net/quickurl.el (quickurl-list-mode):
1874 * net/newst-treeview.el (newsticker-treeview-mode):
1875 * mail/rmailsum.el (rmail-summary-mode):
1876 * mail/mspools.el (mspools-mode):
1877 * locate.el (locate-mode):
1878 * ibuffer.el (ibuffer-mode):
1879 * emulation/ws-mode.el (wordstar-mode):
1880 * emacs-lisp/debug.el (debugger-mode):
1881 * array.el (array-mode):
1882 * net/eudc.el (eudc-mode): Use define-derived-mode.
1883 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1884 Move initialization into declaration.
1885 (mairix-searches-mode): Use define-derived-mode.
1886 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1887 (eudc-edit-hotlist): Use dolist.
1888 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1889 (Man-mode): Use define-derived-mode.
1890 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1891 (Info-edit-mode): Use define-derived-mode.
1892 (Info-cease-edit): Use Info-mode.
1893 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1894 into declaration.
1895 (eshell-mode): Use define-derived-mode.
1896 * chistory.el (command-history-mode-map): Rename from
1897 command-history-map.
1898 (command-history-mode): Use define-derived-mode.
da712f22 1899 (Command-history-setup): Remove function.
1b3b87df
SM
1900 * calc/calc.el (calc-trail-mode-map): New var.
1901 (calc-trail-mode): Use define-derived-mode.
1902 (calc-trail-buffer): Set calc-main-buffer manually.
1903 * bookmark.el (bookmark-insert-annotation): New function.
1904 (bookmark-edit-annotation): Use it.
1905 (bookmark-edit-annotation-mode): Make it a proper major mode.
1906 (bookmark-send-edited-annotation): Use derived-mode-p.
1907 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1908 closer to its ideal place. Use \' to match EOS.
1909
34675540
SM
1910 * profiler.el (profiler-calltree-find): Use function-equal.
1911
6a5c15d9
GM
19122013-09-10 Glenn Morris <rgm@gnu.org>
1913
1af4c220
GM
1914 * files.el (interpreter-mode-alist): Convert to regexps.
1915 (set-auto-mode): Adapt for this. (Bug#15306)
1916 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1917 Comment out unused variable.
1918 * progmodes/cc-mode.el (interpreter-mode-alist):
1919 * progmodes/python.el (interpreter-mode-alist):
1920 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1921 * progmodes/sh-script.el (sh-set-shell):
1922 No longer use interpreter-mode-alist to get list of shells.
1923
6a5c15d9
GM
1924 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1925
8c27f5ff
SM
19262013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1927
02ef6c1a 1928 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1929 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1930 Bind switch-frame explicitly. Replace universal-argument-minus with
1931 a conditional binding.
1932 (universal-argument-num-events, saved-overriding-map): Remove.
1933 (restore-overriding-map): Remove.
1934 (universal-argument--mode): Rename from save&set-overriding-map,
1935 and rewrite.
1936 (universal-argument, universal-argument-more, negative-argument)
1937 (digit-argument): Adjust accordingly.
1938 (universal-argument-minus): Remove.
1939 (universal-argument-other-key): Remove.
1940
8c27f5ff
SM
1941 * subr.el (with-demoted-errors): Add `format' argument.
1942
6480194c
MA
19432013-09-10 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1946 `tramp-cleanup-connection'.
1947
1948 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1949 parameters KEEP-DEBUG and KEEP-PASSWORD.
1950
1951 * net/tramp.el (tramp-file-name-handler):
1952 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1953 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1954 (tramp-maybe-open-connection):
8c27f5ff
SM
1955 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1956 Use `tramp-cleanup-connection'.
6480194c 1957
8c27f5ff
SM
1958 * net/tramp-sh.el (tramp-maybe-open-connection):
1959 Catch 'uname-changed inside the progress reporter.
6480194c 1960
e5e916d8
GM
19612013-09-10 Glenn Morris <rgm@gnu.org>
1962
9a2c9b47
GM
1963 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1964
e5e916d8
GM
1965 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1966 returns "alternate access method" in mode (eg "-rw-r--r--.").
1967
144e38fe
GM
19682013-09-08 Glenn Morris <rgm@gnu.org>
1969
1970 * saveplace.el (load-save-place-alist-from-file):
1971 Demote errors. (Bug#15305)
1972
af9ff9e8
MA
19732013-09-08 Michael Albinus <michael.albinus@gmx.de>
1974
1975 Improve compatibility with older Emacsen, and XEmacs.
1976
1977 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1978 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1979 (with-tramp-progress-reporter): Do not let-bind `result'.
1980 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1981 (tramp-handle-make-auto-save-file-name): New function, moved from
1982 tramp-sh.el.
1983
1984 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1985 for `make-auto-save-file-name'.
8c27f5ff
SM
1986 (tramp-adb--gnu-switches-to-ash):
1987 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1988
1989 * net/tramp-cache.el (tramp-cache-print): Call
1990 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1991
1992 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1993 bound. It isn't for XEmacs.
1994
8c27f5ff
SM
1995 * net/tramp-compat.el (tramp-compat-copy-file):
1996 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1997 (tramp-compat-replace-regexp-in-string): New defun.
1998
1999 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2000 for `make-auto-save-file-name'.
2001 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2002 `copy-file'.
2003 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2004 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2005 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2006
8c27f5ff
SM
2007 * net/tramp-gw.el (tramp-gw-open-network-stream):
2008 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2009
8c27f5ff
SM
2010 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2011 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2012 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2013 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2014 (tramp-sh-file-inotifywait-process-filter):
2015 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2016 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2017
2018 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2019 for `make-auto-save-file-name'.
8c27f5ff
SM
2020 (tramp-smb-handle-copy-directory):
2021 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2022 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2023 (tramp-smb-handle-copy-file): Improve error message.
2024 (tramp-smb-handle-rename-file): Rename directly only in case
2025 `newname' does not exist yet. This is a restriction of smbclient.
2026 (tramp-smb-maybe-open-connection): Rerun the function only when
2027 `auth-sources' is non-nil.
2028
0ca754d0
KH
20292013-09-08 Kenichi Handa <handa@gnu.org>
2030
2031 * international/characters.el: Set category "^" (Combining) for
2032 more characters.
2033
e8dd0787
AM
20342013-09-07 Alan Mackenzie <acm@muc.de>
2035
2036 Correctly fontify Java class constructors.
2037 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2038 in Java Mode.
2039 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2040 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2041 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2042 "typeless" declaration there.
2043
f2f248e7
RW
20442013-09-07 Roland Winkler <winkler@gnu.org>
2045
2046 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2047 field subtitle for entry type book.
2048
67982e2b
SM
20492013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * minibuffer.el: Make minibuffer-complete call completion-in-region
2052 rather than other way around.
2053 (completion--some, completion-pcm--find-all-completions):
2054 Don't delay signals when debugging.
2055 (minibuffer-completion-contents): Beware fields within the
2056 minibuffer contents.
2057 (completion-all-sorted-completions): Use defvar-local.
2058 (completion--do-completion, completion--cache-all-sorted-completions)
2059 (completion-all-sorted-completions, minibuffer-force-complete):
2060 Add args `beg' and `end'.
2061 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2062 (minibuffer-complete): Use completion-in-region.
2063 (completion-complete-and-exit): New fun, extracted from
2064 minibuffer-complete-and-exit.
2065 (minibuffer-complete-and-exit): Use it.
2066 (completion--complete-and-exit): Rename from
2067 minibuffer--complete-and-exit.
2068 (completion-in-region--single-word): New function, extracted from
2069 minibuffer-complete-word.
2070 (minibuffer-complete-word): Use it.
2071 (display-completion-list): Make `common-substring' argument obsolete.
2072 (completion--in-region): Call completion--in-region-1 instead of
2073 minibuffer-complete.
2074 (completion-help-at-point): Pass boundaries to
2075 minibuffer-completion-help as args rather than via an overlay.
2076 (completion-pcm--string->pattern): Use `any-delim'.
2077 (completion-pcm--optimize-pattern): New function.
2078 (completion-pcm--pattern->regex): Handle `any-delim'.
2079 * icomplete.el (icomplete-forward-completions)
2080 (icomplete-backward-completions, icomplete-completions):
2081 Adjust calls to completion-all-sorted-completions and
2082 completion--cache-all-sorted-completions.
2083 (icomplete-with-completion-tables): Default to t.
2084 * emacs-lisp/crm.el (crm--current-element): Rename from
2085 crm--select-current-element. Don't put an overlay but return the
2086 boundaries instead.
2087 (crm--completion-command): Take two new args to bind to the boundaries.
2088 (crm-completion-help): Adjust accordingly.
2089 (crm-complete): Use completion-in-region.
2090 (crm-complete-word): Use completion-in-region--single-word.
2091 (crm-complete-and-exit): Use completion-complete-and-exit.
2092
e17d94a5
SM
20932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2096 than dynamically.
2097
96727100
JL
20982013-09-06 Juri Linkov <juri@jurta.org>
2099
2100 * info.el (Info-display-images-node): When image file doesn't exist
2101 display text version of the image if it's provided in the Info file.
2102 Otherwise, display the location of missing image from SRC attribute.
2103 Add help-echo text property from ALT attribute. (Bug#15279)
2104
86cf7329
SM
21052013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2108 (edit-abbrevs-mode): Use define-derived-mode.
2109
2110 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2111 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2112 that it's defined.
2113 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2114 Use define-derived-mode.
2115
2116 * epg.el (epg-start-encrypt): Minor CSE simplification.
2117
816244a2
WX
21182013-09-06 William Xu <william.xwl@gmail.com>
2119
2120 * arc-mode.el: Add support for 7za (bug#15264).
2121 (archive-7z-program): New var.
2122 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2123 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2124 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2125
1486fa31
MA
21262013-09-06 Michael Albinus <michael.albinus@gmx.de>
2127
2128 Remove URL syntax.
2129
2130 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2131 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2132 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2133 (tramp-postfix-host-format, tramp-file-name-regexp)
2134 (tramp-completion-file-name-regexp)
2135 (tramp-completion-dissect-file-name)
2136 (tramp-handle-substitute-in-file-name): Remove 'url case.
2137 (tramp-file-name-regexp-url)
2138 (tramp-completion-file-name-regexp-url): Remove constants.
2139
39785324
GM
21402013-09-06 Glenn Morris <rgm@gnu.org>
2141
2142 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2143
1f896cb7
DG
21442013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2145
2146 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2147 keywords" below "here-doc beginnings" (Bug#15270).
2148
c0458e0b
SM
21492013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * subr.el (pop): Use `car-safe'.
2152 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2153 to detect unused `pop' return value.
2154
2155 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2156 var `block-regexp'.
2157 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2158 (python-fill-string): Remove unused var `marker'.
2159 (python-skeleton-add-menu-items): Remove unused var `items'.
2160
2161 * international/mule-cmds.el: Require CL.
2162 (find-coding-systems-for-charsets): Avoid add-to-list.
2163 (sanitize-coding-system-list): New function, extracted from
2164 select-safe-coding-system-interactively.
2165 (select-safe-coding-system-interactively): Use it.
2166 (read-input-method-name): Accept symbols for `default'.
2167
2168 * emacs-lisp/advice.el (defadvice): Add indent rule.
2169
6c42fc3e
DH
21702013-09-05 Daniel Hackney <dan@haxney.org>
2171
2172 * dired-x.el:
2173 * net/ange-ftp.el:
2174 * net/browse-url.el:
2175 * net/dbus.el:
2176 * net/eudc.el:
2177 * net/eudcb-ldap.el:
2178 * net/eww.el:
2179 * net/imap.el:
2180 * printing.el:
2181 * vc/ediff-diff.el:
2182 * vc/ediff-init.el:
2183 * vc/ediff-merg.el:
2184 * vc/ediff-mult.el:
2185 * vc/ediff-util.el:
2186 * vc/ediff-wind.el:
2187 * vc/ediff.el:
2188 * vc/emerge.el:
2189 * vc/pcvs.el:
2190 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2191 byte compiler. Remove some unused let-bound variables.
2192
4c528aab
SM
21932013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2196 a "ref-cell", since it gets better optimized (bug#14883).
2197
bd15c390
GM
21982013-09-05 Glenn Morris <rgm@gnu.org>
2199
2200 * progmodes/cc-awk.el (c-forward-sws): Declare.
2201
1c3ac2e5
GM
22022013-09-04 Glenn Morris <rgm@gnu.org>
2203
2204 * generic-x.el [rul-generic-mode]: Require cc-mode.
2205 (c++-mode-syntax-table): Declare.
2206 (rul-generic-mode-syntax-table): Init in the defvar.
2207
52b1cc79
SM
22082013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2209
c828af56
SM
2210 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2211 (vc-do-command, vc-set-async-update):
2212 * vc/vc-mtn.el (vc-mtn-dir-status):
2213 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2214 (vc-hg-pull, vc-hg-merge-branch):
2215 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2216 (vc-git-merge-branch):
2217 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2218 (vc-cvs-dir-status-files):
2219 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2220 (vc-bzr-dir-status-files):
2221 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2222 * vc/vc-annotate.el: Use lexical-binding.
2223 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2224 (vc-sentinel-movepoint): Declare.
2225 (vc-annotate): Don't use `goto-line'.
2226 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2227 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2228 (vc-sentinel-movepoint): Declare.
2229 * vc/vc-svn.el: Use lexical-binding.
2230 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2231 * vc/vc-sccs.el:
2232 * vc/vc-rcs.el: Use lexical-binding.
2233
abae272c
SM
2234 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2235 `deleted'. Don't drop errors silently.
2236
52b1cc79
SM
2237 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2238
63191d9f
XF
22392013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2240
2241 * vc/vc.el (vc-ignore): Rewrite.
2242 (vc-default-ignore): New function.
2243 (vc-default-ignore-completion-table): Use find-ignore-file.
2244
2245 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2246 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2247 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2248 Remove. Most code moved to vc.el.
2249
9d3f707c
SM
22502013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2251
abae272c 2252 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2253 * net/tramp-smb.el (tramp-smb-get-file-entries):
2254 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2255 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2256
fde38d49
SM
2257 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2258 Update call to it.
2259 (eww-change-select): Remove unused var `properties'.
2260 (eww-make-unique-file-name): Remove unused var `base'.
2261
2262 * finder.el (finder-compile-keywords): Don't mess with windows.
2263
84032db7
SM
2264 * calculator.el (calculator-funcall): Fix typo in last change.
2265
724f5e41
SM
2266 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2267
14b511d4
SM
2268 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2269 <pkg>-autoloads.el file stop us.
2270
9d3f707c 2271 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2272 warnings, and factor out common code.
9d3f707c 2273
88527bc0
DG
22742013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2275
2276 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2277 two-character operators and whether the character preceding them
2278 changes their meaning (Bug#15208).
2279
96edb677
FEG
22802013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2281
2282 Format code sent to Python shell for robustness.
9d3f707c
SM
2283 * progmodes/python.el (python-shell-buffer-substring):
2284 New function.
96edb677
FEG
2285 (python-shell-send-region, python-shell-send-buffer): Use it.
2286
95beaef3
MA
22872013-09-02 Michael Albinus <michael.albinus@gmx.de>
2288
2289 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2290 * net/tramp.el (tramp-user-error): ... here.
2291 (tramp-find-method, tramp-check-proper-host)
2292 (tramp-dissect-file-name, tramp-debug-message)
2293 (tramp-handle-shell-command):
2294 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2295 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2296
2297 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2298
f167c27b
MR
22992013-09-02 Martin Rudalics <rudalics@gmx.at>
2300
2301 * avoid.el (mouse-avoidance-point-position)
2302 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2303 returns nil.
2304
cd16c5f1
FEG
23052013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2306
2307 * progmodes/python.el (python-shell-completion-get-completions):
2308 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2309 (python-nav-if-name-main): New command.
cd16c5f1 2310
e73c3a0d
GM
23112013-09-01 Glenn Morris <rgm@gnu.org>
2312
f8ccce03
GM
2313 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2314 Avoid leading space in $wins. Otherwise the sed command used by
2315 eg compile-main ends up containing "/*.el". (Bug#15170)
2316
e73c3a0d
GM
2317 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2318
415f808e
GM
23192013-08-30 Glenn Morris <rgm@gnu.org>
2320
2321 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2322 Fix is-this-a-directory logic. (Bug#15220)
2323
f069bba8
SM
23242013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2325
112798c1
SM
2326 * textmodes/css-mode.el: Use SMIE.
2327 (css-smie-grammar): New var.
2328 (css-smie--forward-token, css-smie--backward-token)
2329 (css-smie-rules): New functions.
2330 (css-mode): Use them.
2331 (css-navigation-syntax-table): Remove var.
2332 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2333 (css-indent-calculate, css-indent-line): Remove functions.
2334
2335 Misc changes to reduce use of `(lambda...); and other cleanups.
2336 * cus-edit.el: Use lexical-binding.
2337 (customize-push-and-save, customize-apropos)
2338 (custom-buffer-create-internal): Use closures.
2339 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2340 * progmodes/ada-xref.el: Use setq.
2341 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2342 * dframe.el: Use lexical-binding.
2343 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2344 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2345 * descr-text.el: Use lexical-binding.
2346 (describe-text-widget, describe-text-sexp, describe-property-list):
2347 Use closures.
2348 * comint.el (comint-history-isearch-push-state): Use a closure.
2349 * calculator.el: Use lexical-binding.
2350 (calculator-number-to-string): Make it work with lexical-binding.
2351 (calculator-funcall): Same and use cl-letf.
2352
2da4c3ab
SM
2353 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2354 (lisp--company-doc-string, lisp--company-location): New functions.
2355 (lisp-completion-at-point): Use them to improve Company support.
2356
f069bba8
SM
2357 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2358 params of lambda expressions.
2359 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2360 (ruby-smie--opening-pipe-p): New function.
2361 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2362 symbols and matched |...| for formal params.
2363 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2364 from being treated as hanging. Handle "rescue".
2365
6758b6a8
GM
23662013-08-29 Glenn Morris <rgm@gnu.org>
2367
2368 * progmodes/cc-engine.el (c-pull-open-brace):
2369 Move definition before use.
2370
e8dfd197
SM
23712013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2374 are immutable. Don't use `unsafe' any more.
2375 (cl--defsubst-expand): Don't substitute at the same time as keeping
2376 a residual unused let-binding. Don't use `unsafe' any more.
2377
cc585c96
GM
23782013-08-29 Glenn Morris <rgm@gnu.org>
2379
ba579ea6
GM
2380 * calendar/cal-china.el (calendar-chinese-year-cache):
2381 Recenter on 2015.
2382
8201a87e
GM
2383 * nxml/nxml-util.el (nxml-debug-clear-inside):
2384 Use cl-loop rather than loop.
2385
6ee877c7
GM
2386 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2387
cc585c96
GM
2388 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2389
27be8d39
GM
23902013-08-28 Glenn Morris <rgm@gnu.org>
2391
397440a1
GM
2392 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2393
2bb762d4
GM
2394 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2395
27be8d39
GM
2396 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2397
2d69b99e
SM
23982013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2399
f663baa7
SM
2400 * simple.el (repeat-complex-command--called-interactively-skip):
2401 New function.
2402 (repeat-complex-command): Use it (bug#14136).
2403
dd4f8b74
SM
2404 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2405 (c-define-abbrev-table): Add `doc' argument.
2406 (c-mode-abbrev-table, c++-mode-abbrev-table)
2407 (objc-mode-abbrev-table, java-mode-abbrev-table)
2408 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2409 (awk-mode-abbrev-table): Use it.
2410 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2411 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2412 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2413 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2414 Move initialization into the declaration; and remove any
2415 autoload cookie.
2416
b58969f7
SM
2417 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2418 and dynamic let binding.
2419
4021d6a6
SM
2420 * vc/smerge-mode.el: Remove redundant :group args.
2421
2d69b99e
SM
2422 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2423 to load-path.
2424
274919fd
JL
24252013-08-28 Juri Linkov <juri@jurta.org>
2426
2427 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2428 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2429 (isearch-other-meta-char): Handle an undefined shifted printing
2430 character by downshifting it. (Bug#15200)
2431
121f8c95
JL
24322013-08-28 Juri Linkov <juri@jurta.org>
2433
2434 * isearch.el (isearch-search): Change regexp error message for
2435 non-regexp searches. (Bug#15166)
2436
50b13cde
PE
24372013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2438
2439 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2440 for portability to hosts where /bin/sh has problems.
2441
95888bca
SM
24422013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2445
bbe558f1
JL
24462013-08-27 Juri Linkov <juri@jurta.org>
2447
2448 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2449 in the keyboard macro. (Bug#15126)
2450
26f98a7d
JL
24512013-08-27 Juri Linkov <juri@jurta.org>
2452
2453 * isearch.el (isearch-quote-char): Comment out converting unibyte
2454 to multibyte, thus syncing with its `quoted-insert' counterpart.
2455 (Bug#15166)
2456
7c97d35e
MR
24572013-08-27 Martin Rudalics <rudalics@gmx.at>
2458
2459 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2460 argument in call of get-largest-window (Bug#15185).
2461 Reported by Stephen Leake.
7c97d35e 2462
a0b5606e 24632013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2464
2465 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2466
9e89d835
SM
24672013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2470 from a matcher-function unless there's no more matches (bug#15161).
2471
78fc2530
MA
24722013-08-26 Michael Albinus <michael.albinus@gmx.de>
2473
2474 * minibuffer.el: Revert change from 2013-08-20.
2475
2476 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2477 with text property `tramp-default', if appropriate.
2478 (tramp-check-proper-host): New defun.
2479 (tramp-dissect-file-name): Do not check hostname. Revert change
2480 of 2013-03-18.
2481 (tramp-backtrace): Make VEC-OR-PROC optional.
2482
2483 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2484 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2485 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2486 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2487 Apply `tramp-check-proper-host'.
78fc2530 2488
edca97cd
TH
24892013-08-26 Tassilo Horn <tsdh@gnu.org>
2490
2491 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2492 lambda expression in order to have `describe-variable' display it.
2493
df54bcbd
MA
24942013-08-26 Michael Albinus <michael.albinus@gmx.de>
2495
2496 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2497 BUF can be optional. (Bug#15186)
2498
eed99101
XF
24992013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2500
2501 * progmodes/flymake.el (flymake-get-real-file-name-function):
2502 Fix broken customization. (Bug#15184)
2503
b5eb9035
AM
25042013-08-25 Alan Mackenzie <acm@muc.de>
2505
8a51e842
AM
2506 Improve indentation of bracelists defined by macros (without "=").
2507
2508 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2509 expansion begins with "{", regard it as bracelist when it doesn't
2510 contain a ";".
2511
869455d4
AM
2512 Parse C++ inher-intro when there's a template split over 2 lines.
2513
2514 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2515 rigorously the search for "class" etc. followed by ":".
2516
2517 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2518 random languages a regexp which never matches rather than nil.
2519
b5eb9035
AM
2520 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2521
2522 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2523 (c-awk-regexp-one-line-possibly-open-char-list-re)
2524 (c-awk-one-line-possibly-open-regexp-re)
2525 (c-awk-one-line-non-syn-ws*-re): Remove.
2526 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2527 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2528 (c-awk-space*-unclosed-regexp-/-re): New constants.
2529 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2530 aren't regexp delimiters.
2531
2532 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2533 handling for a rare situation in AWK Mode involving unterminated
2534 strings/regexps.
2535
61611d54
GM
25362013-08-23 Glenn Morris <rgm@gnu.org>
2537
2d85dc34
GM
2538 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2539
cb8d2612
GM
2540 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2541
bb35f42f
GM
2542 * files.el (create-file-buffer): If the result would begin with
2543 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2544
b9808e77
SM
25452013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2546
e3a66363
SM
2547 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2548 text-properties (bug#15155).
2549
b9808e77
SM
2550 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2551 exist any more.
2552 (calc-keypad-redraw): Remove unused var `pad'.
2553 (calc-keypad-press): Remove unused var `menu'.
2554
7fd5f65e
MR
25552013-08-23 Martin Rudalics <rudalics@gmx.at>
2556
b9808e77
SM
2557 * window.el (display-buffer-pop-up-frame):
2558 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2559 use it as the new frame's buffer (Bug#15133).
2560
8352b530
SM
25612013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * calendar/timeclock.el: Minor cleanups.
2564 (timeclock-ask-before-exiting, timeclock-use-display-time):
2565 Use `symbol'.
2566 (timeclock-modeline-display): Define as alias before the
2567 actual definition.
2568 (timeclock-mode-line-display): Use define-minor-mode.
2569 (timeclock-day-list-template): Make it a function, add an argument.
2570 (timeclock-day-list-required, timeclock-day-list-length)
2571 (timeclock-day-list-debt, timeclock-day-list-span)
2572 (timeclock-day-list-break): Adjust calls accordingly.
2573
9f7b1925
SM
25742013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2577 Use read--expression so that completion works again.
2578
6e50e983
SS
25792013-08-21 Sam Steingold <sds@gnu.org>
2580
2581 Add rudimentary inferior shell interaction
2582 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2583 (sh-set-shell): Reset it.
9f7b1925
SM
2584 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2585 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2586
dbb0d350
SM
25872013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * align.el: Use lexical-binding.
2590 (align-region): Simplify accordingly.
2591
c88586a9
MA
25922013-08-20 Michael Albinus <michael.albinus@gmx.de>
2593
2594 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2595
2596 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2597 `non-essential' up.
2598
f95527c8
MA
25992013-08-17 Michael Albinus <michael.albinus@gmx.de>
2600
2601 * net/tramp.el:
2602 * net/tramp-adb.el:
2603 * net/tramp-cmds.el:
2604 * net/tramp-ftp.el:
2605 * net/tramp-gvfs.el:
2606 * net/tramp-gw.el:
2607 * net/tramp-sh.el: Don't wrap external variable declarations by
2608 `eval-when-compile'.
2609
4b5fe4ee
LMI
26102013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2611
2612 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2613 now that Emacs supports ImageMagick animations.
2614
13c366c9
MA
26152013-08-16 Michael Albinus <michael.albinus@gmx.de>
2616
2617 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2618 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2619
3dfc5cd6
MR
26202013-08-16 Martin Rudalics <rudalics@gmx.at>
2621
2622 * window.el (mouse-autoselect-window-select): Do autoselect when
2623 mouse pointer is on margin.
2624
4bbb4381
WP
26252013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2626
2627 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2628
3a2ddc2d
GM
26292013-08-16 Glenn Morris <rgm@gnu.org>
2630
e8bedf5a
GM
2631 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2632 Handle "Remote Directory" response of some clients. (Bug#15058)
2633
58c4682f
GM
2634 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2635 Tweak warning. (Bug#14926)
2636
57953f49
GM
2637 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2638 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2639
3a2ddc2d
GM
2640 * image-mode.el (image-mode-map): Add menu items to reverse,
2641 increase, decrease, reset animation speed.
2642 (image--set-speed, image-increase-speed, image-decrease-speed)
2643 (image-reverse-speed, image-reset-speed): New functions.
2644 (image-mode-map): Add bindings for speed commands.
2645
2646 * image.el (image-animate-get-speed, image-animate-set-speed):
2647 New functions.
2648 (image-animate-timeout): Respect image :speed property.
2649
10fa0ed3
SM
26502013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2653 previous line (bug#15101).
2654 (debugger-eval-expression, debugger-record-expression):
2655 Use read--expression (bug#15102).
2656
5d89d9d2
MA
26572013-08-15 Michael Albinus <michael.albinus@gmx.de>
2658
2659 Remove byte compiler warnings, visible when compiling with
2660 `byte-compile-force-lexical-warnings' set to t.
2661
2662 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2663 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2664 (tramp-handle-unhandled-file-name-directory)
2665 (tramp-handle-file-notify-add-watch, tramp-action-login)
2666 (tramp-action-succeed, tramp-action-permission-denied)
2667 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2668 arguments with "_".
2669
2670 * net/tramp-adb.el (tramp-adb-parse-device-names)
2671 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2672 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2673 (tramp-adb-handle-file-truename): Remove unused arguments.
2674
2675 * net/tramp-cache.el (tramp-flush-directory-property)
2676 (tramp-flush-connection-property, tramp-list-connections)
2677 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2678
10fa0ed3
SM
2679 * net/tramp-compat.el (tramp-compat-make-temp-file):
2680 Rename FILENAME to F.
5d89d9d2
MA
2681
2682 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2683 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2684 (tramp-zeroconf-parse-workstation-device-names)
2685 (tramp-zeroconf-parse-webdav-device-names)
2686 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2687
2688 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2689 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2690
2691 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2692 arguments.
2693 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2694 (tramp-sh-handle-insert-file-contents-literally)
2695 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2696 with "_".
2697 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2698 Remove unused variables.
2699
2700 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2701 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2702 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2703
2704 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2705 Make them a defconst.
2706 (tramp-uuencode-region): Remove unused variable.
2707
62f33bae
JB
27082013-08-14 Juanma Barranquero <lekktu@gmail.com>
2709
2710 * frameset.el (frameset--prop-setter): New function.
2711 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2712 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2713 parameter was already set in FILTERED. Doc fix.
2714 (frameset--record-minibuffer-relationships): Allow saving a
2715 minibufferless frame without its corresponding minibuffer frame.
2716 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2717 frame, if the frame id matches.
2718 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2719 frames before orphaned ones.
2720 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2721
c660a885
MR
27222013-08-14 Martin Rudalics <rudalics@gmx.at>
2723
2724 * window.el (window-make-atom): Don't overwrite parameter
2725 already present.
2726 (display-buffer-in-atom-window): Handle special case where we
2727 split an already atomic window.
2728 (window--major-non-side-window, display-buffer-in-side-window)
2729 (window--side-check): Ignore minibuffer window when walking
2730 window tree.
2731 (window-deletable-p): Return 'frame only if no other frame uses
2732 our minibuffer window.
2733 (record-window-buffer): Run buffer-list-update-hook.
2734 (split-window): Make sure window--check-frame won't destroy an
2735 existing atomic window in case the new window gets nested
2736 inside.
2737 (display-buffer-at-bottom): Ignore minibuffer window when
2738 walking window tree. Don't split a side window.
2739 (pop-to-buffer): Don't set-buffer here, the select-window call
2740 should do that.
2741 (mouse-autoselect-window-select): Autoselect only if we are in the
2742 text portion of the window.
2743
8259030d
LMI
27442013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2745
21c58ae2
LMI
2746 * net/shr.el (shr-parse-image-data): New function to grab both the
2747 data itself and the Content-Type.
2748 (shr-put-image): Use it.
2749
2750 * net/eww.el (eww-display-image): Ditto.
2751
8259030d
LMI
2752 * image.el (image-content-type-suffixes): New variable.
2753
ad756449
FEG
27542013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2755
2756 * progmodes/python.el (python-imenu--build-tree)
2757 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2758
f73f4ce6
XF
27592013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2760
2761 * simple.el (backward-word): Mention the optional argument.
2762
1f585e65
SM
27632013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * frameset.el (frameset--make): Rename constructor from make-frameset.
2766 (frameset-p, frameset-valid-p): Don't autoload.
2767 (frameset-valid-p): Use normal accessors.
2768
af1c6c84
GM
27692013-08-13 Glenn Morris <rgm@gnu.org>
2770
55e47f95
GM
2771 * progmodes/compile.el (compile-command): Tweak example in doc.
2772 * obsolete/scribe.el (scribe-mode):
2773 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2774
f0024d8c
GM
2775 * mail/feedmail.el (feedmail-confirm-outgoing)
2776 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2777
2778 * cus-start.el (truncate-partial-width-windows): Fix type.
2779
2780 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2781
af1c6c84
GM
2782 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2783
5514cc4c
SM
27842013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * emacs-lisp/timer.el (timer--time-setter): New function.
2787 (timer--time): Use it as gv-setter.
2788
2789 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2790 setter is not a symbol.
2791
7997a2f1
GJ
27922013-08-12 Grégoire Jadi <daimrod@gmail.com>
2793
2794 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2795 if sending fails. This makes debugging easier.
2796
01f1a9ab
JB
27972013-08-12 Juanma Barranquero <lekktu@gmail.com>
2798
2799 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2800 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2801 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2802
594a4307
EZ
28032013-08-12 Eli Zaretskii <eliz@gnu.org>
2804
2805 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2806
7a22490f 28072013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2808
2809 * format.el (format-annotate-function):
2810 Handle read-only text properties in the source. (Bug#14887)
2811
3e41a054
LMI
28122013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2813
5514cc4c
SM
2814 * net/eww.el (eww-display-html): Ignore coding system errors.
2815 One web site uses "utf-8lias" as the coding system.
3e41a054 2816
7ec326db
JB
28172013-08-11 Juanma Barranquero <lekktu@gmail.com>
2818
2819 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2820
5660113b
JB
28212013-08-10 Juanma Barranquero <lekktu@gmail.com>
2822
9a4ebc74
JB
2823 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2824 (tutorial--detailed-help): Remove unused local variables.
2825 (tutorial--save-tutorial-to): Use ignore-errors.
2826 (help-with-tutorial): Use looking-at-p.
2827
2828 * view.el (view-buffer-other-window, view-buffer-other-frame):
2829 Mark unused arguments.
2830
2831 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2832 (woman-select-symbol-fonts, woman, woman-find-file)
2833 (woman-insert-file-contents, woman-non-underline-faces):
2834 Use string-match-p.
2835 (woman1-unquote): Move declaration.
2836
2837 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2838 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2839 argument. Remove unused local variable.
2840 (xml-parse-elem-type): Use string-match-p.
2841 (xml-substitute-numeric-entities): Use ignore-errors.
2842
45fdb482
JB
2843 * calculator.el (calculator): Mark unused argument.
2844 (calculator-paste, calculator-quit, calculator-integer-p):
2845 Use ignore-errors.
2846 (calculator-string-to-number, calculator-decimal, calculator-exp)
2847 (calculator-op-or-exp): Use string-match-p.
2848
2849 * dired.el (dired-buffer-more-recently-used-p): Declare.
2850 (dired-insert-set-properties, dired-insert-old-subdirs):
2851 Use ignore-errors.
2852
2853 * dired-aux.el (dired-compress): Use ignore-errors.
2854 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2855 (dired-do-async-shell-command, dired-do-shell-command)
2856 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2857 (dired-insert-subdir-validate): Use string-match-p.
2858 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2859 (dired-add-entry): Use string-match-p, looking-at-p.
2860 (dired-insert-subdir-newpos): Remove unused local variable.
2861
2862 * filenotify.el (file-notify-callback): Remove unused local variable.
2863
2864 * filesets.el (filesets-error): Mark unused argument.
2865 (filesets-which-command-p, filesets-filter-dir-names)
2866 (filesets-directory-files, filesets-get-external-viewer)
2867 (filesets-ingroup-get-data): Use string-match-p.
2868
2869 * find-file.el (ff-other-file-name, ff-other-file-name)
2870 (ff-find-the-other-file, ff-cc-hh-converter):
2871 Remove unused local variables.
2872 (ff-get-file-name): Use string-match-p.
2873 (ff-all-dirs-under): Use ignore-errors.
2874
2875 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2876 (follow-select-if-visible): Remove unused local variable.
2877
2878 * forms.el (read-file-filter): Move declaration.
2879 (forms--make-format, forms--make-parser, forms-insert-record):
2880 Quote function with #'.
2881 (forms--update): Use string-match-p. Quote function with #'.
2882
2883 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2884 (help-make-xrefs): Use looking-at-p.
2885 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2886
2887 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2888 (ibuffer-confirm-operation-on): Use string-match-p.
2889
2890 * msb.el (msb-item-handler, msb-dired-item-handler):
2891 Mark unused arguments.
2892
2893 * ses.el (ses-decode-cell-symbol)
2894 (ses-kill-override): Remove unused local variable.
2895 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2896 (ses-load): Use ignore-errors, looking-at-p.
2897 (ses-jump-safe): Use ignore-errors.
2898 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2899
2900 * tabify.el (untabify, tabify): Mark unused arguments.
2901
2902 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2903 Mark unused argument.
2904 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2905 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2906
c880af52
JB
2907 * emacs-lisp/timer.el (timer--time): Define setter with
2908 gv-define-setter to avoid deprecation warning.
2909
5660113b 2910 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2911 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2912 (cmpl-statistics-block): Remove (body was commented out).
2913 All callers changed.
2914 (add-completions-from-buffer, load-completions-from-file):
2915 Remove unused variables.
2916
156aab80
JB
29172013-08-09 Juanma Barranquero <lekktu@gmail.com>
2918
5c5dee78
JB
2919 * filecache.el (file-cache-delete-file-list):
2920 Print message only when told so.
2921 (file-cache-files-matching): Use #' in mapconcat argument.
2922
156aab80
JB
2923 * ffap.el (ffap-url-at-point): Fix reference to variable
2924 thing-at-point-default-mail-uri-scheme.
2925
ad9dcd70
SM
29262013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2927
54bd972f
SM
2928 * subr.el (define-error): New function.
2929 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2930 error-file-not-found and define with define-error.
2931 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2932 and define with define-error.
2933 * userlock.el (file-locked, file-supersession):
2934 * simple.el (mark-inactive):
2935 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2936 * progmodes/ada-mode.el (ada-mode-errors):
2937 * play/life.el (life-extinct):
2938 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2939 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2940 * nxml/rng-util.el (rng-error):
2941 * nxml/rng-uri.el (rng-uri-error):
2942 * nxml/rng-match.el (rng-compile-error):
2943 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2944 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2945 * nxml/nxml-rap.el (nxml-scan-error):
2946 * nxml/nxml-outln.el (nxml-outline-error):
2947 * net/soap-client.el (soap-error):
2948 * net/gnutls.el (gnutls-error):
2949 * net/ange-ftp.el (ftp-error):
2950 * mpc.el (mpc-proc-error):
2951 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2952 (json-number-format, json-string-escape, json-string-format)
2953 (json-key-format, json-object-format):
2954 * jka-compr.el (compression-error):
2955 * international/quail.el (quail-error):
2956 * international/kkc.el (kkc-error):
2957 * emacs-lisp/ert.el (ert-test-failed):
2958 * calc/calc.el (calc-error, inexact-result, math-overflow)
2959 (math-underflow):
2960 * bookmark.el (bookmark-error-no-filename):
2961 * epg.el (epg-error): Define with define-error.
2962
0ea9e53a
SM
2963 * time.el (display-time-event-handler)
2964 (display-time-next-load-average): Don't call sit-for since it seems
2965 unnecessary (bug#15045).
2966
b0429158
SM
2967 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2968 Use #' instead of ' to quote functions.
2969 (checkdoc-output-mode): Use setq-local.
2970 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2971 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2972 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2973 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2974 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2975 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2976 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2977 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2978
ad9dcd70
SM
2979 * ido.el (ido-completion-help): Fix up compiler warning.
2980
77187e6f
JB
29812013-08-09 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * frameset.el (frameset-p): Add autoload cookie.
2984 (frameset--jump-to-register): New function, based on code moved from
2985 register.el.
2986 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2987
2988 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2989 (frameset-restore, frameset-save, frameset-session-filter-alist):
2990 Remove declarations.
2991 (register-alist): Doc fix.
2992 (frameset-to-register): Move to frameset.el.
2993 (jump-to-register, describe-register-1): Remove frameset-specific code.
2994
9d3aa82c
JB
29952013-08-08 Juanma Barranquero <lekktu@gmail.com>
2996
2997 * allout-widgets.el (allout-widgets-pre-command-business)
2998 (allout-widgets-post-command-business)
2999 (allout-widgets-after-change-handler)
3000 (allout-decorate-item-and-context, allout-set-boundary-marker)
3001 (allout-body-modification-handler)
3002 (allout-graphics-modification-handler): Mark ignored arguments.
3003 (allout-widgets-post-command-business)
3004 (allout-widgets-exposure-change-processor)
3005 (allout-widgets-exposure-undo-processor)
3006 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3007 (allout-parse-item-at-point, allout-decorate-item-guides)
3008 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3009 * allout.el (epa-passphrase-callback-function): Declare.
3010 (allout-overlay-insert-in-front-handler)
3011 (allout-overlay-interior-modification-handler)
3012 (allout-isearch-end-handler, allout-chart-siblings)
3013 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3014 (allout-yank-processing, allout-process-exposed)
3015 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3016 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3017 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3018 (lisp-indent-defform): Mark ignored arguments.
3019 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3020 (calculate-lisp-indent): Remove unused variables.
3021 * international/characters.el (indian-2-column, arabic-2-column)
3022 (tibetan): Mark ignored arguments.
3023 (use-cjk-char-width-table): Mark ignored arguments.
3024 Remove unused variables.
3025 * international/fontset.el (build-default-fontset-data)
3026 (x-compose-font-name, create-fontset-from-fontset-spec):
3027 Mark ignored arguments.
3028 (fontset-plain-name): Remove unused variables.
3029 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3030 (keyboard-coding-system): Mark ignored arguments.
3031 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3032 * help.el (resize-temp-buffer-window):
3033 * window.el (display-buffer-in-major-side-window)
3034 (display-buffer-in-side-window, display-buffer-in-previous-window):
3035 Remove unused variables.
3036 * isearch.el (isearch-forward-symbol):
3037 * version.el (emacs-bzr-version-bzr):
3038 * international/mule-cmds.el (current-language-environment):
3039 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3040 (x-handle-display):
3041 * term/pc-win.el (x-list-fonts, x-display-planes)
3042 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3043 (x-server-version, x-display-screens, x-display-mm-height)
3044 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3045 (x-selection-owner-p, x-own-selection-internal)
3046 (x-disown-selection-internal, x-get-selection-internal)
3047 (msdos-initialize-window-system):
3048 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3049 * term/x-win.el (x-handle-no-bitmap-icon):
3050 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3051 (vc-default-find-file-hook, vc-default-extra-menu):
3052 Mark ignored arguments.
3053
0ca3f70e
SM
30542013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3057 break-condition in the context of the debugged code (bug#12685).
3058
74c5d24c
CS
30592013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3060
3061 * comint.el:
3062 Do not use an overlay to highlight the last prompt. (Bug#14744)
3063 (comint-mode): Make comint-last-prompt buffer local.
3064 (comint-last-prompt): New variable.
3065 (comint-last-prompt-overlay): Remove. Superseded by
3066 comint-last-prompt.
0ca3f70e
SM
3067 (comint-snapshot-last-prompt, comint-output-filter):
3068 Use comint-last-prompt.
74c5d24c 3069
c03c02ee
JB
30702013-08-08 Juanma Barranquero <lekktu@gmail.com>
3071
a3738d20 3072 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3073 (frameset-save): Check validity of the resulting frameset.
3074
04263d23
XF
30752013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3076
3077 * ido.el (ido-record-command): Add doc string.
3078
76c5e5ab
JB
30792013-08-08 Juanma Barranquero <lekktu@gmail.com>
3080
3081 * frameset.el (frameset): Do not disable creation of the default
3082 frameset-p predicate. Doc fix.
3083 (frameset-valid-p): New function, copied from the old predicate-p.
3084 Add additional checks.
3085 (frameset-restore): Check with frameset-valid-p.
3086 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3087 (frameset-name, frameset-description, frameset-properties)
3088 (frameset-states): Add docstring.
f9dbf1cb
JB
3089 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3090 (frameset-filter-alist): Doc fixes.
76c5e5ab 3091
bd0c3c0b
JB
30922013-08-08 Juanma Barranquero <lekktu@gmail.com>
3093
3094 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3095
c735544c
SM
30962013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3099 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3100 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3101 (byte-compile-normal-call): Remove obsolescence check.
3102
2805a651
JB
31032013-08-08 Juanma Barranquero <lekktu@gmail.com>
3104
3677ffeb
JB
3105 * frameset.el (frameset-restore): Doc fix.
3106
2805a651
JB
3107 * register.el (frameset-frame-id, frameset-frame-with-id)
3108 (frameset-p, frameset-restore, frameset-save): Declare.
3109 (register-alist): Document framesets.
3110 (frameset-session-filter-alist): Declare.
3111 (frameset-to-register): New function.
3112 (jump-to-register): Implement jumping to framesets. Doc fix.
3113 (describe-register-1): Describe framesets.
3114
3115 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3116
a912c016
JB
31172013-08-07 Juanma Barranquero <lekktu@gmail.com>
3118
3119 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3120 Use lexical-binding.
3121
3122 * frameset.el (frameset): Use type vector, not list (incompatible
3123 change). Do not declare a new constructor, use the default one.
3124 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3125 `name' and `description', respectively, and add read-only slot
3126 `timestamp'. Doc fixes.
3127 (frameset-copy, frameset-persistent-filter-alist)
3128 (frameset-filter-alist, frameset-switch-to-gui-p)
3129 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3130 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3131 (frameset-filter-iconified, frameset-keep-original-display-p):
3132 Doc fixes.
3133 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3134 Rename from frameset-filter-(save|restore)-param. All callers changed.
3135 Doc fix.
3136 (frameset-p): Adapt to change to vector and be more thorough.
3137 Change arg name to OBJECT. Doc fix.
3138 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3139 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3140 All callers changed.
3141 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3142 All callers changed.
3143 (frameset--record-minibuffer-relationships): Rename from
3144 frameset--process-minibuffer-frames. All callers changed.
3145 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3146 Use new default constructor (again). Doc fix.
3147 (frameset--find-frame-if): Rename from `frameset--find-frame.
3148 All callers changed.
3149 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3150 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3151 Doc fix.
3152 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3153 PARAMETERS and WINDOW-STATE, respectively.
3154 (frameset-restore): Add new keyword argument PREDICATE.
3155 Reset frameset--target-display to nil. Doc fix.
3156
bb41480a
SM
31572013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3158
f001e98e
SM
3159 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3160 (bat-mode): Use it.
3161 (bat-mode-syntax-table): Mark \n as end-of-comment.
3162 (bat-font-lock-keywords): Remove comment rule.
3163
7679edb1
SM
3164 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3165 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3166
bb41480a
SM
3167 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3168 (byte-compile-callargs-warn): Use `push'.
3169 (byte-compile-arglist-warn): Ignore higher-order "calls".
3170 (byte-compile-file-form-autoload): Use `pcase'.
3171 (byte-compile-function-form): If quoting a symbol, check that it exists.
3172
cdc1ebb9
EZ
31732013-08-07 Eli Zaretskii <eliz@gnu.org>
3174
3175 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3176 and add a few popular commands found in batch files.
3177 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3178 (dos-mode): Doc fixes.
3179
312b1740
SM
31802013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3183 (dos-mode): Use setq-local. Add space after "rem".
3184 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3185 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3186
400a3178
AM
31872013-08-07 Arni Magnusson <arnima@hafro.is>
3188
3189 * progmodes/dos.el: New file.
3190 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3191 dos-mode.
3192
3b5c03d3
GM
31932013-08-06 Glenn Morris <rgm@gnu.org>
3194
3195 * calendar/calendar.el: Add new faces, and day-header-array.
3196 (calendar-weekday-header, calendar-weekend-header)
3197 (calendar-month-header): New faces.
3198 (calendar-day-header-construct): New function.
3199 (calendar-day-header-width): Also :set calendar-day-header-array.
3200 (calendar-american-month-header, calendar-european-month-header)
3201 (calendar-iso-month-header): Use calendar- faces.
3202 (calendar-generate-month):
3203 Use calendar-day-header-array for day headers; apply faces to them.
3204 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3205 (calendar-abbrev-construct): Add optional maxlen argument.
3206 (calendar-day-name-array): Doc fix.
3207 (calendar-day-name-array, calendar-abbrev-length)
3208 (calendar-day-abbrev-array):
3209 Also :set calendar-day-header-array, and maybe redraw.
3210 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3211 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3212 (calendar-day-name): Add option to use header array.
3213
ec6a2d7a
LMI
32142013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3215
3216 * net/shr.el (shr-render-td): Remove debugging.
3217 (shr-render-td): Make width computation consistent by defaulting
3218 all zero-width columns to 10 characters. This may not be optimal,
3219 but it's at least consistent.
2122cb6d
LMI
3220 (shr-make-table-1): Redo last change to fix the real problem in
3221 colspan handling.
ec6a2d7a 3222
ed4fd9c5
DA
32232013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3224
0ca3f70e
SM
3225 * files.el (cache-long-line-scans):
3226 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3227
64e22afe
JB
32282013-08-06 Juanma Barranquero <lekktu@gmail.com>
3229
024b38fc
JB
3230 * frameset.el (frameset, frameset-filter-alist)
3231 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3232 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3233 (frameset-compute-pos): Rename from frameset--compute-pos,
3234 and add docstring.
3235 (frameset-move-onscreen): Use frameset-compute-pos.
3236 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3237
64e22afe
JB
3238 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3239 Fix typos in docstrings.
3240
c8c2aca8
DA
32412013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3242
3243 * frame.el (get-other-frame): Tiny cleanup.
3244
1d237bba
JB
32452013-08-06 Juanma Barranquero <lekktu@gmail.com>
3246
8951efef
JB
3247 * vc/vc.el (vc-default-ignore-completion-table):
3248 Silence byte-compiler warning.
3249
307764cc
JB
3250 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3251 slot , which can indeed be nil.
3252 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3253 Move entry for `left' from persistent to live filter alist.
3254 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3255 Doc fixes.
3256 (frameset-filter-params): When restoring a frame, copy items added to
3257 `filtered', to avoid unwittingly modifying the original parameters.
3258 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3259 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3260
1d237bba
JB
3261 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3262 to use looking-at-p instead of looking-at. (Bug#15028)
3263
dc6c0eda
SM
32642013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 Revert introduction of isearch-filter-predicates (bug#14714).
3267 Rely on add-function instead.
3268 * isearch.el (isearch-filter-predicates): Rename it back to
3269 isearch-filter-predicate.
3270 (isearch-message-prefix): Use advice-function-mapc and advice
3271 properties to get the isearch-message-prefix.
3272 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3273 instead of run-hook-with-args-until-failure.
3274 (isearch-filter-visible): Not obsolete any more.
3275 * loadup.el: Preload nadvice.
3276 * replace.el (perform-replace): Revert to funcall
3277 instead of run-hook-with-args-until-failure.
3278 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3279 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3280 dired-isearch-filenames-toggle; make it into a proper minor mode.
3281 Use add/remove-function.
3282 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3283 Call the minor-mode rather than add/remove-hook.
3284 (dired-isearch-filter-filenames):
3285 Remove isearch-message-prefix property.
3286 * info.el (Info--search-loop): New function, extracted from Info-search.
3287 Funcall isearch-filter-predicate instead of
3288 run-hook-with-args-until-failure isearch-filter-predicates.
3289 (Info-search): Use it.
3290 (Info-mode): Use isearch-filter-predicate instead of
3291 isearch-filter-predicates.
3292
290d5b58
DA
32932013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3294
3295 Do not call to `selected-window' where it is assumed by default.
3296 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3297 `window-hscroll', `window-width', `window-height', `window-buffer',
3298 `window-frame', `window-start', `window-point', `next-window'
3299 and `window-display-table'.
3300 * abbrev.el (abbrev--default-expand):
3301 * bs.el (bs--show-with-configuration):
3302 * buff-menu.el (Buffer-menu-mouse-select):
3303 * calc/calc.el (calc):
3304 * calendar/calendar.el (calendar-generate-window):
3305 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3306 (diary-make-entry):
3307 * comint.el (send-invisible, comint-dynamic-complete-filename)
3308 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3309 * completion.el (complete):
3310 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3311 * disp-table.el (describe-current-display-table):
3312 * doc-view.el (doc-view-insert-image):
3313 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3314 * ehelp.el (with-electric-help):
3315 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3316 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3317 * emacs-lisp/helper.el (Helper-help-scroller):
3318 * emulation/cua-base.el (cua--post-command-handler-1):
3319 * eshell/esh-mode.el (eshell-output-filter):
3320 * ffap.el (ffap-gnus-wrapper):
3321 * help-macro.el (make-help-screen):
3322 * hilit-chg.el (highlight-compare-buffers):
3323 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3324 * hl-line.el (global-hl-line-highlight):
3325 * icomplete.el (icomplete-simple-completing-p):
3326 * isearch.el (isearch-done):
3327 * jit-lock.el (jit-lock-stealth-fontify):
3328 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3329 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3330 * mpc.el (mpc-tagbrowser, mpc):
3331 * net/rcirc.el (rcirc-any-buffer):
3332 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3333 * play/landmark.el (landmark-max-width, landmark-max-height):
3334 * play/zone.el (zone):
3335 * progmodes/compile.el (compilation-goto-locus):
3336 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3337 * progmodes/etags.el (find-tag-other-window):
3338 * progmodes/fortran.el (fortran-column-ruler):
3339 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3340 * progmodes/verilog-mode.el (verilog-point-text):
3341 * reposition.el (reposition-window):
3342 * rot13.el (toggle-rot13-mode):
3343 * server.el (server-switch-buffer):
3344 * shell.el (shell-dynamic-complete-command)
3345 (shell-dynamic-complete-environment-variable):
3346 * simple.el (insert-buffer, set-selective-display)
3347 (delete-completion-window):
3348 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3349 (speedbar-recenter):
3350 * startup.el (fancy-splash-head):
3351 * textmodes/ispell.el (ispell-command-loop):
3352 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3353 * tutorial.el (help-with-tutorial):
3354 * vc/add-log.el (add-change-log-entry):
3355 * vc/compare-w.el (compare-windows):
3356 * vc/ediff-help.el (ediff-indent-help-message):
3357 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3358 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3359 (ediff-setup-control-frame):
3360 * vc/emerge.el (emerge-position-region):
3361 * vc/pcvs-util.el (cvs-bury-buffer):
3362 * window.el (walk-windows, mouse-autoselect-window-select):
3363 * winner.el (winner-set-conf, winner-undo): Related users changed.
3364
38276e01
JB
33652013-08-05 Juanma Barranquero <lekktu@gmail.com>
3366
3367 * frameset.el (frameset--set-id): Doc fix.
3368 (frameset-frame-id, frameset-frame-id-equal-p)
3369 (frameset-locate-frame-id): New functions.
3370 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3371 (frameset-restore): Use them.
3372
12b4c0ea
DA
33732013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3374
3375 Do not call to `selected-frame' where it is assumed by default.
3376 Affected functions are `raise-frame', `redraw-frame',
3377 `frame-first-window', `frame-terminal' and `delete-frame'.
3378 * calendar/appt.el (appt-disp-window):
3379 * epg.el (epg-wait-for-completion):
3380 * follow.el (follow-delete-other-windows-and-split)
3381 (follow-avoid-tail-recenter):
3382 * international/mule.el (set-terminal-coding-system):
3383 * mail/rmail.el (rmail-mail-return):
3384 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3385 * progmodes/f90.el (f90-add-imenu-menu):
3386 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3387 * server.el (server-switch-buffer):
3388 * simple.el (delete-completion-window):
3389 * talk.el (talk):
3390 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3391 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3392 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3393 * vc/ediff.el (ediff-documentation): Related users changed.
3394 * frame.el (selected-terminal): Remove the leftover.
3395
17f25e76
GM
33962013-08-05 Glenn Morris <rgm@gnu.org>
3397
3398 * calendar/calendar.el (calendar-generate-month):
3399 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3400 (calendar-generate-month, calendar-font-lock-keywords):
3401 Fix for calendar-day-header-width > length of any day name.
17f25e76 3402
063233c3
JB
34032013-08-05 Juanma Barranquero <lekktu@gmail.com>
3404
3405 * desktop.el (desktop-clear): Use new name of sort predicate.
3406
3407 * frameset.el (frameset): Add docstring. Move :version property to its
3408 own `version' slot.
3409 (frameset-copy): Rename from copy-frameset.
3410 (frameset-p): Check more thoroughly.
3411 (frameset-prop): Do not check for :version, which is no longer a prop.
3412 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3413 Use new :never value instead of t.
3414 (frameset-filter-alist): Expand and clarify docstring.
3415 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3416 (frameset-filter-minibuffer, frameset-filter-save-param)
3417 (frameset-filter-restore-param, frameset-filter-iconified):
3418 Add pointer to docstring of frameset-filter-alist.
3419 (frameset-filter-params): Rename filter values to be more meaningful:
3420 :never instead of t, and reverse the meanings of :save and :restore.
3421 (frameset--process-minibuffer-frames): Clarify error message.
3422 (frameset-save): Avoid unnecessary and confusing call to framep.
3423 Use new BOA constructor for framesets.
3424 (frameset--reuse-list): Doc fix.
3425 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3426 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3427 (frameset-minibufferless-first-p): Doc fix.
3428 Rename from frameset-sort-frames-for-deletion.
3429 (frameset-restore): Doc fixes. Use new function names.
3430 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3431
d5671a82
JB
34322013-08-04 Juanma Barranquero <lekktu@gmail.com>
3433
3434 * desktop.el (desktop-restore-forces-onscreen)
3435 (desktop-restore-reuses-frames): Document :keyword constant values.
3436 (desktop-filter-parameters-alist): Remove, now identical to
3437 frameset-filter-alist.
3438 (desktop--filter-tty*): Remove, moved to frameset.el.
3439 (desktop-save-frameset, desktop-restore-frameset):
3440 Do not pass :filters argument.
3441
3442 * frameset.el (frameset-live-filter-alist)
3443 (frameset-persistent-filter-alist): New variables.
3444 (frameset-filter-alist): Use them. Add autoload cookie.
3445 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3446 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3447 `frameset--id' (it's supposed to be internal to frameset.el).
3448 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3449 (frameset--initial-params): New function.
3450 (frameset--get-frame): Use it. Doc fix.
3451 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3452 Accept :all, not 'all.
3453 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3454 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3455 with fbound symbols. Fix frame id matching, and remove matching ids if
3456 the frame being restored is deleted. Obey :delete.
3457
671d5c16
SM
34582013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * subr.el (macrop): New function.
3461 (text-clone--maintaining): New var.
3462 (text-clone--maintain): Rename from text-clone-maintain. Use it
3463 instead of inhibit-modification-hooks.
3464
3465 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3466 a proxy, so as handle autoloads and redefinitions of the target.
3467 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3468
3469 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3470 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3471 (pcase--mutually-exclusive-p): New function.
3472 (pcase--split-consp): Use it.
3473 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3474 mutually exclusive with the current predicate.
3475
3476 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3477 (edebug-macrop): Remove. Use `macrop' instead.
3478 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3479 (ad-macro-p):
3480 * eshell/esh-cmd.el (eshell-macrop):
3481 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3482
1d44e9dc
SM
34832013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3486 (advice-mapc): New function, using it.
3487 (advice-function-member-p): New function.
3488 (advice--normalize): Store the cdr in advice--saved-rewrite since
3489 that's the part that will be changed.
3490 (advice--symbol-function): New function.
3491 (advice-remove): Handle removal before the function is defined.
3492 Adjust to new advice--saved-rewrite.
3493 (advice-member-p): Use advice-function-member-p and
3494 advice--symbol-function.
3495
5414a283
JB
34962013-08-04 Juanma Barranquero <lekktu@gmail.com>
3497
51d30f2c
JB
3498 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3499 (frameset-filter-minibuffer): Doc fix.
3500 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3501 (frameset--set-id, frameset--process-minibuffer-frames)
3502 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3503 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3504
5414a283
JB
3505 * desktop.el (desktop-clear): Only delete frames when called
3506 interactively and desktop-restore-frames is non-nil. Doc fix.
3507 (desktop-read): Set desktop-saved-frameset to nil.
3508
ab419665
XF
35092013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3510
3511 * vc/vc.el (vc-ignore): Rewrite.
3512 (vc-default-ignore-completion-table):
3513 (vc--read-lines):
3514 (vc--add-line, vc--remove-regexp): New functions.
3515
3516 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3517 (vc-svn-ignore-completion-table): New function.
3518
3519 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3520 (vc-hg-ignore-completion-table):
3521 (vc-hg-find-ignore-file): New functions.
3522
3523 * vc/vc-git.el (vc-git-ignore): Rewrite.
3524 (vc-git-ignore-completion-table):
3525 (vc-git-find-ignore-file): New functions.
3526
3527 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3528
3529 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3530 (vc-bzr-ignore-completion-table):
3531 (vc-bzr-find-ignore-file): New functions.
3532
2613dea2
JB
35332013-08-03 Juanma Barranquero <lekktu@gmail.com>
3534
3535 * frameset.el (frameset-prop): New function and setter.
3536 (frameset-save): Do not modify frame list passed by the caller.
3537
9c959872
SM
35382013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3541
a104f656
SM
35422013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3543
70122acf
SM
3544 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3545 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3546
a104f656
SM
3547 * custom.el (custom-initialize-default, custom-initialize-set)
3548 (custom-initialize-reset, custom-initialize-changed): Affect the
3549 toplevel-default-value (bug#6275, bug#14586).
3550 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3551 for bug#6275.
3552
f078d570
JB
35532013-08-02 Juanma Barranquero <lekktu@gmail.com>
3554
185e3b5a
JB
3555 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3556 Add cl-def* expressions.
3557
f078d570
JB
3558 * frameset.el (frameset-filter-params): Fix order of arguments.
3559
9421876d
JB
35602013-08-02 Juanma Barranquero <lekktu@gmail.com>
3561
3562 Move code related to saving frames to frameset.el.
3563 * desktop.el: Require frameset.
3564 (desktop-restore-frames): Doc fix.
3565 (desktop-restore-reuses-frames): Rename from
3566 desktop-restoring-reuses-frames.
3567 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3568 (desktop-clear): Clear frames too.
3569 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3570 (desktop--filter-tty*, desktop-save, desktop-read):
3571 Use frameset functions.
3572 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3573 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3574 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3575 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3576 (desktop--process-minibuffer-frames, desktop-save-frames)
3577 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3578 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3579 (desktop--sort-states, desktop-restoring-frames-p)
3580 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3581 (desktop-restoring-frameset-p, desktop-restore-frameset)
3582 (desktop--check-dont-save, desktop-save-frameset): New functions.
3583 (desktop--app-id): New constant.
3584 (desktop-first-buffer, desktop-buffer-ok-count)
3585 (desktop-buffer-fail-count): Move before first use.
3586 * frameset.el: New file.
3587
76dc5996
SM
35882013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * files.el: Use lexical-binding.
3591 (dir-locals-read-from-file): Remove unused `err' variable.
3592 (hack-dir-local-variables--warned-coding): New var.
3593 (hack-dir-local-variables): Use it to avoid repeated warnings.
3594 (make-backup-file-name--default-function): New function.
3595 (make-backup-file-name-function): Use it as default.
3596 (buffer-stale--default-function): New function.
3597 (buffer-stale-function): Use it as default.
3598 (revert-buffer-insert-file-contents--default-function): New function.
3599 (revert-buffer-insert-file-contents-function): Use it as default.
3600 (insert-directory): Avoid add-to-list.
3601
3602 * autorevert.el (auto-revert-handler): Simplify.
3603 Use buffer-stale--default-function.
3604
06d36e2b
TH
36052013-08-01 Tassilo Horn <tsdh@gnu.org>
3606
5f648ab4
TH
3607 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3608
06d36e2b
TH
3609 * whitespace.el (whitespace-ensure-local-variables): New function.
3610 (whitespace-cleanup-region): Call it.
3611 (whitespace-turn-on): Call it.
3612
a43dc424
MA
36132013-08-01 Michael Albinus <michael.albinus@gmx.de>
3614
3615 Complete file name handlers.
3616
3617 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3618 (tramp-handle-verify-visited-file-modtime)
3619 (tramp-handle-file-notify-rm-watch): New functions.
3620 (tramp-call-process): Do not bind `default-directory'.
3621
44e18199
JB
3622 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3623 Order alphabetically.
a43dc424
MA
3624 [access-file, add-name-to-file, dired-call-process]:
3625 [dired-compress-file, file-acl, file-notify-rm-watch]:
3626 [file-ownership-preserved-p, file-selinux-context]:
3627 [make-directory-internal, make-symbolic-link, set-file-acl]:
3628 [set-file-selinux-context, set-visited-file-modtime]:
3629 [verify-visited-file-modtime]: Add handler.
3630 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3631
3632 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3633 [file-notify-add-watch, file-notify-rm-watch]:
3634 [set-file-times, set-visited-file-modtime]:
3635 [verify-visited-file-modtime]: Add handler.
3636 (with-tramp-gvfs-error-message)
3637 (tramp-gvfs-handle-set-visited-file-modtime)
3638 (tramp-gvfs-fuse-file-name): Remove.
3639 (tramp-gvfs-handle-file-notify-add-watch)
3640 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3641 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3642
44e18199
JB
3643 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3644 Order alphabetically.
a43dc424
MA
3645 [file-notify-rm-watch ]: Use default Tramp handler.
3646 [executable-find]: Remove private handler.
3647 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3648 `default-directory'.
3649 (tramp-sh-handle-executable-find)
3650 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3651 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3652 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3653 Do not use `format' in `tramp-message'.
3654
3655 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3656 [file-notify-rm-watch, set-visited-file-modtime]:
3657 [verify-visited-file-modtime]: Add handler.
3658 (tramp-smb-call-winexe): Do not bind `default-directory'.
3659
7188b515
XF
36602013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3661
3662 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3663
2412ee1a
DG
36642013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3665
3666 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3667 use it.
3668 (log-view-diff-changeset): Same.
3669 (log-view-diff-common): Call backend command `previous-revision'
3670 to find out the previous revision, in both cases. Swap the
3671 variables `to' and `fr', so that `fr' usually refers to the
3672 earlier revision (Bug#14989).
3673
5002a754
KRC
36742013-07-31 Kan-Ru Chen <kanru@kanru.info>
3675
3676 * ibuf-ext.el (ibuffer-filter-by-filename):
3677 Make it work with dired buffers too.
3678
44e18199 36792013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3680
3681 * emacs-lisp/re-builder.el (reb-color-display-p):
3682 * files.el (save-buffers-kill-terminal):
3683 * net/browse-url.el (browse-url):
3684 * server.el (server-save-buffers-kill-terminal):
3685 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3686 Prefer nil to selected-frame for the first arg of frame-parameter.
3687
aeca3fbb
XF
36882013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3689
3690 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3691
158bc55c
SB
36922013-07-30 Stephen Berman <stephen.berman@gmx.net>
3693
3694 * minibuffer.el (completion--twq-all): Try and preserve each
3695 completion's case choice (bug#14907).
3696
d50fceab
LMI
36972013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3698
ac38e731
LMI
3699 * net/network-stream.el (open-network-stream): Mention the new
3700 :nogreeting parameter.
3701 (network-stream-open-starttls): Use the :nogreeting parameter
3702 (bug#14938).
3703
1211de50
LMI
3704 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3705
997798bf
LMI
3706 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3707 more natural than popping.
3708
d50fceab 3709 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3710 (shr-urlify): Highlight under mouse.
d50fceab 3711
5c09de04
XF
37122013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3713
207d1d04
XF
3714 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3715
3716 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3717
5c09de04
XF
3718 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3719 buffer for output.
3720
3cd51eaa
XF
3721 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3722 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3723
44e18199 3724 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3725 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3726
3727 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3728
3729 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3730 buffer for output.
3731
35a89bdd
EZ
37322013-07-29 Eli Zaretskii <eliz@gnu.org>
3733
3734 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3735 initial frame is minibuffer-less. (Bug#14841)
3736
78822e94
MA
37372013-07-29 Michael Albinus <michael.albinus@gmx.de>
3738
3739 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3740 option.
3741
3742 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3743 (tramp-maybe-open-connection): Use it.
3744
9503c190
JB
37452013-07-28 Juanma Barranquero <lekktu@gmail.com>
3746
3747 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3748 minimal set of parameters passed when creating a frame, because
3749 the minibuffer status of a frame cannot be changed later.
3750
d5a845b4
SB
37512013-07-28 Stephen Berman <stephen.berman@gmx.net>
3752
3753 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3754 replace-regexp-in-string and inadvertent omissions in previous change.
3755 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3756 name of filtered items buffer.
d5a845b4 3757
ddeffb17
JB
37582013-07-28 Juanma Barranquero <lekktu@gmail.com>
3759
3760 * desktop.el: Optionally force offscreen frames back onscreen.
3761 (desktop-restoring-reuses-frames): New option.
3762 (desktop--compute-pos, desktop--move-onscreen): New functions.
3763 (desktop--make-frame): Use desktop--move-onscreen.
3764
f5950f7a
AM
37652013-07-27 Alan Mackenzie <acm@muc.de>
3766
3767 Fontify a Java generic method as a function.
3768 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3769 value to t.
3770
ae43b66a
SB
37712013-07-27 Stephen Berman <stephen.berman@gmx.net>
3772
3773 * calendar/todo-mode.el: Add command to rename todo files.
3774 (todo-rename-file): New command.
3775 (todo-key-bindings-t): Add key binding for it. Change the
3776 bindings of todo-filter-regexp-items(-multifile) to use `x'
3777 instead of `r', since the latter is better suited to the new
3778 renaming command.
3779
5ab78d3d
AM
37802013-07-27 Alan Mackenzie <acm@muc.de>
3781
3782 Make Java try-with-resources statement parse properly.
3783 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3784 (c-block-stmt-1-2-key): New language constants/variables.
3785 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3786 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3787 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3788 with c-block-stmt-1-2-key.
5ab78d3d 3789
d85c4d50
JB
37902013-07-27 Juanma Barranquero <lekktu@gmail.com>
3791
3792 * desktop.el (desktop--make-frame): Apply most frame parameters after
3793 creating the frame to force (partially or totally) offscreen frames to
3794 be restored as such.
3795
e4c467f9
XF
37962013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3797
3798 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3799 (Bug#14948)
e4c467f9 3800
7ced0d04
SM
38012013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3804 `base' arg of backtrace-frame.
3805
fec92060
EZ
38062013-07-26 Eli Zaretskii <eliz@gnu.org>
3807
3808 * simple.el (list-processes): Doc fix.
3809
d58d31fb
JB
38102013-07-26 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * desktop.el (desktop--select-frame):
d85c4d50 3813 Try harder to reuse existing frames.
d58d31fb 3814
53ff3e77
SM
38152013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3818 (edebug-eval): Use backtrace-eval.
3819 (edebug--display, edebug--recursive-edit): Don't let-bind the
3820 edebug-outer-* vars that keep track of variables we locally let-bind.
3821 (edebug-outside-excursion): Don't restore outside values of locally
3822 let-bound vars.
3823 (edebug--display): Use user-error.
3824 (cl-lexical-debug, cl-debug-env): Remove.
3825
045f7a53
JB
38262013-07-26 Juanma Barranquero <lekktu@gmail.com>
3827
3828 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3829 are restored to be sure that they are visible before deleting any
3830 remaining ones.
3831
59070b32
MM
38322013-07-26 Matthias Meulien <orontee@gmail.com>
3833
742a3501
XF
3834 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3835 vc-print-root-log. (Bug#14948)
59070b32 3836
b1fb3596
RS
38372013-07-26 Richard Stallman <rms@gnu.org>
3838
3839 Add aliases for encrypting mail.
3840 * epa.el (epa-mail-aliases): New option.
3841 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3842 Bind inhibit-read-only so read-only text doesn't ruin everything.
3843 (epa-mail-default-recipients): New subroutine broken out.
3844 Handle epa-mail-aliases.
3845
56ea7291
SM
38462013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 Add support for lexical variables to the debugger's `e' command.
3849 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3850 vars, except for debugger-outer-match-data.
3851 (debugger-frame-number): Move check for "on a function call" from
3852 callers into it. Add `skip-base' argument.
3853 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3854 (debugger-env-macro): Only reset the state stored in non-variables,
3855 i.e. current-buffer and match-data.
3856 (debugger-eval-expression): Rewrite using backtrace-eval.
3857 * subr.el (internal--called-interactively-p--get-frame): Remove.
3858 (called-interactively-p):
3859 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3860 `base' arg of backtrace-frame instead.
3861
15ac32d5
GM
38622013-07-26 Glenn Morris <rgm@gnu.org>
3863
8358a09d
GM
3864 * align.el (align-regexp): Doc fix. (Bug#14857)
3865 (align-region): Explicit error if subexpression missing/does not match.
3866
15ac32d5
GM
3867 * simple.el (global-visual-line-mode):
3868 Do not duplicate the mode lighter. (Bug#14858)
3869
f47ad11b
MR
38702013-07-25 Martin Rudalics <rudalics@gmx.at>
3871
3872 * window.el (display-buffer): In display-buffer bind
3873 split-window-keep-point to t, bug#14829.
3874
02530987
JB
38752013-07-25 Juanma Barranquero <lekktu@gmail.com>
3876
3877 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3878 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3879 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3880 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3881 Change accordingly.
f63ebeb5
JB
3882 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3883 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3884
6ccb9cab 38852013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3886
6ccb9cab 3887 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3888
cb3a56d2
JB
38892013-07-25 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3892 parameter to modify-frame-parameters if the value has not changed;
3893 this is a workaround for bug#14949.
3894 (desktop--make-frame): On cl-delete-if call, check parameter name,
3895 not full parameter.
3896
7aa7fff0
XF
38972013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3898
3899 * vc/vc.el (vc-ignore): New function.
3900
3901 * vc/vc-svn.el (vc-svn-ignore): New function.
3902
3903 * vc/vc-hg.el (vc-hg-ignore): New function.
3904
3905 * vc/vc-git.el (vc-git-ignore): New function.
3906
3907 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3908 (vc-dir-ignore): New function.
3909
3910 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3911 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3912
3913 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3914
3915 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3916
889acc5c
JB
39172013-07-24 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3920 (desktop-restore-frames): Warn when deleting an existing frame failed.
3921
86c40970
GM
39222013-07-24 Glenn Morris <rgm@gnu.org>
3923
3924 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3925
d5d3c58a
MA
39262013-07-24 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * filenotify.el (file-notify-supported-p):
3929 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3930 Remove functions.
3931
3932 * autorevert.el (auto-revert-use-notify):
3933 (auto-revert-notify-add-watch):
3934 * net/tramp.el (tramp-file-name-for-operation):
3935 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3936 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3937 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3938 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3939 Remove `file-notify-supported-p' entry.
3940
d100084b
GM
39412013-07-24 Glenn Morris <rgm@gnu.org>
3942
3943 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3944 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3945
ac93e56b
SM
39462013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3947
249eea30
SM
3948 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3949 checked with memq (bug#14935).
3950
ac93e56b
SM
3951 * files.el (revert-buffer-function): Use a non-nil default.
3952 (revert-buffer-preserve-modes): Declare var to
3953 provide access to the `preserve-modes' argument.
3954 (revert-buffer): Let-bind it.
3955 (revert-buffer--default): New function, extracted from revert-buffer.
3956
2cdeb903
SM
39572013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * lpr.el: Signal print errors more prominently.
3960 (print-region-function): Don't default to nil.
3961 (lpr-print-region): New function, extracted from print-region-1.
3962 Check lpr's return value and signal an error in case of problem.
3963 (print-region-1): Use it.
3964 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3965 versions instead.
3966 (ps-printer-name): Default to nil.
3967 (ps-printer-name-option): Default to lpr-printer-switch.
3968 (ps-print-region-function): Don't default to nil.
3969 (ps-postscript-code-directory): Simplify default.
3970 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3971 (ps-string-list, ps-eval-switch, ps-flatten-list)
3972 (ps-flatten-list-1): Remove.
3973 (ps-multibyte-buffer): Avoid setq.
3974 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3975 (print-region-function, ps-print-region-function): Don't set them here.
3976
73600831
XF
39772013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3978
0e55c076
XF
3979 * ido.el (ido-fractionp):
3980 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3981 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3982 (ido-max-directory-size, ido-max-dir-file-cache)
3983 (ido-decorations): Doc fix.
3984
73600831
XF
3985 * ansi-color.el: Fix old URL.
3986
3d012865
MM
39872013-07-23 Michael R. Mauger <michael@mauger.com>
3988
e903c210 3989 * progmodes/sql.el: Version 3.3
3d012865
MM
3990 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3991 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3992 (sql-interactive-remove-continuation-prompt): Rewrite, use
3993 functions above. Fix continuation prompt and complete output line
3994 handling.
3995 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3996 redirected output buffer.
3997 (sql-mode): Restore deleted code (Bug#13591).
3998
da77a2e2
JB
39992013-07-23 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4002
80ff0c71
MA
40032013-07-23 Michael Albinus <michael.albinus@gmx.de>
4004
4005 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4006
4007 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4008 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4009 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4010
b61d71e4
JB
40112013-07-23 Juanma Barranquero <lekktu@gmail.com>
4012
4013 * desktop.el (desktop-clear): Simplify; remove useless checks
4014 against invalid buffer names.
4015 (desktop-list*): Use cl-list*.
4016 (desktop-buffer-info, desktop-create-buffer): Simplify.
4017
c3512092
LL
40182013-07-23 Leo Liu <sdl.web@gmail.com>
4019
4020 * bookmark.el (bookmark-make-record): Restore NAME as a default
4021 value. (Bug#14933)
4022
0ac26976
SM
40232013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4024
7d22ce18
SM
4025 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4026 extracted from autoload--insert-text.
4027 (autoload--insert-text): Remove.
4028 (autoload--print-cookie-text): New function, extracted from
4029 autoload--insert-cookie-text.
4030 (autoload--insert-cookie-text): Remove.
4031 (autoload-generate-file-autoloads): Adjust calls accordingly.
4032
9b2607e8
SM
4033 * winner.el (winner-hook-installed-p): Remove.
4034 (winner-mode): Simplify accordingly.
4035
c43a8618
SM
4036 * subr.el (add-to-list): Fix compiler-macro when `append' is
4037 not constant. Don't use `cl-member' for the base case.
4038
0ac26976
SM
4039 * progmodes/subword.el: Fix boundary case (bug#13758).
4040 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4041 own group.
4042 (subword-backward-regexp): Make it a constant.
4043 (subword-forward-internal): Don't treat a trailing capital as the
4044 beginning of a word.
4045
6874724a
AR
40462013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4047
4048 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4049 global value of tabulated-list-revert-hook (bug#14930).
4050
70f1b5e8
JB
40512013-07-22 Juanma Barranquero <lekktu@gmail.com>
4052
a1c80d9d
JB
4053 * desktop.el: Require 'cl-lib.
4054 (desktop-before-saving-frames-functions): New hook.
4055 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4056 for frames being saved. Rename from desktop--save-minibuffer-frames.
4057 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4058 Do not save frames with non-nil `desktop-dont-save' parameter.
4059 Filter out deleted frames.
a1c80d9d
JB
4060 (desktop--find-frame): Use cl-find-if.
4061 (desktop--select-frame): Use cl-(first|second|third) to access values
4062 of desktop-mini.
4063 (desktop--make-frame): Use cl-delete-if.
4064 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4065 (desktop-restore-frames): Use cl-(first|second|third) to access values
4066 of desktop-mini. Look for visible frame at the end, not while
4067 restoring frames.
4068
70f1b5e8
JB
4069 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4070 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4071 Use string-match-p, looking-at-p (bug#14927).
4072
728dc3cc
JB
40732013-07-21 Juanma Barranquero <lekktu@gmail.com>
4074
56bc453c
JB
4075 * desktop.el (desktop-saved-frame-states):
4076 Rename from desktop--saved-states; all users changed.
4077 (desktop-save-frames): Rename from desktop--save-frames.
4078 Do not save state to desktop file.
4079 (desktop-save): Save desktop-saved-frame-states to desktop file
4080 and reset to nil.
4081 (desktop-restoring-frames-p): New function.
4082 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4083 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4084 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4085
728dc3cc
JB
4086 * desktop.el: Correctly restore iconified frames.
4087 (desktop--filter-iconified-position): New function.
4088 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4089
862f1c9c
GM
40902013-07-20 Glenn Morris <rgm@gnu.org>
4091
c4074c9f
GM
4092 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4093 Let `message' do the formatting.
4094 (def-gdb-preempt-display-buffer): Add explicit format.
4095
d828e5f9
GM
4096 * image-dired.el (image-dired-track-original-file):
4097 Use with-current-buffer.
4098 (image-dired-track-thumbnail): Use with-current-buffer.
4099 Avoid changing point of wrong window.
4100
862f1c9c
GM
4101 * image-dired.el (image-dired-track-original-file):
4102 Avoid changing point of wrong window. (Bug#14909)
4103
f0398ec1 41042013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4105
4106 * progmodes/gdb-mi.el (gdb-done-or-error):
4107 Guard against "%" in gdb output. (Bug#14127)
4108
1451928f
AS
41092013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4110
763a086d
JB
4111 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4112 (Bug#14826)
f7a03897 4113
1451928f
AS
4114 * international/mule.el (coding-system-iso-2022-flags): Fix last
4115 change.
4116
99107004
KH
41172013-07-20 Kenichi Handa <handa@gnu.org>
4118
763a086d
JB
4119 * international/mule.el (coding-system-iso-2022-flags):
4120 Add `8-bit-level-4'. (Bug#8522)
99107004 4121
48494e06
LMI
41222013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4123
8ba8eec5
LMI
4124 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4125 (bug#14815).
4126
dfbc66e3
LMI
4127 * net/eww.el (eww-process-text-input): Allow inputting when the
4128 point is at the start of the line, as the properties aren't
4129 front-sticky.
4130
48494e06
LMI
4131 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4132 degenerate widths.
4133
77c92cb9
RS
41342013-07-19 Richard Stallman <rms@gnu.org>
4135
aec7da77
RS
4136 * epa.el (epa-popup-info-window): Doc fix.
4137
77c92cb9
RS
4138 * subr.el (split-string): New arg TRIM.
4139
945c5bb1
JB
41402013-07-18 Juanma Barranquero <lekktu@gmail.com>
4141
4142 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4143 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4144
e06ec67f
MA
41452013-07-18 Michael Albinus <michael.albinus@gmx.de>
4146
c7064f05 4147 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4148 `file-notify-support'. Do not autoload. Adapt all uses.
4149 (file-notify-supported-p): New defun.
4150
c7064f05
JB
4151 * autorevert.el (auto-revert-use-notify):
4152 Use `file-notify-supported-p' instead of `file-notify-support'.
4153 Adapt docstring.
e06ec67f
MA
4154 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4155
4156 * net/tramp.el (tramp-file-name-for-operation):
4157 Add `file-notify-supported-p'.
4158
4159 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4160 New defun.
4161 (tramp-sh-file-name-handler-alist): Add it as handler for
4162 `file-notify-supported-p '.
4163
4164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4166 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4167 Add `ignore' as handler for `file-notify-*' functions.
4168
5dc8a629
EZ
41692013-07-17 Eli Zaretskii <eliz@gnu.org>
4170
4171 * simple.el (line-move-partial, line-move): Don't start vscroll or
4172 scroll-up if the current line is not taller than the window.
4173 (Bug#14881)
4174
77aea2fb
DG
41752013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4176
4177 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4178 highlight question marks in the method names as strings.
ac72c08d
DG
4179 (ruby-block-beg-keywords): Inline.
4180 (ruby-font-lock-keyword-beg-re): Extract from
4181 `ruby-font-lock-keywords'.
77aea2fb 4182
18c26d81
JD
41832013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4184
4185 * frame.el (blink-cursor-blinks): New defcustom.
4186 (blink-cursor-blinks-done): New defvar.
4187 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4188 (blink-cursor-timer-function): Check if number of blinks has been
4189 done on X and NS.
4190 (blink-cursor-suspend, blink-cursor-check): New defuns.
4191
da48522e
GM
41922013-07-15 Glenn Morris <rgm@gnu.org>
4193
4194 * edmacro.el (edmacro-format-keys): Fix previous change.
4195
0463c1ef
PE
41962013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4197
4198 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4199 The hack didn't work outside English locales anyway.
4200
b43f6451
JB
42012013-07-15 Juanma Barranquero <lekktu@gmail.com>
4202
4203 * simple.el (define-alternatives): Rename from alternatives-define,
4204 per RMS' suggestion.
4205
b958c0ad
JB
42062013-07-14 Juanma Barranquero <lekktu@gmail.com>
4207
4208 * desktop.el (desktop-restore-frames): Change default to t.
4209 (desktop-restore-in-current-display): Now offer more options.
4210 (desktop-restoring-reuses-frames): New customization option.
4211 (desktop--saved-states): Doc fix.
4212 (desktop-filter-parameters-alist): New variable, renamed and expanded
4213 from desktop--excluded-frame-parameters.
4214 (desktop--target-display): New variable.
4215 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4216 (desktop--filter-tty*, desktop--filter-*-color)
4217 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4218 (desktop--filter-save-desktop-parm)
4219 (desktop-restore-in-original-display-p): New functions.
4220 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4221 (desktop--save-minibuffer-frames): New function, inspired by a similar
4222 function from Martin Rudalics.
4223 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4224 (desktop--restore-in-this-display-p): Remove.
4225 (desktop--find-frame): Rename from desktop--find-frame-in-display
4226 and add predicate argument.
4227 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4228 (desktop--reuse-list): New variable.
4229 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4230 New functions.
4231 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4232
f6dd8b36
MA
42332013-07-14 Michael Albinus <michael.albinus@gmx.de>
4234
4235 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4236
2ce3c565
DG
42372013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4238
763a086d
JB
4239 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4240 Highlight conversion methods on Kernel.
2ce3c565 4241
2cdb7698
AM
42422013-07-13 Alan Mackenzie <acm@muc.de>
4243
4244 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4245 and comment it out. This out-commenting enables certain C++
4246 declarations to be parsed correctly.
4247
1a67b811
EZ
42482013-07-13 Eli Zaretskii <eliz@gnu.org>
4249
1b796d6b
EZ
4250 * international/mule.el (define-coding-system): Doc fix.
4251
1a67b811
EZ
4252 * simple.el (default-font-height): Don't call font-info if the
4253 frame's default font didn't change since the frame was created.
4254 (Bug#14838)
4255
58fbe886
LL
42562013-07-13 Leo Liu <sdl.web@gmail.com>
4257
4258 * ido.el (ido-read-file-name): Guard against non-symbol value.
4259
1f0480d4
FEG
42602013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4261
4262 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4263 in nested defuns.
4264
97ead0e5
LL
42652013-07-13 Leo Liu <sdl.web@gmail.com>
4266
4267 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4268 ido-set-matches call. (Bug#6852)
4269
0880a952
DG
42702013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4271
4272 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4273 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4274 Ruby 2.0.
4275 (ruby-font-lock-keywords): Distinguish calls to functions with
4276 module-like names from module references. Highlight character
4277 literals.
4278
a7d8babb
SDJ
42792013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4280
4281 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4282 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4283
acfcc8c5
JB
42842013-07-12 Juanma Barranquero <lekktu@gmail.com>
4285
4286 * desktop.el (desktop--v2s): Remove unused local variable.
4287 (desktop-save-buffer): Make defvar-local; adjust docstring.
4288 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4289 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4290
051f2775
AS
42912013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4292
4293 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4294
f24e7572
GM
42952013-07-12 Eli Zaretskii <eliz@gnu.org>
4296
4297 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4298 (Bug#14842)
4299
539a920c
GM
43002013-07-12 Glenn Morris <rgm@gnu.org>
4301
4302 * doc-view.el: Require cl-lib at runtime too.
4303 (doc-view-remove-if): Remove.
4304 (doc-view-search-next-match, doc-view-search-previous-match):
4305 Use cl-remove-if.
4306
4307 * edmacro.el: Require cl-lib at runtime too.
4308 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4309 (edmacro-mismatch, edmacro-subseq): Remove.
4310
4311 * shadowfile.el: Require cl-lib.
4312 (shadow-remove-if): Remove.
4313 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4314 Use cl-remove-if.
4315
4316 * wid-edit.el: Require cl-lib.
4317 (widget-choose): Use cl-remove-if.
4318 (widget-remove-if): Remove.
4319
4320 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4321 (ebrowse-delete-if-not): Remove.
4322 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4323 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4324 Use cl-delete-if-not.
4325
1048af7c
JB
43262013-07-12 Juanma Barranquero <lekktu@gmail.com>
4327
4328 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4329 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4330
6c0674ee
LL
43312013-07-12 Leo Liu <sdl.web@gmail.com>
4332
4333 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4334
a19b3c2d
GM
43352013-07-11 Glenn Morris <rgm@gnu.org>
4336
4582a01c
GM
4337 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4338 (edebug-gensym-index, edebug-gensym):
4339 Remove reimplementation of cl-gensym.
4340 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4341
4342 * thumbs.el: Require cl-lib at run-time too.
4343 (thumbs-gensym-counter, thumbs-gensym):
4344 Remove reimplementation of cl-gensym.
4345 (thumbs-temp-file): Use cl-gensym.
4346
a19b3c2d
GM
4347 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4348 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4349 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4350 (ert--union, ert--gensym-counter, ert--gensym-counter)
4351 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4352 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4353 (ert-make-test-unbound, ert--expand-should-1)
4354 (ert--expand-should, ert--should-error-handle-error)
4355 (should-error, ert--explain-equal-rec)
4356 (ert--plist-difference-explanation, ert-select-tests)
4357 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4358 Use cl-lib functions rather than reimplementations.
4359
88f6a933
MA
43602013-07-11 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp.el (tramp-methods): Extend docstring.
4363 (tramp-connection-timeout): New defcustom.
4364 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4365 (with-tramp-progress-reporter): Simplify.
4366 (tramp-process-actions): Improve messages.
4367
4368 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4369 * net/tramp-sh.el (tramp-maybe-open-connection):
4370 Use `tramp-connection-timeout'.
4371 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4372 (Bug#14808)
4373
a43d577e
LL
43742013-07-11 Leo Liu <sdl.web@gmail.com>
4375
4376 * ido.el (ido-read-file-name): Conform to the requirements of
4377 read-file-name. (Bug#11861)
4378 (ido-read-directory-name): Conform to the requirements of
4379 read-directory-name.
4380
d77974bf
JB
43812013-07-11 Juanma Barranquero <lekktu@gmail.com>
4382
4383 * subr.el (delay-warning): New function.
4384
35cb8a3e
EZ
43852013-07-10 Eli Zaretskii <eliz@gnu.org>
4386
4387 * simple.el (default-line-height): New function.
4388 (line-move-partial, line-move): Use it instead of computing the
4389 line height inline.
4390 (line-move-partial): Always compute ROWH. If the last line is
4391 partially-visible, but its text is completely visible, allow
4392 cursor to enter such a partially-visible line.
4393
525c5c77
MA
43942013-07-10 Michael Albinus <michael.albinus@gmx.de>
4395
4396 Improve error messages. (Bug#14808)
4397
4398 * net/tramp.el (tramp-current-connection): New defvar, moved from
4399 tramp-sh.el.
0ac26976 4400 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4401 needed anymore.
0ac26976
SM
4402 (tramp-error-with-buffer): Show message in minibuffer.
4403 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4404 (with-tramp-progress-reporter): Improve messages.
4405 (tramp-process-actions): Use progress reporter. Delete process in
4406 case of error. Improve messages.
4407
763a086d
JB
4408 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4409 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4410 (tramp-current-connection): Remove.
525c5c77
MA
4411 (tramp-maybe-open-connection): The car of
4412 `tramp-current-connection' are the first 3 slots of the vector.
4413
c7a4d368
TZ
44142013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4415
4416 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4417 inside continued strings.
4418
954b166e
PE
44192013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4420
4421 Timestamp fixes for undo (Bug#14824).
4422 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4423
56973319
LL
44242013-07-10 Leo Liu <sdl.web@gmail.com>
4425
4426 * files.el (require-final-newline): Allow safe local value.
4427 (Bug#14834)
4428
5550a72c
LL
44292013-07-09 Leo Liu <sdl.web@gmail.com>
4430
4431 * ido.el (ido-read-directory-name): Handle fallback.
4432 (ido-read-file-name): Update DIR to ido-current-directory.
4433 (Bug#1516)
c28b9050 4434 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4435
70c46b28
DG
44362013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4437
4438 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4439 "autoload". Remove "warn lower camel case" section, previously
4440 commented out. Highlight negation char. Do not highlight the
4441 target in singleton method definitions.
4442
0b64b838
SM
44432013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4444
7fd72e2c
SM
4445 * faces.el (tty-setup-hook): Declare the hook.
4446
0b64b838
SM
4447 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4448 and detect when a guard/pred depends on local vars (bug#14773).
4449 (pcase--u1): Adjust caller.
4450
ab49d60b
EZ
44512013-07-08 Eli Zaretskii <eliz@gnu.org>
4452
4453 * simple.el (line-move-partial, line-move): Account for
4454 line-spacing.
701d79aa
EZ
4455 (line-move-partial): Avoid setting vscroll when the last
4456 partially-visible line in window is of default height.
ab49d60b 4457
2d756ae0
LMI
44582013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4459
4460 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4461 been used a while.
4462
ed095bd7
JB
44632013-07-07 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * subr.el (read-quoted-char): Remove unused local variable `char'.
4466
f1e6674b
MK
44672013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4468
584ee3fc
GM
4469 * ediff.el (ediff-version): Version update.
4470 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4471 (ediff-merge-with-ancestor-command, ediff-directories-command)
4472 (ediff-directories3-command, ediff-merge-directories-command)
4473 (ediff-merge-directories-with-ancestor-command): New functions.
4474 All are command-line interfaces to ediff: to facilitate calling
4475 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4476
4477 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4478 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4479
584ee3fc
GM
4480 * viper.el (viper-version): Version update.
4481 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4482
584ee3fc
GM
44832013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4486 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4487 (viper-intercept-ESC-key): Simplify.
4488 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4489 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4490 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4491 (viper-setup-ESC-to-escape): New functions.
4492 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4493 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4494
9aff9b38
EZ
44952013-07-07 Eli Zaretskii <eliz@gnu.org>
4496
5165d44a
JB
4497 * simple.el (default-font-height, window-screen-lines):
4498 New functions.
9aff9b38
EZ
4499 (line-move, line-move-partial): Use them instead of
4500 frame-char-height and window-text-height. This makes scrolling
4501 text smoother when the buffer's default face uses a font that is
4502 different from the frame's default font.
4503
1afb1d07
JD
45042013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4505
4506 * files.el (write-file): Do not display confirm dialog for NS,
4507 it does its own dialog, which can't be cancelled (Bug#14578).
4508
23de972a
EZ
45092013-07-06 Eli Zaretskii <eliz@gnu.org>
4510
4511 * simple.el (line-move-partial): Adjust the row returned by
4512 posn-at-point for the current window-vscroll. (Bug#14567)
4513
54a42486
MA
45142013-07-06 Michael Albinus <michael.albinus@gmx.de>
4515
4516 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4517 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4518 spaces.
4519
34ada5f4
MR
45202013-07-06 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (window-state-put-stale-windows): New variable.
4523 (window--state-put-2): Save list of windows without matching buffer.
4524 (window-state-put): Remove "bufferless" windows if possible.
4525
11e03d89
JB
45262013-07-06 Juanma Barranquero <lekktu@gmail.com>
4527
4528 * simple.el (alternatives-define): Remove leftover :group keyword.
4529 Tweak docstring.
4530
3504a4be
LL
45312013-07-06 Leo Liu <sdl.web@gmail.com>
4532
4533 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4534 (ido-enable-virtual-buffers): New variable.
4535 (ido-buffer-internal, ido-toggle-virtual-buffers)
4536 (ido-make-buffer-list): Use it.
4537 (ido-exhibit): Support turning on and off virtual buffers
4538 automatically.
4539
61e56e2c
JB
45402013-07-06 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * simple.el (alternatives-define): New macro.
4543
321e1a9c
SM
45442013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * subr.el (read-quoted-char): Use read-key.
4547 (sit-for): Let read-event decode tty input (bug#14782).
4548
d610f6dd
SB
45492013-07-05 Stephen Berman <stephen.berman@gmx.net>
4550
4551 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4552 mode command and externally. Fix various related bugs.
4553 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4554 (todo-delete-file): New command.
4555 (todo-check-file): New function.
4556 (todo-show): Handle external deletion of the file we're trying to
4557 show (bug#14688). Replace called-interactively-p by an optional
4558 prefix argument to avoid problematic interaction with catch form
4559 when byte compiled (bug#14702).
4560 (todo-quit): Handle external deletion of the archive's todo file.
4561 Make sure the buffer that was visiting the archive file is still
4562 live before trying to bury it.
4563 (todo-category-completions): Handle external deletion of any
4564 category completion files.
4565 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4566 of todo files, in case of external deletion.
4567 (todo-add-file): Replace unnecessary setq by let-binding.
4568 (todo-find-archive): Check whether there are any archives.
4569 Replace unnecessary setq by let-binding.
4570 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4571 archive buffer whether or not the archive already exists.
4572 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4573 check if the archive is new; if it is, update list of archives.
4574 (todo-default-todo-file): Allow nil to be a valid value for when
4575 there are no todo files.
4576 (todo-reevaluate-default-file-defcustom): Use corrected definition
4577 of todo-default-todo-file.
4578 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4579 (todo-delete-category, todo-show-categories-table)
4580 (todo-category-number): Clarify comment.
4581 (todo-filter-items): Clarify documentation string.
4582 (todo-show-current-file, todo-display-as-todo-file)
4583 (todo-reset-and-enable-done-separator): Tweak documentation string.
4584 (todo-done-separator): Make separator length window-width, since
4585 bug#2749 is now fixed.
4586
ddbdfd6f
MA
45872013-07-05 Michael Albinus <michael.albinus@gmx.de>
4588
321e1a9c
SM
4589 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4590 Support both "gvfs-monitor-dir" and "inotifywait".
4591 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4592 `tramp-sh-file-notify-process-filter'.
4593 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4594 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4595
96eb829a
LL
45962013-07-05 Leo Liu <sdl.web@gmail.com>
4597
4598 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4599
cf13177e
YM
46002013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4601
4602 * frame.el (display-pixel-height, display-pixel-width)
4603 (display-mm-height, display-mm-width): Mention behavior on
4604 multi-monitor setups in docstrings.
4605 (w32-display-monitor-attributes-list): Declare function.
4606 (display-monitor-attributes-list): Use it.
4607
864c58ca
MA
46082013-07-04 Michael Albinus <michael.albinus@gmx.de>
4609
4610 * filenotify.el: New package.
4611
4612 * autorevert.el (top): Require filenotify.el.
4613 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4614 instead.
4615 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4616 (auto-revert-notify-handler): Use `file-notify-*' functions.
4617
4618 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4619
321e1a9c
SM
4620 * net/tramp.el (tramp-file-name-for-operation):
4621 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4622
4623 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4624 for `file-notify-add-watch' and `file-notify-rm-watch'.
4625 (tramp-process-sentinel): Improve trace.
4626 (tramp-sh-handle-file-notify-add-watch)
4627 (tramp-sh-file-notify-process-filter)
4628 (tramp-sh-handle-file-notify-rm-watch)
4629 (tramp-get-remote-inotifywait): New defuns.
4630
96673afe
JL
46312013-07-03 Juri Linkov <juri@jurta.org>
4632
4633 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4634 call of `occur-read-primary-args' to interactive spec.
4635
4636 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4637 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4638
924494f4
MM
46392013-07-03 Matthias Meulien <orontee@gmail.com>
4640
4641 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4642 `Buffer-menu-multi-occur'. Add it to the menu.
4643 (Buffer-menu-mode): Document it in docstring.
4644 (Buffer-menu-multi-occur): New command. (Bug#14673)
4645
56f75efc
DG
46462013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4647
4648 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4649 keywords and built-ins.
4650
9b057d61
GM
46512013-07-03 Glenn Morris <rgm@gnu.org>
4652
208dee4d
GM
4653 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4654
9b057d61
GM
4655 Make info-xref checks case-sensitive by default
4656 * info.el (Info-find-node, Info-find-in-tag-table)
4657 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4658 Add option for exact case matching of nodes.
4659 * info-xref.el (info-xref): New custom group.
4660 (info-xref-case-fold): New option.
4661 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4662
e01aa29c
LL
46632013-07-03 Leo Liu <sdl.web@gmail.com>
4664
4665 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4666
3086ca2e
DG
46672013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4668
4669 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4670 middle of block statement initially, lower the depth. Remove
4671 FIXME comment, not longer valid. Remove middle of block statement
4672 detection, no need to do that anymore since we've been using
4673 `ruby-parse-region' here.
4674
a3b49114
JD
46752013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4676
4677 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4678
08e5c823 46792013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4680
4681 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4682
2addf922
JB
46832013-07-01 Juanma Barranquero <lekktu@gmail.com>
4684
4685 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4686 (desktop-restore-in-current-display): New customization option.
4687 (desktop--excluded-frame-parameters): Add `font'.
4688 (desktop--save-frames): Rename from desktop--save-windows.
4689 (desktop--restore-in-this-display-p): New function.
4690 (desktop--make-full-frame): Remove unwanted width/height from
4691 full(width|height) frames.
4692 (desktop--restore-frames): Rename from desktop--restore-windows.
4693 Obey desktop-restore-current-display. Do not delete old frames or
4694 select a new frame unless we were able to restore at least one frame.
4695
ef099a94
MN
46962013-06-30 Michal Nazarewicz <mina86@mina86.com>
4697
4698 * files.el (find-file-noselect): Simplify conditional expression.
4699
4700 * remember.el (remember-append-to-file):
4701 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4702
4703 Add `remember-notes' function to store random notes across Emacs
4704 restarts.
4705 * remember.el (remember-data-file): Add :set callback to affect
4706 notes buffer (if any).
4707 (remember-notes): New command.
4708 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4709 New defcustoms for the `remember-notes' function.
4710 (remember-notes-save-and-bury-buffer): New command.
4711 (remember-notes-mode-map): New variable.
4712 (remember-mode): New minor mode.
4713 (remember-notes--kill-buffer-query): New function.
4714 * startup.el (initial-buffer-choice): Add notes to custom type.
4715
0865d506
EZ
47162013-06-30 Eli Zaretskii <eliz@gnu.org>
4717
0ba54312
EZ
4718 * bindings.el (right-char, left-char): Don't call sit-for, this is
4719 no longer needed. Use arithmetic comparison only for numerical
4720 arguments.
4721
ef099a94
MN
4722 * international/mule-cmds.el (select-safe-coding-system):
4723 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4724
2fae38e5
LMI
47252013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4726
4727 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4728 progression on degenerate tables.
ef099a94 4729 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4730
a47cbd64
JB
47312013-06-30 Juanma Barranquero <lekktu@gmail.com>
4732
4733 Some fixes and improvements for desktop frame restoration.
4734 It is still experimental and disabled by default.
4735 * desktop.el (desktop--save-windows): Put the selected frame at
4736 the head of the list.
4737 (desktop--make-full-frame): New function.
4738 (desktop--restore-windows): Try to re-select the frame that was
4739 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4740 just show an error message and continue. Set up maximized frames
4741 so they have default non-maximized dimensions.
a47cbd64 4742
6dbafa30
DG
47432013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4744
ef099a94
MN
4745 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4746 Don't start heredoc inside a string or comment.
6dbafa30 4747
4c672a0f
EZ
47482013-06-29 Eli Zaretskii <eliz@gnu.org>
4749
4750 * bindings.el (visual-order-cursor-movement): New defcustom.
4751 (right-char, left-char): Provide visual-order cursor motion by
4752 calling move-point-visually. Update the doc strings.
4753
50960f36
KH
47542013-06-28 Kenichi Handa <handa@gnu.org>
4755
4756 * international/mule.el (define-coding-system): New coding system
4757 properties :inhibit-null-byte-detection,
4758 :inhibit-iso-escape-detection, and :prefer-utf-8.
4759 (set-buffer-file-coding-system): If :charset-list property of
4760 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4761 appropriate for setting.
4762
c1ea3abf
JB
4763 * international/mule-cmds.el (select-safe-coding-system):
4764 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4765 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4766
4767 * international/mule-conf.el (prefer-utf-8): New coding system.
4768 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4769 files.
4770
75dbaf9d
IK
47712013-06-28 Ivan Kanis <ivan@kanis.fr>
4772
eadb6068
IK
4773 * net/shr.el (shr-render-region): New function.
4774
75dbaf9d
IK
4775 * net/eww.el: Autoload `eww-browse-url'.
4776
9ea5cf9f
DG
47772013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4778
c1ea3abf
JB
4779 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4780 Adapt to `package-desc-version' being a list.
4781 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4782 archive element.
4783
39c0e36f
JB
47842013-06-27 Juanma Barranquero <lekktu@gmail.com>
4785
4786 New experimental feature to save&restore window and frame setup.
4787 * desktop.el (desktop-save-windows): New defcustom.
4788 (desktop--saved-states): New var.
4789 (desktop--excluded-frame-parameters): New defconst.
4790 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4791 (desktop--restore-windows, desktop--save-windows): New functions.
4792 (desktop-save): Call `desktop--save-windows'.
4793 (desktop-read): Call `desktop--restore-windows'.
4794
7f13406b
LMI
47952013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4796
ef099a94 4797 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4798
1e072639
SB
47992013-06-27 Stephen Berman <stephen.berman@gmx.net>
4800
4801 * info.el (Info-try-follow-nearest-node): Move search for footnote
4802 above search for node name to prevent missing a footnote (bug#14717).
4803
f3e2cbde
SB
48042013-06-27 Stephen Berman <stephen.berman@gmx.net>
4805
4806 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4807
99906aa0
LL
48082013-06-27 Leo Liu <sdl.web@gmail.com>
4809
4810 * net/eww.el (eww-read-bookmarks): Check file size.
4811
539f75f4
SM
48122013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4815 advice--pending if newdef is nil or an autoload (bug#13820).
4816 (advice-mapc): New function.
4817
843571cb
LMI
48182013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819
4820 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4821 probably.
23a75d7f 4822 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4823 (eww-add-bookmark): New command.
4824 (eww-bookmark-mode): New mode and commands.
a285ce99 4825 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4826 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4827
f2136e1e
GM
48282013-06-26 Glenn Morris <rgm@gnu.org>
4829
eab35f39
GM
4830 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4831 (hfy-size): Handle ttys. (Bug#14668)
4832
f2136e1e
GM
4833 * info-xref.el: Update for Texinfo 5 change in *note format.
4834 (info-xref-node-re, info-xref-note-re): New constants.
4835 (info-xref-check-buffer): Use info-xref-note-re.
4836
a49ff80c
SM
48372013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4838
a343d218
SM
4839 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4840
a49ff80c
SM
4841 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4842 nil terminate the loop (bug#14718).
4843
8308f184
LMI
48442013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4845
4846 * net/eww.el: Rework history traversal. When going forward/back,
4847 put these actions into the history, too, so that they can be
4848 replayed.
26bf2b82 4849 (eww-render): Move the history reset to the correct buffer.
8308f184 4850
ec64c273
JL
48512013-06-25 Juri Linkov <juri@jurta.org>
4852
4853 * files-x.el (modify-dir-local-variable): Change the header comment
4854 in the file with directory local variables. (Bug#14692)
4855
e080a9d7
JL
4856 * files-x.el (read-file-local-variable-value): Add `default'.
4857 (Bug#14710)
4858
bfbc93a1
IK
48592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4860
4861 * net/eww.el (eww-make-unique-file-name): Create a unique file
4862 name before saving to entering `y' accidentally asynchronously.
4863
48642013-06-25 Ivan Kanis <ivan@kanis.fr>
4865
4866 * net/eww.el (eww-download): New command and keystroke.
4867
16f74f10
LMI
48682013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4869
a49ff80c 4870 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4871
4872 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4873 be more consistent with Info and dired.
4874
4875 * net/eww.el (eww-mode-map): Ditto.
4876
12059709
SM
48772013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4880 packages from archives.
4881 (package-archive-contents): Change format; include obsolete packages.
4882 (package-desc): Use `dir' to mark builtin packages.
4883 (package--from-builtin): Set the `dir' field to `builtin'.
4884 (generated-autoload-file, version-control): Declare.
4885 (package-compute-transaction): Change first arg and return value to be
4886 lists of package-descs. Adjust to new package-archive-contents format.
4887 (package--add-to-archive-contents): Adjust to new
4888 package-archive-contents format.
4889 (package-download-transaction): Arg is now a list of package-descs.
4890 (package-install): If `pkg' is a package name, pass it as
4891 a requirement, so it is subject to the usual (e.g. disabled) checks.
4892 (describe-package): Accept package-desc as well.
4893 (describe-package-1): Describe a specific package-desc. Add links to
4894 other package-descs for the same package name.
4895 (package-menu-describe-package): Pass the actual package-desc.
4896 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4897 works correctly.
4898 (package-desc-status): New function.
4899 (package-menu--refresh): New function, extracted
4900 from package-menu--generate.
4901 (package-menu--generate): Use it.
4902 (package-delete): Update package-alist.
4903 (package-menu-execute): Don't call package-initialize.
4904
4905 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4906 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4907 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4908 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4909 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4910 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4911
8bbdea0f
MR
49122013-06-25 Martin Rudalics <rudalics@gmx.at>
4913
4914 * window.el (window--state-get-1): Workaround for bug#14527.
4915 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4916
e82b0991
LMI
49172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4918
4919 * net/eww.el (eww-back-url): Implement the history by stashing all
4920 the data into a list.
d3f0f918 4921 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4922
c763842b
SM
49232013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4926 for values and use read--expression for expressions (bug#14710).
4927 (read-file-local-variable): Avoid setq.
4928 (read-file-local-variable-mode): Use minor-mode-list.
4929
bceff189
RW
49302013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4931
864c58ca 4932 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4933 for DOI URLs.
4934
45f431c6
RW
49352013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4936
864c58ca 4937 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4938 Update imenu-support when dialect changes.
4939
f42d8237
LL
49402013-06-25 Leo Liu <sdl.web@gmail.com>
4941
4942 * ido.el (ido-read-internal): Allow forward slash on windows.
4943
be549ce6
LMI
49442013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4945
4946 * net/eww.el (eww): Start of strings is \\`, not ^.
4947
71d4c19d
IK
49482013-06-24 Ivan Kanis <ivan@kanis.fr>
4949
5196f88a
IK
4950 * net/shr.el (shr-browse-url): Fix interactive spec.
4951
71d4c19d
IK
4952 * net/eww.el (eww): Add a trailing slash to domain names.
4953
ae36ca55
JB
49542013-06-24 Juanma Barranquero <lekktu@gmail.com>
4955
4956 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4957
0ebd92a3
LMI
49582013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4959
bdaa086b
LMI
4960 * net/shr.el (shr-browse-url): Use an external browser if given a
4961 prefix.
4962
c763842b 4963 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4964
b89fc156
IK
49652013-06-24 Ivan Kanis <ivan@kanis.fr>
4966
4967 * net/eww.el (eww): Work more correctly for file: URLs.
4968 (eww-detect-charset): Allow quoted charsets.
4969 (eww-yank-page-url): New command and keystroke.
4970
18eb4bca
DU
49712013-06-24 Daiki Ueno <ueno@gnu.org>
4972
4973 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4974 file name of gpg executable.
4975 (epg-context-program): New function.
4976 (epg-context-home-directory): New function.
4977 (epg-context-set-program): New function.
4978 (epg-context-set-home-directory): New function.
4979 (epg--start): Use `epg-context-program' instead of
4980 'epg-gpg-program'.
4981 (epg--list-keys-1): Likewise.
4982
6c6268c8
LL
49832013-06-24 Leo Liu <sdl.web@gmail.com>
4984
4985 * ido.el (ido-read-internal): Fix bug#14620.
4986
5e400cb3
JB
49872013-06-23 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * faces.el (face-documentation): Simplify.
4990 (read-face-attribute, tty-find-type, x-resolve-font-name):
4991 Use `string-match-p'.
4992 (list-faces-display): Use `string-match-p'. Simplify.
4993 (face-spec-recalc): Check face to avoid face alias loops.
4994 (read-color): Use `string-match-p' and non-capturing parenthesis.
4995
f3f9606c
LMI
49962013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4997
4998 * net/shr.el (shr-rescale-image): Use the new
4999 :max-width/:max-height functionality.
5000
a3ca09b9
IK
50012013-06-23 Ivan Kanis <ivan@kanis.fr>
5002
5003 * net/eww.el (eww-search-prefix): New variable.
5004 (eww): Use it.
f865b474
IK
5005 (eww-external-browser): New variable.
5006 (eww-mode-map): New keystroke.
5007 (eww-browse-with-external-browser): New command.
a3ca09b9 5008
e854cfc7
IK
5009 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5010
18bb9e21
JB
50112013-06-23 Juanma Barranquero <lekktu@gmail.com>
5012
5013 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5014 Don't skip aligning the next header field when padding is 0;
5015 otherwise, field width is not respected unless the title is as
5016 wide as the field.
5017
5b165ade
SM
50182013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * emacs-lisp/package.el (package-el-version): Remove.
5021 (package-process-define-package): Fix inf-loop.
5022 (package-install): Allow symbols as arguments again.
5023
12adebe9
DG
50242013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5025
5026 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5027 add some more keyword-like methods.
5028 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5029
388573ee
JB
50302013-06-22 Juanma Barranquero <lekktu@gmail.com>
5031
5032 * bs.el (bs-buffer-show-mark): Make defvar-local.
5033 (bs-mode): Use setq-local.
5034
5035 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5036 (emacs-lock--try-unlocking): Make defvar-local.
5037
4582a01c 50382013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5039
2663dd23
GM
5040 * play/cookie1.el (cookie-apropos): Minor simplification.
5041
3d94f3ad
GM
5042 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5043
f72e2fdb
DG
50442013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5045
5046 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5047 `regexp-opt', it breaks the build during dumping.
5048
73eab938
DG
50492013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5050
c763842b
SM
5051 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5052 Highlight keyword-like methods on Kernel and Module with
73eab938 5053 font-lock-builtin-face.
5cf8176d
DG
5054 (auto-mode-alist): Consolidate different entries into one regexp
5055 and add more *file-s.
73eab938 5056
d26255f6
SB
50572013-06-21 Stephen Berman <stephen.berman@gmx.net>
5058
5059 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5060
5061 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5062 (diary-entry): Use it in the action of this button type instead of
5063 diary-goto-entry.
5064
5065 * calendar/todo-mode.el: New version.
5066 (todo-add-category): Append new category to end of file and give
5067 it the highest number, instead of putting it at the beginning and
5068 giving it 0. Incorporate noninteractive functionality.
5069 (todo-forward-category): Adapt to 1-based category numbering.
5070 Allow skipping over archived categories.
5071 (todo-backward-category): Derive from todo-forward-category.
5072 (todo-backward-item, todo-forward-item): Make noninteractive and
5073 delegate interactive part to new commands. Make sensitive to done items.
5074 (todo-categories): Make value an alist of category names and
5075 vectors of item counts.
5076 (todo-category-beg): Make a defconst.
5077 (todo-category-number): Use 1 instead of 0 as initial value.
5078 (todo-category-select): Make sensitive to overlays, optional item
5079 highlighting and done items.
5080 (todo-delete-item): Make sensitive to overlays and marked and done items.
5081 (todo-edit-item): Make sensitive to overlays and editing of
5082 date/time header optional. Add format checks.
5083 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5084 no-op if point is not on an item. Advertise using todo-edit-quit.
5085 (todo-edit-mode): Make sensitive to new format, font-locking, and
5086 multiple todo files.
5087 (todo-insert-item, todo-insert-item-here): Derive from
5088 todo-basic-insert-item and extend functionality.
5089 (todo-item-end, todo-item-start): Make sensitive to done items.
5090 (todo-item-string): Don't return text properties. Restore point.
5091 (todo-jump-to-category): Make sensitive to multiple todo files and
5092 todo archives. Use extended category completion.
5093 (todo-lower-item, todo-raise-item): Rename to *-priority and
5094 derive from todo-set-item-priority.
5095 (todo-mode): Derive from special-mode. Make sensitive to new
5096 format, font-locking and multiple todo files. Make read-only.
5097 (todo-mode-map): Don't suppress digit keys, so they can supply
5098 prefix arguments. Add many new key bindings.
5099 (todo-prefix): Insert as an overlay instead of file text.
5100 Change semantics from diary date expression to purely visual mark.
5101 (todo-print): Rename to todo-print-buffer. Make buffer display
5102 features printable. Remove option to restrict number of items
5103 printed. Add option to print to file.
5104 (todo-print-function): Rename to todo-print-buffer-function.
5105 (todo-quit): Extend to handle exiting new todo modes.
5106 (todo-remove-item): Make sensitive to overlays.
5107 (todo-save): Extend to buffers of filtered items.
5108 (todo-show): Make sensitive to done items, multiple todo files and
5109 new todo modes. Offer to convert legacy todo file before creating
5110 first new todo file.
5111 (todo-show-priorities): Rename to todo-top-priorities.
5112 Change semantics of value 0.
5113 (todo-top-priorities): Rename to todo-filter-top-priorities,
5114 derive from todo-filter-items and extend functionality.
5115 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5116 and extend functionality to other types of filtered items.
5117 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5118 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5119 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5120 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5121 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5122 (todo-edit-mode-hook, todo-entry-prefix-function)
5123 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5124 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5125 (todo-initials, todo-insert-threshold, todo-item-string-start)
5126 (todo-line-string, todo-menu, todo-mode-hook)
5127 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5128 (todo-print-priorities, todo-remove-separator)
5129 (todo-save-top-priorities-too, todo-string-count-lines)
5130 (todo-string-multiline-p, todo-time-string-format)
5131 (todo-tmp-buffer-name): Remove.
5132 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5133 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5134 (todo-edit-category-diary-inclusion)
5135 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5136 (todo-edit-file, todo-edit-item-date-day)
5137 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5138 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5139 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5140 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5141 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5142 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5143 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5144 (todo-filter-top-priorities-multifile, todo-find-archive)
5145 (todo-find-filtered-items-file, todo-go-to-source-item)
5146 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5147 (todo-jump-to-archive-category, todo-lower-category)
5148 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5149 (todo-move-category, todo-move-item, todo-next-button)
5150 (todo-next-item, todo-padded-string, todo-powerset)
5151 (todo-previous-button, todo-previous-item)
5152 (todo-print-buffer-to-file, todo-raise-category)
5153 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5154 (todo-set-category-number, todo-set-item-priority)
5155 (todo-set-top-priorities-in-category)
5156 (todo-set-top-priorities-in-file, todo-show-categories-table)
5157 (todo-sort-categories-alphabetically-or-numerically)
5158 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5159 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5160 (todo-toggle-item-header, todo-toggle-item-highlighting)
5161 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5162 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5163 (todo-unarchive-items, todo-unmark-category): New commands.
5164 (todo-absolute-file-name, todo-add-to-buffer-list)
5165 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5166 (todo-basic-insert-item, todo-category-completions)
5167 (todo-category-number, todo-category-string-matcher-1)
5168 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5169 (todo-check-format, todo-clear-matches)
5170 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5171 (todo-current-category, todo-date-string-matcher)
5172 (todo-define-insertion-command, todo-diary-expired-matcher)
5173 (todo-diary-goto-entry, todo-diary-item-p)
5174 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5175 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5176 (todo-done-item-section-p, todo-done-separator)
5177 (todo-done-string-matcher, todo-files, todo-filter-items)
5178 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5179 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5180 (todo-insert-category-line, todo-insert-item-from-calendar)
5181 (todo-insert-sort-button, todo-insert-with-overlays)
5182 (todo-insertion-command-name, todo-insertion-key-bindings)
5183 (todo-label-to-key, todo-longest-category-name-length)
5184 (todo-make-categories-list, todo-mode-external-set)
5185 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5186 (todo-modes-set-3, todo-multiple-filter-files)
5187 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5188 (todo-read-category, todo-read-date, todo-read-dayname)
5189 (todo-read-file-name, todo-read-time)
5190 (todo-reevaluate-category-completions-files-defcustom)
5191 (todo-reevaluate-default-file-defcustom)
5192 (todo-reevaluate-filelist-defcustoms)
5193 (todo-reevaluate-filter-files-defcustom)
5194 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5195 (todo-reset-done-separator, todo-reset-done-separator-string)
5196 (todo-reset-done-string, todo-reset-global-current-todo-file)
5197 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5198 (todo-reset-prefix, todo-set-categories)
5199 (todo-set-date-from-calendar, todo-set-show-current-file)
5200 (todo-set-top-priorities, todo-short-file-name)
5201 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5202 (todo-total-item-counts, todo-update-buffer-list)
5203 (todo-update-categories-display, todo-update-categories-sexp)
5204 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5205 New functions.
5206 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5207 New major modes.
5208 (todo-categories, todo-display, todo-edit, todo-faces)
5209 (todo-filtered): New defgroups.
5210 (todo-archived-only, todo-button, todo-category-string, todo-date)
5211 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5212 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5213 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5214 (todo-add-item-if-new-category, todo-always-add-time-string)
5215 (todo-categories-align, todo-categories-archived-label)
5216 (todo-categories-category-label, todo-categories-diary-label)
5217 (todo-categories-done-label, todo-categories-number-separator)
5218 (todo-categories-todo-label, todo-categories-totals-label)
5219 (todo-category-completions-files, todo-completion-ignore-case)
5220 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5221 (todo-done-separator-string, todo-done-string)
5222 (todo-files-function, todo-filter-done-items, todo-filter-files)
5223 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5224 (todo-initial-category, todo-initial-file, todo-item-mark)
5225 (todo-legacy-date-time-regexp, todo-mode-line-function)
5226 (todo-nondiary-marker, todo-number-prefix)
5227 (todo-print-buffer-function, todo-show-current-file)
5228 (todo-show-done-only, todo-show-first, todo-show-with-done)
5229 (todo-skip-archived-categories, todo-top-priorities-overrides)
5230 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5231 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5232 New defcustoms.
5233 (todo-category-done, todo-date-pattern, todo-date-string-start)
5234 (todo-diary-items-buffer, todo-done-string-start)
5235 (todo-filtered-items-buffer, todo-item-start)
5236 (todo-month-abbrev-array, todo-month-name-array)
5237 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5238 (todo-top-priorities-buffer): New defconsts.
5239 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5240 (todo-categories-with-marks, todo-category-string-face)
5241 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5242 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5243 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5244 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5245 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5246 (todo-font-lock-keywords, todo-global-current-todo-file)
5247 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5248 (todo-insertion-commands-args)
5249 (todo-insertion-commands-args-genlist)
5250 (todo-insertion-commands-names, todo-insertion-map)
5251 (todo-key-bindings-t, todo-key-bindings-t+a)
5252 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5253 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5254 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5255 (todo-visited): New variables.
5256
cad5d1cb
GM
52572013-06-21 Glenn Morris <rgm@gnu.org>
5258
5259 * play/cookie1.el (cookie-apropos): Add optional display argument.
5260 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5261 (psychoanalyze-pinhead): Use cookie-doctor.
5262
9e277302
JB
52632013-06-21 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * emacs-lisp/package.el (tar-get-file-descriptor)
5266 (tar--extract): Declare.
5267
c5b0993e
EW
52682013-06-21 Eduard Wiebe <usenet@pusto.de>
5269
5270 Extend flymake's warning predicate to be a function (bug#14217).
5271 * progmodes/flymake.el (flymake-warning-predicate): New.
5272 (flymake-parse-line): Use it.
5273 (flymake-warning-re): Make obsolete alias to
5274 `flymake-warning-predicate'.
5275
a7d2d465
SM
52762013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5279 (package-obsolete-list): Remove.
5280 (package-activate): Remove min-version argument. Add `force' argument.
5281 Adjust to new package-alist format.
5282 (package-mark-obsolete): Remove.
5283 (package-unpack): Force reload of the package's autoloads.
5284 (package-installed-p): Check builtins if the installed package is not
5285 recent enough.
5286 (package-initialize): Don't reset package-obsolete-list.
5287 Don't specify which package version to activate.
5288 (package-process-define-package, describe-package-1)
5289 (package-menu--generate): Adjust to new package-alist format.
5290
cedf5c9d
JB
52912013-06-21 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * allout-widgets.el (allout-widgets-mode-off)
5294 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5295 (allout-widgets-post-command-business)
5296 (allout-widgets-after-copy-or-kill-function)
5297 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5298 (allout-decorate-item-and-context)
5299 (allout-graphics-modification-handler): Fix typos in docstrings.
5300 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5301
5302 * cmuscheme.el (scheme-start-file): Doc fix.
5303 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5304 (scheme-input-filter): Use `string-match-p'.
5305
5306 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5307
5308 * dired-x.el: Use Dired consistently in docstrings.
5309
5310 * dired.el: Use Dired consistently in docstrings.
5311 (dired-readin, dired-mode): Use `setq-local'.
5312 (dired-switches-alist): Make defvar-local.
5313 (dired-buffers-for-dir): Use `zerop'.
5314 (dired-safe-switches-p, dired-switches-escape-p)
5315 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5316 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5317 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5318 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5319 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5320 (dired-toggle-marks, dired-mark-files-containing-regexp)
5321 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5322 (dired-flag-auto-save-files, dired-flag-backup-files):
5323 Use `looking-at-p'.
5324 (dired-mark-files-regexp, dired-build-subdir-alist):
5325 Use `string-match-p', `looking-at-p'.
5326
5327 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5328 (direct-print-region-helper): Use `string-match-p'.
5329
aed838b5
LL
53302013-06-21 Leo Liu <sdl.web@gmail.com>
5331
cedf5c9d
JB
5332 * comint.el (comint-redirect-results-list-from-process):
5333 Fix infinite loop.
aed838b5 5334
d80a808f
LMI
53352013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336
5337 * net/eww.el (eww-update-header-line-format): Quote % characters.
5338
e7a526e3
GM
53392013-06-21 Glenn Morris <rgm@gnu.org>
5340
5341 * play/cookie1.el (cookie): New custom group.
5342 (cookie-file): New option.
5343 (cookie-check-file): New function.
5344 (cookie): Make it interactive. Make start and end messages optional.
5345 Interactively, display the result. Default to cookie-file.
5346 (cookie-insert): Default to cookie-file.
5347 (cookie-snarf): Make start and end messages optional.
5348 Default to cookie-file. Use with-temp-buffer.
5349 (cookie-read): Rename from read-cookie.
5350 Make start and end messages optional. Default to cookie-file.
5351 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5352 Do not autoload it.
e7a526e3
GM
5353 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5354 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5355
62efb35e
LL
53562013-06-21 Leo Liu <sdl.web@gmail.com>
5357
5358 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5359
21e3f963
GM
53602013-06-21 Glenn Morris <rgm@gnu.org>
5361
5362 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5363
fd846ab4
SM
53642013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5365 Daniel Hackney <dan@haxney.org>
5366
5367 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5368 Consolidate the single-file vs tarball code.
5369 (package-desc-suffix): New function.
5370 (package-desc-full-name): Don't bother inlining it.
5371 (package-load-descriptor): Return the new package-desc.
5372 (package-mark-obsolete): Remove unused arg `package'.
5373 (package-unpack): Make it work for single files as well.
5374 Make it update package-alist.
5375 (package--make-autoloads-and-stuff): Rename from
5376 package--make-autoloads-and-compile. Don't compile any more.
5377 (package--compile): New function.
5378 (package-generate-description-file): New function, extracted from
5379 package-unpack-single.
5380 (package-unpack-single): Remove.
5381 (package--with-work-buffer): Add indentation and debugging info.
5382 (package-download-single): Remove.
5383 (package-install-from-archive): Rename from package-download-tar, make
5384 it take a pkg-desc, and make it work for single files as well.
5385 (package-download-transaction): Simplify.
5386 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5387 external tar program.
5388 (package-install-from-buffer): Remove `pkg-desc' argument.
5389 Use package-tar-file-info for tar-mode buffers.
5390 (package-install-file): Simplify accordingly.
5391 (package-archive-base): Change to take a pkg-desc.
5392 * tar-mode.el (tar--check-descriptor): New function, extracted from
5393 tar-get-descriptor.
5394 (tar-get-descriptor): Use it.
5395 (tar-get-file-descriptor): New function.
5396 (tar--extract): New function, extracted from tar-extract.
5397 (tar--extract): Use it.
5398 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5399 case the summary uses non-ascii. Adjust to new calling convention of
5400 package-tar-file-info.
5401
b7deae5e
LL
54022013-06-21 Leo Liu <sdl.web@gmail.com>
5403
fd846ab4
SM
5404 * comint.el (comint-redirect-results-list-from-process):
5405 Fix random delay. (Bug#14681)
b7deae5e 5406
7a65a0b2
JB
54072013-06-21 Juanma Barranquero <lekktu@gmail.com>
5408
5409 * profiler.el (profiler-format-number): Use log, not log10.
5410
1493c2af
JB
54112013-06-20 Juanma Barranquero <lekktu@gmail.com>
5412
5413 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5414
aff6371e
SM
54152013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5418 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5419 yet available.
5420 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5421 (AUTOGENEL): ... here.
5422 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5423 (cl--defsubst-expand): Use it.
5424
89561f72
PE
54252013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5426
5427 * subr.el (log10): Move here from C code, and declare as obsolete.
5428 All uses of (log10 X) replaced with (log X 10).
5429
47199123
JB
54302013-06-20 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5433 Declare with `defvar-local'.
5434 (tabulated-list-use-header-line, tabulated-list-entries)
5435 (tabulated-list-padding, tabulated-list-printer)
5436 (tabulated-list-sort-key): Declare with `defvar-local'.
5437 (tabulated-list-init-header, tabulated-list-print-fake-header):
5438 Use `setq-local'.
5439
4a172eab
MA
54402013-06-20 Michael Albinus <michael.albinus@gmx.de>
5441
47199123
JB
5442 * arc-mode.el (archive-mode): Add `archive-write-file' to
5443 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5444
5fc0acc0
JB
54452013-06-20 Juanma Barranquero <lekktu@gmail.com>
5446
d5b27848
JB
5447 * cus-edit.el (custom-commands): Fix typos.
5448 (custom-display): Fix tooltip text.
5449 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5450 Fix typos in docstrings.
5451 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5452 (custom-unlispify-menu-entry, custom-magic-value-create)
5453 (custom-add-see-also, custom-group-value-create): Use ?\s.
5454 (custom-guess-type, customize-apropos, editable-field)
5455 (custom-face-value-create): Use `string-match-p'.
5456 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5457
5458 * custom.el (custom-load-symbol): Use `string-match-p'.
5459
a5c581d8
JB
5460 * ansi-color.el: Convert to lexical binding.
5461 (ansi-colors): Fix URL.
5462 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5463 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5464 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5465
970ad972
G
54662013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5467
5468 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5469
5470 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5471
54722013-06-19 Tom Tromey <tromey@redhat.com>
5473
5474 * net/eww.el (eww-top-url): Remove.
5475 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5476 (eww-render): Set new variables. Don't set eww-top-url.
5477 (eww-handle-link): Handle "prev", "home", and "contents".
5478 Downcase the rel text.
5479 (eww-top-url): Choose best top URL.
5480
54812013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482
5483 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5484 relying in widget.el. Using widget.el leads to too many
5485 user interface inconsistencies.
5486 (eww-self-insert): Implement entering commands in text fields.
5487 (eww-process-text-input): New function to make text input field editing
5488 work.
5489 (eww-submit): Rewrite to use the new-style form methods.
5490 (eww-select-display): Display the correct selected item.
5491 (eww-change-select): Implement changing the select value.
5492 (eww-toggle-checkbox): Implement radio/checkboxes.
5493 (eww-update-field): Fix compilation error.
5494 (eww-tag-textarea): Implement <textarea>.
5495
5496 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5497 we don't shadow mode-specific bindings.
5498
5499 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5500 nothing to push.
5501
5502 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5503
4582a01c 55042013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5505
5506 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5507
15b263dc
MA
55082013-06-19 Michael Albinus <michael.albinus@gmx.de>
5509
5510 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5511 not needed.
5512
5513 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5514
8f5297f7
LMI
55152013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5516
5517 * net/browse-url.el (browse-url-browser-function):
5518 `eww-browse-url' has the right calling signature, `eww' does not.
5519
011c4552
GM
55202013-06-19 Glenn Morris <rgm@gnu.org>
5521
2285bd27
GM
5522 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5523 Only eval autoloaded macros.
5524 (byte-compile-autoload): Only give the macro warning for macros.
5525
1d653303
GM
5526 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5527 (ps-underlined-faces): Declare.
5528
bdd779ec
GM
5529 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5530 (speedbar-add-supported-extension): Declare.
5531
011c4552
GM
5532 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5533 Don't include a date stamp in the header of the generated file;
5534 it leads to needless differences between output files.
5535
e59dfb0e
MA
55362013-06-19 Michael Albinus <michael.albinus@gmx.de>
5537
c763842b
SM
5538 * net/secrets.el (secrets-struct-secret-content-type):
5539 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5540 Some servers do not offer introspection.
e59dfb0e 5541
102626e2
SM
55422013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * electric.el (electric-pair-mode): Improve interaction with
5545 electric-layout-mode.
5546 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5547 (electric-pair-syntax): Use text-mode-syntax-table in comments
5548 and strings.
5549 (electric-pair--insert): New function.
5550 (electric-pair-post-self-insert-function): Use it and
5551 electric--after-char-pos.
5552
ad528125
LL
55532013-06-19 Leo Liu <sdl.web@gmail.com>
5554
5555 * progmodes/octave.el (octave-help): Fix regexp.
5556
924d6997
G
55572013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5558
5559 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5560 (shr-table-horizontal-line): Allow nil as a value, and change the
5561 default.
5562 (shr-insert-table-ruler): Respect the nil value.
5563
55642013-06-18 Tom Tromey <tromey@barimba>
5565
5566 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5567 New defvars.
5568 (eww-open-file): New defun.
5569 (eww-render): Initialize new variables.
5570 (eww-display-html): Handle "link" and "a".
5571 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5572 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5573 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5574 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5575 New defuns.
924d6997 5576
d1bbba4f
DG
55772013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5578
5579 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5580 Distinguish ternary operator tokens from slash symbol and slash
5581 char literal.
5582
14dd22d2
JB
55832013-06-18 Juanma Barranquero <lekktu@gmail.com>
5584
5585 Convert symbol prettification into minor mode and global minor mode.
5586
5587 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5588 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5589 (prettify-symbols--keywords): Rename from
5590 `prog-prettify-symbols-alist' and make a local defvar.
5591 (prettify-symbols--compose-symbol): Rename from
5592 `prog--prettify-font-lock-compose-symbol'.
5593 (prettify-symbols--make-keywords): Rename from
5594 `prog-prettify-font-lock-symbols-keywords' and simplify.
5595 (prog-prettify-install): Remove.
5596 (prettify-symbols-mode): New minor mode, based on
5597 `prog-prettify-install'.
5598 (turn-on-prettify-symbols-mode): New function.
5599 (global-prettify-symbols-mode): New globalized minor mode.
5600
5601 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5602 * progmodes/cfengine.el (cfengine3-mode):
5603 * progmodes/perl-mode.el (perl-mode): Don't call
5604 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5605
292c880c
JL
56062013-06-18 Juri Linkov <juri@jurta.org>
5607
5608 * files-x.el (modify-file-local-variable-message): New function.
5609 (modify-file-local-variable)
5610 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5611 and call `modify-file-local-variable-message' when it's non-nil.
5612 (add-file-local-variable, delete-file-local-variable)
5613 (add-file-local-variable-prop-line)
5614 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5615 and use it. (Bug#9820)
5616
0950aa27
JL
56172013-06-18 Juri Linkov <juri@jurta.org>
5618
5619 * emulation/vi.el (vi-shell-op):
5620 * emulation/vip.el (vip-execute-com, ex-command):
5621 * emulation/viper-cmd.el (viper-exec-bang):
5622 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5623 the call of `shell-command-on-region'. (Bug#14637)
5624
5625 * simple.el (shell-command-on-region): Doc fix.
5626
8fbcca16
SM
56272013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5630 (bug#14633).
5631
dd7426ea
GM
56322013-06-18 Glenn Morris <rgm@gnu.org>
5633
4ba54f7d
GM
5634 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5635
dd7426ea
GM
5636 * newcomment.el (comment-search-forward, comment-search-backward):
5637 Doc fix. (Bug#14376)
5638
58aa805b
JB
56392013-06-18 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5642 (buffer-face-mode-invoke): Doc fix.
5643
9a08a617
MM
56442013-06-18 Matthias Meulien <orontee@gmail.com>
5645
5646 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5647 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5648
f2f426ca
GM
56492013-06-18 Glenn Morris <rgm@gnu.org>
5650
9445f99b
GM
5651 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5652 Replace obsolete function generic-make-keywords with its expansion.
5653
e0df2d14
GM
5654 * progmodes/python.el (ffap-alist): Declare.
5655
f2f426ca
GM
5656 * textmodes/reftex.el (bibtex-mode-map): Declare.
5657
f7f9a720
SM
56582013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5661 (package-unpack, package-unpack-single): Return the pkg-dir.
5662 (package-download-transaction): Use it to update package-alist.
5663
57ff04e0
LMI
56642013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5665
5666 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5667 possible choice.
5668
c048c022
JL
56692013-06-17 Juri Linkov <juri@jurta.org>
5670
5671 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5672
b5bcaee5
DG
56732013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5674
a020afb9
JB
5675 * emacs-lisp/package.el (package-load-descriptor):
5676 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5677 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5678
551e07e5
JB
56792013-06-17 Juanma Barranquero <lekktu@gmail.com>
5680
5681 * startup.el (command-line): Expand package name returned by
5682 `package--description-file' (bug#14639).
5683
d363bffb
DG
56842013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5685
5686 * emacs-lisp/package.el (package-load-descriptor): Do not call
5687 `emacs-lisp-mode', just use its syntax table.
5688
f612933b
JB
56892013-06-17 Juanma Barranquero <lekktu@gmail.com>
5690
5691 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5692 `font-lock-extra-managed-props' if any prettifying keyword is added.
5693 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5694 (prog-mode): Use `setq-local'.
5695
db3b7db5
SM
56962013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * international/characters.el (standard-case-table): Set syntax of ?»
5699 and ?« to punctuation.
5700
f3d674df
JB
57012013-06-16 Juanma Barranquero <lekktu@gmail.com>
5702
5703 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5704 Save relevant match data before calling `syntax-ppss' (bug#14595).
5705
31489a32
JL
57062013-06-15 Juri Linkov <juri@jurta.org>
5707
5708 * files-x.el (modify-file-local-variable-prop-line): Add local
5709 variables to the end of the existing comment on the first line.
5710 Use `file-auto-mode-skip' to skip interpreter magic line,
5711 and also skip XML declaration.
5712
66bd25ab
SM
57132013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * startup.el (package--builtin-versions): New var.
5716 (package-subdirectory-regexp): Remove.
5717 (package--description-file): Hard code its value instead.
5718
5719 * emacs-lisp/package.el: Don't activate packages older than builtin.
5720 (package-obsolete-list): Rename from package-obsolete-alist, and make
5721 it into a simple list of package-desc.
5722 (package-strip-version): Remove.
5723 (package-built-in-p): Use package--builtin-versions.
5724 (package-mark-obsolete): Simplify.
5725 (package-process-define-package): Mark it obsolete if older than the
5726 builtin version.
5727 (package-handle-response): Use line-end-position.
5728 (package-read-archive-contents, package--download-one-archive):
5729 Simplify.
5730 (package--add-to-archive-contents): Skip if older than the builtin or
5731 installed version.
5732 (package-menu-describe-package): Fix last change.
5733 (package-list-unversioned): New var.
5734 (package-menu--generate): Use it.
5735
5736 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5737 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5738 (autoload-builtin-package-versions): New variable.
5739 (autoload-generate-file-autoloads): Use them.
5740 Remove the list of autoloaded functions/macros from the
5741 (autoload...) comments.
5742
5743 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5744
9583ec36
EZ
57452013-06-15 Eli Zaretskii <eliz@gnu.org>
5746
5747 * simple.el (line-move-partial): Don't jump to the next screen
5748 line as soon as it becomes visible. Instead, continue enlarging
5749 the vscroll until the portion of a tall screen line that's left on
5750 display is about the height of the frame's default font.
5751 (Bug#14567)
5752
f0100d8a
GM
57532013-06-15 Glenn Morris <rgm@gnu.org>
5754
b86a85ca
GM
5755 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5756 compilation-error-regexp-alist void, or local while let-bound.
5757
f0100d8a
GM
5758 * progmodes/make-mode.el (makefile-mode-syntax-table):
5759 Treat "=" as punctuation. (Bug#14614)
5760
05e7ce90
JB
57612013-06-15 Juanma Barranquero <lekktu@gmail.com>
5762
5763 * help-fns.el (describe-variable):
5764 Add extra line for permanent-local variables.
5765
12e5e86e
SH
57662013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5767
5768 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5769 Add export, import, library. (Bug#9164)
5770 (library): Set indent function.
5771
230dcbaf
GM
57722013-06-14 Glenn Morris <rgm@gnu.org>
5773
5774 * term/xterm.el (xterm--query):
5775 Stop after first matching handler. (Bug#14615)
5776
e36b2d20 57772013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5778
5779 Add support for dired in saveplace.
5780 * dired.el (dired-initial-position-hook): New variable.
5781 (dired-initial-position): Call hook to place cursor position.
5782 * saveplace.el (save-place-to-alist): Add dired position.
5783 (save-place-dired-hook): New function.
5784
0b31660d
SM
57852013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5786
bf1e6ae8
SM
5787 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5788 through a symbol rather than letrec.
5789
1b8dff23
SM
5790 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5791 (package-desc): Add `dir' field.
5792 (package-desc-full-name): New function.
5793 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5794 (package-maybe-load-descriptor): Remove.
5795 (package-load-all-descriptors): Just call package-load-descriptor.
5796 (package--disabled-p): New function.
5797 (package-desc-vers, package-desc-doc): Remove aliases.
5798 (package--dir): Remove function.
5799 (package-activate): Check if a package is disabled.
5800 (package-process-define-package): New function, extracted from
5801 define-package.
5802 (define-package): Turn into a place holder.
5803 (package-unpack-single, package-tar-file-info):
5804 Use package--description-file.
5805 (package-compute-transaction): Use package--disabled-p.
5806 (package-download-transaction): Don't call
5807 package-maybe-load-descriptor since they're all loaded anyway.
5808 (package-install): Change argument to be a pkg-desc.
5809 (package-delete): Use a single pkg-desc argument.
5810 (describe-package-1): Use package-desc-dir instead of package--dir.
5811 Use package-desc property instead of package-symbol.
5812 (package-install-button-action): Adjust accordingly.
5813 (package--push): Rewrite.
5814 (package-menu--print-info): Adjust accordingly. Change the ID format
5815 to be a pkg-desc.
5816 (package-menu-describe-package, package-menu-get-status)
5817 (package-menu--find-upgrades, package-menu-mark-upgrades)
5818 (package-menu-execute, package-menu--name-predicate):
5819 Adjust accordingly.
5820 * startup.el (package--description-file): New function.
5821 (command-line): Use it.
5822 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5823 Use package-desc-version.
5824
0b31660d
SM
5825 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5826 (byte-compile-preprocess): Use it.
5827 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5828 can't quite recognize.
5829 (byte-compile-add-to-list): Remove.
5830 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5831 (cconv-closure-convert): Add assertion.
5832
5833 * emacs-lisp/map-ynp.el: Use lexical-binding.
5834 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5835 Factor out some repeated code.
5836
de0503df
SM
58372013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * subr.el (with-eval-after-load): New macro.
5840 (eval-after-load): Allow form to be a function.
5841 take advantage of lexical-binding.
5842 (do-after-load-evaluation): Use dolist and adjust to new format.
5843 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5844
bc5c8c5a
JL
58452013-06-13 Juri Linkov <juri@jurta.org>
5846
5847 * replace.el (perform-replace): Display "symbol " and other search
5848 modes from `isearch-message-prefix' in the *Help* buffer.
5849
5850 * isearch.el (isearch-query-replace): Add " symbol" and other
5851 possible search modes from `isearch-message-prefix' to the prompt.
5852 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5853 when reading a regexp to collect.
5854
a22289f7
JL
58552013-06-13 Juri Linkov <juri@jurta.org>
5856
5857 * isearch.el (word-search-regexp): Match whitespace if the search
5858 string begins or ends in whitespace. The LAX arg is applied to
5859 both ends of the search string. Use `regexp-quote' and explicit
5860 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5861 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5862 boundaries are replaced with symbol boundaries, and characters
5863 between symbols match non-word non-symbol syntax. (Bug#14602)
5864
cb89acab
JL
58652013-06-13 Juri Linkov <juri@jurta.org>
5866
5867 * isearch.el (isearch-del-char): Don't exceed the length of
5868 `isearch-string' by the prefix arg. (Bug#14563)
5869
6e8cfc81
JL
58702013-06-13 Juri Linkov <juri@jurta.org>
5871
5872 * isearch.el (isearch-yank-word, isearch-yank-line)
5873 (isearch-char-by-name, isearch-quote-char)
5874 (isearch-printing-char, isearch-process-search-char):
5875 Add optional count prefix arg. (Bug#14563)
5876
5877 * international/isearch-x.el
5878 (isearch-process-search-multibyte-characters):
5879 Add optional count prefix arg.
5880
c23d55f4
VS
58812013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5884 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5885 lexical-binding.
5886
58872013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5888
5889 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5890
ba947bc4
GM
58912013-06-13 Glenn Morris <rgm@gnu.org>
5892
8baeb37a
GM
5893 * startup.el (tty-handle-args):
5894 Don't just discard "--" and anything after. (Bug#14608)
5895
ba947bc4
GM
5896 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5897
9abefce4
MA
58982013-06-13 Michael Albinus <michael.albinus@gmx.de>
5899
5900 Implement changes in Secret Service API. Make it backward compatible.
5901 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5902 (secrets-create-item): Use it. Prefix properties with interface.
5903
5755011f
MH
59042013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5905
5906 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5907 (term-emulate-terminal): Respect term-suppress-hard-newline.
5908
1261d2da
S
59092013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5910
5911 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5912 Only remove a `thumb-file' overlay. (Bug#14548)
5913
868490bb
GJ
59142013-06-12 Grégoire Jadi <daimrod@gmail.com>
5915
5916 * mail/reporter.el (reporter-submit-bug-report):
5917 Handle missing package-name. (Bug#14600)
5918
79d7167f
TH
59192013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5920
5921 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5922 (reftex-citation-prompt, reftex-default-bibliography)
5923 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5924 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5925 (reftex-bib-sort-author, reftex-bib-sort-year)
5926 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5927 (reftex-extract-bib-entries-from-thebibliography)
5928 (reftex-get-bibkey-default, reftex-get-bib-names)
5929 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5930 (reftex-format-bib-entry, reftex-parse-bibitem)
5931 (reftex-format-bibitem, reftex-do-citation)
5932 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5933 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5934 (reftex-insert-bib-matches, reftex-format-citation)
5935 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5936 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5937 existing comments into docstrings.
5938
5f9dbd7a
XF
59392013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5940
5941 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5942
94df41ab
AS
59432013-06-12 Andreas Schwab <schwab@suse.de>
5944
5945 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5946 for auto-save files.
5947
a7f3fecc
GM
59482013-06-12 Glenn Morris <rgm@gnu.org>
5949
001809f6
GM
5950 * ido.el (ido-delete-ignored-files): Remove.
5951 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5952 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5953
834b5ded
EL
59542013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5955
08c73ed2
EL
5956 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5957
834b5ded
EL
5958 * ido.el (ido-delete-ignored-files): New function,
5959 split from ido-make-file-list-1.
5960 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5961 (ido-make-file-list-1): Use ido-delete-ignored-files.
5962
daabf15a
LL
59632013-06-12 Leo Liu <sdl.web@gmail.com>
5964
5965 * progmodes/octave.el (inferior-octave-startup)
5966 (inferior-octave-completion-table)
5967 (inferior-octave-track-window-width-change)
5968 (octave-eldoc-function-signatures, octave-help)
5969 (octave-find-definition): Use single quoted strings.
5970 (inferior-octave-startup-args): Change default value.
5971 (inferior-octave-startup): Do not hard code "-i" and
5972 "--no-line-editing".
5973 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5974 (inferior-octave-directory-tracker): Use it.
5975 (octave-goto-function-definition): Robustify.
5976 (octave-help): Support highlighting operators in 'See also'.
5977 (octave-find-definition): Find subfunctions only in Octave mode.
5978
cf4e5178
SM
59792013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * help-fns.el (help-fns--compiler-macro): If the handler function is
5982 named, then put a link to it.
5983 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5984 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5985 (cl-typep): Use it.
5986 (cl-eval-when): Simplify debug spec.
5987 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5988 compiler-macro function instead of setting `compiler-macro-file'.
5989
99c81280 59902013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5991
5992 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5993 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5994
f56be016
SM
59952013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5996 Daniel Hackney <dan@haxney.org>
5997
5998 First part of Daniel Hackney's patch to package.el.
5999 * emacs-lisp/package.el: Use defstruct.
6000 (package-desc): New, main struct.
6001 (package--bi-desc, package--ac-desc): New structs, used to describe the
6002 format in external files.
6003 (package-desc-vers): Replace with package-desc-version accessor.
6004 (package-desc-doc): Replace with package-desc-summary accessor.
6005 (package-activate-1): Remove `package' arg since the pkg-vec now
6006 includes the name.
6007 (define-package): Use package-desc-from-define.
6008 (package-unpack-single): Change file-name arg to be a symbol.
6009 (package--add-to-archive-contents): Use package-desc-create and new
6010 accessor functions to package--ac-desc.
6011 (package-buffer-info, package-tar-file-info): Return a package-desc.
6012 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6013 arg to be a package-desc.
6014 (package-install-file): Adjust accordingly. Use \' to match EOS.
6015 (package--from-builtin): New function.
6016 (describe-package-1, package-menu--generate): Use it.
6017 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6018 (package-generate-autoloads): Idem and return the name of the file.
6019 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6020 Change pkg-info arg to be a package-desc.
6021 Use package-make-ac-desc.
6022 (package-upload-file): Use \' to match EOS.
6023 * finder.el (finder-compile-keywords): Use package-make-builtin.
6024
31119d63
SM
60252013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6026
931a2762
SM
6027 * vc/vc.el (vc-deduce-fileset): Change error message.
6028 (vc-read-backend): New function.
6029 (vc-next-action): Use it.
6030
5a3eb0c6
SM
6031 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6032
e3eb1bb7
SM
6033 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6034 (prolog-font-lock-keywords): Use regexp-opt instead.
6035 Don't manually highlight strings.
6036 (prolog-mode-variables): Simplify comment-start-skip.
6037 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6038
31119d63
SM
6039 * emacs-lisp/generic.el (generic--normalise-comments)
6040 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6041 (generic-mode-set-comments): Use them.
6042 (generic-bracket-support): Use setq-local.
6043 (generic-make-keywords-list): Declare obsolete.
6044
7de135d0
GM
60452013-06-11 Glenn Morris <rgm@gnu.org>
6046
6047 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6048 Prettify after setting font-lock-defaults. (Bug#14574)
6049
fa6bc6fd
JB
60502013-06-11 Juanma Barranquero <lekktu@gmail.com>
6051
6052 * replace.el (query-replace, occur-read-regexp-defaults-function)
6053 (replace-search):
6054 * subr.el (declare-function, number-sequence, local-set-key)
6055 (substitute-key-definition, locate-user-emacs-file)
6056 (with-silent-modifications, split-string, eval-after-load):
6057 Fix typos, remove unneeded backslashes and reflow some docstrings.
6058
cf1f9b9a
SM
60592013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6062 default for Elisp files.
6063
56602a4b
GM
60642013-06-11 Glenn Morris <rgm@gnu.org>
6065
6066 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6067 although define-derived-mode was doing this anyway. (Bug#14583)
6068
30ae0b2c
JB
60692013-06-10 Juanma Barranquero <lekktu@gmail.com>
6070
6071 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6072 Fix make-variable-buffer-local call to refer to the correct variable.
6073
fa472906
AG
60742013-06-10 Aidan Gauland <aidalgol@amuri.net>
6075
6076 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6077 (eshell-visual-subcommands, eshell-visual-options):
6078 Add summary line to docstrings. Add cross-references.
fa472906 6079
ff4871b9
GM
60802013-06-10 Glenn Morris <rgm@gnu.org>
6081
6082 * epa.el (epa-read-file-name): New function. (Bug#14510)
6083 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6084
04fcf1b0
AG
60852013-06-09 Aidan Gauland <aidalgol@amuri.net>
6086
6087 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6088 output redirection to be ignored with visual commands.
6089
88b00caa
AG
60902013-06-09 Aidan Gauland <aidalgol@amuri.net>
6091
6092 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6093 (eshell-term-initialize): Move long lambda to separate function
6094 eshell-visual-command-p.
e7b41c4c
JB
6095 * eshell/em-dirs.el (eshell-dirs-initialise):
6096 * eshell/em-script.el (eshell-script-initialize):
6097 Add missing #' to lambda.
88b00caa 6098
fda74125
LL
60992013-06-08 Leo Liu <sdl.web@gmail.com>
6100
6101 * progmodes/octave.el (octave-add-log-current-defun): New function.
6102 (octave-mode): Set add-log-current-defun-function.
6103 (octave-goto-function-definition): Do not move point if not found.
6104 (octave-find-definition): Enhance to try subfunctions first.
6105
467f3b33
GM
61062013-06-08 Glenn Morris <rgm@gnu.org>
6107
6108 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6109 (byte-compile-backward-char, byte-compile-backward-word):
6110 Improve previous change, to handle non-explicit nil.
6111
544badc3
SM
61122013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6115 (smie--opener/closer-at-point): New function.
6116 (smie--matching-block-data): Use it. Don't match from right after an
6117 opener or right before a closer. Obey smie-blink-matching-inners.
6118 Don't signal a mismatch for repeated inners like "switch..case..case".
6119
a175bf33
LL
61202013-06-07 Leo Liu <sdl.web@gmail.com>
6121
6122 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6123 to t. (Bug#14303)
ce8209d4
LL
6124 (octave-function-header-regexp): Fix. (Bug#14570)
6125 (octave-help-mode-finish-hook, octave-help-mode-finish):
6126 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6127
6128 * newcomment.el (comment-search-backward): Revert last change.
6129 (Bug#14434)
6130
6131 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6132
a822acff
EZ
61332013-06-07 Eli Zaretskii <eliz@gnu.org>
6134
6135 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6136 through xargs, to avoid failure due to MS-Windows limitations on
6137 command-line length.
6138
961166f5
GM
61392013-06-06 Glenn Morris <rgm@gnu.org>
6140
d0341459
GM
6141 * font-lock.el (lisp-font-lock-keywords-2):
6142 Treat user-error like error.
6143
961166f5
GM
6144 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6145 (byte-compile-backward-char, byte-compile-backward-word):
6146 Handle explicit nil arguments. (Bug#14565)
6147
80fa505f
AM
61482013-06-05 Alan Mackenzie <acm@muc.de>
6149
6150 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6151 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6152 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6153 (Bug#9706)
80fa505f 6154
fccdc796
SM
61552013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * autorevert.el (auto-revert-notify-handler): Use memq.
6158 Hide assertion failure.
6159
6160 * skeleton.el: Use cl-lib.
6161 (skeleton-further-elements): Use defvar-local.
6162 (skeleton-insert): Use cl-progv.
6163
9bfff84b
TZ
61642013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6165
6166 * progmodes/prog-mode.el (prog-prettify-symbols)
6167 (prog-prettify-install): Update docstrings.
6168
55577e7c
SM
61692013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * simple.el: Move all the prog-mode code to prog-mode.el.
6172 * progmodes/prog-mode.el: New file.
6173 * loadup.el: Add prog-mode.el.
6174
8fc57765
TZ
61752013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6176
6177 * simple.el (prog-prettify-symbols): Add version.
6178 (prog-prettify-install): Add convenience function to prettify symbols.
6179
6180 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6181 (perl--augmented-font-lock-keywords-1)
6182 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6183 variables and use it.
6184
6185 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6186 (cfengine3-mode): Remove unneeded variable and use it.
6187
6188 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6189 (lisp--augmented-font-lock-keywords-1)
6190 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6191 Remove unneeded variables and use it.
6192
650645d5 61932013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6194
6195 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6196 to point when opening the connection. (Bug#14380)
28f5da6d 6197
781b4af6
SM
61982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * subr.el (load-history-regexp, load-history-filename-element)
6201 (eval-after-load, after-load-functions, do-after-load-evaluation)
6202 (eval-next-after-load, display-delayed-warnings)
6203 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6204 definition of save-match-data.
6205 (overriding-local-map): Remove accidental obsolescence declaration.
6206
6207 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6208
3ca0d0b4
TZ
62092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6210
6211 Generalize symbol prettify support to prog-mode and implement it
6212 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6213 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6214 (prog--prettify-font-lock-compose-symbol)
6215 (prog-prettify-font-lock-symbols-keywords): New variables and
6216 functions to support symbol prettification.
6217 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6218 (lisp--augmented-font-lock-keywords-1)
6219 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6220 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6221 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6222 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6223 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6224 * progmodes/perl-mode.el (perl-prettify-symbols)
6225 (perl--font-lock-compose-symbol)
6226 (perl--font-lock-symbols-keywords): Move to prog-mode.
6227 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6228 (perl-font-lock-keywords-1)
6229 (perl-font-lock-keywords-2): Remove explicit prettify support.
6230 (perl--augmented-font-lock-keywords)
6231 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6232 (perl--augmented-font-lock-keywords-2, perl-mode):
6233 Implement prettify support.
3ca0d0b4 6234
976cb066
LL
62352013-06-05 Leo Liu <sdl.web@gmail.com>
6236
6237 Re-implement smie matching block highlight using
6238 show-paren-data-function. (Bug#14395)
6239 * emacs-lisp/smie.el (smie-matching-block-highlight)
6240 (smie--highlight-matching-block-overlay)
6241 (smie--highlight-matching-block-lastpos)
6242 (smie-highlight-matching-block)
6243 (smie-highlight-matching-block-mode): Remove.
6244 (smie--matching-block-data-cache): New variable.
6245 (smie--matching-block-data): New function.
6246 (smie-setup): Use smie--matching-block-data for
6247 show-paren-data-function.
6248
6249 * progmodes/octave.el (octave-mode-menu): Fix.
6250 (octave-find-definition): Skip garbage lines.
6251
208d0342
SM
62522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 Fix compilation error with simultaneous dynamic+lexical scoping.
6255 Add warning when a defvar appears after the first let-binding.
6256 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6257 (byte-compile-close-variables): Initialize it.
6258 (byte-compile--declare-var): New function.
6259 (byte-compile-file-form-defvar)
6260 (byte-compile-file-form-define-abbrev-table)
6261 (byte-compile-file-form-custom-declare-variable): Use it.
6262 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6263 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6264 (byte-compile-bind): Handle dynamic bindings that shadow
6265 lexical bindings.
6266 (byte-compile-unbind): Make arg non-optional.
6267 (byte-compile-let): Simplify.
6268 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6269 (cconv--analyse-function, cconv-analyse-form): Populate it.
6270 Protect byte-compile-bound-variables to limit the scope of defvars.
6271 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6272 Remove unneeded rule for `declare'.
6273
6274 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6275 so as to avoid depending on cl-adjoin at run-time.
6276 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6277
6278 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6279 (macroexp--warn-and-return): Use it.
6280
2587b005
LL
62812013-06-05 Leo Liu <sdl.web@gmail.com>
6282
6283 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6284
f1da3c88
LL
62852013-06-04 Leo Liu <sdl.web@gmail.com>
6286
6287 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6288 (compilation-auto-jump): Suppress the "Mark set" message to give
6289 way to exit message.
6290
3caa391f
AM
62912013-06-04 Alan Mackenzie <acm@muc.de>
6292
6293 Remove faulty optimisation from indentation calculation.
6294 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6295 search limit based on 2000 characters back from indent-point.
6296
068922a2
TH
62972013-06-03 Tassilo Horn <tsdh@gnu.org>
6298
6299 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6300
1f8fdd53
SM
63012013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6302
bbcc4d97
SM
6303 * emacs-lisp/lisp.el: Use lexical-binding.
6304 (lisp--local-variables-1, lisp--local-variables): New functions.
6305 (lisp--local-variables-completion-table): New var.
208d0342 6306 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6307
1f8fdd53
SM
6308 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6309 eagerly (bug#14422).
6310
c9628c79
MA
63112013-06-03 Michael Albinus <michael.albinus@gmx.de>
6312
6313 * autorevert.el (auto-revert-notify-enabled)
6314 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6315 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6316 (auto-revert-notify-handler): Handle also gfilenotify.
6317
e7b41c4c 6318 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6319 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6320 Remove.
c9628c79 6321
e5e4a942
JL
63222013-06-03 Juri Linkov <juri@jurta.org>
6323
6324 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6325 `M-s h .'. (Bug#14427)
6326
6327 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6328 command `hi-lock-face-symbol-at-point'.
6329 (hi-lock-face-symbol-at-point): New command.
6330 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6331 (hi-lock-menu): Add `highlight-symbol-at-point'.
6332 (hi-lock-mode): Doc fix.
6333
6334 * isearch.el (isearch-forward-symbol-at-point): New command.
6335 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6336 (isearch-highlight-regexp): Add a regexp which matches
6337 words/symbols for word/symbol mode.
6338
6339 * subr.el (find-tag-default-bounds): New function with the body
6340 mostly moved from `find-tag-default'.
6341 (find-tag-default): Move most code to `find-tag-default-bounds',
6342 call it and apply `buffer-substring-no-properties' afterwards.
6343
26b3353a
TH
63442013-06-03 Tassilo Horn <tsdh@gnu.org>
6345
781b4af6
SM
6346 * eshell/em-term.el (eshell-term-initialize):
6347 Use `cl-intersection' rather than `intersection'.
26b3353a 6348
51b60f53
XF
63492013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6350
fe054b63 6351 * vc/log-view.el: Doc fix.
d3ffe17c 6352 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6353
a0eb10b3 63542013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6355
6356 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6357 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6358 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6359 (eieio-unbound, eieio-default-superclass)
6360 (eieio--define-field-accessors, method-static, method-before)
6361 (method-primary, method-after, method-num-lists)
6362 (method-generic-before, method-generic-primary)
6363 (method-generic-after, method-num-slots)
6364 (eieio-specialized-key-to-generic-key)
6365 (eieio--check-type, class-v, class-p)
6366 (eieio-class-name, define-obsolete-function-alias)
6367 (eieio-class-parents-fast, eieio-class-children-fast)
6368 (same-class-fast-p, class-constructor, generic-p)
6369 (generic-primary-only-p, generic-primary-only-one-p)
6370 (class-option-assoc, class-option, eieio-object-p)
6371 (class-abstract-p, class-method-invocation-order)
6372 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6373 (eieio-class-un-autoload, eieio-defclass)
6374 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6375 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6376 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6377 (eieio-defgeneric-reset-generic-form)
6378 (eieio-defgeneric-form-primary-only)
6379 (eieio-defgeneric-reset-generic-form-primary-only)
6380 (eieio-defgeneric-form-primary-only-one)
6381 (eieio-defgeneric-reset-generic-form-primary-only-one)
6382 (eieio-unbind-method-implementations)
6383 (eieio--defmethod, eieio--typep)
6384 (eieio-perform-slot-validation, eieio-validate-slot-value)
6385 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6386 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6387 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6388 (eieio-slot-name-index, eieio-class-slot-name-index)
6389 (eieio-set-defaults, eieio-initarg-to-attribute)
6390 (eieio-attribute-to-initarg, eieio-c3-candidate)
6391 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6392 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6393 (eieio-class-precedence-list, eieio-generic-call-methodname)
6394 (eieio-generic-call-arglst, eieio-generic-call-key)
6395 (eieio-generic-call-next-method-list)
6396 (eieio-pre-method-execution-functions, eieio-generic-call)
6397 (eieio-generic-call-primary-only, eieiomt-method-list)
6398 (eieiomt-optimizing-obarray, eieiomt-install)
6399 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6400 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6401 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6402 (defclass): Remove `eval-and-compile' from macro.
6403 (call-next-method, shared-initialize): Instead of using
6404 `scoped-class' variable, use new eieio--scoped-class, and
6405 eieio--with-scoped-class.
6406 (initialize-instance): Rename local variable 'scoped-class' to
6407 'this-class' to remove ambiguitity from old global.
6408
6409 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6410 eieio.el.
4f405069
JB
6411 (eieio--scoped-class-stack): New variable.
6412 (eieio--scoped-class): New fcn.
890f7890
DE
6413 (eieio--with-scoped-class): New scoping macro.
6414 (eieio-defclass): Use pushnew instead of add-to-list.
6415 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6416 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6417 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6418 `scoped-class' variable, use new eieio--scoped-class, and
6419 eieio--with-scoped-class.
6420
6421 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6422
d105b0e2
TH
64232013-06-02 Tassilo Horn <tsdh@gnu.org>
6424
6425 * eshell/esh-ext.el (eshell-external-command): Pass args to
6426 `eshell-find-interpreter'.
6427 (eshell-find-interpreter): Add new second parameter ARGS.
6428
6429 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6430 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6431
6432 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6433 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6434
6435 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6436 (eshell-visual-options): New defcustom.
6437 (eshell-escape-control-x): Adapt docstring.
6438 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6439 `eshell-visual-options' in addition to `eshell-visual-commands'.
6440 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6441
f46305c8 64422013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6443
6444 * progmodes/python.el (python-indent-block-enders): Add break,
6445 continue and raise keywords.
6446
d870df21
GM
64472013-06-01 Glenn Morris <rgm@gnu.org>
6448
9133b82e
GM
6449 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6450
02c992ec 6451 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6452 * progmodes/cc-cmds.el (delete-forward-p):
6453 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6454 * progmodes/cc-engine.el (buffer-syntactic-context):
6455 * progmodes/cc-fonts.el (face-property-instance):
6456 * progmodes/cc-mode.el (set-keymap-parents):
6457 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6458 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6459 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6460 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6461 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6462
31e7b090
GM
6463 * progmodes/cc-vars.el (other): Emacs has this widget since
6464 at least 21.1, so don't (re)define it.
6465
d870df21
GM
6466 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6467 Replace the obsolete alias pcomplete-arg-quote-list.
6468
c75c93c7
LL
64692013-06-01 Leo Liu <sdl.web@gmail.com>
6470
6471 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6472 punctuation syntax.
6473 (inferior-octave-minimal-columns)
6474 (inferior-octave-last-column-width): New variables.
6475 (inferior-octave-track-window-width-change): New function.
6476 (inferior-octave-mode): Adjust column width so that Octave output,
6477 for example from 'ls', can fit into the window nicely.
6478
973d1e12
DG
64792013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6480
6481 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6482 Highlight expansions inside regexp literals.
6483
0888c286
GM
64842013-05-31 Glenn Morris <rgm@gnu.org>
6485
e26aac1f
GM
6486 * obsolete/sym-comp.el (symbol-complete):
6487 Replace obsolete completion-annotate-function.
6488
0888c286
GM
6489 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6490
19bb8e62
DG
64912013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6492
781b4af6
SM
6493 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6494 New function, checks if point is inside a literal that allows
19bb8e62
DG
6495 expression expansion.
6496 (ruby-syntax-propertize-expansion): Use it.
6497 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6498 around the body.
6499
01dea85f
JL
65002013-05-30 Juri Linkov <juri@jurta.org>
6501
6502 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6503 to "\M-si".
6504 (isearch-invisible): New variable.
6505 (isearch-forward): Doc fix.
6506 (isearch-mode): Set `isearch-invisible'
6507 to the value of `search-invisible'.
6508 (isearch-toggle-case-fold): Doc fix.
6509 (isearch-toggle-invisible): New command.
6510 (isearch-query-replace): Let-bind `search-invisible'
6511 to the value of `isearch-invisible'.
6512 (isearch-search): Use `isearch-invisible' instead of
6513 `search-invisible'. Let-bind `search-invisible'
6514 to the value of `isearch-invisible'. (Bug#11378)
6515
ab1bdce5
JL
65162013-05-30 Juri Linkov <juri@jurta.org>
6517
6518 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6519 call when `query-flag' is nil and `search-invisible' is non-nil.
6520 (Bug#11746)
6521
d6d236e2
GM
65222013-05-30 Glenn Morris <rgm@gnu.org>
6523
8accd027
GM
6524 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6525
2a8bed1c
GM
6526 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6527 (cc-require): Suppress spurious "noruntime" warnings.
6528 (cc-require-when-compile): Use fboundp, for sake of compiler.
6529
d6d236e2
GM
6530 * progmodes/cc-mode.el: Move load of cc-vars before that of
6531 cc-langs (which in turn loads cc-vars), to quieten compiler.
6532
9190b35b
SM
65332013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * paren.el: Simplify the code.
6536 (show-paren-mode): Always start the timer.
6537 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6538 (show-paren--overlay, show-paren--overlay-1): Rename from
6539 show-paren-overlay and show-paren-overlay-1, and initialize to an
6540 overlay rather than to nil.
6541 (show-paren-function): Misc cleanup and simplifications.
6542
4f8d1cf6
SM
65432013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * paren.el (show-paren-data-function): New hook.
6546 (show-paren--default): New function, extracted from show-paren-function.
6547 (show-paren-function): Use show-paren-data-function.
6548
02d844b5
GM
65492013-05-30 Glenn Morris <rgm@gnu.org>
6550
d209d4a9
GM
6551 * ielm.el (ielm-map, ielm-complete-symbol):
6552 Use completion-at-point rather than obsolete functions.
6553 (inferior-emacs-lisp-mode): Doc fix.
6554 Set completion-at-point-functions, rather than
6555 comint-dynamic-complete-functions.
6556
2082faa6
GM
6557 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6558 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6559 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6560
dd8620de
GM
6561 * image.el (image-animated-p): Tweak definition.
6562
ceca95b1
GM
6563 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6564 (rlogin-process-connection-type): Tweak default. Add set-after.
6565 (rlogin-host): Doc fix.
6566 (rlogin): Tweak prompt.
6567 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6568
ee9f1acc
GM
6569 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6570 * progmodes/tcl.el (inferior-tcl-mode-map):
6571 Use completion-at-point rather than obsolete alias.
6572
45ce222e
GM
6573 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6574
02d844b5
GM
6575 * minibuffer.el (read-file-name-completion-ignore-case):
6576 Move before completion--in-region, for eager macro expansion.
6577
ac44d6c1
JL
65782013-05-29 Juri Linkov <juri@jurta.org>
6579
6580 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6581 for total count of matching lines. Add `global-matches' for total
6582 count of matches. Rename `matches' to `lines' for count of
6583 matching lines. Add `matches' for count of matches.
6584 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6585 to `prev-line' for line number of prev match endpt.
6586 Increment `matches' for every match. Print the number of
6587 matching lines in the header.
6588 (occur-context-lines): Rename `lines' to `curr-line'.
6589 Rename `prev-lines' to `prev-line'. (Bug#14017)
6590
3c9c9d38
JL
65912013-05-29 Juri Linkov <juri@jurta.org>
6592
6593 * replace.el (perform-replace): Add `skip-read-only-count',
6594 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6595 Increment them for corresponding conditions and report the number
6596 of skipped occurrences in the final message. (Bug#11746)
6597 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6598 (replace-string, replace-regexp): Doc fix.
6599
33e249a2
SM
66002013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6601
8e399682
SM
6602 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6603
33e249a2 6604 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6605 prog-mode-map (bug#14504).
33e249a2 6606
f236dd84
LL
66072013-05-29 Leo Liu <sdl.web@gmail.com>
6608
6609 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6610 (octave-help): Small simplification.
6611
6612 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6613 off the highlight first.
6614
3694d13f
GM
66152013-05-29 Glenn Morris <rgm@gnu.org>
6616
03983bdc
GM
6617 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6618 Handle idlwave-last-system-routine-info-cons-cell being nil.
6619
bc74a74a
GM
6620 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6621 (idlwave-write-paths): Simplify via with-temp-buffer.
6622
8b394200
GM
6623 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6624 * emulation/cua-rect.el: Also load cua-base at run time.
6625
3694d13f
GM
6626 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6627 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6628 (cperl-imenu-on-info): Require imenu.
6629
336d7284
AM
66302013-05-28 Alan Mackenzie <acm@muc.de>
6631
6632 Handle "capitalised keywords" correctly.
33e249a2 6633 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6634
cb29c582
AG
66352013-05-28 Aidan Gauland <aidalgol@amuri.net>
6636
781b4af6 6637 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6638
690e44b2
GM
66392013-05-28 Glenn Morris <rgm@gnu.org>
6640
e658d75c
GM
6641 * vc/vc-arch.el (vc-exec-after): Declare.
6642 (vc-switches): Autoload.
6643 * vc/vc-bzr.el: No need to require vc when compiling.
6644 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6645 (vc-resynch-buffer, vc-dir-refresh): Declare.
6646 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6647 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6648 (vc-resynch-buffer): Declare.
6649 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6650 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6651 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6652 (grep-read-regexp, grep-read-files, grep-expand-template)
6653 (vc-dir-refresh): Declare.
6654 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6655 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6656 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6657 * vc/vc-mtn.el (vc-exec-after): Declare.
6658 (vc-switches): Autoload.
6659 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6660 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6661 (vc-file-tree-walk): Declare.
712b9732
GM
6662 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6663 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6664 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6665 * vc/vc-svn.el (vc-exec-after): Declare.
6666 (vc-switches, vc-setup-buffer): Autoload.
6667 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6668 Autoload.
6669 (vc-resynch-buffer): Declare.
6670
98e87fb3
GM
6671 * obsolete/fast-lock.el (byte-compile-warnings):
6672 Don't warn about obsolete features in this obsolete file.
6673
f5379553
GM
6674 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6675 Move definition before use.
6676
7a20ef83
GM
6677 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6678 (dun-unix-verbs): Remove dun-zippy.
6679 (dun-zippy): Remove function.
6680
690e44b2
GM
6681 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6682
3a52ccf7
JL
66832013-05-27 Juri Linkov <juri@jurta.org>
6684
6685 * replace.el (replace-search): New function with code moved out
6686 from `perform-replace'.
6687 (replace-highlight, replace-dehighlight): Move function definitions
6688 up closer to `replace-search'. (Bug#11746)
6689
d289938a
JL
66902013-05-27 Juri Linkov <juri@jurta.org>
6691
6692 * replace.el (perform-replace): Ignore invisible matches.
6693 In addition to checking `query-replace-skip-read-only', also
6694 filter out matches by calling `run-hook-with-args-until-failure'
6695 on `isearch-filter-predicates', and also check `search-invisible'
6696 for t or call `isearch-range-invisible'.
6697 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6698
66fc57e3
JL
66992013-05-27 Juri Linkov <juri@jurta.org>
6700
6701 * isearch.el (isearch-filter-predicates): Rename from
6702 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6703 (isearch-message-prefix): Display text from the property
6704 `isearch-message-prefix' of the currently active filters.
6705 (isearch-search): Don't compare `isearch-filter-predicate' with
6706 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6707 on `isearch-filter-predicates'. Also check `search-invisible' for t
6708 or call `isearch-range-invisible'.
6709 (isearch-filter-visible): Make obsolete.
6710 (isearch-lazy-highlight-search):
6711 Call `run-hook-with-args-until-failure' on
6712 `isearch-filter-predicates' and use `isearch-range-invisible'.
6713
6714 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6715 `isearch-filter-predicates' instead of `funcall'ing
6716 `isearch-filter-predicate'.
6717 (Info-mode): Set `Info-isearch-filter' to
6718 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6719
6720 * dired-aux.el (dired-isearch-filter-predicate-orig):
6721 Remove variable.
6722 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6723 (dired-isearch-filenames-end): Add and remove
6724 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6725 instead of changing the value of `isearch-filter-predicate'.
6726 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6727 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6728 Put property `isearch-message-prefix' to "filename " on
6729 `dired-isearch-filter-filenames'.
6730
6731 * wdired.el (wdired-change-to-wdired-mode):
6732 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6733 locally instead of changing `isearch-filter-predicate'.
6734 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6735
f1a60a0f
DG
67362013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6737
6738 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6739 return the commit hash (Bug#14459). Also set the
6740 `vc-git-detached' property.
6741 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6742 (vc-git-mode-line-string): Use the same help-echo format whether
6743 in detached mode or not, because we know the actual revision now.
6744 When in detached mode, shorten the revision to 7 chars.
6745
7f17cc40
SM
67462013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * emacs-lisp/easy-mmode.el (define-minor-mode):
6749 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6750 mode hook and provide a docstring.
6751
25c8401c
AM
67522013-05-27 Alan Mackenzie <acm@muc.de>
6753
6754 Remove spurious syntax-table text properties inserted by C-y.
6755 * progmodes/cc-mode.el (c-after-change): Also clear hard
6756 syntax-table property with value nil.
6757
dde84790
MA
67582013-05-27 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6761 when reading the events; the buffer layout shall not be changed.
6762
837fd9af
LL
67632013-05-27 Leo Liu <sdl.web@gmail.com>
6764
6765 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6766 New variable.
6767 (inferior-octave-directory-tracker): Automatically re-sync
6768 default-directory.
6769 (octave-help): Improve handling of 'See also'.
6770
4fd996b3
SM
67712013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6772
416f1802
SM
6773 * doc-view.el: Minor naming convention tweaks.
6774 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6775
4fd996b3
SM
6776 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6777 even if there's no `display' property yet (bug#14435).
6778
a052ef3b
EZ
67792013-05-25 Eli Zaretskii <eliz@gnu.org>
6780
4fd996b3 6781 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6782
6783 * Makefile.in (custom-deps, finder-data, autoloads)
6784 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6785 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6786 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6787
c9023370
SM
67882013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6791 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6792 Don't burp at EOB.
c9023370 6793
24d699fa
LL
67942013-05-25 Leo Liu <sdl.web@gmail.com>
6795
6796 * comint.el (comint-previous-matching-input): Do not flood the
6797 *Messages* buffer with trivial messages.
6798
17e5c0cc
SM
67992013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * progmodes/flymake.el (flymake-nop): Don't return a string.
6802 (flymake-set-at): Fix typo.
6803
6804 * simple.el (read--expression): New function, extracted from
6805 eval-expression. Set completion-at-point-functions (bug#14465).
6806 (eval-expression, eval-minibuffer): Use it.
6807
5d028165
XF
68082013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6809
6810 * progmodes/flymake.el (flymake-save-buffer-in-file)
6811 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6812 (flymake-selected-frame, flymake-log, flymake-ins-after)
6813 (flymake-set-at, flymake-get-buildfile-from-cache)
6814 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6815 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6816 Refine the doc string.
6817 (flymake-get-file-name-mode-and-masks): Reformat.
6818 (flymake-get-real-file-name-function): Fix a minor bug.
6819
7a1d7ba7
JL
68202013-05-24 Juri Linkov <juri@jurta.org>
6821
6822 * progmodes/grep.el (grep-mode-font-lock-keywords):
6823 Support =linenumber= format used by git-grep for lines with
6824 function names. (Bug#13549)
6825
650cff3d
SM
68262013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6829 0 after a semi-colon; it works better for smie-auto-fill.
6830 (octave--indent-new-comment-line): New function.
6831 (octave-indent-new-comment-line): Use it (indirectly).
6832 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6833 modify comment-line-break-function.
6834
6835 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6836 (smie-setup): Use add-function to set it.
6837
9631677d
SS
68382013-05-24 Sam Steingold <sds@gnu.org>
6839
6840 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6841 argument (before the `interactive' argument).
6842
50105835
SM
68432013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * image-mode.el (image-mode-winprops): Add winprops to
6846 image-mode-winprops-alist before running
6847 image-mode-new-window-functions.
6848 * doc-view.el (doc-view-new-window-function): Don't delay
6849 doc-view-goto-page via timers (bug#14435).
6850
57b9823e
TH
68512013-05-24 Tassilo Horn <tsdh@gnu.org>
6852
6853 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6854 (doc-view-desktop-save-buffer): New function.
6855 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6856 (desktop-buffer-mode-handlers):
6857 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6858 handler.
6859 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6860 `desktop-save-buffer' function.
6861
91aafa16
MA
68622013-05-24 Michael Albinus <michael.albinus@gmx.de>
6863
6864 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6865 (tramp-gvfs-file-name-handler): Raise a user error when
6866 `tramp-gvfs-enabled' is nil.
6867 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6868 Do not raise a user error when loading package. (Bug#14447)
6869
ec076379
MA
6870 * net/xesam.el: Move to obsolete/.
6871
db785726
GM
68722013-05-24 Glenn Morris <rgm@gnu.org>
6873
af5c7606
GM
6874 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6875
e5d1916a
GM
6876 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6877
ded62b08
GM
6878 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6879 (Info-find-node, Man-getpage-in-background): Declare.
6880
9e614a3f
GM
6881 * mail/unrmail.el (unrmail):
6882 Replace obsolete detect-coding-with-priority.
6883
892f8ca3
GM
6884 * net/socks.el (socks-split-string): Use this rather than split-string.
6885 (socks-nslookup-host): Update for above change.
6886 (dynamic-choice, s5-dynamic-choice-match)
6887 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6888 Comment out unused code.
6889
3c291973
GM
6890 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6891 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6892 (gud-tooltip-echo-area): Make obsolete.
6893 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6894
43cc956b
GM
6895 * progmodes/js.el (js--optimize-arglist): Declare.
6896
dab49a3b
GM
6897 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6898
36b9d085
GM
6899 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6900 (ediff-window-C): Declare.
6901
e354ae76
GM
6902 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6903 Tweak requires to silence compiler.
6904
b8e57bf4
GM
6905 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6906 (he-search-string, he-tried-table, he-expand-list)
6907 (he-init-string, he-string-member, he-substitute-string)
6908 (he-reset-string): Declare.
6909
db785726
GM
6910 * obsolete/options.el (list-options): Use custom-variable-p,
6911 rather than obsolete alias.
6912
b3531901
SS
69132013-05-23 Sam Steingold <sds@gnu.org>
6914
6915 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6916 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6917 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6918
bdda4c66
SM
69192013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * emacs-lisp/smie.el (smie-indent-forward-token)
6922 (smie-indent-backward-token): Handle string tokens (bug#14381).
6923
c43d45f9
TH
69242013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6925
fe1eb856
RS
6926 * ielm.el (ielm-menu): New menu.
6927 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6928
fe1eb856
RS
69292013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6930
6931 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6932 Fix deactivate action.
6933
6934 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6935 Add cleveref macros.
074dd971 6936
c43d45f9
TH
6937 * lisp/textmodes/reftex-parse.el
6938 (reftex-locate-bibliography-files): Accept options for
6939 bibliography commands.
6940 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6941 Add addbibresource. Basic Biblatex support.
6942
7764286e
MA
69432013-05-23 Michael Albinus <michael.albinus@gmx.de>
6944
6945 * net/tramp-gvfs.el (top):
6946 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6947 when loading package. (Bug#14447)
6948
d361bc10
GM
69492013-05-23 Glenn Morris <rgm@gnu.org>
6950
8fa23984
GM
6951 * progmodes/js.el: No need to load comint when compiling.
6952 (ring-insert, comint-send-string, comint-send-input)
6953 (comint-last-input-end, ido-chop): Declare.
6954
a5c7df1a
GM
6955 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6956 * vc/ediff-mult.el: Adjust requires.
6957 (ediff-directories-internal, ediff-directory-revisions-internal)
6958 (ediff-patch-file-internal): Declare.
6959 * vc/ediff-ptch.el: Adjust requires.
6960 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6961 (ediff-find-file): Autoload.
6962 * vc/ediff-util.el: No need to load ediff when compiling.
6963 (ediff-regions-internal): Declare.
6964 * vc/ediff-wind.el: Adjust requires.
6965 (ediff-compute-toolbar-width): Define when compiling.
6966 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6967 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6968 (dired-get-filename, dired-get-marked-files)
6969 (ediff-last-dir-patch, ediff-patch-default-directory)
6970 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6971 (ediff-patch-buffer-internal): Declare.
6972
e2aec513
GM
6973 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6974 (ispell-process, ispell-buffer-local-words, lm-summary)
6975 (lm-section-start, lm-section-end): Declare.
6976 (checkdoc-ispell-init): Simplify.
6977
e68bbd7c
GM
6978 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6979 (he-string-member, he-reset-string, he-substitute-string): Declare.
6980
7efe0991
GM
6981 * eshell/em-ls.el: Adjust requires.
6982 (eshell-glob-regexp): Declare.
f87b1284
GM
6983 * eshell/em-tramp.el: Adjust requires.
6984 (eshell-parse-command): Autoload.
6985 * eshell/em-xtra.el: Adjust requires.
6986 (eshell-parse-command): Autoload.
6987 * eshell/esh-ext.el: Adjust requires.
6988 (eshell-parse-command, eshell-close-handles): Autoload.
6989 * eshell/esh-io.el: Adjust requires.
6990 (eshell-output-filter): Autoload.
6991 * eshell/esh-util.el: No need to load tramp when compiling.
6992 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6993 Declare.
6994 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6995 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6996 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6997 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6998 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6999 * eshell/esh-opt.el, eshell/esh-proc.el:
7000 * eshell/esh-var.el: Adjust requires.
7001 * eshell/eshell.el: Do not require esh-util twice.
7002 (eshell-add-input-to-history): Declare.
7003 (eshell-command): Check history module is active before using it.
7004
d361bc10
GM
7005 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7006
85d090a9
LL
70072013-05-22 Leo Liu <sdl.web@gmail.com>
7008
7009 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7010
5d0acd9d
MA
70112013-05-22 Michael Albinus <michael.albinus@gmx.de>
7012
7013 * autorevert.el (auto-revert-notify-add-watch)
7014 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7015 it indicates changes in file modification time.
7016
0cdffd7d
GM
70172013-05-22 Glenn Morris <rgm@gnu.org>
7018
ca5995ec
GM
7019 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7020 Always delete the autoloaded function from the noruntime and
7021 unresolved functions lists.
7022
6450907e
GM
7023 * allout.el: No need to load epa, epg, overlay when compiling.
7024 (epg-context-set-passphrase-callback, epg-list-keys)
7025 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7026 (epg-key-user-id-list): Declare.
7027
9c6906f6
GM
7028 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7029 (viper-set-parsing-style-toggling-macro)
7030 (viper-set-emacs-state-searchstyle-macros):
7031 Use called-interactively-p on Emacs.
7032 (viper-looking-back): Make it an obsolete alias. Update callers.
7033 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7034 Use looking-back rather than viper-looking-back.
7035 (viper-tmp-insert-at-eob, viper-enlarge-region)
7036 (viper-read-string-with-history, viper-register-to-point)
7037 (viper-append-to-register, viper-change-state-to-vi)
7038 (viper-backward-char-carefully, viper-forward-char-carefully)
7039 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7040 (viper-change-state-to-emacs): Declare.
7041 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7042 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7043 * emulation/viper-mous.el: Do not load viper-cmd.
7044 (viper-backward-char-carefully, viper-forward-char-carefully)
7045 (viper-forward-word, viper-adjust-window): Declare.
7046
5f70c169
GM
7047 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7048
b1b7f300
GM
7049 * progmodes/idlw-help.el (idlwave-help-fontify):
7050 Use called-interactively-p.
7051
f6ebbb46
GM
7052 * term/w32console.el (w32-get-console-codepage)
7053 (w32-get-console-output-codepage): Declare.
7054
0cdffd7d
GM
7055 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7056 Remove unnecessary declarations.
7057 (dframe-message): Doc fix.
7058
7059 * info.el (dframe-select-attached-frame, dframe-current-frame):
7060 Declare.
7061
7062 * speedbar.el (speedbar-message): Make it an obsolete alias.
7063 Update all callers.
7064 (speedbar-with-attached-buffer)
7065 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7066 (speedbar-with-writable): Use backquote.
7067 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7068 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7069 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7070 rather than speedbar- aliases.
7071 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7072 (speedbar-make-specialized-keymap, speedbar-insert-button)
7073 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7074 (speedbar-do-function-pointer): Declare.
7075 (rmail-speedbar-button, rmail-speedbar-find-file)
7076 (rmail-speedbar-move-message):
7077 Use dframe-with-attached-buffer rather than speedbar- alias.
7078 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7079 (dframe-message, speedbar-make-specialized-keymap)
7080 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7081 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7082 (speedbar-insert-button, dframe-select-attached-frame)
7083 (dframe-maybee-jump-to-attached-frame)
7084 (speedbar-change-initial-expansion-list)
7085 (speedbar-previously-used-expansion-list-name): Declare.
7086 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7087 Use dframe-message, dframe-with-attached-buffer rather than
7088 speedbar- aliases.
7089 (gud-sentinel): Silence compiler.
7090 * progmodes/vhdl-mode.el (speedbar-refresh)
7091 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7092 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7093 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7094 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7095 (speedbar-file-lists, speedbar-make-tag-line)
7096 (speedbar-line-directory, speedbar-goto-this-file)
7097 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7098 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7099 (speedbar-make-button, speedbar-reset-scanners)
7100 (speedbar-files-item-info, speedbar-line-text)
7101 (speedbar-find-file-in-frame, speedbar-set-timer)
7102 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7103 (speedbar-with-writable): Do not (re)define it.
7104 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7105 rather than speedbar- alias.
7106
ee44b62a
LL
71072013-05-21 Leo Liu <sdl.web@gmail.com>
7108
7109 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7110 menu items.
7111 (octave-mode): Tweak fill-nobreak-predicate.
7112 (inferior-octave-startup): Check process to avoid infinite loop.
7113 (inferior-octave): Pop to buffer first to show abornmal process
7114 exit information.
7115
640f050f
GM
71162013-05-21 Glenn Morris <rgm@gnu.org>
7117
79458038
GM
7118 * printing.el (pr-menu-bar): Define when compiling.
7119
9cc3e83f
LL
71202013-05-21 Leo Liu <sdl.web@gmail.com>
7121
7122 * progmodes/octave.el (octave-auto-fill): Remove.
7123 (octave-indent-new-comment-line): Improve.
7124 (octave-mode): Use auto fill mode through
4f405069 7125 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7126 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7127 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7128 (octave-help): Show parent directory.
7129
f440830d
GM
71302013-05-21 Glenn Morris <rgm@gnu.org>
7131
7132 * files.el (dired-unmark):
7133 * progmodes/gud.el (gdb-input): Update declarations.
7134
7135 * calculator.el (electric, ehelp): No need to load when compiling.
7136 (Electric-command-loop, electric-describe-mode): Declare.
7137
7138 * doc-view.el (doc-view-current-converter-processes): Move before use.
7139
7140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7141 Move MODE-set-explicitly definition before use.
7142
7143 * international/mule-diag.el (mule-diag):
7144 Don't use obsolete window-system-version.
7145
7146 * mail/feedmail.el (smtpmail): No need to load when compiling.
7147 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7148
7149 * mail/mail-utils.el (rfc822): No need to load when compiling.
7150 (rfc822-addresses): Autoload it.
7151 (mail-strip-quoted-names): Trivial simplification.
7152
7153 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7154 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7155
7156 * net/snmp-mode.el (tempo): Don't duplicate requires.
7157
7158 * progmodes/prolog.el (info): No need to load when compiling.
7159 (comint): Require before shell requires it.
7160 (Info-goto-node): Autoload it.
7161 (Info-follow-nearest-node): Declare.
7162 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7163
7164 * textmodes/artist.el (picture-mode-exit): Declare.
7165
7166 * textmodes/reftex-parse.el (reftex-parse-from-file):
7167 Trivial rewrite so the compiler can parse it better.
7168
b4da2cbb
LL
71692013-05-20 Leo Liu <sdl.web@gmail.com>
7170
7171 * progmodes/octave.el (octave-help-mode-map)
7172 (octave-help-mode-finish-hook): New variables.
7173 (octave-help-mode, octave-help-mode-finish): New functions.
7174 (octave-help): Use octave-help-mode.
7175
33c0f65b
GM
71762013-05-20 Glenn Morris <rgm@gnu.org>
7177
7178 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7179
1a0a0a8a
DG
71802013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7181
7182 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7183 start at point, so that expansion starting right after opening
7184 slash in a regexp is recognized.
7185 (ruby-syntax-before-regexp-re): New defvar, extracted from
7186 ruby-syntax-propertize-function. Since the value of this regexp
7187 is looked up at runtime now, we should be able to turn
7188 `ruby-syntax-methods-before-regexp' into a defcustom later.
7189 (ruby-syntax-propertize-function): Split regexp matching into two
7190 parts, for opening and closing slashes. That allows us to skip
7191 over string interpolations and support multiline regexps.
7192 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7193 for them, which calls `ruby-syntax-propertize-expansion'.
7194 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7195 call to `ruby-syntax-propertize-function'.
7196 (ruby-syntax-propertize-expansion): Extracted from
7197 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7198 (ruby-syntax-propertize-percent-literal): Leave point right after
7199 the percent symbol, so that the expression expansion rule can
7200 propertize the contents.
462388b6
DG
7201 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7202 heredoc openers.
7203 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7204
c1a6c0a4
JL
72052013-05-18 Juri Linkov <juri@jurta.org>
7206
7207 * man.el (Man-default-man-entry): Remove `-' from the end
7208 of the default value. (Bug#14400)
7209
8051fccd
GM
72102013-05-18 Glenn Morris <rgm@gnu.org>
7211
7212 * comint.el (comint-password-prompt-regexp):
7213 Allow "password for XXX" where XXX contains colons (eg https://...).
7214
5e80b74f
LL
72152013-05-18 Leo Liu <sdl.web@gmail.com>
7216
7217 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7218 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7219 (octave-source-directories): Don't check process.
7220 (octave-source-directories, octave-find-definition): Doc fix.
7221
521a54c5
GM
72222013-05-18 Glenn Morris <rgm@gnu.org>
7223
86a94b05
GM
7224 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7225 Remove backspace/delete bindings. (Bug#14392)
7226
521a54c5
GM
7227 * cus-dep.el (custom-make-dependencies): Sort the output.
7228 (custom-versions-load-alist): Convert comment to doc.
7229
42caeb89
LL
72302013-05-17 Leo Liu <sdl.web@gmail.com>
7231
7232 * newcomment.el (comment-search-backward): Stricter in finding
7233 comment start. (Bug#14303)
7234
7235 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7236 (octave-comment-start-skip): Properly anchored.
7237
e219dd97
LL
72382013-05-17 Leo Liu <sdl.web@gmail.com>
7239
fe1eb856
RS
7240 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7241 Clean up when turned off. (Bug#14395)
e219dd97
LL
7242 (smie--highlight-matching-block-overlay): No longer buffer-local.
7243 (smie-highlight-matching-block): Adjust.
7244
dc5dcb4b
PE
72452013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 Doc string fix for "nanoseconds" (Bug#14406).
7248 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7249 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7250
1db165f0
JB
72512013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7252
7253 * calc/calc-units.el (math-extract-units): Preserve powers
7254 of units.
7255
c7a8fcac
LL
72562013-05-17 Leo Liu <sdl.web@gmail.com>
7257
7258 * subr.el (delete-consecutive-dups): New function.
7259 * ido.el (ido-set-matches-1): Use it.
7260 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7261 * ido.el (ido-remove-consecutive-dups): Remove.
7262
f678b18a
SM
72632013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7266 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7267 regexp-opt's `words'.
7268
ebfe68e8
LL
72692013-05-16 Leo Liu <sdl.web@gmail.com>
7270
7271 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7272 (smie--highlight-matching-block-overlay)
7273 (smie--highlight-matching-block-lastpos)
7274 (smie--highlight-matching-block-timer): New variables.
7275 (smie-highlight-matching-block): New function.
7276 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7277 (smie-setup): Conditionally enable smie-blink-matching-open.
7278
bc8bc17d
WS
72792013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7280
7281 Sync with upstream verilog-mode r840.
7282 * progmodes/verilog-mode.el (verilog-mode-version)
7283 (verilog-mode-release-date): Update.
7284 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7285 (verilog-sig-tieoff): Fix string error on
7286 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7287 (verilog-read-decls): Fix parameters confusing
7288 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7289
df065a0b
EZ
72902013-05-16 Eli Zaretskii <eliz@gnu.org>
7291
7292 * subr.el (reveal-filename): New function.
7293
7294 * loadup.el: Compute Emacs executable versions on MS-Windows,
7295 where executables have the .exe extension. Add a hard link
7296 emacs-XX.YY.ZZ.exe on MS-Windows.
7297
7298 * Makefile.in (XARGS_LIMIT): New variable.
7299 (custom-deps, finder-data, autoloads)
7300 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7301 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7302 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7303 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7304
2d4bf34b
LL
73052013-05-16 Leo Liu <sdl.web@gmail.com>
7306
7307 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7308 (octave-mode-menu, octave-mode-map): Remove its uses.
7309
6b9c2d85
RZ
73102013-05-16 Reto Zimmermann <reto@gnu.org>
7311
7312 Sync with upstream vhdl mode v3.34.2.
7313 * progmodes/vhdl-mode.el: Use `push' throughout.
7314 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7315 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7316 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7317 (vhdl-actual-generic-name): New option to derive actual generic name.
7318 (vhdl-port-paste-signals): Replace formal by actual generics.
7319 (vhdl-beautify): New name for old group vhdl-align. Update users.
7320 (vhdl-beautify-options): New option.
7321 (vhdl-last-input-event): New compat alias. Use throughout.
7322 (vhdl-goto-line): Replace user level function `goto-line'.
7323 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7324 vhdl-fix-statement-buffer.
7325 (vhdl-create-mode-menu): Add some entries.
7326 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7327 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7328 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7329 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7330 to force statements on one line.
7331 (vhdl-remove-trailing-spaces-region):
7332 New, split from vhdl-remove-trailing-spaces.
7333 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7334 Respect vhdl-beautify-options.
7335 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7336 (vhdl-update-sensitivity-list): Not add with index if exists without.
7337 Not include array index with signal. Ignore keywords in comments.
7338 (vhdl-get-visible-signals): Regexp tweaks.
7339 (vhdl-template-component-inst): Handle empty library.
7340 (vhdl-template-type): Add template for 'enum' type.
7341 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7342 Use vhdl-replace-string.
7343 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7344 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7345 (vhdl-speedbar-initialize): Update for above name change.
7346 (vhdl-compose-wire-components): Fix in handling of constants.
7347 (vhdl-error-regexp-emacs-alist): New variable.
7348 (vhdl-error-regexp-add-emacs): New function;
7349 adds support for new compile.el (Emacs 22+)
7350 (vhdl-generate-makefile-1): Change target order for single lib. units.
7351 Allow use of absolute file names.
7352
9df4ec5e
LL
73532013-05-16 Leo Liu <sdl.web@gmail.com>
7354
7355 * simple.el (prog-indent-sexp): Indent enclosing defun.
7356
f5ba00a6
GM
73572013-05-15 Glenn Morris <rgm@gnu.org>
7358
ed8be7ff
GM
7359 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7360 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7361 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7362 (whitespace-highlight): Move to whitespace group.
7363
7364 * comint.el (comint-source):
7365 * pcmpl-linux.el (pcmpl-linux):
7366 * shell.el (shell-faces):
7367 * eshell/esh-opt.el (eshell-opt):
7368 * international/ccl.el (ccl): Remove empty custom groups.
7369
7370 * completion.el (dynamic-completion-mode):
7371 * jit-lock.el (jit-lock-debug-mode):
7372 * minibuffer.el (completion-in-region-mode):
7373 * type-break.el (type-break-mode-line-message-mode)
7374 (type-break-query-mode):
7375 * emulation/tpu-edt.el (tpu-edt-mode):
7376 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7377 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7378 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7379
7380 * term/xterm.el (xterm): Change parent group to terminals.
7381
7382 * master.el (master): Remove empty custom group.
7383 (master-mode): Remove unused :group argument.
7384 * textmodes/refill.el (refill): Remove empty custom group.
7385 (refill-mode): Remove unused :group argument.
7386
7387 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7388
82a7c41b
GM
7389 * cus-dep.el: Provide a feature.
7390 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7391 Don't mistakenly ignore files whose basenames match a basename
7392 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7393 Add a fallback method for getting :group.
f5ba00a6 7394
6d65486d
JL
73952013-05-15 Juri Linkov <juri@jurta.org>
7396
da547b32
JL
7397 * isearch.el (isearch-char-by-name): Rename from
7398 `isearch-insert-char-by-name'. Doc fix.
7399 (isearch-forward): Mention `isearch-char-by-name' in
7400 the docstring. (Bug#13348)
7401
6d65486d
JL
7402 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7403 `exit-minibuffer' instead of
7404 `isearch-nonincremental-exit-minibuffer'.
7405 (isearch-edit-string): Remove mention of
7406 `isearch-nonincremental-exit-minibuffer' from docstring.
7407 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7408 (isearch-forward-exit-minibuffer)
7409 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7410
c9990474
SM
74112013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7412
6e911150
SM
7413 * loadup.el: Just use unversioned DOC.
7414
c9990474
SM
7415 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7416 literals as extending to EOB.
7417 (nxml-last-fontify-end): Remove unused variable.
7418 (nxml-after-change1): Use with-silent-modifications.
7419 (nxml-extend-after-change-region): Simplify.
7420 (nxml-extend-after-change-region1): Remove function.
7421 (nxml-after-change1): Don't adjust for dependent regions.
7422 (nxml-fontify-matcher): Simplify.
7423 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7424 (xmltok-add-dependent): Remove function.
7425 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7426 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7427 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7428 unclosed <[[, <?, comment, and other literals as extending to EOB.
7429 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7430 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7431 Remove functions.
7432 (rng-do-some-validation-1): Don't mark dependent regions.
7433 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7434 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7435 (nxml-clear-dependent-regions): Remove functions.
7436 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7437 (nxml-ensure-scan-up-to-date):
7438 Don't clear&mark dependent regions.
7439
e3772e98
LL
74402013-05-15 Leo Liu <sdl.web@gmail.com>
7441
c9990474
SM
7442 * progmodes/octave.el (octave-goto-function-definition):
7443 Improve and fix callers.
e3772e98 7444
5ac2eb34
SM
74452013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7446
c46c57b0
SM
7447 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7448 the setter (bug#14387).
7449
5ac2eb34
SM
7450 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7451 surrounding group (bug#14402).
7452
180ed218
JL
74532013-05-14 Juri Linkov <juri@jurta.org>
7454
7455 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7456 (Bug#14390)
7457
0ac0fecb
GM
74582013-05-14 Glenn Morris <rgm@gnu.org>
7459
7460 * progmodes/f90.el (f90-imenu-generic-expression):
7461 Fix typo in 2013-05-08 change. (Bug#14402)
7462
2e78e6a7
JPG
74632013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7464
5ac2eb34
SM
7465 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7466 Remove signals for which replies are never received.
2e78e6a7 7467
53267cca
JPG
74682013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7469
7470 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7471 (gdb-handler-alist, gdb-handler-number): Remove variables.
7472 (gdb-handler-list): New variable.
7473 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7474 (gdb-pending-handler-p, gdb-handle-reply)
7475 (gdb-remove-all-pending-triggers): New functions.
7476 (gdb-discard-unordered-replies): New defcustom.
7477 (gdb-handler): New defstruct.
7478 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7479 instead of gdb-pending-triggers. Update docstring.
7480 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7481 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7482 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7483 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7484 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7485 (gdb-frame-handler): Pending triggers are now automatically managed.
7486 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7487 Remove argument.
7488 (gdb-input): Automatically handles pending triggers. Update docstring.
7489 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7490 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7491 Update comments.
7492 (gdb-done-or-error): Now use gdb-handle-reply.
7493
d04ce803
JPG
74942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7495
7496 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7497 gdb-debug-log.
7498
0114073a
GM
74992013-05-14 Glenn Morris <rgm@gnu.org>
7500
7501 * subr.el (user-emacs-directory-warning): New option.
7502 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7503
4d25fd7e
LL
75042013-05-14 Leo Liu <sdl.web@gmail.com>
7505
7506 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7507 during redisplay.
7508 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7509 (octave-font-lock-texinfo-comment): Fix invalid search bound
7510 error: wrong side of point.
4d25fd7e 7511
27c8b6eb
GM
75122013-05-14 Glenn Morris <rgm@gnu.org>
7513
61aaeb01
GM
7514 * progmodes/flymake.el (flymake-xml-program): New option.
7515 (flymake-xml-init): Use it.
7516
5bf90bc5
GM
7517 * term/xterm.el: Provide a feature.
7518
7519 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7520
f4c7dfd2
GM
75212013-05-13 Glenn Morris <rgm@gnu.org>
7522
7523 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7524 Add compat aliases as a hack workaround. (Bug#14384)
7525
2aeb3a1d
LL
75262013-05-13 Leo Liu <sdl.web@gmail.com>
7527
b0e069c2
LL
7528 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7529 ###, and %!.
f5a9432f
LL
7530 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7531 C-M-q.
b0e069c2
LL
7532 (octave-comment-start-skip): Include %!.
7533 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7534
30ea8374
LL
75352013-05-12 Leo Liu <sdl.web@gmail.com>
7536
7537 * progmodes/octave.el (inferior-octave-startup): Store the value
7538 of __octave_srcdir__ for octave-source-directories.
7539 (inferior-octave-check-process): New function refactored out of
7540 inferior-octave-send-list-and-digest.
7541 (octave-source-directories)
7542 (octave-find-definition-filename-function): New variables.
7543 (octave-source-directories)
7544 (octave-find-definition-default-filename): New functions.
7545 (octave-find-definition): Improve to find functions implemented in C++.
7546
472a3834
GM
75472013-05-12 Glenn Morris <rgm@gnu.org>
7548
7549 * calendar/diary-lib.el (diary-outlook-format-1):
7550 Don't include dayname in the output. (Bug#14349)
7551
3191b52f
GM
75522013-05-11 Glenn Morris <rgm@gnu.org>
7553
0060ac73
GM
7554 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7555
3191b52f
GM
7556 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7557 Treat cc-provide like provide.
7558
e065ba74
KR
75592013-05-11 Kevin Ryde <user42@zip.com.au>
7560
7561 * cus-dep.el (custom-make-dependencies):
7562 Use generated-autoload-load-name for the sake of files such
7563 such cedet/semantic/bovine/c.el, where the base file name
7564 is not in load-path. (Bug#5277)
7565
36f84c37
GM
75662013-05-11 Glenn Morris <rgm@gnu.org>
7567
7568 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7569 Provide features.
7570
c8730c3a
LL
75712013-05-11 Leo Liu <sdl.web@gmail.com>
7572
7573 * progmodes/octave.el (octave-indent-comment): Improve.
7574 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7575 (octave-eldoc-function-signatures, octave-eldoc-function):
7576 New functions.
c8730c3a
LL
7577 (octave-mode, inferior-octave-mode): Add eldoc support.
7578
212e29f2
RS
75792013-05-11 Richard Stallman <rms@gnu.org>
7580
7581 * epa.el (epa-decrypt-file): Take output file name as argument
7582 and read it using `interactive'.
7583
083fe0d7
LL
75842013-05-11 Leo Liu <sdl.web@gmail.com>
7585
7586 * progmodes/octave.el (octave-beginning-of-line)
7587 (octave-end-of-line): Check before using up-list because it jumps
7588 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7589 (octave-indent-comment): New function.
7590 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7591 (octave-begin-keywords, octave-end-keywords)
7592 (octave-reserved-words, octave-smie-bnf-table)
7593 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7594
8582e4c4
GM
75952013-05-11 Glenn Morris <rgm@gnu.org>
7596
f20def1f
GM
7597 * faces.el (internal-face-x-get-resource):
7598 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7599 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7600 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7601 Fix declarations.
f20def1f 7602
445f95e2
GM
7603 * calc/calc-menu.el: Make it loadable in isolation.
7604
7605 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7606 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7607 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7608 (eudc-bbdb-query-internal): Require 'bbdb.
7609
99fb2756
GM
7610 * lpr.el (lpr-headers-switches):
7611 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7612
7613 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7614
0da7ad96
GM
7615 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7616
8582e4c4
GM
7617 * term.el (term-set-escape-char): Make it idempotent.
7618
f71c50d0
LL
76192013-05-10 Leo Liu <sdl.web@gmail.com>
7620
5ac2eb34
SM
7621 * progmodes/octave.el (inferior-octave-completion-table):
7622 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7623 completion due to bug#11906.
7624 (octave-beginning-of-defun): Re-write to be more general.
7625
d5837773
GM
76262013-05-10 Glenn Morris <rgm@gnu.org>
7627
7628 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7629
027c0f75
SM
76302013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * comint.el (comint-redirect-send-command-to-process): Use :around
7633 rather than :override for comint-redirect-filter.
7634 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7635 Call it instead of comint-redirect-original-filter-function (which
7636 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7637
4465bfb4
JD
76382013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7639
7640 * frame.el (display-monitor-attributes-list): Add NS case.
7641 (ns-display-monitor-attributes-list): Declare.
7642
2d809ffa 76432013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7644
7645 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7646
e54eeb9b
GM
76472013-05-09 Glenn Morris <rgm@gnu.org>
7648
56cd351d
GM
7649 * international/fontset.el (vertical-centering-font-regexp):
7650 Set standard-value.
7651
d84b6108
GM
7652 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7653
a931698a
GM
7654 * bookmark.el (bookmark-search-delay):
7655 * cus-start.el (vertical-centering-font-regexp):
7656 * ps-mule.el (ps-mule-font-info-database-default):
7657 * ps-print.el (ps-default-fg, ps-default-bg):
7658 * type-break.el (type-break-good-break-interval):
7659 * whitespace.el (whitespace-indentation-regexp)
7660 (whitespace-space-after-tab-regexp):
7661 * emacs-lisp/testcover.el (testcover-1value-functions)
7662 (testcover-noreturn-functions, testcover-progn-functions)
7663 (testcover-prog1-functions):
7664 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7665 * eshell/em-glob.el (eshell-glob-translate-alist):
7666 * play/tetris.el (tetris-tty-colors):
7667 * progmodes/cpp.el (cpp-face-default-list):
7668 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7669 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7670 (idlwave-help-browser-generic-args):
7671 * progmodes/make-mode.el (makefile-special-targets-list):
7672 * progmodes/python.el (python-shell-virtualenv-path):
7673 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7674 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7675 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7676 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7677 * textmodes/reftex-vars.el (reftex-format-label-function):
7678 * textmodes/remember.el (remember-diary-file): Fix custom types.
7679
e54eeb9b
GM
7680 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7681 Add :version.
7682
455851dd
LL
76832013-05-09 Leo Liu <sdl.web@gmail.com>
7684
7685 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7686 Restore file completion. (Bug#14300)
455851dd
LL
7687 (inferior-octave-startup): Fix incorrect highlighting for the
7688 first prompt.
7689
a9e4425b
SM
76902013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * progmodes/ruby-mode.el: First cut at SMIE support.
7693 (ruby-use-smie): New var.
7694 (ruby-smie-grammar): New constant.
7695 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7696 (ruby-smie--forward-token, ruby-smie--backward-token)
7697 (ruby-smie-rules): New functions.
7698 (ruby-mode-variables): Setup SMIE if applicable.
7699
060ca408
EZ
77002013-05-08 Eli Zaretskii <eliz@gnu.org>
7701
7702 * simple.el (line-move-visual): Signal beginning/end of buffer
7703 only if vertical-motion moved less than it was requested. Avoids
7704 silly incorrect error messages when there are display strings with
7705 multiple newlines at EOL.
7706
1d5963cc
SM
77072013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7710 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7711 (prolog-char-quote-workaround):
7712 * progmodes/cperl-mode.el (cperl-under-as-char):
7713 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7714 Mark as obsolete.
7715 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7716 their declaration.
7717 (vhdl-mode-syntax-table-init): Remove.
7718
c9990474
SM
7719 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7720 last change.
1d5963cc
SM
7721
7722 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7723 syntax for "_".
7724 (ld-script-font-lock-keywords):
7725 Change regexps to use things like \_< and \_>.
7726
7727 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7728 Change all regexps to use things like \_< and \_>.
7729
7730 * progmodes/autoconf.el (autoconf-definition-regexp)
7731 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7732 Handle a _ with symbol syntax.
7733 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7734
c9990474
SM
7735 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7736 Consolidate declaration.
1d5963cc
SM
7737 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7738 the declaration.
7739 (ada-create-syntax-table): Remove.
7740 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7741 already has the right syntax nowadays.
7742 (ada-goto-next-word): Don't change the syntax of "_".
7743
7744 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7745 with-wrapper-hook.
7746
72d3cfca
SS
77472013-05-08 Sam Steingold <sds@gnu.org>
7748
7749 * thingatpt.el (thing-at-point): Accept optional second argument
7750 NO-PROPERTIES to strip the text properties from the return value.
7751 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7752 to `thing-at-point' instead of stripping the properties ourselves.
7753 Also, when `thing-at-point' fails to find a url, prepend "http://"
7754 to the filename at point on the assumption that the user is
7755 pointing at something like gnu.org/gnu.
7756
5cb15713
JB
77572013-05-08 Juanma Barranquero <lekktu@gmail.com>
7758
7759 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7760 * faces.el (crm-separator):
7761 Silence byte-compiler.
7762
7763 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7764 (tool-bar-map): Remove unneeded defvars.
7765
ea78b95b
LL
77662013-05-08 Leo Liu <sdl.web@gmail.com>
7767
7768 Re-work a fix for bug#10994 based on Le Wang's patch.
7769 * ido.el (ido-remove-consecutive-dups): New helper.
7770 (ido-completing-read): Use it.
7771 (ido-chop): Revert fix for bug#10994.
7772
dc7466df
AS
77732013-05-08 Adam Spiers <emacs@adamspiers.org>
7774
7775 * cus-edit.el (custom-save-variables):
7776 Pretty-print long values. (Bug#14187)
7777
9ecf672a
GM
77782013-05-08 Glenn Morris <rgm@gnu.org>
7779
7780 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7781 (m4-mode-syntax-table): Init in the defvar.
7782 (m4-mode-abbrev-table): Let define-derived-mode define it.
7783
3f555be8
TT
77842013-05-08 Tom Tromey <tromey@redhat.com>
7785
7786 * progmodes/m4-mode.el (m4-mode-syntax-table):
7787 Do not treat "_" as word constituent. (Bug#14167)
7788
7cc8ae06
GM
77892013-05-07 Glenn Morris <rgm@gnu.org>
7790
4f58bc06
GM
7791 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7792 Remove explicit eshell-isearch-cancel-map.
7793
7cc8ae06
GM
7794 * progmodes/f90.el (f90-smart-end-names): New option.
7795 (f90-smart-end): Doc fix.
7796 (f90-end-block-optional-name): New constant.
7797 (f90-block-match): Respect f90-smart-end-names.
7798
ceb57e59
SM
77992013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7802 about implicit semi-colons (bug#14218).
7803
4e3f9230
YM
78042013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7805
7806 * frame.el (display-monitor-attributes-list)
7807 (frame-monitor-attributes): New functions.
7808
203a5572
LL
78092013-05-06 Leo Liu <sdl.web@gmail.com>
7810
7811 * progmodes/octave.el (octave-syntax-propertize-function): Change
7812 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7813 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7814 (octave-completion-at-point): Rename from
203a5572
LL
7815 octave-completion-at-point-function.
7816 (inferior-octave-directory-tracker): Robustify.
7817 (octave-text-functions): Remove and fix its uses. No such things
7818 any more.
7819
ee6cff99
SM
78202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * emacs-lisp/trace.el (trace--display-buffer): New function.
7823 (trace-make-advice): Use it.
7824
32985194
JL
78252013-05-06 Juri Linkov <juri@jurta.org>
7826
7827 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7828 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7829 Doc fix.
7830 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7831 in the help string. (Bug#12985)
7832
a1c700de
KD
78332013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7834
7835 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7836
c67c0839
SM
78372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7838
323885fd
SM
7839 * progmodes/perl-mode.el: Add support for here documents.
7840 (perl-syntax-propertize-function): Match here-doc markers.
7841 (perl-syntax-propertize-special-constructs): Find their end.
7842 (perl-imenu-generic-expression): Use [:alnum:].
7843
c67c0839
SM
7844 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7845 (advice--add-function): Refresh the advice if already present
7846 (bug#14317).
7847
d491e7a8
IA
78482013-05-06 Ivan Andrus <darthandrus@gmail.com>
7849
7850 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7851
ddf9925e
GM
78522013-05-06 Glenn Morris <rgm@gnu.org>
7853
7cc3af27
GM
7854 * w32-fns.el (w32-charset-info-alist): Declare.
7855
16e343d6
GM
7856 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7857 of its defcustom properties.
7858 (eshell-cmpl-initialize): No need to load pcomplete.
7859
7d889a47
GM
7860 * generic-x.el: No need to require comint when compiling.
7861
ddf9925e
GM
7862 * net/eudc-export.el: Make it loadable without bbdb.
7863 (top-level): Use require rather than load-library.
7864 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7865 (eudc-batch-export-records-to-bbdb)
7866 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7867 Require bbdb.
7868
1e2c18df
SM
78692013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7872 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7873 some tweaks, instead.
7874
02502a5f
LL
78752013-05-05 Leo Liu <sdl.web@gmail.com>
7876
7877 * progmodes/octave.el (octave-font-lock-keywords)
7878 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7879 (inferior-octave-send-list-and-digest): Improve error message.
7880 (octave-mode, inferior-octave-mode): Use setq-local.
7881 (octave-help): Set info-lookup-mode.
7882
0dc04f42
RS
78832013-05-05 Richard Stallman <rms@gnu.org>
7884
6c54491c
RS
7885 * vc/compare-w.el (compare-windows-whitespace):
7886 Treat no-break space as whitespace.
7887
0dc04f42
RS
7888 * mail/rmailsum.el (rmail-summary-rmail-update):
7889 Detect empty summary and don't change selected message.
7890 (rmail-summary-goto-msg): Likewise.
7891
df8f35df
RS
7892 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7893 Doc fixes, rename args.
7894
5356e1a3
AM
78952013-05-05 Alan Mackenzie <acm@muc.de>
7896
7897 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7898
d44014cb
JL
78992013-05-05 Juri Linkov <juri@jurta.org>
7900
7901 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7902 to not add the length of the summary segment to the return value.
7903 (Bug#14125)
7904
c129b51f
LL
79052013-05-05 Leo Liu <sdl.web@gmail.com>
7906
7907 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7908 (inferior-octave-output-filter): Remove.
7909 (octave-send-region, inferior-octave-startup): Fix callers.
7910 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7911 (octave-binary-file-extensions): New user variable.
7912 (octave-find-definition): Confirm if opening binary files.
7913 (octave-help-file): Use octave-find-definition to get the binary
7914 confirmation.
7915 (octave-help): Adjust for octave-help-file change.
7916
aa7dab97
SM
79172013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7920 Merge the two entries that handle function definitions.
7921 (pascal--syntax-propertize): New const.
7922 (pascal-mode): Use it. Use setq-local.
7923
fd3a9a6b
GM
79242013-05-04 Glenn Morris <rgm@gnu.org>
7925
7926 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7927 (diary-from-outlook): Respect diary-from-outlook-function.
7928
30c7e542
SM
79292013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7932 Move the declaration from C.
7933 (read-minibuffer, eval-minibuffer): Move from C.
7934 (completion-setup-function): Avoid minibuffer-completion-contents.
7935
b54f978b
LL
79362013-05-03 Leo Liu <sdl.web@gmail.com>
7937
7938 * progmodes/octave.el (octave-font-lock-keywords): Do not
7939 dehighlight 'end' in comments or strings.
30c7e542
SM
7940 (octave-completing-read, octave-goto-function-definition):
7941 New helpers.
d4d0f9b3
LL
7942 (octave-help-buffer): New user variable.
7943 (octave-help-file, octave-help-function): New button types.
7944 (octave-help): New command and bind it to C-h ;.
7945 (octave-find-definition): New command and bind it to M-.
d74a1581 7946 (user-error): Alias to error if not defined.
b54f978b 7947
27135018
LL
79482013-05-02 Leo Liu <sdl.web@gmail.com>
7949
7950 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7951 for \. (bug#14332)
7952 (octave-font-lock-keywords): Include [ and {.
7953
0d634d3a
LL
79542013-05-02 Leo Liu <sdl.web@gmail.com>
7955
7956 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7957 (inferior-octave): Remove calling comint-mode and return the buffer.
7958 (inferior-octave-startup): Cosmetic changes.
7959
b4c8295e
LL
79602013-05-02 Leo Liu <sdl.web@gmail.com>
7961
30c7e542
SM
7962 * progmodes/octave.el (octave-syntax-propertize-function):
7963 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7964
f12ad6ec
GM
79652013-05-02 Glenn Morris <rgm@gnu.org>
7966
7967 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7968 * desktop.el (vc-dir-mode): Just autoload it here.
7969
30cac1e0
AM
79702013-05-02 Alan Mackenzie <acm@muc.de>
7971
7972 Eliminate variable c-standard-font-lock-fontify-region-function.
7973 * progmodes/cc-mode.el
7974 (c-standard-font-lock-fontify-region-function): Remove.
7975 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7976
d8ef28b1
LL
79772013-05-01 Leo Liu <sdl.web@gmail.com>
7978
2640d52e 7979 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7980 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7981 variables were removed from Octave in 2007.
d8ef28b1
LL
7982 (inferior-octave-startup): Fix uses.
7983 (comint-line-beginning-position): Remove compatibility code for
7984 emacs 21.
7985
ac63ec89
JL
79862013-05-01 Juri Linkov <juri@jurta.org>
7987
7988 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7989
9e9be37c
JL
79902013-05-01 Juri Linkov <juri@jurta.org>
7991
7992 * comint.el (comint-previous-matching-input): Don't print message
7993 "History item: %d" when `isearch-mode' is active.
7994 (comint-history-isearch-message): Print message "History item: %d"
7995 when `comint-input-ring-index' is not empty and this function is
7996 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7997
9b92c13b
LL
79982013-05-01 Leo Liu <sdl.web@gmail.com>
7999
8000 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8001 definitions. Use completion-at-point to insert keywords.
8002 (octave-abbrev-start): Remove.
8003 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8004
b12d33d7
LL
80052013-04-30 Leo Liu <sdl.web@gmail.com>
8006
8007 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8008 change.
8009
3d1c39fa
AM
80102013-04-30 Alan Mackenzie <acm@muc.de>
8011
8012 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8013 * progmodes/cc-engine.el (c-back-over-member-initializers):
8014 new function.
3d1c39fa
AM
8015 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8016 (most) member init lists.
8017
5147fc17
RS
80182013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8019
8020 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8021 variable.
8022
5b78d7fc
LL
80232013-04-30 Leo Liu <sdl.web@gmail.com>
8024
8025 * progmodes/octave.el (octave-variables): Remove. No builtin
8026 variables any more. All converted to functions.
8027 (octave-font-lock-keywords, octave-completion-at-point-function):
8028 Fix uses.
8029 (octave-font-lock-texinfo-comment): New user variable.
8030 (octave-texinfo-font-lock-keywords): New variable for texinfo
8031 comment block.
8032 (octave-function-comment-block): New face.
8033 (octave-font-lock-texinfo-comment): New function.
8034 (octave-mode): Font lock texinfo comment block.
8035
38d8527b
LL
80362013-04-29 Leo Liu <sdl.web@gmail.com>
8037
8038 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8039 indexing expression.
8040 (octave-continuation-string): Do not use \.
8041 (inferior-octave-complete-impossible): Remove.
8042 (inferior-octave-completion-table)
8043 (inferior-octave-completion-at-point): Remove its uses.
8044 (inferior-octave-startup): completion_matches was introduced to
8045 Octave in 1996 so safe to assume it.
8046 (octave-function-file-comment): Improve to follow how Octave does it.
8047 (octave-update-function-file-comment): Tweak.
8048
2ec12cb0
LL
80492013-04-29 Leo Liu <sdl.web@gmail.com>
8050
8051 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8052 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8053 (octave-function-file-comment): Fix typo.
8054 (octave-sync-function-file-names): Use read-char-choice.
8055
6eaed048
JB
80562013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8057
8058 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8059 to t for the less important warnings.
8060
3ffa2d4f
DH
80612013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8062
8063 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8064
685c9501
GM
80652013-04-27 Glenn Morris <rgm@gnu.org>
8066
8067 * vc/log-view.el (log-view-current-entry):
8068 Treat "---" separator lines as part of the following rev. (Bug#14169)
8069
0208ede7
JL
80702013-04-27 Juri Linkov <juri@jurta.org>
8071
8072 * subr.el (read-number): Doc fix about using it by interactive
8073 code letter `n'. (Bug#14254)
8074
5db9dace
JL
80752013-04-27 Juri Linkov <juri@jurta.org>
8076
8077 * desktop.el (desktop-auto-save-timeout): New option.
8078 (desktop-file-checksum): New variable.
8079 (desktop-save): Add optional arg `auto-save' and don't auto-save
8080 if nothing changed.
8081 (desktop-auto-save-timer): New variable.
8082 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8083 (after-init-hook): Call `desktop-auto-save-set-timer'.
8084 Suggested by Reuben Thomas <rrt@sc3d.org> in
8085 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8086
b7260dd4
LL
80872013-04-27 Leo Liu <sdl.web@gmail.com>
8088
8089 * progmodes/octave.el (octave-function-file-p)
8090 (octave-skip-comment-forward, octave-function-file-comment)
8091 (octave-update-function-file-comment): New functions.
8092 (octave-mode-map): Bind C-c ; to
8093 octave-update-function-file-comment.
8094 (octave-mode-menu): Add octave-update-function-file-comment.
8095 (octave-mode, inferior-octave-mode): Fix doc-string.
8096 (octave-insert-defun): Conform to Octave's coding convention.
8097 (Bug#14285)
8098
8099 * files.el (basic-save-buffer): Don't let errors in
8100 before-save-hook prevent saving buffer.
8101
c46da669
RW
81022013-04-20 Roland Winkler <winkler@gnu.org>
8103
8104 * faces.el (read-face-name): Use completing-read if arg multiple
8105 is nil.
8106
a81ee1eb
IL
81072013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8108
8109 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8110 displayed, move point to after the totals line.
8111 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8112 for the details.
8113
4fac34ce
SM
81142013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8117 Add current dir to the load-path.
8118 (package-generate-autoloads): Don't rely on
8119 autoload-ensure-default-file.
8120
f6bfc063
RT
81212013-04-26 Reuben Thomas <rrt@sc3d.org>
8122
d40ab5cf
BG
8123 * textmodes/remember.el (remember-store-in-files): Document that
8124 the file name format is passed to `format-time-string'.
f6bfc063 8125
e55d3b04
LL
81262013-04-26 Leo Liu <sdl.web@gmail.com>
8127
8128 * progmodes/octave.el (octave-sync-function-file-names): New function.
8129 (octave-mode): Use it in before-save-hook.
8130
e53052d3
SM
81312013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8132
140ef50c
SM
8133 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8134 (bug#14274).
8135
e53052d3
SM
8136 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8137 \n and comment, even if it's not an implicit ; (bug#14218).
8138
af80458d 81392013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8140
8141 * subr.el (read-number): Once more use `read' rather than
8142 `string-to-number', to trap non-numeric input. (Bug#14254)
8143
af80458d 81442013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8145
8146 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8147 Use `syntax-multiline' text property consistently instead of
8a621d53 8148 `font-lock-multiline'. (Bug#14237)
70203c2e 8149
e6ea1f6c
GM
81502013-04-26 Glenn Morris <rgm@gnu.org>
8151
8152 * emacs-lisp/shadow.el (list-load-path-shadows):
8153 No longer necessary to check for duplicate simple.el, since
8154 2012-07-07 change to init_lread to not include installation lisp
8155 directories in load-path when running uninstalled. (Bug#14270)
8156
070ccca4
LL
81572013-04-26 Leo Liu <sdl.web@gmail.com>
8158
8159 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8160 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8161 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8162 octave-in-string-or-comment-p.
8163 (octave-in-comment-p, octave-in-string-p)
8164 (octave-in-string-or-comment-p): Replace defsubst with defun.
8165
9d1c5fb6
PE
81662013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8167
8168 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8169
c034abda
BG
81702013-04-25 Bastien Guerry <bzg@gnu.org>
8171
8172 * textmodes/remember.el (remember-data-directory)
8173 (remember-directory-file-name-format): Fix custom types.
8174
584ea277
LL
81752013-04-25 Leo Liu <sdl.web@gmail.com>
8176
e53052d3
SM
8177 * progmodes/octave.el (octave-completion-at-point-function):
8178 Make use of inferior octave process.
584ea277
LL
8179 (octave-initialize-completions): Remove.
8180 (inferior-octave-completion-table): New function.
8181 (inferior-octave-completion-at-point): Use it.
8182 (octave-completion-alist): Remove.
8183
1693b06a
SM
81842013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8187 (opascal-mode-syntax-table): New var.
8188 (opascal-literal-kind, opascal-is-literal-end)
8189 (opascal-literal-token-at): Rewrite.
8190 (opascal--literal-start-re, opascal-font-lock-keywords)
8191 (opascal--syntax-propertize): New constants.
8192 (opascal-font-lock-defaults): Adjust.
8193 (opascal-mode): Use them. Set comment-<foo> variables as well.
8194 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8195 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8196 (delphi-other-face, opascal-other-face): Remove face variables.
8197 (opascal-save-state): Remove macro.
8198 (opascal-fontifying-progress-step): Remove constant.
8199 (opascal--ignore-changes): Remove var.
8200 (opascal-set-token-property, opascal-parse-next-literal)
8201 (opascal-is-stable-literal, opascal-complete-literal)
8202 (opascal-is-literal-start, opascal-face-of)
8203 (opascal-parse-region, opascal-parse-region-until-stable)
8204 (opascal-fontify-region, opascal-after-change)
8205 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8206 (opascal-debug-parse-region, opascal-debug-parse-window)
8207 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8208 (opascal-debug-fontify-buffer): Remove.
8209 (opascal-debug-mode-map): Adjust accordingly.
8210
be64c05d
LL
82112013-04-25 Leo Liu <sdl.web@gmail.com>
8212
8213 Merge octave-mod.el and octave-inf.el into octave.el with some
8214 cleanups.
8215 * progmodes/octave.el: New file renamed from octave-mod.el.
8216 * progmodes/octave-inf.el: Merged into octave.el.
8217 * progmodes/octave-mod.el: Renamed to octave.el.
8218
d79d37bd
TH
82192013-04-25 Tassilo Horn <tsdh@gnu.org>
8220
8221 * textmodes/reftex-vars.el
8222 (reftex-label-ignored-macros-and-environments): New defcustom.
8223
8224 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8225
ced3fc5d
SM
82262013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8229 (smie-indent-keyword): Improve the check to ensure that the next
8230 comment is really on the same line.
8231 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8232
8233 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8234 semi-colons if the line is not otherwise empty (bug#14218).
8235
1c141dad
GM
82362013-04-25 Glenn Morris <rgm@gnu.org>
8237
8238 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8239
5058062a
SM
82402013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * progmodes/opascal.el (opascal-set-token-property): Rename from
8243 opascal-set-text-properties and only set `token' (bug#14134).
8244 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8245 (opascal-literal-text-properties): Remove.
8246 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8247 Adjust callers.
8248
5db9dace 82492013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8250
8251 * textmodes/remember.el (remember-handler-functions): Add an
8252 option for a new handler `remember-store-in-files'.
8253 (remember-data-directory, remember-directory-file-name-format):
8254 New options.
8255 (remember-store-in-files): New function to store remember notes
8256 as separate files within a directory.
8257
4391916c
MH
82582013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8259
8260 * progmodes/compile.el (compilation-next-error-function):
8261 Pass "formats" to compilation-find-file (bug#11777).
8262
bb7cdf58
GM
82632013-04-24 Glenn Morris <rgm@gnu.org>
8264
3b8fe752 8265 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8266 * vc/vc-hg.el (vc-hg-print-log):
8267 * vc/vc-svn.el (vc-svn-print-log):
8268 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8269
bb7cdf58
GM
8270 * vc/vc-bzr.el (vc-bzr-print-log):
8271 * vc/vc-cvs.el (vc-cvs-print-log):
8272 * vc/vc-git.el (vc-git-print-log):
8273 * vc/vc-hg.el (vc-hg-print-log):
8274 * vc/vc-mtn.el (vc-mtn-print-log):
8275 * vc/vc-rcs.el (vc-rcs-print-log):
8276 * vc/vc-sccs.el (vc-sccs-print-log):
8277 * vc/vc-svn.el (vc-svn-print-log):
8278 * vc/vc.el (vc-print-log-internal): Doc fixes.
8279
b46a056e
GM
82802013-04-23 Glenn Morris <rgm@gnu.org>
8281
8282 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8283 Remove venerable code attempting to avoid substitute-command-keys.
8284
0aecf718
TH
82852013-04-23 Tassilo Horn <tsdh@gnu.org>
8286
4391916c
MH
8287 * textmodes/reftex-vars.el (reftex-label-regexps):
8288 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8289
117f94cf
SM
82902013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8291
4391916c 8292 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8293 Use lexical-binding.
8294 (jit-lock-force-redisplay): Use markers, check buffer's continued
8295 existence and beware narrowed buffers.
8296 (jit-lock-fontify-now): Adjust call accordingly.
8297
1d829c64
SM
82982013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8301 to avoid misleading the user.
8302
72d548a9
LL
83032013-04-22 Leo Liu <sdl.web@gmail.com>
8304
8305 * info-look.el: Prefer latex2e.info. (Bug#14240)
8306
d0853629
MA
83072013-04-22 Michael Albinus <michael.albinus@gmx.de>
8308
8309 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8310
8311 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8312 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8313 (tramp-set-completion-function, tramp-parse-putty):
8314 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8315 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8316 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8317 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8318 (tramp-call-local-coding-command): Use `tramp-call-process'
8319 instead of `tramp-compat-call-process'.
8320
8321 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8322 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8323 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8324 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8325 (tramp-maybe-send-script): Check for Perl binary.
8326 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8327
38cc0210
DU
83282013-04-22 Daiki Ueno <ueno@gnu.org>
8329
8330 * epg.el (epg-context-pinentry-mode): New function.
8331 (epg-context-set-pinentry-mode): New function.
8332 (epg--start): Pass --pinentry-mode option to gpg command.
8333
cc641ee1
XF
83342013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8335
02d844b5 8336 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8337 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8338 `completion-at-point'. (Bug#13774)
5d4e5c31 8339
cc641ee1
XF
8340 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8341 default key binding for `describe-distribution' has been moved to
8342 `C-h C-o'. (Bug#13970)
8343
1b42ee43
GM
83442013-04-21 Glenn Morris <rgm@gnu.org>
8345
8346 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8347 Add doc strings.
8348 (vc-print-log): Clarify interactive prompt.
8349
a6d63d97
GM
83502013-04-20 Glenn Morris <rgm@gnu.org>
8351
8352 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8353 No longer include timestamp etc information.
8354
d7f5c16f
RW
83552013-04-20 Roland Winkler <winkler@gnu.org>
8356
8357 * faces.el (read-face-name): Bug fix, return just one face if arg
8358 multiple is nil. (Bug#14209)
8359
bcd7a0a4
SM
83602013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8363 (remove-function): Autoload.
8364
8365 * comint.el (comint-redirect-original-filter-function): Remove.
8366 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8367 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8368 (vc-cvs-annotate-command):
bcd7a0a4
SM
8369 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8370 * progmodes/prolog.el (prolog-consult-compile):
8371 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8372 Use add/remove-function instead.
8373 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8374 (gud-tooltip-process-output, gud-tooltip-tips):
8375 Use add/remove-function instead.
8376 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8377 (scheme-interaction-mode, exit-scheme-interaction-mode):
8378 Use add/remove-function instead.
8379
8380 * vc/vc-dispatcher.el: Use lexical-binding.
8381 (vc--process-sentinel): Rename from vc-process-sentinel.
8382 Change last arg to be the code to run. Don't use vc-previous-sentinel
8383 and vc-sentinel-commands any more.
8384 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8385 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8386
e36b2d20 83872013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8388
bcd7a0a4 8389 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8390 Handle function names with a single character. (Bug#14111)
4d3268ba 8391
781b4af6 83922013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8393
8394 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8395 for subroutines defined in an eval (bug#14182).
8396
7d688336
TV
83972013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8398
8399 * bookmark.el (bookmark-completing-read): Improve handling of empty
8400 string (bug#14176).
8401
31dcede0
SM
84022013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8405
adc31213
FEG
84062013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8407
8408 New faster Imenu implementation (bug#14058).
8409 * progmodes/python.el:
8410 (python-imenu-prev-index-position):
8411 (python-imenu-format-item-label-function)
8412 (python-imenu-format-parent-item-label-function)
8413 (python-imenu-format-parent-item-jump-label-function):
8414 New vars.
8415 (python-imenu-format-item-label)
8416 (python-imenu-format-parent-item-label)
8417 (python-imenu-format-parent-item-jump-label)
8418 (python-imenu--put-parent, python-imenu--build-tree)
8419 (python-imenu-create-index, python-imenu-create-flat-index)
8420 (python-util-popn): New functions.
8421 (python-mode): Set imenu-create-index-function to
8422 python-imenu-create-index.
8423
cdca8255
SM
84242013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * winner.el (winner-active-region): Use region-active-p, activate-mark
8427 and deactivate-mark (bug#14225).
8428
8429 * simple.el (deactivate-mark): Don't inline it.
8430
beb42340
MA
84312013-04-18 Michael Albinus <michael.albinus@gmx.de>
8432
8433 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8434
fc7f4d7e
TH
84352013-04-18 Tassilo Horn <tsdh@gnu.org>
8436
8437 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8438 file extensions from the archive-mode entry in order to prefer
8439 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8440
29f47822
LL
84412013-04-18 Leo Liu <sdl.web@gmail.com>
8442
8443 * bindings.el (help-event-list): Add ?\?.
8444
d36ed1c8
SM
84452013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * subr.el (with-wrapper-hook): Declare obsolete.
8448 * simple.el (filter-buffer-substring-function): New hook.
8449 (filter-buffer-substring): Use it.
8450 (filter-buffer-substring-functions): Mark obsolete.
8451 * minibuffer.el (completion-in-region-function): New hook.
8452 (completion-in-region): Use it.
8453 (completion-in-region-functions): Mark obsolete.
8454 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8455 * abbrev.el (abbrev-expand-function): New hook.
8456 (expand-abbrev): Use it.
8457 (abbrev-expand-functions): Mark obsolete.
8458 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8459 and :filter-return.
8460
04754d36
FEG
84612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8462
8463 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8464 and do not care about match data.
8465
dd8791e9
SM
84662013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8469 completion tables when completing error conditions and
8470 `declare' arguments.
8471 (lisp-complete-symbol, field-complete): Mark as obsolete.
8472 (check-parens): Unmatched parens are user errors.
8473 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8474
ffe54a13
AM
84752013-04-17 Michal Nazarewicz <mina86@mina86.com>
8476
dd8791e9
SM
8477 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8478 command changed buffer (ie. `flyspell-pre-buffer' is not current
8479 buffer), which prevents making decisions based on invalid value of
8480 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8481 cause an error when `flyspell-pre-point' was nil after switching
8482 buffers.
8483 (flyspell-post-command-hook): No longer needs to change buffers when
8484 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8485
ec7e39f2
AM
84862013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8487
8488 * textmodes/ispell.el (ispell-add-per-file-word-list):
8489 Fix `flyspell-correct-word-before-point' error when accepting
8490 words and `coment-padding' is an integer by using
8491 `comment-normalize-vars' (Bug #14214).
8492
083850a6
FEG
84932013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8494
8495 New defun movement commands.
8496 * progmodes/python.el (python-nav--syntactically)
8497 (python-nav--forward-defun, python-nav-backward-defun)
8498 (python-nav-forward-defun): New functions.
8499
619ed6e1
FEG
85002013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8501
8502 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8503 (python-syntax-context): Use named compiler-macro for backwards
8504 compatibility with Emacs 24.x.
8505
7a1beb6c
LL
85062013-04-17 Leo Liu <sdl.web@gmail.com>
8507
8508 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8509 octave-hide-process-buffer.
8510
2d3fa3e5
SM
85112013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8514 (bug#14216).
8515
7ce5be54
JPG
85162013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8517
8518 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8519 Fix adjustment of offset when receiving incomplete responses from GDB
8520 (bug#14129).
8521
351edece
SM
85222013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8525 python-mode-abbrev-table.
8526 (python-skeleton-define): Adjust accordingly.
8527 (python-mode-abbrev-table): New table that inherits from it so that
8528 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8529
8530 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8531 (abbrev-symbol): Use it.
8532 (abbrev--before-point): Use it since we already handle inheritance.
8533
613f9481
LL
85342013-04-16 Leo Liu <sdl.web@gmail.com>
8535
8536 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8537 binding to info-lookup-symbol.
8538
51646b62
JB
85392013-04-16 Juanma Barranquero <lekktu@gmail.com>
8540
8541 * minibuffer.el (completion--twq-all):
8542 * term/ns-win.el (ns-initialize-window-system):
8543 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8544
efb3f01d
SM
85452013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8546
36c0a301
SM
8547 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8548 global bindings.
8549
efb3f01d
SM
8550 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8551
fb549d64
DG
85522013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8553
8554 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8555 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8556 to nil.
8557 (ruby-end-of-defun): Remove the unused arg, change the docstring
8558 to reflect that this function is only used as the value of
8559 `end-of-defun-function'.
8560 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8561 to reflect an earlier change that beginning/end-of-defun functions
8562 jump between methods in a class definition, as well as top-level
8563 functions.
8564
21e8fe2f
SM
85652013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * minibuffer.el (minibuffer-complete): Don't just scroll
8568 a *Completions* that's been iconified.
8569 (minibuffer-force-complete): Make sure repetitions do cycle when going
8570 through completion-in-region -> minibuffer-complete.
8571
20e527d0
AM
85722013-04-15 Alan Mackenzie <acm@muc.de>
8573
8574 Correct the placement of c-cpp-delimiters when there're #s not at
8575 col 0.
8576
8577 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8578 place a submatch around the #.
21e8fe2f
SM
8579 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8580 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8581 on the #, not BOL.
8582
dabefae5
SM
85832013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8586 (advice--member-p): New arg `name'.
8587 (advice--add-function, advice-member-p): Use it (bug#14202).
8588
85c9ab64
AM
85892013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8590
8591 Reformulate java imenu-generic-expression.
8592 The old expression contained ill formed regexps.
8593
8594 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8595 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8596 (cc-imenu-java-method-arg-regexp): New defconsts.
8597 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8598 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8599 handling of spaces in the regexp.
8600
0f821d99
AM
86012013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8602
8603 * textmodes/ispell.el (ispell-command-loop): Remove
8604 flyspell highlight of a word when ispell accepts it (bug #14178).
8605
eb922adf
MA
86062013-04-15 Michael Albinus <michael.albinus@gmx.de>
8607
8608 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8609 uses code from the previous `ange-ftp-run-real-handler'.
8610 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8611 only in case that function exist. This is needed for proper
8612 unloading of Tramp.
8613
4d9a0979
TH
86142013-04-15 Tassilo Horn <tsdh@gnu.org>
8615
8616 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8617
8618 * textmodes/reftex.el (reftex-compile-variables): Use it.
8619
a829b0dc
SM
86202013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8621
91e8293c
SM
8622 * files.el (normal-mode): Only use default major-mode if no other mode
8623 was specified.
8624
830aed4d
SM
8625 * emacs-lisp/trace.el (trace-values): New function.
8626
a829b0dc
SM
8627 * files.el: Allow : in local variables (bug#14089).
8628 (hack-local-variable-regexp): New var.
8629 (hack-local-variables-prop-line, hack-local-variables): Use it.
8630
7ae9f0fb
RW
86312013-04-13 Roland Winkler <winkler@gnu.org>
8632
8633 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8634 data before it gets modified by bibtex-beginning-of-entry.
8635
6646e848
RW
86362013-04-13 Roland Winkler <winkler@gnu.org>
8637
8638 * textmodes/bibtex.el (bibtex-url): Doc fix.
8639
86402013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8641
8642 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8643 does not visit a BibTeX file, exclude it from the list of buffers
8644 returned by bibtex-initialize.
8645
0aa3616e
SB
86462013-04-13 Stephen Berman <stephen.berman@gmx.net>
8647
8648 * window.el (split-window): Remove interactive form, since as a
8649 command this function is a special case of split-window-below.
8650 Correct doc string.
8651
011cddd6
RW
86522013-04-12 Roland Winkler <winkler@gnu.org>
8653
8654 * faces.el (read-face-name): Do not override value of arg default.
8655 Allow single faces and strings as default values. Remove those
8656 elements from return value that are not faces.
8657 (describe-face): Simplify.
8658 (face-at-point): New optional args thing and multiple so that this
8659 function can provide the same functionality previously provided by
8660 read-face-name.
8661 (make-face-bold, make-face-unbold, make-face-italic)
8662 (make-face-unitalic, make-face-bold-italic, invert-face)
8663 (modify-face, read-face-and-attribute): Use face-at-point.
8664
8665 * cus-edit.el (customize-face, customize-face-other-window)
8666 * cus-theme.el (custom-theme-add-face)
8667 * face-remap.el (buffer-face-set)
8668 * facemenu.el (facemenu-set-face): Use face-at-point.
8669
f24e0036
MA
86702013-04-12 Michael Albinus <michael.albinus@gmx.de>
8671
8672 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8673
da3cda2d
TH
86742013-04-10 Tassilo Horn <tsdh@gnu.org>
8675
8676 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8677 off leading { and trailing } from field values.
8678
15e54145
SM
86792013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8680
78ce603d
SM
8681 * emacs-lisp/timer.el (timer--check): New function.
8682 (timer--time, timer-set-function, timer-event-handler): Use it.
8683 (timer-set-idle-time): Simplify.
8684 (timer--activate): CSE.
8685 (timer-event-handler): Give more info in error message.
8686 (internal-timer-start-idle): New function, moved from C.
8687
15e54145
SM
8688 * mpc.el (mpc-proc): Add `restart' argument.
8689 (mpc-proc-cmd): Use it.
8690 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8691 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8692 less often.
8693
7144c627
MY
86942013-04-10 Masatake YAMATO <yamato@redhat.com>
8695
8696 * progmodes/sh-script.el: Implement `sh-mode' own
8697 `add-log-current-defun-function' (bug#14112).
8698 (sh-current-defun-name): New function.
8699 (sh-mode): Use the function.
8700
b39792eb
BG
87012013-04-09 Bastien Guerry <bzg@gnu.org>
8702
8703 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8704
8acdeb71
SM
87052013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8706
6fcdab68
SM
8707 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8708
8acdeb71
SM
8709 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8710 timer (bug#14156).
8711
e3e7b504
NF
87122013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8713
8714 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8715 declaration.
8716
201bb296
LL
87172013-04-07 Leo Liu <sdl.web@gmail.com>
8718
8719 * pcmpl-x.el: New file.
8720
ebb19708
DA
87212013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8722
8723 Do not set x-display-name until X connection is established.
8724 This is needed to prevent from weird situation described at
8725 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8726 * frame.el (make-frame): Set x-display-name after call to
8727 window system initialization function, not before.
8728 * term/x-win.el (x-initialize-window-system): Add optional
8729 display argument and use it.
8730 * term/w32-win.el (w32-initialize-window-system):
8731 * term/ns-win.el (ns-initialize-window-system):
8732 * term/pc-win.el (msdos-initialize-window-system):
8733 Add compatible optional display argument.
8734
33bb237a
EZ
87352013-04-06 Eli Zaretskii <eliz@gnu.org>
8736
8737 * files.el (normal-backup-enable-predicate): On MS-Windows and
8738 MS-DOS compare truenames of temporary-file-directory and of the
8739 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8740 don't fail comparison by compare-strings. Also, compare file
8741 names case-insensitively on MS-Windows and MS-DOS.
8742
134abf1f
SM
87432013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8746 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8747
d695cb94
DG
87482013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8749
e3e7b504
NF
8750 * whitespace.el (whitespace-color-on, whitespace-color-off):
8751 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8752
f4ad7ea1 87532013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8754
8755 * ispell.el (ispell-set-spellchecker-params):
8756 Really set `ispell-args' for all equivs.
8757
632556e4
SM
87582013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * ido.el (ido-completions): Use extra elements of ido-decorations
8761 (bug#14143).
8762 (ido-decorations): Update docstring.
8763
2a417372
MA
87642013-04-05 Michael Albinus <michael.albinus@gmx.de>
8765
8766 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8767 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8768 nil during initialization, in order not to miss changes since the
8769 file was opened. (Bug#14140)
8770
fc164b0c
LL
87712013-04-05 Leo Liu <sdl.web@gmail.com>
8772
8773 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8774
0ccecc08
JB
87752013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8776
8777 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8778
51af1aa2
GM
87792013-04-04 Glenn Morris <rgm@gnu.org>
8780
8781 * electric.el (electric-pair-inhibit-predicate): Add :version.
8782
b208ebc6
SM
87832013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8786 when a package is required several times (bug#14082).
8787
f3d3eaf0
RW
87882013-04-04 Roland Winkler <winkler@gnu.org>
8789
8790 * faces.el (read-face-name): Behave as promised by the docstring.
8791 Assume that arg default is a list of faces.
8792 (describe-face): Call read-face-name with list of default faces.
8793
2575da50
TV
87942013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8795
8796 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8797 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8798 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8799 the header.
8800 (bookmark-exit-hook-internal): Save even if list is empty.
8801
397703b4
YH
88022013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8803
8804 * emacs-lisp/package.el (package-pinned-packages): New var.
8805 (package--add-to-archive-contents): Obey it (bug#14118).
8806
691e26ae
AM
88072013-04-03 Alan Mackenzie <acm@muc.de>
8808
8a621d53
JB
8809 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8810 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8811
8812 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8813 parameter `not-in-delimiter'. Handle being inside comment opener.
8814 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8815 character in case we're typing a '*' after a '/'.
8816 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8817 instead by passing the parameter to c-state-pp-to-literal.
8818
8819 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8820 for elt. 7 of a parse state.
8821
4b725a70
PE
88222013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8823
8824 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8825 * international/latin1-disp.el, international/mule-util.el:
8826 * language/cyril-util.el, language/european.el, language/ind-util.el:
8827 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8828 * language/tibetan.el, language/viet-util.el:
8829 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8830
15c579f0
SM
88312013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8834 (electric-pair-post-self-insert-function): Use it.
8835 (electric-pair-default-inhibit): New function, extracted from
8836 electric-pair-post-self-insert-function.
8837
a77e2924
RW
88382013-03-31 Roland Winkler <winkler@gnu.org>
8839
8840 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8841
2bd8a4a8
SM
88422013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8845
8d3655be 88462013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8847
8848 Un-indent after "pass" and "return" statements (Bug#13888)
8849 * progmodes/python.el (python-indent-block-enders): New var.
8850 (python-indent-calculate-indentation): Use it.
8851
8d3655be 88522013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8853
8854 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8855 defun. Defining it as defalias could introduce too eager
8856 byte-compiler optimization. (Bug#14030)
8857
8d3655be 88582013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8859
8860 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8861
0b1619da
LL
88622013-03-30 Leo Liu <sdl.web@gmail.com>
8863
8864 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8865 (kmacro-execute-from-register): Pass the keyboard macro to
8866 kmacro-call-macro or repeating won't work correctly.
8867
0b938190
TZ
88682013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8869
8870 * progmodes/subword.el: Back to using `forward-symbol'.
8871
8872 * subr.el (forward-whitespace, forward-symbol)
8873 (forward-same-syntax): Move from thingatpt.el.
8874
35710234
LL
88752013-03-29 Leo Liu <sdl.web@gmail.com>
8876
8877 * kmacro.el (kmacro-to-register): New command.
8878 (kmacro-execute-from-register): New function.
8879 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8880
efc0bb73
SM
88812013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * mpc.el: Use defvar-local and setq-local.
8884 (mpc--proc-connect): Connection failures are not bugs.
8885 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8886 (mpc-volume-map): Bind to the up-events.
8887
75a2f981
TZ
88882013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8889
8890 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8891 instead of `forward-symbol'.
8892
17c781d1
SM
88932013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8896 (edebug--recursive-edit): Use it.
8897 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8898 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8899
f67bfbcf
LL
89002013-03-28 Leo Liu <sdl.web@gmail.com>
8901
8902 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8903
b59f639d
EZ
89042013-03-27 Eli Zaretskii <eliz@gnu.org>
8905
8906 * facemenu.el (list-colors-callback): New defvar.
8907 (list-colors-redisplay): New function.
8908 (list-colors-display): Install list-colors-redisplay as the
8909 revert-buffer-function. (Bug#14063)
8910
f557c1b1
SM
89112013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8912
b1da2957
SM
8913 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8914 and suffixes don't overlap (bug#14061).
8915
f557c1b1
SM
8916 * case-table.el: Use lexical-binding.
8917 (case-table-get-table): New function.
8918 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8919
002668e1
TZ
89202013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8921
8922 * progmodes/subword.el: Add `superword-mode' to do word motion
8923 over symbol_words (parallels and leverages `subword-mode' which
8924 does word motion inside MixedCaseWords).
8925
73572c72
AG
89262013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8927
78b8f320 8928 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8929 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8930
69b2c07e
SM
89312013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8934 Change return value to be a sexp. Delay `get-buffer' to after
8935 restoring the desktop (bug#13951).
8936
08bb5ee2
LL
89372013-03-26 Leo Liu <sdl.web@gmail.com>
8938
8939 * register.el: Move semantic tag handling back to
8940 cedet/semantic/senator.el. (Bug#14052)
8941
8d4c974e
SM
89422013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8945 into the prompt either (bug#13963).
8946
b234d92c
SM
89472013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8950 part of "(error-foo)".
8951
ddfa3cb4
JL
89522013-03-24 Juri Linkov <juri@jurta.org>
8953
8954 * replace.el (list-matching-lines-prefix-face): New defcustom.
8955 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8956 `occur-engine' if `face-differs-from-default-p' returns t.
8957 (occur-engine): Add `,' inside backquote construct to evaluate
8958 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8959 Pass `prefix-face' to the functions `occur-context-lines' and
8960 `occur-engine-add-prefix'.
8961 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8962 `prefix-face' and propertize the prefix with `prefix-face'.
8963 (Bug#14017)
8964
7b0e2f85
LL
89652013-03-24 Leo Liu <sdl.web@gmail.com>
8966
8967 * nxml/rng-valid.el (rng-validate-while-idle)
8968 (rng-validate-quick-while-idle): Guard against deleted buffer.
8969 (Bug#13999)
8970
8971 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8972 is the last entry in kill-buffer-hook.
8973
8974 * files.el (kill-buffer-hook): Doc fix.
8975
b3082f49
DG
89762013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8977
b234d92c
SM
8978 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8979 Make it safe-local.
bde73d27 8980
b3082f49
DG
8981 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8982
a320a2db
LL
89832013-03-23 Leo Liu <sdl.web@gmail.com>
8984
7e74b0fb
LL
8985 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8986 Remove.
8987
8988 * nxml/rng-valid.el (rng-validate-mode)
8989 (rng-after-change-function, rng-do-some-validation):
8990 * nxml/rng-maint.el (rng-validate-buffer):
8991 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8992 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8993 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8994 (nxml-extend-after-change-region): Use with-silent-modifications.
8995
a320a2db
LL
8996 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8997 timer-idle-list.
8998
8999 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9000 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9001 timer-idle-list. (Bug#13999)
9002
e38e6780
JL
90032013-03-23 Juri Linkov <juri@jurta.org>
9004
9005 * info.el (info-index-match): New face.
9006 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9007 main pattern and add text properties with the new face to matches
9008 in index entries relative to the beginning of the index entry.
9009 (Bug#14015)
9010
e8cc7880
DE
90112013-03-21 Eric Ludlam <zappo@gnu.org>
9012
9013 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9014 Inhibit read only while inserting objects.
9015
9bb0d822
TZ
90162013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9017
9018 * progmodes/cfengine.el: Update docs to mention
9019 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9020 symbol motion. Remove "_" from the word syntax.
9021
aa703640
TZ
90222013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9023
9024 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9025 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9026
afff09d0
JL
90272013-03-20 Juri Linkov <juri@jurta.org>
9028
9029 * info.el (Info-next-reference-or-link)
9030 (Info-prev-reference-or-link): New functions.
9031 (Info-next-reference, Info-prev-reference): Use them.
9032 (Info-try-follow-nearest-node): Handle footnote navigation.
9033 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9034
9a1ff164
SM
90352013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9038 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9039
2667d15d
PE
90402013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9041
9042 Suppress unnecessary non-ASCII chatter during build process.
9043 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9044 (batch-skkdic-convert): Suppress most of the chatter.
9045 It's not needed so much now that machines are faster,
9046 and its non-ASCII component was confusing; see Dmitry Gutov in
9047 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9048
438b0579
LL
90492013-03-20 Leo Liu <sdl.web@gmail.com>
9050
9051 * ido.el (ido-chop): Fix bug#10994.
9052
c128ab07
DG
90532013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9054
9055 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9056 Remove vars.
9a1ff164
SM
9057 (whitespace-color-on, whitespace-color-off):
9058 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9059
0e6008c5
SM
90602013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9063 remapping in mode-line.
9064 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9065
627b52b0
DG
90662013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9067
9068 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9069 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9070 (whitespace-font-lock-keywords): Change description.
9071 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9072 the constructed keywords instead.
9073 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9074
50c3a20b
LL
90752013-03-19 Leo Liu <sdl.web@gmail.com>
9076
9077 * progmodes/compile.el (compilation-display-error): New command.
9078 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9079 C-o. (Bug#13992)
9080
2aa2157b
PE
90812013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9082
9083 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9084
e477dbfa
JD
90852013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9086
9087 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9088
64ab82d1
MA
90892013-03-18 Michael Albinus <michael.albinus@gmx.de>
9090
9091 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9092
9093 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9094 * net/tramp-gvfs.el (top):
9095 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9096 (tramp-handle-shell-command): Use it.
9097 (tramp-dissect-file-name): Raise an error when hostname is a
9098 method name, and neither method nor user is specified.
9099
9100 * net/trampver.el: Update release number.
9101
33cef733
LL
91022013-03-18 Leo Liu <sdl.web@gmail.com>
9103
9104 Make sure eldoc can be turned off properly.
9105 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9106 eldoc-mode.
9107 (eldoc-display-message-p): Revert last change.
9108 (eldoc-display-message-no-interference-p)
9109 (eldoc-print-current-symbol-info): Tweak.
9110
2167b7b2
TH
91112013-03-18 Tassilo Horn <tsdh@gnu.org>
9112
9113 * doc-view.el (doc-view-new-window-function): Check the new window
9114 overlay's display property instead the char property of the
9115 buffer's first char. Use `with-selected-window' instead of
9116 `save-window-excursion' with `select-window'.
9117 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9118 display property instead the char property of the buffer's first char.
2167b7b2 9119
982efbcd
PE
91202013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9121
9122 Automate the build of ja-dic.el (Bug#13984).
9123 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9124 from the input, rather than assume that it's been done for us by the
9125 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9126 the current date into a ja-dic.el comment, as that complicates
9127 regression testing.
9128
2fcc7665
SM
91292013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * whitespace.el: Fix double evaluation.
9132 (whitespace-space, whitespace-hspace, whitespace-tab)
9133 (whitespace-newline, whitespace-trailing, whitespace-line)
9134 (whitespace-space-before-tab, whitespace-indentation)
9135 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9136 obsolete defvars.
9137 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9138 (whitespace-color-on): Use a single font-lock-add-keywords call.
9139 Fix double-evaluation of face variables.
9140
67c0a6e6
MA
91412013-03-17 Michael Albinus <michael.albinus@gmx.de>
9142
2fcc7665
SM
9143 * net/tramp-adb.el (tramp-adb-parse-device-names):
9144 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9145 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9146
69489f1d
LL
91472013-03-17 Leo Liu <sdl.web@gmail.com>
9148
9149 Extend eldoc to display info in the mode-line. (Bug#13978)
9150 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9151 (eldoc-mode-line-string): New variable.
9152 (eldoc-minibuffer-message): New function.
9153 (eldoc-message-function): New variable.
9154 (eldoc-message): Use it.
9155 (eldoc-display-message-p)
2fcc7665
SM
9156 (eldoc-display-message-no-interference-p):
9157 Support eldoc-post-insert-mode.
69489f1d
LL
9158
9159 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9160 (eval-expression): Run it.
9161
9c44569e
RW
91622013-03-17 Roland Winkler <winkler@gnu.org>
9163
9164 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9165 strings in the list of return values.
9166
327f1f6f
JB
91672013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9168
9169 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9170 radix before checking for HMS forms.
9171
67ed8fcd
LL
91722013-03-16 Leo Liu <sdl.web@gmail.com>
9173
9174 * progmodes/scheme.el: Add indentation and font-locking for λ.
9175 (Bug#13975)
9176
78be8b64 91772013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9178
9179 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9180 token before point (bug#13942).
9181
78be8b64 91822013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9183
95b43468 9184 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9185
98e775e6
EZ
91862013-03-16 Eli Zaretskii <eliz@gnu.org>
9187
9188 * startup.el (command-line-normalize-file-name): Fix handling of
9189 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9190 <xfq.free@gmail.com> in
9191 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9192
2edd6029
MA
91932013-03-15 Michael Albinus <michael.albinus@gmx.de>
9194
9195 Sync with Tramp 2.2.7.
9196
9197 * net/trampver.el: Update release number.
9198
d35f5864
TH
91992013-03-14 Tassilo Horn <tsdh@gnu.org>
9200
e903c210 9201 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9202 (doc-view-insert-image): Don't modify overlay associated to
9203 non-live windows, and implement horizontal centering of image in
9204 case it's smaller than the window.
9205 (doc-view-new-window-function): Force redisplay of new windows on
9206 doc-view buffers.
d35f5864 9207
1c4a85ed
KF
92082013-03-13 Karl Fogel <kfogel@red-bean.com>
9209
9210 * saveplace.el (save-place-alist-to-file): Don't sort
9211 `save-place-alist', just pretty-print it (bug#13882).
9212
85b66a21
MA
92132013-03-13 Michael Albinus <michael.albinus@gmx.de>
9214
a020afb9
JB
9215 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9216 Check whether `default-file-name-coding-system' is bound.
9217 It isn't in XEmacs.
85b66a21 9218
175600da
SM
92192013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9220
e7f7cb1a
SM
9221 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9222 backquotes for `obsolete' (bug#13929).
9223
175600da
SM
9224 * international/mule.el (find-auto-coding): Include file name in
9225 obsolescence warning (bug#13922).
9226
ca68a22e
TZ
92272013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9228
9229 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9230 for CFEngine 3-specific indentation.
9231 (cfengine3-indent-line): Use it. Fix up category regex.
9232 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9233
940e5099
SM
92342013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * type-break.el (type-break-file-name):
9237 * textmodes/remember.el (remember-data-file):
9238 * strokes.el (strokes-file):
9239 * shadowfile.el (shadow-initialize):
9240 * saveplace.el (save-place-file):
9241 * ps-bdf.el (bdf-cache-file):
9242 * progmodes/idlwave.el (idlwave-config-directory):
9243 * net/quickurl.el (quickurl-url-file):
9244 * international/kkc.el (kkc-init-file-name):
9245 * ido.el (ido-save-directory-list-file):
9246 * emulation/viper.el (viper-custom-file-name):
9247 * emulation/vip.el (vip-startup-file):
9248 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9249 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9250
cc725808
PE
92512013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9252
9253 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9254 * language/thai-word.el: Switch to UTF-8.
9255
a020afb9 9256See ChangeLog.16 for earlier changes.
e3d51b27
MR
9257
9258;; Local Variables:
9259;; coding: utf-8
e3d51b27
MR
9260;; End:
9261
ab422c4d 9262 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9263
9264 This file is part of GNU Emacs.
9265
9266 GNU Emacs is free software: you can redistribute it and/or modify
9267 it under the terms of the GNU General Public License as published by
9268 the Free Software Foundation, either version 3 of the License, or
9269 (at your option) any later version.
9270
9271 GNU Emacs is distributed in the hope that it will be useful,
9272 but WITHOUT ANY WARRANTY; without even the implied warranty of
9273 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9274 GNU General Public License for more details.
9275
9276 You should have received a copy of the GNU General Public License
9277 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.