Fix bug #15260 with building and installing Emacs in non-ASCII directories.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d0065ff1
EZ
12013-11-04 Eli Zaretskii <eliz@gnu.org>
2
3 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5 environment and decoding all of the default-directory's to here
6 from command-line.
7 (command-line): Decode also argv[0].
8
9 * loadup.el: Error out if default-directory is a multibyte string
10 when we are dumping.
11
12 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
13
7397c587
TZ
142013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
15
16 * emacs-lisp/package.el (package-menu-mode)
17 (package-menu--print-info, package-menu--archive-predicate): Add
18 Archive column to package list.
19
b27cc9fc
MA
202013-11-04 Michael Albinus <michael.albinus@gmx.de>
21
22 Fix problems found while writing a test suite.
23
24 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
25 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
26 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
27 to nil when running original file name handler. Otherwise,
28 there are problems with constructs like "$$FOO".
29
30 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
31 for `localname'.
32
d8c4f18a
BB
332013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
34
7b530552
BB
35 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
36
37 * subr.el (version<, version<=, version=):
38 Update docstrings with information for snapshot versions.
39
d8c4f18a
BB
40 * helpers.el: New library for misc helper functions.
41 (hash-table-keys): New function returning a list of hash keys.
42 (hash-table-values): New function returning a list of hash values.
43
dca01b09
DG
442013-11-04 Dmitry Gutov <dgutov@yandex.ru>
45
46 * progmodes/ruby-mode.el (ruby-smie--forward-token)
47 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
48
0a749fa0
MN
492013-11-04 Michal Nazarewicz <mina86@mina86.com>
50
51 * textmodes/fill.el (fill-single-char-nobreak-p): New function
52 checking whether point is after a 1-letter word.
53
542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
55
56 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
57 Don't infloop when expanding region over `multiline' syntax-type that
58 begins a line (bug#15778).
59
4aca7145
SM
602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
63 Make it into a proper minor mode.
64 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
65 (rectangle-mark-mode-map): New keymap.
66 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
67
a0833f62
GM
682013-11-04 Glenn Morris <rgm@gnu.org>
69
70 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
71
e61845c1
SM
722013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
75 (ruby-smie-rules): Use smie-rule-parent instead.
76
77 * emacs-lisp/smie.el (smie-rule-parent): Always call
78 smie-indent-virtual rather than only for hanging tokens.
79 (smie--next-indent-change): New helper command.
80
62942f89
GM
812013-11-03 Glenn Morris <rgm@gnu.org>
82
83 * Makefile.in (abs_srcdir): Remove.
84 (emacs): Unset EMACSLOADPATH.
85
b0b9e592
GM
862013-11-02 Glenn Morris <rgm@gnu.org>
87
18ba6a33 88 * Makefile.in (EMACS): Use a relative filename.
8061810d 89 (abs_top_builddir): Remove.
18ba6a33
GM
90 (custom-deps, finder-data, autoloads): Use --chdir.
91
6a8b929e
GM
92 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
93
c617f3d0
GM
94 Use relative filenames in TAGS files.
95 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
96 (lisptagsfiles4, TAGS): Use relative file names.
97 (TAGS-LISP): Remove.
98 (maintainer-clean): No more TAGS-LISP file.
99
b0b9e592
GM
100 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
101 (lisptagsfiles4): Use absolute filenames again.
102 (TAGS, TAGS-LISP): Not everything needs to run in one line.
103 Remove all *loaddefs files, not just the first. Remove esh-groups.
104 (maintainer-clean): Delete TAGS, TAGS-LISP.
105
d1c0ea6a
BB
1062013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
107
e61845c1
SM
108 * emacs-lisp/package.el (package-version-join):
109 Recognize snapshot versions.
d1c0ea6a 110
684d71c6
BB
1112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
112
113 * subr.el (version-regexp-alist): Add support for snapshot versions.
114
3d42b968
DG
1152013-11-02 Dmitry Gutov <dgutov@yandex.ru>
116
e61845c1
SM
117 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
118 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
119 skip over our direct parent if it's an assignment token..
120 (ruby-smie-rules): Use it.
121
7ffd3721
DG
1222013-11-02 Dmitry Gutov <dgutov@yandex.ru>
123
124 * progmodes/ruby-mode.el Use `syntax-propertize-function'
125 unconditionally. Remove now unnecessary forward declarations.
126 Remove XEmacs-specific setup.
127 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
128 (ruby-font-lock-syntactic-keywords)
129 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
130 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
131 (ruby-here-doc-end-syntax): Remove.
132 (ruby-mode): Don't check whether `syntax-propertize-rules' is
133 defined as function.
134
a3996a2e
BB
1352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
136
137 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
138
6f9260e8
BB
1392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
140
141 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
142 table and abbrev table, `define-derived-mode' does that for us
143 anyway.
144
6014de84
GM
1452013-11-01 Glenn Morris <rgm@gnu.org>
146
147 * Makefile.in: Remove manual mh-e dependencies (writing .elc
148 files is atomic for some time, so no parallel compilation issues).
149
3c334c14
JD
1502013-11-01 Jan Djärv <jan.h.d@swipnet.se>
151
152 * faces.el (face-x-resources): Add :distant-foreground.
153 (region): Use :distant-foreground for gtk and ns.
154
9bc236c8
TH
1552013-11-01 Tassilo Horn <tsdh@gnu.org>
156
5246583b 157 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
158 BibTeX.
159 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
160 (reftex-locate-bibliography-files): Us it.
161
d14c81ee
CB
1622013-11-01 Claudio Bley <claudio.bley@googlemail.com>
163
0e7690de
CB
164 * image.el (image-type-header-regexps): Fix the 'pbm' part to
165 allow comments in pbm files.
166
d14c81ee
CB
167 * term/w32-win.el (dynamic-library-alist): Support newer versions
168 of libjpeg starting with v7: look only for the DLL from the
169 version against which Emacs was built.
ac1bf374 170 Support versions of libpng beyond 1.4.x.
019c8218 171 Support libtiff v4.x.
d14c81ee 172
983d0df5
BB
1732013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
174
175 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
176 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
177 Add property :safe.
178 (ruby-deep-arglist): Add property :type.
179
47f58d85
GM
1802013-10-31 Glenn Morris <rgm@gnu.org>
181
182 * Makefile.in (custom-deps, finder-data): No need to setq the target
183 variables, we are in the right directory and the defaults work fine.
184
4f85b479
GM
1852013-10-30 Glenn Morris <rgm@gnu.org>
186
ca7dd4cd
GM
187 * Makefile.in (autoloads): Do not use abs_lisp.
188
4f85b479
GM
189 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
190 `newline' does not respect `standard-output', so use `princ'.
191
cf59e41c
AA
1922013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
193
194 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
195 * buff-menu.el (Buffer-menu--unmark): New function.
196 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
197
74cf04fb
GM
1982013-10-30 Glenn Morris <rgm@gnu.org>
199
b040b60e
GM
200 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
201
f53d3815
GM
202 * emacs-lisp/package.el (lm-homepage): Declare.
203
5413d873
GM
204 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
205 Fix doc typos.
206
cecedb36
GM
207 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
208
74cf04fb
GM
209 * Makefile.in (finder-data, autoloads, update-subdirs)
210 (compile-main, compile-clean, compile-always, bootstrap-clean):
211 Check return value of cd.
212 (compile-calc): Remove.
213
195ee2f0
SM
2142013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
215
ae4002ce
SM
216 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
217
218 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
219 (byte-compile-and-folded): New function.
220 (=, <, >, <=, >=): Use it.
221
222 * dos-w32.el (minibuffer-history-case-insensitive-variables)
223 (path-separator, null-device, buffer-file-coding-system)
224 (lpr-headers-switches): Check system-type before modifying them.
225 (find-buffer-file-type-coding-system): Mark obsolete.
226 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
227 find-file-not-found-set-buffer-file-coding-system.
228 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
229 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
230 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
231 (w32-direct-print-region-helper, w32-direct-print-region-function)
232 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
233 * startup.el (normal-top-level-add-subdirs-to-load-path):
234 * ps-print.el (ps-print-region-function):
235 * lpr.el (print-region-function): Use new name.
236
53b39e89
SM
237 * subr.el (custom-declare-variable-early): Remove function.
238 (custom-declare-variable-list): Remove var.
239 (error, user-error): Remove `while' loop.
240 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
241 (user-emacs-directory-warning, locate-user-emacs-file):
242 Move to files.el.
243 * simple.el (read-quoted-char-radix, read-quoted-char):
244 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
245 Move from subr.el.
246 * custom.el (custom-declare-variable-list): Don't process
247 custom-declare-variable-list.
248
195ee2f0
SM
249 * progmodes/python.el (python-shell-get-buffer): New function.
250 (python-shell-get-process): Use it.
251 (python-shell-send-string): Always use utf-8 and add a cookie to tell
252 Python which encoding was used. Don't split-string since we only care
253 about the first line. Return the temp-file, if applicable.
254 (python-shell-send-region): Tell compile.el how to turn locations in
255 the temp-file into locations in the source buffer.
256
7e3561ee
SM
2572013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
258
4c9797cb
SM
259 * subr.el (undefined): Add missing behavior from the C code for
260 unbound keys.
261
3472b6c6
SM
262 * rect.el: Use lexical-binding. Add new rectangular region support.
263 (rectangle-mark): New command.
264 (rectangle--region): New var.
265 (deactivate-mark-hook): Reset rectangle--region.
266 (rectangle--extract-region, rectangle--insert-for-yank)
267 (rectangle--highlight-for-redisplay)
268 (rectangle--unhighlight-for-redisplay): New functions.
269 (region-extract-function, redisplay-unhighlight-region-function)
270 (redisplay-highlight-region-function): Use them to handle
271 rectangular region.
272 * simple.el (region-extract-function): New var.
273 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
274 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
275 (kill-region): Replace obsolete `yank-handler' arg with `region'.
276 (copy-region-as-kill, kill-ring-save): Add `region' argument.
277 (redisplay-unhighlight-region-function)
278 (redisplay-highlight-region-function): New vars.
279 (redisplay--update-region-highlight): New function.
280 (pre-redisplay-function): Use it.
281 (exchange-point-and-mark): Don't deactivate the mark before
282 reactivate-it anyway.
283 * comint.el (comint-kill-region): Remove yank-handler argument.
284 * delsel.el (delete-backward-char, backward-delete-char-untabify)
285 (delete-char): Remove property, since it's now part of their
286 default behavior.
287 (self-insert-iso): Remove property since this command doesn't exist.
288
7e3561ee
SM
289 * emacs-lisp/package.el (package--download-one-archive)
290 (describe-package-1): Don't query the user about final newline.
291
b9bef71f
DC
2922013-10-29 Daniel Colascione <dancol@dancol.org>
293
294 * net/tramp.el (tramp-methods): Document new functionality.
295 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
296 tramp-hostname-checker if method provides one instead of scanning
297 argument list for "%h" to decide hostname acceptability.
298
4efc33f0
MA
2992013-10-28 Michael Albinus <michael.albinus@gmx.de>
300
301 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
302 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
303 Handle COPY-CONTENTS. (Bug#15737)
304
ed42a877
DU
3052013-10-28 Daiki Ueno <ueno@gnu.org>
306
307 * epa-file.el
7e3561ee
SM
308 (epa-file-cache-passphrase-for-symmetric-encryption):
309 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 310
18c9f8a2
XF
3112013-10-27 Xue Fuqiao <xfq.free@gmail.com>
312
7a4bc7be
XF
313 * image.el (defimage):
314 (image-load-path): Doc fixes.
18c9f8a2 315
b1e8e010
AM
3162013-10-27 Alan Mackenzie <acm@muc.de>
317
318 Indent statements in macros following "##" correctly.
7e3561ee
SM
319 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
320 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 321
73d40d1e 3222013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
323
324 * linum.el (linum-update-window): Fix boundary test (bug#13446).
325
c8c605ac
DG
3262013-10-27 Dmitry Gutov <dgutov@yandex.ru>
327
328 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
329 after `=' is probably a new expression.
330
ca7e59d4
RS
3312013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
332
333 * man.el (man-imenu-title): New option.
334 (Man-mode-map): Add menu. (Bug#15722)
335 (Man-mode): Add imenu to menu.
336
bae91342
DG
3372013-10-26 Dmitry Gutov <dgutov@yandex.ru>
338
339 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
340 specific in what the first arg can be: a non-keyword word,
341 string/regexp/percent literal opener, opening paren, or unary
342 operator followed directly by word.
343
eb89dc14
SM
3442013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
347 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
348 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
349 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
350 Remove vars, they do not apply any more.
351 (prolog-mode-abbrev-table): Remove redundant declaration.
352 (prolog-upper-case-string, prolog-lower-case-string): Remove.
353 (prolog-use-smie): Remove.
354 (prolog-smie-rules): Add indentation rule for the if-then-else layout
355 supported by prolog-electric-if-then-else-flag.
356 (prolog-mode-variables, prolog-menu): Use setq-local.
357 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
358 Remove binding to `Backspace' since this key doesn't exist anyway.
359 Remove bindings for electric self-inserting keys.
360 (prog-mode): Assume it's defined.
361 (prolog-post-self-insert): New function.
362 (prolog-mode): Use it.
363 (prolog-indent-line, prolog-indent-level)
364 (prolog-find-indent-of-matching-paren)
365 (prolog-indentation-level-of-line, prolog-goto-comment-column)
366 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
367 (prolog-goto-next-paren, prolog-in-string-or-comment)
368 (prolog-tokenize, prolog-inside-mline-comment)
369 (prolog-find-start-of-mline-comment): Remove functions.
370 (prolog-find-unmatched-paren, prolog-clause-end)
371 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
372 (prolog-electric--if-then-else): Rename from
373 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
374 (prolog-tokenize-searchkey): Remove const.
375 (prolog-clause-info): Use forward-sexp.
376 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
377 (prolog-electric-if-then-else): Remove commands.
378 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
379 for use in post-self-insert-hook.
380 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
381 for use in post-self-insert-hook.
382 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
383 for use in post-self-insert-hook.
384 (prolog-electric--underscore): Rename from prolog-electric--underscore;
385 adapt it for use in post-self-insert-hook.
386
3dab0a83
MA
3872013-10-25 Michael Albinus <michael.albinus@gmx.de>
388
389 * emacs-lisp/ert.el (ert-run-tests-interactively):
390 Use `completing-read'. (Bug#9756)
391
fbfd0e1d
EZ
3922013-10-25 Eli Zaretskii <eliz@gnu.org>
393
394 * simple.el (line-move): Call line-move-1 instead of
395 line-move-visual when the current window hscroll is zero, but
396 temporary-goal-column indicates we will need to hscroll as result
397 of the movement. (Bug#15712)
398
963ce636
DG
3992013-10-25 Dmitry Gutov <dgutov@yandex.ru>
400
401 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
402 capitalization. Use :visible instead of :active.
403 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
404 commands that are used with SMIE.
405 (ruby-do-end-to-brace): Insert space after `{'.
406
a0be396a
JA
4072013-10-25 John Anthony <john@jo.hnanthony.com>
408
f73754c9
JA
409 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
410
411 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 412
f5bf77df
GM
4132013-10-25 Glenn Morris <rgm@gnu.org>
414
415 * vc/vc.el (vc-print-log): Don't use a working revision unless
416 one was explicitly specified. (Bug#15322)
417
37241f62
SM
4182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * subr.el (add-to-list): Preserve return value in compiler-macro
421 (bug#15692).
422
6408a65d
RS
4232013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
424
425 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
426 result. Ask user to retry using '-all' flag. (Bug#15701)
427
71e3276b
SM
4282013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * emacs-lisp/smie.el: New smie-config system.
431 (smie-config): New defcustom.
432 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
433 (smie-config-guess, smie-config-save): New commands.
434 (smie-config--mode-local, smie-config--buffer-local)
435 (smie-config--trace, smie-config--modefuns): New vars.
436 (smie-config--advice, smie-config--mode-hook)
437 (smie-config--setter, smie-config-local, smie-config--get-trace)
438 (smie-config--guess-value, smie-config--guess): New functions.
439 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
440 text properties. Treat "string fence" syntax like string syntax.
441
442 * progmodes/sh-script.el (sh-use-smie): Change default.
443 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
444 (sh-var-value): Simplify by CSE.
445 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
446 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
447 is used.
448 (sh-guess-basic-offset): Use cl-incf.
449 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
450
60db713e
HE
4512013-10-24 Helmut Eller <eller.helmut@gmail.com>
452
453 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
454 (bug#15699).
455
8b251df6
GM
4562013-10-24 Glenn Morris <rgm@gnu.org>
457
458 * Makefile.in (abs_top_srcdir): Remove.
459 (update-subdirs): Use relative path to update-subdirs.
460
6be0e22b
EZ
4612013-10-24 Eli Zaretskii <eliz@gnu.org>
462
463 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
464 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
465 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
466 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 467
50b5b857
MA
4682013-10-24 Michael Albinus <michael.albinus@gmx.de>
469
470 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
471 (ert-test-skipped): New error.
472 (ert-skip, ert-stats-skipped): New defuns.
473 (ert--skip-unless): New macro.
474 (ert-test-skipped): New struct.
475 (ert--run-test-debugger, ert-test-result-type-p)
476 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
477 (ert--stats-set-test-and-result, ert-char-for-test-result)
478 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 479 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 480 Handle skipped tests. (Bug#9803)
50b5b857 481
6f317c2f
GM
4822013-10-24 Glenn Morris <rgm@gnu.org>
483
e43817c1
GM
484 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
485
6f317c2f
GM
486 * Makefile.in (abs_top_srcdir): New, set by configure.
487 (update-subdirs): Correct build-aux location.
488
369bbf71
DG
4892013-10-24 Dmitry Gutov <dgutov@yandex.ru>
490
8297b2cf
DG
491 * vc/vc.el (vc-print-root-log): Always set `default-directory'
492 value, whether we could auto-deduce `backend', or not.
493
369bbf71
DG
494 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
495 with parameters" example. Simplify the "is it block or is it
496 hash" check, but also make it more thorough.
497
d5f1282f
MF
4982013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
499
500 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
501
bc4aaa31
SM
5022013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
503
03d44565
SM
504 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
505 { if it is hanging.
506
bc4aaa31
SM
507 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
508 :before ";".
509
f493ff19
JB
5102013-10-23 Jed Brown <jed@59A2.org> (tiny change)
511
512 * progmodes/compile.el (compilation-directory-matcher)
513 (compilation-page-delimiter):
514 Support GNU Make-4.0 directory quoting. (Bug#15678)
515
c744a3b9
LL
5162013-10-23 Leo Liu <sdl.web@gmail.com>
517
518 * ido.el (ido-tidy): Handle read-only text.
519
b8e3b0a9
GM
5202013-10-23 Glenn Morris <rgm@gnu.org>
521
522 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
523 (emacs, compile, compile-always):
524 Quote entities that might contain whitespace.
525 (custom-deps, finder-data, autoloads): Use abs_lisp.
526 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
527 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
528 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
529
ee4282cd
DG
5302013-10-23 Dmitry Gutov <dgutov@yandex.ru>
531
bc4aaa31
SM
532 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
533 Use `following-char'.
7790a270 534
ee4282cd 5352013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
536
537 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
538 * progmodes/ruby-mode.el (ruby-smie-rules):
539 Remove corresponding workaround. Fix indentation rule of ";" so it
540 also applies when ";" is the parent.
541
d40a46d7
XF
5422013-10-22 Xue Fuqiao <xfq.free@gmail.com>
543
544 * frame.el (display-screens, display-pixel-height)
545 (display-pixel-width, display-mm-width, display-backing-store)
546 (display-save-under, display-planes, display-color-cells)
7790a270
SM
547 (display-visual-class, display-monitor-attributes-list):
548 Mention the optional ‘display’ argument in doc strings.
d40a46d7 549
a0f143c9
MG
5502013-10-22 Michael Gauland <mikelygee@amuri.net>
551
552 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
553 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
554
18cacc39
DG
5552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
556
557 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
558 TODO. Add "." after " @ ".
559 (ruby-smie--at-dot-call): New function. Checks if point at method
560 call with explicit target.
561 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
562 to the method name tokens when it precedes them.
563 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
564 (ruby-smie-rules): Add rule for indentation before and after "."
565 token.
566
df74c4be
SM
5672013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
568
c6dab55f
SM
569 * textmodes/remember.el (remember-diary-extract-entries):
570 Avoid add-to-list.
571
df74c4be
SM
572 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
573 an instruction.
574
8c1ae481
DG
5752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
576
cfef16c0
DG
577 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
578 (ruby-smie--implicit-semi-p): Add new operator chars.
579
8c1ae481
DG
580 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
581 `smie-down-list'.
582 (ruby-smie--args-separator-p): Check that there's no newline
583 between method call and its arguments.
584
87756ca9
AM
5852013-10-20 Alan Mackenzie <acm@muc.de>
586
587 Allow comma separated lists after Java "implements".
588
df74c4be
SM
589 * progmodes/cc-engine.el (c-backward-over-enum-header):
590 Parse commas.
87756ca9
AM
591 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
592 from a "disallowed" list in enum fontification.
593
c25f8957
JB
5942013-10-20 Johan Bockgård <bojohan@gnu.org>
595
df74c4be 596 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 597
c25f8957
JB
598 * progmodes/verilog-mode.el (verilog-mode): Don't set
599 comment-indent-function globally.
600
aca5fcdc
JD
6012013-10-20 Jan Djärv <jan.h.d@swipnet.se>
602
5f161884
JD
603 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
604 Move Info menu item creation to ns-win.el.
605
606 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
607 in menu bar.
608
aca5fcdc
JD
609 * menu-bar.el: Move GNUStep specific menus...
610
611 * term/ns-win.el (ns-initialize-window-system): ... to here.
612
914b7f98
SM
6132013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * simple.el (newline): Only run post-self-insert-hook when
616 called interactively.
617
846ffe77
JB
6182013-10-19 Johan Bockgård <bojohan@gnu.org>
619
620 * icomplete.el (icomplete-with-completion-tables): Add :version.
621
033f22dd
AM
6222013-10-19 Alan Mackenzie <acm@muc.de>
623
624 Fix fontification bugs with constructors and const.
625
626 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
627 CASE 2) Remove the check for the absence of a suffix construct
628 after a function declaration with only types (no identifiers) in
629 the parentheses. Also, accept a function declaration with just a
630 type inside the parentheses, if this type can be positively
631 recognised as such, or if a prefix keyword like "explicit" nails
632 down the construct as a declaration.
633
58ce0cfc
EZ
6342013-10-19 Eli Zaretskii <eliz@gnu.org>
635
636 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
637 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
638 the problem whereby selecting a menu item that leads to a
639 minibuffer prompt moves the cursor out of the minibuffer window,
640 making it hard to type at the prompt. Suggested by Stefan Monnier
641 <monnier@iro.umontreal.ca>.
642
50e28e7d
JD
6432013-10-19 Jan Djärv <jan.h.d@swipnet.se>
644
645 * menu-bar.el: Don't make Services menu.
646
7deed4bf
RS
6472013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
648
649 * ffap.el: Handle "/usr/include/c++/<version>" directories.
650 (ffap-alist): Use ffap-c++-mode for c++-mode.
651 (ffap-c++-path): New variable.
652 (ffap-c++-mode): New function.
653
7bcb455b
JVJ
6542013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
655
656 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
657
f0ff1cd5
MA
6582013-10-18 Michael Albinus <michael.albinus@gmx.de>
659
660 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
661 introduced on 2013-09-08, which results in an infinite loop
662 requesting a password.
663
d64da4b7
GM
6642013-10-18 Glenn Morris <rgm@gnu.org>
665
666 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
667
ea89ff08
WS
6682013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
669
670 Sync with upstream verilog-mode revision 1a6ecec7.
671 * progmodes/verilog-mode.el (verilog-mode-version): Update.
672 (verilog-mode-release-date): Remove.
673 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
674 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
675 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
676 (verilog-auto-tieoff-ignore-regexp)
677 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
678 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
679 (verilog-signals-with, verilog-dir-cache-preserving)
680 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
681 Doc fixes.
682 (verilog-case-fold): New option, to control case folding in
683 regexp searches, bug597.
684 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
685 (verilog-string-match-fold, verilog-in-paren-count)
686 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
687 (verilog-at-close-struct-p): New functions.
688 (verilog-beg-block-re-ordered, verilog-extended-case-re)
689 (verilog-forward-sexp, verilog-set-auto-endcomments):
690 (verilog-leap-to-case-head): Handle "unique0" case.
691 (verilog-in-constraint-re): New constant.
692 (verilog-keywords, verilog-type-font-keywords):
693 Add some SystemVerilog 1800-2012 keywords.
694 (verilog-label-be): Remove unimplemented argument, bug669.
695 (verilog-batch-execute-func): When batch expanding clear
696 create-lockfiles to prevent spurious user locks when a file ends
697 up not changing.
698 (verilog-calculate-indent, verilog-calc-1)
699 (verilog-at-close-constraint-p, verilog-at-constraint-p)
700 (verilog-do-indent): Fix indentation of nested constraints
701 and structures.
702 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
703 (verilog-auto-inst-param): Use verilog-string-match-fold.
704 (verilog-read-inst-module-matcher):
705 Fix AUTOINST on gate primitives with #1.
706 (verilog-read-decls): Fix double-declaring user-defined typed signals.
707 Reads all user-defined typed variables.
708 (verilog-read-defines): Fix reading definitions inside comments, bug647.
709 (verilog-signals-matching-regexp)
710 (verilog-signals-not-matching-regexp, verilog-auto):
711 Respect verilog-case-fold.
712 (verilog-diff-report): Fix line count.
713 (verilog-auto-assign-modport): Remove unused local `modi'.
714 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
715 better handle multidimensional arrays.
716 Fix packed array ports misadding bit index in AUTOINST, bug637.
717 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
718 to not double-declare existing outputs and inputs, respectively.
719 (verilog-template-map): Bind U to verilog-sk-uvm-component.
720 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
721 (verilog-sk-uvm-component): New skeleton.
722 (verilog-submit-bug-report): Add verilog-case-fold,
723 remove verilog-mode-release-date.
724
ef566920
BR
7252013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
726
727 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
728 as before.
729
29df8a0b
RT
7302013-10-18 Reuben Thomas <rrt@sc3d.org>
731
732 * textmodes/remember.el (remember): set buffer-offer-save in
733 remember buffers (bug#13566).
734
04a19a79
DC
7352013-10-18 Daniel Colascione <dancol@dancol.org>
736
737 When evaluating forms in ielm, direct standard output to ielm
738 buffer. Add new ielm-return-for-effect command. Remove trailing
739 whitespace throughout.
740
741 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
742 (ielm-return-for-effect): New command.
743 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
744 (ielm-eval-input): Accept optional `for-effect' parameter.
745 Bind `standard-output' to stream we create using
04a19a79
DC
746 `ielm-standard-output-impl'. Suppress printing result when
747 `for-effect'.
748 (ielm-standard-output-impl): New function.
749 (inferior-emacs-lisp-mode): Explain new features in documentation.
750
4c1f03ef
MA
7512013-10-17 Michael Albinus <michael.albinus@gmx.de>
752
753 Code cleanup.
754
755 * net/tramp.el (tramp-debug-message): Do not check for connection
756 buffer.
757 (tramp-message): Use "vector" connection property.
758
759 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
760 (tramp-equal-remote, tramp-eshell-directory-change)
761 * net/tramp-adb.el (tramp-adb-handle-copy-file)
762 (tramp-adb-handle-rename-file)
763 * net/tramp-cmds.el (tramp-list-remote-buffers)
764 (tramp-cleanup-connection, tramp-cleanup-this-connection)
765 * net/tramp-compat.el (tramp-compat-process-running-p)
766 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
767 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
768 (tramp-gvfs-handle-rename-file)
769 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
770 (tramp-set-file-uid-gid)
771 * net/tramp-smb.el (tramp-smb-handle-copy-file)
772 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
773 of `file-remote-p'.
774
775 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
776 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
777 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
778 (tramp-gw-open-network-stream): Suppress unrelated traces.
779
780 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
781 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
782 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
783 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
784 connection property.
785
786 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 787 persistency file.
4c1f03ef
MA
788
789 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
790 Refactor common code. Improve debug message.
791 (tramp-maybe-open-connection)
792 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
793 connection buffer too early.
794
795 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
796 from `tramp-smb-actions-with-acl'.
797 (tramp-smb-actions-set-acl): New defconst.
798 (tramp-smb-handle-copy-directory)
799 (tramp-smb-action-get-acl): New defun, renamed from
800 `tramp-smb-action-with-acl'.
801 (tramp-smb-action-set-acl): New defun.
802 (tramp-smb-handle-set-file-acl): Rewrite.
803
642eb8b6
GM
8042013-10-17 Glenn Morris <rgm@gnu.org>
805
806 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
807
85527ff3
SM
8082013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
809
921c1d62
SM
810 * skeleton.el (skeleton-newline): Remove.
811 (skeleton-internal-1): Use (insert "\n") instead.
812
e333fb10
SM
813 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
814 let-bindings.
815
85527ff3
SM
816 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
817 forward-sexp-function while we redo its job (bug#15613).
818
c8722a97
JB
8192013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
820
821 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
822 represented by lists.
823
7a550bbb
GM
8242013-10-16 Glenn Morris <rgm@gnu.org>
825
826 * tmm.el (tmm--history): New dynamic variable.
827 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
828
f19da8ad
MA
8292013-10-16 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
832 (tramp-smb-errors): Add error messages.
833 (tramp-smb-actions-with-acl): New defconst.
834 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
835 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
836 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
837 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
838 (tramp-smb-get-stat-capability): Fix tests.
839
a24b9961
DK
8402013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
841
842 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
843 (bug#15580).
844
62ad85e6
GM
8452013-10-16 Glenn Morris <rgm@gnu.org>
846
0283d6b0
GM
847 * ansi-color.el (ansi-color-drop-regexp):
848 Add 1J, 1K, 2K. (Bug#15617)
849
012e2f9f
GM
850 * files.el (hack-local-variables--warned-lexical): New.
851 (hack-local-variables):
852 Warn about misplaced lexical-binding. (Bug#15616)
853
62ad85e6
GM
854 * net/eww.el (eww-render): Always set eww-current-url,
855 and update header line. (Bug#15622)
856 (eww-display-html): ... Rather than just doing it here.
857
6456c0ea
EZ
8582013-10-15 Eli Zaretskii <eliz@gnu.org>
859
860 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
861 menu navigations commands.
862
c2de5588
DK
8632013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
864
865 * progmodes/subword.el (subword-capitalize): Be careful when
866 the search for [[:alpha:]] fails (bug#15580).
867
ccd4a783
EZ
8682013-10-14 Eli Zaretskii <eliz@gnu.org>
869
870 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
871 to commands that scroll the menu.
872
1eda1d8d
DG
8732013-10-14 Dmitry Gutov <dgutov@yandex.ru>
874
c2de5588
DK
875 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
876 Handle methods ending with `?' and `!'.
1eda1d8d 877
e70181b8
AM
8782013-10-14 Akinori MUSHA <knu@iDaemons.org>
879
880 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
881 `japanese-cp932' to `cp932' to fix the problem where saving a
882 source file written in Shift_JIS twice would end up having
883 `coding: japanese-cp932' which Ruby could not recognize.
884 (ruby-mode-set-encoding): Add support for encodings mapped to nil
885 in `ruby-encoding-map'.
886 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
887 doesn't need to be explicitly declared in magic comment.
888 (ruby-encoding-map): Add type declaration for better customize UI.
889
9148ee92
GM
8902013-10-13 Glenn Morris <rgm@gnu.org>
891
a5d38e34
GM
892 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
893 Occur buffers are read-only. http://bugs.debian.org/720775
894
9148ee92
GM
895 * emacs-lisp/authors.el (authors-fixed-entries):
896 Comment out old alpha stuff.
897
a9ba094b
DG
8982013-10-13 Dmitry Gutov <dgutov@yandex.ru>
899
900 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
901 to `after-save-hook' instead of `before-save-hook'.
902 (ruby-mode-set-encoding): Use the value of coding system used to
903 write the file. Call `basic-save-buffer-1' after modifying the
904 buffer.
905
7a068717
AM
9062013-10-13 Alan Mackenzie <acm@muc.de>
907
908 Fix indentation/fontification of Java enum with
909 "implements"/generic.
910
c2de5588
DK
911 * progmodes/cc-engine.el (c-backward-over-enum-header):
912 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
913 (c-inside-bracelist-p): Uses new function above.
914 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
915 function above.
916 (c-font-lock-enum-tail): Uses new function above.
917
85b64f02
KH
9182013-10-13 Kenichi Handa <handa@gnu.org>
919
920 * international/mule-cmds.el (select-safe-coding-system): Remove a
921 superfluous condition in chekcing whether a coding system is safe
922 or not.
923
fc7f501b
OK
9242013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
925
926 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
927
fdcb2049
AP
9282013-10-13 Andreas Politz <politza@hochschule-trier.de>
929
930 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
931
8c106d17
GM
9322013-10-13 Glenn Morris <rgm@gnu.org>
933
feab892d
GM
934 * menu-bar.el (menu-bar-update-buffers):
935 Unify Buffers menu prompt string. (Bug#15576)
936
b22d0686
GM
937 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
938
8c106d17
GM
939 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
940 Add some entries.
941 (authors-fixed-entries): Use accented form of name.
942
1b12c797
SM
9432013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
944
650fa7bf 945 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 946 method calls (bug#15594).
650fa7bf
SM
947 (ruby-smie--args-separator-p): New function.
948 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
949 recognize paren-free method calls.
950
1b12c797
SM
951 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
952 internals of universal-argument.
953
029619c8
EZ
9542013-10-11 Eli Zaretskii <eliz@gnu.org>
955
956 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
957 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
958 dropped menu on second mouse click on the menu bar.
029619c8 959
dd070019
SM
9602013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
963 (explicit-shell-file-name): Declare.
964 (sh--vars-before-point, sh--cmd-completion-table): New functions.
965 (sh-completion-at-point-function): New function.
966 (sh-mode): Use it.
967 (sh-smie--keyword-p): Remove unused argument.
968 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
969 vars.
970 (sh-set-shell): Always setup SMIE, even if we use the
971 old indentation code.
972
0922b826
DG
9732013-10-11 Dmitry Gutov <dgutov@yandex.ru>
974
b68e2926
DG
975 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
976 cases of ? and =.
977 (ruby-smie-rules): Simplify the "do" rule. The cases when the
978 predicate would return nil are almost non-existent.
979 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
980
0922b826
DG
981 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
982 cache also after commands that modify the buffer but don't move
983 point.
984
ee041f2d
SM
9852013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * env.el (substitute-env-in-file-name): New function.
988 (substitute-env-vars): Extend the meaning of the optional arg.
989
a5dab159
EZ
9902013-10-10 Eli Zaretskii <eliz@gnu.org>
991
992 * term/w32-win.el (dynamic-library-alist): Define separate lists
993 of GIF DLLs for versions before and after 5.0.0 of giflib.
994 (Bug#15531)
995
db138698
JT
9962013-10-10 João Távora <joaotavora@gmail.com>
997
998 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
999 not locked, use last revision and current source as
1000 defaults. (Bug#15569)
1001
2f6e161e
MY
10022013-10-10 Masatake YAMATO <yamato@redhat.com>
1003
1004 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1005 menu-bar is hidden.
1006
6c8413fc
MR
10072013-10-10 Martin Rudalics <rudalics@gmx.at>
1008
1009 * window.el (pop-to-buffer-same-window): Fix doc-string.
1010 (Bug#15492)
1011
20832de0
SM
10122013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1015
c6e8ae77
AC
10162013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1017
1018 * calendar/icalendar.el (icalendar-import-file):
1019 Fix interactive spec. (Bug#15482)
1020
9db13baf
GM
10212013-10-10 Glenn Morris <rgm@gnu.org>
1022
9271e90e
GM
1023 * desktop.el (desktop-save): Default to saving in .emacs.d,
1024 since PWD is no longer in desktop-path by default. (Bug#15319)
1025
9db13baf
GM
1026 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1027 now that text mode has a menu with the same entry.
1028 (menu-bar-text-mode-auto-fill): Remove now unused func.
1029 * textmodes/text-mode.el (text-mode-map):
1030 Use auto-fill help text from menu-bar.el.
1031
a0be396a 10322013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1033
1034 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1035
2edcd3c7
JL
10362013-10-09 Juri Linkov <juri@jurta.org>
1037
1038 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1039 instead of this-command-keys. Add universal-argument-more and
1040 universal-argument-minus to the list of prefix commands. (Bug#15568)
1041
574411d0
GM
10422013-10-09 Glenn Morris <rgm@gnu.org>
1043
14afa541
GM
1044 * vc/vc-svn.el (vc-svn-create-repo):
1045 Expand paths in file://... url. (Bug#15446)
1046
574411d0
GM
1047 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1048 Add some entries.
1049 (authors): Remove unused local variables.
1050
79804536
SM
10512013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * profiler.el: Create a more coherent calltree from partial backtraces.
1054 (profiler-format): Hide the tail with `invisible' so that C-s can still
1055 find the hidden elements.
1056 (profiler-calltree-depth): Don't recurse so enthusiastically.
1057 (profiler-function-equal): New hash-table-test.
1058 (profiler-calltree-build-unified): New function.
1059 (profiler-calltree-build): Use it.
1060 (profiler-report-make-name-part): Indent the calltree less.
1061 (profiler-report-mode): Add visibility specs for profiler-format.
1062 (profiler-report-expand-entry, profiler-report-toggle-entry):
1063 Expand the whole subtree when provided with a prefix arg.
1064
238150c8
DG
10652013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1068 iuwu-mod token.
1069 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1070 hanging iuwu-mod token.
1071 (ruby-smie--forward-token): Do not include a dot after a token in
1072 that token.
1073 (ruby-smie--backward-token): Likewise.
1074
b0949cc4
JL
10752013-10-08 Juri Linkov <juri@jurta.org>
1076
1077 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1078 to isearch-other-control-char.
1079 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1080 and isearch-post-command-hook to post-command-hook.
1081 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1082 and isearch-post-command-hook from post-command-hook.
1083 (isearch-unread-key-sequence)
1084 (isearch-reread-key-sequence-naturally)
1085 (isearch-lookup-scroll-key, isearch-other-control-char)
1086 (isearch-other-meta-char): Remove functions.
1087 (isearch-pre-command-hook, isearch-post-command-hook):
1088 New functions based on isearch-other-meta-char rewritten
1089 relying on the new behavior of overriding-terminal-local-map
1090 that does not replace the local keymaps any more. (Bug#15200)
1091
4ed77415
EZ
10922013-10-08 Eli Zaretskii <eliz@gnu.org>
1093
1094 Support menus on text-mode terminals.
1095 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1096 functionality.
1097
1098 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1099
c2de5588
DK
1100 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1101 Move here from mouse.el.
4ed77415
EZ
1102 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1103 and arrow keys.
1104 (tty-menu-navigation-map): New map for TTY menu navigation.
1105
1106 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1107
1108 * frame.el (display-mouse-p): Report text-mode mouse as available
1109 on w32.
1110 (display-popup-menus-p): Report availability if mouse is
1111 available; don't condition on window-system.
1112
1113 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1114 (tty-menu-selected-face): New faces.
1115
b7d5bd82
TL
11162013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1117
06286513
SM
1118 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1119 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1120 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1121 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1122 New constants.
1123 (lisp-mode-variables): New `elisp' argument.
1124 (emacs-lisp-mode): Use it.
1125 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1126 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1127
b7d5bd82
TL
1128 * indent.el: Use lexical-binding.
1129 (indent-region): Add progress reporter.
1130 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1131 last step.
1132 (indent--next-tab-stop): New function to implement this behavior.
1133 (tab-to-tab-stop, move-to-tab-stop): Use it.
1134
11352013-10-08 Teemu Likonen <tlikonen@iki.fi>
1136
1137 * indent.el (indent-rigidly--current-indentation): New function.
1138 (indent-rigidly-map): New var.
1139 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1140
5ea75d23
BG
11412013-10-08 Bastien Guerry <bzg@gnu.org>
1142
1143 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1144
cc5da1ec
SM
11452013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1146
8ffa1a0b
SM
1147 * progmodes/perl-mode.el: Use lexical-binding.
1148 Remove redundant :group args.
1149 (perl-nochange): Change default to be closer to other major modes's
1150 standard behavior.
1151 (perl-indent-line): Don't consider text on current line as a
1152 valid beginning of function from which to indent.
1153
f2223371
SM
1154 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1155 with more than one argument (bug#15538).
1156
44256060
SM
1157 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1158
cc5da1ec
SM
1159 * vc/pcvs.el: Use lexical-binding.
1160 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1161 environment of `eval'.
1162 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1163 than a list of expressions. Adjust callers.
1164 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1165
0ea1599d
DG
11662013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1167
1168 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1169 case of the dot in a chained method call being on the following line.
0ea1599d 1170
da3e5ebb
SM
11712013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1172
2abb4e65
SM
1173 * electric.el (electric-indent-inhibit): New var.
1174 (electric-indent-post-self-insert-function): Use it.
1175 * progmodes/python.el (python-mode): Set it.
1176
d2e0e795
SM
1177 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1178 open braces.
1179
1180 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1181
bdc6b4c8
SM
1182 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1183 (css-mode): Use electric-indent-chars.
1184
da3e5ebb
SM
1185 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1186 (font-lock-beg, font-lock-end): Move before first use.
1187 (nxml-mode): Use syntax-propertize-function.
1188 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1189 (nxml-extend-after-change-region): Remove.
1190 * nxml/xmltok.el: Use lexical-binding.
1191 (xmltok-save): Use `declare'.
1192 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1193 * nxml/nxml-util.el: Use lexical-binding.
1194 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1195 Use `declare'.
1196 * nxml/nxml-ns.el: Use lexical-binding.
1197 (nxml-ns-save): Use `declare'.
1198 (nxml-ns-prefixes-for): Avoid add-to-list.
1199 * nxml/rng-match.el: Use lexical-binding.
1200 (rng--ipattern): Use cl-defstruct.
1201 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1202 (rng-cons-group-after, rng-subst-group-after)
1203 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1204 Use closures instead of `(lambda...).
1205
f8f91d5d
MA
12062013-10-07 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1209 of BEG and END.
1210
da3e5ebb
SM
1211 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1212 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1213 (tramp-gvfs-handle-insert-file-contents): Remove function.
1214
da3e5ebb
SM
1215 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1216 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1217
1218 * net/trampver.el: Update release number.
1219
7ccae3b1
SM
12202013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1221
55ca2c0d
SM
1222 * progmodes/compile.el (compilation-parse-errors):
1223 Use compilation--put-prop.
1224 (compilation--ensure-parse): Check compilation-multiline.
1225
731fc3ae
SM
1226 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1227
da3e5ebb
SM
1228 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1229 lexical-binding.
a5833280 1230
2e7ba2c2
SM
1231 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1232
7ccae3b1
SM
1233 * progmodes/ruby-mode.el: Fix recently added tests.
1234 (ruby-smie-grammar): Add - and +.
1235 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1236 (ruby-smie--backward-id): New functions.
1237 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1238 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1239 any more.
1240
85698d63
LL
12412013-10-07 Leo Liu <sdl.web@gmail.com>
1242
1243 * register.el (register-preview-delay)
1244 (register-preview-functions): New variables.
1245 (register-read-with-preview, register-preview)
1246 (register-describe-oneline): New functions.
1247 (point-to-register, window-configuration-to-register)
1248 (frame-configuration-to-register, jump-to-register)
1249 (number-to-register, view-register, insert-register)
1250 (copy-to-register, append-to-register, prepend-to-register)
1251 (copy-rectangle-to-register): Use register-read-with-preview to
1252 read register. (Bug#15525)
1253
3986af6c
DS
12542013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1255
1256 * net/network-stream.el (network-stream-open-starttls): Don't add
1257 --insecure if it's already present, because that gnutls-cli
1258 rejects getting that parameter twice.
1259
5cd9cda9
DG
12602013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1261
1262 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1263 keyword, too.
1264
da9ea6d9
DG
12652013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1266
1267 * newcomment.el (comment-use-global-state): Change default value
1268 to t, mark obsolete (Bug#15251).
1269 (comment-beginning): In addition to `comment-to-syntax', check the
1270 value of `comment-use-global-state'.
1271
34d1a133
SM
12722013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1275 (ruby-comment-column): Follow the global default, by default.
1276 (ruby-smie-grammar): Add assignment syntax.
1277 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1278 open-paren, a comma, or a \.
1279 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1280 and line continuations.
1281 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1282 followed by implicit semi-colons. Add rule for string concatenation
1283 and for indentation at BOB.
1284 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1285
1286 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1287 calling next-sexp, since next-token may have skipped chars which
1288 next-sexp doesn't know should be skipped!
1289
6f6ab820
LL
12902013-10-05 Leo Liu <sdl.web@gmail.com>
1291
34d1a133
SM
1292 * progmodes/octave.el (octave-send-region):
1293 Call compilation-forget-errors.
6f6ab820 1294
34ca0f4c
XF
12952013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1296
1297 * vc/vc-svn.el (vc-svn-find-admin-dir):
1298 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1299 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1300 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1301 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1302
a27c1b72
SM
13032013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1306
258ab3bc
SM
13072013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * subr.el (read-passwd): Hide chars even when called within a context
1310 where after-change-functions is disabled (bug#15501).
1311 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1312 until we removed ourself from overriding-terminal-local-map.
1313
939fb29c
LL
13142013-10-04 Leo Liu <sdl.web@gmail.com>
1315
258ab3bc
SM
1316 * progmodes/octave.el (inferior-octave-mode):
1317 Call compilation-forget-errors.
939fb29c 1318
63bd7f35
XF
13192013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1320
1321 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1322
9e6229fa
MA
13232013-10-04 Michael Albinus <michael.albinus@gmx.de>
1324
1325 * net/secrets.el (secrets-create-collection): Add optional
1326 argument ALIAS. Use proper Label keyword. Append ALIAS as
1327 dbus-call-method argument. (Bug#15516)
1328
1dab32a3
LL
13292013-10-04 Leo Liu <sdl.web@gmail.com>
1330
1331 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1332 (inferior-octave-compilation-font-lock-keywords): New variables.
1333 (compilation-error-regexp-alist)
1334 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1335 (inferior-octave-mode): Use compilation-shell-minor-mode.
1336
6cad7ba3
JS
13372013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1338
1339 * minibuffer.el (completion--replace): Be careful that `end' might be
1340 a marker.
1341
acbadd00
DU
13422013-10-03 Daiki Ueno <ueno@gnu.org>
1343
1344 Add support for package signature checking.
1345 * emacs-lisp/package.el (url-http-file-exists-p)
1346 (epg-make-context, epg-context-set-home-directory)
1347 (epg-verify-string, epg-context-result-for)
1348 (epg-signature-status, epg-signature-to-string)
1349 (epg-check-configuration, epg-configuration)
1350 (epg-import-keys-from-file): Declare.
1351 (package-check-signature): New user option.
1352 (package-unsigned-archives): New user option.
1353 (package-desc): Add `signed' field.
1354 (package-load-descriptor): Set `signed' field if .signed file exists.
1355 (package--archive-file-exists-p): New function.
1356 (package--check-signature): New function.
1357 (package-install-from-archive): Check package signature.
1358 (package--download-one-archive): Check archive signature.
1359 (package-delete): Remove .signed file.
1360 (package-import-keyring): New command.
1361 (package-refresh-contents): Import default keyring.
1362 (package-desc-status): Add "unsigned" status.
1363 (describe-package-1, package-menu--print-info)
1364 (package-menu-mark-delete, package-menu--find-upgrades)
1365 (package-menu--status-predicate): Support "unsigned" status.
1366
adf2aa61
SM
13672013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1370 the new compilation scheme using the new byte-codes.
1371
1372 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1373 (byte-pophandler): New byte codes.
1374 (byte-goto-ops): Adjust accordingly.
1375 (byte-compile--use-old-handlers): New var.
1376 (byte-compile-catch): Use new byte codes depending on
1377 byte-compile--use-old-handlers.
1378 (byte-compile-condition-case--old): Rename from
1379 byte-compile-condition-case.
1380 (byte-compile-condition-case--new): New function.
1381 (byte-compile-condition-case): New function that dispatches depending
1382 on byte-compile--use-old-handlers.
1383 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1384 when we can.
1385
1386 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1387 Optimize under `condition-case' and `catch' if
1388 byte-compile--use-old-handlers is nil.
1389 (disassemble-offset): Handle new bytecodes.
1390
328a8179
SM
13912013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * subr.el (error): Use `declare'.
1394 (decode-char, encode-char): Use advertised-calling-convention instead
1395 of the docstring to discourage use of the `restriction' arg.
1396
15a1e936
DU
13972013-10-03 Daiki Ueno <ueno@gnu.org>
1398
1399 * epg.el (epg-verify-file): Add a comment saying that it does not
1400 notify verification error as a return value nor a signal.
1401 (epg-verify-string): Ditto.
1402
376f862a
KR
14032013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1404
1405 * progmodes/compile.el (compilation-start): Try globbing the arg to
1406 `cd' (bug#15417).
1407
a2f93a5f
MA
14082013-10-02 Michael Albinus <michael.albinus@gmx.de>
1409
1410 Sync with Tramp 2.2.8.
1411
1412 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1413 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1414 * net/trampver.el: Update release number.
1415
0daa0804
JD
14162013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1417
1418 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1419 and default-process-coding-system for darwin only.
1420
abd1ae34
SM
14212013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1424
be4e325d
MH
14252013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1426
1427 * vc/vc-git.el (vc-git-grep): Disable pager.
1428
e9155c4a
DG
14292013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1430
494e898b
DG
1431 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1432 Use :url instead of :homepage, as per
1433 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1434
e9155c4a
DG
1435 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1436 non-nil, use `syntax-ppss' (Bug#15251).
1437
481a8e0f
RS
14382013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1439
be4e325d
MH
1440 * progmodes/octave.el (inferior-octave-startup-file):
1441 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1442
056453c6
DG
14432013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1444
be4e325d
MH
1445 * emacs-lisp/package.el (package-desc-from-define):
1446 Accept additional arguments as plist, convert them to an alist and store
1447 them in the `extras' slot.
056453c6
DG
1448 (package-generate-description-file): Convert extras alist back to
1449 plist and append to the `define-package' form arguments.
1450 (package--alist-to-plist): New function.
1451 (package--ac-desc): Add `extras' slot.
1452 (package--add-to-archive-contents): Check if the archive-contents
1453 vector is long enough, and if it is, pass its `extras' slot value
1454 to `package-desc-create'.
1455 (package-buffer-info): Call `lm-homepage', pass the returned value
1456 to `package-desc-from-define'.
1457 (describe-package-1): Render the homepage button (Bug#13291).
1458
be4e325d
MH
1459 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1460 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1461
832966e5
JD
14622013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1463
1464 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1465 and default-process-coding-system to utf-8-unix (Bug#15402).
1466
6cfe977d
XF
14672013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1468
1469 * subr.el (looking-back): Do not recommend using looking-back.
1470
38de11bd
AM
14712013-09-28 Alan Mackenzie <acm@muc.de>
1472
1473 Fix indentation/fontification of Java enum with "implements".
1474
1475 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1476 regexp which matches "implements", etc., in Java.
1477 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1478 specifier clauses coming after "enum".
1479 * progmodes/cc-fonts.el (c-font-lock-declarations)
1480 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1481 after "enum".
1482
1610938f
JD
14832013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1484
1485 * faces.el (region): Change ns_selection_color to
1486 ns_selection_fg_color, add ns_selection_bg_color.
1487
e090f499
LL
14882013-09-28 Leo Liu <sdl.web@gmail.com>
1489
4d2e94d1
LL
1490 * progmodes/octave.el (inferior-octave-completion-table)
1491 (inferior-octave-completion-at-point): Minor tweaks.
1492
e090f499
LL
1493 * textmodes/ispell.el (ispell-lookup-words): Rename from
1494 lookup-words. (Bug#15460)
1495 (lookup-words): Obsolete.
1496 (ispell-complete-word, ispell-command-loop): All uses changed.
1497
7e138a62
RS
14982013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1499
1500 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1501 (octave-mode-menu): Add octave-send-buffer.
1502 (octave-send-buffer): New function.
1503
5af5ed08
RS
15042013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1505
1506 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1507 octave-lookfor.
1508 (octave-mode-menu): Add octave-lookfor.
1509 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1510 octave-lookfor.
1511 (octave-lookfor): New function.
1512
3b7b2692
SM
15132013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/cl-macs.el:
1516 (cl--loop-destr-temps): Remove.
1517 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1518 its convention.
1519 (cl--loop-set-iterator-function): New function.
1520 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1521 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1522 Bind `it' with `let' instead of substituting it with `cl-subst'.
1523 (cl--unused-var-p): New function.
1524 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1525 Eliminate some unused variable warnings (bug#15326).
1526
529fb53f
TH
15272013-09-27 Tassilo Horn <tsdh@gnu.org>
1528
1529 * doc-view.el (doc-view-scale-reset): Rename from
1530 `doc-view-reset-zoom-level'.
1531 (doc-view-scale-adjust): New command.
1532 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1533 `doc-view-scale-adjust'.
1534
0550c95a
TH
15352013-09-26 Tassilo Horn <tsdh@gnu.org>
1536
1537 * doc-view.el (doc-view-reset-zoom-level): New command.
1538 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1539 zoom commands (bug#15466).
1540
6950f152
KH
15412013-09-26 Kenichi Handa <handa@gnu.org>
1542
1543 * international/quail.el (quail-help): Make it not a command.
1544
39587580
LL
15452013-09-26 Leo Liu <sdl.web@gmail.com>
1546
1547 * minibuffer.el (completion-all-sorted-completions): Make args
1548 optional as they are.
1549
00578659
DC
15502013-09-25 Daniel Colascione <dancol@dancol.org>
1551
1552 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1553 specs are and that they're not evaluated.
1554
0c173878
SS
15552013-09-24 Sam Steingold <sds@gnu.org>
1556
1557 * midnight.el (clean-buffer-list-kill-regexps)
1558 (clean-buffer-list-kill-buffer-names): Update for the new Man
1559 buffer naming which includes the object name.
1560
84998447
SM
15612013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1564 (eshell-parse-command, eshell-parse-pipeline): Use it since
1565 eshell-separate-commands requires a dynamic scoped var.
1566 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1567
33215353
LL
15682013-09-23 Leo Liu <sdl.web@gmail.com>
1569
1570 * autoinsert.el (auto-insert-alist): Make the value of
1571 lexical-binding match its file setting.
1572
57b16162
JB
15732013-09-23 Juanma Barranquero <lekktu@gmail.com>
1574
c8af4e67
JB
1575 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1576
57b16162
JB
1577 * autoarg.el (autoarg-kp-digit-argument):
1578 * electric.el (Electric-command-loop):
1579 * kmacro.el (kmacro-step-edit-insert):
1580 Do not set universal-argument-num-events.
1581
7186ba60
LL
15822013-09-22 Leo Liu <sdl.web@gmail.com>
1583
1584 * files.el (interpreter-mode-alist): Add octave.
1585
ece15004
AM
15862013-09-21 Alan Mackenzie <acm@muc.de>
1587
1588 C++: fontify identifier in declaration following "public:" correctly.
1589 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1590 to match "public", etc.
1591 (c-decl-prefix-re): Add ":" into the C++ value.
1592 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1593 bit. Add a check for a ":" preceded by "public", etc.
1594
75d83e22
EZ
15952013-09-21 Eli Zaretskii <eliz@gnu.org>
1596
1597 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1598 recognized by GDB 7.5 and later.
1599
d052d3bd
XF
16002013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1601
1602 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1603
31dca772
R
16042013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * subr.el (internal--call-interactively): New const.
1607 (called-interactively-p): Use it (bug#3984).
1608
98ccf24e
XF
16092013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1610
1611 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1612 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1613 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1614
c39cc7d1
SM
16152013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1618 (eshell-ls-orig-insert-directory): Remove.
1619 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1620 (eshell-ls-use-in-dired): Use advice-add/remove.
1621 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1622 Add `orig-fun' arg for use in :around advice.
1623 Make it check (redundantly) eshell-ls-use-in-dired.
1624
9a0289a2
GM
16252013-09-19 Glenn Morris <rgm@gnu.org>
1626
a2c501b8
GM
1627 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1628
c440407a
GM
1629 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1630
9a0289a2
GM
1631 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1632
85e05915
MA
16332013-09-19 Michael Albinus <michael.albinus@gmx.de>
1634
1635 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1636 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1637 (tramp-get-remote-python): New defuns.
1638 (tramp-get-remote-uid-with-perl)
1639 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1640 contributed by yary <not.com@gmail.com> (tiny change).
1641 (tramp-get-remote-uid-with-python)
1642 (tramp-get-remote-gid-with-python): New defuns. Python code
1643 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1644 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1645
ce503312
GM
16462013-09-19 Glenn Morris <rgm@gnu.org>
1647
f7544773
GM
1648 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1649
72fd2877
GM
1650 * eshell/em-unix.el (eshell-remove-entries):
1651 Rename argument to avoid name-clash with global `top-level'.
1652
336b5a56
GM
1653 * eshell/esh-proc.el (eshell-kill-process-function):
1654 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1655 (eshell-reset-after-proc): Remove unused arg `proc'.
1656
57a3a53d
GM
1657 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1658 (directory-files-and-attributes): Mark unused arg.
1659
3261d4af
GM
1660 * eshell/em-unix.el (eshell-remove-entries):
1661 Remove unused arg `path'. Update callers.
1662
8e51b5d0
GM
1663 * eshell/em-hist.el (eshell-hist-parse-arguments):
1664 Remove unused arg `silent'. Update callers.
1665
ce503312
GM
1666 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1667 Fix (f)boundp mix-up.
1668
1669 * eshell/em-smart.el (eshell-smart-scroll-window)
1670 (eshell-disable-after-change):
336b5a56 1671 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1672
ee3ce8a7
AM
16732013-09-18 Alan Mackenzie <acm@muc.de>
1674
1675 Fix fontification of type when followed by "const".
1676 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1677 "known" types from fontification.
1678
ec9177ba
GM
16792013-09-18 Glenn Morris <rgm@gnu.org>
1680
7bb3e768
GM
1681 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1682 (chart-face-list): Drop Emacsen without display-color-p.
1683
5148da15
GM
1684 * net/eww.el (libxml-parse-html-region): Declare.
1685 (eww-display-html): Explicit error if no libxml2 support.
1686
2f68e157
GM
1687 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1688
9019d095
GM
1689 * image.el (image-type-from-buffer, image-multi-frame-p):
1690 Remove --without-x warning/error.
67645389 1691
5f30349b 1692 * mouse.el (mouse-yank-primary):
45069b2e 1693 * term.el (term-mouse-paste):
5f30349b
GM
1694 Reorder to silence --without-x compilation.
1695
cd8edbbe
GM
1696 * mpc.el (doc-view-mode): Silence --without-x compilation.
1697
8a78544e
GM
1698 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1699 Silence --without-x compilation.
1700
12679bfd
GM
1701 * progmodes/gud.el (gud-find-file, gud-mode):
1702 Silence --without-x compilation.
1703 (tooltip-mode): Declare.
30810a05 1704
f0047cb9
GM
1705 * wdired.el (dired-backup-overwrite): Remove declaration.
1706 (wdired-mode-map): Add doc string.
1707
e740f9d2
GM
1708 * custom.el (x-get-resource): Declare.
1709
92d77c89
GM
1710 * eshell/em-glob.el (ange-cache):
1711 * eshell/em-unix.el (ange-cache): Declare.
1712
76e69577
GM
1713 * faces.el (x-display-list, x-open-connection, x-get-resource):
1714 Declare.
7e58af4b
GM
1715
1716 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1717 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1718 Declare.
76e69577 1719
4bd4c0af 1720 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1721
ffb82dbd
GM
1722 * net/gnutls.el (gnutls-log-level): Declare.
1723
986ed135
GM
1724 * net/shr.el (image-size, image-animate): Declare.
1725
e740f9d2
GM
1726 * simple.el (font-info): Declare.
1727
d2f3e9f8
GM
1728 * subr.el (x-popup-dialog): Declare.
1729
047a1a4c
GM
1730 * term/common-win.el (x-select-enable-primary)
1731 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1732 Declare.
1733
f4a1d572
GM
1734 * term/ns-win.el (x-handle-args): Declare.
1735
e843de77
GM
1736 * term/x-win.el (x-select-enable-clipboard): Declare.
1737
5fa89513
GM
1738 * term/w32-win.el (create-default-fontset): Declare.
1739
38702b5b
GM
1740 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1741 Declare.
1742
e740f9d2
GM
1743 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1744 (fit-frame-to-buffer): Explicit error if --without-x.
1745 (mouse-autoselect-window-select): Silence compiler.
1746
49a053fc
GM
1747 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1748
1749 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1750 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1751 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1752 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1753 Remove unused local variables.
1754
1755 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1756
ec9177ba
GM
1757 * textmodes/two-column.el: Make 2C-split work for --without-x.
1758 (scroll-bar-columns): Autoload.
1759 (top-level): Require fringe when compiling.
1760
9f25cb77
LL
17612013-09-18 Leo Liu <sdl.web@gmail.com>
1762
1763 * subr.el (add-hook): Robustify to handle closure as well.
1764
2b42da98
GM
17652013-09-17 Glenn Morris <rgm@gnu.org>
1766
1767 * simple.el (messages-buffer-mode-map): Unbind "g".
1768
e8b66a6a
SM
17692013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1770
9c0ad4f7
SM
1771 * help-mode.el (help-mode-finish): Use derived-mode-p.
1772 Remove obsolete highlighting.
1773
7a806dfb
SM
1774 * play/life.el (life-mode): Use define-derived-mode. Derive from
1775 special-mode.
1776 (life): Let-bind inhibit-read-only.
1777 (life-setup): Avoid `setq'. Use `life-mode'.
1778
96dbf5a8
SM
1779 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1780 which should not be needed any more.
1781 (package-menu-refresh, package-menu-describe-package): Use user-error.
1782
e8b66a6a
SM
1783 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1784 (eshell-post-rewrite-command-hook): Make obsolete.
1785 (eshell-parse-command): Simplify.
1786 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1787 (eshell--cmd): Declare.
1788 (eshell-parse-pipeline): Remove unused var `final-p'.
1789 Pass a dynvar to eshell-post-rewrite-command-hook.
1790 Implement the new eshell-post-rewrite-command-function.
1791 (eshell-invoke-directly): Remove unused arg `input'.
1792 * eshell/esh-io.el (eshell-io-initialize):
1793 Use eshell-post-rewrite-command-function (bug#15399).
1794 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1795 adjust to new calling convention.
1796 (eshell-create-handles): Rename args to avoid clashing with dynvar
1797 `standard-output'.
1798
90582f05
GM
17992013-09-17 Glenn Morris <rgm@gnu.org>
1800
1801 * simple.el (messages-buffer-mode): New major mode.
1802 (messages-buffer): New function.
1803 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1804 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1805 (ert-run-test): Use `messages-buffer' function.
90582f05 1806 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1807 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1808 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1809
39eb0cb5 18102013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1811
1812 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1813
1f1e06e2
SM
1814 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1815
70568a90
SM
18162013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1817
504a0381
SM
1818 * icomplete.el (icomplete-in-buffer): New var.
1819 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1820 vars and replace them with functions.
1821 (icomplete-minibuffer-setup): Adjust accordingly.
1822 (icomplete--completion-table, icomplete--completion-predicate)
1823 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1824 New functions.
1825 (icomplete-forward-completions, icomplete-backward-completions)
1826 (icomplete-simple-completing-p, icomplete-exhibit)
1827 (icomplete-completions): Use them.
1828 (icomplete--in-region-buffer): New var.
1829 (icomplete--in-region-setup): New function.
1830 (icomplete-mode): Use it.
1831
70568a90
SM
1832 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1833 (bug#15379).
1834 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1835 return args and options.
1836 (eshell-eval-using-options): Use the new return value of
1837 eshell--do-opts to set the options's vars in their scope.
1838 (eshell--set-option): Rename from eshell-set-option.
1839 Add arg `opt-vals'.
1840 (eshell--process-option): Rename from eshell-process-option.
1841 Add arg `opt-vals'.
1842 (eshell--process-args): Use an `opt-vals' alist to store the options's
1843 values during their processing and return them additionally to the
1844 remaining args.
1845
578c21bc
DG
18462013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1847
1848 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1849 continuation character an operator, as far as indentation is
1850 concerned (Bug#15369).
1851
c089653d
MR
18522013-09-15 Martin Rudalics <rudalics@gmx.at>
1853
1854 * window.el (window--state-put-2): Don't process buffer state
1855 when buffer doesn't exist any more (Bug#15382).
1856
1e53bb4b
GM
18572013-09-15 Glenn Morris <rgm@gnu.org>
1858
30753242
GM
1859 * eshell/em-unix.el (eshell/rm):
1860 Make -f ignore missing files. (Bug#15373)
1861
1e53bb4b
GM
1862 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1863 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1864 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1865
0d8863b3
GM
18662013-09-14 Glenn Morris <rgm@gnu.org>
1867
1868 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1869
d3fc6549
GM
18702013-09-13 Glenn Morris <rgm@gnu.org>
1871
1872 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1873 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1874
fcd42c11
DA
18752013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1876
1877 * frame.el (x-focus-frame): Mark as declared in frame.c.
1878
7830899f
SM
18792013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * ls-lisp.el: Use advice-add.
1882 (original-insert-directory): Remove.
1883 (ls-lisp--insert-directory): Rename from insert-directory; add
1884 `orig-fun' argument.
1885 (insert-directory): Advise.
1886
84387cd2
EZ
18872013-09-13 Eli Zaretskii <eliz@gnu.org>
1888
1889 * term.el (term-emulate-terminal): Decode the command string
1890 before passing it to term-command-hook. (Bug#15337)
1891
35ffc6ba
GM
18922013-09-13 Glenn Morris <rgm@gnu.org>
1893
5c3f9bcc
GM
1894 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1895
2ada368a
GM
1896 * eshell/esh-ext.el (eshell-search-path): Declare.
1897
fcef2e13
GM
1898 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1899 Otherwise an error occurs if eshell-dirs module not loaded.
1900
35ffc6ba
GM
1901 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1902
35c3d36e
MA
19032013-09-13 Michael Albinus <michael.albinus@gmx.de>
1904
1905 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1906 `tramp-check-proper-host'. Check for a valid method name.
1907
1908 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1909 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1910 * net/tramp-sh.el (tramp-maybe-open-connection):
1911 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1912
1913 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1914 also for hash values.
1915
ae5e4c48
SM
19162013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1917
379add74
SM
1918 * term/ns-win.el (parameters): Don't declare as dynamic.
1919 (before-make-frame-hook): Don't add ineffective function.
1920
ae5e4c48
SM
1921 * eshell/*.el: Use lexical-binding (bug#15231).
1922
b5623270
KH
19232013-09-12 Kenichi Handa <handa@gnu.org>
1924
ae5e4c48 1925 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1926
30213927
GM
19272013-09-12 Glenn Morris <rgm@gnu.org>
1928
be94d713 1929 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1930 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1931
44915370
GM
1932 * subr.el (do-after-load-evaluation): Also give compiler warnings
1933 when obsolete files are used (except by obsolete files).
1934
a6ae021f
GM
1935 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1936 in the status output, assume `filename' is the first. (Bug#15322)
1937
40e64f0c
GM
1938 * vc/vc.el (vc-deduce-fileset): Doc fix.
1939
16d9f896
GM
1940 * calc/calc-help.el (Info-goto-node):
1941 * progmodes/cperl-mode.el (Info-find-node):
1942 * vc/ediff.el (Info-goto-node): Update declarations.
1943
dea01c6e
GM
1944 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1945
759880bf 1946 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1947 (vc-bzr-pull): Require vc-dispatcher.
1948 * vc/vc-git.el (vc-compilation-mode): Declare.
1949 (vc-git-pull): Require vc-dispatcher.
1950
08d66420
GM
1951 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1952
30b626e9
GM
1953 * progmodes/octave.el (help-button-action): Declare.
1954
8c05cb10
GM
1955 * shell.el (shell-directory-tracker): Output error as a message
1956 rather than just returning it as a string.
1957 (shell-process-pushd): Remove useless use of message.
1958
30213927
GM
1959 * dframe.el (dframe-timer-fn):
1960 * files.el (dir-locals-read-from-file):
1961 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1962 (mpc-format):
1963 * reveal.el (reveal-post-command):
1964 * saveplace.el (load-save-place-alist-from-file):
1965 * shell.el (shell-resync-dirs):
1966 * w32-common-fns.el (x-get-selection-value):
1967 * emacs-lisp/copyright.el (copyright-find-copyright):
1968 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1969 * emulation/tpu-edt.el (tpu-copy-keyfile):
1970 * play/bubbles.el (bubbles--mark-neighbourhood):
1971 * progmodes/executable.el
1972 (executable-make-buffer-file-executable-if-script-p):
1973 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1974
d3b049e6
SM
19752013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1976
170266d0
SM
1977 Cleanup Eshell to rely less on dynamic scoping.
1978 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1979 last-value, and ext-command here. Bind `args' closer to `body'.
1980 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1981 (eshell--args): Declare new dynamic var.
1982 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1983 last-value, and ext-command. Pass `args' to `body'.
1984 (eshell-process-args): Bind eshell--args.
1985 (eshell-set-option): Use eshell--args.
1986 * eshell/eshell.el (eshell): Use derived-mode-p.
1987 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1988 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1989 (eshell-glob-function): Declare.
1990 * eshell/esh-util.el: Require cl-lib.
1991 (eshell-read-hosts-file): Avoid add-to-list.
1992 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1993 `err'.
1994 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1995 Declare.
1996 (eshell/diff): Remove unused var `err'.
1997 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1998 `killflag'.
1999 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2000 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2001 first use.
2002 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2003 Move declaration before first use.
2004 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2005 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2006 rely on cl-return.
2007
56834f3b
GM
20082013-09-12 Glenn Morris <rgm@gnu.org>
2009
2010 * term/ns-win.el (global-map): Remove binding for ispell-next,
2011 deleted 1999-05-29. (Bug#15357)
2012
5c91a2b8
GM
20132013-09-11 Glenn Morris <rgm@gnu.org>
2014
da712f22
GM
2015 * echistory.el (electric-command-history): Remove call to deleted func.
2016
512e4cdc
GM
2017 * play/landmark.el (landmark-mode): Fix typos.
2018
d3506ca5
GM
2019 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2020 Check cvs-sort-ignore-file is bound.
2021
5c91a2b8
GM
2022 * savehist.el: No need for cl when compiling on Emacs.
2023
feeff482
SM
20242013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2025
656bd483
SM
2026 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2027 (bug#15338).
d3b049e6
SM
2028 (eshell-self-insert-command, eshell-send-invisible):
2029 Remove unused argument.
656bd483
SM
2030 (eshell-handle-control-codes): Remove unused var `orig'.
2031 Avoid delete-backward-char.
2032
feeff482
SM
2033 * files.el (set-auto-mode): Simplify a bit further.
2034
2a08047a
GM
20352013-09-11 Glenn Morris <rgm@gnu.org>
2036
2037 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2038 (set-auto-mode): Don't regexp-quote elements.
2039 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2040 * progmodes/cc-mode.el (interpreter-mode-alist):
2041 * progmodes/ruby-mode.el (interpreter-mode-alist):
2042 Revert previous change.
2043
34675540
SM
20442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2045
1b3b87df
SM
2046 * play/snake.el (snake-mode):
2047 * play/mpuz.el (mpuz-mode):
2048 * play/landmark.el (lm-mode):
2049 * play/blackbox.el (blackbox-mode):
2050 * play/5x5.el (5x5-mode):
2051 * obsolete/options.el (Edit-options-mode):
2052 * net/quickurl.el (quickurl-list-mode):
2053 * net/newst-treeview.el (newsticker-treeview-mode):
2054 * mail/rmailsum.el (rmail-summary-mode):
2055 * mail/mspools.el (mspools-mode):
2056 * locate.el (locate-mode):
2057 * ibuffer.el (ibuffer-mode):
2058 * emulation/ws-mode.el (wordstar-mode):
2059 * emacs-lisp/debug.el (debugger-mode):
2060 * array.el (array-mode):
2061 * net/eudc.el (eudc-mode): Use define-derived-mode.
2062 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2063 Move initialization into declaration.
2064 (mairix-searches-mode): Use define-derived-mode.
2065 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2066 (eudc-edit-hotlist): Use dolist.
2067 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2068 (Man-mode): Use define-derived-mode.
2069 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2070 (Info-edit-mode): Use define-derived-mode.
2071 (Info-cease-edit): Use Info-mode.
2072 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2073 into declaration.
2074 (eshell-mode): Use define-derived-mode.
2075 * chistory.el (command-history-mode-map): Rename from
2076 command-history-map.
2077 (command-history-mode): Use define-derived-mode.
da712f22 2078 (Command-history-setup): Remove function.
1b3b87df
SM
2079 * calc/calc.el (calc-trail-mode-map): New var.
2080 (calc-trail-mode): Use define-derived-mode.
2081 (calc-trail-buffer): Set calc-main-buffer manually.
2082 * bookmark.el (bookmark-insert-annotation): New function.
2083 (bookmark-edit-annotation): Use it.
2084 (bookmark-edit-annotation-mode): Make it a proper major mode.
2085 (bookmark-send-edited-annotation): Use derived-mode-p.
2086 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2087 closer to its ideal place. Use \' to match EOS.
2088
34675540
SM
2089 * profiler.el (profiler-calltree-find): Use function-equal.
2090
6a5c15d9
GM
20912013-09-10 Glenn Morris <rgm@gnu.org>
2092
1af4c220
GM
2093 * files.el (interpreter-mode-alist): Convert to regexps.
2094 (set-auto-mode): Adapt for this. (Bug#15306)
2095 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2096 Comment out unused variable.
2097 * progmodes/cc-mode.el (interpreter-mode-alist):
2098 * progmodes/python.el (interpreter-mode-alist):
2099 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2100 * progmodes/sh-script.el (sh-set-shell):
2101 No longer use interpreter-mode-alist to get list of shells.
2102
6a5c15d9
GM
2103 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2104
8c27f5ff
SM
21052013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2106
02ef6c1a 2107 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2108 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2109 Bind switch-frame explicitly. Replace universal-argument-minus with
2110 a conditional binding.
2111 (universal-argument-num-events, saved-overriding-map): Remove.
2112 (restore-overriding-map): Remove.
2113 (universal-argument--mode): Rename from save&set-overriding-map,
2114 and rewrite.
2115 (universal-argument, universal-argument-more, negative-argument)
2116 (digit-argument): Adjust accordingly.
2117 (universal-argument-minus): Remove.
2118 (universal-argument-other-key): Remove.
2119
8c27f5ff
SM
2120 * subr.el (with-demoted-errors): Add `format' argument.
2121
6480194c
MA
21222013-09-10 Michael Albinus <michael.albinus@gmx.de>
2123
2124 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2125 `tramp-cleanup-connection'.
2126
2127 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2128 parameters KEEP-DEBUG and KEEP-PASSWORD.
2129
2130 * net/tramp.el (tramp-file-name-handler):
2131 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2132 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2133 (tramp-maybe-open-connection):
8c27f5ff
SM
2134 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2135 Use `tramp-cleanup-connection'.
6480194c 2136
8c27f5ff
SM
2137 * net/tramp-sh.el (tramp-maybe-open-connection):
2138 Catch 'uname-changed inside the progress reporter.
6480194c 2139
e5e916d8
GM
21402013-09-10 Glenn Morris <rgm@gnu.org>
2141
9a2c9b47
GM
2142 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2143
e5e916d8
GM
2144 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2145 returns "alternate access method" in mode (eg "-rw-r--r--.").
2146
144e38fe
GM
21472013-09-08 Glenn Morris <rgm@gnu.org>
2148
2149 * saveplace.el (load-save-place-alist-from-file):
2150 Demote errors. (Bug#15305)
2151
af9ff9e8
MA
21522013-09-08 Michael Albinus <michael.albinus@gmx.de>
2153
2154 Improve compatibility with older Emacsen, and XEmacs.
2155
2156 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2157 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2158 (with-tramp-progress-reporter): Do not let-bind `result'.
2159 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2160 (tramp-handle-make-auto-save-file-name): New function, moved from
2161 tramp-sh.el.
2162
2163 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2164 for `make-auto-save-file-name'.
8c27f5ff
SM
2165 (tramp-adb--gnu-switches-to-ash):
2166 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2167
2168 * net/tramp-cache.el (tramp-cache-print): Call
2169 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2170
2171 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2172 bound. It isn't for XEmacs.
2173
8c27f5ff
SM
2174 * net/tramp-compat.el (tramp-compat-copy-file):
2175 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2176 (tramp-compat-replace-regexp-in-string): New defun.
2177
2178 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2179 for `make-auto-save-file-name'.
2180 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2181 `copy-file'.
2182 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2183 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2184 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2185
8c27f5ff
SM
2186 * net/tramp-gw.el (tramp-gw-open-network-stream):
2187 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2188
8c27f5ff
SM
2189 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2190 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2191 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2192 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2193 (tramp-sh-file-inotifywait-process-filter):
2194 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2195 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2196
2197 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2198 for `make-auto-save-file-name'.
8c27f5ff
SM
2199 (tramp-smb-handle-copy-directory):
2200 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2201 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2202 (tramp-smb-handle-copy-file): Improve error message.
2203 (tramp-smb-handle-rename-file): Rename directly only in case
2204 `newname' does not exist yet. This is a restriction of smbclient.
2205 (tramp-smb-maybe-open-connection): Rerun the function only when
2206 `auth-sources' is non-nil.
2207
0ca754d0
KH
22082013-09-08 Kenichi Handa <handa@gnu.org>
2209
2210 * international/characters.el: Set category "^" (Combining) for
2211 more characters.
2212
e8dd0787
AM
22132013-09-07 Alan Mackenzie <acm@muc.de>
2214
2215 Correctly fontify Java class constructors.
2216 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2217 in Java Mode.
2218 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2219 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2220 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2221 "typeless" declaration there.
2222
f2f248e7
RW
22232013-09-07 Roland Winkler <winkler@gnu.org>
2224
2225 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2226 field subtitle for entry type book.
2227
67982e2b
SM
22282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * minibuffer.el: Make minibuffer-complete call completion-in-region
2231 rather than other way around.
2232 (completion--some, completion-pcm--find-all-completions):
2233 Don't delay signals when debugging.
2234 (minibuffer-completion-contents): Beware fields within the
2235 minibuffer contents.
2236 (completion-all-sorted-completions): Use defvar-local.
2237 (completion--do-completion, completion--cache-all-sorted-completions)
2238 (completion-all-sorted-completions, minibuffer-force-complete):
2239 Add args `beg' and `end'.
2240 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2241 (minibuffer-complete): Use completion-in-region.
2242 (completion-complete-and-exit): New fun, extracted from
2243 minibuffer-complete-and-exit.
2244 (minibuffer-complete-and-exit): Use it.
2245 (completion--complete-and-exit): Rename from
2246 minibuffer--complete-and-exit.
2247 (completion-in-region--single-word): New function, extracted from
2248 minibuffer-complete-word.
2249 (minibuffer-complete-word): Use it.
2250 (display-completion-list): Make `common-substring' argument obsolete.
2251 (completion--in-region): Call completion--in-region-1 instead of
2252 minibuffer-complete.
2253 (completion-help-at-point): Pass boundaries to
2254 minibuffer-completion-help as args rather than via an overlay.
2255 (completion-pcm--string->pattern): Use `any-delim'.
2256 (completion-pcm--optimize-pattern): New function.
2257 (completion-pcm--pattern->regex): Handle `any-delim'.
2258 * icomplete.el (icomplete-forward-completions)
2259 (icomplete-backward-completions, icomplete-completions):
2260 Adjust calls to completion-all-sorted-completions and
2261 completion--cache-all-sorted-completions.
2262 (icomplete-with-completion-tables): Default to t.
2263 * emacs-lisp/crm.el (crm--current-element): Rename from
2264 crm--select-current-element. Don't put an overlay but return the
2265 boundaries instead.
2266 (crm--completion-command): Take two new args to bind to the boundaries.
2267 (crm-completion-help): Adjust accordingly.
2268 (crm-complete): Use completion-in-region.
2269 (crm-complete-word): Use completion-in-region--single-word.
2270 (crm-complete-and-exit): Use completion-complete-and-exit.
2271
e17d94a5
SM
22722013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2275 than dynamically.
2276
96727100
JL
22772013-09-06 Juri Linkov <juri@jurta.org>
2278
2279 * info.el (Info-display-images-node): When image file doesn't exist
2280 display text version of the image if it's provided in the Info file.
2281 Otherwise, display the location of missing image from SRC attribute.
2282 Add help-echo text property from ALT attribute. (Bug#15279)
2283
86cf7329
SM
22842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2287 (edit-abbrevs-mode): Use define-derived-mode.
2288
2289 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2290 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2291 that it's defined.
2292 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2293 Use define-derived-mode.
2294
2295 * epg.el (epg-start-encrypt): Minor CSE simplification.
2296
816244a2
WX
22972013-09-06 William Xu <william.xwl@gmail.com>
2298
2299 * arc-mode.el: Add support for 7za (bug#15264).
2300 (archive-7z-program): New var.
2301 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2302 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2303 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2304
1486fa31
MA
23052013-09-06 Michael Albinus <michael.albinus@gmx.de>
2306
2307 Remove URL syntax.
2308
2309 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2310 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2311 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2312 (tramp-postfix-host-format, tramp-file-name-regexp)
2313 (tramp-completion-file-name-regexp)
2314 (tramp-completion-dissect-file-name)
2315 (tramp-handle-substitute-in-file-name): Remove 'url case.
2316 (tramp-file-name-regexp-url)
2317 (tramp-completion-file-name-regexp-url): Remove constants.
2318
39785324
GM
23192013-09-06 Glenn Morris <rgm@gnu.org>
2320
2321 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2322
1f896cb7
DG
23232013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2324
2325 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2326 keywords" below "here-doc beginnings" (Bug#15270).
2327
c0458e0b
SM
23282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * subr.el (pop): Use `car-safe'.
2331 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2332 to detect unused `pop' return value.
2333
2334 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2335 var `block-regexp'.
2336 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2337 (python-fill-string): Remove unused var `marker'.
2338 (python-skeleton-add-menu-items): Remove unused var `items'.
2339
2340 * international/mule-cmds.el: Require CL.
2341 (find-coding-systems-for-charsets): Avoid add-to-list.
2342 (sanitize-coding-system-list): New function, extracted from
2343 select-safe-coding-system-interactively.
2344 (select-safe-coding-system-interactively): Use it.
2345 (read-input-method-name): Accept symbols for `default'.
2346
2347 * emacs-lisp/advice.el (defadvice): Add indent rule.
2348
6c42fc3e
DH
23492013-09-05 Daniel Hackney <dan@haxney.org>
2350
2351 * dired-x.el:
2352 * net/ange-ftp.el:
2353 * net/browse-url.el:
2354 * net/dbus.el:
2355 * net/eudc.el:
2356 * net/eudcb-ldap.el:
2357 * net/eww.el:
2358 * net/imap.el:
2359 * printing.el:
2360 * vc/ediff-diff.el:
2361 * vc/ediff-init.el:
2362 * vc/ediff-merg.el:
2363 * vc/ediff-mult.el:
2364 * vc/ediff-util.el:
2365 * vc/ediff-wind.el:
2366 * vc/ediff.el:
2367 * vc/emerge.el:
2368 * vc/pcvs.el:
2369 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2370 byte compiler. Remove some unused let-bound variables.
2371
4c528aab
SM
23722013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2375 a "ref-cell", since it gets better optimized (bug#14883).
2376
bd15c390
GM
23772013-09-05 Glenn Morris <rgm@gnu.org>
2378
2379 * progmodes/cc-awk.el (c-forward-sws): Declare.
2380
1c3ac2e5
GM
23812013-09-04 Glenn Morris <rgm@gnu.org>
2382
2383 * generic-x.el [rul-generic-mode]: Require cc-mode.
2384 (c++-mode-syntax-table): Declare.
2385 (rul-generic-mode-syntax-table): Init in the defvar.
2386
52b1cc79
SM
23872013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2388
c828af56
SM
2389 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2390 (vc-do-command, vc-set-async-update):
2391 * vc/vc-mtn.el (vc-mtn-dir-status):
2392 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2393 (vc-hg-pull, vc-hg-merge-branch):
2394 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2395 (vc-git-merge-branch):
2396 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2397 (vc-cvs-dir-status-files):
2398 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2399 (vc-bzr-dir-status-files):
2400 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2401 * vc/vc-annotate.el: Use lexical-binding.
2402 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2403 (vc-sentinel-movepoint): Declare.
2404 (vc-annotate): Don't use `goto-line'.
2405 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2406 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2407 (vc-sentinel-movepoint): Declare.
2408 * vc/vc-svn.el: Use lexical-binding.
2409 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2410 * vc/vc-sccs.el:
2411 * vc/vc-rcs.el: Use lexical-binding.
2412
abae272c
SM
2413 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2414 `deleted'. Don't drop errors silently.
2415
52b1cc79
SM
2416 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2417
63191d9f
XF
24182013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2419
2420 * vc/vc.el (vc-ignore): Rewrite.
2421 (vc-default-ignore): New function.
2422 (vc-default-ignore-completion-table): Use find-ignore-file.
2423
2424 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2425 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2426 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2427 Remove. Most code moved to vc.el.
2428
9d3f707c
SM
24292013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2430
abae272c 2431 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2432 * net/tramp-smb.el (tramp-smb-get-file-entries):
2433 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2434 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2435
fde38d49
SM
2436 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2437 Update call to it.
2438 (eww-change-select): Remove unused var `properties'.
2439 (eww-make-unique-file-name): Remove unused var `base'.
2440
2441 * finder.el (finder-compile-keywords): Don't mess with windows.
2442
84032db7
SM
2443 * calculator.el (calculator-funcall): Fix typo in last change.
2444
724f5e41
SM
2445 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2446
14b511d4
SM
2447 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2448 <pkg>-autoloads.el file stop us.
2449
9d3f707c 2450 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2451 warnings, and factor out common code.
9d3f707c 2452
88527bc0
DG
24532013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2454
2455 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2456 two-character operators and whether the character preceding them
2457 changes their meaning (Bug#15208).
2458
96edb677
FEG
24592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2460
2461 Format code sent to Python shell for robustness.
9d3f707c
SM
2462 * progmodes/python.el (python-shell-buffer-substring):
2463 New function.
96edb677
FEG
2464 (python-shell-send-region, python-shell-send-buffer): Use it.
2465
95beaef3
MA
24662013-09-02 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2469 * net/tramp.el (tramp-user-error): ... here.
2470 (tramp-find-method, tramp-check-proper-host)
2471 (tramp-dissect-file-name, tramp-debug-message)
2472 (tramp-handle-shell-command):
2473 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2474 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2475
2476 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2477
f167c27b
MR
24782013-09-02 Martin Rudalics <rudalics@gmx.at>
2479
2480 * avoid.el (mouse-avoidance-point-position)
2481 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2482 returns nil.
2483
cd16c5f1
FEG
24842013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2485
2486 * progmodes/python.el (python-shell-completion-get-completions):
2487 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2488 (python-nav-if-name-main): New command.
cd16c5f1 2489
e73c3a0d
GM
24902013-09-01 Glenn Morris <rgm@gnu.org>
2491
f8ccce03
GM
2492 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2493 Avoid leading space in $wins. Otherwise the sed command used by
2494 eg compile-main ends up containing "/*.el". (Bug#15170)
2495
e73c3a0d
GM
2496 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2497
415f808e
GM
24982013-08-30 Glenn Morris <rgm@gnu.org>
2499
2500 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2501 Fix is-this-a-directory logic. (Bug#15220)
2502
f069bba8
SM
25032013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2504
112798c1
SM
2505 * textmodes/css-mode.el: Use SMIE.
2506 (css-smie-grammar): New var.
2507 (css-smie--forward-token, css-smie--backward-token)
2508 (css-smie-rules): New functions.
2509 (css-mode): Use them.
2510 (css-navigation-syntax-table): Remove var.
2511 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2512 (css-indent-calculate, css-indent-line): Remove functions.
2513
2514 Misc changes to reduce use of `(lambda...); and other cleanups.
2515 * cus-edit.el: Use lexical-binding.
2516 (customize-push-and-save, customize-apropos)
2517 (custom-buffer-create-internal): Use closures.
2518 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2519 * progmodes/ada-xref.el: Use setq.
2520 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2521 * dframe.el: Use lexical-binding.
2522 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2523 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2524 * descr-text.el: Use lexical-binding.
2525 (describe-text-widget, describe-text-sexp, describe-property-list):
2526 Use closures.
2527 * comint.el (comint-history-isearch-push-state): Use a closure.
2528 * calculator.el: Use lexical-binding.
2529 (calculator-number-to-string): Make it work with lexical-binding.
2530 (calculator-funcall): Same and use cl-letf.
2531
2da4c3ab
SM
2532 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2533 (lisp--company-doc-string, lisp--company-location): New functions.
2534 (lisp-completion-at-point): Use them to improve Company support.
2535
f069bba8
SM
2536 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2537 params of lambda expressions.
2538 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2539 (ruby-smie--opening-pipe-p): New function.
2540 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2541 symbols and matched |...| for formal params.
2542 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2543 from being treated as hanging. Handle "rescue".
2544
6758b6a8
GM
25452013-08-29 Glenn Morris <rgm@gnu.org>
2546
2547 * progmodes/cc-engine.el (c-pull-open-brace):
2548 Move definition before use.
2549
e8dfd197
SM
25502013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2553 are immutable. Don't use `unsafe' any more.
2554 (cl--defsubst-expand): Don't substitute at the same time as keeping
2555 a residual unused let-binding. Don't use `unsafe' any more.
2556
cc585c96
GM
25572013-08-29 Glenn Morris <rgm@gnu.org>
2558
ba579ea6
GM
2559 * calendar/cal-china.el (calendar-chinese-year-cache):
2560 Recenter on 2015.
2561
8201a87e
GM
2562 * nxml/nxml-util.el (nxml-debug-clear-inside):
2563 Use cl-loop rather than loop.
2564
6ee877c7
GM
2565 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2566
cc585c96
GM
2567 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2568
27be8d39
GM
25692013-08-28 Glenn Morris <rgm@gnu.org>
2570
397440a1
GM
2571 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2572
2bb762d4
GM
2573 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2574
27be8d39
GM
2575 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2576
2d69b99e
SM
25772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2578
f663baa7
SM
2579 * simple.el (repeat-complex-command--called-interactively-skip):
2580 New function.
2581 (repeat-complex-command): Use it (bug#14136).
2582
dd4f8b74
SM
2583 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2584 (c-define-abbrev-table): Add `doc' argument.
2585 (c-mode-abbrev-table, c++-mode-abbrev-table)
2586 (objc-mode-abbrev-table, java-mode-abbrev-table)
2587 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2588 (awk-mode-abbrev-table): Use it.
2589 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2590 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2591 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2592 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2593 Move initialization into the declaration; and remove any
2594 autoload cookie.
2595
b58969f7
SM
2596 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2597 and dynamic let binding.
2598
4021d6a6
SM
2599 * vc/smerge-mode.el: Remove redundant :group args.
2600
2d69b99e
SM
2601 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2602 to load-path.
2603
274919fd
JL
26042013-08-28 Juri Linkov <juri@jurta.org>
2605
2606 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2607 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2608 (isearch-other-meta-char): Handle an undefined shifted printing
2609 character by downshifting it. (Bug#15200)
2610
121f8c95
JL
26112013-08-28 Juri Linkov <juri@jurta.org>
2612
2613 * isearch.el (isearch-search): Change regexp error message for
2614 non-regexp searches. (Bug#15166)
2615
50b13cde
PE
26162013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2617
2618 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2619 for portability to hosts where /bin/sh has problems.
2620
95888bca
SM
26212013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2624
bbe558f1
JL
26252013-08-27 Juri Linkov <juri@jurta.org>
2626
2627 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2628 in the keyboard macro. (Bug#15126)
2629
26f98a7d
JL
26302013-08-27 Juri Linkov <juri@jurta.org>
2631
2632 * isearch.el (isearch-quote-char): Comment out converting unibyte
2633 to multibyte, thus syncing with its `quoted-insert' counterpart.
2634 (Bug#15166)
2635
7c97d35e
MR
26362013-08-27 Martin Rudalics <rudalics@gmx.at>
2637
2638 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2639 argument in call of get-largest-window (Bug#15185).
2640 Reported by Stephen Leake.
7c97d35e 2641
a0b5606e 26422013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2643
2644 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2645
9e89d835
SM
26462013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2649 from a matcher-function unless there's no more matches (bug#15161).
2650
78fc2530
MA
26512013-08-26 Michael Albinus <michael.albinus@gmx.de>
2652
2653 * minibuffer.el: Revert change from 2013-08-20.
2654
2655 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2656 with text property `tramp-default', if appropriate.
2657 (tramp-check-proper-host): New defun.
2658 (tramp-dissect-file-name): Do not check hostname. Revert change
2659 of 2013-03-18.
2660 (tramp-backtrace): Make VEC-OR-PROC optional.
2661
2662 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2663 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2664 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2665 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2666 Apply `tramp-check-proper-host'.
78fc2530 2667
edca97cd
TH
26682013-08-26 Tassilo Horn <tsdh@gnu.org>
2669
2670 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2671 lambda expression in order to have `describe-variable' display it.
2672
df54bcbd
MA
26732013-08-26 Michael Albinus <michael.albinus@gmx.de>
2674
2675 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2676 BUF can be optional. (Bug#15186)
2677
eed99101
XF
26782013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2679
2680 * progmodes/flymake.el (flymake-get-real-file-name-function):
2681 Fix broken customization. (Bug#15184)
2682
b5eb9035
AM
26832013-08-25 Alan Mackenzie <acm@muc.de>
2684
8a51e842
AM
2685 Improve indentation of bracelists defined by macros (without "=").
2686
2687 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2688 expansion begins with "{", regard it as bracelist when it doesn't
2689 contain a ";".
2690
869455d4
AM
2691 Parse C++ inher-intro when there's a template split over 2 lines.
2692
2693 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2694 rigorously the search for "class" etc. followed by ":".
2695
2696 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2697 random languages a regexp which never matches rather than nil.
2698
b5eb9035
AM
2699 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2700
2701 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2702 (c-awk-regexp-one-line-possibly-open-char-list-re)
2703 (c-awk-one-line-possibly-open-regexp-re)
2704 (c-awk-one-line-non-syn-ws*-re): Remove.
2705 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2706 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2707 (c-awk-space*-unclosed-regexp-/-re): New constants.
2708 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2709 aren't regexp delimiters.
2710
2711 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2712 handling for a rare situation in AWK Mode involving unterminated
2713 strings/regexps.
2714
61611d54
GM
27152013-08-23 Glenn Morris <rgm@gnu.org>
2716
2d85dc34
GM
2717 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2718
cb8d2612
GM
2719 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2720
bb35f42f
GM
2721 * files.el (create-file-buffer): If the result would begin with
2722 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2723
b9808e77
SM
27242013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2725
e3a66363
SM
2726 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2727 text-properties (bug#15155).
2728
b9808e77
SM
2729 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2730 exist any more.
2731 (calc-keypad-redraw): Remove unused var `pad'.
2732 (calc-keypad-press): Remove unused var `menu'.
2733
7fd5f65e
MR
27342013-08-23 Martin Rudalics <rudalics@gmx.at>
2735
b9808e77
SM
2736 * window.el (display-buffer-pop-up-frame):
2737 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2738 use it as the new frame's buffer (Bug#15133).
2739
8352b530
SM
27402013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * calendar/timeclock.el: Minor cleanups.
2743 (timeclock-ask-before-exiting, timeclock-use-display-time):
2744 Use `symbol'.
2745 (timeclock-modeline-display): Define as alias before the
2746 actual definition.
2747 (timeclock-mode-line-display): Use define-minor-mode.
2748 (timeclock-day-list-template): Make it a function, add an argument.
2749 (timeclock-day-list-required, timeclock-day-list-length)
2750 (timeclock-day-list-debt, timeclock-day-list-span)
2751 (timeclock-day-list-break): Adjust calls accordingly.
2752
9f7b1925
SM
27532013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2756 Use read--expression so that completion works again.
2757
6e50e983
SS
27582013-08-21 Sam Steingold <sds@gnu.org>
2759
2760 Add rudimentary inferior shell interaction
2761 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2762 (sh-set-shell): Reset it.
9f7b1925
SM
2763 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2764 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2765
dbb0d350
SM
27662013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * align.el: Use lexical-binding.
2769 (align-region): Simplify accordingly.
2770
c88586a9
MA
27712013-08-20 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2774
2775 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2776 `non-essential' up.
2777
f95527c8
MA
27782013-08-17 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * net/tramp.el:
2781 * net/tramp-adb.el:
2782 * net/tramp-cmds.el:
2783 * net/tramp-ftp.el:
2784 * net/tramp-gvfs.el:
2785 * net/tramp-gw.el:
2786 * net/tramp-sh.el: Don't wrap external variable declarations by
2787 `eval-when-compile'.
2788
4b5fe4ee
LMI
27892013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2790
2791 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2792 now that Emacs supports ImageMagick animations.
2793
13c366c9
MA
27942013-08-16 Michael Albinus <michael.albinus@gmx.de>
2795
2796 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2797 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2798
3dfc5cd6
MR
27992013-08-16 Martin Rudalics <rudalics@gmx.at>
2800
2801 * window.el (mouse-autoselect-window-select): Do autoselect when
2802 mouse pointer is on margin.
2803
4bbb4381
WP
28042013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2805
2806 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2807
3a2ddc2d
GM
28082013-08-16 Glenn Morris <rgm@gnu.org>
2809
e8bedf5a
GM
2810 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2811 Handle "Remote Directory" response of some clients. (Bug#15058)
2812
58c4682f
GM
2813 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2814 Tweak warning. (Bug#14926)
2815
57953f49
GM
2816 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2817 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2818
3a2ddc2d
GM
2819 * image-mode.el (image-mode-map): Add menu items to reverse,
2820 increase, decrease, reset animation speed.
2821 (image--set-speed, image-increase-speed, image-decrease-speed)
2822 (image-reverse-speed, image-reset-speed): New functions.
2823 (image-mode-map): Add bindings for speed commands.
2824
2825 * image.el (image-animate-get-speed, image-animate-set-speed):
2826 New functions.
2827 (image-animate-timeout): Respect image :speed property.
2828
10fa0ed3
SM
28292013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2832 previous line (bug#15101).
2833 (debugger-eval-expression, debugger-record-expression):
2834 Use read--expression (bug#15102).
2835
5d89d9d2
MA
28362013-08-15 Michael Albinus <michael.albinus@gmx.de>
2837
2838 Remove byte compiler warnings, visible when compiling with
2839 `byte-compile-force-lexical-warnings' set to t.
2840
2841 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2842 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2843 (tramp-handle-unhandled-file-name-directory)
2844 (tramp-handle-file-notify-add-watch, tramp-action-login)
2845 (tramp-action-succeed, tramp-action-permission-denied)
2846 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2847 arguments with "_".
2848
2849 * net/tramp-adb.el (tramp-adb-parse-device-names)
2850 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2851 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2852 (tramp-adb-handle-file-truename): Remove unused arguments.
2853
2854 * net/tramp-cache.el (tramp-flush-directory-property)
2855 (tramp-flush-connection-property, tramp-list-connections)
2856 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2857
10fa0ed3
SM
2858 * net/tramp-compat.el (tramp-compat-make-temp-file):
2859 Rename FILENAME to F.
5d89d9d2
MA
2860
2861 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2862 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2863 (tramp-zeroconf-parse-workstation-device-names)
2864 (tramp-zeroconf-parse-webdav-device-names)
2865 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2866
2867 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2868 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2869
2870 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2871 arguments.
2872 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2873 (tramp-sh-handle-insert-file-contents-literally)
2874 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2875 with "_".
2876 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2877 Remove unused variables.
2878
2879 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2880 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2881 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2882
2883 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2884 Make them a defconst.
2885 (tramp-uuencode-region): Remove unused variable.
2886
62f33bae
JB
28872013-08-14 Juanma Barranquero <lekktu@gmail.com>
2888
2889 * frameset.el (frameset--prop-setter): New function.
2890 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2891 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2892 parameter was already set in FILTERED. Doc fix.
2893 (frameset--record-minibuffer-relationships): Allow saving a
2894 minibufferless frame without its corresponding minibuffer frame.
2895 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2896 frame, if the frame id matches.
2897 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2898 frames before orphaned ones.
2899 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2900
c660a885
MR
29012013-08-14 Martin Rudalics <rudalics@gmx.at>
2902
2903 * window.el (window-make-atom): Don't overwrite parameter
2904 already present.
2905 (display-buffer-in-atom-window): Handle special case where we
2906 split an already atomic window.
2907 (window--major-non-side-window, display-buffer-in-side-window)
2908 (window--side-check): Ignore minibuffer window when walking
2909 window tree.
2910 (window-deletable-p): Return 'frame only if no other frame uses
2911 our minibuffer window.
2912 (record-window-buffer): Run buffer-list-update-hook.
2913 (split-window): Make sure window--check-frame won't destroy an
2914 existing atomic window in case the new window gets nested
2915 inside.
2916 (display-buffer-at-bottom): Ignore minibuffer window when
2917 walking window tree. Don't split a side window.
2918 (pop-to-buffer): Don't set-buffer here, the select-window call
2919 should do that.
2920 (mouse-autoselect-window-select): Autoselect only if we are in the
2921 text portion of the window.
2922
8259030d
LMI
29232013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2924
21c58ae2
LMI
2925 * net/shr.el (shr-parse-image-data): New function to grab both the
2926 data itself and the Content-Type.
2927 (shr-put-image): Use it.
2928
2929 * net/eww.el (eww-display-image): Ditto.
2930
8259030d
LMI
2931 * image.el (image-content-type-suffixes): New variable.
2932
ad756449
FEG
29332013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2934
2935 * progmodes/python.el (python-imenu--build-tree)
2936 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2937
f73f4ce6
XF
29382013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2939
2940 * simple.el (backward-word): Mention the optional argument.
2941
1f585e65
SM
29422013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2943
2944 * frameset.el (frameset--make): Rename constructor from make-frameset.
2945 (frameset-p, frameset-valid-p): Don't autoload.
2946 (frameset-valid-p): Use normal accessors.
2947
af1c6c84
GM
29482013-08-13 Glenn Morris <rgm@gnu.org>
2949
55e47f95
GM
2950 * progmodes/compile.el (compile-command): Tweak example in doc.
2951 * obsolete/scribe.el (scribe-mode):
2952 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2953
f0024d8c
GM
2954 * mail/feedmail.el (feedmail-confirm-outgoing)
2955 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2956
2957 * cus-start.el (truncate-partial-width-windows): Fix type.
2958
2959 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2960
af1c6c84
GM
2961 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2962
5514cc4c
SM
29632013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * emacs-lisp/timer.el (timer--time-setter): New function.
2966 (timer--time): Use it as gv-setter.
2967
2968 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2969 setter is not a symbol.
2970
7997a2f1
GJ
29712013-08-12 Grégoire Jadi <daimrod@gmail.com>
2972
2973 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2974 if sending fails. This makes debugging easier.
2975
01f1a9ab
JB
29762013-08-12 Juanma Barranquero <lekktu@gmail.com>
2977
2978 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2979 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2980 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2981
594a4307
EZ
29822013-08-12 Eli Zaretskii <eliz@gnu.org>
2983
2984 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2985
7a22490f 29862013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2987
2988 * format.el (format-annotate-function):
2989 Handle read-only text properties in the source. (Bug#14887)
2990
3e41a054
LMI
29912013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2992
5514cc4c
SM
2993 * net/eww.el (eww-display-html): Ignore coding system errors.
2994 One web site uses "utf-8lias" as the coding system.
3e41a054 2995
7ec326db
JB
29962013-08-11 Juanma Barranquero <lekktu@gmail.com>
2997
2998 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2999
5660113b
JB
30002013-08-10 Juanma Barranquero <lekktu@gmail.com>
3001
9a4ebc74
JB
3002 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3003 (tutorial--detailed-help): Remove unused local variables.
3004 (tutorial--save-tutorial-to): Use ignore-errors.
3005 (help-with-tutorial): Use looking-at-p.
3006
3007 * view.el (view-buffer-other-window, view-buffer-other-frame):
3008 Mark unused arguments.
3009
3010 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3011 (woman-select-symbol-fonts, woman, woman-find-file)
3012 (woman-insert-file-contents, woman-non-underline-faces):
3013 Use string-match-p.
3014 (woman1-unquote): Move declaration.
3015
3016 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3017 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3018 argument. Remove unused local variable.
3019 (xml-parse-elem-type): Use string-match-p.
3020 (xml-substitute-numeric-entities): Use ignore-errors.
3021
45fdb482
JB
3022 * calculator.el (calculator): Mark unused argument.
3023 (calculator-paste, calculator-quit, calculator-integer-p):
3024 Use ignore-errors.
3025 (calculator-string-to-number, calculator-decimal, calculator-exp)
3026 (calculator-op-or-exp): Use string-match-p.
3027
3028 * dired.el (dired-buffer-more-recently-used-p): Declare.
3029 (dired-insert-set-properties, dired-insert-old-subdirs):
3030 Use ignore-errors.
3031
3032 * dired-aux.el (dired-compress): Use ignore-errors.
3033 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3034 (dired-do-async-shell-command, dired-do-shell-command)
3035 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3036 (dired-insert-subdir-validate): Use string-match-p.
3037 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3038 (dired-add-entry): Use string-match-p, looking-at-p.
3039 (dired-insert-subdir-newpos): Remove unused local variable.
3040
3041 * filenotify.el (file-notify-callback): Remove unused local variable.
3042
3043 * filesets.el (filesets-error): Mark unused argument.
3044 (filesets-which-command-p, filesets-filter-dir-names)
3045 (filesets-directory-files, filesets-get-external-viewer)
3046 (filesets-ingroup-get-data): Use string-match-p.
3047
3048 * find-file.el (ff-other-file-name, ff-other-file-name)
3049 (ff-find-the-other-file, ff-cc-hh-converter):
3050 Remove unused local variables.
3051 (ff-get-file-name): Use string-match-p.
3052 (ff-all-dirs-under): Use ignore-errors.
3053
3054 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3055 (follow-select-if-visible): Remove unused local variable.
3056
3057 * forms.el (read-file-filter): Move declaration.
3058 (forms--make-format, forms--make-parser, forms-insert-record):
3059 Quote function with #'.
3060 (forms--update): Use string-match-p. Quote function with #'.
3061
3062 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3063 (help-make-xrefs): Use looking-at-p.
3064 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3065
3066 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3067 (ibuffer-confirm-operation-on): Use string-match-p.
3068
3069 * msb.el (msb-item-handler, msb-dired-item-handler):
3070 Mark unused arguments.
3071
3072 * ses.el (ses-decode-cell-symbol)
3073 (ses-kill-override): Remove unused local variable.
3074 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3075 (ses-load): Use ignore-errors, looking-at-p.
3076 (ses-jump-safe): Use ignore-errors.
3077 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3078
3079 * tabify.el (untabify, tabify): Mark unused arguments.
3080
3081 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3082 Mark unused argument.
3083 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3084 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3085
c880af52
JB
3086 * emacs-lisp/timer.el (timer--time): Define setter with
3087 gv-define-setter to avoid deprecation warning.
3088
5660113b 3089 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3090 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3091 (cmpl-statistics-block): Remove (body was commented out).
3092 All callers changed.
3093 (add-completions-from-buffer, load-completions-from-file):
3094 Remove unused variables.
3095
156aab80
JB
30962013-08-09 Juanma Barranquero <lekktu@gmail.com>
3097
5c5dee78
JB
3098 * filecache.el (file-cache-delete-file-list):
3099 Print message only when told so.
3100 (file-cache-files-matching): Use #' in mapconcat argument.
3101
156aab80
JB
3102 * ffap.el (ffap-url-at-point): Fix reference to variable
3103 thing-at-point-default-mail-uri-scheme.
3104
ad9dcd70
SM
31052013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3106
54bd972f
SM
3107 * subr.el (define-error): New function.
3108 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3109 error-file-not-found and define with define-error.
3110 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3111 and define with define-error.
3112 * userlock.el (file-locked, file-supersession):
3113 * simple.el (mark-inactive):
3114 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3115 * progmodes/ada-mode.el (ada-mode-errors):
3116 * play/life.el (life-extinct):
3117 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3118 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3119 * nxml/rng-util.el (rng-error):
3120 * nxml/rng-uri.el (rng-uri-error):
3121 * nxml/rng-match.el (rng-compile-error):
3122 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3123 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3124 * nxml/nxml-rap.el (nxml-scan-error):
3125 * nxml/nxml-outln.el (nxml-outline-error):
3126 * net/soap-client.el (soap-error):
3127 * net/gnutls.el (gnutls-error):
3128 * net/ange-ftp.el (ftp-error):
3129 * mpc.el (mpc-proc-error):
3130 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3131 (json-number-format, json-string-escape, json-string-format)
3132 (json-key-format, json-object-format):
3133 * jka-compr.el (compression-error):
3134 * international/quail.el (quail-error):
3135 * international/kkc.el (kkc-error):
3136 * emacs-lisp/ert.el (ert-test-failed):
3137 * calc/calc.el (calc-error, inexact-result, math-overflow)
3138 (math-underflow):
3139 * bookmark.el (bookmark-error-no-filename):
3140 * epg.el (epg-error): Define with define-error.
3141
0ea9e53a
SM
3142 * time.el (display-time-event-handler)
3143 (display-time-next-load-average): Don't call sit-for since it seems
3144 unnecessary (bug#15045).
3145
b0429158
SM
3146 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3147 Use #' instead of ' to quote functions.
3148 (checkdoc-output-mode): Use setq-local.
3149 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3150 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3151 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3152 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3153 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3154 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3155 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3156 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3157
ad9dcd70
SM
3158 * ido.el (ido-completion-help): Fix up compiler warning.
3159
77187e6f
JB
31602013-08-09 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * frameset.el (frameset-p): Add autoload cookie.
3163 (frameset--jump-to-register): New function, based on code moved from
3164 register.el.
3165 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3166
3167 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3168 (frameset-restore, frameset-save, frameset-session-filter-alist):
3169 Remove declarations.
3170 (register-alist): Doc fix.
3171 (frameset-to-register): Move to frameset.el.
3172 (jump-to-register, describe-register-1): Remove frameset-specific code.
3173
9d3aa82c
JB
31742013-08-08 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * allout-widgets.el (allout-widgets-pre-command-business)
3177 (allout-widgets-post-command-business)
3178 (allout-widgets-after-change-handler)
3179 (allout-decorate-item-and-context, allout-set-boundary-marker)
3180 (allout-body-modification-handler)
3181 (allout-graphics-modification-handler): Mark ignored arguments.
3182 (allout-widgets-post-command-business)
3183 (allout-widgets-exposure-change-processor)
3184 (allout-widgets-exposure-undo-processor)
3185 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3186 (allout-parse-item-at-point, allout-decorate-item-guides)
3187 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3188 * allout.el (epa-passphrase-callback-function): Declare.
3189 (allout-overlay-insert-in-front-handler)
3190 (allout-overlay-interior-modification-handler)
3191 (allout-isearch-end-handler, allout-chart-siblings)
3192 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3193 (allout-yank-processing, allout-process-exposed)
3194 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3195 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3196 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3197 (lisp-indent-defform): Mark ignored arguments.
3198 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3199 (calculate-lisp-indent): Remove unused variables.
3200 * international/characters.el (indian-2-column, arabic-2-column)
3201 (tibetan): Mark ignored arguments.
3202 (use-cjk-char-width-table): Mark ignored arguments.
3203 Remove unused variables.
3204 * international/fontset.el (build-default-fontset-data)
3205 (x-compose-font-name, create-fontset-from-fontset-spec):
3206 Mark ignored arguments.
3207 (fontset-plain-name): Remove unused variables.
3208 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3209 (keyboard-coding-system): Mark ignored arguments.
3210 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3211 * help.el (resize-temp-buffer-window):
3212 * window.el (display-buffer-in-major-side-window)
3213 (display-buffer-in-side-window, display-buffer-in-previous-window):
3214 Remove unused variables.
3215 * isearch.el (isearch-forward-symbol):
3216 * version.el (emacs-bzr-version-bzr):
3217 * international/mule-cmds.el (current-language-environment):
3218 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3219 (x-handle-display):
3220 * term/pc-win.el (x-list-fonts, x-display-planes)
3221 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3222 (x-server-version, x-display-screens, x-display-mm-height)
3223 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3224 (x-selection-owner-p, x-own-selection-internal)
3225 (x-disown-selection-internal, x-get-selection-internal)
3226 (msdos-initialize-window-system):
3227 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3228 * term/x-win.el (x-handle-no-bitmap-icon):
3229 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3230 (vc-default-find-file-hook, vc-default-extra-menu):
3231 Mark ignored arguments.
3232
0ca3f70e
SM
32332013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3236 break-condition in the context of the debugged code (bug#12685).
3237
74c5d24c
CS
32382013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3239
3240 * comint.el:
3241 Do not use an overlay to highlight the last prompt. (Bug#14744)
3242 (comint-mode): Make comint-last-prompt buffer local.
3243 (comint-last-prompt): New variable.
3244 (comint-last-prompt-overlay): Remove. Superseded by
3245 comint-last-prompt.
0ca3f70e
SM
3246 (comint-snapshot-last-prompt, comint-output-filter):
3247 Use comint-last-prompt.
74c5d24c 3248
c03c02ee
JB
32492013-08-08 Juanma Barranquero <lekktu@gmail.com>
3250
a3738d20 3251 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3252 (frameset-save): Check validity of the resulting frameset.
3253
04263d23
XF
32542013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3255
3256 * ido.el (ido-record-command): Add doc string.
3257
76c5e5ab
JB
32582013-08-08 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * frameset.el (frameset): Do not disable creation of the default
3261 frameset-p predicate. Doc fix.
3262 (frameset-valid-p): New function, copied from the old predicate-p.
3263 Add additional checks.
3264 (frameset-restore): Check with frameset-valid-p.
3265 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3266 (frameset-name, frameset-description, frameset-properties)
3267 (frameset-states): Add docstring.
f9dbf1cb
JB
3268 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3269 (frameset-filter-alist): Doc fixes.
76c5e5ab 3270
bd0c3c0b
JB
32712013-08-08 Juanma Barranquero <lekktu@gmail.com>
3272
3273 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3274
c735544c
SM
32752013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3278 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3279 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3280 (byte-compile-normal-call): Remove obsolescence check.
3281
2805a651
JB
32822013-08-08 Juanma Barranquero <lekktu@gmail.com>
3283
3677ffeb
JB
3284 * frameset.el (frameset-restore): Doc fix.
3285
2805a651
JB
3286 * register.el (frameset-frame-id, frameset-frame-with-id)
3287 (frameset-p, frameset-restore, frameset-save): Declare.
3288 (register-alist): Document framesets.
3289 (frameset-session-filter-alist): Declare.
3290 (frameset-to-register): New function.
3291 (jump-to-register): Implement jumping to framesets. Doc fix.
3292 (describe-register-1): Describe framesets.
3293
3294 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3295
a912c016
JB
32962013-08-07 Juanma Barranquero <lekktu@gmail.com>
3297
3298 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3299 Use lexical-binding.
3300
3301 * frameset.el (frameset): Use type vector, not list (incompatible
3302 change). Do not declare a new constructor, use the default one.
3303 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3304 `name' and `description', respectively, and add read-only slot
3305 `timestamp'. Doc fixes.
3306 (frameset-copy, frameset-persistent-filter-alist)
3307 (frameset-filter-alist, frameset-switch-to-gui-p)
3308 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3309 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3310 (frameset-filter-iconified, frameset-keep-original-display-p):
3311 Doc fixes.
3312 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3313 Rename from frameset-filter-(save|restore)-param. All callers changed.
3314 Doc fix.
3315 (frameset-p): Adapt to change to vector and be more thorough.
3316 Change arg name to OBJECT. Doc fix.
3317 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3318 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3319 All callers changed.
3320 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3321 All callers changed.
3322 (frameset--record-minibuffer-relationships): Rename from
3323 frameset--process-minibuffer-frames. All callers changed.
3324 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3325 Use new default constructor (again). Doc fix.
3326 (frameset--find-frame-if): Rename from `frameset--find-frame.
3327 All callers changed.
3328 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3329 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3330 Doc fix.
3331 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3332 PARAMETERS and WINDOW-STATE, respectively.
3333 (frameset-restore): Add new keyword argument PREDICATE.
3334 Reset frameset--target-display to nil. Doc fix.
3335
bb41480a
SM
33362013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3337
f001e98e
SM
3338 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3339 (bat-mode): Use it.
3340 (bat-mode-syntax-table): Mark \n as end-of-comment.
3341 (bat-font-lock-keywords): Remove comment rule.
3342
7679edb1
SM
3343 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3344 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3345
bb41480a
SM
3346 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3347 (byte-compile-callargs-warn): Use `push'.
3348 (byte-compile-arglist-warn): Ignore higher-order "calls".
3349 (byte-compile-file-form-autoload): Use `pcase'.
3350 (byte-compile-function-form): If quoting a symbol, check that it exists.
3351
cdc1ebb9
EZ
33522013-08-07 Eli Zaretskii <eliz@gnu.org>
3353
3354 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3355 and add a few popular commands found in batch files.
3356 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3357 (dos-mode): Doc fixes.
3358
312b1740
SM
33592013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3362 (dos-mode): Use setq-local. Add space after "rem".
3363 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3364 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3365
400a3178
AM
33662013-08-07 Arni Magnusson <arnima@hafro.is>
3367
3368 * progmodes/dos.el: New file.
3369 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3370 dos-mode.
3371
3b5c03d3
GM
33722013-08-06 Glenn Morris <rgm@gnu.org>
3373
3374 * calendar/calendar.el: Add new faces, and day-header-array.
3375 (calendar-weekday-header, calendar-weekend-header)
3376 (calendar-month-header): New faces.
3377 (calendar-day-header-construct): New function.
3378 (calendar-day-header-width): Also :set calendar-day-header-array.
3379 (calendar-american-month-header, calendar-european-month-header)
3380 (calendar-iso-month-header): Use calendar- faces.
3381 (calendar-generate-month):
3382 Use calendar-day-header-array for day headers; apply faces to them.
3383 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3384 (calendar-abbrev-construct): Add optional maxlen argument.
3385 (calendar-day-name-array): Doc fix.
3386 (calendar-day-name-array, calendar-abbrev-length)
3387 (calendar-day-abbrev-array):
3388 Also :set calendar-day-header-array, and maybe redraw.
3389 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3390 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3391 (calendar-day-name): Add option to use header array.
3392
ec6a2d7a
LMI
33932013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3394
3395 * net/shr.el (shr-render-td): Remove debugging.
3396 (shr-render-td): Make width computation consistent by defaulting
3397 all zero-width columns to 10 characters. This may not be optimal,
3398 but it's at least consistent.
2122cb6d
LMI
3399 (shr-make-table-1): Redo last change to fix the real problem in
3400 colspan handling.
ec6a2d7a 3401
ed4fd9c5
DA
34022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3403
0ca3f70e
SM
3404 * files.el (cache-long-line-scans):
3405 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3406
64e22afe
JB
34072013-08-06 Juanma Barranquero <lekktu@gmail.com>
3408
024b38fc
JB
3409 * frameset.el (frameset, frameset-filter-alist)
3410 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3411 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3412 (frameset-compute-pos): Rename from frameset--compute-pos,
3413 and add docstring.
3414 (frameset-move-onscreen): Use frameset-compute-pos.
3415 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3416
64e22afe
JB
3417 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3418 Fix typos in docstrings.
3419
c8c2aca8
DA
34202013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3421
3422 * frame.el (get-other-frame): Tiny cleanup.
3423
1d237bba
JB
34242013-08-06 Juanma Barranquero <lekktu@gmail.com>
3425
8951efef
JB
3426 * vc/vc.el (vc-default-ignore-completion-table):
3427 Silence byte-compiler warning.
3428
307764cc
JB
3429 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3430 slot , which can indeed be nil.
3431 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3432 Move entry for `left' from persistent to live filter alist.
3433 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3434 Doc fixes.
3435 (frameset-filter-params): When restoring a frame, copy items added to
3436 `filtered', to avoid unwittingly modifying the original parameters.
3437 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3438 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3439
1d237bba
JB
3440 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3441 to use looking-at-p instead of looking-at. (Bug#15028)
3442
dc6c0eda
SM
34432013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3444
3445 Revert introduction of isearch-filter-predicates (bug#14714).
3446 Rely on add-function instead.
3447 * isearch.el (isearch-filter-predicates): Rename it back to
3448 isearch-filter-predicate.
3449 (isearch-message-prefix): Use advice-function-mapc and advice
3450 properties to get the isearch-message-prefix.
3451 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3452 instead of run-hook-with-args-until-failure.
3453 (isearch-filter-visible): Not obsolete any more.
3454 * loadup.el: Preload nadvice.
3455 * replace.el (perform-replace): Revert to funcall
3456 instead of run-hook-with-args-until-failure.
3457 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3458 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3459 dired-isearch-filenames-toggle; make it into a proper minor mode.
3460 Use add/remove-function.
3461 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3462 Call the minor-mode rather than add/remove-hook.
3463 (dired-isearch-filter-filenames):
3464 Remove isearch-message-prefix property.
3465 * info.el (Info--search-loop): New function, extracted from Info-search.
3466 Funcall isearch-filter-predicate instead of
3467 run-hook-with-args-until-failure isearch-filter-predicates.
3468 (Info-search): Use it.
3469 (Info-mode): Use isearch-filter-predicate instead of
3470 isearch-filter-predicates.
3471
290d5b58
DA
34722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3473
3474 Do not call to `selected-window' where it is assumed by default.
3475 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3476 `window-hscroll', `window-width', `window-height', `window-buffer',
3477 `window-frame', `window-start', `window-point', `next-window'
3478 and `window-display-table'.
3479 * abbrev.el (abbrev--default-expand):
3480 * bs.el (bs--show-with-configuration):
3481 * buff-menu.el (Buffer-menu-mouse-select):
3482 * calc/calc.el (calc):
3483 * calendar/calendar.el (calendar-generate-window):
3484 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3485 (diary-make-entry):
3486 * comint.el (send-invisible, comint-dynamic-complete-filename)
3487 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3488 * completion.el (complete):
3489 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3490 * disp-table.el (describe-current-display-table):
3491 * doc-view.el (doc-view-insert-image):
3492 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3493 * ehelp.el (with-electric-help):
3494 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3495 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3496 * emacs-lisp/helper.el (Helper-help-scroller):
3497 * emulation/cua-base.el (cua--post-command-handler-1):
3498 * eshell/esh-mode.el (eshell-output-filter):
3499 * ffap.el (ffap-gnus-wrapper):
3500 * help-macro.el (make-help-screen):
3501 * hilit-chg.el (highlight-compare-buffers):
3502 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3503 * hl-line.el (global-hl-line-highlight):
3504 * icomplete.el (icomplete-simple-completing-p):
3505 * isearch.el (isearch-done):
3506 * jit-lock.el (jit-lock-stealth-fontify):
3507 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3508 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3509 * mpc.el (mpc-tagbrowser, mpc):
3510 * net/rcirc.el (rcirc-any-buffer):
3511 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3512 * play/landmark.el (landmark-max-width, landmark-max-height):
3513 * play/zone.el (zone):
3514 * progmodes/compile.el (compilation-goto-locus):
3515 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3516 * progmodes/etags.el (find-tag-other-window):
3517 * progmodes/fortran.el (fortran-column-ruler):
3518 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3519 * progmodes/verilog-mode.el (verilog-point-text):
3520 * reposition.el (reposition-window):
3521 * rot13.el (toggle-rot13-mode):
3522 * server.el (server-switch-buffer):
3523 * shell.el (shell-dynamic-complete-command)
3524 (shell-dynamic-complete-environment-variable):
3525 * simple.el (insert-buffer, set-selective-display)
3526 (delete-completion-window):
3527 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3528 (speedbar-recenter):
3529 * startup.el (fancy-splash-head):
3530 * textmodes/ispell.el (ispell-command-loop):
3531 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3532 * tutorial.el (help-with-tutorial):
3533 * vc/add-log.el (add-change-log-entry):
3534 * vc/compare-w.el (compare-windows):
3535 * vc/ediff-help.el (ediff-indent-help-message):
3536 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3537 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3538 (ediff-setup-control-frame):
3539 * vc/emerge.el (emerge-position-region):
3540 * vc/pcvs-util.el (cvs-bury-buffer):
3541 * window.el (walk-windows, mouse-autoselect-window-select):
3542 * winner.el (winner-set-conf, winner-undo): Related users changed.
3543
38276e01
JB
35442013-08-05 Juanma Barranquero <lekktu@gmail.com>
3545
3546 * frameset.el (frameset--set-id): Doc fix.
3547 (frameset-frame-id, frameset-frame-id-equal-p)
3548 (frameset-locate-frame-id): New functions.
3549 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3550 (frameset-restore): Use them.
3551
12b4c0ea
DA
35522013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3553
3554 Do not call to `selected-frame' where it is assumed by default.
3555 Affected functions are `raise-frame', `redraw-frame',
3556 `frame-first-window', `frame-terminal' and `delete-frame'.
3557 * calendar/appt.el (appt-disp-window):
3558 * epg.el (epg-wait-for-completion):
3559 * follow.el (follow-delete-other-windows-and-split)
3560 (follow-avoid-tail-recenter):
3561 * international/mule.el (set-terminal-coding-system):
3562 * mail/rmail.el (rmail-mail-return):
3563 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3564 * progmodes/f90.el (f90-add-imenu-menu):
3565 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3566 * server.el (server-switch-buffer):
3567 * simple.el (delete-completion-window):
3568 * talk.el (talk):
3569 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3570 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3571 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3572 * vc/ediff.el (ediff-documentation): Related users changed.
3573 * frame.el (selected-terminal): Remove the leftover.
3574
17f25e76
GM
35752013-08-05 Glenn Morris <rgm@gnu.org>
3576
3577 * calendar/calendar.el (calendar-generate-month):
3578 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3579 (calendar-generate-month, calendar-font-lock-keywords):
3580 Fix for calendar-day-header-width > length of any day name.
17f25e76 3581
063233c3
JB
35822013-08-05 Juanma Barranquero <lekktu@gmail.com>
3583
3584 * desktop.el (desktop-clear): Use new name of sort predicate.
3585
3586 * frameset.el (frameset): Add docstring. Move :version property to its
3587 own `version' slot.
3588 (frameset-copy): Rename from copy-frameset.
3589 (frameset-p): Check more thoroughly.
3590 (frameset-prop): Do not check for :version, which is no longer a prop.
3591 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3592 Use new :never value instead of t.
3593 (frameset-filter-alist): Expand and clarify docstring.
3594 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3595 (frameset-filter-minibuffer, frameset-filter-save-param)
3596 (frameset-filter-restore-param, frameset-filter-iconified):
3597 Add pointer to docstring of frameset-filter-alist.
3598 (frameset-filter-params): Rename filter values to be more meaningful:
3599 :never instead of t, and reverse the meanings of :save and :restore.
3600 (frameset--process-minibuffer-frames): Clarify error message.
3601 (frameset-save): Avoid unnecessary and confusing call to framep.
3602 Use new BOA constructor for framesets.
3603 (frameset--reuse-list): Doc fix.
3604 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3605 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3606 (frameset-minibufferless-first-p): Doc fix.
3607 Rename from frameset-sort-frames-for-deletion.
3608 (frameset-restore): Doc fixes. Use new function names.
3609 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3610
d5671a82
JB
36112013-08-04 Juanma Barranquero <lekktu@gmail.com>
3612
3613 * desktop.el (desktop-restore-forces-onscreen)
3614 (desktop-restore-reuses-frames): Document :keyword constant values.
3615 (desktop-filter-parameters-alist): Remove, now identical to
3616 frameset-filter-alist.
3617 (desktop--filter-tty*): Remove, moved to frameset.el.
3618 (desktop-save-frameset, desktop-restore-frameset):
3619 Do not pass :filters argument.
3620
3621 * frameset.el (frameset-live-filter-alist)
3622 (frameset-persistent-filter-alist): New variables.
3623 (frameset-filter-alist): Use them. Add autoload cookie.
3624 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3625 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3626 `frameset--id' (it's supposed to be internal to frameset.el).
3627 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3628 (frameset--initial-params): New function.
3629 (frameset--get-frame): Use it. Doc fix.
3630 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3631 Accept :all, not 'all.
3632 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3633 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3634 with fbound symbols. Fix frame id matching, and remove matching ids if
3635 the frame being restored is deleted. Obey :delete.
3636
671d5c16
SM
36372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * subr.el (macrop): New function.
3640 (text-clone--maintaining): New var.
3641 (text-clone--maintain): Rename from text-clone-maintain. Use it
3642 instead of inhibit-modification-hooks.
3643
3644 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3645 a proxy, so as handle autoloads and redefinitions of the target.
3646 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3647
3648 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3649 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3650 (pcase--mutually-exclusive-p): New function.
3651 (pcase--split-consp): Use it.
3652 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3653 mutually exclusive with the current predicate.
3654
3655 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3656 (edebug-macrop): Remove. Use `macrop' instead.
3657 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3658 (ad-macro-p):
3659 * eshell/esh-cmd.el (eshell-macrop):
3660 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3661
1d44e9dc
SM
36622013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3665 (advice-mapc): New function, using it.
3666 (advice-function-member-p): New function.
3667 (advice--normalize): Store the cdr in advice--saved-rewrite since
3668 that's the part that will be changed.
3669 (advice--symbol-function): New function.
3670 (advice-remove): Handle removal before the function is defined.
3671 Adjust to new advice--saved-rewrite.
3672 (advice-member-p): Use advice-function-member-p and
3673 advice--symbol-function.
3674
5414a283
JB
36752013-08-04 Juanma Barranquero <lekktu@gmail.com>
3676
51d30f2c
JB
3677 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3678 (frameset-filter-minibuffer): Doc fix.
3679 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3680 (frameset--set-id, frameset--process-minibuffer-frames)
3681 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3682 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3683
5414a283
JB
3684 * desktop.el (desktop-clear): Only delete frames when called
3685 interactively and desktop-restore-frames is non-nil. Doc fix.
3686 (desktop-read): Set desktop-saved-frameset to nil.
3687
ab419665
XF
36882013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3689
3690 * vc/vc.el (vc-ignore): Rewrite.
3691 (vc-default-ignore-completion-table):
3692 (vc--read-lines):
3693 (vc--add-line, vc--remove-regexp): New functions.
3694
3695 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3696 (vc-svn-ignore-completion-table): New function.
3697
3698 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3699 (vc-hg-ignore-completion-table):
3700 (vc-hg-find-ignore-file): New functions.
3701
3702 * vc/vc-git.el (vc-git-ignore): Rewrite.
3703 (vc-git-ignore-completion-table):
3704 (vc-git-find-ignore-file): New functions.
3705
3706 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3707
3708 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3709 (vc-bzr-ignore-completion-table):
3710 (vc-bzr-find-ignore-file): New functions.
3711
2613dea2
JB
37122013-08-03 Juanma Barranquero <lekktu@gmail.com>
3713
3714 * frameset.el (frameset-prop): New function and setter.
3715 (frameset-save): Do not modify frame list passed by the caller.
3716
9c959872
SM
37172013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3720
a104f656
SM
37212013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3722
70122acf
SM
3723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3724 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3725
a104f656
SM
3726 * custom.el (custom-initialize-default, custom-initialize-set)
3727 (custom-initialize-reset, custom-initialize-changed): Affect the
3728 toplevel-default-value (bug#6275, bug#14586).
3729 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3730 for bug#6275.
3731
f078d570
JB
37322013-08-02 Juanma Barranquero <lekktu@gmail.com>
3733
185e3b5a
JB
3734 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3735 Add cl-def* expressions.
3736
f078d570
JB
3737 * frameset.el (frameset-filter-params): Fix order of arguments.
3738
9421876d
JB
37392013-08-02 Juanma Barranquero <lekktu@gmail.com>
3740
3741 Move code related to saving frames to frameset.el.
3742 * desktop.el: Require frameset.
3743 (desktop-restore-frames): Doc fix.
3744 (desktop-restore-reuses-frames): Rename from
3745 desktop-restoring-reuses-frames.
3746 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3747 (desktop-clear): Clear frames too.
3748 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3749 (desktop--filter-tty*, desktop-save, desktop-read):
3750 Use frameset functions.
3751 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3752 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3753 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3754 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3755 (desktop--process-minibuffer-frames, desktop-save-frames)
3756 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3757 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3758 (desktop--sort-states, desktop-restoring-frames-p)
3759 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3760 (desktop-restoring-frameset-p, desktop-restore-frameset)
3761 (desktop--check-dont-save, desktop-save-frameset): New functions.
3762 (desktop--app-id): New constant.
3763 (desktop-first-buffer, desktop-buffer-ok-count)
3764 (desktop-buffer-fail-count): Move before first use.
3765 * frameset.el: New file.
3766
76dc5996
SM
37672013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * files.el: Use lexical-binding.
3770 (dir-locals-read-from-file): Remove unused `err' variable.
3771 (hack-dir-local-variables--warned-coding): New var.
3772 (hack-dir-local-variables): Use it to avoid repeated warnings.
3773 (make-backup-file-name--default-function): New function.
3774 (make-backup-file-name-function): Use it as default.
3775 (buffer-stale--default-function): New function.
3776 (buffer-stale-function): Use it as default.
3777 (revert-buffer-insert-file-contents--default-function): New function.
3778 (revert-buffer-insert-file-contents-function): Use it as default.
3779 (insert-directory): Avoid add-to-list.
3780
3781 * autorevert.el (auto-revert-handler): Simplify.
3782 Use buffer-stale--default-function.
3783
06d36e2b
TH
37842013-08-01 Tassilo Horn <tsdh@gnu.org>
3785
5f648ab4
TH
3786 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3787
06d36e2b
TH
3788 * whitespace.el (whitespace-ensure-local-variables): New function.
3789 (whitespace-cleanup-region): Call it.
3790 (whitespace-turn-on): Call it.
3791
a43dc424
MA
37922013-08-01 Michael Albinus <michael.albinus@gmx.de>
3793
3794 Complete file name handlers.
3795
3796 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3797 (tramp-handle-verify-visited-file-modtime)
3798 (tramp-handle-file-notify-rm-watch): New functions.
3799 (tramp-call-process): Do not bind `default-directory'.
3800
44e18199
JB
3801 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3802 Order alphabetically.
a43dc424
MA
3803 [access-file, add-name-to-file, dired-call-process]:
3804 [dired-compress-file, file-acl, file-notify-rm-watch]:
3805 [file-ownership-preserved-p, file-selinux-context]:
3806 [make-directory-internal, make-symbolic-link, set-file-acl]:
3807 [set-file-selinux-context, set-visited-file-modtime]:
3808 [verify-visited-file-modtime]: Add handler.
3809 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3810
3811 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3812 [file-notify-add-watch, file-notify-rm-watch]:
3813 [set-file-times, set-visited-file-modtime]:
3814 [verify-visited-file-modtime]: Add handler.
3815 (with-tramp-gvfs-error-message)
3816 (tramp-gvfs-handle-set-visited-file-modtime)
3817 (tramp-gvfs-fuse-file-name): Remove.
3818 (tramp-gvfs-handle-file-notify-add-watch)
3819 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3820 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3821
44e18199
JB
3822 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3823 Order alphabetically.
a43dc424
MA
3824 [file-notify-rm-watch ]: Use default Tramp handler.
3825 [executable-find]: Remove private handler.
3826 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3827 `default-directory'.
3828 (tramp-sh-handle-executable-find)
3829 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3830 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3831 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3832 Do not use `format' in `tramp-message'.
3833
3834 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3835 [file-notify-rm-watch, set-visited-file-modtime]:
3836 [verify-visited-file-modtime]: Add handler.
3837 (tramp-smb-call-winexe): Do not bind `default-directory'.
3838
7188b515
XF
38392013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3840
3841 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3842
2412ee1a
DG
38432013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3844
3845 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3846 use it.
3847 (log-view-diff-changeset): Same.
3848 (log-view-diff-common): Call backend command `previous-revision'
3849 to find out the previous revision, in both cases. Swap the
3850 variables `to' and `fr', so that `fr' usually refers to the
3851 earlier revision (Bug#14989).
3852
5002a754
KRC
38532013-07-31 Kan-Ru Chen <kanru@kanru.info>
3854
3855 * ibuf-ext.el (ibuffer-filter-by-filename):
3856 Make it work with dired buffers too.
3857
44e18199 38582013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3859
3860 * emacs-lisp/re-builder.el (reb-color-display-p):
3861 * files.el (save-buffers-kill-terminal):
3862 * net/browse-url.el (browse-url):
3863 * server.el (server-save-buffers-kill-terminal):
3864 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3865 Prefer nil to selected-frame for the first arg of frame-parameter.
3866
aeca3fbb
XF
38672013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3868
3869 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3870
158bc55c
SB
38712013-07-30 Stephen Berman <stephen.berman@gmx.net>
3872
3873 * minibuffer.el (completion--twq-all): Try and preserve each
3874 completion's case choice (bug#14907).
3875
d50fceab
LMI
38762013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3877
ac38e731
LMI
3878 * net/network-stream.el (open-network-stream): Mention the new
3879 :nogreeting parameter.
3880 (network-stream-open-starttls): Use the :nogreeting parameter
3881 (bug#14938).
3882
1211de50
LMI
3883 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3884
997798bf
LMI
3885 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3886 more natural than popping.
3887
d50fceab 3888 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3889 (shr-urlify): Highlight under mouse.
d50fceab 3890
5c09de04
XF
38912013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3892
207d1d04
XF
3893 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3894
3895 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3896
5c09de04
XF
3897 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3898 buffer for output.
3899
3cd51eaa
XF
3900 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3901 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3902
44e18199 3903 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3904 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3905
3906 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3907
3908 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3909 buffer for output.
3910
35a89bdd
EZ
39112013-07-29 Eli Zaretskii <eliz@gnu.org>
3912
3913 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3914 initial frame is minibuffer-less. (Bug#14841)
3915
78822e94
MA
39162013-07-29 Michael Albinus <michael.albinus@gmx.de>
3917
3918 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3919 option.
3920
3921 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3922 (tramp-maybe-open-connection): Use it.
3923
9503c190
JB
39242013-07-28 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3927 minimal set of parameters passed when creating a frame, because
3928 the minibuffer status of a frame cannot be changed later.
3929
d5a845b4
SB
39302013-07-28 Stephen Berman <stephen.berman@gmx.net>
3931
3932 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3933 replace-regexp-in-string and inadvertent omissions in previous change.
3934 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3935 name of filtered items buffer.
d5a845b4 3936
ddeffb17
JB
39372013-07-28 Juanma Barranquero <lekktu@gmail.com>
3938
3939 * desktop.el: Optionally force offscreen frames back onscreen.
3940 (desktop-restoring-reuses-frames): New option.
3941 (desktop--compute-pos, desktop--move-onscreen): New functions.
3942 (desktop--make-frame): Use desktop--move-onscreen.
3943
f5950f7a
AM
39442013-07-27 Alan Mackenzie <acm@muc.de>
3945
3946 Fontify a Java generic method as a function.
3947 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3948 value to t.
3949
ae43b66a
SB
39502013-07-27 Stephen Berman <stephen.berman@gmx.net>
3951
3952 * calendar/todo-mode.el: Add command to rename todo files.
3953 (todo-rename-file): New command.
3954 (todo-key-bindings-t): Add key binding for it. Change the
3955 bindings of todo-filter-regexp-items(-multifile) to use `x'
3956 instead of `r', since the latter is better suited to the new
3957 renaming command.
3958
5ab78d3d
AM
39592013-07-27 Alan Mackenzie <acm@muc.de>
3960
3961 Make Java try-with-resources statement parse properly.
3962 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3963 (c-block-stmt-1-2-key): New language constants/variables.
3964 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3965 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3966 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3967 with c-block-stmt-1-2-key.
5ab78d3d 3968
d85c4d50
JB
39692013-07-27 Juanma Barranquero <lekktu@gmail.com>
3970
3971 * desktop.el (desktop--make-frame): Apply most frame parameters after
3972 creating the frame to force (partially or totally) offscreen frames to
3973 be restored as such.
3974
e4c467f9
XF
39752013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3976
3977 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3978 (Bug#14948)
e4c467f9 3979
7ced0d04
SM
39802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3983 `base' arg of backtrace-frame.
3984
fec92060
EZ
39852013-07-26 Eli Zaretskii <eliz@gnu.org>
3986
3987 * simple.el (list-processes): Doc fix.
3988
d58d31fb
JB
39892013-07-26 Juanma Barranquero <lekktu@gmail.com>
3990
3991 * desktop.el (desktop--select-frame):
d85c4d50 3992 Try harder to reuse existing frames.
d58d31fb 3993
53ff3e77
SM
39942013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3997 (edebug-eval): Use backtrace-eval.
3998 (edebug--display, edebug--recursive-edit): Don't let-bind the
3999 edebug-outer-* vars that keep track of variables we locally let-bind.
4000 (edebug-outside-excursion): Don't restore outside values of locally
4001 let-bound vars.
4002 (edebug--display): Use user-error.
4003 (cl-lexical-debug, cl-debug-env): Remove.
4004
045f7a53
JB
40052013-07-26 Juanma Barranquero <lekktu@gmail.com>
4006
4007 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4008 are restored to be sure that they are visible before deleting any
4009 remaining ones.
4010
59070b32
MM
40112013-07-26 Matthias Meulien <orontee@gmail.com>
4012
742a3501
XF
4013 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4014 vc-print-root-log. (Bug#14948)
59070b32 4015
b1fb3596
RS
40162013-07-26 Richard Stallman <rms@gnu.org>
4017
4018 Add aliases for encrypting mail.
4019 * epa.el (epa-mail-aliases): New option.
4020 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4021 Bind inhibit-read-only so read-only text doesn't ruin everything.
4022 (epa-mail-default-recipients): New subroutine broken out.
4023 Handle epa-mail-aliases.
4024
56ea7291
SM
40252013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 Add support for lexical variables to the debugger's `e' command.
4028 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4029 vars, except for debugger-outer-match-data.
4030 (debugger-frame-number): Move check for "on a function call" from
4031 callers into it. Add `skip-base' argument.
4032 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4033 (debugger-env-macro): Only reset the state stored in non-variables,
4034 i.e. current-buffer and match-data.
4035 (debugger-eval-expression): Rewrite using backtrace-eval.
4036 * subr.el (internal--called-interactively-p--get-frame): Remove.
4037 (called-interactively-p):
4038 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4039 `base' arg of backtrace-frame instead.
4040
15ac32d5
GM
40412013-07-26 Glenn Morris <rgm@gnu.org>
4042
8358a09d
GM
4043 * align.el (align-regexp): Doc fix. (Bug#14857)
4044 (align-region): Explicit error if subexpression missing/does not match.
4045
15ac32d5
GM
4046 * simple.el (global-visual-line-mode):
4047 Do not duplicate the mode lighter. (Bug#14858)
4048
f47ad11b
MR
40492013-07-25 Martin Rudalics <rudalics@gmx.at>
4050
4051 * window.el (display-buffer): In display-buffer bind
4052 split-window-keep-point to t, bug#14829.
4053
02530987
JB
40542013-07-25 Juanma Barranquero <lekktu@gmail.com>
4055
4056 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4057 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4058 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4059 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4060 Change accordingly.
f63ebeb5
JB
4061 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4062 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4063
6ccb9cab 40642013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4065
6ccb9cab 4066 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4067
cb3a56d2
JB
40682013-07-25 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4071 parameter to modify-frame-parameters if the value has not changed;
4072 this is a workaround for bug#14949.
4073 (desktop--make-frame): On cl-delete-if call, check parameter name,
4074 not full parameter.
4075
7aa7fff0
XF
40762013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4077
4078 * vc/vc.el (vc-ignore): New function.
4079
4080 * vc/vc-svn.el (vc-svn-ignore): New function.
4081
4082 * vc/vc-hg.el (vc-hg-ignore): New function.
4083
4084 * vc/vc-git.el (vc-git-ignore): New function.
4085
4086 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4087 (vc-dir-ignore): New function.
4088
4089 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4090 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4091
4092 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4093
4094 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4095
889acc5c
JB
40962013-07-24 Juanma Barranquero <lekktu@gmail.com>
4097
4098 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4099 (desktop-restore-frames): Warn when deleting an existing frame failed.
4100
86c40970
GM
41012013-07-24 Glenn Morris <rgm@gnu.org>
4102
4103 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4104
d5d3c58a
MA
41052013-07-24 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * filenotify.el (file-notify-supported-p):
4108 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4109 Remove functions.
4110
4111 * autorevert.el (auto-revert-use-notify):
4112 (auto-revert-notify-add-watch):
4113 * net/tramp.el (tramp-file-name-for-operation):
4114 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4115 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4116 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4117 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4118 Remove `file-notify-supported-p' entry.
4119
d100084b
GM
41202013-07-24 Glenn Morris <rgm@gnu.org>
4121
4122 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4123 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4124
ac93e56b
SM
41252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4126
249eea30
SM
4127 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4128 checked with memq (bug#14935).
4129
ac93e56b
SM
4130 * files.el (revert-buffer-function): Use a non-nil default.
4131 (revert-buffer-preserve-modes): Declare var to
4132 provide access to the `preserve-modes' argument.
4133 (revert-buffer): Let-bind it.
4134 (revert-buffer--default): New function, extracted from revert-buffer.
4135
2cdeb903
SM
41362013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * lpr.el: Signal print errors more prominently.
4139 (print-region-function): Don't default to nil.
4140 (lpr-print-region): New function, extracted from print-region-1.
4141 Check lpr's return value and signal an error in case of problem.
4142 (print-region-1): Use it.
4143 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4144 versions instead.
4145 (ps-printer-name): Default to nil.
4146 (ps-printer-name-option): Default to lpr-printer-switch.
4147 (ps-print-region-function): Don't default to nil.
4148 (ps-postscript-code-directory): Simplify default.
4149 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4150 (ps-string-list, ps-eval-switch, ps-flatten-list)
4151 (ps-flatten-list-1): Remove.
4152 (ps-multibyte-buffer): Avoid setq.
4153 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4154 (print-region-function, ps-print-region-function): Don't set them here.
4155
73600831
XF
41562013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4157
0e55c076
XF
4158 * ido.el (ido-fractionp):
4159 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4160 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4161 (ido-max-directory-size, ido-max-dir-file-cache)
4162 (ido-decorations): Doc fix.
4163
73600831
XF
4164 * ansi-color.el: Fix old URL.
4165
3d012865
MM
41662013-07-23 Michael R. Mauger <michael@mauger.com>
4167
e903c210 4168 * progmodes/sql.el: Version 3.3
3d012865
MM
4169 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4170 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4171 (sql-interactive-remove-continuation-prompt): Rewrite, use
4172 functions above. Fix continuation prompt and complete output line
4173 handling.
4174 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4175 redirected output buffer.
4176 (sql-mode): Restore deleted code (Bug#13591).
4177
da77a2e2
JB
41782013-07-23 Juanma Barranquero <lekktu@gmail.com>
4179
4180 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4181
80ff0c71
MA
41822013-07-23 Michael Albinus <michael.albinus@gmx.de>
4183
4184 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4185
4186 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4188 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4189
b61d71e4
JB
41902013-07-23 Juanma Barranquero <lekktu@gmail.com>
4191
4192 * desktop.el (desktop-clear): Simplify; remove useless checks
4193 against invalid buffer names.
4194 (desktop-list*): Use cl-list*.
4195 (desktop-buffer-info, desktop-create-buffer): Simplify.
4196
c3512092
LL
41972013-07-23 Leo Liu <sdl.web@gmail.com>
4198
4199 * bookmark.el (bookmark-make-record): Restore NAME as a default
4200 value. (Bug#14933)
4201
0ac26976
SM
42022013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4203
7d22ce18
SM
4204 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4205 extracted from autoload--insert-text.
4206 (autoload--insert-text): Remove.
4207 (autoload--print-cookie-text): New function, extracted from
4208 autoload--insert-cookie-text.
4209 (autoload--insert-cookie-text): Remove.
4210 (autoload-generate-file-autoloads): Adjust calls accordingly.
4211
9b2607e8
SM
4212 * winner.el (winner-hook-installed-p): Remove.
4213 (winner-mode): Simplify accordingly.
4214
c43a8618
SM
4215 * subr.el (add-to-list): Fix compiler-macro when `append' is
4216 not constant. Don't use `cl-member' for the base case.
4217
0ac26976
SM
4218 * progmodes/subword.el: Fix boundary case (bug#13758).
4219 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4220 own group.
4221 (subword-backward-regexp): Make it a constant.
4222 (subword-forward-internal): Don't treat a trailing capital as the
4223 beginning of a word.
4224
6874724a
AR
42252013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4226
4227 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4228 global value of tabulated-list-revert-hook (bug#14930).
4229
70f1b5e8
JB
42302013-07-22 Juanma Barranquero <lekktu@gmail.com>
4231
a1c80d9d
JB
4232 * desktop.el: Require 'cl-lib.
4233 (desktop-before-saving-frames-functions): New hook.
4234 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4235 for frames being saved. Rename from desktop--save-minibuffer-frames.
4236 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4237 Do not save frames with non-nil `desktop-dont-save' parameter.
4238 Filter out deleted frames.
a1c80d9d
JB
4239 (desktop--find-frame): Use cl-find-if.
4240 (desktop--select-frame): Use cl-(first|second|third) to access values
4241 of desktop-mini.
4242 (desktop--make-frame): Use cl-delete-if.
4243 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4244 (desktop-restore-frames): Use cl-(first|second|third) to access values
4245 of desktop-mini. Look for visible frame at the end, not while
4246 restoring frames.
4247
70f1b5e8
JB
4248 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4249 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4250 Use string-match-p, looking-at-p (bug#14927).
4251
728dc3cc
JB
42522013-07-21 Juanma Barranquero <lekktu@gmail.com>
4253
56bc453c
JB
4254 * desktop.el (desktop-saved-frame-states):
4255 Rename from desktop--saved-states; all users changed.
4256 (desktop-save-frames): Rename from desktop--save-frames.
4257 Do not save state to desktop file.
4258 (desktop-save): Save desktop-saved-frame-states to desktop file
4259 and reset to nil.
4260 (desktop-restoring-frames-p): New function.
4261 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4262 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4263 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4264
728dc3cc
JB
4265 * desktop.el: Correctly restore iconified frames.
4266 (desktop--filter-iconified-position): New function.
4267 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4268
862f1c9c
GM
42692013-07-20 Glenn Morris <rgm@gnu.org>
4270
c4074c9f
GM
4271 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4272 Let `message' do the formatting.
4273 (def-gdb-preempt-display-buffer): Add explicit format.
4274
d828e5f9
GM
4275 * image-dired.el (image-dired-track-original-file):
4276 Use with-current-buffer.
4277 (image-dired-track-thumbnail): Use with-current-buffer.
4278 Avoid changing point of wrong window.
4279
862f1c9c
GM
4280 * image-dired.el (image-dired-track-original-file):
4281 Avoid changing point of wrong window. (Bug#14909)
4282
f0398ec1 42832013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4284
4285 * progmodes/gdb-mi.el (gdb-done-or-error):
4286 Guard against "%" in gdb output. (Bug#14127)
4287
1451928f
AS
42882013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4289
763a086d
JB
4290 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4291 (Bug#14826)
f7a03897 4292
1451928f
AS
4293 * international/mule.el (coding-system-iso-2022-flags): Fix last
4294 change.
4295
99107004
KH
42962013-07-20 Kenichi Handa <handa@gnu.org>
4297
763a086d
JB
4298 * international/mule.el (coding-system-iso-2022-flags):
4299 Add `8-bit-level-4'. (Bug#8522)
99107004 4300
48494e06
LMI
43012013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4302
8ba8eec5
LMI
4303 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4304 (bug#14815).
4305
dfbc66e3
LMI
4306 * net/eww.el (eww-process-text-input): Allow inputting when the
4307 point is at the start of the line, as the properties aren't
4308 front-sticky.
4309
48494e06
LMI
4310 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4311 degenerate widths.
4312
77c92cb9
RS
43132013-07-19 Richard Stallman <rms@gnu.org>
4314
aec7da77
RS
4315 * epa.el (epa-popup-info-window): Doc fix.
4316
77c92cb9
RS
4317 * subr.el (split-string): New arg TRIM.
4318
945c5bb1
JB
43192013-07-18 Juanma Barranquero <lekktu@gmail.com>
4320
4321 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4322 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4323
e06ec67f
MA
43242013-07-18 Michael Albinus <michael.albinus@gmx.de>
4325
c7064f05 4326 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4327 `file-notify-support'. Do not autoload. Adapt all uses.
4328 (file-notify-supported-p): New defun.
4329
c7064f05
JB
4330 * autorevert.el (auto-revert-use-notify):
4331 Use `file-notify-supported-p' instead of `file-notify-support'.
4332 Adapt docstring.
e06ec67f
MA
4333 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4334
4335 * net/tramp.el (tramp-file-name-for-operation):
4336 Add `file-notify-supported-p'.
4337
4338 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4339 New defun.
4340 (tramp-sh-file-name-handler-alist): Add it as handler for
4341 `file-notify-supported-p '.
4342
4343 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4344 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4345 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4346 Add `ignore' as handler for `file-notify-*' functions.
4347
5dc8a629
EZ
43482013-07-17 Eli Zaretskii <eliz@gnu.org>
4349
4350 * simple.el (line-move-partial, line-move): Don't start vscroll or
4351 scroll-up if the current line is not taller than the window.
4352 (Bug#14881)
4353
77aea2fb
DG
43542013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4355
4356 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4357 highlight question marks in the method names as strings.
ac72c08d
DG
4358 (ruby-block-beg-keywords): Inline.
4359 (ruby-font-lock-keyword-beg-re): Extract from
4360 `ruby-font-lock-keywords'.
77aea2fb 4361
18c26d81
JD
43622013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4363
4364 * frame.el (blink-cursor-blinks): New defcustom.
4365 (blink-cursor-blinks-done): New defvar.
4366 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4367 (blink-cursor-timer-function): Check if number of blinks has been
4368 done on X and NS.
4369 (blink-cursor-suspend, blink-cursor-check): New defuns.
4370
da48522e
GM
43712013-07-15 Glenn Morris <rgm@gnu.org>
4372
4373 * edmacro.el (edmacro-format-keys): Fix previous change.
4374
0463c1ef
PE
43752013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4376
4377 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4378 The hack didn't work outside English locales anyway.
4379
b43f6451
JB
43802013-07-15 Juanma Barranquero <lekktu@gmail.com>
4381
4382 * simple.el (define-alternatives): Rename from alternatives-define,
4383 per RMS' suggestion.
4384
b958c0ad
JB
43852013-07-14 Juanma Barranquero <lekktu@gmail.com>
4386
4387 * desktop.el (desktop-restore-frames): Change default to t.
4388 (desktop-restore-in-current-display): Now offer more options.
4389 (desktop-restoring-reuses-frames): New customization option.
4390 (desktop--saved-states): Doc fix.
4391 (desktop-filter-parameters-alist): New variable, renamed and expanded
4392 from desktop--excluded-frame-parameters.
4393 (desktop--target-display): New variable.
4394 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4395 (desktop--filter-tty*, desktop--filter-*-color)
4396 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4397 (desktop--filter-save-desktop-parm)
4398 (desktop-restore-in-original-display-p): New functions.
4399 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4400 (desktop--save-minibuffer-frames): New function, inspired by a similar
4401 function from Martin Rudalics.
4402 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4403 (desktop--restore-in-this-display-p): Remove.
4404 (desktop--find-frame): Rename from desktop--find-frame-in-display
4405 and add predicate argument.
4406 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4407 (desktop--reuse-list): New variable.
4408 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4409 New functions.
4410 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4411
f6dd8b36
MA
44122013-07-14 Michael Albinus <michael.albinus@gmx.de>
4413
4414 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4415
2ce3c565
DG
44162013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4417
763a086d
JB
4418 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4419 Highlight conversion methods on Kernel.
2ce3c565 4420
2cdb7698
AM
44212013-07-13 Alan Mackenzie <acm@muc.de>
4422
4423 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4424 and comment it out. This out-commenting enables certain C++
4425 declarations to be parsed correctly.
4426
1a67b811
EZ
44272013-07-13 Eli Zaretskii <eliz@gnu.org>
4428
1b796d6b
EZ
4429 * international/mule.el (define-coding-system): Doc fix.
4430
1a67b811
EZ
4431 * simple.el (default-font-height): Don't call font-info if the
4432 frame's default font didn't change since the frame was created.
4433 (Bug#14838)
4434
58fbe886
LL
44352013-07-13 Leo Liu <sdl.web@gmail.com>
4436
4437 * ido.el (ido-read-file-name): Guard against non-symbol value.
4438
1f0480d4
FEG
44392013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4440
4441 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4442 in nested defuns.
4443
97ead0e5
LL
44442013-07-13 Leo Liu <sdl.web@gmail.com>
4445
4446 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4447 ido-set-matches call. (Bug#6852)
4448
0880a952
DG
44492013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4450
4451 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4452 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4453 Ruby 2.0.
4454 (ruby-font-lock-keywords): Distinguish calls to functions with
4455 module-like names from module references. Highlight character
4456 literals.
4457
a7d8babb
SDJ
44582013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4459
4460 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4461 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4462
acfcc8c5
JB
44632013-07-12 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * desktop.el (desktop--v2s): Remove unused local variable.
4466 (desktop-save-buffer): Make defvar-local; adjust docstring.
4467 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4468 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4469
051f2775
AS
44702013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4471
4472 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4473
f24e7572
GM
44742013-07-12 Eli Zaretskii <eliz@gnu.org>
4475
4476 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4477 (Bug#14842)
4478
539a920c
GM
44792013-07-12 Glenn Morris <rgm@gnu.org>
4480
4481 * doc-view.el: Require cl-lib at runtime too.
4482 (doc-view-remove-if): Remove.
4483 (doc-view-search-next-match, doc-view-search-previous-match):
4484 Use cl-remove-if.
4485
4486 * edmacro.el: Require cl-lib at runtime too.
4487 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4488 (edmacro-mismatch, edmacro-subseq): Remove.
4489
4490 * shadowfile.el: Require cl-lib.
4491 (shadow-remove-if): Remove.
4492 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4493 Use cl-remove-if.
4494
4495 * wid-edit.el: Require cl-lib.
4496 (widget-choose): Use cl-remove-if.
4497 (widget-remove-if): Remove.
4498
4499 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4500 (ebrowse-delete-if-not): Remove.
4501 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4502 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4503 Use cl-delete-if-not.
4504
1048af7c
JB
45052013-07-12 Juanma Barranquero <lekktu@gmail.com>
4506
4507 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4508 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4509
6c0674ee
LL
45102013-07-12 Leo Liu <sdl.web@gmail.com>
4511
4512 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4513
a19b3c2d
GM
45142013-07-11 Glenn Morris <rgm@gnu.org>
4515
4582a01c
GM
4516 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4517 (edebug-gensym-index, edebug-gensym):
4518 Remove reimplementation of cl-gensym.
4519 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4520
4521 * thumbs.el: Require cl-lib at run-time too.
4522 (thumbs-gensym-counter, thumbs-gensym):
4523 Remove reimplementation of cl-gensym.
4524 (thumbs-temp-file): Use cl-gensym.
4525
a19b3c2d
GM
4526 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4527 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4528 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4529 (ert--union, ert--gensym-counter, ert--gensym-counter)
4530 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4531 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4532 (ert-make-test-unbound, ert--expand-should-1)
4533 (ert--expand-should, ert--should-error-handle-error)
4534 (should-error, ert--explain-equal-rec)
4535 (ert--plist-difference-explanation, ert-select-tests)
4536 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4537 Use cl-lib functions rather than reimplementations.
4538
88f6a933
MA
45392013-07-11 Michael Albinus <michael.albinus@gmx.de>
4540
4541 * net/tramp.el (tramp-methods): Extend docstring.
4542 (tramp-connection-timeout): New defcustom.
4543 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4544 (with-tramp-progress-reporter): Simplify.
4545 (tramp-process-actions): Improve messages.
4546
4547 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4548 * net/tramp-sh.el (tramp-maybe-open-connection):
4549 Use `tramp-connection-timeout'.
4550 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4551 (Bug#14808)
4552
a43d577e
LL
45532013-07-11 Leo Liu <sdl.web@gmail.com>
4554
4555 * ido.el (ido-read-file-name): Conform to the requirements of
4556 read-file-name. (Bug#11861)
4557 (ido-read-directory-name): Conform to the requirements of
4558 read-directory-name.
4559
d77974bf
JB
45602013-07-11 Juanma Barranquero <lekktu@gmail.com>
4561
4562 * subr.el (delay-warning): New function.
4563
35cb8a3e
EZ
45642013-07-10 Eli Zaretskii <eliz@gnu.org>
4565
4566 * simple.el (default-line-height): New function.
4567 (line-move-partial, line-move): Use it instead of computing the
4568 line height inline.
4569 (line-move-partial): Always compute ROWH. If the last line is
4570 partially-visible, but its text is completely visible, allow
4571 cursor to enter such a partially-visible line.
4572
525c5c77
MA
45732013-07-10 Michael Albinus <michael.albinus@gmx.de>
4574
4575 Improve error messages. (Bug#14808)
4576
4577 * net/tramp.el (tramp-current-connection): New defvar, moved from
4578 tramp-sh.el.
0ac26976 4579 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4580 needed anymore.
0ac26976
SM
4581 (tramp-error-with-buffer): Show message in minibuffer.
4582 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4583 (with-tramp-progress-reporter): Improve messages.
4584 (tramp-process-actions): Use progress reporter. Delete process in
4585 case of error. Improve messages.
4586
763a086d
JB
4587 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4588 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4589 (tramp-current-connection): Remove.
525c5c77
MA
4590 (tramp-maybe-open-connection): The car of
4591 `tramp-current-connection' are the first 3 slots of the vector.
4592
c7a4d368
TZ
45932013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4594
4595 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4596 inside continued strings.
4597
954b166e
PE
45982013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4599
4600 Timestamp fixes for undo (Bug#14824).
4601 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4602
56973319
LL
46032013-07-10 Leo Liu <sdl.web@gmail.com>
4604
4605 * files.el (require-final-newline): Allow safe local value.
4606 (Bug#14834)
4607
5550a72c
LL
46082013-07-09 Leo Liu <sdl.web@gmail.com>
4609
4610 * ido.el (ido-read-directory-name): Handle fallback.
4611 (ido-read-file-name): Update DIR to ido-current-directory.
4612 (Bug#1516)
c28b9050 4613 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4614
70c46b28
DG
46152013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4616
4617 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4618 "autoload". Remove "warn lower camel case" section, previously
4619 commented out. Highlight negation char. Do not highlight the
4620 target in singleton method definitions.
4621
0b64b838
SM
46222013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4623
7fd72e2c
SM
4624 * faces.el (tty-setup-hook): Declare the hook.
4625
0b64b838
SM
4626 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4627 and detect when a guard/pred depends on local vars (bug#14773).
4628 (pcase--u1): Adjust caller.
4629
ab49d60b
EZ
46302013-07-08 Eli Zaretskii <eliz@gnu.org>
4631
4632 * simple.el (line-move-partial, line-move): Account for
4633 line-spacing.
701d79aa
EZ
4634 (line-move-partial): Avoid setting vscroll when the last
4635 partially-visible line in window is of default height.
ab49d60b 4636
2d756ae0
LMI
46372013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638
4639 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4640 been used a while.
4641
ed095bd7
JB
46422013-07-07 Juanma Barranquero <lekktu@gmail.com>
4643
4644 * subr.el (read-quoted-char): Remove unused local variable `char'.
4645
f1e6674b
MK
46462013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4647
584ee3fc
GM
4648 * ediff.el (ediff-version): Version update.
4649 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4650 (ediff-merge-with-ancestor-command, ediff-directories-command)
4651 (ediff-directories3-command, ediff-merge-directories-command)
4652 (ediff-merge-directories-with-ancestor-command): New functions.
4653 All are command-line interfaces to ediff: to facilitate calling
4654 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4655
4656 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4657 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4658
584ee3fc
GM
4659 * viper.el (viper-version): Version update.
4660 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4661
584ee3fc
GM
46622013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4665 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4666 (viper-intercept-ESC-key): Simplify.
4667 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4668 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4669 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4670 (viper-setup-ESC-to-escape): New functions.
4671 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4672 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4673
9aff9b38
EZ
46742013-07-07 Eli Zaretskii <eliz@gnu.org>
4675
5165d44a
JB
4676 * simple.el (default-font-height, window-screen-lines):
4677 New functions.
9aff9b38
EZ
4678 (line-move, line-move-partial): Use them instead of
4679 frame-char-height and window-text-height. This makes scrolling
4680 text smoother when the buffer's default face uses a font that is
4681 different from the frame's default font.
4682
1afb1d07
JD
46832013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4684
4685 * files.el (write-file): Do not display confirm dialog for NS,
4686 it does its own dialog, which can't be cancelled (Bug#14578).
4687
23de972a
EZ
46882013-07-06 Eli Zaretskii <eliz@gnu.org>
4689
4690 * simple.el (line-move-partial): Adjust the row returned by
4691 posn-at-point for the current window-vscroll. (Bug#14567)
4692
54a42486
MA
46932013-07-06 Michael Albinus <michael.albinus@gmx.de>
4694
4695 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4696 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4697 spaces.
4698
34ada5f4
MR
46992013-07-06 Martin Rudalics <rudalics@gmx.at>
4700
4701 * window.el (window-state-put-stale-windows): New variable.
4702 (window--state-put-2): Save list of windows without matching buffer.
4703 (window-state-put): Remove "bufferless" windows if possible.
4704
11e03d89
JB
47052013-07-06 Juanma Barranquero <lekktu@gmail.com>
4706
4707 * simple.el (alternatives-define): Remove leftover :group keyword.
4708 Tweak docstring.
4709
3504a4be
LL
47102013-07-06 Leo Liu <sdl.web@gmail.com>
4711
4712 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4713 (ido-enable-virtual-buffers): New variable.
4714 (ido-buffer-internal, ido-toggle-virtual-buffers)
4715 (ido-make-buffer-list): Use it.
4716 (ido-exhibit): Support turning on and off virtual buffers
4717 automatically.
4718
61e56e2c
JB
47192013-07-06 Juanma Barranquero <lekktu@gmail.com>
4720
4721 * simple.el (alternatives-define): New macro.
4722
321e1a9c
SM
47232013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * subr.el (read-quoted-char): Use read-key.
4726 (sit-for): Let read-event decode tty input (bug#14782).
4727
d610f6dd
SB
47282013-07-05 Stephen Berman <stephen.berman@gmx.net>
4729
4730 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4731 mode command and externally. Fix various related bugs.
4732 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4733 (todo-delete-file): New command.
4734 (todo-check-file): New function.
4735 (todo-show): Handle external deletion of the file we're trying to
4736 show (bug#14688). Replace called-interactively-p by an optional
4737 prefix argument to avoid problematic interaction with catch form
4738 when byte compiled (bug#14702).
4739 (todo-quit): Handle external deletion of the archive's todo file.
4740 Make sure the buffer that was visiting the archive file is still
4741 live before trying to bury it.
4742 (todo-category-completions): Handle external deletion of any
4743 category completion files.
4744 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4745 of todo files, in case of external deletion.
4746 (todo-add-file): Replace unnecessary setq by let-binding.
4747 (todo-find-archive): Check whether there are any archives.
4748 Replace unnecessary setq by let-binding.
4749 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4750 archive buffer whether or not the archive already exists.
4751 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4752 check if the archive is new; if it is, update list of archives.
4753 (todo-default-todo-file): Allow nil to be a valid value for when
4754 there are no todo files.
4755 (todo-reevaluate-default-file-defcustom): Use corrected definition
4756 of todo-default-todo-file.
4757 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4758 (todo-delete-category, todo-show-categories-table)
4759 (todo-category-number): Clarify comment.
4760 (todo-filter-items): Clarify documentation string.
4761 (todo-show-current-file, todo-display-as-todo-file)
4762 (todo-reset-and-enable-done-separator): Tweak documentation string.
4763 (todo-done-separator): Make separator length window-width, since
4764 bug#2749 is now fixed.
4765
ddbdfd6f
MA
47662013-07-05 Michael Albinus <michael.albinus@gmx.de>
4767
321e1a9c
SM
4768 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4769 Support both "gvfs-monitor-dir" and "inotifywait".
4770 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4771 `tramp-sh-file-notify-process-filter'.
4772 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4773 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4774
96eb829a
LL
47752013-07-05 Leo Liu <sdl.web@gmail.com>
4776
4777 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4778
cf13177e
YM
47792013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4780
4781 * frame.el (display-pixel-height, display-pixel-width)
4782 (display-mm-height, display-mm-width): Mention behavior on
4783 multi-monitor setups in docstrings.
4784 (w32-display-monitor-attributes-list): Declare function.
4785 (display-monitor-attributes-list): Use it.
4786
864c58ca
MA
47872013-07-04 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * filenotify.el: New package.
4790
4791 * autorevert.el (top): Require filenotify.el.
4792 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4793 instead.
4794 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4795 (auto-revert-notify-handler): Use `file-notify-*' functions.
4796
4797 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4798
321e1a9c
SM
4799 * net/tramp.el (tramp-file-name-for-operation):
4800 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4801
4802 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4803 for `file-notify-add-watch' and `file-notify-rm-watch'.
4804 (tramp-process-sentinel): Improve trace.
4805 (tramp-sh-handle-file-notify-add-watch)
4806 (tramp-sh-file-notify-process-filter)
4807 (tramp-sh-handle-file-notify-rm-watch)
4808 (tramp-get-remote-inotifywait): New defuns.
4809
96673afe
JL
48102013-07-03 Juri Linkov <juri@jurta.org>
4811
4812 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4813 call of `occur-read-primary-args' to interactive spec.
4814
4815 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4816 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4817
924494f4
MM
48182013-07-03 Matthias Meulien <orontee@gmail.com>
4819
4820 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4821 `Buffer-menu-multi-occur'. Add it to the menu.
4822 (Buffer-menu-mode): Document it in docstring.
4823 (Buffer-menu-multi-occur): New command. (Bug#14673)
4824
56f75efc
DG
48252013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4826
4827 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4828 keywords and built-ins.
4829
9b057d61
GM
48302013-07-03 Glenn Morris <rgm@gnu.org>
4831
208dee4d
GM
4832 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4833
9b057d61
GM
4834 Make info-xref checks case-sensitive by default
4835 * info.el (Info-find-node, Info-find-in-tag-table)
4836 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4837 Add option for exact case matching of nodes.
4838 * info-xref.el (info-xref): New custom group.
4839 (info-xref-case-fold): New option.
4840 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4841
e01aa29c
LL
48422013-07-03 Leo Liu <sdl.web@gmail.com>
4843
4844 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4845
3086ca2e
DG
48462013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4847
4848 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4849 middle of block statement initially, lower the depth. Remove
4850 FIXME comment, not longer valid. Remove middle of block statement
4851 detection, no need to do that anymore since we've been using
4852 `ruby-parse-region' here.
4853
a3b49114
JD
48542013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4855
4856 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4857
08e5c823 48582013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4859
4860 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4861
2addf922
JB
48622013-07-01 Juanma Barranquero <lekktu@gmail.com>
4863
4864 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4865 (desktop-restore-in-current-display): New customization option.
4866 (desktop--excluded-frame-parameters): Add `font'.
4867 (desktop--save-frames): Rename from desktop--save-windows.
4868 (desktop--restore-in-this-display-p): New function.
4869 (desktop--make-full-frame): Remove unwanted width/height from
4870 full(width|height) frames.
4871 (desktop--restore-frames): Rename from desktop--restore-windows.
4872 Obey desktop-restore-current-display. Do not delete old frames or
4873 select a new frame unless we were able to restore at least one frame.
4874
ef099a94
MN
48752013-06-30 Michal Nazarewicz <mina86@mina86.com>
4876
4877 * files.el (find-file-noselect): Simplify conditional expression.
4878
4879 * remember.el (remember-append-to-file):
4880 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4881
4882 Add `remember-notes' function to store random notes across Emacs
4883 restarts.
4884 * remember.el (remember-data-file): Add :set callback to affect
4885 notes buffer (if any).
4886 (remember-notes): New command.
4887 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4888 New defcustoms for the `remember-notes' function.
4889 (remember-notes-save-and-bury-buffer): New command.
4890 (remember-notes-mode-map): New variable.
4891 (remember-mode): New minor mode.
4892 (remember-notes--kill-buffer-query): New function.
4893 * startup.el (initial-buffer-choice): Add notes to custom type.
4894
0865d506
EZ
48952013-06-30 Eli Zaretskii <eliz@gnu.org>
4896
0ba54312
EZ
4897 * bindings.el (right-char, left-char): Don't call sit-for, this is
4898 no longer needed. Use arithmetic comparison only for numerical
4899 arguments.
4900
ef099a94
MN
4901 * international/mule-cmds.el (select-safe-coding-system):
4902 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4903
2fae38e5
LMI
49042013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905
4906 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4907 progression on degenerate tables.
ef099a94 4908 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4909
a47cbd64
JB
49102013-06-30 Juanma Barranquero <lekktu@gmail.com>
4911
4912 Some fixes and improvements for desktop frame restoration.
4913 It is still experimental and disabled by default.
4914 * desktop.el (desktop--save-windows): Put the selected frame at
4915 the head of the list.
4916 (desktop--make-full-frame): New function.
4917 (desktop--restore-windows): Try to re-select the frame that was
4918 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4919 just show an error message and continue. Set up maximized frames
4920 so they have default non-maximized dimensions.
a47cbd64 4921
6dbafa30
DG
49222013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4923
ef099a94
MN
4924 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4925 Don't start heredoc inside a string or comment.
6dbafa30 4926
4c672a0f
EZ
49272013-06-29 Eli Zaretskii <eliz@gnu.org>
4928
4929 * bindings.el (visual-order-cursor-movement): New defcustom.
4930 (right-char, left-char): Provide visual-order cursor motion by
4931 calling move-point-visually. Update the doc strings.
4932
50960f36
KH
49332013-06-28 Kenichi Handa <handa@gnu.org>
4934
4935 * international/mule.el (define-coding-system): New coding system
4936 properties :inhibit-null-byte-detection,
4937 :inhibit-iso-escape-detection, and :prefer-utf-8.
4938 (set-buffer-file-coding-system): If :charset-list property of
4939 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4940 appropriate for setting.
4941
c1ea3abf
JB
4942 * international/mule-cmds.el (select-safe-coding-system):
4943 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4944 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4945
4946 * international/mule-conf.el (prefer-utf-8): New coding system.
4947 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4948 files.
4949
75dbaf9d
IK
49502013-06-28 Ivan Kanis <ivan@kanis.fr>
4951
eadb6068
IK
4952 * net/shr.el (shr-render-region): New function.
4953
75dbaf9d
IK
4954 * net/eww.el: Autoload `eww-browse-url'.
4955
9ea5cf9f
DG
49562013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4957
c1ea3abf
JB
4958 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4959 Adapt to `package-desc-version' being a list.
4960 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4961 archive element.
4962
39c0e36f
JB
49632013-06-27 Juanma Barranquero <lekktu@gmail.com>
4964
4965 New experimental feature to save&restore window and frame setup.
4966 * desktop.el (desktop-save-windows): New defcustom.
4967 (desktop--saved-states): New var.
4968 (desktop--excluded-frame-parameters): New defconst.
4969 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4970 (desktop--restore-windows, desktop--save-windows): New functions.
4971 (desktop-save): Call `desktop--save-windows'.
4972 (desktop-read): Call `desktop--restore-windows'.
4973
7f13406b
LMI
49742013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4975
ef099a94 4976 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4977
1e072639
SB
49782013-06-27 Stephen Berman <stephen.berman@gmx.net>
4979
4980 * info.el (Info-try-follow-nearest-node): Move search for footnote
4981 above search for node name to prevent missing a footnote (bug#14717).
4982
f3e2cbde
SB
49832013-06-27 Stephen Berman <stephen.berman@gmx.net>
4984
4985 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4986
99906aa0
LL
49872013-06-27 Leo Liu <sdl.web@gmail.com>
4988
4989 * net/eww.el (eww-read-bookmarks): Check file size.
4990
539f75f4
SM
49912013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4994 advice--pending if newdef is nil or an autoload (bug#13820).
4995 (advice-mapc): New function.
4996
843571cb
LMI
49972013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4998
4999 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5000 probably.
23a75d7f 5001 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5002 (eww-add-bookmark): New command.
5003 (eww-bookmark-mode): New mode and commands.
a285ce99 5004 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5005 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5006
f2136e1e
GM
50072013-06-26 Glenn Morris <rgm@gnu.org>
5008
eab35f39
GM
5009 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5010 (hfy-size): Handle ttys. (Bug#14668)
5011
f2136e1e
GM
5012 * info-xref.el: Update for Texinfo 5 change in *note format.
5013 (info-xref-node-re, info-xref-note-re): New constants.
5014 (info-xref-check-buffer): Use info-xref-note-re.
5015
a49ff80c
SM
50162013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5017
a343d218
SM
5018 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5019
a49ff80c
SM
5020 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5021 nil terminate the loop (bug#14718).
5022
8308f184
LMI
50232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5024
5025 * net/eww.el: Rework history traversal. When going forward/back,
5026 put these actions into the history, too, so that they can be
5027 replayed.
26bf2b82 5028 (eww-render): Move the history reset to the correct buffer.
8308f184 5029
ec64c273
JL
50302013-06-25 Juri Linkov <juri@jurta.org>
5031
5032 * files-x.el (modify-dir-local-variable): Change the header comment
5033 in the file with directory local variables. (Bug#14692)
5034
e080a9d7
JL
5035 * files-x.el (read-file-local-variable-value): Add `default'.
5036 (Bug#14710)
5037
bfbc93a1
IK
50382013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5039
5040 * net/eww.el (eww-make-unique-file-name): Create a unique file
5041 name before saving to entering `y' accidentally asynchronously.
5042
50432013-06-25 Ivan Kanis <ivan@kanis.fr>
5044
5045 * net/eww.el (eww-download): New command and keystroke.
5046
16f74f10
LMI
50472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5048
a49ff80c 5049 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5050
5051 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5052 be more consistent with Info and dired.
5053
5054 * net/eww.el (eww-mode-map): Ditto.
5055
12059709
SM
50562013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5059 packages from archives.
5060 (package-archive-contents): Change format; include obsolete packages.
5061 (package-desc): Use `dir' to mark builtin packages.
5062 (package--from-builtin): Set the `dir' field to `builtin'.
5063 (generated-autoload-file, version-control): Declare.
5064 (package-compute-transaction): Change first arg and return value to be
5065 lists of package-descs. Adjust to new package-archive-contents format.
5066 (package--add-to-archive-contents): Adjust to new
5067 package-archive-contents format.
5068 (package-download-transaction): Arg is now a list of package-descs.
5069 (package-install): If `pkg' is a package name, pass it as
5070 a requirement, so it is subject to the usual (e.g. disabled) checks.
5071 (describe-package): Accept package-desc as well.
5072 (describe-package-1): Describe a specific package-desc. Add links to
5073 other package-descs for the same package name.
5074 (package-menu-describe-package): Pass the actual package-desc.
5075 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5076 works correctly.
5077 (package-desc-status): New function.
5078 (package-menu--refresh): New function, extracted
5079 from package-menu--generate.
5080 (package-menu--generate): Use it.
5081 (package-delete): Update package-alist.
5082 (package-menu-execute): Don't call package-initialize.
5083
5084 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5085 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5086 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5087 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5088 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5089 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5090
8bbdea0f
MR
50912013-06-25 Martin Rudalics <rudalics@gmx.at>
5092
5093 * window.el (window--state-get-1): Workaround for bug#14527.
5094 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5095
e82b0991
LMI
50962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5097
5098 * net/eww.el (eww-back-url): Implement the history by stashing all
5099 the data into a list.
d3f0f918 5100 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5101
c763842b
SM
51022013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5105 for values and use read--expression for expressions (bug#14710).
5106 (read-file-local-variable): Avoid setq.
5107 (read-file-local-variable-mode): Use minor-mode-list.
5108
bceff189
RW
51092013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5110
864c58ca 5111 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5112 for DOI URLs.
5113
45f431c6
RW
51142013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5115
864c58ca 5116 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5117 Update imenu-support when dialect changes.
5118
f42d8237
LL
51192013-06-25 Leo Liu <sdl.web@gmail.com>
5120
5121 * ido.el (ido-read-internal): Allow forward slash on windows.
5122
be549ce6
LMI
51232013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5124
5125 * net/eww.el (eww): Start of strings is \\`, not ^.
5126
71d4c19d
IK
51272013-06-24 Ivan Kanis <ivan@kanis.fr>
5128
5196f88a
IK
5129 * net/shr.el (shr-browse-url): Fix interactive spec.
5130
71d4c19d
IK
5131 * net/eww.el (eww): Add a trailing slash to domain names.
5132
ae36ca55
JB
51332013-06-24 Juanma Barranquero <lekktu@gmail.com>
5134
5135 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5136
0ebd92a3
LMI
51372013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5138
bdaa086b
LMI
5139 * net/shr.el (shr-browse-url): Use an external browser if given a
5140 prefix.
5141
c763842b 5142 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5143
b89fc156
IK
51442013-06-24 Ivan Kanis <ivan@kanis.fr>
5145
5146 * net/eww.el (eww): Work more correctly for file: URLs.
5147 (eww-detect-charset): Allow quoted charsets.
5148 (eww-yank-page-url): New command and keystroke.
5149
18eb4bca
DU
51502013-06-24 Daiki Ueno <ueno@gnu.org>
5151
5152 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5153 file name of gpg executable.
5154 (epg-context-program): New function.
5155 (epg-context-home-directory): New function.
5156 (epg-context-set-program): New function.
5157 (epg-context-set-home-directory): New function.
5158 (epg--start): Use `epg-context-program' instead of
5159 'epg-gpg-program'.
5160 (epg--list-keys-1): Likewise.
5161
6c6268c8
LL
51622013-06-24 Leo Liu <sdl.web@gmail.com>
5163
5164 * ido.el (ido-read-internal): Fix bug#14620.
5165
5e400cb3
JB
51662013-06-23 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * faces.el (face-documentation): Simplify.
5169 (read-face-attribute, tty-find-type, x-resolve-font-name):
5170 Use `string-match-p'.
5171 (list-faces-display): Use `string-match-p'. Simplify.
5172 (face-spec-recalc): Check face to avoid face alias loops.
5173 (read-color): Use `string-match-p' and non-capturing parenthesis.
5174
f3f9606c
LMI
51752013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5176
5177 * net/shr.el (shr-rescale-image): Use the new
5178 :max-width/:max-height functionality.
5179
a3ca09b9
IK
51802013-06-23 Ivan Kanis <ivan@kanis.fr>
5181
5182 * net/eww.el (eww-search-prefix): New variable.
5183 (eww): Use it.
f865b474
IK
5184 (eww-external-browser): New variable.
5185 (eww-mode-map): New keystroke.
5186 (eww-browse-with-external-browser): New command.
a3ca09b9 5187
e854cfc7
IK
5188 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5189
18bb9e21
JB
51902013-06-23 Juanma Barranquero <lekktu@gmail.com>
5191
5192 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5193 Don't skip aligning the next header field when padding is 0;
5194 otherwise, field width is not respected unless the title is as
5195 wide as the field.
5196
5b165ade
SM
51972013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 * emacs-lisp/package.el (package-el-version): Remove.
5200 (package-process-define-package): Fix inf-loop.
5201 (package-install): Allow symbols as arguments again.
5202
12adebe9
DG
52032013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5204
5205 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5206 add some more keyword-like methods.
5207 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5208
388573ee
JB
52092013-06-22 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * bs.el (bs-buffer-show-mark): Make defvar-local.
5212 (bs-mode): Use setq-local.
5213
5214 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5215 (emacs-lock--try-unlocking): Make defvar-local.
5216
4582a01c 52172013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5218
2663dd23
GM
5219 * play/cookie1.el (cookie-apropos): Minor simplification.
5220
3d94f3ad
GM
5221 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5222
f72e2fdb
DG
52232013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5224
5225 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5226 `regexp-opt', it breaks the build during dumping.
5227
73eab938
DG
52282013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5229
c763842b
SM
5230 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5231 Highlight keyword-like methods on Kernel and Module with
73eab938 5232 font-lock-builtin-face.
5cf8176d
DG
5233 (auto-mode-alist): Consolidate different entries into one regexp
5234 and add more *file-s.
73eab938 5235
d26255f6
SB
52362013-06-21 Stephen Berman <stephen.berman@gmx.net>
5237
5238 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5239
5240 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5241 (diary-entry): Use it in the action of this button type instead of
5242 diary-goto-entry.
5243
5244 * calendar/todo-mode.el: New version.
5245 (todo-add-category): Append new category to end of file and give
5246 it the highest number, instead of putting it at the beginning and
5247 giving it 0. Incorporate noninteractive functionality.
5248 (todo-forward-category): Adapt to 1-based category numbering.
5249 Allow skipping over archived categories.
5250 (todo-backward-category): Derive from todo-forward-category.
5251 (todo-backward-item, todo-forward-item): Make noninteractive and
5252 delegate interactive part to new commands. Make sensitive to done items.
5253 (todo-categories): Make value an alist of category names and
5254 vectors of item counts.
5255 (todo-category-beg): Make a defconst.
5256 (todo-category-number): Use 1 instead of 0 as initial value.
5257 (todo-category-select): Make sensitive to overlays, optional item
5258 highlighting and done items.
5259 (todo-delete-item): Make sensitive to overlays and marked and done items.
5260 (todo-edit-item): Make sensitive to overlays and editing of
5261 date/time header optional. Add format checks.
5262 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5263 no-op if point is not on an item. Advertise using todo-edit-quit.
5264 (todo-edit-mode): Make sensitive to new format, font-locking, and
5265 multiple todo files.
5266 (todo-insert-item, todo-insert-item-here): Derive from
5267 todo-basic-insert-item and extend functionality.
5268 (todo-item-end, todo-item-start): Make sensitive to done items.
5269 (todo-item-string): Don't return text properties. Restore point.
5270 (todo-jump-to-category): Make sensitive to multiple todo files and
5271 todo archives. Use extended category completion.
5272 (todo-lower-item, todo-raise-item): Rename to *-priority and
5273 derive from todo-set-item-priority.
5274 (todo-mode): Derive from special-mode. Make sensitive to new
5275 format, font-locking and multiple todo files. Make read-only.
5276 (todo-mode-map): Don't suppress digit keys, so they can supply
5277 prefix arguments. Add many new key bindings.
5278 (todo-prefix): Insert as an overlay instead of file text.
5279 Change semantics from diary date expression to purely visual mark.
5280 (todo-print): Rename to todo-print-buffer. Make buffer display
5281 features printable. Remove option to restrict number of items
5282 printed. Add option to print to file.
5283 (todo-print-function): Rename to todo-print-buffer-function.
5284 (todo-quit): Extend to handle exiting new todo modes.
5285 (todo-remove-item): Make sensitive to overlays.
5286 (todo-save): Extend to buffers of filtered items.
5287 (todo-show): Make sensitive to done items, multiple todo files and
5288 new todo modes. Offer to convert legacy todo file before creating
5289 first new todo file.
5290 (todo-show-priorities): Rename to todo-top-priorities.
5291 Change semantics of value 0.
5292 (todo-top-priorities): Rename to todo-filter-top-priorities,
5293 derive from todo-filter-items and extend functionality.
5294 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5295 and extend functionality to other types of filtered items.
5296 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5297 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5298 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5299 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5300 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5301 (todo-edit-mode-hook, todo-entry-prefix-function)
5302 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5303 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5304 (todo-initials, todo-insert-threshold, todo-item-string-start)
5305 (todo-line-string, todo-menu, todo-mode-hook)
5306 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5307 (todo-print-priorities, todo-remove-separator)
5308 (todo-save-top-priorities-too, todo-string-count-lines)
5309 (todo-string-multiline-p, todo-time-string-format)
5310 (todo-tmp-buffer-name): Remove.
5311 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5312 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5313 (todo-edit-category-diary-inclusion)
5314 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5315 (todo-edit-file, todo-edit-item-date-day)
5316 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5317 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5318 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5319 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5320 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5321 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5322 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5323 (todo-filter-top-priorities-multifile, todo-find-archive)
5324 (todo-find-filtered-items-file, todo-go-to-source-item)
5325 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5326 (todo-jump-to-archive-category, todo-lower-category)
5327 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5328 (todo-move-category, todo-move-item, todo-next-button)
5329 (todo-next-item, todo-padded-string, todo-powerset)
5330 (todo-previous-button, todo-previous-item)
5331 (todo-print-buffer-to-file, todo-raise-category)
5332 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5333 (todo-set-category-number, todo-set-item-priority)
5334 (todo-set-top-priorities-in-category)
5335 (todo-set-top-priorities-in-file, todo-show-categories-table)
5336 (todo-sort-categories-alphabetically-or-numerically)
5337 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5338 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5339 (todo-toggle-item-header, todo-toggle-item-highlighting)
5340 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5341 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5342 (todo-unarchive-items, todo-unmark-category): New commands.
5343 (todo-absolute-file-name, todo-add-to-buffer-list)
5344 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5345 (todo-basic-insert-item, todo-category-completions)
5346 (todo-category-number, todo-category-string-matcher-1)
5347 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5348 (todo-check-format, todo-clear-matches)
5349 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5350 (todo-current-category, todo-date-string-matcher)
5351 (todo-define-insertion-command, todo-diary-expired-matcher)
5352 (todo-diary-goto-entry, todo-diary-item-p)
5353 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5354 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5355 (todo-done-item-section-p, todo-done-separator)
5356 (todo-done-string-matcher, todo-files, todo-filter-items)
5357 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5358 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5359 (todo-insert-category-line, todo-insert-item-from-calendar)
5360 (todo-insert-sort-button, todo-insert-with-overlays)
5361 (todo-insertion-command-name, todo-insertion-key-bindings)
5362 (todo-label-to-key, todo-longest-category-name-length)
5363 (todo-make-categories-list, todo-mode-external-set)
5364 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5365 (todo-modes-set-3, todo-multiple-filter-files)
5366 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5367 (todo-read-category, todo-read-date, todo-read-dayname)
5368 (todo-read-file-name, todo-read-time)
5369 (todo-reevaluate-category-completions-files-defcustom)
5370 (todo-reevaluate-default-file-defcustom)
5371 (todo-reevaluate-filelist-defcustoms)
5372 (todo-reevaluate-filter-files-defcustom)
5373 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5374 (todo-reset-done-separator, todo-reset-done-separator-string)
5375 (todo-reset-done-string, todo-reset-global-current-todo-file)
5376 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5377 (todo-reset-prefix, todo-set-categories)
5378 (todo-set-date-from-calendar, todo-set-show-current-file)
5379 (todo-set-top-priorities, todo-short-file-name)
5380 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5381 (todo-total-item-counts, todo-update-buffer-list)
5382 (todo-update-categories-display, todo-update-categories-sexp)
5383 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5384 New functions.
5385 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5386 New major modes.
5387 (todo-categories, todo-display, todo-edit, todo-faces)
5388 (todo-filtered): New defgroups.
5389 (todo-archived-only, todo-button, todo-category-string, todo-date)
5390 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5391 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5392 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5393 (todo-add-item-if-new-category, todo-always-add-time-string)
5394 (todo-categories-align, todo-categories-archived-label)
5395 (todo-categories-category-label, todo-categories-diary-label)
5396 (todo-categories-done-label, todo-categories-number-separator)
5397 (todo-categories-todo-label, todo-categories-totals-label)
5398 (todo-category-completions-files, todo-completion-ignore-case)
5399 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5400 (todo-done-separator-string, todo-done-string)
5401 (todo-files-function, todo-filter-done-items, todo-filter-files)
5402 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5403 (todo-initial-category, todo-initial-file, todo-item-mark)
5404 (todo-legacy-date-time-regexp, todo-mode-line-function)
5405 (todo-nondiary-marker, todo-number-prefix)
5406 (todo-print-buffer-function, todo-show-current-file)
5407 (todo-show-done-only, todo-show-first, todo-show-with-done)
5408 (todo-skip-archived-categories, todo-top-priorities-overrides)
5409 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5410 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5411 New defcustoms.
5412 (todo-category-done, todo-date-pattern, todo-date-string-start)
5413 (todo-diary-items-buffer, todo-done-string-start)
5414 (todo-filtered-items-buffer, todo-item-start)
5415 (todo-month-abbrev-array, todo-month-name-array)
5416 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5417 (todo-top-priorities-buffer): New defconsts.
5418 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5419 (todo-categories-with-marks, todo-category-string-face)
5420 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5421 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5422 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5423 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5424 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5425 (todo-font-lock-keywords, todo-global-current-todo-file)
5426 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5427 (todo-insertion-commands-args)
5428 (todo-insertion-commands-args-genlist)
5429 (todo-insertion-commands-names, todo-insertion-map)
5430 (todo-key-bindings-t, todo-key-bindings-t+a)
5431 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5432 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5433 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5434 (todo-visited): New variables.
5435
cad5d1cb
GM
54362013-06-21 Glenn Morris <rgm@gnu.org>
5437
5438 * play/cookie1.el (cookie-apropos): Add optional display argument.
5439 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5440 (psychoanalyze-pinhead): Use cookie-doctor.
5441
9e277302
JB
54422013-06-21 Juanma Barranquero <lekktu@gmail.com>
5443
5444 * emacs-lisp/package.el (tar-get-file-descriptor)
5445 (tar--extract): Declare.
5446
c5b0993e
EW
54472013-06-21 Eduard Wiebe <usenet@pusto.de>
5448
5449 Extend flymake's warning predicate to be a function (bug#14217).
5450 * progmodes/flymake.el (flymake-warning-predicate): New.
5451 (flymake-parse-line): Use it.
5452 (flymake-warning-re): Make obsolete alias to
5453 `flymake-warning-predicate'.
5454
a7d2d465
SM
54552013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5458 (package-obsolete-list): Remove.
5459 (package-activate): Remove min-version argument. Add `force' argument.
5460 Adjust to new package-alist format.
5461 (package-mark-obsolete): Remove.
5462 (package-unpack): Force reload of the package's autoloads.
5463 (package-installed-p): Check builtins if the installed package is not
5464 recent enough.
5465 (package-initialize): Don't reset package-obsolete-list.
5466 Don't specify which package version to activate.
5467 (package-process-define-package, describe-package-1)
5468 (package-menu--generate): Adjust to new package-alist format.
5469
cedf5c9d
JB
54702013-06-21 Juanma Barranquero <lekktu@gmail.com>
5471
5472 * allout-widgets.el (allout-widgets-mode-off)
5473 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5474 (allout-widgets-post-command-business)
5475 (allout-widgets-after-copy-or-kill-function)
5476 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5477 (allout-decorate-item-and-context)
5478 (allout-graphics-modification-handler): Fix typos in docstrings.
5479 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5480
5481 * cmuscheme.el (scheme-start-file): Doc fix.
5482 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5483 (scheme-input-filter): Use `string-match-p'.
5484
5485 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5486
5487 * dired-x.el: Use Dired consistently in docstrings.
5488
5489 * dired.el: Use Dired consistently in docstrings.
5490 (dired-readin, dired-mode): Use `setq-local'.
5491 (dired-switches-alist): Make defvar-local.
5492 (dired-buffers-for-dir): Use `zerop'.
5493 (dired-safe-switches-p, dired-switches-escape-p)
5494 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5495 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5496 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5497 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5498 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5499 (dired-toggle-marks, dired-mark-files-containing-regexp)
5500 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5501 (dired-flag-auto-save-files, dired-flag-backup-files):
5502 Use `looking-at-p'.
5503 (dired-mark-files-regexp, dired-build-subdir-alist):
5504 Use `string-match-p', `looking-at-p'.
5505
5506 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5507 (direct-print-region-helper): Use `string-match-p'.
5508
aed838b5
LL
55092013-06-21 Leo Liu <sdl.web@gmail.com>
5510
cedf5c9d
JB
5511 * comint.el (comint-redirect-results-list-from-process):
5512 Fix infinite loop.
aed838b5 5513
d80a808f
LMI
55142013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5515
5516 * net/eww.el (eww-update-header-line-format): Quote % characters.
5517
e7a526e3
GM
55182013-06-21 Glenn Morris <rgm@gnu.org>
5519
5520 * play/cookie1.el (cookie): New custom group.
5521 (cookie-file): New option.
5522 (cookie-check-file): New function.
5523 (cookie): Make it interactive. Make start and end messages optional.
5524 Interactively, display the result. Default to cookie-file.
5525 (cookie-insert): Default to cookie-file.
5526 (cookie-snarf): Make start and end messages optional.
5527 Default to cookie-file. Use with-temp-buffer.
5528 (cookie-read): Rename from read-cookie.
5529 Make start and end messages optional. Default to cookie-file.
5530 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5531 Do not autoload it.
e7a526e3
GM
5532 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5533 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5534
62efb35e
LL
55352013-06-21 Leo Liu <sdl.web@gmail.com>
5536
5537 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5538
21e3f963
GM
55392013-06-21 Glenn Morris <rgm@gnu.org>
5540
5541 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5542
fd846ab4
SM
55432013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5544 Daniel Hackney <dan@haxney.org>
5545
5546 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5547 Consolidate the single-file vs tarball code.
5548 (package-desc-suffix): New function.
5549 (package-desc-full-name): Don't bother inlining it.
5550 (package-load-descriptor): Return the new package-desc.
5551 (package-mark-obsolete): Remove unused arg `package'.
5552 (package-unpack): Make it work for single files as well.
5553 Make it update package-alist.
5554 (package--make-autoloads-and-stuff): Rename from
5555 package--make-autoloads-and-compile. Don't compile any more.
5556 (package--compile): New function.
5557 (package-generate-description-file): New function, extracted from
5558 package-unpack-single.
5559 (package-unpack-single): Remove.
5560 (package--with-work-buffer): Add indentation and debugging info.
5561 (package-download-single): Remove.
5562 (package-install-from-archive): Rename from package-download-tar, make
5563 it take a pkg-desc, and make it work for single files as well.
5564 (package-download-transaction): Simplify.
5565 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5566 external tar program.
5567 (package-install-from-buffer): Remove `pkg-desc' argument.
5568 Use package-tar-file-info for tar-mode buffers.
5569 (package-install-file): Simplify accordingly.
5570 (package-archive-base): Change to take a pkg-desc.
5571 * tar-mode.el (tar--check-descriptor): New function, extracted from
5572 tar-get-descriptor.
5573 (tar-get-descriptor): Use it.
5574 (tar-get-file-descriptor): New function.
5575 (tar--extract): New function, extracted from tar-extract.
5576 (tar--extract): Use it.
5577 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5578 case the summary uses non-ascii. Adjust to new calling convention of
5579 package-tar-file-info.
5580
b7deae5e
LL
55812013-06-21 Leo Liu <sdl.web@gmail.com>
5582
fd846ab4
SM
5583 * comint.el (comint-redirect-results-list-from-process):
5584 Fix random delay. (Bug#14681)
b7deae5e 5585
7a65a0b2
JB
55862013-06-21 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * profiler.el (profiler-format-number): Use log, not log10.
5589
1493c2af
JB
55902013-06-20 Juanma Barranquero <lekktu@gmail.com>
5591
5592 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5593
aff6371e
SM
55942013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5597 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5598 yet available.
5599 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5600 (AUTOGENEL): ... here.
5601 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5602 (cl--defsubst-expand): Use it.
5603
89561f72
PE
56042013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5605
5606 * subr.el (log10): Move here from C code, and declare as obsolete.
5607 All uses of (log10 X) replaced with (log X 10).
5608
47199123
JB
56092013-06-20 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5612 Declare with `defvar-local'.
5613 (tabulated-list-use-header-line, tabulated-list-entries)
5614 (tabulated-list-padding, tabulated-list-printer)
5615 (tabulated-list-sort-key): Declare with `defvar-local'.
5616 (tabulated-list-init-header, tabulated-list-print-fake-header):
5617 Use `setq-local'.
5618
4a172eab
MA
56192013-06-20 Michael Albinus <michael.albinus@gmx.de>
5620
47199123
JB
5621 * arc-mode.el (archive-mode): Add `archive-write-file' to
5622 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5623
5fc0acc0
JB
56242013-06-20 Juanma Barranquero <lekktu@gmail.com>
5625
d5b27848
JB
5626 * cus-edit.el (custom-commands): Fix typos.
5627 (custom-display): Fix tooltip text.
5628 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5629 Fix typos in docstrings.
5630 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5631 (custom-unlispify-menu-entry, custom-magic-value-create)
5632 (custom-add-see-also, custom-group-value-create): Use ?\s.
5633 (custom-guess-type, customize-apropos, editable-field)
5634 (custom-face-value-create): Use `string-match-p'.
5635 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5636
5637 * custom.el (custom-load-symbol): Use `string-match-p'.
5638
a5c581d8
JB
5639 * ansi-color.el: Convert to lexical binding.
5640 (ansi-colors): Fix URL.
5641 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5642 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5643 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5644
970ad972
G
56452013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5646
5647 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5648
5649 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5650
56512013-06-19 Tom Tromey <tromey@redhat.com>
5652
5653 * net/eww.el (eww-top-url): Remove.
5654 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5655 (eww-render): Set new variables. Don't set eww-top-url.
5656 (eww-handle-link): Handle "prev", "home", and "contents".
5657 Downcase the rel text.
5658 (eww-top-url): Choose best top URL.
5659
56602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5661
5662 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5663 relying in widget.el. Using widget.el leads to too many
5664 user interface inconsistencies.
5665 (eww-self-insert): Implement entering commands in text fields.
5666 (eww-process-text-input): New function to make text input field editing
5667 work.
5668 (eww-submit): Rewrite to use the new-style form methods.
5669 (eww-select-display): Display the correct selected item.
5670 (eww-change-select): Implement changing the select value.
5671 (eww-toggle-checkbox): Implement radio/checkboxes.
5672 (eww-update-field): Fix compilation error.
5673 (eww-tag-textarea): Implement <textarea>.
5674
5675 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5676 we don't shadow mode-specific bindings.
5677
5678 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5679 nothing to push.
5680
5681 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5682
4582a01c 56832013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5684
5685 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5686
15b263dc
MA
56872013-06-19 Michael Albinus <michael.albinus@gmx.de>
5688
5689 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5690 not needed.
5691
5692 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5693
8f5297f7
LMI
56942013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5695
5696 * net/browse-url.el (browse-url-browser-function):
5697 `eww-browse-url' has the right calling signature, `eww' does not.
5698
011c4552
GM
56992013-06-19 Glenn Morris <rgm@gnu.org>
5700
2285bd27
GM
5701 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5702 Only eval autoloaded macros.
5703 (byte-compile-autoload): Only give the macro warning for macros.
5704
1d653303
GM
5705 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5706 (ps-underlined-faces): Declare.
5707
bdd779ec
GM
5708 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5709 (speedbar-add-supported-extension): Declare.
5710
011c4552
GM
5711 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5712 Don't include a date stamp in the header of the generated file;
5713 it leads to needless differences between output files.
5714
e59dfb0e
MA
57152013-06-19 Michael Albinus <michael.albinus@gmx.de>
5716
c763842b
SM
5717 * net/secrets.el (secrets-struct-secret-content-type):
5718 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5719 Some servers do not offer introspection.
e59dfb0e 5720
102626e2
SM
57212013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * electric.el (electric-pair-mode): Improve interaction with
5724 electric-layout-mode.
5725 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5726 (electric-pair-syntax): Use text-mode-syntax-table in comments
5727 and strings.
5728 (electric-pair--insert): New function.
5729 (electric-pair-post-self-insert-function): Use it and
5730 electric--after-char-pos.
5731
ad528125
LL
57322013-06-19 Leo Liu <sdl.web@gmail.com>
5733
5734 * progmodes/octave.el (octave-help): Fix regexp.
5735
924d6997
G
57362013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5737
5738 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5739 (shr-table-horizontal-line): Allow nil as a value, and change the
5740 default.
5741 (shr-insert-table-ruler): Respect the nil value.
5742
57432013-06-18 Tom Tromey <tromey@barimba>
5744
5745 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5746 New defvars.
5747 (eww-open-file): New defun.
5748 (eww-render): Initialize new variables.
5749 (eww-display-html): Handle "link" and "a".
5750 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5751 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5752 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5753 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5754 New defuns.
924d6997 5755
d1bbba4f
DG
57562013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5757
5758 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5759 Distinguish ternary operator tokens from slash symbol and slash
5760 char literal.
5761
14dd22d2
JB
57622013-06-18 Juanma Barranquero <lekktu@gmail.com>
5763
5764 Convert symbol prettification into minor mode and global minor mode.
5765
5766 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5767 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5768 (prettify-symbols--keywords): Rename from
5769 `prog-prettify-symbols-alist' and make a local defvar.
5770 (prettify-symbols--compose-symbol): Rename from
5771 `prog--prettify-font-lock-compose-symbol'.
5772 (prettify-symbols--make-keywords): Rename from
5773 `prog-prettify-font-lock-symbols-keywords' and simplify.
5774 (prog-prettify-install): Remove.
5775 (prettify-symbols-mode): New minor mode, based on
5776 `prog-prettify-install'.
5777 (turn-on-prettify-symbols-mode): New function.
5778 (global-prettify-symbols-mode): New globalized minor mode.
5779
5780 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5781 * progmodes/cfengine.el (cfengine3-mode):
5782 * progmodes/perl-mode.el (perl-mode): Don't call
5783 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5784
292c880c
JL
57852013-06-18 Juri Linkov <juri@jurta.org>
5786
5787 * files-x.el (modify-file-local-variable-message): New function.
5788 (modify-file-local-variable)
5789 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5790 and call `modify-file-local-variable-message' when it's non-nil.
5791 (add-file-local-variable, delete-file-local-variable)
5792 (add-file-local-variable-prop-line)
5793 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5794 and use it. (Bug#9820)
5795
0950aa27
JL
57962013-06-18 Juri Linkov <juri@jurta.org>
5797
5798 * emulation/vi.el (vi-shell-op):
5799 * emulation/vip.el (vip-execute-com, ex-command):
5800 * emulation/viper-cmd.el (viper-exec-bang):
5801 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5802 the call of `shell-command-on-region'. (Bug#14637)
5803
5804 * simple.el (shell-command-on-region): Doc fix.
5805
8fbcca16
SM
58062013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5809 (bug#14633).
5810
dd7426ea
GM
58112013-06-18 Glenn Morris <rgm@gnu.org>
5812
4ba54f7d
GM
5813 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5814
dd7426ea
GM
5815 * newcomment.el (comment-search-forward, comment-search-backward):
5816 Doc fix. (Bug#14376)
5817
58aa805b
JB
58182013-06-18 Juanma Barranquero <lekktu@gmail.com>
5819
5820 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5821 (buffer-face-mode-invoke): Doc fix.
5822
9a08a617
MM
58232013-06-18 Matthias Meulien <orontee@gmail.com>
5824
5825 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5826 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5827
f2f426ca
GM
58282013-06-18 Glenn Morris <rgm@gnu.org>
5829
9445f99b
GM
5830 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5831 Replace obsolete function generic-make-keywords with its expansion.
5832
e0df2d14
GM
5833 * progmodes/python.el (ffap-alist): Declare.
5834
f2f426ca
GM
5835 * textmodes/reftex.el (bibtex-mode-map): Declare.
5836
f7f9a720
SM
58372013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5840 (package-unpack, package-unpack-single): Return the pkg-dir.
5841 (package-download-transaction): Use it to update package-alist.
5842
57ff04e0
LMI
58432013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5844
5845 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5846 possible choice.
5847
c048c022
JL
58482013-06-17 Juri Linkov <juri@jurta.org>
5849
5850 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5851
b5bcaee5
DG
58522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5853
a020afb9
JB
5854 * emacs-lisp/package.el (package-load-descriptor):
5855 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5856 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5857
551e07e5
JB
58582013-06-17 Juanma Barranquero <lekktu@gmail.com>
5859
5860 * startup.el (command-line): Expand package name returned by
5861 `package--description-file' (bug#14639).
5862
d363bffb
DG
58632013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5864
5865 * emacs-lisp/package.el (package-load-descriptor): Do not call
5866 `emacs-lisp-mode', just use its syntax table.
5867
f612933b
JB
58682013-06-17 Juanma Barranquero <lekktu@gmail.com>
5869
5870 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5871 `font-lock-extra-managed-props' if any prettifying keyword is added.
5872 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5873 (prog-mode): Use `setq-local'.
5874
db3b7db5
SM
58752013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * international/characters.el (standard-case-table): Set syntax of ?»
5878 and ?« to punctuation.
5879
f3d674df
JB
58802013-06-16 Juanma Barranquero <lekktu@gmail.com>
5881
5882 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5883 Save relevant match data before calling `syntax-ppss' (bug#14595).
5884
31489a32
JL
58852013-06-15 Juri Linkov <juri@jurta.org>
5886
5887 * files-x.el (modify-file-local-variable-prop-line): Add local
5888 variables to the end of the existing comment on the first line.
5889 Use `file-auto-mode-skip' to skip interpreter magic line,
5890 and also skip XML declaration.
5891
66bd25ab
SM
58922013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5893
5894 * startup.el (package--builtin-versions): New var.
5895 (package-subdirectory-regexp): Remove.
5896 (package--description-file): Hard code its value instead.
5897
5898 * emacs-lisp/package.el: Don't activate packages older than builtin.
5899 (package-obsolete-list): Rename from package-obsolete-alist, and make
5900 it into a simple list of package-desc.
5901 (package-strip-version): Remove.
5902 (package-built-in-p): Use package--builtin-versions.
5903 (package-mark-obsolete): Simplify.
5904 (package-process-define-package): Mark it obsolete if older than the
5905 builtin version.
5906 (package-handle-response): Use line-end-position.
5907 (package-read-archive-contents, package--download-one-archive):
5908 Simplify.
5909 (package--add-to-archive-contents): Skip if older than the builtin or
5910 installed version.
5911 (package-menu-describe-package): Fix last change.
5912 (package-list-unversioned): New var.
5913 (package-menu--generate): Use it.
5914
5915 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5916 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5917 (autoload-builtin-package-versions): New variable.
5918 (autoload-generate-file-autoloads): Use them.
5919 Remove the list of autoloaded functions/macros from the
5920 (autoload...) comments.
5921
5922 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5923
9583ec36
EZ
59242013-06-15 Eli Zaretskii <eliz@gnu.org>
5925
5926 * simple.el (line-move-partial): Don't jump to the next screen
5927 line as soon as it becomes visible. Instead, continue enlarging
5928 the vscroll until the portion of a tall screen line that's left on
5929 display is about the height of the frame's default font.
5930 (Bug#14567)
5931
f0100d8a
GM
59322013-06-15 Glenn Morris <rgm@gnu.org>
5933
b86a85ca
GM
5934 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5935 compilation-error-regexp-alist void, or local while let-bound.
5936
f0100d8a
GM
5937 * progmodes/make-mode.el (makefile-mode-syntax-table):
5938 Treat "=" as punctuation. (Bug#14614)
5939
05e7ce90
JB
59402013-06-15 Juanma Barranquero <lekktu@gmail.com>
5941
5942 * help-fns.el (describe-variable):
5943 Add extra line for permanent-local variables.
5944
12e5e86e
SH
59452013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5946
5947 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5948 Add export, import, library. (Bug#9164)
5949 (library): Set indent function.
5950
230dcbaf
GM
59512013-06-14 Glenn Morris <rgm@gnu.org>
5952
5953 * term/xterm.el (xterm--query):
5954 Stop after first matching handler. (Bug#14615)
5955
e36b2d20 59562013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5957
5958 Add support for dired in saveplace.
5959 * dired.el (dired-initial-position-hook): New variable.
5960 (dired-initial-position): Call hook to place cursor position.
5961 * saveplace.el (save-place-to-alist): Add dired position.
5962 (save-place-dired-hook): New function.
5963
0b31660d
SM
59642013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5965
bf1e6ae8
SM
5966 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5967 through a symbol rather than letrec.
5968
1b8dff23
SM
5969 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5970 (package-desc): Add `dir' field.
5971 (package-desc-full-name): New function.
5972 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5973 (package-maybe-load-descriptor): Remove.
5974 (package-load-all-descriptors): Just call package-load-descriptor.
5975 (package--disabled-p): New function.
5976 (package-desc-vers, package-desc-doc): Remove aliases.
5977 (package--dir): Remove function.
5978 (package-activate): Check if a package is disabled.
5979 (package-process-define-package): New function, extracted from
5980 define-package.
5981 (define-package): Turn into a place holder.
5982 (package-unpack-single, package-tar-file-info):
5983 Use package--description-file.
5984 (package-compute-transaction): Use package--disabled-p.
5985 (package-download-transaction): Don't call
5986 package-maybe-load-descriptor since they're all loaded anyway.
5987 (package-install): Change argument to be a pkg-desc.
5988 (package-delete): Use a single pkg-desc argument.
5989 (describe-package-1): Use package-desc-dir instead of package--dir.
5990 Use package-desc property instead of package-symbol.
5991 (package-install-button-action): Adjust accordingly.
5992 (package--push): Rewrite.
5993 (package-menu--print-info): Adjust accordingly. Change the ID format
5994 to be a pkg-desc.
5995 (package-menu-describe-package, package-menu-get-status)
5996 (package-menu--find-upgrades, package-menu-mark-upgrades)
5997 (package-menu-execute, package-menu--name-predicate):
5998 Adjust accordingly.
5999 * startup.el (package--description-file): New function.
6000 (command-line): Use it.
6001 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6002 Use package-desc-version.
6003
0b31660d
SM
6004 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6005 (byte-compile-preprocess): Use it.
6006 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6007 can't quite recognize.
6008 (byte-compile-add-to-list): Remove.
6009 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6010 (cconv-closure-convert): Add assertion.
6011
6012 * emacs-lisp/map-ynp.el: Use lexical-binding.
6013 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6014 Factor out some repeated code.
6015
de0503df
SM
60162013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * subr.el (with-eval-after-load): New macro.
6019 (eval-after-load): Allow form to be a function.
6020 take advantage of lexical-binding.
6021 (do-after-load-evaluation): Use dolist and adjust to new format.
6022 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6023
bc5c8c5a
JL
60242013-06-13 Juri Linkov <juri@jurta.org>
6025
6026 * replace.el (perform-replace): Display "symbol " and other search
6027 modes from `isearch-message-prefix' in the *Help* buffer.
6028
6029 * isearch.el (isearch-query-replace): Add " symbol" and other
6030 possible search modes from `isearch-message-prefix' to the prompt.
6031 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6032 when reading a regexp to collect.
6033
a22289f7
JL
60342013-06-13 Juri Linkov <juri@jurta.org>
6035
6036 * isearch.el (word-search-regexp): Match whitespace if the search
6037 string begins or ends in whitespace. The LAX arg is applied to
6038 both ends of the search string. Use `regexp-quote' and explicit
6039 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6040 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6041 boundaries are replaced with symbol boundaries, and characters
6042 between symbols match non-word non-symbol syntax. (Bug#14602)
6043
cb89acab
JL
60442013-06-13 Juri Linkov <juri@jurta.org>
6045
6046 * isearch.el (isearch-del-char): Don't exceed the length of
6047 `isearch-string' by the prefix arg. (Bug#14563)
6048
6e8cfc81
JL
60492013-06-13 Juri Linkov <juri@jurta.org>
6050
6051 * isearch.el (isearch-yank-word, isearch-yank-line)
6052 (isearch-char-by-name, isearch-quote-char)
6053 (isearch-printing-char, isearch-process-search-char):
6054 Add optional count prefix arg. (Bug#14563)
6055
6056 * international/isearch-x.el
6057 (isearch-process-search-multibyte-characters):
6058 Add optional count prefix arg.
6059
c23d55f4
VS
60602013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6063 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6064 lexical-binding.
6065
60662013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6067
6068 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6069
ba947bc4
GM
60702013-06-13 Glenn Morris <rgm@gnu.org>
6071
8baeb37a
GM
6072 * startup.el (tty-handle-args):
6073 Don't just discard "--" and anything after. (Bug#14608)
6074
ba947bc4
GM
6075 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6076
9abefce4
MA
60772013-06-13 Michael Albinus <michael.albinus@gmx.de>
6078
6079 Implement changes in Secret Service API. Make it backward compatible.
6080 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6081 (secrets-create-item): Use it. Prefix properties with interface.
6082
5755011f
MH
60832013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6084
6085 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6086 (term-emulate-terminal): Respect term-suppress-hard-newline.
6087
1261d2da
S
60882013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6089
6090 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6091 Only remove a `thumb-file' overlay. (Bug#14548)
6092
868490bb
GJ
60932013-06-12 Grégoire Jadi <daimrod@gmail.com>
6094
6095 * mail/reporter.el (reporter-submit-bug-report):
6096 Handle missing package-name. (Bug#14600)
6097
79d7167f
TH
60982013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6099
6100 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6101 (reftex-citation-prompt, reftex-default-bibliography)
6102 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6103 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6104 (reftex-bib-sort-author, reftex-bib-sort-year)
6105 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6106 (reftex-extract-bib-entries-from-thebibliography)
6107 (reftex-get-bibkey-default, reftex-get-bib-names)
6108 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6109 (reftex-format-bib-entry, reftex-parse-bibitem)
6110 (reftex-format-bibitem, reftex-do-citation)
6111 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6112 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6113 (reftex-insert-bib-matches, reftex-format-citation)
6114 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6115 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6116 existing comments into docstrings.
6117
5f9dbd7a
XF
61182013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6119
6120 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6121
94df41ab
AS
61222013-06-12 Andreas Schwab <schwab@suse.de>
6123
6124 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6125 for auto-save files.
6126
a7f3fecc
GM
61272013-06-12 Glenn Morris <rgm@gnu.org>
6128
001809f6
GM
6129 * ido.el (ido-delete-ignored-files): Remove.
6130 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6131 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6132
834b5ded
EL
61332013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6134
08c73ed2
EL
6135 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6136
834b5ded
EL
6137 * ido.el (ido-delete-ignored-files): New function,
6138 split from ido-make-file-list-1.
6139 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6140 (ido-make-file-list-1): Use ido-delete-ignored-files.
6141
daabf15a
LL
61422013-06-12 Leo Liu <sdl.web@gmail.com>
6143
6144 * progmodes/octave.el (inferior-octave-startup)
6145 (inferior-octave-completion-table)
6146 (inferior-octave-track-window-width-change)
6147 (octave-eldoc-function-signatures, octave-help)
6148 (octave-find-definition): Use single quoted strings.
6149 (inferior-octave-startup-args): Change default value.
6150 (inferior-octave-startup): Do not hard code "-i" and
6151 "--no-line-editing".
6152 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6153 (inferior-octave-directory-tracker): Use it.
6154 (octave-goto-function-definition): Robustify.
6155 (octave-help): Support highlighting operators in 'See also'.
6156 (octave-find-definition): Find subfunctions only in Octave mode.
6157
cf4e5178
SM
61582013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * help-fns.el (help-fns--compiler-macro): If the handler function is
6161 named, then put a link to it.
6162 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6163 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6164 (cl-typep): Use it.
6165 (cl-eval-when): Simplify debug spec.
6166 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6167 compiler-macro function instead of setting `compiler-macro-file'.
6168
99c81280 61692013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6170
6171 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6172 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6173
f56be016
SM
61742013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6175 Daniel Hackney <dan@haxney.org>
6176
6177 First part of Daniel Hackney's patch to package.el.
6178 * emacs-lisp/package.el: Use defstruct.
6179 (package-desc): New, main struct.
6180 (package--bi-desc, package--ac-desc): New structs, used to describe the
6181 format in external files.
6182 (package-desc-vers): Replace with package-desc-version accessor.
6183 (package-desc-doc): Replace with package-desc-summary accessor.
6184 (package-activate-1): Remove `package' arg since the pkg-vec now
6185 includes the name.
6186 (define-package): Use package-desc-from-define.
6187 (package-unpack-single): Change file-name arg to be a symbol.
6188 (package--add-to-archive-contents): Use package-desc-create and new
6189 accessor functions to package--ac-desc.
6190 (package-buffer-info, package-tar-file-info): Return a package-desc.
6191 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6192 arg to be a package-desc.
6193 (package-install-file): Adjust accordingly. Use \' to match EOS.
6194 (package--from-builtin): New function.
6195 (describe-package-1, package-menu--generate): Use it.
6196 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6197 (package-generate-autoloads): Idem and return the name of the file.
6198 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6199 Change pkg-info arg to be a package-desc.
6200 Use package-make-ac-desc.
6201 (package-upload-file): Use \' to match EOS.
6202 * finder.el (finder-compile-keywords): Use package-make-builtin.
6203
31119d63
SM
62042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6205
931a2762
SM
6206 * vc/vc.el (vc-deduce-fileset): Change error message.
6207 (vc-read-backend): New function.
6208 (vc-next-action): Use it.
6209
5a3eb0c6
SM
6210 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6211
e3eb1bb7
SM
6212 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6213 (prolog-font-lock-keywords): Use regexp-opt instead.
6214 Don't manually highlight strings.
6215 (prolog-mode-variables): Simplify comment-start-skip.
6216 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6217
31119d63
SM
6218 * emacs-lisp/generic.el (generic--normalise-comments)
6219 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6220 (generic-mode-set-comments): Use them.
6221 (generic-bracket-support): Use setq-local.
6222 (generic-make-keywords-list): Declare obsolete.
6223
7de135d0
GM
62242013-06-11 Glenn Morris <rgm@gnu.org>
6225
6226 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6227 Prettify after setting font-lock-defaults. (Bug#14574)
6228
fa6bc6fd
JB
62292013-06-11 Juanma Barranquero <lekktu@gmail.com>
6230
6231 * replace.el (query-replace, occur-read-regexp-defaults-function)
6232 (replace-search):
6233 * subr.el (declare-function, number-sequence, local-set-key)
6234 (substitute-key-definition, locate-user-emacs-file)
6235 (with-silent-modifications, split-string, eval-after-load):
6236 Fix typos, remove unneeded backslashes and reflow some docstrings.
6237
cf1f9b9a
SM
62382013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6241 default for Elisp files.
6242
56602a4b
GM
62432013-06-11 Glenn Morris <rgm@gnu.org>
6244
6245 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6246 although define-derived-mode was doing this anyway. (Bug#14583)
6247
30ae0b2c
JB
62482013-06-10 Juanma Barranquero <lekktu@gmail.com>
6249
6250 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6251 Fix make-variable-buffer-local call to refer to the correct variable.
6252
fa472906
AG
62532013-06-10 Aidan Gauland <aidalgol@amuri.net>
6254
6255 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6256 (eshell-visual-subcommands, eshell-visual-options):
6257 Add summary line to docstrings. Add cross-references.
fa472906 6258
ff4871b9
GM
62592013-06-10 Glenn Morris <rgm@gnu.org>
6260
6261 * epa.el (epa-read-file-name): New function. (Bug#14510)
6262 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6263
04fcf1b0
AG
62642013-06-09 Aidan Gauland <aidalgol@amuri.net>
6265
6266 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6267 output redirection to be ignored with visual commands.
6268
88b00caa
AG
62692013-06-09 Aidan Gauland <aidalgol@amuri.net>
6270
6271 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6272 (eshell-term-initialize): Move long lambda to separate function
6273 eshell-visual-command-p.
e7b41c4c
JB
6274 * eshell/em-dirs.el (eshell-dirs-initialise):
6275 * eshell/em-script.el (eshell-script-initialize):
6276 Add missing #' to lambda.
88b00caa 6277
fda74125
LL
62782013-06-08 Leo Liu <sdl.web@gmail.com>
6279
6280 * progmodes/octave.el (octave-add-log-current-defun): New function.
6281 (octave-mode): Set add-log-current-defun-function.
6282 (octave-goto-function-definition): Do not move point if not found.
6283 (octave-find-definition): Enhance to try subfunctions first.
6284
467f3b33
GM
62852013-06-08 Glenn Morris <rgm@gnu.org>
6286
6287 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6288 (byte-compile-backward-char, byte-compile-backward-word):
6289 Improve previous change, to handle non-explicit nil.
6290
544badc3
SM
62912013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6294 (smie--opener/closer-at-point): New function.
6295 (smie--matching-block-data): Use it. Don't match from right after an
6296 opener or right before a closer. Obey smie-blink-matching-inners.
6297 Don't signal a mismatch for repeated inners like "switch..case..case".
6298
a175bf33
LL
62992013-06-07 Leo Liu <sdl.web@gmail.com>
6300
6301 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6302 to t. (Bug#14303)
ce8209d4
LL
6303 (octave-function-header-regexp): Fix. (Bug#14570)
6304 (octave-help-mode-finish-hook, octave-help-mode-finish):
6305 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6306
6307 * newcomment.el (comment-search-backward): Revert last change.
6308 (Bug#14434)
6309
6310 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6311
a822acff
EZ
63122013-06-07 Eli Zaretskii <eliz@gnu.org>
6313
6314 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6315 through xargs, to avoid failure due to MS-Windows limitations on
6316 command-line length.
6317
961166f5
GM
63182013-06-06 Glenn Morris <rgm@gnu.org>
6319
d0341459
GM
6320 * font-lock.el (lisp-font-lock-keywords-2):
6321 Treat user-error like error.
6322
961166f5
GM
6323 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6324 (byte-compile-backward-char, byte-compile-backward-word):
6325 Handle explicit nil arguments. (Bug#14565)
6326
80fa505f
AM
63272013-06-05 Alan Mackenzie <acm@muc.de>
6328
6329 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6330 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6331 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6332 (Bug#9706)
80fa505f 6333
fccdc796
SM
63342013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * autorevert.el (auto-revert-notify-handler): Use memq.
6337 Hide assertion failure.
6338
6339 * skeleton.el: Use cl-lib.
6340 (skeleton-further-elements): Use defvar-local.
6341 (skeleton-insert): Use cl-progv.
6342
9bfff84b
TZ
63432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6344
6345 * progmodes/prog-mode.el (prog-prettify-symbols)
6346 (prog-prettify-install): Update docstrings.
6347
55577e7c
SM
63482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * simple.el: Move all the prog-mode code to prog-mode.el.
6351 * progmodes/prog-mode.el: New file.
6352 * loadup.el: Add prog-mode.el.
6353
8fc57765
TZ
63542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6355
6356 * simple.el (prog-prettify-symbols): Add version.
6357 (prog-prettify-install): Add convenience function to prettify symbols.
6358
6359 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6360 (perl--augmented-font-lock-keywords-1)
6361 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6362 variables and use it.
6363
6364 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6365 (cfengine3-mode): Remove unneeded variable and use it.
6366
6367 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6368 (lisp--augmented-font-lock-keywords-1)
6369 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6370 Remove unneeded variables and use it.
6371
650645d5 63722013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6373
6374 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6375 to point when opening the connection. (Bug#14380)
28f5da6d 6376
781b4af6
SM
63772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * subr.el (load-history-regexp, load-history-filename-element)
6380 (eval-after-load, after-load-functions, do-after-load-evaluation)
6381 (eval-next-after-load, display-delayed-warnings)
6382 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6383 definition of save-match-data.
6384 (overriding-local-map): Remove accidental obsolescence declaration.
6385
6386 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6387
3ca0d0b4
TZ
63882013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6389
6390 Generalize symbol prettify support to prog-mode and implement it
6391 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6392 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6393 (prog--prettify-font-lock-compose-symbol)
6394 (prog-prettify-font-lock-symbols-keywords): New variables and
6395 functions to support symbol prettification.
6396 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6397 (lisp--augmented-font-lock-keywords-1)
6398 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6399 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6400 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6401 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6402 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6403 * progmodes/perl-mode.el (perl-prettify-symbols)
6404 (perl--font-lock-compose-symbol)
6405 (perl--font-lock-symbols-keywords): Move to prog-mode.
6406 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6407 (perl-font-lock-keywords-1)
6408 (perl-font-lock-keywords-2): Remove explicit prettify support.
6409 (perl--augmented-font-lock-keywords)
6410 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6411 (perl--augmented-font-lock-keywords-2, perl-mode):
6412 Implement prettify support.
3ca0d0b4 6413
976cb066
LL
64142013-06-05 Leo Liu <sdl.web@gmail.com>
6415
6416 Re-implement smie matching block highlight using
6417 show-paren-data-function. (Bug#14395)
6418 * emacs-lisp/smie.el (smie-matching-block-highlight)
6419 (smie--highlight-matching-block-overlay)
6420 (smie--highlight-matching-block-lastpos)
6421 (smie-highlight-matching-block)
6422 (smie-highlight-matching-block-mode): Remove.
6423 (smie--matching-block-data-cache): New variable.
6424 (smie--matching-block-data): New function.
6425 (smie-setup): Use smie--matching-block-data for
6426 show-paren-data-function.
6427
6428 * progmodes/octave.el (octave-mode-menu): Fix.
6429 (octave-find-definition): Skip garbage lines.
6430
208d0342
SM
64312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 Fix compilation error with simultaneous dynamic+lexical scoping.
6434 Add warning when a defvar appears after the first let-binding.
6435 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6436 (byte-compile-close-variables): Initialize it.
6437 (byte-compile--declare-var): New function.
6438 (byte-compile-file-form-defvar)
6439 (byte-compile-file-form-define-abbrev-table)
6440 (byte-compile-file-form-custom-declare-variable): Use it.
6441 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6442 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6443 (byte-compile-bind): Handle dynamic bindings that shadow
6444 lexical bindings.
6445 (byte-compile-unbind): Make arg non-optional.
6446 (byte-compile-let): Simplify.
6447 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6448 (cconv--analyse-function, cconv-analyse-form): Populate it.
6449 Protect byte-compile-bound-variables to limit the scope of defvars.
6450 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6451 Remove unneeded rule for `declare'.
6452
6453 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6454 so as to avoid depending on cl-adjoin at run-time.
6455 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6456
6457 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6458 (macroexp--warn-and-return): Use it.
6459
2587b005
LL
64602013-06-05 Leo Liu <sdl.web@gmail.com>
6461
6462 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6463
f1da3c88
LL
64642013-06-04 Leo Liu <sdl.web@gmail.com>
6465
6466 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6467 (compilation-auto-jump): Suppress the "Mark set" message to give
6468 way to exit message.
6469
3caa391f
AM
64702013-06-04 Alan Mackenzie <acm@muc.de>
6471
6472 Remove faulty optimisation from indentation calculation.
6473 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6474 search limit based on 2000 characters back from indent-point.
6475
068922a2
TH
64762013-06-03 Tassilo Horn <tsdh@gnu.org>
6477
6478 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6479
1f8fdd53
SM
64802013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6481
bbcc4d97
SM
6482 * emacs-lisp/lisp.el: Use lexical-binding.
6483 (lisp--local-variables-1, lisp--local-variables): New functions.
6484 (lisp--local-variables-completion-table): New var.
208d0342 6485 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6486
1f8fdd53
SM
6487 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6488 eagerly (bug#14422).
6489
c9628c79
MA
64902013-06-03 Michael Albinus <michael.albinus@gmx.de>
6491
6492 * autorevert.el (auto-revert-notify-enabled)
6493 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6494 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6495 (auto-revert-notify-handler): Handle also gfilenotify.
6496
e7b41c4c 6497 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6498 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6499 Remove.
c9628c79 6500
e5e4a942
JL
65012013-06-03 Juri Linkov <juri@jurta.org>
6502
6503 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6504 `M-s h .'. (Bug#14427)
6505
6506 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6507 command `hi-lock-face-symbol-at-point'.
6508 (hi-lock-face-symbol-at-point): New command.
6509 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6510 (hi-lock-menu): Add `highlight-symbol-at-point'.
6511 (hi-lock-mode): Doc fix.
6512
6513 * isearch.el (isearch-forward-symbol-at-point): New command.
6514 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6515 (isearch-highlight-regexp): Add a regexp which matches
6516 words/symbols for word/symbol mode.
6517
6518 * subr.el (find-tag-default-bounds): New function with the body
6519 mostly moved from `find-tag-default'.
6520 (find-tag-default): Move most code to `find-tag-default-bounds',
6521 call it and apply `buffer-substring-no-properties' afterwards.
6522
26b3353a
TH
65232013-06-03 Tassilo Horn <tsdh@gnu.org>
6524
781b4af6
SM
6525 * eshell/em-term.el (eshell-term-initialize):
6526 Use `cl-intersection' rather than `intersection'.
26b3353a 6527
51b60f53
XF
65282013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6529
fe054b63 6530 * vc/log-view.el: Doc fix.
d3ffe17c 6531 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6532
a0eb10b3 65332013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6534
6535 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6536 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6537 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6538 (eieio-unbound, eieio-default-superclass)
6539 (eieio--define-field-accessors, method-static, method-before)
6540 (method-primary, method-after, method-num-lists)
6541 (method-generic-before, method-generic-primary)
6542 (method-generic-after, method-num-slots)
6543 (eieio-specialized-key-to-generic-key)
6544 (eieio--check-type, class-v, class-p)
6545 (eieio-class-name, define-obsolete-function-alias)
6546 (eieio-class-parents-fast, eieio-class-children-fast)
6547 (same-class-fast-p, class-constructor, generic-p)
6548 (generic-primary-only-p, generic-primary-only-one-p)
6549 (class-option-assoc, class-option, eieio-object-p)
6550 (class-abstract-p, class-method-invocation-order)
6551 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6552 (eieio-class-un-autoload, eieio-defclass)
6553 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6554 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6555 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6556 (eieio-defgeneric-reset-generic-form)
6557 (eieio-defgeneric-form-primary-only)
6558 (eieio-defgeneric-reset-generic-form-primary-only)
6559 (eieio-defgeneric-form-primary-only-one)
6560 (eieio-defgeneric-reset-generic-form-primary-only-one)
6561 (eieio-unbind-method-implementations)
6562 (eieio--defmethod, eieio--typep)
6563 (eieio-perform-slot-validation, eieio-validate-slot-value)
6564 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6565 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6566 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6567 (eieio-slot-name-index, eieio-class-slot-name-index)
6568 (eieio-set-defaults, eieio-initarg-to-attribute)
6569 (eieio-attribute-to-initarg, eieio-c3-candidate)
6570 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6571 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6572 (eieio-class-precedence-list, eieio-generic-call-methodname)
6573 (eieio-generic-call-arglst, eieio-generic-call-key)
6574 (eieio-generic-call-next-method-list)
6575 (eieio-pre-method-execution-functions, eieio-generic-call)
6576 (eieio-generic-call-primary-only, eieiomt-method-list)
6577 (eieiomt-optimizing-obarray, eieiomt-install)
6578 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6579 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6580 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6581 (defclass): Remove `eval-and-compile' from macro.
6582 (call-next-method, shared-initialize): Instead of using
6583 `scoped-class' variable, use new eieio--scoped-class, and
6584 eieio--with-scoped-class.
6585 (initialize-instance): Rename local variable 'scoped-class' to
6586 'this-class' to remove ambiguitity from old global.
6587
6588 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6589 eieio.el.
4f405069
JB
6590 (eieio--scoped-class-stack): New variable.
6591 (eieio--scoped-class): New fcn.
890f7890
DE
6592 (eieio--with-scoped-class): New scoping macro.
6593 (eieio-defclass): Use pushnew instead of add-to-list.
6594 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6595 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6596 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6597 `scoped-class' variable, use new eieio--scoped-class, and
6598 eieio--with-scoped-class.
6599
6600 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6601
d105b0e2
TH
66022013-06-02 Tassilo Horn <tsdh@gnu.org>
6603
6604 * eshell/esh-ext.el (eshell-external-command): Pass args to
6605 `eshell-find-interpreter'.
6606 (eshell-find-interpreter): Add new second parameter ARGS.
6607
6608 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6609 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6610
6611 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6612 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6613
6614 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6615 (eshell-visual-options): New defcustom.
6616 (eshell-escape-control-x): Adapt docstring.
6617 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6618 `eshell-visual-options' in addition to `eshell-visual-commands'.
6619 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6620
f46305c8 66212013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6622
6623 * progmodes/python.el (python-indent-block-enders): Add break,
6624 continue and raise keywords.
6625
d870df21
GM
66262013-06-01 Glenn Morris <rgm@gnu.org>
6627
9133b82e
GM
6628 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6629
02c992ec 6630 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6631 * progmodes/cc-cmds.el (delete-forward-p):
6632 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6633 * progmodes/cc-engine.el (buffer-syntactic-context):
6634 * progmodes/cc-fonts.el (face-property-instance):
6635 * progmodes/cc-mode.el (set-keymap-parents):
6636 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6637 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6638 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6639 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6640 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6641
31e7b090
GM
6642 * progmodes/cc-vars.el (other): Emacs has this widget since
6643 at least 21.1, so don't (re)define it.
6644
d870df21
GM
6645 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6646 Replace the obsolete alias pcomplete-arg-quote-list.
6647
c75c93c7
LL
66482013-06-01 Leo Liu <sdl.web@gmail.com>
6649
6650 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6651 punctuation syntax.
6652 (inferior-octave-minimal-columns)
6653 (inferior-octave-last-column-width): New variables.
6654 (inferior-octave-track-window-width-change): New function.
6655 (inferior-octave-mode): Adjust column width so that Octave output,
6656 for example from 'ls', can fit into the window nicely.
6657
973d1e12
DG
66582013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6659
6660 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6661 Highlight expansions inside regexp literals.
6662
0888c286
GM
66632013-05-31 Glenn Morris <rgm@gnu.org>
6664
e26aac1f
GM
6665 * obsolete/sym-comp.el (symbol-complete):
6666 Replace obsolete completion-annotate-function.
6667
0888c286
GM
6668 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6669
19bb8e62
DG
66702013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6671
781b4af6
SM
6672 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6673 New function, checks if point is inside a literal that allows
19bb8e62
DG
6674 expression expansion.
6675 (ruby-syntax-propertize-expansion): Use it.
6676 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6677 around the body.
6678
01dea85f
JL
66792013-05-30 Juri Linkov <juri@jurta.org>
6680
6681 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6682 to "\M-si".
6683 (isearch-invisible): New variable.
6684 (isearch-forward): Doc fix.
6685 (isearch-mode): Set `isearch-invisible'
6686 to the value of `search-invisible'.
6687 (isearch-toggle-case-fold): Doc fix.
6688 (isearch-toggle-invisible): New command.
6689 (isearch-query-replace): Let-bind `search-invisible'
6690 to the value of `isearch-invisible'.
6691 (isearch-search): Use `isearch-invisible' instead of
6692 `search-invisible'. Let-bind `search-invisible'
6693 to the value of `isearch-invisible'. (Bug#11378)
6694
ab1bdce5
JL
66952013-05-30 Juri Linkov <juri@jurta.org>
6696
6697 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6698 call when `query-flag' is nil and `search-invisible' is non-nil.
6699 (Bug#11746)
6700
d6d236e2
GM
67012013-05-30 Glenn Morris <rgm@gnu.org>
6702
8accd027
GM
6703 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6704
2a8bed1c
GM
6705 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6706 (cc-require): Suppress spurious "noruntime" warnings.
6707 (cc-require-when-compile): Use fboundp, for sake of compiler.
6708
d6d236e2
GM
6709 * progmodes/cc-mode.el: Move load of cc-vars before that of
6710 cc-langs (which in turn loads cc-vars), to quieten compiler.
6711
9190b35b
SM
67122013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * paren.el: Simplify the code.
6715 (show-paren-mode): Always start the timer.
6716 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6717 (show-paren--overlay, show-paren--overlay-1): Rename from
6718 show-paren-overlay and show-paren-overlay-1, and initialize to an
6719 overlay rather than to nil.
6720 (show-paren-function): Misc cleanup and simplifications.
6721
4f8d1cf6
SM
67222013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6723
6724 * paren.el (show-paren-data-function): New hook.
6725 (show-paren--default): New function, extracted from show-paren-function.
6726 (show-paren-function): Use show-paren-data-function.
6727
02d844b5
GM
67282013-05-30 Glenn Morris <rgm@gnu.org>
6729
d209d4a9
GM
6730 * ielm.el (ielm-map, ielm-complete-symbol):
6731 Use completion-at-point rather than obsolete functions.
6732 (inferior-emacs-lisp-mode): Doc fix.
6733 Set completion-at-point-functions, rather than
6734 comint-dynamic-complete-functions.
6735
2082faa6
GM
6736 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6737 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6738 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6739
dd8620de
GM
6740 * image.el (image-animated-p): Tweak definition.
6741
ceca95b1
GM
6742 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6743 (rlogin-process-connection-type): Tweak default. Add set-after.
6744 (rlogin-host): Doc fix.
6745 (rlogin): Tweak prompt.
6746 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6747
ee9f1acc
GM
6748 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6749 * progmodes/tcl.el (inferior-tcl-mode-map):
6750 Use completion-at-point rather than obsolete alias.
6751
45ce222e
GM
6752 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6753
02d844b5
GM
6754 * minibuffer.el (read-file-name-completion-ignore-case):
6755 Move before completion--in-region, for eager macro expansion.
6756
ac44d6c1
JL
67572013-05-29 Juri Linkov <juri@jurta.org>
6758
6759 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6760 for total count of matching lines. Add `global-matches' for total
6761 count of matches. Rename `matches' to `lines' for count of
6762 matching lines. Add `matches' for count of matches.
6763 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6764 to `prev-line' for line number of prev match endpt.
6765 Increment `matches' for every match. Print the number of
6766 matching lines in the header.
6767 (occur-context-lines): Rename `lines' to `curr-line'.
6768 Rename `prev-lines' to `prev-line'. (Bug#14017)
6769
3c9c9d38
JL
67702013-05-29 Juri Linkov <juri@jurta.org>
6771
6772 * replace.el (perform-replace): Add `skip-read-only-count',
6773 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6774 Increment them for corresponding conditions and report the number
6775 of skipped occurrences in the final message. (Bug#11746)
6776 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6777 (replace-string, replace-regexp): Doc fix.
6778
33e249a2
SM
67792013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6780
8e399682
SM
6781 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6782
33e249a2 6783 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6784 prog-mode-map (bug#14504).
33e249a2 6785
f236dd84
LL
67862013-05-29 Leo Liu <sdl.web@gmail.com>
6787
6788 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6789 (octave-help): Small simplification.
6790
6791 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6792 off the highlight first.
6793
3694d13f
GM
67942013-05-29 Glenn Morris <rgm@gnu.org>
6795
03983bdc
GM
6796 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6797 Handle idlwave-last-system-routine-info-cons-cell being nil.
6798
bc74a74a
GM
6799 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6800 (idlwave-write-paths): Simplify via with-temp-buffer.
6801
8b394200
GM
6802 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6803 * emulation/cua-rect.el: Also load cua-base at run time.
6804
3694d13f
GM
6805 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6806 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6807 (cperl-imenu-on-info): Require imenu.
6808
336d7284
AM
68092013-05-28 Alan Mackenzie <acm@muc.de>
6810
6811 Handle "capitalised keywords" correctly.
33e249a2 6812 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6813
cb29c582
AG
68142013-05-28 Aidan Gauland <aidalgol@amuri.net>
6815
781b4af6 6816 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6817
690e44b2
GM
68182013-05-28 Glenn Morris <rgm@gnu.org>
6819
e658d75c
GM
6820 * vc/vc-arch.el (vc-exec-after): Declare.
6821 (vc-switches): Autoload.
6822 * vc/vc-bzr.el: No need to require vc when compiling.
6823 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6824 (vc-resynch-buffer, vc-dir-refresh): Declare.
6825 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6826 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6827 (vc-resynch-buffer): Declare.
6828 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6829 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6830 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6831 (grep-read-regexp, grep-read-files, grep-expand-template)
6832 (vc-dir-refresh): Declare.
6833 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6834 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6835 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6836 * vc/vc-mtn.el (vc-exec-after): Declare.
6837 (vc-switches): Autoload.
6838 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6839 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6840 (vc-file-tree-walk): Declare.
712b9732
GM
6841 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6842 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6843 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6844 * vc/vc-svn.el (vc-exec-after): Declare.
6845 (vc-switches, vc-setup-buffer): Autoload.
6846 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6847 Autoload.
6848 (vc-resynch-buffer): Declare.
6849
98e87fb3
GM
6850 * obsolete/fast-lock.el (byte-compile-warnings):
6851 Don't warn about obsolete features in this obsolete file.
6852
f5379553
GM
6853 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6854 Move definition before use.
6855
7a20ef83
GM
6856 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6857 (dun-unix-verbs): Remove dun-zippy.
6858 (dun-zippy): Remove function.
6859
690e44b2
GM
6860 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6861
3a52ccf7
JL
68622013-05-27 Juri Linkov <juri@jurta.org>
6863
6864 * replace.el (replace-search): New function with code moved out
6865 from `perform-replace'.
6866 (replace-highlight, replace-dehighlight): Move function definitions
6867 up closer to `replace-search'. (Bug#11746)
6868
d289938a
JL
68692013-05-27 Juri Linkov <juri@jurta.org>
6870
6871 * replace.el (perform-replace): Ignore invisible matches.
6872 In addition to checking `query-replace-skip-read-only', also
6873 filter out matches by calling `run-hook-with-args-until-failure'
6874 on `isearch-filter-predicates', and also check `search-invisible'
6875 for t or call `isearch-range-invisible'.
6876 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6877
66fc57e3
JL
68782013-05-27 Juri Linkov <juri@jurta.org>
6879
6880 * isearch.el (isearch-filter-predicates): Rename from
6881 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6882 (isearch-message-prefix): Display text from the property
6883 `isearch-message-prefix' of the currently active filters.
6884 (isearch-search): Don't compare `isearch-filter-predicate' with
6885 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6886 on `isearch-filter-predicates'. Also check `search-invisible' for t
6887 or call `isearch-range-invisible'.
6888 (isearch-filter-visible): Make obsolete.
6889 (isearch-lazy-highlight-search):
6890 Call `run-hook-with-args-until-failure' on
6891 `isearch-filter-predicates' and use `isearch-range-invisible'.
6892
6893 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6894 `isearch-filter-predicates' instead of `funcall'ing
6895 `isearch-filter-predicate'.
6896 (Info-mode): Set `Info-isearch-filter' to
6897 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6898
6899 * dired-aux.el (dired-isearch-filter-predicate-orig):
6900 Remove variable.
6901 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6902 (dired-isearch-filenames-end): Add and remove
6903 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6904 instead of changing the value of `isearch-filter-predicate'.
6905 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6906 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6907 Put property `isearch-message-prefix' to "filename " on
6908 `dired-isearch-filter-filenames'.
6909
6910 * wdired.el (wdired-change-to-wdired-mode):
6911 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6912 locally instead of changing `isearch-filter-predicate'.
6913 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6914
f1a60a0f
DG
69152013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6916
6917 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6918 return the commit hash (Bug#14459). Also set the
6919 `vc-git-detached' property.
6920 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6921 (vc-git-mode-line-string): Use the same help-echo format whether
6922 in detached mode or not, because we know the actual revision now.
6923 When in detached mode, shorten the revision to 7 chars.
6924
7f17cc40
SM
69252013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * emacs-lisp/easy-mmode.el (define-minor-mode):
6928 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6929 mode hook and provide a docstring.
6930
25c8401c
AM
69312013-05-27 Alan Mackenzie <acm@muc.de>
6932
6933 Remove spurious syntax-table text properties inserted by C-y.
6934 * progmodes/cc-mode.el (c-after-change): Also clear hard
6935 syntax-table property with value nil.
6936
dde84790
MA
69372013-05-27 Michael Albinus <michael.albinus@gmx.de>
6938
6939 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6940 when reading the events; the buffer layout shall not be changed.
6941
837fd9af
LL
69422013-05-27 Leo Liu <sdl.web@gmail.com>
6943
6944 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6945 New variable.
6946 (inferior-octave-directory-tracker): Automatically re-sync
6947 default-directory.
6948 (octave-help): Improve handling of 'See also'.
6949
4fd996b3
SM
69502013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6951
416f1802
SM
6952 * doc-view.el: Minor naming convention tweaks.
6953 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6954
4fd996b3
SM
6955 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6956 even if there's no `display' property yet (bug#14435).
6957
a052ef3b
EZ
69582013-05-25 Eli Zaretskii <eliz@gnu.org>
6959
4fd996b3 6960 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6961
6962 * Makefile.in (custom-deps, finder-data, autoloads)
6963 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6964 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6965 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6966
c9023370
SM
69672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6970 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6971 Don't burp at EOB.
c9023370 6972
24d699fa
LL
69732013-05-25 Leo Liu <sdl.web@gmail.com>
6974
6975 * comint.el (comint-previous-matching-input): Do not flood the
6976 *Messages* buffer with trivial messages.
6977
17e5c0cc
SM
69782013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * progmodes/flymake.el (flymake-nop): Don't return a string.
6981 (flymake-set-at): Fix typo.
6982
6983 * simple.el (read--expression): New function, extracted from
6984 eval-expression. Set completion-at-point-functions (bug#14465).
6985 (eval-expression, eval-minibuffer): Use it.
6986
5d028165
XF
69872013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6988
6989 * progmodes/flymake.el (flymake-save-buffer-in-file)
6990 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6991 (flymake-selected-frame, flymake-log, flymake-ins-after)
6992 (flymake-set-at, flymake-get-buildfile-from-cache)
6993 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6994 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6995 Refine the doc string.
6996 (flymake-get-file-name-mode-and-masks): Reformat.
6997 (flymake-get-real-file-name-function): Fix a minor bug.
6998
7a1d7ba7
JL
69992013-05-24 Juri Linkov <juri@jurta.org>
7000
7001 * progmodes/grep.el (grep-mode-font-lock-keywords):
7002 Support =linenumber= format used by git-grep for lines with
7003 function names. (Bug#13549)
7004
650cff3d
SM
70052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7008 0 after a semi-colon; it works better for smie-auto-fill.
7009 (octave--indent-new-comment-line): New function.
7010 (octave-indent-new-comment-line): Use it (indirectly).
7011 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7012 modify comment-line-break-function.
7013
7014 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7015 (smie-setup): Use add-function to set it.
7016
9631677d
SS
70172013-05-24 Sam Steingold <sds@gnu.org>
7018
7019 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7020 argument (before the `interactive' argument).
7021
50105835
SM
70222013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * image-mode.el (image-mode-winprops): Add winprops to
7025 image-mode-winprops-alist before running
7026 image-mode-new-window-functions.
7027 * doc-view.el (doc-view-new-window-function): Don't delay
7028 doc-view-goto-page via timers (bug#14435).
7029
57b9823e
TH
70302013-05-24 Tassilo Horn <tsdh@gnu.org>
7031
7032 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7033 (doc-view-desktop-save-buffer): New function.
7034 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7035 (desktop-buffer-mode-handlers):
7036 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7037 handler.
7038 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7039 `desktop-save-buffer' function.
7040
91aafa16
MA
70412013-05-24 Michael Albinus <michael.albinus@gmx.de>
7042
7043 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7044 (tramp-gvfs-file-name-handler): Raise a user error when
7045 `tramp-gvfs-enabled' is nil.
7046 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7047 Do not raise a user error when loading package. (Bug#14447)
7048
ec076379
MA
7049 * net/xesam.el: Move to obsolete/.
7050
db785726
GM
70512013-05-24 Glenn Morris <rgm@gnu.org>
7052
af5c7606
GM
7053 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7054
e5d1916a
GM
7055 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7056
ded62b08
GM
7057 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7058 (Info-find-node, Man-getpage-in-background): Declare.
7059
9e614a3f
GM
7060 * mail/unrmail.el (unrmail):
7061 Replace obsolete detect-coding-with-priority.
7062
892f8ca3
GM
7063 * net/socks.el (socks-split-string): Use this rather than split-string.
7064 (socks-nslookup-host): Update for above change.
7065 (dynamic-choice, s5-dynamic-choice-match)
7066 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7067 Comment out unused code.
7068
3c291973
GM
7069 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7070 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7071 (gud-tooltip-echo-area): Make obsolete.
7072 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7073
43cc956b
GM
7074 * progmodes/js.el (js--optimize-arglist): Declare.
7075
dab49a3b
GM
7076 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7077
36b9d085
GM
7078 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7079 (ediff-window-C): Declare.
7080
e354ae76
GM
7081 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7082 Tweak requires to silence compiler.
7083
b8e57bf4
GM
7084 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7085 (he-search-string, he-tried-table, he-expand-list)
7086 (he-init-string, he-string-member, he-substitute-string)
7087 (he-reset-string): Declare.
7088
db785726
GM
7089 * obsolete/options.el (list-options): Use custom-variable-p,
7090 rather than obsolete alias.
7091
b3531901
SS
70922013-05-23 Sam Steingold <sds@gnu.org>
7093
7094 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7095 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7096 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7097
bdda4c66
SM
70982013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * emacs-lisp/smie.el (smie-indent-forward-token)
7101 (smie-indent-backward-token): Handle string tokens (bug#14381).
7102
c43d45f9
TH
71032013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7104
fe1eb856
RS
7105 * ielm.el (ielm-menu): New menu.
7106 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7107
fe1eb856
RS
71082013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7109
7110 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7111 Fix deactivate action.
7112
7113 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7114 Add cleveref macros.
074dd971 7115
c43d45f9
TH
7116 * lisp/textmodes/reftex-parse.el
7117 (reftex-locate-bibliography-files): Accept options for
7118 bibliography commands.
7119 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7120 Add addbibresource. Basic Biblatex support.
7121
7764286e
MA
71222013-05-23 Michael Albinus <michael.albinus@gmx.de>
7123
7124 * net/tramp-gvfs.el (top):
7125 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7126 when loading package. (Bug#14447)
7127
d361bc10
GM
71282013-05-23 Glenn Morris <rgm@gnu.org>
7129
8fa23984
GM
7130 * progmodes/js.el: No need to load comint when compiling.
7131 (ring-insert, comint-send-string, comint-send-input)
7132 (comint-last-input-end, ido-chop): Declare.
7133
a5c7df1a
GM
7134 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7135 * vc/ediff-mult.el: Adjust requires.
7136 (ediff-directories-internal, ediff-directory-revisions-internal)
7137 (ediff-patch-file-internal): Declare.
7138 * vc/ediff-ptch.el: Adjust requires.
7139 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7140 (ediff-find-file): Autoload.
7141 * vc/ediff-util.el: No need to load ediff when compiling.
7142 (ediff-regions-internal): Declare.
7143 * vc/ediff-wind.el: Adjust requires.
7144 (ediff-compute-toolbar-width): Define when compiling.
7145 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7146 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7147 (dired-get-filename, dired-get-marked-files)
7148 (ediff-last-dir-patch, ediff-patch-default-directory)
7149 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7150 (ediff-patch-buffer-internal): Declare.
7151
e2aec513
GM
7152 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7153 (ispell-process, ispell-buffer-local-words, lm-summary)
7154 (lm-section-start, lm-section-end): Declare.
7155 (checkdoc-ispell-init): Simplify.
7156
e68bbd7c
GM
7157 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7158 (he-string-member, he-reset-string, he-substitute-string): Declare.
7159
7efe0991
GM
7160 * eshell/em-ls.el: Adjust requires.
7161 (eshell-glob-regexp): Declare.
f87b1284
GM
7162 * eshell/em-tramp.el: Adjust requires.
7163 (eshell-parse-command): Autoload.
7164 * eshell/em-xtra.el: Adjust requires.
7165 (eshell-parse-command): Autoload.
7166 * eshell/esh-ext.el: Adjust requires.
7167 (eshell-parse-command, eshell-close-handles): Autoload.
7168 * eshell/esh-io.el: Adjust requires.
7169 (eshell-output-filter): Autoload.
7170 * eshell/esh-util.el: No need to load tramp when compiling.
7171 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7172 Declare.
7173 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7174 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7175 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7176 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7177 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7178 * eshell/esh-opt.el, eshell/esh-proc.el:
7179 * eshell/esh-var.el: Adjust requires.
7180 * eshell/eshell.el: Do not require esh-util twice.
7181 (eshell-add-input-to-history): Declare.
7182 (eshell-command): Check history module is active before using it.
7183
d361bc10
GM
7184 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7185
85d090a9
LL
71862013-05-22 Leo Liu <sdl.web@gmail.com>
7187
7188 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7189
5d0acd9d
MA
71902013-05-22 Michael Albinus <michael.albinus@gmx.de>
7191
7192 * autorevert.el (auto-revert-notify-add-watch)
7193 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7194 it indicates changes in file modification time.
7195
0cdffd7d
GM
71962013-05-22 Glenn Morris <rgm@gnu.org>
7197
ca5995ec
GM
7198 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7199 Always delete the autoloaded function from the noruntime and
7200 unresolved functions lists.
7201
6450907e
GM
7202 * allout.el: No need to load epa, epg, overlay when compiling.
7203 (epg-context-set-passphrase-callback, epg-list-keys)
7204 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7205 (epg-key-user-id-list): Declare.
7206
9c6906f6
GM
7207 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7208 (viper-set-parsing-style-toggling-macro)
7209 (viper-set-emacs-state-searchstyle-macros):
7210 Use called-interactively-p on Emacs.
7211 (viper-looking-back): Make it an obsolete alias. Update callers.
7212 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7213 Use looking-back rather than viper-looking-back.
7214 (viper-tmp-insert-at-eob, viper-enlarge-region)
7215 (viper-read-string-with-history, viper-register-to-point)
7216 (viper-append-to-register, viper-change-state-to-vi)
7217 (viper-backward-char-carefully, viper-forward-char-carefully)
7218 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7219 (viper-change-state-to-emacs): Declare.
7220 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7221 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7222 * emulation/viper-mous.el: Do not load viper-cmd.
7223 (viper-backward-char-carefully, viper-forward-char-carefully)
7224 (viper-forward-word, viper-adjust-window): Declare.
7225
5f70c169
GM
7226 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7227
b1b7f300
GM
7228 * progmodes/idlw-help.el (idlwave-help-fontify):
7229 Use called-interactively-p.
7230
f6ebbb46
GM
7231 * term/w32console.el (w32-get-console-codepage)
7232 (w32-get-console-output-codepage): Declare.
7233
0cdffd7d
GM
7234 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7235 Remove unnecessary declarations.
7236 (dframe-message): Doc fix.
7237
7238 * info.el (dframe-select-attached-frame, dframe-current-frame):
7239 Declare.
7240
7241 * speedbar.el (speedbar-message): Make it an obsolete alias.
7242 Update all callers.
7243 (speedbar-with-attached-buffer)
7244 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7245 (speedbar-with-writable): Use backquote.
7246 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7247 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7248 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7249 rather than speedbar- aliases.
7250 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7251 (speedbar-make-specialized-keymap, speedbar-insert-button)
7252 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7253 (speedbar-do-function-pointer): Declare.
7254 (rmail-speedbar-button, rmail-speedbar-find-file)
7255 (rmail-speedbar-move-message):
7256 Use dframe-with-attached-buffer rather than speedbar- alias.
7257 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7258 (dframe-message, speedbar-make-specialized-keymap)
7259 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7260 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7261 (speedbar-insert-button, dframe-select-attached-frame)
7262 (dframe-maybee-jump-to-attached-frame)
7263 (speedbar-change-initial-expansion-list)
7264 (speedbar-previously-used-expansion-list-name): Declare.
7265 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7266 Use dframe-message, dframe-with-attached-buffer rather than
7267 speedbar- aliases.
7268 (gud-sentinel): Silence compiler.
7269 * progmodes/vhdl-mode.el (speedbar-refresh)
7270 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7271 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7272 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7273 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7274 (speedbar-file-lists, speedbar-make-tag-line)
7275 (speedbar-line-directory, speedbar-goto-this-file)
7276 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7277 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7278 (speedbar-make-button, speedbar-reset-scanners)
7279 (speedbar-files-item-info, speedbar-line-text)
7280 (speedbar-find-file-in-frame, speedbar-set-timer)
7281 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7282 (speedbar-with-writable): Do not (re)define it.
7283 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7284 rather than speedbar- alias.
7285
ee44b62a
LL
72862013-05-21 Leo Liu <sdl.web@gmail.com>
7287
7288 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7289 menu items.
7290 (octave-mode): Tweak fill-nobreak-predicate.
7291 (inferior-octave-startup): Check process to avoid infinite loop.
7292 (inferior-octave): Pop to buffer first to show abornmal process
7293 exit information.
7294
640f050f
GM
72952013-05-21 Glenn Morris <rgm@gnu.org>
7296
79458038
GM
7297 * printing.el (pr-menu-bar): Define when compiling.
7298
9cc3e83f
LL
72992013-05-21 Leo Liu <sdl.web@gmail.com>
7300
7301 * progmodes/octave.el (octave-auto-fill): Remove.
7302 (octave-indent-new-comment-line): Improve.
7303 (octave-mode): Use auto fill mode through
4f405069 7304 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7305 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7306 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7307 (octave-help): Show parent directory.
7308
f440830d
GM
73092013-05-21 Glenn Morris <rgm@gnu.org>
7310
7311 * files.el (dired-unmark):
7312 * progmodes/gud.el (gdb-input): Update declarations.
7313
7314 * calculator.el (electric, ehelp): No need to load when compiling.
7315 (Electric-command-loop, electric-describe-mode): Declare.
7316
7317 * doc-view.el (doc-view-current-converter-processes): Move before use.
7318
7319 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7320 Move MODE-set-explicitly definition before use.
7321
7322 * international/mule-diag.el (mule-diag):
7323 Don't use obsolete window-system-version.
7324
7325 * mail/feedmail.el (smtpmail): No need to load when compiling.
7326 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7327
7328 * mail/mail-utils.el (rfc822): No need to load when compiling.
7329 (rfc822-addresses): Autoload it.
7330 (mail-strip-quoted-names): Trivial simplification.
7331
7332 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7333 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7334
7335 * net/snmp-mode.el (tempo): Don't duplicate requires.
7336
7337 * progmodes/prolog.el (info): No need to load when compiling.
7338 (comint): Require before shell requires it.
7339 (Info-goto-node): Autoload it.
7340 (Info-follow-nearest-node): Declare.
7341 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7342
7343 * textmodes/artist.el (picture-mode-exit): Declare.
7344
7345 * textmodes/reftex-parse.el (reftex-parse-from-file):
7346 Trivial rewrite so the compiler can parse it better.
7347
b4da2cbb
LL
73482013-05-20 Leo Liu <sdl.web@gmail.com>
7349
7350 * progmodes/octave.el (octave-help-mode-map)
7351 (octave-help-mode-finish-hook): New variables.
7352 (octave-help-mode, octave-help-mode-finish): New functions.
7353 (octave-help): Use octave-help-mode.
7354
33c0f65b
GM
73552013-05-20 Glenn Morris <rgm@gnu.org>
7356
7357 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7358
1a0a0a8a
DG
73592013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7360
7361 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7362 start at point, so that expansion starting right after opening
7363 slash in a regexp is recognized.
7364 (ruby-syntax-before-regexp-re): New defvar, extracted from
7365 ruby-syntax-propertize-function. Since the value of this regexp
7366 is looked up at runtime now, we should be able to turn
7367 `ruby-syntax-methods-before-regexp' into a defcustom later.
7368 (ruby-syntax-propertize-function): Split regexp matching into two
7369 parts, for opening and closing slashes. That allows us to skip
7370 over string interpolations and support multiline regexps.
7371 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7372 for them, which calls `ruby-syntax-propertize-expansion'.
7373 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7374 call to `ruby-syntax-propertize-function'.
7375 (ruby-syntax-propertize-expansion): Extracted from
7376 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7377 (ruby-syntax-propertize-percent-literal): Leave point right after
7378 the percent symbol, so that the expression expansion rule can
7379 propertize the contents.
462388b6
DG
7380 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7381 heredoc openers.
7382 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7383
c1a6c0a4
JL
73842013-05-18 Juri Linkov <juri@jurta.org>
7385
7386 * man.el (Man-default-man-entry): Remove `-' from the end
7387 of the default value. (Bug#14400)
7388
8051fccd
GM
73892013-05-18 Glenn Morris <rgm@gnu.org>
7390
7391 * comint.el (comint-password-prompt-regexp):
7392 Allow "password for XXX" where XXX contains colons (eg https://...).
7393
5e80b74f
LL
73942013-05-18 Leo Liu <sdl.web@gmail.com>
7395
7396 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7397 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7398 (octave-source-directories): Don't check process.
7399 (octave-source-directories, octave-find-definition): Doc fix.
7400
521a54c5
GM
74012013-05-18 Glenn Morris <rgm@gnu.org>
7402
86a94b05
GM
7403 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7404 Remove backspace/delete bindings. (Bug#14392)
7405
521a54c5
GM
7406 * cus-dep.el (custom-make-dependencies): Sort the output.
7407 (custom-versions-load-alist): Convert comment to doc.
7408
42caeb89
LL
74092013-05-17 Leo Liu <sdl.web@gmail.com>
7410
7411 * newcomment.el (comment-search-backward): Stricter in finding
7412 comment start. (Bug#14303)
7413
7414 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7415 (octave-comment-start-skip): Properly anchored.
7416
e219dd97
LL
74172013-05-17 Leo Liu <sdl.web@gmail.com>
7418
fe1eb856
RS
7419 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7420 Clean up when turned off. (Bug#14395)
e219dd97
LL
7421 (smie--highlight-matching-block-overlay): No longer buffer-local.
7422 (smie-highlight-matching-block): Adjust.
7423
dc5dcb4b
PE
74242013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7425
7426 Doc string fix for "nanoseconds" (Bug#14406).
7427 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7428 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7429
1db165f0
JB
74302013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7431
7432 * calc/calc-units.el (math-extract-units): Preserve powers
7433 of units.
7434
c7a8fcac
LL
74352013-05-17 Leo Liu <sdl.web@gmail.com>
7436
7437 * subr.el (delete-consecutive-dups): New function.
7438 * ido.el (ido-set-matches-1): Use it.
7439 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7440 * ido.el (ido-remove-consecutive-dups): Remove.
7441
f678b18a
SM
74422013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7445 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7446 regexp-opt's `words'.
7447
ebfe68e8
LL
74482013-05-16 Leo Liu <sdl.web@gmail.com>
7449
7450 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7451 (smie--highlight-matching-block-overlay)
7452 (smie--highlight-matching-block-lastpos)
7453 (smie--highlight-matching-block-timer): New variables.
7454 (smie-highlight-matching-block): New function.
7455 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7456 (smie-setup): Conditionally enable smie-blink-matching-open.
7457
bc8bc17d
WS
74582013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7459
7460 Sync with upstream verilog-mode r840.
7461 * progmodes/verilog-mode.el (verilog-mode-version)
7462 (verilog-mode-release-date): Update.
7463 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7464 (verilog-sig-tieoff): Fix string error on
7465 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7466 (verilog-read-decls): Fix parameters confusing
7467 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7468
df065a0b
EZ
74692013-05-16 Eli Zaretskii <eliz@gnu.org>
7470
7471 * subr.el (reveal-filename): New function.
7472
7473 * loadup.el: Compute Emacs executable versions on MS-Windows,
7474 where executables have the .exe extension. Add a hard link
7475 emacs-XX.YY.ZZ.exe on MS-Windows.
7476
7477 * Makefile.in (XARGS_LIMIT): New variable.
7478 (custom-deps, finder-data, autoloads)
7479 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7480 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7481 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7482 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7483
2d4bf34b
LL
74842013-05-16 Leo Liu <sdl.web@gmail.com>
7485
7486 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7487 (octave-mode-menu, octave-mode-map): Remove its uses.
7488
6b9c2d85
RZ
74892013-05-16 Reto Zimmermann <reto@gnu.org>
7490
7491 Sync with upstream vhdl mode v3.34.2.
7492 * progmodes/vhdl-mode.el: Use `push' throughout.
7493 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7494 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7495 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7496 (vhdl-actual-generic-name): New option to derive actual generic name.
7497 (vhdl-port-paste-signals): Replace formal by actual generics.
7498 (vhdl-beautify): New name for old group vhdl-align. Update users.
7499 (vhdl-beautify-options): New option.
7500 (vhdl-last-input-event): New compat alias. Use throughout.
7501 (vhdl-goto-line): Replace user level function `goto-line'.
7502 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7503 vhdl-fix-statement-buffer.
7504 (vhdl-create-mode-menu): Add some entries.
7505 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7506 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7507 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7508 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7509 to force statements on one line.
7510 (vhdl-remove-trailing-spaces-region):
7511 New, split from vhdl-remove-trailing-spaces.
7512 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7513 Respect vhdl-beautify-options.
7514 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7515 (vhdl-update-sensitivity-list): Not add with index if exists without.
7516 Not include array index with signal. Ignore keywords in comments.
7517 (vhdl-get-visible-signals): Regexp tweaks.
7518 (vhdl-template-component-inst): Handle empty library.
7519 (vhdl-template-type): Add template for 'enum' type.
7520 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7521 Use vhdl-replace-string.
7522 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7523 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7524 (vhdl-speedbar-initialize): Update for above name change.
7525 (vhdl-compose-wire-components): Fix in handling of constants.
7526 (vhdl-error-regexp-emacs-alist): New variable.
7527 (vhdl-error-regexp-add-emacs): New function;
7528 adds support for new compile.el (Emacs 22+)
7529 (vhdl-generate-makefile-1): Change target order for single lib. units.
7530 Allow use of absolute file names.
7531
9df4ec5e
LL
75322013-05-16 Leo Liu <sdl.web@gmail.com>
7533
7534 * simple.el (prog-indent-sexp): Indent enclosing defun.
7535
f5ba00a6
GM
75362013-05-15 Glenn Morris <rgm@gnu.org>
7537
ed8be7ff
GM
7538 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7539 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7540 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7541 (whitespace-highlight): Move to whitespace group.
7542
7543 * comint.el (comint-source):
7544 * pcmpl-linux.el (pcmpl-linux):
7545 * shell.el (shell-faces):
7546 * eshell/esh-opt.el (eshell-opt):
7547 * international/ccl.el (ccl): Remove empty custom groups.
7548
7549 * completion.el (dynamic-completion-mode):
7550 * jit-lock.el (jit-lock-debug-mode):
7551 * minibuffer.el (completion-in-region-mode):
7552 * type-break.el (type-break-mode-line-message-mode)
7553 (type-break-query-mode):
7554 * emulation/tpu-edt.el (tpu-edt-mode):
7555 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7556 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7557 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7558
7559 * term/xterm.el (xterm): Change parent group to terminals.
7560
7561 * master.el (master): Remove empty custom group.
7562 (master-mode): Remove unused :group argument.
7563 * textmodes/refill.el (refill): Remove empty custom group.
7564 (refill-mode): Remove unused :group argument.
7565
7566 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7567
82a7c41b
GM
7568 * cus-dep.el: Provide a feature.
7569 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7570 Don't mistakenly ignore files whose basenames match a basename
7571 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7572 Add a fallback method for getting :group.
f5ba00a6 7573
6d65486d
JL
75742013-05-15 Juri Linkov <juri@jurta.org>
7575
da547b32
JL
7576 * isearch.el (isearch-char-by-name): Rename from
7577 `isearch-insert-char-by-name'. Doc fix.
7578 (isearch-forward): Mention `isearch-char-by-name' in
7579 the docstring. (Bug#13348)
7580
6d65486d
JL
7581 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7582 `exit-minibuffer' instead of
7583 `isearch-nonincremental-exit-minibuffer'.
7584 (isearch-edit-string): Remove mention of
7585 `isearch-nonincremental-exit-minibuffer' from docstring.
7586 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7587 (isearch-forward-exit-minibuffer)
7588 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7589
c9990474
SM
75902013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7591
6e911150
SM
7592 * loadup.el: Just use unversioned DOC.
7593
c9990474
SM
7594 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7595 literals as extending to EOB.
7596 (nxml-last-fontify-end): Remove unused variable.
7597 (nxml-after-change1): Use with-silent-modifications.
7598 (nxml-extend-after-change-region): Simplify.
7599 (nxml-extend-after-change-region1): Remove function.
7600 (nxml-after-change1): Don't adjust for dependent regions.
7601 (nxml-fontify-matcher): Simplify.
7602 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7603 (xmltok-add-dependent): Remove function.
7604 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7605 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7606 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7607 unclosed <[[, <?, comment, and other literals as extending to EOB.
7608 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7609 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7610 Remove functions.
7611 (rng-do-some-validation-1): Don't mark dependent regions.
7612 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7613 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7614 (nxml-clear-dependent-regions): Remove functions.
7615 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7616 (nxml-ensure-scan-up-to-date):
7617 Don't clear&mark dependent regions.
7618
e3772e98
LL
76192013-05-15 Leo Liu <sdl.web@gmail.com>
7620
c9990474
SM
7621 * progmodes/octave.el (octave-goto-function-definition):
7622 Improve and fix callers.
e3772e98 7623
5ac2eb34
SM
76242013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7625
c46c57b0
SM
7626 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7627 the setter (bug#14387).
7628
5ac2eb34
SM
7629 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7630 surrounding group (bug#14402).
7631
180ed218
JL
76322013-05-14 Juri Linkov <juri@jurta.org>
7633
7634 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7635 (Bug#14390)
7636
0ac0fecb
GM
76372013-05-14 Glenn Morris <rgm@gnu.org>
7638
7639 * progmodes/f90.el (f90-imenu-generic-expression):
7640 Fix typo in 2013-05-08 change. (Bug#14402)
7641
2e78e6a7
JPG
76422013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7643
5ac2eb34
SM
7644 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7645 Remove signals for which replies are never received.
2e78e6a7 7646
53267cca
JPG
76472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7648
7649 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7650 (gdb-handler-alist, gdb-handler-number): Remove variables.
7651 (gdb-handler-list): New variable.
7652 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7653 (gdb-pending-handler-p, gdb-handle-reply)
7654 (gdb-remove-all-pending-triggers): New functions.
7655 (gdb-discard-unordered-replies): New defcustom.
7656 (gdb-handler): New defstruct.
7657 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7658 instead of gdb-pending-triggers. Update docstring.
7659 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7660 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7661 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7662 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7663 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7664 (gdb-frame-handler): Pending triggers are now automatically managed.
7665 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7666 Remove argument.
7667 (gdb-input): Automatically handles pending triggers. Update docstring.
7668 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7669 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7670 Update comments.
7671 (gdb-done-or-error): Now use gdb-handle-reply.
7672
d04ce803
JPG
76732013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7674
7675 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7676 gdb-debug-log.
7677
0114073a
GM
76782013-05-14 Glenn Morris <rgm@gnu.org>
7679
7680 * subr.el (user-emacs-directory-warning): New option.
7681 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7682
4d25fd7e
LL
76832013-05-14 Leo Liu <sdl.web@gmail.com>
7684
7685 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7686 during redisplay.
7687 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7688 (octave-font-lock-texinfo-comment): Fix invalid search bound
7689 error: wrong side of point.
4d25fd7e 7690
27c8b6eb
GM
76912013-05-14 Glenn Morris <rgm@gnu.org>
7692
61aaeb01
GM
7693 * progmodes/flymake.el (flymake-xml-program): New option.
7694 (flymake-xml-init): Use it.
7695
5bf90bc5
GM
7696 * term/xterm.el: Provide a feature.
7697
7698 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7699
f4c7dfd2
GM
77002013-05-13 Glenn Morris <rgm@gnu.org>
7701
7702 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7703 Add compat aliases as a hack workaround. (Bug#14384)
7704
2aeb3a1d
LL
77052013-05-13 Leo Liu <sdl.web@gmail.com>
7706
b0e069c2
LL
7707 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7708 ###, and %!.
f5a9432f
LL
7709 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7710 C-M-q.
b0e069c2
LL
7711 (octave-comment-start-skip): Include %!.
7712 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7713
30ea8374
LL
77142013-05-12 Leo Liu <sdl.web@gmail.com>
7715
7716 * progmodes/octave.el (inferior-octave-startup): Store the value
7717 of __octave_srcdir__ for octave-source-directories.
7718 (inferior-octave-check-process): New function refactored out of
7719 inferior-octave-send-list-and-digest.
7720 (octave-source-directories)
7721 (octave-find-definition-filename-function): New variables.
7722 (octave-source-directories)
7723 (octave-find-definition-default-filename): New functions.
7724 (octave-find-definition): Improve to find functions implemented in C++.
7725
472a3834
GM
77262013-05-12 Glenn Morris <rgm@gnu.org>
7727
7728 * calendar/diary-lib.el (diary-outlook-format-1):
7729 Don't include dayname in the output. (Bug#14349)
7730
3191b52f
GM
77312013-05-11 Glenn Morris <rgm@gnu.org>
7732
0060ac73
GM
7733 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7734
3191b52f
GM
7735 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7736 Treat cc-provide like provide.
7737
e065ba74
KR
77382013-05-11 Kevin Ryde <user42@zip.com.au>
7739
7740 * cus-dep.el (custom-make-dependencies):
7741 Use generated-autoload-load-name for the sake of files such
7742 such cedet/semantic/bovine/c.el, where the base file name
7743 is not in load-path. (Bug#5277)
7744
36f84c37
GM
77452013-05-11 Glenn Morris <rgm@gnu.org>
7746
7747 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7748 Provide features.
7749
c8730c3a
LL
77502013-05-11 Leo Liu <sdl.web@gmail.com>
7751
7752 * progmodes/octave.el (octave-indent-comment): Improve.
7753 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7754 (octave-eldoc-function-signatures, octave-eldoc-function):
7755 New functions.
c8730c3a
LL
7756 (octave-mode, inferior-octave-mode): Add eldoc support.
7757
212e29f2
RS
77582013-05-11 Richard Stallman <rms@gnu.org>
7759
7760 * epa.el (epa-decrypt-file): Take output file name as argument
7761 and read it using `interactive'.
7762
083fe0d7
LL
77632013-05-11 Leo Liu <sdl.web@gmail.com>
7764
7765 * progmodes/octave.el (octave-beginning-of-line)
7766 (octave-end-of-line): Check before using up-list because it jumps
7767 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7768 (octave-indent-comment): New function.
7769 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7770 (octave-begin-keywords, octave-end-keywords)
7771 (octave-reserved-words, octave-smie-bnf-table)
7772 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7773
8582e4c4
GM
77742013-05-11 Glenn Morris <rgm@gnu.org>
7775
f20def1f
GM
7776 * faces.el (internal-face-x-get-resource):
7777 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7778 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7779 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7780 Fix declarations.
f20def1f 7781
445f95e2
GM
7782 * calc/calc-menu.el: Make it loadable in isolation.
7783
7784 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7785 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7786 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7787 (eudc-bbdb-query-internal): Require 'bbdb.
7788
99fb2756
GM
7789 * lpr.el (lpr-headers-switches):
7790 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7791
7792 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7793
0da7ad96
GM
7794 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7795
8582e4c4
GM
7796 * term.el (term-set-escape-char): Make it idempotent.
7797
f71c50d0
LL
77982013-05-10 Leo Liu <sdl.web@gmail.com>
7799
5ac2eb34
SM
7800 * progmodes/octave.el (inferior-octave-completion-table):
7801 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7802 completion due to bug#11906.
7803 (octave-beginning-of-defun): Re-write to be more general.
7804
d5837773
GM
78052013-05-10 Glenn Morris <rgm@gnu.org>
7806
7807 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7808
027c0f75
SM
78092013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * comint.el (comint-redirect-send-command-to-process): Use :around
7812 rather than :override for comint-redirect-filter.
7813 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7814 Call it instead of comint-redirect-original-filter-function (which
7815 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7816
4465bfb4
JD
78172013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7818
7819 * frame.el (display-monitor-attributes-list): Add NS case.
7820 (ns-display-monitor-attributes-list): Declare.
7821
2d809ffa 78222013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7823
7824 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7825
e54eeb9b
GM
78262013-05-09 Glenn Morris <rgm@gnu.org>
7827
56cd351d
GM
7828 * international/fontset.el (vertical-centering-font-regexp):
7829 Set standard-value.
7830
d84b6108
GM
7831 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7832
a931698a
GM
7833 * bookmark.el (bookmark-search-delay):
7834 * cus-start.el (vertical-centering-font-regexp):
7835 * ps-mule.el (ps-mule-font-info-database-default):
7836 * ps-print.el (ps-default-fg, ps-default-bg):
7837 * type-break.el (type-break-good-break-interval):
7838 * whitespace.el (whitespace-indentation-regexp)
7839 (whitespace-space-after-tab-regexp):
7840 * emacs-lisp/testcover.el (testcover-1value-functions)
7841 (testcover-noreturn-functions, testcover-progn-functions)
7842 (testcover-prog1-functions):
7843 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7844 * eshell/em-glob.el (eshell-glob-translate-alist):
7845 * play/tetris.el (tetris-tty-colors):
7846 * progmodes/cpp.el (cpp-face-default-list):
7847 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7848 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7849 (idlwave-help-browser-generic-args):
7850 * progmodes/make-mode.el (makefile-special-targets-list):
7851 * progmodes/python.el (python-shell-virtualenv-path):
7852 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7853 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7854 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7855 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7856 * textmodes/reftex-vars.el (reftex-format-label-function):
7857 * textmodes/remember.el (remember-diary-file): Fix custom types.
7858
e54eeb9b
GM
7859 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7860 Add :version.
7861
455851dd
LL
78622013-05-09 Leo Liu <sdl.web@gmail.com>
7863
7864 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7865 Restore file completion. (Bug#14300)
455851dd
LL
7866 (inferior-octave-startup): Fix incorrect highlighting for the
7867 first prompt.
7868
a9e4425b
SM
78692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * progmodes/ruby-mode.el: First cut at SMIE support.
7872 (ruby-use-smie): New var.
7873 (ruby-smie-grammar): New constant.
7874 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7875 (ruby-smie--forward-token, ruby-smie--backward-token)
7876 (ruby-smie-rules): New functions.
7877 (ruby-mode-variables): Setup SMIE if applicable.
7878
060ca408
EZ
78792013-05-08 Eli Zaretskii <eliz@gnu.org>
7880
7881 * simple.el (line-move-visual): Signal beginning/end of buffer
7882 only if vertical-motion moved less than it was requested. Avoids
7883 silly incorrect error messages when there are display strings with
7884 multiple newlines at EOL.
7885
1d5963cc
SM
78862013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7889 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7890 (prolog-char-quote-workaround):
7891 * progmodes/cperl-mode.el (cperl-under-as-char):
7892 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7893 Mark as obsolete.
7894 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7895 their declaration.
7896 (vhdl-mode-syntax-table-init): Remove.
7897
c9990474
SM
7898 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7899 last change.
1d5963cc
SM
7900
7901 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7902 syntax for "_".
7903 (ld-script-font-lock-keywords):
7904 Change regexps to use things like \_< and \_>.
7905
7906 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7907 Change all regexps to use things like \_< and \_>.
7908
7909 * progmodes/autoconf.el (autoconf-definition-regexp)
7910 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7911 Handle a _ with symbol syntax.
7912 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7913
c9990474
SM
7914 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7915 Consolidate declaration.
1d5963cc
SM
7916 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7917 the declaration.
7918 (ada-create-syntax-table): Remove.
7919 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7920 already has the right syntax nowadays.
7921 (ada-goto-next-word): Don't change the syntax of "_".
7922
7923 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7924 with-wrapper-hook.
7925
72d3cfca
SS
79262013-05-08 Sam Steingold <sds@gnu.org>
7927
7928 * thingatpt.el (thing-at-point): Accept optional second argument
7929 NO-PROPERTIES to strip the text properties from the return value.
7930 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7931 to `thing-at-point' instead of stripping the properties ourselves.
7932 Also, when `thing-at-point' fails to find a url, prepend "http://"
7933 to the filename at point on the assumption that the user is
7934 pointing at something like gnu.org/gnu.
7935
5cb15713
JB
79362013-05-08 Juanma Barranquero <lekktu@gmail.com>
7937
7938 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7939 * faces.el (crm-separator):
7940 Silence byte-compiler.
7941
7942 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7943 (tool-bar-map): Remove unneeded defvars.
7944
ea78b95b
LL
79452013-05-08 Leo Liu <sdl.web@gmail.com>
7946
7947 Re-work a fix for bug#10994 based on Le Wang's patch.
7948 * ido.el (ido-remove-consecutive-dups): New helper.
7949 (ido-completing-read): Use it.
7950 (ido-chop): Revert fix for bug#10994.
7951
dc7466df
AS
79522013-05-08 Adam Spiers <emacs@adamspiers.org>
7953
7954 * cus-edit.el (custom-save-variables):
7955 Pretty-print long values. (Bug#14187)
7956
9ecf672a
GM
79572013-05-08 Glenn Morris <rgm@gnu.org>
7958
7959 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7960 (m4-mode-syntax-table): Init in the defvar.
7961 (m4-mode-abbrev-table): Let define-derived-mode define it.
7962
3f555be8
TT
79632013-05-08 Tom Tromey <tromey@redhat.com>
7964
7965 * progmodes/m4-mode.el (m4-mode-syntax-table):
7966 Do not treat "_" as word constituent. (Bug#14167)
7967
7cc8ae06
GM
79682013-05-07 Glenn Morris <rgm@gnu.org>
7969
4f58bc06
GM
7970 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7971 Remove explicit eshell-isearch-cancel-map.
7972
7cc8ae06
GM
7973 * progmodes/f90.el (f90-smart-end-names): New option.
7974 (f90-smart-end): Doc fix.
7975 (f90-end-block-optional-name): New constant.
7976 (f90-block-match): Respect f90-smart-end-names.
7977
ceb57e59
SM
79782013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7981 about implicit semi-colons (bug#14218).
7982
4e3f9230
YM
79832013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7984
7985 * frame.el (display-monitor-attributes-list)
7986 (frame-monitor-attributes): New functions.
7987
203a5572
LL
79882013-05-06 Leo Liu <sdl.web@gmail.com>
7989
7990 * progmodes/octave.el (octave-syntax-propertize-function): Change
7991 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7992 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7993 (octave-completion-at-point): Rename from
203a5572
LL
7994 octave-completion-at-point-function.
7995 (inferior-octave-directory-tracker): Robustify.
7996 (octave-text-functions): Remove and fix its uses. No such things
7997 any more.
7998
ee6cff99
SM
79992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * emacs-lisp/trace.el (trace--display-buffer): New function.
8002 (trace-make-advice): Use it.
8003
32985194
JL
80042013-05-06 Juri Linkov <juri@jurta.org>
8005
8006 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8007 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8008 Doc fix.
8009 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8010 in the help string. (Bug#12985)
8011
a1c700de
KD
80122013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8013
8014 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8015
c67c0839
SM
80162013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8017
323885fd
SM
8018 * progmodes/perl-mode.el: Add support for here documents.
8019 (perl-syntax-propertize-function): Match here-doc markers.
8020 (perl-syntax-propertize-special-constructs): Find their end.
8021 (perl-imenu-generic-expression): Use [:alnum:].
8022
c67c0839
SM
8023 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8024 (advice--add-function): Refresh the advice if already present
8025 (bug#14317).
8026
d491e7a8
IA
80272013-05-06 Ivan Andrus <darthandrus@gmail.com>
8028
8029 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8030
ddf9925e
GM
80312013-05-06 Glenn Morris <rgm@gnu.org>
8032
7cc3af27
GM
8033 * w32-fns.el (w32-charset-info-alist): Declare.
8034
16e343d6
GM
8035 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8036 of its defcustom properties.
8037 (eshell-cmpl-initialize): No need to load pcomplete.
8038
7d889a47
GM
8039 * generic-x.el: No need to require comint when compiling.
8040
ddf9925e
GM
8041 * net/eudc-export.el: Make it loadable without bbdb.
8042 (top-level): Use require rather than load-library.
8043 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8044 (eudc-batch-export-records-to-bbdb)
8045 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8046 Require bbdb.
8047
1e2c18df
SM
80482013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8051 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8052 some tweaks, instead.
8053
02502a5f
LL
80542013-05-05 Leo Liu <sdl.web@gmail.com>
8055
8056 * progmodes/octave.el (octave-font-lock-keywords)
8057 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8058 (inferior-octave-send-list-and-digest): Improve error message.
8059 (octave-mode, inferior-octave-mode): Use setq-local.
8060 (octave-help): Set info-lookup-mode.
8061
0dc04f42
RS
80622013-05-05 Richard Stallman <rms@gnu.org>
8063
6c54491c
RS
8064 * vc/compare-w.el (compare-windows-whitespace):
8065 Treat no-break space as whitespace.
8066
0dc04f42
RS
8067 * mail/rmailsum.el (rmail-summary-rmail-update):
8068 Detect empty summary and don't change selected message.
8069 (rmail-summary-goto-msg): Likewise.
8070
df8f35df
RS
8071 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8072 Doc fixes, rename args.
8073
5356e1a3
AM
80742013-05-05 Alan Mackenzie <acm@muc.de>
8075
8076 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8077
d44014cb
JL
80782013-05-05 Juri Linkov <juri@jurta.org>
8079
8080 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8081 to not add the length of the summary segment to the return value.
8082 (Bug#14125)
8083
c129b51f
LL
80842013-05-05 Leo Liu <sdl.web@gmail.com>
8085
8086 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8087 (inferior-octave-output-filter): Remove.
8088 (octave-send-region, inferior-octave-startup): Fix callers.
8089 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8090 (octave-binary-file-extensions): New user variable.
8091 (octave-find-definition): Confirm if opening binary files.
8092 (octave-help-file): Use octave-find-definition to get the binary
8093 confirmation.
8094 (octave-help): Adjust for octave-help-file change.
8095
aa7dab97
SM
80962013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8099 Merge the two entries that handle function definitions.
8100 (pascal--syntax-propertize): New const.
8101 (pascal-mode): Use it. Use setq-local.
8102
fd3a9a6b
GM
81032013-05-04 Glenn Morris <rgm@gnu.org>
8104
8105 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8106 (diary-from-outlook): Respect diary-from-outlook-function.
8107
30c7e542
SM
81082013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8111 Move the declaration from C.
8112 (read-minibuffer, eval-minibuffer): Move from C.
8113 (completion-setup-function): Avoid minibuffer-completion-contents.
8114
b54f978b
LL
81152013-05-03 Leo Liu <sdl.web@gmail.com>
8116
8117 * progmodes/octave.el (octave-font-lock-keywords): Do not
8118 dehighlight 'end' in comments or strings.
30c7e542
SM
8119 (octave-completing-read, octave-goto-function-definition):
8120 New helpers.
d4d0f9b3
LL
8121 (octave-help-buffer): New user variable.
8122 (octave-help-file, octave-help-function): New button types.
8123 (octave-help): New command and bind it to C-h ;.
8124 (octave-find-definition): New command and bind it to M-.
d74a1581 8125 (user-error): Alias to error if not defined.
b54f978b 8126
27135018
LL
81272013-05-02 Leo Liu <sdl.web@gmail.com>
8128
8129 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8130 for \. (bug#14332)
8131 (octave-font-lock-keywords): Include [ and {.
8132
0d634d3a
LL
81332013-05-02 Leo Liu <sdl.web@gmail.com>
8134
8135 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8136 (inferior-octave): Remove calling comint-mode and return the buffer.
8137 (inferior-octave-startup): Cosmetic changes.
8138
b4c8295e
LL
81392013-05-02 Leo Liu <sdl.web@gmail.com>
8140
30c7e542
SM
8141 * progmodes/octave.el (octave-syntax-propertize-function):
8142 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8143
f12ad6ec
GM
81442013-05-02 Glenn Morris <rgm@gnu.org>
8145
8146 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8147 * desktop.el (vc-dir-mode): Just autoload it here.
8148
30cac1e0
AM
81492013-05-02 Alan Mackenzie <acm@muc.de>
8150
8151 Eliminate variable c-standard-font-lock-fontify-region-function.
8152 * progmodes/cc-mode.el
8153 (c-standard-font-lock-fontify-region-function): Remove.
8154 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8155
d8ef28b1
LL
81562013-05-01 Leo Liu <sdl.web@gmail.com>
8157
2640d52e 8158 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8159 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8160 variables were removed from Octave in 2007.
d8ef28b1
LL
8161 (inferior-octave-startup): Fix uses.
8162 (comint-line-beginning-position): Remove compatibility code for
8163 emacs 21.
8164
ac63ec89
JL
81652013-05-01 Juri Linkov <juri@jurta.org>
8166
8167 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8168
9e9be37c
JL
81692013-05-01 Juri Linkov <juri@jurta.org>
8170
8171 * comint.el (comint-previous-matching-input): Don't print message
8172 "History item: %d" when `isearch-mode' is active.
8173 (comint-history-isearch-message): Print message "History item: %d"
8174 when `comint-input-ring-index' is not empty and this function is
8175 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8176
9b92c13b
LL
81772013-05-01 Leo Liu <sdl.web@gmail.com>
8178
8179 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8180 definitions. Use completion-at-point to insert keywords.
8181 (octave-abbrev-start): Remove.
8182 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8183
b12d33d7
LL
81842013-04-30 Leo Liu <sdl.web@gmail.com>
8185
8186 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8187 change.
8188
3d1c39fa
AM
81892013-04-30 Alan Mackenzie <acm@muc.de>
8190
8191 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8192 * progmodes/cc-engine.el (c-back-over-member-initializers):
8193 new function.
3d1c39fa
AM
8194 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8195 (most) member init lists.
8196
5147fc17
RS
81972013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8198
8199 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8200 variable.
8201
5b78d7fc
LL
82022013-04-30 Leo Liu <sdl.web@gmail.com>
8203
8204 * progmodes/octave.el (octave-variables): Remove. No builtin
8205 variables any more. All converted to functions.
8206 (octave-font-lock-keywords, octave-completion-at-point-function):
8207 Fix uses.
8208 (octave-font-lock-texinfo-comment): New user variable.
8209 (octave-texinfo-font-lock-keywords): New variable for texinfo
8210 comment block.
8211 (octave-function-comment-block): New face.
8212 (octave-font-lock-texinfo-comment): New function.
8213 (octave-mode): Font lock texinfo comment block.
8214
38d8527b
LL
82152013-04-29 Leo Liu <sdl.web@gmail.com>
8216
8217 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8218 indexing expression.
8219 (octave-continuation-string): Do not use \.
8220 (inferior-octave-complete-impossible): Remove.
8221 (inferior-octave-completion-table)
8222 (inferior-octave-completion-at-point): Remove its uses.
8223 (inferior-octave-startup): completion_matches was introduced to
8224 Octave in 1996 so safe to assume it.
8225 (octave-function-file-comment): Improve to follow how Octave does it.
8226 (octave-update-function-file-comment): Tweak.
8227
2ec12cb0
LL
82282013-04-29 Leo Liu <sdl.web@gmail.com>
8229
8230 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8231 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8232 (octave-function-file-comment): Fix typo.
8233 (octave-sync-function-file-names): Use read-char-choice.
8234
6eaed048
JB
82352013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8236
8237 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8238 to t for the less important warnings.
8239
3ffa2d4f
DH
82402013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8241
8242 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8243
685c9501
GM
82442013-04-27 Glenn Morris <rgm@gnu.org>
8245
8246 * vc/log-view.el (log-view-current-entry):
8247 Treat "---" separator lines as part of the following rev. (Bug#14169)
8248
0208ede7
JL
82492013-04-27 Juri Linkov <juri@jurta.org>
8250
8251 * subr.el (read-number): Doc fix about using it by interactive
8252 code letter `n'. (Bug#14254)
8253
5db9dace
JL
82542013-04-27 Juri Linkov <juri@jurta.org>
8255
8256 * desktop.el (desktop-auto-save-timeout): New option.
8257 (desktop-file-checksum): New variable.
8258 (desktop-save): Add optional arg `auto-save' and don't auto-save
8259 if nothing changed.
8260 (desktop-auto-save-timer): New variable.
8261 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8262 (after-init-hook): Call `desktop-auto-save-set-timer'.
8263 Suggested by Reuben Thomas <rrt@sc3d.org> in
8264 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8265
b7260dd4
LL
82662013-04-27 Leo Liu <sdl.web@gmail.com>
8267
8268 * progmodes/octave.el (octave-function-file-p)
8269 (octave-skip-comment-forward, octave-function-file-comment)
8270 (octave-update-function-file-comment): New functions.
8271 (octave-mode-map): Bind C-c ; to
8272 octave-update-function-file-comment.
8273 (octave-mode-menu): Add octave-update-function-file-comment.
8274 (octave-mode, inferior-octave-mode): Fix doc-string.
8275 (octave-insert-defun): Conform to Octave's coding convention.
8276 (Bug#14285)
8277
8278 * files.el (basic-save-buffer): Don't let errors in
8279 before-save-hook prevent saving buffer.
8280
c46da669
RW
82812013-04-20 Roland Winkler <winkler@gnu.org>
8282
8283 * faces.el (read-face-name): Use completing-read if arg multiple
8284 is nil.
8285
a81ee1eb
IL
82862013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8287
8288 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8289 displayed, move point to after the totals line.
8290 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8291 for the details.
8292
4fac34ce
SM
82932013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8296 Add current dir to the load-path.
8297 (package-generate-autoloads): Don't rely on
8298 autoload-ensure-default-file.
8299
f6bfc063
RT
83002013-04-26 Reuben Thomas <rrt@sc3d.org>
8301
d40ab5cf
BG
8302 * textmodes/remember.el (remember-store-in-files): Document that
8303 the file name format is passed to `format-time-string'.
f6bfc063 8304
e55d3b04
LL
83052013-04-26 Leo Liu <sdl.web@gmail.com>
8306
8307 * progmodes/octave.el (octave-sync-function-file-names): New function.
8308 (octave-mode): Use it in before-save-hook.
8309
e53052d3
SM
83102013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8311
140ef50c
SM
8312 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8313 (bug#14274).
8314
e53052d3
SM
8315 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8316 \n and comment, even if it's not an implicit ; (bug#14218).
8317
af80458d 83182013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8319
8320 * subr.el (read-number): Once more use `read' rather than
8321 `string-to-number', to trap non-numeric input. (Bug#14254)
8322
af80458d 83232013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8324
8325 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8326 Use `syntax-multiline' text property consistently instead of
8a621d53 8327 `font-lock-multiline'. (Bug#14237)
70203c2e 8328
e6ea1f6c
GM
83292013-04-26 Glenn Morris <rgm@gnu.org>
8330
8331 * emacs-lisp/shadow.el (list-load-path-shadows):
8332 No longer necessary to check for duplicate simple.el, since
8333 2012-07-07 change to init_lread to not include installation lisp
8334 directories in load-path when running uninstalled. (Bug#14270)
8335
070ccca4
LL
83362013-04-26 Leo Liu <sdl.web@gmail.com>
8337
8338 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8339 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8340 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8341 octave-in-string-or-comment-p.
8342 (octave-in-comment-p, octave-in-string-p)
8343 (octave-in-string-or-comment-p): Replace defsubst with defun.
8344
9d1c5fb6
PE
83452013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8346
8347 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8348
c034abda
BG
83492013-04-25 Bastien Guerry <bzg@gnu.org>
8350
8351 * textmodes/remember.el (remember-data-directory)
8352 (remember-directory-file-name-format): Fix custom types.
8353
584ea277
LL
83542013-04-25 Leo Liu <sdl.web@gmail.com>
8355
e53052d3
SM
8356 * progmodes/octave.el (octave-completion-at-point-function):
8357 Make use of inferior octave process.
584ea277
LL
8358 (octave-initialize-completions): Remove.
8359 (inferior-octave-completion-table): New function.
8360 (inferior-octave-completion-at-point): Use it.
8361 (octave-completion-alist): Remove.
8362
1693b06a
SM
83632013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8364
8365 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8366 (opascal-mode-syntax-table): New var.
8367 (opascal-literal-kind, opascal-is-literal-end)
8368 (opascal-literal-token-at): Rewrite.
8369 (opascal--literal-start-re, opascal-font-lock-keywords)
8370 (opascal--syntax-propertize): New constants.
8371 (opascal-font-lock-defaults): Adjust.
8372 (opascal-mode): Use them. Set comment-<foo> variables as well.
8373 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8374 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8375 (delphi-other-face, opascal-other-face): Remove face variables.
8376 (opascal-save-state): Remove macro.
8377 (opascal-fontifying-progress-step): Remove constant.
8378 (opascal--ignore-changes): Remove var.
8379 (opascal-set-token-property, opascal-parse-next-literal)
8380 (opascal-is-stable-literal, opascal-complete-literal)
8381 (opascal-is-literal-start, opascal-face-of)
8382 (opascal-parse-region, opascal-parse-region-until-stable)
8383 (opascal-fontify-region, opascal-after-change)
8384 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8385 (opascal-debug-parse-region, opascal-debug-parse-window)
8386 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8387 (opascal-debug-fontify-buffer): Remove.
8388 (opascal-debug-mode-map): Adjust accordingly.
8389
be64c05d
LL
83902013-04-25 Leo Liu <sdl.web@gmail.com>
8391
8392 Merge octave-mod.el and octave-inf.el into octave.el with some
8393 cleanups.
8394 * progmodes/octave.el: New file renamed from octave-mod.el.
8395 * progmodes/octave-inf.el: Merged into octave.el.
8396 * progmodes/octave-mod.el: Renamed to octave.el.
8397
d79d37bd
TH
83982013-04-25 Tassilo Horn <tsdh@gnu.org>
8399
8400 * textmodes/reftex-vars.el
8401 (reftex-label-ignored-macros-and-environments): New defcustom.
8402
8403 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8404
ced3fc5d
SM
84052013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8408 (smie-indent-keyword): Improve the check to ensure that the next
8409 comment is really on the same line.
8410 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8411
8412 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8413 semi-colons if the line is not otherwise empty (bug#14218).
8414
1c141dad
GM
84152013-04-25 Glenn Morris <rgm@gnu.org>
8416
8417 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8418
5058062a
SM
84192013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * progmodes/opascal.el (opascal-set-token-property): Rename from
8422 opascal-set-text-properties and only set `token' (bug#14134).
8423 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8424 (opascal-literal-text-properties): Remove.
8425 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8426 Adjust callers.
8427
5db9dace 84282013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8429
8430 * textmodes/remember.el (remember-handler-functions): Add an
8431 option for a new handler `remember-store-in-files'.
8432 (remember-data-directory, remember-directory-file-name-format):
8433 New options.
8434 (remember-store-in-files): New function to store remember notes
8435 as separate files within a directory.
8436
4391916c
MH
84372013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8438
8439 * progmodes/compile.el (compilation-next-error-function):
8440 Pass "formats" to compilation-find-file (bug#11777).
8441
bb7cdf58
GM
84422013-04-24 Glenn Morris <rgm@gnu.org>
8443
3b8fe752 8444 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8445 * vc/vc-hg.el (vc-hg-print-log):
8446 * vc/vc-svn.el (vc-svn-print-log):
8447 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8448
bb7cdf58
GM
8449 * vc/vc-bzr.el (vc-bzr-print-log):
8450 * vc/vc-cvs.el (vc-cvs-print-log):
8451 * vc/vc-git.el (vc-git-print-log):
8452 * vc/vc-hg.el (vc-hg-print-log):
8453 * vc/vc-mtn.el (vc-mtn-print-log):
8454 * vc/vc-rcs.el (vc-rcs-print-log):
8455 * vc/vc-sccs.el (vc-sccs-print-log):
8456 * vc/vc-svn.el (vc-svn-print-log):
8457 * vc/vc.el (vc-print-log-internal): Doc fixes.
8458
b46a056e
GM
84592013-04-23 Glenn Morris <rgm@gnu.org>
8460
8461 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8462 Remove venerable code attempting to avoid substitute-command-keys.
8463
0aecf718
TH
84642013-04-23 Tassilo Horn <tsdh@gnu.org>
8465
4391916c
MH
8466 * textmodes/reftex-vars.el (reftex-label-regexps):
8467 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8468
117f94cf
SM
84692013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8470
4391916c 8471 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8472 Use lexical-binding.
8473 (jit-lock-force-redisplay): Use markers, check buffer's continued
8474 existence and beware narrowed buffers.
8475 (jit-lock-fontify-now): Adjust call accordingly.
8476
1d829c64
SM
84772013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8478
8479 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8480 to avoid misleading the user.
8481
72d548a9
LL
84822013-04-22 Leo Liu <sdl.web@gmail.com>
8483
8484 * info-look.el: Prefer latex2e.info. (Bug#14240)
8485
d0853629
MA
84862013-04-22 Michael Albinus <michael.albinus@gmx.de>
8487
8488 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8489
8490 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8491 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8492 (tramp-set-completion-function, tramp-parse-putty):
8493 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8494 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8495 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8496 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8497 (tramp-call-local-coding-command): Use `tramp-call-process'
8498 instead of `tramp-compat-call-process'.
8499
8500 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8501 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8502 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8503 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8504 (tramp-maybe-send-script): Check for Perl binary.
8505 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8506
38cc0210
DU
85072013-04-22 Daiki Ueno <ueno@gnu.org>
8508
8509 * epg.el (epg-context-pinentry-mode): New function.
8510 (epg-context-set-pinentry-mode): New function.
8511 (epg--start): Pass --pinentry-mode option to gpg command.
8512
cc641ee1
XF
85132013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8514
02d844b5 8515 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8516 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8517 `completion-at-point'. (Bug#13774)
5d4e5c31 8518
cc641ee1
XF
8519 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8520 default key binding for `describe-distribution' has been moved to
8521 `C-h C-o'. (Bug#13970)
8522
1b42ee43
GM
85232013-04-21 Glenn Morris <rgm@gnu.org>
8524
8525 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8526 Add doc strings.
8527 (vc-print-log): Clarify interactive prompt.
8528
a6d63d97
GM
85292013-04-20 Glenn Morris <rgm@gnu.org>
8530
8531 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8532 No longer include timestamp etc information.
8533
d7f5c16f
RW
85342013-04-20 Roland Winkler <winkler@gnu.org>
8535
8536 * faces.el (read-face-name): Bug fix, return just one face if arg
8537 multiple is nil. (Bug#14209)
8538
bcd7a0a4
SM
85392013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8542 (remove-function): Autoload.
8543
8544 * comint.el (comint-redirect-original-filter-function): Remove.
8545 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8546 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8547 (vc-cvs-annotate-command):
bcd7a0a4
SM
8548 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8549 * progmodes/prolog.el (prolog-consult-compile):
8550 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8551 Use add/remove-function instead.
8552 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8553 (gud-tooltip-process-output, gud-tooltip-tips):
8554 Use add/remove-function instead.
8555 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8556 (scheme-interaction-mode, exit-scheme-interaction-mode):
8557 Use add/remove-function instead.
8558
8559 * vc/vc-dispatcher.el: Use lexical-binding.
8560 (vc--process-sentinel): Rename from vc-process-sentinel.
8561 Change last arg to be the code to run. Don't use vc-previous-sentinel
8562 and vc-sentinel-commands any more.
8563 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8564 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8565
e36b2d20 85662013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8567
bcd7a0a4 8568 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8569 Handle function names with a single character. (Bug#14111)
4d3268ba 8570
781b4af6 85712013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8572
8573 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8574 for subroutines defined in an eval (bug#14182).
8575
7d688336
TV
85762013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8577
8578 * bookmark.el (bookmark-completing-read): Improve handling of empty
8579 string (bug#14176).
8580
31dcede0
SM
85812013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8584
adc31213
FEG
85852013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8586
8587 New faster Imenu implementation (bug#14058).
8588 * progmodes/python.el:
8589 (python-imenu-prev-index-position):
8590 (python-imenu-format-item-label-function)
8591 (python-imenu-format-parent-item-label-function)
8592 (python-imenu-format-parent-item-jump-label-function):
8593 New vars.
8594 (python-imenu-format-item-label)
8595 (python-imenu-format-parent-item-label)
8596 (python-imenu-format-parent-item-jump-label)
8597 (python-imenu--put-parent, python-imenu--build-tree)
8598 (python-imenu-create-index, python-imenu-create-flat-index)
8599 (python-util-popn): New functions.
8600 (python-mode): Set imenu-create-index-function to
8601 python-imenu-create-index.
8602
cdca8255
SM
86032013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * winner.el (winner-active-region): Use region-active-p, activate-mark
8606 and deactivate-mark (bug#14225).
8607
8608 * simple.el (deactivate-mark): Don't inline it.
8609
beb42340
MA
86102013-04-18 Michael Albinus <michael.albinus@gmx.de>
8611
8612 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8613
fc7f4d7e
TH
86142013-04-18 Tassilo Horn <tsdh@gnu.org>
8615
8616 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8617 file extensions from the archive-mode entry in order to prefer
8618 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8619
29f47822
LL
86202013-04-18 Leo Liu <sdl.web@gmail.com>
8621
8622 * bindings.el (help-event-list): Add ?\?.
8623
d36ed1c8
SM
86242013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * subr.el (with-wrapper-hook): Declare obsolete.
8627 * simple.el (filter-buffer-substring-function): New hook.
8628 (filter-buffer-substring): Use it.
8629 (filter-buffer-substring-functions): Mark obsolete.
8630 * minibuffer.el (completion-in-region-function): New hook.
8631 (completion-in-region): Use it.
8632 (completion-in-region-functions): Mark obsolete.
8633 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8634 * abbrev.el (abbrev-expand-function): New hook.
8635 (expand-abbrev): Use it.
8636 (abbrev-expand-functions): Mark obsolete.
8637 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8638 and :filter-return.
8639
04754d36
FEG
86402013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8641
8642 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8643 and do not care about match data.
8644
dd8791e9
SM
86452013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8648 completion tables when completing error conditions and
8649 `declare' arguments.
8650 (lisp-complete-symbol, field-complete): Mark as obsolete.
8651 (check-parens): Unmatched parens are user errors.
8652 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8653
ffe54a13
AM
86542013-04-17 Michal Nazarewicz <mina86@mina86.com>
8655
dd8791e9
SM
8656 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8657 command changed buffer (ie. `flyspell-pre-buffer' is not current
8658 buffer), which prevents making decisions based on invalid value of
8659 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8660 cause an error when `flyspell-pre-point' was nil after switching
8661 buffers.
8662 (flyspell-post-command-hook): No longer needs to change buffers when
8663 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8664
ec7e39f2
AM
86652013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8666
8667 * textmodes/ispell.el (ispell-add-per-file-word-list):
8668 Fix `flyspell-correct-word-before-point' error when accepting
8669 words and `coment-padding' is an integer by using
8670 `comment-normalize-vars' (Bug #14214).
8671
083850a6
FEG
86722013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8673
8674 New defun movement commands.
8675 * progmodes/python.el (python-nav--syntactically)
8676 (python-nav--forward-defun, python-nav-backward-defun)
8677 (python-nav-forward-defun): New functions.
8678
619ed6e1
FEG
86792013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8680
8681 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8682 (python-syntax-context): Use named compiler-macro for backwards
8683 compatibility with Emacs 24.x.
8684
7a1beb6c
LL
86852013-04-17 Leo Liu <sdl.web@gmail.com>
8686
8687 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8688 octave-hide-process-buffer.
8689
2d3fa3e5
SM
86902013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8693 (bug#14216).
8694
7ce5be54
JPG
86952013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8696
8697 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8698 Fix adjustment of offset when receiving incomplete responses from GDB
8699 (bug#14129).
8700
351edece
SM
87012013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8704 python-mode-abbrev-table.
8705 (python-skeleton-define): Adjust accordingly.
8706 (python-mode-abbrev-table): New table that inherits from it so that
8707 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8708
8709 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8710 (abbrev-symbol): Use it.
8711 (abbrev--before-point): Use it since we already handle inheritance.
8712
613f9481
LL
87132013-04-16 Leo Liu <sdl.web@gmail.com>
8714
8715 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8716 binding to info-lookup-symbol.
8717
51646b62
JB
87182013-04-16 Juanma Barranquero <lekktu@gmail.com>
8719
8720 * minibuffer.el (completion--twq-all):
8721 * term/ns-win.el (ns-initialize-window-system):
8722 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8723
efb3f01d
SM
87242013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8725
36c0a301
SM
8726 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8727 global bindings.
8728
efb3f01d
SM
8729 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8730
fb549d64
DG
87312013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8732
8733 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8734 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8735 to nil.
8736 (ruby-end-of-defun): Remove the unused arg, change the docstring
8737 to reflect that this function is only used as the value of
8738 `end-of-defun-function'.
8739 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8740 to reflect an earlier change that beginning/end-of-defun functions
8741 jump between methods in a class definition, as well as top-level
8742 functions.
8743
21e8fe2f
SM
87442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * minibuffer.el (minibuffer-complete): Don't just scroll
8747 a *Completions* that's been iconified.
8748 (minibuffer-force-complete): Make sure repetitions do cycle when going
8749 through completion-in-region -> minibuffer-complete.
8750
20e527d0
AM
87512013-04-15 Alan Mackenzie <acm@muc.de>
8752
8753 Correct the placement of c-cpp-delimiters when there're #s not at
8754 col 0.
8755
8756 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8757 place a submatch around the #.
21e8fe2f
SM
8758 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8759 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8760 on the #, not BOL.
8761
dabefae5
SM
87622013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8765 (advice--member-p): New arg `name'.
8766 (advice--add-function, advice-member-p): Use it (bug#14202).
8767
85c9ab64
AM
87682013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8769
8770 Reformulate java imenu-generic-expression.
8771 The old expression contained ill formed regexps.
8772
8773 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8774 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8775 (cc-imenu-java-method-arg-regexp): New defconsts.
8776 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8777 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8778 handling of spaces in the regexp.
8779
0f821d99
AM
87802013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8781
8782 * textmodes/ispell.el (ispell-command-loop): Remove
8783 flyspell highlight of a word when ispell accepts it (bug #14178).
8784
eb922adf
MA
87852013-04-15 Michael Albinus <michael.albinus@gmx.de>
8786
8787 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8788 uses code from the previous `ange-ftp-run-real-handler'.
8789 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8790 only in case that function exist. This is needed for proper
8791 unloading of Tramp.
8792
4d9a0979
TH
87932013-04-15 Tassilo Horn <tsdh@gnu.org>
8794
8795 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8796
8797 * textmodes/reftex.el (reftex-compile-variables): Use it.
8798
a829b0dc
SM
87992013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8800
91e8293c
SM
8801 * files.el (normal-mode): Only use default major-mode if no other mode
8802 was specified.
8803
830aed4d
SM
8804 * emacs-lisp/trace.el (trace-values): New function.
8805
a829b0dc
SM
8806 * files.el: Allow : in local variables (bug#14089).
8807 (hack-local-variable-regexp): New var.
8808 (hack-local-variables-prop-line, hack-local-variables): Use it.
8809
7ae9f0fb
RW
88102013-04-13 Roland Winkler <winkler@gnu.org>
8811
8812 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8813 data before it gets modified by bibtex-beginning-of-entry.
8814
6646e848
RW
88152013-04-13 Roland Winkler <winkler@gnu.org>
8816
8817 * textmodes/bibtex.el (bibtex-url): Doc fix.
8818
88192013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8820
8821 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8822 does not visit a BibTeX file, exclude it from the list of buffers
8823 returned by bibtex-initialize.
8824
0aa3616e
SB
88252013-04-13 Stephen Berman <stephen.berman@gmx.net>
8826
8827 * window.el (split-window): Remove interactive form, since as a
8828 command this function is a special case of split-window-below.
8829 Correct doc string.
8830
011cddd6
RW
88312013-04-12 Roland Winkler <winkler@gnu.org>
8832
8833 * faces.el (read-face-name): Do not override value of arg default.
8834 Allow single faces and strings as default values. Remove those
8835 elements from return value that are not faces.
8836 (describe-face): Simplify.
8837 (face-at-point): New optional args thing and multiple so that this
8838 function can provide the same functionality previously provided by
8839 read-face-name.
8840 (make-face-bold, make-face-unbold, make-face-italic)
8841 (make-face-unitalic, make-face-bold-italic, invert-face)
8842 (modify-face, read-face-and-attribute): Use face-at-point.
8843
8844 * cus-edit.el (customize-face, customize-face-other-window)
8845 * cus-theme.el (custom-theme-add-face)
8846 * face-remap.el (buffer-face-set)
8847 * facemenu.el (facemenu-set-face): Use face-at-point.
8848
f24e0036
MA
88492013-04-12 Michael Albinus <michael.albinus@gmx.de>
8850
8851 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8852
da3cda2d
TH
88532013-04-10 Tassilo Horn <tsdh@gnu.org>
8854
8855 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8856 off leading { and trailing } from field values.
8857
15e54145
SM
88582013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8859
78ce603d
SM
8860 * emacs-lisp/timer.el (timer--check): New function.
8861 (timer--time, timer-set-function, timer-event-handler): Use it.
8862 (timer-set-idle-time): Simplify.
8863 (timer--activate): CSE.
8864 (timer-event-handler): Give more info in error message.
8865 (internal-timer-start-idle): New function, moved from C.
8866
15e54145
SM
8867 * mpc.el (mpc-proc): Add `restart' argument.
8868 (mpc-proc-cmd): Use it.
8869 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8870 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8871 less often.
8872
7144c627
MY
88732013-04-10 Masatake YAMATO <yamato@redhat.com>
8874
8875 * progmodes/sh-script.el: Implement `sh-mode' own
8876 `add-log-current-defun-function' (bug#14112).
8877 (sh-current-defun-name): New function.
8878 (sh-mode): Use the function.
8879
b39792eb
BG
88802013-04-09 Bastien Guerry <bzg@gnu.org>
8881
8882 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8883
8acdeb71
SM
88842013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8885
6fcdab68
SM
8886 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8887
8acdeb71
SM
8888 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8889 timer (bug#14156).
8890
e3e7b504
NF
88912013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8892
8893 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8894 declaration.
8895
201bb296
LL
88962013-04-07 Leo Liu <sdl.web@gmail.com>
8897
8898 * pcmpl-x.el: New file.
8899
ebb19708
DA
89002013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8901
8902 Do not set x-display-name until X connection is established.
8903 This is needed to prevent from weird situation described at
8904 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8905 * frame.el (make-frame): Set x-display-name after call to
8906 window system initialization function, not before.
8907 * term/x-win.el (x-initialize-window-system): Add optional
8908 display argument and use it.
8909 * term/w32-win.el (w32-initialize-window-system):
8910 * term/ns-win.el (ns-initialize-window-system):
8911 * term/pc-win.el (msdos-initialize-window-system):
8912 Add compatible optional display argument.
8913
33bb237a
EZ
89142013-04-06 Eli Zaretskii <eliz@gnu.org>
8915
8916 * files.el (normal-backup-enable-predicate): On MS-Windows and
8917 MS-DOS compare truenames of temporary-file-directory and of the
8918 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8919 don't fail comparison by compare-strings. Also, compare file
8920 names case-insensitively on MS-Windows and MS-DOS.
8921
134abf1f
SM
89222013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8925 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8926
d695cb94
DG
89272013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8928
e3e7b504
NF
8929 * whitespace.el (whitespace-color-on, whitespace-color-off):
8930 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8931
f4ad7ea1 89322013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8933
8934 * ispell.el (ispell-set-spellchecker-params):
8935 Really set `ispell-args' for all equivs.
8936
632556e4
SM
89372013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8938
8939 * ido.el (ido-completions): Use extra elements of ido-decorations
8940 (bug#14143).
8941 (ido-decorations): Update docstring.
8942
2a417372
MA
89432013-04-05 Michael Albinus <michael.albinus@gmx.de>
8944
8945 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8946 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8947 nil during initialization, in order not to miss changes since the
8948 file was opened. (Bug#14140)
8949
fc164b0c
LL
89502013-04-05 Leo Liu <sdl.web@gmail.com>
8951
8952 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8953
0ccecc08
JB
89542013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8955
8956 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8957
51af1aa2
GM
89582013-04-04 Glenn Morris <rgm@gnu.org>
8959
8960 * electric.el (electric-pair-inhibit-predicate): Add :version.
8961
b208ebc6
SM
89622013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8965 when a package is required several times (bug#14082).
8966
f3d3eaf0
RW
89672013-04-04 Roland Winkler <winkler@gnu.org>
8968
8969 * faces.el (read-face-name): Behave as promised by the docstring.
8970 Assume that arg default is a list of faces.
8971 (describe-face): Call read-face-name with list of default faces.
8972
2575da50
TV
89732013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8974
8975 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8976 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8977 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8978 the header.
8979 (bookmark-exit-hook-internal): Save even if list is empty.
8980
397703b4
YH
89812013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8982
8983 * emacs-lisp/package.el (package-pinned-packages): New var.
8984 (package--add-to-archive-contents): Obey it (bug#14118).
8985
691e26ae
AM
89862013-04-03 Alan Mackenzie <acm@muc.de>
8987
8a621d53
JB
8988 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8989 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8990
8991 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8992 parameter `not-in-delimiter'. Handle being inside comment opener.
8993 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8994 character in case we're typing a '*' after a '/'.
8995 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8996 instead by passing the parameter to c-state-pp-to-literal.
8997
8998 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8999 for elt. 7 of a parse state.
9000
4b725a70
PE
90012013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9004 * international/latin1-disp.el, international/mule-util.el:
9005 * language/cyril-util.el, language/european.el, language/ind-util.el:
9006 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9007 * language/tibetan.el, language/viet-util.el:
9008 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9009
15c579f0
SM
90102013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9013 (electric-pair-post-self-insert-function): Use it.
9014 (electric-pair-default-inhibit): New function, extracted from
9015 electric-pair-post-self-insert-function.
9016
a77e2924
RW
90172013-03-31 Roland Winkler <winkler@gnu.org>
9018
9019 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9020
2bd8a4a8
SM
90212013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9024
8d3655be 90252013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9026
9027 Un-indent after "pass" and "return" statements (Bug#13888)
9028 * progmodes/python.el (python-indent-block-enders): New var.
9029 (python-indent-calculate-indentation): Use it.
9030
8d3655be 90312013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9032
9033 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9034 defun. Defining it as defalias could introduce too eager
9035 byte-compiler optimization. (Bug#14030)
9036
8d3655be 90372013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9038
9039 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9040
0b1619da
LL
90412013-03-30 Leo Liu <sdl.web@gmail.com>
9042
9043 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9044 (kmacro-execute-from-register): Pass the keyboard macro to
9045 kmacro-call-macro or repeating won't work correctly.
9046
0b938190
TZ
90472013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9048
9049 * progmodes/subword.el: Back to using `forward-symbol'.
9050
9051 * subr.el (forward-whitespace, forward-symbol)
9052 (forward-same-syntax): Move from thingatpt.el.
9053
35710234
LL
90542013-03-29 Leo Liu <sdl.web@gmail.com>
9055
9056 * kmacro.el (kmacro-to-register): New command.
9057 (kmacro-execute-from-register): New function.
9058 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9059
efc0bb73
SM
90602013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * mpc.el: Use defvar-local and setq-local.
9063 (mpc--proc-connect): Connection failures are not bugs.
9064 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9065 (mpc-volume-map): Bind to the up-events.
9066
75a2f981
TZ
90672013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9068
9069 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9070 instead of `forward-symbol'.
9071
17c781d1
SM
90722013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9075 (edebug--recursive-edit): Use it.
9076 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9077 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9078
f67bfbcf
LL
90792013-03-28 Leo Liu <sdl.web@gmail.com>
9080
9081 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9082
b59f639d
EZ
90832013-03-27 Eli Zaretskii <eliz@gnu.org>
9084
9085 * facemenu.el (list-colors-callback): New defvar.
9086 (list-colors-redisplay): New function.
9087 (list-colors-display): Install list-colors-redisplay as the
9088 revert-buffer-function. (Bug#14063)
9089
f557c1b1
SM
90902013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9091
b1da2957
SM
9092 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9093 and suffixes don't overlap (bug#14061).
9094
f557c1b1
SM
9095 * case-table.el: Use lexical-binding.
9096 (case-table-get-table): New function.
9097 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9098
002668e1
TZ
90992013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9100
9101 * progmodes/subword.el: Add `superword-mode' to do word motion
9102 over symbol_words (parallels and leverages `subword-mode' which
9103 does word motion inside MixedCaseWords).
9104
73572c72
AG
91052013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9106
78b8f320 9107 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9108 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9109
69b2c07e
SM
91102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9113 Change return value to be a sexp. Delay `get-buffer' to after
9114 restoring the desktop (bug#13951).
9115
08bb5ee2
LL
91162013-03-26 Leo Liu <sdl.web@gmail.com>
9117
9118 * register.el: Move semantic tag handling back to
9119 cedet/semantic/senator.el. (Bug#14052)
9120
8d4c974e
SM
91212013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9124 into the prompt either (bug#13963).
9125
b234d92c
SM
91262013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9129 part of "(error-foo)".
9130
ddfa3cb4
JL
91312013-03-24 Juri Linkov <juri@jurta.org>
9132
9133 * replace.el (list-matching-lines-prefix-face): New defcustom.
9134 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9135 `occur-engine' if `face-differs-from-default-p' returns t.
9136 (occur-engine): Add `,' inside backquote construct to evaluate
9137 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9138 Pass `prefix-face' to the functions `occur-context-lines' and
9139 `occur-engine-add-prefix'.
9140 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9141 `prefix-face' and propertize the prefix with `prefix-face'.
9142 (Bug#14017)
9143
7b0e2f85
LL
91442013-03-24 Leo Liu <sdl.web@gmail.com>
9145
9146 * nxml/rng-valid.el (rng-validate-while-idle)
9147 (rng-validate-quick-while-idle): Guard against deleted buffer.
9148 (Bug#13999)
9149
9150 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9151 is the last entry in kill-buffer-hook.
9152
9153 * files.el (kill-buffer-hook): Doc fix.
9154
b3082f49
DG
91552013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9156
b234d92c
SM
9157 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9158 Make it safe-local.
bde73d27 9159
b3082f49
DG
9160 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9161
a320a2db
LL
91622013-03-23 Leo Liu <sdl.web@gmail.com>
9163
7e74b0fb
LL
9164 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9165 Remove.
9166
9167 * nxml/rng-valid.el (rng-validate-mode)
9168 (rng-after-change-function, rng-do-some-validation):
9169 * nxml/rng-maint.el (rng-validate-buffer):
9170 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9171 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9172 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9173 (nxml-extend-after-change-region): Use with-silent-modifications.
9174
a320a2db
LL
9175 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9176 timer-idle-list.
9177
9178 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9179 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9180 timer-idle-list. (Bug#13999)
9181
e38e6780
JL
91822013-03-23 Juri Linkov <juri@jurta.org>
9183
9184 * info.el (info-index-match): New face.
9185 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9186 main pattern and add text properties with the new face to matches
9187 in index entries relative to the beginning of the index entry.
9188 (Bug#14015)
9189
e8cc7880
DE
91902013-03-21 Eric Ludlam <zappo@gnu.org>
9191
9192 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9193 Inhibit read only while inserting objects.
9194
9bb0d822
TZ
91952013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9196
9197 * progmodes/cfengine.el: Update docs to mention
9198 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9199 symbol motion. Remove "_" from the word syntax.
9200
aa703640
TZ
92012013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9202
9203 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9204 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9205
afff09d0
JL
92062013-03-20 Juri Linkov <juri@jurta.org>
9207
9208 * info.el (Info-next-reference-or-link)
9209 (Info-prev-reference-or-link): New functions.
9210 (Info-next-reference, Info-prev-reference): Use them.
9211 (Info-try-follow-nearest-node): Handle footnote navigation.
9212 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9213
9a1ff164
SM
92142013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9215
9216 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9217 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9218
2667d15d
PE
92192013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9220
9221 Suppress unnecessary non-ASCII chatter during build process.
9222 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9223 (batch-skkdic-convert): Suppress most of the chatter.
9224 It's not needed so much now that machines are faster,
9225 and its non-ASCII component was confusing; see Dmitry Gutov in
9226 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9227
438b0579
LL
92282013-03-20 Leo Liu <sdl.web@gmail.com>
9229
9230 * ido.el (ido-chop): Fix bug#10994.
9231
c128ab07
DG
92322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9233
9234 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9235 Remove vars.
9a1ff164
SM
9236 (whitespace-color-on, whitespace-color-off):
9237 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9238
0e6008c5
SM
92392013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9242 remapping in mode-line.
9243 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9244
627b52b0
DG
92452013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9246
9247 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9248 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9249 (whitespace-font-lock-keywords): Change description.
9250 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9251 the constructed keywords instead.
9252 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9253
50c3a20b
LL
92542013-03-19 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/compile.el (compilation-display-error): New command.
9257 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9258 C-o. (Bug#13992)
9259
2aa2157b
PE
92602013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9261
9262 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9263
e477dbfa
JD
92642013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9265
9266 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9267
64ab82d1
MA
92682013-03-18 Michael Albinus <michael.albinus@gmx.de>
9269
9270 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9271
9272 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9273 * net/tramp-gvfs.el (top):
9274 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9275 (tramp-handle-shell-command): Use it.
9276 (tramp-dissect-file-name): Raise an error when hostname is a
9277 method name, and neither method nor user is specified.
9278
9279 * net/trampver.el: Update release number.
9280
33cef733
LL
92812013-03-18 Leo Liu <sdl.web@gmail.com>
9282
9283 Make sure eldoc can be turned off properly.
9284 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9285 eldoc-mode.
9286 (eldoc-display-message-p): Revert last change.
9287 (eldoc-display-message-no-interference-p)
9288 (eldoc-print-current-symbol-info): Tweak.
9289
2167b7b2
TH
92902013-03-18 Tassilo Horn <tsdh@gnu.org>
9291
9292 * doc-view.el (doc-view-new-window-function): Check the new window
9293 overlay's display property instead the char property of the
9294 buffer's first char. Use `with-selected-window' instead of
9295 `save-window-excursion' with `select-window'.
9296 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9297 display property instead the char property of the buffer's first char.
2167b7b2 9298
982efbcd
PE
92992013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9300
9301 Automate the build of ja-dic.el (Bug#13984).
9302 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9303 from the input, rather than assume that it's been done for us by the
9304 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9305 the current date into a ja-dic.el comment, as that complicates
9306 regression testing.
9307
2fcc7665
SM
93082013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9309
9310 * whitespace.el: Fix double evaluation.
9311 (whitespace-space, whitespace-hspace, whitespace-tab)
9312 (whitespace-newline, whitespace-trailing, whitespace-line)
9313 (whitespace-space-before-tab, whitespace-indentation)
9314 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9315 obsolete defvars.
9316 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9317 (whitespace-color-on): Use a single font-lock-add-keywords call.
9318 Fix double-evaluation of face variables.
9319
67c0a6e6
MA
93202013-03-17 Michael Albinus <michael.albinus@gmx.de>
9321
2fcc7665
SM
9322 * net/tramp-adb.el (tramp-adb-parse-device-names):
9323 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9324 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9325
69489f1d
LL
93262013-03-17 Leo Liu <sdl.web@gmail.com>
9327
9328 Extend eldoc to display info in the mode-line. (Bug#13978)
9329 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9330 (eldoc-mode-line-string): New variable.
9331 (eldoc-minibuffer-message): New function.
9332 (eldoc-message-function): New variable.
9333 (eldoc-message): Use it.
9334 (eldoc-display-message-p)
2fcc7665
SM
9335 (eldoc-display-message-no-interference-p):
9336 Support eldoc-post-insert-mode.
69489f1d
LL
9337
9338 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9339 (eval-expression): Run it.
9340
9c44569e
RW
93412013-03-17 Roland Winkler <winkler@gnu.org>
9342
9343 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9344 strings in the list of return values.
9345
327f1f6f
JB
93462013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9347
9348 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9349 radix before checking for HMS forms.
9350
67ed8fcd
LL
93512013-03-16 Leo Liu <sdl.web@gmail.com>
9352
9353 * progmodes/scheme.el: Add indentation and font-locking for λ.
9354 (Bug#13975)
9355
78be8b64 93562013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9357
9358 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9359 token before point (bug#13942).
9360
78be8b64 93612013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9362
95b43468 9363 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9364
98e775e6
EZ
93652013-03-16 Eli Zaretskii <eliz@gnu.org>
9366
9367 * startup.el (command-line-normalize-file-name): Fix handling of
9368 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9369 <xfq.free@gmail.com> in
9370 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9371
2edd6029
MA
93722013-03-15 Michael Albinus <michael.albinus@gmx.de>
9373
9374 Sync with Tramp 2.2.7.
9375
9376 * net/trampver.el: Update release number.
9377
d35f5864
TH
93782013-03-14 Tassilo Horn <tsdh@gnu.org>
9379
e903c210 9380 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9381 (doc-view-insert-image): Don't modify overlay associated to
9382 non-live windows, and implement horizontal centering of image in
9383 case it's smaller than the window.
9384 (doc-view-new-window-function): Force redisplay of new windows on
9385 doc-view buffers.
d35f5864 9386
1c4a85ed
KF
93872013-03-13 Karl Fogel <kfogel@red-bean.com>
9388
9389 * saveplace.el (save-place-alist-to-file): Don't sort
9390 `save-place-alist', just pretty-print it (bug#13882).
9391
85b66a21
MA
93922013-03-13 Michael Albinus <michael.albinus@gmx.de>
9393
a020afb9
JB
9394 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9395 Check whether `default-file-name-coding-system' is bound.
9396 It isn't in XEmacs.
85b66a21 9397
175600da
SM
93982013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9399
e7f7cb1a
SM
9400 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9401 backquotes for `obsolete' (bug#13929).
9402
175600da
SM
9403 * international/mule.el (find-auto-coding): Include file name in
9404 obsolescence warning (bug#13922).
9405
ca68a22e
TZ
94062013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9407
9408 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9409 for CFEngine 3-specific indentation.
9410 (cfengine3-indent-line): Use it. Fix up category regex.
9411 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9412
940e5099
SM
94132013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * type-break.el (type-break-file-name):
9416 * textmodes/remember.el (remember-data-file):
9417 * strokes.el (strokes-file):
9418 * shadowfile.el (shadow-initialize):
9419 * saveplace.el (save-place-file):
9420 * ps-bdf.el (bdf-cache-file):
9421 * progmodes/idlwave.el (idlwave-config-directory):
9422 * net/quickurl.el (quickurl-url-file):
9423 * international/kkc.el (kkc-init-file-name):
9424 * ido.el (ido-save-directory-list-file):
9425 * emulation/viper.el (viper-custom-file-name):
9426 * emulation/vip.el (vip-startup-file):
9427 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9428 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9429
cc725808
PE
94302013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9431
9432 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9433 * language/thai-word.el: Switch to UTF-8.
9434
a020afb9 9435See ChangeLog.16 for earlier changes.
e3d51b27
MR
9436
9437;; Local Variables:
9438;; coding: utf-8
e3d51b27
MR
9439;; End:
9440
ab422c4d 9441 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9442
9443 This file is part of GNU Emacs.
9444
9445 GNU Emacs is free software: you can redistribute it and/or modify
9446 it under the terms of the GNU General Public License as published by
9447 the Free Software Foundation, either version 3 of the License, or
9448 (at your option) any later version.
9449
9450 GNU Emacs is distributed in the hope that it will be useful,
9451 but WITHOUT ANY WARRANTY; without even the implied warranty of
9452 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9453 GNU General Public License for more details.
9454
9455 You should have received a copy of the GNU General Public License
9456 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.