* lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d8c4f18a
BB
12013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2
3 * helpers.el: New library for misc helper functions.
4 (hash-table-keys): New function returning a list of hash keys.
5 (hash-table-values): New function returning a list of hash values.
6
dca01b09
DG
72013-11-04 Dmitry Gutov <dgutov@yandex.ru>
8
9 * progmodes/ruby-mode.el (ruby-smie--forward-token)
10 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
11
0a749fa0
MN
122013-11-04 Michal Nazarewicz <mina86@mina86.com>
13
14 * textmodes/fill.el (fill-single-char-nobreak-p): New function
15 checking whether point is after a 1-letter word.
16
172013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
18
19 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
20 Don't infloop when expanding region over `multiline' syntax-type that
21 begins a line (bug#15778).
22
4aca7145
SM
232013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
26 Make it into a proper minor mode.
27 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
28 (rectangle-mark-mode-map): New keymap.
29 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
30
a0833f62
GM
312013-11-04 Glenn Morris <rgm@gnu.org>
32
33 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
34
e61845c1
SM
352013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
38 (ruby-smie-rules): Use smie-rule-parent instead.
39
40 * emacs-lisp/smie.el (smie-rule-parent): Always call
41 smie-indent-virtual rather than only for hanging tokens.
42 (smie--next-indent-change): New helper command.
43
62942f89
GM
442013-11-03 Glenn Morris <rgm@gnu.org>
45
46 * Makefile.in (abs_srcdir): Remove.
47 (emacs): Unset EMACSLOADPATH.
48
b0b9e592
GM
492013-11-02 Glenn Morris <rgm@gnu.org>
50
18ba6a33 51 * Makefile.in (EMACS): Use a relative filename.
8061810d 52 (abs_top_builddir): Remove.
18ba6a33
GM
53 (custom-deps, finder-data, autoloads): Use --chdir.
54
6a8b929e
GM
55 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
56
c617f3d0
GM
57 Use relative filenames in TAGS files.
58 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
59 (lisptagsfiles4, TAGS): Use relative file names.
60 (TAGS-LISP): Remove.
61 (maintainer-clean): No more TAGS-LISP file.
62
b0b9e592
GM
63 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
64 (lisptagsfiles4): Use absolute filenames again.
65 (TAGS, TAGS-LISP): Not everything needs to run in one line.
66 Remove all *loaddefs files, not just the first. Remove esh-groups.
67 (maintainer-clean): Delete TAGS, TAGS-LISP.
68
d1c0ea6a
BB
692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
70
e61845c1
SM
71 * emacs-lisp/package.el (package-version-join):
72 Recognize snapshot versions.
d1c0ea6a 73
684d71c6
BB
742013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
75
76 * subr.el (version-regexp-alist): Add support for snapshot versions.
77
3d42b968
DG
782013-11-02 Dmitry Gutov <dgutov@yandex.ru>
79
e61845c1
SM
80 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
81 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
82 skip over our direct parent if it's an assignment token..
83 (ruby-smie-rules): Use it.
84
7ffd3721
DG
852013-11-02 Dmitry Gutov <dgutov@yandex.ru>
86
87 * progmodes/ruby-mode.el Use `syntax-propertize-function'
88 unconditionally. Remove now unnecessary forward declarations.
89 Remove XEmacs-specific setup.
90 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
91 (ruby-font-lock-syntactic-keywords)
92 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
93 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
94 (ruby-here-doc-end-syntax): Remove.
95 (ruby-mode): Don't check whether `syntax-propertize-rules' is
96 defined as function.
97
a3996a2e
BB
982013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
99
100 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
101
6f9260e8
BB
1022013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
103
104 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
105 table and abbrev table, `define-derived-mode' does that for us
106 anyway.
107
6014de84
GM
1082013-11-01 Glenn Morris <rgm@gnu.org>
109
110 * Makefile.in: Remove manual mh-e dependencies (writing .elc
111 files is atomic for some time, so no parallel compilation issues).
112
3c334c14
JD
1132013-11-01 Jan Djärv <jan.h.d@swipnet.se>
114
115 * faces.el (face-x-resources): Add :distant-foreground.
116 (region): Use :distant-foreground for gtk and ns.
117
9bc236c8
TH
1182013-11-01 Tassilo Horn <tsdh@gnu.org>
119
5246583b 120 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
121 BibTeX.
122 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
123 (reftex-locate-bibliography-files): Us it.
124
d14c81ee
CB
1252013-11-01 Claudio Bley <claudio.bley@googlemail.com>
126
0e7690de
CB
127 * image.el (image-type-header-regexps): Fix the 'pbm' part to
128 allow comments in pbm files.
129
d14c81ee
CB
130 * term/w32-win.el (dynamic-library-alist): Support newer versions
131 of libjpeg starting with v7: look only for the DLL from the
132 version against which Emacs was built.
ac1bf374 133 Support versions of libpng beyond 1.4.x.
019c8218 134 Support libtiff v4.x.
d14c81ee 135
983d0df5
BB
1362013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
137
138 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
139 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
140 Add property :safe.
141 (ruby-deep-arglist): Add property :type.
142
47f58d85
GM
1432013-10-31 Glenn Morris <rgm@gnu.org>
144
145 * Makefile.in (custom-deps, finder-data): No need to setq the target
146 variables, we are in the right directory and the defaults work fine.
147
4f85b479
GM
1482013-10-30 Glenn Morris <rgm@gnu.org>
149
ca7dd4cd
GM
150 * Makefile.in (autoloads): Do not use abs_lisp.
151
4f85b479
GM
152 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
153 `newline' does not respect `standard-output', so use `princ'.
154
cf59e41c
AA
1552013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
156
157 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
158 * buff-menu.el (Buffer-menu--unmark): New function.
159 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
160
74cf04fb
GM
1612013-10-30 Glenn Morris <rgm@gnu.org>
162
b040b60e
GM
163 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
164
f53d3815
GM
165 * emacs-lisp/package.el (lm-homepage): Declare.
166
5413d873
GM
167 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
168 Fix doc typos.
169
cecedb36
GM
170 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
171
74cf04fb
GM
172 * Makefile.in (finder-data, autoloads, update-subdirs)
173 (compile-main, compile-clean, compile-always, bootstrap-clean):
174 Check return value of cd.
175 (compile-calc): Remove.
176
195ee2f0
SM
1772013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
178
ae4002ce
SM
179 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
180
181 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
182 (byte-compile-and-folded): New function.
183 (=, <, >, <=, >=): Use it.
184
185 * dos-w32.el (minibuffer-history-case-insensitive-variables)
186 (path-separator, null-device, buffer-file-coding-system)
187 (lpr-headers-switches): Check system-type before modifying them.
188 (find-buffer-file-type-coding-system): Mark obsolete.
189 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
190 find-file-not-found-set-buffer-file-coding-system.
191 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
192 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
193 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
194 (w32-direct-print-region-helper, w32-direct-print-region-function)
195 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
196 * startup.el (normal-top-level-add-subdirs-to-load-path):
197 * ps-print.el (ps-print-region-function):
198 * lpr.el (print-region-function): Use new name.
199
53b39e89
SM
200 * subr.el (custom-declare-variable-early): Remove function.
201 (custom-declare-variable-list): Remove var.
202 (error, user-error): Remove `while' loop.
203 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
204 (user-emacs-directory-warning, locate-user-emacs-file):
205 Move to files.el.
206 * simple.el (read-quoted-char-radix, read-quoted-char):
207 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
208 Move from subr.el.
209 * custom.el (custom-declare-variable-list): Don't process
210 custom-declare-variable-list.
211
195ee2f0
SM
212 * progmodes/python.el (python-shell-get-buffer): New function.
213 (python-shell-get-process): Use it.
214 (python-shell-send-string): Always use utf-8 and add a cookie to tell
215 Python which encoding was used. Don't split-string since we only care
216 about the first line. Return the temp-file, if applicable.
217 (python-shell-send-region): Tell compile.el how to turn locations in
218 the temp-file into locations in the source buffer.
219
7e3561ee
SM
2202013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
221
4c9797cb
SM
222 * subr.el (undefined): Add missing behavior from the C code for
223 unbound keys.
224
3472b6c6
SM
225 * rect.el: Use lexical-binding. Add new rectangular region support.
226 (rectangle-mark): New command.
227 (rectangle--region): New var.
228 (deactivate-mark-hook): Reset rectangle--region.
229 (rectangle--extract-region, rectangle--insert-for-yank)
230 (rectangle--highlight-for-redisplay)
231 (rectangle--unhighlight-for-redisplay): New functions.
232 (region-extract-function, redisplay-unhighlight-region-function)
233 (redisplay-highlight-region-function): Use them to handle
234 rectangular region.
235 * simple.el (region-extract-function): New var.
236 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
237 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
238 (kill-region): Replace obsolete `yank-handler' arg with `region'.
239 (copy-region-as-kill, kill-ring-save): Add `region' argument.
240 (redisplay-unhighlight-region-function)
241 (redisplay-highlight-region-function): New vars.
242 (redisplay--update-region-highlight): New function.
243 (pre-redisplay-function): Use it.
244 (exchange-point-and-mark): Don't deactivate the mark before
245 reactivate-it anyway.
246 * comint.el (comint-kill-region): Remove yank-handler argument.
247 * delsel.el (delete-backward-char, backward-delete-char-untabify)
248 (delete-char): Remove property, since it's now part of their
249 default behavior.
250 (self-insert-iso): Remove property since this command doesn't exist.
251
7e3561ee
SM
252 * emacs-lisp/package.el (package--download-one-archive)
253 (describe-package-1): Don't query the user about final newline.
254
b9bef71f
DC
2552013-10-29 Daniel Colascione <dancol@dancol.org>
256
257 * net/tramp.el (tramp-methods): Document new functionality.
258 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
259 tramp-hostname-checker if method provides one instead of scanning
260 argument list for "%h" to decide hostname acceptability.
261
4efc33f0
MA
2622013-10-28 Michael Albinus <michael.albinus@gmx.de>
263
264 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
265 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
266 Handle COPY-CONTENTS. (Bug#15737)
267
ed42a877
DU
2682013-10-28 Daiki Ueno <ueno@gnu.org>
269
270 * epa-file.el
7e3561ee
SM
271 (epa-file-cache-passphrase-for-symmetric-encryption):
272 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 273
18c9f8a2
XF
2742013-10-27 Xue Fuqiao <xfq.free@gmail.com>
275
7a4bc7be
XF
276 * image.el (defimage):
277 (image-load-path): Doc fixes.
18c9f8a2 278
b1e8e010
AM
2792013-10-27 Alan Mackenzie <acm@muc.de>
280
281 Indent statements in macros following "##" correctly.
7e3561ee
SM
282 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
283 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 284
73d40d1e 2852013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
286
287 * linum.el (linum-update-window): Fix boundary test (bug#13446).
288
c8c605ac
DG
2892013-10-27 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
292 after `=' is probably a new expression.
293
ca7e59d4
RS
2942013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
295
296 * man.el (man-imenu-title): New option.
297 (Man-mode-map): Add menu. (Bug#15722)
298 (Man-mode): Add imenu to menu.
299
bae91342
DG
3002013-10-26 Dmitry Gutov <dgutov@yandex.ru>
301
302 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
303 specific in what the first arg can be: a non-keyword word,
304 string/regexp/percent literal opener, opening paren, or unary
305 operator followed directly by word.
306
eb89dc14
SM
3072013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
310 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
311 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
312 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
313 Remove vars, they do not apply any more.
314 (prolog-mode-abbrev-table): Remove redundant declaration.
315 (prolog-upper-case-string, prolog-lower-case-string): Remove.
316 (prolog-use-smie): Remove.
317 (prolog-smie-rules): Add indentation rule for the if-then-else layout
318 supported by prolog-electric-if-then-else-flag.
319 (prolog-mode-variables, prolog-menu): Use setq-local.
320 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
321 Remove binding to `Backspace' since this key doesn't exist anyway.
322 Remove bindings for electric self-inserting keys.
323 (prog-mode): Assume it's defined.
324 (prolog-post-self-insert): New function.
325 (prolog-mode): Use it.
326 (prolog-indent-line, prolog-indent-level)
327 (prolog-find-indent-of-matching-paren)
328 (prolog-indentation-level-of-line, prolog-goto-comment-column)
329 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
330 (prolog-goto-next-paren, prolog-in-string-or-comment)
331 (prolog-tokenize, prolog-inside-mline-comment)
332 (prolog-find-start-of-mline-comment): Remove functions.
333 (prolog-find-unmatched-paren, prolog-clause-end)
334 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
335 (prolog-electric--if-then-else): Rename from
336 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
337 (prolog-tokenize-searchkey): Remove const.
338 (prolog-clause-info): Use forward-sexp.
339 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
340 (prolog-electric-if-then-else): Remove commands.
341 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
342 for use in post-self-insert-hook.
343 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
344 for use in post-self-insert-hook.
345 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
346 for use in post-self-insert-hook.
347 (prolog-electric--underscore): Rename from prolog-electric--underscore;
348 adapt it for use in post-self-insert-hook.
349
3dab0a83
MA
3502013-10-25 Michael Albinus <michael.albinus@gmx.de>
351
352 * emacs-lisp/ert.el (ert-run-tests-interactively):
353 Use `completing-read'. (Bug#9756)
354
fbfd0e1d
EZ
3552013-10-25 Eli Zaretskii <eliz@gnu.org>
356
357 * simple.el (line-move): Call line-move-1 instead of
358 line-move-visual when the current window hscroll is zero, but
359 temporary-goal-column indicates we will need to hscroll as result
360 of the movement. (Bug#15712)
361
963ce636
DG
3622013-10-25 Dmitry Gutov <dgutov@yandex.ru>
363
364 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
365 capitalization. Use :visible instead of :active.
366 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
367 commands that are used with SMIE.
368 (ruby-do-end-to-brace): Insert space after `{'.
369
a0be396a
JA
3702013-10-25 John Anthony <john@jo.hnanthony.com>
371
f73754c9
JA
372 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
373
374 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 375
f5bf77df
GM
3762013-10-25 Glenn Morris <rgm@gnu.org>
377
378 * vc/vc.el (vc-print-log): Don't use a working revision unless
379 one was explicitly specified. (Bug#15322)
380
37241f62
SM
3812013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * subr.el (add-to-list): Preserve return value in compiler-macro
384 (bug#15692).
385
6408a65d
RS
3862013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
387
388 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
389 result. Ask user to retry using '-all' flag. (Bug#15701)
390
71e3276b
SM
3912013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * emacs-lisp/smie.el: New smie-config system.
394 (smie-config): New defcustom.
395 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
396 (smie-config-guess, smie-config-save): New commands.
397 (smie-config--mode-local, smie-config--buffer-local)
398 (smie-config--trace, smie-config--modefuns): New vars.
399 (smie-config--advice, smie-config--mode-hook)
400 (smie-config--setter, smie-config-local, smie-config--get-trace)
401 (smie-config--guess-value, smie-config--guess): New functions.
402 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
403 text properties. Treat "string fence" syntax like string syntax.
404
405 * progmodes/sh-script.el (sh-use-smie): Change default.
406 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
407 (sh-var-value): Simplify by CSE.
408 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
409 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
410 is used.
411 (sh-guess-basic-offset): Use cl-incf.
412 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
413
60db713e
HE
4142013-10-24 Helmut Eller <eller.helmut@gmail.com>
415
416 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
417 (bug#15699).
418
8b251df6
GM
4192013-10-24 Glenn Morris <rgm@gnu.org>
420
421 * Makefile.in (abs_top_srcdir): Remove.
422 (update-subdirs): Use relative path to update-subdirs.
423
6be0e22b
EZ
4242013-10-24 Eli Zaretskii <eliz@gnu.org>
425
426 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
427 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
428 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
429 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 430
50b5b857
MA
4312013-10-24 Michael Albinus <michael.albinus@gmx.de>
432
433 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
434 (ert-test-skipped): New error.
435 (ert-skip, ert-stats-skipped): New defuns.
436 (ert--skip-unless): New macro.
437 (ert-test-skipped): New struct.
438 (ert--run-test-debugger, ert-test-result-type-p)
439 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
440 (ert--stats-set-test-and-result, ert-char-for-test-result)
441 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 442 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 443 Handle skipped tests. (Bug#9803)
50b5b857 444
6f317c2f
GM
4452013-10-24 Glenn Morris <rgm@gnu.org>
446
e43817c1
GM
447 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
448
6f317c2f
GM
449 * Makefile.in (abs_top_srcdir): New, set by configure.
450 (update-subdirs): Correct build-aux location.
451
369bbf71
DG
4522013-10-24 Dmitry Gutov <dgutov@yandex.ru>
453
8297b2cf
DG
454 * vc/vc.el (vc-print-root-log): Always set `default-directory'
455 value, whether we could auto-deduce `backend', or not.
456
369bbf71
DG
457 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
458 with parameters" example. Simplify the "is it block or is it
459 hash" check, but also make it more thorough.
460
d5f1282f
MF
4612013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
462
463 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
464
bc4aaa31
SM
4652013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
466
03d44565
SM
467 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
468 { if it is hanging.
469
bc4aaa31
SM
470 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
471 :before ";".
472
f493ff19
JB
4732013-10-23 Jed Brown <jed@59A2.org> (tiny change)
474
475 * progmodes/compile.el (compilation-directory-matcher)
476 (compilation-page-delimiter):
477 Support GNU Make-4.0 directory quoting. (Bug#15678)
478
c744a3b9
LL
4792013-10-23 Leo Liu <sdl.web@gmail.com>
480
481 * ido.el (ido-tidy): Handle read-only text.
482
b8e3b0a9
GM
4832013-10-23 Glenn Morris <rgm@gnu.org>
484
485 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
486 (emacs, compile, compile-always):
487 Quote entities that might contain whitespace.
488 (custom-deps, finder-data, autoloads): Use abs_lisp.
489 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
490 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
491 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
492
ee4282cd
DG
4932013-10-23 Dmitry Gutov <dgutov@yandex.ru>
494
bc4aaa31
SM
495 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
496 Use `following-char'.
7790a270 497
ee4282cd 4982013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
499
500 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
501 * progmodes/ruby-mode.el (ruby-smie-rules):
502 Remove corresponding workaround. Fix indentation rule of ";" so it
503 also applies when ";" is the parent.
504
d40a46d7
XF
5052013-10-22 Xue Fuqiao <xfq.free@gmail.com>
506
507 * frame.el (display-screens, display-pixel-height)
508 (display-pixel-width, display-mm-width, display-backing-store)
509 (display-save-under, display-planes, display-color-cells)
7790a270
SM
510 (display-visual-class, display-monitor-attributes-list):
511 Mention the optional ‘display’ argument in doc strings.
d40a46d7 512
a0f143c9
MG
5132013-10-22 Michael Gauland <mikelygee@amuri.net>
514
515 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
516 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
517
18cacc39
DG
5182013-10-21 Dmitry Gutov <dgutov@yandex.ru>
519
520 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
521 TODO. Add "." after " @ ".
522 (ruby-smie--at-dot-call): New function. Checks if point at method
523 call with explicit target.
524 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
525 to the method name tokens when it precedes them.
526 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
527 (ruby-smie-rules): Add rule for indentation before and after "."
528 token.
529
df74c4be
SM
5302013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
531
c6dab55f
SM
532 * textmodes/remember.el (remember-diary-extract-entries):
533 Avoid add-to-list.
534
df74c4be
SM
535 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
536 an instruction.
537
8c1ae481
DG
5382013-10-21 Dmitry Gutov <dgutov@yandex.ru>
539
cfef16c0
DG
540 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
541 (ruby-smie--implicit-semi-p): Add new operator chars.
542
8c1ae481
DG
543 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
544 `smie-down-list'.
545 (ruby-smie--args-separator-p): Check that there's no newline
546 between method call and its arguments.
547
87756ca9
AM
5482013-10-20 Alan Mackenzie <acm@muc.de>
549
550 Allow comma separated lists after Java "implements".
551
df74c4be
SM
552 * progmodes/cc-engine.el (c-backward-over-enum-header):
553 Parse commas.
87756ca9
AM
554 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
555 from a "disallowed" list in enum fontification.
556
c25f8957
JB
5572013-10-20 Johan Bockgård <bojohan@gnu.org>
558
df74c4be 559 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 560
c25f8957
JB
561 * progmodes/verilog-mode.el (verilog-mode): Don't set
562 comment-indent-function globally.
563
aca5fcdc
JD
5642013-10-20 Jan Djärv <jan.h.d@swipnet.se>
565
5f161884
JD
566 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
567 Move Info menu item creation to ns-win.el.
568
569 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
570 in menu bar.
571
aca5fcdc
JD
572 * menu-bar.el: Move GNUStep specific menus...
573
574 * term/ns-win.el (ns-initialize-window-system): ... to here.
575
914b7f98
SM
5762013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
577
578 * simple.el (newline): Only run post-self-insert-hook when
579 called interactively.
580
846ffe77
JB
5812013-10-19 Johan Bockgård <bojohan@gnu.org>
582
583 * icomplete.el (icomplete-with-completion-tables): Add :version.
584
033f22dd
AM
5852013-10-19 Alan Mackenzie <acm@muc.de>
586
587 Fix fontification bugs with constructors and const.
588
589 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
590 CASE 2) Remove the check for the absence of a suffix construct
591 after a function declaration with only types (no identifiers) in
592 the parentheses. Also, accept a function declaration with just a
593 type inside the parentheses, if this type can be positively
594 recognised as such, or if a prefix keyword like "explicit" nails
595 down the construct as a declaration.
596
58ce0cfc
EZ
5972013-10-19 Eli Zaretskii <eliz@gnu.org>
598
599 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
600 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
601 the problem whereby selecting a menu item that leads to a
602 minibuffer prompt moves the cursor out of the minibuffer window,
603 making it hard to type at the prompt. Suggested by Stefan Monnier
604 <monnier@iro.umontreal.ca>.
605
50e28e7d
JD
6062013-10-19 Jan Djärv <jan.h.d@swipnet.se>
607
608 * menu-bar.el: Don't make Services menu.
609
7deed4bf
RS
6102013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
611
612 * ffap.el: Handle "/usr/include/c++/<version>" directories.
613 (ffap-alist): Use ffap-c++-mode for c++-mode.
614 (ffap-c++-path): New variable.
615 (ffap-c++-mode): New function.
616
7bcb455b
JVJ
6172013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
618
619 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
620
f0ff1cd5
MA
6212013-10-18 Michael Albinus <michael.albinus@gmx.de>
622
623 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
624 introduced on 2013-09-08, which results in an infinite loop
625 requesting a password.
626
d64da4b7
GM
6272013-10-18 Glenn Morris <rgm@gnu.org>
628
629 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
630
ea89ff08
WS
6312013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
632
633 Sync with upstream verilog-mode revision 1a6ecec7.
634 * progmodes/verilog-mode.el (verilog-mode-version): Update.
635 (verilog-mode-release-date): Remove.
636 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
637 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
638 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
639 (verilog-auto-tieoff-ignore-regexp)
640 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
641 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
642 (verilog-signals-with, verilog-dir-cache-preserving)
643 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
644 Doc fixes.
645 (verilog-case-fold): New option, to control case folding in
646 regexp searches, bug597.
647 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
648 (verilog-string-match-fold, verilog-in-paren-count)
649 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
650 (verilog-at-close-struct-p): New functions.
651 (verilog-beg-block-re-ordered, verilog-extended-case-re)
652 (verilog-forward-sexp, verilog-set-auto-endcomments):
653 (verilog-leap-to-case-head): Handle "unique0" case.
654 (verilog-in-constraint-re): New constant.
655 (verilog-keywords, verilog-type-font-keywords):
656 Add some SystemVerilog 1800-2012 keywords.
657 (verilog-label-be): Remove unimplemented argument, bug669.
658 (verilog-batch-execute-func): When batch expanding clear
659 create-lockfiles to prevent spurious user locks when a file ends
660 up not changing.
661 (verilog-calculate-indent, verilog-calc-1)
662 (verilog-at-close-constraint-p, verilog-at-constraint-p)
663 (verilog-do-indent): Fix indentation of nested constraints
664 and structures.
665 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
666 (verilog-auto-inst-param): Use verilog-string-match-fold.
667 (verilog-read-inst-module-matcher):
668 Fix AUTOINST on gate primitives with #1.
669 (verilog-read-decls): Fix double-declaring user-defined typed signals.
670 Reads all user-defined typed variables.
671 (verilog-read-defines): Fix reading definitions inside comments, bug647.
672 (verilog-signals-matching-regexp)
673 (verilog-signals-not-matching-regexp, verilog-auto):
674 Respect verilog-case-fold.
675 (verilog-diff-report): Fix line count.
676 (verilog-auto-assign-modport): Remove unused local `modi'.
677 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
678 better handle multidimensional arrays.
679 Fix packed array ports misadding bit index in AUTOINST, bug637.
680 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
681 to not double-declare existing outputs and inputs, respectively.
682 (verilog-template-map): Bind U to verilog-sk-uvm-component.
683 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
684 (verilog-sk-uvm-component): New skeleton.
685 (verilog-submit-bug-report): Add verilog-case-fold,
686 remove verilog-mode-release-date.
687
ef566920
BR
6882013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
689
690 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
691 as before.
692
29df8a0b
RT
6932013-10-18 Reuben Thomas <rrt@sc3d.org>
694
695 * textmodes/remember.el (remember): set buffer-offer-save in
696 remember buffers (bug#13566).
697
04a19a79
DC
6982013-10-18 Daniel Colascione <dancol@dancol.org>
699
700 When evaluating forms in ielm, direct standard output to ielm
701 buffer. Add new ielm-return-for-effect command. Remove trailing
702 whitespace throughout.
703
704 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
705 (ielm-return-for-effect): New command.
706 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
707 (ielm-eval-input): Accept optional `for-effect' parameter.
708 Bind `standard-output' to stream we create using
04a19a79
DC
709 `ielm-standard-output-impl'. Suppress printing result when
710 `for-effect'.
711 (ielm-standard-output-impl): New function.
712 (inferior-emacs-lisp-mode): Explain new features in documentation.
713
4c1f03ef
MA
7142013-10-17 Michael Albinus <michael.albinus@gmx.de>
715
716 Code cleanup.
717
718 * net/tramp.el (tramp-debug-message): Do not check for connection
719 buffer.
720 (tramp-message): Use "vector" connection property.
721
722 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
723 (tramp-equal-remote, tramp-eshell-directory-change)
724 * net/tramp-adb.el (tramp-adb-handle-copy-file)
725 (tramp-adb-handle-rename-file)
726 * net/tramp-cmds.el (tramp-list-remote-buffers)
727 (tramp-cleanup-connection, tramp-cleanup-this-connection)
728 * net/tramp-compat.el (tramp-compat-process-running-p)
729 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
730 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
731 (tramp-gvfs-handle-rename-file)
732 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
733 (tramp-set-file-uid-gid)
734 * net/tramp-smb.el (tramp-smb-handle-copy-file)
735 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
736 of `file-remote-p'.
737
738 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
739 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
740 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
741 (tramp-gw-open-network-stream): Suppress unrelated traces.
742
743 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
744 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
746 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
747 connection property.
748
749 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 750 persistency file.
4c1f03ef
MA
751
752 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
753 Refactor common code. Improve debug message.
754 (tramp-maybe-open-connection)
755 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
756 connection buffer too early.
757
758 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
759 from `tramp-smb-actions-with-acl'.
760 (tramp-smb-actions-set-acl): New defconst.
761 (tramp-smb-handle-copy-directory)
762 (tramp-smb-action-get-acl): New defun, renamed from
763 `tramp-smb-action-with-acl'.
764 (tramp-smb-action-set-acl): New defun.
765 (tramp-smb-handle-set-file-acl): Rewrite.
766
642eb8b6
GM
7672013-10-17 Glenn Morris <rgm@gnu.org>
768
769 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
770
85527ff3
SM
7712013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
772
921c1d62
SM
773 * skeleton.el (skeleton-newline): Remove.
774 (skeleton-internal-1): Use (insert "\n") instead.
775
e333fb10
SM
776 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
777 let-bindings.
778
85527ff3
SM
779 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
780 forward-sexp-function while we redo its job (bug#15613).
781
c8722a97
JB
7822013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
783
784 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
785 represented by lists.
786
7a550bbb
GM
7872013-10-16 Glenn Morris <rgm@gnu.org>
788
789 * tmm.el (tmm--history): New dynamic variable.
790 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
791
f19da8ad
MA
7922013-10-16 Michael Albinus <michael.albinus@gmx.de>
793
794 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
795 (tramp-smb-errors): Add error messages.
796 (tramp-smb-actions-with-acl): New defconst.
797 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
798 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
799 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
800 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
801 (tramp-smb-get-stat-capability): Fix tests.
802
a24b9961
DK
8032013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
804
805 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
806 (bug#15580).
807
62ad85e6
GM
8082013-10-16 Glenn Morris <rgm@gnu.org>
809
0283d6b0
GM
810 * ansi-color.el (ansi-color-drop-regexp):
811 Add 1J, 1K, 2K. (Bug#15617)
812
012e2f9f
GM
813 * files.el (hack-local-variables--warned-lexical): New.
814 (hack-local-variables):
815 Warn about misplaced lexical-binding. (Bug#15616)
816
62ad85e6
GM
817 * net/eww.el (eww-render): Always set eww-current-url,
818 and update header line. (Bug#15622)
819 (eww-display-html): ... Rather than just doing it here.
820
6456c0ea
EZ
8212013-10-15 Eli Zaretskii <eliz@gnu.org>
822
823 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
824 menu navigations commands.
825
c2de5588
DK
8262013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
827
828 * progmodes/subword.el (subword-capitalize): Be careful when
829 the search for [[:alpha:]] fails (bug#15580).
830
ccd4a783
EZ
8312013-10-14 Eli Zaretskii <eliz@gnu.org>
832
833 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
834 to commands that scroll the menu.
835
1eda1d8d
DG
8362013-10-14 Dmitry Gutov <dgutov@yandex.ru>
837
c2de5588
DK
838 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
839 Handle methods ending with `?' and `!'.
1eda1d8d 840
e70181b8
AM
8412013-10-14 Akinori MUSHA <knu@iDaemons.org>
842
843 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
844 `japanese-cp932' to `cp932' to fix the problem where saving a
845 source file written in Shift_JIS twice would end up having
846 `coding: japanese-cp932' which Ruby could not recognize.
847 (ruby-mode-set-encoding): Add support for encodings mapped to nil
848 in `ruby-encoding-map'.
849 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
850 doesn't need to be explicitly declared in magic comment.
851 (ruby-encoding-map): Add type declaration for better customize UI.
852
9148ee92
GM
8532013-10-13 Glenn Morris <rgm@gnu.org>
854
a5d38e34
GM
855 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
856 Occur buffers are read-only. http://bugs.debian.org/720775
857
9148ee92
GM
858 * emacs-lisp/authors.el (authors-fixed-entries):
859 Comment out old alpha stuff.
860
a9ba094b
DG
8612013-10-13 Dmitry Gutov <dgutov@yandex.ru>
862
863 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
864 to `after-save-hook' instead of `before-save-hook'.
865 (ruby-mode-set-encoding): Use the value of coding system used to
866 write the file. Call `basic-save-buffer-1' after modifying the
867 buffer.
868
7a068717
AM
8692013-10-13 Alan Mackenzie <acm@muc.de>
870
871 Fix indentation/fontification of Java enum with
872 "implements"/generic.
873
c2de5588
DK
874 * progmodes/cc-engine.el (c-backward-over-enum-header):
875 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
876 (c-inside-bracelist-p): Uses new function above.
877 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
878 function above.
879 (c-font-lock-enum-tail): Uses new function above.
880
85b64f02
KH
8812013-10-13 Kenichi Handa <handa@gnu.org>
882
883 * international/mule-cmds.el (select-safe-coding-system): Remove a
884 superfluous condition in chekcing whether a coding system is safe
885 or not.
886
fc7f501b
OK
8872013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
888
889 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
890
fdcb2049
AP
8912013-10-13 Andreas Politz <politza@hochschule-trier.de>
892
893 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
894
8c106d17
GM
8952013-10-13 Glenn Morris <rgm@gnu.org>
896
feab892d
GM
897 * menu-bar.el (menu-bar-update-buffers):
898 Unify Buffers menu prompt string. (Bug#15576)
899
b22d0686
GM
900 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
901
8c106d17
GM
902 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
903 Add some entries.
904 (authors-fixed-entries): Use accented form of name.
905
1b12c797
SM
9062013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
907
650fa7bf 908 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 909 method calls (bug#15594).
650fa7bf
SM
910 (ruby-smie--args-separator-p): New function.
911 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
912 recognize paren-free method calls.
913
1b12c797
SM
914 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
915 internals of universal-argument.
916
029619c8
EZ
9172013-10-11 Eli Zaretskii <eliz@gnu.org>
918
919 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
920 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
921 dropped menu on second mouse click on the menu bar.
029619c8 922
dd070019
SM
9232013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
926 (explicit-shell-file-name): Declare.
927 (sh--vars-before-point, sh--cmd-completion-table): New functions.
928 (sh-completion-at-point-function): New function.
929 (sh-mode): Use it.
930 (sh-smie--keyword-p): Remove unused argument.
931 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
932 vars.
933 (sh-set-shell): Always setup SMIE, even if we use the
934 old indentation code.
935
0922b826
DG
9362013-10-11 Dmitry Gutov <dgutov@yandex.ru>
937
b68e2926
DG
938 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
939 cases of ? and =.
940 (ruby-smie-rules): Simplify the "do" rule. The cases when the
941 predicate would return nil are almost non-existent.
942 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
943
0922b826
DG
944 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
945 cache also after commands that modify the buffer but don't move
946 point.
947
ee041f2d
SM
9482013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * env.el (substitute-env-in-file-name): New function.
951 (substitute-env-vars): Extend the meaning of the optional arg.
952
a5dab159
EZ
9532013-10-10 Eli Zaretskii <eliz@gnu.org>
954
955 * term/w32-win.el (dynamic-library-alist): Define separate lists
956 of GIF DLLs for versions before and after 5.0.0 of giflib.
957 (Bug#15531)
958
db138698
JT
9592013-10-10 João Távora <joaotavora@gmail.com>
960
961 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
962 not locked, use last revision and current source as
963 defaults. (Bug#15569)
964
2f6e161e
MY
9652013-10-10 Masatake YAMATO <yamato@redhat.com>
966
967 * menu-bar.el (menu-bar-open): Don't use popup-menu if
968 menu-bar is hidden.
969
6c8413fc
MR
9702013-10-10 Martin Rudalics <rudalics@gmx.at>
971
972 * window.el (pop-to-buffer-same-window): Fix doc-string.
973 (Bug#15492)
974
20832de0
SM
9752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
978
c6e8ae77
AC
9792013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
980
981 * calendar/icalendar.el (icalendar-import-file):
982 Fix interactive spec. (Bug#15482)
983
9db13baf
GM
9842013-10-10 Glenn Morris <rgm@gnu.org>
985
9271e90e
GM
986 * desktop.el (desktop-save): Default to saving in .emacs.d,
987 since PWD is no longer in desktop-path by default. (Bug#15319)
988
9db13baf
GM
989 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
990 now that text mode has a menu with the same entry.
991 (menu-bar-text-mode-auto-fill): Remove now unused func.
992 * textmodes/text-mode.el (text-mode-map):
993 Use auto-fill help text from menu-bar.el.
994
a0be396a 9952013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
996
997 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
998
2edcd3c7
JL
9992013-10-09 Juri Linkov <juri@jurta.org>
1000
1001 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1002 instead of this-command-keys. Add universal-argument-more and
1003 universal-argument-minus to the list of prefix commands. (Bug#15568)
1004
574411d0
GM
10052013-10-09 Glenn Morris <rgm@gnu.org>
1006
14afa541
GM
1007 * vc/vc-svn.el (vc-svn-create-repo):
1008 Expand paths in file://... url. (Bug#15446)
1009
574411d0
GM
1010 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1011 Add some entries.
1012 (authors): Remove unused local variables.
1013
79804536
SM
10142013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * profiler.el: Create a more coherent calltree from partial backtraces.
1017 (profiler-format): Hide the tail with `invisible' so that C-s can still
1018 find the hidden elements.
1019 (profiler-calltree-depth): Don't recurse so enthusiastically.
1020 (profiler-function-equal): New hash-table-test.
1021 (profiler-calltree-build-unified): New function.
1022 (profiler-calltree-build): Use it.
1023 (profiler-report-make-name-part): Indent the calltree less.
1024 (profiler-report-mode): Add visibility specs for profiler-format.
1025 (profiler-report-expand-entry, profiler-report-toggle-entry):
1026 Expand the whole subtree when provided with a prefix arg.
1027
238150c8
DG
10282013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1029
1030 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1031 iuwu-mod token.
1032 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1033 hanging iuwu-mod token.
1034 (ruby-smie--forward-token): Do not include a dot after a token in
1035 that token.
1036 (ruby-smie--backward-token): Likewise.
1037
b0949cc4
JL
10382013-10-08 Juri Linkov <juri@jurta.org>
1039
1040 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1041 to isearch-other-control-char.
1042 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1043 and isearch-post-command-hook to post-command-hook.
1044 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1045 and isearch-post-command-hook from post-command-hook.
1046 (isearch-unread-key-sequence)
1047 (isearch-reread-key-sequence-naturally)
1048 (isearch-lookup-scroll-key, isearch-other-control-char)
1049 (isearch-other-meta-char): Remove functions.
1050 (isearch-pre-command-hook, isearch-post-command-hook):
1051 New functions based on isearch-other-meta-char rewritten
1052 relying on the new behavior of overriding-terminal-local-map
1053 that does not replace the local keymaps any more. (Bug#15200)
1054
4ed77415
EZ
10552013-10-08 Eli Zaretskii <eliz@gnu.org>
1056
1057 Support menus on text-mode terminals.
1058 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1059 functionality.
1060
1061 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1062
c2de5588
DK
1063 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1064 Move here from mouse.el.
4ed77415
EZ
1065 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1066 and arrow keys.
1067 (tty-menu-navigation-map): New map for TTY menu navigation.
1068
1069 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1070
1071 * frame.el (display-mouse-p): Report text-mode mouse as available
1072 on w32.
1073 (display-popup-menus-p): Report availability if mouse is
1074 available; don't condition on window-system.
1075
1076 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1077 (tty-menu-selected-face): New faces.
1078
b7d5bd82
TL
10792013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1080
06286513
SM
1081 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1082 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1083 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1084 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1085 New constants.
1086 (lisp-mode-variables): New `elisp' argument.
1087 (emacs-lisp-mode): Use it.
1088 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1089 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1090
b7d5bd82
TL
1091 * indent.el: Use lexical-binding.
1092 (indent-region): Add progress reporter.
1093 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1094 last step.
1095 (indent--next-tab-stop): New function to implement this behavior.
1096 (tab-to-tab-stop, move-to-tab-stop): Use it.
1097
10982013-10-08 Teemu Likonen <tlikonen@iki.fi>
1099
1100 * indent.el (indent-rigidly--current-indentation): New function.
1101 (indent-rigidly-map): New var.
1102 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1103
5ea75d23
BG
11042013-10-08 Bastien Guerry <bzg@gnu.org>
1105
1106 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1107
cc5da1ec
SM
11082013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1109
8ffa1a0b
SM
1110 * progmodes/perl-mode.el: Use lexical-binding.
1111 Remove redundant :group args.
1112 (perl-nochange): Change default to be closer to other major modes's
1113 standard behavior.
1114 (perl-indent-line): Don't consider text on current line as a
1115 valid beginning of function from which to indent.
1116
f2223371
SM
1117 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1118 with more than one argument (bug#15538).
1119
44256060
SM
1120 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1121
cc5da1ec
SM
1122 * vc/pcvs.el: Use lexical-binding.
1123 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1124 environment of `eval'.
1125 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1126 than a list of expressions. Adjust callers.
1127 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1128
0ea1599d
DG
11292013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1130
1131 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1132 case of the dot in a chained method call being on the following line.
0ea1599d 1133
da3e5ebb
SM
11342013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1135
2abb4e65
SM
1136 * electric.el (electric-indent-inhibit): New var.
1137 (electric-indent-post-self-insert-function): Use it.
1138 * progmodes/python.el (python-mode): Set it.
1139
d2e0e795
SM
1140 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1141 open braces.
1142
1143 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1144
bdc6b4c8
SM
1145 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1146 (css-mode): Use electric-indent-chars.
1147
da3e5ebb
SM
1148 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1149 (font-lock-beg, font-lock-end): Move before first use.
1150 (nxml-mode): Use syntax-propertize-function.
1151 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1152 (nxml-extend-after-change-region): Remove.
1153 * nxml/xmltok.el: Use lexical-binding.
1154 (xmltok-save): Use `declare'.
1155 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1156 * nxml/nxml-util.el: Use lexical-binding.
1157 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1158 Use `declare'.
1159 * nxml/nxml-ns.el: Use lexical-binding.
1160 (nxml-ns-save): Use `declare'.
1161 (nxml-ns-prefixes-for): Avoid add-to-list.
1162 * nxml/rng-match.el: Use lexical-binding.
1163 (rng--ipattern): Use cl-defstruct.
1164 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1165 (rng-cons-group-after, rng-subst-group-after)
1166 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1167 Use closures instead of `(lambda...).
1168
f8f91d5d
MA
11692013-10-07 Michael Albinus <michael.albinus@gmx.de>
1170
1171 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1172 of BEG and END.
1173
da3e5ebb
SM
1174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1175 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1176 (tramp-gvfs-handle-insert-file-contents): Remove function.
1177
da3e5ebb
SM
1178 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1179 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1180
1181 * net/trampver.el: Update release number.
1182
7ccae3b1
SM
11832013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1184
55ca2c0d
SM
1185 * progmodes/compile.el (compilation-parse-errors):
1186 Use compilation--put-prop.
1187 (compilation--ensure-parse): Check compilation-multiline.
1188
731fc3ae
SM
1189 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1190
da3e5ebb
SM
1191 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1192 lexical-binding.
a5833280 1193
2e7ba2c2
SM
1194 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1195
7ccae3b1
SM
1196 * progmodes/ruby-mode.el: Fix recently added tests.
1197 (ruby-smie-grammar): Add - and +.
1198 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1199 (ruby-smie--backward-id): New functions.
1200 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1201 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1202 any more.
1203
85698d63
LL
12042013-10-07 Leo Liu <sdl.web@gmail.com>
1205
1206 * register.el (register-preview-delay)
1207 (register-preview-functions): New variables.
1208 (register-read-with-preview, register-preview)
1209 (register-describe-oneline): New functions.
1210 (point-to-register, window-configuration-to-register)
1211 (frame-configuration-to-register, jump-to-register)
1212 (number-to-register, view-register, insert-register)
1213 (copy-to-register, append-to-register, prepend-to-register)
1214 (copy-rectangle-to-register): Use register-read-with-preview to
1215 read register. (Bug#15525)
1216
3986af6c
DS
12172013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1218
1219 * net/network-stream.el (network-stream-open-starttls): Don't add
1220 --insecure if it's already present, because that gnutls-cli
1221 rejects getting that parameter twice.
1222
5cd9cda9
DG
12232013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1224
1225 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1226 keyword, too.
1227
da9ea6d9
DG
12282013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1229
1230 * newcomment.el (comment-use-global-state): Change default value
1231 to t, mark obsolete (Bug#15251).
1232 (comment-beginning): In addition to `comment-to-syntax', check the
1233 value of `comment-use-global-state'.
1234
34d1a133
SM
12352013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1238 (ruby-comment-column): Follow the global default, by default.
1239 (ruby-smie-grammar): Add assignment syntax.
1240 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1241 open-paren, a comma, or a \.
1242 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1243 and line continuations.
1244 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1245 followed by implicit semi-colons. Add rule for string concatenation
1246 and for indentation at BOB.
1247 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1248
1249 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1250 calling next-sexp, since next-token may have skipped chars which
1251 next-sexp doesn't know should be skipped!
1252
6f6ab820
LL
12532013-10-05 Leo Liu <sdl.web@gmail.com>
1254
34d1a133
SM
1255 * progmodes/octave.el (octave-send-region):
1256 Call compilation-forget-errors.
6f6ab820 1257
34ca0f4c
XF
12582013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1259
1260 * vc/vc-svn.el (vc-svn-find-admin-dir):
1261 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1262 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1263 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1264 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1265
a27c1b72
SM
12662013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1269
258ab3bc
SM
12702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * subr.el (read-passwd): Hide chars even when called within a context
1273 where after-change-functions is disabled (bug#15501).
1274 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1275 until we removed ourself from overriding-terminal-local-map.
1276
939fb29c
LL
12772013-10-04 Leo Liu <sdl.web@gmail.com>
1278
258ab3bc
SM
1279 * progmodes/octave.el (inferior-octave-mode):
1280 Call compilation-forget-errors.
939fb29c 1281
63bd7f35
XF
12822013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1283
1284 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1285
9e6229fa
MA
12862013-10-04 Michael Albinus <michael.albinus@gmx.de>
1287
1288 * net/secrets.el (secrets-create-collection): Add optional
1289 argument ALIAS. Use proper Label keyword. Append ALIAS as
1290 dbus-call-method argument. (Bug#15516)
1291
1dab32a3
LL
12922013-10-04 Leo Liu <sdl.web@gmail.com>
1293
1294 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1295 (inferior-octave-compilation-font-lock-keywords): New variables.
1296 (compilation-error-regexp-alist)
1297 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1298 (inferior-octave-mode): Use compilation-shell-minor-mode.
1299
6cad7ba3
JS
13002013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1301
1302 * minibuffer.el (completion--replace): Be careful that `end' might be
1303 a marker.
1304
acbadd00
DU
13052013-10-03 Daiki Ueno <ueno@gnu.org>
1306
1307 Add support for package signature checking.
1308 * emacs-lisp/package.el (url-http-file-exists-p)
1309 (epg-make-context, epg-context-set-home-directory)
1310 (epg-verify-string, epg-context-result-for)
1311 (epg-signature-status, epg-signature-to-string)
1312 (epg-check-configuration, epg-configuration)
1313 (epg-import-keys-from-file): Declare.
1314 (package-check-signature): New user option.
1315 (package-unsigned-archives): New user option.
1316 (package-desc): Add `signed' field.
1317 (package-load-descriptor): Set `signed' field if .signed file exists.
1318 (package--archive-file-exists-p): New function.
1319 (package--check-signature): New function.
1320 (package-install-from-archive): Check package signature.
1321 (package--download-one-archive): Check archive signature.
1322 (package-delete): Remove .signed file.
1323 (package-import-keyring): New command.
1324 (package-refresh-contents): Import default keyring.
1325 (package-desc-status): Add "unsigned" status.
1326 (describe-package-1, package-menu--print-info)
1327 (package-menu-mark-delete, package-menu--find-upgrades)
1328 (package-menu--status-predicate): Support "unsigned" status.
1329
adf2aa61
SM
13302013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1333 the new compilation scheme using the new byte-codes.
1334
1335 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1336 (byte-pophandler): New byte codes.
1337 (byte-goto-ops): Adjust accordingly.
1338 (byte-compile--use-old-handlers): New var.
1339 (byte-compile-catch): Use new byte codes depending on
1340 byte-compile--use-old-handlers.
1341 (byte-compile-condition-case--old): Rename from
1342 byte-compile-condition-case.
1343 (byte-compile-condition-case--new): New function.
1344 (byte-compile-condition-case): New function that dispatches depending
1345 on byte-compile--use-old-handlers.
1346 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1347 when we can.
1348
1349 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1350 Optimize under `condition-case' and `catch' if
1351 byte-compile--use-old-handlers is nil.
1352 (disassemble-offset): Handle new bytecodes.
1353
328a8179
SM
13542013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * subr.el (error): Use `declare'.
1357 (decode-char, encode-char): Use advertised-calling-convention instead
1358 of the docstring to discourage use of the `restriction' arg.
1359
15a1e936
DU
13602013-10-03 Daiki Ueno <ueno@gnu.org>
1361
1362 * epg.el (epg-verify-file): Add a comment saying that it does not
1363 notify verification error as a return value nor a signal.
1364 (epg-verify-string): Ditto.
1365
376f862a
KR
13662013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1367
1368 * progmodes/compile.el (compilation-start): Try globbing the arg to
1369 `cd' (bug#15417).
1370
a2f93a5f
MA
13712013-10-02 Michael Albinus <michael.albinus@gmx.de>
1372
1373 Sync with Tramp 2.2.8.
1374
1375 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1376 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1377 * net/trampver.el: Update release number.
1378
0daa0804
JD
13792013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1380
1381 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1382 and default-process-coding-system for darwin only.
1383
abd1ae34
SM
13842013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1387
be4e325d
MH
13882013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1389
1390 * vc/vc-git.el (vc-git-grep): Disable pager.
1391
e9155c4a
DG
13922013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1393
494e898b
DG
1394 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1395 Use :url instead of :homepage, as per
1396 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1397
e9155c4a
DG
1398 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1399 non-nil, use `syntax-ppss' (Bug#15251).
1400
481a8e0f
RS
14012013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1402
be4e325d
MH
1403 * progmodes/octave.el (inferior-octave-startup-file):
1404 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1405
056453c6
DG
14062013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1407
be4e325d
MH
1408 * emacs-lisp/package.el (package-desc-from-define):
1409 Accept additional arguments as plist, convert them to an alist and store
1410 them in the `extras' slot.
056453c6
DG
1411 (package-generate-description-file): Convert extras alist back to
1412 plist and append to the `define-package' form arguments.
1413 (package--alist-to-plist): New function.
1414 (package--ac-desc): Add `extras' slot.
1415 (package--add-to-archive-contents): Check if the archive-contents
1416 vector is long enough, and if it is, pass its `extras' slot value
1417 to `package-desc-create'.
1418 (package-buffer-info): Call `lm-homepage', pass the returned value
1419 to `package-desc-from-define'.
1420 (describe-package-1): Render the homepage button (Bug#13291).
1421
be4e325d
MH
1422 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1423 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1424
832966e5
JD
14252013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1426
1427 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1428 and default-process-coding-system to utf-8-unix (Bug#15402).
1429
6cfe977d
XF
14302013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1431
1432 * subr.el (looking-back): Do not recommend using looking-back.
1433
38de11bd
AM
14342013-09-28 Alan Mackenzie <acm@muc.de>
1435
1436 Fix indentation/fontification of Java enum with "implements".
1437
1438 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1439 regexp which matches "implements", etc., in Java.
1440 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1441 specifier clauses coming after "enum".
1442 * progmodes/cc-fonts.el (c-font-lock-declarations)
1443 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1444 after "enum".
1445
1610938f
JD
14462013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1447
1448 * faces.el (region): Change ns_selection_color to
1449 ns_selection_fg_color, add ns_selection_bg_color.
1450
e090f499
LL
14512013-09-28 Leo Liu <sdl.web@gmail.com>
1452
4d2e94d1
LL
1453 * progmodes/octave.el (inferior-octave-completion-table)
1454 (inferior-octave-completion-at-point): Minor tweaks.
1455
e090f499
LL
1456 * textmodes/ispell.el (ispell-lookup-words): Rename from
1457 lookup-words. (Bug#15460)
1458 (lookup-words): Obsolete.
1459 (ispell-complete-word, ispell-command-loop): All uses changed.
1460
7e138a62
RS
14612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1462
1463 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1464 (octave-mode-menu): Add octave-send-buffer.
1465 (octave-send-buffer): New function.
1466
5af5ed08
RS
14672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1468
1469 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1470 octave-lookfor.
1471 (octave-mode-menu): Add octave-lookfor.
1472 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1473 octave-lookfor.
1474 (octave-lookfor): New function.
1475
3b7b2692
SM
14762013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * emacs-lisp/cl-macs.el:
1479 (cl--loop-destr-temps): Remove.
1480 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1481 its convention.
1482 (cl--loop-set-iterator-function): New function.
1483 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1484 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1485 Bind `it' with `let' instead of substituting it with `cl-subst'.
1486 (cl--unused-var-p): New function.
1487 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1488 Eliminate some unused variable warnings (bug#15326).
1489
529fb53f
TH
14902013-09-27 Tassilo Horn <tsdh@gnu.org>
1491
1492 * doc-view.el (doc-view-scale-reset): Rename from
1493 `doc-view-reset-zoom-level'.
1494 (doc-view-scale-adjust): New command.
1495 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1496 `doc-view-scale-adjust'.
1497
0550c95a
TH
14982013-09-26 Tassilo Horn <tsdh@gnu.org>
1499
1500 * doc-view.el (doc-view-reset-zoom-level): New command.
1501 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1502 zoom commands (bug#15466).
1503
6950f152
KH
15042013-09-26 Kenichi Handa <handa@gnu.org>
1505
1506 * international/quail.el (quail-help): Make it not a command.
1507
39587580
LL
15082013-09-26 Leo Liu <sdl.web@gmail.com>
1509
1510 * minibuffer.el (completion-all-sorted-completions): Make args
1511 optional as they are.
1512
00578659
DC
15132013-09-25 Daniel Colascione <dancol@dancol.org>
1514
1515 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1516 specs are and that they're not evaluated.
1517
0c173878
SS
15182013-09-24 Sam Steingold <sds@gnu.org>
1519
1520 * midnight.el (clean-buffer-list-kill-regexps)
1521 (clean-buffer-list-kill-buffer-names): Update for the new Man
1522 buffer naming which includes the object name.
1523
84998447
SM
15242013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1527 (eshell-parse-command, eshell-parse-pipeline): Use it since
1528 eshell-separate-commands requires a dynamic scoped var.
1529 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1530
33215353
LL
15312013-09-23 Leo Liu <sdl.web@gmail.com>
1532
1533 * autoinsert.el (auto-insert-alist): Make the value of
1534 lexical-binding match its file setting.
1535
57b16162
JB
15362013-09-23 Juanma Barranquero <lekktu@gmail.com>
1537
c8af4e67
JB
1538 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1539
57b16162
JB
1540 * autoarg.el (autoarg-kp-digit-argument):
1541 * electric.el (Electric-command-loop):
1542 * kmacro.el (kmacro-step-edit-insert):
1543 Do not set universal-argument-num-events.
1544
7186ba60
LL
15452013-09-22 Leo Liu <sdl.web@gmail.com>
1546
1547 * files.el (interpreter-mode-alist): Add octave.
1548
ece15004
AM
15492013-09-21 Alan Mackenzie <acm@muc.de>
1550
1551 C++: fontify identifier in declaration following "public:" correctly.
1552 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1553 to match "public", etc.
1554 (c-decl-prefix-re): Add ":" into the C++ value.
1555 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1556 bit. Add a check for a ":" preceded by "public", etc.
1557
75d83e22
EZ
15582013-09-21 Eli Zaretskii <eliz@gnu.org>
1559
1560 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1561 recognized by GDB 7.5 and later.
1562
d052d3bd
XF
15632013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1564
1565 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1566
31dca772
R
15672013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * subr.el (internal--call-interactively): New const.
1570 (called-interactively-p): Use it (bug#3984).
1571
98ccf24e
XF
15722013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1573
1574 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1575 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1576 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1577
c39cc7d1
SM
15782013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1581 (eshell-ls-orig-insert-directory): Remove.
1582 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1583 (eshell-ls-use-in-dired): Use advice-add/remove.
1584 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1585 Add `orig-fun' arg for use in :around advice.
1586 Make it check (redundantly) eshell-ls-use-in-dired.
1587
9a0289a2
GM
15882013-09-19 Glenn Morris <rgm@gnu.org>
1589
a2c501b8
GM
1590 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1591
c440407a
GM
1592 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1593
9a0289a2
GM
1594 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1595
85e05915
MA
15962013-09-19 Michael Albinus <michael.albinus@gmx.de>
1597
1598 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1599 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1600 (tramp-get-remote-python): New defuns.
1601 (tramp-get-remote-uid-with-perl)
1602 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1603 contributed by yary <not.com@gmail.com> (tiny change).
1604 (tramp-get-remote-uid-with-python)
1605 (tramp-get-remote-gid-with-python): New defuns. Python code
1606 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1607 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1608
ce503312
GM
16092013-09-19 Glenn Morris <rgm@gnu.org>
1610
f7544773
GM
1611 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1612
72fd2877
GM
1613 * eshell/em-unix.el (eshell-remove-entries):
1614 Rename argument to avoid name-clash with global `top-level'.
1615
336b5a56
GM
1616 * eshell/esh-proc.el (eshell-kill-process-function):
1617 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1618 (eshell-reset-after-proc): Remove unused arg `proc'.
1619
57a3a53d
GM
1620 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1621 (directory-files-and-attributes): Mark unused arg.
1622
3261d4af
GM
1623 * eshell/em-unix.el (eshell-remove-entries):
1624 Remove unused arg `path'. Update callers.
1625
8e51b5d0
GM
1626 * eshell/em-hist.el (eshell-hist-parse-arguments):
1627 Remove unused arg `silent'. Update callers.
1628
ce503312
GM
1629 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1630 Fix (f)boundp mix-up.
1631
1632 * eshell/em-smart.el (eshell-smart-scroll-window)
1633 (eshell-disable-after-change):
336b5a56 1634 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1635
ee3ce8a7
AM
16362013-09-18 Alan Mackenzie <acm@muc.de>
1637
1638 Fix fontification of type when followed by "const".
1639 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1640 "known" types from fontification.
1641
ec9177ba
GM
16422013-09-18 Glenn Morris <rgm@gnu.org>
1643
7bb3e768
GM
1644 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1645 (chart-face-list): Drop Emacsen without display-color-p.
1646
5148da15
GM
1647 * net/eww.el (libxml-parse-html-region): Declare.
1648 (eww-display-html): Explicit error if no libxml2 support.
1649
2f68e157
GM
1650 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1651
9019d095
GM
1652 * image.el (image-type-from-buffer, image-multi-frame-p):
1653 Remove --without-x warning/error.
67645389 1654
5f30349b 1655 * mouse.el (mouse-yank-primary):
45069b2e 1656 * term.el (term-mouse-paste):
5f30349b
GM
1657 Reorder to silence --without-x compilation.
1658
cd8edbbe
GM
1659 * mpc.el (doc-view-mode): Silence --without-x compilation.
1660
8a78544e
GM
1661 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1662 Silence --without-x compilation.
1663
12679bfd
GM
1664 * progmodes/gud.el (gud-find-file, gud-mode):
1665 Silence --without-x compilation.
1666 (tooltip-mode): Declare.
30810a05 1667
f0047cb9
GM
1668 * wdired.el (dired-backup-overwrite): Remove declaration.
1669 (wdired-mode-map): Add doc string.
1670
e740f9d2
GM
1671 * custom.el (x-get-resource): Declare.
1672
92d77c89
GM
1673 * eshell/em-glob.el (ange-cache):
1674 * eshell/em-unix.el (ange-cache): Declare.
1675
76e69577
GM
1676 * faces.el (x-display-list, x-open-connection, x-get-resource):
1677 Declare.
7e58af4b
GM
1678
1679 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1680 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1681 Declare.
76e69577 1682
4bd4c0af 1683 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1684
ffb82dbd
GM
1685 * net/gnutls.el (gnutls-log-level): Declare.
1686
986ed135
GM
1687 * net/shr.el (image-size, image-animate): Declare.
1688
e740f9d2
GM
1689 * simple.el (font-info): Declare.
1690
d2f3e9f8
GM
1691 * subr.el (x-popup-dialog): Declare.
1692
047a1a4c
GM
1693 * term/common-win.el (x-select-enable-primary)
1694 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1695 Declare.
1696
f4a1d572
GM
1697 * term/ns-win.el (x-handle-args): Declare.
1698
e843de77
GM
1699 * term/x-win.el (x-select-enable-clipboard): Declare.
1700
5fa89513
GM
1701 * term/w32-win.el (create-default-fontset): Declare.
1702
38702b5b
GM
1703 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1704 Declare.
1705
e740f9d2
GM
1706 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1707 (fit-frame-to-buffer): Explicit error if --without-x.
1708 (mouse-autoselect-window-select): Silence compiler.
1709
49a053fc
GM
1710 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1711
1712 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1713 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1714 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1715 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1716 Remove unused local variables.
1717
1718 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1719
ec9177ba
GM
1720 * textmodes/two-column.el: Make 2C-split work for --without-x.
1721 (scroll-bar-columns): Autoload.
1722 (top-level): Require fringe when compiling.
1723
9f25cb77
LL
17242013-09-18 Leo Liu <sdl.web@gmail.com>
1725
1726 * subr.el (add-hook): Robustify to handle closure as well.
1727
2b42da98
GM
17282013-09-17 Glenn Morris <rgm@gnu.org>
1729
1730 * simple.el (messages-buffer-mode-map): Unbind "g".
1731
e8b66a6a
SM
17322013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1733
9c0ad4f7
SM
1734 * help-mode.el (help-mode-finish): Use derived-mode-p.
1735 Remove obsolete highlighting.
1736
7a806dfb
SM
1737 * play/life.el (life-mode): Use define-derived-mode. Derive from
1738 special-mode.
1739 (life): Let-bind inhibit-read-only.
1740 (life-setup): Avoid `setq'. Use `life-mode'.
1741
96dbf5a8
SM
1742 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1743 which should not be needed any more.
1744 (package-menu-refresh, package-menu-describe-package): Use user-error.
1745
e8b66a6a
SM
1746 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1747 (eshell-post-rewrite-command-hook): Make obsolete.
1748 (eshell-parse-command): Simplify.
1749 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1750 (eshell--cmd): Declare.
1751 (eshell-parse-pipeline): Remove unused var `final-p'.
1752 Pass a dynvar to eshell-post-rewrite-command-hook.
1753 Implement the new eshell-post-rewrite-command-function.
1754 (eshell-invoke-directly): Remove unused arg `input'.
1755 * eshell/esh-io.el (eshell-io-initialize):
1756 Use eshell-post-rewrite-command-function (bug#15399).
1757 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1758 adjust to new calling convention.
1759 (eshell-create-handles): Rename args to avoid clashing with dynvar
1760 `standard-output'.
1761
90582f05
GM
17622013-09-17 Glenn Morris <rgm@gnu.org>
1763
1764 * simple.el (messages-buffer-mode): New major mode.
1765 (messages-buffer): New function.
1766 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1767 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1768 (ert-run-test): Use `messages-buffer' function.
90582f05 1769 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1770 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1771 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1772
39eb0cb5 17732013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1774
1775 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1776
1f1e06e2
SM
1777 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1778
70568a90
SM
17792013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1780
504a0381
SM
1781 * icomplete.el (icomplete-in-buffer): New var.
1782 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1783 vars and replace them with functions.
1784 (icomplete-minibuffer-setup): Adjust accordingly.
1785 (icomplete--completion-table, icomplete--completion-predicate)
1786 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1787 New functions.
1788 (icomplete-forward-completions, icomplete-backward-completions)
1789 (icomplete-simple-completing-p, icomplete-exhibit)
1790 (icomplete-completions): Use them.
1791 (icomplete--in-region-buffer): New var.
1792 (icomplete--in-region-setup): New function.
1793 (icomplete-mode): Use it.
1794
70568a90
SM
1795 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1796 (bug#15379).
1797 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1798 return args and options.
1799 (eshell-eval-using-options): Use the new return value of
1800 eshell--do-opts to set the options's vars in their scope.
1801 (eshell--set-option): Rename from eshell-set-option.
1802 Add arg `opt-vals'.
1803 (eshell--process-option): Rename from eshell-process-option.
1804 Add arg `opt-vals'.
1805 (eshell--process-args): Use an `opt-vals' alist to store the options's
1806 values during their processing and return them additionally to the
1807 remaining args.
1808
578c21bc
DG
18092013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1810
1811 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1812 continuation character an operator, as far as indentation is
1813 concerned (Bug#15369).
1814
c089653d
MR
18152013-09-15 Martin Rudalics <rudalics@gmx.at>
1816
1817 * window.el (window--state-put-2): Don't process buffer state
1818 when buffer doesn't exist any more (Bug#15382).
1819
1e53bb4b
GM
18202013-09-15 Glenn Morris <rgm@gnu.org>
1821
30753242
GM
1822 * eshell/em-unix.el (eshell/rm):
1823 Make -f ignore missing files. (Bug#15373)
1824
1e53bb4b
GM
1825 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1826 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1827 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1828
0d8863b3
GM
18292013-09-14 Glenn Morris <rgm@gnu.org>
1830
1831 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1832
d3fc6549
GM
18332013-09-13 Glenn Morris <rgm@gnu.org>
1834
1835 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1836 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1837
fcd42c11
DA
18382013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1839
1840 * frame.el (x-focus-frame): Mark as declared in frame.c.
1841
7830899f
SM
18422013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * ls-lisp.el: Use advice-add.
1845 (original-insert-directory): Remove.
1846 (ls-lisp--insert-directory): Rename from insert-directory; add
1847 `orig-fun' argument.
1848 (insert-directory): Advise.
1849
84387cd2
EZ
18502013-09-13 Eli Zaretskii <eliz@gnu.org>
1851
1852 * term.el (term-emulate-terminal): Decode the command string
1853 before passing it to term-command-hook. (Bug#15337)
1854
35ffc6ba
GM
18552013-09-13 Glenn Morris <rgm@gnu.org>
1856
5c3f9bcc
GM
1857 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1858
2ada368a
GM
1859 * eshell/esh-ext.el (eshell-search-path): Declare.
1860
fcef2e13
GM
1861 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1862 Otherwise an error occurs if eshell-dirs module not loaded.
1863
35ffc6ba
GM
1864 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1865
35c3d36e
MA
18662013-09-13 Michael Albinus <michael.albinus@gmx.de>
1867
1868 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1869 `tramp-check-proper-host'. Check for a valid method name.
1870
1871 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1872 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1873 * net/tramp-sh.el (tramp-maybe-open-connection):
1874 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1875
1876 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1877 also for hash values.
1878
ae5e4c48
SM
18792013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1880
379add74
SM
1881 * term/ns-win.el (parameters): Don't declare as dynamic.
1882 (before-make-frame-hook): Don't add ineffective function.
1883
ae5e4c48
SM
1884 * eshell/*.el: Use lexical-binding (bug#15231).
1885
b5623270
KH
18862013-09-12 Kenichi Handa <handa@gnu.org>
1887
ae5e4c48 1888 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1889
30213927
GM
18902013-09-12 Glenn Morris <rgm@gnu.org>
1891
be94d713 1892 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1893 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1894
44915370
GM
1895 * subr.el (do-after-load-evaluation): Also give compiler warnings
1896 when obsolete files are used (except by obsolete files).
1897
a6ae021f
GM
1898 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1899 in the status output, assume `filename' is the first. (Bug#15322)
1900
40e64f0c
GM
1901 * vc/vc.el (vc-deduce-fileset): Doc fix.
1902
16d9f896
GM
1903 * calc/calc-help.el (Info-goto-node):
1904 * progmodes/cperl-mode.el (Info-find-node):
1905 * vc/ediff.el (Info-goto-node): Update declarations.
1906
dea01c6e
GM
1907 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1908
759880bf 1909 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1910 (vc-bzr-pull): Require vc-dispatcher.
1911 * vc/vc-git.el (vc-compilation-mode): Declare.
1912 (vc-git-pull): Require vc-dispatcher.
1913
08d66420
GM
1914 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1915
30b626e9
GM
1916 * progmodes/octave.el (help-button-action): Declare.
1917
8c05cb10
GM
1918 * shell.el (shell-directory-tracker): Output error as a message
1919 rather than just returning it as a string.
1920 (shell-process-pushd): Remove useless use of message.
1921
30213927
GM
1922 * dframe.el (dframe-timer-fn):
1923 * files.el (dir-locals-read-from-file):
1924 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1925 (mpc-format):
1926 * reveal.el (reveal-post-command):
1927 * saveplace.el (load-save-place-alist-from-file):
1928 * shell.el (shell-resync-dirs):
1929 * w32-common-fns.el (x-get-selection-value):
1930 * emacs-lisp/copyright.el (copyright-find-copyright):
1931 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1932 * emulation/tpu-edt.el (tpu-copy-keyfile):
1933 * play/bubbles.el (bubbles--mark-neighbourhood):
1934 * progmodes/executable.el
1935 (executable-make-buffer-file-executable-if-script-p):
1936 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1937
d3b049e6
SM
19382013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1939
170266d0
SM
1940 Cleanup Eshell to rely less on dynamic scoping.
1941 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1942 last-value, and ext-command here. Bind `args' closer to `body'.
1943 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1944 (eshell--args): Declare new dynamic var.
1945 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1946 last-value, and ext-command. Pass `args' to `body'.
1947 (eshell-process-args): Bind eshell--args.
1948 (eshell-set-option): Use eshell--args.
1949 * eshell/eshell.el (eshell): Use derived-mode-p.
1950 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1951 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1952 (eshell-glob-function): Declare.
1953 * eshell/esh-util.el: Require cl-lib.
1954 (eshell-read-hosts-file): Avoid add-to-list.
1955 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1956 `err'.
1957 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1958 Declare.
1959 (eshell/diff): Remove unused var `err'.
1960 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1961 `killflag'.
1962 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1963 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1964 first use.
1965 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1966 Move declaration before first use.
1967 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1968 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1969 rely on cl-return.
1970
56834f3b
GM
19712013-09-12 Glenn Morris <rgm@gnu.org>
1972
1973 * term/ns-win.el (global-map): Remove binding for ispell-next,
1974 deleted 1999-05-29. (Bug#15357)
1975
5c91a2b8
GM
19762013-09-11 Glenn Morris <rgm@gnu.org>
1977
da712f22
GM
1978 * echistory.el (electric-command-history): Remove call to deleted func.
1979
512e4cdc
GM
1980 * play/landmark.el (landmark-mode): Fix typos.
1981
d3506ca5
GM
1982 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1983 Check cvs-sort-ignore-file is bound.
1984
5c91a2b8
GM
1985 * savehist.el: No need for cl when compiling on Emacs.
1986
feeff482
SM
19872013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1988
656bd483
SM
1989 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1990 (bug#15338).
d3b049e6
SM
1991 (eshell-self-insert-command, eshell-send-invisible):
1992 Remove unused argument.
656bd483
SM
1993 (eshell-handle-control-codes): Remove unused var `orig'.
1994 Avoid delete-backward-char.
1995
feeff482
SM
1996 * files.el (set-auto-mode): Simplify a bit further.
1997
2a08047a
GM
19982013-09-11 Glenn Morris <rgm@gnu.org>
1999
2000 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2001 (set-auto-mode): Don't regexp-quote elements.
2002 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2003 * progmodes/cc-mode.el (interpreter-mode-alist):
2004 * progmodes/ruby-mode.el (interpreter-mode-alist):
2005 Revert previous change.
2006
34675540
SM
20072013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2008
1b3b87df
SM
2009 * play/snake.el (snake-mode):
2010 * play/mpuz.el (mpuz-mode):
2011 * play/landmark.el (lm-mode):
2012 * play/blackbox.el (blackbox-mode):
2013 * play/5x5.el (5x5-mode):
2014 * obsolete/options.el (Edit-options-mode):
2015 * net/quickurl.el (quickurl-list-mode):
2016 * net/newst-treeview.el (newsticker-treeview-mode):
2017 * mail/rmailsum.el (rmail-summary-mode):
2018 * mail/mspools.el (mspools-mode):
2019 * locate.el (locate-mode):
2020 * ibuffer.el (ibuffer-mode):
2021 * emulation/ws-mode.el (wordstar-mode):
2022 * emacs-lisp/debug.el (debugger-mode):
2023 * array.el (array-mode):
2024 * net/eudc.el (eudc-mode): Use define-derived-mode.
2025 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2026 Move initialization into declaration.
2027 (mairix-searches-mode): Use define-derived-mode.
2028 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2029 (eudc-edit-hotlist): Use dolist.
2030 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2031 (Man-mode): Use define-derived-mode.
2032 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2033 (Info-edit-mode): Use define-derived-mode.
2034 (Info-cease-edit): Use Info-mode.
2035 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2036 into declaration.
2037 (eshell-mode): Use define-derived-mode.
2038 * chistory.el (command-history-mode-map): Rename from
2039 command-history-map.
2040 (command-history-mode): Use define-derived-mode.
da712f22 2041 (Command-history-setup): Remove function.
1b3b87df
SM
2042 * calc/calc.el (calc-trail-mode-map): New var.
2043 (calc-trail-mode): Use define-derived-mode.
2044 (calc-trail-buffer): Set calc-main-buffer manually.
2045 * bookmark.el (bookmark-insert-annotation): New function.
2046 (bookmark-edit-annotation): Use it.
2047 (bookmark-edit-annotation-mode): Make it a proper major mode.
2048 (bookmark-send-edited-annotation): Use derived-mode-p.
2049 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2050 closer to its ideal place. Use \' to match EOS.
2051
34675540
SM
2052 * profiler.el (profiler-calltree-find): Use function-equal.
2053
6a5c15d9
GM
20542013-09-10 Glenn Morris <rgm@gnu.org>
2055
1af4c220
GM
2056 * files.el (interpreter-mode-alist): Convert to regexps.
2057 (set-auto-mode): Adapt for this. (Bug#15306)
2058 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2059 Comment out unused variable.
2060 * progmodes/cc-mode.el (interpreter-mode-alist):
2061 * progmodes/python.el (interpreter-mode-alist):
2062 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2063 * progmodes/sh-script.el (sh-set-shell):
2064 No longer use interpreter-mode-alist to get list of shells.
2065
6a5c15d9
GM
2066 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2067
8c27f5ff
SM
20682013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2069
02ef6c1a 2070 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2071 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2072 Bind switch-frame explicitly. Replace universal-argument-minus with
2073 a conditional binding.
2074 (universal-argument-num-events, saved-overriding-map): Remove.
2075 (restore-overriding-map): Remove.
2076 (universal-argument--mode): Rename from save&set-overriding-map,
2077 and rewrite.
2078 (universal-argument, universal-argument-more, negative-argument)
2079 (digit-argument): Adjust accordingly.
2080 (universal-argument-minus): Remove.
2081 (universal-argument-other-key): Remove.
2082
8c27f5ff
SM
2083 * subr.el (with-demoted-errors): Add `format' argument.
2084
6480194c
MA
20852013-09-10 Michael Albinus <michael.albinus@gmx.de>
2086
2087 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2088 `tramp-cleanup-connection'.
2089
2090 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2091 parameters KEEP-DEBUG and KEEP-PASSWORD.
2092
2093 * net/tramp.el (tramp-file-name-handler):
2094 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2095 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2096 (tramp-maybe-open-connection):
8c27f5ff
SM
2097 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2098 Use `tramp-cleanup-connection'.
6480194c 2099
8c27f5ff
SM
2100 * net/tramp-sh.el (tramp-maybe-open-connection):
2101 Catch 'uname-changed inside the progress reporter.
6480194c 2102
e5e916d8
GM
21032013-09-10 Glenn Morris <rgm@gnu.org>
2104
9a2c9b47
GM
2105 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2106
e5e916d8
GM
2107 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2108 returns "alternate access method" in mode (eg "-rw-r--r--.").
2109
144e38fe
GM
21102013-09-08 Glenn Morris <rgm@gnu.org>
2111
2112 * saveplace.el (load-save-place-alist-from-file):
2113 Demote errors. (Bug#15305)
2114
af9ff9e8
MA
21152013-09-08 Michael Albinus <michael.albinus@gmx.de>
2116
2117 Improve compatibility with older Emacsen, and XEmacs.
2118
2119 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2120 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2121 (with-tramp-progress-reporter): Do not let-bind `result'.
2122 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2123 (tramp-handle-make-auto-save-file-name): New function, moved from
2124 tramp-sh.el.
2125
2126 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2127 for `make-auto-save-file-name'.
8c27f5ff
SM
2128 (tramp-adb--gnu-switches-to-ash):
2129 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2130
2131 * net/tramp-cache.el (tramp-cache-print): Call
2132 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2133
2134 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2135 bound. It isn't for XEmacs.
2136
8c27f5ff
SM
2137 * net/tramp-compat.el (tramp-compat-copy-file):
2138 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2139 (tramp-compat-replace-regexp-in-string): New defun.
2140
2141 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2142 for `make-auto-save-file-name'.
2143 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2144 `copy-file'.
2145 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2146 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2147 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2148
8c27f5ff
SM
2149 * net/tramp-gw.el (tramp-gw-open-network-stream):
2150 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2151
8c27f5ff
SM
2152 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2153 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2154 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2155 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2156 (tramp-sh-file-inotifywait-process-filter):
2157 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2158 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2159
2160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2161 for `make-auto-save-file-name'.
8c27f5ff
SM
2162 (tramp-smb-handle-copy-directory):
2163 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2164 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2165 (tramp-smb-handle-copy-file): Improve error message.
2166 (tramp-smb-handle-rename-file): Rename directly only in case
2167 `newname' does not exist yet. This is a restriction of smbclient.
2168 (tramp-smb-maybe-open-connection): Rerun the function only when
2169 `auth-sources' is non-nil.
2170
0ca754d0
KH
21712013-09-08 Kenichi Handa <handa@gnu.org>
2172
2173 * international/characters.el: Set category "^" (Combining) for
2174 more characters.
2175
e8dd0787
AM
21762013-09-07 Alan Mackenzie <acm@muc.de>
2177
2178 Correctly fontify Java class constructors.
2179 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2180 in Java Mode.
2181 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2182 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2183 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2184 "typeless" declaration there.
2185
f2f248e7
RW
21862013-09-07 Roland Winkler <winkler@gnu.org>
2187
2188 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2189 field subtitle for entry type book.
2190
67982e2b
SM
21912013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * minibuffer.el: Make minibuffer-complete call completion-in-region
2194 rather than other way around.
2195 (completion--some, completion-pcm--find-all-completions):
2196 Don't delay signals when debugging.
2197 (minibuffer-completion-contents): Beware fields within the
2198 minibuffer contents.
2199 (completion-all-sorted-completions): Use defvar-local.
2200 (completion--do-completion, completion--cache-all-sorted-completions)
2201 (completion-all-sorted-completions, minibuffer-force-complete):
2202 Add args `beg' and `end'.
2203 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2204 (minibuffer-complete): Use completion-in-region.
2205 (completion-complete-and-exit): New fun, extracted from
2206 minibuffer-complete-and-exit.
2207 (minibuffer-complete-and-exit): Use it.
2208 (completion--complete-and-exit): Rename from
2209 minibuffer--complete-and-exit.
2210 (completion-in-region--single-word): New function, extracted from
2211 minibuffer-complete-word.
2212 (minibuffer-complete-word): Use it.
2213 (display-completion-list): Make `common-substring' argument obsolete.
2214 (completion--in-region): Call completion--in-region-1 instead of
2215 minibuffer-complete.
2216 (completion-help-at-point): Pass boundaries to
2217 minibuffer-completion-help as args rather than via an overlay.
2218 (completion-pcm--string->pattern): Use `any-delim'.
2219 (completion-pcm--optimize-pattern): New function.
2220 (completion-pcm--pattern->regex): Handle `any-delim'.
2221 * icomplete.el (icomplete-forward-completions)
2222 (icomplete-backward-completions, icomplete-completions):
2223 Adjust calls to completion-all-sorted-completions and
2224 completion--cache-all-sorted-completions.
2225 (icomplete-with-completion-tables): Default to t.
2226 * emacs-lisp/crm.el (crm--current-element): Rename from
2227 crm--select-current-element. Don't put an overlay but return the
2228 boundaries instead.
2229 (crm--completion-command): Take two new args to bind to the boundaries.
2230 (crm-completion-help): Adjust accordingly.
2231 (crm-complete): Use completion-in-region.
2232 (crm-complete-word): Use completion-in-region--single-word.
2233 (crm-complete-and-exit): Use completion-complete-and-exit.
2234
e17d94a5
SM
22352013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2238 than dynamically.
2239
96727100
JL
22402013-09-06 Juri Linkov <juri@jurta.org>
2241
2242 * info.el (Info-display-images-node): When image file doesn't exist
2243 display text version of the image if it's provided in the Info file.
2244 Otherwise, display the location of missing image from SRC attribute.
2245 Add help-echo text property from ALT attribute. (Bug#15279)
2246
86cf7329
SM
22472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2250 (edit-abbrevs-mode): Use define-derived-mode.
2251
2252 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2253 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2254 that it's defined.
2255 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2256 Use define-derived-mode.
2257
2258 * epg.el (epg-start-encrypt): Minor CSE simplification.
2259
816244a2
WX
22602013-09-06 William Xu <william.xwl@gmail.com>
2261
2262 * arc-mode.el: Add support for 7za (bug#15264).
2263 (archive-7z-program): New var.
2264 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2265 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2266 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2267
1486fa31
MA
22682013-09-06 Michael Albinus <michael.albinus@gmx.de>
2269
2270 Remove URL syntax.
2271
2272 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2273 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2274 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2275 (tramp-postfix-host-format, tramp-file-name-regexp)
2276 (tramp-completion-file-name-regexp)
2277 (tramp-completion-dissect-file-name)
2278 (tramp-handle-substitute-in-file-name): Remove 'url case.
2279 (tramp-file-name-regexp-url)
2280 (tramp-completion-file-name-regexp-url): Remove constants.
2281
39785324
GM
22822013-09-06 Glenn Morris <rgm@gnu.org>
2283
2284 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2285
1f896cb7
DG
22862013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2287
2288 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2289 keywords" below "here-doc beginnings" (Bug#15270).
2290
c0458e0b
SM
22912013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * subr.el (pop): Use `car-safe'.
2294 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2295 to detect unused `pop' return value.
2296
2297 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2298 var `block-regexp'.
2299 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2300 (python-fill-string): Remove unused var `marker'.
2301 (python-skeleton-add-menu-items): Remove unused var `items'.
2302
2303 * international/mule-cmds.el: Require CL.
2304 (find-coding-systems-for-charsets): Avoid add-to-list.
2305 (sanitize-coding-system-list): New function, extracted from
2306 select-safe-coding-system-interactively.
2307 (select-safe-coding-system-interactively): Use it.
2308 (read-input-method-name): Accept symbols for `default'.
2309
2310 * emacs-lisp/advice.el (defadvice): Add indent rule.
2311
6c42fc3e
DH
23122013-09-05 Daniel Hackney <dan@haxney.org>
2313
2314 * dired-x.el:
2315 * net/ange-ftp.el:
2316 * net/browse-url.el:
2317 * net/dbus.el:
2318 * net/eudc.el:
2319 * net/eudcb-ldap.el:
2320 * net/eww.el:
2321 * net/imap.el:
2322 * printing.el:
2323 * vc/ediff-diff.el:
2324 * vc/ediff-init.el:
2325 * vc/ediff-merg.el:
2326 * vc/ediff-mult.el:
2327 * vc/ediff-util.el:
2328 * vc/ediff-wind.el:
2329 * vc/ediff.el:
2330 * vc/emerge.el:
2331 * vc/pcvs.el:
2332 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2333 byte compiler. Remove some unused let-bound variables.
2334
4c528aab
SM
23352013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2338 a "ref-cell", since it gets better optimized (bug#14883).
2339
bd15c390
GM
23402013-09-05 Glenn Morris <rgm@gnu.org>
2341
2342 * progmodes/cc-awk.el (c-forward-sws): Declare.
2343
1c3ac2e5
GM
23442013-09-04 Glenn Morris <rgm@gnu.org>
2345
2346 * generic-x.el [rul-generic-mode]: Require cc-mode.
2347 (c++-mode-syntax-table): Declare.
2348 (rul-generic-mode-syntax-table): Init in the defvar.
2349
52b1cc79
SM
23502013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2351
c828af56
SM
2352 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2353 (vc-do-command, vc-set-async-update):
2354 * vc/vc-mtn.el (vc-mtn-dir-status):
2355 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2356 (vc-hg-pull, vc-hg-merge-branch):
2357 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2358 (vc-git-merge-branch):
2359 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2360 (vc-cvs-dir-status-files):
2361 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2362 (vc-bzr-dir-status-files):
2363 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2364 * vc/vc-annotate.el: Use lexical-binding.
2365 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2366 (vc-sentinel-movepoint): Declare.
2367 (vc-annotate): Don't use `goto-line'.
2368 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2369 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2370 (vc-sentinel-movepoint): Declare.
2371 * vc/vc-svn.el: Use lexical-binding.
2372 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2373 * vc/vc-sccs.el:
2374 * vc/vc-rcs.el: Use lexical-binding.
2375
abae272c
SM
2376 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2377 `deleted'. Don't drop errors silently.
2378
52b1cc79
SM
2379 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2380
63191d9f
XF
23812013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2382
2383 * vc/vc.el (vc-ignore): Rewrite.
2384 (vc-default-ignore): New function.
2385 (vc-default-ignore-completion-table): Use find-ignore-file.
2386
2387 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2388 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2389 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2390 Remove. Most code moved to vc.el.
2391
9d3f707c
SM
23922013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2393
abae272c 2394 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2395 * net/tramp-smb.el (tramp-smb-get-file-entries):
2396 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2397 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2398
fde38d49
SM
2399 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2400 Update call to it.
2401 (eww-change-select): Remove unused var `properties'.
2402 (eww-make-unique-file-name): Remove unused var `base'.
2403
2404 * finder.el (finder-compile-keywords): Don't mess with windows.
2405
84032db7
SM
2406 * calculator.el (calculator-funcall): Fix typo in last change.
2407
724f5e41
SM
2408 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2409
14b511d4
SM
2410 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2411 <pkg>-autoloads.el file stop us.
2412
9d3f707c 2413 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2414 warnings, and factor out common code.
9d3f707c 2415
88527bc0
DG
24162013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2419 two-character operators and whether the character preceding them
2420 changes their meaning (Bug#15208).
2421
96edb677
FEG
24222013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2423
2424 Format code sent to Python shell for robustness.
9d3f707c
SM
2425 * progmodes/python.el (python-shell-buffer-substring):
2426 New function.
96edb677
FEG
2427 (python-shell-send-region, python-shell-send-buffer): Use it.
2428
95beaef3
MA
24292013-09-02 Michael Albinus <michael.albinus@gmx.de>
2430
2431 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2432 * net/tramp.el (tramp-user-error): ... here.
2433 (tramp-find-method, tramp-check-proper-host)
2434 (tramp-dissect-file-name, tramp-debug-message)
2435 (tramp-handle-shell-command):
2436 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2437 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2438
2439 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2440
f167c27b
MR
24412013-09-02 Martin Rudalics <rudalics@gmx.at>
2442
2443 * avoid.el (mouse-avoidance-point-position)
2444 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2445 returns nil.
2446
cd16c5f1
FEG
24472013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2448
2449 * progmodes/python.el (python-shell-completion-get-completions):
2450 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2451 (python-nav-if-name-main): New command.
cd16c5f1 2452
e73c3a0d
GM
24532013-09-01 Glenn Morris <rgm@gnu.org>
2454
f8ccce03
GM
2455 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2456 Avoid leading space in $wins. Otherwise the sed command used by
2457 eg compile-main ends up containing "/*.el". (Bug#15170)
2458
e73c3a0d
GM
2459 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2460
415f808e
GM
24612013-08-30 Glenn Morris <rgm@gnu.org>
2462
2463 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2464 Fix is-this-a-directory logic. (Bug#15220)
2465
f069bba8
SM
24662013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2467
112798c1
SM
2468 * textmodes/css-mode.el: Use SMIE.
2469 (css-smie-grammar): New var.
2470 (css-smie--forward-token, css-smie--backward-token)
2471 (css-smie-rules): New functions.
2472 (css-mode): Use them.
2473 (css-navigation-syntax-table): Remove var.
2474 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2475 (css-indent-calculate, css-indent-line): Remove functions.
2476
2477 Misc changes to reduce use of `(lambda...); and other cleanups.
2478 * cus-edit.el: Use lexical-binding.
2479 (customize-push-and-save, customize-apropos)
2480 (custom-buffer-create-internal): Use closures.
2481 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2482 * progmodes/ada-xref.el: Use setq.
2483 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2484 * dframe.el: Use lexical-binding.
2485 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2486 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2487 * descr-text.el: Use lexical-binding.
2488 (describe-text-widget, describe-text-sexp, describe-property-list):
2489 Use closures.
2490 * comint.el (comint-history-isearch-push-state): Use a closure.
2491 * calculator.el: Use lexical-binding.
2492 (calculator-number-to-string): Make it work with lexical-binding.
2493 (calculator-funcall): Same and use cl-letf.
2494
2da4c3ab
SM
2495 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2496 (lisp--company-doc-string, lisp--company-location): New functions.
2497 (lisp-completion-at-point): Use them to improve Company support.
2498
f069bba8
SM
2499 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2500 params of lambda expressions.
2501 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2502 (ruby-smie--opening-pipe-p): New function.
2503 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2504 symbols and matched |...| for formal params.
2505 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2506 from being treated as hanging. Handle "rescue".
2507
6758b6a8
GM
25082013-08-29 Glenn Morris <rgm@gnu.org>
2509
2510 * progmodes/cc-engine.el (c-pull-open-brace):
2511 Move definition before use.
2512
e8dfd197
SM
25132013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2516 are immutable. Don't use `unsafe' any more.
2517 (cl--defsubst-expand): Don't substitute at the same time as keeping
2518 a residual unused let-binding. Don't use `unsafe' any more.
2519
cc585c96
GM
25202013-08-29 Glenn Morris <rgm@gnu.org>
2521
ba579ea6
GM
2522 * calendar/cal-china.el (calendar-chinese-year-cache):
2523 Recenter on 2015.
2524
8201a87e
GM
2525 * nxml/nxml-util.el (nxml-debug-clear-inside):
2526 Use cl-loop rather than loop.
2527
6ee877c7
GM
2528 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2529
cc585c96
GM
2530 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2531
27be8d39
GM
25322013-08-28 Glenn Morris <rgm@gnu.org>
2533
397440a1
GM
2534 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2535
2bb762d4
GM
2536 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2537
27be8d39
GM
2538 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2539
2d69b99e
SM
25402013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2541
f663baa7
SM
2542 * simple.el (repeat-complex-command--called-interactively-skip):
2543 New function.
2544 (repeat-complex-command): Use it (bug#14136).
2545
dd4f8b74
SM
2546 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2547 (c-define-abbrev-table): Add `doc' argument.
2548 (c-mode-abbrev-table, c++-mode-abbrev-table)
2549 (objc-mode-abbrev-table, java-mode-abbrev-table)
2550 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2551 (awk-mode-abbrev-table): Use it.
2552 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2553 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2554 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2555 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2556 Move initialization into the declaration; and remove any
2557 autoload cookie.
2558
b58969f7
SM
2559 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2560 and dynamic let binding.
2561
4021d6a6
SM
2562 * vc/smerge-mode.el: Remove redundant :group args.
2563
2d69b99e
SM
2564 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2565 to load-path.
2566
274919fd
JL
25672013-08-28 Juri Linkov <juri@jurta.org>
2568
2569 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2570 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2571 (isearch-other-meta-char): Handle an undefined shifted printing
2572 character by downshifting it. (Bug#15200)
2573
121f8c95
JL
25742013-08-28 Juri Linkov <juri@jurta.org>
2575
2576 * isearch.el (isearch-search): Change regexp error message for
2577 non-regexp searches. (Bug#15166)
2578
50b13cde
PE
25792013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2580
2581 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2582 for portability to hosts where /bin/sh has problems.
2583
95888bca
SM
25842013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2587
bbe558f1
JL
25882013-08-27 Juri Linkov <juri@jurta.org>
2589
2590 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2591 in the keyboard macro. (Bug#15126)
2592
26f98a7d
JL
25932013-08-27 Juri Linkov <juri@jurta.org>
2594
2595 * isearch.el (isearch-quote-char): Comment out converting unibyte
2596 to multibyte, thus syncing with its `quoted-insert' counterpart.
2597 (Bug#15166)
2598
7c97d35e
MR
25992013-08-27 Martin Rudalics <rudalics@gmx.at>
2600
2601 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2602 argument in call of get-largest-window (Bug#15185).
2603 Reported by Stephen Leake.
7c97d35e 2604
a0b5606e 26052013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2606
2607 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2608
9e89d835
SM
26092013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2612 from a matcher-function unless there's no more matches (bug#15161).
2613
78fc2530
MA
26142013-08-26 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * minibuffer.el: Revert change from 2013-08-20.
2617
2618 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2619 with text property `tramp-default', if appropriate.
2620 (tramp-check-proper-host): New defun.
2621 (tramp-dissect-file-name): Do not check hostname. Revert change
2622 of 2013-03-18.
2623 (tramp-backtrace): Make VEC-OR-PROC optional.
2624
2625 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2626 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2627 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2628 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2629 Apply `tramp-check-proper-host'.
78fc2530 2630
edca97cd
TH
26312013-08-26 Tassilo Horn <tsdh@gnu.org>
2632
2633 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2634 lambda expression in order to have `describe-variable' display it.
2635
df54bcbd
MA
26362013-08-26 Michael Albinus <michael.albinus@gmx.de>
2637
2638 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2639 BUF can be optional. (Bug#15186)
2640
eed99101
XF
26412013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2642
2643 * progmodes/flymake.el (flymake-get-real-file-name-function):
2644 Fix broken customization. (Bug#15184)
2645
b5eb9035
AM
26462013-08-25 Alan Mackenzie <acm@muc.de>
2647
8a51e842
AM
2648 Improve indentation of bracelists defined by macros (without "=").
2649
2650 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2651 expansion begins with "{", regard it as bracelist when it doesn't
2652 contain a ";".
2653
869455d4
AM
2654 Parse C++ inher-intro when there's a template split over 2 lines.
2655
2656 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2657 rigorously the search for "class" etc. followed by ":".
2658
2659 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2660 random languages a regexp which never matches rather than nil.
2661
b5eb9035
AM
2662 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2663
2664 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2665 (c-awk-regexp-one-line-possibly-open-char-list-re)
2666 (c-awk-one-line-possibly-open-regexp-re)
2667 (c-awk-one-line-non-syn-ws*-re): Remove.
2668 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2669 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2670 (c-awk-space*-unclosed-regexp-/-re): New constants.
2671 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2672 aren't regexp delimiters.
2673
2674 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2675 handling for a rare situation in AWK Mode involving unterminated
2676 strings/regexps.
2677
61611d54
GM
26782013-08-23 Glenn Morris <rgm@gnu.org>
2679
2d85dc34
GM
2680 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2681
cb8d2612
GM
2682 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2683
bb35f42f
GM
2684 * files.el (create-file-buffer): If the result would begin with
2685 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2686
b9808e77
SM
26872013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2688
e3a66363
SM
2689 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2690 text-properties (bug#15155).
2691
b9808e77
SM
2692 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2693 exist any more.
2694 (calc-keypad-redraw): Remove unused var `pad'.
2695 (calc-keypad-press): Remove unused var `menu'.
2696
7fd5f65e
MR
26972013-08-23 Martin Rudalics <rudalics@gmx.at>
2698
b9808e77
SM
2699 * window.el (display-buffer-pop-up-frame):
2700 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2701 use it as the new frame's buffer (Bug#15133).
2702
8352b530
SM
27032013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * calendar/timeclock.el: Minor cleanups.
2706 (timeclock-ask-before-exiting, timeclock-use-display-time):
2707 Use `symbol'.
2708 (timeclock-modeline-display): Define as alias before the
2709 actual definition.
2710 (timeclock-mode-line-display): Use define-minor-mode.
2711 (timeclock-day-list-template): Make it a function, add an argument.
2712 (timeclock-day-list-required, timeclock-day-list-length)
2713 (timeclock-day-list-debt, timeclock-day-list-span)
2714 (timeclock-day-list-break): Adjust calls accordingly.
2715
9f7b1925
SM
27162013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2719 Use read--expression so that completion works again.
2720
6e50e983
SS
27212013-08-21 Sam Steingold <sds@gnu.org>
2722
2723 Add rudimentary inferior shell interaction
2724 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2725 (sh-set-shell): Reset it.
9f7b1925
SM
2726 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2727 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2728
dbb0d350
SM
27292013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * align.el: Use lexical-binding.
2732 (align-region): Simplify accordingly.
2733
c88586a9
MA
27342013-08-20 Michael Albinus <michael.albinus@gmx.de>
2735
2736 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2737
2738 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2739 `non-essential' up.
2740
f95527c8
MA
27412013-08-17 Michael Albinus <michael.albinus@gmx.de>
2742
2743 * net/tramp.el:
2744 * net/tramp-adb.el:
2745 * net/tramp-cmds.el:
2746 * net/tramp-ftp.el:
2747 * net/tramp-gvfs.el:
2748 * net/tramp-gw.el:
2749 * net/tramp-sh.el: Don't wrap external variable declarations by
2750 `eval-when-compile'.
2751
4b5fe4ee
LMI
27522013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2753
2754 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2755 now that Emacs supports ImageMagick animations.
2756
13c366c9
MA
27572013-08-16 Michael Albinus <michael.albinus@gmx.de>
2758
2759 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2760 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2761
3dfc5cd6
MR
27622013-08-16 Martin Rudalics <rudalics@gmx.at>
2763
2764 * window.el (mouse-autoselect-window-select): Do autoselect when
2765 mouse pointer is on margin.
2766
4bbb4381
WP
27672013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2768
2769 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2770
3a2ddc2d
GM
27712013-08-16 Glenn Morris <rgm@gnu.org>
2772
e8bedf5a
GM
2773 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2774 Handle "Remote Directory" response of some clients. (Bug#15058)
2775
58c4682f
GM
2776 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2777 Tweak warning. (Bug#14926)
2778
57953f49
GM
2779 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2780 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2781
3a2ddc2d
GM
2782 * image-mode.el (image-mode-map): Add menu items to reverse,
2783 increase, decrease, reset animation speed.
2784 (image--set-speed, image-increase-speed, image-decrease-speed)
2785 (image-reverse-speed, image-reset-speed): New functions.
2786 (image-mode-map): Add bindings for speed commands.
2787
2788 * image.el (image-animate-get-speed, image-animate-set-speed):
2789 New functions.
2790 (image-animate-timeout): Respect image :speed property.
2791
10fa0ed3
SM
27922013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2795 previous line (bug#15101).
2796 (debugger-eval-expression, debugger-record-expression):
2797 Use read--expression (bug#15102).
2798
5d89d9d2
MA
27992013-08-15 Michael Albinus <michael.albinus@gmx.de>
2800
2801 Remove byte compiler warnings, visible when compiling with
2802 `byte-compile-force-lexical-warnings' set to t.
2803
2804 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2805 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2806 (tramp-handle-unhandled-file-name-directory)
2807 (tramp-handle-file-notify-add-watch, tramp-action-login)
2808 (tramp-action-succeed, tramp-action-permission-denied)
2809 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2810 arguments with "_".
2811
2812 * net/tramp-adb.el (tramp-adb-parse-device-names)
2813 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2814 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2815 (tramp-adb-handle-file-truename): Remove unused arguments.
2816
2817 * net/tramp-cache.el (tramp-flush-directory-property)
2818 (tramp-flush-connection-property, tramp-list-connections)
2819 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2820
10fa0ed3
SM
2821 * net/tramp-compat.el (tramp-compat-make-temp-file):
2822 Rename FILENAME to F.
5d89d9d2
MA
2823
2824 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2825 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2826 (tramp-zeroconf-parse-workstation-device-names)
2827 (tramp-zeroconf-parse-webdav-device-names)
2828 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2829
2830 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2831 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2832
2833 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2834 arguments.
2835 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2836 (tramp-sh-handle-insert-file-contents-literally)
2837 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2838 with "_".
2839 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2840 Remove unused variables.
2841
2842 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2843 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2844 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2845
2846 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2847 Make them a defconst.
2848 (tramp-uuencode-region): Remove unused variable.
2849
62f33bae
JB
28502013-08-14 Juanma Barranquero <lekktu@gmail.com>
2851
2852 * frameset.el (frameset--prop-setter): New function.
2853 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2854 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2855 parameter was already set in FILTERED. Doc fix.
2856 (frameset--record-minibuffer-relationships): Allow saving a
2857 minibufferless frame without its corresponding minibuffer frame.
2858 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2859 frame, if the frame id matches.
2860 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2861 frames before orphaned ones.
2862 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2863
c660a885
MR
28642013-08-14 Martin Rudalics <rudalics@gmx.at>
2865
2866 * window.el (window-make-atom): Don't overwrite parameter
2867 already present.
2868 (display-buffer-in-atom-window): Handle special case where we
2869 split an already atomic window.
2870 (window--major-non-side-window, display-buffer-in-side-window)
2871 (window--side-check): Ignore minibuffer window when walking
2872 window tree.
2873 (window-deletable-p): Return 'frame only if no other frame uses
2874 our minibuffer window.
2875 (record-window-buffer): Run buffer-list-update-hook.
2876 (split-window): Make sure window--check-frame won't destroy an
2877 existing atomic window in case the new window gets nested
2878 inside.
2879 (display-buffer-at-bottom): Ignore minibuffer window when
2880 walking window tree. Don't split a side window.
2881 (pop-to-buffer): Don't set-buffer here, the select-window call
2882 should do that.
2883 (mouse-autoselect-window-select): Autoselect only if we are in the
2884 text portion of the window.
2885
8259030d
LMI
28862013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887
21c58ae2
LMI
2888 * net/shr.el (shr-parse-image-data): New function to grab both the
2889 data itself and the Content-Type.
2890 (shr-put-image): Use it.
2891
2892 * net/eww.el (eww-display-image): Ditto.
2893
8259030d
LMI
2894 * image.el (image-content-type-suffixes): New variable.
2895
ad756449
FEG
28962013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2897
2898 * progmodes/python.el (python-imenu--build-tree)
2899 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2900
f73f4ce6
XF
29012013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2902
2903 * simple.el (backward-word): Mention the optional argument.
2904
1f585e65
SM
29052013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * frameset.el (frameset--make): Rename constructor from make-frameset.
2908 (frameset-p, frameset-valid-p): Don't autoload.
2909 (frameset-valid-p): Use normal accessors.
2910
af1c6c84
GM
29112013-08-13 Glenn Morris <rgm@gnu.org>
2912
55e47f95
GM
2913 * progmodes/compile.el (compile-command): Tweak example in doc.
2914 * obsolete/scribe.el (scribe-mode):
2915 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2916
f0024d8c
GM
2917 * mail/feedmail.el (feedmail-confirm-outgoing)
2918 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2919
2920 * cus-start.el (truncate-partial-width-windows): Fix type.
2921
2922 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2923
af1c6c84
GM
2924 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2925
5514cc4c
SM
29262013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/timer.el (timer--time-setter): New function.
2929 (timer--time): Use it as gv-setter.
2930
2931 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2932 setter is not a symbol.
2933
7997a2f1
GJ
29342013-08-12 Grégoire Jadi <daimrod@gmail.com>
2935
2936 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2937 if sending fails. This makes debugging easier.
2938
01f1a9ab
JB
29392013-08-12 Juanma Barranquero <lekktu@gmail.com>
2940
2941 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2942 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2943 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2944
594a4307
EZ
29452013-08-12 Eli Zaretskii <eliz@gnu.org>
2946
2947 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2948
7a22490f 29492013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2950
2951 * format.el (format-annotate-function):
2952 Handle read-only text properties in the source. (Bug#14887)
2953
3e41a054
LMI
29542013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2955
5514cc4c
SM
2956 * net/eww.el (eww-display-html): Ignore coding system errors.
2957 One web site uses "utf-8lias" as the coding system.
3e41a054 2958
7ec326db
JB
29592013-08-11 Juanma Barranquero <lekktu@gmail.com>
2960
2961 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2962
5660113b
JB
29632013-08-10 Juanma Barranquero <lekktu@gmail.com>
2964
9a4ebc74
JB
2965 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2966 (tutorial--detailed-help): Remove unused local variables.
2967 (tutorial--save-tutorial-to): Use ignore-errors.
2968 (help-with-tutorial): Use looking-at-p.
2969
2970 * view.el (view-buffer-other-window, view-buffer-other-frame):
2971 Mark unused arguments.
2972
2973 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2974 (woman-select-symbol-fonts, woman, woman-find-file)
2975 (woman-insert-file-contents, woman-non-underline-faces):
2976 Use string-match-p.
2977 (woman1-unquote): Move declaration.
2978
2979 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2980 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2981 argument. Remove unused local variable.
2982 (xml-parse-elem-type): Use string-match-p.
2983 (xml-substitute-numeric-entities): Use ignore-errors.
2984
45fdb482
JB
2985 * calculator.el (calculator): Mark unused argument.
2986 (calculator-paste, calculator-quit, calculator-integer-p):
2987 Use ignore-errors.
2988 (calculator-string-to-number, calculator-decimal, calculator-exp)
2989 (calculator-op-or-exp): Use string-match-p.
2990
2991 * dired.el (dired-buffer-more-recently-used-p): Declare.
2992 (dired-insert-set-properties, dired-insert-old-subdirs):
2993 Use ignore-errors.
2994
2995 * dired-aux.el (dired-compress): Use ignore-errors.
2996 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2997 (dired-do-async-shell-command, dired-do-shell-command)
2998 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2999 (dired-insert-subdir-validate): Use string-match-p.
3000 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3001 (dired-add-entry): Use string-match-p, looking-at-p.
3002 (dired-insert-subdir-newpos): Remove unused local variable.
3003
3004 * filenotify.el (file-notify-callback): Remove unused local variable.
3005
3006 * filesets.el (filesets-error): Mark unused argument.
3007 (filesets-which-command-p, filesets-filter-dir-names)
3008 (filesets-directory-files, filesets-get-external-viewer)
3009 (filesets-ingroup-get-data): Use string-match-p.
3010
3011 * find-file.el (ff-other-file-name, ff-other-file-name)
3012 (ff-find-the-other-file, ff-cc-hh-converter):
3013 Remove unused local variables.
3014 (ff-get-file-name): Use string-match-p.
3015 (ff-all-dirs-under): Use ignore-errors.
3016
3017 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3018 (follow-select-if-visible): Remove unused local variable.
3019
3020 * forms.el (read-file-filter): Move declaration.
3021 (forms--make-format, forms--make-parser, forms-insert-record):
3022 Quote function with #'.
3023 (forms--update): Use string-match-p. Quote function with #'.
3024
3025 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3026 (help-make-xrefs): Use looking-at-p.
3027 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3028
3029 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3030 (ibuffer-confirm-operation-on): Use string-match-p.
3031
3032 * msb.el (msb-item-handler, msb-dired-item-handler):
3033 Mark unused arguments.
3034
3035 * ses.el (ses-decode-cell-symbol)
3036 (ses-kill-override): Remove unused local variable.
3037 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3038 (ses-load): Use ignore-errors, looking-at-p.
3039 (ses-jump-safe): Use ignore-errors.
3040 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3041
3042 * tabify.el (untabify, tabify): Mark unused arguments.
3043
3044 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3045 Mark unused argument.
3046 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3047 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3048
c880af52
JB
3049 * emacs-lisp/timer.el (timer--time): Define setter with
3050 gv-define-setter to avoid deprecation warning.
3051
5660113b 3052 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3053 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3054 (cmpl-statistics-block): Remove (body was commented out).
3055 All callers changed.
3056 (add-completions-from-buffer, load-completions-from-file):
3057 Remove unused variables.
3058
156aab80
JB
30592013-08-09 Juanma Barranquero <lekktu@gmail.com>
3060
5c5dee78
JB
3061 * filecache.el (file-cache-delete-file-list):
3062 Print message only when told so.
3063 (file-cache-files-matching): Use #' in mapconcat argument.
3064
156aab80
JB
3065 * ffap.el (ffap-url-at-point): Fix reference to variable
3066 thing-at-point-default-mail-uri-scheme.
3067
ad9dcd70
SM
30682013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3069
54bd972f
SM
3070 * subr.el (define-error): New function.
3071 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3072 error-file-not-found and define with define-error.
3073 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3074 and define with define-error.
3075 * userlock.el (file-locked, file-supersession):
3076 * simple.el (mark-inactive):
3077 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3078 * progmodes/ada-mode.el (ada-mode-errors):
3079 * play/life.el (life-extinct):
3080 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3081 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3082 * nxml/rng-util.el (rng-error):
3083 * nxml/rng-uri.el (rng-uri-error):
3084 * nxml/rng-match.el (rng-compile-error):
3085 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3086 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3087 * nxml/nxml-rap.el (nxml-scan-error):
3088 * nxml/nxml-outln.el (nxml-outline-error):
3089 * net/soap-client.el (soap-error):
3090 * net/gnutls.el (gnutls-error):
3091 * net/ange-ftp.el (ftp-error):
3092 * mpc.el (mpc-proc-error):
3093 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3094 (json-number-format, json-string-escape, json-string-format)
3095 (json-key-format, json-object-format):
3096 * jka-compr.el (compression-error):
3097 * international/quail.el (quail-error):
3098 * international/kkc.el (kkc-error):
3099 * emacs-lisp/ert.el (ert-test-failed):
3100 * calc/calc.el (calc-error, inexact-result, math-overflow)
3101 (math-underflow):
3102 * bookmark.el (bookmark-error-no-filename):
3103 * epg.el (epg-error): Define with define-error.
3104
0ea9e53a
SM
3105 * time.el (display-time-event-handler)
3106 (display-time-next-load-average): Don't call sit-for since it seems
3107 unnecessary (bug#15045).
3108
b0429158
SM
3109 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3110 Use #' instead of ' to quote functions.
3111 (checkdoc-output-mode): Use setq-local.
3112 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3113 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3114 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3115 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3116 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3117 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3118 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3119 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3120
ad9dcd70
SM
3121 * ido.el (ido-completion-help): Fix up compiler warning.
3122
77187e6f
JB
31232013-08-09 Juanma Barranquero <lekktu@gmail.com>
3124
3125 * frameset.el (frameset-p): Add autoload cookie.
3126 (frameset--jump-to-register): New function, based on code moved from
3127 register.el.
3128 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3129
3130 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3131 (frameset-restore, frameset-save, frameset-session-filter-alist):
3132 Remove declarations.
3133 (register-alist): Doc fix.
3134 (frameset-to-register): Move to frameset.el.
3135 (jump-to-register, describe-register-1): Remove frameset-specific code.
3136
9d3aa82c
JB
31372013-08-08 Juanma Barranquero <lekktu@gmail.com>
3138
3139 * allout-widgets.el (allout-widgets-pre-command-business)
3140 (allout-widgets-post-command-business)
3141 (allout-widgets-after-change-handler)
3142 (allout-decorate-item-and-context, allout-set-boundary-marker)
3143 (allout-body-modification-handler)
3144 (allout-graphics-modification-handler): Mark ignored arguments.
3145 (allout-widgets-post-command-business)
3146 (allout-widgets-exposure-change-processor)
3147 (allout-widgets-exposure-undo-processor)
3148 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3149 (allout-parse-item-at-point, allout-decorate-item-guides)
3150 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3151 * allout.el (epa-passphrase-callback-function): Declare.
3152 (allout-overlay-insert-in-front-handler)
3153 (allout-overlay-interior-modification-handler)
3154 (allout-isearch-end-handler, allout-chart-siblings)
3155 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3156 (allout-yank-processing, allout-process-exposed)
3157 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3158 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3159 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3160 (lisp-indent-defform): Mark ignored arguments.
3161 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3162 (calculate-lisp-indent): Remove unused variables.
3163 * international/characters.el (indian-2-column, arabic-2-column)
3164 (tibetan): Mark ignored arguments.
3165 (use-cjk-char-width-table): Mark ignored arguments.
3166 Remove unused variables.
3167 * international/fontset.el (build-default-fontset-data)
3168 (x-compose-font-name, create-fontset-from-fontset-spec):
3169 Mark ignored arguments.
3170 (fontset-plain-name): Remove unused variables.
3171 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3172 (keyboard-coding-system): Mark ignored arguments.
3173 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3174 * help.el (resize-temp-buffer-window):
3175 * window.el (display-buffer-in-major-side-window)
3176 (display-buffer-in-side-window, display-buffer-in-previous-window):
3177 Remove unused variables.
3178 * isearch.el (isearch-forward-symbol):
3179 * version.el (emacs-bzr-version-bzr):
3180 * international/mule-cmds.el (current-language-environment):
3181 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3182 (x-handle-display):
3183 * term/pc-win.el (x-list-fonts, x-display-planes)
3184 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3185 (x-server-version, x-display-screens, x-display-mm-height)
3186 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3187 (x-selection-owner-p, x-own-selection-internal)
3188 (x-disown-selection-internal, x-get-selection-internal)
3189 (msdos-initialize-window-system):
3190 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3191 * term/x-win.el (x-handle-no-bitmap-icon):
3192 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3193 (vc-default-find-file-hook, vc-default-extra-menu):
3194 Mark ignored arguments.
3195
0ca3f70e
SM
31962013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3199 break-condition in the context of the debugged code (bug#12685).
3200
74c5d24c
CS
32012013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3202
3203 * comint.el:
3204 Do not use an overlay to highlight the last prompt. (Bug#14744)
3205 (comint-mode): Make comint-last-prompt buffer local.
3206 (comint-last-prompt): New variable.
3207 (comint-last-prompt-overlay): Remove. Superseded by
3208 comint-last-prompt.
0ca3f70e
SM
3209 (comint-snapshot-last-prompt, comint-output-filter):
3210 Use comint-last-prompt.
74c5d24c 3211
c03c02ee
JB
32122013-08-08 Juanma Barranquero <lekktu@gmail.com>
3213
a3738d20 3214 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3215 (frameset-save): Check validity of the resulting frameset.
3216
04263d23
XF
32172013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3218
3219 * ido.el (ido-record-command): Add doc string.
3220
76c5e5ab
JB
32212013-08-08 Juanma Barranquero <lekktu@gmail.com>
3222
3223 * frameset.el (frameset): Do not disable creation of the default
3224 frameset-p predicate. Doc fix.
3225 (frameset-valid-p): New function, copied from the old predicate-p.
3226 Add additional checks.
3227 (frameset-restore): Check with frameset-valid-p.
3228 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3229 (frameset-name, frameset-description, frameset-properties)
3230 (frameset-states): Add docstring.
f9dbf1cb
JB
3231 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3232 (frameset-filter-alist): Doc fixes.
76c5e5ab 3233
bd0c3c0b
JB
32342013-08-08 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3237
c735544c
SM
32382013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3241 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3242 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3243 (byte-compile-normal-call): Remove obsolescence check.
3244
2805a651
JB
32452013-08-08 Juanma Barranquero <lekktu@gmail.com>
3246
3677ffeb
JB
3247 * frameset.el (frameset-restore): Doc fix.
3248
2805a651
JB
3249 * register.el (frameset-frame-id, frameset-frame-with-id)
3250 (frameset-p, frameset-restore, frameset-save): Declare.
3251 (register-alist): Document framesets.
3252 (frameset-session-filter-alist): Declare.
3253 (frameset-to-register): New function.
3254 (jump-to-register): Implement jumping to framesets. Doc fix.
3255 (describe-register-1): Describe framesets.
3256
3257 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3258
a912c016
JB
32592013-08-07 Juanma Barranquero <lekktu@gmail.com>
3260
3261 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3262 Use lexical-binding.
3263
3264 * frameset.el (frameset): Use type vector, not list (incompatible
3265 change). Do not declare a new constructor, use the default one.
3266 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3267 `name' and `description', respectively, and add read-only slot
3268 `timestamp'. Doc fixes.
3269 (frameset-copy, frameset-persistent-filter-alist)
3270 (frameset-filter-alist, frameset-switch-to-gui-p)
3271 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3272 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3273 (frameset-filter-iconified, frameset-keep-original-display-p):
3274 Doc fixes.
3275 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3276 Rename from frameset-filter-(save|restore)-param. All callers changed.
3277 Doc fix.
3278 (frameset-p): Adapt to change to vector and be more thorough.
3279 Change arg name to OBJECT. Doc fix.
3280 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3281 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3282 All callers changed.
3283 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3284 All callers changed.
3285 (frameset--record-minibuffer-relationships): Rename from
3286 frameset--process-minibuffer-frames. All callers changed.
3287 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3288 Use new default constructor (again). Doc fix.
3289 (frameset--find-frame-if): Rename from `frameset--find-frame.
3290 All callers changed.
3291 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3292 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3293 Doc fix.
3294 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3295 PARAMETERS and WINDOW-STATE, respectively.
3296 (frameset-restore): Add new keyword argument PREDICATE.
3297 Reset frameset--target-display to nil. Doc fix.
3298
bb41480a
SM
32992013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3300
f001e98e
SM
3301 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3302 (bat-mode): Use it.
3303 (bat-mode-syntax-table): Mark \n as end-of-comment.
3304 (bat-font-lock-keywords): Remove comment rule.
3305
7679edb1
SM
3306 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3307 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3308
bb41480a
SM
3309 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3310 (byte-compile-callargs-warn): Use `push'.
3311 (byte-compile-arglist-warn): Ignore higher-order "calls".
3312 (byte-compile-file-form-autoload): Use `pcase'.
3313 (byte-compile-function-form): If quoting a symbol, check that it exists.
3314
cdc1ebb9
EZ
33152013-08-07 Eli Zaretskii <eliz@gnu.org>
3316
3317 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3318 and add a few popular commands found in batch files.
3319 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3320 (dos-mode): Doc fixes.
3321
312b1740
SM
33222013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3325 (dos-mode): Use setq-local. Add space after "rem".
3326 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3327 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3328
400a3178
AM
33292013-08-07 Arni Magnusson <arnima@hafro.is>
3330
3331 * progmodes/dos.el: New file.
3332 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3333 dos-mode.
3334
3b5c03d3
GM
33352013-08-06 Glenn Morris <rgm@gnu.org>
3336
3337 * calendar/calendar.el: Add new faces, and day-header-array.
3338 (calendar-weekday-header, calendar-weekend-header)
3339 (calendar-month-header): New faces.
3340 (calendar-day-header-construct): New function.
3341 (calendar-day-header-width): Also :set calendar-day-header-array.
3342 (calendar-american-month-header, calendar-european-month-header)
3343 (calendar-iso-month-header): Use calendar- faces.
3344 (calendar-generate-month):
3345 Use calendar-day-header-array for day headers; apply faces to them.
3346 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3347 (calendar-abbrev-construct): Add optional maxlen argument.
3348 (calendar-day-name-array): Doc fix.
3349 (calendar-day-name-array, calendar-abbrev-length)
3350 (calendar-day-abbrev-array):
3351 Also :set calendar-day-header-array, and maybe redraw.
3352 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3353 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3354 (calendar-day-name): Add option to use header array.
3355
ec6a2d7a
LMI
33562013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3357
3358 * net/shr.el (shr-render-td): Remove debugging.
3359 (shr-render-td): Make width computation consistent by defaulting
3360 all zero-width columns to 10 characters. This may not be optimal,
3361 but it's at least consistent.
2122cb6d
LMI
3362 (shr-make-table-1): Redo last change to fix the real problem in
3363 colspan handling.
ec6a2d7a 3364
ed4fd9c5
DA
33652013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3366
0ca3f70e
SM
3367 * files.el (cache-long-line-scans):
3368 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3369
64e22afe
JB
33702013-08-06 Juanma Barranquero <lekktu@gmail.com>
3371
024b38fc
JB
3372 * frameset.el (frameset, frameset-filter-alist)
3373 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3374 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3375 (frameset-compute-pos): Rename from frameset--compute-pos,
3376 and add docstring.
3377 (frameset-move-onscreen): Use frameset-compute-pos.
3378 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3379
64e22afe
JB
3380 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3381 Fix typos in docstrings.
3382
c8c2aca8
DA
33832013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3384
3385 * frame.el (get-other-frame): Tiny cleanup.
3386
1d237bba
JB
33872013-08-06 Juanma Barranquero <lekktu@gmail.com>
3388
8951efef
JB
3389 * vc/vc.el (vc-default-ignore-completion-table):
3390 Silence byte-compiler warning.
3391
307764cc
JB
3392 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3393 slot , which can indeed be nil.
3394 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3395 Move entry for `left' from persistent to live filter alist.
3396 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3397 Doc fixes.
3398 (frameset-filter-params): When restoring a frame, copy items added to
3399 `filtered', to avoid unwittingly modifying the original parameters.
3400 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3401 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3402
1d237bba
JB
3403 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3404 to use looking-at-p instead of looking-at. (Bug#15028)
3405
dc6c0eda
SM
34062013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 Revert introduction of isearch-filter-predicates (bug#14714).
3409 Rely on add-function instead.
3410 * isearch.el (isearch-filter-predicates): Rename it back to
3411 isearch-filter-predicate.
3412 (isearch-message-prefix): Use advice-function-mapc and advice
3413 properties to get the isearch-message-prefix.
3414 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3415 instead of run-hook-with-args-until-failure.
3416 (isearch-filter-visible): Not obsolete any more.
3417 * loadup.el: Preload nadvice.
3418 * replace.el (perform-replace): Revert to funcall
3419 instead of run-hook-with-args-until-failure.
3420 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3421 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3422 dired-isearch-filenames-toggle; make it into a proper minor mode.
3423 Use add/remove-function.
3424 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3425 Call the minor-mode rather than add/remove-hook.
3426 (dired-isearch-filter-filenames):
3427 Remove isearch-message-prefix property.
3428 * info.el (Info--search-loop): New function, extracted from Info-search.
3429 Funcall isearch-filter-predicate instead of
3430 run-hook-with-args-until-failure isearch-filter-predicates.
3431 (Info-search): Use it.
3432 (Info-mode): Use isearch-filter-predicate instead of
3433 isearch-filter-predicates.
3434
290d5b58
DA
34352013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3436
3437 Do not call to `selected-window' where it is assumed by default.
3438 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3439 `window-hscroll', `window-width', `window-height', `window-buffer',
3440 `window-frame', `window-start', `window-point', `next-window'
3441 and `window-display-table'.
3442 * abbrev.el (abbrev--default-expand):
3443 * bs.el (bs--show-with-configuration):
3444 * buff-menu.el (Buffer-menu-mouse-select):
3445 * calc/calc.el (calc):
3446 * calendar/calendar.el (calendar-generate-window):
3447 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3448 (diary-make-entry):
3449 * comint.el (send-invisible, comint-dynamic-complete-filename)
3450 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3451 * completion.el (complete):
3452 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3453 * disp-table.el (describe-current-display-table):
3454 * doc-view.el (doc-view-insert-image):
3455 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3456 * ehelp.el (with-electric-help):
3457 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3458 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3459 * emacs-lisp/helper.el (Helper-help-scroller):
3460 * emulation/cua-base.el (cua--post-command-handler-1):
3461 * eshell/esh-mode.el (eshell-output-filter):
3462 * ffap.el (ffap-gnus-wrapper):
3463 * help-macro.el (make-help-screen):
3464 * hilit-chg.el (highlight-compare-buffers):
3465 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3466 * hl-line.el (global-hl-line-highlight):
3467 * icomplete.el (icomplete-simple-completing-p):
3468 * isearch.el (isearch-done):
3469 * jit-lock.el (jit-lock-stealth-fontify):
3470 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3471 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3472 * mpc.el (mpc-tagbrowser, mpc):
3473 * net/rcirc.el (rcirc-any-buffer):
3474 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3475 * play/landmark.el (landmark-max-width, landmark-max-height):
3476 * play/zone.el (zone):
3477 * progmodes/compile.el (compilation-goto-locus):
3478 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3479 * progmodes/etags.el (find-tag-other-window):
3480 * progmodes/fortran.el (fortran-column-ruler):
3481 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3482 * progmodes/verilog-mode.el (verilog-point-text):
3483 * reposition.el (reposition-window):
3484 * rot13.el (toggle-rot13-mode):
3485 * server.el (server-switch-buffer):
3486 * shell.el (shell-dynamic-complete-command)
3487 (shell-dynamic-complete-environment-variable):
3488 * simple.el (insert-buffer, set-selective-display)
3489 (delete-completion-window):
3490 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3491 (speedbar-recenter):
3492 * startup.el (fancy-splash-head):
3493 * textmodes/ispell.el (ispell-command-loop):
3494 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3495 * tutorial.el (help-with-tutorial):
3496 * vc/add-log.el (add-change-log-entry):
3497 * vc/compare-w.el (compare-windows):
3498 * vc/ediff-help.el (ediff-indent-help-message):
3499 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3500 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3501 (ediff-setup-control-frame):
3502 * vc/emerge.el (emerge-position-region):
3503 * vc/pcvs-util.el (cvs-bury-buffer):
3504 * window.el (walk-windows, mouse-autoselect-window-select):
3505 * winner.el (winner-set-conf, winner-undo): Related users changed.
3506
38276e01
JB
35072013-08-05 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * frameset.el (frameset--set-id): Doc fix.
3510 (frameset-frame-id, frameset-frame-id-equal-p)
3511 (frameset-locate-frame-id): New functions.
3512 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3513 (frameset-restore): Use them.
3514
12b4c0ea
DA
35152013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3516
3517 Do not call to `selected-frame' where it is assumed by default.
3518 Affected functions are `raise-frame', `redraw-frame',
3519 `frame-first-window', `frame-terminal' and `delete-frame'.
3520 * calendar/appt.el (appt-disp-window):
3521 * epg.el (epg-wait-for-completion):
3522 * follow.el (follow-delete-other-windows-and-split)
3523 (follow-avoid-tail-recenter):
3524 * international/mule.el (set-terminal-coding-system):
3525 * mail/rmail.el (rmail-mail-return):
3526 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3527 * progmodes/f90.el (f90-add-imenu-menu):
3528 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3529 * server.el (server-switch-buffer):
3530 * simple.el (delete-completion-window):
3531 * talk.el (talk):
3532 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3533 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3534 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3535 * vc/ediff.el (ediff-documentation): Related users changed.
3536 * frame.el (selected-terminal): Remove the leftover.
3537
17f25e76
GM
35382013-08-05 Glenn Morris <rgm@gnu.org>
3539
3540 * calendar/calendar.el (calendar-generate-month):
3541 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3542 (calendar-generate-month, calendar-font-lock-keywords):
3543 Fix for calendar-day-header-width > length of any day name.
17f25e76 3544
063233c3
JB
35452013-08-05 Juanma Barranquero <lekktu@gmail.com>
3546
3547 * desktop.el (desktop-clear): Use new name of sort predicate.
3548
3549 * frameset.el (frameset): Add docstring. Move :version property to its
3550 own `version' slot.
3551 (frameset-copy): Rename from copy-frameset.
3552 (frameset-p): Check more thoroughly.
3553 (frameset-prop): Do not check for :version, which is no longer a prop.
3554 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3555 Use new :never value instead of t.
3556 (frameset-filter-alist): Expand and clarify docstring.
3557 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3558 (frameset-filter-minibuffer, frameset-filter-save-param)
3559 (frameset-filter-restore-param, frameset-filter-iconified):
3560 Add pointer to docstring of frameset-filter-alist.
3561 (frameset-filter-params): Rename filter values to be more meaningful:
3562 :never instead of t, and reverse the meanings of :save and :restore.
3563 (frameset--process-minibuffer-frames): Clarify error message.
3564 (frameset-save): Avoid unnecessary and confusing call to framep.
3565 Use new BOA constructor for framesets.
3566 (frameset--reuse-list): Doc fix.
3567 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3568 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3569 (frameset-minibufferless-first-p): Doc fix.
3570 Rename from frameset-sort-frames-for-deletion.
3571 (frameset-restore): Doc fixes. Use new function names.
3572 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3573
d5671a82
JB
35742013-08-04 Juanma Barranquero <lekktu@gmail.com>
3575
3576 * desktop.el (desktop-restore-forces-onscreen)
3577 (desktop-restore-reuses-frames): Document :keyword constant values.
3578 (desktop-filter-parameters-alist): Remove, now identical to
3579 frameset-filter-alist.
3580 (desktop--filter-tty*): Remove, moved to frameset.el.
3581 (desktop-save-frameset, desktop-restore-frameset):
3582 Do not pass :filters argument.
3583
3584 * frameset.el (frameset-live-filter-alist)
3585 (frameset-persistent-filter-alist): New variables.
3586 (frameset-filter-alist): Use them. Add autoload cookie.
3587 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3588 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3589 `frameset--id' (it's supposed to be internal to frameset.el).
3590 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3591 (frameset--initial-params): New function.
3592 (frameset--get-frame): Use it. Doc fix.
3593 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3594 Accept :all, not 'all.
3595 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3596 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3597 with fbound symbols. Fix frame id matching, and remove matching ids if
3598 the frame being restored is deleted. Obey :delete.
3599
671d5c16
SM
36002013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * subr.el (macrop): New function.
3603 (text-clone--maintaining): New var.
3604 (text-clone--maintain): Rename from text-clone-maintain. Use it
3605 instead of inhibit-modification-hooks.
3606
3607 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3608 a proxy, so as handle autoloads and redefinitions of the target.
3609 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3610
3611 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3612 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3613 (pcase--mutually-exclusive-p): New function.
3614 (pcase--split-consp): Use it.
3615 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3616 mutually exclusive with the current predicate.
3617
3618 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3619 (edebug-macrop): Remove. Use `macrop' instead.
3620 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3621 (ad-macro-p):
3622 * eshell/esh-cmd.el (eshell-macrop):
3623 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3624
1d44e9dc
SM
36252013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3628 (advice-mapc): New function, using it.
3629 (advice-function-member-p): New function.
3630 (advice--normalize): Store the cdr in advice--saved-rewrite since
3631 that's the part that will be changed.
3632 (advice--symbol-function): New function.
3633 (advice-remove): Handle removal before the function is defined.
3634 Adjust to new advice--saved-rewrite.
3635 (advice-member-p): Use advice-function-member-p and
3636 advice--symbol-function.
3637
5414a283
JB
36382013-08-04 Juanma Barranquero <lekktu@gmail.com>
3639
51d30f2c
JB
3640 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3641 (frameset-filter-minibuffer): Doc fix.
3642 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3643 (frameset--set-id, frameset--process-minibuffer-frames)
3644 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3645 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3646
5414a283
JB
3647 * desktop.el (desktop-clear): Only delete frames when called
3648 interactively and desktop-restore-frames is non-nil. Doc fix.
3649 (desktop-read): Set desktop-saved-frameset to nil.
3650
ab419665
XF
36512013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3652
3653 * vc/vc.el (vc-ignore): Rewrite.
3654 (vc-default-ignore-completion-table):
3655 (vc--read-lines):
3656 (vc--add-line, vc--remove-regexp): New functions.
3657
3658 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3659 (vc-svn-ignore-completion-table): New function.
3660
3661 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3662 (vc-hg-ignore-completion-table):
3663 (vc-hg-find-ignore-file): New functions.
3664
3665 * vc/vc-git.el (vc-git-ignore): Rewrite.
3666 (vc-git-ignore-completion-table):
3667 (vc-git-find-ignore-file): New functions.
3668
3669 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3670
3671 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3672 (vc-bzr-ignore-completion-table):
3673 (vc-bzr-find-ignore-file): New functions.
3674
2613dea2
JB
36752013-08-03 Juanma Barranquero <lekktu@gmail.com>
3676
3677 * frameset.el (frameset-prop): New function and setter.
3678 (frameset-save): Do not modify frame list passed by the caller.
3679
9c959872
SM
36802013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3683
a104f656
SM
36842013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3685
70122acf
SM
3686 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3687 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3688
a104f656
SM
3689 * custom.el (custom-initialize-default, custom-initialize-set)
3690 (custom-initialize-reset, custom-initialize-changed): Affect the
3691 toplevel-default-value (bug#6275, bug#14586).
3692 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3693 for bug#6275.
3694
f078d570
JB
36952013-08-02 Juanma Barranquero <lekktu@gmail.com>
3696
185e3b5a
JB
3697 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3698 Add cl-def* expressions.
3699
f078d570
JB
3700 * frameset.el (frameset-filter-params): Fix order of arguments.
3701
9421876d
JB
37022013-08-02 Juanma Barranquero <lekktu@gmail.com>
3703
3704 Move code related to saving frames to frameset.el.
3705 * desktop.el: Require frameset.
3706 (desktop-restore-frames): Doc fix.
3707 (desktop-restore-reuses-frames): Rename from
3708 desktop-restoring-reuses-frames.
3709 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3710 (desktop-clear): Clear frames too.
3711 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3712 (desktop--filter-tty*, desktop-save, desktop-read):
3713 Use frameset functions.
3714 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3715 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3716 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3717 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3718 (desktop--process-minibuffer-frames, desktop-save-frames)
3719 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3720 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3721 (desktop--sort-states, desktop-restoring-frames-p)
3722 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3723 (desktop-restoring-frameset-p, desktop-restore-frameset)
3724 (desktop--check-dont-save, desktop-save-frameset): New functions.
3725 (desktop--app-id): New constant.
3726 (desktop-first-buffer, desktop-buffer-ok-count)
3727 (desktop-buffer-fail-count): Move before first use.
3728 * frameset.el: New file.
3729
76dc5996
SM
37302013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * files.el: Use lexical-binding.
3733 (dir-locals-read-from-file): Remove unused `err' variable.
3734 (hack-dir-local-variables--warned-coding): New var.
3735 (hack-dir-local-variables): Use it to avoid repeated warnings.
3736 (make-backup-file-name--default-function): New function.
3737 (make-backup-file-name-function): Use it as default.
3738 (buffer-stale--default-function): New function.
3739 (buffer-stale-function): Use it as default.
3740 (revert-buffer-insert-file-contents--default-function): New function.
3741 (revert-buffer-insert-file-contents-function): Use it as default.
3742 (insert-directory): Avoid add-to-list.
3743
3744 * autorevert.el (auto-revert-handler): Simplify.
3745 Use buffer-stale--default-function.
3746
06d36e2b
TH
37472013-08-01 Tassilo Horn <tsdh@gnu.org>
3748
5f648ab4
TH
3749 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3750
06d36e2b
TH
3751 * whitespace.el (whitespace-ensure-local-variables): New function.
3752 (whitespace-cleanup-region): Call it.
3753 (whitespace-turn-on): Call it.
3754
a43dc424
MA
37552013-08-01 Michael Albinus <michael.albinus@gmx.de>
3756
3757 Complete file name handlers.
3758
3759 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3760 (tramp-handle-verify-visited-file-modtime)
3761 (tramp-handle-file-notify-rm-watch): New functions.
3762 (tramp-call-process): Do not bind `default-directory'.
3763
44e18199
JB
3764 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3765 Order alphabetically.
a43dc424
MA
3766 [access-file, add-name-to-file, dired-call-process]:
3767 [dired-compress-file, file-acl, file-notify-rm-watch]:
3768 [file-ownership-preserved-p, file-selinux-context]:
3769 [make-directory-internal, make-symbolic-link, set-file-acl]:
3770 [set-file-selinux-context, set-visited-file-modtime]:
3771 [verify-visited-file-modtime]: Add handler.
3772 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3773
3774 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3775 [file-notify-add-watch, file-notify-rm-watch]:
3776 [set-file-times, set-visited-file-modtime]:
3777 [verify-visited-file-modtime]: Add handler.
3778 (with-tramp-gvfs-error-message)
3779 (tramp-gvfs-handle-set-visited-file-modtime)
3780 (tramp-gvfs-fuse-file-name): Remove.
3781 (tramp-gvfs-handle-file-notify-add-watch)
3782 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3783 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3784
44e18199
JB
3785 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3786 Order alphabetically.
a43dc424
MA
3787 [file-notify-rm-watch ]: Use default Tramp handler.
3788 [executable-find]: Remove private handler.
3789 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3790 `default-directory'.
3791 (tramp-sh-handle-executable-find)
3792 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3793 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3794 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3795 Do not use `format' in `tramp-message'.
3796
3797 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3798 [file-notify-rm-watch, set-visited-file-modtime]:
3799 [verify-visited-file-modtime]: Add handler.
3800 (tramp-smb-call-winexe): Do not bind `default-directory'.
3801
7188b515
XF
38022013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3803
3804 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3805
2412ee1a
DG
38062013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3807
3808 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3809 use it.
3810 (log-view-diff-changeset): Same.
3811 (log-view-diff-common): Call backend command `previous-revision'
3812 to find out the previous revision, in both cases. Swap the
3813 variables `to' and `fr', so that `fr' usually refers to the
3814 earlier revision (Bug#14989).
3815
5002a754
KRC
38162013-07-31 Kan-Ru Chen <kanru@kanru.info>
3817
3818 * ibuf-ext.el (ibuffer-filter-by-filename):
3819 Make it work with dired buffers too.
3820
44e18199 38212013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3822
3823 * emacs-lisp/re-builder.el (reb-color-display-p):
3824 * files.el (save-buffers-kill-terminal):
3825 * net/browse-url.el (browse-url):
3826 * server.el (server-save-buffers-kill-terminal):
3827 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3828 Prefer nil to selected-frame for the first arg of frame-parameter.
3829
aeca3fbb
XF
38302013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3831
3832 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3833
158bc55c
SB
38342013-07-30 Stephen Berman <stephen.berman@gmx.net>
3835
3836 * minibuffer.el (completion--twq-all): Try and preserve each
3837 completion's case choice (bug#14907).
3838
d50fceab
LMI
38392013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3840
ac38e731
LMI
3841 * net/network-stream.el (open-network-stream): Mention the new
3842 :nogreeting parameter.
3843 (network-stream-open-starttls): Use the :nogreeting parameter
3844 (bug#14938).
3845
1211de50
LMI
3846 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3847
997798bf
LMI
3848 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3849 more natural than popping.
3850
d50fceab 3851 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3852 (shr-urlify): Highlight under mouse.
d50fceab 3853
5c09de04
XF
38542013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3855
207d1d04
XF
3856 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3857
3858 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3859
5c09de04
XF
3860 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3861 buffer for output.
3862
3cd51eaa
XF
3863 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3864 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3865
44e18199 3866 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3867 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3868
3869 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3870
3871 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3872 buffer for output.
3873
35a89bdd
EZ
38742013-07-29 Eli Zaretskii <eliz@gnu.org>
3875
3876 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3877 initial frame is minibuffer-less. (Bug#14841)
3878
78822e94
MA
38792013-07-29 Michael Albinus <michael.albinus@gmx.de>
3880
3881 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3882 option.
3883
3884 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3885 (tramp-maybe-open-connection): Use it.
3886
9503c190
JB
38872013-07-28 Juanma Barranquero <lekktu@gmail.com>
3888
3889 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3890 minimal set of parameters passed when creating a frame, because
3891 the minibuffer status of a frame cannot be changed later.
3892
d5a845b4
SB
38932013-07-28 Stephen Berman <stephen.berman@gmx.net>
3894
3895 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3896 replace-regexp-in-string and inadvertent omissions in previous change.
3897 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3898 name of filtered items buffer.
d5a845b4 3899
ddeffb17
JB
39002013-07-28 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * desktop.el: Optionally force offscreen frames back onscreen.
3903 (desktop-restoring-reuses-frames): New option.
3904 (desktop--compute-pos, desktop--move-onscreen): New functions.
3905 (desktop--make-frame): Use desktop--move-onscreen.
3906
f5950f7a
AM
39072013-07-27 Alan Mackenzie <acm@muc.de>
3908
3909 Fontify a Java generic method as a function.
3910 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3911 value to t.
3912
ae43b66a
SB
39132013-07-27 Stephen Berman <stephen.berman@gmx.net>
3914
3915 * calendar/todo-mode.el: Add command to rename todo files.
3916 (todo-rename-file): New command.
3917 (todo-key-bindings-t): Add key binding for it. Change the
3918 bindings of todo-filter-regexp-items(-multifile) to use `x'
3919 instead of `r', since the latter is better suited to the new
3920 renaming command.
3921
5ab78d3d
AM
39222013-07-27 Alan Mackenzie <acm@muc.de>
3923
3924 Make Java try-with-resources statement parse properly.
3925 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3926 (c-block-stmt-1-2-key): New language constants/variables.
3927 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3928 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3929 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3930 with c-block-stmt-1-2-key.
5ab78d3d 3931
d85c4d50
JB
39322013-07-27 Juanma Barranquero <lekktu@gmail.com>
3933
3934 * desktop.el (desktop--make-frame): Apply most frame parameters after
3935 creating the frame to force (partially or totally) offscreen frames to
3936 be restored as such.
3937
e4c467f9
XF
39382013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3939
3940 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3941 (Bug#14948)
e4c467f9 3942
7ced0d04
SM
39432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3946 `base' arg of backtrace-frame.
3947
fec92060
EZ
39482013-07-26 Eli Zaretskii <eliz@gnu.org>
3949
3950 * simple.el (list-processes): Doc fix.
3951
d58d31fb
JB
39522013-07-26 Juanma Barranquero <lekktu@gmail.com>
3953
3954 * desktop.el (desktop--select-frame):
d85c4d50 3955 Try harder to reuse existing frames.
d58d31fb 3956
53ff3e77
SM
39572013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3960 (edebug-eval): Use backtrace-eval.
3961 (edebug--display, edebug--recursive-edit): Don't let-bind the
3962 edebug-outer-* vars that keep track of variables we locally let-bind.
3963 (edebug-outside-excursion): Don't restore outside values of locally
3964 let-bound vars.
3965 (edebug--display): Use user-error.
3966 (cl-lexical-debug, cl-debug-env): Remove.
3967
045f7a53
JB
39682013-07-26 Juanma Barranquero <lekktu@gmail.com>
3969
3970 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3971 are restored to be sure that they are visible before deleting any
3972 remaining ones.
3973
59070b32
MM
39742013-07-26 Matthias Meulien <orontee@gmail.com>
3975
742a3501
XF
3976 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3977 vc-print-root-log. (Bug#14948)
59070b32 3978
b1fb3596
RS
39792013-07-26 Richard Stallman <rms@gnu.org>
3980
3981 Add aliases for encrypting mail.
3982 * epa.el (epa-mail-aliases): New option.
3983 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3984 Bind inhibit-read-only so read-only text doesn't ruin everything.
3985 (epa-mail-default-recipients): New subroutine broken out.
3986 Handle epa-mail-aliases.
3987
56ea7291
SM
39882013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 Add support for lexical variables to the debugger's `e' command.
3991 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3992 vars, except for debugger-outer-match-data.
3993 (debugger-frame-number): Move check for "on a function call" from
3994 callers into it. Add `skip-base' argument.
3995 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3996 (debugger-env-macro): Only reset the state stored in non-variables,
3997 i.e. current-buffer and match-data.
3998 (debugger-eval-expression): Rewrite using backtrace-eval.
3999 * subr.el (internal--called-interactively-p--get-frame): Remove.
4000 (called-interactively-p):
4001 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4002 `base' arg of backtrace-frame instead.
4003
15ac32d5
GM
40042013-07-26 Glenn Morris <rgm@gnu.org>
4005
8358a09d
GM
4006 * align.el (align-regexp): Doc fix. (Bug#14857)
4007 (align-region): Explicit error if subexpression missing/does not match.
4008
15ac32d5
GM
4009 * simple.el (global-visual-line-mode):
4010 Do not duplicate the mode lighter. (Bug#14858)
4011
f47ad11b
MR
40122013-07-25 Martin Rudalics <rudalics@gmx.at>
4013
4014 * window.el (display-buffer): In display-buffer bind
4015 split-window-keep-point to t, bug#14829.
4016
02530987
JB
40172013-07-25 Juanma Barranquero <lekktu@gmail.com>
4018
4019 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4020 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4021 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4022 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4023 Change accordingly.
f63ebeb5
JB
4024 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4025 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4026
6ccb9cab 40272013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4028
6ccb9cab 4029 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4030
cb3a56d2
JB
40312013-07-25 Juanma Barranquero <lekktu@gmail.com>
4032
4033 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4034 parameter to modify-frame-parameters if the value has not changed;
4035 this is a workaround for bug#14949.
4036 (desktop--make-frame): On cl-delete-if call, check parameter name,
4037 not full parameter.
4038
7aa7fff0
XF
40392013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4040
4041 * vc/vc.el (vc-ignore): New function.
4042
4043 * vc/vc-svn.el (vc-svn-ignore): New function.
4044
4045 * vc/vc-hg.el (vc-hg-ignore): New function.
4046
4047 * vc/vc-git.el (vc-git-ignore): New function.
4048
4049 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4050 (vc-dir-ignore): New function.
4051
4052 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4053 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4054
4055 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4056
4057 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4058
889acc5c
JB
40592013-07-24 Juanma Barranquero <lekktu@gmail.com>
4060
4061 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4062 (desktop-restore-frames): Warn when deleting an existing frame failed.
4063
86c40970
GM
40642013-07-24 Glenn Morris <rgm@gnu.org>
4065
4066 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4067
d5d3c58a
MA
40682013-07-24 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * filenotify.el (file-notify-supported-p):
4071 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4072 Remove functions.
4073
4074 * autorevert.el (auto-revert-use-notify):
4075 (auto-revert-notify-add-watch):
4076 * net/tramp.el (tramp-file-name-for-operation):
4077 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4078 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4079 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4080 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4081 Remove `file-notify-supported-p' entry.
4082
d100084b
GM
40832013-07-24 Glenn Morris <rgm@gnu.org>
4084
4085 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4086 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4087
ac93e56b
SM
40882013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4089
249eea30
SM
4090 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4091 checked with memq (bug#14935).
4092
ac93e56b
SM
4093 * files.el (revert-buffer-function): Use a non-nil default.
4094 (revert-buffer-preserve-modes): Declare var to
4095 provide access to the `preserve-modes' argument.
4096 (revert-buffer): Let-bind it.
4097 (revert-buffer--default): New function, extracted from revert-buffer.
4098
2cdeb903
SM
40992013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * lpr.el: Signal print errors more prominently.
4102 (print-region-function): Don't default to nil.
4103 (lpr-print-region): New function, extracted from print-region-1.
4104 Check lpr's return value and signal an error in case of problem.
4105 (print-region-1): Use it.
4106 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4107 versions instead.
4108 (ps-printer-name): Default to nil.
4109 (ps-printer-name-option): Default to lpr-printer-switch.
4110 (ps-print-region-function): Don't default to nil.
4111 (ps-postscript-code-directory): Simplify default.
4112 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4113 (ps-string-list, ps-eval-switch, ps-flatten-list)
4114 (ps-flatten-list-1): Remove.
4115 (ps-multibyte-buffer): Avoid setq.
4116 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4117 (print-region-function, ps-print-region-function): Don't set them here.
4118
73600831
XF
41192013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4120
0e55c076
XF
4121 * ido.el (ido-fractionp):
4122 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4123 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4124 (ido-max-directory-size, ido-max-dir-file-cache)
4125 (ido-decorations): Doc fix.
4126
73600831
XF
4127 * ansi-color.el: Fix old URL.
4128
3d012865
MM
41292013-07-23 Michael R. Mauger <michael@mauger.com>
4130
e903c210 4131 * progmodes/sql.el: Version 3.3
3d012865
MM
4132 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4133 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4134 (sql-interactive-remove-continuation-prompt): Rewrite, use
4135 functions above. Fix continuation prompt and complete output line
4136 handling.
4137 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4138 redirected output buffer.
4139 (sql-mode): Restore deleted code (Bug#13591).
4140
da77a2e2
JB
41412013-07-23 Juanma Barranquero <lekktu@gmail.com>
4142
4143 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4144
80ff0c71
MA
41452013-07-23 Michael Albinus <michael.albinus@gmx.de>
4146
4147 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4148
4149 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4150 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4151 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4152
b61d71e4
JB
41532013-07-23 Juanma Barranquero <lekktu@gmail.com>
4154
4155 * desktop.el (desktop-clear): Simplify; remove useless checks
4156 against invalid buffer names.
4157 (desktop-list*): Use cl-list*.
4158 (desktop-buffer-info, desktop-create-buffer): Simplify.
4159
c3512092
LL
41602013-07-23 Leo Liu <sdl.web@gmail.com>
4161
4162 * bookmark.el (bookmark-make-record): Restore NAME as a default
4163 value. (Bug#14933)
4164
0ac26976
SM
41652013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4166
7d22ce18
SM
4167 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4168 extracted from autoload--insert-text.
4169 (autoload--insert-text): Remove.
4170 (autoload--print-cookie-text): New function, extracted from
4171 autoload--insert-cookie-text.
4172 (autoload--insert-cookie-text): Remove.
4173 (autoload-generate-file-autoloads): Adjust calls accordingly.
4174
9b2607e8
SM
4175 * winner.el (winner-hook-installed-p): Remove.
4176 (winner-mode): Simplify accordingly.
4177
c43a8618
SM
4178 * subr.el (add-to-list): Fix compiler-macro when `append' is
4179 not constant. Don't use `cl-member' for the base case.
4180
0ac26976
SM
4181 * progmodes/subword.el: Fix boundary case (bug#13758).
4182 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4183 own group.
4184 (subword-backward-regexp): Make it a constant.
4185 (subword-forward-internal): Don't treat a trailing capital as the
4186 beginning of a word.
4187
6874724a
AR
41882013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4189
4190 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4191 global value of tabulated-list-revert-hook (bug#14930).
4192
70f1b5e8
JB
41932013-07-22 Juanma Barranquero <lekktu@gmail.com>
4194
a1c80d9d
JB
4195 * desktop.el: Require 'cl-lib.
4196 (desktop-before-saving-frames-functions): New hook.
4197 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4198 for frames being saved. Rename from desktop--save-minibuffer-frames.
4199 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4200 Do not save frames with non-nil `desktop-dont-save' parameter.
4201 Filter out deleted frames.
a1c80d9d
JB
4202 (desktop--find-frame): Use cl-find-if.
4203 (desktop--select-frame): Use cl-(first|second|third) to access values
4204 of desktop-mini.
4205 (desktop--make-frame): Use cl-delete-if.
4206 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4207 (desktop-restore-frames): Use cl-(first|second|third) to access values
4208 of desktop-mini. Look for visible frame at the end, not while
4209 restoring frames.
4210
70f1b5e8
JB
4211 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4212 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4213 Use string-match-p, looking-at-p (bug#14927).
4214
728dc3cc
JB
42152013-07-21 Juanma Barranquero <lekktu@gmail.com>
4216
56bc453c
JB
4217 * desktop.el (desktop-saved-frame-states):
4218 Rename from desktop--saved-states; all users changed.
4219 (desktop-save-frames): Rename from desktop--save-frames.
4220 Do not save state to desktop file.
4221 (desktop-save): Save desktop-saved-frame-states to desktop file
4222 and reset to nil.
4223 (desktop-restoring-frames-p): New function.
4224 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4225 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4226 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4227
728dc3cc
JB
4228 * desktop.el: Correctly restore iconified frames.
4229 (desktop--filter-iconified-position): New function.
4230 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4231
862f1c9c
GM
42322013-07-20 Glenn Morris <rgm@gnu.org>
4233
c4074c9f
GM
4234 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4235 Let `message' do the formatting.
4236 (def-gdb-preempt-display-buffer): Add explicit format.
4237
d828e5f9
GM
4238 * image-dired.el (image-dired-track-original-file):
4239 Use with-current-buffer.
4240 (image-dired-track-thumbnail): Use with-current-buffer.
4241 Avoid changing point of wrong window.
4242
862f1c9c
GM
4243 * image-dired.el (image-dired-track-original-file):
4244 Avoid changing point of wrong window. (Bug#14909)
4245
f0398ec1 42462013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4247
4248 * progmodes/gdb-mi.el (gdb-done-or-error):
4249 Guard against "%" in gdb output. (Bug#14127)
4250
1451928f
AS
42512013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4252
763a086d
JB
4253 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4254 (Bug#14826)
f7a03897 4255
1451928f
AS
4256 * international/mule.el (coding-system-iso-2022-flags): Fix last
4257 change.
4258
99107004
KH
42592013-07-20 Kenichi Handa <handa@gnu.org>
4260
763a086d
JB
4261 * international/mule.el (coding-system-iso-2022-flags):
4262 Add `8-bit-level-4'. (Bug#8522)
99107004 4263
48494e06
LMI
42642013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265
8ba8eec5
LMI
4266 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4267 (bug#14815).
4268
dfbc66e3
LMI
4269 * net/eww.el (eww-process-text-input): Allow inputting when the
4270 point is at the start of the line, as the properties aren't
4271 front-sticky.
4272
48494e06
LMI
4273 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4274 degenerate widths.
4275
77c92cb9
RS
42762013-07-19 Richard Stallman <rms@gnu.org>
4277
aec7da77
RS
4278 * epa.el (epa-popup-info-window): Doc fix.
4279
77c92cb9
RS
4280 * subr.el (split-string): New arg TRIM.
4281
945c5bb1
JB
42822013-07-18 Juanma Barranquero <lekktu@gmail.com>
4283
4284 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4285 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4286
e06ec67f
MA
42872013-07-18 Michael Albinus <michael.albinus@gmx.de>
4288
c7064f05 4289 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4290 `file-notify-support'. Do not autoload. Adapt all uses.
4291 (file-notify-supported-p): New defun.
4292
c7064f05
JB
4293 * autorevert.el (auto-revert-use-notify):
4294 Use `file-notify-supported-p' instead of `file-notify-support'.
4295 Adapt docstring.
e06ec67f
MA
4296 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4297
4298 * net/tramp.el (tramp-file-name-for-operation):
4299 Add `file-notify-supported-p'.
4300
4301 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4302 New defun.
4303 (tramp-sh-file-name-handler-alist): Add it as handler for
4304 `file-notify-supported-p '.
4305
4306 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4307 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4308 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4309 Add `ignore' as handler for `file-notify-*' functions.
4310
5dc8a629
EZ
43112013-07-17 Eli Zaretskii <eliz@gnu.org>
4312
4313 * simple.el (line-move-partial, line-move): Don't start vscroll or
4314 scroll-up if the current line is not taller than the window.
4315 (Bug#14881)
4316
77aea2fb
DG
43172013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4318
4319 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4320 highlight question marks in the method names as strings.
ac72c08d
DG
4321 (ruby-block-beg-keywords): Inline.
4322 (ruby-font-lock-keyword-beg-re): Extract from
4323 `ruby-font-lock-keywords'.
77aea2fb 4324
18c26d81
JD
43252013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4326
4327 * frame.el (blink-cursor-blinks): New defcustom.
4328 (blink-cursor-blinks-done): New defvar.
4329 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4330 (blink-cursor-timer-function): Check if number of blinks has been
4331 done on X and NS.
4332 (blink-cursor-suspend, blink-cursor-check): New defuns.
4333
da48522e
GM
43342013-07-15 Glenn Morris <rgm@gnu.org>
4335
4336 * edmacro.el (edmacro-format-keys): Fix previous change.
4337
0463c1ef
PE
43382013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4339
4340 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4341 The hack didn't work outside English locales anyway.
4342
b43f6451
JB
43432013-07-15 Juanma Barranquero <lekktu@gmail.com>
4344
4345 * simple.el (define-alternatives): Rename from alternatives-define,
4346 per RMS' suggestion.
4347
b958c0ad
JB
43482013-07-14 Juanma Barranquero <lekktu@gmail.com>
4349
4350 * desktop.el (desktop-restore-frames): Change default to t.
4351 (desktop-restore-in-current-display): Now offer more options.
4352 (desktop-restoring-reuses-frames): New customization option.
4353 (desktop--saved-states): Doc fix.
4354 (desktop-filter-parameters-alist): New variable, renamed and expanded
4355 from desktop--excluded-frame-parameters.
4356 (desktop--target-display): New variable.
4357 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4358 (desktop--filter-tty*, desktop--filter-*-color)
4359 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4360 (desktop--filter-save-desktop-parm)
4361 (desktop-restore-in-original-display-p): New functions.
4362 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4363 (desktop--save-minibuffer-frames): New function, inspired by a similar
4364 function from Martin Rudalics.
4365 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4366 (desktop--restore-in-this-display-p): Remove.
4367 (desktop--find-frame): Rename from desktop--find-frame-in-display
4368 and add predicate argument.
4369 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4370 (desktop--reuse-list): New variable.
4371 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4372 New functions.
4373 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4374
f6dd8b36
MA
43752013-07-14 Michael Albinus <michael.albinus@gmx.de>
4376
4377 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4378
2ce3c565
DG
43792013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4380
763a086d
JB
4381 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4382 Highlight conversion methods on Kernel.
2ce3c565 4383
2cdb7698
AM
43842013-07-13 Alan Mackenzie <acm@muc.de>
4385
4386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4387 and comment it out. This out-commenting enables certain C++
4388 declarations to be parsed correctly.
4389
1a67b811
EZ
43902013-07-13 Eli Zaretskii <eliz@gnu.org>
4391
1b796d6b
EZ
4392 * international/mule.el (define-coding-system): Doc fix.
4393
1a67b811
EZ
4394 * simple.el (default-font-height): Don't call font-info if the
4395 frame's default font didn't change since the frame was created.
4396 (Bug#14838)
4397
58fbe886
LL
43982013-07-13 Leo Liu <sdl.web@gmail.com>
4399
4400 * ido.el (ido-read-file-name): Guard against non-symbol value.
4401
1f0480d4
FEG
44022013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4403
4404 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4405 in nested defuns.
4406
97ead0e5
LL
44072013-07-13 Leo Liu <sdl.web@gmail.com>
4408
4409 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4410 ido-set-matches call. (Bug#6852)
4411
0880a952
DG
44122013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4413
4414 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4415 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4416 Ruby 2.0.
4417 (ruby-font-lock-keywords): Distinguish calls to functions with
4418 module-like names from module references. Highlight character
4419 literals.
4420
a7d8babb
SDJ
44212013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4422
4423 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4424 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4425
acfcc8c5
JB
44262013-07-12 Juanma Barranquero <lekktu@gmail.com>
4427
4428 * desktop.el (desktop--v2s): Remove unused local variable.
4429 (desktop-save-buffer): Make defvar-local; adjust docstring.
4430 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4431 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4432
051f2775
AS
44332013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4434
4435 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4436
f24e7572
GM
44372013-07-12 Eli Zaretskii <eliz@gnu.org>
4438
4439 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4440 (Bug#14842)
4441
539a920c
GM
44422013-07-12 Glenn Morris <rgm@gnu.org>
4443
4444 * doc-view.el: Require cl-lib at runtime too.
4445 (doc-view-remove-if): Remove.
4446 (doc-view-search-next-match, doc-view-search-previous-match):
4447 Use cl-remove-if.
4448
4449 * edmacro.el: Require cl-lib at runtime too.
4450 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4451 (edmacro-mismatch, edmacro-subseq): Remove.
4452
4453 * shadowfile.el: Require cl-lib.
4454 (shadow-remove-if): Remove.
4455 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4456 Use cl-remove-if.
4457
4458 * wid-edit.el: Require cl-lib.
4459 (widget-choose): Use cl-remove-if.
4460 (widget-remove-if): Remove.
4461
4462 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4463 (ebrowse-delete-if-not): Remove.
4464 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4465 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4466 Use cl-delete-if-not.
4467
1048af7c
JB
44682013-07-12 Juanma Barranquero <lekktu@gmail.com>
4469
4470 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4471 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4472
6c0674ee
LL
44732013-07-12 Leo Liu <sdl.web@gmail.com>
4474
4475 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4476
a19b3c2d
GM
44772013-07-11 Glenn Morris <rgm@gnu.org>
4478
4582a01c
GM
4479 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4480 (edebug-gensym-index, edebug-gensym):
4481 Remove reimplementation of cl-gensym.
4482 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4483
4484 * thumbs.el: Require cl-lib at run-time too.
4485 (thumbs-gensym-counter, thumbs-gensym):
4486 Remove reimplementation of cl-gensym.
4487 (thumbs-temp-file): Use cl-gensym.
4488
a19b3c2d
GM
4489 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4490 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4491 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4492 (ert--union, ert--gensym-counter, ert--gensym-counter)
4493 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4494 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4495 (ert-make-test-unbound, ert--expand-should-1)
4496 (ert--expand-should, ert--should-error-handle-error)
4497 (should-error, ert--explain-equal-rec)
4498 (ert--plist-difference-explanation, ert-select-tests)
4499 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4500 Use cl-lib functions rather than reimplementations.
4501
88f6a933
MA
45022013-07-11 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * net/tramp.el (tramp-methods): Extend docstring.
4505 (tramp-connection-timeout): New defcustom.
4506 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4507 (with-tramp-progress-reporter): Simplify.
4508 (tramp-process-actions): Improve messages.
4509
4510 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4511 * net/tramp-sh.el (tramp-maybe-open-connection):
4512 Use `tramp-connection-timeout'.
4513 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4514 (Bug#14808)
4515
a43d577e
LL
45162013-07-11 Leo Liu <sdl.web@gmail.com>
4517
4518 * ido.el (ido-read-file-name): Conform to the requirements of
4519 read-file-name. (Bug#11861)
4520 (ido-read-directory-name): Conform to the requirements of
4521 read-directory-name.
4522
d77974bf
JB
45232013-07-11 Juanma Barranquero <lekktu@gmail.com>
4524
4525 * subr.el (delay-warning): New function.
4526
35cb8a3e
EZ
45272013-07-10 Eli Zaretskii <eliz@gnu.org>
4528
4529 * simple.el (default-line-height): New function.
4530 (line-move-partial, line-move): Use it instead of computing the
4531 line height inline.
4532 (line-move-partial): Always compute ROWH. If the last line is
4533 partially-visible, but its text is completely visible, allow
4534 cursor to enter such a partially-visible line.
4535
525c5c77
MA
45362013-07-10 Michael Albinus <michael.albinus@gmx.de>
4537
4538 Improve error messages. (Bug#14808)
4539
4540 * net/tramp.el (tramp-current-connection): New defvar, moved from
4541 tramp-sh.el.
0ac26976 4542 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4543 needed anymore.
0ac26976
SM
4544 (tramp-error-with-buffer): Show message in minibuffer.
4545 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4546 (with-tramp-progress-reporter): Improve messages.
4547 (tramp-process-actions): Use progress reporter. Delete process in
4548 case of error. Improve messages.
4549
763a086d
JB
4550 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4551 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4552 (tramp-current-connection): Remove.
525c5c77
MA
4553 (tramp-maybe-open-connection): The car of
4554 `tramp-current-connection' are the first 3 slots of the vector.
4555
c7a4d368
TZ
45562013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4557
4558 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4559 inside continued strings.
4560
954b166e
PE
45612013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4562
4563 Timestamp fixes for undo (Bug#14824).
4564 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4565
56973319
LL
45662013-07-10 Leo Liu <sdl.web@gmail.com>
4567
4568 * files.el (require-final-newline): Allow safe local value.
4569 (Bug#14834)
4570
5550a72c
LL
45712013-07-09 Leo Liu <sdl.web@gmail.com>
4572
4573 * ido.el (ido-read-directory-name): Handle fallback.
4574 (ido-read-file-name): Update DIR to ido-current-directory.
4575 (Bug#1516)
c28b9050 4576 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4577
70c46b28
DG
45782013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4579
4580 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4581 "autoload". Remove "warn lower camel case" section, previously
4582 commented out. Highlight negation char. Do not highlight the
4583 target in singleton method definitions.
4584
0b64b838
SM
45852013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4586
7fd72e2c
SM
4587 * faces.el (tty-setup-hook): Declare the hook.
4588
0b64b838
SM
4589 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4590 and detect when a guard/pred depends on local vars (bug#14773).
4591 (pcase--u1): Adjust caller.
4592
ab49d60b
EZ
45932013-07-08 Eli Zaretskii <eliz@gnu.org>
4594
4595 * simple.el (line-move-partial, line-move): Account for
4596 line-spacing.
701d79aa
EZ
4597 (line-move-partial): Avoid setting vscroll when the last
4598 partially-visible line in window is of default height.
ab49d60b 4599
2d756ae0
LMI
46002013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4601
4602 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4603 been used a while.
4604
ed095bd7
JB
46052013-07-07 Juanma Barranquero <lekktu@gmail.com>
4606
4607 * subr.el (read-quoted-char): Remove unused local variable `char'.
4608
f1e6674b
MK
46092013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4610
584ee3fc
GM
4611 * ediff.el (ediff-version): Version update.
4612 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4613 (ediff-merge-with-ancestor-command, ediff-directories-command)
4614 (ediff-directories3-command, ediff-merge-directories-command)
4615 (ediff-merge-directories-with-ancestor-command): New functions.
4616 All are command-line interfaces to ediff: to facilitate calling
4617 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4618
4619 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4620 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4621
584ee3fc
GM
4622 * viper.el (viper-version): Version update.
4623 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4624
584ee3fc
GM
46252013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4628 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4629 (viper-intercept-ESC-key): Simplify.
4630 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4631 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4632 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4633 (viper-setup-ESC-to-escape): New functions.
4634 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4635 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4636
9aff9b38
EZ
46372013-07-07 Eli Zaretskii <eliz@gnu.org>
4638
5165d44a
JB
4639 * simple.el (default-font-height, window-screen-lines):
4640 New functions.
9aff9b38
EZ
4641 (line-move, line-move-partial): Use them instead of
4642 frame-char-height and window-text-height. This makes scrolling
4643 text smoother when the buffer's default face uses a font that is
4644 different from the frame's default font.
4645
1afb1d07
JD
46462013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4647
4648 * files.el (write-file): Do not display confirm dialog for NS,
4649 it does its own dialog, which can't be cancelled (Bug#14578).
4650
23de972a
EZ
46512013-07-06 Eli Zaretskii <eliz@gnu.org>
4652
4653 * simple.el (line-move-partial): Adjust the row returned by
4654 posn-at-point for the current window-vscroll. (Bug#14567)
4655
54a42486
MA
46562013-07-06 Michael Albinus <michael.albinus@gmx.de>
4657
4658 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4659 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4660 spaces.
4661
34ada5f4
MR
46622013-07-06 Martin Rudalics <rudalics@gmx.at>
4663
4664 * window.el (window-state-put-stale-windows): New variable.
4665 (window--state-put-2): Save list of windows without matching buffer.
4666 (window-state-put): Remove "bufferless" windows if possible.
4667
11e03d89
JB
46682013-07-06 Juanma Barranquero <lekktu@gmail.com>
4669
4670 * simple.el (alternatives-define): Remove leftover :group keyword.
4671 Tweak docstring.
4672
3504a4be
LL
46732013-07-06 Leo Liu <sdl.web@gmail.com>
4674
4675 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4676 (ido-enable-virtual-buffers): New variable.
4677 (ido-buffer-internal, ido-toggle-virtual-buffers)
4678 (ido-make-buffer-list): Use it.
4679 (ido-exhibit): Support turning on and off virtual buffers
4680 automatically.
4681
61e56e2c
JB
46822013-07-06 Juanma Barranquero <lekktu@gmail.com>
4683
4684 * simple.el (alternatives-define): New macro.
4685
321e1a9c
SM
46862013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * subr.el (read-quoted-char): Use read-key.
4689 (sit-for): Let read-event decode tty input (bug#14782).
4690
d610f6dd
SB
46912013-07-05 Stephen Berman <stephen.berman@gmx.net>
4692
4693 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4694 mode command and externally. Fix various related bugs.
4695 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4696 (todo-delete-file): New command.
4697 (todo-check-file): New function.
4698 (todo-show): Handle external deletion of the file we're trying to
4699 show (bug#14688). Replace called-interactively-p by an optional
4700 prefix argument to avoid problematic interaction with catch form
4701 when byte compiled (bug#14702).
4702 (todo-quit): Handle external deletion of the archive's todo file.
4703 Make sure the buffer that was visiting the archive file is still
4704 live before trying to bury it.
4705 (todo-category-completions): Handle external deletion of any
4706 category completion files.
4707 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4708 of todo files, in case of external deletion.
4709 (todo-add-file): Replace unnecessary setq by let-binding.
4710 (todo-find-archive): Check whether there are any archives.
4711 Replace unnecessary setq by let-binding.
4712 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4713 archive buffer whether or not the archive already exists.
4714 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4715 check if the archive is new; if it is, update list of archives.
4716 (todo-default-todo-file): Allow nil to be a valid value for when
4717 there are no todo files.
4718 (todo-reevaluate-default-file-defcustom): Use corrected definition
4719 of todo-default-todo-file.
4720 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4721 (todo-delete-category, todo-show-categories-table)
4722 (todo-category-number): Clarify comment.
4723 (todo-filter-items): Clarify documentation string.
4724 (todo-show-current-file, todo-display-as-todo-file)
4725 (todo-reset-and-enable-done-separator): Tweak documentation string.
4726 (todo-done-separator): Make separator length window-width, since
4727 bug#2749 is now fixed.
4728
ddbdfd6f
MA
47292013-07-05 Michael Albinus <michael.albinus@gmx.de>
4730
321e1a9c
SM
4731 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4732 Support both "gvfs-monitor-dir" and "inotifywait".
4733 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4734 `tramp-sh-file-notify-process-filter'.
4735 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4736 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4737
96eb829a
LL
47382013-07-05 Leo Liu <sdl.web@gmail.com>
4739
4740 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4741
cf13177e
YM
47422013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4743
4744 * frame.el (display-pixel-height, display-pixel-width)
4745 (display-mm-height, display-mm-width): Mention behavior on
4746 multi-monitor setups in docstrings.
4747 (w32-display-monitor-attributes-list): Declare function.
4748 (display-monitor-attributes-list): Use it.
4749
864c58ca
MA
47502013-07-04 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * filenotify.el: New package.
4753
4754 * autorevert.el (top): Require filenotify.el.
4755 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4756 instead.
4757 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4758 (auto-revert-notify-handler): Use `file-notify-*' functions.
4759
4760 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4761
321e1a9c
SM
4762 * net/tramp.el (tramp-file-name-for-operation):
4763 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4764
4765 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4766 for `file-notify-add-watch' and `file-notify-rm-watch'.
4767 (tramp-process-sentinel): Improve trace.
4768 (tramp-sh-handle-file-notify-add-watch)
4769 (tramp-sh-file-notify-process-filter)
4770 (tramp-sh-handle-file-notify-rm-watch)
4771 (tramp-get-remote-inotifywait): New defuns.
4772
96673afe
JL
47732013-07-03 Juri Linkov <juri@jurta.org>
4774
4775 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4776 call of `occur-read-primary-args' to interactive spec.
4777
4778 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4779 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4780
924494f4
MM
47812013-07-03 Matthias Meulien <orontee@gmail.com>
4782
4783 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4784 `Buffer-menu-multi-occur'. Add it to the menu.
4785 (Buffer-menu-mode): Document it in docstring.
4786 (Buffer-menu-multi-occur): New command. (Bug#14673)
4787
56f75efc
DG
47882013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4789
4790 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4791 keywords and built-ins.
4792
9b057d61
GM
47932013-07-03 Glenn Morris <rgm@gnu.org>
4794
208dee4d
GM
4795 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4796
9b057d61
GM
4797 Make info-xref checks case-sensitive by default
4798 * info.el (Info-find-node, Info-find-in-tag-table)
4799 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4800 Add option for exact case matching of nodes.
4801 * info-xref.el (info-xref): New custom group.
4802 (info-xref-case-fold): New option.
4803 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4804
e01aa29c
LL
48052013-07-03 Leo Liu <sdl.web@gmail.com>
4806
4807 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4808
3086ca2e
DG
48092013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4810
4811 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4812 middle of block statement initially, lower the depth. Remove
4813 FIXME comment, not longer valid. Remove middle of block statement
4814 detection, no need to do that anymore since we've been using
4815 `ruby-parse-region' here.
4816
a3b49114
JD
48172013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4818
4819 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4820
08e5c823 48212013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4822
4823 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4824
2addf922
JB
48252013-07-01 Juanma Barranquero <lekktu@gmail.com>
4826
4827 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4828 (desktop-restore-in-current-display): New customization option.
4829 (desktop--excluded-frame-parameters): Add `font'.
4830 (desktop--save-frames): Rename from desktop--save-windows.
4831 (desktop--restore-in-this-display-p): New function.
4832 (desktop--make-full-frame): Remove unwanted width/height from
4833 full(width|height) frames.
4834 (desktop--restore-frames): Rename from desktop--restore-windows.
4835 Obey desktop-restore-current-display. Do not delete old frames or
4836 select a new frame unless we were able to restore at least one frame.
4837
ef099a94
MN
48382013-06-30 Michal Nazarewicz <mina86@mina86.com>
4839
4840 * files.el (find-file-noselect): Simplify conditional expression.
4841
4842 * remember.el (remember-append-to-file):
4843 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4844
4845 Add `remember-notes' function to store random notes across Emacs
4846 restarts.
4847 * remember.el (remember-data-file): Add :set callback to affect
4848 notes buffer (if any).
4849 (remember-notes): New command.
4850 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4851 New defcustoms for the `remember-notes' function.
4852 (remember-notes-save-and-bury-buffer): New command.
4853 (remember-notes-mode-map): New variable.
4854 (remember-mode): New minor mode.
4855 (remember-notes--kill-buffer-query): New function.
4856 * startup.el (initial-buffer-choice): Add notes to custom type.
4857
0865d506
EZ
48582013-06-30 Eli Zaretskii <eliz@gnu.org>
4859
0ba54312
EZ
4860 * bindings.el (right-char, left-char): Don't call sit-for, this is
4861 no longer needed. Use arithmetic comparison only for numerical
4862 arguments.
4863
ef099a94
MN
4864 * international/mule-cmds.el (select-safe-coding-system):
4865 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4866
2fae38e5
LMI
48672013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4868
4869 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4870 progression on degenerate tables.
ef099a94 4871 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4872
a47cbd64
JB
48732013-06-30 Juanma Barranquero <lekktu@gmail.com>
4874
4875 Some fixes and improvements for desktop frame restoration.
4876 It is still experimental and disabled by default.
4877 * desktop.el (desktop--save-windows): Put the selected frame at
4878 the head of the list.
4879 (desktop--make-full-frame): New function.
4880 (desktop--restore-windows): Try to re-select the frame that was
4881 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4882 just show an error message and continue. Set up maximized frames
4883 so they have default non-maximized dimensions.
a47cbd64 4884
6dbafa30
DG
48852013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4886
ef099a94
MN
4887 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4888 Don't start heredoc inside a string or comment.
6dbafa30 4889
4c672a0f
EZ
48902013-06-29 Eli Zaretskii <eliz@gnu.org>
4891
4892 * bindings.el (visual-order-cursor-movement): New defcustom.
4893 (right-char, left-char): Provide visual-order cursor motion by
4894 calling move-point-visually. Update the doc strings.
4895
50960f36
KH
48962013-06-28 Kenichi Handa <handa@gnu.org>
4897
4898 * international/mule.el (define-coding-system): New coding system
4899 properties :inhibit-null-byte-detection,
4900 :inhibit-iso-escape-detection, and :prefer-utf-8.
4901 (set-buffer-file-coding-system): If :charset-list property of
4902 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4903 appropriate for setting.
4904
c1ea3abf
JB
4905 * international/mule-cmds.el (select-safe-coding-system):
4906 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4907 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4908
4909 * international/mule-conf.el (prefer-utf-8): New coding system.
4910 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4911 files.
4912
75dbaf9d
IK
49132013-06-28 Ivan Kanis <ivan@kanis.fr>
4914
eadb6068
IK
4915 * net/shr.el (shr-render-region): New function.
4916
75dbaf9d
IK
4917 * net/eww.el: Autoload `eww-browse-url'.
4918
9ea5cf9f
DG
49192013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4920
c1ea3abf
JB
4921 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4922 Adapt to `package-desc-version' being a list.
4923 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4924 archive element.
4925
39c0e36f
JB
49262013-06-27 Juanma Barranquero <lekktu@gmail.com>
4927
4928 New experimental feature to save&restore window and frame setup.
4929 * desktop.el (desktop-save-windows): New defcustom.
4930 (desktop--saved-states): New var.
4931 (desktop--excluded-frame-parameters): New defconst.
4932 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4933 (desktop--restore-windows, desktop--save-windows): New functions.
4934 (desktop-save): Call `desktop--save-windows'.
4935 (desktop-read): Call `desktop--restore-windows'.
4936
7f13406b
LMI
49372013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4938
ef099a94 4939 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4940
1e072639
SB
49412013-06-27 Stephen Berman <stephen.berman@gmx.net>
4942
4943 * info.el (Info-try-follow-nearest-node): Move search for footnote
4944 above search for node name to prevent missing a footnote (bug#14717).
4945
f3e2cbde
SB
49462013-06-27 Stephen Berman <stephen.berman@gmx.net>
4947
4948 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4949
99906aa0
LL
49502013-06-27 Leo Liu <sdl.web@gmail.com>
4951
4952 * net/eww.el (eww-read-bookmarks): Check file size.
4953
539f75f4
SM
49542013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4957 advice--pending if newdef is nil or an autoload (bug#13820).
4958 (advice-mapc): New function.
4959
843571cb
LMI
49602013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4961
4962 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4963 probably.
23a75d7f 4964 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4965 (eww-add-bookmark): New command.
4966 (eww-bookmark-mode): New mode and commands.
a285ce99 4967 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4968 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4969
f2136e1e
GM
49702013-06-26 Glenn Morris <rgm@gnu.org>
4971
eab35f39
GM
4972 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4973 (hfy-size): Handle ttys. (Bug#14668)
4974
f2136e1e
GM
4975 * info-xref.el: Update for Texinfo 5 change in *note format.
4976 (info-xref-node-re, info-xref-note-re): New constants.
4977 (info-xref-check-buffer): Use info-xref-note-re.
4978
a49ff80c
SM
49792013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4980
a343d218
SM
4981 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4982
a49ff80c
SM
4983 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4984 nil terminate the loop (bug#14718).
4985
8308f184
LMI
49862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4987
4988 * net/eww.el: Rework history traversal. When going forward/back,
4989 put these actions into the history, too, so that they can be
4990 replayed.
26bf2b82 4991 (eww-render): Move the history reset to the correct buffer.
8308f184 4992
ec64c273
JL
49932013-06-25 Juri Linkov <juri@jurta.org>
4994
4995 * files-x.el (modify-dir-local-variable): Change the header comment
4996 in the file with directory local variables. (Bug#14692)
4997
e080a9d7
JL
4998 * files-x.el (read-file-local-variable-value): Add `default'.
4999 (Bug#14710)
5000
bfbc93a1
IK
50012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5002
5003 * net/eww.el (eww-make-unique-file-name): Create a unique file
5004 name before saving to entering `y' accidentally asynchronously.
5005
50062013-06-25 Ivan Kanis <ivan@kanis.fr>
5007
5008 * net/eww.el (eww-download): New command and keystroke.
5009
16f74f10
LMI
50102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5011
a49ff80c 5012 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5013
5014 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5015 be more consistent with Info and dired.
5016
5017 * net/eww.el (eww-mode-map): Ditto.
5018
12059709
SM
50192013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5022 packages from archives.
5023 (package-archive-contents): Change format; include obsolete packages.
5024 (package-desc): Use `dir' to mark builtin packages.
5025 (package--from-builtin): Set the `dir' field to `builtin'.
5026 (generated-autoload-file, version-control): Declare.
5027 (package-compute-transaction): Change first arg and return value to be
5028 lists of package-descs. Adjust to new package-archive-contents format.
5029 (package--add-to-archive-contents): Adjust to new
5030 package-archive-contents format.
5031 (package-download-transaction): Arg is now a list of package-descs.
5032 (package-install): If `pkg' is a package name, pass it as
5033 a requirement, so it is subject to the usual (e.g. disabled) checks.
5034 (describe-package): Accept package-desc as well.
5035 (describe-package-1): Describe a specific package-desc. Add links to
5036 other package-descs for the same package name.
5037 (package-menu-describe-package): Pass the actual package-desc.
5038 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5039 works correctly.
5040 (package-desc-status): New function.
5041 (package-menu--refresh): New function, extracted
5042 from package-menu--generate.
5043 (package-menu--generate): Use it.
5044 (package-delete): Update package-alist.
5045 (package-menu-execute): Don't call package-initialize.
5046
5047 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5048 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5049 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5050 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5051 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5052 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5053
8bbdea0f
MR
50542013-06-25 Martin Rudalics <rudalics@gmx.at>
5055
5056 * window.el (window--state-get-1): Workaround for bug#14527.
5057 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5058
e82b0991
LMI
50592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5060
5061 * net/eww.el (eww-back-url): Implement the history by stashing all
5062 the data into a list.
d3f0f918 5063 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5064
c763842b
SM
50652013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5068 for values and use read--expression for expressions (bug#14710).
5069 (read-file-local-variable): Avoid setq.
5070 (read-file-local-variable-mode): Use minor-mode-list.
5071
bceff189
RW
50722013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5073
864c58ca 5074 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5075 for DOI URLs.
5076
45f431c6
RW
50772013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5078
864c58ca 5079 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5080 Update imenu-support when dialect changes.
5081
f42d8237
LL
50822013-06-25 Leo Liu <sdl.web@gmail.com>
5083
5084 * ido.el (ido-read-internal): Allow forward slash on windows.
5085
be549ce6
LMI
50862013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5087
5088 * net/eww.el (eww): Start of strings is \\`, not ^.
5089
71d4c19d
IK
50902013-06-24 Ivan Kanis <ivan@kanis.fr>
5091
5196f88a
IK
5092 * net/shr.el (shr-browse-url): Fix interactive spec.
5093
71d4c19d
IK
5094 * net/eww.el (eww): Add a trailing slash to domain names.
5095
ae36ca55
JB
50962013-06-24 Juanma Barranquero <lekktu@gmail.com>
5097
5098 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5099
0ebd92a3
LMI
51002013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5101
bdaa086b
LMI
5102 * net/shr.el (shr-browse-url): Use an external browser if given a
5103 prefix.
5104
c763842b 5105 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5106
b89fc156
IK
51072013-06-24 Ivan Kanis <ivan@kanis.fr>
5108
5109 * net/eww.el (eww): Work more correctly for file: URLs.
5110 (eww-detect-charset): Allow quoted charsets.
5111 (eww-yank-page-url): New command and keystroke.
5112
18eb4bca
DU
51132013-06-24 Daiki Ueno <ueno@gnu.org>
5114
5115 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5116 file name of gpg executable.
5117 (epg-context-program): New function.
5118 (epg-context-home-directory): New function.
5119 (epg-context-set-program): New function.
5120 (epg-context-set-home-directory): New function.
5121 (epg--start): Use `epg-context-program' instead of
5122 'epg-gpg-program'.
5123 (epg--list-keys-1): Likewise.
5124
6c6268c8
LL
51252013-06-24 Leo Liu <sdl.web@gmail.com>
5126
5127 * ido.el (ido-read-internal): Fix bug#14620.
5128
5e400cb3
JB
51292013-06-23 Juanma Barranquero <lekktu@gmail.com>
5130
5131 * faces.el (face-documentation): Simplify.
5132 (read-face-attribute, tty-find-type, x-resolve-font-name):
5133 Use `string-match-p'.
5134 (list-faces-display): Use `string-match-p'. Simplify.
5135 (face-spec-recalc): Check face to avoid face alias loops.
5136 (read-color): Use `string-match-p' and non-capturing parenthesis.
5137
f3f9606c
LMI
51382013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5139
5140 * net/shr.el (shr-rescale-image): Use the new
5141 :max-width/:max-height functionality.
5142
a3ca09b9
IK
51432013-06-23 Ivan Kanis <ivan@kanis.fr>
5144
5145 * net/eww.el (eww-search-prefix): New variable.
5146 (eww): Use it.
f865b474
IK
5147 (eww-external-browser): New variable.
5148 (eww-mode-map): New keystroke.
5149 (eww-browse-with-external-browser): New command.
a3ca09b9 5150
e854cfc7
IK
5151 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5152
18bb9e21
JB
51532013-06-23 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5156 Don't skip aligning the next header field when padding is 0;
5157 otherwise, field width is not respected unless the title is as
5158 wide as the field.
5159
5b165ade
SM
51602013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * emacs-lisp/package.el (package-el-version): Remove.
5163 (package-process-define-package): Fix inf-loop.
5164 (package-install): Allow symbols as arguments again.
5165
12adebe9
DG
51662013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5167
5168 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5169 add some more keyword-like methods.
5170 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5171
388573ee
JB
51722013-06-22 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * bs.el (bs-buffer-show-mark): Make defvar-local.
5175 (bs-mode): Use setq-local.
5176
5177 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5178 (emacs-lock--try-unlocking): Make defvar-local.
5179
4582a01c 51802013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5181
2663dd23
GM
5182 * play/cookie1.el (cookie-apropos): Minor simplification.
5183
3d94f3ad
GM
5184 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5185
f72e2fdb
DG
51862013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5187
5188 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5189 `regexp-opt', it breaks the build during dumping.
5190
73eab938
DG
51912013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5192
c763842b
SM
5193 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5194 Highlight keyword-like methods on Kernel and Module with
73eab938 5195 font-lock-builtin-face.
5cf8176d
DG
5196 (auto-mode-alist): Consolidate different entries into one regexp
5197 and add more *file-s.
73eab938 5198
d26255f6
SB
51992013-06-21 Stephen Berman <stephen.berman@gmx.net>
5200
5201 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5202
5203 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5204 (diary-entry): Use it in the action of this button type instead of
5205 diary-goto-entry.
5206
5207 * calendar/todo-mode.el: New version.
5208 (todo-add-category): Append new category to end of file and give
5209 it the highest number, instead of putting it at the beginning and
5210 giving it 0. Incorporate noninteractive functionality.
5211 (todo-forward-category): Adapt to 1-based category numbering.
5212 Allow skipping over archived categories.
5213 (todo-backward-category): Derive from todo-forward-category.
5214 (todo-backward-item, todo-forward-item): Make noninteractive and
5215 delegate interactive part to new commands. Make sensitive to done items.
5216 (todo-categories): Make value an alist of category names and
5217 vectors of item counts.
5218 (todo-category-beg): Make a defconst.
5219 (todo-category-number): Use 1 instead of 0 as initial value.
5220 (todo-category-select): Make sensitive to overlays, optional item
5221 highlighting and done items.
5222 (todo-delete-item): Make sensitive to overlays and marked and done items.
5223 (todo-edit-item): Make sensitive to overlays and editing of
5224 date/time header optional. Add format checks.
5225 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5226 no-op if point is not on an item. Advertise using todo-edit-quit.
5227 (todo-edit-mode): Make sensitive to new format, font-locking, and
5228 multiple todo files.
5229 (todo-insert-item, todo-insert-item-here): Derive from
5230 todo-basic-insert-item and extend functionality.
5231 (todo-item-end, todo-item-start): Make sensitive to done items.
5232 (todo-item-string): Don't return text properties. Restore point.
5233 (todo-jump-to-category): Make sensitive to multiple todo files and
5234 todo archives. Use extended category completion.
5235 (todo-lower-item, todo-raise-item): Rename to *-priority and
5236 derive from todo-set-item-priority.
5237 (todo-mode): Derive from special-mode. Make sensitive to new
5238 format, font-locking and multiple todo files. Make read-only.
5239 (todo-mode-map): Don't suppress digit keys, so they can supply
5240 prefix arguments. Add many new key bindings.
5241 (todo-prefix): Insert as an overlay instead of file text.
5242 Change semantics from diary date expression to purely visual mark.
5243 (todo-print): Rename to todo-print-buffer. Make buffer display
5244 features printable. Remove option to restrict number of items
5245 printed. Add option to print to file.
5246 (todo-print-function): Rename to todo-print-buffer-function.
5247 (todo-quit): Extend to handle exiting new todo modes.
5248 (todo-remove-item): Make sensitive to overlays.
5249 (todo-save): Extend to buffers of filtered items.
5250 (todo-show): Make sensitive to done items, multiple todo files and
5251 new todo modes. Offer to convert legacy todo file before creating
5252 first new todo file.
5253 (todo-show-priorities): Rename to todo-top-priorities.
5254 Change semantics of value 0.
5255 (todo-top-priorities): Rename to todo-filter-top-priorities,
5256 derive from todo-filter-items and extend functionality.
5257 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5258 and extend functionality to other types of filtered items.
5259 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5260 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5261 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5262 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5263 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5264 (todo-edit-mode-hook, todo-entry-prefix-function)
5265 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5266 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5267 (todo-initials, todo-insert-threshold, todo-item-string-start)
5268 (todo-line-string, todo-menu, todo-mode-hook)
5269 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5270 (todo-print-priorities, todo-remove-separator)
5271 (todo-save-top-priorities-too, todo-string-count-lines)
5272 (todo-string-multiline-p, todo-time-string-format)
5273 (todo-tmp-buffer-name): Remove.
5274 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5275 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5276 (todo-edit-category-diary-inclusion)
5277 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5278 (todo-edit-file, todo-edit-item-date-day)
5279 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5280 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5281 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5282 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5283 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5284 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5285 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5286 (todo-filter-top-priorities-multifile, todo-find-archive)
5287 (todo-find-filtered-items-file, todo-go-to-source-item)
5288 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5289 (todo-jump-to-archive-category, todo-lower-category)
5290 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5291 (todo-move-category, todo-move-item, todo-next-button)
5292 (todo-next-item, todo-padded-string, todo-powerset)
5293 (todo-previous-button, todo-previous-item)
5294 (todo-print-buffer-to-file, todo-raise-category)
5295 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5296 (todo-set-category-number, todo-set-item-priority)
5297 (todo-set-top-priorities-in-category)
5298 (todo-set-top-priorities-in-file, todo-show-categories-table)
5299 (todo-sort-categories-alphabetically-or-numerically)
5300 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5301 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5302 (todo-toggle-item-header, todo-toggle-item-highlighting)
5303 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5304 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5305 (todo-unarchive-items, todo-unmark-category): New commands.
5306 (todo-absolute-file-name, todo-add-to-buffer-list)
5307 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5308 (todo-basic-insert-item, todo-category-completions)
5309 (todo-category-number, todo-category-string-matcher-1)
5310 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5311 (todo-check-format, todo-clear-matches)
5312 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5313 (todo-current-category, todo-date-string-matcher)
5314 (todo-define-insertion-command, todo-diary-expired-matcher)
5315 (todo-diary-goto-entry, todo-diary-item-p)
5316 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5317 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5318 (todo-done-item-section-p, todo-done-separator)
5319 (todo-done-string-matcher, todo-files, todo-filter-items)
5320 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5321 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5322 (todo-insert-category-line, todo-insert-item-from-calendar)
5323 (todo-insert-sort-button, todo-insert-with-overlays)
5324 (todo-insertion-command-name, todo-insertion-key-bindings)
5325 (todo-label-to-key, todo-longest-category-name-length)
5326 (todo-make-categories-list, todo-mode-external-set)
5327 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5328 (todo-modes-set-3, todo-multiple-filter-files)
5329 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5330 (todo-read-category, todo-read-date, todo-read-dayname)
5331 (todo-read-file-name, todo-read-time)
5332 (todo-reevaluate-category-completions-files-defcustom)
5333 (todo-reevaluate-default-file-defcustom)
5334 (todo-reevaluate-filelist-defcustoms)
5335 (todo-reevaluate-filter-files-defcustom)
5336 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5337 (todo-reset-done-separator, todo-reset-done-separator-string)
5338 (todo-reset-done-string, todo-reset-global-current-todo-file)
5339 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5340 (todo-reset-prefix, todo-set-categories)
5341 (todo-set-date-from-calendar, todo-set-show-current-file)
5342 (todo-set-top-priorities, todo-short-file-name)
5343 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5344 (todo-total-item-counts, todo-update-buffer-list)
5345 (todo-update-categories-display, todo-update-categories-sexp)
5346 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5347 New functions.
5348 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5349 New major modes.
5350 (todo-categories, todo-display, todo-edit, todo-faces)
5351 (todo-filtered): New defgroups.
5352 (todo-archived-only, todo-button, todo-category-string, todo-date)
5353 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5354 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5355 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5356 (todo-add-item-if-new-category, todo-always-add-time-string)
5357 (todo-categories-align, todo-categories-archived-label)
5358 (todo-categories-category-label, todo-categories-diary-label)
5359 (todo-categories-done-label, todo-categories-number-separator)
5360 (todo-categories-todo-label, todo-categories-totals-label)
5361 (todo-category-completions-files, todo-completion-ignore-case)
5362 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5363 (todo-done-separator-string, todo-done-string)
5364 (todo-files-function, todo-filter-done-items, todo-filter-files)
5365 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5366 (todo-initial-category, todo-initial-file, todo-item-mark)
5367 (todo-legacy-date-time-regexp, todo-mode-line-function)
5368 (todo-nondiary-marker, todo-number-prefix)
5369 (todo-print-buffer-function, todo-show-current-file)
5370 (todo-show-done-only, todo-show-first, todo-show-with-done)
5371 (todo-skip-archived-categories, todo-top-priorities-overrides)
5372 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5373 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5374 New defcustoms.
5375 (todo-category-done, todo-date-pattern, todo-date-string-start)
5376 (todo-diary-items-buffer, todo-done-string-start)
5377 (todo-filtered-items-buffer, todo-item-start)
5378 (todo-month-abbrev-array, todo-month-name-array)
5379 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5380 (todo-top-priorities-buffer): New defconsts.
5381 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5382 (todo-categories-with-marks, todo-category-string-face)
5383 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5384 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5385 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5386 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5387 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5388 (todo-font-lock-keywords, todo-global-current-todo-file)
5389 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5390 (todo-insertion-commands-args)
5391 (todo-insertion-commands-args-genlist)
5392 (todo-insertion-commands-names, todo-insertion-map)
5393 (todo-key-bindings-t, todo-key-bindings-t+a)
5394 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5395 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5396 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5397 (todo-visited): New variables.
5398
cad5d1cb
GM
53992013-06-21 Glenn Morris <rgm@gnu.org>
5400
5401 * play/cookie1.el (cookie-apropos): Add optional display argument.
5402 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5403 (psychoanalyze-pinhead): Use cookie-doctor.
5404
9e277302
JB
54052013-06-21 Juanma Barranquero <lekktu@gmail.com>
5406
5407 * emacs-lisp/package.el (tar-get-file-descriptor)
5408 (tar--extract): Declare.
5409
c5b0993e
EW
54102013-06-21 Eduard Wiebe <usenet@pusto.de>
5411
5412 Extend flymake's warning predicate to be a function (bug#14217).
5413 * progmodes/flymake.el (flymake-warning-predicate): New.
5414 (flymake-parse-line): Use it.
5415 (flymake-warning-re): Make obsolete alias to
5416 `flymake-warning-predicate'.
5417
a7d2d465
SM
54182013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5421 (package-obsolete-list): Remove.
5422 (package-activate): Remove min-version argument. Add `force' argument.
5423 Adjust to new package-alist format.
5424 (package-mark-obsolete): Remove.
5425 (package-unpack): Force reload of the package's autoloads.
5426 (package-installed-p): Check builtins if the installed package is not
5427 recent enough.
5428 (package-initialize): Don't reset package-obsolete-list.
5429 Don't specify which package version to activate.
5430 (package-process-define-package, describe-package-1)
5431 (package-menu--generate): Adjust to new package-alist format.
5432
cedf5c9d
JB
54332013-06-21 Juanma Barranquero <lekktu@gmail.com>
5434
5435 * allout-widgets.el (allout-widgets-mode-off)
5436 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5437 (allout-widgets-post-command-business)
5438 (allout-widgets-after-copy-or-kill-function)
5439 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5440 (allout-decorate-item-and-context)
5441 (allout-graphics-modification-handler): Fix typos in docstrings.
5442 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5443
5444 * cmuscheme.el (scheme-start-file): Doc fix.
5445 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5446 (scheme-input-filter): Use `string-match-p'.
5447
5448 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5449
5450 * dired-x.el: Use Dired consistently in docstrings.
5451
5452 * dired.el: Use Dired consistently in docstrings.
5453 (dired-readin, dired-mode): Use `setq-local'.
5454 (dired-switches-alist): Make defvar-local.
5455 (dired-buffers-for-dir): Use `zerop'.
5456 (dired-safe-switches-p, dired-switches-escape-p)
5457 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5458 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5459 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5460 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5461 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5462 (dired-toggle-marks, dired-mark-files-containing-regexp)
5463 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5464 (dired-flag-auto-save-files, dired-flag-backup-files):
5465 Use `looking-at-p'.
5466 (dired-mark-files-regexp, dired-build-subdir-alist):
5467 Use `string-match-p', `looking-at-p'.
5468
5469 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5470 (direct-print-region-helper): Use `string-match-p'.
5471
aed838b5
LL
54722013-06-21 Leo Liu <sdl.web@gmail.com>
5473
cedf5c9d
JB
5474 * comint.el (comint-redirect-results-list-from-process):
5475 Fix infinite loop.
aed838b5 5476
d80a808f
LMI
54772013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478
5479 * net/eww.el (eww-update-header-line-format): Quote % characters.
5480
e7a526e3
GM
54812013-06-21 Glenn Morris <rgm@gnu.org>
5482
5483 * play/cookie1.el (cookie): New custom group.
5484 (cookie-file): New option.
5485 (cookie-check-file): New function.
5486 (cookie): Make it interactive. Make start and end messages optional.
5487 Interactively, display the result. Default to cookie-file.
5488 (cookie-insert): Default to cookie-file.
5489 (cookie-snarf): Make start and end messages optional.
5490 Default to cookie-file. Use with-temp-buffer.
5491 (cookie-read): Rename from read-cookie.
5492 Make start and end messages optional. Default to cookie-file.
5493 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5494 Do not autoload it.
e7a526e3
GM
5495 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5496 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5497
62efb35e
LL
54982013-06-21 Leo Liu <sdl.web@gmail.com>
5499
5500 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5501
21e3f963
GM
55022013-06-21 Glenn Morris <rgm@gnu.org>
5503
5504 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5505
fd846ab4
SM
55062013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5507 Daniel Hackney <dan@haxney.org>
5508
5509 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5510 Consolidate the single-file vs tarball code.
5511 (package-desc-suffix): New function.
5512 (package-desc-full-name): Don't bother inlining it.
5513 (package-load-descriptor): Return the new package-desc.
5514 (package-mark-obsolete): Remove unused arg `package'.
5515 (package-unpack): Make it work for single files as well.
5516 Make it update package-alist.
5517 (package--make-autoloads-and-stuff): Rename from
5518 package--make-autoloads-and-compile. Don't compile any more.
5519 (package--compile): New function.
5520 (package-generate-description-file): New function, extracted from
5521 package-unpack-single.
5522 (package-unpack-single): Remove.
5523 (package--with-work-buffer): Add indentation and debugging info.
5524 (package-download-single): Remove.
5525 (package-install-from-archive): Rename from package-download-tar, make
5526 it take a pkg-desc, and make it work for single files as well.
5527 (package-download-transaction): Simplify.
5528 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5529 external tar program.
5530 (package-install-from-buffer): Remove `pkg-desc' argument.
5531 Use package-tar-file-info for tar-mode buffers.
5532 (package-install-file): Simplify accordingly.
5533 (package-archive-base): Change to take a pkg-desc.
5534 * tar-mode.el (tar--check-descriptor): New function, extracted from
5535 tar-get-descriptor.
5536 (tar-get-descriptor): Use it.
5537 (tar-get-file-descriptor): New function.
5538 (tar--extract): New function, extracted from tar-extract.
5539 (tar--extract): Use it.
5540 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5541 case the summary uses non-ascii. Adjust to new calling convention of
5542 package-tar-file-info.
5543
b7deae5e
LL
55442013-06-21 Leo Liu <sdl.web@gmail.com>
5545
fd846ab4
SM
5546 * comint.el (comint-redirect-results-list-from-process):
5547 Fix random delay. (Bug#14681)
b7deae5e 5548
7a65a0b2
JB
55492013-06-21 Juanma Barranquero <lekktu@gmail.com>
5550
5551 * profiler.el (profiler-format-number): Use log, not log10.
5552
1493c2af
JB
55532013-06-20 Juanma Barranquero <lekktu@gmail.com>
5554
5555 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5556
aff6371e
SM
55572013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5560 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5561 yet available.
5562 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5563 (AUTOGENEL): ... here.
5564 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5565 (cl--defsubst-expand): Use it.
5566
89561f72
PE
55672013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5568
5569 * subr.el (log10): Move here from C code, and declare as obsolete.
5570 All uses of (log10 X) replaced with (log X 10).
5571
47199123
JB
55722013-06-20 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5575 Declare with `defvar-local'.
5576 (tabulated-list-use-header-line, tabulated-list-entries)
5577 (tabulated-list-padding, tabulated-list-printer)
5578 (tabulated-list-sort-key): Declare with `defvar-local'.
5579 (tabulated-list-init-header, tabulated-list-print-fake-header):
5580 Use `setq-local'.
5581
4a172eab
MA
55822013-06-20 Michael Albinus <michael.albinus@gmx.de>
5583
47199123
JB
5584 * arc-mode.el (archive-mode): Add `archive-write-file' to
5585 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5586
5fc0acc0
JB
55872013-06-20 Juanma Barranquero <lekktu@gmail.com>
5588
d5b27848
JB
5589 * cus-edit.el (custom-commands): Fix typos.
5590 (custom-display): Fix tooltip text.
5591 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5592 Fix typos in docstrings.
5593 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5594 (custom-unlispify-menu-entry, custom-magic-value-create)
5595 (custom-add-see-also, custom-group-value-create): Use ?\s.
5596 (custom-guess-type, customize-apropos, editable-field)
5597 (custom-face-value-create): Use `string-match-p'.
5598 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5599
5600 * custom.el (custom-load-symbol): Use `string-match-p'.
5601
a5c581d8
JB
5602 * ansi-color.el: Convert to lexical binding.
5603 (ansi-colors): Fix URL.
5604 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5605 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5606 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5607
970ad972
G
56082013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5609
5610 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5611
5612 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5613
56142013-06-19 Tom Tromey <tromey@redhat.com>
5615
5616 * net/eww.el (eww-top-url): Remove.
5617 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5618 (eww-render): Set new variables. Don't set eww-top-url.
5619 (eww-handle-link): Handle "prev", "home", and "contents".
5620 Downcase the rel text.
5621 (eww-top-url): Choose best top URL.
5622
56232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5624
5625 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5626 relying in widget.el. Using widget.el leads to too many
5627 user interface inconsistencies.
5628 (eww-self-insert): Implement entering commands in text fields.
5629 (eww-process-text-input): New function to make text input field editing
5630 work.
5631 (eww-submit): Rewrite to use the new-style form methods.
5632 (eww-select-display): Display the correct selected item.
5633 (eww-change-select): Implement changing the select value.
5634 (eww-toggle-checkbox): Implement radio/checkboxes.
5635 (eww-update-field): Fix compilation error.
5636 (eww-tag-textarea): Implement <textarea>.
5637
5638 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5639 we don't shadow mode-specific bindings.
5640
5641 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5642 nothing to push.
5643
5644 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5645
4582a01c 56462013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5647
5648 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5649
15b263dc
MA
56502013-06-19 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5653 not needed.
5654
5655 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5656
8f5297f7
LMI
56572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5658
5659 * net/browse-url.el (browse-url-browser-function):
5660 `eww-browse-url' has the right calling signature, `eww' does not.
5661
011c4552
GM
56622013-06-19 Glenn Morris <rgm@gnu.org>
5663
2285bd27
GM
5664 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5665 Only eval autoloaded macros.
5666 (byte-compile-autoload): Only give the macro warning for macros.
5667
1d653303
GM
5668 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5669 (ps-underlined-faces): Declare.
5670
bdd779ec
GM
5671 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5672 (speedbar-add-supported-extension): Declare.
5673
011c4552
GM
5674 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5675 Don't include a date stamp in the header of the generated file;
5676 it leads to needless differences between output files.
5677
e59dfb0e
MA
56782013-06-19 Michael Albinus <michael.albinus@gmx.de>
5679
c763842b
SM
5680 * net/secrets.el (secrets-struct-secret-content-type):
5681 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5682 Some servers do not offer introspection.
e59dfb0e 5683
102626e2
SM
56842013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * electric.el (electric-pair-mode): Improve interaction with
5687 electric-layout-mode.
5688 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5689 (electric-pair-syntax): Use text-mode-syntax-table in comments
5690 and strings.
5691 (electric-pair--insert): New function.
5692 (electric-pair-post-self-insert-function): Use it and
5693 electric--after-char-pos.
5694
ad528125
LL
56952013-06-19 Leo Liu <sdl.web@gmail.com>
5696
5697 * progmodes/octave.el (octave-help): Fix regexp.
5698
924d6997
G
56992013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700
5701 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5702 (shr-table-horizontal-line): Allow nil as a value, and change the
5703 default.
5704 (shr-insert-table-ruler): Respect the nil value.
5705
57062013-06-18 Tom Tromey <tromey@barimba>
5707
5708 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5709 New defvars.
5710 (eww-open-file): New defun.
5711 (eww-render): Initialize new variables.
5712 (eww-display-html): Handle "link" and "a".
5713 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5714 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5715 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5716 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5717 New defuns.
924d6997 5718
d1bbba4f
DG
57192013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5720
5721 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5722 Distinguish ternary operator tokens from slash symbol and slash
5723 char literal.
5724
14dd22d2
JB
57252013-06-18 Juanma Barranquero <lekktu@gmail.com>
5726
5727 Convert symbol prettification into minor mode and global minor mode.
5728
5729 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5730 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5731 (prettify-symbols--keywords): Rename from
5732 `prog-prettify-symbols-alist' and make a local defvar.
5733 (prettify-symbols--compose-symbol): Rename from
5734 `prog--prettify-font-lock-compose-symbol'.
5735 (prettify-symbols--make-keywords): Rename from
5736 `prog-prettify-font-lock-symbols-keywords' and simplify.
5737 (prog-prettify-install): Remove.
5738 (prettify-symbols-mode): New minor mode, based on
5739 `prog-prettify-install'.
5740 (turn-on-prettify-symbols-mode): New function.
5741 (global-prettify-symbols-mode): New globalized minor mode.
5742
5743 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5744 * progmodes/cfengine.el (cfengine3-mode):
5745 * progmodes/perl-mode.el (perl-mode): Don't call
5746 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5747
292c880c
JL
57482013-06-18 Juri Linkov <juri@jurta.org>
5749
5750 * files-x.el (modify-file-local-variable-message): New function.
5751 (modify-file-local-variable)
5752 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5753 and call `modify-file-local-variable-message' when it's non-nil.
5754 (add-file-local-variable, delete-file-local-variable)
5755 (add-file-local-variable-prop-line)
5756 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5757 and use it. (Bug#9820)
5758
0950aa27
JL
57592013-06-18 Juri Linkov <juri@jurta.org>
5760
5761 * emulation/vi.el (vi-shell-op):
5762 * emulation/vip.el (vip-execute-com, ex-command):
5763 * emulation/viper-cmd.el (viper-exec-bang):
5764 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5765 the call of `shell-command-on-region'. (Bug#14637)
5766
5767 * simple.el (shell-command-on-region): Doc fix.
5768
8fbcca16
SM
57692013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5772 (bug#14633).
5773
dd7426ea
GM
57742013-06-18 Glenn Morris <rgm@gnu.org>
5775
4ba54f7d
GM
5776 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5777
dd7426ea
GM
5778 * newcomment.el (comment-search-forward, comment-search-backward):
5779 Doc fix. (Bug#14376)
5780
58aa805b
JB
57812013-06-18 Juanma Barranquero <lekktu@gmail.com>
5782
5783 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5784 (buffer-face-mode-invoke): Doc fix.
5785
9a08a617
MM
57862013-06-18 Matthias Meulien <orontee@gmail.com>
5787
5788 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5789 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5790
f2f426ca
GM
57912013-06-18 Glenn Morris <rgm@gnu.org>
5792
9445f99b
GM
5793 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5794 Replace obsolete function generic-make-keywords with its expansion.
5795
e0df2d14
GM
5796 * progmodes/python.el (ffap-alist): Declare.
5797
f2f426ca
GM
5798 * textmodes/reftex.el (bibtex-mode-map): Declare.
5799
f7f9a720
SM
58002013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5803 (package-unpack, package-unpack-single): Return the pkg-dir.
5804 (package-download-transaction): Use it to update package-alist.
5805
57ff04e0
LMI
58062013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5807
5808 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5809 possible choice.
5810
c048c022
JL
58112013-06-17 Juri Linkov <juri@jurta.org>
5812
5813 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5814
b5bcaee5
DG
58152013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5816
a020afb9
JB
5817 * emacs-lisp/package.el (package-load-descriptor):
5818 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5819 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5820
551e07e5
JB
58212013-06-17 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * startup.el (command-line): Expand package name returned by
5824 `package--description-file' (bug#14639).
5825
d363bffb
DG
58262013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5827
5828 * emacs-lisp/package.el (package-load-descriptor): Do not call
5829 `emacs-lisp-mode', just use its syntax table.
5830
f612933b
JB
58312013-06-17 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5834 `font-lock-extra-managed-props' if any prettifying keyword is added.
5835 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5836 (prog-mode): Use `setq-local'.
5837
db3b7db5
SM
58382013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * international/characters.el (standard-case-table): Set syntax of ?»
5841 and ?« to punctuation.
5842
f3d674df
JB
58432013-06-16 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5846 Save relevant match data before calling `syntax-ppss' (bug#14595).
5847
31489a32
JL
58482013-06-15 Juri Linkov <juri@jurta.org>
5849
5850 * files-x.el (modify-file-local-variable-prop-line): Add local
5851 variables to the end of the existing comment on the first line.
5852 Use `file-auto-mode-skip' to skip interpreter magic line,
5853 and also skip XML declaration.
5854
66bd25ab
SM
58552013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * startup.el (package--builtin-versions): New var.
5858 (package-subdirectory-regexp): Remove.
5859 (package--description-file): Hard code its value instead.
5860
5861 * emacs-lisp/package.el: Don't activate packages older than builtin.
5862 (package-obsolete-list): Rename from package-obsolete-alist, and make
5863 it into a simple list of package-desc.
5864 (package-strip-version): Remove.
5865 (package-built-in-p): Use package--builtin-versions.
5866 (package-mark-obsolete): Simplify.
5867 (package-process-define-package): Mark it obsolete if older than the
5868 builtin version.
5869 (package-handle-response): Use line-end-position.
5870 (package-read-archive-contents, package--download-one-archive):
5871 Simplify.
5872 (package--add-to-archive-contents): Skip if older than the builtin or
5873 installed version.
5874 (package-menu-describe-package): Fix last change.
5875 (package-list-unversioned): New var.
5876 (package-menu--generate): Use it.
5877
5878 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5879 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5880 (autoload-builtin-package-versions): New variable.
5881 (autoload-generate-file-autoloads): Use them.
5882 Remove the list of autoloaded functions/macros from the
5883 (autoload...) comments.
5884
5885 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5886
9583ec36
EZ
58872013-06-15 Eli Zaretskii <eliz@gnu.org>
5888
5889 * simple.el (line-move-partial): Don't jump to the next screen
5890 line as soon as it becomes visible. Instead, continue enlarging
5891 the vscroll until the portion of a tall screen line that's left on
5892 display is about the height of the frame's default font.
5893 (Bug#14567)
5894
f0100d8a
GM
58952013-06-15 Glenn Morris <rgm@gnu.org>
5896
b86a85ca
GM
5897 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5898 compilation-error-regexp-alist void, or local while let-bound.
5899
f0100d8a
GM
5900 * progmodes/make-mode.el (makefile-mode-syntax-table):
5901 Treat "=" as punctuation. (Bug#14614)
5902
05e7ce90
JB
59032013-06-15 Juanma Barranquero <lekktu@gmail.com>
5904
5905 * help-fns.el (describe-variable):
5906 Add extra line for permanent-local variables.
5907
12e5e86e
SH
59082013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5909
5910 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5911 Add export, import, library. (Bug#9164)
5912 (library): Set indent function.
5913
230dcbaf
GM
59142013-06-14 Glenn Morris <rgm@gnu.org>
5915
5916 * term/xterm.el (xterm--query):
5917 Stop after first matching handler. (Bug#14615)
5918
e36b2d20 59192013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5920
5921 Add support for dired in saveplace.
5922 * dired.el (dired-initial-position-hook): New variable.
5923 (dired-initial-position): Call hook to place cursor position.
5924 * saveplace.el (save-place-to-alist): Add dired position.
5925 (save-place-dired-hook): New function.
5926
0b31660d
SM
59272013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5928
bf1e6ae8
SM
5929 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5930 through a symbol rather than letrec.
5931
1b8dff23
SM
5932 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5933 (package-desc): Add `dir' field.
5934 (package-desc-full-name): New function.
5935 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5936 (package-maybe-load-descriptor): Remove.
5937 (package-load-all-descriptors): Just call package-load-descriptor.
5938 (package--disabled-p): New function.
5939 (package-desc-vers, package-desc-doc): Remove aliases.
5940 (package--dir): Remove function.
5941 (package-activate): Check if a package is disabled.
5942 (package-process-define-package): New function, extracted from
5943 define-package.
5944 (define-package): Turn into a place holder.
5945 (package-unpack-single, package-tar-file-info):
5946 Use package--description-file.
5947 (package-compute-transaction): Use package--disabled-p.
5948 (package-download-transaction): Don't call
5949 package-maybe-load-descriptor since they're all loaded anyway.
5950 (package-install): Change argument to be a pkg-desc.
5951 (package-delete): Use a single pkg-desc argument.
5952 (describe-package-1): Use package-desc-dir instead of package--dir.
5953 Use package-desc property instead of package-symbol.
5954 (package-install-button-action): Adjust accordingly.
5955 (package--push): Rewrite.
5956 (package-menu--print-info): Adjust accordingly. Change the ID format
5957 to be a pkg-desc.
5958 (package-menu-describe-package, package-menu-get-status)
5959 (package-menu--find-upgrades, package-menu-mark-upgrades)
5960 (package-menu-execute, package-menu--name-predicate):
5961 Adjust accordingly.
5962 * startup.el (package--description-file): New function.
5963 (command-line): Use it.
5964 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5965 Use package-desc-version.
5966
0b31660d
SM
5967 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5968 (byte-compile-preprocess): Use it.
5969 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5970 can't quite recognize.
5971 (byte-compile-add-to-list): Remove.
5972 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5973 (cconv-closure-convert): Add assertion.
5974
5975 * emacs-lisp/map-ynp.el: Use lexical-binding.
5976 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5977 Factor out some repeated code.
5978
de0503df
SM
59792013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * subr.el (with-eval-after-load): New macro.
5982 (eval-after-load): Allow form to be a function.
5983 take advantage of lexical-binding.
5984 (do-after-load-evaluation): Use dolist and adjust to new format.
5985 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5986
bc5c8c5a
JL
59872013-06-13 Juri Linkov <juri@jurta.org>
5988
5989 * replace.el (perform-replace): Display "symbol " and other search
5990 modes from `isearch-message-prefix' in the *Help* buffer.
5991
5992 * isearch.el (isearch-query-replace): Add " symbol" and other
5993 possible search modes from `isearch-message-prefix' to the prompt.
5994 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5995 when reading a regexp to collect.
5996
a22289f7
JL
59972013-06-13 Juri Linkov <juri@jurta.org>
5998
5999 * isearch.el (word-search-regexp): Match whitespace if the search
6000 string begins or ends in whitespace. The LAX arg is applied to
6001 both ends of the search string. Use `regexp-quote' and explicit
6002 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6003 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6004 boundaries are replaced with symbol boundaries, and characters
6005 between symbols match non-word non-symbol syntax. (Bug#14602)
6006
cb89acab
JL
60072013-06-13 Juri Linkov <juri@jurta.org>
6008
6009 * isearch.el (isearch-del-char): Don't exceed the length of
6010 `isearch-string' by the prefix arg. (Bug#14563)
6011
6e8cfc81
JL
60122013-06-13 Juri Linkov <juri@jurta.org>
6013
6014 * isearch.el (isearch-yank-word, isearch-yank-line)
6015 (isearch-char-by-name, isearch-quote-char)
6016 (isearch-printing-char, isearch-process-search-char):
6017 Add optional count prefix arg. (Bug#14563)
6018
6019 * international/isearch-x.el
6020 (isearch-process-search-multibyte-characters):
6021 Add optional count prefix arg.
6022
c23d55f4
VS
60232013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6026 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6027 lexical-binding.
6028
60292013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6030
6031 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6032
ba947bc4
GM
60332013-06-13 Glenn Morris <rgm@gnu.org>
6034
8baeb37a
GM
6035 * startup.el (tty-handle-args):
6036 Don't just discard "--" and anything after. (Bug#14608)
6037
ba947bc4
GM
6038 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6039
9abefce4
MA
60402013-06-13 Michael Albinus <michael.albinus@gmx.de>
6041
6042 Implement changes in Secret Service API. Make it backward compatible.
6043 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6044 (secrets-create-item): Use it. Prefix properties with interface.
6045
5755011f
MH
60462013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6047
6048 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6049 (term-emulate-terminal): Respect term-suppress-hard-newline.
6050
1261d2da
S
60512013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6052
6053 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6054 Only remove a `thumb-file' overlay. (Bug#14548)
6055
868490bb
GJ
60562013-06-12 Grégoire Jadi <daimrod@gmail.com>
6057
6058 * mail/reporter.el (reporter-submit-bug-report):
6059 Handle missing package-name. (Bug#14600)
6060
79d7167f
TH
60612013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6062
6063 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6064 (reftex-citation-prompt, reftex-default-bibliography)
6065 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6066 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6067 (reftex-bib-sort-author, reftex-bib-sort-year)
6068 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6069 (reftex-extract-bib-entries-from-thebibliography)
6070 (reftex-get-bibkey-default, reftex-get-bib-names)
6071 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6072 (reftex-format-bib-entry, reftex-parse-bibitem)
6073 (reftex-format-bibitem, reftex-do-citation)
6074 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6075 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6076 (reftex-insert-bib-matches, reftex-format-citation)
6077 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6078 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6079 existing comments into docstrings.
6080
5f9dbd7a
XF
60812013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6082
6083 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6084
94df41ab
AS
60852013-06-12 Andreas Schwab <schwab@suse.de>
6086
6087 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6088 for auto-save files.
6089
a7f3fecc
GM
60902013-06-12 Glenn Morris <rgm@gnu.org>
6091
001809f6
GM
6092 * ido.el (ido-delete-ignored-files): Remove.
6093 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6094 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6095
834b5ded
EL
60962013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6097
08c73ed2
EL
6098 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6099
834b5ded
EL
6100 * ido.el (ido-delete-ignored-files): New function,
6101 split from ido-make-file-list-1.
6102 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6103 (ido-make-file-list-1): Use ido-delete-ignored-files.
6104
daabf15a
LL
61052013-06-12 Leo Liu <sdl.web@gmail.com>
6106
6107 * progmodes/octave.el (inferior-octave-startup)
6108 (inferior-octave-completion-table)
6109 (inferior-octave-track-window-width-change)
6110 (octave-eldoc-function-signatures, octave-help)
6111 (octave-find-definition): Use single quoted strings.
6112 (inferior-octave-startup-args): Change default value.
6113 (inferior-octave-startup): Do not hard code "-i" and
6114 "--no-line-editing".
6115 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6116 (inferior-octave-directory-tracker): Use it.
6117 (octave-goto-function-definition): Robustify.
6118 (octave-help): Support highlighting operators in 'See also'.
6119 (octave-find-definition): Find subfunctions only in Octave mode.
6120
cf4e5178
SM
61212013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * help-fns.el (help-fns--compiler-macro): If the handler function is
6124 named, then put a link to it.
6125 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6126 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6127 (cl-typep): Use it.
6128 (cl-eval-when): Simplify debug spec.
6129 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6130 compiler-macro function instead of setting `compiler-macro-file'.
6131
99c81280 61322013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6133
6134 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6135 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6136
f56be016
SM
61372013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6138 Daniel Hackney <dan@haxney.org>
6139
6140 First part of Daniel Hackney's patch to package.el.
6141 * emacs-lisp/package.el: Use defstruct.
6142 (package-desc): New, main struct.
6143 (package--bi-desc, package--ac-desc): New structs, used to describe the
6144 format in external files.
6145 (package-desc-vers): Replace with package-desc-version accessor.
6146 (package-desc-doc): Replace with package-desc-summary accessor.
6147 (package-activate-1): Remove `package' arg since the pkg-vec now
6148 includes the name.
6149 (define-package): Use package-desc-from-define.
6150 (package-unpack-single): Change file-name arg to be a symbol.
6151 (package--add-to-archive-contents): Use package-desc-create and new
6152 accessor functions to package--ac-desc.
6153 (package-buffer-info, package-tar-file-info): Return a package-desc.
6154 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6155 arg to be a package-desc.
6156 (package-install-file): Adjust accordingly. Use \' to match EOS.
6157 (package--from-builtin): New function.
6158 (describe-package-1, package-menu--generate): Use it.
6159 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6160 (package-generate-autoloads): Idem and return the name of the file.
6161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6162 Change pkg-info arg to be a package-desc.
6163 Use package-make-ac-desc.
6164 (package-upload-file): Use \' to match EOS.
6165 * finder.el (finder-compile-keywords): Use package-make-builtin.
6166
31119d63
SM
61672013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6168
931a2762
SM
6169 * vc/vc.el (vc-deduce-fileset): Change error message.
6170 (vc-read-backend): New function.
6171 (vc-next-action): Use it.
6172
5a3eb0c6
SM
6173 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6174
e3eb1bb7
SM
6175 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6176 (prolog-font-lock-keywords): Use regexp-opt instead.
6177 Don't manually highlight strings.
6178 (prolog-mode-variables): Simplify comment-start-skip.
6179 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6180
31119d63
SM
6181 * emacs-lisp/generic.el (generic--normalise-comments)
6182 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6183 (generic-mode-set-comments): Use them.
6184 (generic-bracket-support): Use setq-local.
6185 (generic-make-keywords-list): Declare obsolete.
6186
7de135d0
GM
61872013-06-11 Glenn Morris <rgm@gnu.org>
6188
6189 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6190 Prettify after setting font-lock-defaults. (Bug#14574)
6191
fa6bc6fd
JB
61922013-06-11 Juanma Barranquero <lekktu@gmail.com>
6193
6194 * replace.el (query-replace, occur-read-regexp-defaults-function)
6195 (replace-search):
6196 * subr.el (declare-function, number-sequence, local-set-key)
6197 (substitute-key-definition, locate-user-emacs-file)
6198 (with-silent-modifications, split-string, eval-after-load):
6199 Fix typos, remove unneeded backslashes and reflow some docstrings.
6200
cf1f9b9a
SM
62012013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6204 default for Elisp files.
6205
56602a4b
GM
62062013-06-11 Glenn Morris <rgm@gnu.org>
6207
6208 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6209 although define-derived-mode was doing this anyway. (Bug#14583)
6210
30ae0b2c
JB
62112013-06-10 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6214 Fix make-variable-buffer-local call to refer to the correct variable.
6215
fa472906
AG
62162013-06-10 Aidan Gauland <aidalgol@amuri.net>
6217
6218 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6219 (eshell-visual-subcommands, eshell-visual-options):
6220 Add summary line to docstrings. Add cross-references.
fa472906 6221
ff4871b9
GM
62222013-06-10 Glenn Morris <rgm@gnu.org>
6223
6224 * epa.el (epa-read-file-name): New function. (Bug#14510)
6225 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6226
04fcf1b0
AG
62272013-06-09 Aidan Gauland <aidalgol@amuri.net>
6228
6229 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6230 output redirection to be ignored with visual commands.
6231
88b00caa
AG
62322013-06-09 Aidan Gauland <aidalgol@amuri.net>
6233
6234 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6235 (eshell-term-initialize): Move long lambda to separate function
6236 eshell-visual-command-p.
e7b41c4c
JB
6237 * eshell/em-dirs.el (eshell-dirs-initialise):
6238 * eshell/em-script.el (eshell-script-initialize):
6239 Add missing #' to lambda.
88b00caa 6240
fda74125
LL
62412013-06-08 Leo Liu <sdl.web@gmail.com>
6242
6243 * progmodes/octave.el (octave-add-log-current-defun): New function.
6244 (octave-mode): Set add-log-current-defun-function.
6245 (octave-goto-function-definition): Do not move point if not found.
6246 (octave-find-definition): Enhance to try subfunctions first.
6247
467f3b33
GM
62482013-06-08 Glenn Morris <rgm@gnu.org>
6249
6250 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6251 (byte-compile-backward-char, byte-compile-backward-word):
6252 Improve previous change, to handle non-explicit nil.
6253
544badc3
SM
62542013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6257 (smie--opener/closer-at-point): New function.
6258 (smie--matching-block-data): Use it. Don't match from right after an
6259 opener or right before a closer. Obey smie-blink-matching-inners.
6260 Don't signal a mismatch for repeated inners like "switch..case..case".
6261
a175bf33
LL
62622013-06-07 Leo Liu <sdl.web@gmail.com>
6263
6264 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6265 to t. (Bug#14303)
ce8209d4
LL
6266 (octave-function-header-regexp): Fix. (Bug#14570)
6267 (octave-help-mode-finish-hook, octave-help-mode-finish):
6268 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6269
6270 * newcomment.el (comment-search-backward): Revert last change.
6271 (Bug#14434)
6272
6273 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6274
a822acff
EZ
62752013-06-07 Eli Zaretskii <eliz@gnu.org>
6276
6277 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6278 through xargs, to avoid failure due to MS-Windows limitations on
6279 command-line length.
6280
961166f5
GM
62812013-06-06 Glenn Morris <rgm@gnu.org>
6282
d0341459
GM
6283 * font-lock.el (lisp-font-lock-keywords-2):
6284 Treat user-error like error.
6285
961166f5
GM
6286 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6287 (byte-compile-backward-char, byte-compile-backward-word):
6288 Handle explicit nil arguments. (Bug#14565)
6289
80fa505f
AM
62902013-06-05 Alan Mackenzie <acm@muc.de>
6291
6292 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6293 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6294 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6295 (Bug#9706)
80fa505f 6296
fccdc796
SM
62972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * autorevert.el (auto-revert-notify-handler): Use memq.
6300 Hide assertion failure.
6301
6302 * skeleton.el: Use cl-lib.
6303 (skeleton-further-elements): Use defvar-local.
6304 (skeleton-insert): Use cl-progv.
6305
9bfff84b
TZ
63062013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6307
6308 * progmodes/prog-mode.el (prog-prettify-symbols)
6309 (prog-prettify-install): Update docstrings.
6310
55577e7c
SM
63112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * simple.el: Move all the prog-mode code to prog-mode.el.
6314 * progmodes/prog-mode.el: New file.
6315 * loadup.el: Add prog-mode.el.
6316
8fc57765
TZ
63172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6318
6319 * simple.el (prog-prettify-symbols): Add version.
6320 (prog-prettify-install): Add convenience function to prettify symbols.
6321
6322 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6323 (perl--augmented-font-lock-keywords-1)
6324 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6325 variables and use it.
6326
6327 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6328 (cfengine3-mode): Remove unneeded variable and use it.
6329
6330 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6331 (lisp--augmented-font-lock-keywords-1)
6332 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6333 Remove unneeded variables and use it.
6334
650645d5 63352013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6336
6337 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6338 to point when opening the connection. (Bug#14380)
28f5da6d 6339
781b4af6
SM
63402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * subr.el (load-history-regexp, load-history-filename-element)
6343 (eval-after-load, after-load-functions, do-after-load-evaluation)
6344 (eval-next-after-load, display-delayed-warnings)
6345 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6346 definition of save-match-data.
6347 (overriding-local-map): Remove accidental obsolescence declaration.
6348
6349 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6350
3ca0d0b4
TZ
63512013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6352
6353 Generalize symbol prettify support to prog-mode and implement it
6354 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6355 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6356 (prog--prettify-font-lock-compose-symbol)
6357 (prog-prettify-font-lock-symbols-keywords): New variables and
6358 functions to support symbol prettification.
6359 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6360 (lisp--augmented-font-lock-keywords-1)
6361 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6362 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6363 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6364 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6365 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6366 * progmodes/perl-mode.el (perl-prettify-symbols)
6367 (perl--font-lock-compose-symbol)
6368 (perl--font-lock-symbols-keywords): Move to prog-mode.
6369 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6370 (perl-font-lock-keywords-1)
6371 (perl-font-lock-keywords-2): Remove explicit prettify support.
6372 (perl--augmented-font-lock-keywords)
6373 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6374 (perl--augmented-font-lock-keywords-2, perl-mode):
6375 Implement prettify support.
3ca0d0b4 6376
976cb066
LL
63772013-06-05 Leo Liu <sdl.web@gmail.com>
6378
6379 Re-implement smie matching block highlight using
6380 show-paren-data-function. (Bug#14395)
6381 * emacs-lisp/smie.el (smie-matching-block-highlight)
6382 (smie--highlight-matching-block-overlay)
6383 (smie--highlight-matching-block-lastpos)
6384 (smie-highlight-matching-block)
6385 (smie-highlight-matching-block-mode): Remove.
6386 (smie--matching-block-data-cache): New variable.
6387 (smie--matching-block-data): New function.
6388 (smie-setup): Use smie--matching-block-data for
6389 show-paren-data-function.
6390
6391 * progmodes/octave.el (octave-mode-menu): Fix.
6392 (octave-find-definition): Skip garbage lines.
6393
208d0342
SM
63942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 Fix compilation error with simultaneous dynamic+lexical scoping.
6397 Add warning when a defvar appears after the first let-binding.
6398 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6399 (byte-compile-close-variables): Initialize it.
6400 (byte-compile--declare-var): New function.
6401 (byte-compile-file-form-defvar)
6402 (byte-compile-file-form-define-abbrev-table)
6403 (byte-compile-file-form-custom-declare-variable): Use it.
6404 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6405 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6406 (byte-compile-bind): Handle dynamic bindings that shadow
6407 lexical bindings.
6408 (byte-compile-unbind): Make arg non-optional.
6409 (byte-compile-let): Simplify.
6410 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6411 (cconv--analyse-function, cconv-analyse-form): Populate it.
6412 Protect byte-compile-bound-variables to limit the scope of defvars.
6413 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6414 Remove unneeded rule for `declare'.
6415
6416 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6417 so as to avoid depending on cl-adjoin at run-time.
6418 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6419
6420 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6421 (macroexp--warn-and-return): Use it.
6422
2587b005
LL
64232013-06-05 Leo Liu <sdl.web@gmail.com>
6424
6425 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6426
f1da3c88
LL
64272013-06-04 Leo Liu <sdl.web@gmail.com>
6428
6429 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6430 (compilation-auto-jump): Suppress the "Mark set" message to give
6431 way to exit message.
6432
3caa391f
AM
64332013-06-04 Alan Mackenzie <acm@muc.de>
6434
6435 Remove faulty optimisation from indentation calculation.
6436 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6437 search limit based on 2000 characters back from indent-point.
6438
068922a2
TH
64392013-06-03 Tassilo Horn <tsdh@gnu.org>
6440
6441 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6442
1f8fdd53
SM
64432013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6444
bbcc4d97
SM
6445 * emacs-lisp/lisp.el: Use lexical-binding.
6446 (lisp--local-variables-1, lisp--local-variables): New functions.
6447 (lisp--local-variables-completion-table): New var.
208d0342 6448 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6449
1f8fdd53
SM
6450 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6451 eagerly (bug#14422).
6452
c9628c79
MA
64532013-06-03 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * autorevert.el (auto-revert-notify-enabled)
6456 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6457 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6458 (auto-revert-notify-handler): Handle also gfilenotify.
6459
e7b41c4c 6460 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6461 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6462 Remove.
c9628c79 6463
e5e4a942
JL
64642013-06-03 Juri Linkov <juri@jurta.org>
6465
6466 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6467 `M-s h .'. (Bug#14427)
6468
6469 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6470 command `hi-lock-face-symbol-at-point'.
6471 (hi-lock-face-symbol-at-point): New command.
6472 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6473 (hi-lock-menu): Add `highlight-symbol-at-point'.
6474 (hi-lock-mode): Doc fix.
6475
6476 * isearch.el (isearch-forward-symbol-at-point): New command.
6477 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6478 (isearch-highlight-regexp): Add a regexp which matches
6479 words/symbols for word/symbol mode.
6480
6481 * subr.el (find-tag-default-bounds): New function with the body
6482 mostly moved from `find-tag-default'.
6483 (find-tag-default): Move most code to `find-tag-default-bounds',
6484 call it and apply `buffer-substring-no-properties' afterwards.
6485
26b3353a
TH
64862013-06-03 Tassilo Horn <tsdh@gnu.org>
6487
781b4af6
SM
6488 * eshell/em-term.el (eshell-term-initialize):
6489 Use `cl-intersection' rather than `intersection'.
26b3353a 6490
51b60f53
XF
64912013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6492
fe054b63 6493 * vc/log-view.el: Doc fix.
d3ffe17c 6494 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6495
a0eb10b3 64962013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6497
6498 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6499 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6500 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6501 (eieio-unbound, eieio-default-superclass)
6502 (eieio--define-field-accessors, method-static, method-before)
6503 (method-primary, method-after, method-num-lists)
6504 (method-generic-before, method-generic-primary)
6505 (method-generic-after, method-num-slots)
6506 (eieio-specialized-key-to-generic-key)
6507 (eieio--check-type, class-v, class-p)
6508 (eieio-class-name, define-obsolete-function-alias)
6509 (eieio-class-parents-fast, eieio-class-children-fast)
6510 (same-class-fast-p, class-constructor, generic-p)
6511 (generic-primary-only-p, generic-primary-only-one-p)
6512 (class-option-assoc, class-option, eieio-object-p)
6513 (class-abstract-p, class-method-invocation-order)
6514 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6515 (eieio-class-un-autoload, eieio-defclass)
6516 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6517 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6518 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6519 (eieio-defgeneric-reset-generic-form)
6520 (eieio-defgeneric-form-primary-only)
6521 (eieio-defgeneric-reset-generic-form-primary-only)
6522 (eieio-defgeneric-form-primary-only-one)
6523 (eieio-defgeneric-reset-generic-form-primary-only-one)
6524 (eieio-unbind-method-implementations)
6525 (eieio--defmethod, eieio--typep)
6526 (eieio-perform-slot-validation, eieio-validate-slot-value)
6527 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6528 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6529 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6530 (eieio-slot-name-index, eieio-class-slot-name-index)
6531 (eieio-set-defaults, eieio-initarg-to-attribute)
6532 (eieio-attribute-to-initarg, eieio-c3-candidate)
6533 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6534 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6535 (eieio-class-precedence-list, eieio-generic-call-methodname)
6536 (eieio-generic-call-arglst, eieio-generic-call-key)
6537 (eieio-generic-call-next-method-list)
6538 (eieio-pre-method-execution-functions, eieio-generic-call)
6539 (eieio-generic-call-primary-only, eieiomt-method-list)
6540 (eieiomt-optimizing-obarray, eieiomt-install)
6541 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6542 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6543 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6544 (defclass): Remove `eval-and-compile' from macro.
6545 (call-next-method, shared-initialize): Instead of using
6546 `scoped-class' variable, use new eieio--scoped-class, and
6547 eieio--with-scoped-class.
6548 (initialize-instance): Rename local variable 'scoped-class' to
6549 'this-class' to remove ambiguitity from old global.
6550
6551 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6552 eieio.el.
4f405069
JB
6553 (eieio--scoped-class-stack): New variable.
6554 (eieio--scoped-class): New fcn.
890f7890
DE
6555 (eieio--with-scoped-class): New scoping macro.
6556 (eieio-defclass): Use pushnew instead of add-to-list.
6557 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6558 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6559 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6560 `scoped-class' variable, use new eieio--scoped-class, and
6561 eieio--with-scoped-class.
6562
6563 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6564
d105b0e2
TH
65652013-06-02 Tassilo Horn <tsdh@gnu.org>
6566
6567 * eshell/esh-ext.el (eshell-external-command): Pass args to
6568 `eshell-find-interpreter'.
6569 (eshell-find-interpreter): Add new second parameter ARGS.
6570
6571 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6572 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6573
6574 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6575 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6576
6577 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6578 (eshell-visual-options): New defcustom.
6579 (eshell-escape-control-x): Adapt docstring.
6580 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6581 `eshell-visual-options' in addition to `eshell-visual-commands'.
6582 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6583
f46305c8 65842013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6585
6586 * progmodes/python.el (python-indent-block-enders): Add break,
6587 continue and raise keywords.
6588
d870df21
GM
65892013-06-01 Glenn Morris <rgm@gnu.org>
6590
9133b82e
GM
6591 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6592
02c992ec 6593 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6594 * progmodes/cc-cmds.el (delete-forward-p):
6595 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6596 * progmodes/cc-engine.el (buffer-syntactic-context):
6597 * progmodes/cc-fonts.el (face-property-instance):
6598 * progmodes/cc-mode.el (set-keymap-parents):
6599 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6600 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6601 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6602 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6603 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6604
31e7b090
GM
6605 * progmodes/cc-vars.el (other): Emacs has this widget since
6606 at least 21.1, so don't (re)define it.
6607
d870df21
GM
6608 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6609 Replace the obsolete alias pcomplete-arg-quote-list.
6610
c75c93c7
LL
66112013-06-01 Leo Liu <sdl.web@gmail.com>
6612
6613 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6614 punctuation syntax.
6615 (inferior-octave-minimal-columns)
6616 (inferior-octave-last-column-width): New variables.
6617 (inferior-octave-track-window-width-change): New function.
6618 (inferior-octave-mode): Adjust column width so that Octave output,
6619 for example from 'ls', can fit into the window nicely.
6620
973d1e12
DG
66212013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6622
6623 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6624 Highlight expansions inside regexp literals.
6625
0888c286
GM
66262013-05-31 Glenn Morris <rgm@gnu.org>
6627
e26aac1f
GM
6628 * obsolete/sym-comp.el (symbol-complete):
6629 Replace obsolete completion-annotate-function.
6630
0888c286
GM
6631 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6632
19bb8e62
DG
66332013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6634
781b4af6
SM
6635 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6636 New function, checks if point is inside a literal that allows
19bb8e62
DG
6637 expression expansion.
6638 (ruby-syntax-propertize-expansion): Use it.
6639 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6640 around the body.
6641
01dea85f
JL
66422013-05-30 Juri Linkov <juri@jurta.org>
6643
6644 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6645 to "\M-si".
6646 (isearch-invisible): New variable.
6647 (isearch-forward): Doc fix.
6648 (isearch-mode): Set `isearch-invisible'
6649 to the value of `search-invisible'.
6650 (isearch-toggle-case-fold): Doc fix.
6651 (isearch-toggle-invisible): New command.
6652 (isearch-query-replace): Let-bind `search-invisible'
6653 to the value of `isearch-invisible'.
6654 (isearch-search): Use `isearch-invisible' instead of
6655 `search-invisible'. Let-bind `search-invisible'
6656 to the value of `isearch-invisible'. (Bug#11378)
6657
ab1bdce5
JL
66582013-05-30 Juri Linkov <juri@jurta.org>
6659
6660 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6661 call when `query-flag' is nil and `search-invisible' is non-nil.
6662 (Bug#11746)
6663
d6d236e2
GM
66642013-05-30 Glenn Morris <rgm@gnu.org>
6665
8accd027
GM
6666 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6667
2a8bed1c
GM
6668 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6669 (cc-require): Suppress spurious "noruntime" warnings.
6670 (cc-require-when-compile): Use fboundp, for sake of compiler.
6671
d6d236e2
GM
6672 * progmodes/cc-mode.el: Move load of cc-vars before that of
6673 cc-langs (which in turn loads cc-vars), to quieten compiler.
6674
9190b35b
SM
66752013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * paren.el: Simplify the code.
6678 (show-paren-mode): Always start the timer.
6679 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6680 (show-paren--overlay, show-paren--overlay-1): Rename from
6681 show-paren-overlay and show-paren-overlay-1, and initialize to an
6682 overlay rather than to nil.
6683 (show-paren-function): Misc cleanup and simplifications.
6684
4f8d1cf6
SM
66852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * paren.el (show-paren-data-function): New hook.
6688 (show-paren--default): New function, extracted from show-paren-function.
6689 (show-paren-function): Use show-paren-data-function.
6690
02d844b5
GM
66912013-05-30 Glenn Morris <rgm@gnu.org>
6692
d209d4a9
GM
6693 * ielm.el (ielm-map, ielm-complete-symbol):
6694 Use completion-at-point rather than obsolete functions.
6695 (inferior-emacs-lisp-mode): Doc fix.
6696 Set completion-at-point-functions, rather than
6697 comint-dynamic-complete-functions.
6698
2082faa6
GM
6699 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6700 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6701 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6702
dd8620de
GM
6703 * image.el (image-animated-p): Tweak definition.
6704
ceca95b1
GM
6705 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6706 (rlogin-process-connection-type): Tweak default. Add set-after.
6707 (rlogin-host): Doc fix.
6708 (rlogin): Tweak prompt.
6709 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6710
ee9f1acc
GM
6711 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6712 * progmodes/tcl.el (inferior-tcl-mode-map):
6713 Use completion-at-point rather than obsolete alias.
6714
45ce222e
GM
6715 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6716
02d844b5
GM
6717 * minibuffer.el (read-file-name-completion-ignore-case):
6718 Move before completion--in-region, for eager macro expansion.
6719
ac44d6c1
JL
67202013-05-29 Juri Linkov <juri@jurta.org>
6721
6722 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6723 for total count of matching lines. Add `global-matches' for total
6724 count of matches. Rename `matches' to `lines' for count of
6725 matching lines. Add `matches' for count of matches.
6726 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6727 to `prev-line' for line number of prev match endpt.
6728 Increment `matches' for every match. Print the number of
6729 matching lines in the header.
6730 (occur-context-lines): Rename `lines' to `curr-line'.
6731 Rename `prev-lines' to `prev-line'. (Bug#14017)
6732
3c9c9d38
JL
67332013-05-29 Juri Linkov <juri@jurta.org>
6734
6735 * replace.el (perform-replace): Add `skip-read-only-count',
6736 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6737 Increment them for corresponding conditions and report the number
6738 of skipped occurrences in the final message. (Bug#11746)
6739 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6740 (replace-string, replace-regexp): Doc fix.
6741
33e249a2
SM
67422013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6743
8e399682
SM
6744 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6745
33e249a2 6746 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6747 prog-mode-map (bug#14504).
33e249a2 6748
f236dd84
LL
67492013-05-29 Leo Liu <sdl.web@gmail.com>
6750
6751 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6752 (octave-help): Small simplification.
6753
6754 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6755 off the highlight first.
6756
3694d13f
GM
67572013-05-29 Glenn Morris <rgm@gnu.org>
6758
03983bdc
GM
6759 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6760 Handle idlwave-last-system-routine-info-cons-cell being nil.
6761
bc74a74a
GM
6762 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6763 (idlwave-write-paths): Simplify via with-temp-buffer.
6764
8b394200
GM
6765 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6766 * emulation/cua-rect.el: Also load cua-base at run time.
6767
3694d13f
GM
6768 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6769 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6770 (cperl-imenu-on-info): Require imenu.
6771
336d7284
AM
67722013-05-28 Alan Mackenzie <acm@muc.de>
6773
6774 Handle "capitalised keywords" correctly.
33e249a2 6775 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6776
cb29c582
AG
67772013-05-28 Aidan Gauland <aidalgol@amuri.net>
6778
781b4af6 6779 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6780
690e44b2
GM
67812013-05-28 Glenn Morris <rgm@gnu.org>
6782
e658d75c
GM
6783 * vc/vc-arch.el (vc-exec-after): Declare.
6784 (vc-switches): Autoload.
6785 * vc/vc-bzr.el: No need to require vc when compiling.
6786 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6787 (vc-resynch-buffer, vc-dir-refresh): Declare.
6788 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6789 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6790 (vc-resynch-buffer): Declare.
6791 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6792 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6793 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6794 (grep-read-regexp, grep-read-files, grep-expand-template)
6795 (vc-dir-refresh): Declare.
6796 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6797 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6798 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6799 * vc/vc-mtn.el (vc-exec-after): Declare.
6800 (vc-switches): Autoload.
6801 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6802 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6803 (vc-file-tree-walk): Declare.
712b9732
GM
6804 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6805 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6806 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6807 * vc/vc-svn.el (vc-exec-after): Declare.
6808 (vc-switches, vc-setup-buffer): Autoload.
6809 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6810 Autoload.
6811 (vc-resynch-buffer): Declare.
6812
98e87fb3
GM
6813 * obsolete/fast-lock.el (byte-compile-warnings):
6814 Don't warn about obsolete features in this obsolete file.
6815
f5379553
GM
6816 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6817 Move definition before use.
6818
7a20ef83
GM
6819 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6820 (dun-unix-verbs): Remove dun-zippy.
6821 (dun-zippy): Remove function.
6822
690e44b2
GM
6823 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6824
3a52ccf7
JL
68252013-05-27 Juri Linkov <juri@jurta.org>
6826
6827 * replace.el (replace-search): New function with code moved out
6828 from `perform-replace'.
6829 (replace-highlight, replace-dehighlight): Move function definitions
6830 up closer to `replace-search'. (Bug#11746)
6831
d289938a
JL
68322013-05-27 Juri Linkov <juri@jurta.org>
6833
6834 * replace.el (perform-replace): Ignore invisible matches.
6835 In addition to checking `query-replace-skip-read-only', also
6836 filter out matches by calling `run-hook-with-args-until-failure'
6837 on `isearch-filter-predicates', and also check `search-invisible'
6838 for t or call `isearch-range-invisible'.
6839 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6840
66fc57e3
JL
68412013-05-27 Juri Linkov <juri@jurta.org>
6842
6843 * isearch.el (isearch-filter-predicates): Rename from
6844 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6845 (isearch-message-prefix): Display text from the property
6846 `isearch-message-prefix' of the currently active filters.
6847 (isearch-search): Don't compare `isearch-filter-predicate' with
6848 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6849 on `isearch-filter-predicates'. Also check `search-invisible' for t
6850 or call `isearch-range-invisible'.
6851 (isearch-filter-visible): Make obsolete.
6852 (isearch-lazy-highlight-search):
6853 Call `run-hook-with-args-until-failure' on
6854 `isearch-filter-predicates' and use `isearch-range-invisible'.
6855
6856 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6857 `isearch-filter-predicates' instead of `funcall'ing
6858 `isearch-filter-predicate'.
6859 (Info-mode): Set `Info-isearch-filter' to
6860 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6861
6862 * dired-aux.el (dired-isearch-filter-predicate-orig):
6863 Remove variable.
6864 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6865 (dired-isearch-filenames-end): Add and remove
6866 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6867 instead of changing the value of `isearch-filter-predicate'.
6868 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6869 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6870 Put property `isearch-message-prefix' to "filename " on
6871 `dired-isearch-filter-filenames'.
6872
6873 * wdired.el (wdired-change-to-wdired-mode):
6874 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6875 locally instead of changing `isearch-filter-predicate'.
6876 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6877
f1a60a0f
DG
68782013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6879
6880 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6881 return the commit hash (Bug#14459). Also set the
6882 `vc-git-detached' property.
6883 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6884 (vc-git-mode-line-string): Use the same help-echo format whether
6885 in detached mode or not, because we know the actual revision now.
6886 When in detached mode, shorten the revision to 7 chars.
6887
7f17cc40
SM
68882013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/easy-mmode.el (define-minor-mode):
6891 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6892 mode hook and provide a docstring.
6893
25c8401c
AM
68942013-05-27 Alan Mackenzie <acm@muc.de>
6895
6896 Remove spurious syntax-table text properties inserted by C-y.
6897 * progmodes/cc-mode.el (c-after-change): Also clear hard
6898 syntax-table property with value nil.
6899
dde84790
MA
69002013-05-27 Michael Albinus <michael.albinus@gmx.de>
6901
6902 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6903 when reading the events; the buffer layout shall not be changed.
6904
837fd9af
LL
69052013-05-27 Leo Liu <sdl.web@gmail.com>
6906
6907 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6908 New variable.
6909 (inferior-octave-directory-tracker): Automatically re-sync
6910 default-directory.
6911 (octave-help): Improve handling of 'See also'.
6912
4fd996b3
SM
69132013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6914
416f1802
SM
6915 * doc-view.el: Minor naming convention tweaks.
6916 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6917
4fd996b3
SM
6918 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6919 even if there's no `display' property yet (bug#14435).
6920
a052ef3b
EZ
69212013-05-25 Eli Zaretskii <eliz@gnu.org>
6922
4fd996b3 6923 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6924
6925 * Makefile.in (custom-deps, finder-data, autoloads)
6926 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6927 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6928 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6929
c9023370
SM
69302013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6933 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6934 Don't burp at EOB.
c9023370 6935
24d699fa
LL
69362013-05-25 Leo Liu <sdl.web@gmail.com>
6937
6938 * comint.el (comint-previous-matching-input): Do not flood the
6939 *Messages* buffer with trivial messages.
6940
17e5c0cc
SM
69412013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * progmodes/flymake.el (flymake-nop): Don't return a string.
6944 (flymake-set-at): Fix typo.
6945
6946 * simple.el (read--expression): New function, extracted from
6947 eval-expression. Set completion-at-point-functions (bug#14465).
6948 (eval-expression, eval-minibuffer): Use it.
6949
5d028165
XF
69502013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6951
6952 * progmodes/flymake.el (flymake-save-buffer-in-file)
6953 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6954 (flymake-selected-frame, flymake-log, flymake-ins-after)
6955 (flymake-set-at, flymake-get-buildfile-from-cache)
6956 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6957 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6958 Refine the doc string.
6959 (flymake-get-file-name-mode-and-masks): Reformat.
6960 (flymake-get-real-file-name-function): Fix a minor bug.
6961
7a1d7ba7
JL
69622013-05-24 Juri Linkov <juri@jurta.org>
6963
6964 * progmodes/grep.el (grep-mode-font-lock-keywords):
6965 Support =linenumber= format used by git-grep for lines with
6966 function names. (Bug#13549)
6967
650cff3d
SM
69682013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6971 0 after a semi-colon; it works better for smie-auto-fill.
6972 (octave--indent-new-comment-line): New function.
6973 (octave-indent-new-comment-line): Use it (indirectly).
6974 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6975 modify comment-line-break-function.
6976
6977 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6978 (smie-setup): Use add-function to set it.
6979
9631677d
SS
69802013-05-24 Sam Steingold <sds@gnu.org>
6981
6982 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6983 argument (before the `interactive' argument).
6984
50105835
SM
69852013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * image-mode.el (image-mode-winprops): Add winprops to
6988 image-mode-winprops-alist before running
6989 image-mode-new-window-functions.
6990 * doc-view.el (doc-view-new-window-function): Don't delay
6991 doc-view-goto-page via timers (bug#14435).
6992
57b9823e
TH
69932013-05-24 Tassilo Horn <tsdh@gnu.org>
6994
6995 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6996 (doc-view-desktop-save-buffer): New function.
6997 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6998 (desktop-buffer-mode-handlers):
6999 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7000 handler.
7001 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7002 `desktop-save-buffer' function.
7003
91aafa16
MA
70042013-05-24 Michael Albinus <michael.albinus@gmx.de>
7005
7006 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7007 (tramp-gvfs-file-name-handler): Raise a user error when
7008 `tramp-gvfs-enabled' is nil.
7009 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7010 Do not raise a user error when loading package. (Bug#14447)
7011
ec076379
MA
7012 * net/xesam.el: Move to obsolete/.
7013
db785726
GM
70142013-05-24 Glenn Morris <rgm@gnu.org>
7015
af5c7606
GM
7016 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7017
e5d1916a
GM
7018 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7019
ded62b08
GM
7020 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7021 (Info-find-node, Man-getpage-in-background): Declare.
7022
9e614a3f
GM
7023 * mail/unrmail.el (unrmail):
7024 Replace obsolete detect-coding-with-priority.
7025
892f8ca3
GM
7026 * net/socks.el (socks-split-string): Use this rather than split-string.
7027 (socks-nslookup-host): Update for above change.
7028 (dynamic-choice, s5-dynamic-choice-match)
7029 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7030 Comment out unused code.
7031
3c291973
GM
7032 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7033 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7034 (gud-tooltip-echo-area): Make obsolete.
7035 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7036
43cc956b
GM
7037 * progmodes/js.el (js--optimize-arglist): Declare.
7038
dab49a3b
GM
7039 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7040
36b9d085
GM
7041 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7042 (ediff-window-C): Declare.
7043
e354ae76
GM
7044 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7045 Tweak requires to silence compiler.
7046
b8e57bf4
GM
7047 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7048 (he-search-string, he-tried-table, he-expand-list)
7049 (he-init-string, he-string-member, he-substitute-string)
7050 (he-reset-string): Declare.
7051
db785726
GM
7052 * obsolete/options.el (list-options): Use custom-variable-p,
7053 rather than obsolete alias.
7054
b3531901
SS
70552013-05-23 Sam Steingold <sds@gnu.org>
7056
7057 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7058 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7059 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7060
bdda4c66
SM
70612013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * emacs-lisp/smie.el (smie-indent-forward-token)
7064 (smie-indent-backward-token): Handle string tokens (bug#14381).
7065
c43d45f9
TH
70662013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7067
fe1eb856
RS
7068 * ielm.el (ielm-menu): New menu.
7069 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7070
fe1eb856
RS
70712013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7072
7073 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7074 Fix deactivate action.
7075
7076 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7077 Add cleveref macros.
074dd971 7078
c43d45f9
TH
7079 * lisp/textmodes/reftex-parse.el
7080 (reftex-locate-bibliography-files): Accept options for
7081 bibliography commands.
7082 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7083 Add addbibresource. Basic Biblatex support.
7084
7764286e
MA
70852013-05-23 Michael Albinus <michael.albinus@gmx.de>
7086
7087 * net/tramp-gvfs.el (top):
7088 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7089 when loading package. (Bug#14447)
7090
d361bc10
GM
70912013-05-23 Glenn Morris <rgm@gnu.org>
7092
8fa23984
GM
7093 * progmodes/js.el: No need to load comint when compiling.
7094 (ring-insert, comint-send-string, comint-send-input)
7095 (comint-last-input-end, ido-chop): Declare.
7096
a5c7df1a
GM
7097 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7098 * vc/ediff-mult.el: Adjust requires.
7099 (ediff-directories-internal, ediff-directory-revisions-internal)
7100 (ediff-patch-file-internal): Declare.
7101 * vc/ediff-ptch.el: Adjust requires.
7102 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7103 (ediff-find-file): Autoload.
7104 * vc/ediff-util.el: No need to load ediff when compiling.
7105 (ediff-regions-internal): Declare.
7106 * vc/ediff-wind.el: Adjust requires.
7107 (ediff-compute-toolbar-width): Define when compiling.
7108 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7109 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7110 (dired-get-filename, dired-get-marked-files)
7111 (ediff-last-dir-patch, ediff-patch-default-directory)
7112 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7113 (ediff-patch-buffer-internal): Declare.
7114
e2aec513
GM
7115 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7116 (ispell-process, ispell-buffer-local-words, lm-summary)
7117 (lm-section-start, lm-section-end): Declare.
7118 (checkdoc-ispell-init): Simplify.
7119
e68bbd7c
GM
7120 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7121 (he-string-member, he-reset-string, he-substitute-string): Declare.
7122
7efe0991
GM
7123 * eshell/em-ls.el: Adjust requires.
7124 (eshell-glob-regexp): Declare.
f87b1284
GM
7125 * eshell/em-tramp.el: Adjust requires.
7126 (eshell-parse-command): Autoload.
7127 * eshell/em-xtra.el: Adjust requires.
7128 (eshell-parse-command): Autoload.
7129 * eshell/esh-ext.el: Adjust requires.
7130 (eshell-parse-command, eshell-close-handles): Autoload.
7131 * eshell/esh-io.el: Adjust requires.
7132 (eshell-output-filter): Autoload.
7133 * eshell/esh-util.el: No need to load tramp when compiling.
7134 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7135 Declare.
7136 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7137 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7138 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7139 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7140 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7141 * eshell/esh-opt.el, eshell/esh-proc.el:
7142 * eshell/esh-var.el: Adjust requires.
7143 * eshell/eshell.el: Do not require esh-util twice.
7144 (eshell-add-input-to-history): Declare.
7145 (eshell-command): Check history module is active before using it.
7146
d361bc10
GM
7147 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7148
85d090a9
LL
71492013-05-22 Leo Liu <sdl.web@gmail.com>
7150
7151 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7152
5d0acd9d
MA
71532013-05-22 Michael Albinus <michael.albinus@gmx.de>
7154
7155 * autorevert.el (auto-revert-notify-add-watch)
7156 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7157 it indicates changes in file modification time.
7158
0cdffd7d
GM
71592013-05-22 Glenn Morris <rgm@gnu.org>
7160
ca5995ec
GM
7161 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7162 Always delete the autoloaded function from the noruntime and
7163 unresolved functions lists.
7164
6450907e
GM
7165 * allout.el: No need to load epa, epg, overlay when compiling.
7166 (epg-context-set-passphrase-callback, epg-list-keys)
7167 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7168 (epg-key-user-id-list): Declare.
7169
9c6906f6
GM
7170 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7171 (viper-set-parsing-style-toggling-macro)
7172 (viper-set-emacs-state-searchstyle-macros):
7173 Use called-interactively-p on Emacs.
7174 (viper-looking-back): Make it an obsolete alias. Update callers.
7175 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7176 Use looking-back rather than viper-looking-back.
7177 (viper-tmp-insert-at-eob, viper-enlarge-region)
7178 (viper-read-string-with-history, viper-register-to-point)
7179 (viper-append-to-register, viper-change-state-to-vi)
7180 (viper-backward-char-carefully, viper-forward-char-carefully)
7181 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7182 (viper-change-state-to-emacs): Declare.
7183 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7184 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7185 * emulation/viper-mous.el: Do not load viper-cmd.
7186 (viper-backward-char-carefully, viper-forward-char-carefully)
7187 (viper-forward-word, viper-adjust-window): Declare.
7188
5f70c169
GM
7189 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7190
b1b7f300
GM
7191 * progmodes/idlw-help.el (idlwave-help-fontify):
7192 Use called-interactively-p.
7193
f6ebbb46
GM
7194 * term/w32console.el (w32-get-console-codepage)
7195 (w32-get-console-output-codepage): Declare.
7196
0cdffd7d
GM
7197 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7198 Remove unnecessary declarations.
7199 (dframe-message): Doc fix.
7200
7201 * info.el (dframe-select-attached-frame, dframe-current-frame):
7202 Declare.
7203
7204 * speedbar.el (speedbar-message): Make it an obsolete alias.
7205 Update all callers.
7206 (speedbar-with-attached-buffer)
7207 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7208 (speedbar-with-writable): Use backquote.
7209 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7210 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7211 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7212 rather than speedbar- aliases.
7213 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7214 (speedbar-make-specialized-keymap, speedbar-insert-button)
7215 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7216 (speedbar-do-function-pointer): Declare.
7217 (rmail-speedbar-button, rmail-speedbar-find-file)
7218 (rmail-speedbar-move-message):
7219 Use dframe-with-attached-buffer rather than speedbar- alias.
7220 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7221 (dframe-message, speedbar-make-specialized-keymap)
7222 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7223 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7224 (speedbar-insert-button, dframe-select-attached-frame)
7225 (dframe-maybee-jump-to-attached-frame)
7226 (speedbar-change-initial-expansion-list)
7227 (speedbar-previously-used-expansion-list-name): Declare.
7228 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7229 Use dframe-message, dframe-with-attached-buffer rather than
7230 speedbar- aliases.
7231 (gud-sentinel): Silence compiler.
7232 * progmodes/vhdl-mode.el (speedbar-refresh)
7233 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7234 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7235 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7236 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7237 (speedbar-file-lists, speedbar-make-tag-line)
7238 (speedbar-line-directory, speedbar-goto-this-file)
7239 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7240 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7241 (speedbar-make-button, speedbar-reset-scanners)
7242 (speedbar-files-item-info, speedbar-line-text)
7243 (speedbar-find-file-in-frame, speedbar-set-timer)
7244 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7245 (speedbar-with-writable): Do not (re)define it.
7246 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7247 rather than speedbar- alias.
7248
ee44b62a
LL
72492013-05-21 Leo Liu <sdl.web@gmail.com>
7250
7251 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7252 menu items.
7253 (octave-mode): Tweak fill-nobreak-predicate.
7254 (inferior-octave-startup): Check process to avoid infinite loop.
7255 (inferior-octave): Pop to buffer first to show abornmal process
7256 exit information.
7257
640f050f
GM
72582013-05-21 Glenn Morris <rgm@gnu.org>
7259
79458038
GM
7260 * printing.el (pr-menu-bar): Define when compiling.
7261
9cc3e83f
LL
72622013-05-21 Leo Liu <sdl.web@gmail.com>
7263
7264 * progmodes/octave.el (octave-auto-fill): Remove.
7265 (octave-indent-new-comment-line): Improve.
7266 (octave-mode): Use auto fill mode through
4f405069 7267 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7268 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7269 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7270 (octave-help): Show parent directory.
7271
f440830d
GM
72722013-05-21 Glenn Morris <rgm@gnu.org>
7273
7274 * files.el (dired-unmark):
7275 * progmodes/gud.el (gdb-input): Update declarations.
7276
7277 * calculator.el (electric, ehelp): No need to load when compiling.
7278 (Electric-command-loop, electric-describe-mode): Declare.
7279
7280 * doc-view.el (doc-view-current-converter-processes): Move before use.
7281
7282 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7283 Move MODE-set-explicitly definition before use.
7284
7285 * international/mule-diag.el (mule-diag):
7286 Don't use obsolete window-system-version.
7287
7288 * mail/feedmail.el (smtpmail): No need to load when compiling.
7289 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7290
7291 * mail/mail-utils.el (rfc822): No need to load when compiling.
7292 (rfc822-addresses): Autoload it.
7293 (mail-strip-quoted-names): Trivial simplification.
7294
7295 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7296 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7297
7298 * net/snmp-mode.el (tempo): Don't duplicate requires.
7299
7300 * progmodes/prolog.el (info): No need to load when compiling.
7301 (comint): Require before shell requires it.
7302 (Info-goto-node): Autoload it.
7303 (Info-follow-nearest-node): Declare.
7304 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7305
7306 * textmodes/artist.el (picture-mode-exit): Declare.
7307
7308 * textmodes/reftex-parse.el (reftex-parse-from-file):
7309 Trivial rewrite so the compiler can parse it better.
7310
b4da2cbb
LL
73112013-05-20 Leo Liu <sdl.web@gmail.com>
7312
7313 * progmodes/octave.el (octave-help-mode-map)
7314 (octave-help-mode-finish-hook): New variables.
7315 (octave-help-mode, octave-help-mode-finish): New functions.
7316 (octave-help): Use octave-help-mode.
7317
33c0f65b
GM
73182013-05-20 Glenn Morris <rgm@gnu.org>
7319
7320 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7321
1a0a0a8a
DG
73222013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7323
7324 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7325 start at point, so that expansion starting right after opening
7326 slash in a regexp is recognized.
7327 (ruby-syntax-before-regexp-re): New defvar, extracted from
7328 ruby-syntax-propertize-function. Since the value of this regexp
7329 is looked up at runtime now, we should be able to turn
7330 `ruby-syntax-methods-before-regexp' into a defcustom later.
7331 (ruby-syntax-propertize-function): Split regexp matching into two
7332 parts, for opening and closing slashes. That allows us to skip
7333 over string interpolations and support multiline regexps.
7334 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7335 for them, which calls `ruby-syntax-propertize-expansion'.
7336 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7337 call to `ruby-syntax-propertize-function'.
7338 (ruby-syntax-propertize-expansion): Extracted from
7339 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7340 (ruby-syntax-propertize-percent-literal): Leave point right after
7341 the percent symbol, so that the expression expansion rule can
7342 propertize the contents.
462388b6
DG
7343 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7344 heredoc openers.
7345 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7346
c1a6c0a4
JL
73472013-05-18 Juri Linkov <juri@jurta.org>
7348
7349 * man.el (Man-default-man-entry): Remove `-' from the end
7350 of the default value. (Bug#14400)
7351
8051fccd
GM
73522013-05-18 Glenn Morris <rgm@gnu.org>
7353
7354 * comint.el (comint-password-prompt-regexp):
7355 Allow "password for XXX" where XXX contains colons (eg https://...).
7356
5e80b74f
LL
73572013-05-18 Leo Liu <sdl.web@gmail.com>
7358
7359 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7360 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7361 (octave-source-directories): Don't check process.
7362 (octave-source-directories, octave-find-definition): Doc fix.
7363
521a54c5
GM
73642013-05-18 Glenn Morris <rgm@gnu.org>
7365
86a94b05
GM
7366 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7367 Remove backspace/delete bindings. (Bug#14392)
7368
521a54c5
GM
7369 * cus-dep.el (custom-make-dependencies): Sort the output.
7370 (custom-versions-load-alist): Convert comment to doc.
7371
42caeb89
LL
73722013-05-17 Leo Liu <sdl.web@gmail.com>
7373
7374 * newcomment.el (comment-search-backward): Stricter in finding
7375 comment start. (Bug#14303)
7376
7377 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7378 (octave-comment-start-skip): Properly anchored.
7379
e219dd97
LL
73802013-05-17 Leo Liu <sdl.web@gmail.com>
7381
fe1eb856
RS
7382 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7383 Clean up when turned off. (Bug#14395)
e219dd97
LL
7384 (smie--highlight-matching-block-overlay): No longer buffer-local.
7385 (smie-highlight-matching-block): Adjust.
7386
dc5dcb4b
PE
73872013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7388
7389 Doc string fix for "nanoseconds" (Bug#14406).
7390 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7391 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7392
1db165f0
JB
73932013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7394
7395 * calc/calc-units.el (math-extract-units): Preserve powers
7396 of units.
7397
c7a8fcac
LL
73982013-05-17 Leo Liu <sdl.web@gmail.com>
7399
7400 * subr.el (delete-consecutive-dups): New function.
7401 * ido.el (ido-set-matches-1): Use it.
7402 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7403 * ido.el (ido-remove-consecutive-dups): Remove.
7404
f678b18a
SM
74052013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7408 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7409 regexp-opt's `words'.
7410
ebfe68e8
LL
74112013-05-16 Leo Liu <sdl.web@gmail.com>
7412
7413 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7414 (smie--highlight-matching-block-overlay)
7415 (smie--highlight-matching-block-lastpos)
7416 (smie--highlight-matching-block-timer): New variables.
7417 (smie-highlight-matching-block): New function.
7418 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7419 (smie-setup): Conditionally enable smie-blink-matching-open.
7420
bc8bc17d
WS
74212013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7422
7423 Sync with upstream verilog-mode r840.
7424 * progmodes/verilog-mode.el (verilog-mode-version)
7425 (verilog-mode-release-date): Update.
7426 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7427 (verilog-sig-tieoff): Fix string error on
7428 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7429 (verilog-read-decls): Fix parameters confusing
7430 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7431
df065a0b
EZ
74322013-05-16 Eli Zaretskii <eliz@gnu.org>
7433
7434 * subr.el (reveal-filename): New function.
7435
7436 * loadup.el: Compute Emacs executable versions on MS-Windows,
7437 where executables have the .exe extension. Add a hard link
7438 emacs-XX.YY.ZZ.exe on MS-Windows.
7439
7440 * Makefile.in (XARGS_LIMIT): New variable.
7441 (custom-deps, finder-data, autoloads)
7442 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7443 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7444 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7445 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7446
2d4bf34b
LL
74472013-05-16 Leo Liu <sdl.web@gmail.com>
7448
7449 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7450 (octave-mode-menu, octave-mode-map): Remove its uses.
7451
6b9c2d85
RZ
74522013-05-16 Reto Zimmermann <reto@gnu.org>
7453
7454 Sync with upstream vhdl mode v3.34.2.
7455 * progmodes/vhdl-mode.el: Use `push' throughout.
7456 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7457 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7458 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7459 (vhdl-actual-generic-name): New option to derive actual generic name.
7460 (vhdl-port-paste-signals): Replace formal by actual generics.
7461 (vhdl-beautify): New name for old group vhdl-align. Update users.
7462 (vhdl-beautify-options): New option.
7463 (vhdl-last-input-event): New compat alias. Use throughout.
7464 (vhdl-goto-line): Replace user level function `goto-line'.
7465 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7466 vhdl-fix-statement-buffer.
7467 (vhdl-create-mode-menu): Add some entries.
7468 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7469 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7470 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7471 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7472 to force statements on one line.
7473 (vhdl-remove-trailing-spaces-region):
7474 New, split from vhdl-remove-trailing-spaces.
7475 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7476 Respect vhdl-beautify-options.
7477 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7478 (vhdl-update-sensitivity-list): Not add with index if exists without.
7479 Not include array index with signal. Ignore keywords in comments.
7480 (vhdl-get-visible-signals): Regexp tweaks.
7481 (vhdl-template-component-inst): Handle empty library.
7482 (vhdl-template-type): Add template for 'enum' type.
7483 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7484 Use vhdl-replace-string.
7485 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7486 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7487 (vhdl-speedbar-initialize): Update for above name change.
7488 (vhdl-compose-wire-components): Fix in handling of constants.
7489 (vhdl-error-regexp-emacs-alist): New variable.
7490 (vhdl-error-regexp-add-emacs): New function;
7491 adds support for new compile.el (Emacs 22+)
7492 (vhdl-generate-makefile-1): Change target order for single lib. units.
7493 Allow use of absolute file names.
7494
9df4ec5e
LL
74952013-05-16 Leo Liu <sdl.web@gmail.com>
7496
7497 * simple.el (prog-indent-sexp): Indent enclosing defun.
7498
f5ba00a6
GM
74992013-05-15 Glenn Morris <rgm@gnu.org>
7500
ed8be7ff
GM
7501 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7502 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7503 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7504 (whitespace-highlight): Move to whitespace group.
7505
7506 * comint.el (comint-source):
7507 * pcmpl-linux.el (pcmpl-linux):
7508 * shell.el (shell-faces):
7509 * eshell/esh-opt.el (eshell-opt):
7510 * international/ccl.el (ccl): Remove empty custom groups.
7511
7512 * completion.el (dynamic-completion-mode):
7513 * jit-lock.el (jit-lock-debug-mode):
7514 * minibuffer.el (completion-in-region-mode):
7515 * type-break.el (type-break-mode-line-message-mode)
7516 (type-break-query-mode):
7517 * emulation/tpu-edt.el (tpu-edt-mode):
7518 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7519 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7520 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7521
7522 * term/xterm.el (xterm): Change parent group to terminals.
7523
7524 * master.el (master): Remove empty custom group.
7525 (master-mode): Remove unused :group argument.
7526 * textmodes/refill.el (refill): Remove empty custom group.
7527 (refill-mode): Remove unused :group argument.
7528
7529 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7530
82a7c41b
GM
7531 * cus-dep.el: Provide a feature.
7532 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7533 Don't mistakenly ignore files whose basenames match a basename
7534 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7535 Add a fallback method for getting :group.
f5ba00a6 7536
6d65486d
JL
75372013-05-15 Juri Linkov <juri@jurta.org>
7538
da547b32
JL
7539 * isearch.el (isearch-char-by-name): Rename from
7540 `isearch-insert-char-by-name'. Doc fix.
7541 (isearch-forward): Mention `isearch-char-by-name' in
7542 the docstring. (Bug#13348)
7543
6d65486d
JL
7544 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7545 `exit-minibuffer' instead of
7546 `isearch-nonincremental-exit-minibuffer'.
7547 (isearch-edit-string): Remove mention of
7548 `isearch-nonincremental-exit-minibuffer' from docstring.
7549 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7550 (isearch-forward-exit-minibuffer)
7551 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7552
c9990474
SM
75532013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7554
6e911150
SM
7555 * loadup.el: Just use unversioned DOC.
7556
c9990474
SM
7557 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7558 literals as extending to EOB.
7559 (nxml-last-fontify-end): Remove unused variable.
7560 (nxml-after-change1): Use with-silent-modifications.
7561 (nxml-extend-after-change-region): Simplify.
7562 (nxml-extend-after-change-region1): Remove function.
7563 (nxml-after-change1): Don't adjust for dependent regions.
7564 (nxml-fontify-matcher): Simplify.
7565 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7566 (xmltok-add-dependent): Remove function.
7567 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7568 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7569 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7570 unclosed <[[, <?, comment, and other literals as extending to EOB.
7571 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7572 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7573 Remove functions.
7574 (rng-do-some-validation-1): Don't mark dependent regions.
7575 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7576 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7577 (nxml-clear-dependent-regions): Remove functions.
7578 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7579 (nxml-ensure-scan-up-to-date):
7580 Don't clear&mark dependent regions.
7581
e3772e98
LL
75822013-05-15 Leo Liu <sdl.web@gmail.com>
7583
c9990474
SM
7584 * progmodes/octave.el (octave-goto-function-definition):
7585 Improve and fix callers.
e3772e98 7586
5ac2eb34
SM
75872013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7588
c46c57b0
SM
7589 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7590 the setter (bug#14387).
7591
5ac2eb34
SM
7592 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7593 surrounding group (bug#14402).
7594
180ed218
JL
75952013-05-14 Juri Linkov <juri@jurta.org>
7596
7597 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7598 (Bug#14390)
7599
0ac0fecb
GM
76002013-05-14 Glenn Morris <rgm@gnu.org>
7601
7602 * progmodes/f90.el (f90-imenu-generic-expression):
7603 Fix typo in 2013-05-08 change. (Bug#14402)
7604
2e78e6a7
JPG
76052013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7606
5ac2eb34
SM
7607 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7608 Remove signals for which replies are never received.
2e78e6a7 7609
53267cca
JPG
76102013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7611
7612 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7613 (gdb-handler-alist, gdb-handler-number): Remove variables.
7614 (gdb-handler-list): New variable.
7615 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7616 (gdb-pending-handler-p, gdb-handle-reply)
7617 (gdb-remove-all-pending-triggers): New functions.
7618 (gdb-discard-unordered-replies): New defcustom.
7619 (gdb-handler): New defstruct.
7620 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7621 instead of gdb-pending-triggers. Update docstring.
7622 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7623 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7624 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7625 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7626 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7627 (gdb-frame-handler): Pending triggers are now automatically managed.
7628 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7629 Remove argument.
7630 (gdb-input): Automatically handles pending triggers. Update docstring.
7631 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7632 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7633 Update comments.
7634 (gdb-done-or-error): Now use gdb-handle-reply.
7635
d04ce803
JPG
76362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7637
7638 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7639 gdb-debug-log.
7640
0114073a
GM
76412013-05-14 Glenn Morris <rgm@gnu.org>
7642
7643 * subr.el (user-emacs-directory-warning): New option.
7644 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7645
4d25fd7e
LL
76462013-05-14 Leo Liu <sdl.web@gmail.com>
7647
7648 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7649 during redisplay.
7650 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7651 (octave-font-lock-texinfo-comment): Fix invalid search bound
7652 error: wrong side of point.
4d25fd7e 7653
27c8b6eb
GM
76542013-05-14 Glenn Morris <rgm@gnu.org>
7655
61aaeb01
GM
7656 * progmodes/flymake.el (flymake-xml-program): New option.
7657 (flymake-xml-init): Use it.
7658
5bf90bc5
GM
7659 * term/xterm.el: Provide a feature.
7660
7661 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7662
f4c7dfd2
GM
76632013-05-13 Glenn Morris <rgm@gnu.org>
7664
7665 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7666 Add compat aliases as a hack workaround. (Bug#14384)
7667
2aeb3a1d
LL
76682013-05-13 Leo Liu <sdl.web@gmail.com>
7669
b0e069c2
LL
7670 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7671 ###, and %!.
f5a9432f
LL
7672 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7673 C-M-q.
b0e069c2
LL
7674 (octave-comment-start-skip): Include %!.
7675 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7676
30ea8374
LL
76772013-05-12 Leo Liu <sdl.web@gmail.com>
7678
7679 * progmodes/octave.el (inferior-octave-startup): Store the value
7680 of __octave_srcdir__ for octave-source-directories.
7681 (inferior-octave-check-process): New function refactored out of
7682 inferior-octave-send-list-and-digest.
7683 (octave-source-directories)
7684 (octave-find-definition-filename-function): New variables.
7685 (octave-source-directories)
7686 (octave-find-definition-default-filename): New functions.
7687 (octave-find-definition): Improve to find functions implemented in C++.
7688
472a3834
GM
76892013-05-12 Glenn Morris <rgm@gnu.org>
7690
7691 * calendar/diary-lib.el (diary-outlook-format-1):
7692 Don't include dayname in the output. (Bug#14349)
7693
3191b52f
GM
76942013-05-11 Glenn Morris <rgm@gnu.org>
7695
0060ac73
GM
7696 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7697
3191b52f
GM
7698 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7699 Treat cc-provide like provide.
7700
e065ba74
KR
77012013-05-11 Kevin Ryde <user42@zip.com.au>
7702
7703 * cus-dep.el (custom-make-dependencies):
7704 Use generated-autoload-load-name for the sake of files such
7705 such cedet/semantic/bovine/c.el, where the base file name
7706 is not in load-path. (Bug#5277)
7707
36f84c37
GM
77082013-05-11 Glenn Morris <rgm@gnu.org>
7709
7710 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7711 Provide features.
7712
c8730c3a
LL
77132013-05-11 Leo Liu <sdl.web@gmail.com>
7714
7715 * progmodes/octave.el (octave-indent-comment): Improve.
7716 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7717 (octave-eldoc-function-signatures, octave-eldoc-function):
7718 New functions.
c8730c3a
LL
7719 (octave-mode, inferior-octave-mode): Add eldoc support.
7720
212e29f2
RS
77212013-05-11 Richard Stallman <rms@gnu.org>
7722
7723 * epa.el (epa-decrypt-file): Take output file name as argument
7724 and read it using `interactive'.
7725
083fe0d7
LL
77262013-05-11 Leo Liu <sdl.web@gmail.com>
7727
7728 * progmodes/octave.el (octave-beginning-of-line)
7729 (octave-end-of-line): Check before using up-list because it jumps
7730 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7731 (octave-indent-comment): New function.
7732 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7733 (octave-begin-keywords, octave-end-keywords)
7734 (octave-reserved-words, octave-smie-bnf-table)
7735 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7736
8582e4c4
GM
77372013-05-11 Glenn Morris <rgm@gnu.org>
7738
f20def1f
GM
7739 * faces.el (internal-face-x-get-resource):
7740 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7741 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7742 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7743 Fix declarations.
f20def1f 7744
445f95e2
GM
7745 * calc/calc-menu.el: Make it loadable in isolation.
7746
7747 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7748 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7749 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7750 (eudc-bbdb-query-internal): Require 'bbdb.
7751
99fb2756
GM
7752 * lpr.el (lpr-headers-switches):
7753 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7754
7755 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7756
0da7ad96
GM
7757 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7758
8582e4c4
GM
7759 * term.el (term-set-escape-char): Make it idempotent.
7760
f71c50d0
LL
77612013-05-10 Leo Liu <sdl.web@gmail.com>
7762
5ac2eb34
SM
7763 * progmodes/octave.el (inferior-octave-completion-table):
7764 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7765 completion due to bug#11906.
7766 (octave-beginning-of-defun): Re-write to be more general.
7767
d5837773
GM
77682013-05-10 Glenn Morris <rgm@gnu.org>
7769
7770 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7771
027c0f75
SM
77722013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * comint.el (comint-redirect-send-command-to-process): Use :around
7775 rather than :override for comint-redirect-filter.
7776 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7777 Call it instead of comint-redirect-original-filter-function (which
7778 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7779
4465bfb4
JD
77802013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7781
7782 * frame.el (display-monitor-attributes-list): Add NS case.
7783 (ns-display-monitor-attributes-list): Declare.
7784
2d809ffa 77852013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7786
7787 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7788
e54eeb9b
GM
77892013-05-09 Glenn Morris <rgm@gnu.org>
7790
56cd351d
GM
7791 * international/fontset.el (vertical-centering-font-regexp):
7792 Set standard-value.
7793
d84b6108
GM
7794 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7795
a931698a
GM
7796 * bookmark.el (bookmark-search-delay):
7797 * cus-start.el (vertical-centering-font-regexp):
7798 * ps-mule.el (ps-mule-font-info-database-default):
7799 * ps-print.el (ps-default-fg, ps-default-bg):
7800 * type-break.el (type-break-good-break-interval):
7801 * whitespace.el (whitespace-indentation-regexp)
7802 (whitespace-space-after-tab-regexp):
7803 * emacs-lisp/testcover.el (testcover-1value-functions)
7804 (testcover-noreturn-functions, testcover-progn-functions)
7805 (testcover-prog1-functions):
7806 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7807 * eshell/em-glob.el (eshell-glob-translate-alist):
7808 * play/tetris.el (tetris-tty-colors):
7809 * progmodes/cpp.el (cpp-face-default-list):
7810 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7811 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7812 (idlwave-help-browser-generic-args):
7813 * progmodes/make-mode.el (makefile-special-targets-list):
7814 * progmodes/python.el (python-shell-virtualenv-path):
7815 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7816 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7817 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7818 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7819 * textmodes/reftex-vars.el (reftex-format-label-function):
7820 * textmodes/remember.el (remember-diary-file): Fix custom types.
7821
e54eeb9b
GM
7822 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7823 Add :version.
7824
455851dd
LL
78252013-05-09 Leo Liu <sdl.web@gmail.com>
7826
7827 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7828 Restore file completion. (Bug#14300)
455851dd
LL
7829 (inferior-octave-startup): Fix incorrect highlighting for the
7830 first prompt.
7831
a9e4425b
SM
78322013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * progmodes/ruby-mode.el: First cut at SMIE support.
7835 (ruby-use-smie): New var.
7836 (ruby-smie-grammar): New constant.
7837 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7838 (ruby-smie--forward-token, ruby-smie--backward-token)
7839 (ruby-smie-rules): New functions.
7840 (ruby-mode-variables): Setup SMIE if applicable.
7841
060ca408
EZ
78422013-05-08 Eli Zaretskii <eliz@gnu.org>
7843
7844 * simple.el (line-move-visual): Signal beginning/end of buffer
7845 only if vertical-motion moved less than it was requested. Avoids
7846 silly incorrect error messages when there are display strings with
7847 multiple newlines at EOL.
7848
1d5963cc
SM
78492013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7852 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7853 (prolog-char-quote-workaround):
7854 * progmodes/cperl-mode.el (cperl-under-as-char):
7855 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7856 Mark as obsolete.
7857 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7858 their declaration.
7859 (vhdl-mode-syntax-table-init): Remove.
7860
c9990474
SM
7861 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7862 last change.
1d5963cc
SM
7863
7864 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7865 syntax for "_".
7866 (ld-script-font-lock-keywords):
7867 Change regexps to use things like \_< and \_>.
7868
7869 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7870 Change all regexps to use things like \_< and \_>.
7871
7872 * progmodes/autoconf.el (autoconf-definition-regexp)
7873 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7874 Handle a _ with symbol syntax.
7875 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7876
c9990474
SM
7877 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7878 Consolidate declaration.
1d5963cc
SM
7879 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7880 the declaration.
7881 (ada-create-syntax-table): Remove.
7882 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7883 already has the right syntax nowadays.
7884 (ada-goto-next-word): Don't change the syntax of "_".
7885
7886 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7887 with-wrapper-hook.
7888
72d3cfca
SS
78892013-05-08 Sam Steingold <sds@gnu.org>
7890
7891 * thingatpt.el (thing-at-point): Accept optional second argument
7892 NO-PROPERTIES to strip the text properties from the return value.
7893 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7894 to `thing-at-point' instead of stripping the properties ourselves.
7895 Also, when `thing-at-point' fails to find a url, prepend "http://"
7896 to the filename at point on the assumption that the user is
7897 pointing at something like gnu.org/gnu.
7898
5cb15713
JB
78992013-05-08 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7902 * faces.el (crm-separator):
7903 Silence byte-compiler.
7904
7905 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7906 (tool-bar-map): Remove unneeded defvars.
7907
ea78b95b
LL
79082013-05-08 Leo Liu <sdl.web@gmail.com>
7909
7910 Re-work a fix for bug#10994 based on Le Wang's patch.
7911 * ido.el (ido-remove-consecutive-dups): New helper.
7912 (ido-completing-read): Use it.
7913 (ido-chop): Revert fix for bug#10994.
7914
dc7466df
AS
79152013-05-08 Adam Spiers <emacs@adamspiers.org>
7916
7917 * cus-edit.el (custom-save-variables):
7918 Pretty-print long values. (Bug#14187)
7919
9ecf672a
GM
79202013-05-08 Glenn Morris <rgm@gnu.org>
7921
7922 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7923 (m4-mode-syntax-table): Init in the defvar.
7924 (m4-mode-abbrev-table): Let define-derived-mode define it.
7925
3f555be8
TT
79262013-05-08 Tom Tromey <tromey@redhat.com>
7927
7928 * progmodes/m4-mode.el (m4-mode-syntax-table):
7929 Do not treat "_" as word constituent. (Bug#14167)
7930
7cc8ae06
GM
79312013-05-07 Glenn Morris <rgm@gnu.org>
7932
4f58bc06
GM
7933 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7934 Remove explicit eshell-isearch-cancel-map.
7935
7cc8ae06
GM
7936 * progmodes/f90.el (f90-smart-end-names): New option.
7937 (f90-smart-end): Doc fix.
7938 (f90-end-block-optional-name): New constant.
7939 (f90-block-match): Respect f90-smart-end-names.
7940
ceb57e59
SM
79412013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7944 about implicit semi-colons (bug#14218).
7945
4e3f9230
YM
79462013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7947
7948 * frame.el (display-monitor-attributes-list)
7949 (frame-monitor-attributes): New functions.
7950
203a5572
LL
79512013-05-06 Leo Liu <sdl.web@gmail.com>
7952
7953 * progmodes/octave.el (octave-syntax-propertize-function): Change
7954 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7955 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7956 (octave-completion-at-point): Rename from
203a5572
LL
7957 octave-completion-at-point-function.
7958 (inferior-octave-directory-tracker): Robustify.
7959 (octave-text-functions): Remove and fix its uses. No such things
7960 any more.
7961
ee6cff99
SM
79622013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * emacs-lisp/trace.el (trace--display-buffer): New function.
7965 (trace-make-advice): Use it.
7966
32985194
JL
79672013-05-06 Juri Linkov <juri@jurta.org>
7968
7969 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7970 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7971 Doc fix.
7972 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7973 in the help string. (Bug#12985)
7974
a1c700de
KD
79752013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7976
7977 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7978
c67c0839
SM
79792013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7980
323885fd
SM
7981 * progmodes/perl-mode.el: Add support for here documents.
7982 (perl-syntax-propertize-function): Match here-doc markers.
7983 (perl-syntax-propertize-special-constructs): Find their end.
7984 (perl-imenu-generic-expression): Use [:alnum:].
7985
c67c0839
SM
7986 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7987 (advice--add-function): Refresh the advice if already present
7988 (bug#14317).
7989
d491e7a8
IA
79902013-05-06 Ivan Andrus <darthandrus@gmail.com>
7991
7992 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7993
ddf9925e
GM
79942013-05-06 Glenn Morris <rgm@gnu.org>
7995
7cc3af27
GM
7996 * w32-fns.el (w32-charset-info-alist): Declare.
7997
16e343d6
GM
7998 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7999 of its defcustom properties.
8000 (eshell-cmpl-initialize): No need to load pcomplete.
8001
7d889a47
GM
8002 * generic-x.el: No need to require comint when compiling.
8003
ddf9925e
GM
8004 * net/eudc-export.el: Make it loadable without bbdb.
8005 (top-level): Use require rather than load-library.
8006 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8007 (eudc-batch-export-records-to-bbdb)
8008 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8009 Require bbdb.
8010
1e2c18df
SM
80112013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8014 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8015 some tweaks, instead.
8016
02502a5f
LL
80172013-05-05 Leo Liu <sdl.web@gmail.com>
8018
8019 * progmodes/octave.el (octave-font-lock-keywords)
8020 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8021 (inferior-octave-send-list-and-digest): Improve error message.
8022 (octave-mode, inferior-octave-mode): Use setq-local.
8023 (octave-help): Set info-lookup-mode.
8024
0dc04f42
RS
80252013-05-05 Richard Stallman <rms@gnu.org>
8026
6c54491c
RS
8027 * vc/compare-w.el (compare-windows-whitespace):
8028 Treat no-break space as whitespace.
8029
0dc04f42
RS
8030 * mail/rmailsum.el (rmail-summary-rmail-update):
8031 Detect empty summary and don't change selected message.
8032 (rmail-summary-goto-msg): Likewise.
8033
df8f35df
RS
8034 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8035 Doc fixes, rename args.
8036
5356e1a3
AM
80372013-05-05 Alan Mackenzie <acm@muc.de>
8038
8039 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8040
d44014cb
JL
80412013-05-05 Juri Linkov <juri@jurta.org>
8042
8043 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8044 to not add the length of the summary segment to the return value.
8045 (Bug#14125)
8046
c129b51f
LL
80472013-05-05 Leo Liu <sdl.web@gmail.com>
8048
8049 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8050 (inferior-octave-output-filter): Remove.
8051 (octave-send-region, inferior-octave-startup): Fix callers.
8052 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8053 (octave-binary-file-extensions): New user variable.
8054 (octave-find-definition): Confirm if opening binary files.
8055 (octave-help-file): Use octave-find-definition to get the binary
8056 confirmation.
8057 (octave-help): Adjust for octave-help-file change.
8058
aa7dab97
SM
80592013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8062 Merge the two entries that handle function definitions.
8063 (pascal--syntax-propertize): New const.
8064 (pascal-mode): Use it. Use setq-local.
8065
fd3a9a6b
GM
80662013-05-04 Glenn Morris <rgm@gnu.org>
8067
8068 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8069 (diary-from-outlook): Respect diary-from-outlook-function.
8070
30c7e542
SM
80712013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8074 Move the declaration from C.
8075 (read-minibuffer, eval-minibuffer): Move from C.
8076 (completion-setup-function): Avoid minibuffer-completion-contents.
8077
b54f978b
LL
80782013-05-03 Leo Liu <sdl.web@gmail.com>
8079
8080 * progmodes/octave.el (octave-font-lock-keywords): Do not
8081 dehighlight 'end' in comments or strings.
30c7e542
SM
8082 (octave-completing-read, octave-goto-function-definition):
8083 New helpers.
d4d0f9b3
LL
8084 (octave-help-buffer): New user variable.
8085 (octave-help-file, octave-help-function): New button types.
8086 (octave-help): New command and bind it to C-h ;.
8087 (octave-find-definition): New command and bind it to M-.
d74a1581 8088 (user-error): Alias to error if not defined.
b54f978b 8089
27135018
LL
80902013-05-02 Leo Liu <sdl.web@gmail.com>
8091
8092 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8093 for \. (bug#14332)
8094 (octave-font-lock-keywords): Include [ and {.
8095
0d634d3a
LL
80962013-05-02 Leo Liu <sdl.web@gmail.com>
8097
8098 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8099 (inferior-octave): Remove calling comint-mode and return the buffer.
8100 (inferior-octave-startup): Cosmetic changes.
8101
b4c8295e
LL
81022013-05-02 Leo Liu <sdl.web@gmail.com>
8103
30c7e542
SM
8104 * progmodes/octave.el (octave-syntax-propertize-function):
8105 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8106
f12ad6ec
GM
81072013-05-02 Glenn Morris <rgm@gnu.org>
8108
8109 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8110 * desktop.el (vc-dir-mode): Just autoload it here.
8111
30cac1e0
AM
81122013-05-02 Alan Mackenzie <acm@muc.de>
8113
8114 Eliminate variable c-standard-font-lock-fontify-region-function.
8115 * progmodes/cc-mode.el
8116 (c-standard-font-lock-fontify-region-function): Remove.
8117 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8118
d8ef28b1
LL
81192013-05-01 Leo Liu <sdl.web@gmail.com>
8120
2640d52e 8121 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8122 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8123 variables were removed from Octave in 2007.
d8ef28b1
LL
8124 (inferior-octave-startup): Fix uses.
8125 (comint-line-beginning-position): Remove compatibility code for
8126 emacs 21.
8127
ac63ec89
JL
81282013-05-01 Juri Linkov <juri@jurta.org>
8129
8130 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8131
9e9be37c
JL
81322013-05-01 Juri Linkov <juri@jurta.org>
8133
8134 * comint.el (comint-previous-matching-input): Don't print message
8135 "History item: %d" when `isearch-mode' is active.
8136 (comint-history-isearch-message): Print message "History item: %d"
8137 when `comint-input-ring-index' is not empty and this function is
8138 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8139
9b92c13b
LL
81402013-05-01 Leo Liu <sdl.web@gmail.com>
8141
8142 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8143 definitions. Use completion-at-point to insert keywords.
8144 (octave-abbrev-start): Remove.
8145 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8146
b12d33d7
LL
81472013-04-30 Leo Liu <sdl.web@gmail.com>
8148
8149 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8150 change.
8151
3d1c39fa
AM
81522013-04-30 Alan Mackenzie <acm@muc.de>
8153
8154 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8155 * progmodes/cc-engine.el (c-back-over-member-initializers):
8156 new function.
3d1c39fa
AM
8157 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8158 (most) member init lists.
8159
5147fc17
RS
81602013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8161
8162 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8163 variable.
8164
5b78d7fc
LL
81652013-04-30 Leo Liu <sdl.web@gmail.com>
8166
8167 * progmodes/octave.el (octave-variables): Remove. No builtin
8168 variables any more. All converted to functions.
8169 (octave-font-lock-keywords, octave-completion-at-point-function):
8170 Fix uses.
8171 (octave-font-lock-texinfo-comment): New user variable.
8172 (octave-texinfo-font-lock-keywords): New variable for texinfo
8173 comment block.
8174 (octave-function-comment-block): New face.
8175 (octave-font-lock-texinfo-comment): New function.
8176 (octave-mode): Font lock texinfo comment block.
8177
38d8527b
LL
81782013-04-29 Leo Liu <sdl.web@gmail.com>
8179
8180 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8181 indexing expression.
8182 (octave-continuation-string): Do not use \.
8183 (inferior-octave-complete-impossible): Remove.
8184 (inferior-octave-completion-table)
8185 (inferior-octave-completion-at-point): Remove its uses.
8186 (inferior-octave-startup): completion_matches was introduced to
8187 Octave in 1996 so safe to assume it.
8188 (octave-function-file-comment): Improve to follow how Octave does it.
8189 (octave-update-function-file-comment): Tweak.
8190
2ec12cb0
LL
81912013-04-29 Leo Liu <sdl.web@gmail.com>
8192
8193 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8194 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8195 (octave-function-file-comment): Fix typo.
8196 (octave-sync-function-file-names): Use read-char-choice.
8197
6eaed048
JB
81982013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8199
8200 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8201 to t for the less important warnings.
8202
3ffa2d4f
DH
82032013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8204
8205 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8206
685c9501
GM
82072013-04-27 Glenn Morris <rgm@gnu.org>
8208
8209 * vc/log-view.el (log-view-current-entry):
8210 Treat "---" separator lines as part of the following rev. (Bug#14169)
8211
0208ede7
JL
82122013-04-27 Juri Linkov <juri@jurta.org>
8213
8214 * subr.el (read-number): Doc fix about using it by interactive
8215 code letter `n'. (Bug#14254)
8216
5db9dace
JL
82172013-04-27 Juri Linkov <juri@jurta.org>
8218
8219 * desktop.el (desktop-auto-save-timeout): New option.
8220 (desktop-file-checksum): New variable.
8221 (desktop-save): Add optional arg `auto-save' and don't auto-save
8222 if nothing changed.
8223 (desktop-auto-save-timer): New variable.
8224 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8225 (after-init-hook): Call `desktop-auto-save-set-timer'.
8226 Suggested by Reuben Thomas <rrt@sc3d.org> in
8227 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8228
b7260dd4
LL
82292013-04-27 Leo Liu <sdl.web@gmail.com>
8230
8231 * progmodes/octave.el (octave-function-file-p)
8232 (octave-skip-comment-forward, octave-function-file-comment)
8233 (octave-update-function-file-comment): New functions.
8234 (octave-mode-map): Bind C-c ; to
8235 octave-update-function-file-comment.
8236 (octave-mode-menu): Add octave-update-function-file-comment.
8237 (octave-mode, inferior-octave-mode): Fix doc-string.
8238 (octave-insert-defun): Conform to Octave's coding convention.
8239 (Bug#14285)
8240
8241 * files.el (basic-save-buffer): Don't let errors in
8242 before-save-hook prevent saving buffer.
8243
c46da669
RW
82442013-04-20 Roland Winkler <winkler@gnu.org>
8245
8246 * faces.el (read-face-name): Use completing-read if arg multiple
8247 is nil.
8248
a81ee1eb
IL
82492013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8250
8251 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8252 displayed, move point to after the totals line.
8253 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8254 for the details.
8255
4fac34ce
SM
82562013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8259 Add current dir to the load-path.
8260 (package-generate-autoloads): Don't rely on
8261 autoload-ensure-default-file.
8262
f6bfc063
RT
82632013-04-26 Reuben Thomas <rrt@sc3d.org>
8264
d40ab5cf
BG
8265 * textmodes/remember.el (remember-store-in-files): Document that
8266 the file name format is passed to `format-time-string'.
f6bfc063 8267
e55d3b04
LL
82682013-04-26 Leo Liu <sdl.web@gmail.com>
8269
8270 * progmodes/octave.el (octave-sync-function-file-names): New function.
8271 (octave-mode): Use it in before-save-hook.
8272
e53052d3
SM
82732013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8274
140ef50c
SM
8275 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8276 (bug#14274).
8277
e53052d3
SM
8278 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8279 \n and comment, even if it's not an implicit ; (bug#14218).
8280
af80458d 82812013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8282
8283 * subr.el (read-number): Once more use `read' rather than
8284 `string-to-number', to trap non-numeric input. (Bug#14254)
8285
af80458d 82862013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8287
8288 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8289 Use `syntax-multiline' text property consistently instead of
8a621d53 8290 `font-lock-multiline'. (Bug#14237)
70203c2e 8291
e6ea1f6c
GM
82922013-04-26 Glenn Morris <rgm@gnu.org>
8293
8294 * emacs-lisp/shadow.el (list-load-path-shadows):
8295 No longer necessary to check for duplicate simple.el, since
8296 2012-07-07 change to init_lread to not include installation lisp
8297 directories in load-path when running uninstalled. (Bug#14270)
8298
070ccca4
LL
82992013-04-26 Leo Liu <sdl.web@gmail.com>
8300
8301 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8302 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8303 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8304 octave-in-string-or-comment-p.
8305 (octave-in-comment-p, octave-in-string-p)
8306 (octave-in-string-or-comment-p): Replace defsubst with defun.
8307
9d1c5fb6
PE
83082013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8309
8310 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8311
c034abda
BG
83122013-04-25 Bastien Guerry <bzg@gnu.org>
8313
8314 * textmodes/remember.el (remember-data-directory)
8315 (remember-directory-file-name-format): Fix custom types.
8316
584ea277
LL
83172013-04-25 Leo Liu <sdl.web@gmail.com>
8318
e53052d3
SM
8319 * progmodes/octave.el (octave-completion-at-point-function):
8320 Make use of inferior octave process.
584ea277
LL
8321 (octave-initialize-completions): Remove.
8322 (inferior-octave-completion-table): New function.
8323 (inferior-octave-completion-at-point): Use it.
8324 (octave-completion-alist): Remove.
8325
1693b06a
SM
83262013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8329 (opascal-mode-syntax-table): New var.
8330 (opascal-literal-kind, opascal-is-literal-end)
8331 (opascal-literal-token-at): Rewrite.
8332 (opascal--literal-start-re, opascal-font-lock-keywords)
8333 (opascal--syntax-propertize): New constants.
8334 (opascal-font-lock-defaults): Adjust.
8335 (opascal-mode): Use them. Set comment-<foo> variables as well.
8336 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8337 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8338 (delphi-other-face, opascal-other-face): Remove face variables.
8339 (opascal-save-state): Remove macro.
8340 (opascal-fontifying-progress-step): Remove constant.
8341 (opascal--ignore-changes): Remove var.
8342 (opascal-set-token-property, opascal-parse-next-literal)
8343 (opascal-is-stable-literal, opascal-complete-literal)
8344 (opascal-is-literal-start, opascal-face-of)
8345 (opascal-parse-region, opascal-parse-region-until-stable)
8346 (opascal-fontify-region, opascal-after-change)
8347 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8348 (opascal-debug-parse-region, opascal-debug-parse-window)
8349 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8350 (opascal-debug-fontify-buffer): Remove.
8351 (opascal-debug-mode-map): Adjust accordingly.
8352
be64c05d
LL
83532013-04-25 Leo Liu <sdl.web@gmail.com>
8354
8355 Merge octave-mod.el and octave-inf.el into octave.el with some
8356 cleanups.
8357 * progmodes/octave.el: New file renamed from octave-mod.el.
8358 * progmodes/octave-inf.el: Merged into octave.el.
8359 * progmodes/octave-mod.el: Renamed to octave.el.
8360
d79d37bd
TH
83612013-04-25 Tassilo Horn <tsdh@gnu.org>
8362
8363 * textmodes/reftex-vars.el
8364 (reftex-label-ignored-macros-and-environments): New defcustom.
8365
8366 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8367
ced3fc5d
SM
83682013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8371 (smie-indent-keyword): Improve the check to ensure that the next
8372 comment is really on the same line.
8373 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8374
8375 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8376 semi-colons if the line is not otherwise empty (bug#14218).
8377
1c141dad
GM
83782013-04-25 Glenn Morris <rgm@gnu.org>
8379
8380 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8381
5058062a
SM
83822013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * progmodes/opascal.el (opascal-set-token-property): Rename from
8385 opascal-set-text-properties and only set `token' (bug#14134).
8386 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8387 (opascal-literal-text-properties): Remove.
8388 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8389 Adjust callers.
8390
5db9dace 83912013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8392
8393 * textmodes/remember.el (remember-handler-functions): Add an
8394 option for a new handler `remember-store-in-files'.
8395 (remember-data-directory, remember-directory-file-name-format):
8396 New options.
8397 (remember-store-in-files): New function to store remember notes
8398 as separate files within a directory.
8399
4391916c
MH
84002013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8401
8402 * progmodes/compile.el (compilation-next-error-function):
8403 Pass "formats" to compilation-find-file (bug#11777).
8404
bb7cdf58
GM
84052013-04-24 Glenn Morris <rgm@gnu.org>
8406
3b8fe752 8407 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8408 * vc/vc-hg.el (vc-hg-print-log):
8409 * vc/vc-svn.el (vc-svn-print-log):
8410 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8411
bb7cdf58
GM
8412 * vc/vc-bzr.el (vc-bzr-print-log):
8413 * vc/vc-cvs.el (vc-cvs-print-log):
8414 * vc/vc-git.el (vc-git-print-log):
8415 * vc/vc-hg.el (vc-hg-print-log):
8416 * vc/vc-mtn.el (vc-mtn-print-log):
8417 * vc/vc-rcs.el (vc-rcs-print-log):
8418 * vc/vc-sccs.el (vc-sccs-print-log):
8419 * vc/vc-svn.el (vc-svn-print-log):
8420 * vc/vc.el (vc-print-log-internal): Doc fixes.
8421
b46a056e
GM
84222013-04-23 Glenn Morris <rgm@gnu.org>
8423
8424 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8425 Remove venerable code attempting to avoid substitute-command-keys.
8426
0aecf718
TH
84272013-04-23 Tassilo Horn <tsdh@gnu.org>
8428
4391916c
MH
8429 * textmodes/reftex-vars.el (reftex-label-regexps):
8430 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8431
117f94cf
SM
84322013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8433
4391916c 8434 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8435 Use lexical-binding.
8436 (jit-lock-force-redisplay): Use markers, check buffer's continued
8437 existence and beware narrowed buffers.
8438 (jit-lock-fontify-now): Adjust call accordingly.
8439
1d829c64
SM
84402013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8443 to avoid misleading the user.
8444
72d548a9
LL
84452013-04-22 Leo Liu <sdl.web@gmail.com>
8446
8447 * info-look.el: Prefer latex2e.info. (Bug#14240)
8448
d0853629
MA
84492013-04-22 Michael Albinus <michael.albinus@gmx.de>
8450
8451 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8452
8453 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8454 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8455 (tramp-set-completion-function, tramp-parse-putty):
8456 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8457 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8458 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8459 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8460 (tramp-call-local-coding-command): Use `tramp-call-process'
8461 instead of `tramp-compat-call-process'.
8462
8463 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8464 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8465 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8466 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8467 (tramp-maybe-send-script): Check for Perl binary.
8468 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8469
38cc0210
DU
84702013-04-22 Daiki Ueno <ueno@gnu.org>
8471
8472 * epg.el (epg-context-pinentry-mode): New function.
8473 (epg-context-set-pinentry-mode): New function.
8474 (epg--start): Pass --pinentry-mode option to gpg command.
8475
cc641ee1
XF
84762013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8477
02d844b5 8478 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8479 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8480 `completion-at-point'. (Bug#13774)
5d4e5c31 8481
cc641ee1
XF
8482 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8483 default key binding for `describe-distribution' has been moved to
8484 `C-h C-o'. (Bug#13970)
8485
1b42ee43
GM
84862013-04-21 Glenn Morris <rgm@gnu.org>
8487
8488 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8489 Add doc strings.
8490 (vc-print-log): Clarify interactive prompt.
8491
a6d63d97
GM
84922013-04-20 Glenn Morris <rgm@gnu.org>
8493
8494 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8495 No longer include timestamp etc information.
8496
d7f5c16f
RW
84972013-04-20 Roland Winkler <winkler@gnu.org>
8498
8499 * faces.el (read-face-name): Bug fix, return just one face if arg
8500 multiple is nil. (Bug#14209)
8501
bcd7a0a4
SM
85022013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8505 (remove-function): Autoload.
8506
8507 * comint.el (comint-redirect-original-filter-function): Remove.
8508 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8509 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8510 (vc-cvs-annotate-command):
bcd7a0a4
SM
8511 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8512 * progmodes/prolog.el (prolog-consult-compile):
8513 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8514 Use add/remove-function instead.
8515 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8516 (gud-tooltip-process-output, gud-tooltip-tips):
8517 Use add/remove-function instead.
8518 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8519 (scheme-interaction-mode, exit-scheme-interaction-mode):
8520 Use add/remove-function instead.
8521
8522 * vc/vc-dispatcher.el: Use lexical-binding.
8523 (vc--process-sentinel): Rename from vc-process-sentinel.
8524 Change last arg to be the code to run. Don't use vc-previous-sentinel
8525 and vc-sentinel-commands any more.
8526 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8527 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8528
e36b2d20 85292013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8530
bcd7a0a4 8531 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8532 Handle function names with a single character. (Bug#14111)
4d3268ba 8533
781b4af6 85342013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8535
8536 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8537 for subroutines defined in an eval (bug#14182).
8538
7d688336
TV
85392013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8540
8541 * bookmark.el (bookmark-completing-read): Improve handling of empty
8542 string (bug#14176).
8543
31dcede0
SM
85442013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8547
adc31213
FEG
85482013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8549
8550 New faster Imenu implementation (bug#14058).
8551 * progmodes/python.el:
8552 (python-imenu-prev-index-position):
8553 (python-imenu-format-item-label-function)
8554 (python-imenu-format-parent-item-label-function)
8555 (python-imenu-format-parent-item-jump-label-function):
8556 New vars.
8557 (python-imenu-format-item-label)
8558 (python-imenu-format-parent-item-label)
8559 (python-imenu-format-parent-item-jump-label)
8560 (python-imenu--put-parent, python-imenu--build-tree)
8561 (python-imenu-create-index, python-imenu-create-flat-index)
8562 (python-util-popn): New functions.
8563 (python-mode): Set imenu-create-index-function to
8564 python-imenu-create-index.
8565
cdca8255
SM
85662013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * winner.el (winner-active-region): Use region-active-p, activate-mark
8569 and deactivate-mark (bug#14225).
8570
8571 * simple.el (deactivate-mark): Don't inline it.
8572
beb42340
MA
85732013-04-18 Michael Albinus <michael.albinus@gmx.de>
8574
8575 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8576
fc7f4d7e
TH
85772013-04-18 Tassilo Horn <tsdh@gnu.org>
8578
8579 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8580 file extensions from the archive-mode entry in order to prefer
8581 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8582
29f47822
LL
85832013-04-18 Leo Liu <sdl.web@gmail.com>
8584
8585 * bindings.el (help-event-list): Add ?\?.
8586
d36ed1c8
SM
85872013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * subr.el (with-wrapper-hook): Declare obsolete.
8590 * simple.el (filter-buffer-substring-function): New hook.
8591 (filter-buffer-substring): Use it.
8592 (filter-buffer-substring-functions): Mark obsolete.
8593 * minibuffer.el (completion-in-region-function): New hook.
8594 (completion-in-region): Use it.
8595 (completion-in-region-functions): Mark obsolete.
8596 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8597 * abbrev.el (abbrev-expand-function): New hook.
8598 (expand-abbrev): Use it.
8599 (abbrev-expand-functions): Mark obsolete.
8600 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8601 and :filter-return.
8602
04754d36
FEG
86032013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8604
8605 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8606 and do not care about match data.
8607
dd8791e9
SM
86082013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8611 completion tables when completing error conditions and
8612 `declare' arguments.
8613 (lisp-complete-symbol, field-complete): Mark as obsolete.
8614 (check-parens): Unmatched parens are user errors.
8615 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8616
ffe54a13
AM
86172013-04-17 Michal Nazarewicz <mina86@mina86.com>
8618
dd8791e9
SM
8619 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8620 command changed buffer (ie. `flyspell-pre-buffer' is not current
8621 buffer), which prevents making decisions based on invalid value of
8622 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8623 cause an error when `flyspell-pre-point' was nil after switching
8624 buffers.
8625 (flyspell-post-command-hook): No longer needs to change buffers when
8626 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8627
ec7e39f2
AM
86282013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8629
8630 * textmodes/ispell.el (ispell-add-per-file-word-list):
8631 Fix `flyspell-correct-word-before-point' error when accepting
8632 words and `coment-padding' is an integer by using
8633 `comment-normalize-vars' (Bug #14214).
8634
083850a6
FEG
86352013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8636
8637 New defun movement commands.
8638 * progmodes/python.el (python-nav--syntactically)
8639 (python-nav--forward-defun, python-nav-backward-defun)
8640 (python-nav-forward-defun): New functions.
8641
619ed6e1
FEG
86422013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8643
8644 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8645 (python-syntax-context): Use named compiler-macro for backwards
8646 compatibility with Emacs 24.x.
8647
7a1beb6c
LL
86482013-04-17 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8651 octave-hide-process-buffer.
8652
2d3fa3e5
SM
86532013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8656 (bug#14216).
8657
7ce5be54
JPG
86582013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8659
8660 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8661 Fix adjustment of offset when receiving incomplete responses from GDB
8662 (bug#14129).
8663
351edece
SM
86642013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8667 python-mode-abbrev-table.
8668 (python-skeleton-define): Adjust accordingly.
8669 (python-mode-abbrev-table): New table that inherits from it so that
8670 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8671
8672 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8673 (abbrev-symbol): Use it.
8674 (abbrev--before-point): Use it since we already handle inheritance.
8675
613f9481
LL
86762013-04-16 Leo Liu <sdl.web@gmail.com>
8677
8678 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8679 binding to info-lookup-symbol.
8680
51646b62
JB
86812013-04-16 Juanma Barranquero <lekktu@gmail.com>
8682
8683 * minibuffer.el (completion--twq-all):
8684 * term/ns-win.el (ns-initialize-window-system):
8685 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8686
efb3f01d
SM
86872013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8688
36c0a301
SM
8689 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8690 global bindings.
8691
efb3f01d
SM
8692 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8693
fb549d64
DG
86942013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8695
8696 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8697 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8698 to nil.
8699 (ruby-end-of-defun): Remove the unused arg, change the docstring
8700 to reflect that this function is only used as the value of
8701 `end-of-defun-function'.
8702 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8703 to reflect an earlier change that beginning/end-of-defun functions
8704 jump between methods in a class definition, as well as top-level
8705 functions.
8706
21e8fe2f
SM
87072013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * minibuffer.el (minibuffer-complete): Don't just scroll
8710 a *Completions* that's been iconified.
8711 (minibuffer-force-complete): Make sure repetitions do cycle when going
8712 through completion-in-region -> minibuffer-complete.
8713
20e527d0
AM
87142013-04-15 Alan Mackenzie <acm@muc.de>
8715
8716 Correct the placement of c-cpp-delimiters when there're #s not at
8717 col 0.
8718
8719 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8720 place a submatch around the #.
21e8fe2f
SM
8721 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8722 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8723 on the #, not BOL.
8724
dabefae5
SM
87252013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8728 (advice--member-p): New arg `name'.
8729 (advice--add-function, advice-member-p): Use it (bug#14202).
8730
85c9ab64
AM
87312013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8732
8733 Reformulate java imenu-generic-expression.
8734 The old expression contained ill formed regexps.
8735
8736 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8737 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8738 (cc-imenu-java-method-arg-regexp): New defconsts.
8739 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8740 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8741 handling of spaces in the regexp.
8742
0f821d99
AM
87432013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8744
8745 * textmodes/ispell.el (ispell-command-loop): Remove
8746 flyspell highlight of a word when ispell accepts it (bug #14178).
8747
eb922adf
MA
87482013-04-15 Michael Albinus <michael.albinus@gmx.de>
8749
8750 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8751 uses code from the previous `ange-ftp-run-real-handler'.
8752 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8753 only in case that function exist. This is needed for proper
8754 unloading of Tramp.
8755
4d9a0979
TH
87562013-04-15 Tassilo Horn <tsdh@gnu.org>
8757
8758 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8759
8760 * textmodes/reftex.el (reftex-compile-variables): Use it.
8761
a829b0dc
SM
87622013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8763
91e8293c
SM
8764 * files.el (normal-mode): Only use default major-mode if no other mode
8765 was specified.
8766
830aed4d
SM
8767 * emacs-lisp/trace.el (trace-values): New function.
8768
a829b0dc
SM
8769 * files.el: Allow : in local variables (bug#14089).
8770 (hack-local-variable-regexp): New var.
8771 (hack-local-variables-prop-line, hack-local-variables): Use it.
8772
7ae9f0fb
RW
87732013-04-13 Roland Winkler <winkler@gnu.org>
8774
8775 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8776 data before it gets modified by bibtex-beginning-of-entry.
8777
6646e848
RW
87782013-04-13 Roland Winkler <winkler@gnu.org>
8779
8780 * textmodes/bibtex.el (bibtex-url): Doc fix.
8781
87822013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8783
8784 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8785 does not visit a BibTeX file, exclude it from the list of buffers
8786 returned by bibtex-initialize.
8787
0aa3616e
SB
87882013-04-13 Stephen Berman <stephen.berman@gmx.net>
8789
8790 * window.el (split-window): Remove interactive form, since as a
8791 command this function is a special case of split-window-below.
8792 Correct doc string.
8793
011cddd6
RW
87942013-04-12 Roland Winkler <winkler@gnu.org>
8795
8796 * faces.el (read-face-name): Do not override value of arg default.
8797 Allow single faces and strings as default values. Remove those
8798 elements from return value that are not faces.
8799 (describe-face): Simplify.
8800 (face-at-point): New optional args thing and multiple so that this
8801 function can provide the same functionality previously provided by
8802 read-face-name.
8803 (make-face-bold, make-face-unbold, make-face-italic)
8804 (make-face-unitalic, make-face-bold-italic, invert-face)
8805 (modify-face, read-face-and-attribute): Use face-at-point.
8806
8807 * cus-edit.el (customize-face, customize-face-other-window)
8808 * cus-theme.el (custom-theme-add-face)
8809 * face-remap.el (buffer-face-set)
8810 * facemenu.el (facemenu-set-face): Use face-at-point.
8811
f24e0036
MA
88122013-04-12 Michael Albinus <michael.albinus@gmx.de>
8813
8814 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8815
da3cda2d
TH
88162013-04-10 Tassilo Horn <tsdh@gnu.org>
8817
8818 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8819 off leading { and trailing } from field values.
8820
15e54145
SM
88212013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8822
78ce603d
SM
8823 * emacs-lisp/timer.el (timer--check): New function.
8824 (timer--time, timer-set-function, timer-event-handler): Use it.
8825 (timer-set-idle-time): Simplify.
8826 (timer--activate): CSE.
8827 (timer-event-handler): Give more info in error message.
8828 (internal-timer-start-idle): New function, moved from C.
8829
15e54145
SM
8830 * mpc.el (mpc-proc): Add `restart' argument.
8831 (mpc-proc-cmd): Use it.
8832 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8833 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8834 less often.
8835
7144c627
MY
88362013-04-10 Masatake YAMATO <yamato@redhat.com>
8837
8838 * progmodes/sh-script.el: Implement `sh-mode' own
8839 `add-log-current-defun-function' (bug#14112).
8840 (sh-current-defun-name): New function.
8841 (sh-mode): Use the function.
8842
b39792eb
BG
88432013-04-09 Bastien Guerry <bzg@gnu.org>
8844
8845 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8846
8acdeb71
SM
88472013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8848
6fcdab68
SM
8849 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8850
8acdeb71
SM
8851 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8852 timer (bug#14156).
8853
e3e7b504
NF
88542013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8855
8856 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8857 declaration.
8858
201bb296
LL
88592013-04-07 Leo Liu <sdl.web@gmail.com>
8860
8861 * pcmpl-x.el: New file.
8862
ebb19708
DA
88632013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8864
8865 Do not set x-display-name until X connection is established.
8866 This is needed to prevent from weird situation described at
8867 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8868 * frame.el (make-frame): Set x-display-name after call to
8869 window system initialization function, not before.
8870 * term/x-win.el (x-initialize-window-system): Add optional
8871 display argument and use it.
8872 * term/w32-win.el (w32-initialize-window-system):
8873 * term/ns-win.el (ns-initialize-window-system):
8874 * term/pc-win.el (msdos-initialize-window-system):
8875 Add compatible optional display argument.
8876
33bb237a
EZ
88772013-04-06 Eli Zaretskii <eliz@gnu.org>
8878
8879 * files.el (normal-backup-enable-predicate): On MS-Windows and
8880 MS-DOS compare truenames of temporary-file-directory and of the
8881 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8882 don't fail comparison by compare-strings. Also, compare file
8883 names case-insensitively on MS-Windows and MS-DOS.
8884
134abf1f
SM
88852013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8888 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8889
d695cb94
DG
88902013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8891
e3e7b504
NF
8892 * whitespace.el (whitespace-color-on, whitespace-color-off):
8893 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8894
f4ad7ea1 88952013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8896
8897 * ispell.el (ispell-set-spellchecker-params):
8898 Really set `ispell-args' for all equivs.
8899
632556e4
SM
89002013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * ido.el (ido-completions): Use extra elements of ido-decorations
8903 (bug#14143).
8904 (ido-decorations): Update docstring.
8905
2a417372
MA
89062013-04-05 Michael Albinus <michael.albinus@gmx.de>
8907
8908 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8909 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8910 nil during initialization, in order not to miss changes since the
8911 file was opened. (Bug#14140)
8912
fc164b0c
LL
89132013-04-05 Leo Liu <sdl.web@gmail.com>
8914
8915 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8916
0ccecc08
JB
89172013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8918
8919 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8920
51af1aa2
GM
89212013-04-04 Glenn Morris <rgm@gnu.org>
8922
8923 * electric.el (electric-pair-inhibit-predicate): Add :version.
8924
b208ebc6
SM
89252013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8928 when a package is required several times (bug#14082).
8929
f3d3eaf0
RW
89302013-04-04 Roland Winkler <winkler@gnu.org>
8931
8932 * faces.el (read-face-name): Behave as promised by the docstring.
8933 Assume that arg default is a list of faces.
8934 (describe-face): Call read-face-name with list of default faces.
8935
2575da50
TV
89362013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8937
8938 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8939 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8940 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8941 the header.
8942 (bookmark-exit-hook-internal): Save even if list is empty.
8943
397703b4
YH
89442013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8945
8946 * emacs-lisp/package.el (package-pinned-packages): New var.
8947 (package--add-to-archive-contents): Obey it (bug#14118).
8948
691e26ae
AM
89492013-04-03 Alan Mackenzie <acm@muc.de>
8950
8a621d53
JB
8951 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8952 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8953
8954 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8955 parameter `not-in-delimiter'. Handle being inside comment opener.
8956 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8957 character in case we're typing a '*' after a '/'.
8958 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8959 instead by passing the parameter to c-state-pp-to-literal.
8960
8961 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8962 for elt. 7 of a parse state.
8963
4b725a70
PE
89642013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8965
8966 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8967 * international/latin1-disp.el, international/mule-util.el:
8968 * language/cyril-util.el, language/european.el, language/ind-util.el:
8969 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8970 * language/tibetan.el, language/viet-util.el:
8971 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8972
15c579f0
SM
89732013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8976 (electric-pair-post-self-insert-function): Use it.
8977 (electric-pair-default-inhibit): New function, extracted from
8978 electric-pair-post-self-insert-function.
8979
a77e2924
RW
89802013-03-31 Roland Winkler <winkler@gnu.org>
8981
8982 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8983
2bd8a4a8
SM
89842013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8987
8d3655be 89882013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8989
8990 Un-indent after "pass" and "return" statements (Bug#13888)
8991 * progmodes/python.el (python-indent-block-enders): New var.
8992 (python-indent-calculate-indentation): Use it.
8993
8d3655be 89942013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8995
8996 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8997 defun. Defining it as defalias could introduce too eager
8998 byte-compiler optimization. (Bug#14030)
8999
8d3655be 90002013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9001
9002 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9003
0b1619da
LL
90042013-03-30 Leo Liu <sdl.web@gmail.com>
9005
9006 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9007 (kmacro-execute-from-register): Pass the keyboard macro to
9008 kmacro-call-macro or repeating won't work correctly.
9009
0b938190
TZ
90102013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9011
9012 * progmodes/subword.el: Back to using `forward-symbol'.
9013
9014 * subr.el (forward-whitespace, forward-symbol)
9015 (forward-same-syntax): Move from thingatpt.el.
9016
35710234
LL
90172013-03-29 Leo Liu <sdl.web@gmail.com>
9018
9019 * kmacro.el (kmacro-to-register): New command.
9020 (kmacro-execute-from-register): New function.
9021 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9022
efc0bb73
SM
90232013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * mpc.el: Use defvar-local and setq-local.
9026 (mpc--proc-connect): Connection failures are not bugs.
9027 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9028 (mpc-volume-map): Bind to the up-events.
9029
75a2f981
TZ
90302013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9031
9032 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9033 instead of `forward-symbol'.
9034
17c781d1
SM
90352013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9038 (edebug--recursive-edit): Use it.
9039 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9040 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9041
f67bfbcf
LL
90422013-03-28 Leo Liu <sdl.web@gmail.com>
9043
9044 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9045
b59f639d
EZ
90462013-03-27 Eli Zaretskii <eliz@gnu.org>
9047
9048 * facemenu.el (list-colors-callback): New defvar.
9049 (list-colors-redisplay): New function.
9050 (list-colors-display): Install list-colors-redisplay as the
9051 revert-buffer-function. (Bug#14063)
9052
f557c1b1
SM
90532013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9054
b1da2957
SM
9055 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9056 and suffixes don't overlap (bug#14061).
9057
f557c1b1
SM
9058 * case-table.el: Use lexical-binding.
9059 (case-table-get-table): New function.
9060 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9061
002668e1
TZ
90622013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9063
9064 * progmodes/subword.el: Add `superword-mode' to do word motion
9065 over symbol_words (parallels and leverages `subword-mode' which
9066 does word motion inside MixedCaseWords).
9067
73572c72
AG
90682013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9069
78b8f320 9070 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9071 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9072
69b2c07e
SM
90732013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9074
9075 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9076 Change return value to be a sexp. Delay `get-buffer' to after
9077 restoring the desktop (bug#13951).
9078
08bb5ee2
LL
90792013-03-26 Leo Liu <sdl.web@gmail.com>
9080
9081 * register.el: Move semantic tag handling back to
9082 cedet/semantic/senator.el. (Bug#14052)
9083
8d4c974e
SM
90842013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9087 into the prompt either (bug#13963).
9088
b234d92c
SM
90892013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9092 part of "(error-foo)".
9093
ddfa3cb4
JL
90942013-03-24 Juri Linkov <juri@jurta.org>
9095
9096 * replace.el (list-matching-lines-prefix-face): New defcustom.
9097 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9098 `occur-engine' if `face-differs-from-default-p' returns t.
9099 (occur-engine): Add `,' inside backquote construct to evaluate
9100 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9101 Pass `prefix-face' to the functions `occur-context-lines' and
9102 `occur-engine-add-prefix'.
9103 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9104 `prefix-face' and propertize the prefix with `prefix-face'.
9105 (Bug#14017)
9106
7b0e2f85
LL
91072013-03-24 Leo Liu <sdl.web@gmail.com>
9108
9109 * nxml/rng-valid.el (rng-validate-while-idle)
9110 (rng-validate-quick-while-idle): Guard against deleted buffer.
9111 (Bug#13999)
9112
9113 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9114 is the last entry in kill-buffer-hook.
9115
9116 * files.el (kill-buffer-hook): Doc fix.
9117
b3082f49
DG
91182013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9119
b234d92c
SM
9120 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9121 Make it safe-local.
bde73d27 9122
b3082f49
DG
9123 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9124
a320a2db
LL
91252013-03-23 Leo Liu <sdl.web@gmail.com>
9126
7e74b0fb
LL
9127 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9128 Remove.
9129
9130 * nxml/rng-valid.el (rng-validate-mode)
9131 (rng-after-change-function, rng-do-some-validation):
9132 * nxml/rng-maint.el (rng-validate-buffer):
9133 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9134 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9135 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9136 (nxml-extend-after-change-region): Use with-silent-modifications.
9137
a320a2db
LL
9138 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9139 timer-idle-list.
9140
9141 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9142 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9143 timer-idle-list. (Bug#13999)
9144
e38e6780
JL
91452013-03-23 Juri Linkov <juri@jurta.org>
9146
9147 * info.el (info-index-match): New face.
9148 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9149 main pattern and add text properties with the new face to matches
9150 in index entries relative to the beginning of the index entry.
9151 (Bug#14015)
9152
e8cc7880
DE
91532013-03-21 Eric Ludlam <zappo@gnu.org>
9154
9155 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9156 Inhibit read only while inserting objects.
9157
9bb0d822
TZ
91582013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9159
9160 * progmodes/cfengine.el: Update docs to mention
9161 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9162 symbol motion. Remove "_" from the word syntax.
9163
aa703640
TZ
91642013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9165
9166 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9167 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9168
afff09d0
JL
91692013-03-20 Juri Linkov <juri@jurta.org>
9170
9171 * info.el (Info-next-reference-or-link)
9172 (Info-prev-reference-or-link): New functions.
9173 (Info-next-reference, Info-prev-reference): Use them.
9174 (Info-try-follow-nearest-node): Handle footnote navigation.
9175 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9176
9a1ff164
SM
91772013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9180 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9181
2667d15d
PE
91822013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9183
9184 Suppress unnecessary non-ASCII chatter during build process.
9185 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9186 (batch-skkdic-convert): Suppress most of the chatter.
9187 It's not needed so much now that machines are faster,
9188 and its non-ASCII component was confusing; see Dmitry Gutov in
9189 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9190
438b0579
LL
91912013-03-20 Leo Liu <sdl.web@gmail.com>
9192
9193 * ido.el (ido-chop): Fix bug#10994.
9194
c128ab07
DG
91952013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9196
9197 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9198 Remove vars.
9a1ff164
SM
9199 (whitespace-color-on, whitespace-color-off):
9200 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9201
0e6008c5
SM
92022013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9205 remapping in mode-line.
9206 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9207
627b52b0
DG
92082013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9209
9210 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9211 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9212 (whitespace-font-lock-keywords): Change description.
9213 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9214 the constructed keywords instead.
9215 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9216
50c3a20b
LL
92172013-03-19 Leo Liu <sdl.web@gmail.com>
9218
9219 * progmodes/compile.el (compilation-display-error): New command.
9220 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9221 C-o. (Bug#13992)
9222
2aa2157b
PE
92232013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9224
9225 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9226
e477dbfa
JD
92272013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9228
9229 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9230
64ab82d1
MA
92312013-03-18 Michael Albinus <michael.albinus@gmx.de>
9232
9233 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9234
9235 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9236 * net/tramp-gvfs.el (top):
9237 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9238 (tramp-handle-shell-command): Use it.
9239 (tramp-dissect-file-name): Raise an error when hostname is a
9240 method name, and neither method nor user is specified.
9241
9242 * net/trampver.el: Update release number.
9243
33cef733
LL
92442013-03-18 Leo Liu <sdl.web@gmail.com>
9245
9246 Make sure eldoc can be turned off properly.
9247 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9248 eldoc-mode.
9249 (eldoc-display-message-p): Revert last change.
9250 (eldoc-display-message-no-interference-p)
9251 (eldoc-print-current-symbol-info): Tweak.
9252
2167b7b2
TH
92532013-03-18 Tassilo Horn <tsdh@gnu.org>
9254
9255 * doc-view.el (doc-view-new-window-function): Check the new window
9256 overlay's display property instead the char property of the
9257 buffer's first char. Use `with-selected-window' instead of
9258 `save-window-excursion' with `select-window'.
9259 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9260 display property instead the char property of the buffer's first char.
2167b7b2 9261
982efbcd
PE
92622013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9263
9264 Automate the build of ja-dic.el (Bug#13984).
9265 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9266 from the input, rather than assume that it's been done for us by the
9267 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9268 the current date into a ja-dic.el comment, as that complicates
9269 regression testing.
9270
2fcc7665
SM
92712013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * whitespace.el: Fix double evaluation.
9274 (whitespace-space, whitespace-hspace, whitespace-tab)
9275 (whitespace-newline, whitespace-trailing, whitespace-line)
9276 (whitespace-space-before-tab, whitespace-indentation)
9277 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9278 obsolete defvars.
9279 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9280 (whitespace-color-on): Use a single font-lock-add-keywords call.
9281 Fix double-evaluation of face variables.
9282
67c0a6e6
MA
92832013-03-17 Michael Albinus <michael.albinus@gmx.de>
9284
2fcc7665
SM
9285 * net/tramp-adb.el (tramp-adb-parse-device-names):
9286 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9287 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9288
69489f1d
LL
92892013-03-17 Leo Liu <sdl.web@gmail.com>
9290
9291 Extend eldoc to display info in the mode-line. (Bug#13978)
9292 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9293 (eldoc-mode-line-string): New variable.
9294 (eldoc-minibuffer-message): New function.
9295 (eldoc-message-function): New variable.
9296 (eldoc-message): Use it.
9297 (eldoc-display-message-p)
2fcc7665
SM
9298 (eldoc-display-message-no-interference-p):
9299 Support eldoc-post-insert-mode.
69489f1d
LL
9300
9301 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9302 (eval-expression): Run it.
9303
9c44569e
RW
93042013-03-17 Roland Winkler <winkler@gnu.org>
9305
9306 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9307 strings in the list of return values.
9308
327f1f6f
JB
93092013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9310
9311 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9312 radix before checking for HMS forms.
9313
67ed8fcd
LL
93142013-03-16 Leo Liu <sdl.web@gmail.com>
9315
9316 * progmodes/scheme.el: Add indentation and font-locking for λ.
9317 (Bug#13975)
9318
78be8b64 93192013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9320
9321 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9322 token before point (bug#13942).
9323
78be8b64 93242013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9325
95b43468 9326 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9327
98e775e6
EZ
93282013-03-16 Eli Zaretskii <eliz@gnu.org>
9329
9330 * startup.el (command-line-normalize-file-name): Fix handling of
9331 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9332 <xfq.free@gmail.com> in
9333 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9334
2edd6029
MA
93352013-03-15 Michael Albinus <michael.albinus@gmx.de>
9336
9337 Sync with Tramp 2.2.7.
9338
9339 * net/trampver.el: Update release number.
9340
d35f5864
TH
93412013-03-14 Tassilo Horn <tsdh@gnu.org>
9342
e903c210 9343 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9344 (doc-view-insert-image): Don't modify overlay associated to
9345 non-live windows, and implement horizontal centering of image in
9346 case it's smaller than the window.
9347 (doc-view-new-window-function): Force redisplay of new windows on
9348 doc-view buffers.
d35f5864 9349
1c4a85ed
KF
93502013-03-13 Karl Fogel <kfogel@red-bean.com>
9351
9352 * saveplace.el (save-place-alist-to-file): Don't sort
9353 `save-place-alist', just pretty-print it (bug#13882).
9354
85b66a21
MA
93552013-03-13 Michael Albinus <michael.albinus@gmx.de>
9356
a020afb9
JB
9357 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9358 Check whether `default-file-name-coding-system' is bound.
9359 It isn't in XEmacs.
85b66a21 9360
175600da
SM
93612013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9362
e7f7cb1a
SM
9363 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9364 backquotes for `obsolete' (bug#13929).
9365
175600da
SM
9366 * international/mule.el (find-auto-coding): Include file name in
9367 obsolescence warning (bug#13922).
9368
ca68a22e
TZ
93692013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9370
9371 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9372 for CFEngine 3-specific indentation.
9373 (cfengine3-indent-line): Use it. Fix up category regex.
9374 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9375
940e5099
SM
93762013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * type-break.el (type-break-file-name):
9379 * textmodes/remember.el (remember-data-file):
9380 * strokes.el (strokes-file):
9381 * shadowfile.el (shadow-initialize):
9382 * saveplace.el (save-place-file):
9383 * ps-bdf.el (bdf-cache-file):
9384 * progmodes/idlwave.el (idlwave-config-directory):
9385 * net/quickurl.el (quickurl-url-file):
9386 * international/kkc.el (kkc-init-file-name):
9387 * ido.el (ido-save-directory-list-file):
9388 * emulation/viper.el (viper-custom-file-name):
9389 * emulation/vip.el (vip-startup-file):
9390 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9391 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9392
cc725808
PE
93932013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9394
9395 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9396 * language/thai-word.el: Switch to UTF-8.
9397
a020afb9 9398See ChangeLog.16 for earlier changes.
e3d51b27
MR
9399
9400;; Local Variables:
9401;; coding: utf-8
e3d51b27
MR
9402;; End:
9403
ab422c4d 9404 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9405
9406 This file is part of GNU Emacs.
9407
9408 GNU Emacs is free software: you can redistribute it and/or modify
9409 it under the terms of the GNU General Public License as published by
9410 the Free Software Foundation, either version 3 of the License, or
9411 (at your option) any later version.
9412
9413 GNU Emacs is distributed in the hope that it will be useful,
9414 but WITHOUT ANY WARRANTY; without even the implied warranty of
9415 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9416 GNU General Public License for more details.
9417
9418 You should have received a copy of the GNU General Public License
9419 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.