Add Archive column to package list.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7397c587
TZ
12013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * emacs-lisp/package.el (package-menu-mode)
4 (package-menu--print-info, package-menu--archive-predicate): Add
5 Archive column to package list.
6
b27cc9fc
MA
72013-11-04 Michael Albinus <michael.albinus@gmx.de>
8
9 Fix problems found while writing a test suite.
10
11 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
12 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
13 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14 to nil when running original file name handler. Otherwise,
15 there are problems with constructs like "$$FOO".
16
17 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
18 for `localname'.
19
d8c4f18a
BB
202013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
21
7b530552
BB
22 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
23
24 * subr.el (version<, version<=, version=):
25 Update docstrings with information for snapshot versions.
26
d8c4f18a
BB
27 * helpers.el: New library for misc helper functions.
28 (hash-table-keys): New function returning a list of hash keys.
29 (hash-table-values): New function returning a list of hash values.
30
dca01b09
DG
312013-11-04 Dmitry Gutov <dgutov@yandex.ru>
32
33 * progmodes/ruby-mode.el (ruby-smie--forward-token)
34 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
35
0a749fa0
MN
362013-11-04 Michal Nazarewicz <mina86@mina86.com>
37
38 * textmodes/fill.el (fill-single-char-nobreak-p): New function
39 checking whether point is after a 1-letter word.
40
412013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
42
43 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
44 Don't infloop when expanding region over `multiline' syntax-type that
45 begins a line (bug#15778).
46
4aca7145
SM
472013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
50 Make it into a proper minor mode.
51 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
52 (rectangle-mark-mode-map): New keymap.
53 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
54
a0833f62
GM
552013-11-04 Glenn Morris <rgm@gnu.org>
56
57 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
58
e61845c1
SM
592013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
62 (ruby-smie-rules): Use smie-rule-parent instead.
63
64 * emacs-lisp/smie.el (smie-rule-parent): Always call
65 smie-indent-virtual rather than only for hanging tokens.
66 (smie--next-indent-change): New helper command.
67
62942f89
GM
682013-11-03 Glenn Morris <rgm@gnu.org>
69
70 * Makefile.in (abs_srcdir): Remove.
71 (emacs): Unset EMACSLOADPATH.
72
b0b9e592
GM
732013-11-02 Glenn Morris <rgm@gnu.org>
74
18ba6a33 75 * Makefile.in (EMACS): Use a relative filename.
8061810d 76 (abs_top_builddir): Remove.
18ba6a33
GM
77 (custom-deps, finder-data, autoloads): Use --chdir.
78
6a8b929e
GM
79 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
80
c617f3d0
GM
81 Use relative filenames in TAGS files.
82 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
83 (lisptagsfiles4, TAGS): Use relative file names.
84 (TAGS-LISP): Remove.
85 (maintainer-clean): No more TAGS-LISP file.
86
b0b9e592
GM
87 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
88 (lisptagsfiles4): Use absolute filenames again.
89 (TAGS, TAGS-LISP): Not everything needs to run in one line.
90 Remove all *loaddefs files, not just the first. Remove esh-groups.
91 (maintainer-clean): Delete TAGS, TAGS-LISP.
92
d1c0ea6a
BB
932013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
94
e61845c1
SM
95 * emacs-lisp/package.el (package-version-join):
96 Recognize snapshot versions.
d1c0ea6a 97
684d71c6
BB
982013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
99
100 * subr.el (version-regexp-alist): Add support for snapshot versions.
101
3d42b968
DG
1022013-11-02 Dmitry Gutov <dgutov@yandex.ru>
103
e61845c1
SM
104 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
105 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
106 skip over our direct parent if it's an assignment token..
107 (ruby-smie-rules): Use it.
108
7ffd3721
DG
1092013-11-02 Dmitry Gutov <dgutov@yandex.ru>
110
111 * progmodes/ruby-mode.el Use `syntax-propertize-function'
112 unconditionally. Remove now unnecessary forward declarations.
113 Remove XEmacs-specific setup.
114 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
115 (ruby-font-lock-syntactic-keywords)
116 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
117 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
118 (ruby-here-doc-end-syntax): Remove.
119 (ruby-mode): Don't check whether `syntax-propertize-rules' is
120 defined as function.
121
a3996a2e
BB
1222013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
123
124 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
125
6f9260e8
BB
1262013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
127
128 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
129 table and abbrev table, `define-derived-mode' does that for us
130 anyway.
131
6014de84
GM
1322013-11-01 Glenn Morris <rgm@gnu.org>
133
134 * Makefile.in: Remove manual mh-e dependencies (writing .elc
135 files is atomic for some time, so no parallel compilation issues).
136
3c334c14
JD
1372013-11-01 Jan Djärv <jan.h.d@swipnet.se>
138
139 * faces.el (face-x-resources): Add :distant-foreground.
140 (region): Use :distant-foreground for gtk and ns.
141
9bc236c8
TH
1422013-11-01 Tassilo Horn <tsdh@gnu.org>
143
5246583b 144 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
145 BibTeX.
146 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
147 (reftex-locate-bibliography-files): Us it.
148
d14c81ee
CB
1492013-11-01 Claudio Bley <claudio.bley@googlemail.com>
150
0e7690de
CB
151 * image.el (image-type-header-regexps): Fix the 'pbm' part to
152 allow comments in pbm files.
153
d14c81ee
CB
154 * term/w32-win.el (dynamic-library-alist): Support newer versions
155 of libjpeg starting with v7: look only for the DLL from the
156 version against which Emacs was built.
ac1bf374 157 Support versions of libpng beyond 1.4.x.
019c8218 158 Support libtiff v4.x.
d14c81ee 159
983d0df5
BB
1602013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
161
162 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
163 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
164 Add property :safe.
165 (ruby-deep-arglist): Add property :type.
166
47f58d85
GM
1672013-10-31 Glenn Morris <rgm@gnu.org>
168
169 * Makefile.in (custom-deps, finder-data): No need to setq the target
170 variables, we are in the right directory and the defaults work fine.
171
4f85b479
GM
1722013-10-30 Glenn Morris <rgm@gnu.org>
173
ca7dd4cd
GM
174 * Makefile.in (autoloads): Do not use abs_lisp.
175
4f85b479
GM
176 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
177 `newline' does not respect `standard-output', so use `princ'.
178
cf59e41c
AA
1792013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
180
181 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
182 * buff-menu.el (Buffer-menu--unmark): New function.
183 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
184
74cf04fb
GM
1852013-10-30 Glenn Morris <rgm@gnu.org>
186
b040b60e
GM
187 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
188
f53d3815
GM
189 * emacs-lisp/package.el (lm-homepage): Declare.
190
5413d873
GM
191 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
192 Fix doc typos.
193
cecedb36
GM
194 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
195
74cf04fb
GM
196 * Makefile.in (finder-data, autoloads, update-subdirs)
197 (compile-main, compile-clean, compile-always, bootstrap-clean):
198 Check return value of cd.
199 (compile-calc): Remove.
200
195ee2f0
SM
2012013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
202
ae4002ce
SM
203 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
204
205 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
206 (byte-compile-and-folded): New function.
207 (=, <, >, <=, >=): Use it.
208
209 * dos-w32.el (minibuffer-history-case-insensitive-variables)
210 (path-separator, null-device, buffer-file-coding-system)
211 (lpr-headers-switches): Check system-type before modifying them.
212 (find-buffer-file-type-coding-system): Mark obsolete.
213 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
214 find-file-not-found-set-buffer-file-coding-system.
215 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
216 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
217 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
218 (w32-direct-print-region-helper, w32-direct-print-region-function)
219 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
220 * startup.el (normal-top-level-add-subdirs-to-load-path):
221 * ps-print.el (ps-print-region-function):
222 * lpr.el (print-region-function): Use new name.
223
53b39e89
SM
224 * subr.el (custom-declare-variable-early): Remove function.
225 (custom-declare-variable-list): Remove var.
226 (error, user-error): Remove `while' loop.
227 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
228 (user-emacs-directory-warning, locate-user-emacs-file):
229 Move to files.el.
230 * simple.el (read-quoted-char-radix, read-quoted-char):
231 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
232 Move from subr.el.
233 * custom.el (custom-declare-variable-list): Don't process
234 custom-declare-variable-list.
235
195ee2f0
SM
236 * progmodes/python.el (python-shell-get-buffer): New function.
237 (python-shell-get-process): Use it.
238 (python-shell-send-string): Always use utf-8 and add a cookie to tell
239 Python which encoding was used. Don't split-string since we only care
240 about the first line. Return the temp-file, if applicable.
241 (python-shell-send-region): Tell compile.el how to turn locations in
242 the temp-file into locations in the source buffer.
243
7e3561ee
SM
2442013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
245
4c9797cb
SM
246 * subr.el (undefined): Add missing behavior from the C code for
247 unbound keys.
248
3472b6c6
SM
249 * rect.el: Use lexical-binding. Add new rectangular region support.
250 (rectangle-mark): New command.
251 (rectangle--region): New var.
252 (deactivate-mark-hook): Reset rectangle--region.
253 (rectangle--extract-region, rectangle--insert-for-yank)
254 (rectangle--highlight-for-redisplay)
255 (rectangle--unhighlight-for-redisplay): New functions.
256 (region-extract-function, redisplay-unhighlight-region-function)
257 (redisplay-highlight-region-function): Use them to handle
258 rectangular region.
259 * simple.el (region-extract-function): New var.
260 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
261 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
262 (kill-region): Replace obsolete `yank-handler' arg with `region'.
263 (copy-region-as-kill, kill-ring-save): Add `region' argument.
264 (redisplay-unhighlight-region-function)
265 (redisplay-highlight-region-function): New vars.
266 (redisplay--update-region-highlight): New function.
267 (pre-redisplay-function): Use it.
268 (exchange-point-and-mark): Don't deactivate the mark before
269 reactivate-it anyway.
270 * comint.el (comint-kill-region): Remove yank-handler argument.
271 * delsel.el (delete-backward-char, backward-delete-char-untabify)
272 (delete-char): Remove property, since it's now part of their
273 default behavior.
274 (self-insert-iso): Remove property since this command doesn't exist.
275
7e3561ee
SM
276 * emacs-lisp/package.el (package--download-one-archive)
277 (describe-package-1): Don't query the user about final newline.
278
b9bef71f
DC
2792013-10-29 Daniel Colascione <dancol@dancol.org>
280
281 * net/tramp.el (tramp-methods): Document new functionality.
282 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
283 tramp-hostname-checker if method provides one instead of scanning
284 argument list for "%h" to decide hostname acceptability.
285
4efc33f0
MA
2862013-10-28 Michael Albinus <michael.albinus@gmx.de>
287
288 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
289 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
290 Handle COPY-CONTENTS. (Bug#15737)
291
ed42a877
DU
2922013-10-28 Daiki Ueno <ueno@gnu.org>
293
294 * epa-file.el
7e3561ee
SM
295 (epa-file-cache-passphrase-for-symmetric-encryption):
296 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 297
18c9f8a2
XF
2982013-10-27 Xue Fuqiao <xfq.free@gmail.com>
299
7a4bc7be
XF
300 * image.el (defimage):
301 (image-load-path): Doc fixes.
18c9f8a2 302
b1e8e010
AM
3032013-10-27 Alan Mackenzie <acm@muc.de>
304
305 Indent statements in macros following "##" correctly.
7e3561ee
SM
306 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
307 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 308
73d40d1e 3092013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
310
311 * linum.el (linum-update-window): Fix boundary test (bug#13446).
312
c8c605ac
DG
3132013-10-27 Dmitry Gutov <dgutov@yandex.ru>
314
315 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
316 after `=' is probably a new expression.
317
ca7e59d4
RS
3182013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
319
320 * man.el (man-imenu-title): New option.
321 (Man-mode-map): Add menu. (Bug#15722)
322 (Man-mode): Add imenu to menu.
323
bae91342
DG
3242013-10-26 Dmitry Gutov <dgutov@yandex.ru>
325
326 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
327 specific in what the first arg can be: a non-keyword word,
328 string/regexp/percent literal opener, opening paren, or unary
329 operator followed directly by word.
330
eb89dc14
SM
3312013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
334 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
335 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
336 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
337 Remove vars, they do not apply any more.
338 (prolog-mode-abbrev-table): Remove redundant declaration.
339 (prolog-upper-case-string, prolog-lower-case-string): Remove.
340 (prolog-use-smie): Remove.
341 (prolog-smie-rules): Add indentation rule for the if-then-else layout
342 supported by prolog-electric-if-then-else-flag.
343 (prolog-mode-variables, prolog-menu): Use setq-local.
344 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
345 Remove binding to `Backspace' since this key doesn't exist anyway.
346 Remove bindings for electric self-inserting keys.
347 (prog-mode): Assume it's defined.
348 (prolog-post-self-insert): New function.
349 (prolog-mode): Use it.
350 (prolog-indent-line, prolog-indent-level)
351 (prolog-find-indent-of-matching-paren)
352 (prolog-indentation-level-of-line, prolog-goto-comment-column)
353 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
354 (prolog-goto-next-paren, prolog-in-string-or-comment)
355 (prolog-tokenize, prolog-inside-mline-comment)
356 (prolog-find-start-of-mline-comment): Remove functions.
357 (prolog-find-unmatched-paren, prolog-clause-end)
358 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
359 (prolog-electric--if-then-else): Rename from
360 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
361 (prolog-tokenize-searchkey): Remove const.
362 (prolog-clause-info): Use forward-sexp.
363 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
364 (prolog-electric-if-then-else): Remove commands.
365 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
366 for use in post-self-insert-hook.
367 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
368 for use in post-self-insert-hook.
369 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
370 for use in post-self-insert-hook.
371 (prolog-electric--underscore): Rename from prolog-electric--underscore;
372 adapt it for use in post-self-insert-hook.
373
3dab0a83
MA
3742013-10-25 Michael Albinus <michael.albinus@gmx.de>
375
376 * emacs-lisp/ert.el (ert-run-tests-interactively):
377 Use `completing-read'. (Bug#9756)
378
fbfd0e1d
EZ
3792013-10-25 Eli Zaretskii <eliz@gnu.org>
380
381 * simple.el (line-move): Call line-move-1 instead of
382 line-move-visual when the current window hscroll is zero, but
383 temporary-goal-column indicates we will need to hscroll as result
384 of the movement. (Bug#15712)
385
963ce636
DG
3862013-10-25 Dmitry Gutov <dgutov@yandex.ru>
387
388 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
389 capitalization. Use :visible instead of :active.
390 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
391 commands that are used with SMIE.
392 (ruby-do-end-to-brace): Insert space after `{'.
393
a0be396a
JA
3942013-10-25 John Anthony <john@jo.hnanthony.com>
395
f73754c9
JA
396 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
397
398 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 399
f5bf77df
GM
4002013-10-25 Glenn Morris <rgm@gnu.org>
401
402 * vc/vc.el (vc-print-log): Don't use a working revision unless
403 one was explicitly specified. (Bug#15322)
404
37241f62
SM
4052013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * subr.el (add-to-list): Preserve return value in compiler-macro
408 (bug#15692).
409
6408a65d
RS
4102013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
411
412 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
413 result. Ask user to retry using '-all' flag. (Bug#15701)
414
71e3276b
SM
4152013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * emacs-lisp/smie.el: New smie-config system.
418 (smie-config): New defcustom.
419 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
420 (smie-config-guess, smie-config-save): New commands.
421 (smie-config--mode-local, smie-config--buffer-local)
422 (smie-config--trace, smie-config--modefuns): New vars.
423 (smie-config--advice, smie-config--mode-hook)
424 (smie-config--setter, smie-config-local, smie-config--get-trace)
425 (smie-config--guess-value, smie-config--guess): New functions.
426 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
427 text properties. Treat "string fence" syntax like string syntax.
428
429 * progmodes/sh-script.el (sh-use-smie): Change default.
430 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
431 (sh-var-value): Simplify by CSE.
432 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
433 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
434 is used.
435 (sh-guess-basic-offset): Use cl-incf.
436 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
437
60db713e
HE
4382013-10-24 Helmut Eller <eller.helmut@gmail.com>
439
440 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
441 (bug#15699).
442
8b251df6
GM
4432013-10-24 Glenn Morris <rgm@gnu.org>
444
445 * Makefile.in (abs_top_srcdir): Remove.
446 (update-subdirs): Use relative path to update-subdirs.
447
6be0e22b
EZ
4482013-10-24 Eli Zaretskii <eliz@gnu.org>
449
450 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
451 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
452 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
453 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 454
50b5b857
MA
4552013-10-24 Michael Albinus <michael.albinus@gmx.de>
456
457 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
458 (ert-test-skipped): New error.
459 (ert-skip, ert-stats-skipped): New defuns.
460 (ert--skip-unless): New macro.
461 (ert-test-skipped): New struct.
462 (ert--run-test-debugger, ert-test-result-type-p)
463 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
464 (ert--stats-set-test-and-result, ert-char-for-test-result)
465 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 466 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 467 Handle skipped tests. (Bug#9803)
50b5b857 468
6f317c2f
GM
4692013-10-24 Glenn Morris <rgm@gnu.org>
470
e43817c1
GM
471 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
472
6f317c2f
GM
473 * Makefile.in (abs_top_srcdir): New, set by configure.
474 (update-subdirs): Correct build-aux location.
475
369bbf71
DG
4762013-10-24 Dmitry Gutov <dgutov@yandex.ru>
477
8297b2cf
DG
478 * vc/vc.el (vc-print-root-log): Always set `default-directory'
479 value, whether we could auto-deduce `backend', or not.
480
369bbf71
DG
481 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
482 with parameters" example. Simplify the "is it block or is it
483 hash" check, but also make it more thorough.
484
d5f1282f
MF
4852013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
486
487 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
488
bc4aaa31
SM
4892013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
490
03d44565
SM
491 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
492 { if it is hanging.
493
bc4aaa31
SM
494 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
495 :before ";".
496
f493ff19
JB
4972013-10-23 Jed Brown <jed@59A2.org> (tiny change)
498
499 * progmodes/compile.el (compilation-directory-matcher)
500 (compilation-page-delimiter):
501 Support GNU Make-4.0 directory quoting. (Bug#15678)
502
c744a3b9
LL
5032013-10-23 Leo Liu <sdl.web@gmail.com>
504
505 * ido.el (ido-tidy): Handle read-only text.
506
b8e3b0a9
GM
5072013-10-23 Glenn Morris <rgm@gnu.org>
508
509 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
510 (emacs, compile, compile-always):
511 Quote entities that might contain whitespace.
512 (custom-deps, finder-data, autoloads): Use abs_lisp.
513 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
514 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
515 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
516
ee4282cd
DG
5172013-10-23 Dmitry Gutov <dgutov@yandex.ru>
518
bc4aaa31
SM
519 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
520 Use `following-char'.
7790a270 521
ee4282cd 5222013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
523
524 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
525 * progmodes/ruby-mode.el (ruby-smie-rules):
526 Remove corresponding workaround. Fix indentation rule of ";" so it
527 also applies when ";" is the parent.
528
d40a46d7
XF
5292013-10-22 Xue Fuqiao <xfq.free@gmail.com>
530
531 * frame.el (display-screens, display-pixel-height)
532 (display-pixel-width, display-mm-width, display-backing-store)
533 (display-save-under, display-planes, display-color-cells)
7790a270
SM
534 (display-visual-class, display-monitor-attributes-list):
535 Mention the optional ‘display’ argument in doc strings.
d40a46d7 536
a0f143c9
MG
5372013-10-22 Michael Gauland <mikelygee@amuri.net>
538
539 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
540 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
541
18cacc39
DG
5422013-10-21 Dmitry Gutov <dgutov@yandex.ru>
543
544 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
545 TODO. Add "." after " @ ".
546 (ruby-smie--at-dot-call): New function. Checks if point at method
547 call with explicit target.
548 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
549 to the method name tokens when it precedes them.
550 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
551 (ruby-smie-rules): Add rule for indentation before and after "."
552 token.
553
df74c4be
SM
5542013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
555
c6dab55f
SM
556 * textmodes/remember.el (remember-diary-extract-entries):
557 Avoid add-to-list.
558
df74c4be
SM
559 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
560 an instruction.
561
8c1ae481
DG
5622013-10-21 Dmitry Gutov <dgutov@yandex.ru>
563
cfef16c0
DG
564 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
565 (ruby-smie--implicit-semi-p): Add new operator chars.
566
8c1ae481
DG
567 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
568 `smie-down-list'.
569 (ruby-smie--args-separator-p): Check that there's no newline
570 between method call and its arguments.
571
87756ca9
AM
5722013-10-20 Alan Mackenzie <acm@muc.de>
573
574 Allow comma separated lists after Java "implements".
575
df74c4be
SM
576 * progmodes/cc-engine.el (c-backward-over-enum-header):
577 Parse commas.
87756ca9
AM
578 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
579 from a "disallowed" list in enum fontification.
580
c25f8957
JB
5812013-10-20 Johan Bockgård <bojohan@gnu.org>
582
df74c4be 583 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 584
c25f8957
JB
585 * progmodes/verilog-mode.el (verilog-mode): Don't set
586 comment-indent-function globally.
587
aca5fcdc
JD
5882013-10-20 Jan Djärv <jan.h.d@swipnet.se>
589
5f161884
JD
590 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
591 Move Info menu item creation to ns-win.el.
592
593 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
594 in menu bar.
595
aca5fcdc
JD
596 * menu-bar.el: Move GNUStep specific menus...
597
598 * term/ns-win.el (ns-initialize-window-system): ... to here.
599
914b7f98
SM
6002013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * simple.el (newline): Only run post-self-insert-hook when
603 called interactively.
604
846ffe77
JB
6052013-10-19 Johan Bockgård <bojohan@gnu.org>
606
607 * icomplete.el (icomplete-with-completion-tables): Add :version.
608
033f22dd
AM
6092013-10-19 Alan Mackenzie <acm@muc.de>
610
611 Fix fontification bugs with constructors and const.
612
613 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
614 CASE 2) Remove the check for the absence of a suffix construct
615 after a function declaration with only types (no identifiers) in
616 the parentheses. Also, accept a function declaration with just a
617 type inside the parentheses, if this type can be positively
618 recognised as such, or if a prefix keyword like "explicit" nails
619 down the construct as a declaration.
620
58ce0cfc
EZ
6212013-10-19 Eli Zaretskii <eliz@gnu.org>
622
623 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
624 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
625 the problem whereby selecting a menu item that leads to a
626 minibuffer prompt moves the cursor out of the minibuffer window,
627 making it hard to type at the prompt. Suggested by Stefan Monnier
628 <monnier@iro.umontreal.ca>.
629
50e28e7d
JD
6302013-10-19 Jan Djärv <jan.h.d@swipnet.se>
631
632 * menu-bar.el: Don't make Services menu.
633
7deed4bf
RS
6342013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
635
636 * ffap.el: Handle "/usr/include/c++/<version>" directories.
637 (ffap-alist): Use ffap-c++-mode for c++-mode.
638 (ffap-c++-path): New variable.
639 (ffap-c++-mode): New function.
640
7bcb455b
JVJ
6412013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
642
643 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
644
f0ff1cd5
MA
6452013-10-18 Michael Albinus <michael.albinus@gmx.de>
646
647 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
648 introduced on 2013-09-08, which results in an infinite loop
649 requesting a password.
650
d64da4b7
GM
6512013-10-18 Glenn Morris <rgm@gnu.org>
652
653 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
654
ea89ff08
WS
6552013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
656
657 Sync with upstream verilog-mode revision 1a6ecec7.
658 * progmodes/verilog-mode.el (verilog-mode-version): Update.
659 (verilog-mode-release-date): Remove.
660 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
661 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
662 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
663 (verilog-auto-tieoff-ignore-regexp)
664 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
665 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
666 (verilog-signals-with, verilog-dir-cache-preserving)
667 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
668 Doc fixes.
669 (verilog-case-fold): New option, to control case folding in
670 regexp searches, bug597.
671 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
672 (verilog-string-match-fold, verilog-in-paren-count)
673 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
674 (verilog-at-close-struct-p): New functions.
675 (verilog-beg-block-re-ordered, verilog-extended-case-re)
676 (verilog-forward-sexp, verilog-set-auto-endcomments):
677 (verilog-leap-to-case-head): Handle "unique0" case.
678 (verilog-in-constraint-re): New constant.
679 (verilog-keywords, verilog-type-font-keywords):
680 Add some SystemVerilog 1800-2012 keywords.
681 (verilog-label-be): Remove unimplemented argument, bug669.
682 (verilog-batch-execute-func): When batch expanding clear
683 create-lockfiles to prevent spurious user locks when a file ends
684 up not changing.
685 (verilog-calculate-indent, verilog-calc-1)
686 (verilog-at-close-constraint-p, verilog-at-constraint-p)
687 (verilog-do-indent): Fix indentation of nested constraints
688 and structures.
689 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
690 (verilog-auto-inst-param): Use verilog-string-match-fold.
691 (verilog-read-inst-module-matcher):
692 Fix AUTOINST on gate primitives with #1.
693 (verilog-read-decls): Fix double-declaring user-defined typed signals.
694 Reads all user-defined typed variables.
695 (verilog-read-defines): Fix reading definitions inside comments, bug647.
696 (verilog-signals-matching-regexp)
697 (verilog-signals-not-matching-regexp, verilog-auto):
698 Respect verilog-case-fold.
699 (verilog-diff-report): Fix line count.
700 (verilog-auto-assign-modport): Remove unused local `modi'.
701 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
702 better handle multidimensional arrays.
703 Fix packed array ports misadding bit index in AUTOINST, bug637.
704 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
705 to not double-declare existing outputs and inputs, respectively.
706 (verilog-template-map): Bind U to verilog-sk-uvm-component.
707 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
708 (verilog-sk-uvm-component): New skeleton.
709 (verilog-submit-bug-report): Add verilog-case-fold,
710 remove verilog-mode-release-date.
711
ef566920
BR
7122013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
713
714 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
715 as before.
716
29df8a0b
RT
7172013-10-18 Reuben Thomas <rrt@sc3d.org>
718
719 * textmodes/remember.el (remember): set buffer-offer-save in
720 remember buffers (bug#13566).
721
04a19a79
DC
7222013-10-18 Daniel Colascione <dancol@dancol.org>
723
724 When evaluating forms in ielm, direct standard output to ielm
725 buffer. Add new ielm-return-for-effect command. Remove trailing
726 whitespace throughout.
727
728 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
729 (ielm-return-for-effect): New command.
730 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
731 (ielm-eval-input): Accept optional `for-effect' parameter.
732 Bind `standard-output' to stream we create using
04a19a79
DC
733 `ielm-standard-output-impl'. Suppress printing result when
734 `for-effect'.
735 (ielm-standard-output-impl): New function.
736 (inferior-emacs-lisp-mode): Explain new features in documentation.
737
4c1f03ef
MA
7382013-10-17 Michael Albinus <michael.albinus@gmx.de>
739
740 Code cleanup.
741
742 * net/tramp.el (tramp-debug-message): Do not check for connection
743 buffer.
744 (tramp-message): Use "vector" connection property.
745
746 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
747 (tramp-equal-remote, tramp-eshell-directory-change)
748 * net/tramp-adb.el (tramp-adb-handle-copy-file)
749 (tramp-adb-handle-rename-file)
750 * net/tramp-cmds.el (tramp-list-remote-buffers)
751 (tramp-cleanup-connection, tramp-cleanup-this-connection)
752 * net/tramp-compat.el (tramp-compat-process-running-p)
753 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
754 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
755 (tramp-gvfs-handle-rename-file)
756 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
757 (tramp-set-file-uid-gid)
758 * net/tramp-smb.el (tramp-smb-handle-copy-file)
759 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
760 of `file-remote-p'.
761
762 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
763 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
764 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
765 (tramp-gw-open-network-stream): Suppress unrelated traces.
766
767 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
768 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
769 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
770 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
771 connection property.
772
773 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 774 persistency file.
4c1f03ef
MA
775
776 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
777 Refactor common code. Improve debug message.
778 (tramp-maybe-open-connection)
779 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
780 connection buffer too early.
781
782 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
783 from `tramp-smb-actions-with-acl'.
784 (tramp-smb-actions-set-acl): New defconst.
785 (tramp-smb-handle-copy-directory)
786 (tramp-smb-action-get-acl): New defun, renamed from
787 `tramp-smb-action-with-acl'.
788 (tramp-smb-action-set-acl): New defun.
789 (tramp-smb-handle-set-file-acl): Rewrite.
790
642eb8b6
GM
7912013-10-17 Glenn Morris <rgm@gnu.org>
792
793 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
794
85527ff3
SM
7952013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
796
921c1d62
SM
797 * skeleton.el (skeleton-newline): Remove.
798 (skeleton-internal-1): Use (insert "\n") instead.
799
e333fb10
SM
800 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
801 let-bindings.
802
85527ff3
SM
803 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
804 forward-sexp-function while we redo its job (bug#15613).
805
c8722a97
JB
8062013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
807
808 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
809 represented by lists.
810
7a550bbb
GM
8112013-10-16 Glenn Morris <rgm@gnu.org>
812
813 * tmm.el (tmm--history): New dynamic variable.
814 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
815
f19da8ad
MA
8162013-10-16 Michael Albinus <michael.albinus@gmx.de>
817
818 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
819 (tramp-smb-errors): Add error messages.
820 (tramp-smb-actions-with-acl): New defconst.
821 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
822 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
823 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
824 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
825 (tramp-smb-get-stat-capability): Fix tests.
826
a24b9961
DK
8272013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
828
829 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
830 (bug#15580).
831
62ad85e6
GM
8322013-10-16 Glenn Morris <rgm@gnu.org>
833
0283d6b0
GM
834 * ansi-color.el (ansi-color-drop-regexp):
835 Add 1J, 1K, 2K. (Bug#15617)
836
012e2f9f
GM
837 * files.el (hack-local-variables--warned-lexical): New.
838 (hack-local-variables):
839 Warn about misplaced lexical-binding. (Bug#15616)
840
62ad85e6
GM
841 * net/eww.el (eww-render): Always set eww-current-url,
842 and update header line. (Bug#15622)
843 (eww-display-html): ... Rather than just doing it here.
844
6456c0ea
EZ
8452013-10-15 Eli Zaretskii <eliz@gnu.org>
846
847 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
848 menu navigations commands.
849
c2de5588
DK
8502013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
851
852 * progmodes/subword.el (subword-capitalize): Be careful when
853 the search for [[:alpha:]] fails (bug#15580).
854
ccd4a783
EZ
8552013-10-14 Eli Zaretskii <eliz@gnu.org>
856
857 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
858 to commands that scroll the menu.
859
1eda1d8d
DG
8602013-10-14 Dmitry Gutov <dgutov@yandex.ru>
861
c2de5588
DK
862 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
863 Handle methods ending with `?' and `!'.
1eda1d8d 864
e70181b8
AM
8652013-10-14 Akinori MUSHA <knu@iDaemons.org>
866
867 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
868 `japanese-cp932' to `cp932' to fix the problem where saving a
869 source file written in Shift_JIS twice would end up having
870 `coding: japanese-cp932' which Ruby could not recognize.
871 (ruby-mode-set-encoding): Add support for encodings mapped to nil
872 in `ruby-encoding-map'.
873 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
874 doesn't need to be explicitly declared in magic comment.
875 (ruby-encoding-map): Add type declaration for better customize UI.
876
9148ee92
GM
8772013-10-13 Glenn Morris <rgm@gnu.org>
878
a5d38e34
GM
879 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
880 Occur buffers are read-only. http://bugs.debian.org/720775
881
9148ee92
GM
882 * emacs-lisp/authors.el (authors-fixed-entries):
883 Comment out old alpha stuff.
884
a9ba094b
DG
8852013-10-13 Dmitry Gutov <dgutov@yandex.ru>
886
887 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
888 to `after-save-hook' instead of `before-save-hook'.
889 (ruby-mode-set-encoding): Use the value of coding system used to
890 write the file. Call `basic-save-buffer-1' after modifying the
891 buffer.
892
7a068717
AM
8932013-10-13 Alan Mackenzie <acm@muc.de>
894
895 Fix indentation/fontification of Java enum with
896 "implements"/generic.
897
c2de5588
DK
898 * progmodes/cc-engine.el (c-backward-over-enum-header):
899 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
900 (c-inside-bracelist-p): Uses new function above.
901 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
902 function above.
903 (c-font-lock-enum-tail): Uses new function above.
904
85b64f02
KH
9052013-10-13 Kenichi Handa <handa@gnu.org>
906
907 * international/mule-cmds.el (select-safe-coding-system): Remove a
908 superfluous condition in chekcing whether a coding system is safe
909 or not.
910
fc7f501b
OK
9112013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
912
913 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
914
fdcb2049
AP
9152013-10-13 Andreas Politz <politza@hochschule-trier.de>
916
917 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
918
8c106d17
GM
9192013-10-13 Glenn Morris <rgm@gnu.org>
920
feab892d
GM
921 * menu-bar.el (menu-bar-update-buffers):
922 Unify Buffers menu prompt string. (Bug#15576)
923
b22d0686
GM
924 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
925
8c106d17
GM
926 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
927 Add some entries.
928 (authors-fixed-entries): Use accented form of name.
929
1b12c797
SM
9302013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
931
650fa7bf 932 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 933 method calls (bug#15594).
650fa7bf
SM
934 (ruby-smie--args-separator-p): New function.
935 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
936 recognize paren-free method calls.
937
1b12c797
SM
938 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
939 internals of universal-argument.
940
029619c8
EZ
9412013-10-11 Eli Zaretskii <eliz@gnu.org>
942
943 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
944 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
945 dropped menu on second mouse click on the menu bar.
029619c8 946
dd070019
SM
9472013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
950 (explicit-shell-file-name): Declare.
951 (sh--vars-before-point, sh--cmd-completion-table): New functions.
952 (sh-completion-at-point-function): New function.
953 (sh-mode): Use it.
954 (sh-smie--keyword-p): Remove unused argument.
955 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
956 vars.
957 (sh-set-shell): Always setup SMIE, even if we use the
958 old indentation code.
959
0922b826
DG
9602013-10-11 Dmitry Gutov <dgutov@yandex.ru>
961
b68e2926
DG
962 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
963 cases of ? and =.
964 (ruby-smie-rules): Simplify the "do" rule. The cases when the
965 predicate would return nil are almost non-existent.
966 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
967
0922b826
DG
968 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
969 cache also after commands that modify the buffer but don't move
970 point.
971
ee041f2d
SM
9722013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * env.el (substitute-env-in-file-name): New function.
975 (substitute-env-vars): Extend the meaning of the optional arg.
976
a5dab159
EZ
9772013-10-10 Eli Zaretskii <eliz@gnu.org>
978
979 * term/w32-win.el (dynamic-library-alist): Define separate lists
980 of GIF DLLs for versions before and after 5.0.0 of giflib.
981 (Bug#15531)
982
db138698
JT
9832013-10-10 João Távora <joaotavora@gmail.com>
984
985 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
986 not locked, use last revision and current source as
987 defaults. (Bug#15569)
988
2f6e161e
MY
9892013-10-10 Masatake YAMATO <yamato@redhat.com>
990
991 * menu-bar.el (menu-bar-open): Don't use popup-menu if
992 menu-bar is hidden.
993
6c8413fc
MR
9942013-10-10 Martin Rudalics <rudalics@gmx.at>
995
996 * window.el (pop-to-buffer-same-window): Fix doc-string.
997 (Bug#15492)
998
20832de0
SM
9992013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1002
c6e8ae77
AC
10032013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1004
1005 * calendar/icalendar.el (icalendar-import-file):
1006 Fix interactive spec. (Bug#15482)
1007
9db13baf
GM
10082013-10-10 Glenn Morris <rgm@gnu.org>
1009
9271e90e
GM
1010 * desktop.el (desktop-save): Default to saving in .emacs.d,
1011 since PWD is no longer in desktop-path by default. (Bug#15319)
1012
9db13baf
GM
1013 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1014 now that text mode has a menu with the same entry.
1015 (menu-bar-text-mode-auto-fill): Remove now unused func.
1016 * textmodes/text-mode.el (text-mode-map):
1017 Use auto-fill help text from menu-bar.el.
1018
a0be396a 10192013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1020
1021 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1022
2edcd3c7
JL
10232013-10-09 Juri Linkov <juri@jurta.org>
1024
1025 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1026 instead of this-command-keys. Add universal-argument-more and
1027 universal-argument-minus to the list of prefix commands. (Bug#15568)
1028
574411d0
GM
10292013-10-09 Glenn Morris <rgm@gnu.org>
1030
14afa541
GM
1031 * vc/vc-svn.el (vc-svn-create-repo):
1032 Expand paths in file://... url. (Bug#15446)
1033
574411d0
GM
1034 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1035 Add some entries.
1036 (authors): Remove unused local variables.
1037
79804536
SM
10382013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * profiler.el: Create a more coherent calltree from partial backtraces.
1041 (profiler-format): Hide the tail with `invisible' so that C-s can still
1042 find the hidden elements.
1043 (profiler-calltree-depth): Don't recurse so enthusiastically.
1044 (profiler-function-equal): New hash-table-test.
1045 (profiler-calltree-build-unified): New function.
1046 (profiler-calltree-build): Use it.
1047 (profiler-report-make-name-part): Indent the calltree less.
1048 (profiler-report-mode): Add visibility specs for profiler-format.
1049 (profiler-report-expand-entry, profiler-report-toggle-entry):
1050 Expand the whole subtree when provided with a prefix arg.
1051
238150c8
DG
10522013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1053
1054 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1055 iuwu-mod token.
1056 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1057 hanging iuwu-mod token.
1058 (ruby-smie--forward-token): Do not include a dot after a token in
1059 that token.
1060 (ruby-smie--backward-token): Likewise.
1061
b0949cc4
JL
10622013-10-08 Juri Linkov <juri@jurta.org>
1063
1064 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1065 to isearch-other-control-char.
1066 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1067 and isearch-post-command-hook to post-command-hook.
1068 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1069 and isearch-post-command-hook from post-command-hook.
1070 (isearch-unread-key-sequence)
1071 (isearch-reread-key-sequence-naturally)
1072 (isearch-lookup-scroll-key, isearch-other-control-char)
1073 (isearch-other-meta-char): Remove functions.
1074 (isearch-pre-command-hook, isearch-post-command-hook):
1075 New functions based on isearch-other-meta-char rewritten
1076 relying on the new behavior of overriding-terminal-local-map
1077 that does not replace the local keymaps any more. (Bug#15200)
1078
4ed77415
EZ
10792013-10-08 Eli Zaretskii <eliz@gnu.org>
1080
1081 Support menus on text-mode terminals.
1082 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1083 functionality.
1084
1085 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1086
c2de5588
DK
1087 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1088 Move here from mouse.el.
4ed77415
EZ
1089 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1090 and arrow keys.
1091 (tty-menu-navigation-map): New map for TTY menu navigation.
1092
1093 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1094
1095 * frame.el (display-mouse-p): Report text-mode mouse as available
1096 on w32.
1097 (display-popup-menus-p): Report availability if mouse is
1098 available; don't condition on window-system.
1099
1100 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1101 (tty-menu-selected-face): New faces.
1102
b7d5bd82
TL
11032013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1104
06286513
SM
1105 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1106 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1107 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1108 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1109 New constants.
1110 (lisp-mode-variables): New `elisp' argument.
1111 (emacs-lisp-mode): Use it.
1112 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1113 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1114
b7d5bd82
TL
1115 * indent.el: Use lexical-binding.
1116 (indent-region): Add progress reporter.
1117 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1118 last step.
1119 (indent--next-tab-stop): New function to implement this behavior.
1120 (tab-to-tab-stop, move-to-tab-stop): Use it.
1121
11222013-10-08 Teemu Likonen <tlikonen@iki.fi>
1123
1124 * indent.el (indent-rigidly--current-indentation): New function.
1125 (indent-rigidly-map): New var.
1126 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1127
5ea75d23
BG
11282013-10-08 Bastien Guerry <bzg@gnu.org>
1129
1130 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1131
cc5da1ec
SM
11322013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1133
8ffa1a0b
SM
1134 * progmodes/perl-mode.el: Use lexical-binding.
1135 Remove redundant :group args.
1136 (perl-nochange): Change default to be closer to other major modes's
1137 standard behavior.
1138 (perl-indent-line): Don't consider text on current line as a
1139 valid beginning of function from which to indent.
1140
f2223371
SM
1141 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1142 with more than one argument (bug#15538).
1143
44256060
SM
1144 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1145
cc5da1ec
SM
1146 * vc/pcvs.el: Use lexical-binding.
1147 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1148 environment of `eval'.
1149 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1150 than a list of expressions. Adjust callers.
1151 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1152
0ea1599d
DG
11532013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1156 case of the dot in a chained method call being on the following line.
0ea1599d 1157
da3e5ebb
SM
11582013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1159
2abb4e65
SM
1160 * electric.el (electric-indent-inhibit): New var.
1161 (electric-indent-post-self-insert-function): Use it.
1162 * progmodes/python.el (python-mode): Set it.
1163
d2e0e795
SM
1164 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1165 open braces.
1166
1167 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1168
bdc6b4c8
SM
1169 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1170 (css-mode): Use electric-indent-chars.
1171
da3e5ebb
SM
1172 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1173 (font-lock-beg, font-lock-end): Move before first use.
1174 (nxml-mode): Use syntax-propertize-function.
1175 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1176 (nxml-extend-after-change-region): Remove.
1177 * nxml/xmltok.el: Use lexical-binding.
1178 (xmltok-save): Use `declare'.
1179 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1180 * nxml/nxml-util.el: Use lexical-binding.
1181 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1182 Use `declare'.
1183 * nxml/nxml-ns.el: Use lexical-binding.
1184 (nxml-ns-save): Use `declare'.
1185 (nxml-ns-prefixes-for): Avoid add-to-list.
1186 * nxml/rng-match.el: Use lexical-binding.
1187 (rng--ipattern): Use cl-defstruct.
1188 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1189 (rng-cons-group-after, rng-subst-group-after)
1190 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1191 Use closures instead of `(lambda...).
1192
f8f91d5d
MA
11932013-10-07 Michael Albinus <michael.albinus@gmx.de>
1194
1195 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1196 of BEG and END.
1197
da3e5ebb
SM
1198 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1199 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1200 (tramp-gvfs-handle-insert-file-contents): Remove function.
1201
da3e5ebb
SM
1202 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1203 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1204
1205 * net/trampver.el: Update release number.
1206
7ccae3b1
SM
12072013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1208
55ca2c0d
SM
1209 * progmodes/compile.el (compilation-parse-errors):
1210 Use compilation--put-prop.
1211 (compilation--ensure-parse): Check compilation-multiline.
1212
731fc3ae
SM
1213 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1214
da3e5ebb
SM
1215 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1216 lexical-binding.
a5833280 1217
2e7ba2c2
SM
1218 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1219
7ccae3b1
SM
1220 * progmodes/ruby-mode.el: Fix recently added tests.
1221 (ruby-smie-grammar): Add - and +.
1222 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1223 (ruby-smie--backward-id): New functions.
1224 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1225 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1226 any more.
1227
85698d63
LL
12282013-10-07 Leo Liu <sdl.web@gmail.com>
1229
1230 * register.el (register-preview-delay)
1231 (register-preview-functions): New variables.
1232 (register-read-with-preview, register-preview)
1233 (register-describe-oneline): New functions.
1234 (point-to-register, window-configuration-to-register)
1235 (frame-configuration-to-register, jump-to-register)
1236 (number-to-register, view-register, insert-register)
1237 (copy-to-register, append-to-register, prepend-to-register)
1238 (copy-rectangle-to-register): Use register-read-with-preview to
1239 read register. (Bug#15525)
1240
3986af6c
DS
12412013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1242
1243 * net/network-stream.el (network-stream-open-starttls): Don't add
1244 --insecure if it's already present, because that gnutls-cli
1245 rejects getting that parameter twice.
1246
5cd9cda9
DG
12472013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1248
1249 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1250 keyword, too.
1251
da9ea6d9
DG
12522013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1253
1254 * newcomment.el (comment-use-global-state): Change default value
1255 to t, mark obsolete (Bug#15251).
1256 (comment-beginning): In addition to `comment-to-syntax', check the
1257 value of `comment-use-global-state'.
1258
34d1a133
SM
12592013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1260
1261 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1262 (ruby-comment-column): Follow the global default, by default.
1263 (ruby-smie-grammar): Add assignment syntax.
1264 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1265 open-paren, a comma, or a \.
1266 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1267 and line continuations.
1268 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1269 followed by implicit semi-colons. Add rule for string concatenation
1270 and for indentation at BOB.
1271 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1272
1273 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1274 calling next-sexp, since next-token may have skipped chars which
1275 next-sexp doesn't know should be skipped!
1276
6f6ab820
LL
12772013-10-05 Leo Liu <sdl.web@gmail.com>
1278
34d1a133
SM
1279 * progmodes/octave.el (octave-send-region):
1280 Call compilation-forget-errors.
6f6ab820 1281
34ca0f4c
XF
12822013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1283
1284 * vc/vc-svn.el (vc-svn-find-admin-dir):
1285 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1286 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1287 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1288 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1289
a27c1b72
SM
12902013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1293
258ab3bc
SM
12942013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * subr.el (read-passwd): Hide chars even when called within a context
1297 where after-change-functions is disabled (bug#15501).
1298 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1299 until we removed ourself from overriding-terminal-local-map.
1300
939fb29c
LL
13012013-10-04 Leo Liu <sdl.web@gmail.com>
1302
258ab3bc
SM
1303 * progmodes/octave.el (inferior-octave-mode):
1304 Call compilation-forget-errors.
939fb29c 1305
63bd7f35
XF
13062013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1307
1308 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1309
9e6229fa
MA
13102013-10-04 Michael Albinus <michael.albinus@gmx.de>
1311
1312 * net/secrets.el (secrets-create-collection): Add optional
1313 argument ALIAS. Use proper Label keyword. Append ALIAS as
1314 dbus-call-method argument. (Bug#15516)
1315
1dab32a3
LL
13162013-10-04 Leo Liu <sdl.web@gmail.com>
1317
1318 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1319 (inferior-octave-compilation-font-lock-keywords): New variables.
1320 (compilation-error-regexp-alist)
1321 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1322 (inferior-octave-mode): Use compilation-shell-minor-mode.
1323
6cad7ba3
JS
13242013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1325
1326 * minibuffer.el (completion--replace): Be careful that `end' might be
1327 a marker.
1328
acbadd00
DU
13292013-10-03 Daiki Ueno <ueno@gnu.org>
1330
1331 Add support for package signature checking.
1332 * emacs-lisp/package.el (url-http-file-exists-p)
1333 (epg-make-context, epg-context-set-home-directory)
1334 (epg-verify-string, epg-context-result-for)
1335 (epg-signature-status, epg-signature-to-string)
1336 (epg-check-configuration, epg-configuration)
1337 (epg-import-keys-from-file): Declare.
1338 (package-check-signature): New user option.
1339 (package-unsigned-archives): New user option.
1340 (package-desc): Add `signed' field.
1341 (package-load-descriptor): Set `signed' field if .signed file exists.
1342 (package--archive-file-exists-p): New function.
1343 (package--check-signature): New function.
1344 (package-install-from-archive): Check package signature.
1345 (package--download-one-archive): Check archive signature.
1346 (package-delete): Remove .signed file.
1347 (package-import-keyring): New command.
1348 (package-refresh-contents): Import default keyring.
1349 (package-desc-status): Add "unsigned" status.
1350 (describe-package-1, package-menu--print-info)
1351 (package-menu-mark-delete, package-menu--find-upgrades)
1352 (package-menu--status-predicate): Support "unsigned" status.
1353
adf2aa61
SM
13542013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1357 the new compilation scheme using the new byte-codes.
1358
1359 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1360 (byte-pophandler): New byte codes.
1361 (byte-goto-ops): Adjust accordingly.
1362 (byte-compile--use-old-handlers): New var.
1363 (byte-compile-catch): Use new byte codes depending on
1364 byte-compile--use-old-handlers.
1365 (byte-compile-condition-case--old): Rename from
1366 byte-compile-condition-case.
1367 (byte-compile-condition-case--new): New function.
1368 (byte-compile-condition-case): New function that dispatches depending
1369 on byte-compile--use-old-handlers.
1370 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1371 when we can.
1372
1373 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1374 Optimize under `condition-case' and `catch' if
1375 byte-compile--use-old-handlers is nil.
1376 (disassemble-offset): Handle new bytecodes.
1377
328a8179
SM
13782013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * subr.el (error): Use `declare'.
1381 (decode-char, encode-char): Use advertised-calling-convention instead
1382 of the docstring to discourage use of the `restriction' arg.
1383
15a1e936
DU
13842013-10-03 Daiki Ueno <ueno@gnu.org>
1385
1386 * epg.el (epg-verify-file): Add a comment saying that it does not
1387 notify verification error as a return value nor a signal.
1388 (epg-verify-string): Ditto.
1389
376f862a
KR
13902013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1391
1392 * progmodes/compile.el (compilation-start): Try globbing the arg to
1393 `cd' (bug#15417).
1394
a2f93a5f
MA
13952013-10-02 Michael Albinus <michael.albinus@gmx.de>
1396
1397 Sync with Tramp 2.2.8.
1398
1399 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1400 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1401 * net/trampver.el: Update release number.
1402
0daa0804
JD
14032013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1404
1405 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1406 and default-process-coding-system for darwin only.
1407
abd1ae34
SM
14082013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1409
1410 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1411
be4e325d
MH
14122013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1413
1414 * vc/vc-git.el (vc-git-grep): Disable pager.
1415
e9155c4a
DG
14162013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1417
494e898b
DG
1418 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1419 Use :url instead of :homepage, as per
1420 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1421
e9155c4a
DG
1422 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1423 non-nil, use `syntax-ppss' (Bug#15251).
1424
481a8e0f
RS
14252013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1426
be4e325d
MH
1427 * progmodes/octave.el (inferior-octave-startup-file):
1428 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1429
056453c6
DG
14302013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1431
be4e325d
MH
1432 * emacs-lisp/package.el (package-desc-from-define):
1433 Accept additional arguments as plist, convert them to an alist and store
1434 them in the `extras' slot.
056453c6
DG
1435 (package-generate-description-file): Convert extras alist back to
1436 plist and append to the `define-package' form arguments.
1437 (package--alist-to-plist): New function.
1438 (package--ac-desc): Add `extras' slot.
1439 (package--add-to-archive-contents): Check if the archive-contents
1440 vector is long enough, and if it is, pass its `extras' slot value
1441 to `package-desc-create'.
1442 (package-buffer-info): Call `lm-homepage', pass the returned value
1443 to `package-desc-from-define'.
1444 (describe-package-1): Render the homepage button (Bug#13291).
1445
be4e325d
MH
1446 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1447 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1448
832966e5
JD
14492013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1450
1451 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1452 and default-process-coding-system to utf-8-unix (Bug#15402).
1453
6cfe977d
XF
14542013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1455
1456 * subr.el (looking-back): Do not recommend using looking-back.
1457
38de11bd
AM
14582013-09-28 Alan Mackenzie <acm@muc.de>
1459
1460 Fix indentation/fontification of Java enum with "implements".
1461
1462 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1463 regexp which matches "implements", etc., in Java.
1464 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1465 specifier clauses coming after "enum".
1466 * progmodes/cc-fonts.el (c-font-lock-declarations)
1467 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1468 after "enum".
1469
1610938f
JD
14702013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1471
1472 * faces.el (region): Change ns_selection_color to
1473 ns_selection_fg_color, add ns_selection_bg_color.
1474
e090f499
LL
14752013-09-28 Leo Liu <sdl.web@gmail.com>
1476
4d2e94d1
LL
1477 * progmodes/octave.el (inferior-octave-completion-table)
1478 (inferior-octave-completion-at-point): Minor tweaks.
1479
e090f499
LL
1480 * textmodes/ispell.el (ispell-lookup-words): Rename from
1481 lookup-words. (Bug#15460)
1482 (lookup-words): Obsolete.
1483 (ispell-complete-word, ispell-command-loop): All uses changed.
1484
7e138a62
RS
14852013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1486
1487 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1488 (octave-mode-menu): Add octave-send-buffer.
1489 (octave-send-buffer): New function.
1490
5af5ed08
RS
14912013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1492
1493 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1494 octave-lookfor.
1495 (octave-mode-menu): Add octave-lookfor.
1496 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1497 octave-lookfor.
1498 (octave-lookfor): New function.
1499
3b7b2692
SM
15002013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/cl-macs.el:
1503 (cl--loop-destr-temps): Remove.
1504 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1505 its convention.
1506 (cl--loop-set-iterator-function): New function.
1507 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1508 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1509 Bind `it' with `let' instead of substituting it with `cl-subst'.
1510 (cl--unused-var-p): New function.
1511 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1512 Eliminate some unused variable warnings (bug#15326).
1513
529fb53f
TH
15142013-09-27 Tassilo Horn <tsdh@gnu.org>
1515
1516 * doc-view.el (doc-view-scale-reset): Rename from
1517 `doc-view-reset-zoom-level'.
1518 (doc-view-scale-adjust): New command.
1519 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1520 `doc-view-scale-adjust'.
1521
0550c95a
TH
15222013-09-26 Tassilo Horn <tsdh@gnu.org>
1523
1524 * doc-view.el (doc-view-reset-zoom-level): New command.
1525 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1526 zoom commands (bug#15466).
1527
6950f152
KH
15282013-09-26 Kenichi Handa <handa@gnu.org>
1529
1530 * international/quail.el (quail-help): Make it not a command.
1531
39587580
LL
15322013-09-26 Leo Liu <sdl.web@gmail.com>
1533
1534 * minibuffer.el (completion-all-sorted-completions): Make args
1535 optional as they are.
1536
00578659
DC
15372013-09-25 Daniel Colascione <dancol@dancol.org>
1538
1539 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1540 specs are and that they're not evaluated.
1541
0c173878
SS
15422013-09-24 Sam Steingold <sds@gnu.org>
1543
1544 * midnight.el (clean-buffer-list-kill-regexps)
1545 (clean-buffer-list-kill-buffer-names): Update for the new Man
1546 buffer naming which includes the object name.
1547
84998447
SM
15482013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1551 (eshell-parse-command, eshell-parse-pipeline): Use it since
1552 eshell-separate-commands requires a dynamic scoped var.
1553 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1554
33215353
LL
15552013-09-23 Leo Liu <sdl.web@gmail.com>
1556
1557 * autoinsert.el (auto-insert-alist): Make the value of
1558 lexical-binding match its file setting.
1559
57b16162
JB
15602013-09-23 Juanma Barranquero <lekktu@gmail.com>
1561
c8af4e67
JB
1562 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1563
57b16162
JB
1564 * autoarg.el (autoarg-kp-digit-argument):
1565 * electric.el (Electric-command-loop):
1566 * kmacro.el (kmacro-step-edit-insert):
1567 Do not set universal-argument-num-events.
1568
7186ba60
LL
15692013-09-22 Leo Liu <sdl.web@gmail.com>
1570
1571 * files.el (interpreter-mode-alist): Add octave.
1572
ece15004
AM
15732013-09-21 Alan Mackenzie <acm@muc.de>
1574
1575 C++: fontify identifier in declaration following "public:" correctly.
1576 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1577 to match "public", etc.
1578 (c-decl-prefix-re): Add ":" into the C++ value.
1579 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1580 bit. Add a check for a ":" preceded by "public", etc.
1581
75d83e22
EZ
15822013-09-21 Eli Zaretskii <eliz@gnu.org>
1583
1584 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1585 recognized by GDB 7.5 and later.
1586
d052d3bd
XF
15872013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1588
1589 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1590
31dca772
R
15912013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * subr.el (internal--call-interactively): New const.
1594 (called-interactively-p): Use it (bug#3984).
1595
98ccf24e
XF
15962013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1597
1598 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1599 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1600 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1601
c39cc7d1
SM
16022013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1605 (eshell-ls-orig-insert-directory): Remove.
1606 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1607 (eshell-ls-use-in-dired): Use advice-add/remove.
1608 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1609 Add `orig-fun' arg for use in :around advice.
1610 Make it check (redundantly) eshell-ls-use-in-dired.
1611
9a0289a2
GM
16122013-09-19 Glenn Morris <rgm@gnu.org>
1613
a2c501b8
GM
1614 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1615
c440407a
GM
1616 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1617
9a0289a2
GM
1618 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1619
85e05915
MA
16202013-09-19 Michael Albinus <michael.albinus@gmx.de>
1621
1622 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1623 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1624 (tramp-get-remote-python): New defuns.
1625 (tramp-get-remote-uid-with-perl)
1626 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1627 contributed by yary <not.com@gmail.com> (tiny change).
1628 (tramp-get-remote-uid-with-python)
1629 (tramp-get-remote-gid-with-python): New defuns. Python code
1630 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1631 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1632
ce503312
GM
16332013-09-19 Glenn Morris <rgm@gnu.org>
1634
f7544773
GM
1635 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1636
72fd2877
GM
1637 * eshell/em-unix.el (eshell-remove-entries):
1638 Rename argument to avoid name-clash with global `top-level'.
1639
336b5a56
GM
1640 * eshell/esh-proc.el (eshell-kill-process-function):
1641 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1642 (eshell-reset-after-proc): Remove unused arg `proc'.
1643
57a3a53d
GM
1644 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1645 (directory-files-and-attributes): Mark unused arg.
1646
3261d4af
GM
1647 * eshell/em-unix.el (eshell-remove-entries):
1648 Remove unused arg `path'. Update callers.
1649
8e51b5d0
GM
1650 * eshell/em-hist.el (eshell-hist-parse-arguments):
1651 Remove unused arg `silent'. Update callers.
1652
ce503312
GM
1653 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1654 Fix (f)boundp mix-up.
1655
1656 * eshell/em-smart.el (eshell-smart-scroll-window)
1657 (eshell-disable-after-change):
336b5a56 1658 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1659
ee3ce8a7
AM
16602013-09-18 Alan Mackenzie <acm@muc.de>
1661
1662 Fix fontification of type when followed by "const".
1663 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1664 "known" types from fontification.
1665
ec9177ba
GM
16662013-09-18 Glenn Morris <rgm@gnu.org>
1667
7bb3e768
GM
1668 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1669 (chart-face-list): Drop Emacsen without display-color-p.
1670
5148da15
GM
1671 * net/eww.el (libxml-parse-html-region): Declare.
1672 (eww-display-html): Explicit error if no libxml2 support.
1673
2f68e157
GM
1674 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1675
9019d095
GM
1676 * image.el (image-type-from-buffer, image-multi-frame-p):
1677 Remove --without-x warning/error.
67645389 1678
5f30349b 1679 * mouse.el (mouse-yank-primary):
45069b2e 1680 * term.el (term-mouse-paste):
5f30349b
GM
1681 Reorder to silence --without-x compilation.
1682
cd8edbbe
GM
1683 * mpc.el (doc-view-mode): Silence --without-x compilation.
1684
8a78544e
GM
1685 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1686 Silence --without-x compilation.
1687
12679bfd
GM
1688 * progmodes/gud.el (gud-find-file, gud-mode):
1689 Silence --without-x compilation.
1690 (tooltip-mode): Declare.
30810a05 1691
f0047cb9
GM
1692 * wdired.el (dired-backup-overwrite): Remove declaration.
1693 (wdired-mode-map): Add doc string.
1694
e740f9d2
GM
1695 * custom.el (x-get-resource): Declare.
1696
92d77c89
GM
1697 * eshell/em-glob.el (ange-cache):
1698 * eshell/em-unix.el (ange-cache): Declare.
1699
76e69577
GM
1700 * faces.el (x-display-list, x-open-connection, x-get-resource):
1701 Declare.
7e58af4b
GM
1702
1703 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1704 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1705 Declare.
76e69577 1706
4bd4c0af 1707 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1708
ffb82dbd
GM
1709 * net/gnutls.el (gnutls-log-level): Declare.
1710
986ed135
GM
1711 * net/shr.el (image-size, image-animate): Declare.
1712
e740f9d2
GM
1713 * simple.el (font-info): Declare.
1714
d2f3e9f8
GM
1715 * subr.el (x-popup-dialog): Declare.
1716
047a1a4c
GM
1717 * term/common-win.el (x-select-enable-primary)
1718 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1719 Declare.
1720
f4a1d572
GM
1721 * term/ns-win.el (x-handle-args): Declare.
1722
e843de77
GM
1723 * term/x-win.el (x-select-enable-clipboard): Declare.
1724
5fa89513
GM
1725 * term/w32-win.el (create-default-fontset): Declare.
1726
38702b5b
GM
1727 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1728 Declare.
1729
e740f9d2
GM
1730 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1731 (fit-frame-to-buffer): Explicit error if --without-x.
1732 (mouse-autoselect-window-select): Silence compiler.
1733
49a053fc
GM
1734 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1735
1736 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1737 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1738 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1739 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1740 Remove unused local variables.
1741
1742 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1743
ec9177ba
GM
1744 * textmodes/two-column.el: Make 2C-split work for --without-x.
1745 (scroll-bar-columns): Autoload.
1746 (top-level): Require fringe when compiling.
1747
9f25cb77
LL
17482013-09-18 Leo Liu <sdl.web@gmail.com>
1749
1750 * subr.el (add-hook): Robustify to handle closure as well.
1751
2b42da98
GM
17522013-09-17 Glenn Morris <rgm@gnu.org>
1753
1754 * simple.el (messages-buffer-mode-map): Unbind "g".
1755
e8b66a6a
SM
17562013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1757
9c0ad4f7
SM
1758 * help-mode.el (help-mode-finish): Use derived-mode-p.
1759 Remove obsolete highlighting.
1760
7a806dfb
SM
1761 * play/life.el (life-mode): Use define-derived-mode. Derive from
1762 special-mode.
1763 (life): Let-bind inhibit-read-only.
1764 (life-setup): Avoid `setq'. Use `life-mode'.
1765
96dbf5a8
SM
1766 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1767 which should not be needed any more.
1768 (package-menu-refresh, package-menu-describe-package): Use user-error.
1769
e8b66a6a
SM
1770 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1771 (eshell-post-rewrite-command-hook): Make obsolete.
1772 (eshell-parse-command): Simplify.
1773 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1774 (eshell--cmd): Declare.
1775 (eshell-parse-pipeline): Remove unused var `final-p'.
1776 Pass a dynvar to eshell-post-rewrite-command-hook.
1777 Implement the new eshell-post-rewrite-command-function.
1778 (eshell-invoke-directly): Remove unused arg `input'.
1779 * eshell/esh-io.el (eshell-io-initialize):
1780 Use eshell-post-rewrite-command-function (bug#15399).
1781 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1782 adjust to new calling convention.
1783 (eshell-create-handles): Rename args to avoid clashing with dynvar
1784 `standard-output'.
1785
90582f05
GM
17862013-09-17 Glenn Morris <rgm@gnu.org>
1787
1788 * simple.el (messages-buffer-mode): New major mode.
1789 (messages-buffer): New function.
1790 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1791 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1792 (ert-run-test): Use `messages-buffer' function.
90582f05 1793 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1794 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1795 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1796
39eb0cb5 17972013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1798
1799 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1800
1f1e06e2
SM
1801 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1802
70568a90
SM
18032013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1804
504a0381
SM
1805 * icomplete.el (icomplete-in-buffer): New var.
1806 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1807 vars and replace them with functions.
1808 (icomplete-minibuffer-setup): Adjust accordingly.
1809 (icomplete--completion-table, icomplete--completion-predicate)
1810 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1811 New functions.
1812 (icomplete-forward-completions, icomplete-backward-completions)
1813 (icomplete-simple-completing-p, icomplete-exhibit)
1814 (icomplete-completions): Use them.
1815 (icomplete--in-region-buffer): New var.
1816 (icomplete--in-region-setup): New function.
1817 (icomplete-mode): Use it.
1818
70568a90
SM
1819 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1820 (bug#15379).
1821 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1822 return args and options.
1823 (eshell-eval-using-options): Use the new return value of
1824 eshell--do-opts to set the options's vars in their scope.
1825 (eshell--set-option): Rename from eshell-set-option.
1826 Add arg `opt-vals'.
1827 (eshell--process-option): Rename from eshell-process-option.
1828 Add arg `opt-vals'.
1829 (eshell--process-args): Use an `opt-vals' alist to store the options's
1830 values during their processing and return them additionally to the
1831 remaining args.
1832
578c21bc
DG
18332013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1834
1835 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1836 continuation character an operator, as far as indentation is
1837 concerned (Bug#15369).
1838
c089653d
MR
18392013-09-15 Martin Rudalics <rudalics@gmx.at>
1840
1841 * window.el (window--state-put-2): Don't process buffer state
1842 when buffer doesn't exist any more (Bug#15382).
1843
1e53bb4b
GM
18442013-09-15 Glenn Morris <rgm@gnu.org>
1845
30753242
GM
1846 * eshell/em-unix.el (eshell/rm):
1847 Make -f ignore missing files. (Bug#15373)
1848
1e53bb4b
GM
1849 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1850 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1851 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1852
0d8863b3
GM
18532013-09-14 Glenn Morris <rgm@gnu.org>
1854
1855 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1856
d3fc6549
GM
18572013-09-13 Glenn Morris <rgm@gnu.org>
1858
1859 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1860 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1861
fcd42c11
DA
18622013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1863
1864 * frame.el (x-focus-frame): Mark as declared in frame.c.
1865
7830899f
SM
18662013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * ls-lisp.el: Use advice-add.
1869 (original-insert-directory): Remove.
1870 (ls-lisp--insert-directory): Rename from insert-directory; add
1871 `orig-fun' argument.
1872 (insert-directory): Advise.
1873
84387cd2
EZ
18742013-09-13 Eli Zaretskii <eliz@gnu.org>
1875
1876 * term.el (term-emulate-terminal): Decode the command string
1877 before passing it to term-command-hook. (Bug#15337)
1878
35ffc6ba
GM
18792013-09-13 Glenn Morris <rgm@gnu.org>
1880
5c3f9bcc
GM
1881 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1882
2ada368a
GM
1883 * eshell/esh-ext.el (eshell-search-path): Declare.
1884
fcef2e13
GM
1885 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1886 Otherwise an error occurs if eshell-dirs module not loaded.
1887
35ffc6ba
GM
1888 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1889
35c3d36e
MA
18902013-09-13 Michael Albinus <michael.albinus@gmx.de>
1891
1892 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1893 `tramp-check-proper-host'. Check for a valid method name.
1894
1895 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1896 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1897 * net/tramp-sh.el (tramp-maybe-open-connection):
1898 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1899
1900 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1901 also for hash values.
1902
ae5e4c48
SM
19032013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1904
379add74
SM
1905 * term/ns-win.el (parameters): Don't declare as dynamic.
1906 (before-make-frame-hook): Don't add ineffective function.
1907
ae5e4c48
SM
1908 * eshell/*.el: Use lexical-binding (bug#15231).
1909
b5623270
KH
19102013-09-12 Kenichi Handa <handa@gnu.org>
1911
ae5e4c48 1912 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1913
30213927
GM
19142013-09-12 Glenn Morris <rgm@gnu.org>
1915
be94d713 1916 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1917 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1918
44915370
GM
1919 * subr.el (do-after-load-evaluation): Also give compiler warnings
1920 when obsolete files are used (except by obsolete files).
1921
a6ae021f
GM
1922 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1923 in the status output, assume `filename' is the first. (Bug#15322)
1924
40e64f0c
GM
1925 * vc/vc.el (vc-deduce-fileset): Doc fix.
1926
16d9f896
GM
1927 * calc/calc-help.el (Info-goto-node):
1928 * progmodes/cperl-mode.el (Info-find-node):
1929 * vc/ediff.el (Info-goto-node): Update declarations.
1930
dea01c6e
GM
1931 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1932
759880bf 1933 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1934 (vc-bzr-pull): Require vc-dispatcher.
1935 * vc/vc-git.el (vc-compilation-mode): Declare.
1936 (vc-git-pull): Require vc-dispatcher.
1937
08d66420
GM
1938 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1939
30b626e9
GM
1940 * progmodes/octave.el (help-button-action): Declare.
1941
8c05cb10
GM
1942 * shell.el (shell-directory-tracker): Output error as a message
1943 rather than just returning it as a string.
1944 (shell-process-pushd): Remove useless use of message.
1945
30213927
GM
1946 * dframe.el (dframe-timer-fn):
1947 * files.el (dir-locals-read-from-file):
1948 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1949 (mpc-format):
1950 * reveal.el (reveal-post-command):
1951 * saveplace.el (load-save-place-alist-from-file):
1952 * shell.el (shell-resync-dirs):
1953 * w32-common-fns.el (x-get-selection-value):
1954 * emacs-lisp/copyright.el (copyright-find-copyright):
1955 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1956 * emulation/tpu-edt.el (tpu-copy-keyfile):
1957 * play/bubbles.el (bubbles--mark-neighbourhood):
1958 * progmodes/executable.el
1959 (executable-make-buffer-file-executable-if-script-p):
1960 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1961
d3b049e6
SM
19622013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1963
170266d0
SM
1964 Cleanup Eshell to rely less on dynamic scoping.
1965 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1966 last-value, and ext-command here. Bind `args' closer to `body'.
1967 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1968 (eshell--args): Declare new dynamic var.
1969 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1970 last-value, and ext-command. Pass `args' to `body'.
1971 (eshell-process-args): Bind eshell--args.
1972 (eshell-set-option): Use eshell--args.
1973 * eshell/eshell.el (eshell): Use derived-mode-p.
1974 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1975 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1976 (eshell-glob-function): Declare.
1977 * eshell/esh-util.el: Require cl-lib.
1978 (eshell-read-hosts-file): Avoid add-to-list.
1979 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1980 `err'.
1981 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1982 Declare.
1983 (eshell/diff): Remove unused var `err'.
1984 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1985 `killflag'.
1986 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1987 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1988 first use.
1989 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1990 Move declaration before first use.
1991 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1992 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1993 rely on cl-return.
1994
56834f3b
GM
19952013-09-12 Glenn Morris <rgm@gnu.org>
1996
1997 * term/ns-win.el (global-map): Remove binding for ispell-next,
1998 deleted 1999-05-29. (Bug#15357)
1999
5c91a2b8
GM
20002013-09-11 Glenn Morris <rgm@gnu.org>
2001
da712f22
GM
2002 * echistory.el (electric-command-history): Remove call to deleted func.
2003
512e4cdc
GM
2004 * play/landmark.el (landmark-mode): Fix typos.
2005
d3506ca5
GM
2006 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2007 Check cvs-sort-ignore-file is bound.
2008
5c91a2b8
GM
2009 * savehist.el: No need for cl when compiling on Emacs.
2010
feeff482
SM
20112013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2012
656bd483
SM
2013 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2014 (bug#15338).
d3b049e6
SM
2015 (eshell-self-insert-command, eshell-send-invisible):
2016 Remove unused argument.
656bd483
SM
2017 (eshell-handle-control-codes): Remove unused var `orig'.
2018 Avoid delete-backward-char.
2019
feeff482
SM
2020 * files.el (set-auto-mode): Simplify a bit further.
2021
2a08047a
GM
20222013-09-11 Glenn Morris <rgm@gnu.org>
2023
2024 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2025 (set-auto-mode): Don't regexp-quote elements.
2026 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2027 * progmodes/cc-mode.el (interpreter-mode-alist):
2028 * progmodes/ruby-mode.el (interpreter-mode-alist):
2029 Revert previous change.
2030
34675540
SM
20312013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2032
1b3b87df
SM
2033 * play/snake.el (snake-mode):
2034 * play/mpuz.el (mpuz-mode):
2035 * play/landmark.el (lm-mode):
2036 * play/blackbox.el (blackbox-mode):
2037 * play/5x5.el (5x5-mode):
2038 * obsolete/options.el (Edit-options-mode):
2039 * net/quickurl.el (quickurl-list-mode):
2040 * net/newst-treeview.el (newsticker-treeview-mode):
2041 * mail/rmailsum.el (rmail-summary-mode):
2042 * mail/mspools.el (mspools-mode):
2043 * locate.el (locate-mode):
2044 * ibuffer.el (ibuffer-mode):
2045 * emulation/ws-mode.el (wordstar-mode):
2046 * emacs-lisp/debug.el (debugger-mode):
2047 * array.el (array-mode):
2048 * net/eudc.el (eudc-mode): Use define-derived-mode.
2049 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2050 Move initialization into declaration.
2051 (mairix-searches-mode): Use define-derived-mode.
2052 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2053 (eudc-edit-hotlist): Use dolist.
2054 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2055 (Man-mode): Use define-derived-mode.
2056 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2057 (Info-edit-mode): Use define-derived-mode.
2058 (Info-cease-edit): Use Info-mode.
2059 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2060 into declaration.
2061 (eshell-mode): Use define-derived-mode.
2062 * chistory.el (command-history-mode-map): Rename from
2063 command-history-map.
2064 (command-history-mode): Use define-derived-mode.
da712f22 2065 (Command-history-setup): Remove function.
1b3b87df
SM
2066 * calc/calc.el (calc-trail-mode-map): New var.
2067 (calc-trail-mode): Use define-derived-mode.
2068 (calc-trail-buffer): Set calc-main-buffer manually.
2069 * bookmark.el (bookmark-insert-annotation): New function.
2070 (bookmark-edit-annotation): Use it.
2071 (bookmark-edit-annotation-mode): Make it a proper major mode.
2072 (bookmark-send-edited-annotation): Use derived-mode-p.
2073 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2074 closer to its ideal place. Use \' to match EOS.
2075
34675540
SM
2076 * profiler.el (profiler-calltree-find): Use function-equal.
2077
6a5c15d9
GM
20782013-09-10 Glenn Morris <rgm@gnu.org>
2079
1af4c220
GM
2080 * files.el (interpreter-mode-alist): Convert to regexps.
2081 (set-auto-mode): Adapt for this. (Bug#15306)
2082 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2083 Comment out unused variable.
2084 * progmodes/cc-mode.el (interpreter-mode-alist):
2085 * progmodes/python.el (interpreter-mode-alist):
2086 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2087 * progmodes/sh-script.el (sh-set-shell):
2088 No longer use interpreter-mode-alist to get list of shells.
2089
6a5c15d9
GM
2090 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2091
8c27f5ff
SM
20922013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2093
02ef6c1a 2094 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2095 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2096 Bind switch-frame explicitly. Replace universal-argument-minus with
2097 a conditional binding.
2098 (universal-argument-num-events, saved-overriding-map): Remove.
2099 (restore-overriding-map): Remove.
2100 (universal-argument--mode): Rename from save&set-overriding-map,
2101 and rewrite.
2102 (universal-argument, universal-argument-more, negative-argument)
2103 (digit-argument): Adjust accordingly.
2104 (universal-argument-minus): Remove.
2105 (universal-argument-other-key): Remove.
2106
8c27f5ff
SM
2107 * subr.el (with-demoted-errors): Add `format' argument.
2108
6480194c
MA
21092013-09-10 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2112 `tramp-cleanup-connection'.
2113
2114 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2115 parameters KEEP-DEBUG and KEEP-PASSWORD.
2116
2117 * net/tramp.el (tramp-file-name-handler):
2118 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2119 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2120 (tramp-maybe-open-connection):
8c27f5ff
SM
2121 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2122 Use `tramp-cleanup-connection'.
6480194c 2123
8c27f5ff
SM
2124 * net/tramp-sh.el (tramp-maybe-open-connection):
2125 Catch 'uname-changed inside the progress reporter.
6480194c 2126
e5e916d8
GM
21272013-09-10 Glenn Morris <rgm@gnu.org>
2128
9a2c9b47
GM
2129 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2130
e5e916d8
GM
2131 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2132 returns "alternate access method" in mode (eg "-rw-r--r--.").
2133
144e38fe
GM
21342013-09-08 Glenn Morris <rgm@gnu.org>
2135
2136 * saveplace.el (load-save-place-alist-from-file):
2137 Demote errors. (Bug#15305)
2138
af9ff9e8
MA
21392013-09-08 Michael Albinus <michael.albinus@gmx.de>
2140
2141 Improve compatibility with older Emacsen, and XEmacs.
2142
2143 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2144 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2145 (with-tramp-progress-reporter): Do not let-bind `result'.
2146 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2147 (tramp-handle-make-auto-save-file-name): New function, moved from
2148 tramp-sh.el.
2149
2150 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2151 for `make-auto-save-file-name'.
8c27f5ff
SM
2152 (tramp-adb--gnu-switches-to-ash):
2153 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2154
2155 * net/tramp-cache.el (tramp-cache-print): Call
2156 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2157
2158 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2159 bound. It isn't for XEmacs.
2160
8c27f5ff
SM
2161 * net/tramp-compat.el (tramp-compat-copy-file):
2162 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2163 (tramp-compat-replace-regexp-in-string): New defun.
2164
2165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2166 for `make-auto-save-file-name'.
2167 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2168 `copy-file'.
2169 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2170 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2171 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2172
8c27f5ff
SM
2173 * net/tramp-gw.el (tramp-gw-open-network-stream):
2174 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2175
8c27f5ff
SM
2176 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2177 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2178 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2179 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2180 (tramp-sh-file-inotifywait-process-filter):
2181 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2182 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2183
2184 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2185 for `make-auto-save-file-name'.
8c27f5ff
SM
2186 (tramp-smb-handle-copy-directory):
2187 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2188 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2189 (tramp-smb-handle-copy-file): Improve error message.
2190 (tramp-smb-handle-rename-file): Rename directly only in case
2191 `newname' does not exist yet. This is a restriction of smbclient.
2192 (tramp-smb-maybe-open-connection): Rerun the function only when
2193 `auth-sources' is non-nil.
2194
0ca754d0
KH
21952013-09-08 Kenichi Handa <handa@gnu.org>
2196
2197 * international/characters.el: Set category "^" (Combining) for
2198 more characters.
2199
e8dd0787
AM
22002013-09-07 Alan Mackenzie <acm@muc.de>
2201
2202 Correctly fontify Java class constructors.
2203 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2204 in Java Mode.
2205 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2206 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2207 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2208 "typeless" declaration there.
2209
f2f248e7
RW
22102013-09-07 Roland Winkler <winkler@gnu.org>
2211
2212 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2213 field subtitle for entry type book.
2214
67982e2b
SM
22152013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * minibuffer.el: Make minibuffer-complete call completion-in-region
2218 rather than other way around.
2219 (completion--some, completion-pcm--find-all-completions):
2220 Don't delay signals when debugging.
2221 (minibuffer-completion-contents): Beware fields within the
2222 minibuffer contents.
2223 (completion-all-sorted-completions): Use defvar-local.
2224 (completion--do-completion, completion--cache-all-sorted-completions)
2225 (completion-all-sorted-completions, minibuffer-force-complete):
2226 Add args `beg' and `end'.
2227 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2228 (minibuffer-complete): Use completion-in-region.
2229 (completion-complete-and-exit): New fun, extracted from
2230 minibuffer-complete-and-exit.
2231 (minibuffer-complete-and-exit): Use it.
2232 (completion--complete-and-exit): Rename from
2233 minibuffer--complete-and-exit.
2234 (completion-in-region--single-word): New function, extracted from
2235 minibuffer-complete-word.
2236 (minibuffer-complete-word): Use it.
2237 (display-completion-list): Make `common-substring' argument obsolete.
2238 (completion--in-region): Call completion--in-region-1 instead of
2239 minibuffer-complete.
2240 (completion-help-at-point): Pass boundaries to
2241 minibuffer-completion-help as args rather than via an overlay.
2242 (completion-pcm--string->pattern): Use `any-delim'.
2243 (completion-pcm--optimize-pattern): New function.
2244 (completion-pcm--pattern->regex): Handle `any-delim'.
2245 * icomplete.el (icomplete-forward-completions)
2246 (icomplete-backward-completions, icomplete-completions):
2247 Adjust calls to completion-all-sorted-completions and
2248 completion--cache-all-sorted-completions.
2249 (icomplete-with-completion-tables): Default to t.
2250 * emacs-lisp/crm.el (crm--current-element): Rename from
2251 crm--select-current-element. Don't put an overlay but return the
2252 boundaries instead.
2253 (crm--completion-command): Take two new args to bind to the boundaries.
2254 (crm-completion-help): Adjust accordingly.
2255 (crm-complete): Use completion-in-region.
2256 (crm-complete-word): Use completion-in-region--single-word.
2257 (crm-complete-and-exit): Use completion-complete-and-exit.
2258
e17d94a5
SM
22592013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2262 than dynamically.
2263
96727100
JL
22642013-09-06 Juri Linkov <juri@jurta.org>
2265
2266 * info.el (Info-display-images-node): When image file doesn't exist
2267 display text version of the image if it's provided in the Info file.
2268 Otherwise, display the location of missing image from SRC attribute.
2269 Add help-echo text property from ALT attribute. (Bug#15279)
2270
86cf7329
SM
22712013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2274 (edit-abbrevs-mode): Use define-derived-mode.
2275
2276 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2277 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2278 that it's defined.
2279 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2280 Use define-derived-mode.
2281
2282 * epg.el (epg-start-encrypt): Minor CSE simplification.
2283
816244a2
WX
22842013-09-06 William Xu <william.xwl@gmail.com>
2285
2286 * arc-mode.el: Add support for 7za (bug#15264).
2287 (archive-7z-program): New var.
2288 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2289 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2290 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2291
1486fa31
MA
22922013-09-06 Michael Albinus <michael.albinus@gmx.de>
2293
2294 Remove URL syntax.
2295
2296 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2297 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2298 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2299 (tramp-postfix-host-format, tramp-file-name-regexp)
2300 (tramp-completion-file-name-regexp)
2301 (tramp-completion-dissect-file-name)
2302 (tramp-handle-substitute-in-file-name): Remove 'url case.
2303 (tramp-file-name-regexp-url)
2304 (tramp-completion-file-name-regexp-url): Remove constants.
2305
39785324
GM
23062013-09-06 Glenn Morris <rgm@gnu.org>
2307
2308 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2309
1f896cb7
DG
23102013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2311
2312 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2313 keywords" below "here-doc beginnings" (Bug#15270).
2314
c0458e0b
SM
23152013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * subr.el (pop): Use `car-safe'.
2318 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2319 to detect unused `pop' return value.
2320
2321 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2322 var `block-regexp'.
2323 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2324 (python-fill-string): Remove unused var `marker'.
2325 (python-skeleton-add-menu-items): Remove unused var `items'.
2326
2327 * international/mule-cmds.el: Require CL.
2328 (find-coding-systems-for-charsets): Avoid add-to-list.
2329 (sanitize-coding-system-list): New function, extracted from
2330 select-safe-coding-system-interactively.
2331 (select-safe-coding-system-interactively): Use it.
2332 (read-input-method-name): Accept symbols for `default'.
2333
2334 * emacs-lisp/advice.el (defadvice): Add indent rule.
2335
6c42fc3e
DH
23362013-09-05 Daniel Hackney <dan@haxney.org>
2337
2338 * dired-x.el:
2339 * net/ange-ftp.el:
2340 * net/browse-url.el:
2341 * net/dbus.el:
2342 * net/eudc.el:
2343 * net/eudcb-ldap.el:
2344 * net/eww.el:
2345 * net/imap.el:
2346 * printing.el:
2347 * vc/ediff-diff.el:
2348 * vc/ediff-init.el:
2349 * vc/ediff-merg.el:
2350 * vc/ediff-mult.el:
2351 * vc/ediff-util.el:
2352 * vc/ediff-wind.el:
2353 * vc/ediff.el:
2354 * vc/emerge.el:
2355 * vc/pcvs.el:
2356 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2357 byte compiler. Remove some unused let-bound variables.
2358
4c528aab
SM
23592013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2362 a "ref-cell", since it gets better optimized (bug#14883).
2363
bd15c390
GM
23642013-09-05 Glenn Morris <rgm@gnu.org>
2365
2366 * progmodes/cc-awk.el (c-forward-sws): Declare.
2367
1c3ac2e5
GM
23682013-09-04 Glenn Morris <rgm@gnu.org>
2369
2370 * generic-x.el [rul-generic-mode]: Require cc-mode.
2371 (c++-mode-syntax-table): Declare.
2372 (rul-generic-mode-syntax-table): Init in the defvar.
2373
52b1cc79
SM
23742013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2375
c828af56
SM
2376 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2377 (vc-do-command, vc-set-async-update):
2378 * vc/vc-mtn.el (vc-mtn-dir-status):
2379 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2380 (vc-hg-pull, vc-hg-merge-branch):
2381 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2382 (vc-git-merge-branch):
2383 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2384 (vc-cvs-dir-status-files):
2385 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2386 (vc-bzr-dir-status-files):
2387 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2388 * vc/vc-annotate.el: Use lexical-binding.
2389 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2390 (vc-sentinel-movepoint): Declare.
2391 (vc-annotate): Don't use `goto-line'.
2392 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2393 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2394 (vc-sentinel-movepoint): Declare.
2395 * vc/vc-svn.el: Use lexical-binding.
2396 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2397 * vc/vc-sccs.el:
2398 * vc/vc-rcs.el: Use lexical-binding.
2399
abae272c
SM
2400 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2401 `deleted'. Don't drop errors silently.
2402
52b1cc79
SM
2403 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2404
63191d9f
XF
24052013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2406
2407 * vc/vc.el (vc-ignore): Rewrite.
2408 (vc-default-ignore): New function.
2409 (vc-default-ignore-completion-table): Use find-ignore-file.
2410
2411 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2412 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2413 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2414 Remove. Most code moved to vc.el.
2415
9d3f707c
SM
24162013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2417
abae272c 2418 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2419 * net/tramp-smb.el (tramp-smb-get-file-entries):
2420 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2421 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2422
fde38d49
SM
2423 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2424 Update call to it.
2425 (eww-change-select): Remove unused var `properties'.
2426 (eww-make-unique-file-name): Remove unused var `base'.
2427
2428 * finder.el (finder-compile-keywords): Don't mess with windows.
2429
84032db7
SM
2430 * calculator.el (calculator-funcall): Fix typo in last change.
2431
724f5e41
SM
2432 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2433
14b511d4
SM
2434 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2435 <pkg>-autoloads.el file stop us.
2436
9d3f707c 2437 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2438 warnings, and factor out common code.
9d3f707c 2439
88527bc0
DG
24402013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2441
2442 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2443 two-character operators and whether the character preceding them
2444 changes their meaning (Bug#15208).
2445
96edb677
FEG
24462013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2447
2448 Format code sent to Python shell for robustness.
9d3f707c
SM
2449 * progmodes/python.el (python-shell-buffer-substring):
2450 New function.
96edb677
FEG
2451 (python-shell-send-region, python-shell-send-buffer): Use it.
2452
95beaef3
MA
24532013-09-02 Michael Albinus <michael.albinus@gmx.de>
2454
2455 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2456 * net/tramp.el (tramp-user-error): ... here.
2457 (tramp-find-method, tramp-check-proper-host)
2458 (tramp-dissect-file-name, tramp-debug-message)
2459 (tramp-handle-shell-command):
2460 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2461 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2462
2463 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2464
f167c27b
MR
24652013-09-02 Martin Rudalics <rudalics@gmx.at>
2466
2467 * avoid.el (mouse-avoidance-point-position)
2468 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2469 returns nil.
2470
cd16c5f1
FEG
24712013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2472
2473 * progmodes/python.el (python-shell-completion-get-completions):
2474 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2475 (python-nav-if-name-main): New command.
cd16c5f1 2476
e73c3a0d
GM
24772013-09-01 Glenn Morris <rgm@gnu.org>
2478
f8ccce03
GM
2479 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2480 Avoid leading space in $wins. Otherwise the sed command used by
2481 eg compile-main ends up containing "/*.el". (Bug#15170)
2482
e73c3a0d
GM
2483 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2484
415f808e
GM
24852013-08-30 Glenn Morris <rgm@gnu.org>
2486
2487 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2488 Fix is-this-a-directory logic. (Bug#15220)
2489
f069bba8
SM
24902013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2491
112798c1
SM
2492 * textmodes/css-mode.el: Use SMIE.
2493 (css-smie-grammar): New var.
2494 (css-smie--forward-token, css-smie--backward-token)
2495 (css-smie-rules): New functions.
2496 (css-mode): Use them.
2497 (css-navigation-syntax-table): Remove var.
2498 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2499 (css-indent-calculate, css-indent-line): Remove functions.
2500
2501 Misc changes to reduce use of `(lambda...); and other cleanups.
2502 * cus-edit.el: Use lexical-binding.
2503 (customize-push-and-save, customize-apropos)
2504 (custom-buffer-create-internal): Use closures.
2505 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2506 * progmodes/ada-xref.el: Use setq.
2507 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2508 * dframe.el: Use lexical-binding.
2509 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2510 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2511 * descr-text.el: Use lexical-binding.
2512 (describe-text-widget, describe-text-sexp, describe-property-list):
2513 Use closures.
2514 * comint.el (comint-history-isearch-push-state): Use a closure.
2515 * calculator.el: Use lexical-binding.
2516 (calculator-number-to-string): Make it work with lexical-binding.
2517 (calculator-funcall): Same and use cl-letf.
2518
2da4c3ab
SM
2519 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2520 (lisp--company-doc-string, lisp--company-location): New functions.
2521 (lisp-completion-at-point): Use them to improve Company support.
2522
f069bba8
SM
2523 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2524 params of lambda expressions.
2525 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2526 (ruby-smie--opening-pipe-p): New function.
2527 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2528 symbols and matched |...| for formal params.
2529 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2530 from being treated as hanging. Handle "rescue".
2531
6758b6a8
GM
25322013-08-29 Glenn Morris <rgm@gnu.org>
2533
2534 * progmodes/cc-engine.el (c-pull-open-brace):
2535 Move definition before use.
2536
e8dfd197
SM
25372013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2540 are immutable. Don't use `unsafe' any more.
2541 (cl--defsubst-expand): Don't substitute at the same time as keeping
2542 a residual unused let-binding. Don't use `unsafe' any more.
2543
cc585c96
GM
25442013-08-29 Glenn Morris <rgm@gnu.org>
2545
ba579ea6
GM
2546 * calendar/cal-china.el (calendar-chinese-year-cache):
2547 Recenter on 2015.
2548
8201a87e
GM
2549 * nxml/nxml-util.el (nxml-debug-clear-inside):
2550 Use cl-loop rather than loop.
2551
6ee877c7
GM
2552 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2553
cc585c96
GM
2554 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2555
27be8d39
GM
25562013-08-28 Glenn Morris <rgm@gnu.org>
2557
397440a1
GM
2558 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2559
2bb762d4
GM
2560 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2561
27be8d39
GM
2562 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2563
2d69b99e
SM
25642013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2565
f663baa7
SM
2566 * simple.el (repeat-complex-command--called-interactively-skip):
2567 New function.
2568 (repeat-complex-command): Use it (bug#14136).
2569
dd4f8b74
SM
2570 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2571 (c-define-abbrev-table): Add `doc' argument.
2572 (c-mode-abbrev-table, c++-mode-abbrev-table)
2573 (objc-mode-abbrev-table, java-mode-abbrev-table)
2574 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2575 (awk-mode-abbrev-table): Use it.
2576 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2577 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2578 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2579 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2580 Move initialization into the declaration; and remove any
2581 autoload cookie.
2582
b58969f7
SM
2583 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2584 and dynamic let binding.
2585
4021d6a6
SM
2586 * vc/smerge-mode.el: Remove redundant :group args.
2587
2d69b99e
SM
2588 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2589 to load-path.
2590
274919fd
JL
25912013-08-28 Juri Linkov <juri@jurta.org>
2592
2593 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2594 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2595 (isearch-other-meta-char): Handle an undefined shifted printing
2596 character by downshifting it. (Bug#15200)
2597
121f8c95
JL
25982013-08-28 Juri Linkov <juri@jurta.org>
2599
2600 * isearch.el (isearch-search): Change regexp error message for
2601 non-regexp searches. (Bug#15166)
2602
50b13cde
PE
26032013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2604
2605 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2606 for portability to hosts where /bin/sh has problems.
2607
95888bca
SM
26082013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2609
2610 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2611
bbe558f1
JL
26122013-08-27 Juri Linkov <juri@jurta.org>
2613
2614 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2615 in the keyboard macro. (Bug#15126)
2616
26f98a7d
JL
26172013-08-27 Juri Linkov <juri@jurta.org>
2618
2619 * isearch.el (isearch-quote-char): Comment out converting unibyte
2620 to multibyte, thus syncing with its `quoted-insert' counterpart.
2621 (Bug#15166)
2622
7c97d35e
MR
26232013-08-27 Martin Rudalics <rudalics@gmx.at>
2624
2625 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2626 argument in call of get-largest-window (Bug#15185).
2627 Reported by Stephen Leake.
7c97d35e 2628
a0b5606e 26292013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2630
2631 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2632
9e89d835
SM
26332013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2636 from a matcher-function unless there's no more matches (bug#15161).
2637
78fc2530
MA
26382013-08-26 Michael Albinus <michael.albinus@gmx.de>
2639
2640 * minibuffer.el: Revert change from 2013-08-20.
2641
2642 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2643 with text property `tramp-default', if appropriate.
2644 (tramp-check-proper-host): New defun.
2645 (tramp-dissect-file-name): Do not check hostname. Revert change
2646 of 2013-03-18.
2647 (tramp-backtrace): Make VEC-OR-PROC optional.
2648
2649 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2650 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2651 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2652 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2653 Apply `tramp-check-proper-host'.
78fc2530 2654
edca97cd
TH
26552013-08-26 Tassilo Horn <tsdh@gnu.org>
2656
2657 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2658 lambda expression in order to have `describe-variable' display it.
2659
df54bcbd
MA
26602013-08-26 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2663 BUF can be optional. (Bug#15186)
2664
eed99101
XF
26652013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2666
2667 * progmodes/flymake.el (flymake-get-real-file-name-function):
2668 Fix broken customization. (Bug#15184)
2669
b5eb9035
AM
26702013-08-25 Alan Mackenzie <acm@muc.de>
2671
8a51e842
AM
2672 Improve indentation of bracelists defined by macros (without "=").
2673
2674 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2675 expansion begins with "{", regard it as bracelist when it doesn't
2676 contain a ";".
2677
869455d4
AM
2678 Parse C++ inher-intro when there's a template split over 2 lines.
2679
2680 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2681 rigorously the search for "class" etc. followed by ":".
2682
2683 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2684 random languages a regexp which never matches rather than nil.
2685
b5eb9035
AM
2686 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2687
2688 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2689 (c-awk-regexp-one-line-possibly-open-char-list-re)
2690 (c-awk-one-line-possibly-open-regexp-re)
2691 (c-awk-one-line-non-syn-ws*-re): Remove.
2692 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2693 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2694 (c-awk-space*-unclosed-regexp-/-re): New constants.
2695 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2696 aren't regexp delimiters.
2697
2698 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2699 handling for a rare situation in AWK Mode involving unterminated
2700 strings/regexps.
2701
61611d54
GM
27022013-08-23 Glenn Morris <rgm@gnu.org>
2703
2d85dc34
GM
2704 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2705
cb8d2612
GM
2706 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2707
bb35f42f
GM
2708 * files.el (create-file-buffer): If the result would begin with
2709 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2710
b9808e77
SM
27112013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2712
e3a66363
SM
2713 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2714 text-properties (bug#15155).
2715
b9808e77
SM
2716 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2717 exist any more.
2718 (calc-keypad-redraw): Remove unused var `pad'.
2719 (calc-keypad-press): Remove unused var `menu'.
2720
7fd5f65e
MR
27212013-08-23 Martin Rudalics <rudalics@gmx.at>
2722
b9808e77
SM
2723 * window.el (display-buffer-pop-up-frame):
2724 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2725 use it as the new frame's buffer (Bug#15133).
2726
8352b530
SM
27272013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 * calendar/timeclock.el: Minor cleanups.
2730 (timeclock-ask-before-exiting, timeclock-use-display-time):
2731 Use `symbol'.
2732 (timeclock-modeline-display): Define as alias before the
2733 actual definition.
2734 (timeclock-mode-line-display): Use define-minor-mode.
2735 (timeclock-day-list-template): Make it a function, add an argument.
2736 (timeclock-day-list-required, timeclock-day-list-length)
2737 (timeclock-day-list-debt, timeclock-day-list-span)
2738 (timeclock-day-list-break): Adjust calls accordingly.
2739
9f7b1925
SM
27402013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2743 Use read--expression so that completion works again.
2744
6e50e983
SS
27452013-08-21 Sam Steingold <sds@gnu.org>
2746
2747 Add rudimentary inferior shell interaction
2748 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2749 (sh-set-shell): Reset it.
9f7b1925
SM
2750 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2751 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2752
dbb0d350
SM
27532013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * align.el: Use lexical-binding.
2756 (align-region): Simplify accordingly.
2757
c88586a9
MA
27582013-08-20 Michael Albinus <michael.albinus@gmx.de>
2759
2760 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2761
2762 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2763 `non-essential' up.
2764
f95527c8
MA
27652013-08-17 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * net/tramp.el:
2768 * net/tramp-adb.el:
2769 * net/tramp-cmds.el:
2770 * net/tramp-ftp.el:
2771 * net/tramp-gvfs.el:
2772 * net/tramp-gw.el:
2773 * net/tramp-sh.el: Don't wrap external variable declarations by
2774 `eval-when-compile'.
2775
4b5fe4ee
LMI
27762013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2777
2778 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2779 now that Emacs supports ImageMagick animations.
2780
13c366c9
MA
27812013-08-16 Michael Albinus <michael.albinus@gmx.de>
2782
2783 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2784 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2785
3dfc5cd6
MR
27862013-08-16 Martin Rudalics <rudalics@gmx.at>
2787
2788 * window.el (mouse-autoselect-window-select): Do autoselect when
2789 mouse pointer is on margin.
2790
4bbb4381
WP
27912013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2792
2793 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2794
3a2ddc2d
GM
27952013-08-16 Glenn Morris <rgm@gnu.org>
2796
e8bedf5a
GM
2797 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2798 Handle "Remote Directory" response of some clients. (Bug#15058)
2799
58c4682f
GM
2800 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2801 Tweak warning. (Bug#14926)
2802
57953f49
GM
2803 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2804 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2805
3a2ddc2d
GM
2806 * image-mode.el (image-mode-map): Add menu items to reverse,
2807 increase, decrease, reset animation speed.
2808 (image--set-speed, image-increase-speed, image-decrease-speed)
2809 (image-reverse-speed, image-reset-speed): New functions.
2810 (image-mode-map): Add bindings for speed commands.
2811
2812 * image.el (image-animate-get-speed, image-animate-set-speed):
2813 New functions.
2814 (image-animate-timeout): Respect image :speed property.
2815
10fa0ed3
SM
28162013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2819 previous line (bug#15101).
2820 (debugger-eval-expression, debugger-record-expression):
2821 Use read--expression (bug#15102).
2822
5d89d9d2
MA
28232013-08-15 Michael Albinus <michael.albinus@gmx.de>
2824
2825 Remove byte compiler warnings, visible when compiling with
2826 `byte-compile-force-lexical-warnings' set to t.
2827
2828 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2829 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2830 (tramp-handle-unhandled-file-name-directory)
2831 (tramp-handle-file-notify-add-watch, tramp-action-login)
2832 (tramp-action-succeed, tramp-action-permission-denied)
2833 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2834 arguments with "_".
2835
2836 * net/tramp-adb.el (tramp-adb-parse-device-names)
2837 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2838 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2839 (tramp-adb-handle-file-truename): Remove unused arguments.
2840
2841 * net/tramp-cache.el (tramp-flush-directory-property)
2842 (tramp-flush-connection-property, tramp-list-connections)
2843 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2844
10fa0ed3
SM
2845 * net/tramp-compat.el (tramp-compat-make-temp-file):
2846 Rename FILENAME to F.
5d89d9d2
MA
2847
2848 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2849 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2850 (tramp-zeroconf-parse-workstation-device-names)
2851 (tramp-zeroconf-parse-webdav-device-names)
2852 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2853
2854 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2855 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2856
2857 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2858 arguments.
2859 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2860 (tramp-sh-handle-insert-file-contents-literally)
2861 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2862 with "_".
2863 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2864 Remove unused variables.
2865
2866 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2867 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2868 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2869
2870 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2871 Make them a defconst.
2872 (tramp-uuencode-region): Remove unused variable.
2873
62f33bae
JB
28742013-08-14 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * frameset.el (frameset--prop-setter): New function.
2877 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2878 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2879 parameter was already set in FILTERED. Doc fix.
2880 (frameset--record-minibuffer-relationships): Allow saving a
2881 minibufferless frame without its corresponding minibuffer frame.
2882 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2883 frame, if the frame id matches.
2884 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2885 frames before orphaned ones.
2886 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2887
c660a885
MR
28882013-08-14 Martin Rudalics <rudalics@gmx.at>
2889
2890 * window.el (window-make-atom): Don't overwrite parameter
2891 already present.
2892 (display-buffer-in-atom-window): Handle special case where we
2893 split an already atomic window.
2894 (window--major-non-side-window, display-buffer-in-side-window)
2895 (window--side-check): Ignore minibuffer window when walking
2896 window tree.
2897 (window-deletable-p): Return 'frame only if no other frame uses
2898 our minibuffer window.
2899 (record-window-buffer): Run buffer-list-update-hook.
2900 (split-window): Make sure window--check-frame won't destroy an
2901 existing atomic window in case the new window gets nested
2902 inside.
2903 (display-buffer-at-bottom): Ignore minibuffer window when
2904 walking window tree. Don't split a side window.
2905 (pop-to-buffer): Don't set-buffer here, the select-window call
2906 should do that.
2907 (mouse-autoselect-window-select): Autoselect only if we are in the
2908 text portion of the window.
2909
8259030d
LMI
29102013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2911
21c58ae2
LMI
2912 * net/shr.el (shr-parse-image-data): New function to grab both the
2913 data itself and the Content-Type.
2914 (shr-put-image): Use it.
2915
2916 * net/eww.el (eww-display-image): Ditto.
2917
8259030d
LMI
2918 * image.el (image-content-type-suffixes): New variable.
2919
ad756449
FEG
29202013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2921
2922 * progmodes/python.el (python-imenu--build-tree)
2923 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2924
f73f4ce6
XF
29252013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2926
2927 * simple.el (backward-word): Mention the optional argument.
2928
1f585e65
SM
29292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * frameset.el (frameset--make): Rename constructor from make-frameset.
2932 (frameset-p, frameset-valid-p): Don't autoload.
2933 (frameset-valid-p): Use normal accessors.
2934
af1c6c84
GM
29352013-08-13 Glenn Morris <rgm@gnu.org>
2936
55e47f95
GM
2937 * progmodes/compile.el (compile-command): Tweak example in doc.
2938 * obsolete/scribe.el (scribe-mode):
2939 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2940
f0024d8c
GM
2941 * mail/feedmail.el (feedmail-confirm-outgoing)
2942 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2943
2944 * cus-start.el (truncate-partial-width-windows): Fix type.
2945
2946 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2947
af1c6c84
GM
2948 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2949
5514cc4c
SM
29502013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * emacs-lisp/timer.el (timer--time-setter): New function.
2953 (timer--time): Use it as gv-setter.
2954
2955 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2956 setter is not a symbol.
2957
7997a2f1
GJ
29582013-08-12 Grégoire Jadi <daimrod@gmail.com>
2959
2960 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2961 if sending fails. This makes debugging easier.
2962
01f1a9ab
JB
29632013-08-12 Juanma Barranquero <lekktu@gmail.com>
2964
2965 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2966 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2967 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2968
594a4307
EZ
29692013-08-12 Eli Zaretskii <eliz@gnu.org>
2970
2971 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2972
7a22490f 29732013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2974
2975 * format.el (format-annotate-function):
2976 Handle read-only text properties in the source. (Bug#14887)
2977
3e41a054
LMI
29782013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2979
5514cc4c
SM
2980 * net/eww.el (eww-display-html): Ignore coding system errors.
2981 One web site uses "utf-8lias" as the coding system.
3e41a054 2982
7ec326db
JB
29832013-08-11 Juanma Barranquero <lekktu@gmail.com>
2984
2985 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2986
5660113b
JB
29872013-08-10 Juanma Barranquero <lekktu@gmail.com>
2988
9a4ebc74
JB
2989 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2990 (tutorial--detailed-help): Remove unused local variables.
2991 (tutorial--save-tutorial-to): Use ignore-errors.
2992 (help-with-tutorial): Use looking-at-p.
2993
2994 * view.el (view-buffer-other-window, view-buffer-other-frame):
2995 Mark unused arguments.
2996
2997 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2998 (woman-select-symbol-fonts, woman, woman-find-file)
2999 (woman-insert-file-contents, woman-non-underline-faces):
3000 Use string-match-p.
3001 (woman1-unquote): Move declaration.
3002
3003 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3004 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3005 argument. Remove unused local variable.
3006 (xml-parse-elem-type): Use string-match-p.
3007 (xml-substitute-numeric-entities): Use ignore-errors.
3008
45fdb482
JB
3009 * calculator.el (calculator): Mark unused argument.
3010 (calculator-paste, calculator-quit, calculator-integer-p):
3011 Use ignore-errors.
3012 (calculator-string-to-number, calculator-decimal, calculator-exp)
3013 (calculator-op-or-exp): Use string-match-p.
3014
3015 * dired.el (dired-buffer-more-recently-used-p): Declare.
3016 (dired-insert-set-properties, dired-insert-old-subdirs):
3017 Use ignore-errors.
3018
3019 * dired-aux.el (dired-compress): Use ignore-errors.
3020 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3021 (dired-do-async-shell-command, dired-do-shell-command)
3022 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3023 (dired-insert-subdir-validate): Use string-match-p.
3024 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3025 (dired-add-entry): Use string-match-p, looking-at-p.
3026 (dired-insert-subdir-newpos): Remove unused local variable.
3027
3028 * filenotify.el (file-notify-callback): Remove unused local variable.
3029
3030 * filesets.el (filesets-error): Mark unused argument.
3031 (filesets-which-command-p, filesets-filter-dir-names)
3032 (filesets-directory-files, filesets-get-external-viewer)
3033 (filesets-ingroup-get-data): Use string-match-p.
3034
3035 * find-file.el (ff-other-file-name, ff-other-file-name)
3036 (ff-find-the-other-file, ff-cc-hh-converter):
3037 Remove unused local variables.
3038 (ff-get-file-name): Use string-match-p.
3039 (ff-all-dirs-under): Use ignore-errors.
3040
3041 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3042 (follow-select-if-visible): Remove unused local variable.
3043
3044 * forms.el (read-file-filter): Move declaration.
3045 (forms--make-format, forms--make-parser, forms-insert-record):
3046 Quote function with #'.
3047 (forms--update): Use string-match-p. Quote function with #'.
3048
3049 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3050 (help-make-xrefs): Use looking-at-p.
3051 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3052
3053 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3054 (ibuffer-confirm-operation-on): Use string-match-p.
3055
3056 * msb.el (msb-item-handler, msb-dired-item-handler):
3057 Mark unused arguments.
3058
3059 * ses.el (ses-decode-cell-symbol)
3060 (ses-kill-override): Remove unused local variable.
3061 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3062 (ses-load): Use ignore-errors, looking-at-p.
3063 (ses-jump-safe): Use ignore-errors.
3064 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3065
3066 * tabify.el (untabify, tabify): Mark unused arguments.
3067
3068 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3069 Mark unused argument.
3070 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3071 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3072
c880af52
JB
3073 * emacs-lisp/timer.el (timer--time): Define setter with
3074 gv-define-setter to avoid deprecation warning.
3075
5660113b 3076 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3077 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3078 (cmpl-statistics-block): Remove (body was commented out).
3079 All callers changed.
3080 (add-completions-from-buffer, load-completions-from-file):
3081 Remove unused variables.
3082
156aab80
JB
30832013-08-09 Juanma Barranquero <lekktu@gmail.com>
3084
5c5dee78
JB
3085 * filecache.el (file-cache-delete-file-list):
3086 Print message only when told so.
3087 (file-cache-files-matching): Use #' in mapconcat argument.
3088
156aab80
JB
3089 * ffap.el (ffap-url-at-point): Fix reference to variable
3090 thing-at-point-default-mail-uri-scheme.
3091
ad9dcd70
SM
30922013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3093
54bd972f
SM
3094 * subr.el (define-error): New function.
3095 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3096 error-file-not-found and define with define-error.
3097 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3098 and define with define-error.
3099 * userlock.el (file-locked, file-supersession):
3100 * simple.el (mark-inactive):
3101 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3102 * progmodes/ada-mode.el (ada-mode-errors):
3103 * play/life.el (life-extinct):
3104 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3105 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3106 * nxml/rng-util.el (rng-error):
3107 * nxml/rng-uri.el (rng-uri-error):
3108 * nxml/rng-match.el (rng-compile-error):
3109 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3110 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3111 * nxml/nxml-rap.el (nxml-scan-error):
3112 * nxml/nxml-outln.el (nxml-outline-error):
3113 * net/soap-client.el (soap-error):
3114 * net/gnutls.el (gnutls-error):
3115 * net/ange-ftp.el (ftp-error):
3116 * mpc.el (mpc-proc-error):
3117 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3118 (json-number-format, json-string-escape, json-string-format)
3119 (json-key-format, json-object-format):
3120 * jka-compr.el (compression-error):
3121 * international/quail.el (quail-error):
3122 * international/kkc.el (kkc-error):
3123 * emacs-lisp/ert.el (ert-test-failed):
3124 * calc/calc.el (calc-error, inexact-result, math-overflow)
3125 (math-underflow):
3126 * bookmark.el (bookmark-error-no-filename):
3127 * epg.el (epg-error): Define with define-error.
3128
0ea9e53a
SM
3129 * time.el (display-time-event-handler)
3130 (display-time-next-load-average): Don't call sit-for since it seems
3131 unnecessary (bug#15045).
3132
b0429158
SM
3133 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3134 Use #' instead of ' to quote functions.
3135 (checkdoc-output-mode): Use setq-local.
3136 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3137 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3138 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3139 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3140 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3141 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3142 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3143 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3144
ad9dcd70
SM
3145 * ido.el (ido-completion-help): Fix up compiler warning.
3146
77187e6f
JB
31472013-08-09 Juanma Barranquero <lekktu@gmail.com>
3148
3149 * frameset.el (frameset-p): Add autoload cookie.
3150 (frameset--jump-to-register): New function, based on code moved from
3151 register.el.
3152 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3153
3154 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3155 (frameset-restore, frameset-save, frameset-session-filter-alist):
3156 Remove declarations.
3157 (register-alist): Doc fix.
3158 (frameset-to-register): Move to frameset.el.
3159 (jump-to-register, describe-register-1): Remove frameset-specific code.
3160
9d3aa82c
JB
31612013-08-08 Juanma Barranquero <lekktu@gmail.com>
3162
3163 * allout-widgets.el (allout-widgets-pre-command-business)
3164 (allout-widgets-post-command-business)
3165 (allout-widgets-after-change-handler)
3166 (allout-decorate-item-and-context, allout-set-boundary-marker)
3167 (allout-body-modification-handler)
3168 (allout-graphics-modification-handler): Mark ignored arguments.
3169 (allout-widgets-post-command-business)
3170 (allout-widgets-exposure-change-processor)
3171 (allout-widgets-exposure-undo-processor)
3172 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3173 (allout-parse-item-at-point, allout-decorate-item-guides)
3174 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3175 * allout.el (epa-passphrase-callback-function): Declare.
3176 (allout-overlay-insert-in-front-handler)
3177 (allout-overlay-interior-modification-handler)
3178 (allout-isearch-end-handler, allout-chart-siblings)
3179 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3180 (allout-yank-processing, allout-process-exposed)
3181 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3182 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3183 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3184 (lisp-indent-defform): Mark ignored arguments.
3185 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3186 (calculate-lisp-indent): Remove unused variables.
3187 * international/characters.el (indian-2-column, arabic-2-column)
3188 (tibetan): Mark ignored arguments.
3189 (use-cjk-char-width-table): Mark ignored arguments.
3190 Remove unused variables.
3191 * international/fontset.el (build-default-fontset-data)
3192 (x-compose-font-name, create-fontset-from-fontset-spec):
3193 Mark ignored arguments.
3194 (fontset-plain-name): Remove unused variables.
3195 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3196 (keyboard-coding-system): Mark ignored arguments.
3197 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3198 * help.el (resize-temp-buffer-window):
3199 * window.el (display-buffer-in-major-side-window)
3200 (display-buffer-in-side-window, display-buffer-in-previous-window):
3201 Remove unused variables.
3202 * isearch.el (isearch-forward-symbol):
3203 * version.el (emacs-bzr-version-bzr):
3204 * international/mule-cmds.el (current-language-environment):
3205 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3206 (x-handle-display):
3207 * term/pc-win.el (x-list-fonts, x-display-planes)
3208 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3209 (x-server-version, x-display-screens, x-display-mm-height)
3210 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3211 (x-selection-owner-p, x-own-selection-internal)
3212 (x-disown-selection-internal, x-get-selection-internal)
3213 (msdos-initialize-window-system):
3214 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3215 * term/x-win.el (x-handle-no-bitmap-icon):
3216 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3217 (vc-default-find-file-hook, vc-default-extra-menu):
3218 Mark ignored arguments.
3219
0ca3f70e
SM
32202013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3223 break-condition in the context of the debugged code (bug#12685).
3224
74c5d24c
CS
32252013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3226
3227 * comint.el:
3228 Do not use an overlay to highlight the last prompt. (Bug#14744)
3229 (comint-mode): Make comint-last-prompt buffer local.
3230 (comint-last-prompt): New variable.
3231 (comint-last-prompt-overlay): Remove. Superseded by
3232 comint-last-prompt.
0ca3f70e
SM
3233 (comint-snapshot-last-prompt, comint-output-filter):
3234 Use comint-last-prompt.
74c5d24c 3235
c03c02ee
JB
32362013-08-08 Juanma Barranquero <lekktu@gmail.com>
3237
a3738d20 3238 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3239 (frameset-save): Check validity of the resulting frameset.
3240
04263d23
XF
32412013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3242
3243 * ido.el (ido-record-command): Add doc string.
3244
76c5e5ab
JB
32452013-08-08 Juanma Barranquero <lekktu@gmail.com>
3246
3247 * frameset.el (frameset): Do not disable creation of the default
3248 frameset-p predicate. Doc fix.
3249 (frameset-valid-p): New function, copied from the old predicate-p.
3250 Add additional checks.
3251 (frameset-restore): Check with frameset-valid-p.
3252 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3253 (frameset-name, frameset-description, frameset-properties)
3254 (frameset-states): Add docstring.
f9dbf1cb
JB
3255 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3256 (frameset-filter-alist): Doc fixes.
76c5e5ab 3257
bd0c3c0b
JB
32582013-08-08 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3261
c735544c
SM
32622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3265 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3266 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3267 (byte-compile-normal-call): Remove obsolescence check.
3268
2805a651
JB
32692013-08-08 Juanma Barranquero <lekktu@gmail.com>
3270
3677ffeb
JB
3271 * frameset.el (frameset-restore): Doc fix.
3272
2805a651
JB
3273 * register.el (frameset-frame-id, frameset-frame-with-id)
3274 (frameset-p, frameset-restore, frameset-save): Declare.
3275 (register-alist): Document framesets.
3276 (frameset-session-filter-alist): Declare.
3277 (frameset-to-register): New function.
3278 (jump-to-register): Implement jumping to framesets. Doc fix.
3279 (describe-register-1): Describe framesets.
3280
3281 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3282
a912c016
JB
32832013-08-07 Juanma Barranquero <lekktu@gmail.com>
3284
3285 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3286 Use lexical-binding.
3287
3288 * frameset.el (frameset): Use type vector, not list (incompatible
3289 change). Do not declare a new constructor, use the default one.
3290 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3291 `name' and `description', respectively, and add read-only slot
3292 `timestamp'. Doc fixes.
3293 (frameset-copy, frameset-persistent-filter-alist)
3294 (frameset-filter-alist, frameset-switch-to-gui-p)
3295 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3296 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3297 (frameset-filter-iconified, frameset-keep-original-display-p):
3298 Doc fixes.
3299 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3300 Rename from frameset-filter-(save|restore)-param. All callers changed.
3301 Doc fix.
3302 (frameset-p): Adapt to change to vector and be more thorough.
3303 Change arg name to OBJECT. Doc fix.
3304 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3305 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3306 All callers changed.
3307 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3308 All callers changed.
3309 (frameset--record-minibuffer-relationships): Rename from
3310 frameset--process-minibuffer-frames. All callers changed.
3311 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3312 Use new default constructor (again). Doc fix.
3313 (frameset--find-frame-if): Rename from `frameset--find-frame.
3314 All callers changed.
3315 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3316 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3317 Doc fix.
3318 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3319 PARAMETERS and WINDOW-STATE, respectively.
3320 (frameset-restore): Add new keyword argument PREDICATE.
3321 Reset frameset--target-display to nil. Doc fix.
3322
bb41480a
SM
33232013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3324
f001e98e
SM
3325 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3326 (bat-mode): Use it.
3327 (bat-mode-syntax-table): Mark \n as end-of-comment.
3328 (bat-font-lock-keywords): Remove comment rule.
3329
7679edb1
SM
3330 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3331 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3332
bb41480a
SM
3333 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3334 (byte-compile-callargs-warn): Use `push'.
3335 (byte-compile-arglist-warn): Ignore higher-order "calls".
3336 (byte-compile-file-form-autoload): Use `pcase'.
3337 (byte-compile-function-form): If quoting a symbol, check that it exists.
3338
cdc1ebb9
EZ
33392013-08-07 Eli Zaretskii <eliz@gnu.org>
3340
3341 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3342 and add a few popular commands found in batch files.
3343 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3344 (dos-mode): Doc fixes.
3345
312b1740
SM
33462013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3349 (dos-mode): Use setq-local. Add space after "rem".
3350 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3351 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3352
400a3178
AM
33532013-08-07 Arni Magnusson <arnima@hafro.is>
3354
3355 * progmodes/dos.el: New file.
3356 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3357 dos-mode.
3358
3b5c03d3
GM
33592013-08-06 Glenn Morris <rgm@gnu.org>
3360
3361 * calendar/calendar.el: Add new faces, and day-header-array.
3362 (calendar-weekday-header, calendar-weekend-header)
3363 (calendar-month-header): New faces.
3364 (calendar-day-header-construct): New function.
3365 (calendar-day-header-width): Also :set calendar-day-header-array.
3366 (calendar-american-month-header, calendar-european-month-header)
3367 (calendar-iso-month-header): Use calendar- faces.
3368 (calendar-generate-month):
3369 Use calendar-day-header-array for day headers; apply faces to them.
3370 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3371 (calendar-abbrev-construct): Add optional maxlen argument.
3372 (calendar-day-name-array): Doc fix.
3373 (calendar-day-name-array, calendar-abbrev-length)
3374 (calendar-day-abbrev-array):
3375 Also :set calendar-day-header-array, and maybe redraw.
3376 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3377 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3378 (calendar-day-name): Add option to use header array.
3379
ec6a2d7a
LMI
33802013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3381
3382 * net/shr.el (shr-render-td): Remove debugging.
3383 (shr-render-td): Make width computation consistent by defaulting
3384 all zero-width columns to 10 characters. This may not be optimal,
3385 but it's at least consistent.
2122cb6d
LMI
3386 (shr-make-table-1): Redo last change to fix the real problem in
3387 colspan handling.
ec6a2d7a 3388
ed4fd9c5
DA
33892013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3390
0ca3f70e
SM
3391 * files.el (cache-long-line-scans):
3392 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3393
64e22afe
JB
33942013-08-06 Juanma Barranquero <lekktu@gmail.com>
3395
024b38fc
JB
3396 * frameset.el (frameset, frameset-filter-alist)
3397 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3398 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3399 (frameset-compute-pos): Rename from frameset--compute-pos,
3400 and add docstring.
3401 (frameset-move-onscreen): Use frameset-compute-pos.
3402 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3403
64e22afe
JB
3404 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3405 Fix typos in docstrings.
3406
c8c2aca8
DA
34072013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3408
3409 * frame.el (get-other-frame): Tiny cleanup.
3410
1d237bba
JB
34112013-08-06 Juanma Barranquero <lekktu@gmail.com>
3412
8951efef
JB
3413 * vc/vc.el (vc-default-ignore-completion-table):
3414 Silence byte-compiler warning.
3415
307764cc
JB
3416 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3417 slot , which can indeed be nil.
3418 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3419 Move entry for `left' from persistent to live filter alist.
3420 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3421 Doc fixes.
3422 (frameset-filter-params): When restoring a frame, copy items added to
3423 `filtered', to avoid unwittingly modifying the original parameters.
3424 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3425 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3426
1d237bba
JB
3427 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3428 to use looking-at-p instead of looking-at. (Bug#15028)
3429
dc6c0eda
SM
34302013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 Revert introduction of isearch-filter-predicates (bug#14714).
3433 Rely on add-function instead.
3434 * isearch.el (isearch-filter-predicates): Rename it back to
3435 isearch-filter-predicate.
3436 (isearch-message-prefix): Use advice-function-mapc and advice
3437 properties to get the isearch-message-prefix.
3438 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3439 instead of run-hook-with-args-until-failure.
3440 (isearch-filter-visible): Not obsolete any more.
3441 * loadup.el: Preload nadvice.
3442 * replace.el (perform-replace): Revert to funcall
3443 instead of run-hook-with-args-until-failure.
3444 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3445 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3446 dired-isearch-filenames-toggle; make it into a proper minor mode.
3447 Use add/remove-function.
3448 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3449 Call the minor-mode rather than add/remove-hook.
3450 (dired-isearch-filter-filenames):
3451 Remove isearch-message-prefix property.
3452 * info.el (Info--search-loop): New function, extracted from Info-search.
3453 Funcall isearch-filter-predicate instead of
3454 run-hook-with-args-until-failure isearch-filter-predicates.
3455 (Info-search): Use it.
3456 (Info-mode): Use isearch-filter-predicate instead of
3457 isearch-filter-predicates.
3458
290d5b58
DA
34592013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3460
3461 Do not call to `selected-window' where it is assumed by default.
3462 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3463 `window-hscroll', `window-width', `window-height', `window-buffer',
3464 `window-frame', `window-start', `window-point', `next-window'
3465 and `window-display-table'.
3466 * abbrev.el (abbrev--default-expand):
3467 * bs.el (bs--show-with-configuration):
3468 * buff-menu.el (Buffer-menu-mouse-select):
3469 * calc/calc.el (calc):
3470 * calendar/calendar.el (calendar-generate-window):
3471 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3472 (diary-make-entry):
3473 * comint.el (send-invisible, comint-dynamic-complete-filename)
3474 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3475 * completion.el (complete):
3476 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3477 * disp-table.el (describe-current-display-table):
3478 * doc-view.el (doc-view-insert-image):
3479 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3480 * ehelp.el (with-electric-help):
3481 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3482 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3483 * emacs-lisp/helper.el (Helper-help-scroller):
3484 * emulation/cua-base.el (cua--post-command-handler-1):
3485 * eshell/esh-mode.el (eshell-output-filter):
3486 * ffap.el (ffap-gnus-wrapper):
3487 * help-macro.el (make-help-screen):
3488 * hilit-chg.el (highlight-compare-buffers):
3489 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3490 * hl-line.el (global-hl-line-highlight):
3491 * icomplete.el (icomplete-simple-completing-p):
3492 * isearch.el (isearch-done):
3493 * jit-lock.el (jit-lock-stealth-fontify):
3494 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3495 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3496 * mpc.el (mpc-tagbrowser, mpc):
3497 * net/rcirc.el (rcirc-any-buffer):
3498 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3499 * play/landmark.el (landmark-max-width, landmark-max-height):
3500 * play/zone.el (zone):
3501 * progmodes/compile.el (compilation-goto-locus):
3502 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3503 * progmodes/etags.el (find-tag-other-window):
3504 * progmodes/fortran.el (fortran-column-ruler):
3505 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3506 * progmodes/verilog-mode.el (verilog-point-text):
3507 * reposition.el (reposition-window):
3508 * rot13.el (toggle-rot13-mode):
3509 * server.el (server-switch-buffer):
3510 * shell.el (shell-dynamic-complete-command)
3511 (shell-dynamic-complete-environment-variable):
3512 * simple.el (insert-buffer, set-selective-display)
3513 (delete-completion-window):
3514 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3515 (speedbar-recenter):
3516 * startup.el (fancy-splash-head):
3517 * textmodes/ispell.el (ispell-command-loop):
3518 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3519 * tutorial.el (help-with-tutorial):
3520 * vc/add-log.el (add-change-log-entry):
3521 * vc/compare-w.el (compare-windows):
3522 * vc/ediff-help.el (ediff-indent-help-message):
3523 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3524 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3525 (ediff-setup-control-frame):
3526 * vc/emerge.el (emerge-position-region):
3527 * vc/pcvs-util.el (cvs-bury-buffer):
3528 * window.el (walk-windows, mouse-autoselect-window-select):
3529 * winner.el (winner-set-conf, winner-undo): Related users changed.
3530
38276e01
JB
35312013-08-05 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * frameset.el (frameset--set-id): Doc fix.
3534 (frameset-frame-id, frameset-frame-id-equal-p)
3535 (frameset-locate-frame-id): New functions.
3536 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3537 (frameset-restore): Use them.
3538
12b4c0ea
DA
35392013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3540
3541 Do not call to `selected-frame' where it is assumed by default.
3542 Affected functions are `raise-frame', `redraw-frame',
3543 `frame-first-window', `frame-terminal' and `delete-frame'.
3544 * calendar/appt.el (appt-disp-window):
3545 * epg.el (epg-wait-for-completion):
3546 * follow.el (follow-delete-other-windows-and-split)
3547 (follow-avoid-tail-recenter):
3548 * international/mule.el (set-terminal-coding-system):
3549 * mail/rmail.el (rmail-mail-return):
3550 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3551 * progmodes/f90.el (f90-add-imenu-menu):
3552 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3553 * server.el (server-switch-buffer):
3554 * simple.el (delete-completion-window):
3555 * talk.el (talk):
3556 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3557 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3558 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3559 * vc/ediff.el (ediff-documentation): Related users changed.
3560 * frame.el (selected-terminal): Remove the leftover.
3561
17f25e76
GM
35622013-08-05 Glenn Morris <rgm@gnu.org>
3563
3564 * calendar/calendar.el (calendar-generate-month):
3565 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3566 (calendar-generate-month, calendar-font-lock-keywords):
3567 Fix for calendar-day-header-width > length of any day name.
17f25e76 3568
063233c3
JB
35692013-08-05 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * desktop.el (desktop-clear): Use new name of sort predicate.
3572
3573 * frameset.el (frameset): Add docstring. Move :version property to its
3574 own `version' slot.
3575 (frameset-copy): Rename from copy-frameset.
3576 (frameset-p): Check more thoroughly.
3577 (frameset-prop): Do not check for :version, which is no longer a prop.
3578 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3579 Use new :never value instead of t.
3580 (frameset-filter-alist): Expand and clarify docstring.
3581 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3582 (frameset-filter-minibuffer, frameset-filter-save-param)
3583 (frameset-filter-restore-param, frameset-filter-iconified):
3584 Add pointer to docstring of frameset-filter-alist.
3585 (frameset-filter-params): Rename filter values to be more meaningful:
3586 :never instead of t, and reverse the meanings of :save and :restore.
3587 (frameset--process-minibuffer-frames): Clarify error message.
3588 (frameset-save): Avoid unnecessary and confusing call to framep.
3589 Use new BOA constructor for framesets.
3590 (frameset--reuse-list): Doc fix.
3591 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3592 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3593 (frameset-minibufferless-first-p): Doc fix.
3594 Rename from frameset-sort-frames-for-deletion.
3595 (frameset-restore): Doc fixes. Use new function names.
3596 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3597
d5671a82
JB
35982013-08-04 Juanma Barranquero <lekktu@gmail.com>
3599
3600 * desktop.el (desktop-restore-forces-onscreen)
3601 (desktop-restore-reuses-frames): Document :keyword constant values.
3602 (desktop-filter-parameters-alist): Remove, now identical to
3603 frameset-filter-alist.
3604 (desktop--filter-tty*): Remove, moved to frameset.el.
3605 (desktop-save-frameset, desktop-restore-frameset):
3606 Do not pass :filters argument.
3607
3608 * frameset.el (frameset-live-filter-alist)
3609 (frameset-persistent-filter-alist): New variables.
3610 (frameset-filter-alist): Use them. Add autoload cookie.
3611 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3612 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3613 `frameset--id' (it's supposed to be internal to frameset.el).
3614 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3615 (frameset--initial-params): New function.
3616 (frameset--get-frame): Use it. Doc fix.
3617 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3618 Accept :all, not 'all.
3619 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3620 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3621 with fbound symbols. Fix frame id matching, and remove matching ids if
3622 the frame being restored is deleted. Obey :delete.
3623
671d5c16
SM
36242013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * subr.el (macrop): New function.
3627 (text-clone--maintaining): New var.
3628 (text-clone--maintain): Rename from text-clone-maintain. Use it
3629 instead of inhibit-modification-hooks.
3630
3631 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3632 a proxy, so as handle autoloads and redefinitions of the target.
3633 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3634
3635 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3636 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3637 (pcase--mutually-exclusive-p): New function.
3638 (pcase--split-consp): Use it.
3639 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3640 mutually exclusive with the current predicate.
3641
3642 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3643 (edebug-macrop): Remove. Use `macrop' instead.
3644 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3645 (ad-macro-p):
3646 * eshell/esh-cmd.el (eshell-macrop):
3647 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3648
1d44e9dc
SM
36492013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3652 (advice-mapc): New function, using it.
3653 (advice-function-member-p): New function.
3654 (advice--normalize): Store the cdr in advice--saved-rewrite since
3655 that's the part that will be changed.
3656 (advice--symbol-function): New function.
3657 (advice-remove): Handle removal before the function is defined.
3658 Adjust to new advice--saved-rewrite.
3659 (advice-member-p): Use advice-function-member-p and
3660 advice--symbol-function.
3661
5414a283
JB
36622013-08-04 Juanma Barranquero <lekktu@gmail.com>
3663
51d30f2c
JB
3664 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3665 (frameset-filter-minibuffer): Doc fix.
3666 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3667 (frameset--set-id, frameset--process-minibuffer-frames)
3668 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3669 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3670
5414a283
JB
3671 * desktop.el (desktop-clear): Only delete frames when called
3672 interactively and desktop-restore-frames is non-nil. Doc fix.
3673 (desktop-read): Set desktop-saved-frameset to nil.
3674
ab419665
XF
36752013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3676
3677 * vc/vc.el (vc-ignore): Rewrite.
3678 (vc-default-ignore-completion-table):
3679 (vc--read-lines):
3680 (vc--add-line, vc--remove-regexp): New functions.
3681
3682 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3683 (vc-svn-ignore-completion-table): New function.
3684
3685 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3686 (vc-hg-ignore-completion-table):
3687 (vc-hg-find-ignore-file): New functions.
3688
3689 * vc/vc-git.el (vc-git-ignore): Rewrite.
3690 (vc-git-ignore-completion-table):
3691 (vc-git-find-ignore-file): New functions.
3692
3693 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3694
3695 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3696 (vc-bzr-ignore-completion-table):
3697 (vc-bzr-find-ignore-file): New functions.
3698
2613dea2
JB
36992013-08-03 Juanma Barranquero <lekktu@gmail.com>
3700
3701 * frameset.el (frameset-prop): New function and setter.
3702 (frameset-save): Do not modify frame list passed by the caller.
3703
9c959872
SM
37042013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3707
a104f656
SM
37082013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3709
70122acf
SM
3710 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3711 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3712
a104f656
SM
3713 * custom.el (custom-initialize-default, custom-initialize-set)
3714 (custom-initialize-reset, custom-initialize-changed): Affect the
3715 toplevel-default-value (bug#6275, bug#14586).
3716 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3717 for bug#6275.
3718
f078d570
JB
37192013-08-02 Juanma Barranquero <lekktu@gmail.com>
3720
185e3b5a
JB
3721 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3722 Add cl-def* expressions.
3723
f078d570
JB
3724 * frameset.el (frameset-filter-params): Fix order of arguments.
3725
9421876d
JB
37262013-08-02 Juanma Barranquero <lekktu@gmail.com>
3727
3728 Move code related to saving frames to frameset.el.
3729 * desktop.el: Require frameset.
3730 (desktop-restore-frames): Doc fix.
3731 (desktop-restore-reuses-frames): Rename from
3732 desktop-restoring-reuses-frames.
3733 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3734 (desktop-clear): Clear frames too.
3735 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3736 (desktop--filter-tty*, desktop-save, desktop-read):
3737 Use frameset functions.
3738 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3739 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3740 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3741 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3742 (desktop--process-minibuffer-frames, desktop-save-frames)
3743 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3744 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3745 (desktop--sort-states, desktop-restoring-frames-p)
3746 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3747 (desktop-restoring-frameset-p, desktop-restore-frameset)
3748 (desktop--check-dont-save, desktop-save-frameset): New functions.
3749 (desktop--app-id): New constant.
3750 (desktop-first-buffer, desktop-buffer-ok-count)
3751 (desktop-buffer-fail-count): Move before first use.
3752 * frameset.el: New file.
3753
76dc5996
SM
37542013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * files.el: Use lexical-binding.
3757 (dir-locals-read-from-file): Remove unused `err' variable.
3758 (hack-dir-local-variables--warned-coding): New var.
3759 (hack-dir-local-variables): Use it to avoid repeated warnings.
3760 (make-backup-file-name--default-function): New function.
3761 (make-backup-file-name-function): Use it as default.
3762 (buffer-stale--default-function): New function.
3763 (buffer-stale-function): Use it as default.
3764 (revert-buffer-insert-file-contents--default-function): New function.
3765 (revert-buffer-insert-file-contents-function): Use it as default.
3766 (insert-directory): Avoid add-to-list.
3767
3768 * autorevert.el (auto-revert-handler): Simplify.
3769 Use buffer-stale--default-function.
3770
06d36e2b
TH
37712013-08-01 Tassilo Horn <tsdh@gnu.org>
3772
5f648ab4
TH
3773 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3774
06d36e2b
TH
3775 * whitespace.el (whitespace-ensure-local-variables): New function.
3776 (whitespace-cleanup-region): Call it.
3777 (whitespace-turn-on): Call it.
3778
a43dc424
MA
37792013-08-01 Michael Albinus <michael.albinus@gmx.de>
3780
3781 Complete file name handlers.
3782
3783 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3784 (tramp-handle-verify-visited-file-modtime)
3785 (tramp-handle-file-notify-rm-watch): New functions.
3786 (tramp-call-process): Do not bind `default-directory'.
3787
44e18199
JB
3788 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3789 Order alphabetically.
a43dc424
MA
3790 [access-file, add-name-to-file, dired-call-process]:
3791 [dired-compress-file, file-acl, file-notify-rm-watch]:
3792 [file-ownership-preserved-p, file-selinux-context]:
3793 [make-directory-internal, make-symbolic-link, set-file-acl]:
3794 [set-file-selinux-context, set-visited-file-modtime]:
3795 [verify-visited-file-modtime]: Add handler.
3796 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3797
3798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3799 [file-notify-add-watch, file-notify-rm-watch]:
3800 [set-file-times, set-visited-file-modtime]:
3801 [verify-visited-file-modtime]: Add handler.
3802 (with-tramp-gvfs-error-message)
3803 (tramp-gvfs-handle-set-visited-file-modtime)
3804 (tramp-gvfs-fuse-file-name): Remove.
3805 (tramp-gvfs-handle-file-notify-add-watch)
3806 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3807 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3808
44e18199
JB
3809 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3810 Order alphabetically.
a43dc424
MA
3811 [file-notify-rm-watch ]: Use default Tramp handler.
3812 [executable-find]: Remove private handler.
3813 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3814 `default-directory'.
3815 (tramp-sh-handle-executable-find)
3816 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3817 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3818 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3819 Do not use `format' in `tramp-message'.
3820
3821 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3822 [file-notify-rm-watch, set-visited-file-modtime]:
3823 [verify-visited-file-modtime]: Add handler.
3824 (tramp-smb-call-winexe): Do not bind `default-directory'.
3825
7188b515
XF
38262013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3827
3828 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3829
2412ee1a
DG
38302013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3831
3832 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3833 use it.
3834 (log-view-diff-changeset): Same.
3835 (log-view-diff-common): Call backend command `previous-revision'
3836 to find out the previous revision, in both cases. Swap the
3837 variables `to' and `fr', so that `fr' usually refers to the
3838 earlier revision (Bug#14989).
3839
5002a754
KRC
38402013-07-31 Kan-Ru Chen <kanru@kanru.info>
3841
3842 * ibuf-ext.el (ibuffer-filter-by-filename):
3843 Make it work with dired buffers too.
3844
44e18199 38452013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3846
3847 * emacs-lisp/re-builder.el (reb-color-display-p):
3848 * files.el (save-buffers-kill-terminal):
3849 * net/browse-url.el (browse-url):
3850 * server.el (server-save-buffers-kill-terminal):
3851 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3852 Prefer nil to selected-frame for the first arg of frame-parameter.
3853
aeca3fbb
XF
38542013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3855
3856 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3857
158bc55c
SB
38582013-07-30 Stephen Berman <stephen.berman@gmx.net>
3859
3860 * minibuffer.el (completion--twq-all): Try and preserve each
3861 completion's case choice (bug#14907).
3862
d50fceab
LMI
38632013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3864
ac38e731
LMI
3865 * net/network-stream.el (open-network-stream): Mention the new
3866 :nogreeting parameter.
3867 (network-stream-open-starttls): Use the :nogreeting parameter
3868 (bug#14938).
3869
1211de50
LMI
3870 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3871
997798bf
LMI
3872 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3873 more natural than popping.
3874
d50fceab 3875 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3876 (shr-urlify): Highlight under mouse.
d50fceab 3877
5c09de04
XF
38782013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3879
207d1d04
XF
3880 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3881
3882 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3883
5c09de04
XF
3884 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3885 buffer for output.
3886
3cd51eaa
XF
3887 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3888 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3889
44e18199 3890 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3891 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3892
3893 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3894
3895 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3896 buffer for output.
3897
35a89bdd
EZ
38982013-07-29 Eli Zaretskii <eliz@gnu.org>
3899
3900 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3901 initial frame is minibuffer-less. (Bug#14841)
3902
78822e94
MA
39032013-07-29 Michael Albinus <michael.albinus@gmx.de>
3904
3905 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3906 option.
3907
3908 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3909 (tramp-maybe-open-connection): Use it.
3910
9503c190
JB
39112013-07-28 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3914 minimal set of parameters passed when creating a frame, because
3915 the minibuffer status of a frame cannot be changed later.
3916
d5a845b4
SB
39172013-07-28 Stephen Berman <stephen.berman@gmx.net>
3918
3919 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3920 replace-regexp-in-string and inadvertent omissions in previous change.
3921 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3922 name of filtered items buffer.
d5a845b4 3923
ddeffb17
JB
39242013-07-28 Juanma Barranquero <lekktu@gmail.com>
3925
3926 * desktop.el: Optionally force offscreen frames back onscreen.
3927 (desktop-restoring-reuses-frames): New option.
3928 (desktop--compute-pos, desktop--move-onscreen): New functions.
3929 (desktop--make-frame): Use desktop--move-onscreen.
3930
f5950f7a
AM
39312013-07-27 Alan Mackenzie <acm@muc.de>
3932
3933 Fontify a Java generic method as a function.
3934 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3935 value to t.
3936
ae43b66a
SB
39372013-07-27 Stephen Berman <stephen.berman@gmx.net>
3938
3939 * calendar/todo-mode.el: Add command to rename todo files.
3940 (todo-rename-file): New command.
3941 (todo-key-bindings-t): Add key binding for it. Change the
3942 bindings of todo-filter-regexp-items(-multifile) to use `x'
3943 instead of `r', since the latter is better suited to the new
3944 renaming command.
3945
5ab78d3d
AM
39462013-07-27 Alan Mackenzie <acm@muc.de>
3947
3948 Make Java try-with-resources statement parse properly.
3949 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3950 (c-block-stmt-1-2-key): New language constants/variables.
3951 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3952 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3953 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3954 with c-block-stmt-1-2-key.
5ab78d3d 3955
d85c4d50
JB
39562013-07-27 Juanma Barranquero <lekktu@gmail.com>
3957
3958 * desktop.el (desktop--make-frame): Apply most frame parameters after
3959 creating the frame to force (partially or totally) offscreen frames to
3960 be restored as such.
3961
e4c467f9
XF
39622013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3963
3964 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3965 (Bug#14948)
e4c467f9 3966
7ced0d04
SM
39672013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3970 `base' arg of backtrace-frame.
3971
fec92060
EZ
39722013-07-26 Eli Zaretskii <eliz@gnu.org>
3973
3974 * simple.el (list-processes): Doc fix.
3975
d58d31fb
JB
39762013-07-26 Juanma Barranquero <lekktu@gmail.com>
3977
3978 * desktop.el (desktop--select-frame):
d85c4d50 3979 Try harder to reuse existing frames.
d58d31fb 3980
53ff3e77
SM
39812013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3982
3983 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3984 (edebug-eval): Use backtrace-eval.
3985 (edebug--display, edebug--recursive-edit): Don't let-bind the
3986 edebug-outer-* vars that keep track of variables we locally let-bind.
3987 (edebug-outside-excursion): Don't restore outside values of locally
3988 let-bound vars.
3989 (edebug--display): Use user-error.
3990 (cl-lexical-debug, cl-debug-env): Remove.
3991
045f7a53
JB
39922013-07-26 Juanma Barranquero <lekktu@gmail.com>
3993
3994 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3995 are restored to be sure that they are visible before deleting any
3996 remaining ones.
3997
59070b32
MM
39982013-07-26 Matthias Meulien <orontee@gmail.com>
3999
742a3501
XF
4000 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4001 vc-print-root-log. (Bug#14948)
59070b32 4002
b1fb3596
RS
40032013-07-26 Richard Stallman <rms@gnu.org>
4004
4005 Add aliases for encrypting mail.
4006 * epa.el (epa-mail-aliases): New option.
4007 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4008 Bind inhibit-read-only so read-only text doesn't ruin everything.
4009 (epa-mail-default-recipients): New subroutine broken out.
4010 Handle epa-mail-aliases.
4011
56ea7291
SM
40122013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 Add support for lexical variables to the debugger's `e' command.
4015 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4016 vars, except for debugger-outer-match-data.
4017 (debugger-frame-number): Move check for "on a function call" from
4018 callers into it. Add `skip-base' argument.
4019 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4020 (debugger-env-macro): Only reset the state stored in non-variables,
4021 i.e. current-buffer and match-data.
4022 (debugger-eval-expression): Rewrite using backtrace-eval.
4023 * subr.el (internal--called-interactively-p--get-frame): Remove.
4024 (called-interactively-p):
4025 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4026 `base' arg of backtrace-frame instead.
4027
15ac32d5
GM
40282013-07-26 Glenn Morris <rgm@gnu.org>
4029
8358a09d
GM
4030 * align.el (align-regexp): Doc fix. (Bug#14857)
4031 (align-region): Explicit error if subexpression missing/does not match.
4032
15ac32d5
GM
4033 * simple.el (global-visual-line-mode):
4034 Do not duplicate the mode lighter. (Bug#14858)
4035
f47ad11b
MR
40362013-07-25 Martin Rudalics <rudalics@gmx.at>
4037
4038 * window.el (display-buffer): In display-buffer bind
4039 split-window-keep-point to t, bug#14829.
4040
02530987
JB
40412013-07-25 Juanma Barranquero <lekktu@gmail.com>
4042
4043 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4044 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4045 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4046 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4047 Change accordingly.
f63ebeb5
JB
4048 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4049 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4050
6ccb9cab 40512013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4052
6ccb9cab 4053 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4054
cb3a56d2
JB
40552013-07-25 Juanma Barranquero <lekktu@gmail.com>
4056
4057 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4058 parameter to modify-frame-parameters if the value has not changed;
4059 this is a workaround for bug#14949.
4060 (desktop--make-frame): On cl-delete-if call, check parameter name,
4061 not full parameter.
4062
7aa7fff0
XF
40632013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4064
4065 * vc/vc.el (vc-ignore): New function.
4066
4067 * vc/vc-svn.el (vc-svn-ignore): New function.
4068
4069 * vc/vc-hg.el (vc-hg-ignore): New function.
4070
4071 * vc/vc-git.el (vc-git-ignore): New function.
4072
4073 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4074 (vc-dir-ignore): New function.
4075
4076 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4077 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4078
4079 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4080
4081 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4082
889acc5c
JB
40832013-07-24 Juanma Barranquero <lekktu@gmail.com>
4084
4085 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4086 (desktop-restore-frames): Warn when deleting an existing frame failed.
4087
86c40970
GM
40882013-07-24 Glenn Morris <rgm@gnu.org>
4089
4090 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4091
d5d3c58a
MA
40922013-07-24 Michael Albinus <michael.albinus@gmx.de>
4093
4094 * filenotify.el (file-notify-supported-p):
4095 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4096 Remove functions.
4097
4098 * autorevert.el (auto-revert-use-notify):
4099 (auto-revert-notify-add-watch):
4100 * net/tramp.el (tramp-file-name-for-operation):
4101 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4102 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4103 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4104 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4105 Remove `file-notify-supported-p' entry.
4106
d100084b
GM
41072013-07-24 Glenn Morris <rgm@gnu.org>
4108
4109 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4110 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4111
ac93e56b
SM
41122013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4113
249eea30
SM
4114 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4115 checked with memq (bug#14935).
4116
ac93e56b
SM
4117 * files.el (revert-buffer-function): Use a non-nil default.
4118 (revert-buffer-preserve-modes): Declare var to
4119 provide access to the `preserve-modes' argument.
4120 (revert-buffer): Let-bind it.
4121 (revert-buffer--default): New function, extracted from revert-buffer.
4122
2cdeb903
SM
41232013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * lpr.el: Signal print errors more prominently.
4126 (print-region-function): Don't default to nil.
4127 (lpr-print-region): New function, extracted from print-region-1.
4128 Check lpr's return value and signal an error in case of problem.
4129 (print-region-1): Use it.
4130 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4131 versions instead.
4132 (ps-printer-name): Default to nil.
4133 (ps-printer-name-option): Default to lpr-printer-switch.
4134 (ps-print-region-function): Don't default to nil.
4135 (ps-postscript-code-directory): Simplify default.
4136 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4137 (ps-string-list, ps-eval-switch, ps-flatten-list)
4138 (ps-flatten-list-1): Remove.
4139 (ps-multibyte-buffer): Avoid setq.
4140 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4141 (print-region-function, ps-print-region-function): Don't set them here.
4142
73600831
XF
41432013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4144
0e55c076
XF
4145 * ido.el (ido-fractionp):
4146 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4147 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4148 (ido-max-directory-size, ido-max-dir-file-cache)
4149 (ido-decorations): Doc fix.
4150
73600831
XF
4151 * ansi-color.el: Fix old URL.
4152
3d012865
MM
41532013-07-23 Michael R. Mauger <michael@mauger.com>
4154
e903c210 4155 * progmodes/sql.el: Version 3.3
3d012865
MM
4156 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4157 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4158 (sql-interactive-remove-continuation-prompt): Rewrite, use
4159 functions above. Fix continuation prompt and complete output line
4160 handling.
4161 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4162 redirected output buffer.
4163 (sql-mode): Restore deleted code (Bug#13591).
4164
da77a2e2
JB
41652013-07-23 Juanma Barranquero <lekktu@gmail.com>
4166
4167 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4168
80ff0c71
MA
41692013-07-23 Michael Albinus <michael.albinus@gmx.de>
4170
4171 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4172
4173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4175 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4176
b61d71e4
JB
41772013-07-23 Juanma Barranquero <lekktu@gmail.com>
4178
4179 * desktop.el (desktop-clear): Simplify; remove useless checks
4180 against invalid buffer names.
4181 (desktop-list*): Use cl-list*.
4182 (desktop-buffer-info, desktop-create-buffer): Simplify.
4183
c3512092
LL
41842013-07-23 Leo Liu <sdl.web@gmail.com>
4185
4186 * bookmark.el (bookmark-make-record): Restore NAME as a default
4187 value. (Bug#14933)
4188
0ac26976
SM
41892013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4190
7d22ce18
SM
4191 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4192 extracted from autoload--insert-text.
4193 (autoload--insert-text): Remove.
4194 (autoload--print-cookie-text): New function, extracted from
4195 autoload--insert-cookie-text.
4196 (autoload--insert-cookie-text): Remove.
4197 (autoload-generate-file-autoloads): Adjust calls accordingly.
4198
9b2607e8
SM
4199 * winner.el (winner-hook-installed-p): Remove.
4200 (winner-mode): Simplify accordingly.
4201
c43a8618
SM
4202 * subr.el (add-to-list): Fix compiler-macro when `append' is
4203 not constant. Don't use `cl-member' for the base case.
4204
0ac26976
SM
4205 * progmodes/subword.el: Fix boundary case (bug#13758).
4206 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4207 own group.
4208 (subword-backward-regexp): Make it a constant.
4209 (subword-forward-internal): Don't treat a trailing capital as the
4210 beginning of a word.
4211
6874724a
AR
42122013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4213
4214 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4215 global value of tabulated-list-revert-hook (bug#14930).
4216
70f1b5e8
JB
42172013-07-22 Juanma Barranquero <lekktu@gmail.com>
4218
a1c80d9d
JB
4219 * desktop.el: Require 'cl-lib.
4220 (desktop-before-saving-frames-functions): New hook.
4221 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4222 for frames being saved. Rename from desktop--save-minibuffer-frames.
4223 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4224 Do not save frames with non-nil `desktop-dont-save' parameter.
4225 Filter out deleted frames.
a1c80d9d
JB
4226 (desktop--find-frame): Use cl-find-if.
4227 (desktop--select-frame): Use cl-(first|second|third) to access values
4228 of desktop-mini.
4229 (desktop--make-frame): Use cl-delete-if.
4230 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4231 (desktop-restore-frames): Use cl-(first|second|third) to access values
4232 of desktop-mini. Look for visible frame at the end, not while
4233 restoring frames.
4234
70f1b5e8
JB
4235 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4236 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4237 Use string-match-p, looking-at-p (bug#14927).
4238
728dc3cc
JB
42392013-07-21 Juanma Barranquero <lekktu@gmail.com>
4240
56bc453c
JB
4241 * desktop.el (desktop-saved-frame-states):
4242 Rename from desktop--saved-states; all users changed.
4243 (desktop-save-frames): Rename from desktop--save-frames.
4244 Do not save state to desktop file.
4245 (desktop-save): Save desktop-saved-frame-states to desktop file
4246 and reset to nil.
4247 (desktop-restoring-frames-p): New function.
4248 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4249 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4250 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4251
728dc3cc
JB
4252 * desktop.el: Correctly restore iconified frames.
4253 (desktop--filter-iconified-position): New function.
4254 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4255
862f1c9c
GM
42562013-07-20 Glenn Morris <rgm@gnu.org>
4257
c4074c9f
GM
4258 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4259 Let `message' do the formatting.
4260 (def-gdb-preempt-display-buffer): Add explicit format.
4261
d828e5f9
GM
4262 * image-dired.el (image-dired-track-original-file):
4263 Use with-current-buffer.
4264 (image-dired-track-thumbnail): Use with-current-buffer.
4265 Avoid changing point of wrong window.
4266
862f1c9c
GM
4267 * image-dired.el (image-dired-track-original-file):
4268 Avoid changing point of wrong window. (Bug#14909)
4269
f0398ec1 42702013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4271
4272 * progmodes/gdb-mi.el (gdb-done-or-error):
4273 Guard against "%" in gdb output. (Bug#14127)
4274
1451928f
AS
42752013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4276
763a086d
JB
4277 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4278 (Bug#14826)
f7a03897 4279
1451928f
AS
4280 * international/mule.el (coding-system-iso-2022-flags): Fix last
4281 change.
4282
99107004
KH
42832013-07-20 Kenichi Handa <handa@gnu.org>
4284
763a086d
JB
4285 * international/mule.el (coding-system-iso-2022-flags):
4286 Add `8-bit-level-4'. (Bug#8522)
99107004 4287
48494e06
LMI
42882013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4289
8ba8eec5
LMI
4290 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4291 (bug#14815).
4292
dfbc66e3
LMI
4293 * net/eww.el (eww-process-text-input): Allow inputting when the
4294 point is at the start of the line, as the properties aren't
4295 front-sticky.
4296
48494e06
LMI
4297 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4298 degenerate widths.
4299
77c92cb9
RS
43002013-07-19 Richard Stallman <rms@gnu.org>
4301
aec7da77
RS
4302 * epa.el (epa-popup-info-window): Doc fix.
4303
77c92cb9
RS
4304 * subr.el (split-string): New arg TRIM.
4305
945c5bb1
JB
43062013-07-18 Juanma Barranquero <lekktu@gmail.com>
4307
4308 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4309 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4310
e06ec67f
MA
43112013-07-18 Michael Albinus <michael.albinus@gmx.de>
4312
c7064f05 4313 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4314 `file-notify-support'. Do not autoload. Adapt all uses.
4315 (file-notify-supported-p): New defun.
4316
c7064f05
JB
4317 * autorevert.el (auto-revert-use-notify):
4318 Use `file-notify-supported-p' instead of `file-notify-support'.
4319 Adapt docstring.
e06ec67f
MA
4320 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4321
4322 * net/tramp.el (tramp-file-name-for-operation):
4323 Add `file-notify-supported-p'.
4324
4325 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4326 New defun.
4327 (tramp-sh-file-name-handler-alist): Add it as handler for
4328 `file-notify-supported-p '.
4329
4330 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4331 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4332 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4333 Add `ignore' as handler for `file-notify-*' functions.
4334
5dc8a629
EZ
43352013-07-17 Eli Zaretskii <eliz@gnu.org>
4336
4337 * simple.el (line-move-partial, line-move): Don't start vscroll or
4338 scroll-up if the current line is not taller than the window.
4339 (Bug#14881)
4340
77aea2fb
DG
43412013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4342
4343 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4344 highlight question marks in the method names as strings.
ac72c08d
DG
4345 (ruby-block-beg-keywords): Inline.
4346 (ruby-font-lock-keyword-beg-re): Extract from
4347 `ruby-font-lock-keywords'.
77aea2fb 4348
18c26d81
JD
43492013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4350
4351 * frame.el (blink-cursor-blinks): New defcustom.
4352 (blink-cursor-blinks-done): New defvar.
4353 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4354 (blink-cursor-timer-function): Check if number of blinks has been
4355 done on X and NS.
4356 (blink-cursor-suspend, blink-cursor-check): New defuns.
4357
da48522e
GM
43582013-07-15 Glenn Morris <rgm@gnu.org>
4359
4360 * edmacro.el (edmacro-format-keys): Fix previous change.
4361
0463c1ef
PE
43622013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4363
4364 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4365 The hack didn't work outside English locales anyway.
4366
b43f6451
JB
43672013-07-15 Juanma Barranquero <lekktu@gmail.com>
4368
4369 * simple.el (define-alternatives): Rename from alternatives-define,
4370 per RMS' suggestion.
4371
b958c0ad
JB
43722013-07-14 Juanma Barranquero <lekktu@gmail.com>
4373
4374 * desktop.el (desktop-restore-frames): Change default to t.
4375 (desktop-restore-in-current-display): Now offer more options.
4376 (desktop-restoring-reuses-frames): New customization option.
4377 (desktop--saved-states): Doc fix.
4378 (desktop-filter-parameters-alist): New variable, renamed and expanded
4379 from desktop--excluded-frame-parameters.
4380 (desktop--target-display): New variable.
4381 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4382 (desktop--filter-tty*, desktop--filter-*-color)
4383 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4384 (desktop--filter-save-desktop-parm)
4385 (desktop-restore-in-original-display-p): New functions.
4386 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4387 (desktop--save-minibuffer-frames): New function, inspired by a similar
4388 function from Martin Rudalics.
4389 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4390 (desktop--restore-in-this-display-p): Remove.
4391 (desktop--find-frame): Rename from desktop--find-frame-in-display
4392 and add predicate argument.
4393 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4394 (desktop--reuse-list): New variable.
4395 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4396 New functions.
4397 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4398
f6dd8b36
MA
43992013-07-14 Michael Albinus <michael.albinus@gmx.de>
4400
4401 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4402
2ce3c565
DG
44032013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4404
763a086d
JB
4405 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4406 Highlight conversion methods on Kernel.
2ce3c565 4407
2cdb7698
AM
44082013-07-13 Alan Mackenzie <acm@muc.de>
4409
4410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4411 and comment it out. This out-commenting enables certain C++
4412 declarations to be parsed correctly.
4413
1a67b811
EZ
44142013-07-13 Eli Zaretskii <eliz@gnu.org>
4415
1b796d6b
EZ
4416 * international/mule.el (define-coding-system): Doc fix.
4417
1a67b811
EZ
4418 * simple.el (default-font-height): Don't call font-info if the
4419 frame's default font didn't change since the frame was created.
4420 (Bug#14838)
4421
58fbe886
LL
44222013-07-13 Leo Liu <sdl.web@gmail.com>
4423
4424 * ido.el (ido-read-file-name): Guard against non-symbol value.
4425
1f0480d4
FEG
44262013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4427
4428 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4429 in nested defuns.
4430
97ead0e5
LL
44312013-07-13 Leo Liu <sdl.web@gmail.com>
4432
4433 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4434 ido-set-matches call. (Bug#6852)
4435
0880a952
DG
44362013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4437
4438 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4439 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4440 Ruby 2.0.
4441 (ruby-font-lock-keywords): Distinguish calls to functions with
4442 module-like names from module references. Highlight character
4443 literals.
4444
a7d8babb
SDJ
44452013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4446
4447 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4448 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4449
acfcc8c5
JB
44502013-07-12 Juanma Barranquero <lekktu@gmail.com>
4451
4452 * desktop.el (desktop--v2s): Remove unused local variable.
4453 (desktop-save-buffer): Make defvar-local; adjust docstring.
4454 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4455 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4456
051f2775
AS
44572013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4458
4459 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4460
f24e7572
GM
44612013-07-12 Eli Zaretskii <eliz@gnu.org>
4462
4463 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4464 (Bug#14842)
4465
539a920c
GM
44662013-07-12 Glenn Morris <rgm@gnu.org>
4467
4468 * doc-view.el: Require cl-lib at runtime too.
4469 (doc-view-remove-if): Remove.
4470 (doc-view-search-next-match, doc-view-search-previous-match):
4471 Use cl-remove-if.
4472
4473 * edmacro.el: Require cl-lib at runtime too.
4474 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4475 (edmacro-mismatch, edmacro-subseq): Remove.
4476
4477 * shadowfile.el: Require cl-lib.
4478 (shadow-remove-if): Remove.
4479 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4480 Use cl-remove-if.
4481
4482 * wid-edit.el: Require cl-lib.
4483 (widget-choose): Use cl-remove-if.
4484 (widget-remove-if): Remove.
4485
4486 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4487 (ebrowse-delete-if-not): Remove.
4488 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4489 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4490 Use cl-delete-if-not.
4491
1048af7c
JB
44922013-07-12 Juanma Barranquero <lekktu@gmail.com>
4493
4494 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4495 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4496
6c0674ee
LL
44972013-07-12 Leo Liu <sdl.web@gmail.com>
4498
4499 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4500
a19b3c2d
GM
45012013-07-11 Glenn Morris <rgm@gnu.org>
4502
4582a01c
GM
4503 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4504 (edebug-gensym-index, edebug-gensym):
4505 Remove reimplementation of cl-gensym.
4506 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4507
4508 * thumbs.el: Require cl-lib at run-time too.
4509 (thumbs-gensym-counter, thumbs-gensym):
4510 Remove reimplementation of cl-gensym.
4511 (thumbs-temp-file): Use cl-gensym.
4512
a19b3c2d
GM
4513 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4514 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4515 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4516 (ert--union, ert--gensym-counter, ert--gensym-counter)
4517 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4518 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4519 (ert-make-test-unbound, ert--expand-should-1)
4520 (ert--expand-should, ert--should-error-handle-error)
4521 (should-error, ert--explain-equal-rec)
4522 (ert--plist-difference-explanation, ert-select-tests)
4523 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4524 Use cl-lib functions rather than reimplementations.
4525
88f6a933
MA
45262013-07-11 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * net/tramp.el (tramp-methods): Extend docstring.
4529 (tramp-connection-timeout): New defcustom.
4530 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4531 (with-tramp-progress-reporter): Simplify.
4532 (tramp-process-actions): Improve messages.
4533
4534 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4535 * net/tramp-sh.el (tramp-maybe-open-connection):
4536 Use `tramp-connection-timeout'.
4537 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4538 (Bug#14808)
4539
a43d577e
LL
45402013-07-11 Leo Liu <sdl.web@gmail.com>
4541
4542 * ido.el (ido-read-file-name): Conform to the requirements of
4543 read-file-name. (Bug#11861)
4544 (ido-read-directory-name): Conform to the requirements of
4545 read-directory-name.
4546
d77974bf
JB
45472013-07-11 Juanma Barranquero <lekktu@gmail.com>
4548
4549 * subr.el (delay-warning): New function.
4550
35cb8a3e
EZ
45512013-07-10 Eli Zaretskii <eliz@gnu.org>
4552
4553 * simple.el (default-line-height): New function.
4554 (line-move-partial, line-move): Use it instead of computing the
4555 line height inline.
4556 (line-move-partial): Always compute ROWH. If the last line is
4557 partially-visible, but its text is completely visible, allow
4558 cursor to enter such a partially-visible line.
4559
525c5c77
MA
45602013-07-10 Michael Albinus <michael.albinus@gmx.de>
4561
4562 Improve error messages. (Bug#14808)
4563
4564 * net/tramp.el (tramp-current-connection): New defvar, moved from
4565 tramp-sh.el.
0ac26976 4566 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4567 needed anymore.
0ac26976
SM
4568 (tramp-error-with-buffer): Show message in minibuffer.
4569 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4570 (with-tramp-progress-reporter): Improve messages.
4571 (tramp-process-actions): Use progress reporter. Delete process in
4572 case of error. Improve messages.
4573
763a086d
JB
4574 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4575 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4576 (tramp-current-connection): Remove.
525c5c77
MA
4577 (tramp-maybe-open-connection): The car of
4578 `tramp-current-connection' are the first 3 slots of the vector.
4579
c7a4d368
TZ
45802013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4581
4582 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4583 inside continued strings.
4584
954b166e
PE
45852013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4586
4587 Timestamp fixes for undo (Bug#14824).
4588 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4589
56973319
LL
45902013-07-10 Leo Liu <sdl.web@gmail.com>
4591
4592 * files.el (require-final-newline): Allow safe local value.
4593 (Bug#14834)
4594
5550a72c
LL
45952013-07-09 Leo Liu <sdl.web@gmail.com>
4596
4597 * ido.el (ido-read-directory-name): Handle fallback.
4598 (ido-read-file-name): Update DIR to ido-current-directory.
4599 (Bug#1516)
c28b9050 4600 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4601
70c46b28
DG
46022013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4603
4604 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4605 "autoload". Remove "warn lower camel case" section, previously
4606 commented out. Highlight negation char. Do not highlight the
4607 target in singleton method definitions.
4608
0b64b838
SM
46092013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4610
7fd72e2c
SM
4611 * faces.el (tty-setup-hook): Declare the hook.
4612
0b64b838
SM
4613 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4614 and detect when a guard/pred depends on local vars (bug#14773).
4615 (pcase--u1): Adjust caller.
4616
ab49d60b
EZ
46172013-07-08 Eli Zaretskii <eliz@gnu.org>
4618
4619 * simple.el (line-move-partial, line-move): Account for
4620 line-spacing.
701d79aa
EZ
4621 (line-move-partial): Avoid setting vscroll when the last
4622 partially-visible line in window is of default height.
ab49d60b 4623
2d756ae0
LMI
46242013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4625
4626 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4627 been used a while.
4628
ed095bd7
JB
46292013-07-07 Juanma Barranquero <lekktu@gmail.com>
4630
4631 * subr.el (read-quoted-char): Remove unused local variable `char'.
4632
f1e6674b
MK
46332013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4634
584ee3fc
GM
4635 * ediff.el (ediff-version): Version update.
4636 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4637 (ediff-merge-with-ancestor-command, ediff-directories-command)
4638 (ediff-directories3-command, ediff-merge-directories-command)
4639 (ediff-merge-directories-with-ancestor-command): New functions.
4640 All are command-line interfaces to ediff: to facilitate calling
4641 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4642
4643 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4644 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4645
584ee3fc
GM
4646 * viper.el (viper-version): Version update.
4647 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4648
584ee3fc
GM
46492013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4652 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4653 (viper-intercept-ESC-key): Simplify.
4654 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4655 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4656 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4657 (viper-setup-ESC-to-escape): New functions.
4658 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4659 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4660
9aff9b38
EZ
46612013-07-07 Eli Zaretskii <eliz@gnu.org>
4662
5165d44a
JB
4663 * simple.el (default-font-height, window-screen-lines):
4664 New functions.
9aff9b38
EZ
4665 (line-move, line-move-partial): Use them instead of
4666 frame-char-height and window-text-height. This makes scrolling
4667 text smoother when the buffer's default face uses a font that is
4668 different from the frame's default font.
4669
1afb1d07
JD
46702013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4671
4672 * files.el (write-file): Do not display confirm dialog for NS,
4673 it does its own dialog, which can't be cancelled (Bug#14578).
4674
23de972a
EZ
46752013-07-06 Eli Zaretskii <eliz@gnu.org>
4676
4677 * simple.el (line-move-partial): Adjust the row returned by
4678 posn-at-point for the current window-vscroll. (Bug#14567)
4679
54a42486
MA
46802013-07-06 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4683 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4684 spaces.
4685
34ada5f4
MR
46862013-07-06 Martin Rudalics <rudalics@gmx.at>
4687
4688 * window.el (window-state-put-stale-windows): New variable.
4689 (window--state-put-2): Save list of windows without matching buffer.
4690 (window-state-put): Remove "bufferless" windows if possible.
4691
11e03d89
JB
46922013-07-06 Juanma Barranquero <lekktu@gmail.com>
4693
4694 * simple.el (alternatives-define): Remove leftover :group keyword.
4695 Tweak docstring.
4696
3504a4be
LL
46972013-07-06 Leo Liu <sdl.web@gmail.com>
4698
4699 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4700 (ido-enable-virtual-buffers): New variable.
4701 (ido-buffer-internal, ido-toggle-virtual-buffers)
4702 (ido-make-buffer-list): Use it.
4703 (ido-exhibit): Support turning on and off virtual buffers
4704 automatically.
4705
61e56e2c
JB
47062013-07-06 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * simple.el (alternatives-define): New macro.
4709
321e1a9c
SM
47102013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * subr.el (read-quoted-char): Use read-key.
4713 (sit-for): Let read-event decode tty input (bug#14782).
4714
d610f6dd
SB
47152013-07-05 Stephen Berman <stephen.berman@gmx.net>
4716
4717 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4718 mode command and externally. Fix various related bugs.
4719 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4720 (todo-delete-file): New command.
4721 (todo-check-file): New function.
4722 (todo-show): Handle external deletion of the file we're trying to
4723 show (bug#14688). Replace called-interactively-p by an optional
4724 prefix argument to avoid problematic interaction with catch form
4725 when byte compiled (bug#14702).
4726 (todo-quit): Handle external deletion of the archive's todo file.
4727 Make sure the buffer that was visiting the archive file is still
4728 live before trying to bury it.
4729 (todo-category-completions): Handle external deletion of any
4730 category completion files.
4731 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4732 of todo files, in case of external deletion.
4733 (todo-add-file): Replace unnecessary setq by let-binding.
4734 (todo-find-archive): Check whether there are any archives.
4735 Replace unnecessary setq by let-binding.
4736 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4737 archive buffer whether or not the archive already exists.
4738 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4739 check if the archive is new; if it is, update list of archives.
4740 (todo-default-todo-file): Allow nil to be a valid value for when
4741 there are no todo files.
4742 (todo-reevaluate-default-file-defcustom): Use corrected definition
4743 of todo-default-todo-file.
4744 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4745 (todo-delete-category, todo-show-categories-table)
4746 (todo-category-number): Clarify comment.
4747 (todo-filter-items): Clarify documentation string.
4748 (todo-show-current-file, todo-display-as-todo-file)
4749 (todo-reset-and-enable-done-separator): Tweak documentation string.
4750 (todo-done-separator): Make separator length window-width, since
4751 bug#2749 is now fixed.
4752
ddbdfd6f
MA
47532013-07-05 Michael Albinus <michael.albinus@gmx.de>
4754
321e1a9c
SM
4755 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4756 Support both "gvfs-monitor-dir" and "inotifywait".
4757 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4758 `tramp-sh-file-notify-process-filter'.
4759 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4760 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4761
96eb829a
LL
47622013-07-05 Leo Liu <sdl.web@gmail.com>
4763
4764 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4765
cf13177e
YM
47662013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4767
4768 * frame.el (display-pixel-height, display-pixel-width)
4769 (display-mm-height, display-mm-width): Mention behavior on
4770 multi-monitor setups in docstrings.
4771 (w32-display-monitor-attributes-list): Declare function.
4772 (display-monitor-attributes-list): Use it.
4773
864c58ca
MA
47742013-07-04 Michael Albinus <michael.albinus@gmx.de>
4775
4776 * filenotify.el: New package.
4777
4778 * autorevert.el (top): Require filenotify.el.
4779 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4780 instead.
4781 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4782 (auto-revert-notify-handler): Use `file-notify-*' functions.
4783
4784 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4785
321e1a9c
SM
4786 * net/tramp.el (tramp-file-name-for-operation):
4787 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4788
4789 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4790 for `file-notify-add-watch' and `file-notify-rm-watch'.
4791 (tramp-process-sentinel): Improve trace.
4792 (tramp-sh-handle-file-notify-add-watch)
4793 (tramp-sh-file-notify-process-filter)
4794 (tramp-sh-handle-file-notify-rm-watch)
4795 (tramp-get-remote-inotifywait): New defuns.
4796
96673afe
JL
47972013-07-03 Juri Linkov <juri@jurta.org>
4798
4799 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4800 call of `occur-read-primary-args' to interactive spec.
4801
4802 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4803 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4804
924494f4
MM
48052013-07-03 Matthias Meulien <orontee@gmail.com>
4806
4807 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4808 `Buffer-menu-multi-occur'. Add it to the menu.
4809 (Buffer-menu-mode): Document it in docstring.
4810 (Buffer-menu-multi-occur): New command. (Bug#14673)
4811
56f75efc
DG
48122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4813
4814 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4815 keywords and built-ins.
4816
9b057d61
GM
48172013-07-03 Glenn Morris <rgm@gnu.org>
4818
208dee4d
GM
4819 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4820
9b057d61
GM
4821 Make info-xref checks case-sensitive by default
4822 * info.el (Info-find-node, Info-find-in-tag-table)
4823 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4824 Add option for exact case matching of nodes.
4825 * info-xref.el (info-xref): New custom group.
4826 (info-xref-case-fold): New option.
4827 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4828
e01aa29c
LL
48292013-07-03 Leo Liu <sdl.web@gmail.com>
4830
4831 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4832
3086ca2e
DG
48332013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4834
4835 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4836 middle of block statement initially, lower the depth. Remove
4837 FIXME comment, not longer valid. Remove middle of block statement
4838 detection, no need to do that anymore since we've been using
4839 `ruby-parse-region' here.
4840
a3b49114
JD
48412013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4842
4843 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4844
08e5c823 48452013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4846
4847 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4848
2addf922
JB
48492013-07-01 Juanma Barranquero <lekktu@gmail.com>
4850
4851 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4852 (desktop-restore-in-current-display): New customization option.
4853 (desktop--excluded-frame-parameters): Add `font'.
4854 (desktop--save-frames): Rename from desktop--save-windows.
4855 (desktop--restore-in-this-display-p): New function.
4856 (desktop--make-full-frame): Remove unwanted width/height from
4857 full(width|height) frames.
4858 (desktop--restore-frames): Rename from desktop--restore-windows.
4859 Obey desktop-restore-current-display. Do not delete old frames or
4860 select a new frame unless we were able to restore at least one frame.
4861
ef099a94
MN
48622013-06-30 Michal Nazarewicz <mina86@mina86.com>
4863
4864 * files.el (find-file-noselect): Simplify conditional expression.
4865
4866 * remember.el (remember-append-to-file):
4867 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4868
4869 Add `remember-notes' function to store random notes across Emacs
4870 restarts.
4871 * remember.el (remember-data-file): Add :set callback to affect
4872 notes buffer (if any).
4873 (remember-notes): New command.
4874 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4875 New defcustoms for the `remember-notes' function.
4876 (remember-notes-save-and-bury-buffer): New command.
4877 (remember-notes-mode-map): New variable.
4878 (remember-mode): New minor mode.
4879 (remember-notes--kill-buffer-query): New function.
4880 * startup.el (initial-buffer-choice): Add notes to custom type.
4881
0865d506
EZ
48822013-06-30 Eli Zaretskii <eliz@gnu.org>
4883
0ba54312
EZ
4884 * bindings.el (right-char, left-char): Don't call sit-for, this is
4885 no longer needed. Use arithmetic comparison only for numerical
4886 arguments.
4887
ef099a94
MN
4888 * international/mule-cmds.el (select-safe-coding-system):
4889 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4890
2fae38e5
LMI
48912013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4892
4893 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4894 progression on degenerate tables.
ef099a94 4895 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4896
a47cbd64
JB
48972013-06-30 Juanma Barranquero <lekktu@gmail.com>
4898
4899 Some fixes and improvements for desktop frame restoration.
4900 It is still experimental and disabled by default.
4901 * desktop.el (desktop--save-windows): Put the selected frame at
4902 the head of the list.
4903 (desktop--make-full-frame): New function.
4904 (desktop--restore-windows): Try to re-select the frame that was
4905 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4906 just show an error message and continue. Set up maximized frames
4907 so they have default non-maximized dimensions.
a47cbd64 4908
6dbafa30
DG
49092013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4910
ef099a94
MN
4911 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4912 Don't start heredoc inside a string or comment.
6dbafa30 4913
4c672a0f
EZ
49142013-06-29 Eli Zaretskii <eliz@gnu.org>
4915
4916 * bindings.el (visual-order-cursor-movement): New defcustom.
4917 (right-char, left-char): Provide visual-order cursor motion by
4918 calling move-point-visually. Update the doc strings.
4919
50960f36
KH
49202013-06-28 Kenichi Handa <handa@gnu.org>
4921
4922 * international/mule.el (define-coding-system): New coding system
4923 properties :inhibit-null-byte-detection,
4924 :inhibit-iso-escape-detection, and :prefer-utf-8.
4925 (set-buffer-file-coding-system): If :charset-list property of
4926 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4927 appropriate for setting.
4928
c1ea3abf
JB
4929 * international/mule-cmds.el (select-safe-coding-system):
4930 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4931 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4932
4933 * international/mule-conf.el (prefer-utf-8): New coding system.
4934 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4935 files.
4936
75dbaf9d
IK
49372013-06-28 Ivan Kanis <ivan@kanis.fr>
4938
eadb6068
IK
4939 * net/shr.el (shr-render-region): New function.
4940
75dbaf9d
IK
4941 * net/eww.el: Autoload `eww-browse-url'.
4942
9ea5cf9f
DG
49432013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4944
c1ea3abf
JB
4945 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4946 Adapt to `package-desc-version' being a list.
4947 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4948 archive element.
4949
39c0e36f
JB
49502013-06-27 Juanma Barranquero <lekktu@gmail.com>
4951
4952 New experimental feature to save&restore window and frame setup.
4953 * desktop.el (desktop-save-windows): New defcustom.
4954 (desktop--saved-states): New var.
4955 (desktop--excluded-frame-parameters): New defconst.
4956 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4957 (desktop--restore-windows, desktop--save-windows): New functions.
4958 (desktop-save): Call `desktop--save-windows'.
4959 (desktop-read): Call `desktop--restore-windows'.
4960
7f13406b
LMI
49612013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4962
ef099a94 4963 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4964
1e072639
SB
49652013-06-27 Stephen Berman <stephen.berman@gmx.net>
4966
4967 * info.el (Info-try-follow-nearest-node): Move search for footnote
4968 above search for node name to prevent missing a footnote (bug#14717).
4969
f3e2cbde
SB
49702013-06-27 Stephen Berman <stephen.berman@gmx.net>
4971
4972 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4973
99906aa0
LL
49742013-06-27 Leo Liu <sdl.web@gmail.com>
4975
4976 * net/eww.el (eww-read-bookmarks): Check file size.
4977
539f75f4
SM
49782013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4981 advice--pending if newdef is nil or an autoload (bug#13820).
4982 (advice-mapc): New function.
4983
843571cb
LMI
49842013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4985
4986 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4987 probably.
23a75d7f 4988 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4989 (eww-add-bookmark): New command.
4990 (eww-bookmark-mode): New mode and commands.
a285ce99 4991 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4992 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4993
f2136e1e
GM
49942013-06-26 Glenn Morris <rgm@gnu.org>
4995
eab35f39
GM
4996 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4997 (hfy-size): Handle ttys. (Bug#14668)
4998
f2136e1e
GM
4999 * info-xref.el: Update for Texinfo 5 change in *note format.
5000 (info-xref-node-re, info-xref-note-re): New constants.
5001 (info-xref-check-buffer): Use info-xref-note-re.
5002
a49ff80c
SM
50032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5004
a343d218
SM
5005 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5006
a49ff80c
SM
5007 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5008 nil terminate the loop (bug#14718).
5009
8308f184
LMI
50102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5011
5012 * net/eww.el: Rework history traversal. When going forward/back,
5013 put these actions into the history, too, so that they can be
5014 replayed.
26bf2b82 5015 (eww-render): Move the history reset to the correct buffer.
8308f184 5016
ec64c273
JL
50172013-06-25 Juri Linkov <juri@jurta.org>
5018
5019 * files-x.el (modify-dir-local-variable): Change the header comment
5020 in the file with directory local variables. (Bug#14692)
5021
e080a9d7
JL
5022 * files-x.el (read-file-local-variable-value): Add `default'.
5023 (Bug#14710)
5024
bfbc93a1
IK
50252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5026
5027 * net/eww.el (eww-make-unique-file-name): Create a unique file
5028 name before saving to entering `y' accidentally asynchronously.
5029
50302013-06-25 Ivan Kanis <ivan@kanis.fr>
5031
5032 * net/eww.el (eww-download): New command and keystroke.
5033
16f74f10
LMI
50342013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5035
a49ff80c 5036 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5037
5038 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5039 be more consistent with Info and dired.
5040
5041 * net/eww.el (eww-mode-map): Ditto.
5042
12059709
SM
50432013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5046 packages from archives.
5047 (package-archive-contents): Change format; include obsolete packages.
5048 (package-desc): Use `dir' to mark builtin packages.
5049 (package--from-builtin): Set the `dir' field to `builtin'.
5050 (generated-autoload-file, version-control): Declare.
5051 (package-compute-transaction): Change first arg and return value to be
5052 lists of package-descs. Adjust to new package-archive-contents format.
5053 (package--add-to-archive-contents): Adjust to new
5054 package-archive-contents format.
5055 (package-download-transaction): Arg is now a list of package-descs.
5056 (package-install): If `pkg' is a package name, pass it as
5057 a requirement, so it is subject to the usual (e.g. disabled) checks.
5058 (describe-package): Accept package-desc as well.
5059 (describe-package-1): Describe a specific package-desc. Add links to
5060 other package-descs for the same package name.
5061 (package-menu-describe-package): Pass the actual package-desc.
5062 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5063 works correctly.
5064 (package-desc-status): New function.
5065 (package-menu--refresh): New function, extracted
5066 from package-menu--generate.
5067 (package-menu--generate): Use it.
5068 (package-delete): Update package-alist.
5069 (package-menu-execute): Don't call package-initialize.
5070
5071 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5072 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5073 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5074 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5075 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5076 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5077
8bbdea0f
MR
50782013-06-25 Martin Rudalics <rudalics@gmx.at>
5079
5080 * window.el (window--state-get-1): Workaround for bug#14527.
5081 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5082
e82b0991
LMI
50832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5084
5085 * net/eww.el (eww-back-url): Implement the history by stashing all
5086 the data into a list.
d3f0f918 5087 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5088
c763842b
SM
50892013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5092 for values and use read--expression for expressions (bug#14710).
5093 (read-file-local-variable): Avoid setq.
5094 (read-file-local-variable-mode): Use minor-mode-list.
5095
bceff189
RW
50962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5097
864c58ca 5098 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5099 for DOI URLs.
5100
45f431c6
RW
51012013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5102
864c58ca 5103 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5104 Update imenu-support when dialect changes.
5105
f42d8237
LL
51062013-06-25 Leo Liu <sdl.web@gmail.com>
5107
5108 * ido.el (ido-read-internal): Allow forward slash on windows.
5109
be549ce6
LMI
51102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5111
5112 * net/eww.el (eww): Start of strings is \\`, not ^.
5113
71d4c19d
IK
51142013-06-24 Ivan Kanis <ivan@kanis.fr>
5115
5196f88a
IK
5116 * net/shr.el (shr-browse-url): Fix interactive spec.
5117
71d4c19d
IK
5118 * net/eww.el (eww): Add a trailing slash to domain names.
5119
ae36ca55
JB
51202013-06-24 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5123
0ebd92a3
LMI
51242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5125
bdaa086b
LMI
5126 * net/shr.el (shr-browse-url): Use an external browser if given a
5127 prefix.
5128
c763842b 5129 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5130
b89fc156
IK
51312013-06-24 Ivan Kanis <ivan@kanis.fr>
5132
5133 * net/eww.el (eww): Work more correctly for file: URLs.
5134 (eww-detect-charset): Allow quoted charsets.
5135 (eww-yank-page-url): New command and keystroke.
5136
18eb4bca
DU
51372013-06-24 Daiki Ueno <ueno@gnu.org>
5138
5139 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5140 file name of gpg executable.
5141 (epg-context-program): New function.
5142 (epg-context-home-directory): New function.
5143 (epg-context-set-program): New function.
5144 (epg-context-set-home-directory): New function.
5145 (epg--start): Use `epg-context-program' instead of
5146 'epg-gpg-program'.
5147 (epg--list-keys-1): Likewise.
5148
6c6268c8
LL
51492013-06-24 Leo Liu <sdl.web@gmail.com>
5150
5151 * ido.el (ido-read-internal): Fix bug#14620.
5152
5e400cb3
JB
51532013-06-23 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * faces.el (face-documentation): Simplify.
5156 (read-face-attribute, tty-find-type, x-resolve-font-name):
5157 Use `string-match-p'.
5158 (list-faces-display): Use `string-match-p'. Simplify.
5159 (face-spec-recalc): Check face to avoid face alias loops.
5160 (read-color): Use `string-match-p' and non-capturing parenthesis.
5161
f3f9606c
LMI
51622013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5163
5164 * net/shr.el (shr-rescale-image): Use the new
5165 :max-width/:max-height functionality.
5166
a3ca09b9
IK
51672013-06-23 Ivan Kanis <ivan@kanis.fr>
5168
5169 * net/eww.el (eww-search-prefix): New variable.
5170 (eww): Use it.
f865b474
IK
5171 (eww-external-browser): New variable.
5172 (eww-mode-map): New keystroke.
5173 (eww-browse-with-external-browser): New command.
a3ca09b9 5174
e854cfc7
IK
5175 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5176
18bb9e21
JB
51772013-06-23 Juanma Barranquero <lekktu@gmail.com>
5178
5179 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5180 Don't skip aligning the next header field when padding is 0;
5181 otherwise, field width is not respected unless the title is as
5182 wide as the field.
5183
5b165ade
SM
51842013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/package.el (package-el-version): Remove.
5187 (package-process-define-package): Fix inf-loop.
5188 (package-install): Allow symbols as arguments again.
5189
12adebe9
DG
51902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5191
5192 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5193 add some more keyword-like methods.
5194 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5195
388573ee
JB
51962013-06-22 Juanma Barranquero <lekktu@gmail.com>
5197
5198 * bs.el (bs-buffer-show-mark): Make defvar-local.
5199 (bs-mode): Use setq-local.
5200
5201 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5202 (emacs-lock--try-unlocking): Make defvar-local.
5203
4582a01c 52042013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5205
2663dd23
GM
5206 * play/cookie1.el (cookie-apropos): Minor simplification.
5207
3d94f3ad
GM
5208 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5209
f72e2fdb
DG
52102013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5211
5212 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5213 `regexp-opt', it breaks the build during dumping.
5214
73eab938
DG
52152013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5216
c763842b
SM
5217 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5218 Highlight keyword-like methods on Kernel and Module with
73eab938 5219 font-lock-builtin-face.
5cf8176d
DG
5220 (auto-mode-alist): Consolidate different entries into one regexp
5221 and add more *file-s.
73eab938 5222
d26255f6
SB
52232013-06-21 Stephen Berman <stephen.berman@gmx.net>
5224
5225 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5226
5227 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5228 (diary-entry): Use it in the action of this button type instead of
5229 diary-goto-entry.
5230
5231 * calendar/todo-mode.el: New version.
5232 (todo-add-category): Append new category to end of file and give
5233 it the highest number, instead of putting it at the beginning and
5234 giving it 0. Incorporate noninteractive functionality.
5235 (todo-forward-category): Adapt to 1-based category numbering.
5236 Allow skipping over archived categories.
5237 (todo-backward-category): Derive from todo-forward-category.
5238 (todo-backward-item, todo-forward-item): Make noninteractive and
5239 delegate interactive part to new commands. Make sensitive to done items.
5240 (todo-categories): Make value an alist of category names and
5241 vectors of item counts.
5242 (todo-category-beg): Make a defconst.
5243 (todo-category-number): Use 1 instead of 0 as initial value.
5244 (todo-category-select): Make sensitive to overlays, optional item
5245 highlighting and done items.
5246 (todo-delete-item): Make sensitive to overlays and marked and done items.
5247 (todo-edit-item): Make sensitive to overlays and editing of
5248 date/time header optional. Add format checks.
5249 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5250 no-op if point is not on an item. Advertise using todo-edit-quit.
5251 (todo-edit-mode): Make sensitive to new format, font-locking, and
5252 multiple todo files.
5253 (todo-insert-item, todo-insert-item-here): Derive from
5254 todo-basic-insert-item and extend functionality.
5255 (todo-item-end, todo-item-start): Make sensitive to done items.
5256 (todo-item-string): Don't return text properties. Restore point.
5257 (todo-jump-to-category): Make sensitive to multiple todo files and
5258 todo archives. Use extended category completion.
5259 (todo-lower-item, todo-raise-item): Rename to *-priority and
5260 derive from todo-set-item-priority.
5261 (todo-mode): Derive from special-mode. Make sensitive to new
5262 format, font-locking and multiple todo files. Make read-only.
5263 (todo-mode-map): Don't suppress digit keys, so they can supply
5264 prefix arguments. Add many new key bindings.
5265 (todo-prefix): Insert as an overlay instead of file text.
5266 Change semantics from diary date expression to purely visual mark.
5267 (todo-print): Rename to todo-print-buffer. Make buffer display
5268 features printable. Remove option to restrict number of items
5269 printed. Add option to print to file.
5270 (todo-print-function): Rename to todo-print-buffer-function.
5271 (todo-quit): Extend to handle exiting new todo modes.
5272 (todo-remove-item): Make sensitive to overlays.
5273 (todo-save): Extend to buffers of filtered items.
5274 (todo-show): Make sensitive to done items, multiple todo files and
5275 new todo modes. Offer to convert legacy todo file before creating
5276 first new todo file.
5277 (todo-show-priorities): Rename to todo-top-priorities.
5278 Change semantics of value 0.
5279 (todo-top-priorities): Rename to todo-filter-top-priorities,
5280 derive from todo-filter-items and extend functionality.
5281 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5282 and extend functionality to other types of filtered items.
5283 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5284 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5285 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5286 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5287 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5288 (todo-edit-mode-hook, todo-entry-prefix-function)
5289 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5290 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5291 (todo-initials, todo-insert-threshold, todo-item-string-start)
5292 (todo-line-string, todo-menu, todo-mode-hook)
5293 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5294 (todo-print-priorities, todo-remove-separator)
5295 (todo-save-top-priorities-too, todo-string-count-lines)
5296 (todo-string-multiline-p, todo-time-string-format)
5297 (todo-tmp-buffer-name): Remove.
5298 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5299 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5300 (todo-edit-category-diary-inclusion)
5301 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5302 (todo-edit-file, todo-edit-item-date-day)
5303 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5304 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5305 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5306 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5307 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5308 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5309 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5310 (todo-filter-top-priorities-multifile, todo-find-archive)
5311 (todo-find-filtered-items-file, todo-go-to-source-item)
5312 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5313 (todo-jump-to-archive-category, todo-lower-category)
5314 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5315 (todo-move-category, todo-move-item, todo-next-button)
5316 (todo-next-item, todo-padded-string, todo-powerset)
5317 (todo-previous-button, todo-previous-item)
5318 (todo-print-buffer-to-file, todo-raise-category)
5319 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5320 (todo-set-category-number, todo-set-item-priority)
5321 (todo-set-top-priorities-in-category)
5322 (todo-set-top-priorities-in-file, todo-show-categories-table)
5323 (todo-sort-categories-alphabetically-or-numerically)
5324 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5325 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5326 (todo-toggle-item-header, todo-toggle-item-highlighting)
5327 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5328 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5329 (todo-unarchive-items, todo-unmark-category): New commands.
5330 (todo-absolute-file-name, todo-add-to-buffer-list)
5331 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5332 (todo-basic-insert-item, todo-category-completions)
5333 (todo-category-number, todo-category-string-matcher-1)
5334 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5335 (todo-check-format, todo-clear-matches)
5336 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5337 (todo-current-category, todo-date-string-matcher)
5338 (todo-define-insertion-command, todo-diary-expired-matcher)
5339 (todo-diary-goto-entry, todo-diary-item-p)
5340 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5341 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5342 (todo-done-item-section-p, todo-done-separator)
5343 (todo-done-string-matcher, todo-files, todo-filter-items)
5344 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5345 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5346 (todo-insert-category-line, todo-insert-item-from-calendar)
5347 (todo-insert-sort-button, todo-insert-with-overlays)
5348 (todo-insertion-command-name, todo-insertion-key-bindings)
5349 (todo-label-to-key, todo-longest-category-name-length)
5350 (todo-make-categories-list, todo-mode-external-set)
5351 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5352 (todo-modes-set-3, todo-multiple-filter-files)
5353 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5354 (todo-read-category, todo-read-date, todo-read-dayname)
5355 (todo-read-file-name, todo-read-time)
5356 (todo-reevaluate-category-completions-files-defcustom)
5357 (todo-reevaluate-default-file-defcustom)
5358 (todo-reevaluate-filelist-defcustoms)
5359 (todo-reevaluate-filter-files-defcustom)
5360 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5361 (todo-reset-done-separator, todo-reset-done-separator-string)
5362 (todo-reset-done-string, todo-reset-global-current-todo-file)
5363 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5364 (todo-reset-prefix, todo-set-categories)
5365 (todo-set-date-from-calendar, todo-set-show-current-file)
5366 (todo-set-top-priorities, todo-short-file-name)
5367 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5368 (todo-total-item-counts, todo-update-buffer-list)
5369 (todo-update-categories-display, todo-update-categories-sexp)
5370 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5371 New functions.
5372 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5373 New major modes.
5374 (todo-categories, todo-display, todo-edit, todo-faces)
5375 (todo-filtered): New defgroups.
5376 (todo-archived-only, todo-button, todo-category-string, todo-date)
5377 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5378 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5379 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5380 (todo-add-item-if-new-category, todo-always-add-time-string)
5381 (todo-categories-align, todo-categories-archived-label)
5382 (todo-categories-category-label, todo-categories-diary-label)
5383 (todo-categories-done-label, todo-categories-number-separator)
5384 (todo-categories-todo-label, todo-categories-totals-label)
5385 (todo-category-completions-files, todo-completion-ignore-case)
5386 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5387 (todo-done-separator-string, todo-done-string)
5388 (todo-files-function, todo-filter-done-items, todo-filter-files)
5389 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5390 (todo-initial-category, todo-initial-file, todo-item-mark)
5391 (todo-legacy-date-time-regexp, todo-mode-line-function)
5392 (todo-nondiary-marker, todo-number-prefix)
5393 (todo-print-buffer-function, todo-show-current-file)
5394 (todo-show-done-only, todo-show-first, todo-show-with-done)
5395 (todo-skip-archived-categories, todo-top-priorities-overrides)
5396 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5397 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5398 New defcustoms.
5399 (todo-category-done, todo-date-pattern, todo-date-string-start)
5400 (todo-diary-items-buffer, todo-done-string-start)
5401 (todo-filtered-items-buffer, todo-item-start)
5402 (todo-month-abbrev-array, todo-month-name-array)
5403 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5404 (todo-top-priorities-buffer): New defconsts.
5405 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5406 (todo-categories-with-marks, todo-category-string-face)
5407 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5408 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5409 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5410 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5411 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5412 (todo-font-lock-keywords, todo-global-current-todo-file)
5413 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5414 (todo-insertion-commands-args)
5415 (todo-insertion-commands-args-genlist)
5416 (todo-insertion-commands-names, todo-insertion-map)
5417 (todo-key-bindings-t, todo-key-bindings-t+a)
5418 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5419 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5420 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5421 (todo-visited): New variables.
5422
cad5d1cb
GM
54232013-06-21 Glenn Morris <rgm@gnu.org>
5424
5425 * play/cookie1.el (cookie-apropos): Add optional display argument.
5426 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5427 (psychoanalyze-pinhead): Use cookie-doctor.
5428
9e277302
JB
54292013-06-21 Juanma Barranquero <lekktu@gmail.com>
5430
5431 * emacs-lisp/package.el (tar-get-file-descriptor)
5432 (tar--extract): Declare.
5433
c5b0993e
EW
54342013-06-21 Eduard Wiebe <usenet@pusto.de>
5435
5436 Extend flymake's warning predicate to be a function (bug#14217).
5437 * progmodes/flymake.el (flymake-warning-predicate): New.
5438 (flymake-parse-line): Use it.
5439 (flymake-warning-re): Make obsolete alias to
5440 `flymake-warning-predicate'.
5441
a7d2d465
SM
54422013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5445 (package-obsolete-list): Remove.
5446 (package-activate): Remove min-version argument. Add `force' argument.
5447 Adjust to new package-alist format.
5448 (package-mark-obsolete): Remove.
5449 (package-unpack): Force reload of the package's autoloads.
5450 (package-installed-p): Check builtins if the installed package is not
5451 recent enough.
5452 (package-initialize): Don't reset package-obsolete-list.
5453 Don't specify which package version to activate.
5454 (package-process-define-package, describe-package-1)
5455 (package-menu--generate): Adjust to new package-alist format.
5456
cedf5c9d
JB
54572013-06-21 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * allout-widgets.el (allout-widgets-mode-off)
5460 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5461 (allout-widgets-post-command-business)
5462 (allout-widgets-after-copy-or-kill-function)
5463 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5464 (allout-decorate-item-and-context)
5465 (allout-graphics-modification-handler): Fix typos in docstrings.
5466 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5467
5468 * cmuscheme.el (scheme-start-file): Doc fix.
5469 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5470 (scheme-input-filter): Use `string-match-p'.
5471
5472 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5473
5474 * dired-x.el: Use Dired consistently in docstrings.
5475
5476 * dired.el: Use Dired consistently in docstrings.
5477 (dired-readin, dired-mode): Use `setq-local'.
5478 (dired-switches-alist): Make defvar-local.
5479 (dired-buffers-for-dir): Use `zerop'.
5480 (dired-safe-switches-p, dired-switches-escape-p)
5481 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5482 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5483 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5484 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5485 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5486 (dired-toggle-marks, dired-mark-files-containing-regexp)
5487 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5488 (dired-flag-auto-save-files, dired-flag-backup-files):
5489 Use `looking-at-p'.
5490 (dired-mark-files-regexp, dired-build-subdir-alist):
5491 Use `string-match-p', `looking-at-p'.
5492
5493 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5494 (direct-print-region-helper): Use `string-match-p'.
5495
aed838b5
LL
54962013-06-21 Leo Liu <sdl.web@gmail.com>
5497
cedf5c9d
JB
5498 * comint.el (comint-redirect-results-list-from-process):
5499 Fix infinite loop.
aed838b5 5500
d80a808f
LMI
55012013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5502
5503 * net/eww.el (eww-update-header-line-format): Quote % characters.
5504
e7a526e3
GM
55052013-06-21 Glenn Morris <rgm@gnu.org>
5506
5507 * play/cookie1.el (cookie): New custom group.
5508 (cookie-file): New option.
5509 (cookie-check-file): New function.
5510 (cookie): Make it interactive. Make start and end messages optional.
5511 Interactively, display the result. Default to cookie-file.
5512 (cookie-insert): Default to cookie-file.
5513 (cookie-snarf): Make start and end messages optional.
5514 Default to cookie-file. Use with-temp-buffer.
5515 (cookie-read): Rename from read-cookie.
5516 Make start and end messages optional. Default to cookie-file.
5517 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5518 Do not autoload it.
e7a526e3
GM
5519 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5520 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5521
62efb35e
LL
55222013-06-21 Leo Liu <sdl.web@gmail.com>
5523
5524 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5525
21e3f963
GM
55262013-06-21 Glenn Morris <rgm@gnu.org>
5527
5528 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5529
fd846ab4
SM
55302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5531 Daniel Hackney <dan@haxney.org>
5532
5533 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5534 Consolidate the single-file vs tarball code.
5535 (package-desc-suffix): New function.
5536 (package-desc-full-name): Don't bother inlining it.
5537 (package-load-descriptor): Return the new package-desc.
5538 (package-mark-obsolete): Remove unused arg `package'.
5539 (package-unpack): Make it work for single files as well.
5540 Make it update package-alist.
5541 (package--make-autoloads-and-stuff): Rename from
5542 package--make-autoloads-and-compile. Don't compile any more.
5543 (package--compile): New function.
5544 (package-generate-description-file): New function, extracted from
5545 package-unpack-single.
5546 (package-unpack-single): Remove.
5547 (package--with-work-buffer): Add indentation and debugging info.
5548 (package-download-single): Remove.
5549 (package-install-from-archive): Rename from package-download-tar, make
5550 it take a pkg-desc, and make it work for single files as well.
5551 (package-download-transaction): Simplify.
5552 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5553 external tar program.
5554 (package-install-from-buffer): Remove `pkg-desc' argument.
5555 Use package-tar-file-info for tar-mode buffers.
5556 (package-install-file): Simplify accordingly.
5557 (package-archive-base): Change to take a pkg-desc.
5558 * tar-mode.el (tar--check-descriptor): New function, extracted from
5559 tar-get-descriptor.
5560 (tar-get-descriptor): Use it.
5561 (tar-get-file-descriptor): New function.
5562 (tar--extract): New function, extracted from tar-extract.
5563 (tar--extract): Use it.
5564 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5565 case the summary uses non-ascii. Adjust to new calling convention of
5566 package-tar-file-info.
5567
b7deae5e
LL
55682013-06-21 Leo Liu <sdl.web@gmail.com>
5569
fd846ab4
SM
5570 * comint.el (comint-redirect-results-list-from-process):
5571 Fix random delay. (Bug#14681)
b7deae5e 5572
7a65a0b2
JB
55732013-06-21 Juanma Barranquero <lekktu@gmail.com>
5574
5575 * profiler.el (profiler-format-number): Use log, not log10.
5576
1493c2af
JB
55772013-06-20 Juanma Barranquero <lekktu@gmail.com>
5578
5579 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5580
aff6371e
SM
55812013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5584 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5585 yet available.
5586 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5587 (AUTOGENEL): ... here.
5588 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5589 (cl--defsubst-expand): Use it.
5590
89561f72
PE
55912013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5592
5593 * subr.el (log10): Move here from C code, and declare as obsolete.
5594 All uses of (log10 X) replaced with (log X 10).
5595
47199123
JB
55962013-06-20 Juanma Barranquero <lekktu@gmail.com>
5597
5598 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5599 Declare with `defvar-local'.
5600 (tabulated-list-use-header-line, tabulated-list-entries)
5601 (tabulated-list-padding, tabulated-list-printer)
5602 (tabulated-list-sort-key): Declare with `defvar-local'.
5603 (tabulated-list-init-header, tabulated-list-print-fake-header):
5604 Use `setq-local'.
5605
4a172eab
MA
56062013-06-20 Michael Albinus <michael.albinus@gmx.de>
5607
47199123
JB
5608 * arc-mode.el (archive-mode): Add `archive-write-file' to
5609 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5610
5fc0acc0
JB
56112013-06-20 Juanma Barranquero <lekktu@gmail.com>
5612
d5b27848
JB
5613 * cus-edit.el (custom-commands): Fix typos.
5614 (custom-display): Fix tooltip text.
5615 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5616 Fix typos in docstrings.
5617 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5618 (custom-unlispify-menu-entry, custom-magic-value-create)
5619 (custom-add-see-also, custom-group-value-create): Use ?\s.
5620 (custom-guess-type, customize-apropos, editable-field)
5621 (custom-face-value-create): Use `string-match-p'.
5622 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5623
5624 * custom.el (custom-load-symbol): Use `string-match-p'.
5625
a5c581d8
JB
5626 * ansi-color.el: Convert to lexical binding.
5627 (ansi-colors): Fix URL.
5628 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5629 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5630 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5631
970ad972
G
56322013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5633
5634 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5635
5636 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5637
56382013-06-19 Tom Tromey <tromey@redhat.com>
5639
5640 * net/eww.el (eww-top-url): Remove.
5641 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5642 (eww-render): Set new variables. Don't set eww-top-url.
5643 (eww-handle-link): Handle "prev", "home", and "contents".
5644 Downcase the rel text.
5645 (eww-top-url): Choose best top URL.
5646
56472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5648
5649 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5650 relying in widget.el. Using widget.el leads to too many
5651 user interface inconsistencies.
5652 (eww-self-insert): Implement entering commands in text fields.
5653 (eww-process-text-input): New function to make text input field editing
5654 work.
5655 (eww-submit): Rewrite to use the new-style form methods.
5656 (eww-select-display): Display the correct selected item.
5657 (eww-change-select): Implement changing the select value.
5658 (eww-toggle-checkbox): Implement radio/checkboxes.
5659 (eww-update-field): Fix compilation error.
5660 (eww-tag-textarea): Implement <textarea>.
5661
5662 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5663 we don't shadow mode-specific bindings.
5664
5665 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5666 nothing to push.
5667
5668 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5669
4582a01c 56702013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5671
5672 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5673
15b263dc
MA
56742013-06-19 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5677 not needed.
5678
5679 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5680
8f5297f7
LMI
56812013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
5683 * net/browse-url.el (browse-url-browser-function):
5684 `eww-browse-url' has the right calling signature, `eww' does not.
5685
011c4552
GM
56862013-06-19 Glenn Morris <rgm@gnu.org>
5687
2285bd27
GM
5688 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5689 Only eval autoloaded macros.
5690 (byte-compile-autoload): Only give the macro warning for macros.
5691
1d653303
GM
5692 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5693 (ps-underlined-faces): Declare.
5694
bdd779ec
GM
5695 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5696 (speedbar-add-supported-extension): Declare.
5697
011c4552
GM
5698 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5699 Don't include a date stamp in the header of the generated file;
5700 it leads to needless differences between output files.
5701
e59dfb0e
MA
57022013-06-19 Michael Albinus <michael.albinus@gmx.de>
5703
c763842b
SM
5704 * net/secrets.el (secrets-struct-secret-content-type):
5705 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5706 Some servers do not offer introspection.
e59dfb0e 5707
102626e2
SM
57082013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * electric.el (electric-pair-mode): Improve interaction with
5711 electric-layout-mode.
5712 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5713 (electric-pair-syntax): Use text-mode-syntax-table in comments
5714 and strings.
5715 (electric-pair--insert): New function.
5716 (electric-pair-post-self-insert-function): Use it and
5717 electric--after-char-pos.
5718
ad528125
LL
57192013-06-19 Leo Liu <sdl.web@gmail.com>
5720
5721 * progmodes/octave.el (octave-help): Fix regexp.
5722
924d6997
G
57232013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5724
5725 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5726 (shr-table-horizontal-line): Allow nil as a value, and change the
5727 default.
5728 (shr-insert-table-ruler): Respect the nil value.
5729
57302013-06-18 Tom Tromey <tromey@barimba>
5731
5732 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5733 New defvars.
5734 (eww-open-file): New defun.
5735 (eww-render): Initialize new variables.
5736 (eww-display-html): Handle "link" and "a".
5737 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5738 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5739 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5740 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5741 New defuns.
924d6997 5742
d1bbba4f
DG
57432013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5744
5745 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5746 Distinguish ternary operator tokens from slash symbol and slash
5747 char literal.
5748
14dd22d2
JB
57492013-06-18 Juanma Barranquero <lekktu@gmail.com>
5750
5751 Convert symbol prettification into minor mode and global minor mode.
5752
5753 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5754 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5755 (prettify-symbols--keywords): Rename from
5756 `prog-prettify-symbols-alist' and make a local defvar.
5757 (prettify-symbols--compose-symbol): Rename from
5758 `prog--prettify-font-lock-compose-symbol'.
5759 (prettify-symbols--make-keywords): Rename from
5760 `prog-prettify-font-lock-symbols-keywords' and simplify.
5761 (prog-prettify-install): Remove.
5762 (prettify-symbols-mode): New minor mode, based on
5763 `prog-prettify-install'.
5764 (turn-on-prettify-symbols-mode): New function.
5765 (global-prettify-symbols-mode): New globalized minor mode.
5766
5767 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5768 * progmodes/cfengine.el (cfengine3-mode):
5769 * progmodes/perl-mode.el (perl-mode): Don't call
5770 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5771
292c880c
JL
57722013-06-18 Juri Linkov <juri@jurta.org>
5773
5774 * files-x.el (modify-file-local-variable-message): New function.
5775 (modify-file-local-variable)
5776 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5777 and call `modify-file-local-variable-message' when it's non-nil.
5778 (add-file-local-variable, delete-file-local-variable)
5779 (add-file-local-variable-prop-line)
5780 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5781 and use it. (Bug#9820)
5782
0950aa27
JL
57832013-06-18 Juri Linkov <juri@jurta.org>
5784
5785 * emulation/vi.el (vi-shell-op):
5786 * emulation/vip.el (vip-execute-com, ex-command):
5787 * emulation/viper-cmd.el (viper-exec-bang):
5788 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5789 the call of `shell-command-on-region'. (Bug#14637)
5790
5791 * simple.el (shell-command-on-region): Doc fix.
5792
8fbcca16
SM
57932013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5796 (bug#14633).
5797
dd7426ea
GM
57982013-06-18 Glenn Morris <rgm@gnu.org>
5799
4ba54f7d
GM
5800 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5801
dd7426ea
GM
5802 * newcomment.el (comment-search-forward, comment-search-backward):
5803 Doc fix. (Bug#14376)
5804
58aa805b
JB
58052013-06-18 Juanma Barranquero <lekktu@gmail.com>
5806
5807 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5808 (buffer-face-mode-invoke): Doc fix.
5809
9a08a617
MM
58102013-06-18 Matthias Meulien <orontee@gmail.com>
5811
5812 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5813 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5814
f2f426ca
GM
58152013-06-18 Glenn Morris <rgm@gnu.org>
5816
9445f99b
GM
5817 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5818 Replace obsolete function generic-make-keywords with its expansion.
5819
e0df2d14
GM
5820 * progmodes/python.el (ffap-alist): Declare.
5821
f2f426ca
GM
5822 * textmodes/reftex.el (bibtex-mode-map): Declare.
5823
f7f9a720
SM
58242013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5827 (package-unpack, package-unpack-single): Return the pkg-dir.
5828 (package-download-transaction): Use it to update package-alist.
5829
57ff04e0
LMI
58302013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5831
5832 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5833 possible choice.
5834
c048c022
JL
58352013-06-17 Juri Linkov <juri@jurta.org>
5836
5837 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5838
b5bcaee5
DG
58392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5840
a020afb9
JB
5841 * emacs-lisp/package.el (package-load-descriptor):
5842 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5843 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5844
551e07e5
JB
58452013-06-17 Juanma Barranquero <lekktu@gmail.com>
5846
5847 * startup.el (command-line): Expand package name returned by
5848 `package--description-file' (bug#14639).
5849
d363bffb
DG
58502013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5851
5852 * emacs-lisp/package.el (package-load-descriptor): Do not call
5853 `emacs-lisp-mode', just use its syntax table.
5854
f612933b
JB
58552013-06-17 Juanma Barranquero <lekktu@gmail.com>
5856
5857 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5858 `font-lock-extra-managed-props' if any prettifying keyword is added.
5859 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5860 (prog-mode): Use `setq-local'.
5861
db3b7db5
SM
58622013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * international/characters.el (standard-case-table): Set syntax of ?»
5865 and ?« to punctuation.
5866
f3d674df
JB
58672013-06-16 Juanma Barranquero <lekktu@gmail.com>
5868
5869 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5870 Save relevant match data before calling `syntax-ppss' (bug#14595).
5871
31489a32
JL
58722013-06-15 Juri Linkov <juri@jurta.org>
5873
5874 * files-x.el (modify-file-local-variable-prop-line): Add local
5875 variables to the end of the existing comment on the first line.
5876 Use `file-auto-mode-skip' to skip interpreter magic line,
5877 and also skip XML declaration.
5878
66bd25ab
SM
58792013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * startup.el (package--builtin-versions): New var.
5882 (package-subdirectory-regexp): Remove.
5883 (package--description-file): Hard code its value instead.
5884
5885 * emacs-lisp/package.el: Don't activate packages older than builtin.
5886 (package-obsolete-list): Rename from package-obsolete-alist, and make
5887 it into a simple list of package-desc.
5888 (package-strip-version): Remove.
5889 (package-built-in-p): Use package--builtin-versions.
5890 (package-mark-obsolete): Simplify.
5891 (package-process-define-package): Mark it obsolete if older than the
5892 builtin version.
5893 (package-handle-response): Use line-end-position.
5894 (package-read-archive-contents, package--download-one-archive):
5895 Simplify.
5896 (package--add-to-archive-contents): Skip if older than the builtin or
5897 installed version.
5898 (package-menu-describe-package): Fix last change.
5899 (package-list-unversioned): New var.
5900 (package-menu--generate): Use it.
5901
5902 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5903 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5904 (autoload-builtin-package-versions): New variable.
5905 (autoload-generate-file-autoloads): Use them.
5906 Remove the list of autoloaded functions/macros from the
5907 (autoload...) comments.
5908
5909 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5910
9583ec36
EZ
59112013-06-15 Eli Zaretskii <eliz@gnu.org>
5912
5913 * simple.el (line-move-partial): Don't jump to the next screen
5914 line as soon as it becomes visible. Instead, continue enlarging
5915 the vscroll until the portion of a tall screen line that's left on
5916 display is about the height of the frame's default font.
5917 (Bug#14567)
5918
f0100d8a
GM
59192013-06-15 Glenn Morris <rgm@gnu.org>
5920
b86a85ca
GM
5921 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5922 compilation-error-regexp-alist void, or local while let-bound.
5923
f0100d8a
GM
5924 * progmodes/make-mode.el (makefile-mode-syntax-table):
5925 Treat "=" as punctuation. (Bug#14614)
5926
05e7ce90
JB
59272013-06-15 Juanma Barranquero <lekktu@gmail.com>
5928
5929 * help-fns.el (describe-variable):
5930 Add extra line for permanent-local variables.
5931
12e5e86e
SH
59322013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5933
5934 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5935 Add export, import, library. (Bug#9164)
5936 (library): Set indent function.
5937
230dcbaf
GM
59382013-06-14 Glenn Morris <rgm@gnu.org>
5939
5940 * term/xterm.el (xterm--query):
5941 Stop after first matching handler. (Bug#14615)
5942
e36b2d20 59432013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5944
5945 Add support for dired in saveplace.
5946 * dired.el (dired-initial-position-hook): New variable.
5947 (dired-initial-position): Call hook to place cursor position.
5948 * saveplace.el (save-place-to-alist): Add dired position.
5949 (save-place-dired-hook): New function.
5950
0b31660d
SM
59512013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5952
bf1e6ae8
SM
5953 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5954 through a symbol rather than letrec.
5955
1b8dff23
SM
5956 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5957 (package-desc): Add `dir' field.
5958 (package-desc-full-name): New function.
5959 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5960 (package-maybe-load-descriptor): Remove.
5961 (package-load-all-descriptors): Just call package-load-descriptor.
5962 (package--disabled-p): New function.
5963 (package-desc-vers, package-desc-doc): Remove aliases.
5964 (package--dir): Remove function.
5965 (package-activate): Check if a package is disabled.
5966 (package-process-define-package): New function, extracted from
5967 define-package.
5968 (define-package): Turn into a place holder.
5969 (package-unpack-single, package-tar-file-info):
5970 Use package--description-file.
5971 (package-compute-transaction): Use package--disabled-p.
5972 (package-download-transaction): Don't call
5973 package-maybe-load-descriptor since they're all loaded anyway.
5974 (package-install): Change argument to be a pkg-desc.
5975 (package-delete): Use a single pkg-desc argument.
5976 (describe-package-1): Use package-desc-dir instead of package--dir.
5977 Use package-desc property instead of package-symbol.
5978 (package-install-button-action): Adjust accordingly.
5979 (package--push): Rewrite.
5980 (package-menu--print-info): Adjust accordingly. Change the ID format
5981 to be a pkg-desc.
5982 (package-menu-describe-package, package-menu-get-status)
5983 (package-menu--find-upgrades, package-menu-mark-upgrades)
5984 (package-menu-execute, package-menu--name-predicate):
5985 Adjust accordingly.
5986 * startup.el (package--description-file): New function.
5987 (command-line): Use it.
5988 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5989 Use package-desc-version.
5990
0b31660d
SM
5991 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5992 (byte-compile-preprocess): Use it.
5993 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5994 can't quite recognize.
5995 (byte-compile-add-to-list): Remove.
5996 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5997 (cconv-closure-convert): Add assertion.
5998
5999 * emacs-lisp/map-ynp.el: Use lexical-binding.
6000 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6001 Factor out some repeated code.
6002
de0503df
SM
60032013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * subr.el (with-eval-after-load): New macro.
6006 (eval-after-load): Allow form to be a function.
6007 take advantage of lexical-binding.
6008 (do-after-load-evaluation): Use dolist and adjust to new format.
6009 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6010
bc5c8c5a
JL
60112013-06-13 Juri Linkov <juri@jurta.org>
6012
6013 * replace.el (perform-replace): Display "symbol " and other search
6014 modes from `isearch-message-prefix' in the *Help* buffer.
6015
6016 * isearch.el (isearch-query-replace): Add " symbol" and other
6017 possible search modes from `isearch-message-prefix' to the prompt.
6018 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6019 when reading a regexp to collect.
6020
a22289f7
JL
60212013-06-13 Juri Linkov <juri@jurta.org>
6022
6023 * isearch.el (word-search-regexp): Match whitespace if the search
6024 string begins or ends in whitespace. The LAX arg is applied to
6025 both ends of the search string. Use `regexp-quote' and explicit
6026 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6027 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6028 boundaries are replaced with symbol boundaries, and characters
6029 between symbols match non-word non-symbol syntax. (Bug#14602)
6030
cb89acab
JL
60312013-06-13 Juri Linkov <juri@jurta.org>
6032
6033 * isearch.el (isearch-del-char): Don't exceed the length of
6034 `isearch-string' by the prefix arg. (Bug#14563)
6035
6e8cfc81
JL
60362013-06-13 Juri Linkov <juri@jurta.org>
6037
6038 * isearch.el (isearch-yank-word, isearch-yank-line)
6039 (isearch-char-by-name, isearch-quote-char)
6040 (isearch-printing-char, isearch-process-search-char):
6041 Add optional count prefix arg. (Bug#14563)
6042
6043 * international/isearch-x.el
6044 (isearch-process-search-multibyte-characters):
6045 Add optional count prefix arg.
6046
c23d55f4
VS
60472013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6050 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6051 lexical-binding.
6052
60532013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6054
6055 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6056
ba947bc4
GM
60572013-06-13 Glenn Morris <rgm@gnu.org>
6058
8baeb37a
GM
6059 * startup.el (tty-handle-args):
6060 Don't just discard "--" and anything after. (Bug#14608)
6061
ba947bc4
GM
6062 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6063
9abefce4
MA
60642013-06-13 Michael Albinus <michael.albinus@gmx.de>
6065
6066 Implement changes in Secret Service API. Make it backward compatible.
6067 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6068 (secrets-create-item): Use it. Prefix properties with interface.
6069
5755011f
MH
60702013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6071
6072 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6073 (term-emulate-terminal): Respect term-suppress-hard-newline.
6074
1261d2da
S
60752013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6076
6077 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6078 Only remove a `thumb-file' overlay. (Bug#14548)
6079
868490bb
GJ
60802013-06-12 Grégoire Jadi <daimrod@gmail.com>
6081
6082 * mail/reporter.el (reporter-submit-bug-report):
6083 Handle missing package-name. (Bug#14600)
6084
79d7167f
TH
60852013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6086
6087 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6088 (reftex-citation-prompt, reftex-default-bibliography)
6089 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6090 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6091 (reftex-bib-sort-author, reftex-bib-sort-year)
6092 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6093 (reftex-extract-bib-entries-from-thebibliography)
6094 (reftex-get-bibkey-default, reftex-get-bib-names)
6095 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6096 (reftex-format-bib-entry, reftex-parse-bibitem)
6097 (reftex-format-bibitem, reftex-do-citation)
6098 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6099 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6100 (reftex-insert-bib-matches, reftex-format-citation)
6101 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6102 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6103 existing comments into docstrings.
6104
5f9dbd7a
XF
61052013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6106
6107 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6108
94df41ab
AS
61092013-06-12 Andreas Schwab <schwab@suse.de>
6110
6111 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6112 for auto-save files.
6113
a7f3fecc
GM
61142013-06-12 Glenn Morris <rgm@gnu.org>
6115
001809f6
GM
6116 * ido.el (ido-delete-ignored-files): Remove.
6117 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6118 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6119
834b5ded
EL
61202013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6121
08c73ed2
EL
6122 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6123
834b5ded
EL
6124 * ido.el (ido-delete-ignored-files): New function,
6125 split from ido-make-file-list-1.
6126 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6127 (ido-make-file-list-1): Use ido-delete-ignored-files.
6128
daabf15a
LL
61292013-06-12 Leo Liu <sdl.web@gmail.com>
6130
6131 * progmodes/octave.el (inferior-octave-startup)
6132 (inferior-octave-completion-table)
6133 (inferior-octave-track-window-width-change)
6134 (octave-eldoc-function-signatures, octave-help)
6135 (octave-find-definition): Use single quoted strings.
6136 (inferior-octave-startup-args): Change default value.
6137 (inferior-octave-startup): Do not hard code "-i" and
6138 "--no-line-editing".
6139 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6140 (inferior-octave-directory-tracker): Use it.
6141 (octave-goto-function-definition): Robustify.
6142 (octave-help): Support highlighting operators in 'See also'.
6143 (octave-find-definition): Find subfunctions only in Octave mode.
6144
cf4e5178
SM
61452013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * help-fns.el (help-fns--compiler-macro): If the handler function is
6148 named, then put a link to it.
6149 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6150 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6151 (cl-typep): Use it.
6152 (cl-eval-when): Simplify debug spec.
6153 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6154 compiler-macro function instead of setting `compiler-macro-file'.
6155
99c81280 61562013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6157
6158 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6159 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6160
f56be016
SM
61612013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6162 Daniel Hackney <dan@haxney.org>
6163
6164 First part of Daniel Hackney's patch to package.el.
6165 * emacs-lisp/package.el: Use defstruct.
6166 (package-desc): New, main struct.
6167 (package--bi-desc, package--ac-desc): New structs, used to describe the
6168 format in external files.
6169 (package-desc-vers): Replace with package-desc-version accessor.
6170 (package-desc-doc): Replace with package-desc-summary accessor.
6171 (package-activate-1): Remove `package' arg since the pkg-vec now
6172 includes the name.
6173 (define-package): Use package-desc-from-define.
6174 (package-unpack-single): Change file-name arg to be a symbol.
6175 (package--add-to-archive-contents): Use package-desc-create and new
6176 accessor functions to package--ac-desc.
6177 (package-buffer-info, package-tar-file-info): Return a package-desc.
6178 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6179 arg to be a package-desc.
6180 (package-install-file): Adjust accordingly. Use \' to match EOS.
6181 (package--from-builtin): New function.
6182 (describe-package-1, package-menu--generate): Use it.
6183 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6184 (package-generate-autoloads): Idem and return the name of the file.
6185 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6186 Change pkg-info arg to be a package-desc.
6187 Use package-make-ac-desc.
6188 (package-upload-file): Use \' to match EOS.
6189 * finder.el (finder-compile-keywords): Use package-make-builtin.
6190
31119d63
SM
61912013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6192
931a2762
SM
6193 * vc/vc.el (vc-deduce-fileset): Change error message.
6194 (vc-read-backend): New function.
6195 (vc-next-action): Use it.
6196
5a3eb0c6
SM
6197 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6198
e3eb1bb7
SM
6199 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6200 (prolog-font-lock-keywords): Use regexp-opt instead.
6201 Don't manually highlight strings.
6202 (prolog-mode-variables): Simplify comment-start-skip.
6203 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6204
31119d63
SM
6205 * emacs-lisp/generic.el (generic--normalise-comments)
6206 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6207 (generic-mode-set-comments): Use them.
6208 (generic-bracket-support): Use setq-local.
6209 (generic-make-keywords-list): Declare obsolete.
6210
7de135d0
GM
62112013-06-11 Glenn Morris <rgm@gnu.org>
6212
6213 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6214 Prettify after setting font-lock-defaults. (Bug#14574)
6215
fa6bc6fd
JB
62162013-06-11 Juanma Barranquero <lekktu@gmail.com>
6217
6218 * replace.el (query-replace, occur-read-regexp-defaults-function)
6219 (replace-search):
6220 * subr.el (declare-function, number-sequence, local-set-key)
6221 (substitute-key-definition, locate-user-emacs-file)
6222 (with-silent-modifications, split-string, eval-after-load):
6223 Fix typos, remove unneeded backslashes and reflow some docstrings.
6224
cf1f9b9a
SM
62252013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6228 default for Elisp files.
6229
56602a4b
GM
62302013-06-11 Glenn Morris <rgm@gnu.org>
6231
6232 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6233 although define-derived-mode was doing this anyway. (Bug#14583)
6234
30ae0b2c
JB
62352013-06-10 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6238 Fix make-variable-buffer-local call to refer to the correct variable.
6239
fa472906
AG
62402013-06-10 Aidan Gauland <aidalgol@amuri.net>
6241
6242 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6243 (eshell-visual-subcommands, eshell-visual-options):
6244 Add summary line to docstrings. Add cross-references.
fa472906 6245
ff4871b9
GM
62462013-06-10 Glenn Morris <rgm@gnu.org>
6247
6248 * epa.el (epa-read-file-name): New function. (Bug#14510)
6249 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6250
04fcf1b0
AG
62512013-06-09 Aidan Gauland <aidalgol@amuri.net>
6252
6253 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6254 output redirection to be ignored with visual commands.
6255
88b00caa
AG
62562013-06-09 Aidan Gauland <aidalgol@amuri.net>
6257
6258 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6259 (eshell-term-initialize): Move long lambda to separate function
6260 eshell-visual-command-p.
e7b41c4c
JB
6261 * eshell/em-dirs.el (eshell-dirs-initialise):
6262 * eshell/em-script.el (eshell-script-initialize):
6263 Add missing #' to lambda.
88b00caa 6264
fda74125
LL
62652013-06-08 Leo Liu <sdl.web@gmail.com>
6266
6267 * progmodes/octave.el (octave-add-log-current-defun): New function.
6268 (octave-mode): Set add-log-current-defun-function.
6269 (octave-goto-function-definition): Do not move point if not found.
6270 (octave-find-definition): Enhance to try subfunctions first.
6271
467f3b33
GM
62722013-06-08 Glenn Morris <rgm@gnu.org>
6273
6274 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6275 (byte-compile-backward-char, byte-compile-backward-word):
6276 Improve previous change, to handle non-explicit nil.
6277
544badc3
SM
62782013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6281 (smie--opener/closer-at-point): New function.
6282 (smie--matching-block-data): Use it. Don't match from right after an
6283 opener or right before a closer. Obey smie-blink-matching-inners.
6284 Don't signal a mismatch for repeated inners like "switch..case..case".
6285
a175bf33
LL
62862013-06-07 Leo Liu <sdl.web@gmail.com>
6287
6288 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6289 to t. (Bug#14303)
ce8209d4
LL
6290 (octave-function-header-regexp): Fix. (Bug#14570)
6291 (octave-help-mode-finish-hook, octave-help-mode-finish):
6292 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6293
6294 * newcomment.el (comment-search-backward): Revert last change.
6295 (Bug#14434)
6296
6297 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6298
a822acff
EZ
62992013-06-07 Eli Zaretskii <eliz@gnu.org>
6300
6301 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6302 through xargs, to avoid failure due to MS-Windows limitations on
6303 command-line length.
6304
961166f5
GM
63052013-06-06 Glenn Morris <rgm@gnu.org>
6306
d0341459
GM
6307 * font-lock.el (lisp-font-lock-keywords-2):
6308 Treat user-error like error.
6309
961166f5
GM
6310 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6311 (byte-compile-backward-char, byte-compile-backward-word):
6312 Handle explicit nil arguments. (Bug#14565)
6313
80fa505f
AM
63142013-06-05 Alan Mackenzie <acm@muc.de>
6315
6316 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6317 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6318 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6319 (Bug#9706)
80fa505f 6320
fccdc796
SM
63212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * autorevert.el (auto-revert-notify-handler): Use memq.
6324 Hide assertion failure.
6325
6326 * skeleton.el: Use cl-lib.
6327 (skeleton-further-elements): Use defvar-local.
6328 (skeleton-insert): Use cl-progv.
6329
9bfff84b
TZ
63302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6331
6332 * progmodes/prog-mode.el (prog-prettify-symbols)
6333 (prog-prettify-install): Update docstrings.
6334
55577e7c
SM
63352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * simple.el: Move all the prog-mode code to prog-mode.el.
6338 * progmodes/prog-mode.el: New file.
6339 * loadup.el: Add prog-mode.el.
6340
8fc57765
TZ
63412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6342
6343 * simple.el (prog-prettify-symbols): Add version.
6344 (prog-prettify-install): Add convenience function to prettify symbols.
6345
6346 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6347 (perl--augmented-font-lock-keywords-1)
6348 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6349 variables and use it.
6350
6351 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6352 (cfengine3-mode): Remove unneeded variable and use it.
6353
6354 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6355 (lisp--augmented-font-lock-keywords-1)
6356 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6357 Remove unneeded variables and use it.
6358
650645d5 63592013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6360
6361 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6362 to point when opening the connection. (Bug#14380)
28f5da6d 6363
781b4af6
SM
63642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * subr.el (load-history-regexp, load-history-filename-element)
6367 (eval-after-load, after-load-functions, do-after-load-evaluation)
6368 (eval-next-after-load, display-delayed-warnings)
6369 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6370 definition of save-match-data.
6371 (overriding-local-map): Remove accidental obsolescence declaration.
6372
6373 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6374
3ca0d0b4
TZ
63752013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6376
6377 Generalize symbol prettify support to prog-mode and implement it
6378 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6379 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6380 (prog--prettify-font-lock-compose-symbol)
6381 (prog-prettify-font-lock-symbols-keywords): New variables and
6382 functions to support symbol prettification.
6383 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6384 (lisp--augmented-font-lock-keywords-1)
6385 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6386 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6387 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6388 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6389 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6390 * progmodes/perl-mode.el (perl-prettify-symbols)
6391 (perl--font-lock-compose-symbol)
6392 (perl--font-lock-symbols-keywords): Move to prog-mode.
6393 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6394 (perl-font-lock-keywords-1)
6395 (perl-font-lock-keywords-2): Remove explicit prettify support.
6396 (perl--augmented-font-lock-keywords)
6397 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6398 (perl--augmented-font-lock-keywords-2, perl-mode):
6399 Implement prettify support.
3ca0d0b4 6400
976cb066
LL
64012013-06-05 Leo Liu <sdl.web@gmail.com>
6402
6403 Re-implement smie matching block highlight using
6404 show-paren-data-function. (Bug#14395)
6405 * emacs-lisp/smie.el (smie-matching-block-highlight)
6406 (smie--highlight-matching-block-overlay)
6407 (smie--highlight-matching-block-lastpos)
6408 (smie-highlight-matching-block)
6409 (smie-highlight-matching-block-mode): Remove.
6410 (smie--matching-block-data-cache): New variable.
6411 (smie--matching-block-data): New function.
6412 (smie-setup): Use smie--matching-block-data for
6413 show-paren-data-function.
6414
6415 * progmodes/octave.el (octave-mode-menu): Fix.
6416 (octave-find-definition): Skip garbage lines.
6417
208d0342
SM
64182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 Fix compilation error with simultaneous dynamic+lexical scoping.
6421 Add warning when a defvar appears after the first let-binding.
6422 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6423 (byte-compile-close-variables): Initialize it.
6424 (byte-compile--declare-var): New function.
6425 (byte-compile-file-form-defvar)
6426 (byte-compile-file-form-define-abbrev-table)
6427 (byte-compile-file-form-custom-declare-variable): Use it.
6428 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6429 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6430 (byte-compile-bind): Handle dynamic bindings that shadow
6431 lexical bindings.
6432 (byte-compile-unbind): Make arg non-optional.
6433 (byte-compile-let): Simplify.
6434 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6435 (cconv--analyse-function, cconv-analyse-form): Populate it.
6436 Protect byte-compile-bound-variables to limit the scope of defvars.
6437 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6438 Remove unneeded rule for `declare'.
6439
6440 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6441 so as to avoid depending on cl-adjoin at run-time.
6442 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6443
6444 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6445 (macroexp--warn-and-return): Use it.
6446
2587b005
LL
64472013-06-05 Leo Liu <sdl.web@gmail.com>
6448
6449 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6450
f1da3c88
LL
64512013-06-04 Leo Liu <sdl.web@gmail.com>
6452
6453 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6454 (compilation-auto-jump): Suppress the "Mark set" message to give
6455 way to exit message.
6456
3caa391f
AM
64572013-06-04 Alan Mackenzie <acm@muc.de>
6458
6459 Remove faulty optimisation from indentation calculation.
6460 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6461 search limit based on 2000 characters back from indent-point.
6462
068922a2
TH
64632013-06-03 Tassilo Horn <tsdh@gnu.org>
6464
6465 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6466
1f8fdd53
SM
64672013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6468
bbcc4d97
SM
6469 * emacs-lisp/lisp.el: Use lexical-binding.
6470 (lisp--local-variables-1, lisp--local-variables): New functions.
6471 (lisp--local-variables-completion-table): New var.
208d0342 6472 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6473
1f8fdd53
SM
6474 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6475 eagerly (bug#14422).
6476
c9628c79
MA
64772013-06-03 Michael Albinus <michael.albinus@gmx.de>
6478
6479 * autorevert.el (auto-revert-notify-enabled)
6480 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6481 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6482 (auto-revert-notify-handler): Handle also gfilenotify.
6483
e7b41c4c 6484 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6485 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6486 Remove.
c9628c79 6487
e5e4a942
JL
64882013-06-03 Juri Linkov <juri@jurta.org>
6489
6490 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6491 `M-s h .'. (Bug#14427)
6492
6493 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6494 command `hi-lock-face-symbol-at-point'.
6495 (hi-lock-face-symbol-at-point): New command.
6496 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6497 (hi-lock-menu): Add `highlight-symbol-at-point'.
6498 (hi-lock-mode): Doc fix.
6499
6500 * isearch.el (isearch-forward-symbol-at-point): New command.
6501 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6502 (isearch-highlight-regexp): Add a regexp which matches
6503 words/symbols for word/symbol mode.
6504
6505 * subr.el (find-tag-default-bounds): New function with the body
6506 mostly moved from `find-tag-default'.
6507 (find-tag-default): Move most code to `find-tag-default-bounds',
6508 call it and apply `buffer-substring-no-properties' afterwards.
6509
26b3353a
TH
65102013-06-03 Tassilo Horn <tsdh@gnu.org>
6511
781b4af6
SM
6512 * eshell/em-term.el (eshell-term-initialize):
6513 Use `cl-intersection' rather than `intersection'.
26b3353a 6514
51b60f53
XF
65152013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6516
fe054b63 6517 * vc/log-view.el: Doc fix.
d3ffe17c 6518 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6519
a0eb10b3 65202013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6521
6522 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6523 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6524 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6525 (eieio-unbound, eieio-default-superclass)
6526 (eieio--define-field-accessors, method-static, method-before)
6527 (method-primary, method-after, method-num-lists)
6528 (method-generic-before, method-generic-primary)
6529 (method-generic-after, method-num-slots)
6530 (eieio-specialized-key-to-generic-key)
6531 (eieio--check-type, class-v, class-p)
6532 (eieio-class-name, define-obsolete-function-alias)
6533 (eieio-class-parents-fast, eieio-class-children-fast)
6534 (same-class-fast-p, class-constructor, generic-p)
6535 (generic-primary-only-p, generic-primary-only-one-p)
6536 (class-option-assoc, class-option, eieio-object-p)
6537 (class-abstract-p, class-method-invocation-order)
6538 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6539 (eieio-class-un-autoload, eieio-defclass)
6540 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6541 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6542 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6543 (eieio-defgeneric-reset-generic-form)
6544 (eieio-defgeneric-form-primary-only)
6545 (eieio-defgeneric-reset-generic-form-primary-only)
6546 (eieio-defgeneric-form-primary-only-one)
6547 (eieio-defgeneric-reset-generic-form-primary-only-one)
6548 (eieio-unbind-method-implementations)
6549 (eieio--defmethod, eieio--typep)
6550 (eieio-perform-slot-validation, eieio-validate-slot-value)
6551 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6552 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6553 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6554 (eieio-slot-name-index, eieio-class-slot-name-index)
6555 (eieio-set-defaults, eieio-initarg-to-attribute)
6556 (eieio-attribute-to-initarg, eieio-c3-candidate)
6557 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6558 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6559 (eieio-class-precedence-list, eieio-generic-call-methodname)
6560 (eieio-generic-call-arglst, eieio-generic-call-key)
6561 (eieio-generic-call-next-method-list)
6562 (eieio-pre-method-execution-functions, eieio-generic-call)
6563 (eieio-generic-call-primary-only, eieiomt-method-list)
6564 (eieiomt-optimizing-obarray, eieiomt-install)
6565 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6566 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6567 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6568 (defclass): Remove `eval-and-compile' from macro.
6569 (call-next-method, shared-initialize): Instead of using
6570 `scoped-class' variable, use new eieio--scoped-class, and
6571 eieio--with-scoped-class.
6572 (initialize-instance): Rename local variable 'scoped-class' to
6573 'this-class' to remove ambiguitity from old global.
6574
6575 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6576 eieio.el.
4f405069
JB
6577 (eieio--scoped-class-stack): New variable.
6578 (eieio--scoped-class): New fcn.
890f7890
DE
6579 (eieio--with-scoped-class): New scoping macro.
6580 (eieio-defclass): Use pushnew instead of add-to-list.
6581 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6582 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6583 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6584 `scoped-class' variable, use new eieio--scoped-class, and
6585 eieio--with-scoped-class.
6586
6587 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6588
d105b0e2
TH
65892013-06-02 Tassilo Horn <tsdh@gnu.org>
6590
6591 * eshell/esh-ext.el (eshell-external-command): Pass args to
6592 `eshell-find-interpreter'.
6593 (eshell-find-interpreter): Add new second parameter ARGS.
6594
6595 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6596 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6597
6598 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6599 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6600
6601 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6602 (eshell-visual-options): New defcustom.
6603 (eshell-escape-control-x): Adapt docstring.
6604 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6605 `eshell-visual-options' in addition to `eshell-visual-commands'.
6606 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6607
f46305c8 66082013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6609
6610 * progmodes/python.el (python-indent-block-enders): Add break,
6611 continue and raise keywords.
6612
d870df21
GM
66132013-06-01 Glenn Morris <rgm@gnu.org>
6614
9133b82e
GM
6615 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6616
02c992ec 6617 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6618 * progmodes/cc-cmds.el (delete-forward-p):
6619 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6620 * progmodes/cc-engine.el (buffer-syntactic-context):
6621 * progmodes/cc-fonts.el (face-property-instance):
6622 * progmodes/cc-mode.el (set-keymap-parents):
6623 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6624 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6625 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6626 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6627 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6628
31e7b090
GM
6629 * progmodes/cc-vars.el (other): Emacs has this widget since
6630 at least 21.1, so don't (re)define it.
6631
d870df21
GM
6632 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6633 Replace the obsolete alias pcomplete-arg-quote-list.
6634
c75c93c7
LL
66352013-06-01 Leo Liu <sdl.web@gmail.com>
6636
6637 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6638 punctuation syntax.
6639 (inferior-octave-minimal-columns)
6640 (inferior-octave-last-column-width): New variables.
6641 (inferior-octave-track-window-width-change): New function.
6642 (inferior-octave-mode): Adjust column width so that Octave output,
6643 for example from 'ls', can fit into the window nicely.
6644
973d1e12
DG
66452013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6646
6647 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6648 Highlight expansions inside regexp literals.
6649
0888c286
GM
66502013-05-31 Glenn Morris <rgm@gnu.org>
6651
e26aac1f
GM
6652 * obsolete/sym-comp.el (symbol-complete):
6653 Replace obsolete completion-annotate-function.
6654
0888c286
GM
6655 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6656
19bb8e62
DG
66572013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6658
781b4af6
SM
6659 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6660 New function, checks if point is inside a literal that allows
19bb8e62
DG
6661 expression expansion.
6662 (ruby-syntax-propertize-expansion): Use it.
6663 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6664 around the body.
6665
01dea85f
JL
66662013-05-30 Juri Linkov <juri@jurta.org>
6667
6668 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6669 to "\M-si".
6670 (isearch-invisible): New variable.
6671 (isearch-forward): Doc fix.
6672 (isearch-mode): Set `isearch-invisible'
6673 to the value of `search-invisible'.
6674 (isearch-toggle-case-fold): Doc fix.
6675 (isearch-toggle-invisible): New command.
6676 (isearch-query-replace): Let-bind `search-invisible'
6677 to the value of `isearch-invisible'.
6678 (isearch-search): Use `isearch-invisible' instead of
6679 `search-invisible'. Let-bind `search-invisible'
6680 to the value of `isearch-invisible'. (Bug#11378)
6681
ab1bdce5
JL
66822013-05-30 Juri Linkov <juri@jurta.org>
6683
6684 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6685 call when `query-flag' is nil and `search-invisible' is non-nil.
6686 (Bug#11746)
6687
d6d236e2
GM
66882013-05-30 Glenn Morris <rgm@gnu.org>
6689
8accd027
GM
6690 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6691
2a8bed1c
GM
6692 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6693 (cc-require): Suppress spurious "noruntime" warnings.
6694 (cc-require-when-compile): Use fboundp, for sake of compiler.
6695
d6d236e2
GM
6696 * progmodes/cc-mode.el: Move load of cc-vars before that of
6697 cc-langs (which in turn loads cc-vars), to quieten compiler.
6698
9190b35b
SM
66992013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * paren.el: Simplify the code.
6702 (show-paren-mode): Always start the timer.
6703 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6704 (show-paren--overlay, show-paren--overlay-1): Rename from
6705 show-paren-overlay and show-paren-overlay-1, and initialize to an
6706 overlay rather than to nil.
6707 (show-paren-function): Misc cleanup and simplifications.
6708
4f8d1cf6
SM
67092013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * paren.el (show-paren-data-function): New hook.
6712 (show-paren--default): New function, extracted from show-paren-function.
6713 (show-paren-function): Use show-paren-data-function.
6714
02d844b5
GM
67152013-05-30 Glenn Morris <rgm@gnu.org>
6716
d209d4a9
GM
6717 * ielm.el (ielm-map, ielm-complete-symbol):
6718 Use completion-at-point rather than obsolete functions.
6719 (inferior-emacs-lisp-mode): Doc fix.
6720 Set completion-at-point-functions, rather than
6721 comint-dynamic-complete-functions.
6722
2082faa6
GM
6723 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6724 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6725 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6726
dd8620de
GM
6727 * image.el (image-animated-p): Tweak definition.
6728
ceca95b1
GM
6729 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6730 (rlogin-process-connection-type): Tweak default. Add set-after.
6731 (rlogin-host): Doc fix.
6732 (rlogin): Tweak prompt.
6733 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6734
ee9f1acc
GM
6735 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6736 * progmodes/tcl.el (inferior-tcl-mode-map):
6737 Use completion-at-point rather than obsolete alias.
6738
45ce222e
GM
6739 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6740
02d844b5
GM
6741 * minibuffer.el (read-file-name-completion-ignore-case):
6742 Move before completion--in-region, for eager macro expansion.
6743
ac44d6c1
JL
67442013-05-29 Juri Linkov <juri@jurta.org>
6745
6746 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6747 for total count of matching lines. Add `global-matches' for total
6748 count of matches. Rename `matches' to `lines' for count of
6749 matching lines. Add `matches' for count of matches.
6750 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6751 to `prev-line' for line number of prev match endpt.
6752 Increment `matches' for every match. Print the number of
6753 matching lines in the header.
6754 (occur-context-lines): Rename `lines' to `curr-line'.
6755 Rename `prev-lines' to `prev-line'. (Bug#14017)
6756
3c9c9d38
JL
67572013-05-29 Juri Linkov <juri@jurta.org>
6758
6759 * replace.el (perform-replace): Add `skip-read-only-count',
6760 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6761 Increment them for corresponding conditions and report the number
6762 of skipped occurrences in the final message. (Bug#11746)
6763 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6764 (replace-string, replace-regexp): Doc fix.
6765
33e249a2
SM
67662013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6767
8e399682
SM
6768 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6769
33e249a2 6770 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6771 prog-mode-map (bug#14504).
33e249a2 6772
f236dd84
LL
67732013-05-29 Leo Liu <sdl.web@gmail.com>
6774
6775 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6776 (octave-help): Small simplification.
6777
6778 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6779 off the highlight first.
6780
3694d13f
GM
67812013-05-29 Glenn Morris <rgm@gnu.org>
6782
03983bdc
GM
6783 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6784 Handle idlwave-last-system-routine-info-cons-cell being nil.
6785
bc74a74a
GM
6786 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6787 (idlwave-write-paths): Simplify via with-temp-buffer.
6788
8b394200
GM
6789 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6790 * emulation/cua-rect.el: Also load cua-base at run time.
6791
3694d13f
GM
6792 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6793 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6794 (cperl-imenu-on-info): Require imenu.
6795
336d7284
AM
67962013-05-28 Alan Mackenzie <acm@muc.de>
6797
6798 Handle "capitalised keywords" correctly.
33e249a2 6799 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6800
cb29c582
AG
68012013-05-28 Aidan Gauland <aidalgol@amuri.net>
6802
781b4af6 6803 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6804
690e44b2
GM
68052013-05-28 Glenn Morris <rgm@gnu.org>
6806
e658d75c
GM
6807 * vc/vc-arch.el (vc-exec-after): Declare.
6808 (vc-switches): Autoload.
6809 * vc/vc-bzr.el: No need to require vc when compiling.
6810 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6811 (vc-resynch-buffer, vc-dir-refresh): Declare.
6812 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6813 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6814 (vc-resynch-buffer): Declare.
6815 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6816 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6817 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6818 (grep-read-regexp, grep-read-files, grep-expand-template)
6819 (vc-dir-refresh): Declare.
6820 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6821 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6822 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6823 * vc/vc-mtn.el (vc-exec-after): Declare.
6824 (vc-switches): Autoload.
6825 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6826 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6827 (vc-file-tree-walk): Declare.
712b9732
GM
6828 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6829 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6830 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6831 * vc/vc-svn.el (vc-exec-after): Declare.
6832 (vc-switches, vc-setup-buffer): Autoload.
6833 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6834 Autoload.
6835 (vc-resynch-buffer): Declare.
6836
98e87fb3
GM
6837 * obsolete/fast-lock.el (byte-compile-warnings):
6838 Don't warn about obsolete features in this obsolete file.
6839
f5379553
GM
6840 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6841 Move definition before use.
6842
7a20ef83
GM
6843 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6844 (dun-unix-verbs): Remove dun-zippy.
6845 (dun-zippy): Remove function.
6846
690e44b2
GM
6847 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6848
3a52ccf7
JL
68492013-05-27 Juri Linkov <juri@jurta.org>
6850
6851 * replace.el (replace-search): New function with code moved out
6852 from `perform-replace'.
6853 (replace-highlight, replace-dehighlight): Move function definitions
6854 up closer to `replace-search'. (Bug#11746)
6855
d289938a
JL
68562013-05-27 Juri Linkov <juri@jurta.org>
6857
6858 * replace.el (perform-replace): Ignore invisible matches.
6859 In addition to checking `query-replace-skip-read-only', also
6860 filter out matches by calling `run-hook-with-args-until-failure'
6861 on `isearch-filter-predicates', and also check `search-invisible'
6862 for t or call `isearch-range-invisible'.
6863 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6864
66fc57e3
JL
68652013-05-27 Juri Linkov <juri@jurta.org>
6866
6867 * isearch.el (isearch-filter-predicates): Rename from
6868 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6869 (isearch-message-prefix): Display text from the property
6870 `isearch-message-prefix' of the currently active filters.
6871 (isearch-search): Don't compare `isearch-filter-predicate' with
6872 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6873 on `isearch-filter-predicates'. Also check `search-invisible' for t
6874 or call `isearch-range-invisible'.
6875 (isearch-filter-visible): Make obsolete.
6876 (isearch-lazy-highlight-search):
6877 Call `run-hook-with-args-until-failure' on
6878 `isearch-filter-predicates' and use `isearch-range-invisible'.
6879
6880 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6881 `isearch-filter-predicates' instead of `funcall'ing
6882 `isearch-filter-predicate'.
6883 (Info-mode): Set `Info-isearch-filter' to
6884 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6885
6886 * dired-aux.el (dired-isearch-filter-predicate-orig):
6887 Remove variable.
6888 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6889 (dired-isearch-filenames-end): Add and remove
6890 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6891 instead of changing the value of `isearch-filter-predicate'.
6892 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6893 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6894 Put property `isearch-message-prefix' to "filename " on
6895 `dired-isearch-filter-filenames'.
6896
6897 * wdired.el (wdired-change-to-wdired-mode):
6898 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6899 locally instead of changing `isearch-filter-predicate'.
6900 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6901
f1a60a0f
DG
69022013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6903
6904 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6905 return the commit hash (Bug#14459). Also set the
6906 `vc-git-detached' property.
6907 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6908 (vc-git-mode-line-string): Use the same help-echo format whether
6909 in detached mode or not, because we know the actual revision now.
6910 When in detached mode, shorten the revision to 7 chars.
6911
7f17cc40
SM
69122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * emacs-lisp/easy-mmode.el (define-minor-mode):
6915 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6916 mode hook and provide a docstring.
6917
25c8401c
AM
69182013-05-27 Alan Mackenzie <acm@muc.de>
6919
6920 Remove spurious syntax-table text properties inserted by C-y.
6921 * progmodes/cc-mode.el (c-after-change): Also clear hard
6922 syntax-table property with value nil.
6923
dde84790
MA
69242013-05-27 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6927 when reading the events; the buffer layout shall not be changed.
6928
837fd9af
LL
69292013-05-27 Leo Liu <sdl.web@gmail.com>
6930
6931 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6932 New variable.
6933 (inferior-octave-directory-tracker): Automatically re-sync
6934 default-directory.
6935 (octave-help): Improve handling of 'See also'.
6936
4fd996b3
SM
69372013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6938
416f1802
SM
6939 * doc-view.el: Minor naming convention tweaks.
6940 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6941
4fd996b3
SM
6942 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6943 even if there's no `display' property yet (bug#14435).
6944
a052ef3b
EZ
69452013-05-25 Eli Zaretskii <eliz@gnu.org>
6946
4fd996b3 6947 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6948
6949 * Makefile.in (custom-deps, finder-data, autoloads)
6950 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6951 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6952 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6953
c9023370
SM
69542013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6957 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6958 Don't burp at EOB.
c9023370 6959
24d699fa
LL
69602013-05-25 Leo Liu <sdl.web@gmail.com>
6961
6962 * comint.el (comint-previous-matching-input): Do not flood the
6963 *Messages* buffer with trivial messages.
6964
17e5c0cc
SM
69652013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * progmodes/flymake.el (flymake-nop): Don't return a string.
6968 (flymake-set-at): Fix typo.
6969
6970 * simple.el (read--expression): New function, extracted from
6971 eval-expression. Set completion-at-point-functions (bug#14465).
6972 (eval-expression, eval-minibuffer): Use it.
6973
5d028165
XF
69742013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6975
6976 * progmodes/flymake.el (flymake-save-buffer-in-file)
6977 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6978 (flymake-selected-frame, flymake-log, flymake-ins-after)
6979 (flymake-set-at, flymake-get-buildfile-from-cache)
6980 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6981 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6982 Refine the doc string.
6983 (flymake-get-file-name-mode-and-masks): Reformat.
6984 (flymake-get-real-file-name-function): Fix a minor bug.
6985
7a1d7ba7
JL
69862013-05-24 Juri Linkov <juri@jurta.org>
6987
6988 * progmodes/grep.el (grep-mode-font-lock-keywords):
6989 Support =linenumber= format used by git-grep for lines with
6990 function names. (Bug#13549)
6991
650cff3d
SM
69922013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6995 0 after a semi-colon; it works better for smie-auto-fill.
6996 (octave--indent-new-comment-line): New function.
6997 (octave-indent-new-comment-line): Use it (indirectly).
6998 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6999 modify comment-line-break-function.
7000
7001 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7002 (smie-setup): Use add-function to set it.
7003
9631677d
SS
70042013-05-24 Sam Steingold <sds@gnu.org>
7005
7006 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7007 argument (before the `interactive' argument).
7008
50105835
SM
70092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * image-mode.el (image-mode-winprops): Add winprops to
7012 image-mode-winprops-alist before running
7013 image-mode-new-window-functions.
7014 * doc-view.el (doc-view-new-window-function): Don't delay
7015 doc-view-goto-page via timers (bug#14435).
7016
57b9823e
TH
70172013-05-24 Tassilo Horn <tsdh@gnu.org>
7018
7019 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7020 (doc-view-desktop-save-buffer): New function.
7021 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7022 (desktop-buffer-mode-handlers):
7023 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7024 handler.
7025 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7026 `desktop-save-buffer' function.
7027
91aafa16
MA
70282013-05-24 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7031 (tramp-gvfs-file-name-handler): Raise a user error when
7032 `tramp-gvfs-enabled' is nil.
7033 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7034 Do not raise a user error when loading package. (Bug#14447)
7035
ec076379
MA
7036 * net/xesam.el: Move to obsolete/.
7037
db785726
GM
70382013-05-24 Glenn Morris <rgm@gnu.org>
7039
af5c7606
GM
7040 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7041
e5d1916a
GM
7042 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7043
ded62b08
GM
7044 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7045 (Info-find-node, Man-getpage-in-background): Declare.
7046
9e614a3f
GM
7047 * mail/unrmail.el (unrmail):
7048 Replace obsolete detect-coding-with-priority.
7049
892f8ca3
GM
7050 * net/socks.el (socks-split-string): Use this rather than split-string.
7051 (socks-nslookup-host): Update for above change.
7052 (dynamic-choice, s5-dynamic-choice-match)
7053 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7054 Comment out unused code.
7055
3c291973
GM
7056 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7057 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7058 (gud-tooltip-echo-area): Make obsolete.
7059 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7060
43cc956b
GM
7061 * progmodes/js.el (js--optimize-arglist): Declare.
7062
dab49a3b
GM
7063 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7064
36b9d085
GM
7065 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7066 (ediff-window-C): Declare.
7067
e354ae76
GM
7068 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7069 Tweak requires to silence compiler.
7070
b8e57bf4
GM
7071 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7072 (he-search-string, he-tried-table, he-expand-list)
7073 (he-init-string, he-string-member, he-substitute-string)
7074 (he-reset-string): Declare.
7075
db785726
GM
7076 * obsolete/options.el (list-options): Use custom-variable-p,
7077 rather than obsolete alias.
7078
b3531901
SS
70792013-05-23 Sam Steingold <sds@gnu.org>
7080
7081 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7082 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7083 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7084
bdda4c66
SM
70852013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * emacs-lisp/smie.el (smie-indent-forward-token)
7088 (smie-indent-backward-token): Handle string tokens (bug#14381).
7089
c43d45f9
TH
70902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7091
fe1eb856
RS
7092 * ielm.el (ielm-menu): New menu.
7093 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7094
fe1eb856
RS
70952013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7096
7097 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7098 Fix deactivate action.
7099
7100 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7101 Add cleveref macros.
074dd971 7102
c43d45f9
TH
7103 * lisp/textmodes/reftex-parse.el
7104 (reftex-locate-bibliography-files): Accept options for
7105 bibliography commands.
7106 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7107 Add addbibresource. Basic Biblatex support.
7108
7764286e
MA
71092013-05-23 Michael Albinus <michael.albinus@gmx.de>
7110
7111 * net/tramp-gvfs.el (top):
7112 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7113 when loading package. (Bug#14447)
7114
d361bc10
GM
71152013-05-23 Glenn Morris <rgm@gnu.org>
7116
8fa23984
GM
7117 * progmodes/js.el: No need to load comint when compiling.
7118 (ring-insert, comint-send-string, comint-send-input)
7119 (comint-last-input-end, ido-chop): Declare.
7120
a5c7df1a
GM
7121 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7122 * vc/ediff-mult.el: Adjust requires.
7123 (ediff-directories-internal, ediff-directory-revisions-internal)
7124 (ediff-patch-file-internal): Declare.
7125 * vc/ediff-ptch.el: Adjust requires.
7126 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7127 (ediff-find-file): Autoload.
7128 * vc/ediff-util.el: No need to load ediff when compiling.
7129 (ediff-regions-internal): Declare.
7130 * vc/ediff-wind.el: Adjust requires.
7131 (ediff-compute-toolbar-width): Define when compiling.
7132 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7133 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7134 (dired-get-filename, dired-get-marked-files)
7135 (ediff-last-dir-patch, ediff-patch-default-directory)
7136 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7137 (ediff-patch-buffer-internal): Declare.
7138
e2aec513
GM
7139 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7140 (ispell-process, ispell-buffer-local-words, lm-summary)
7141 (lm-section-start, lm-section-end): Declare.
7142 (checkdoc-ispell-init): Simplify.
7143
e68bbd7c
GM
7144 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7145 (he-string-member, he-reset-string, he-substitute-string): Declare.
7146
7efe0991
GM
7147 * eshell/em-ls.el: Adjust requires.
7148 (eshell-glob-regexp): Declare.
f87b1284
GM
7149 * eshell/em-tramp.el: Adjust requires.
7150 (eshell-parse-command): Autoload.
7151 * eshell/em-xtra.el: Adjust requires.
7152 (eshell-parse-command): Autoload.
7153 * eshell/esh-ext.el: Adjust requires.
7154 (eshell-parse-command, eshell-close-handles): Autoload.
7155 * eshell/esh-io.el: Adjust requires.
7156 (eshell-output-filter): Autoload.
7157 * eshell/esh-util.el: No need to load tramp when compiling.
7158 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7159 Declare.
7160 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7161 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7162 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7163 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7164 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7165 * eshell/esh-opt.el, eshell/esh-proc.el:
7166 * eshell/esh-var.el: Adjust requires.
7167 * eshell/eshell.el: Do not require esh-util twice.
7168 (eshell-add-input-to-history): Declare.
7169 (eshell-command): Check history module is active before using it.
7170
d361bc10
GM
7171 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7172
85d090a9
LL
71732013-05-22 Leo Liu <sdl.web@gmail.com>
7174
7175 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7176
5d0acd9d
MA
71772013-05-22 Michael Albinus <michael.albinus@gmx.de>
7178
7179 * autorevert.el (auto-revert-notify-add-watch)
7180 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7181 it indicates changes in file modification time.
7182
0cdffd7d
GM
71832013-05-22 Glenn Morris <rgm@gnu.org>
7184
ca5995ec
GM
7185 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7186 Always delete the autoloaded function from the noruntime and
7187 unresolved functions lists.
7188
6450907e
GM
7189 * allout.el: No need to load epa, epg, overlay when compiling.
7190 (epg-context-set-passphrase-callback, epg-list-keys)
7191 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7192 (epg-key-user-id-list): Declare.
7193
9c6906f6
GM
7194 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7195 (viper-set-parsing-style-toggling-macro)
7196 (viper-set-emacs-state-searchstyle-macros):
7197 Use called-interactively-p on Emacs.
7198 (viper-looking-back): Make it an obsolete alias. Update callers.
7199 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7200 Use looking-back rather than viper-looking-back.
7201 (viper-tmp-insert-at-eob, viper-enlarge-region)
7202 (viper-read-string-with-history, viper-register-to-point)
7203 (viper-append-to-register, viper-change-state-to-vi)
7204 (viper-backward-char-carefully, viper-forward-char-carefully)
7205 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7206 (viper-change-state-to-emacs): Declare.
7207 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7208 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7209 * emulation/viper-mous.el: Do not load viper-cmd.
7210 (viper-backward-char-carefully, viper-forward-char-carefully)
7211 (viper-forward-word, viper-adjust-window): Declare.
7212
5f70c169
GM
7213 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7214
b1b7f300
GM
7215 * progmodes/idlw-help.el (idlwave-help-fontify):
7216 Use called-interactively-p.
7217
f6ebbb46
GM
7218 * term/w32console.el (w32-get-console-codepage)
7219 (w32-get-console-output-codepage): Declare.
7220
0cdffd7d
GM
7221 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7222 Remove unnecessary declarations.
7223 (dframe-message): Doc fix.
7224
7225 * info.el (dframe-select-attached-frame, dframe-current-frame):
7226 Declare.
7227
7228 * speedbar.el (speedbar-message): Make it an obsolete alias.
7229 Update all callers.
7230 (speedbar-with-attached-buffer)
7231 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7232 (speedbar-with-writable): Use backquote.
7233 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7234 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7235 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7236 rather than speedbar- aliases.
7237 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7238 (speedbar-make-specialized-keymap, speedbar-insert-button)
7239 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7240 (speedbar-do-function-pointer): Declare.
7241 (rmail-speedbar-button, rmail-speedbar-find-file)
7242 (rmail-speedbar-move-message):
7243 Use dframe-with-attached-buffer rather than speedbar- alias.
7244 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7245 (dframe-message, speedbar-make-specialized-keymap)
7246 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7247 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7248 (speedbar-insert-button, dframe-select-attached-frame)
7249 (dframe-maybee-jump-to-attached-frame)
7250 (speedbar-change-initial-expansion-list)
7251 (speedbar-previously-used-expansion-list-name): Declare.
7252 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7253 Use dframe-message, dframe-with-attached-buffer rather than
7254 speedbar- aliases.
7255 (gud-sentinel): Silence compiler.
7256 * progmodes/vhdl-mode.el (speedbar-refresh)
7257 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7258 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7259 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7260 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7261 (speedbar-file-lists, speedbar-make-tag-line)
7262 (speedbar-line-directory, speedbar-goto-this-file)
7263 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7264 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7265 (speedbar-make-button, speedbar-reset-scanners)
7266 (speedbar-files-item-info, speedbar-line-text)
7267 (speedbar-find-file-in-frame, speedbar-set-timer)
7268 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7269 (speedbar-with-writable): Do not (re)define it.
7270 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7271 rather than speedbar- alias.
7272
ee44b62a
LL
72732013-05-21 Leo Liu <sdl.web@gmail.com>
7274
7275 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7276 menu items.
7277 (octave-mode): Tweak fill-nobreak-predicate.
7278 (inferior-octave-startup): Check process to avoid infinite loop.
7279 (inferior-octave): Pop to buffer first to show abornmal process
7280 exit information.
7281
640f050f
GM
72822013-05-21 Glenn Morris <rgm@gnu.org>
7283
79458038
GM
7284 * printing.el (pr-menu-bar): Define when compiling.
7285
9cc3e83f
LL
72862013-05-21 Leo Liu <sdl.web@gmail.com>
7287
7288 * progmodes/octave.el (octave-auto-fill): Remove.
7289 (octave-indent-new-comment-line): Improve.
7290 (octave-mode): Use auto fill mode through
4f405069 7291 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7292 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7293 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7294 (octave-help): Show parent directory.
7295
f440830d
GM
72962013-05-21 Glenn Morris <rgm@gnu.org>
7297
7298 * files.el (dired-unmark):
7299 * progmodes/gud.el (gdb-input): Update declarations.
7300
7301 * calculator.el (electric, ehelp): No need to load when compiling.
7302 (Electric-command-loop, electric-describe-mode): Declare.
7303
7304 * doc-view.el (doc-view-current-converter-processes): Move before use.
7305
7306 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7307 Move MODE-set-explicitly definition before use.
7308
7309 * international/mule-diag.el (mule-diag):
7310 Don't use obsolete window-system-version.
7311
7312 * mail/feedmail.el (smtpmail): No need to load when compiling.
7313 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7314
7315 * mail/mail-utils.el (rfc822): No need to load when compiling.
7316 (rfc822-addresses): Autoload it.
7317 (mail-strip-quoted-names): Trivial simplification.
7318
7319 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7320 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7321
7322 * net/snmp-mode.el (tempo): Don't duplicate requires.
7323
7324 * progmodes/prolog.el (info): No need to load when compiling.
7325 (comint): Require before shell requires it.
7326 (Info-goto-node): Autoload it.
7327 (Info-follow-nearest-node): Declare.
7328 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7329
7330 * textmodes/artist.el (picture-mode-exit): Declare.
7331
7332 * textmodes/reftex-parse.el (reftex-parse-from-file):
7333 Trivial rewrite so the compiler can parse it better.
7334
b4da2cbb
LL
73352013-05-20 Leo Liu <sdl.web@gmail.com>
7336
7337 * progmodes/octave.el (octave-help-mode-map)
7338 (octave-help-mode-finish-hook): New variables.
7339 (octave-help-mode, octave-help-mode-finish): New functions.
7340 (octave-help): Use octave-help-mode.
7341
33c0f65b
GM
73422013-05-20 Glenn Morris <rgm@gnu.org>
7343
7344 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7345
1a0a0a8a
DG
73462013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7347
7348 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7349 start at point, so that expansion starting right after opening
7350 slash in a regexp is recognized.
7351 (ruby-syntax-before-regexp-re): New defvar, extracted from
7352 ruby-syntax-propertize-function. Since the value of this regexp
7353 is looked up at runtime now, we should be able to turn
7354 `ruby-syntax-methods-before-regexp' into a defcustom later.
7355 (ruby-syntax-propertize-function): Split regexp matching into two
7356 parts, for opening and closing slashes. That allows us to skip
7357 over string interpolations and support multiline regexps.
7358 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7359 for them, which calls `ruby-syntax-propertize-expansion'.
7360 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7361 call to `ruby-syntax-propertize-function'.
7362 (ruby-syntax-propertize-expansion): Extracted from
7363 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7364 (ruby-syntax-propertize-percent-literal): Leave point right after
7365 the percent symbol, so that the expression expansion rule can
7366 propertize the contents.
462388b6
DG
7367 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7368 heredoc openers.
7369 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7370
c1a6c0a4
JL
73712013-05-18 Juri Linkov <juri@jurta.org>
7372
7373 * man.el (Man-default-man-entry): Remove `-' from the end
7374 of the default value. (Bug#14400)
7375
8051fccd
GM
73762013-05-18 Glenn Morris <rgm@gnu.org>
7377
7378 * comint.el (comint-password-prompt-regexp):
7379 Allow "password for XXX" where XXX contains colons (eg https://...).
7380
5e80b74f
LL
73812013-05-18 Leo Liu <sdl.web@gmail.com>
7382
7383 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7384 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7385 (octave-source-directories): Don't check process.
7386 (octave-source-directories, octave-find-definition): Doc fix.
7387
521a54c5
GM
73882013-05-18 Glenn Morris <rgm@gnu.org>
7389
86a94b05
GM
7390 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7391 Remove backspace/delete bindings. (Bug#14392)
7392
521a54c5
GM
7393 * cus-dep.el (custom-make-dependencies): Sort the output.
7394 (custom-versions-load-alist): Convert comment to doc.
7395
42caeb89
LL
73962013-05-17 Leo Liu <sdl.web@gmail.com>
7397
7398 * newcomment.el (comment-search-backward): Stricter in finding
7399 comment start. (Bug#14303)
7400
7401 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7402 (octave-comment-start-skip): Properly anchored.
7403
e219dd97
LL
74042013-05-17 Leo Liu <sdl.web@gmail.com>
7405
fe1eb856
RS
7406 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7407 Clean up when turned off. (Bug#14395)
e219dd97
LL
7408 (smie--highlight-matching-block-overlay): No longer buffer-local.
7409 (smie-highlight-matching-block): Adjust.
7410
dc5dcb4b
PE
74112013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7412
7413 Doc string fix for "nanoseconds" (Bug#14406).
7414 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7415 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7416
1db165f0
JB
74172013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7418
7419 * calc/calc-units.el (math-extract-units): Preserve powers
7420 of units.
7421
c7a8fcac
LL
74222013-05-17 Leo Liu <sdl.web@gmail.com>
7423
7424 * subr.el (delete-consecutive-dups): New function.
7425 * ido.el (ido-set-matches-1): Use it.
7426 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7427 * ido.el (ido-remove-consecutive-dups): Remove.
7428
f678b18a
SM
74292013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7432 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7433 regexp-opt's `words'.
7434
ebfe68e8
LL
74352013-05-16 Leo Liu <sdl.web@gmail.com>
7436
7437 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7438 (smie--highlight-matching-block-overlay)
7439 (smie--highlight-matching-block-lastpos)
7440 (smie--highlight-matching-block-timer): New variables.
7441 (smie-highlight-matching-block): New function.
7442 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7443 (smie-setup): Conditionally enable smie-blink-matching-open.
7444
bc8bc17d
WS
74452013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7446
7447 Sync with upstream verilog-mode r840.
7448 * progmodes/verilog-mode.el (verilog-mode-version)
7449 (verilog-mode-release-date): Update.
7450 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7451 (verilog-sig-tieoff): Fix string error on
7452 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7453 (verilog-read-decls): Fix parameters confusing
7454 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7455
df065a0b
EZ
74562013-05-16 Eli Zaretskii <eliz@gnu.org>
7457
7458 * subr.el (reveal-filename): New function.
7459
7460 * loadup.el: Compute Emacs executable versions on MS-Windows,
7461 where executables have the .exe extension. Add a hard link
7462 emacs-XX.YY.ZZ.exe on MS-Windows.
7463
7464 * Makefile.in (XARGS_LIMIT): New variable.
7465 (custom-deps, finder-data, autoloads)
7466 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7467 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7468 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7469 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7470
2d4bf34b
LL
74712013-05-16 Leo Liu <sdl.web@gmail.com>
7472
7473 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7474 (octave-mode-menu, octave-mode-map): Remove its uses.
7475
6b9c2d85
RZ
74762013-05-16 Reto Zimmermann <reto@gnu.org>
7477
7478 Sync with upstream vhdl mode v3.34.2.
7479 * progmodes/vhdl-mode.el: Use `push' throughout.
7480 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7481 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7482 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7483 (vhdl-actual-generic-name): New option to derive actual generic name.
7484 (vhdl-port-paste-signals): Replace formal by actual generics.
7485 (vhdl-beautify): New name for old group vhdl-align. Update users.
7486 (vhdl-beautify-options): New option.
7487 (vhdl-last-input-event): New compat alias. Use throughout.
7488 (vhdl-goto-line): Replace user level function `goto-line'.
7489 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7490 vhdl-fix-statement-buffer.
7491 (vhdl-create-mode-menu): Add some entries.
7492 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7493 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7494 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7495 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7496 to force statements on one line.
7497 (vhdl-remove-trailing-spaces-region):
7498 New, split from vhdl-remove-trailing-spaces.
7499 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7500 Respect vhdl-beautify-options.
7501 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7502 (vhdl-update-sensitivity-list): Not add with index if exists without.
7503 Not include array index with signal. Ignore keywords in comments.
7504 (vhdl-get-visible-signals): Regexp tweaks.
7505 (vhdl-template-component-inst): Handle empty library.
7506 (vhdl-template-type): Add template for 'enum' type.
7507 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7508 Use vhdl-replace-string.
7509 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7510 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7511 (vhdl-speedbar-initialize): Update for above name change.
7512 (vhdl-compose-wire-components): Fix in handling of constants.
7513 (vhdl-error-regexp-emacs-alist): New variable.
7514 (vhdl-error-regexp-add-emacs): New function;
7515 adds support for new compile.el (Emacs 22+)
7516 (vhdl-generate-makefile-1): Change target order for single lib. units.
7517 Allow use of absolute file names.
7518
9df4ec5e
LL
75192013-05-16 Leo Liu <sdl.web@gmail.com>
7520
7521 * simple.el (prog-indent-sexp): Indent enclosing defun.
7522
f5ba00a6
GM
75232013-05-15 Glenn Morris <rgm@gnu.org>
7524
ed8be7ff
GM
7525 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7526 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7527 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7528 (whitespace-highlight): Move to whitespace group.
7529
7530 * comint.el (comint-source):
7531 * pcmpl-linux.el (pcmpl-linux):
7532 * shell.el (shell-faces):
7533 * eshell/esh-opt.el (eshell-opt):
7534 * international/ccl.el (ccl): Remove empty custom groups.
7535
7536 * completion.el (dynamic-completion-mode):
7537 * jit-lock.el (jit-lock-debug-mode):
7538 * minibuffer.el (completion-in-region-mode):
7539 * type-break.el (type-break-mode-line-message-mode)
7540 (type-break-query-mode):
7541 * emulation/tpu-edt.el (tpu-edt-mode):
7542 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7543 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7544 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7545
7546 * term/xterm.el (xterm): Change parent group to terminals.
7547
7548 * master.el (master): Remove empty custom group.
7549 (master-mode): Remove unused :group argument.
7550 * textmodes/refill.el (refill): Remove empty custom group.
7551 (refill-mode): Remove unused :group argument.
7552
7553 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7554
82a7c41b
GM
7555 * cus-dep.el: Provide a feature.
7556 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7557 Don't mistakenly ignore files whose basenames match a basename
7558 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7559 Add a fallback method for getting :group.
f5ba00a6 7560
6d65486d
JL
75612013-05-15 Juri Linkov <juri@jurta.org>
7562
da547b32
JL
7563 * isearch.el (isearch-char-by-name): Rename from
7564 `isearch-insert-char-by-name'. Doc fix.
7565 (isearch-forward): Mention `isearch-char-by-name' in
7566 the docstring. (Bug#13348)
7567
6d65486d
JL
7568 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7569 `exit-minibuffer' instead of
7570 `isearch-nonincremental-exit-minibuffer'.
7571 (isearch-edit-string): Remove mention of
7572 `isearch-nonincremental-exit-minibuffer' from docstring.
7573 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7574 (isearch-forward-exit-minibuffer)
7575 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7576
c9990474
SM
75772013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7578
6e911150
SM
7579 * loadup.el: Just use unversioned DOC.
7580
c9990474
SM
7581 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7582 literals as extending to EOB.
7583 (nxml-last-fontify-end): Remove unused variable.
7584 (nxml-after-change1): Use with-silent-modifications.
7585 (nxml-extend-after-change-region): Simplify.
7586 (nxml-extend-after-change-region1): Remove function.
7587 (nxml-after-change1): Don't adjust for dependent regions.
7588 (nxml-fontify-matcher): Simplify.
7589 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7590 (xmltok-add-dependent): Remove function.
7591 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7592 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7593 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7594 unclosed <[[, <?, comment, and other literals as extending to EOB.
7595 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7596 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7597 Remove functions.
7598 (rng-do-some-validation-1): Don't mark dependent regions.
7599 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7600 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7601 (nxml-clear-dependent-regions): Remove functions.
7602 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7603 (nxml-ensure-scan-up-to-date):
7604 Don't clear&mark dependent regions.
7605
e3772e98
LL
76062013-05-15 Leo Liu <sdl.web@gmail.com>
7607
c9990474
SM
7608 * progmodes/octave.el (octave-goto-function-definition):
7609 Improve and fix callers.
e3772e98 7610
5ac2eb34
SM
76112013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7612
c46c57b0
SM
7613 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7614 the setter (bug#14387).
7615
5ac2eb34
SM
7616 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7617 surrounding group (bug#14402).
7618
180ed218
JL
76192013-05-14 Juri Linkov <juri@jurta.org>
7620
7621 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7622 (Bug#14390)
7623
0ac0fecb
GM
76242013-05-14 Glenn Morris <rgm@gnu.org>
7625
7626 * progmodes/f90.el (f90-imenu-generic-expression):
7627 Fix typo in 2013-05-08 change. (Bug#14402)
7628
2e78e6a7
JPG
76292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7630
5ac2eb34
SM
7631 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7632 Remove signals for which replies are never received.
2e78e6a7 7633
53267cca
JPG
76342013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7635
7636 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7637 (gdb-handler-alist, gdb-handler-number): Remove variables.
7638 (gdb-handler-list): New variable.
7639 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7640 (gdb-pending-handler-p, gdb-handle-reply)
7641 (gdb-remove-all-pending-triggers): New functions.
7642 (gdb-discard-unordered-replies): New defcustom.
7643 (gdb-handler): New defstruct.
7644 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7645 instead of gdb-pending-triggers. Update docstring.
7646 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7647 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7648 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7649 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7650 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7651 (gdb-frame-handler): Pending triggers are now automatically managed.
7652 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7653 Remove argument.
7654 (gdb-input): Automatically handles pending triggers. Update docstring.
7655 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7656 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7657 Update comments.
7658 (gdb-done-or-error): Now use gdb-handle-reply.
7659
d04ce803
JPG
76602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7661
7662 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7663 gdb-debug-log.
7664
0114073a
GM
76652013-05-14 Glenn Morris <rgm@gnu.org>
7666
7667 * subr.el (user-emacs-directory-warning): New option.
7668 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7669
4d25fd7e
LL
76702013-05-14 Leo Liu <sdl.web@gmail.com>
7671
7672 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7673 during redisplay.
7674 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7675 (octave-font-lock-texinfo-comment): Fix invalid search bound
7676 error: wrong side of point.
4d25fd7e 7677
27c8b6eb
GM
76782013-05-14 Glenn Morris <rgm@gnu.org>
7679
61aaeb01
GM
7680 * progmodes/flymake.el (flymake-xml-program): New option.
7681 (flymake-xml-init): Use it.
7682
5bf90bc5
GM
7683 * term/xterm.el: Provide a feature.
7684
7685 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7686
f4c7dfd2
GM
76872013-05-13 Glenn Morris <rgm@gnu.org>
7688
7689 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7690 Add compat aliases as a hack workaround. (Bug#14384)
7691
2aeb3a1d
LL
76922013-05-13 Leo Liu <sdl.web@gmail.com>
7693
b0e069c2
LL
7694 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7695 ###, and %!.
f5a9432f
LL
7696 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7697 C-M-q.
b0e069c2
LL
7698 (octave-comment-start-skip): Include %!.
7699 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7700
30ea8374
LL
77012013-05-12 Leo Liu <sdl.web@gmail.com>
7702
7703 * progmodes/octave.el (inferior-octave-startup): Store the value
7704 of __octave_srcdir__ for octave-source-directories.
7705 (inferior-octave-check-process): New function refactored out of
7706 inferior-octave-send-list-and-digest.
7707 (octave-source-directories)
7708 (octave-find-definition-filename-function): New variables.
7709 (octave-source-directories)
7710 (octave-find-definition-default-filename): New functions.
7711 (octave-find-definition): Improve to find functions implemented in C++.
7712
472a3834
GM
77132013-05-12 Glenn Morris <rgm@gnu.org>
7714
7715 * calendar/diary-lib.el (diary-outlook-format-1):
7716 Don't include dayname in the output. (Bug#14349)
7717
3191b52f
GM
77182013-05-11 Glenn Morris <rgm@gnu.org>
7719
0060ac73
GM
7720 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7721
3191b52f
GM
7722 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7723 Treat cc-provide like provide.
7724
e065ba74
KR
77252013-05-11 Kevin Ryde <user42@zip.com.au>
7726
7727 * cus-dep.el (custom-make-dependencies):
7728 Use generated-autoload-load-name for the sake of files such
7729 such cedet/semantic/bovine/c.el, where the base file name
7730 is not in load-path. (Bug#5277)
7731
36f84c37
GM
77322013-05-11 Glenn Morris <rgm@gnu.org>
7733
7734 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7735 Provide features.
7736
c8730c3a
LL
77372013-05-11 Leo Liu <sdl.web@gmail.com>
7738
7739 * progmodes/octave.el (octave-indent-comment): Improve.
7740 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7741 (octave-eldoc-function-signatures, octave-eldoc-function):
7742 New functions.
c8730c3a
LL
7743 (octave-mode, inferior-octave-mode): Add eldoc support.
7744
212e29f2
RS
77452013-05-11 Richard Stallman <rms@gnu.org>
7746
7747 * epa.el (epa-decrypt-file): Take output file name as argument
7748 and read it using `interactive'.
7749
083fe0d7
LL
77502013-05-11 Leo Liu <sdl.web@gmail.com>
7751
7752 * progmodes/octave.el (octave-beginning-of-line)
7753 (octave-end-of-line): Check before using up-list because it jumps
7754 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7755 (octave-indent-comment): New function.
7756 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7757 (octave-begin-keywords, octave-end-keywords)
7758 (octave-reserved-words, octave-smie-bnf-table)
7759 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7760
8582e4c4
GM
77612013-05-11 Glenn Morris <rgm@gnu.org>
7762
f20def1f
GM
7763 * faces.el (internal-face-x-get-resource):
7764 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7765 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7766 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7767 Fix declarations.
f20def1f 7768
445f95e2
GM
7769 * calc/calc-menu.el: Make it loadable in isolation.
7770
7771 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7772 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7773 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7774 (eudc-bbdb-query-internal): Require 'bbdb.
7775
99fb2756
GM
7776 * lpr.el (lpr-headers-switches):
7777 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7778
7779 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7780
0da7ad96
GM
7781 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7782
8582e4c4
GM
7783 * term.el (term-set-escape-char): Make it idempotent.
7784
f71c50d0
LL
77852013-05-10 Leo Liu <sdl.web@gmail.com>
7786
5ac2eb34
SM
7787 * progmodes/octave.el (inferior-octave-completion-table):
7788 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7789 completion due to bug#11906.
7790 (octave-beginning-of-defun): Re-write to be more general.
7791
d5837773
GM
77922013-05-10 Glenn Morris <rgm@gnu.org>
7793
7794 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7795
027c0f75
SM
77962013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * comint.el (comint-redirect-send-command-to-process): Use :around
7799 rather than :override for comint-redirect-filter.
7800 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7801 Call it instead of comint-redirect-original-filter-function (which
7802 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7803
4465bfb4
JD
78042013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7805
7806 * frame.el (display-monitor-attributes-list): Add NS case.
7807 (ns-display-monitor-attributes-list): Declare.
7808
2d809ffa 78092013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7810
7811 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7812
e54eeb9b
GM
78132013-05-09 Glenn Morris <rgm@gnu.org>
7814
56cd351d
GM
7815 * international/fontset.el (vertical-centering-font-regexp):
7816 Set standard-value.
7817
d84b6108
GM
7818 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7819
a931698a
GM
7820 * bookmark.el (bookmark-search-delay):
7821 * cus-start.el (vertical-centering-font-regexp):
7822 * ps-mule.el (ps-mule-font-info-database-default):
7823 * ps-print.el (ps-default-fg, ps-default-bg):
7824 * type-break.el (type-break-good-break-interval):
7825 * whitespace.el (whitespace-indentation-regexp)
7826 (whitespace-space-after-tab-regexp):
7827 * emacs-lisp/testcover.el (testcover-1value-functions)
7828 (testcover-noreturn-functions, testcover-progn-functions)
7829 (testcover-prog1-functions):
7830 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7831 * eshell/em-glob.el (eshell-glob-translate-alist):
7832 * play/tetris.el (tetris-tty-colors):
7833 * progmodes/cpp.el (cpp-face-default-list):
7834 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7835 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7836 (idlwave-help-browser-generic-args):
7837 * progmodes/make-mode.el (makefile-special-targets-list):
7838 * progmodes/python.el (python-shell-virtualenv-path):
7839 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7840 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7841 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7842 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7843 * textmodes/reftex-vars.el (reftex-format-label-function):
7844 * textmodes/remember.el (remember-diary-file): Fix custom types.
7845
e54eeb9b
GM
7846 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7847 Add :version.
7848
455851dd
LL
78492013-05-09 Leo Liu <sdl.web@gmail.com>
7850
7851 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7852 Restore file completion. (Bug#14300)
455851dd
LL
7853 (inferior-octave-startup): Fix incorrect highlighting for the
7854 first prompt.
7855
a9e4425b
SM
78562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * progmodes/ruby-mode.el: First cut at SMIE support.
7859 (ruby-use-smie): New var.
7860 (ruby-smie-grammar): New constant.
7861 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7862 (ruby-smie--forward-token, ruby-smie--backward-token)
7863 (ruby-smie-rules): New functions.
7864 (ruby-mode-variables): Setup SMIE if applicable.
7865
060ca408
EZ
78662013-05-08 Eli Zaretskii <eliz@gnu.org>
7867
7868 * simple.el (line-move-visual): Signal beginning/end of buffer
7869 only if vertical-motion moved less than it was requested. Avoids
7870 silly incorrect error messages when there are display strings with
7871 multiple newlines at EOL.
7872
1d5963cc
SM
78732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7876 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7877 (prolog-char-quote-workaround):
7878 * progmodes/cperl-mode.el (cperl-under-as-char):
7879 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7880 Mark as obsolete.
7881 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7882 their declaration.
7883 (vhdl-mode-syntax-table-init): Remove.
7884
c9990474
SM
7885 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7886 last change.
1d5963cc
SM
7887
7888 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7889 syntax for "_".
7890 (ld-script-font-lock-keywords):
7891 Change regexps to use things like \_< and \_>.
7892
7893 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7894 Change all regexps to use things like \_< and \_>.
7895
7896 * progmodes/autoconf.el (autoconf-definition-regexp)
7897 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7898 Handle a _ with symbol syntax.
7899 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7900
c9990474
SM
7901 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7902 Consolidate declaration.
1d5963cc
SM
7903 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7904 the declaration.
7905 (ada-create-syntax-table): Remove.
7906 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7907 already has the right syntax nowadays.
7908 (ada-goto-next-word): Don't change the syntax of "_".
7909
7910 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7911 with-wrapper-hook.
7912
72d3cfca
SS
79132013-05-08 Sam Steingold <sds@gnu.org>
7914
7915 * thingatpt.el (thing-at-point): Accept optional second argument
7916 NO-PROPERTIES to strip the text properties from the return value.
7917 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7918 to `thing-at-point' instead of stripping the properties ourselves.
7919 Also, when `thing-at-point' fails to find a url, prepend "http://"
7920 to the filename at point on the assumption that the user is
7921 pointing at something like gnu.org/gnu.
7922
5cb15713
JB
79232013-05-08 Juanma Barranquero <lekktu@gmail.com>
7924
7925 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7926 * faces.el (crm-separator):
7927 Silence byte-compiler.
7928
7929 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7930 (tool-bar-map): Remove unneeded defvars.
7931
ea78b95b
LL
79322013-05-08 Leo Liu <sdl.web@gmail.com>
7933
7934 Re-work a fix for bug#10994 based on Le Wang's patch.
7935 * ido.el (ido-remove-consecutive-dups): New helper.
7936 (ido-completing-read): Use it.
7937 (ido-chop): Revert fix for bug#10994.
7938
dc7466df
AS
79392013-05-08 Adam Spiers <emacs@adamspiers.org>
7940
7941 * cus-edit.el (custom-save-variables):
7942 Pretty-print long values. (Bug#14187)
7943
9ecf672a
GM
79442013-05-08 Glenn Morris <rgm@gnu.org>
7945
7946 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7947 (m4-mode-syntax-table): Init in the defvar.
7948 (m4-mode-abbrev-table): Let define-derived-mode define it.
7949
3f555be8
TT
79502013-05-08 Tom Tromey <tromey@redhat.com>
7951
7952 * progmodes/m4-mode.el (m4-mode-syntax-table):
7953 Do not treat "_" as word constituent. (Bug#14167)
7954
7cc8ae06
GM
79552013-05-07 Glenn Morris <rgm@gnu.org>
7956
4f58bc06
GM
7957 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7958 Remove explicit eshell-isearch-cancel-map.
7959
7cc8ae06
GM
7960 * progmodes/f90.el (f90-smart-end-names): New option.
7961 (f90-smart-end): Doc fix.
7962 (f90-end-block-optional-name): New constant.
7963 (f90-block-match): Respect f90-smart-end-names.
7964
ceb57e59
SM
79652013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7966
7967 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7968 about implicit semi-colons (bug#14218).
7969
4e3f9230
YM
79702013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7971
7972 * frame.el (display-monitor-attributes-list)
7973 (frame-monitor-attributes): New functions.
7974
203a5572
LL
79752013-05-06 Leo Liu <sdl.web@gmail.com>
7976
7977 * progmodes/octave.el (octave-syntax-propertize-function): Change
7978 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7979 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7980 (octave-completion-at-point): Rename from
203a5572
LL
7981 octave-completion-at-point-function.
7982 (inferior-octave-directory-tracker): Robustify.
7983 (octave-text-functions): Remove and fix its uses. No such things
7984 any more.
7985
ee6cff99
SM
79862013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * emacs-lisp/trace.el (trace--display-buffer): New function.
7989 (trace-make-advice): Use it.
7990
32985194
JL
79912013-05-06 Juri Linkov <juri@jurta.org>
7992
7993 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7994 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7995 Doc fix.
7996 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7997 in the help string. (Bug#12985)
7998
a1c700de
KD
79992013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8000
8001 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8002
c67c0839
SM
80032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8004
323885fd
SM
8005 * progmodes/perl-mode.el: Add support for here documents.
8006 (perl-syntax-propertize-function): Match here-doc markers.
8007 (perl-syntax-propertize-special-constructs): Find their end.
8008 (perl-imenu-generic-expression): Use [:alnum:].
8009
c67c0839
SM
8010 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8011 (advice--add-function): Refresh the advice if already present
8012 (bug#14317).
8013
d491e7a8
IA
80142013-05-06 Ivan Andrus <darthandrus@gmail.com>
8015
8016 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8017
ddf9925e
GM
80182013-05-06 Glenn Morris <rgm@gnu.org>
8019
7cc3af27
GM
8020 * w32-fns.el (w32-charset-info-alist): Declare.
8021
16e343d6
GM
8022 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8023 of its defcustom properties.
8024 (eshell-cmpl-initialize): No need to load pcomplete.
8025
7d889a47
GM
8026 * generic-x.el: No need to require comint when compiling.
8027
ddf9925e
GM
8028 * net/eudc-export.el: Make it loadable without bbdb.
8029 (top-level): Use require rather than load-library.
8030 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8031 (eudc-batch-export-records-to-bbdb)
8032 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8033 Require bbdb.
8034
1e2c18df
SM
80352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8036
8037 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8038 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8039 some tweaks, instead.
8040
02502a5f
LL
80412013-05-05 Leo Liu <sdl.web@gmail.com>
8042
8043 * progmodes/octave.el (octave-font-lock-keywords)
8044 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8045 (inferior-octave-send-list-and-digest): Improve error message.
8046 (octave-mode, inferior-octave-mode): Use setq-local.
8047 (octave-help): Set info-lookup-mode.
8048
0dc04f42
RS
80492013-05-05 Richard Stallman <rms@gnu.org>
8050
6c54491c
RS
8051 * vc/compare-w.el (compare-windows-whitespace):
8052 Treat no-break space as whitespace.
8053
0dc04f42
RS
8054 * mail/rmailsum.el (rmail-summary-rmail-update):
8055 Detect empty summary and don't change selected message.
8056 (rmail-summary-goto-msg): Likewise.
8057
df8f35df
RS
8058 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8059 Doc fixes, rename args.
8060
5356e1a3
AM
80612013-05-05 Alan Mackenzie <acm@muc.de>
8062
8063 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8064
d44014cb
JL
80652013-05-05 Juri Linkov <juri@jurta.org>
8066
8067 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8068 to not add the length of the summary segment to the return value.
8069 (Bug#14125)
8070
c129b51f
LL
80712013-05-05 Leo Liu <sdl.web@gmail.com>
8072
8073 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8074 (inferior-octave-output-filter): Remove.
8075 (octave-send-region, inferior-octave-startup): Fix callers.
8076 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8077 (octave-binary-file-extensions): New user variable.
8078 (octave-find-definition): Confirm if opening binary files.
8079 (octave-help-file): Use octave-find-definition to get the binary
8080 confirmation.
8081 (octave-help): Adjust for octave-help-file change.
8082
aa7dab97
SM
80832013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8086 Merge the two entries that handle function definitions.
8087 (pascal--syntax-propertize): New const.
8088 (pascal-mode): Use it. Use setq-local.
8089
fd3a9a6b
GM
80902013-05-04 Glenn Morris <rgm@gnu.org>
8091
8092 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8093 (diary-from-outlook): Respect diary-from-outlook-function.
8094
30c7e542
SM
80952013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8098 Move the declaration from C.
8099 (read-minibuffer, eval-minibuffer): Move from C.
8100 (completion-setup-function): Avoid minibuffer-completion-contents.
8101
b54f978b
LL
81022013-05-03 Leo Liu <sdl.web@gmail.com>
8103
8104 * progmodes/octave.el (octave-font-lock-keywords): Do not
8105 dehighlight 'end' in comments or strings.
30c7e542
SM
8106 (octave-completing-read, octave-goto-function-definition):
8107 New helpers.
d4d0f9b3
LL
8108 (octave-help-buffer): New user variable.
8109 (octave-help-file, octave-help-function): New button types.
8110 (octave-help): New command and bind it to C-h ;.
8111 (octave-find-definition): New command and bind it to M-.
d74a1581 8112 (user-error): Alias to error if not defined.
b54f978b 8113
27135018
LL
81142013-05-02 Leo Liu <sdl.web@gmail.com>
8115
8116 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8117 for \. (bug#14332)
8118 (octave-font-lock-keywords): Include [ and {.
8119
0d634d3a
LL
81202013-05-02 Leo Liu <sdl.web@gmail.com>
8121
8122 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8123 (inferior-octave): Remove calling comint-mode and return the buffer.
8124 (inferior-octave-startup): Cosmetic changes.
8125
b4c8295e
LL
81262013-05-02 Leo Liu <sdl.web@gmail.com>
8127
30c7e542
SM
8128 * progmodes/octave.el (octave-syntax-propertize-function):
8129 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8130
f12ad6ec
GM
81312013-05-02 Glenn Morris <rgm@gnu.org>
8132
8133 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8134 * desktop.el (vc-dir-mode): Just autoload it here.
8135
30cac1e0
AM
81362013-05-02 Alan Mackenzie <acm@muc.de>
8137
8138 Eliminate variable c-standard-font-lock-fontify-region-function.
8139 * progmodes/cc-mode.el
8140 (c-standard-font-lock-fontify-region-function): Remove.
8141 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8142
d8ef28b1
LL
81432013-05-01 Leo Liu <sdl.web@gmail.com>
8144
2640d52e 8145 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8146 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8147 variables were removed from Octave in 2007.
d8ef28b1
LL
8148 (inferior-octave-startup): Fix uses.
8149 (comint-line-beginning-position): Remove compatibility code for
8150 emacs 21.
8151
ac63ec89
JL
81522013-05-01 Juri Linkov <juri@jurta.org>
8153
8154 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8155
9e9be37c
JL
81562013-05-01 Juri Linkov <juri@jurta.org>
8157
8158 * comint.el (comint-previous-matching-input): Don't print message
8159 "History item: %d" when `isearch-mode' is active.
8160 (comint-history-isearch-message): Print message "History item: %d"
8161 when `comint-input-ring-index' is not empty and this function is
8162 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8163
9b92c13b
LL
81642013-05-01 Leo Liu <sdl.web@gmail.com>
8165
8166 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8167 definitions. Use completion-at-point to insert keywords.
8168 (octave-abbrev-start): Remove.
8169 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8170
b12d33d7
LL
81712013-04-30 Leo Liu <sdl.web@gmail.com>
8172
8173 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8174 change.
8175
3d1c39fa
AM
81762013-04-30 Alan Mackenzie <acm@muc.de>
8177
8178 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8179 * progmodes/cc-engine.el (c-back-over-member-initializers):
8180 new function.
3d1c39fa
AM
8181 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8182 (most) member init lists.
8183
5147fc17
RS
81842013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8185
8186 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8187 variable.
8188
5b78d7fc
LL
81892013-04-30 Leo Liu <sdl.web@gmail.com>
8190
8191 * progmodes/octave.el (octave-variables): Remove. No builtin
8192 variables any more. All converted to functions.
8193 (octave-font-lock-keywords, octave-completion-at-point-function):
8194 Fix uses.
8195 (octave-font-lock-texinfo-comment): New user variable.
8196 (octave-texinfo-font-lock-keywords): New variable for texinfo
8197 comment block.
8198 (octave-function-comment-block): New face.
8199 (octave-font-lock-texinfo-comment): New function.
8200 (octave-mode): Font lock texinfo comment block.
8201
38d8527b
LL
82022013-04-29 Leo Liu <sdl.web@gmail.com>
8203
8204 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8205 indexing expression.
8206 (octave-continuation-string): Do not use \.
8207 (inferior-octave-complete-impossible): Remove.
8208 (inferior-octave-completion-table)
8209 (inferior-octave-completion-at-point): Remove its uses.
8210 (inferior-octave-startup): completion_matches was introduced to
8211 Octave in 1996 so safe to assume it.
8212 (octave-function-file-comment): Improve to follow how Octave does it.
8213 (octave-update-function-file-comment): Tweak.
8214
2ec12cb0
LL
82152013-04-29 Leo Liu <sdl.web@gmail.com>
8216
8217 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8218 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8219 (octave-function-file-comment): Fix typo.
8220 (octave-sync-function-file-names): Use read-char-choice.
8221
6eaed048
JB
82222013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8223
8224 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8225 to t for the less important warnings.
8226
3ffa2d4f
DH
82272013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8228
8229 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8230
685c9501
GM
82312013-04-27 Glenn Morris <rgm@gnu.org>
8232
8233 * vc/log-view.el (log-view-current-entry):
8234 Treat "---" separator lines as part of the following rev. (Bug#14169)
8235
0208ede7
JL
82362013-04-27 Juri Linkov <juri@jurta.org>
8237
8238 * subr.el (read-number): Doc fix about using it by interactive
8239 code letter `n'. (Bug#14254)
8240
5db9dace
JL
82412013-04-27 Juri Linkov <juri@jurta.org>
8242
8243 * desktop.el (desktop-auto-save-timeout): New option.
8244 (desktop-file-checksum): New variable.
8245 (desktop-save): Add optional arg `auto-save' and don't auto-save
8246 if nothing changed.
8247 (desktop-auto-save-timer): New variable.
8248 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8249 (after-init-hook): Call `desktop-auto-save-set-timer'.
8250 Suggested by Reuben Thomas <rrt@sc3d.org> in
8251 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8252
b7260dd4
LL
82532013-04-27 Leo Liu <sdl.web@gmail.com>
8254
8255 * progmodes/octave.el (octave-function-file-p)
8256 (octave-skip-comment-forward, octave-function-file-comment)
8257 (octave-update-function-file-comment): New functions.
8258 (octave-mode-map): Bind C-c ; to
8259 octave-update-function-file-comment.
8260 (octave-mode-menu): Add octave-update-function-file-comment.
8261 (octave-mode, inferior-octave-mode): Fix doc-string.
8262 (octave-insert-defun): Conform to Octave's coding convention.
8263 (Bug#14285)
8264
8265 * files.el (basic-save-buffer): Don't let errors in
8266 before-save-hook prevent saving buffer.
8267
c46da669
RW
82682013-04-20 Roland Winkler <winkler@gnu.org>
8269
8270 * faces.el (read-face-name): Use completing-read if arg multiple
8271 is nil.
8272
a81ee1eb
IL
82732013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8274
8275 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8276 displayed, move point to after the totals line.
8277 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8278 for the details.
8279
4fac34ce
SM
82802013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8283 Add current dir to the load-path.
8284 (package-generate-autoloads): Don't rely on
8285 autoload-ensure-default-file.
8286
f6bfc063
RT
82872013-04-26 Reuben Thomas <rrt@sc3d.org>
8288
d40ab5cf
BG
8289 * textmodes/remember.el (remember-store-in-files): Document that
8290 the file name format is passed to `format-time-string'.
f6bfc063 8291
e55d3b04
LL
82922013-04-26 Leo Liu <sdl.web@gmail.com>
8293
8294 * progmodes/octave.el (octave-sync-function-file-names): New function.
8295 (octave-mode): Use it in before-save-hook.
8296
e53052d3
SM
82972013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8298
140ef50c
SM
8299 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8300 (bug#14274).
8301
e53052d3
SM
8302 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8303 \n and comment, even if it's not an implicit ; (bug#14218).
8304
af80458d 83052013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8306
8307 * subr.el (read-number): Once more use `read' rather than
8308 `string-to-number', to trap non-numeric input. (Bug#14254)
8309
af80458d 83102013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8311
8312 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8313 Use `syntax-multiline' text property consistently instead of
8a621d53 8314 `font-lock-multiline'. (Bug#14237)
70203c2e 8315
e6ea1f6c
GM
83162013-04-26 Glenn Morris <rgm@gnu.org>
8317
8318 * emacs-lisp/shadow.el (list-load-path-shadows):
8319 No longer necessary to check for duplicate simple.el, since
8320 2012-07-07 change to init_lread to not include installation lisp
8321 directories in load-path when running uninstalled. (Bug#14270)
8322
070ccca4
LL
83232013-04-26 Leo Liu <sdl.web@gmail.com>
8324
8325 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8326 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8327 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8328 octave-in-string-or-comment-p.
8329 (octave-in-comment-p, octave-in-string-p)
8330 (octave-in-string-or-comment-p): Replace defsubst with defun.
8331
9d1c5fb6
PE
83322013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8333
8334 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8335
c034abda
BG
83362013-04-25 Bastien Guerry <bzg@gnu.org>
8337
8338 * textmodes/remember.el (remember-data-directory)
8339 (remember-directory-file-name-format): Fix custom types.
8340
584ea277
LL
83412013-04-25 Leo Liu <sdl.web@gmail.com>
8342
e53052d3
SM
8343 * progmodes/octave.el (octave-completion-at-point-function):
8344 Make use of inferior octave process.
584ea277
LL
8345 (octave-initialize-completions): Remove.
8346 (inferior-octave-completion-table): New function.
8347 (inferior-octave-completion-at-point): Use it.
8348 (octave-completion-alist): Remove.
8349
1693b06a
SM
83502013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8353 (opascal-mode-syntax-table): New var.
8354 (opascal-literal-kind, opascal-is-literal-end)
8355 (opascal-literal-token-at): Rewrite.
8356 (opascal--literal-start-re, opascal-font-lock-keywords)
8357 (opascal--syntax-propertize): New constants.
8358 (opascal-font-lock-defaults): Adjust.
8359 (opascal-mode): Use them. Set comment-<foo> variables as well.
8360 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8361 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8362 (delphi-other-face, opascal-other-face): Remove face variables.
8363 (opascal-save-state): Remove macro.
8364 (opascal-fontifying-progress-step): Remove constant.
8365 (opascal--ignore-changes): Remove var.
8366 (opascal-set-token-property, opascal-parse-next-literal)
8367 (opascal-is-stable-literal, opascal-complete-literal)
8368 (opascal-is-literal-start, opascal-face-of)
8369 (opascal-parse-region, opascal-parse-region-until-stable)
8370 (opascal-fontify-region, opascal-after-change)
8371 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8372 (opascal-debug-parse-region, opascal-debug-parse-window)
8373 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8374 (opascal-debug-fontify-buffer): Remove.
8375 (opascal-debug-mode-map): Adjust accordingly.
8376
be64c05d
LL
83772013-04-25 Leo Liu <sdl.web@gmail.com>
8378
8379 Merge octave-mod.el and octave-inf.el into octave.el with some
8380 cleanups.
8381 * progmodes/octave.el: New file renamed from octave-mod.el.
8382 * progmodes/octave-inf.el: Merged into octave.el.
8383 * progmodes/octave-mod.el: Renamed to octave.el.
8384
d79d37bd
TH
83852013-04-25 Tassilo Horn <tsdh@gnu.org>
8386
8387 * textmodes/reftex-vars.el
8388 (reftex-label-ignored-macros-and-environments): New defcustom.
8389
8390 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8391
ced3fc5d
SM
83922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8395 (smie-indent-keyword): Improve the check to ensure that the next
8396 comment is really on the same line.
8397 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8398
8399 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8400 semi-colons if the line is not otherwise empty (bug#14218).
8401
1c141dad
GM
84022013-04-25 Glenn Morris <rgm@gnu.org>
8403
8404 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8405
5058062a
SM
84062013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * progmodes/opascal.el (opascal-set-token-property): Rename from
8409 opascal-set-text-properties and only set `token' (bug#14134).
8410 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8411 (opascal-literal-text-properties): Remove.
8412 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8413 Adjust callers.
8414
5db9dace 84152013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8416
8417 * textmodes/remember.el (remember-handler-functions): Add an
8418 option for a new handler `remember-store-in-files'.
8419 (remember-data-directory, remember-directory-file-name-format):
8420 New options.
8421 (remember-store-in-files): New function to store remember notes
8422 as separate files within a directory.
8423
4391916c
MH
84242013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8425
8426 * progmodes/compile.el (compilation-next-error-function):
8427 Pass "formats" to compilation-find-file (bug#11777).
8428
bb7cdf58
GM
84292013-04-24 Glenn Morris <rgm@gnu.org>
8430
3b8fe752 8431 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8432 * vc/vc-hg.el (vc-hg-print-log):
8433 * vc/vc-svn.el (vc-svn-print-log):
8434 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8435
bb7cdf58
GM
8436 * vc/vc-bzr.el (vc-bzr-print-log):
8437 * vc/vc-cvs.el (vc-cvs-print-log):
8438 * vc/vc-git.el (vc-git-print-log):
8439 * vc/vc-hg.el (vc-hg-print-log):
8440 * vc/vc-mtn.el (vc-mtn-print-log):
8441 * vc/vc-rcs.el (vc-rcs-print-log):
8442 * vc/vc-sccs.el (vc-sccs-print-log):
8443 * vc/vc-svn.el (vc-svn-print-log):
8444 * vc/vc.el (vc-print-log-internal): Doc fixes.
8445
b46a056e
GM
84462013-04-23 Glenn Morris <rgm@gnu.org>
8447
8448 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8449 Remove venerable code attempting to avoid substitute-command-keys.
8450
0aecf718
TH
84512013-04-23 Tassilo Horn <tsdh@gnu.org>
8452
4391916c
MH
8453 * textmodes/reftex-vars.el (reftex-label-regexps):
8454 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8455
117f94cf
SM
84562013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8457
4391916c 8458 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8459 Use lexical-binding.
8460 (jit-lock-force-redisplay): Use markers, check buffer's continued
8461 existence and beware narrowed buffers.
8462 (jit-lock-fontify-now): Adjust call accordingly.
8463
1d829c64
SM
84642013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8467 to avoid misleading the user.
8468
72d548a9
LL
84692013-04-22 Leo Liu <sdl.web@gmail.com>
8470
8471 * info-look.el: Prefer latex2e.info. (Bug#14240)
8472
d0853629
MA
84732013-04-22 Michael Albinus <michael.albinus@gmx.de>
8474
8475 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8476
8477 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8478 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8479 (tramp-set-completion-function, tramp-parse-putty):
8480 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8481 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8482 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8483 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8484 (tramp-call-local-coding-command): Use `tramp-call-process'
8485 instead of `tramp-compat-call-process'.
8486
8487 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8488 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8489 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8490 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8491 (tramp-maybe-send-script): Check for Perl binary.
8492 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8493
38cc0210
DU
84942013-04-22 Daiki Ueno <ueno@gnu.org>
8495
8496 * epg.el (epg-context-pinentry-mode): New function.
8497 (epg-context-set-pinentry-mode): New function.
8498 (epg--start): Pass --pinentry-mode option to gpg command.
8499
cc641ee1
XF
85002013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8501
02d844b5 8502 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8503 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8504 `completion-at-point'. (Bug#13774)
5d4e5c31 8505
cc641ee1
XF
8506 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8507 default key binding for `describe-distribution' has been moved to
8508 `C-h C-o'. (Bug#13970)
8509
1b42ee43
GM
85102013-04-21 Glenn Morris <rgm@gnu.org>
8511
8512 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8513 Add doc strings.
8514 (vc-print-log): Clarify interactive prompt.
8515
a6d63d97
GM
85162013-04-20 Glenn Morris <rgm@gnu.org>
8517
8518 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8519 No longer include timestamp etc information.
8520
d7f5c16f
RW
85212013-04-20 Roland Winkler <winkler@gnu.org>
8522
8523 * faces.el (read-face-name): Bug fix, return just one face if arg
8524 multiple is nil. (Bug#14209)
8525
bcd7a0a4
SM
85262013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8529 (remove-function): Autoload.
8530
8531 * comint.el (comint-redirect-original-filter-function): Remove.
8532 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8533 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8534 (vc-cvs-annotate-command):
bcd7a0a4
SM
8535 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8536 * progmodes/prolog.el (prolog-consult-compile):
8537 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8538 Use add/remove-function instead.
8539 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8540 (gud-tooltip-process-output, gud-tooltip-tips):
8541 Use add/remove-function instead.
8542 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8543 (scheme-interaction-mode, exit-scheme-interaction-mode):
8544 Use add/remove-function instead.
8545
8546 * vc/vc-dispatcher.el: Use lexical-binding.
8547 (vc--process-sentinel): Rename from vc-process-sentinel.
8548 Change last arg to be the code to run. Don't use vc-previous-sentinel
8549 and vc-sentinel-commands any more.
8550 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8551 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8552
e36b2d20 85532013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8554
bcd7a0a4 8555 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8556 Handle function names with a single character. (Bug#14111)
4d3268ba 8557
781b4af6 85582013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8559
8560 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8561 for subroutines defined in an eval (bug#14182).
8562
7d688336
TV
85632013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8564
8565 * bookmark.el (bookmark-completing-read): Improve handling of empty
8566 string (bug#14176).
8567
31dcede0
SM
85682013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8571
adc31213
FEG
85722013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8573
8574 New faster Imenu implementation (bug#14058).
8575 * progmodes/python.el:
8576 (python-imenu-prev-index-position):
8577 (python-imenu-format-item-label-function)
8578 (python-imenu-format-parent-item-label-function)
8579 (python-imenu-format-parent-item-jump-label-function):
8580 New vars.
8581 (python-imenu-format-item-label)
8582 (python-imenu-format-parent-item-label)
8583 (python-imenu-format-parent-item-jump-label)
8584 (python-imenu--put-parent, python-imenu--build-tree)
8585 (python-imenu-create-index, python-imenu-create-flat-index)
8586 (python-util-popn): New functions.
8587 (python-mode): Set imenu-create-index-function to
8588 python-imenu-create-index.
8589
cdca8255
SM
85902013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * winner.el (winner-active-region): Use region-active-p, activate-mark
8593 and deactivate-mark (bug#14225).
8594
8595 * simple.el (deactivate-mark): Don't inline it.
8596
beb42340
MA
85972013-04-18 Michael Albinus <michael.albinus@gmx.de>
8598
8599 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8600
fc7f4d7e
TH
86012013-04-18 Tassilo Horn <tsdh@gnu.org>
8602
8603 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8604 file extensions from the archive-mode entry in order to prefer
8605 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8606
29f47822
LL
86072013-04-18 Leo Liu <sdl.web@gmail.com>
8608
8609 * bindings.el (help-event-list): Add ?\?.
8610
d36ed1c8
SM
86112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * subr.el (with-wrapper-hook): Declare obsolete.
8614 * simple.el (filter-buffer-substring-function): New hook.
8615 (filter-buffer-substring): Use it.
8616 (filter-buffer-substring-functions): Mark obsolete.
8617 * minibuffer.el (completion-in-region-function): New hook.
8618 (completion-in-region): Use it.
8619 (completion-in-region-functions): Mark obsolete.
8620 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8621 * abbrev.el (abbrev-expand-function): New hook.
8622 (expand-abbrev): Use it.
8623 (abbrev-expand-functions): Mark obsolete.
8624 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8625 and :filter-return.
8626
04754d36
FEG
86272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8628
8629 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8630 and do not care about match data.
8631
dd8791e9
SM
86322013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8635 completion tables when completing error conditions and
8636 `declare' arguments.
8637 (lisp-complete-symbol, field-complete): Mark as obsolete.
8638 (check-parens): Unmatched parens are user errors.
8639 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8640
ffe54a13
AM
86412013-04-17 Michal Nazarewicz <mina86@mina86.com>
8642
dd8791e9
SM
8643 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8644 command changed buffer (ie. `flyspell-pre-buffer' is not current
8645 buffer), which prevents making decisions based on invalid value of
8646 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8647 cause an error when `flyspell-pre-point' was nil after switching
8648 buffers.
8649 (flyspell-post-command-hook): No longer needs to change buffers when
8650 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8651
ec7e39f2
AM
86522013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8653
8654 * textmodes/ispell.el (ispell-add-per-file-word-list):
8655 Fix `flyspell-correct-word-before-point' error when accepting
8656 words and `coment-padding' is an integer by using
8657 `comment-normalize-vars' (Bug #14214).
8658
083850a6
FEG
86592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8660
8661 New defun movement commands.
8662 * progmodes/python.el (python-nav--syntactically)
8663 (python-nav--forward-defun, python-nav-backward-defun)
8664 (python-nav-forward-defun): New functions.
8665
619ed6e1
FEG
86662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8667
8668 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8669 (python-syntax-context): Use named compiler-macro for backwards
8670 compatibility with Emacs 24.x.
8671
7a1beb6c
LL
86722013-04-17 Leo Liu <sdl.web@gmail.com>
8673
8674 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8675 octave-hide-process-buffer.
8676
2d3fa3e5
SM
86772013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8680 (bug#14216).
8681
7ce5be54
JPG
86822013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8683
8684 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8685 Fix adjustment of offset when receiving incomplete responses from GDB
8686 (bug#14129).
8687
351edece
SM
86882013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8691 python-mode-abbrev-table.
8692 (python-skeleton-define): Adjust accordingly.
8693 (python-mode-abbrev-table): New table that inherits from it so that
8694 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8695
8696 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8697 (abbrev-symbol): Use it.
8698 (abbrev--before-point): Use it since we already handle inheritance.
8699
613f9481
LL
87002013-04-16 Leo Liu <sdl.web@gmail.com>
8701
8702 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8703 binding to info-lookup-symbol.
8704
51646b62
JB
87052013-04-16 Juanma Barranquero <lekktu@gmail.com>
8706
8707 * minibuffer.el (completion--twq-all):
8708 * term/ns-win.el (ns-initialize-window-system):
8709 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8710
efb3f01d
SM
87112013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8712
36c0a301
SM
8713 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8714 global bindings.
8715
efb3f01d
SM
8716 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8717
fb549d64
DG
87182013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8719
8720 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8721 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8722 to nil.
8723 (ruby-end-of-defun): Remove the unused arg, change the docstring
8724 to reflect that this function is only used as the value of
8725 `end-of-defun-function'.
8726 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8727 to reflect an earlier change that beginning/end-of-defun functions
8728 jump between methods in a class definition, as well as top-level
8729 functions.
8730
21e8fe2f
SM
87312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * minibuffer.el (minibuffer-complete): Don't just scroll
8734 a *Completions* that's been iconified.
8735 (minibuffer-force-complete): Make sure repetitions do cycle when going
8736 through completion-in-region -> minibuffer-complete.
8737
20e527d0
AM
87382013-04-15 Alan Mackenzie <acm@muc.de>
8739
8740 Correct the placement of c-cpp-delimiters when there're #s not at
8741 col 0.
8742
8743 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8744 place a submatch around the #.
21e8fe2f
SM
8745 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8746 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8747 on the #, not BOL.
8748
dabefae5
SM
87492013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8750
8751 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8752 (advice--member-p): New arg `name'.
8753 (advice--add-function, advice-member-p): Use it (bug#14202).
8754
85c9ab64
AM
87552013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8756
8757 Reformulate java imenu-generic-expression.
8758 The old expression contained ill formed regexps.
8759
8760 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8761 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8762 (cc-imenu-java-method-arg-regexp): New defconsts.
8763 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8764 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8765 handling of spaces in the regexp.
8766
0f821d99
AM
87672013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8768
8769 * textmodes/ispell.el (ispell-command-loop): Remove
8770 flyspell highlight of a word when ispell accepts it (bug #14178).
8771
eb922adf
MA
87722013-04-15 Michael Albinus <michael.albinus@gmx.de>
8773
8774 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8775 uses code from the previous `ange-ftp-run-real-handler'.
8776 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8777 only in case that function exist. This is needed for proper
8778 unloading of Tramp.
8779
4d9a0979
TH
87802013-04-15 Tassilo Horn <tsdh@gnu.org>
8781
8782 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8783
8784 * textmodes/reftex.el (reftex-compile-variables): Use it.
8785
a829b0dc
SM
87862013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8787
91e8293c
SM
8788 * files.el (normal-mode): Only use default major-mode if no other mode
8789 was specified.
8790
830aed4d
SM
8791 * emacs-lisp/trace.el (trace-values): New function.
8792
a829b0dc
SM
8793 * files.el: Allow : in local variables (bug#14089).
8794 (hack-local-variable-regexp): New var.
8795 (hack-local-variables-prop-line, hack-local-variables): Use it.
8796
7ae9f0fb
RW
87972013-04-13 Roland Winkler <winkler@gnu.org>
8798
8799 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8800 data before it gets modified by bibtex-beginning-of-entry.
8801
6646e848
RW
88022013-04-13 Roland Winkler <winkler@gnu.org>
8803
8804 * textmodes/bibtex.el (bibtex-url): Doc fix.
8805
88062013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8807
8808 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8809 does not visit a BibTeX file, exclude it from the list of buffers
8810 returned by bibtex-initialize.
8811
0aa3616e
SB
88122013-04-13 Stephen Berman <stephen.berman@gmx.net>
8813
8814 * window.el (split-window): Remove interactive form, since as a
8815 command this function is a special case of split-window-below.
8816 Correct doc string.
8817
011cddd6
RW
88182013-04-12 Roland Winkler <winkler@gnu.org>
8819
8820 * faces.el (read-face-name): Do not override value of arg default.
8821 Allow single faces and strings as default values. Remove those
8822 elements from return value that are not faces.
8823 (describe-face): Simplify.
8824 (face-at-point): New optional args thing and multiple so that this
8825 function can provide the same functionality previously provided by
8826 read-face-name.
8827 (make-face-bold, make-face-unbold, make-face-italic)
8828 (make-face-unitalic, make-face-bold-italic, invert-face)
8829 (modify-face, read-face-and-attribute): Use face-at-point.
8830
8831 * cus-edit.el (customize-face, customize-face-other-window)
8832 * cus-theme.el (custom-theme-add-face)
8833 * face-remap.el (buffer-face-set)
8834 * facemenu.el (facemenu-set-face): Use face-at-point.
8835
f24e0036
MA
88362013-04-12 Michael Albinus <michael.albinus@gmx.de>
8837
8838 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8839
da3cda2d
TH
88402013-04-10 Tassilo Horn <tsdh@gnu.org>
8841
8842 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8843 off leading { and trailing } from field values.
8844
15e54145
SM
88452013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8846
78ce603d
SM
8847 * emacs-lisp/timer.el (timer--check): New function.
8848 (timer--time, timer-set-function, timer-event-handler): Use it.
8849 (timer-set-idle-time): Simplify.
8850 (timer--activate): CSE.
8851 (timer-event-handler): Give more info in error message.
8852 (internal-timer-start-idle): New function, moved from C.
8853
15e54145
SM
8854 * mpc.el (mpc-proc): Add `restart' argument.
8855 (mpc-proc-cmd): Use it.
8856 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8857 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8858 less often.
8859
7144c627
MY
88602013-04-10 Masatake YAMATO <yamato@redhat.com>
8861
8862 * progmodes/sh-script.el: Implement `sh-mode' own
8863 `add-log-current-defun-function' (bug#14112).
8864 (sh-current-defun-name): New function.
8865 (sh-mode): Use the function.
8866
b39792eb
BG
88672013-04-09 Bastien Guerry <bzg@gnu.org>
8868
8869 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8870
8acdeb71
SM
88712013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8872
6fcdab68
SM
8873 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8874
8acdeb71
SM
8875 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8876 timer (bug#14156).
8877
e3e7b504
NF
88782013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8879
8880 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8881 declaration.
8882
201bb296
LL
88832013-04-07 Leo Liu <sdl.web@gmail.com>
8884
8885 * pcmpl-x.el: New file.
8886
ebb19708
DA
88872013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8888
8889 Do not set x-display-name until X connection is established.
8890 This is needed to prevent from weird situation described at
8891 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8892 * frame.el (make-frame): Set x-display-name after call to
8893 window system initialization function, not before.
8894 * term/x-win.el (x-initialize-window-system): Add optional
8895 display argument and use it.
8896 * term/w32-win.el (w32-initialize-window-system):
8897 * term/ns-win.el (ns-initialize-window-system):
8898 * term/pc-win.el (msdos-initialize-window-system):
8899 Add compatible optional display argument.
8900
33bb237a
EZ
89012013-04-06 Eli Zaretskii <eliz@gnu.org>
8902
8903 * files.el (normal-backup-enable-predicate): On MS-Windows and
8904 MS-DOS compare truenames of temporary-file-directory and of the
8905 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8906 don't fail comparison by compare-strings. Also, compare file
8907 names case-insensitively on MS-Windows and MS-DOS.
8908
134abf1f
SM
89092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8912 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8913
d695cb94
DG
89142013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8915
e3e7b504
NF
8916 * whitespace.el (whitespace-color-on, whitespace-color-off):
8917 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8918
f4ad7ea1 89192013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8920
8921 * ispell.el (ispell-set-spellchecker-params):
8922 Really set `ispell-args' for all equivs.
8923
632556e4
SM
89242013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * ido.el (ido-completions): Use extra elements of ido-decorations
8927 (bug#14143).
8928 (ido-decorations): Update docstring.
8929
2a417372
MA
89302013-04-05 Michael Albinus <michael.albinus@gmx.de>
8931
8932 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8933 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8934 nil during initialization, in order not to miss changes since the
8935 file was opened. (Bug#14140)
8936
fc164b0c
LL
89372013-04-05 Leo Liu <sdl.web@gmail.com>
8938
8939 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8940
0ccecc08
JB
89412013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8942
8943 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8944
51af1aa2
GM
89452013-04-04 Glenn Morris <rgm@gnu.org>
8946
8947 * electric.el (electric-pair-inhibit-predicate): Add :version.
8948
b208ebc6
SM
89492013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8952 when a package is required several times (bug#14082).
8953
f3d3eaf0
RW
89542013-04-04 Roland Winkler <winkler@gnu.org>
8955
8956 * faces.el (read-face-name): Behave as promised by the docstring.
8957 Assume that arg default is a list of faces.
8958 (describe-face): Call read-face-name with list of default faces.
8959
2575da50
TV
89602013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8961
8962 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8963 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8964 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8965 the header.
8966 (bookmark-exit-hook-internal): Save even if list is empty.
8967
397703b4
YH
89682013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8969
8970 * emacs-lisp/package.el (package-pinned-packages): New var.
8971 (package--add-to-archive-contents): Obey it (bug#14118).
8972
691e26ae
AM
89732013-04-03 Alan Mackenzie <acm@muc.de>
8974
8a621d53
JB
8975 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8976 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8977
8978 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8979 parameter `not-in-delimiter'. Handle being inside comment opener.
8980 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8981 character in case we're typing a '*' after a '/'.
8982 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8983 instead by passing the parameter to c-state-pp-to-literal.
8984
8985 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8986 for elt. 7 of a parse state.
8987
4b725a70
PE
89882013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8989
8990 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8991 * international/latin1-disp.el, international/mule-util.el:
8992 * language/cyril-util.el, language/european.el, language/ind-util.el:
8993 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8994 * language/tibetan.el, language/viet-util.el:
8995 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8996
15c579f0
SM
89972013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9000 (electric-pair-post-self-insert-function): Use it.
9001 (electric-pair-default-inhibit): New function, extracted from
9002 electric-pair-post-self-insert-function.
9003
a77e2924
RW
90042013-03-31 Roland Winkler <winkler@gnu.org>
9005
9006 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9007
2bd8a4a8
SM
90082013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9011
8d3655be 90122013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9013
9014 Un-indent after "pass" and "return" statements (Bug#13888)
9015 * progmodes/python.el (python-indent-block-enders): New var.
9016 (python-indent-calculate-indentation): Use it.
9017
8d3655be 90182013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9019
9020 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9021 defun. Defining it as defalias could introduce too eager
9022 byte-compiler optimization. (Bug#14030)
9023
8d3655be 90242013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9025
9026 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9027
0b1619da
LL
90282013-03-30 Leo Liu <sdl.web@gmail.com>
9029
9030 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9031 (kmacro-execute-from-register): Pass the keyboard macro to
9032 kmacro-call-macro or repeating won't work correctly.
9033
0b938190
TZ
90342013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9035
9036 * progmodes/subword.el: Back to using `forward-symbol'.
9037
9038 * subr.el (forward-whitespace, forward-symbol)
9039 (forward-same-syntax): Move from thingatpt.el.
9040
35710234
LL
90412013-03-29 Leo Liu <sdl.web@gmail.com>
9042
9043 * kmacro.el (kmacro-to-register): New command.
9044 (kmacro-execute-from-register): New function.
9045 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9046
efc0bb73
SM
90472013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * mpc.el: Use defvar-local and setq-local.
9050 (mpc--proc-connect): Connection failures are not bugs.
9051 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9052 (mpc-volume-map): Bind to the up-events.
9053
75a2f981
TZ
90542013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9055
9056 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9057 instead of `forward-symbol'.
9058
17c781d1
SM
90592013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9062 (edebug--recursive-edit): Use it.
9063 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9064 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9065
f67bfbcf
LL
90662013-03-28 Leo Liu <sdl.web@gmail.com>
9067
9068 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9069
b59f639d
EZ
90702013-03-27 Eli Zaretskii <eliz@gnu.org>
9071
9072 * facemenu.el (list-colors-callback): New defvar.
9073 (list-colors-redisplay): New function.
9074 (list-colors-display): Install list-colors-redisplay as the
9075 revert-buffer-function. (Bug#14063)
9076
f557c1b1
SM
90772013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9078
b1da2957
SM
9079 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9080 and suffixes don't overlap (bug#14061).
9081
f557c1b1
SM
9082 * case-table.el: Use lexical-binding.
9083 (case-table-get-table): New function.
9084 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9085
002668e1
TZ
90862013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9087
9088 * progmodes/subword.el: Add `superword-mode' to do word motion
9089 over symbol_words (parallels and leverages `subword-mode' which
9090 does word motion inside MixedCaseWords).
9091
73572c72
AG
90922013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9093
78b8f320 9094 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9095 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9096
69b2c07e
SM
90972013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9100 Change return value to be a sexp. Delay `get-buffer' to after
9101 restoring the desktop (bug#13951).
9102
08bb5ee2
LL
91032013-03-26 Leo Liu <sdl.web@gmail.com>
9104
9105 * register.el: Move semantic tag handling back to
9106 cedet/semantic/senator.el. (Bug#14052)
9107
8d4c974e
SM
91082013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9111 into the prompt either (bug#13963).
9112
b234d92c
SM
91132013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9116 part of "(error-foo)".
9117
ddfa3cb4
JL
91182013-03-24 Juri Linkov <juri@jurta.org>
9119
9120 * replace.el (list-matching-lines-prefix-face): New defcustom.
9121 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9122 `occur-engine' if `face-differs-from-default-p' returns t.
9123 (occur-engine): Add `,' inside backquote construct to evaluate
9124 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9125 Pass `prefix-face' to the functions `occur-context-lines' and
9126 `occur-engine-add-prefix'.
9127 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9128 `prefix-face' and propertize the prefix with `prefix-face'.
9129 (Bug#14017)
9130
7b0e2f85
LL
91312013-03-24 Leo Liu <sdl.web@gmail.com>
9132
9133 * nxml/rng-valid.el (rng-validate-while-idle)
9134 (rng-validate-quick-while-idle): Guard against deleted buffer.
9135 (Bug#13999)
9136
9137 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9138 is the last entry in kill-buffer-hook.
9139
9140 * files.el (kill-buffer-hook): Doc fix.
9141
b3082f49
DG
91422013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9143
b234d92c
SM
9144 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9145 Make it safe-local.
bde73d27 9146
b3082f49
DG
9147 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9148
a320a2db
LL
91492013-03-23 Leo Liu <sdl.web@gmail.com>
9150
7e74b0fb
LL
9151 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9152 Remove.
9153
9154 * nxml/rng-valid.el (rng-validate-mode)
9155 (rng-after-change-function, rng-do-some-validation):
9156 * nxml/rng-maint.el (rng-validate-buffer):
9157 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9158 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9159 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9160 (nxml-extend-after-change-region): Use with-silent-modifications.
9161
a320a2db
LL
9162 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9163 timer-idle-list.
9164
9165 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9166 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9167 timer-idle-list. (Bug#13999)
9168
e38e6780
JL
91692013-03-23 Juri Linkov <juri@jurta.org>
9170
9171 * info.el (info-index-match): New face.
9172 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9173 main pattern and add text properties with the new face to matches
9174 in index entries relative to the beginning of the index entry.
9175 (Bug#14015)
9176
e8cc7880
DE
91772013-03-21 Eric Ludlam <zappo@gnu.org>
9178
9179 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9180 Inhibit read only while inserting objects.
9181
9bb0d822
TZ
91822013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9183
9184 * progmodes/cfengine.el: Update docs to mention
9185 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9186 symbol motion. Remove "_" from the word syntax.
9187
aa703640
TZ
91882013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9189
9190 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9191 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9192
afff09d0
JL
91932013-03-20 Juri Linkov <juri@jurta.org>
9194
9195 * info.el (Info-next-reference-or-link)
9196 (Info-prev-reference-or-link): New functions.
9197 (Info-next-reference, Info-prev-reference): Use them.
9198 (Info-try-follow-nearest-node): Handle footnote navigation.
9199 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9200
9a1ff164
SM
92012013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9204 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9205
2667d15d
PE
92062013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9207
9208 Suppress unnecessary non-ASCII chatter during build process.
9209 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9210 (batch-skkdic-convert): Suppress most of the chatter.
9211 It's not needed so much now that machines are faster,
9212 and its non-ASCII component was confusing; see Dmitry Gutov in
9213 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9214
438b0579
LL
92152013-03-20 Leo Liu <sdl.web@gmail.com>
9216
9217 * ido.el (ido-chop): Fix bug#10994.
9218
c128ab07
DG
92192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9220
9221 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9222 Remove vars.
9a1ff164
SM
9223 (whitespace-color-on, whitespace-color-off):
9224 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9225
0e6008c5
SM
92262013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9229 remapping in mode-line.
9230 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9231
627b52b0
DG
92322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9233
9234 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9235 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9236 (whitespace-font-lock-keywords): Change description.
9237 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9238 the constructed keywords instead.
9239 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9240
50c3a20b
LL
92412013-03-19 Leo Liu <sdl.web@gmail.com>
9242
9243 * progmodes/compile.el (compilation-display-error): New command.
9244 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9245 C-o. (Bug#13992)
9246
2aa2157b
PE
92472013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9248
9249 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9250
e477dbfa
JD
92512013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9252
9253 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9254
64ab82d1
MA
92552013-03-18 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9258
9259 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9260 * net/tramp-gvfs.el (top):
9261 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9262 (tramp-handle-shell-command): Use it.
9263 (tramp-dissect-file-name): Raise an error when hostname is a
9264 method name, and neither method nor user is specified.
9265
9266 * net/trampver.el: Update release number.
9267
33cef733
LL
92682013-03-18 Leo Liu <sdl.web@gmail.com>
9269
9270 Make sure eldoc can be turned off properly.
9271 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9272 eldoc-mode.
9273 (eldoc-display-message-p): Revert last change.
9274 (eldoc-display-message-no-interference-p)
9275 (eldoc-print-current-symbol-info): Tweak.
9276
2167b7b2
TH
92772013-03-18 Tassilo Horn <tsdh@gnu.org>
9278
9279 * doc-view.el (doc-view-new-window-function): Check the new window
9280 overlay's display property instead the char property of the
9281 buffer's first char. Use `with-selected-window' instead of
9282 `save-window-excursion' with `select-window'.
9283 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9284 display property instead the char property of the buffer's first char.
2167b7b2 9285
982efbcd
PE
92862013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9287
9288 Automate the build of ja-dic.el (Bug#13984).
9289 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9290 from the input, rather than assume that it's been done for us by the
9291 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9292 the current date into a ja-dic.el comment, as that complicates
9293 regression testing.
9294
2fcc7665
SM
92952013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * whitespace.el: Fix double evaluation.
9298 (whitespace-space, whitespace-hspace, whitespace-tab)
9299 (whitespace-newline, whitespace-trailing, whitespace-line)
9300 (whitespace-space-before-tab, whitespace-indentation)
9301 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9302 obsolete defvars.
9303 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9304 (whitespace-color-on): Use a single font-lock-add-keywords call.
9305 Fix double-evaluation of face variables.
9306
67c0a6e6
MA
93072013-03-17 Michael Albinus <michael.albinus@gmx.de>
9308
2fcc7665
SM
9309 * net/tramp-adb.el (tramp-adb-parse-device-names):
9310 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9311 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9312
69489f1d
LL
93132013-03-17 Leo Liu <sdl.web@gmail.com>
9314
9315 Extend eldoc to display info in the mode-line. (Bug#13978)
9316 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9317 (eldoc-mode-line-string): New variable.
9318 (eldoc-minibuffer-message): New function.
9319 (eldoc-message-function): New variable.
9320 (eldoc-message): Use it.
9321 (eldoc-display-message-p)
2fcc7665
SM
9322 (eldoc-display-message-no-interference-p):
9323 Support eldoc-post-insert-mode.
69489f1d
LL
9324
9325 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9326 (eval-expression): Run it.
9327
9c44569e
RW
93282013-03-17 Roland Winkler <winkler@gnu.org>
9329
9330 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9331 strings in the list of return values.
9332
327f1f6f
JB
93332013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9334
9335 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9336 radix before checking for HMS forms.
9337
67ed8fcd
LL
93382013-03-16 Leo Liu <sdl.web@gmail.com>
9339
9340 * progmodes/scheme.el: Add indentation and font-locking for λ.
9341 (Bug#13975)
9342
78be8b64 93432013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9344
9345 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9346 token before point (bug#13942).
9347
78be8b64 93482013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9349
95b43468 9350 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9351
98e775e6
EZ
93522013-03-16 Eli Zaretskii <eliz@gnu.org>
9353
9354 * startup.el (command-line-normalize-file-name): Fix handling of
9355 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9356 <xfq.free@gmail.com> in
9357 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9358
2edd6029
MA
93592013-03-15 Michael Albinus <michael.albinus@gmx.de>
9360
9361 Sync with Tramp 2.2.7.
9362
9363 * net/trampver.el: Update release number.
9364
d35f5864
TH
93652013-03-14 Tassilo Horn <tsdh@gnu.org>
9366
e903c210 9367 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9368 (doc-view-insert-image): Don't modify overlay associated to
9369 non-live windows, and implement horizontal centering of image in
9370 case it's smaller than the window.
9371 (doc-view-new-window-function): Force redisplay of new windows on
9372 doc-view buffers.
d35f5864 9373
1c4a85ed
KF
93742013-03-13 Karl Fogel <kfogel@red-bean.com>
9375
9376 * saveplace.el (save-place-alist-to-file): Don't sort
9377 `save-place-alist', just pretty-print it (bug#13882).
9378
85b66a21
MA
93792013-03-13 Michael Albinus <michael.albinus@gmx.de>
9380
a020afb9
JB
9381 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9382 Check whether `default-file-name-coding-system' is bound.
9383 It isn't in XEmacs.
85b66a21 9384
175600da
SM
93852013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9386
e7f7cb1a
SM
9387 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9388 backquotes for `obsolete' (bug#13929).
9389
175600da
SM
9390 * international/mule.el (find-auto-coding): Include file name in
9391 obsolescence warning (bug#13922).
9392
ca68a22e
TZ
93932013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9394
9395 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9396 for CFEngine 3-specific indentation.
9397 (cfengine3-indent-line): Use it. Fix up category regex.
9398 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9399
940e5099
SM
94002013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * type-break.el (type-break-file-name):
9403 * textmodes/remember.el (remember-data-file):
9404 * strokes.el (strokes-file):
9405 * shadowfile.el (shadow-initialize):
9406 * saveplace.el (save-place-file):
9407 * ps-bdf.el (bdf-cache-file):
9408 * progmodes/idlwave.el (idlwave-config-directory):
9409 * net/quickurl.el (quickurl-url-file):
9410 * international/kkc.el (kkc-init-file-name):
9411 * ido.el (ido-save-directory-list-file):
9412 * emulation/viper.el (viper-custom-file-name):
9413 * emulation/vip.el (vip-startup-file):
9414 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9415 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9416
cc725808
PE
94172013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9418
9419 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9420 * language/thai-word.el: Switch to UTF-8.
9421
a020afb9 9422See ChangeLog.16 for earlier changes.
e3d51b27
MR
9423
9424;; Local Variables:
9425;; coding: utf-8
e3d51b27
MR
9426;; End:
9427
ab422c4d 9428 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9429
9430 This file is part of GNU Emacs.
9431
9432 GNU Emacs is free software: you can redistribute it and/or modify
9433 it under the terms of the GNU General Public License as published by
9434 the Free Software Foundation, either version 3 of the License, or
9435 (at your option) any later version.
9436
9437 GNU Emacs is distributed in the hope that it will be useful,
9438 but WITHOUT ANY WARRANTY; without even the implied warranty of
9439 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9440 GNU General Public License for more details.
9441
9442 You should have received a copy of the GNU General Public License
9443 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.