* lisp/emacs-lisp/smie.el (smie-rule-parent): Always call
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e61845c1
SM
12013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4 (ruby-smie-rules): Use smie-rule-parent instead.
5
6 * emacs-lisp/smie.el (smie-rule-parent): Always call
7 smie-indent-virtual rather than only for hanging tokens.
8 (smie--next-indent-change): New helper command.
9
62942f89
GM
102013-11-03 Glenn Morris <rgm@gnu.org>
11
12 * Makefile.in (abs_srcdir): Remove.
13 (emacs): Unset EMACSLOADPATH.
14
b0b9e592
GM
152013-11-02 Glenn Morris <rgm@gnu.org>
16
18ba6a33 17 * Makefile.in (EMACS): Use a relative filename.
8061810d 18 (abs_top_builddir): Remove.
18ba6a33
GM
19 (custom-deps, finder-data, autoloads): Use --chdir.
20
6a8b929e
GM
21 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
22
c617f3d0
GM
23 Use relative filenames in TAGS files.
24 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
25 (lisptagsfiles4, TAGS): Use relative file names.
26 (TAGS-LISP): Remove.
27 (maintainer-clean): No more TAGS-LISP file.
28
b0b9e592
GM
29 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
30 (lisptagsfiles4): Use absolute filenames again.
31 (TAGS, TAGS-LISP): Not everything needs to run in one line.
32 Remove all *loaddefs files, not just the first. Remove esh-groups.
33 (maintainer-clean): Delete TAGS, TAGS-LISP.
34
d1c0ea6a
BB
352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
36
e61845c1
SM
37 * emacs-lisp/package.el (package-version-join):
38 Recognize snapshot versions.
d1c0ea6a 39
684d71c6
BB
402013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
41
42 * subr.el (version-regexp-alist): Add support for snapshot versions.
43
3d42b968
DG
442013-11-02 Dmitry Gutov <dgutov@yandex.ru>
45
e61845c1
SM
46 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
47 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
48 skip over our direct parent if it's an assignment token..
49 (ruby-smie-rules): Use it.
50
7ffd3721
DG
512013-11-02 Dmitry Gutov <dgutov@yandex.ru>
52
53 * progmodes/ruby-mode.el Use `syntax-propertize-function'
54 unconditionally. Remove now unnecessary forward declarations.
55 Remove XEmacs-specific setup.
56 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
57 (ruby-font-lock-syntactic-keywords)
58 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
59 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
60 (ruby-here-doc-end-syntax): Remove.
61 (ruby-mode): Don't check whether `syntax-propertize-rules' is
62 defined as function.
63
a3996a2e
BB
642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
65
66 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
67
6f9260e8
BB
682013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
69
70 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
71 table and abbrev table, `define-derived-mode' does that for us
72 anyway.
73
6014de84
GM
742013-11-01 Glenn Morris <rgm@gnu.org>
75
76 * Makefile.in: Remove manual mh-e dependencies (writing .elc
77 files is atomic for some time, so no parallel compilation issues).
78
3c334c14
JD
792013-11-01 Jan Djärv <jan.h.d@swipnet.se>
80
81 * faces.el (face-x-resources): Add :distant-foreground.
82 (region): Use :distant-foreground for gtk and ns.
83
9bc236c8
TH
842013-11-01 Tassilo Horn <tsdh@gnu.org>
85
5246583b 86 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
87 BibTeX.
88 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
89 (reftex-locate-bibliography-files): Us it.
90
d14c81ee
CB
912013-11-01 Claudio Bley <claudio.bley@googlemail.com>
92
0e7690de
CB
93 * image.el (image-type-header-regexps): Fix the 'pbm' part to
94 allow comments in pbm files.
95
d14c81ee
CB
96 * term/w32-win.el (dynamic-library-alist): Support newer versions
97 of libjpeg starting with v7: look only for the DLL from the
98 version against which Emacs was built.
ac1bf374 99 Support versions of libpng beyond 1.4.x.
019c8218 100 Support libtiff v4.x.
d14c81ee 101
983d0df5
BB
1022013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
103
104 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
105 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
106 Add property :safe.
107 (ruby-deep-arglist): Add property :type.
108
47f58d85
GM
1092013-10-31 Glenn Morris <rgm@gnu.org>
110
111 * Makefile.in (custom-deps, finder-data): No need to setq the target
112 variables, we are in the right directory and the defaults work fine.
113
4f85b479
GM
1142013-10-30 Glenn Morris <rgm@gnu.org>
115
ca7dd4cd
GM
116 * Makefile.in (autoloads): Do not use abs_lisp.
117
4f85b479
GM
118 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
119 `newline' does not respect `standard-output', so use `princ'.
120
cf59e41c
AA
1212013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
122
123 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
124 * buff-menu.el (Buffer-menu--unmark): New function.
125 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
126
74cf04fb
GM
1272013-10-30 Glenn Morris <rgm@gnu.org>
128
b040b60e
GM
129 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
130
f53d3815
GM
131 * emacs-lisp/package.el (lm-homepage): Declare.
132
5413d873
GM
133 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
134 Fix doc typos.
135
cecedb36
GM
136 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
137
74cf04fb
GM
138 * Makefile.in (finder-data, autoloads, update-subdirs)
139 (compile-main, compile-clean, compile-always, bootstrap-clean):
140 Check return value of cd.
141 (compile-calc): Remove.
142
195ee2f0
SM
1432013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
144
ae4002ce
SM
145 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
146
147 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
148 (byte-compile-and-folded): New function.
149 (=, <, >, <=, >=): Use it.
150
151 * dos-w32.el (minibuffer-history-case-insensitive-variables)
152 (path-separator, null-device, buffer-file-coding-system)
153 (lpr-headers-switches): Check system-type before modifying them.
154 (find-buffer-file-type-coding-system): Mark obsolete.
155 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
156 find-file-not-found-set-buffer-file-coding-system.
157 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
158 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
159 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
160 (w32-direct-print-region-helper, w32-direct-print-region-function)
161 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
162 * startup.el (normal-top-level-add-subdirs-to-load-path):
163 * ps-print.el (ps-print-region-function):
164 * lpr.el (print-region-function): Use new name.
165
53b39e89
SM
166 * subr.el (custom-declare-variable-early): Remove function.
167 (custom-declare-variable-list): Remove var.
168 (error, user-error): Remove `while' loop.
169 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
170 (user-emacs-directory-warning, locate-user-emacs-file):
171 Move to files.el.
172 * simple.el (read-quoted-char-radix, read-quoted-char):
173 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
174 Move from subr.el.
175 * custom.el (custom-declare-variable-list): Don't process
176 custom-declare-variable-list.
177
195ee2f0
SM
178 * progmodes/python.el (python-shell-get-buffer): New function.
179 (python-shell-get-process): Use it.
180 (python-shell-send-string): Always use utf-8 and add a cookie to tell
181 Python which encoding was used. Don't split-string since we only care
182 about the first line. Return the temp-file, if applicable.
183 (python-shell-send-region): Tell compile.el how to turn locations in
184 the temp-file into locations in the source buffer.
185
7e3561ee
SM
1862013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
187
4c9797cb
SM
188 * subr.el (undefined): Add missing behavior from the C code for
189 unbound keys.
190
3472b6c6
SM
191 * rect.el: Use lexical-binding. Add new rectangular region support.
192 (rectangle-mark): New command.
193 (rectangle--region): New var.
194 (deactivate-mark-hook): Reset rectangle--region.
195 (rectangle--extract-region, rectangle--insert-for-yank)
196 (rectangle--highlight-for-redisplay)
197 (rectangle--unhighlight-for-redisplay): New functions.
198 (region-extract-function, redisplay-unhighlight-region-function)
199 (redisplay-highlight-region-function): Use them to handle
200 rectangular region.
201 * simple.el (region-extract-function): New var.
202 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
203 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
204 (kill-region): Replace obsolete `yank-handler' arg with `region'.
205 (copy-region-as-kill, kill-ring-save): Add `region' argument.
206 (redisplay-unhighlight-region-function)
207 (redisplay-highlight-region-function): New vars.
208 (redisplay--update-region-highlight): New function.
209 (pre-redisplay-function): Use it.
210 (exchange-point-and-mark): Don't deactivate the mark before
211 reactivate-it anyway.
212 * comint.el (comint-kill-region): Remove yank-handler argument.
213 * delsel.el (delete-backward-char, backward-delete-char-untabify)
214 (delete-char): Remove property, since it's now part of their
215 default behavior.
216 (self-insert-iso): Remove property since this command doesn't exist.
217
7e3561ee
SM
218 * emacs-lisp/package.el (package--download-one-archive)
219 (describe-package-1): Don't query the user about final newline.
220
b9bef71f
DC
2212013-10-29 Daniel Colascione <dancol@dancol.org>
222
223 * net/tramp.el (tramp-methods): Document new functionality.
224 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
225 tramp-hostname-checker if method provides one instead of scanning
226 argument list for "%h" to decide hostname acceptability.
227
4efc33f0
MA
2282013-10-28 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
231 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
232 Handle COPY-CONTENTS. (Bug#15737)
233
ed42a877
DU
2342013-10-28 Daiki Ueno <ueno@gnu.org>
235
236 * epa-file.el
7e3561ee
SM
237 (epa-file-cache-passphrase-for-symmetric-encryption):
238 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 239
18c9f8a2
XF
2402013-10-27 Xue Fuqiao <xfq.free@gmail.com>
241
7a4bc7be
XF
242 * image.el (defimage):
243 (image-load-path): Doc fixes.
18c9f8a2 244
b1e8e010
AM
2452013-10-27 Alan Mackenzie <acm@muc.de>
246
247 Indent statements in macros following "##" correctly.
7e3561ee
SM
248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
249 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 250
73d40d1e 2512013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
252
253 * linum.el (linum-update-window): Fix boundary test (bug#13446).
254
c8c605ac
DG
2552013-10-27 Dmitry Gutov <dgutov@yandex.ru>
256
257 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
258 after `=' is probably a new expression.
259
ca7e59d4
RS
2602013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
261
262 * man.el (man-imenu-title): New option.
263 (Man-mode-map): Add menu. (Bug#15722)
264 (Man-mode): Add imenu to menu.
265
bae91342
DG
2662013-10-26 Dmitry Gutov <dgutov@yandex.ru>
267
268 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
269 specific in what the first arg can be: a non-keyword word,
270 string/regexp/percent literal opener, opening paren, or unary
271 operator followed directly by word.
272
eb89dc14
SM
2732013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
276 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
277 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
278 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
279 Remove vars, they do not apply any more.
280 (prolog-mode-abbrev-table): Remove redundant declaration.
281 (prolog-upper-case-string, prolog-lower-case-string): Remove.
282 (prolog-use-smie): Remove.
283 (prolog-smie-rules): Add indentation rule for the if-then-else layout
284 supported by prolog-electric-if-then-else-flag.
285 (prolog-mode-variables, prolog-menu): Use setq-local.
286 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
287 Remove binding to `Backspace' since this key doesn't exist anyway.
288 Remove bindings for electric self-inserting keys.
289 (prog-mode): Assume it's defined.
290 (prolog-post-self-insert): New function.
291 (prolog-mode): Use it.
292 (prolog-indent-line, prolog-indent-level)
293 (prolog-find-indent-of-matching-paren)
294 (prolog-indentation-level-of-line, prolog-goto-comment-column)
295 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
296 (prolog-goto-next-paren, prolog-in-string-or-comment)
297 (prolog-tokenize, prolog-inside-mline-comment)
298 (prolog-find-start-of-mline-comment): Remove functions.
299 (prolog-find-unmatched-paren, prolog-clause-end)
300 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
301 (prolog-electric--if-then-else): Rename from
302 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
303 (prolog-tokenize-searchkey): Remove const.
304 (prolog-clause-info): Use forward-sexp.
305 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
306 (prolog-electric-if-then-else): Remove commands.
307 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
308 for use in post-self-insert-hook.
309 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
310 for use in post-self-insert-hook.
311 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
312 for use in post-self-insert-hook.
313 (prolog-electric--underscore): Rename from prolog-electric--underscore;
314 adapt it for use in post-self-insert-hook.
315
3dab0a83
MA
3162013-10-25 Michael Albinus <michael.albinus@gmx.de>
317
318 * emacs-lisp/ert.el (ert-run-tests-interactively):
319 Use `completing-read'. (Bug#9756)
320
fbfd0e1d
EZ
3212013-10-25 Eli Zaretskii <eliz@gnu.org>
322
323 * simple.el (line-move): Call line-move-1 instead of
324 line-move-visual when the current window hscroll is zero, but
325 temporary-goal-column indicates we will need to hscroll as result
326 of the movement. (Bug#15712)
327
963ce636
DG
3282013-10-25 Dmitry Gutov <dgutov@yandex.ru>
329
330 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
331 capitalization. Use :visible instead of :active.
332 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
333 commands that are used with SMIE.
334 (ruby-do-end-to-brace): Insert space after `{'.
335
a0be396a
JA
3362013-10-25 John Anthony <john@jo.hnanthony.com>
337
f73754c9
JA
338 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
339
340 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 341
f5bf77df
GM
3422013-10-25 Glenn Morris <rgm@gnu.org>
343
344 * vc/vc.el (vc-print-log): Don't use a working revision unless
345 one was explicitly specified. (Bug#15322)
346
37241f62
SM
3472013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * subr.el (add-to-list): Preserve return value in compiler-macro
350 (bug#15692).
351
6408a65d
RS
3522013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
353
354 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
355 result. Ask user to retry using '-all' flag. (Bug#15701)
356
71e3276b
SM
3572013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * emacs-lisp/smie.el: New smie-config system.
360 (smie-config): New defcustom.
361 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
362 (smie-config-guess, smie-config-save): New commands.
363 (smie-config--mode-local, smie-config--buffer-local)
364 (smie-config--trace, smie-config--modefuns): New vars.
365 (smie-config--advice, smie-config--mode-hook)
366 (smie-config--setter, smie-config-local, smie-config--get-trace)
367 (smie-config--guess-value, smie-config--guess): New functions.
368 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
369 text properties. Treat "string fence" syntax like string syntax.
370
371 * progmodes/sh-script.el (sh-use-smie): Change default.
372 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
373 (sh-var-value): Simplify by CSE.
374 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
375 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
376 is used.
377 (sh-guess-basic-offset): Use cl-incf.
378 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
379
60db713e
HE
3802013-10-24 Helmut Eller <eller.helmut@gmail.com>
381
382 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
383 (bug#15699).
384
8b251df6
GM
3852013-10-24 Glenn Morris <rgm@gnu.org>
386
387 * Makefile.in (abs_top_srcdir): Remove.
388 (update-subdirs): Use relative path to update-subdirs.
389
6be0e22b
EZ
3902013-10-24 Eli Zaretskii <eliz@gnu.org>
391
392 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
393 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
394 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
395 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 396
50b5b857
MA
3972013-10-24 Michael Albinus <michael.albinus@gmx.de>
398
399 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
400 (ert-test-skipped): New error.
401 (ert-skip, ert-stats-skipped): New defuns.
402 (ert--skip-unless): New macro.
403 (ert-test-skipped): New struct.
404 (ert--run-test-debugger, ert-test-result-type-p)
405 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
406 (ert--stats-set-test-and-result, ert-char-for-test-result)
407 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 408 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 409 Handle skipped tests. (Bug#9803)
50b5b857 410
6f317c2f
GM
4112013-10-24 Glenn Morris <rgm@gnu.org>
412
e43817c1
GM
413 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
414
6f317c2f
GM
415 * Makefile.in (abs_top_srcdir): New, set by configure.
416 (update-subdirs): Correct build-aux location.
417
369bbf71
DG
4182013-10-24 Dmitry Gutov <dgutov@yandex.ru>
419
8297b2cf
DG
420 * vc/vc.el (vc-print-root-log): Always set `default-directory'
421 value, whether we could auto-deduce `backend', or not.
422
369bbf71
DG
423 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
424 with parameters" example. Simplify the "is it block or is it
425 hash" check, but also make it more thorough.
426
d5f1282f
MF
4272013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
428
429 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
430
bc4aaa31
SM
4312013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
432
03d44565
SM
433 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
434 { if it is hanging.
435
bc4aaa31
SM
436 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
437 :before ";".
438
f493ff19
JB
4392013-10-23 Jed Brown <jed@59A2.org> (tiny change)
440
441 * progmodes/compile.el (compilation-directory-matcher)
442 (compilation-page-delimiter):
443 Support GNU Make-4.0 directory quoting. (Bug#15678)
444
c744a3b9
LL
4452013-10-23 Leo Liu <sdl.web@gmail.com>
446
447 * ido.el (ido-tidy): Handle read-only text.
448
b8e3b0a9
GM
4492013-10-23 Glenn Morris <rgm@gnu.org>
450
451 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
452 (emacs, compile, compile-always):
453 Quote entities that might contain whitespace.
454 (custom-deps, finder-data, autoloads): Use abs_lisp.
455 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
456 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
457 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
458
ee4282cd
DG
4592013-10-23 Dmitry Gutov <dgutov@yandex.ru>
460
bc4aaa31
SM
461 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
462 Use `following-char'.
7790a270 463
ee4282cd 4642013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
465
466 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
467 * progmodes/ruby-mode.el (ruby-smie-rules):
468 Remove corresponding workaround. Fix indentation rule of ";" so it
469 also applies when ";" is the parent.
470
d40a46d7
XF
4712013-10-22 Xue Fuqiao <xfq.free@gmail.com>
472
473 * frame.el (display-screens, display-pixel-height)
474 (display-pixel-width, display-mm-width, display-backing-store)
475 (display-save-under, display-planes, display-color-cells)
7790a270
SM
476 (display-visual-class, display-monitor-attributes-list):
477 Mention the optional ‘display’ argument in doc strings.
d40a46d7 478
a0f143c9
MG
4792013-10-22 Michael Gauland <mikelygee@amuri.net>
480
481 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
482 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
483
18cacc39
DG
4842013-10-21 Dmitry Gutov <dgutov@yandex.ru>
485
486 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
487 TODO. Add "." after " @ ".
488 (ruby-smie--at-dot-call): New function. Checks if point at method
489 call with explicit target.
490 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
491 to the method name tokens when it precedes them.
492 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
493 (ruby-smie-rules): Add rule for indentation before and after "."
494 token.
495
df74c4be
SM
4962013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
497
c6dab55f
SM
498 * textmodes/remember.el (remember-diary-extract-entries):
499 Avoid add-to-list.
500
df74c4be
SM
501 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
502 an instruction.
503
8c1ae481
DG
5042013-10-21 Dmitry Gutov <dgutov@yandex.ru>
505
cfef16c0
DG
506 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
507 (ruby-smie--implicit-semi-p): Add new operator chars.
508
8c1ae481
DG
509 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
510 `smie-down-list'.
511 (ruby-smie--args-separator-p): Check that there's no newline
512 between method call and its arguments.
513
87756ca9
AM
5142013-10-20 Alan Mackenzie <acm@muc.de>
515
516 Allow comma separated lists after Java "implements".
517
df74c4be
SM
518 * progmodes/cc-engine.el (c-backward-over-enum-header):
519 Parse commas.
87756ca9
AM
520 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
521 from a "disallowed" list in enum fontification.
522
c25f8957
JB
5232013-10-20 Johan Bockgård <bojohan@gnu.org>
524
df74c4be 525 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 526
c25f8957
JB
527 * progmodes/verilog-mode.el (verilog-mode): Don't set
528 comment-indent-function globally.
529
aca5fcdc
JD
5302013-10-20 Jan Djärv <jan.h.d@swipnet.se>
531
5f161884
JD
532 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
533 Move Info menu item creation to ns-win.el.
534
535 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
536 in menu bar.
537
aca5fcdc
JD
538 * menu-bar.el: Move GNUStep specific menus...
539
540 * term/ns-win.el (ns-initialize-window-system): ... to here.
541
914b7f98
SM
5422013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * simple.el (newline): Only run post-self-insert-hook when
545 called interactively.
546
846ffe77
JB
5472013-10-19 Johan Bockgård <bojohan@gnu.org>
548
549 * icomplete.el (icomplete-with-completion-tables): Add :version.
550
033f22dd
AM
5512013-10-19 Alan Mackenzie <acm@muc.de>
552
553 Fix fontification bugs with constructors and const.
554
555 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
556 CASE 2) Remove the check for the absence of a suffix construct
557 after a function declaration with only types (no identifiers) in
558 the parentheses. Also, accept a function declaration with just a
559 type inside the parentheses, if this type can be positively
560 recognised as such, or if a prefix keyword like "explicit" nails
561 down the construct as a declaration.
562
58ce0cfc
EZ
5632013-10-19 Eli Zaretskii <eliz@gnu.org>
564
565 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
566 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
567 the problem whereby selecting a menu item that leads to a
568 minibuffer prompt moves the cursor out of the minibuffer window,
569 making it hard to type at the prompt. Suggested by Stefan Monnier
570 <monnier@iro.umontreal.ca>.
571
50e28e7d
JD
5722013-10-19 Jan Djärv <jan.h.d@swipnet.se>
573
574 * menu-bar.el: Don't make Services menu.
575
7deed4bf
RS
5762013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
577
578 * ffap.el: Handle "/usr/include/c++/<version>" directories.
579 (ffap-alist): Use ffap-c++-mode for c++-mode.
580 (ffap-c++-path): New variable.
581 (ffap-c++-mode): New function.
582
7bcb455b
JVJ
5832013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
584
585 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
586
f0ff1cd5
MA
5872013-10-18 Michael Albinus <michael.albinus@gmx.de>
588
589 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
590 introduced on 2013-09-08, which results in an infinite loop
591 requesting a password.
592
d64da4b7
GM
5932013-10-18 Glenn Morris <rgm@gnu.org>
594
595 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
596
ea89ff08
WS
5972013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
598
599 Sync with upstream verilog-mode revision 1a6ecec7.
600 * progmodes/verilog-mode.el (verilog-mode-version): Update.
601 (verilog-mode-release-date): Remove.
602 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
603 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
604 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
605 (verilog-auto-tieoff-ignore-regexp)
606 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
607 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
608 (verilog-signals-with, verilog-dir-cache-preserving)
609 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
610 Doc fixes.
611 (verilog-case-fold): New option, to control case folding in
612 regexp searches, bug597.
613 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
614 (verilog-string-match-fold, verilog-in-paren-count)
615 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
616 (verilog-at-close-struct-p): New functions.
617 (verilog-beg-block-re-ordered, verilog-extended-case-re)
618 (verilog-forward-sexp, verilog-set-auto-endcomments):
619 (verilog-leap-to-case-head): Handle "unique0" case.
620 (verilog-in-constraint-re): New constant.
621 (verilog-keywords, verilog-type-font-keywords):
622 Add some SystemVerilog 1800-2012 keywords.
623 (verilog-label-be): Remove unimplemented argument, bug669.
624 (verilog-batch-execute-func): When batch expanding clear
625 create-lockfiles to prevent spurious user locks when a file ends
626 up not changing.
627 (verilog-calculate-indent, verilog-calc-1)
628 (verilog-at-close-constraint-p, verilog-at-constraint-p)
629 (verilog-do-indent): Fix indentation of nested constraints
630 and structures.
631 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
632 (verilog-auto-inst-param): Use verilog-string-match-fold.
633 (verilog-read-inst-module-matcher):
634 Fix AUTOINST on gate primitives with #1.
635 (verilog-read-decls): Fix double-declaring user-defined typed signals.
636 Reads all user-defined typed variables.
637 (verilog-read-defines): Fix reading definitions inside comments, bug647.
638 (verilog-signals-matching-regexp)
639 (verilog-signals-not-matching-regexp, verilog-auto):
640 Respect verilog-case-fold.
641 (verilog-diff-report): Fix line count.
642 (verilog-auto-assign-modport): Remove unused local `modi'.
643 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
644 better handle multidimensional arrays.
645 Fix packed array ports misadding bit index in AUTOINST, bug637.
646 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
647 to not double-declare existing outputs and inputs, respectively.
648 (verilog-template-map): Bind U to verilog-sk-uvm-component.
649 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
650 (verilog-sk-uvm-component): New skeleton.
651 (verilog-submit-bug-report): Add verilog-case-fold,
652 remove verilog-mode-release-date.
653
ef566920
BR
6542013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
655
656 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
657 as before.
658
29df8a0b
RT
6592013-10-18 Reuben Thomas <rrt@sc3d.org>
660
661 * textmodes/remember.el (remember): set buffer-offer-save in
662 remember buffers (bug#13566).
663
04a19a79
DC
6642013-10-18 Daniel Colascione <dancol@dancol.org>
665
666 When evaluating forms in ielm, direct standard output to ielm
667 buffer. Add new ielm-return-for-effect command. Remove trailing
668 whitespace throughout.
669
670 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
671 (ielm-return-for-effect): New command.
672 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
673 (ielm-eval-input): Accept optional `for-effect' parameter.
674 Bind `standard-output' to stream we create using
04a19a79
DC
675 `ielm-standard-output-impl'. Suppress printing result when
676 `for-effect'.
677 (ielm-standard-output-impl): New function.
678 (inferior-emacs-lisp-mode): Explain new features in documentation.
679
4c1f03ef
MA
6802013-10-17 Michael Albinus <michael.albinus@gmx.de>
681
682 Code cleanup.
683
684 * net/tramp.el (tramp-debug-message): Do not check for connection
685 buffer.
686 (tramp-message): Use "vector" connection property.
687
688 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
689 (tramp-equal-remote, tramp-eshell-directory-change)
690 * net/tramp-adb.el (tramp-adb-handle-copy-file)
691 (tramp-adb-handle-rename-file)
692 * net/tramp-cmds.el (tramp-list-remote-buffers)
693 (tramp-cleanup-connection, tramp-cleanup-this-connection)
694 * net/tramp-compat.el (tramp-compat-process-running-p)
695 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
696 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
697 (tramp-gvfs-handle-rename-file)
698 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
699 (tramp-set-file-uid-gid)
700 * net/tramp-smb.el (tramp-smb-handle-copy-file)
701 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
702 of `file-remote-p'.
703
704 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
705 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
706 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
707 (tramp-gw-open-network-stream): Suppress unrelated traces.
708
709 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
710 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
711 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
712 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
713 connection property.
714
715 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 716 persistency file.
4c1f03ef
MA
717
718 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
719 Refactor common code. Improve debug message.
720 (tramp-maybe-open-connection)
721 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
722 connection buffer too early.
723
724 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
725 from `tramp-smb-actions-with-acl'.
726 (tramp-smb-actions-set-acl): New defconst.
727 (tramp-smb-handle-copy-directory)
728 (tramp-smb-action-get-acl): New defun, renamed from
729 `tramp-smb-action-with-acl'.
730 (tramp-smb-action-set-acl): New defun.
731 (tramp-smb-handle-set-file-acl): Rewrite.
732
642eb8b6
GM
7332013-10-17 Glenn Morris <rgm@gnu.org>
734
735 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
736
85527ff3
SM
7372013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
738
921c1d62
SM
739 * skeleton.el (skeleton-newline): Remove.
740 (skeleton-internal-1): Use (insert "\n") instead.
741
e333fb10
SM
742 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
743 let-bindings.
744
85527ff3
SM
745 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
746 forward-sexp-function while we redo its job (bug#15613).
747
c8722a97
JB
7482013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
749
750 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
751 represented by lists.
752
7a550bbb
GM
7532013-10-16 Glenn Morris <rgm@gnu.org>
754
755 * tmm.el (tmm--history): New dynamic variable.
756 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
757
f19da8ad
MA
7582013-10-16 Michael Albinus <michael.albinus@gmx.de>
759
760 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
761 (tramp-smb-errors): Add error messages.
762 (tramp-smb-actions-with-acl): New defconst.
763 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
764 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
765 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
766 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
767 (tramp-smb-get-stat-capability): Fix tests.
768
a24b9961
DK
7692013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
770
771 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
772 (bug#15580).
773
62ad85e6
GM
7742013-10-16 Glenn Morris <rgm@gnu.org>
775
0283d6b0
GM
776 * ansi-color.el (ansi-color-drop-regexp):
777 Add 1J, 1K, 2K. (Bug#15617)
778
012e2f9f
GM
779 * files.el (hack-local-variables--warned-lexical): New.
780 (hack-local-variables):
781 Warn about misplaced lexical-binding. (Bug#15616)
782
62ad85e6
GM
783 * net/eww.el (eww-render): Always set eww-current-url,
784 and update header line. (Bug#15622)
785 (eww-display-html): ... Rather than just doing it here.
786
6456c0ea
EZ
7872013-10-15 Eli Zaretskii <eliz@gnu.org>
788
789 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
790 menu navigations commands.
791
c2de5588
DK
7922013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
793
794 * progmodes/subword.el (subword-capitalize): Be careful when
795 the search for [[:alpha:]] fails (bug#15580).
796
ccd4a783
EZ
7972013-10-14 Eli Zaretskii <eliz@gnu.org>
798
799 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
800 to commands that scroll the menu.
801
1eda1d8d
DG
8022013-10-14 Dmitry Gutov <dgutov@yandex.ru>
803
c2de5588
DK
804 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
805 Handle methods ending with `?' and `!'.
1eda1d8d 806
e70181b8
AM
8072013-10-14 Akinori MUSHA <knu@iDaemons.org>
808
809 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
810 `japanese-cp932' to `cp932' to fix the problem where saving a
811 source file written in Shift_JIS twice would end up having
812 `coding: japanese-cp932' which Ruby could not recognize.
813 (ruby-mode-set-encoding): Add support for encodings mapped to nil
814 in `ruby-encoding-map'.
815 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
816 doesn't need to be explicitly declared in magic comment.
817 (ruby-encoding-map): Add type declaration for better customize UI.
818
9148ee92
GM
8192013-10-13 Glenn Morris <rgm@gnu.org>
820
a5d38e34
GM
821 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
822 Occur buffers are read-only. http://bugs.debian.org/720775
823
9148ee92
GM
824 * emacs-lisp/authors.el (authors-fixed-entries):
825 Comment out old alpha stuff.
826
a9ba094b
DG
8272013-10-13 Dmitry Gutov <dgutov@yandex.ru>
828
829 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
830 to `after-save-hook' instead of `before-save-hook'.
831 (ruby-mode-set-encoding): Use the value of coding system used to
832 write the file. Call `basic-save-buffer-1' after modifying the
833 buffer.
834
7a068717
AM
8352013-10-13 Alan Mackenzie <acm@muc.de>
836
837 Fix indentation/fontification of Java enum with
838 "implements"/generic.
839
c2de5588
DK
840 * progmodes/cc-engine.el (c-backward-over-enum-header):
841 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
842 (c-inside-bracelist-p): Uses new function above.
843 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
844 function above.
845 (c-font-lock-enum-tail): Uses new function above.
846
85b64f02
KH
8472013-10-13 Kenichi Handa <handa@gnu.org>
848
849 * international/mule-cmds.el (select-safe-coding-system): Remove a
850 superfluous condition in chekcing whether a coding system is safe
851 or not.
852
fc7f501b
OK
8532013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
854
855 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
856
fdcb2049
AP
8572013-10-13 Andreas Politz <politza@hochschule-trier.de>
858
859 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
860
8c106d17
GM
8612013-10-13 Glenn Morris <rgm@gnu.org>
862
feab892d
GM
863 * menu-bar.el (menu-bar-update-buffers):
864 Unify Buffers menu prompt string. (Bug#15576)
865
b22d0686
GM
866 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
867
8c106d17
GM
868 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
869 Add some entries.
870 (authors-fixed-entries): Use accented form of name.
871
1b12c797
SM
8722013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
873
650fa7bf 874 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 875 method calls (bug#15594).
650fa7bf
SM
876 (ruby-smie--args-separator-p): New function.
877 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
878 recognize paren-free method calls.
879
1b12c797
SM
880 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
881 internals of universal-argument.
882
029619c8
EZ
8832013-10-11 Eli Zaretskii <eliz@gnu.org>
884
885 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
886 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
887 dropped menu on second mouse click on the menu bar.
029619c8 888
dd070019
SM
8892013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
892 (explicit-shell-file-name): Declare.
893 (sh--vars-before-point, sh--cmd-completion-table): New functions.
894 (sh-completion-at-point-function): New function.
895 (sh-mode): Use it.
896 (sh-smie--keyword-p): Remove unused argument.
897 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
898 vars.
899 (sh-set-shell): Always setup SMIE, even if we use the
900 old indentation code.
901
0922b826
DG
9022013-10-11 Dmitry Gutov <dgutov@yandex.ru>
903
b68e2926
DG
904 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
905 cases of ? and =.
906 (ruby-smie-rules): Simplify the "do" rule. The cases when the
907 predicate would return nil are almost non-existent.
908 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
909
0922b826
DG
910 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
911 cache also after commands that modify the buffer but don't move
912 point.
913
ee041f2d
SM
9142013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * env.el (substitute-env-in-file-name): New function.
917 (substitute-env-vars): Extend the meaning of the optional arg.
918
a5dab159
EZ
9192013-10-10 Eli Zaretskii <eliz@gnu.org>
920
921 * term/w32-win.el (dynamic-library-alist): Define separate lists
922 of GIF DLLs for versions before and after 5.0.0 of giflib.
923 (Bug#15531)
924
db138698
JT
9252013-10-10 João Távora <joaotavora@gmail.com>
926
927 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
928 not locked, use last revision and current source as
929 defaults. (Bug#15569)
930
2f6e161e
MY
9312013-10-10 Masatake YAMATO <yamato@redhat.com>
932
933 * menu-bar.el (menu-bar-open): Don't use popup-menu if
934 menu-bar is hidden.
935
6c8413fc
MR
9362013-10-10 Martin Rudalics <rudalics@gmx.at>
937
938 * window.el (pop-to-buffer-same-window): Fix doc-string.
939 (Bug#15492)
940
20832de0
SM
9412013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
944
c6e8ae77
AC
9452013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
946
947 * calendar/icalendar.el (icalendar-import-file):
948 Fix interactive spec. (Bug#15482)
949
9db13baf
GM
9502013-10-10 Glenn Morris <rgm@gnu.org>
951
9271e90e
GM
952 * desktop.el (desktop-save): Default to saving in .emacs.d,
953 since PWD is no longer in desktop-path by default. (Bug#15319)
954
9db13baf
GM
955 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
956 now that text mode has a menu with the same entry.
957 (menu-bar-text-mode-auto-fill): Remove now unused func.
958 * textmodes/text-mode.el (text-mode-map):
959 Use auto-fill help text from menu-bar.el.
960
a0be396a 9612013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
962
963 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
964
2edcd3c7
JL
9652013-10-09 Juri Linkov <juri@jurta.org>
966
967 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
968 instead of this-command-keys. Add universal-argument-more and
969 universal-argument-minus to the list of prefix commands. (Bug#15568)
970
574411d0
GM
9712013-10-09 Glenn Morris <rgm@gnu.org>
972
14afa541
GM
973 * vc/vc-svn.el (vc-svn-create-repo):
974 Expand paths in file://... url. (Bug#15446)
975
574411d0
GM
976 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
977 Add some entries.
978 (authors): Remove unused local variables.
979
79804536
SM
9802013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * profiler.el: Create a more coherent calltree from partial backtraces.
983 (profiler-format): Hide the tail with `invisible' so that C-s can still
984 find the hidden elements.
985 (profiler-calltree-depth): Don't recurse so enthusiastically.
986 (profiler-function-equal): New hash-table-test.
987 (profiler-calltree-build-unified): New function.
988 (profiler-calltree-build): Use it.
989 (profiler-report-make-name-part): Indent the calltree less.
990 (profiler-report-mode): Add visibility specs for profiler-format.
991 (profiler-report-expand-entry, profiler-report-toggle-entry):
992 Expand the whole subtree when provided with a prefix arg.
993
238150c8
DG
9942013-10-09 Dmitry Gutov <dgutov@yandex.ru>
995
996 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
997 iuwu-mod token.
998 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
999 hanging iuwu-mod token.
1000 (ruby-smie--forward-token): Do not include a dot after a token in
1001 that token.
1002 (ruby-smie--backward-token): Likewise.
1003
b0949cc4
JL
10042013-10-08 Juri Linkov <juri@jurta.org>
1005
1006 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1007 to isearch-other-control-char.
1008 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1009 and isearch-post-command-hook to post-command-hook.
1010 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1011 and isearch-post-command-hook from post-command-hook.
1012 (isearch-unread-key-sequence)
1013 (isearch-reread-key-sequence-naturally)
1014 (isearch-lookup-scroll-key, isearch-other-control-char)
1015 (isearch-other-meta-char): Remove functions.
1016 (isearch-pre-command-hook, isearch-post-command-hook):
1017 New functions based on isearch-other-meta-char rewritten
1018 relying on the new behavior of overriding-terminal-local-map
1019 that does not replace the local keymaps any more. (Bug#15200)
1020
4ed77415
EZ
10212013-10-08 Eli Zaretskii <eliz@gnu.org>
1022
1023 Support menus on text-mode terminals.
1024 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1025 functionality.
1026
1027 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1028
c2de5588
DK
1029 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1030 Move here from mouse.el.
4ed77415
EZ
1031 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1032 and arrow keys.
1033 (tty-menu-navigation-map): New map for TTY menu navigation.
1034
1035 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1036
1037 * frame.el (display-mouse-p): Report text-mode mouse as available
1038 on w32.
1039 (display-popup-menus-p): Report availability if mouse is
1040 available; don't condition on window-system.
1041
1042 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1043 (tty-menu-selected-face): New faces.
1044
b7d5bd82
TL
10452013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1046
06286513
SM
1047 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1048 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1049 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1050 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1051 New constants.
1052 (lisp-mode-variables): New `elisp' argument.
1053 (emacs-lisp-mode): Use it.
1054 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1055 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1056
b7d5bd82
TL
1057 * indent.el: Use lexical-binding.
1058 (indent-region): Add progress reporter.
1059 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1060 last step.
1061 (indent--next-tab-stop): New function to implement this behavior.
1062 (tab-to-tab-stop, move-to-tab-stop): Use it.
1063
10642013-10-08 Teemu Likonen <tlikonen@iki.fi>
1065
1066 * indent.el (indent-rigidly--current-indentation): New function.
1067 (indent-rigidly-map): New var.
1068 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1069
5ea75d23
BG
10702013-10-08 Bastien Guerry <bzg@gnu.org>
1071
1072 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1073
cc5da1ec
SM
10742013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1075
8ffa1a0b
SM
1076 * progmodes/perl-mode.el: Use lexical-binding.
1077 Remove redundant :group args.
1078 (perl-nochange): Change default to be closer to other major modes's
1079 standard behavior.
1080 (perl-indent-line): Don't consider text on current line as a
1081 valid beginning of function from which to indent.
1082
f2223371
SM
1083 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1084 with more than one argument (bug#15538).
1085
44256060
SM
1086 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1087
cc5da1ec
SM
1088 * vc/pcvs.el: Use lexical-binding.
1089 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1090 environment of `eval'.
1091 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1092 than a list of expressions. Adjust callers.
1093 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1094
0ea1599d
DG
10952013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1096
1097 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1098 case of the dot in a chained method call being on the following line.
0ea1599d 1099
da3e5ebb
SM
11002013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1101
2abb4e65
SM
1102 * electric.el (electric-indent-inhibit): New var.
1103 (electric-indent-post-self-insert-function): Use it.
1104 * progmodes/python.el (python-mode): Set it.
1105
d2e0e795
SM
1106 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1107 open braces.
1108
1109 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1110
bdc6b4c8
SM
1111 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1112 (css-mode): Use electric-indent-chars.
1113
da3e5ebb
SM
1114 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1115 (font-lock-beg, font-lock-end): Move before first use.
1116 (nxml-mode): Use syntax-propertize-function.
1117 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1118 (nxml-extend-after-change-region): Remove.
1119 * nxml/xmltok.el: Use lexical-binding.
1120 (xmltok-save): Use `declare'.
1121 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1122 * nxml/nxml-util.el: Use lexical-binding.
1123 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1124 Use `declare'.
1125 * nxml/nxml-ns.el: Use lexical-binding.
1126 (nxml-ns-save): Use `declare'.
1127 (nxml-ns-prefixes-for): Avoid add-to-list.
1128 * nxml/rng-match.el: Use lexical-binding.
1129 (rng--ipattern): Use cl-defstruct.
1130 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1131 (rng-cons-group-after, rng-subst-group-after)
1132 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1133 Use closures instead of `(lambda...).
1134
f8f91d5d
MA
11352013-10-07 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1138 of BEG and END.
1139
da3e5ebb
SM
1140 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1141 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1142 (tramp-gvfs-handle-insert-file-contents): Remove function.
1143
da3e5ebb
SM
1144 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1145 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1146
1147 * net/trampver.el: Update release number.
1148
7ccae3b1
SM
11492013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1150
55ca2c0d
SM
1151 * progmodes/compile.el (compilation-parse-errors):
1152 Use compilation--put-prop.
1153 (compilation--ensure-parse): Check compilation-multiline.
1154
731fc3ae
SM
1155 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1156
da3e5ebb
SM
1157 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1158 lexical-binding.
a5833280 1159
2e7ba2c2
SM
1160 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1161
7ccae3b1
SM
1162 * progmodes/ruby-mode.el: Fix recently added tests.
1163 (ruby-smie-grammar): Add - and +.
1164 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1165 (ruby-smie--backward-id): New functions.
1166 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1167 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1168 any more.
1169
85698d63
LL
11702013-10-07 Leo Liu <sdl.web@gmail.com>
1171
1172 * register.el (register-preview-delay)
1173 (register-preview-functions): New variables.
1174 (register-read-with-preview, register-preview)
1175 (register-describe-oneline): New functions.
1176 (point-to-register, window-configuration-to-register)
1177 (frame-configuration-to-register, jump-to-register)
1178 (number-to-register, view-register, insert-register)
1179 (copy-to-register, append-to-register, prepend-to-register)
1180 (copy-rectangle-to-register): Use register-read-with-preview to
1181 read register. (Bug#15525)
1182
3986af6c
DS
11832013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1184
1185 * net/network-stream.el (network-stream-open-starttls): Don't add
1186 --insecure if it's already present, because that gnutls-cli
1187 rejects getting that parameter twice.
1188
5cd9cda9
DG
11892013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1190
1191 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1192 keyword, too.
1193
da9ea6d9
DG
11942013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1195
1196 * newcomment.el (comment-use-global-state): Change default value
1197 to t, mark obsolete (Bug#15251).
1198 (comment-beginning): In addition to `comment-to-syntax', check the
1199 value of `comment-use-global-state'.
1200
34d1a133
SM
12012013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1204 (ruby-comment-column): Follow the global default, by default.
1205 (ruby-smie-grammar): Add assignment syntax.
1206 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1207 open-paren, a comma, or a \.
1208 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1209 and line continuations.
1210 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1211 followed by implicit semi-colons. Add rule for string concatenation
1212 and for indentation at BOB.
1213 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1214
1215 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1216 calling next-sexp, since next-token may have skipped chars which
1217 next-sexp doesn't know should be skipped!
1218
6f6ab820
LL
12192013-10-05 Leo Liu <sdl.web@gmail.com>
1220
34d1a133
SM
1221 * progmodes/octave.el (octave-send-region):
1222 Call compilation-forget-errors.
6f6ab820 1223
34ca0f4c
XF
12242013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1225
1226 * vc/vc-svn.el (vc-svn-find-admin-dir):
1227 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1228 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1229 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1230 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1231
a27c1b72
SM
12322013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1235
258ab3bc
SM
12362013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * subr.el (read-passwd): Hide chars even when called within a context
1239 where after-change-functions is disabled (bug#15501).
1240 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1241 until we removed ourself from overriding-terminal-local-map.
1242
939fb29c
LL
12432013-10-04 Leo Liu <sdl.web@gmail.com>
1244
258ab3bc
SM
1245 * progmodes/octave.el (inferior-octave-mode):
1246 Call compilation-forget-errors.
939fb29c 1247
63bd7f35
XF
12482013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1249
1250 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1251
9e6229fa
MA
12522013-10-04 Michael Albinus <michael.albinus@gmx.de>
1253
1254 * net/secrets.el (secrets-create-collection): Add optional
1255 argument ALIAS. Use proper Label keyword. Append ALIAS as
1256 dbus-call-method argument. (Bug#15516)
1257
1dab32a3
LL
12582013-10-04 Leo Liu <sdl.web@gmail.com>
1259
1260 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1261 (inferior-octave-compilation-font-lock-keywords): New variables.
1262 (compilation-error-regexp-alist)
1263 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1264 (inferior-octave-mode): Use compilation-shell-minor-mode.
1265
6cad7ba3
JS
12662013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1267
1268 * minibuffer.el (completion--replace): Be careful that `end' might be
1269 a marker.
1270
acbadd00
DU
12712013-10-03 Daiki Ueno <ueno@gnu.org>
1272
1273 Add support for package signature checking.
1274 * emacs-lisp/package.el (url-http-file-exists-p)
1275 (epg-make-context, epg-context-set-home-directory)
1276 (epg-verify-string, epg-context-result-for)
1277 (epg-signature-status, epg-signature-to-string)
1278 (epg-check-configuration, epg-configuration)
1279 (epg-import-keys-from-file): Declare.
1280 (package-check-signature): New user option.
1281 (package-unsigned-archives): New user option.
1282 (package-desc): Add `signed' field.
1283 (package-load-descriptor): Set `signed' field if .signed file exists.
1284 (package--archive-file-exists-p): New function.
1285 (package--check-signature): New function.
1286 (package-install-from-archive): Check package signature.
1287 (package--download-one-archive): Check archive signature.
1288 (package-delete): Remove .signed file.
1289 (package-import-keyring): New command.
1290 (package-refresh-contents): Import default keyring.
1291 (package-desc-status): Add "unsigned" status.
1292 (describe-package-1, package-menu--print-info)
1293 (package-menu-mark-delete, package-menu--find-upgrades)
1294 (package-menu--status-predicate): Support "unsigned" status.
1295
adf2aa61
SM
12962013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1299 the new compilation scheme using the new byte-codes.
1300
1301 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1302 (byte-pophandler): New byte codes.
1303 (byte-goto-ops): Adjust accordingly.
1304 (byte-compile--use-old-handlers): New var.
1305 (byte-compile-catch): Use new byte codes depending on
1306 byte-compile--use-old-handlers.
1307 (byte-compile-condition-case--old): Rename from
1308 byte-compile-condition-case.
1309 (byte-compile-condition-case--new): New function.
1310 (byte-compile-condition-case): New function that dispatches depending
1311 on byte-compile--use-old-handlers.
1312 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1313 when we can.
1314
1315 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1316 Optimize under `condition-case' and `catch' if
1317 byte-compile--use-old-handlers is nil.
1318 (disassemble-offset): Handle new bytecodes.
1319
328a8179
SM
13202013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * subr.el (error): Use `declare'.
1323 (decode-char, encode-char): Use advertised-calling-convention instead
1324 of the docstring to discourage use of the `restriction' arg.
1325
15a1e936
DU
13262013-10-03 Daiki Ueno <ueno@gnu.org>
1327
1328 * epg.el (epg-verify-file): Add a comment saying that it does not
1329 notify verification error as a return value nor a signal.
1330 (epg-verify-string): Ditto.
1331
376f862a
KR
13322013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1333
1334 * progmodes/compile.el (compilation-start): Try globbing the arg to
1335 `cd' (bug#15417).
1336
a2f93a5f
MA
13372013-10-02 Michael Albinus <michael.albinus@gmx.de>
1338
1339 Sync with Tramp 2.2.8.
1340
1341 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1342 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1343 * net/trampver.el: Update release number.
1344
0daa0804
JD
13452013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1346
1347 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1348 and default-process-coding-system for darwin only.
1349
abd1ae34
SM
13502013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1351
1352 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1353
be4e325d
MH
13542013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1355
1356 * vc/vc-git.el (vc-git-grep): Disable pager.
1357
e9155c4a
DG
13582013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1359
494e898b
DG
1360 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1361 Use :url instead of :homepage, as per
1362 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1363
e9155c4a
DG
1364 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1365 non-nil, use `syntax-ppss' (Bug#15251).
1366
481a8e0f
RS
13672013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1368
be4e325d
MH
1369 * progmodes/octave.el (inferior-octave-startup-file):
1370 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1371
056453c6
DG
13722013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1373
be4e325d
MH
1374 * emacs-lisp/package.el (package-desc-from-define):
1375 Accept additional arguments as plist, convert them to an alist and store
1376 them in the `extras' slot.
056453c6
DG
1377 (package-generate-description-file): Convert extras alist back to
1378 plist and append to the `define-package' form arguments.
1379 (package--alist-to-plist): New function.
1380 (package--ac-desc): Add `extras' slot.
1381 (package--add-to-archive-contents): Check if the archive-contents
1382 vector is long enough, and if it is, pass its `extras' slot value
1383 to `package-desc-create'.
1384 (package-buffer-info): Call `lm-homepage', pass the returned value
1385 to `package-desc-from-define'.
1386 (describe-package-1): Render the homepage button (Bug#13291).
1387
be4e325d
MH
1388 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1389 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1390
832966e5
JD
13912013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1392
1393 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1394 and default-process-coding-system to utf-8-unix (Bug#15402).
1395
6cfe977d
XF
13962013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1397
1398 * subr.el (looking-back): Do not recommend using looking-back.
1399
38de11bd
AM
14002013-09-28 Alan Mackenzie <acm@muc.de>
1401
1402 Fix indentation/fontification of Java enum with "implements".
1403
1404 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1405 regexp which matches "implements", etc., in Java.
1406 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1407 specifier clauses coming after "enum".
1408 * progmodes/cc-fonts.el (c-font-lock-declarations)
1409 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1410 after "enum".
1411
1610938f
JD
14122013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1413
1414 * faces.el (region): Change ns_selection_color to
1415 ns_selection_fg_color, add ns_selection_bg_color.
1416
e090f499
LL
14172013-09-28 Leo Liu <sdl.web@gmail.com>
1418
4d2e94d1
LL
1419 * progmodes/octave.el (inferior-octave-completion-table)
1420 (inferior-octave-completion-at-point): Minor tweaks.
1421
e090f499
LL
1422 * textmodes/ispell.el (ispell-lookup-words): Rename from
1423 lookup-words. (Bug#15460)
1424 (lookup-words): Obsolete.
1425 (ispell-complete-word, ispell-command-loop): All uses changed.
1426
7e138a62
RS
14272013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1428
1429 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1430 (octave-mode-menu): Add octave-send-buffer.
1431 (octave-send-buffer): New function.
1432
5af5ed08
RS
14332013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1434
1435 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1436 octave-lookfor.
1437 (octave-mode-menu): Add octave-lookfor.
1438 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1439 octave-lookfor.
1440 (octave-lookfor): New function.
1441
3b7b2692
SM
14422013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/cl-macs.el:
1445 (cl--loop-destr-temps): Remove.
1446 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1447 its convention.
1448 (cl--loop-set-iterator-function): New function.
1449 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1450 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1451 Bind `it' with `let' instead of substituting it with `cl-subst'.
1452 (cl--unused-var-p): New function.
1453 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1454 Eliminate some unused variable warnings (bug#15326).
1455
529fb53f
TH
14562013-09-27 Tassilo Horn <tsdh@gnu.org>
1457
1458 * doc-view.el (doc-view-scale-reset): Rename from
1459 `doc-view-reset-zoom-level'.
1460 (doc-view-scale-adjust): New command.
1461 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1462 `doc-view-scale-adjust'.
1463
0550c95a
TH
14642013-09-26 Tassilo Horn <tsdh@gnu.org>
1465
1466 * doc-view.el (doc-view-reset-zoom-level): New command.
1467 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1468 zoom commands (bug#15466).
1469
6950f152
KH
14702013-09-26 Kenichi Handa <handa@gnu.org>
1471
1472 * international/quail.el (quail-help): Make it not a command.
1473
39587580
LL
14742013-09-26 Leo Liu <sdl.web@gmail.com>
1475
1476 * minibuffer.el (completion-all-sorted-completions): Make args
1477 optional as they are.
1478
00578659
DC
14792013-09-25 Daniel Colascione <dancol@dancol.org>
1480
1481 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1482 specs are and that they're not evaluated.
1483
0c173878
SS
14842013-09-24 Sam Steingold <sds@gnu.org>
1485
1486 * midnight.el (clean-buffer-list-kill-regexps)
1487 (clean-buffer-list-kill-buffer-names): Update for the new Man
1488 buffer naming which includes the object name.
1489
84998447
SM
14902013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1493 (eshell-parse-command, eshell-parse-pipeline): Use it since
1494 eshell-separate-commands requires a dynamic scoped var.
1495 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1496
33215353
LL
14972013-09-23 Leo Liu <sdl.web@gmail.com>
1498
1499 * autoinsert.el (auto-insert-alist): Make the value of
1500 lexical-binding match its file setting.
1501
57b16162
JB
15022013-09-23 Juanma Barranquero <lekktu@gmail.com>
1503
c8af4e67
JB
1504 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1505
57b16162
JB
1506 * autoarg.el (autoarg-kp-digit-argument):
1507 * electric.el (Electric-command-loop):
1508 * kmacro.el (kmacro-step-edit-insert):
1509 Do not set universal-argument-num-events.
1510
7186ba60
LL
15112013-09-22 Leo Liu <sdl.web@gmail.com>
1512
1513 * files.el (interpreter-mode-alist): Add octave.
1514
ece15004
AM
15152013-09-21 Alan Mackenzie <acm@muc.de>
1516
1517 C++: fontify identifier in declaration following "public:" correctly.
1518 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1519 to match "public", etc.
1520 (c-decl-prefix-re): Add ":" into the C++ value.
1521 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1522 bit. Add a check for a ":" preceded by "public", etc.
1523
75d83e22
EZ
15242013-09-21 Eli Zaretskii <eliz@gnu.org>
1525
1526 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1527 recognized by GDB 7.5 and later.
1528
d052d3bd
XF
15292013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1530
1531 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1532
31dca772
R
15332013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * subr.el (internal--call-interactively): New const.
1536 (called-interactively-p): Use it (bug#3984).
1537
98ccf24e
XF
15382013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1539
1540 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1541 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1542 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1543
c39cc7d1
SM
15442013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1547 (eshell-ls-orig-insert-directory): Remove.
1548 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1549 (eshell-ls-use-in-dired): Use advice-add/remove.
1550 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1551 Add `orig-fun' arg for use in :around advice.
1552 Make it check (redundantly) eshell-ls-use-in-dired.
1553
9a0289a2
GM
15542013-09-19 Glenn Morris <rgm@gnu.org>
1555
a2c501b8
GM
1556 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1557
c440407a
GM
1558 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1559
9a0289a2
GM
1560 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1561
85e05915
MA
15622013-09-19 Michael Albinus <michael.albinus@gmx.de>
1563
1564 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1565 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1566 (tramp-get-remote-python): New defuns.
1567 (tramp-get-remote-uid-with-perl)
1568 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1569 contributed by yary <not.com@gmail.com> (tiny change).
1570 (tramp-get-remote-uid-with-python)
1571 (tramp-get-remote-gid-with-python): New defuns. Python code
1572 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1573 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1574
ce503312
GM
15752013-09-19 Glenn Morris <rgm@gnu.org>
1576
f7544773
GM
1577 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1578
72fd2877
GM
1579 * eshell/em-unix.el (eshell-remove-entries):
1580 Rename argument to avoid name-clash with global `top-level'.
1581
336b5a56
GM
1582 * eshell/esh-proc.el (eshell-kill-process-function):
1583 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1584 (eshell-reset-after-proc): Remove unused arg `proc'.
1585
57a3a53d
GM
1586 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1587 (directory-files-and-attributes): Mark unused arg.
1588
3261d4af
GM
1589 * eshell/em-unix.el (eshell-remove-entries):
1590 Remove unused arg `path'. Update callers.
1591
8e51b5d0
GM
1592 * eshell/em-hist.el (eshell-hist-parse-arguments):
1593 Remove unused arg `silent'. Update callers.
1594
ce503312
GM
1595 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1596 Fix (f)boundp mix-up.
1597
1598 * eshell/em-smart.el (eshell-smart-scroll-window)
1599 (eshell-disable-after-change):
336b5a56 1600 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1601
ee3ce8a7
AM
16022013-09-18 Alan Mackenzie <acm@muc.de>
1603
1604 Fix fontification of type when followed by "const".
1605 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1606 "known" types from fontification.
1607
ec9177ba
GM
16082013-09-18 Glenn Morris <rgm@gnu.org>
1609
7bb3e768
GM
1610 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1611 (chart-face-list): Drop Emacsen without display-color-p.
1612
5148da15
GM
1613 * net/eww.el (libxml-parse-html-region): Declare.
1614 (eww-display-html): Explicit error if no libxml2 support.
1615
2f68e157
GM
1616 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1617
9019d095
GM
1618 * image.el (image-type-from-buffer, image-multi-frame-p):
1619 Remove --without-x warning/error.
67645389 1620
5f30349b 1621 * mouse.el (mouse-yank-primary):
45069b2e 1622 * term.el (term-mouse-paste):
5f30349b
GM
1623 Reorder to silence --without-x compilation.
1624
cd8edbbe
GM
1625 * mpc.el (doc-view-mode): Silence --without-x compilation.
1626
8a78544e
GM
1627 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1628 Silence --without-x compilation.
1629
12679bfd
GM
1630 * progmodes/gud.el (gud-find-file, gud-mode):
1631 Silence --without-x compilation.
1632 (tooltip-mode): Declare.
30810a05 1633
f0047cb9
GM
1634 * wdired.el (dired-backup-overwrite): Remove declaration.
1635 (wdired-mode-map): Add doc string.
1636
e740f9d2
GM
1637 * custom.el (x-get-resource): Declare.
1638
92d77c89
GM
1639 * eshell/em-glob.el (ange-cache):
1640 * eshell/em-unix.el (ange-cache): Declare.
1641
76e69577
GM
1642 * faces.el (x-display-list, x-open-connection, x-get-resource):
1643 Declare.
7e58af4b
GM
1644
1645 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1646 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1647 Declare.
76e69577 1648
4bd4c0af 1649 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1650
ffb82dbd
GM
1651 * net/gnutls.el (gnutls-log-level): Declare.
1652
986ed135
GM
1653 * net/shr.el (image-size, image-animate): Declare.
1654
e740f9d2
GM
1655 * simple.el (font-info): Declare.
1656
d2f3e9f8
GM
1657 * subr.el (x-popup-dialog): Declare.
1658
047a1a4c
GM
1659 * term/common-win.el (x-select-enable-primary)
1660 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1661 Declare.
1662
f4a1d572
GM
1663 * term/ns-win.el (x-handle-args): Declare.
1664
e843de77
GM
1665 * term/x-win.el (x-select-enable-clipboard): Declare.
1666
5fa89513
GM
1667 * term/w32-win.el (create-default-fontset): Declare.
1668
38702b5b
GM
1669 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1670 Declare.
1671
e740f9d2
GM
1672 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1673 (fit-frame-to-buffer): Explicit error if --without-x.
1674 (mouse-autoselect-window-select): Silence compiler.
1675
49a053fc
GM
1676 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1677
1678 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1679 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1680 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1681 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1682 Remove unused local variables.
1683
1684 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1685
ec9177ba
GM
1686 * textmodes/two-column.el: Make 2C-split work for --without-x.
1687 (scroll-bar-columns): Autoload.
1688 (top-level): Require fringe when compiling.
1689
9f25cb77
LL
16902013-09-18 Leo Liu <sdl.web@gmail.com>
1691
1692 * subr.el (add-hook): Robustify to handle closure as well.
1693
2b42da98
GM
16942013-09-17 Glenn Morris <rgm@gnu.org>
1695
1696 * simple.el (messages-buffer-mode-map): Unbind "g".
1697
e8b66a6a
SM
16982013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1699
9c0ad4f7
SM
1700 * help-mode.el (help-mode-finish): Use derived-mode-p.
1701 Remove obsolete highlighting.
1702
7a806dfb
SM
1703 * play/life.el (life-mode): Use define-derived-mode. Derive from
1704 special-mode.
1705 (life): Let-bind inhibit-read-only.
1706 (life-setup): Avoid `setq'. Use `life-mode'.
1707
96dbf5a8
SM
1708 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1709 which should not be needed any more.
1710 (package-menu-refresh, package-menu-describe-package): Use user-error.
1711
e8b66a6a
SM
1712 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1713 (eshell-post-rewrite-command-hook): Make obsolete.
1714 (eshell-parse-command): Simplify.
1715 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1716 (eshell--cmd): Declare.
1717 (eshell-parse-pipeline): Remove unused var `final-p'.
1718 Pass a dynvar to eshell-post-rewrite-command-hook.
1719 Implement the new eshell-post-rewrite-command-function.
1720 (eshell-invoke-directly): Remove unused arg `input'.
1721 * eshell/esh-io.el (eshell-io-initialize):
1722 Use eshell-post-rewrite-command-function (bug#15399).
1723 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1724 adjust to new calling convention.
1725 (eshell-create-handles): Rename args to avoid clashing with dynvar
1726 `standard-output'.
1727
90582f05
GM
17282013-09-17 Glenn Morris <rgm@gnu.org>
1729
1730 * simple.el (messages-buffer-mode): New major mode.
1731 (messages-buffer): New function.
1732 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1733 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1734 (ert-run-test): Use `messages-buffer' function.
90582f05 1735 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1736 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1737 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1738
39eb0cb5 17392013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1740
1741 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1742
1f1e06e2
SM
1743 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1744
70568a90
SM
17452013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1746
504a0381
SM
1747 * icomplete.el (icomplete-in-buffer): New var.
1748 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1749 vars and replace them with functions.
1750 (icomplete-minibuffer-setup): Adjust accordingly.
1751 (icomplete--completion-table, icomplete--completion-predicate)
1752 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1753 New functions.
1754 (icomplete-forward-completions, icomplete-backward-completions)
1755 (icomplete-simple-completing-p, icomplete-exhibit)
1756 (icomplete-completions): Use them.
1757 (icomplete--in-region-buffer): New var.
1758 (icomplete--in-region-setup): New function.
1759 (icomplete-mode): Use it.
1760
70568a90
SM
1761 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1762 (bug#15379).
1763 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1764 return args and options.
1765 (eshell-eval-using-options): Use the new return value of
1766 eshell--do-opts to set the options's vars in their scope.
1767 (eshell--set-option): Rename from eshell-set-option.
1768 Add arg `opt-vals'.
1769 (eshell--process-option): Rename from eshell-process-option.
1770 Add arg `opt-vals'.
1771 (eshell--process-args): Use an `opt-vals' alist to store the options's
1772 values during their processing and return them additionally to the
1773 remaining args.
1774
578c21bc
DG
17752013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1778 continuation character an operator, as far as indentation is
1779 concerned (Bug#15369).
1780
c089653d
MR
17812013-09-15 Martin Rudalics <rudalics@gmx.at>
1782
1783 * window.el (window--state-put-2): Don't process buffer state
1784 when buffer doesn't exist any more (Bug#15382).
1785
1e53bb4b
GM
17862013-09-15 Glenn Morris <rgm@gnu.org>
1787
30753242
GM
1788 * eshell/em-unix.el (eshell/rm):
1789 Make -f ignore missing files. (Bug#15373)
1790
1e53bb4b
GM
1791 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1792 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1793 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1794
0d8863b3
GM
17952013-09-14 Glenn Morris <rgm@gnu.org>
1796
1797 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1798
d3fc6549
GM
17992013-09-13 Glenn Morris <rgm@gnu.org>
1800
1801 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1802 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1803
fcd42c11
DA
18042013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1805
1806 * frame.el (x-focus-frame): Mark as declared in frame.c.
1807
7830899f
SM
18082013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * ls-lisp.el: Use advice-add.
1811 (original-insert-directory): Remove.
1812 (ls-lisp--insert-directory): Rename from insert-directory; add
1813 `orig-fun' argument.
1814 (insert-directory): Advise.
1815
84387cd2
EZ
18162013-09-13 Eli Zaretskii <eliz@gnu.org>
1817
1818 * term.el (term-emulate-terminal): Decode the command string
1819 before passing it to term-command-hook. (Bug#15337)
1820
35ffc6ba
GM
18212013-09-13 Glenn Morris <rgm@gnu.org>
1822
5c3f9bcc
GM
1823 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1824
2ada368a
GM
1825 * eshell/esh-ext.el (eshell-search-path): Declare.
1826
fcef2e13
GM
1827 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1828 Otherwise an error occurs if eshell-dirs module not loaded.
1829
35ffc6ba
GM
1830 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1831
35c3d36e
MA
18322013-09-13 Michael Albinus <michael.albinus@gmx.de>
1833
1834 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1835 `tramp-check-proper-host'. Check for a valid method name.
1836
1837 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1838 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1839 * net/tramp-sh.el (tramp-maybe-open-connection):
1840 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1841
1842 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1843 also for hash values.
1844
ae5e4c48
SM
18452013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1846
379add74
SM
1847 * term/ns-win.el (parameters): Don't declare as dynamic.
1848 (before-make-frame-hook): Don't add ineffective function.
1849
ae5e4c48
SM
1850 * eshell/*.el: Use lexical-binding (bug#15231).
1851
b5623270
KH
18522013-09-12 Kenichi Handa <handa@gnu.org>
1853
ae5e4c48 1854 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1855
30213927
GM
18562013-09-12 Glenn Morris <rgm@gnu.org>
1857
be94d713 1858 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1859 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1860
44915370
GM
1861 * subr.el (do-after-load-evaluation): Also give compiler warnings
1862 when obsolete files are used (except by obsolete files).
1863
a6ae021f
GM
1864 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1865 in the status output, assume `filename' is the first. (Bug#15322)
1866
40e64f0c
GM
1867 * vc/vc.el (vc-deduce-fileset): Doc fix.
1868
16d9f896
GM
1869 * calc/calc-help.el (Info-goto-node):
1870 * progmodes/cperl-mode.el (Info-find-node):
1871 * vc/ediff.el (Info-goto-node): Update declarations.
1872
dea01c6e
GM
1873 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1874
759880bf 1875 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1876 (vc-bzr-pull): Require vc-dispatcher.
1877 * vc/vc-git.el (vc-compilation-mode): Declare.
1878 (vc-git-pull): Require vc-dispatcher.
1879
08d66420
GM
1880 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1881
30b626e9
GM
1882 * progmodes/octave.el (help-button-action): Declare.
1883
8c05cb10
GM
1884 * shell.el (shell-directory-tracker): Output error as a message
1885 rather than just returning it as a string.
1886 (shell-process-pushd): Remove useless use of message.
1887
30213927
GM
1888 * dframe.el (dframe-timer-fn):
1889 * files.el (dir-locals-read-from-file):
1890 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1891 (mpc-format):
1892 * reveal.el (reveal-post-command):
1893 * saveplace.el (load-save-place-alist-from-file):
1894 * shell.el (shell-resync-dirs):
1895 * w32-common-fns.el (x-get-selection-value):
1896 * emacs-lisp/copyright.el (copyright-find-copyright):
1897 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1898 * emulation/tpu-edt.el (tpu-copy-keyfile):
1899 * play/bubbles.el (bubbles--mark-neighbourhood):
1900 * progmodes/executable.el
1901 (executable-make-buffer-file-executable-if-script-p):
1902 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1903
d3b049e6
SM
19042013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1905
170266d0
SM
1906 Cleanup Eshell to rely less on dynamic scoping.
1907 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1908 last-value, and ext-command here. Bind `args' closer to `body'.
1909 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1910 (eshell--args): Declare new dynamic var.
1911 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1912 last-value, and ext-command. Pass `args' to `body'.
1913 (eshell-process-args): Bind eshell--args.
1914 (eshell-set-option): Use eshell--args.
1915 * eshell/eshell.el (eshell): Use derived-mode-p.
1916 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1917 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1918 (eshell-glob-function): Declare.
1919 * eshell/esh-util.el: Require cl-lib.
1920 (eshell-read-hosts-file): Avoid add-to-list.
1921 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1922 `err'.
1923 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1924 Declare.
1925 (eshell/diff): Remove unused var `err'.
1926 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1927 `killflag'.
1928 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1929 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1930 first use.
1931 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1932 Move declaration before first use.
1933 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1934 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1935 rely on cl-return.
1936
56834f3b
GM
19372013-09-12 Glenn Morris <rgm@gnu.org>
1938
1939 * term/ns-win.el (global-map): Remove binding for ispell-next,
1940 deleted 1999-05-29. (Bug#15357)
1941
5c91a2b8
GM
19422013-09-11 Glenn Morris <rgm@gnu.org>
1943
da712f22
GM
1944 * echistory.el (electric-command-history): Remove call to deleted func.
1945
512e4cdc
GM
1946 * play/landmark.el (landmark-mode): Fix typos.
1947
d3506ca5
GM
1948 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1949 Check cvs-sort-ignore-file is bound.
1950
5c91a2b8
GM
1951 * savehist.el: No need for cl when compiling on Emacs.
1952
feeff482
SM
19532013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1954
656bd483
SM
1955 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1956 (bug#15338).
d3b049e6
SM
1957 (eshell-self-insert-command, eshell-send-invisible):
1958 Remove unused argument.
656bd483
SM
1959 (eshell-handle-control-codes): Remove unused var `orig'.
1960 Avoid delete-backward-char.
1961
feeff482
SM
1962 * files.el (set-auto-mode): Simplify a bit further.
1963
2a08047a
GM
19642013-09-11 Glenn Morris <rgm@gnu.org>
1965
1966 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1967 (set-auto-mode): Don't regexp-quote elements.
1968 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1969 * progmodes/cc-mode.el (interpreter-mode-alist):
1970 * progmodes/ruby-mode.el (interpreter-mode-alist):
1971 Revert previous change.
1972
34675540
SM
19732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1b3b87df
SM
1975 * play/snake.el (snake-mode):
1976 * play/mpuz.el (mpuz-mode):
1977 * play/landmark.el (lm-mode):
1978 * play/blackbox.el (blackbox-mode):
1979 * play/5x5.el (5x5-mode):
1980 * obsolete/options.el (Edit-options-mode):
1981 * net/quickurl.el (quickurl-list-mode):
1982 * net/newst-treeview.el (newsticker-treeview-mode):
1983 * mail/rmailsum.el (rmail-summary-mode):
1984 * mail/mspools.el (mspools-mode):
1985 * locate.el (locate-mode):
1986 * ibuffer.el (ibuffer-mode):
1987 * emulation/ws-mode.el (wordstar-mode):
1988 * emacs-lisp/debug.el (debugger-mode):
1989 * array.el (array-mode):
1990 * net/eudc.el (eudc-mode): Use define-derived-mode.
1991 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1992 Move initialization into declaration.
1993 (mairix-searches-mode): Use define-derived-mode.
1994 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1995 (eudc-edit-hotlist): Use dolist.
1996 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1997 (Man-mode): Use define-derived-mode.
1998 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1999 (Info-edit-mode): Use define-derived-mode.
2000 (Info-cease-edit): Use Info-mode.
2001 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2002 into declaration.
2003 (eshell-mode): Use define-derived-mode.
2004 * chistory.el (command-history-mode-map): Rename from
2005 command-history-map.
2006 (command-history-mode): Use define-derived-mode.
da712f22 2007 (Command-history-setup): Remove function.
1b3b87df
SM
2008 * calc/calc.el (calc-trail-mode-map): New var.
2009 (calc-trail-mode): Use define-derived-mode.
2010 (calc-trail-buffer): Set calc-main-buffer manually.
2011 * bookmark.el (bookmark-insert-annotation): New function.
2012 (bookmark-edit-annotation): Use it.
2013 (bookmark-edit-annotation-mode): Make it a proper major mode.
2014 (bookmark-send-edited-annotation): Use derived-mode-p.
2015 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2016 closer to its ideal place. Use \' to match EOS.
2017
34675540
SM
2018 * profiler.el (profiler-calltree-find): Use function-equal.
2019
6a5c15d9
GM
20202013-09-10 Glenn Morris <rgm@gnu.org>
2021
1af4c220
GM
2022 * files.el (interpreter-mode-alist): Convert to regexps.
2023 (set-auto-mode): Adapt for this. (Bug#15306)
2024 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2025 Comment out unused variable.
2026 * progmodes/cc-mode.el (interpreter-mode-alist):
2027 * progmodes/python.el (interpreter-mode-alist):
2028 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2029 * progmodes/sh-script.el (sh-set-shell):
2030 No longer use interpreter-mode-alist to get list of shells.
2031
6a5c15d9
GM
2032 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2033
8c27f5ff
SM
20342013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2035
02ef6c1a 2036 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2037 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2038 Bind switch-frame explicitly. Replace universal-argument-minus with
2039 a conditional binding.
2040 (universal-argument-num-events, saved-overriding-map): Remove.
2041 (restore-overriding-map): Remove.
2042 (universal-argument--mode): Rename from save&set-overriding-map,
2043 and rewrite.
2044 (universal-argument, universal-argument-more, negative-argument)
2045 (digit-argument): Adjust accordingly.
2046 (universal-argument-minus): Remove.
2047 (universal-argument-other-key): Remove.
2048
8c27f5ff
SM
2049 * subr.el (with-demoted-errors): Add `format' argument.
2050
6480194c
MA
20512013-09-10 Michael Albinus <michael.albinus@gmx.de>
2052
2053 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2054 `tramp-cleanup-connection'.
2055
2056 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2057 parameters KEEP-DEBUG and KEEP-PASSWORD.
2058
2059 * net/tramp.el (tramp-file-name-handler):
2060 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2061 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2062 (tramp-maybe-open-connection):
8c27f5ff
SM
2063 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2064 Use `tramp-cleanup-connection'.
6480194c 2065
8c27f5ff
SM
2066 * net/tramp-sh.el (tramp-maybe-open-connection):
2067 Catch 'uname-changed inside the progress reporter.
6480194c 2068
e5e916d8
GM
20692013-09-10 Glenn Morris <rgm@gnu.org>
2070
9a2c9b47
GM
2071 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2072
e5e916d8
GM
2073 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2074 returns "alternate access method" in mode (eg "-rw-r--r--.").
2075
144e38fe
GM
20762013-09-08 Glenn Morris <rgm@gnu.org>
2077
2078 * saveplace.el (load-save-place-alist-from-file):
2079 Demote errors. (Bug#15305)
2080
af9ff9e8
MA
20812013-09-08 Michael Albinus <michael.albinus@gmx.de>
2082
2083 Improve compatibility with older Emacsen, and XEmacs.
2084
2085 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2086 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2087 (with-tramp-progress-reporter): Do not let-bind `result'.
2088 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2089 (tramp-handle-make-auto-save-file-name): New function, moved from
2090 tramp-sh.el.
2091
2092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2093 for `make-auto-save-file-name'.
8c27f5ff
SM
2094 (tramp-adb--gnu-switches-to-ash):
2095 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2096
2097 * net/tramp-cache.el (tramp-cache-print): Call
2098 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2099
2100 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2101 bound. It isn't for XEmacs.
2102
8c27f5ff
SM
2103 * net/tramp-compat.el (tramp-compat-copy-file):
2104 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2105 (tramp-compat-replace-regexp-in-string): New defun.
2106
2107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2108 for `make-auto-save-file-name'.
2109 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2110 `copy-file'.
2111 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2112 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2113 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2114
8c27f5ff
SM
2115 * net/tramp-gw.el (tramp-gw-open-network-stream):
2116 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2117
8c27f5ff
SM
2118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2119 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2120 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2121 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2122 (tramp-sh-file-inotifywait-process-filter):
2123 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2124 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2125
2126 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2127 for `make-auto-save-file-name'.
8c27f5ff
SM
2128 (tramp-smb-handle-copy-directory):
2129 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2130 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2131 (tramp-smb-handle-copy-file): Improve error message.
2132 (tramp-smb-handle-rename-file): Rename directly only in case
2133 `newname' does not exist yet. This is a restriction of smbclient.
2134 (tramp-smb-maybe-open-connection): Rerun the function only when
2135 `auth-sources' is non-nil.
2136
0ca754d0
KH
21372013-09-08 Kenichi Handa <handa@gnu.org>
2138
2139 * international/characters.el: Set category "^" (Combining) for
2140 more characters.
2141
e8dd0787
AM
21422013-09-07 Alan Mackenzie <acm@muc.de>
2143
2144 Correctly fontify Java class constructors.
2145 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2146 in Java Mode.
2147 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2148 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2149 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2150 "typeless" declaration there.
2151
f2f248e7
RW
21522013-09-07 Roland Winkler <winkler@gnu.org>
2153
2154 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2155 field subtitle for entry type book.
2156
67982e2b
SM
21572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * minibuffer.el: Make minibuffer-complete call completion-in-region
2160 rather than other way around.
2161 (completion--some, completion-pcm--find-all-completions):
2162 Don't delay signals when debugging.
2163 (minibuffer-completion-contents): Beware fields within the
2164 minibuffer contents.
2165 (completion-all-sorted-completions): Use defvar-local.
2166 (completion--do-completion, completion--cache-all-sorted-completions)
2167 (completion-all-sorted-completions, minibuffer-force-complete):
2168 Add args `beg' and `end'.
2169 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2170 (minibuffer-complete): Use completion-in-region.
2171 (completion-complete-and-exit): New fun, extracted from
2172 minibuffer-complete-and-exit.
2173 (minibuffer-complete-and-exit): Use it.
2174 (completion--complete-and-exit): Rename from
2175 minibuffer--complete-and-exit.
2176 (completion-in-region--single-word): New function, extracted from
2177 minibuffer-complete-word.
2178 (minibuffer-complete-word): Use it.
2179 (display-completion-list): Make `common-substring' argument obsolete.
2180 (completion--in-region): Call completion--in-region-1 instead of
2181 minibuffer-complete.
2182 (completion-help-at-point): Pass boundaries to
2183 minibuffer-completion-help as args rather than via an overlay.
2184 (completion-pcm--string->pattern): Use `any-delim'.
2185 (completion-pcm--optimize-pattern): New function.
2186 (completion-pcm--pattern->regex): Handle `any-delim'.
2187 * icomplete.el (icomplete-forward-completions)
2188 (icomplete-backward-completions, icomplete-completions):
2189 Adjust calls to completion-all-sorted-completions and
2190 completion--cache-all-sorted-completions.
2191 (icomplete-with-completion-tables): Default to t.
2192 * emacs-lisp/crm.el (crm--current-element): Rename from
2193 crm--select-current-element. Don't put an overlay but return the
2194 boundaries instead.
2195 (crm--completion-command): Take two new args to bind to the boundaries.
2196 (crm-completion-help): Adjust accordingly.
2197 (crm-complete): Use completion-in-region.
2198 (crm-complete-word): Use completion-in-region--single-word.
2199 (crm-complete-and-exit): Use completion-complete-and-exit.
2200
e17d94a5
SM
22012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2204 than dynamically.
2205
96727100
JL
22062013-09-06 Juri Linkov <juri@jurta.org>
2207
2208 * info.el (Info-display-images-node): When image file doesn't exist
2209 display text version of the image if it's provided in the Info file.
2210 Otherwise, display the location of missing image from SRC attribute.
2211 Add help-echo text property from ALT attribute. (Bug#15279)
2212
86cf7329
SM
22132013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2216 (edit-abbrevs-mode): Use define-derived-mode.
2217
2218 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2219 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2220 that it's defined.
2221 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2222 Use define-derived-mode.
2223
2224 * epg.el (epg-start-encrypt): Minor CSE simplification.
2225
816244a2
WX
22262013-09-06 William Xu <william.xwl@gmail.com>
2227
2228 * arc-mode.el: Add support for 7za (bug#15264).
2229 (archive-7z-program): New var.
2230 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2231 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2232 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2233
1486fa31
MA
22342013-09-06 Michael Albinus <michael.albinus@gmx.de>
2235
2236 Remove URL syntax.
2237
2238 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2239 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2240 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2241 (tramp-postfix-host-format, tramp-file-name-regexp)
2242 (tramp-completion-file-name-regexp)
2243 (tramp-completion-dissect-file-name)
2244 (tramp-handle-substitute-in-file-name): Remove 'url case.
2245 (tramp-file-name-regexp-url)
2246 (tramp-completion-file-name-regexp-url): Remove constants.
2247
39785324
GM
22482013-09-06 Glenn Morris <rgm@gnu.org>
2249
2250 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2251
1f896cb7
DG
22522013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2253
2254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2255 keywords" below "here-doc beginnings" (Bug#15270).
2256
c0458e0b
SM
22572013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * subr.el (pop): Use `car-safe'.
2260 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2261 to detect unused `pop' return value.
2262
2263 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2264 var `block-regexp'.
2265 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2266 (python-fill-string): Remove unused var `marker'.
2267 (python-skeleton-add-menu-items): Remove unused var `items'.
2268
2269 * international/mule-cmds.el: Require CL.
2270 (find-coding-systems-for-charsets): Avoid add-to-list.
2271 (sanitize-coding-system-list): New function, extracted from
2272 select-safe-coding-system-interactively.
2273 (select-safe-coding-system-interactively): Use it.
2274 (read-input-method-name): Accept symbols for `default'.
2275
2276 * emacs-lisp/advice.el (defadvice): Add indent rule.
2277
6c42fc3e
DH
22782013-09-05 Daniel Hackney <dan@haxney.org>
2279
2280 * dired-x.el:
2281 * net/ange-ftp.el:
2282 * net/browse-url.el:
2283 * net/dbus.el:
2284 * net/eudc.el:
2285 * net/eudcb-ldap.el:
2286 * net/eww.el:
2287 * net/imap.el:
2288 * printing.el:
2289 * vc/ediff-diff.el:
2290 * vc/ediff-init.el:
2291 * vc/ediff-merg.el:
2292 * vc/ediff-mult.el:
2293 * vc/ediff-util.el:
2294 * vc/ediff-wind.el:
2295 * vc/ediff.el:
2296 * vc/emerge.el:
2297 * vc/pcvs.el:
2298 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2299 byte compiler. Remove some unused let-bound variables.
2300
4c528aab
SM
23012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2304 a "ref-cell", since it gets better optimized (bug#14883).
2305
bd15c390
GM
23062013-09-05 Glenn Morris <rgm@gnu.org>
2307
2308 * progmodes/cc-awk.el (c-forward-sws): Declare.
2309
1c3ac2e5
GM
23102013-09-04 Glenn Morris <rgm@gnu.org>
2311
2312 * generic-x.el [rul-generic-mode]: Require cc-mode.
2313 (c++-mode-syntax-table): Declare.
2314 (rul-generic-mode-syntax-table): Init in the defvar.
2315
52b1cc79
SM
23162013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2317
c828af56
SM
2318 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2319 (vc-do-command, vc-set-async-update):
2320 * vc/vc-mtn.el (vc-mtn-dir-status):
2321 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2322 (vc-hg-pull, vc-hg-merge-branch):
2323 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2324 (vc-git-merge-branch):
2325 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2326 (vc-cvs-dir-status-files):
2327 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2328 (vc-bzr-dir-status-files):
2329 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2330 * vc/vc-annotate.el: Use lexical-binding.
2331 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2332 (vc-sentinel-movepoint): Declare.
2333 (vc-annotate): Don't use `goto-line'.
2334 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2335 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2336 (vc-sentinel-movepoint): Declare.
2337 * vc/vc-svn.el: Use lexical-binding.
2338 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2339 * vc/vc-sccs.el:
2340 * vc/vc-rcs.el: Use lexical-binding.
2341
abae272c
SM
2342 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2343 `deleted'. Don't drop errors silently.
2344
52b1cc79
SM
2345 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2346
63191d9f
XF
23472013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2348
2349 * vc/vc.el (vc-ignore): Rewrite.
2350 (vc-default-ignore): New function.
2351 (vc-default-ignore-completion-table): Use find-ignore-file.
2352
2353 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2354 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2355 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2356 Remove. Most code moved to vc.el.
2357
9d3f707c
SM
23582013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2359
abae272c 2360 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2361 * net/tramp-smb.el (tramp-smb-get-file-entries):
2362 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2363 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2364
fde38d49
SM
2365 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2366 Update call to it.
2367 (eww-change-select): Remove unused var `properties'.
2368 (eww-make-unique-file-name): Remove unused var `base'.
2369
2370 * finder.el (finder-compile-keywords): Don't mess with windows.
2371
84032db7
SM
2372 * calculator.el (calculator-funcall): Fix typo in last change.
2373
724f5e41
SM
2374 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2375
14b511d4
SM
2376 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2377 <pkg>-autoloads.el file stop us.
2378
9d3f707c 2379 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2380 warnings, and factor out common code.
9d3f707c 2381
88527bc0
DG
23822013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2383
2384 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2385 two-character operators and whether the character preceding them
2386 changes their meaning (Bug#15208).
2387
96edb677
FEG
23882013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2389
2390 Format code sent to Python shell for robustness.
9d3f707c
SM
2391 * progmodes/python.el (python-shell-buffer-substring):
2392 New function.
96edb677
FEG
2393 (python-shell-send-region, python-shell-send-buffer): Use it.
2394
95beaef3
MA
23952013-09-02 Michael Albinus <michael.albinus@gmx.de>
2396
2397 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2398 * net/tramp.el (tramp-user-error): ... here.
2399 (tramp-find-method, tramp-check-proper-host)
2400 (tramp-dissect-file-name, tramp-debug-message)
2401 (tramp-handle-shell-command):
2402 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2404
2405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2406
f167c27b
MR
24072013-09-02 Martin Rudalics <rudalics@gmx.at>
2408
2409 * avoid.el (mouse-avoidance-point-position)
2410 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2411 returns nil.
2412
cd16c5f1
FEG
24132013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2414
2415 * progmodes/python.el (python-shell-completion-get-completions):
2416 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2417 (python-nav-if-name-main): New command.
cd16c5f1 2418
e73c3a0d
GM
24192013-09-01 Glenn Morris <rgm@gnu.org>
2420
f8ccce03
GM
2421 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2422 Avoid leading space in $wins. Otherwise the sed command used by
2423 eg compile-main ends up containing "/*.el". (Bug#15170)
2424
e73c3a0d
GM
2425 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2426
415f808e
GM
24272013-08-30 Glenn Morris <rgm@gnu.org>
2428
2429 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2430 Fix is-this-a-directory logic. (Bug#15220)
2431
f069bba8
SM
24322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2433
112798c1
SM
2434 * textmodes/css-mode.el: Use SMIE.
2435 (css-smie-grammar): New var.
2436 (css-smie--forward-token, css-smie--backward-token)
2437 (css-smie-rules): New functions.
2438 (css-mode): Use them.
2439 (css-navigation-syntax-table): Remove var.
2440 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2441 (css-indent-calculate, css-indent-line): Remove functions.
2442
2443 Misc changes to reduce use of `(lambda...); and other cleanups.
2444 * cus-edit.el: Use lexical-binding.
2445 (customize-push-and-save, customize-apropos)
2446 (custom-buffer-create-internal): Use closures.
2447 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2448 * progmodes/ada-xref.el: Use setq.
2449 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2450 * dframe.el: Use lexical-binding.
2451 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2452 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2453 * descr-text.el: Use lexical-binding.
2454 (describe-text-widget, describe-text-sexp, describe-property-list):
2455 Use closures.
2456 * comint.el (comint-history-isearch-push-state): Use a closure.
2457 * calculator.el: Use lexical-binding.
2458 (calculator-number-to-string): Make it work with lexical-binding.
2459 (calculator-funcall): Same and use cl-letf.
2460
2da4c3ab
SM
2461 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2462 (lisp--company-doc-string, lisp--company-location): New functions.
2463 (lisp-completion-at-point): Use them to improve Company support.
2464
f069bba8
SM
2465 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2466 params of lambda expressions.
2467 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2468 (ruby-smie--opening-pipe-p): New function.
2469 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2470 symbols and matched |...| for formal params.
2471 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2472 from being treated as hanging. Handle "rescue".
2473
6758b6a8
GM
24742013-08-29 Glenn Morris <rgm@gnu.org>
2475
2476 * progmodes/cc-engine.el (c-pull-open-brace):
2477 Move definition before use.
2478
e8dfd197
SM
24792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2482 are immutable. Don't use `unsafe' any more.
2483 (cl--defsubst-expand): Don't substitute at the same time as keeping
2484 a residual unused let-binding. Don't use `unsafe' any more.
2485
cc585c96
GM
24862013-08-29 Glenn Morris <rgm@gnu.org>
2487
ba579ea6
GM
2488 * calendar/cal-china.el (calendar-chinese-year-cache):
2489 Recenter on 2015.
2490
8201a87e
GM
2491 * nxml/nxml-util.el (nxml-debug-clear-inside):
2492 Use cl-loop rather than loop.
2493
6ee877c7
GM
2494 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2495
cc585c96
GM
2496 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2497
27be8d39
GM
24982013-08-28 Glenn Morris <rgm@gnu.org>
2499
397440a1
GM
2500 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2501
2bb762d4
GM
2502 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2503
27be8d39
GM
2504 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2505
2d69b99e
SM
25062013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2507
f663baa7
SM
2508 * simple.el (repeat-complex-command--called-interactively-skip):
2509 New function.
2510 (repeat-complex-command): Use it (bug#14136).
2511
dd4f8b74
SM
2512 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2513 (c-define-abbrev-table): Add `doc' argument.
2514 (c-mode-abbrev-table, c++-mode-abbrev-table)
2515 (objc-mode-abbrev-table, java-mode-abbrev-table)
2516 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2517 (awk-mode-abbrev-table): Use it.
2518 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2519 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2520 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2521 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2522 Move initialization into the declaration; and remove any
2523 autoload cookie.
2524
b58969f7
SM
2525 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2526 and dynamic let binding.
2527
4021d6a6
SM
2528 * vc/smerge-mode.el: Remove redundant :group args.
2529
2d69b99e
SM
2530 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2531 to load-path.
2532
274919fd
JL
25332013-08-28 Juri Linkov <juri@jurta.org>
2534
2535 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2536 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2537 (isearch-other-meta-char): Handle an undefined shifted printing
2538 character by downshifting it. (Bug#15200)
2539
121f8c95
JL
25402013-08-28 Juri Linkov <juri@jurta.org>
2541
2542 * isearch.el (isearch-search): Change regexp error message for
2543 non-regexp searches. (Bug#15166)
2544
50b13cde
PE
25452013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2546
2547 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2548 for portability to hosts where /bin/sh has problems.
2549
95888bca
SM
25502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2553
bbe558f1
JL
25542013-08-27 Juri Linkov <juri@jurta.org>
2555
2556 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2557 in the keyboard macro. (Bug#15126)
2558
26f98a7d
JL
25592013-08-27 Juri Linkov <juri@jurta.org>
2560
2561 * isearch.el (isearch-quote-char): Comment out converting unibyte
2562 to multibyte, thus syncing with its `quoted-insert' counterpart.
2563 (Bug#15166)
2564
7c97d35e
MR
25652013-08-27 Martin Rudalics <rudalics@gmx.at>
2566
2567 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2568 argument in call of get-largest-window (Bug#15185).
2569 Reported by Stephen Leake.
7c97d35e 2570
a0b5606e 25712013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2572
2573 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2574
9e89d835
SM
25752013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2578 from a matcher-function unless there's no more matches (bug#15161).
2579
78fc2530
MA
25802013-08-26 Michael Albinus <michael.albinus@gmx.de>
2581
2582 * minibuffer.el: Revert change from 2013-08-20.
2583
2584 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2585 with text property `tramp-default', if appropriate.
2586 (tramp-check-proper-host): New defun.
2587 (tramp-dissect-file-name): Do not check hostname. Revert change
2588 of 2013-03-18.
2589 (tramp-backtrace): Make VEC-OR-PROC optional.
2590
2591 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2592 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2593 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2594 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2595 Apply `tramp-check-proper-host'.
78fc2530 2596
edca97cd
TH
25972013-08-26 Tassilo Horn <tsdh@gnu.org>
2598
2599 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2600 lambda expression in order to have `describe-variable' display it.
2601
df54bcbd
MA
26022013-08-26 Michael Albinus <michael.albinus@gmx.de>
2603
2604 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2605 BUF can be optional. (Bug#15186)
2606
eed99101
XF
26072013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2608
2609 * progmodes/flymake.el (flymake-get-real-file-name-function):
2610 Fix broken customization. (Bug#15184)
2611
b5eb9035
AM
26122013-08-25 Alan Mackenzie <acm@muc.de>
2613
8a51e842
AM
2614 Improve indentation of bracelists defined by macros (without "=").
2615
2616 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2617 expansion begins with "{", regard it as bracelist when it doesn't
2618 contain a ";".
2619
869455d4
AM
2620 Parse C++ inher-intro when there's a template split over 2 lines.
2621
2622 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2623 rigorously the search for "class" etc. followed by ":".
2624
2625 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2626 random languages a regexp which never matches rather than nil.
2627
b5eb9035
AM
2628 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2629
2630 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2631 (c-awk-regexp-one-line-possibly-open-char-list-re)
2632 (c-awk-one-line-possibly-open-regexp-re)
2633 (c-awk-one-line-non-syn-ws*-re): Remove.
2634 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2635 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2636 (c-awk-space*-unclosed-regexp-/-re): New constants.
2637 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2638 aren't regexp delimiters.
2639
2640 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2641 handling for a rare situation in AWK Mode involving unterminated
2642 strings/regexps.
2643
61611d54
GM
26442013-08-23 Glenn Morris <rgm@gnu.org>
2645
2d85dc34
GM
2646 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2647
cb8d2612
GM
2648 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2649
bb35f42f
GM
2650 * files.el (create-file-buffer): If the result would begin with
2651 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2652
b9808e77
SM
26532013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2654
e3a66363
SM
2655 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2656 text-properties (bug#15155).
2657
b9808e77
SM
2658 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2659 exist any more.
2660 (calc-keypad-redraw): Remove unused var `pad'.
2661 (calc-keypad-press): Remove unused var `menu'.
2662
7fd5f65e
MR
26632013-08-23 Martin Rudalics <rudalics@gmx.at>
2664
b9808e77
SM
2665 * window.el (display-buffer-pop-up-frame):
2666 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2667 use it as the new frame's buffer (Bug#15133).
2668
8352b530
SM
26692013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * calendar/timeclock.el: Minor cleanups.
2672 (timeclock-ask-before-exiting, timeclock-use-display-time):
2673 Use `symbol'.
2674 (timeclock-modeline-display): Define as alias before the
2675 actual definition.
2676 (timeclock-mode-line-display): Use define-minor-mode.
2677 (timeclock-day-list-template): Make it a function, add an argument.
2678 (timeclock-day-list-required, timeclock-day-list-length)
2679 (timeclock-day-list-debt, timeclock-day-list-span)
2680 (timeclock-day-list-break): Adjust calls accordingly.
2681
9f7b1925
SM
26822013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2685 Use read--expression so that completion works again.
2686
6e50e983
SS
26872013-08-21 Sam Steingold <sds@gnu.org>
2688
2689 Add rudimentary inferior shell interaction
2690 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2691 (sh-set-shell): Reset it.
9f7b1925
SM
2692 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2693 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2694
dbb0d350
SM
26952013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * align.el: Use lexical-binding.
2698 (align-region): Simplify accordingly.
2699
c88586a9
MA
27002013-08-20 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2703
2704 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2705 `non-essential' up.
2706
f95527c8
MA
27072013-08-17 Michael Albinus <michael.albinus@gmx.de>
2708
2709 * net/tramp.el:
2710 * net/tramp-adb.el:
2711 * net/tramp-cmds.el:
2712 * net/tramp-ftp.el:
2713 * net/tramp-gvfs.el:
2714 * net/tramp-gw.el:
2715 * net/tramp-sh.el: Don't wrap external variable declarations by
2716 `eval-when-compile'.
2717
4b5fe4ee
LMI
27182013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2719
2720 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2721 now that Emacs supports ImageMagick animations.
2722
13c366c9
MA
27232013-08-16 Michael Albinus <michael.albinus@gmx.de>
2724
2725 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2726 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2727
3dfc5cd6
MR
27282013-08-16 Martin Rudalics <rudalics@gmx.at>
2729
2730 * window.el (mouse-autoselect-window-select): Do autoselect when
2731 mouse pointer is on margin.
2732
4bbb4381
WP
27332013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2734
2735 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2736
3a2ddc2d
GM
27372013-08-16 Glenn Morris <rgm@gnu.org>
2738
e8bedf5a
GM
2739 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2740 Handle "Remote Directory" response of some clients. (Bug#15058)
2741
58c4682f
GM
2742 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2743 Tweak warning. (Bug#14926)
2744
57953f49
GM
2745 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2746 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2747
3a2ddc2d
GM
2748 * image-mode.el (image-mode-map): Add menu items to reverse,
2749 increase, decrease, reset animation speed.
2750 (image--set-speed, image-increase-speed, image-decrease-speed)
2751 (image-reverse-speed, image-reset-speed): New functions.
2752 (image-mode-map): Add bindings for speed commands.
2753
2754 * image.el (image-animate-get-speed, image-animate-set-speed):
2755 New functions.
2756 (image-animate-timeout): Respect image :speed property.
2757
10fa0ed3
SM
27582013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2759
2760 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2761 previous line (bug#15101).
2762 (debugger-eval-expression, debugger-record-expression):
2763 Use read--expression (bug#15102).
2764
5d89d9d2
MA
27652013-08-15 Michael Albinus <michael.albinus@gmx.de>
2766
2767 Remove byte compiler warnings, visible when compiling with
2768 `byte-compile-force-lexical-warnings' set to t.
2769
2770 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2771 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2772 (tramp-handle-unhandled-file-name-directory)
2773 (tramp-handle-file-notify-add-watch, tramp-action-login)
2774 (tramp-action-succeed, tramp-action-permission-denied)
2775 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2776 arguments with "_".
2777
2778 * net/tramp-adb.el (tramp-adb-parse-device-names)
2779 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2780 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2781 (tramp-adb-handle-file-truename): Remove unused arguments.
2782
2783 * net/tramp-cache.el (tramp-flush-directory-property)
2784 (tramp-flush-connection-property, tramp-list-connections)
2785 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2786
10fa0ed3
SM
2787 * net/tramp-compat.el (tramp-compat-make-temp-file):
2788 Rename FILENAME to F.
5d89d9d2
MA
2789
2790 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2791 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2792 (tramp-zeroconf-parse-workstation-device-names)
2793 (tramp-zeroconf-parse-webdav-device-names)
2794 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2795
2796 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2797 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2798
2799 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2800 arguments.
2801 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2802 (tramp-sh-handle-insert-file-contents-literally)
2803 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2804 with "_".
2805 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2806 Remove unused variables.
2807
2808 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2809 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2810 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2811
2812 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2813 Make them a defconst.
2814 (tramp-uuencode-region): Remove unused variable.
2815
62f33bae
JB
28162013-08-14 Juanma Barranquero <lekktu@gmail.com>
2817
2818 * frameset.el (frameset--prop-setter): New function.
2819 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2820 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2821 parameter was already set in FILTERED. Doc fix.
2822 (frameset--record-minibuffer-relationships): Allow saving a
2823 minibufferless frame without its corresponding minibuffer frame.
2824 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2825 frame, if the frame id matches.
2826 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2827 frames before orphaned ones.
2828 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2829
c660a885
MR
28302013-08-14 Martin Rudalics <rudalics@gmx.at>
2831
2832 * window.el (window-make-atom): Don't overwrite parameter
2833 already present.
2834 (display-buffer-in-atom-window): Handle special case where we
2835 split an already atomic window.
2836 (window--major-non-side-window, display-buffer-in-side-window)
2837 (window--side-check): Ignore minibuffer window when walking
2838 window tree.
2839 (window-deletable-p): Return 'frame only if no other frame uses
2840 our minibuffer window.
2841 (record-window-buffer): Run buffer-list-update-hook.
2842 (split-window): Make sure window--check-frame won't destroy an
2843 existing atomic window in case the new window gets nested
2844 inside.
2845 (display-buffer-at-bottom): Ignore minibuffer window when
2846 walking window tree. Don't split a side window.
2847 (pop-to-buffer): Don't set-buffer here, the select-window call
2848 should do that.
2849 (mouse-autoselect-window-select): Autoselect only if we are in the
2850 text portion of the window.
2851
8259030d
LMI
28522013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2853
21c58ae2
LMI
2854 * net/shr.el (shr-parse-image-data): New function to grab both the
2855 data itself and the Content-Type.
2856 (shr-put-image): Use it.
2857
2858 * net/eww.el (eww-display-image): Ditto.
2859
8259030d
LMI
2860 * image.el (image-content-type-suffixes): New variable.
2861
ad756449
FEG
28622013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2863
2864 * progmodes/python.el (python-imenu--build-tree)
2865 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2866
f73f4ce6
XF
28672013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2868
2869 * simple.el (backward-word): Mention the optional argument.
2870
1f585e65
SM
28712013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * frameset.el (frameset--make): Rename constructor from make-frameset.
2874 (frameset-p, frameset-valid-p): Don't autoload.
2875 (frameset-valid-p): Use normal accessors.
2876
af1c6c84
GM
28772013-08-13 Glenn Morris <rgm@gnu.org>
2878
55e47f95
GM
2879 * progmodes/compile.el (compile-command): Tweak example in doc.
2880 * obsolete/scribe.el (scribe-mode):
2881 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2882
f0024d8c
GM
2883 * mail/feedmail.el (feedmail-confirm-outgoing)
2884 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2885
2886 * cus-start.el (truncate-partial-width-windows): Fix type.
2887
2888 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2889
af1c6c84
GM
2890 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2891
5514cc4c
SM
28922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * emacs-lisp/timer.el (timer--time-setter): New function.
2895 (timer--time): Use it as gv-setter.
2896
2897 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2898 setter is not a symbol.
2899
7997a2f1
GJ
29002013-08-12 Grégoire Jadi <daimrod@gmail.com>
2901
2902 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2903 if sending fails. This makes debugging easier.
2904
01f1a9ab
JB
29052013-08-12 Juanma Barranquero <lekktu@gmail.com>
2906
2907 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2908 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2909 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2910
594a4307
EZ
29112013-08-12 Eli Zaretskii <eliz@gnu.org>
2912
2913 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2914
7a22490f 29152013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2916
2917 * format.el (format-annotate-function):
2918 Handle read-only text properties in the source. (Bug#14887)
2919
3e41a054
LMI
29202013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2921
5514cc4c
SM
2922 * net/eww.el (eww-display-html): Ignore coding system errors.
2923 One web site uses "utf-8lias" as the coding system.
3e41a054 2924
7ec326db
JB
29252013-08-11 Juanma Barranquero <lekktu@gmail.com>
2926
2927 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2928
5660113b
JB
29292013-08-10 Juanma Barranquero <lekktu@gmail.com>
2930
9a4ebc74
JB
2931 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2932 (tutorial--detailed-help): Remove unused local variables.
2933 (tutorial--save-tutorial-to): Use ignore-errors.
2934 (help-with-tutorial): Use looking-at-p.
2935
2936 * view.el (view-buffer-other-window, view-buffer-other-frame):
2937 Mark unused arguments.
2938
2939 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2940 (woman-select-symbol-fonts, woman, woman-find-file)
2941 (woman-insert-file-contents, woman-non-underline-faces):
2942 Use string-match-p.
2943 (woman1-unquote): Move declaration.
2944
2945 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2946 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2947 argument. Remove unused local variable.
2948 (xml-parse-elem-type): Use string-match-p.
2949 (xml-substitute-numeric-entities): Use ignore-errors.
2950
45fdb482
JB
2951 * calculator.el (calculator): Mark unused argument.
2952 (calculator-paste, calculator-quit, calculator-integer-p):
2953 Use ignore-errors.
2954 (calculator-string-to-number, calculator-decimal, calculator-exp)
2955 (calculator-op-or-exp): Use string-match-p.
2956
2957 * dired.el (dired-buffer-more-recently-used-p): Declare.
2958 (dired-insert-set-properties, dired-insert-old-subdirs):
2959 Use ignore-errors.
2960
2961 * dired-aux.el (dired-compress): Use ignore-errors.
2962 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2963 (dired-do-async-shell-command, dired-do-shell-command)
2964 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2965 (dired-insert-subdir-validate): Use string-match-p.
2966 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2967 (dired-add-entry): Use string-match-p, looking-at-p.
2968 (dired-insert-subdir-newpos): Remove unused local variable.
2969
2970 * filenotify.el (file-notify-callback): Remove unused local variable.
2971
2972 * filesets.el (filesets-error): Mark unused argument.
2973 (filesets-which-command-p, filesets-filter-dir-names)
2974 (filesets-directory-files, filesets-get-external-viewer)
2975 (filesets-ingroup-get-data): Use string-match-p.
2976
2977 * find-file.el (ff-other-file-name, ff-other-file-name)
2978 (ff-find-the-other-file, ff-cc-hh-converter):
2979 Remove unused local variables.
2980 (ff-get-file-name): Use string-match-p.
2981 (ff-all-dirs-under): Use ignore-errors.
2982
2983 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2984 (follow-select-if-visible): Remove unused local variable.
2985
2986 * forms.el (read-file-filter): Move declaration.
2987 (forms--make-format, forms--make-parser, forms-insert-record):
2988 Quote function with #'.
2989 (forms--update): Use string-match-p. Quote function with #'.
2990
2991 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2992 (help-make-xrefs): Use looking-at-p.
2993 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2994
2995 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2996 (ibuffer-confirm-operation-on): Use string-match-p.
2997
2998 * msb.el (msb-item-handler, msb-dired-item-handler):
2999 Mark unused arguments.
3000
3001 * ses.el (ses-decode-cell-symbol)
3002 (ses-kill-override): Remove unused local variable.
3003 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3004 (ses-load): Use ignore-errors, looking-at-p.
3005 (ses-jump-safe): Use ignore-errors.
3006 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3007
3008 * tabify.el (untabify, tabify): Mark unused arguments.
3009
3010 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3011 Mark unused argument.
3012 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3013 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3014
c880af52
JB
3015 * emacs-lisp/timer.el (timer--time): Define setter with
3016 gv-define-setter to avoid deprecation warning.
3017
5660113b 3018 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3019 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3020 (cmpl-statistics-block): Remove (body was commented out).
3021 All callers changed.
3022 (add-completions-from-buffer, load-completions-from-file):
3023 Remove unused variables.
3024
156aab80
JB
30252013-08-09 Juanma Barranquero <lekktu@gmail.com>
3026
5c5dee78
JB
3027 * filecache.el (file-cache-delete-file-list):
3028 Print message only when told so.
3029 (file-cache-files-matching): Use #' in mapconcat argument.
3030
156aab80
JB
3031 * ffap.el (ffap-url-at-point): Fix reference to variable
3032 thing-at-point-default-mail-uri-scheme.
3033
ad9dcd70
SM
30342013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3035
54bd972f
SM
3036 * subr.el (define-error): New function.
3037 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3038 error-file-not-found and define with define-error.
3039 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3040 and define with define-error.
3041 * userlock.el (file-locked, file-supersession):
3042 * simple.el (mark-inactive):
3043 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3044 * progmodes/ada-mode.el (ada-mode-errors):
3045 * play/life.el (life-extinct):
3046 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3047 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3048 * nxml/rng-util.el (rng-error):
3049 * nxml/rng-uri.el (rng-uri-error):
3050 * nxml/rng-match.el (rng-compile-error):
3051 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3052 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3053 * nxml/nxml-rap.el (nxml-scan-error):
3054 * nxml/nxml-outln.el (nxml-outline-error):
3055 * net/soap-client.el (soap-error):
3056 * net/gnutls.el (gnutls-error):
3057 * net/ange-ftp.el (ftp-error):
3058 * mpc.el (mpc-proc-error):
3059 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3060 (json-number-format, json-string-escape, json-string-format)
3061 (json-key-format, json-object-format):
3062 * jka-compr.el (compression-error):
3063 * international/quail.el (quail-error):
3064 * international/kkc.el (kkc-error):
3065 * emacs-lisp/ert.el (ert-test-failed):
3066 * calc/calc.el (calc-error, inexact-result, math-overflow)
3067 (math-underflow):
3068 * bookmark.el (bookmark-error-no-filename):
3069 * epg.el (epg-error): Define with define-error.
3070
0ea9e53a
SM
3071 * time.el (display-time-event-handler)
3072 (display-time-next-load-average): Don't call sit-for since it seems
3073 unnecessary (bug#15045).
3074
b0429158
SM
3075 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3076 Use #' instead of ' to quote functions.
3077 (checkdoc-output-mode): Use setq-local.
3078 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3079 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3080 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3081 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3082 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3083 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3084 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3085 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3086
ad9dcd70
SM
3087 * ido.el (ido-completion-help): Fix up compiler warning.
3088
77187e6f
JB
30892013-08-09 Juanma Barranquero <lekktu@gmail.com>
3090
3091 * frameset.el (frameset-p): Add autoload cookie.
3092 (frameset--jump-to-register): New function, based on code moved from
3093 register.el.
3094 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3095
3096 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3097 (frameset-restore, frameset-save, frameset-session-filter-alist):
3098 Remove declarations.
3099 (register-alist): Doc fix.
3100 (frameset-to-register): Move to frameset.el.
3101 (jump-to-register, describe-register-1): Remove frameset-specific code.
3102
9d3aa82c
JB
31032013-08-08 Juanma Barranquero <lekktu@gmail.com>
3104
3105 * allout-widgets.el (allout-widgets-pre-command-business)
3106 (allout-widgets-post-command-business)
3107 (allout-widgets-after-change-handler)
3108 (allout-decorate-item-and-context, allout-set-boundary-marker)
3109 (allout-body-modification-handler)
3110 (allout-graphics-modification-handler): Mark ignored arguments.
3111 (allout-widgets-post-command-business)
3112 (allout-widgets-exposure-change-processor)
3113 (allout-widgets-exposure-undo-processor)
3114 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3115 (allout-parse-item-at-point, allout-decorate-item-guides)
3116 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3117 * allout.el (epa-passphrase-callback-function): Declare.
3118 (allout-overlay-insert-in-front-handler)
3119 (allout-overlay-interior-modification-handler)
3120 (allout-isearch-end-handler, allout-chart-siblings)
3121 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3122 (allout-yank-processing, allout-process-exposed)
3123 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3124 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3125 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3126 (lisp-indent-defform): Mark ignored arguments.
3127 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3128 (calculate-lisp-indent): Remove unused variables.
3129 * international/characters.el (indian-2-column, arabic-2-column)
3130 (tibetan): Mark ignored arguments.
3131 (use-cjk-char-width-table): Mark ignored arguments.
3132 Remove unused variables.
3133 * international/fontset.el (build-default-fontset-data)
3134 (x-compose-font-name, create-fontset-from-fontset-spec):
3135 Mark ignored arguments.
3136 (fontset-plain-name): Remove unused variables.
3137 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3138 (keyboard-coding-system): Mark ignored arguments.
3139 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3140 * help.el (resize-temp-buffer-window):
3141 * window.el (display-buffer-in-major-side-window)
3142 (display-buffer-in-side-window, display-buffer-in-previous-window):
3143 Remove unused variables.
3144 * isearch.el (isearch-forward-symbol):
3145 * version.el (emacs-bzr-version-bzr):
3146 * international/mule-cmds.el (current-language-environment):
3147 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3148 (x-handle-display):
3149 * term/pc-win.el (x-list-fonts, x-display-planes)
3150 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3151 (x-server-version, x-display-screens, x-display-mm-height)
3152 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3153 (x-selection-owner-p, x-own-selection-internal)
3154 (x-disown-selection-internal, x-get-selection-internal)
3155 (msdos-initialize-window-system):
3156 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3157 * term/x-win.el (x-handle-no-bitmap-icon):
3158 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3159 (vc-default-find-file-hook, vc-default-extra-menu):
3160 Mark ignored arguments.
3161
0ca3f70e
SM
31622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3165 break-condition in the context of the debugged code (bug#12685).
3166
74c5d24c
CS
31672013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3168
3169 * comint.el:
3170 Do not use an overlay to highlight the last prompt. (Bug#14744)
3171 (comint-mode): Make comint-last-prompt buffer local.
3172 (comint-last-prompt): New variable.
3173 (comint-last-prompt-overlay): Remove. Superseded by
3174 comint-last-prompt.
0ca3f70e
SM
3175 (comint-snapshot-last-prompt, comint-output-filter):
3176 Use comint-last-prompt.
74c5d24c 3177
c03c02ee
JB
31782013-08-08 Juanma Barranquero <lekktu@gmail.com>
3179
a3738d20 3180 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3181 (frameset-save): Check validity of the resulting frameset.
3182
04263d23
XF
31832013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3184
3185 * ido.el (ido-record-command): Add doc string.
3186
76c5e5ab
JB
31872013-08-08 Juanma Barranquero <lekktu@gmail.com>
3188
3189 * frameset.el (frameset): Do not disable creation of the default
3190 frameset-p predicate. Doc fix.
3191 (frameset-valid-p): New function, copied from the old predicate-p.
3192 Add additional checks.
3193 (frameset-restore): Check with frameset-valid-p.
3194 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3195 (frameset-name, frameset-description, frameset-properties)
3196 (frameset-states): Add docstring.
f9dbf1cb
JB
3197 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3198 (frameset-filter-alist): Doc fixes.
76c5e5ab 3199
bd0c3c0b
JB
32002013-08-08 Juanma Barranquero <lekktu@gmail.com>
3201
3202 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3203
c735544c
SM
32042013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3207 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3208 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3209 (byte-compile-normal-call): Remove obsolescence check.
3210
2805a651
JB
32112013-08-08 Juanma Barranquero <lekktu@gmail.com>
3212
3677ffeb
JB
3213 * frameset.el (frameset-restore): Doc fix.
3214
2805a651
JB
3215 * register.el (frameset-frame-id, frameset-frame-with-id)
3216 (frameset-p, frameset-restore, frameset-save): Declare.
3217 (register-alist): Document framesets.
3218 (frameset-session-filter-alist): Declare.
3219 (frameset-to-register): New function.
3220 (jump-to-register): Implement jumping to framesets. Doc fix.
3221 (describe-register-1): Describe framesets.
3222
3223 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3224
a912c016
JB
32252013-08-07 Juanma Barranquero <lekktu@gmail.com>
3226
3227 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3228 Use lexical-binding.
3229
3230 * frameset.el (frameset): Use type vector, not list (incompatible
3231 change). Do not declare a new constructor, use the default one.
3232 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3233 `name' and `description', respectively, and add read-only slot
3234 `timestamp'. Doc fixes.
3235 (frameset-copy, frameset-persistent-filter-alist)
3236 (frameset-filter-alist, frameset-switch-to-gui-p)
3237 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3238 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3239 (frameset-filter-iconified, frameset-keep-original-display-p):
3240 Doc fixes.
3241 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3242 Rename from frameset-filter-(save|restore)-param. All callers changed.
3243 Doc fix.
3244 (frameset-p): Adapt to change to vector and be more thorough.
3245 Change arg name to OBJECT. Doc fix.
3246 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3247 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3248 All callers changed.
3249 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3250 All callers changed.
3251 (frameset--record-minibuffer-relationships): Rename from
3252 frameset--process-minibuffer-frames. All callers changed.
3253 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3254 Use new default constructor (again). Doc fix.
3255 (frameset--find-frame-if): Rename from `frameset--find-frame.
3256 All callers changed.
3257 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3258 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3259 Doc fix.
3260 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3261 PARAMETERS and WINDOW-STATE, respectively.
3262 (frameset-restore): Add new keyword argument PREDICATE.
3263 Reset frameset--target-display to nil. Doc fix.
3264
bb41480a
SM
32652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3266
f001e98e
SM
3267 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3268 (bat-mode): Use it.
3269 (bat-mode-syntax-table): Mark \n as end-of-comment.
3270 (bat-font-lock-keywords): Remove comment rule.
3271
7679edb1
SM
3272 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3273 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3274
bb41480a
SM
3275 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3276 (byte-compile-callargs-warn): Use `push'.
3277 (byte-compile-arglist-warn): Ignore higher-order "calls".
3278 (byte-compile-file-form-autoload): Use `pcase'.
3279 (byte-compile-function-form): If quoting a symbol, check that it exists.
3280
cdc1ebb9
EZ
32812013-08-07 Eli Zaretskii <eliz@gnu.org>
3282
3283 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3284 and add a few popular commands found in batch files.
3285 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3286 (dos-mode): Doc fixes.
3287
312b1740
SM
32882013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3291 (dos-mode): Use setq-local. Add space after "rem".
3292 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3293 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3294
400a3178
AM
32952013-08-07 Arni Magnusson <arnima@hafro.is>
3296
3297 * progmodes/dos.el: New file.
3298 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3299 dos-mode.
3300
3b5c03d3
GM
33012013-08-06 Glenn Morris <rgm@gnu.org>
3302
3303 * calendar/calendar.el: Add new faces, and day-header-array.
3304 (calendar-weekday-header, calendar-weekend-header)
3305 (calendar-month-header): New faces.
3306 (calendar-day-header-construct): New function.
3307 (calendar-day-header-width): Also :set calendar-day-header-array.
3308 (calendar-american-month-header, calendar-european-month-header)
3309 (calendar-iso-month-header): Use calendar- faces.
3310 (calendar-generate-month):
3311 Use calendar-day-header-array for day headers; apply faces to them.
3312 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3313 (calendar-abbrev-construct): Add optional maxlen argument.
3314 (calendar-day-name-array): Doc fix.
3315 (calendar-day-name-array, calendar-abbrev-length)
3316 (calendar-day-abbrev-array):
3317 Also :set calendar-day-header-array, and maybe redraw.
3318 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3319 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3320 (calendar-day-name): Add option to use header array.
3321
ec6a2d7a
LMI
33222013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3323
3324 * net/shr.el (shr-render-td): Remove debugging.
3325 (shr-render-td): Make width computation consistent by defaulting
3326 all zero-width columns to 10 characters. This may not be optimal,
3327 but it's at least consistent.
2122cb6d
LMI
3328 (shr-make-table-1): Redo last change to fix the real problem in
3329 colspan handling.
ec6a2d7a 3330
ed4fd9c5
DA
33312013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3332
0ca3f70e
SM
3333 * files.el (cache-long-line-scans):
3334 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3335
64e22afe
JB
33362013-08-06 Juanma Barranquero <lekktu@gmail.com>
3337
024b38fc
JB
3338 * frameset.el (frameset, frameset-filter-alist)
3339 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3340 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3341 (frameset-compute-pos): Rename from frameset--compute-pos,
3342 and add docstring.
3343 (frameset-move-onscreen): Use frameset-compute-pos.
3344 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3345
64e22afe
JB
3346 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3347 Fix typos in docstrings.
3348
c8c2aca8
DA
33492013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3350
3351 * frame.el (get-other-frame): Tiny cleanup.
3352
1d237bba
JB
33532013-08-06 Juanma Barranquero <lekktu@gmail.com>
3354
8951efef
JB
3355 * vc/vc.el (vc-default-ignore-completion-table):
3356 Silence byte-compiler warning.
3357
307764cc
JB
3358 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3359 slot , which can indeed be nil.
3360 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3361 Move entry for `left' from persistent to live filter alist.
3362 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3363 Doc fixes.
3364 (frameset-filter-params): When restoring a frame, copy items added to
3365 `filtered', to avoid unwittingly modifying the original parameters.
3366 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3367 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3368
1d237bba
JB
3369 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3370 to use looking-at-p instead of looking-at. (Bug#15028)
3371
dc6c0eda
SM
33722013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 Revert introduction of isearch-filter-predicates (bug#14714).
3375 Rely on add-function instead.
3376 * isearch.el (isearch-filter-predicates): Rename it back to
3377 isearch-filter-predicate.
3378 (isearch-message-prefix): Use advice-function-mapc and advice
3379 properties to get the isearch-message-prefix.
3380 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3381 instead of run-hook-with-args-until-failure.
3382 (isearch-filter-visible): Not obsolete any more.
3383 * loadup.el: Preload nadvice.
3384 * replace.el (perform-replace): Revert to funcall
3385 instead of run-hook-with-args-until-failure.
3386 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3387 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3388 dired-isearch-filenames-toggle; make it into a proper minor mode.
3389 Use add/remove-function.
3390 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3391 Call the minor-mode rather than add/remove-hook.
3392 (dired-isearch-filter-filenames):
3393 Remove isearch-message-prefix property.
3394 * info.el (Info--search-loop): New function, extracted from Info-search.
3395 Funcall isearch-filter-predicate instead of
3396 run-hook-with-args-until-failure isearch-filter-predicates.
3397 (Info-search): Use it.
3398 (Info-mode): Use isearch-filter-predicate instead of
3399 isearch-filter-predicates.
3400
290d5b58
DA
34012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3402
3403 Do not call to `selected-window' where it is assumed by default.
3404 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3405 `window-hscroll', `window-width', `window-height', `window-buffer',
3406 `window-frame', `window-start', `window-point', `next-window'
3407 and `window-display-table'.
3408 * abbrev.el (abbrev--default-expand):
3409 * bs.el (bs--show-with-configuration):
3410 * buff-menu.el (Buffer-menu-mouse-select):
3411 * calc/calc.el (calc):
3412 * calendar/calendar.el (calendar-generate-window):
3413 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3414 (diary-make-entry):
3415 * comint.el (send-invisible, comint-dynamic-complete-filename)
3416 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3417 * completion.el (complete):
3418 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3419 * disp-table.el (describe-current-display-table):
3420 * doc-view.el (doc-view-insert-image):
3421 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3422 * ehelp.el (with-electric-help):
3423 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3424 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3425 * emacs-lisp/helper.el (Helper-help-scroller):
3426 * emulation/cua-base.el (cua--post-command-handler-1):
3427 * eshell/esh-mode.el (eshell-output-filter):
3428 * ffap.el (ffap-gnus-wrapper):
3429 * help-macro.el (make-help-screen):
3430 * hilit-chg.el (highlight-compare-buffers):
3431 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3432 * hl-line.el (global-hl-line-highlight):
3433 * icomplete.el (icomplete-simple-completing-p):
3434 * isearch.el (isearch-done):
3435 * jit-lock.el (jit-lock-stealth-fontify):
3436 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3437 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3438 * mpc.el (mpc-tagbrowser, mpc):
3439 * net/rcirc.el (rcirc-any-buffer):
3440 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3441 * play/landmark.el (landmark-max-width, landmark-max-height):
3442 * play/zone.el (zone):
3443 * progmodes/compile.el (compilation-goto-locus):
3444 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3445 * progmodes/etags.el (find-tag-other-window):
3446 * progmodes/fortran.el (fortran-column-ruler):
3447 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3448 * progmodes/verilog-mode.el (verilog-point-text):
3449 * reposition.el (reposition-window):
3450 * rot13.el (toggle-rot13-mode):
3451 * server.el (server-switch-buffer):
3452 * shell.el (shell-dynamic-complete-command)
3453 (shell-dynamic-complete-environment-variable):
3454 * simple.el (insert-buffer, set-selective-display)
3455 (delete-completion-window):
3456 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3457 (speedbar-recenter):
3458 * startup.el (fancy-splash-head):
3459 * textmodes/ispell.el (ispell-command-loop):
3460 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3461 * tutorial.el (help-with-tutorial):
3462 * vc/add-log.el (add-change-log-entry):
3463 * vc/compare-w.el (compare-windows):
3464 * vc/ediff-help.el (ediff-indent-help-message):
3465 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3466 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3467 (ediff-setup-control-frame):
3468 * vc/emerge.el (emerge-position-region):
3469 * vc/pcvs-util.el (cvs-bury-buffer):
3470 * window.el (walk-windows, mouse-autoselect-window-select):
3471 * winner.el (winner-set-conf, winner-undo): Related users changed.
3472
38276e01
JB
34732013-08-05 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * frameset.el (frameset--set-id): Doc fix.
3476 (frameset-frame-id, frameset-frame-id-equal-p)
3477 (frameset-locate-frame-id): New functions.
3478 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3479 (frameset-restore): Use them.
3480
12b4c0ea
DA
34812013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3482
3483 Do not call to `selected-frame' where it is assumed by default.
3484 Affected functions are `raise-frame', `redraw-frame',
3485 `frame-first-window', `frame-terminal' and `delete-frame'.
3486 * calendar/appt.el (appt-disp-window):
3487 * epg.el (epg-wait-for-completion):
3488 * follow.el (follow-delete-other-windows-and-split)
3489 (follow-avoid-tail-recenter):
3490 * international/mule.el (set-terminal-coding-system):
3491 * mail/rmail.el (rmail-mail-return):
3492 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3493 * progmodes/f90.el (f90-add-imenu-menu):
3494 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3495 * server.el (server-switch-buffer):
3496 * simple.el (delete-completion-window):
3497 * talk.el (talk):
3498 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3499 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3500 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3501 * vc/ediff.el (ediff-documentation): Related users changed.
3502 * frame.el (selected-terminal): Remove the leftover.
3503
17f25e76
GM
35042013-08-05 Glenn Morris <rgm@gnu.org>
3505
3506 * calendar/calendar.el (calendar-generate-month):
3507 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3508 (calendar-generate-month, calendar-font-lock-keywords):
3509 Fix for calendar-day-header-width > length of any day name.
17f25e76 3510
063233c3
JB
35112013-08-05 Juanma Barranquero <lekktu@gmail.com>
3512
3513 * desktop.el (desktop-clear): Use new name of sort predicate.
3514
3515 * frameset.el (frameset): Add docstring. Move :version property to its
3516 own `version' slot.
3517 (frameset-copy): Rename from copy-frameset.
3518 (frameset-p): Check more thoroughly.
3519 (frameset-prop): Do not check for :version, which is no longer a prop.
3520 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3521 Use new :never value instead of t.
3522 (frameset-filter-alist): Expand and clarify docstring.
3523 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3524 (frameset-filter-minibuffer, frameset-filter-save-param)
3525 (frameset-filter-restore-param, frameset-filter-iconified):
3526 Add pointer to docstring of frameset-filter-alist.
3527 (frameset-filter-params): Rename filter values to be more meaningful:
3528 :never instead of t, and reverse the meanings of :save and :restore.
3529 (frameset--process-minibuffer-frames): Clarify error message.
3530 (frameset-save): Avoid unnecessary and confusing call to framep.
3531 Use new BOA constructor for framesets.
3532 (frameset--reuse-list): Doc fix.
3533 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3534 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3535 (frameset-minibufferless-first-p): Doc fix.
3536 Rename from frameset-sort-frames-for-deletion.
3537 (frameset-restore): Doc fixes. Use new function names.
3538 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3539
d5671a82
JB
35402013-08-04 Juanma Barranquero <lekktu@gmail.com>
3541
3542 * desktop.el (desktop-restore-forces-onscreen)
3543 (desktop-restore-reuses-frames): Document :keyword constant values.
3544 (desktop-filter-parameters-alist): Remove, now identical to
3545 frameset-filter-alist.
3546 (desktop--filter-tty*): Remove, moved to frameset.el.
3547 (desktop-save-frameset, desktop-restore-frameset):
3548 Do not pass :filters argument.
3549
3550 * frameset.el (frameset-live-filter-alist)
3551 (frameset-persistent-filter-alist): New variables.
3552 (frameset-filter-alist): Use them. Add autoload cookie.
3553 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3554 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3555 `frameset--id' (it's supposed to be internal to frameset.el).
3556 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3557 (frameset--initial-params): New function.
3558 (frameset--get-frame): Use it. Doc fix.
3559 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3560 Accept :all, not 'all.
3561 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3562 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3563 with fbound symbols. Fix frame id matching, and remove matching ids if
3564 the frame being restored is deleted. Obey :delete.
3565
671d5c16
SM
35662013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * subr.el (macrop): New function.
3569 (text-clone--maintaining): New var.
3570 (text-clone--maintain): Rename from text-clone-maintain. Use it
3571 instead of inhibit-modification-hooks.
3572
3573 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3574 a proxy, so as handle autoloads and redefinitions of the target.
3575 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3576
3577 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3578 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3579 (pcase--mutually-exclusive-p): New function.
3580 (pcase--split-consp): Use it.
3581 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3582 mutually exclusive with the current predicate.
3583
3584 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3585 (edebug-macrop): Remove. Use `macrop' instead.
3586 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3587 (ad-macro-p):
3588 * eshell/esh-cmd.el (eshell-macrop):
3589 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3590
1d44e9dc
SM
35912013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3594 (advice-mapc): New function, using it.
3595 (advice-function-member-p): New function.
3596 (advice--normalize): Store the cdr in advice--saved-rewrite since
3597 that's the part that will be changed.
3598 (advice--symbol-function): New function.
3599 (advice-remove): Handle removal before the function is defined.
3600 Adjust to new advice--saved-rewrite.
3601 (advice-member-p): Use advice-function-member-p and
3602 advice--symbol-function.
3603
5414a283
JB
36042013-08-04 Juanma Barranquero <lekktu@gmail.com>
3605
51d30f2c
JB
3606 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3607 (frameset-filter-minibuffer): Doc fix.
3608 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3609 (frameset--set-id, frameset--process-minibuffer-frames)
3610 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3611 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3612
5414a283
JB
3613 * desktop.el (desktop-clear): Only delete frames when called
3614 interactively and desktop-restore-frames is non-nil. Doc fix.
3615 (desktop-read): Set desktop-saved-frameset to nil.
3616
ab419665
XF
36172013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3618
3619 * vc/vc.el (vc-ignore): Rewrite.
3620 (vc-default-ignore-completion-table):
3621 (vc--read-lines):
3622 (vc--add-line, vc--remove-regexp): New functions.
3623
3624 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3625 (vc-svn-ignore-completion-table): New function.
3626
3627 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3628 (vc-hg-ignore-completion-table):
3629 (vc-hg-find-ignore-file): New functions.
3630
3631 * vc/vc-git.el (vc-git-ignore): Rewrite.
3632 (vc-git-ignore-completion-table):
3633 (vc-git-find-ignore-file): New functions.
3634
3635 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3636
3637 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3638 (vc-bzr-ignore-completion-table):
3639 (vc-bzr-find-ignore-file): New functions.
3640
2613dea2
JB
36412013-08-03 Juanma Barranquero <lekktu@gmail.com>
3642
3643 * frameset.el (frameset-prop): New function and setter.
3644 (frameset-save): Do not modify frame list passed by the caller.
3645
9c959872
SM
36462013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3649
a104f656
SM
36502013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3651
70122acf
SM
3652 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3653 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3654
a104f656
SM
3655 * custom.el (custom-initialize-default, custom-initialize-set)
3656 (custom-initialize-reset, custom-initialize-changed): Affect the
3657 toplevel-default-value (bug#6275, bug#14586).
3658 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3659 for bug#6275.
3660
f078d570
JB
36612013-08-02 Juanma Barranquero <lekktu@gmail.com>
3662
185e3b5a
JB
3663 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3664 Add cl-def* expressions.
3665
f078d570
JB
3666 * frameset.el (frameset-filter-params): Fix order of arguments.
3667
9421876d
JB
36682013-08-02 Juanma Barranquero <lekktu@gmail.com>
3669
3670 Move code related to saving frames to frameset.el.
3671 * desktop.el: Require frameset.
3672 (desktop-restore-frames): Doc fix.
3673 (desktop-restore-reuses-frames): Rename from
3674 desktop-restoring-reuses-frames.
3675 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3676 (desktop-clear): Clear frames too.
3677 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3678 (desktop--filter-tty*, desktop-save, desktop-read):
3679 Use frameset functions.
3680 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3681 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3682 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3683 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3684 (desktop--process-minibuffer-frames, desktop-save-frames)
3685 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3686 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3687 (desktop--sort-states, desktop-restoring-frames-p)
3688 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3689 (desktop-restoring-frameset-p, desktop-restore-frameset)
3690 (desktop--check-dont-save, desktop-save-frameset): New functions.
3691 (desktop--app-id): New constant.
3692 (desktop-first-buffer, desktop-buffer-ok-count)
3693 (desktop-buffer-fail-count): Move before first use.
3694 * frameset.el: New file.
3695
76dc5996
SM
36962013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3697
3698 * files.el: Use lexical-binding.
3699 (dir-locals-read-from-file): Remove unused `err' variable.
3700 (hack-dir-local-variables--warned-coding): New var.
3701 (hack-dir-local-variables): Use it to avoid repeated warnings.
3702 (make-backup-file-name--default-function): New function.
3703 (make-backup-file-name-function): Use it as default.
3704 (buffer-stale--default-function): New function.
3705 (buffer-stale-function): Use it as default.
3706 (revert-buffer-insert-file-contents--default-function): New function.
3707 (revert-buffer-insert-file-contents-function): Use it as default.
3708 (insert-directory): Avoid add-to-list.
3709
3710 * autorevert.el (auto-revert-handler): Simplify.
3711 Use buffer-stale--default-function.
3712
06d36e2b
TH
37132013-08-01 Tassilo Horn <tsdh@gnu.org>
3714
5f648ab4
TH
3715 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3716
06d36e2b
TH
3717 * whitespace.el (whitespace-ensure-local-variables): New function.
3718 (whitespace-cleanup-region): Call it.
3719 (whitespace-turn-on): Call it.
3720
a43dc424
MA
37212013-08-01 Michael Albinus <michael.albinus@gmx.de>
3722
3723 Complete file name handlers.
3724
3725 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3726 (tramp-handle-verify-visited-file-modtime)
3727 (tramp-handle-file-notify-rm-watch): New functions.
3728 (tramp-call-process): Do not bind `default-directory'.
3729
44e18199
JB
3730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3731 Order alphabetically.
a43dc424
MA
3732 [access-file, add-name-to-file, dired-call-process]:
3733 [dired-compress-file, file-acl, file-notify-rm-watch]:
3734 [file-ownership-preserved-p, file-selinux-context]:
3735 [make-directory-internal, make-symbolic-link, set-file-acl]:
3736 [set-file-selinux-context, set-visited-file-modtime]:
3737 [verify-visited-file-modtime]: Add handler.
3738 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3739
3740 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3741 [file-notify-add-watch, file-notify-rm-watch]:
3742 [set-file-times, set-visited-file-modtime]:
3743 [verify-visited-file-modtime]: Add handler.
3744 (with-tramp-gvfs-error-message)
3745 (tramp-gvfs-handle-set-visited-file-modtime)
3746 (tramp-gvfs-fuse-file-name): Remove.
3747 (tramp-gvfs-handle-file-notify-add-watch)
3748 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3749 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3750
44e18199
JB
3751 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3752 Order alphabetically.
a43dc424
MA
3753 [file-notify-rm-watch ]: Use default Tramp handler.
3754 [executable-find]: Remove private handler.
3755 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3756 `default-directory'.
3757 (tramp-sh-handle-executable-find)
3758 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3759 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3760 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3761 Do not use `format' in `tramp-message'.
3762
3763 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3764 [file-notify-rm-watch, set-visited-file-modtime]:
3765 [verify-visited-file-modtime]: Add handler.
3766 (tramp-smb-call-winexe): Do not bind `default-directory'.
3767
7188b515
XF
37682013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3769
3770 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3771
2412ee1a
DG
37722013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3773
3774 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3775 use it.
3776 (log-view-diff-changeset): Same.
3777 (log-view-diff-common): Call backend command `previous-revision'
3778 to find out the previous revision, in both cases. Swap the
3779 variables `to' and `fr', so that `fr' usually refers to the
3780 earlier revision (Bug#14989).
3781
5002a754
KRC
37822013-07-31 Kan-Ru Chen <kanru@kanru.info>
3783
3784 * ibuf-ext.el (ibuffer-filter-by-filename):
3785 Make it work with dired buffers too.
3786
44e18199 37872013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3788
3789 * emacs-lisp/re-builder.el (reb-color-display-p):
3790 * files.el (save-buffers-kill-terminal):
3791 * net/browse-url.el (browse-url):
3792 * server.el (server-save-buffers-kill-terminal):
3793 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3794 Prefer nil to selected-frame for the first arg of frame-parameter.
3795
aeca3fbb
XF
37962013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3797
3798 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3799
158bc55c
SB
38002013-07-30 Stephen Berman <stephen.berman@gmx.net>
3801
3802 * minibuffer.el (completion--twq-all): Try and preserve each
3803 completion's case choice (bug#14907).
3804
d50fceab
LMI
38052013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3806
ac38e731
LMI
3807 * net/network-stream.el (open-network-stream): Mention the new
3808 :nogreeting parameter.
3809 (network-stream-open-starttls): Use the :nogreeting parameter
3810 (bug#14938).
3811
1211de50
LMI
3812 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3813
997798bf
LMI
3814 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3815 more natural than popping.
3816
d50fceab 3817 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3818 (shr-urlify): Highlight under mouse.
d50fceab 3819
5c09de04
XF
38202013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3821
207d1d04
XF
3822 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3823
3824 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3825
5c09de04
XF
3826 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3827 buffer for output.
3828
3cd51eaa
XF
3829 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3830 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3831
44e18199 3832 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3833 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3834
3835 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3836
3837 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3838 buffer for output.
3839
35a89bdd
EZ
38402013-07-29 Eli Zaretskii <eliz@gnu.org>
3841
3842 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3843 initial frame is minibuffer-less. (Bug#14841)
3844
78822e94
MA
38452013-07-29 Michael Albinus <michael.albinus@gmx.de>
3846
3847 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3848 option.
3849
3850 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3851 (tramp-maybe-open-connection): Use it.
3852
9503c190
JB
38532013-07-28 Juanma Barranquero <lekktu@gmail.com>
3854
3855 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3856 minimal set of parameters passed when creating a frame, because
3857 the minibuffer status of a frame cannot be changed later.
3858
d5a845b4
SB
38592013-07-28 Stephen Berman <stephen.berman@gmx.net>
3860
3861 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3862 replace-regexp-in-string and inadvertent omissions in previous change.
3863 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3864 name of filtered items buffer.
d5a845b4 3865
ddeffb17
JB
38662013-07-28 Juanma Barranquero <lekktu@gmail.com>
3867
3868 * desktop.el: Optionally force offscreen frames back onscreen.
3869 (desktop-restoring-reuses-frames): New option.
3870 (desktop--compute-pos, desktop--move-onscreen): New functions.
3871 (desktop--make-frame): Use desktop--move-onscreen.
3872
f5950f7a
AM
38732013-07-27 Alan Mackenzie <acm@muc.de>
3874
3875 Fontify a Java generic method as a function.
3876 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3877 value to t.
3878
ae43b66a
SB
38792013-07-27 Stephen Berman <stephen.berman@gmx.net>
3880
3881 * calendar/todo-mode.el: Add command to rename todo files.
3882 (todo-rename-file): New command.
3883 (todo-key-bindings-t): Add key binding for it. Change the
3884 bindings of todo-filter-regexp-items(-multifile) to use `x'
3885 instead of `r', since the latter is better suited to the new
3886 renaming command.
3887
5ab78d3d
AM
38882013-07-27 Alan Mackenzie <acm@muc.de>
3889
3890 Make Java try-with-resources statement parse properly.
3891 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3892 (c-block-stmt-1-2-key): New language constants/variables.
3893 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3894 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3895 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3896 with c-block-stmt-1-2-key.
5ab78d3d 3897
d85c4d50
JB
38982013-07-27 Juanma Barranquero <lekktu@gmail.com>
3899
3900 * desktop.el (desktop--make-frame): Apply most frame parameters after
3901 creating the frame to force (partially or totally) offscreen frames to
3902 be restored as such.
3903
e4c467f9
XF
39042013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3905
3906 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3907 (Bug#14948)
e4c467f9 3908
7ced0d04
SM
39092013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3912 `base' arg of backtrace-frame.
3913
fec92060
EZ
39142013-07-26 Eli Zaretskii <eliz@gnu.org>
3915
3916 * simple.el (list-processes): Doc fix.
3917
d58d31fb
JB
39182013-07-26 Juanma Barranquero <lekktu@gmail.com>
3919
3920 * desktop.el (desktop--select-frame):
d85c4d50 3921 Try harder to reuse existing frames.
d58d31fb 3922
53ff3e77
SM
39232013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3926 (edebug-eval): Use backtrace-eval.
3927 (edebug--display, edebug--recursive-edit): Don't let-bind the
3928 edebug-outer-* vars that keep track of variables we locally let-bind.
3929 (edebug-outside-excursion): Don't restore outside values of locally
3930 let-bound vars.
3931 (edebug--display): Use user-error.
3932 (cl-lexical-debug, cl-debug-env): Remove.
3933
045f7a53
JB
39342013-07-26 Juanma Barranquero <lekktu@gmail.com>
3935
3936 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3937 are restored to be sure that they are visible before deleting any
3938 remaining ones.
3939
59070b32
MM
39402013-07-26 Matthias Meulien <orontee@gmail.com>
3941
742a3501
XF
3942 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3943 vc-print-root-log. (Bug#14948)
59070b32 3944
b1fb3596
RS
39452013-07-26 Richard Stallman <rms@gnu.org>
3946
3947 Add aliases for encrypting mail.
3948 * epa.el (epa-mail-aliases): New option.
3949 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3950 Bind inhibit-read-only so read-only text doesn't ruin everything.
3951 (epa-mail-default-recipients): New subroutine broken out.
3952 Handle epa-mail-aliases.
3953
56ea7291
SM
39542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 Add support for lexical variables to the debugger's `e' command.
3957 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3958 vars, except for debugger-outer-match-data.
3959 (debugger-frame-number): Move check for "on a function call" from
3960 callers into it. Add `skip-base' argument.
3961 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3962 (debugger-env-macro): Only reset the state stored in non-variables,
3963 i.e. current-buffer and match-data.
3964 (debugger-eval-expression): Rewrite using backtrace-eval.
3965 * subr.el (internal--called-interactively-p--get-frame): Remove.
3966 (called-interactively-p):
3967 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3968 `base' arg of backtrace-frame instead.
3969
15ac32d5
GM
39702013-07-26 Glenn Morris <rgm@gnu.org>
3971
8358a09d
GM
3972 * align.el (align-regexp): Doc fix. (Bug#14857)
3973 (align-region): Explicit error if subexpression missing/does not match.
3974
15ac32d5
GM
3975 * simple.el (global-visual-line-mode):
3976 Do not duplicate the mode lighter. (Bug#14858)
3977
f47ad11b
MR
39782013-07-25 Martin Rudalics <rudalics@gmx.at>
3979
3980 * window.el (display-buffer): In display-buffer bind
3981 split-window-keep-point to t, bug#14829.
3982
02530987
JB
39832013-07-25 Juanma Barranquero <lekktu@gmail.com>
3984
3985 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3986 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3987 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3988 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3989 Change accordingly.
f63ebeb5
JB
3990 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3991 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3992
6ccb9cab 39932013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3994
6ccb9cab 3995 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3996
cb3a56d2
JB
39972013-07-25 Juanma Barranquero <lekktu@gmail.com>
3998
3999 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4000 parameter to modify-frame-parameters if the value has not changed;
4001 this is a workaround for bug#14949.
4002 (desktop--make-frame): On cl-delete-if call, check parameter name,
4003 not full parameter.
4004
7aa7fff0
XF
40052013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4006
4007 * vc/vc.el (vc-ignore): New function.
4008
4009 * vc/vc-svn.el (vc-svn-ignore): New function.
4010
4011 * vc/vc-hg.el (vc-hg-ignore): New function.
4012
4013 * vc/vc-git.el (vc-git-ignore): New function.
4014
4015 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4016 (vc-dir-ignore): New function.
4017
4018 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4019 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4020
4021 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4022
4023 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4024
889acc5c
JB
40252013-07-24 Juanma Barranquero <lekktu@gmail.com>
4026
4027 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4028 (desktop-restore-frames): Warn when deleting an existing frame failed.
4029
86c40970
GM
40302013-07-24 Glenn Morris <rgm@gnu.org>
4031
4032 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4033
d5d3c58a
MA
40342013-07-24 Michael Albinus <michael.albinus@gmx.de>
4035
4036 * filenotify.el (file-notify-supported-p):
4037 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4038 Remove functions.
4039
4040 * autorevert.el (auto-revert-use-notify):
4041 (auto-revert-notify-add-watch):
4042 * net/tramp.el (tramp-file-name-for-operation):
4043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4045 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4046 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4047 Remove `file-notify-supported-p' entry.
4048
d100084b
GM
40492013-07-24 Glenn Morris <rgm@gnu.org>
4050
4051 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4052 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4053
ac93e56b
SM
40542013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4055
249eea30
SM
4056 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4057 checked with memq (bug#14935).
4058
ac93e56b
SM
4059 * files.el (revert-buffer-function): Use a non-nil default.
4060 (revert-buffer-preserve-modes): Declare var to
4061 provide access to the `preserve-modes' argument.
4062 (revert-buffer): Let-bind it.
4063 (revert-buffer--default): New function, extracted from revert-buffer.
4064
2cdeb903
SM
40652013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * lpr.el: Signal print errors more prominently.
4068 (print-region-function): Don't default to nil.
4069 (lpr-print-region): New function, extracted from print-region-1.
4070 Check lpr's return value and signal an error in case of problem.
4071 (print-region-1): Use it.
4072 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4073 versions instead.
4074 (ps-printer-name): Default to nil.
4075 (ps-printer-name-option): Default to lpr-printer-switch.
4076 (ps-print-region-function): Don't default to nil.
4077 (ps-postscript-code-directory): Simplify default.
4078 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4079 (ps-string-list, ps-eval-switch, ps-flatten-list)
4080 (ps-flatten-list-1): Remove.
4081 (ps-multibyte-buffer): Avoid setq.
4082 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4083 (print-region-function, ps-print-region-function): Don't set them here.
4084
73600831
XF
40852013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4086
0e55c076
XF
4087 * ido.el (ido-fractionp):
4088 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4089 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4090 (ido-max-directory-size, ido-max-dir-file-cache)
4091 (ido-decorations): Doc fix.
4092
73600831
XF
4093 * ansi-color.el: Fix old URL.
4094
3d012865
MM
40952013-07-23 Michael R. Mauger <michael@mauger.com>
4096
e903c210 4097 * progmodes/sql.el: Version 3.3
3d012865
MM
4098 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4099 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4100 (sql-interactive-remove-continuation-prompt): Rewrite, use
4101 functions above. Fix continuation prompt and complete output line
4102 handling.
4103 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4104 redirected output buffer.
4105 (sql-mode): Restore deleted code (Bug#13591).
4106
da77a2e2
JB
41072013-07-23 Juanma Barranquero <lekktu@gmail.com>
4108
4109 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4110
80ff0c71
MA
41112013-07-23 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4114
4115 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4117 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4118
b61d71e4
JB
41192013-07-23 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * desktop.el (desktop-clear): Simplify; remove useless checks
4122 against invalid buffer names.
4123 (desktop-list*): Use cl-list*.
4124 (desktop-buffer-info, desktop-create-buffer): Simplify.
4125
c3512092
LL
41262013-07-23 Leo Liu <sdl.web@gmail.com>
4127
4128 * bookmark.el (bookmark-make-record): Restore NAME as a default
4129 value. (Bug#14933)
4130
0ac26976
SM
41312013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4132
7d22ce18
SM
4133 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4134 extracted from autoload--insert-text.
4135 (autoload--insert-text): Remove.
4136 (autoload--print-cookie-text): New function, extracted from
4137 autoload--insert-cookie-text.
4138 (autoload--insert-cookie-text): Remove.
4139 (autoload-generate-file-autoloads): Adjust calls accordingly.
4140
9b2607e8
SM
4141 * winner.el (winner-hook-installed-p): Remove.
4142 (winner-mode): Simplify accordingly.
4143
c43a8618
SM
4144 * subr.el (add-to-list): Fix compiler-macro when `append' is
4145 not constant. Don't use `cl-member' for the base case.
4146
0ac26976
SM
4147 * progmodes/subword.el: Fix boundary case (bug#13758).
4148 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4149 own group.
4150 (subword-backward-regexp): Make it a constant.
4151 (subword-forward-internal): Don't treat a trailing capital as the
4152 beginning of a word.
4153
6874724a
AR
41542013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4155
4156 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4157 global value of tabulated-list-revert-hook (bug#14930).
4158
70f1b5e8
JB
41592013-07-22 Juanma Barranquero <lekktu@gmail.com>
4160
a1c80d9d
JB
4161 * desktop.el: Require 'cl-lib.
4162 (desktop-before-saving-frames-functions): New hook.
4163 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4164 for frames being saved. Rename from desktop--save-minibuffer-frames.
4165 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4166 Do not save frames with non-nil `desktop-dont-save' parameter.
4167 Filter out deleted frames.
a1c80d9d
JB
4168 (desktop--find-frame): Use cl-find-if.
4169 (desktop--select-frame): Use cl-(first|second|third) to access values
4170 of desktop-mini.
4171 (desktop--make-frame): Use cl-delete-if.
4172 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4173 (desktop-restore-frames): Use cl-(first|second|third) to access values
4174 of desktop-mini. Look for visible frame at the end, not while
4175 restoring frames.
4176
70f1b5e8
JB
4177 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4178 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4179 Use string-match-p, looking-at-p (bug#14927).
4180
728dc3cc
JB
41812013-07-21 Juanma Barranquero <lekktu@gmail.com>
4182
56bc453c
JB
4183 * desktop.el (desktop-saved-frame-states):
4184 Rename from desktop--saved-states; all users changed.
4185 (desktop-save-frames): Rename from desktop--save-frames.
4186 Do not save state to desktop file.
4187 (desktop-save): Save desktop-saved-frame-states to desktop file
4188 and reset to nil.
4189 (desktop-restoring-frames-p): New function.
4190 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4191 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4192 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4193
728dc3cc
JB
4194 * desktop.el: Correctly restore iconified frames.
4195 (desktop--filter-iconified-position): New function.
4196 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4197
862f1c9c
GM
41982013-07-20 Glenn Morris <rgm@gnu.org>
4199
c4074c9f
GM
4200 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4201 Let `message' do the formatting.
4202 (def-gdb-preempt-display-buffer): Add explicit format.
4203
d828e5f9
GM
4204 * image-dired.el (image-dired-track-original-file):
4205 Use with-current-buffer.
4206 (image-dired-track-thumbnail): Use with-current-buffer.
4207 Avoid changing point of wrong window.
4208
862f1c9c
GM
4209 * image-dired.el (image-dired-track-original-file):
4210 Avoid changing point of wrong window. (Bug#14909)
4211
f0398ec1 42122013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4213
4214 * progmodes/gdb-mi.el (gdb-done-or-error):
4215 Guard against "%" in gdb output. (Bug#14127)
4216
1451928f
AS
42172013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4218
763a086d
JB
4219 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4220 (Bug#14826)
f7a03897 4221
1451928f
AS
4222 * international/mule.el (coding-system-iso-2022-flags): Fix last
4223 change.
4224
99107004
KH
42252013-07-20 Kenichi Handa <handa@gnu.org>
4226
763a086d
JB
4227 * international/mule.el (coding-system-iso-2022-flags):
4228 Add `8-bit-level-4'. (Bug#8522)
99107004 4229
48494e06
LMI
42302013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4231
8ba8eec5
LMI
4232 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4233 (bug#14815).
4234
dfbc66e3
LMI
4235 * net/eww.el (eww-process-text-input): Allow inputting when the
4236 point is at the start of the line, as the properties aren't
4237 front-sticky.
4238
48494e06
LMI
4239 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4240 degenerate widths.
4241
77c92cb9
RS
42422013-07-19 Richard Stallman <rms@gnu.org>
4243
aec7da77
RS
4244 * epa.el (epa-popup-info-window): Doc fix.
4245
77c92cb9
RS
4246 * subr.el (split-string): New arg TRIM.
4247
945c5bb1
JB
42482013-07-18 Juanma Barranquero <lekktu@gmail.com>
4249
4250 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4251 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4252
e06ec67f
MA
42532013-07-18 Michael Albinus <michael.albinus@gmx.de>
4254
c7064f05 4255 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4256 `file-notify-support'. Do not autoload. Adapt all uses.
4257 (file-notify-supported-p): New defun.
4258
c7064f05
JB
4259 * autorevert.el (auto-revert-use-notify):
4260 Use `file-notify-supported-p' instead of `file-notify-support'.
4261 Adapt docstring.
e06ec67f
MA
4262 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4263
4264 * net/tramp.el (tramp-file-name-for-operation):
4265 Add `file-notify-supported-p'.
4266
4267 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4268 New defun.
4269 (tramp-sh-file-name-handler-alist): Add it as handler for
4270 `file-notify-supported-p '.
4271
4272 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4273 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4274 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4275 Add `ignore' as handler for `file-notify-*' functions.
4276
5dc8a629
EZ
42772013-07-17 Eli Zaretskii <eliz@gnu.org>
4278
4279 * simple.el (line-move-partial, line-move): Don't start vscroll or
4280 scroll-up if the current line is not taller than the window.
4281 (Bug#14881)
4282
77aea2fb
DG
42832013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4284
4285 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4286 highlight question marks in the method names as strings.
ac72c08d
DG
4287 (ruby-block-beg-keywords): Inline.
4288 (ruby-font-lock-keyword-beg-re): Extract from
4289 `ruby-font-lock-keywords'.
77aea2fb 4290
18c26d81
JD
42912013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4292
4293 * frame.el (blink-cursor-blinks): New defcustom.
4294 (blink-cursor-blinks-done): New defvar.
4295 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4296 (blink-cursor-timer-function): Check if number of blinks has been
4297 done on X and NS.
4298 (blink-cursor-suspend, blink-cursor-check): New defuns.
4299
da48522e
GM
43002013-07-15 Glenn Morris <rgm@gnu.org>
4301
4302 * edmacro.el (edmacro-format-keys): Fix previous change.
4303
0463c1ef
PE
43042013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4305
4306 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4307 The hack didn't work outside English locales anyway.
4308
b43f6451
JB
43092013-07-15 Juanma Barranquero <lekktu@gmail.com>
4310
4311 * simple.el (define-alternatives): Rename from alternatives-define,
4312 per RMS' suggestion.
4313
b958c0ad
JB
43142013-07-14 Juanma Barranquero <lekktu@gmail.com>
4315
4316 * desktop.el (desktop-restore-frames): Change default to t.
4317 (desktop-restore-in-current-display): Now offer more options.
4318 (desktop-restoring-reuses-frames): New customization option.
4319 (desktop--saved-states): Doc fix.
4320 (desktop-filter-parameters-alist): New variable, renamed and expanded
4321 from desktop--excluded-frame-parameters.
4322 (desktop--target-display): New variable.
4323 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4324 (desktop--filter-tty*, desktop--filter-*-color)
4325 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4326 (desktop--filter-save-desktop-parm)
4327 (desktop-restore-in-original-display-p): New functions.
4328 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4329 (desktop--save-minibuffer-frames): New function, inspired by a similar
4330 function from Martin Rudalics.
4331 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4332 (desktop--restore-in-this-display-p): Remove.
4333 (desktop--find-frame): Rename from desktop--find-frame-in-display
4334 and add predicate argument.
4335 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4336 (desktop--reuse-list): New variable.
4337 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4338 New functions.
4339 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4340
f6dd8b36
MA
43412013-07-14 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4344
2ce3c565
DG
43452013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4346
763a086d
JB
4347 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4348 Highlight conversion methods on Kernel.
2ce3c565 4349
2cdb7698
AM
43502013-07-13 Alan Mackenzie <acm@muc.de>
4351
4352 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4353 and comment it out. This out-commenting enables certain C++
4354 declarations to be parsed correctly.
4355
1a67b811
EZ
43562013-07-13 Eli Zaretskii <eliz@gnu.org>
4357
1b796d6b
EZ
4358 * international/mule.el (define-coding-system): Doc fix.
4359
1a67b811
EZ
4360 * simple.el (default-font-height): Don't call font-info if the
4361 frame's default font didn't change since the frame was created.
4362 (Bug#14838)
4363
58fbe886
LL
43642013-07-13 Leo Liu <sdl.web@gmail.com>
4365
4366 * ido.el (ido-read-file-name): Guard against non-symbol value.
4367
1f0480d4
FEG
43682013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4369
4370 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4371 in nested defuns.
4372
97ead0e5
LL
43732013-07-13 Leo Liu <sdl.web@gmail.com>
4374
4375 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4376 ido-set-matches call. (Bug#6852)
4377
0880a952
DG
43782013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4381 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4382 Ruby 2.0.
4383 (ruby-font-lock-keywords): Distinguish calls to functions with
4384 module-like names from module references. Highlight character
4385 literals.
4386
a7d8babb
SDJ
43872013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4388
4389 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4390 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4391
acfcc8c5
JB
43922013-07-12 Juanma Barranquero <lekktu@gmail.com>
4393
4394 * desktop.el (desktop--v2s): Remove unused local variable.
4395 (desktop-save-buffer): Make defvar-local; adjust docstring.
4396 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4397 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4398
051f2775
AS
43992013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4400
4401 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4402
f24e7572
GM
44032013-07-12 Eli Zaretskii <eliz@gnu.org>
4404
4405 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4406 (Bug#14842)
4407
539a920c
GM
44082013-07-12 Glenn Morris <rgm@gnu.org>
4409
4410 * doc-view.el: Require cl-lib at runtime too.
4411 (doc-view-remove-if): Remove.
4412 (doc-view-search-next-match, doc-view-search-previous-match):
4413 Use cl-remove-if.
4414
4415 * edmacro.el: Require cl-lib at runtime too.
4416 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4417 (edmacro-mismatch, edmacro-subseq): Remove.
4418
4419 * shadowfile.el: Require cl-lib.
4420 (shadow-remove-if): Remove.
4421 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4422 Use cl-remove-if.
4423
4424 * wid-edit.el: Require cl-lib.
4425 (widget-choose): Use cl-remove-if.
4426 (widget-remove-if): Remove.
4427
4428 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4429 (ebrowse-delete-if-not): Remove.
4430 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4431 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4432 Use cl-delete-if-not.
4433
1048af7c
JB
44342013-07-12 Juanma Barranquero <lekktu@gmail.com>
4435
4436 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4437 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4438
6c0674ee
LL
44392013-07-12 Leo Liu <sdl.web@gmail.com>
4440
4441 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4442
a19b3c2d
GM
44432013-07-11 Glenn Morris <rgm@gnu.org>
4444
4582a01c
GM
4445 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4446 (edebug-gensym-index, edebug-gensym):
4447 Remove reimplementation of cl-gensym.
4448 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4449
4450 * thumbs.el: Require cl-lib at run-time too.
4451 (thumbs-gensym-counter, thumbs-gensym):
4452 Remove reimplementation of cl-gensym.
4453 (thumbs-temp-file): Use cl-gensym.
4454
a19b3c2d
GM
4455 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4456 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4457 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4458 (ert--union, ert--gensym-counter, ert--gensym-counter)
4459 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4460 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4461 (ert-make-test-unbound, ert--expand-should-1)
4462 (ert--expand-should, ert--should-error-handle-error)
4463 (should-error, ert--explain-equal-rec)
4464 (ert--plist-difference-explanation, ert-select-tests)
4465 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4466 Use cl-lib functions rather than reimplementations.
4467
88f6a933
MA
44682013-07-11 Michael Albinus <michael.albinus@gmx.de>
4469
4470 * net/tramp.el (tramp-methods): Extend docstring.
4471 (tramp-connection-timeout): New defcustom.
4472 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4473 (with-tramp-progress-reporter): Simplify.
4474 (tramp-process-actions): Improve messages.
4475
4476 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4477 * net/tramp-sh.el (tramp-maybe-open-connection):
4478 Use `tramp-connection-timeout'.
4479 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4480 (Bug#14808)
4481
a43d577e
LL
44822013-07-11 Leo Liu <sdl.web@gmail.com>
4483
4484 * ido.el (ido-read-file-name): Conform to the requirements of
4485 read-file-name. (Bug#11861)
4486 (ido-read-directory-name): Conform to the requirements of
4487 read-directory-name.
4488
d77974bf
JB
44892013-07-11 Juanma Barranquero <lekktu@gmail.com>
4490
4491 * subr.el (delay-warning): New function.
4492
35cb8a3e
EZ
44932013-07-10 Eli Zaretskii <eliz@gnu.org>
4494
4495 * simple.el (default-line-height): New function.
4496 (line-move-partial, line-move): Use it instead of computing the
4497 line height inline.
4498 (line-move-partial): Always compute ROWH. If the last line is
4499 partially-visible, but its text is completely visible, allow
4500 cursor to enter such a partially-visible line.
4501
525c5c77
MA
45022013-07-10 Michael Albinus <michael.albinus@gmx.de>
4503
4504 Improve error messages. (Bug#14808)
4505
4506 * net/tramp.el (tramp-current-connection): New defvar, moved from
4507 tramp-sh.el.
0ac26976 4508 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4509 needed anymore.
0ac26976
SM
4510 (tramp-error-with-buffer): Show message in minibuffer.
4511 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4512 (with-tramp-progress-reporter): Improve messages.
4513 (tramp-process-actions): Use progress reporter. Delete process in
4514 case of error. Improve messages.
4515
763a086d
JB
4516 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4517 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4518 (tramp-current-connection): Remove.
525c5c77
MA
4519 (tramp-maybe-open-connection): The car of
4520 `tramp-current-connection' are the first 3 slots of the vector.
4521
c7a4d368
TZ
45222013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4523
4524 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4525 inside continued strings.
4526
954b166e
PE
45272013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4528
4529 Timestamp fixes for undo (Bug#14824).
4530 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4531
56973319
LL
45322013-07-10 Leo Liu <sdl.web@gmail.com>
4533
4534 * files.el (require-final-newline): Allow safe local value.
4535 (Bug#14834)
4536
5550a72c
LL
45372013-07-09 Leo Liu <sdl.web@gmail.com>
4538
4539 * ido.el (ido-read-directory-name): Handle fallback.
4540 (ido-read-file-name): Update DIR to ido-current-directory.
4541 (Bug#1516)
c28b9050 4542 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4543
70c46b28
DG
45442013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4545
4546 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4547 "autoload". Remove "warn lower camel case" section, previously
4548 commented out. Highlight negation char. Do not highlight the
4549 target in singleton method definitions.
4550
0b64b838
SM
45512013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4552
7fd72e2c
SM
4553 * faces.el (tty-setup-hook): Declare the hook.
4554
0b64b838
SM
4555 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4556 and detect when a guard/pred depends on local vars (bug#14773).
4557 (pcase--u1): Adjust caller.
4558
ab49d60b
EZ
45592013-07-08 Eli Zaretskii <eliz@gnu.org>
4560
4561 * simple.el (line-move-partial, line-move): Account for
4562 line-spacing.
701d79aa
EZ
4563 (line-move-partial): Avoid setting vscroll when the last
4564 partially-visible line in window is of default height.
ab49d60b 4565
2d756ae0
LMI
45662013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4567
4568 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4569 been used a while.
4570
ed095bd7
JB
45712013-07-07 Juanma Barranquero <lekktu@gmail.com>
4572
4573 * subr.el (read-quoted-char): Remove unused local variable `char'.
4574
f1e6674b
MK
45752013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4576
584ee3fc
GM
4577 * ediff.el (ediff-version): Version update.
4578 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4579 (ediff-merge-with-ancestor-command, ediff-directories-command)
4580 (ediff-directories3-command, ediff-merge-directories-command)
4581 (ediff-merge-directories-with-ancestor-command): New functions.
4582 All are command-line interfaces to ediff: to facilitate calling
4583 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4584
4585 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4586 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4587
584ee3fc
GM
4588 * viper.el (viper-version): Version update.
4589 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4590
584ee3fc
GM
45912013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4594 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4595 (viper-intercept-ESC-key): Simplify.
4596 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4597 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4598 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4599 (viper-setup-ESC-to-escape): New functions.
4600 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4601 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4602
9aff9b38
EZ
46032013-07-07 Eli Zaretskii <eliz@gnu.org>
4604
5165d44a
JB
4605 * simple.el (default-font-height, window-screen-lines):
4606 New functions.
9aff9b38
EZ
4607 (line-move, line-move-partial): Use them instead of
4608 frame-char-height and window-text-height. This makes scrolling
4609 text smoother when the buffer's default face uses a font that is
4610 different from the frame's default font.
4611
1afb1d07
JD
46122013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4613
4614 * files.el (write-file): Do not display confirm dialog for NS,
4615 it does its own dialog, which can't be cancelled (Bug#14578).
4616
23de972a
EZ
46172013-07-06 Eli Zaretskii <eliz@gnu.org>
4618
4619 * simple.el (line-move-partial): Adjust the row returned by
4620 posn-at-point for the current window-vscroll. (Bug#14567)
4621
54a42486
MA
46222013-07-06 Michael Albinus <michael.albinus@gmx.de>
4623
4624 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4625 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4626 spaces.
4627
34ada5f4
MR
46282013-07-06 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (window-state-put-stale-windows): New variable.
4631 (window--state-put-2): Save list of windows without matching buffer.
4632 (window-state-put): Remove "bufferless" windows if possible.
4633
11e03d89
JB
46342013-07-06 Juanma Barranquero <lekktu@gmail.com>
4635
4636 * simple.el (alternatives-define): Remove leftover :group keyword.
4637 Tweak docstring.
4638
3504a4be
LL
46392013-07-06 Leo Liu <sdl.web@gmail.com>
4640
4641 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4642 (ido-enable-virtual-buffers): New variable.
4643 (ido-buffer-internal, ido-toggle-virtual-buffers)
4644 (ido-make-buffer-list): Use it.
4645 (ido-exhibit): Support turning on and off virtual buffers
4646 automatically.
4647
61e56e2c
JB
46482013-07-06 Juanma Barranquero <lekktu@gmail.com>
4649
4650 * simple.el (alternatives-define): New macro.
4651
321e1a9c
SM
46522013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * subr.el (read-quoted-char): Use read-key.
4655 (sit-for): Let read-event decode tty input (bug#14782).
4656
d610f6dd
SB
46572013-07-05 Stephen Berman <stephen.berman@gmx.net>
4658
4659 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4660 mode command and externally. Fix various related bugs.
4661 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4662 (todo-delete-file): New command.
4663 (todo-check-file): New function.
4664 (todo-show): Handle external deletion of the file we're trying to
4665 show (bug#14688). Replace called-interactively-p by an optional
4666 prefix argument to avoid problematic interaction with catch form
4667 when byte compiled (bug#14702).
4668 (todo-quit): Handle external deletion of the archive's todo file.
4669 Make sure the buffer that was visiting the archive file is still
4670 live before trying to bury it.
4671 (todo-category-completions): Handle external deletion of any
4672 category completion files.
4673 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4674 of todo files, in case of external deletion.
4675 (todo-add-file): Replace unnecessary setq by let-binding.
4676 (todo-find-archive): Check whether there are any archives.
4677 Replace unnecessary setq by let-binding.
4678 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4679 archive buffer whether or not the archive already exists.
4680 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4681 check if the archive is new; if it is, update list of archives.
4682 (todo-default-todo-file): Allow nil to be a valid value for when
4683 there are no todo files.
4684 (todo-reevaluate-default-file-defcustom): Use corrected definition
4685 of todo-default-todo-file.
4686 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4687 (todo-delete-category, todo-show-categories-table)
4688 (todo-category-number): Clarify comment.
4689 (todo-filter-items): Clarify documentation string.
4690 (todo-show-current-file, todo-display-as-todo-file)
4691 (todo-reset-and-enable-done-separator): Tweak documentation string.
4692 (todo-done-separator): Make separator length window-width, since
4693 bug#2749 is now fixed.
4694
ddbdfd6f
MA
46952013-07-05 Michael Albinus <michael.albinus@gmx.de>
4696
321e1a9c
SM
4697 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4698 Support both "gvfs-monitor-dir" and "inotifywait".
4699 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4700 `tramp-sh-file-notify-process-filter'.
4701 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4702 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4703
96eb829a
LL
47042013-07-05 Leo Liu <sdl.web@gmail.com>
4705
4706 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4707
cf13177e
YM
47082013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4709
4710 * frame.el (display-pixel-height, display-pixel-width)
4711 (display-mm-height, display-mm-width): Mention behavior on
4712 multi-monitor setups in docstrings.
4713 (w32-display-monitor-attributes-list): Declare function.
4714 (display-monitor-attributes-list): Use it.
4715
864c58ca
MA
47162013-07-04 Michael Albinus <michael.albinus@gmx.de>
4717
4718 * filenotify.el: New package.
4719
4720 * autorevert.el (top): Require filenotify.el.
4721 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4722 instead.
4723 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4724 (auto-revert-notify-handler): Use `file-notify-*' functions.
4725
4726 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4727
321e1a9c
SM
4728 * net/tramp.el (tramp-file-name-for-operation):
4729 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4730
4731 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4732 for `file-notify-add-watch' and `file-notify-rm-watch'.
4733 (tramp-process-sentinel): Improve trace.
4734 (tramp-sh-handle-file-notify-add-watch)
4735 (tramp-sh-file-notify-process-filter)
4736 (tramp-sh-handle-file-notify-rm-watch)
4737 (tramp-get-remote-inotifywait): New defuns.
4738
96673afe
JL
47392013-07-03 Juri Linkov <juri@jurta.org>
4740
4741 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4742 call of `occur-read-primary-args' to interactive spec.
4743
4744 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4745 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4746
924494f4
MM
47472013-07-03 Matthias Meulien <orontee@gmail.com>
4748
4749 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4750 `Buffer-menu-multi-occur'. Add it to the menu.
4751 (Buffer-menu-mode): Document it in docstring.
4752 (Buffer-menu-multi-occur): New command. (Bug#14673)
4753
56f75efc
DG
47542013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4755
4756 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4757 keywords and built-ins.
4758
9b057d61
GM
47592013-07-03 Glenn Morris <rgm@gnu.org>
4760
208dee4d
GM
4761 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4762
9b057d61
GM
4763 Make info-xref checks case-sensitive by default
4764 * info.el (Info-find-node, Info-find-in-tag-table)
4765 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4766 Add option for exact case matching of nodes.
4767 * info-xref.el (info-xref): New custom group.
4768 (info-xref-case-fold): New option.
4769 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4770
e01aa29c
LL
47712013-07-03 Leo Liu <sdl.web@gmail.com>
4772
4773 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4774
3086ca2e
DG
47752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4776
4777 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4778 middle of block statement initially, lower the depth. Remove
4779 FIXME comment, not longer valid. Remove middle of block statement
4780 detection, no need to do that anymore since we've been using
4781 `ruby-parse-region' here.
4782
a3b49114
JD
47832013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4784
4785 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4786
08e5c823 47872013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4788
4789 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4790
2addf922
JB
47912013-07-01 Juanma Barranquero <lekktu@gmail.com>
4792
4793 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4794 (desktop-restore-in-current-display): New customization option.
4795 (desktop--excluded-frame-parameters): Add `font'.
4796 (desktop--save-frames): Rename from desktop--save-windows.
4797 (desktop--restore-in-this-display-p): New function.
4798 (desktop--make-full-frame): Remove unwanted width/height from
4799 full(width|height) frames.
4800 (desktop--restore-frames): Rename from desktop--restore-windows.
4801 Obey desktop-restore-current-display. Do not delete old frames or
4802 select a new frame unless we were able to restore at least one frame.
4803
ef099a94
MN
48042013-06-30 Michal Nazarewicz <mina86@mina86.com>
4805
4806 * files.el (find-file-noselect): Simplify conditional expression.
4807
4808 * remember.el (remember-append-to-file):
4809 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4810
4811 Add `remember-notes' function to store random notes across Emacs
4812 restarts.
4813 * remember.el (remember-data-file): Add :set callback to affect
4814 notes buffer (if any).
4815 (remember-notes): New command.
4816 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4817 New defcustoms for the `remember-notes' function.
4818 (remember-notes-save-and-bury-buffer): New command.
4819 (remember-notes-mode-map): New variable.
4820 (remember-mode): New minor mode.
4821 (remember-notes--kill-buffer-query): New function.
4822 * startup.el (initial-buffer-choice): Add notes to custom type.
4823
0865d506
EZ
48242013-06-30 Eli Zaretskii <eliz@gnu.org>
4825
0ba54312
EZ
4826 * bindings.el (right-char, left-char): Don't call sit-for, this is
4827 no longer needed. Use arithmetic comparison only for numerical
4828 arguments.
4829
ef099a94
MN
4830 * international/mule-cmds.el (select-safe-coding-system):
4831 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4832
2fae38e5
LMI
48332013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4834
4835 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4836 progression on degenerate tables.
ef099a94 4837 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4838
a47cbd64
JB
48392013-06-30 Juanma Barranquero <lekktu@gmail.com>
4840
4841 Some fixes and improvements for desktop frame restoration.
4842 It is still experimental and disabled by default.
4843 * desktop.el (desktop--save-windows): Put the selected frame at
4844 the head of the list.
4845 (desktop--make-full-frame): New function.
4846 (desktop--restore-windows): Try to re-select the frame that was
4847 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4848 just show an error message and continue. Set up maximized frames
4849 so they have default non-maximized dimensions.
a47cbd64 4850
6dbafa30
DG
48512013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4852
ef099a94
MN
4853 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4854 Don't start heredoc inside a string or comment.
6dbafa30 4855
4c672a0f
EZ
48562013-06-29 Eli Zaretskii <eliz@gnu.org>
4857
4858 * bindings.el (visual-order-cursor-movement): New defcustom.
4859 (right-char, left-char): Provide visual-order cursor motion by
4860 calling move-point-visually. Update the doc strings.
4861
50960f36
KH
48622013-06-28 Kenichi Handa <handa@gnu.org>
4863
4864 * international/mule.el (define-coding-system): New coding system
4865 properties :inhibit-null-byte-detection,
4866 :inhibit-iso-escape-detection, and :prefer-utf-8.
4867 (set-buffer-file-coding-system): If :charset-list property of
4868 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4869 appropriate for setting.
4870
c1ea3abf
JB
4871 * international/mule-cmds.el (select-safe-coding-system):
4872 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4873 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4874
4875 * international/mule-conf.el (prefer-utf-8): New coding system.
4876 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4877 files.
4878
75dbaf9d
IK
48792013-06-28 Ivan Kanis <ivan@kanis.fr>
4880
eadb6068
IK
4881 * net/shr.el (shr-render-region): New function.
4882
75dbaf9d
IK
4883 * net/eww.el: Autoload `eww-browse-url'.
4884
9ea5cf9f
DG
48852013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4886
c1ea3abf
JB
4887 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4888 Adapt to `package-desc-version' being a list.
4889 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4890 archive element.
4891
39c0e36f
JB
48922013-06-27 Juanma Barranquero <lekktu@gmail.com>
4893
4894 New experimental feature to save&restore window and frame setup.
4895 * desktop.el (desktop-save-windows): New defcustom.
4896 (desktop--saved-states): New var.
4897 (desktop--excluded-frame-parameters): New defconst.
4898 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4899 (desktop--restore-windows, desktop--save-windows): New functions.
4900 (desktop-save): Call `desktop--save-windows'.
4901 (desktop-read): Call `desktop--restore-windows'.
4902
7f13406b
LMI
49032013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
ef099a94 4905 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4906
1e072639
SB
49072013-06-27 Stephen Berman <stephen.berman@gmx.net>
4908
4909 * info.el (Info-try-follow-nearest-node): Move search for footnote
4910 above search for node name to prevent missing a footnote (bug#14717).
4911
f3e2cbde
SB
49122013-06-27 Stephen Berman <stephen.berman@gmx.net>
4913
4914 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4915
99906aa0
LL
49162013-06-27 Leo Liu <sdl.web@gmail.com>
4917
4918 * net/eww.el (eww-read-bookmarks): Check file size.
4919
539f75f4
SM
49202013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4923 advice--pending if newdef is nil or an autoload (bug#13820).
4924 (advice-mapc): New function.
4925
843571cb
LMI
49262013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4927
4928 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4929 probably.
23a75d7f 4930 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4931 (eww-add-bookmark): New command.
4932 (eww-bookmark-mode): New mode and commands.
a285ce99 4933 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4934 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4935
f2136e1e
GM
49362013-06-26 Glenn Morris <rgm@gnu.org>
4937
eab35f39
GM
4938 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4939 (hfy-size): Handle ttys. (Bug#14668)
4940
f2136e1e
GM
4941 * info-xref.el: Update for Texinfo 5 change in *note format.
4942 (info-xref-node-re, info-xref-note-re): New constants.
4943 (info-xref-check-buffer): Use info-xref-note-re.
4944
a49ff80c
SM
49452013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4946
a343d218
SM
4947 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4948
a49ff80c
SM
4949 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4950 nil terminate the loop (bug#14718).
4951
8308f184
LMI
49522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4953
4954 * net/eww.el: Rework history traversal. When going forward/back,
4955 put these actions into the history, too, so that they can be
4956 replayed.
26bf2b82 4957 (eww-render): Move the history reset to the correct buffer.
8308f184 4958
ec64c273
JL
49592013-06-25 Juri Linkov <juri@jurta.org>
4960
4961 * files-x.el (modify-dir-local-variable): Change the header comment
4962 in the file with directory local variables. (Bug#14692)
4963
e080a9d7
JL
4964 * files-x.el (read-file-local-variable-value): Add `default'.
4965 (Bug#14710)
4966
bfbc93a1
IK
49672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4968
4969 * net/eww.el (eww-make-unique-file-name): Create a unique file
4970 name before saving to entering `y' accidentally asynchronously.
4971
49722013-06-25 Ivan Kanis <ivan@kanis.fr>
4973
4974 * net/eww.el (eww-download): New command and keystroke.
4975
16f74f10
LMI
49762013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
a49ff80c 4978 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4979
4980 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4981 be more consistent with Info and dired.
4982
4983 * net/eww.el (eww-mode-map): Ditto.
4984
12059709
SM
49852013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4988 packages from archives.
4989 (package-archive-contents): Change format; include obsolete packages.
4990 (package-desc): Use `dir' to mark builtin packages.
4991 (package--from-builtin): Set the `dir' field to `builtin'.
4992 (generated-autoload-file, version-control): Declare.
4993 (package-compute-transaction): Change first arg and return value to be
4994 lists of package-descs. Adjust to new package-archive-contents format.
4995 (package--add-to-archive-contents): Adjust to new
4996 package-archive-contents format.
4997 (package-download-transaction): Arg is now a list of package-descs.
4998 (package-install): If `pkg' is a package name, pass it as
4999 a requirement, so it is subject to the usual (e.g. disabled) checks.
5000 (describe-package): Accept package-desc as well.
5001 (describe-package-1): Describe a specific package-desc. Add links to
5002 other package-descs for the same package name.
5003 (package-menu-describe-package): Pass the actual package-desc.
5004 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5005 works correctly.
5006 (package-desc-status): New function.
5007 (package-menu--refresh): New function, extracted
5008 from package-menu--generate.
5009 (package-menu--generate): Use it.
5010 (package-delete): Update package-alist.
5011 (package-menu-execute): Don't call package-initialize.
5012
5013 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5014 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5015 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5016 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5017 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5018 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5019
8bbdea0f
MR
50202013-06-25 Martin Rudalics <rudalics@gmx.at>
5021
5022 * window.el (window--state-get-1): Workaround for bug#14527.
5023 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5024
e82b0991
LMI
50252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5026
5027 * net/eww.el (eww-back-url): Implement the history by stashing all
5028 the data into a list.
d3f0f918 5029 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5030
c763842b
SM
50312013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5034 for values and use read--expression for expressions (bug#14710).
5035 (read-file-local-variable): Avoid setq.
5036 (read-file-local-variable-mode): Use minor-mode-list.
5037
bceff189
RW
50382013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5039
864c58ca 5040 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5041 for DOI URLs.
5042
45f431c6
RW
50432013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5044
864c58ca 5045 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5046 Update imenu-support when dialect changes.
5047
f42d8237
LL
50482013-06-25 Leo Liu <sdl.web@gmail.com>
5049
5050 * ido.el (ido-read-internal): Allow forward slash on windows.
5051
be549ce6
LMI
50522013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5053
5054 * net/eww.el (eww): Start of strings is \\`, not ^.
5055
71d4c19d
IK
50562013-06-24 Ivan Kanis <ivan@kanis.fr>
5057
5196f88a
IK
5058 * net/shr.el (shr-browse-url): Fix interactive spec.
5059
71d4c19d
IK
5060 * net/eww.el (eww): Add a trailing slash to domain names.
5061
ae36ca55
JB
50622013-06-24 Juanma Barranquero <lekktu@gmail.com>
5063
5064 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5065
0ebd92a3
LMI
50662013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5067
bdaa086b
LMI
5068 * net/shr.el (shr-browse-url): Use an external browser if given a
5069 prefix.
5070
c763842b 5071 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5072
b89fc156
IK
50732013-06-24 Ivan Kanis <ivan@kanis.fr>
5074
5075 * net/eww.el (eww): Work more correctly for file: URLs.
5076 (eww-detect-charset): Allow quoted charsets.
5077 (eww-yank-page-url): New command and keystroke.
5078
18eb4bca
DU
50792013-06-24 Daiki Ueno <ueno@gnu.org>
5080
5081 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5082 file name of gpg executable.
5083 (epg-context-program): New function.
5084 (epg-context-home-directory): New function.
5085 (epg-context-set-program): New function.
5086 (epg-context-set-home-directory): New function.
5087 (epg--start): Use `epg-context-program' instead of
5088 'epg-gpg-program'.
5089 (epg--list-keys-1): Likewise.
5090
6c6268c8
LL
50912013-06-24 Leo Liu <sdl.web@gmail.com>
5092
5093 * ido.el (ido-read-internal): Fix bug#14620.
5094
5e400cb3
JB
50952013-06-23 Juanma Barranquero <lekktu@gmail.com>
5096
5097 * faces.el (face-documentation): Simplify.
5098 (read-face-attribute, tty-find-type, x-resolve-font-name):
5099 Use `string-match-p'.
5100 (list-faces-display): Use `string-match-p'. Simplify.
5101 (face-spec-recalc): Check face to avoid face alias loops.
5102 (read-color): Use `string-match-p' and non-capturing parenthesis.
5103
f3f9606c
LMI
51042013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5105
5106 * net/shr.el (shr-rescale-image): Use the new
5107 :max-width/:max-height functionality.
5108
a3ca09b9
IK
51092013-06-23 Ivan Kanis <ivan@kanis.fr>
5110
5111 * net/eww.el (eww-search-prefix): New variable.
5112 (eww): Use it.
f865b474
IK
5113 (eww-external-browser): New variable.
5114 (eww-mode-map): New keystroke.
5115 (eww-browse-with-external-browser): New command.
a3ca09b9 5116
e854cfc7
IK
5117 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5118
18bb9e21
JB
51192013-06-23 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5122 Don't skip aligning the next header field when padding is 0;
5123 otherwise, field width is not respected unless the title is as
5124 wide as the field.
5125
5b165ade
SM
51262013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * emacs-lisp/package.el (package-el-version): Remove.
5129 (package-process-define-package): Fix inf-loop.
5130 (package-install): Allow symbols as arguments again.
5131
12adebe9
DG
51322013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5133
5134 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5135 add some more keyword-like methods.
5136 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5137
388573ee
JB
51382013-06-22 Juanma Barranquero <lekktu@gmail.com>
5139
5140 * bs.el (bs-buffer-show-mark): Make defvar-local.
5141 (bs-mode): Use setq-local.
5142
5143 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5144 (emacs-lock--try-unlocking): Make defvar-local.
5145
4582a01c 51462013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5147
2663dd23
GM
5148 * play/cookie1.el (cookie-apropos): Minor simplification.
5149
3d94f3ad
GM
5150 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5151
f72e2fdb
DG
51522013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5153
5154 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5155 `regexp-opt', it breaks the build during dumping.
5156
73eab938
DG
51572013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5158
c763842b
SM
5159 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5160 Highlight keyword-like methods on Kernel and Module with
73eab938 5161 font-lock-builtin-face.
5cf8176d
DG
5162 (auto-mode-alist): Consolidate different entries into one regexp
5163 and add more *file-s.
73eab938 5164
d26255f6
SB
51652013-06-21 Stephen Berman <stephen.berman@gmx.net>
5166
5167 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5168
5169 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5170 (diary-entry): Use it in the action of this button type instead of
5171 diary-goto-entry.
5172
5173 * calendar/todo-mode.el: New version.
5174 (todo-add-category): Append new category to end of file and give
5175 it the highest number, instead of putting it at the beginning and
5176 giving it 0. Incorporate noninteractive functionality.
5177 (todo-forward-category): Adapt to 1-based category numbering.
5178 Allow skipping over archived categories.
5179 (todo-backward-category): Derive from todo-forward-category.
5180 (todo-backward-item, todo-forward-item): Make noninteractive and
5181 delegate interactive part to new commands. Make sensitive to done items.
5182 (todo-categories): Make value an alist of category names and
5183 vectors of item counts.
5184 (todo-category-beg): Make a defconst.
5185 (todo-category-number): Use 1 instead of 0 as initial value.
5186 (todo-category-select): Make sensitive to overlays, optional item
5187 highlighting and done items.
5188 (todo-delete-item): Make sensitive to overlays and marked and done items.
5189 (todo-edit-item): Make sensitive to overlays and editing of
5190 date/time header optional. Add format checks.
5191 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5192 no-op if point is not on an item. Advertise using todo-edit-quit.
5193 (todo-edit-mode): Make sensitive to new format, font-locking, and
5194 multiple todo files.
5195 (todo-insert-item, todo-insert-item-here): Derive from
5196 todo-basic-insert-item and extend functionality.
5197 (todo-item-end, todo-item-start): Make sensitive to done items.
5198 (todo-item-string): Don't return text properties. Restore point.
5199 (todo-jump-to-category): Make sensitive to multiple todo files and
5200 todo archives. Use extended category completion.
5201 (todo-lower-item, todo-raise-item): Rename to *-priority and
5202 derive from todo-set-item-priority.
5203 (todo-mode): Derive from special-mode. Make sensitive to new
5204 format, font-locking and multiple todo files. Make read-only.
5205 (todo-mode-map): Don't suppress digit keys, so they can supply
5206 prefix arguments. Add many new key bindings.
5207 (todo-prefix): Insert as an overlay instead of file text.
5208 Change semantics from diary date expression to purely visual mark.
5209 (todo-print): Rename to todo-print-buffer. Make buffer display
5210 features printable. Remove option to restrict number of items
5211 printed. Add option to print to file.
5212 (todo-print-function): Rename to todo-print-buffer-function.
5213 (todo-quit): Extend to handle exiting new todo modes.
5214 (todo-remove-item): Make sensitive to overlays.
5215 (todo-save): Extend to buffers of filtered items.
5216 (todo-show): Make sensitive to done items, multiple todo files and
5217 new todo modes. Offer to convert legacy todo file before creating
5218 first new todo file.
5219 (todo-show-priorities): Rename to todo-top-priorities.
5220 Change semantics of value 0.
5221 (todo-top-priorities): Rename to todo-filter-top-priorities,
5222 derive from todo-filter-items and extend functionality.
5223 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5224 and extend functionality to other types of filtered items.
5225 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5226 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5227 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5228 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5229 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5230 (todo-edit-mode-hook, todo-entry-prefix-function)
5231 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5232 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5233 (todo-initials, todo-insert-threshold, todo-item-string-start)
5234 (todo-line-string, todo-menu, todo-mode-hook)
5235 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5236 (todo-print-priorities, todo-remove-separator)
5237 (todo-save-top-priorities-too, todo-string-count-lines)
5238 (todo-string-multiline-p, todo-time-string-format)
5239 (todo-tmp-buffer-name): Remove.
5240 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5241 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5242 (todo-edit-category-diary-inclusion)
5243 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5244 (todo-edit-file, todo-edit-item-date-day)
5245 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5246 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5247 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5248 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5249 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5250 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5251 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5252 (todo-filter-top-priorities-multifile, todo-find-archive)
5253 (todo-find-filtered-items-file, todo-go-to-source-item)
5254 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5255 (todo-jump-to-archive-category, todo-lower-category)
5256 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5257 (todo-move-category, todo-move-item, todo-next-button)
5258 (todo-next-item, todo-padded-string, todo-powerset)
5259 (todo-previous-button, todo-previous-item)
5260 (todo-print-buffer-to-file, todo-raise-category)
5261 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5262 (todo-set-category-number, todo-set-item-priority)
5263 (todo-set-top-priorities-in-category)
5264 (todo-set-top-priorities-in-file, todo-show-categories-table)
5265 (todo-sort-categories-alphabetically-or-numerically)
5266 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5267 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5268 (todo-toggle-item-header, todo-toggle-item-highlighting)
5269 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5270 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5271 (todo-unarchive-items, todo-unmark-category): New commands.
5272 (todo-absolute-file-name, todo-add-to-buffer-list)
5273 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5274 (todo-basic-insert-item, todo-category-completions)
5275 (todo-category-number, todo-category-string-matcher-1)
5276 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5277 (todo-check-format, todo-clear-matches)
5278 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5279 (todo-current-category, todo-date-string-matcher)
5280 (todo-define-insertion-command, todo-diary-expired-matcher)
5281 (todo-diary-goto-entry, todo-diary-item-p)
5282 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5283 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5284 (todo-done-item-section-p, todo-done-separator)
5285 (todo-done-string-matcher, todo-files, todo-filter-items)
5286 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5287 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5288 (todo-insert-category-line, todo-insert-item-from-calendar)
5289 (todo-insert-sort-button, todo-insert-with-overlays)
5290 (todo-insertion-command-name, todo-insertion-key-bindings)
5291 (todo-label-to-key, todo-longest-category-name-length)
5292 (todo-make-categories-list, todo-mode-external-set)
5293 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5294 (todo-modes-set-3, todo-multiple-filter-files)
5295 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5296 (todo-read-category, todo-read-date, todo-read-dayname)
5297 (todo-read-file-name, todo-read-time)
5298 (todo-reevaluate-category-completions-files-defcustom)
5299 (todo-reevaluate-default-file-defcustom)
5300 (todo-reevaluate-filelist-defcustoms)
5301 (todo-reevaluate-filter-files-defcustom)
5302 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5303 (todo-reset-done-separator, todo-reset-done-separator-string)
5304 (todo-reset-done-string, todo-reset-global-current-todo-file)
5305 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5306 (todo-reset-prefix, todo-set-categories)
5307 (todo-set-date-from-calendar, todo-set-show-current-file)
5308 (todo-set-top-priorities, todo-short-file-name)
5309 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5310 (todo-total-item-counts, todo-update-buffer-list)
5311 (todo-update-categories-display, todo-update-categories-sexp)
5312 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5313 New functions.
5314 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5315 New major modes.
5316 (todo-categories, todo-display, todo-edit, todo-faces)
5317 (todo-filtered): New defgroups.
5318 (todo-archived-only, todo-button, todo-category-string, todo-date)
5319 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5320 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5321 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5322 (todo-add-item-if-new-category, todo-always-add-time-string)
5323 (todo-categories-align, todo-categories-archived-label)
5324 (todo-categories-category-label, todo-categories-diary-label)
5325 (todo-categories-done-label, todo-categories-number-separator)
5326 (todo-categories-todo-label, todo-categories-totals-label)
5327 (todo-category-completions-files, todo-completion-ignore-case)
5328 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5329 (todo-done-separator-string, todo-done-string)
5330 (todo-files-function, todo-filter-done-items, todo-filter-files)
5331 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5332 (todo-initial-category, todo-initial-file, todo-item-mark)
5333 (todo-legacy-date-time-regexp, todo-mode-line-function)
5334 (todo-nondiary-marker, todo-number-prefix)
5335 (todo-print-buffer-function, todo-show-current-file)
5336 (todo-show-done-only, todo-show-first, todo-show-with-done)
5337 (todo-skip-archived-categories, todo-top-priorities-overrides)
5338 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5339 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5340 New defcustoms.
5341 (todo-category-done, todo-date-pattern, todo-date-string-start)
5342 (todo-diary-items-buffer, todo-done-string-start)
5343 (todo-filtered-items-buffer, todo-item-start)
5344 (todo-month-abbrev-array, todo-month-name-array)
5345 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5346 (todo-top-priorities-buffer): New defconsts.
5347 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5348 (todo-categories-with-marks, todo-category-string-face)
5349 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5350 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5351 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5352 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5353 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5354 (todo-font-lock-keywords, todo-global-current-todo-file)
5355 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5356 (todo-insertion-commands-args)
5357 (todo-insertion-commands-args-genlist)
5358 (todo-insertion-commands-names, todo-insertion-map)
5359 (todo-key-bindings-t, todo-key-bindings-t+a)
5360 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5361 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5362 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5363 (todo-visited): New variables.
5364
cad5d1cb
GM
53652013-06-21 Glenn Morris <rgm@gnu.org>
5366
5367 * play/cookie1.el (cookie-apropos): Add optional display argument.
5368 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5369 (psychoanalyze-pinhead): Use cookie-doctor.
5370
9e277302
JB
53712013-06-21 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * emacs-lisp/package.el (tar-get-file-descriptor)
5374 (tar--extract): Declare.
5375
c5b0993e
EW
53762013-06-21 Eduard Wiebe <usenet@pusto.de>
5377
5378 Extend flymake's warning predicate to be a function (bug#14217).
5379 * progmodes/flymake.el (flymake-warning-predicate): New.
5380 (flymake-parse-line): Use it.
5381 (flymake-warning-re): Make obsolete alias to
5382 `flymake-warning-predicate'.
5383
a7d2d465
SM
53842013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5387 (package-obsolete-list): Remove.
5388 (package-activate): Remove min-version argument. Add `force' argument.
5389 Adjust to new package-alist format.
5390 (package-mark-obsolete): Remove.
5391 (package-unpack): Force reload of the package's autoloads.
5392 (package-installed-p): Check builtins if the installed package is not
5393 recent enough.
5394 (package-initialize): Don't reset package-obsolete-list.
5395 Don't specify which package version to activate.
5396 (package-process-define-package, describe-package-1)
5397 (package-menu--generate): Adjust to new package-alist format.
5398
cedf5c9d
JB
53992013-06-21 Juanma Barranquero <lekktu@gmail.com>
5400
5401 * allout-widgets.el (allout-widgets-mode-off)
5402 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5403 (allout-widgets-post-command-business)
5404 (allout-widgets-after-copy-or-kill-function)
5405 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5406 (allout-decorate-item-and-context)
5407 (allout-graphics-modification-handler): Fix typos in docstrings.
5408 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5409
5410 * cmuscheme.el (scheme-start-file): Doc fix.
5411 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5412 (scheme-input-filter): Use `string-match-p'.
5413
5414 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5415
5416 * dired-x.el: Use Dired consistently in docstrings.
5417
5418 * dired.el: Use Dired consistently in docstrings.
5419 (dired-readin, dired-mode): Use `setq-local'.
5420 (dired-switches-alist): Make defvar-local.
5421 (dired-buffers-for-dir): Use `zerop'.
5422 (dired-safe-switches-p, dired-switches-escape-p)
5423 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5424 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5425 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5426 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5427 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5428 (dired-toggle-marks, dired-mark-files-containing-regexp)
5429 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5430 (dired-flag-auto-save-files, dired-flag-backup-files):
5431 Use `looking-at-p'.
5432 (dired-mark-files-regexp, dired-build-subdir-alist):
5433 Use `string-match-p', `looking-at-p'.
5434
5435 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5436 (direct-print-region-helper): Use `string-match-p'.
5437
aed838b5
LL
54382013-06-21 Leo Liu <sdl.web@gmail.com>
5439
cedf5c9d
JB
5440 * comint.el (comint-redirect-results-list-from-process):
5441 Fix infinite loop.
aed838b5 5442
d80a808f
LMI
54432013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5444
5445 * net/eww.el (eww-update-header-line-format): Quote % characters.
5446
e7a526e3
GM
54472013-06-21 Glenn Morris <rgm@gnu.org>
5448
5449 * play/cookie1.el (cookie): New custom group.
5450 (cookie-file): New option.
5451 (cookie-check-file): New function.
5452 (cookie): Make it interactive. Make start and end messages optional.
5453 Interactively, display the result. Default to cookie-file.
5454 (cookie-insert): Default to cookie-file.
5455 (cookie-snarf): Make start and end messages optional.
5456 Default to cookie-file. Use with-temp-buffer.
5457 (cookie-read): Rename from read-cookie.
5458 Make start and end messages optional. Default to cookie-file.
5459 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5460 Do not autoload it.
e7a526e3
GM
5461 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5462 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5463
62efb35e
LL
54642013-06-21 Leo Liu <sdl.web@gmail.com>
5465
5466 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5467
21e3f963
GM
54682013-06-21 Glenn Morris <rgm@gnu.org>
5469
5470 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5471
fd846ab4
SM
54722013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5473 Daniel Hackney <dan@haxney.org>
5474
5475 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5476 Consolidate the single-file vs tarball code.
5477 (package-desc-suffix): New function.
5478 (package-desc-full-name): Don't bother inlining it.
5479 (package-load-descriptor): Return the new package-desc.
5480 (package-mark-obsolete): Remove unused arg `package'.
5481 (package-unpack): Make it work for single files as well.
5482 Make it update package-alist.
5483 (package--make-autoloads-and-stuff): Rename from
5484 package--make-autoloads-and-compile. Don't compile any more.
5485 (package--compile): New function.
5486 (package-generate-description-file): New function, extracted from
5487 package-unpack-single.
5488 (package-unpack-single): Remove.
5489 (package--with-work-buffer): Add indentation and debugging info.
5490 (package-download-single): Remove.
5491 (package-install-from-archive): Rename from package-download-tar, make
5492 it take a pkg-desc, and make it work for single files as well.
5493 (package-download-transaction): Simplify.
5494 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5495 external tar program.
5496 (package-install-from-buffer): Remove `pkg-desc' argument.
5497 Use package-tar-file-info for tar-mode buffers.
5498 (package-install-file): Simplify accordingly.
5499 (package-archive-base): Change to take a pkg-desc.
5500 * tar-mode.el (tar--check-descriptor): New function, extracted from
5501 tar-get-descriptor.
5502 (tar-get-descriptor): Use it.
5503 (tar-get-file-descriptor): New function.
5504 (tar--extract): New function, extracted from tar-extract.
5505 (tar--extract): Use it.
5506 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5507 case the summary uses non-ascii. Adjust to new calling convention of
5508 package-tar-file-info.
5509
b7deae5e
LL
55102013-06-21 Leo Liu <sdl.web@gmail.com>
5511
fd846ab4
SM
5512 * comint.el (comint-redirect-results-list-from-process):
5513 Fix random delay. (Bug#14681)
b7deae5e 5514
7a65a0b2
JB
55152013-06-21 Juanma Barranquero <lekktu@gmail.com>
5516
5517 * profiler.el (profiler-format-number): Use log, not log10.
5518
1493c2af
JB
55192013-06-20 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5522
aff6371e
SM
55232013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5526 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5527 yet available.
5528 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5529 (AUTOGENEL): ... here.
5530 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5531 (cl--defsubst-expand): Use it.
5532
89561f72
PE
55332013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5534
5535 * subr.el (log10): Move here from C code, and declare as obsolete.
5536 All uses of (log10 X) replaced with (log X 10).
5537
47199123
JB
55382013-06-20 Juanma Barranquero <lekktu@gmail.com>
5539
5540 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5541 Declare with `defvar-local'.
5542 (tabulated-list-use-header-line, tabulated-list-entries)
5543 (tabulated-list-padding, tabulated-list-printer)
5544 (tabulated-list-sort-key): Declare with `defvar-local'.
5545 (tabulated-list-init-header, tabulated-list-print-fake-header):
5546 Use `setq-local'.
5547
4a172eab
MA
55482013-06-20 Michael Albinus <michael.albinus@gmx.de>
5549
47199123
JB
5550 * arc-mode.el (archive-mode): Add `archive-write-file' to
5551 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5552
5fc0acc0
JB
55532013-06-20 Juanma Barranquero <lekktu@gmail.com>
5554
d5b27848
JB
5555 * cus-edit.el (custom-commands): Fix typos.
5556 (custom-display): Fix tooltip text.
5557 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5558 Fix typos in docstrings.
5559 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5560 (custom-unlispify-menu-entry, custom-magic-value-create)
5561 (custom-add-see-also, custom-group-value-create): Use ?\s.
5562 (custom-guess-type, customize-apropos, editable-field)
5563 (custom-face-value-create): Use `string-match-p'.
5564 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5565
5566 * custom.el (custom-load-symbol): Use `string-match-p'.
5567
a5c581d8
JB
5568 * ansi-color.el: Convert to lexical binding.
5569 (ansi-colors): Fix URL.
5570 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5571 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5572 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5573
970ad972
G
55742013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5575
5576 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5577
5578 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5579
55802013-06-19 Tom Tromey <tromey@redhat.com>
5581
5582 * net/eww.el (eww-top-url): Remove.
5583 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5584 (eww-render): Set new variables. Don't set eww-top-url.
5585 (eww-handle-link): Handle "prev", "home", and "contents".
5586 Downcase the rel text.
5587 (eww-top-url): Choose best top URL.
5588
55892013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5590
5591 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5592 relying in widget.el. Using widget.el leads to too many
5593 user interface inconsistencies.
5594 (eww-self-insert): Implement entering commands in text fields.
5595 (eww-process-text-input): New function to make text input field editing
5596 work.
5597 (eww-submit): Rewrite to use the new-style form methods.
5598 (eww-select-display): Display the correct selected item.
5599 (eww-change-select): Implement changing the select value.
5600 (eww-toggle-checkbox): Implement radio/checkboxes.
5601 (eww-update-field): Fix compilation error.
5602 (eww-tag-textarea): Implement <textarea>.
5603
5604 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5605 we don't shadow mode-specific bindings.
5606
5607 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5608 nothing to push.
5609
5610 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5611
4582a01c 56122013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5613
5614 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5615
15b263dc
MA
56162013-06-19 Michael Albinus <michael.albinus@gmx.de>
5617
5618 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5619 not needed.
5620
5621 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5622
8f5297f7
LMI
56232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5624
5625 * net/browse-url.el (browse-url-browser-function):
5626 `eww-browse-url' has the right calling signature, `eww' does not.
5627
011c4552
GM
56282013-06-19 Glenn Morris <rgm@gnu.org>
5629
2285bd27
GM
5630 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5631 Only eval autoloaded macros.
5632 (byte-compile-autoload): Only give the macro warning for macros.
5633
1d653303
GM
5634 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5635 (ps-underlined-faces): Declare.
5636
bdd779ec
GM
5637 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5638 (speedbar-add-supported-extension): Declare.
5639
011c4552
GM
5640 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5641 Don't include a date stamp in the header of the generated file;
5642 it leads to needless differences between output files.
5643
e59dfb0e
MA
56442013-06-19 Michael Albinus <michael.albinus@gmx.de>
5645
c763842b
SM
5646 * net/secrets.el (secrets-struct-secret-content-type):
5647 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5648 Some servers do not offer introspection.
e59dfb0e 5649
102626e2
SM
56502013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * electric.el (electric-pair-mode): Improve interaction with
5653 electric-layout-mode.
5654 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5655 (electric-pair-syntax): Use text-mode-syntax-table in comments
5656 and strings.
5657 (electric-pair--insert): New function.
5658 (electric-pair-post-self-insert-function): Use it and
5659 electric--after-char-pos.
5660
ad528125
LL
56612013-06-19 Leo Liu <sdl.web@gmail.com>
5662
5663 * progmodes/octave.el (octave-help): Fix regexp.
5664
924d6997
G
56652013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5666
5667 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5668 (shr-table-horizontal-line): Allow nil as a value, and change the
5669 default.
5670 (shr-insert-table-ruler): Respect the nil value.
5671
56722013-06-18 Tom Tromey <tromey@barimba>
5673
5674 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5675 New defvars.
5676 (eww-open-file): New defun.
5677 (eww-render): Initialize new variables.
5678 (eww-display-html): Handle "link" and "a".
5679 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5680 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5681 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5682 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5683 New defuns.
924d6997 5684
d1bbba4f
DG
56852013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5686
5687 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5688 Distinguish ternary operator tokens from slash symbol and slash
5689 char literal.
5690
14dd22d2
JB
56912013-06-18 Juanma Barranquero <lekktu@gmail.com>
5692
5693 Convert symbol prettification into minor mode and global minor mode.
5694
5695 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5696 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5697 (prettify-symbols--keywords): Rename from
5698 `prog-prettify-symbols-alist' and make a local defvar.
5699 (prettify-symbols--compose-symbol): Rename from
5700 `prog--prettify-font-lock-compose-symbol'.
5701 (prettify-symbols--make-keywords): Rename from
5702 `prog-prettify-font-lock-symbols-keywords' and simplify.
5703 (prog-prettify-install): Remove.
5704 (prettify-symbols-mode): New minor mode, based on
5705 `prog-prettify-install'.
5706 (turn-on-prettify-symbols-mode): New function.
5707 (global-prettify-symbols-mode): New globalized minor mode.
5708
5709 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5710 * progmodes/cfengine.el (cfengine3-mode):
5711 * progmodes/perl-mode.el (perl-mode): Don't call
5712 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5713
292c880c
JL
57142013-06-18 Juri Linkov <juri@jurta.org>
5715
5716 * files-x.el (modify-file-local-variable-message): New function.
5717 (modify-file-local-variable)
5718 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5719 and call `modify-file-local-variable-message' when it's non-nil.
5720 (add-file-local-variable, delete-file-local-variable)
5721 (add-file-local-variable-prop-line)
5722 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5723 and use it. (Bug#9820)
5724
0950aa27
JL
57252013-06-18 Juri Linkov <juri@jurta.org>
5726
5727 * emulation/vi.el (vi-shell-op):
5728 * emulation/vip.el (vip-execute-com, ex-command):
5729 * emulation/viper-cmd.el (viper-exec-bang):
5730 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5731 the call of `shell-command-on-region'. (Bug#14637)
5732
5733 * simple.el (shell-command-on-region): Doc fix.
5734
8fbcca16
SM
57352013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5738 (bug#14633).
5739
dd7426ea
GM
57402013-06-18 Glenn Morris <rgm@gnu.org>
5741
4ba54f7d
GM
5742 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5743
dd7426ea
GM
5744 * newcomment.el (comment-search-forward, comment-search-backward):
5745 Doc fix. (Bug#14376)
5746
58aa805b
JB
57472013-06-18 Juanma Barranquero <lekktu@gmail.com>
5748
5749 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5750 (buffer-face-mode-invoke): Doc fix.
5751
9a08a617
MM
57522013-06-18 Matthias Meulien <orontee@gmail.com>
5753
5754 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5755 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5756
f2f426ca
GM
57572013-06-18 Glenn Morris <rgm@gnu.org>
5758
9445f99b
GM
5759 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5760 Replace obsolete function generic-make-keywords with its expansion.
5761
e0df2d14
GM
5762 * progmodes/python.el (ffap-alist): Declare.
5763
f2f426ca
GM
5764 * textmodes/reftex.el (bibtex-mode-map): Declare.
5765
f7f9a720
SM
57662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5769 (package-unpack, package-unpack-single): Return the pkg-dir.
5770 (package-download-transaction): Use it to update package-alist.
5771
57ff04e0
LMI
57722013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5773
5774 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5775 possible choice.
5776
c048c022
JL
57772013-06-17 Juri Linkov <juri@jurta.org>
5778
5779 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5780
b5bcaee5
DG
57812013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5782
a020afb9
JB
5783 * emacs-lisp/package.el (package-load-descriptor):
5784 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5785 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5786
551e07e5
JB
57872013-06-17 Juanma Barranquero <lekktu@gmail.com>
5788
5789 * startup.el (command-line): Expand package name returned by
5790 `package--description-file' (bug#14639).
5791
d363bffb
DG
57922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5793
5794 * emacs-lisp/package.el (package-load-descriptor): Do not call
5795 `emacs-lisp-mode', just use its syntax table.
5796
f612933b
JB
57972013-06-17 Juanma Barranquero <lekktu@gmail.com>
5798
5799 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5800 `font-lock-extra-managed-props' if any prettifying keyword is added.
5801 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5802 (prog-mode): Use `setq-local'.
5803
db3b7db5
SM
58042013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * international/characters.el (standard-case-table): Set syntax of ?»
5807 and ?« to punctuation.
5808
f3d674df
JB
58092013-06-16 Juanma Barranquero <lekktu@gmail.com>
5810
5811 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5812 Save relevant match data before calling `syntax-ppss' (bug#14595).
5813
31489a32
JL
58142013-06-15 Juri Linkov <juri@jurta.org>
5815
5816 * files-x.el (modify-file-local-variable-prop-line): Add local
5817 variables to the end of the existing comment on the first line.
5818 Use `file-auto-mode-skip' to skip interpreter magic line,
5819 and also skip XML declaration.
5820
66bd25ab
SM
58212013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * startup.el (package--builtin-versions): New var.
5824 (package-subdirectory-regexp): Remove.
5825 (package--description-file): Hard code its value instead.
5826
5827 * emacs-lisp/package.el: Don't activate packages older than builtin.
5828 (package-obsolete-list): Rename from package-obsolete-alist, and make
5829 it into a simple list of package-desc.
5830 (package-strip-version): Remove.
5831 (package-built-in-p): Use package--builtin-versions.
5832 (package-mark-obsolete): Simplify.
5833 (package-process-define-package): Mark it obsolete if older than the
5834 builtin version.
5835 (package-handle-response): Use line-end-position.
5836 (package-read-archive-contents, package--download-one-archive):
5837 Simplify.
5838 (package--add-to-archive-contents): Skip if older than the builtin or
5839 installed version.
5840 (package-menu-describe-package): Fix last change.
5841 (package-list-unversioned): New var.
5842 (package-menu--generate): Use it.
5843
5844 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5845 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5846 (autoload-builtin-package-versions): New variable.
5847 (autoload-generate-file-autoloads): Use them.
5848 Remove the list of autoloaded functions/macros from the
5849 (autoload...) comments.
5850
5851 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5852
9583ec36
EZ
58532013-06-15 Eli Zaretskii <eliz@gnu.org>
5854
5855 * simple.el (line-move-partial): Don't jump to the next screen
5856 line as soon as it becomes visible. Instead, continue enlarging
5857 the vscroll until the portion of a tall screen line that's left on
5858 display is about the height of the frame's default font.
5859 (Bug#14567)
5860
f0100d8a
GM
58612013-06-15 Glenn Morris <rgm@gnu.org>
5862
b86a85ca
GM
5863 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5864 compilation-error-regexp-alist void, or local while let-bound.
5865
f0100d8a
GM
5866 * progmodes/make-mode.el (makefile-mode-syntax-table):
5867 Treat "=" as punctuation. (Bug#14614)
5868
05e7ce90
JB
58692013-06-15 Juanma Barranquero <lekktu@gmail.com>
5870
5871 * help-fns.el (describe-variable):
5872 Add extra line for permanent-local variables.
5873
12e5e86e
SH
58742013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5875
5876 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5877 Add export, import, library. (Bug#9164)
5878 (library): Set indent function.
5879
230dcbaf
GM
58802013-06-14 Glenn Morris <rgm@gnu.org>
5881
5882 * term/xterm.el (xterm--query):
5883 Stop after first matching handler. (Bug#14615)
5884
e36b2d20 58852013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5886
5887 Add support for dired in saveplace.
5888 * dired.el (dired-initial-position-hook): New variable.
5889 (dired-initial-position): Call hook to place cursor position.
5890 * saveplace.el (save-place-to-alist): Add dired position.
5891 (save-place-dired-hook): New function.
5892
0b31660d
SM
58932013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5894
bf1e6ae8
SM
5895 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5896 through a symbol rather than letrec.
5897
1b8dff23
SM
5898 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5899 (package-desc): Add `dir' field.
5900 (package-desc-full-name): New function.
5901 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5902 (package-maybe-load-descriptor): Remove.
5903 (package-load-all-descriptors): Just call package-load-descriptor.
5904 (package--disabled-p): New function.
5905 (package-desc-vers, package-desc-doc): Remove aliases.
5906 (package--dir): Remove function.
5907 (package-activate): Check if a package is disabled.
5908 (package-process-define-package): New function, extracted from
5909 define-package.
5910 (define-package): Turn into a place holder.
5911 (package-unpack-single, package-tar-file-info):
5912 Use package--description-file.
5913 (package-compute-transaction): Use package--disabled-p.
5914 (package-download-transaction): Don't call
5915 package-maybe-load-descriptor since they're all loaded anyway.
5916 (package-install): Change argument to be a pkg-desc.
5917 (package-delete): Use a single pkg-desc argument.
5918 (describe-package-1): Use package-desc-dir instead of package--dir.
5919 Use package-desc property instead of package-symbol.
5920 (package-install-button-action): Adjust accordingly.
5921 (package--push): Rewrite.
5922 (package-menu--print-info): Adjust accordingly. Change the ID format
5923 to be a pkg-desc.
5924 (package-menu-describe-package, package-menu-get-status)
5925 (package-menu--find-upgrades, package-menu-mark-upgrades)
5926 (package-menu-execute, package-menu--name-predicate):
5927 Adjust accordingly.
5928 * startup.el (package--description-file): New function.
5929 (command-line): Use it.
5930 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5931 Use package-desc-version.
5932
0b31660d
SM
5933 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5934 (byte-compile-preprocess): Use it.
5935 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5936 can't quite recognize.
5937 (byte-compile-add-to-list): Remove.
5938 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5939 (cconv-closure-convert): Add assertion.
5940
5941 * emacs-lisp/map-ynp.el: Use lexical-binding.
5942 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5943 Factor out some repeated code.
5944
de0503df
SM
59452013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * subr.el (with-eval-after-load): New macro.
5948 (eval-after-load): Allow form to be a function.
5949 take advantage of lexical-binding.
5950 (do-after-load-evaluation): Use dolist and adjust to new format.
5951 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5952
bc5c8c5a
JL
59532013-06-13 Juri Linkov <juri@jurta.org>
5954
5955 * replace.el (perform-replace): Display "symbol " and other search
5956 modes from `isearch-message-prefix' in the *Help* buffer.
5957
5958 * isearch.el (isearch-query-replace): Add " symbol" and other
5959 possible search modes from `isearch-message-prefix' to the prompt.
5960 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5961 when reading a regexp to collect.
5962
a22289f7
JL
59632013-06-13 Juri Linkov <juri@jurta.org>
5964
5965 * isearch.el (word-search-regexp): Match whitespace if the search
5966 string begins or ends in whitespace. The LAX arg is applied to
5967 both ends of the search string. Use `regexp-quote' and explicit
5968 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5969 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5970 boundaries are replaced with symbol boundaries, and characters
5971 between symbols match non-word non-symbol syntax. (Bug#14602)
5972
cb89acab
JL
59732013-06-13 Juri Linkov <juri@jurta.org>
5974
5975 * isearch.el (isearch-del-char): Don't exceed the length of
5976 `isearch-string' by the prefix arg. (Bug#14563)
5977
6e8cfc81
JL
59782013-06-13 Juri Linkov <juri@jurta.org>
5979
5980 * isearch.el (isearch-yank-word, isearch-yank-line)
5981 (isearch-char-by-name, isearch-quote-char)
5982 (isearch-printing-char, isearch-process-search-char):
5983 Add optional count prefix arg. (Bug#14563)
5984
5985 * international/isearch-x.el
5986 (isearch-process-search-multibyte-characters):
5987 Add optional count prefix arg.
5988
c23d55f4
VS
59892013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5992 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5993 lexical-binding.
5994
59952013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5996
5997 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5998
ba947bc4
GM
59992013-06-13 Glenn Morris <rgm@gnu.org>
6000
8baeb37a
GM
6001 * startup.el (tty-handle-args):
6002 Don't just discard "--" and anything after. (Bug#14608)
6003
ba947bc4
GM
6004 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6005
9abefce4
MA
60062013-06-13 Michael Albinus <michael.albinus@gmx.de>
6007
6008 Implement changes in Secret Service API. Make it backward compatible.
6009 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6010 (secrets-create-item): Use it. Prefix properties with interface.
6011
5755011f
MH
60122013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6013
6014 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6015 (term-emulate-terminal): Respect term-suppress-hard-newline.
6016
1261d2da
S
60172013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6018
6019 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6020 Only remove a `thumb-file' overlay. (Bug#14548)
6021
868490bb
GJ
60222013-06-12 Grégoire Jadi <daimrod@gmail.com>
6023
6024 * mail/reporter.el (reporter-submit-bug-report):
6025 Handle missing package-name. (Bug#14600)
6026
79d7167f
TH
60272013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6028
6029 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6030 (reftex-citation-prompt, reftex-default-bibliography)
6031 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6032 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6033 (reftex-bib-sort-author, reftex-bib-sort-year)
6034 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6035 (reftex-extract-bib-entries-from-thebibliography)
6036 (reftex-get-bibkey-default, reftex-get-bib-names)
6037 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6038 (reftex-format-bib-entry, reftex-parse-bibitem)
6039 (reftex-format-bibitem, reftex-do-citation)
6040 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6041 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6042 (reftex-insert-bib-matches, reftex-format-citation)
6043 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6044 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6045 existing comments into docstrings.
6046
5f9dbd7a
XF
60472013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6048
6049 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6050
94df41ab
AS
60512013-06-12 Andreas Schwab <schwab@suse.de>
6052
6053 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6054 for auto-save files.
6055
a7f3fecc
GM
60562013-06-12 Glenn Morris <rgm@gnu.org>
6057
001809f6
GM
6058 * ido.el (ido-delete-ignored-files): Remove.
6059 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6060 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6061
834b5ded
EL
60622013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6063
08c73ed2
EL
6064 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6065
834b5ded
EL
6066 * ido.el (ido-delete-ignored-files): New function,
6067 split from ido-make-file-list-1.
6068 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6069 (ido-make-file-list-1): Use ido-delete-ignored-files.
6070
daabf15a
LL
60712013-06-12 Leo Liu <sdl.web@gmail.com>
6072
6073 * progmodes/octave.el (inferior-octave-startup)
6074 (inferior-octave-completion-table)
6075 (inferior-octave-track-window-width-change)
6076 (octave-eldoc-function-signatures, octave-help)
6077 (octave-find-definition): Use single quoted strings.
6078 (inferior-octave-startup-args): Change default value.
6079 (inferior-octave-startup): Do not hard code "-i" and
6080 "--no-line-editing".
6081 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6082 (inferior-octave-directory-tracker): Use it.
6083 (octave-goto-function-definition): Robustify.
6084 (octave-help): Support highlighting operators in 'See also'.
6085 (octave-find-definition): Find subfunctions only in Octave mode.
6086
cf4e5178
SM
60872013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * help-fns.el (help-fns--compiler-macro): If the handler function is
6090 named, then put a link to it.
6091 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6092 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6093 (cl-typep): Use it.
6094 (cl-eval-when): Simplify debug spec.
6095 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6096 compiler-macro function instead of setting `compiler-macro-file'.
6097
99c81280 60982013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6099
6100 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6101 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6102
f56be016
SM
61032013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6104 Daniel Hackney <dan@haxney.org>
6105
6106 First part of Daniel Hackney's patch to package.el.
6107 * emacs-lisp/package.el: Use defstruct.
6108 (package-desc): New, main struct.
6109 (package--bi-desc, package--ac-desc): New structs, used to describe the
6110 format in external files.
6111 (package-desc-vers): Replace with package-desc-version accessor.
6112 (package-desc-doc): Replace with package-desc-summary accessor.
6113 (package-activate-1): Remove `package' arg since the pkg-vec now
6114 includes the name.
6115 (define-package): Use package-desc-from-define.
6116 (package-unpack-single): Change file-name arg to be a symbol.
6117 (package--add-to-archive-contents): Use package-desc-create and new
6118 accessor functions to package--ac-desc.
6119 (package-buffer-info, package-tar-file-info): Return a package-desc.
6120 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6121 arg to be a package-desc.
6122 (package-install-file): Adjust accordingly. Use \' to match EOS.
6123 (package--from-builtin): New function.
6124 (describe-package-1, package-menu--generate): Use it.
6125 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6126 (package-generate-autoloads): Idem and return the name of the file.
6127 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6128 Change pkg-info arg to be a package-desc.
6129 Use package-make-ac-desc.
6130 (package-upload-file): Use \' to match EOS.
6131 * finder.el (finder-compile-keywords): Use package-make-builtin.
6132
31119d63
SM
61332013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6134
931a2762
SM
6135 * vc/vc.el (vc-deduce-fileset): Change error message.
6136 (vc-read-backend): New function.
6137 (vc-next-action): Use it.
6138
5a3eb0c6
SM
6139 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6140
e3eb1bb7
SM
6141 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6142 (prolog-font-lock-keywords): Use regexp-opt instead.
6143 Don't manually highlight strings.
6144 (prolog-mode-variables): Simplify comment-start-skip.
6145 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6146
31119d63
SM
6147 * emacs-lisp/generic.el (generic--normalise-comments)
6148 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6149 (generic-mode-set-comments): Use them.
6150 (generic-bracket-support): Use setq-local.
6151 (generic-make-keywords-list): Declare obsolete.
6152
7de135d0
GM
61532013-06-11 Glenn Morris <rgm@gnu.org>
6154
6155 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6156 Prettify after setting font-lock-defaults. (Bug#14574)
6157
fa6bc6fd
JB
61582013-06-11 Juanma Barranquero <lekktu@gmail.com>
6159
6160 * replace.el (query-replace, occur-read-regexp-defaults-function)
6161 (replace-search):
6162 * subr.el (declare-function, number-sequence, local-set-key)
6163 (substitute-key-definition, locate-user-emacs-file)
6164 (with-silent-modifications, split-string, eval-after-load):
6165 Fix typos, remove unneeded backslashes and reflow some docstrings.
6166
cf1f9b9a
SM
61672013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6170 default for Elisp files.
6171
56602a4b
GM
61722013-06-11 Glenn Morris <rgm@gnu.org>
6173
6174 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6175 although define-derived-mode was doing this anyway. (Bug#14583)
6176
30ae0b2c
JB
61772013-06-10 Juanma Barranquero <lekktu@gmail.com>
6178
6179 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6180 Fix make-variable-buffer-local call to refer to the correct variable.
6181
fa472906
AG
61822013-06-10 Aidan Gauland <aidalgol@amuri.net>
6183
6184 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6185 (eshell-visual-subcommands, eshell-visual-options):
6186 Add summary line to docstrings. Add cross-references.
fa472906 6187
ff4871b9
GM
61882013-06-10 Glenn Morris <rgm@gnu.org>
6189
6190 * epa.el (epa-read-file-name): New function. (Bug#14510)
6191 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6192
04fcf1b0
AG
61932013-06-09 Aidan Gauland <aidalgol@amuri.net>
6194
6195 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6196 output redirection to be ignored with visual commands.
6197
88b00caa
AG
61982013-06-09 Aidan Gauland <aidalgol@amuri.net>
6199
6200 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6201 (eshell-term-initialize): Move long lambda to separate function
6202 eshell-visual-command-p.
e7b41c4c
JB
6203 * eshell/em-dirs.el (eshell-dirs-initialise):
6204 * eshell/em-script.el (eshell-script-initialize):
6205 Add missing #' to lambda.
88b00caa 6206
fda74125
LL
62072013-06-08 Leo Liu <sdl.web@gmail.com>
6208
6209 * progmodes/octave.el (octave-add-log-current-defun): New function.
6210 (octave-mode): Set add-log-current-defun-function.
6211 (octave-goto-function-definition): Do not move point if not found.
6212 (octave-find-definition): Enhance to try subfunctions first.
6213
467f3b33
GM
62142013-06-08 Glenn Morris <rgm@gnu.org>
6215
6216 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6217 (byte-compile-backward-char, byte-compile-backward-word):
6218 Improve previous change, to handle non-explicit nil.
6219
544badc3
SM
62202013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6223 (smie--opener/closer-at-point): New function.
6224 (smie--matching-block-data): Use it. Don't match from right after an
6225 opener or right before a closer. Obey smie-blink-matching-inners.
6226 Don't signal a mismatch for repeated inners like "switch..case..case".
6227
a175bf33
LL
62282013-06-07 Leo Liu <sdl.web@gmail.com>
6229
6230 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6231 to t. (Bug#14303)
ce8209d4
LL
6232 (octave-function-header-regexp): Fix. (Bug#14570)
6233 (octave-help-mode-finish-hook, octave-help-mode-finish):
6234 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6235
6236 * newcomment.el (comment-search-backward): Revert last change.
6237 (Bug#14434)
6238
6239 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6240
a822acff
EZ
62412013-06-07 Eli Zaretskii <eliz@gnu.org>
6242
6243 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6244 through xargs, to avoid failure due to MS-Windows limitations on
6245 command-line length.
6246
961166f5
GM
62472013-06-06 Glenn Morris <rgm@gnu.org>
6248
d0341459
GM
6249 * font-lock.el (lisp-font-lock-keywords-2):
6250 Treat user-error like error.
6251
961166f5
GM
6252 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6253 (byte-compile-backward-char, byte-compile-backward-word):
6254 Handle explicit nil arguments. (Bug#14565)
6255
80fa505f
AM
62562013-06-05 Alan Mackenzie <acm@muc.de>
6257
6258 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6259 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6260 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6261 (Bug#9706)
80fa505f 6262
fccdc796
SM
62632013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * autorevert.el (auto-revert-notify-handler): Use memq.
6266 Hide assertion failure.
6267
6268 * skeleton.el: Use cl-lib.
6269 (skeleton-further-elements): Use defvar-local.
6270 (skeleton-insert): Use cl-progv.
6271
9bfff84b
TZ
62722013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6273
6274 * progmodes/prog-mode.el (prog-prettify-symbols)
6275 (prog-prettify-install): Update docstrings.
6276
55577e7c
SM
62772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6278
6279 * simple.el: Move all the prog-mode code to prog-mode.el.
6280 * progmodes/prog-mode.el: New file.
6281 * loadup.el: Add prog-mode.el.
6282
8fc57765
TZ
62832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6284
6285 * simple.el (prog-prettify-symbols): Add version.
6286 (prog-prettify-install): Add convenience function to prettify symbols.
6287
6288 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6289 (perl--augmented-font-lock-keywords-1)
6290 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6291 variables and use it.
6292
6293 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6294 (cfengine3-mode): Remove unneeded variable and use it.
6295
6296 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6297 (lisp--augmented-font-lock-keywords-1)
6298 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6299 Remove unneeded variables and use it.
6300
650645d5 63012013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6302
6303 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6304 to point when opening the connection. (Bug#14380)
28f5da6d 6305
781b4af6
SM
63062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * subr.el (load-history-regexp, load-history-filename-element)
6309 (eval-after-load, after-load-functions, do-after-load-evaluation)
6310 (eval-next-after-load, display-delayed-warnings)
6311 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6312 definition of save-match-data.
6313 (overriding-local-map): Remove accidental obsolescence declaration.
6314
6315 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6316
3ca0d0b4
TZ
63172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6318
6319 Generalize symbol prettify support to prog-mode and implement it
6320 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6321 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6322 (prog--prettify-font-lock-compose-symbol)
6323 (prog-prettify-font-lock-symbols-keywords): New variables and
6324 functions to support symbol prettification.
6325 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6326 (lisp--augmented-font-lock-keywords-1)
6327 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6328 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6329 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6330 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6331 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6332 * progmodes/perl-mode.el (perl-prettify-symbols)
6333 (perl--font-lock-compose-symbol)
6334 (perl--font-lock-symbols-keywords): Move to prog-mode.
6335 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6336 (perl-font-lock-keywords-1)
6337 (perl-font-lock-keywords-2): Remove explicit prettify support.
6338 (perl--augmented-font-lock-keywords)
6339 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6340 (perl--augmented-font-lock-keywords-2, perl-mode):
6341 Implement prettify support.
3ca0d0b4 6342
976cb066
LL
63432013-06-05 Leo Liu <sdl.web@gmail.com>
6344
6345 Re-implement smie matching block highlight using
6346 show-paren-data-function. (Bug#14395)
6347 * emacs-lisp/smie.el (smie-matching-block-highlight)
6348 (smie--highlight-matching-block-overlay)
6349 (smie--highlight-matching-block-lastpos)
6350 (smie-highlight-matching-block)
6351 (smie-highlight-matching-block-mode): Remove.
6352 (smie--matching-block-data-cache): New variable.
6353 (smie--matching-block-data): New function.
6354 (smie-setup): Use smie--matching-block-data for
6355 show-paren-data-function.
6356
6357 * progmodes/octave.el (octave-mode-menu): Fix.
6358 (octave-find-definition): Skip garbage lines.
6359
208d0342
SM
63602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 Fix compilation error with simultaneous dynamic+lexical scoping.
6363 Add warning when a defvar appears after the first let-binding.
6364 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6365 (byte-compile-close-variables): Initialize it.
6366 (byte-compile--declare-var): New function.
6367 (byte-compile-file-form-defvar)
6368 (byte-compile-file-form-define-abbrev-table)
6369 (byte-compile-file-form-custom-declare-variable): Use it.
6370 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6371 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6372 (byte-compile-bind): Handle dynamic bindings that shadow
6373 lexical bindings.
6374 (byte-compile-unbind): Make arg non-optional.
6375 (byte-compile-let): Simplify.
6376 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6377 (cconv--analyse-function, cconv-analyse-form): Populate it.
6378 Protect byte-compile-bound-variables to limit the scope of defvars.
6379 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6380 Remove unneeded rule for `declare'.
6381
6382 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6383 so as to avoid depending on cl-adjoin at run-time.
6384 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6385
6386 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6387 (macroexp--warn-and-return): Use it.
6388
2587b005
LL
63892013-06-05 Leo Liu <sdl.web@gmail.com>
6390
6391 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6392
f1da3c88
LL
63932013-06-04 Leo Liu <sdl.web@gmail.com>
6394
6395 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6396 (compilation-auto-jump): Suppress the "Mark set" message to give
6397 way to exit message.
6398
3caa391f
AM
63992013-06-04 Alan Mackenzie <acm@muc.de>
6400
6401 Remove faulty optimisation from indentation calculation.
6402 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6403 search limit based on 2000 characters back from indent-point.
6404
068922a2
TH
64052013-06-03 Tassilo Horn <tsdh@gnu.org>
6406
6407 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6408
1f8fdd53
SM
64092013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6410
bbcc4d97
SM
6411 * emacs-lisp/lisp.el: Use lexical-binding.
6412 (lisp--local-variables-1, lisp--local-variables): New functions.
6413 (lisp--local-variables-completion-table): New var.
208d0342 6414 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6415
1f8fdd53
SM
6416 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6417 eagerly (bug#14422).
6418
c9628c79
MA
64192013-06-03 Michael Albinus <michael.albinus@gmx.de>
6420
6421 * autorevert.el (auto-revert-notify-enabled)
6422 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6423 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6424 (auto-revert-notify-handler): Handle also gfilenotify.
6425
e7b41c4c 6426 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6427 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6428 Remove.
c9628c79 6429
e5e4a942
JL
64302013-06-03 Juri Linkov <juri@jurta.org>
6431
6432 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6433 `M-s h .'. (Bug#14427)
6434
6435 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6436 command `hi-lock-face-symbol-at-point'.
6437 (hi-lock-face-symbol-at-point): New command.
6438 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6439 (hi-lock-menu): Add `highlight-symbol-at-point'.
6440 (hi-lock-mode): Doc fix.
6441
6442 * isearch.el (isearch-forward-symbol-at-point): New command.
6443 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6444 (isearch-highlight-regexp): Add a regexp which matches
6445 words/symbols for word/symbol mode.
6446
6447 * subr.el (find-tag-default-bounds): New function with the body
6448 mostly moved from `find-tag-default'.
6449 (find-tag-default): Move most code to `find-tag-default-bounds',
6450 call it and apply `buffer-substring-no-properties' afterwards.
6451
26b3353a
TH
64522013-06-03 Tassilo Horn <tsdh@gnu.org>
6453
781b4af6
SM
6454 * eshell/em-term.el (eshell-term-initialize):
6455 Use `cl-intersection' rather than `intersection'.
26b3353a 6456
51b60f53
XF
64572013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6458
fe054b63 6459 * vc/log-view.el: Doc fix.
d3ffe17c 6460 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6461
a0eb10b3 64622013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6463
6464 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6465 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6466 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6467 (eieio-unbound, eieio-default-superclass)
6468 (eieio--define-field-accessors, method-static, method-before)
6469 (method-primary, method-after, method-num-lists)
6470 (method-generic-before, method-generic-primary)
6471 (method-generic-after, method-num-slots)
6472 (eieio-specialized-key-to-generic-key)
6473 (eieio--check-type, class-v, class-p)
6474 (eieio-class-name, define-obsolete-function-alias)
6475 (eieio-class-parents-fast, eieio-class-children-fast)
6476 (same-class-fast-p, class-constructor, generic-p)
6477 (generic-primary-only-p, generic-primary-only-one-p)
6478 (class-option-assoc, class-option, eieio-object-p)
6479 (class-abstract-p, class-method-invocation-order)
6480 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6481 (eieio-class-un-autoload, eieio-defclass)
6482 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6483 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6484 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6485 (eieio-defgeneric-reset-generic-form)
6486 (eieio-defgeneric-form-primary-only)
6487 (eieio-defgeneric-reset-generic-form-primary-only)
6488 (eieio-defgeneric-form-primary-only-one)
6489 (eieio-defgeneric-reset-generic-form-primary-only-one)
6490 (eieio-unbind-method-implementations)
6491 (eieio--defmethod, eieio--typep)
6492 (eieio-perform-slot-validation, eieio-validate-slot-value)
6493 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6494 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6495 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6496 (eieio-slot-name-index, eieio-class-slot-name-index)
6497 (eieio-set-defaults, eieio-initarg-to-attribute)
6498 (eieio-attribute-to-initarg, eieio-c3-candidate)
6499 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6500 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6501 (eieio-class-precedence-list, eieio-generic-call-methodname)
6502 (eieio-generic-call-arglst, eieio-generic-call-key)
6503 (eieio-generic-call-next-method-list)
6504 (eieio-pre-method-execution-functions, eieio-generic-call)
6505 (eieio-generic-call-primary-only, eieiomt-method-list)
6506 (eieiomt-optimizing-obarray, eieiomt-install)
6507 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6508 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6509 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6510 (defclass): Remove `eval-and-compile' from macro.
6511 (call-next-method, shared-initialize): Instead of using
6512 `scoped-class' variable, use new eieio--scoped-class, and
6513 eieio--with-scoped-class.
6514 (initialize-instance): Rename local variable 'scoped-class' to
6515 'this-class' to remove ambiguitity from old global.
6516
6517 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6518 eieio.el.
4f405069
JB
6519 (eieio--scoped-class-stack): New variable.
6520 (eieio--scoped-class): New fcn.
890f7890
DE
6521 (eieio--with-scoped-class): New scoping macro.
6522 (eieio-defclass): Use pushnew instead of add-to-list.
6523 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6524 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6525 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6526 `scoped-class' variable, use new eieio--scoped-class, and
6527 eieio--with-scoped-class.
6528
6529 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6530
d105b0e2
TH
65312013-06-02 Tassilo Horn <tsdh@gnu.org>
6532
6533 * eshell/esh-ext.el (eshell-external-command): Pass args to
6534 `eshell-find-interpreter'.
6535 (eshell-find-interpreter): Add new second parameter ARGS.
6536
6537 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6538 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6539
6540 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6541 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6542
6543 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6544 (eshell-visual-options): New defcustom.
6545 (eshell-escape-control-x): Adapt docstring.
6546 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6547 `eshell-visual-options' in addition to `eshell-visual-commands'.
6548 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6549
f46305c8 65502013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6551
6552 * progmodes/python.el (python-indent-block-enders): Add break,
6553 continue and raise keywords.
6554
d870df21
GM
65552013-06-01 Glenn Morris <rgm@gnu.org>
6556
9133b82e
GM
6557 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6558
02c992ec 6559 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6560 * progmodes/cc-cmds.el (delete-forward-p):
6561 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6562 * progmodes/cc-engine.el (buffer-syntactic-context):
6563 * progmodes/cc-fonts.el (face-property-instance):
6564 * progmodes/cc-mode.el (set-keymap-parents):
6565 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6566 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6567 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6568 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6569 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6570
31e7b090
GM
6571 * progmodes/cc-vars.el (other): Emacs has this widget since
6572 at least 21.1, so don't (re)define it.
6573
d870df21
GM
6574 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6575 Replace the obsolete alias pcomplete-arg-quote-list.
6576
c75c93c7
LL
65772013-06-01 Leo Liu <sdl.web@gmail.com>
6578
6579 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6580 punctuation syntax.
6581 (inferior-octave-minimal-columns)
6582 (inferior-octave-last-column-width): New variables.
6583 (inferior-octave-track-window-width-change): New function.
6584 (inferior-octave-mode): Adjust column width so that Octave output,
6585 for example from 'ls', can fit into the window nicely.
6586
973d1e12
DG
65872013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6588
6589 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6590 Highlight expansions inside regexp literals.
6591
0888c286
GM
65922013-05-31 Glenn Morris <rgm@gnu.org>
6593
e26aac1f
GM
6594 * obsolete/sym-comp.el (symbol-complete):
6595 Replace obsolete completion-annotate-function.
6596
0888c286
GM
6597 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6598
19bb8e62
DG
65992013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6600
781b4af6
SM
6601 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6602 New function, checks if point is inside a literal that allows
19bb8e62
DG
6603 expression expansion.
6604 (ruby-syntax-propertize-expansion): Use it.
6605 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6606 around the body.
6607
01dea85f
JL
66082013-05-30 Juri Linkov <juri@jurta.org>
6609
6610 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6611 to "\M-si".
6612 (isearch-invisible): New variable.
6613 (isearch-forward): Doc fix.
6614 (isearch-mode): Set `isearch-invisible'
6615 to the value of `search-invisible'.
6616 (isearch-toggle-case-fold): Doc fix.
6617 (isearch-toggle-invisible): New command.
6618 (isearch-query-replace): Let-bind `search-invisible'
6619 to the value of `isearch-invisible'.
6620 (isearch-search): Use `isearch-invisible' instead of
6621 `search-invisible'. Let-bind `search-invisible'
6622 to the value of `isearch-invisible'. (Bug#11378)
6623
ab1bdce5
JL
66242013-05-30 Juri Linkov <juri@jurta.org>
6625
6626 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6627 call when `query-flag' is nil and `search-invisible' is non-nil.
6628 (Bug#11746)
6629
d6d236e2
GM
66302013-05-30 Glenn Morris <rgm@gnu.org>
6631
8accd027
GM
6632 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6633
2a8bed1c
GM
6634 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6635 (cc-require): Suppress spurious "noruntime" warnings.
6636 (cc-require-when-compile): Use fboundp, for sake of compiler.
6637
d6d236e2
GM
6638 * progmodes/cc-mode.el: Move load of cc-vars before that of
6639 cc-langs (which in turn loads cc-vars), to quieten compiler.
6640
9190b35b
SM
66412013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * paren.el: Simplify the code.
6644 (show-paren-mode): Always start the timer.
6645 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6646 (show-paren--overlay, show-paren--overlay-1): Rename from
6647 show-paren-overlay and show-paren-overlay-1, and initialize to an
6648 overlay rather than to nil.
6649 (show-paren-function): Misc cleanup and simplifications.
6650
4f8d1cf6
SM
66512013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * paren.el (show-paren-data-function): New hook.
6654 (show-paren--default): New function, extracted from show-paren-function.
6655 (show-paren-function): Use show-paren-data-function.
6656
02d844b5
GM
66572013-05-30 Glenn Morris <rgm@gnu.org>
6658
d209d4a9
GM
6659 * ielm.el (ielm-map, ielm-complete-symbol):
6660 Use completion-at-point rather than obsolete functions.
6661 (inferior-emacs-lisp-mode): Doc fix.
6662 Set completion-at-point-functions, rather than
6663 comint-dynamic-complete-functions.
6664
2082faa6
GM
6665 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6666 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6667 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6668
dd8620de
GM
6669 * image.el (image-animated-p): Tweak definition.
6670
ceca95b1
GM
6671 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6672 (rlogin-process-connection-type): Tweak default. Add set-after.
6673 (rlogin-host): Doc fix.
6674 (rlogin): Tweak prompt.
6675 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6676
ee9f1acc
GM
6677 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6678 * progmodes/tcl.el (inferior-tcl-mode-map):
6679 Use completion-at-point rather than obsolete alias.
6680
45ce222e
GM
6681 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6682
02d844b5
GM
6683 * minibuffer.el (read-file-name-completion-ignore-case):
6684 Move before completion--in-region, for eager macro expansion.
6685
ac44d6c1
JL
66862013-05-29 Juri Linkov <juri@jurta.org>
6687
6688 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6689 for total count of matching lines. Add `global-matches' for total
6690 count of matches. Rename `matches' to `lines' for count of
6691 matching lines. Add `matches' for count of matches.
6692 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6693 to `prev-line' for line number of prev match endpt.
6694 Increment `matches' for every match. Print the number of
6695 matching lines in the header.
6696 (occur-context-lines): Rename `lines' to `curr-line'.
6697 Rename `prev-lines' to `prev-line'. (Bug#14017)
6698
3c9c9d38
JL
66992013-05-29 Juri Linkov <juri@jurta.org>
6700
6701 * replace.el (perform-replace): Add `skip-read-only-count',
6702 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6703 Increment them for corresponding conditions and report the number
6704 of skipped occurrences in the final message. (Bug#11746)
6705 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6706 (replace-string, replace-regexp): Doc fix.
6707
33e249a2
SM
67082013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6709
8e399682
SM
6710 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6711
33e249a2 6712 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6713 prog-mode-map (bug#14504).
33e249a2 6714
f236dd84
LL
67152013-05-29 Leo Liu <sdl.web@gmail.com>
6716
6717 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6718 (octave-help): Small simplification.
6719
6720 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6721 off the highlight first.
6722
3694d13f
GM
67232013-05-29 Glenn Morris <rgm@gnu.org>
6724
03983bdc
GM
6725 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6726 Handle idlwave-last-system-routine-info-cons-cell being nil.
6727
bc74a74a
GM
6728 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6729 (idlwave-write-paths): Simplify via with-temp-buffer.
6730
8b394200
GM
6731 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6732 * emulation/cua-rect.el: Also load cua-base at run time.
6733
3694d13f
GM
6734 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6735 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6736 (cperl-imenu-on-info): Require imenu.
6737
336d7284
AM
67382013-05-28 Alan Mackenzie <acm@muc.de>
6739
6740 Handle "capitalised keywords" correctly.
33e249a2 6741 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6742
cb29c582
AG
67432013-05-28 Aidan Gauland <aidalgol@amuri.net>
6744
781b4af6 6745 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6746
690e44b2
GM
67472013-05-28 Glenn Morris <rgm@gnu.org>
6748
e658d75c
GM
6749 * vc/vc-arch.el (vc-exec-after): Declare.
6750 (vc-switches): Autoload.
6751 * vc/vc-bzr.el: No need to require vc when compiling.
6752 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6753 (vc-resynch-buffer, vc-dir-refresh): Declare.
6754 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6755 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6756 (vc-resynch-buffer): Declare.
6757 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6758 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6759 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6760 (grep-read-regexp, grep-read-files, grep-expand-template)
6761 (vc-dir-refresh): Declare.
6762 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6763 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6764 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6765 * vc/vc-mtn.el (vc-exec-after): Declare.
6766 (vc-switches): Autoload.
6767 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6768 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6769 (vc-file-tree-walk): Declare.
712b9732
GM
6770 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6771 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6772 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6773 * vc/vc-svn.el (vc-exec-after): Declare.
6774 (vc-switches, vc-setup-buffer): Autoload.
6775 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6776 Autoload.
6777 (vc-resynch-buffer): Declare.
6778
98e87fb3
GM
6779 * obsolete/fast-lock.el (byte-compile-warnings):
6780 Don't warn about obsolete features in this obsolete file.
6781
f5379553
GM
6782 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6783 Move definition before use.
6784
7a20ef83
GM
6785 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6786 (dun-unix-verbs): Remove dun-zippy.
6787 (dun-zippy): Remove function.
6788
690e44b2
GM
6789 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6790
3a52ccf7
JL
67912013-05-27 Juri Linkov <juri@jurta.org>
6792
6793 * replace.el (replace-search): New function with code moved out
6794 from `perform-replace'.
6795 (replace-highlight, replace-dehighlight): Move function definitions
6796 up closer to `replace-search'. (Bug#11746)
6797
d289938a
JL
67982013-05-27 Juri Linkov <juri@jurta.org>
6799
6800 * replace.el (perform-replace): Ignore invisible matches.
6801 In addition to checking `query-replace-skip-read-only', also
6802 filter out matches by calling `run-hook-with-args-until-failure'
6803 on `isearch-filter-predicates', and also check `search-invisible'
6804 for t or call `isearch-range-invisible'.
6805 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6806
66fc57e3
JL
68072013-05-27 Juri Linkov <juri@jurta.org>
6808
6809 * isearch.el (isearch-filter-predicates): Rename from
6810 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6811 (isearch-message-prefix): Display text from the property
6812 `isearch-message-prefix' of the currently active filters.
6813 (isearch-search): Don't compare `isearch-filter-predicate' with
6814 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6815 on `isearch-filter-predicates'. Also check `search-invisible' for t
6816 or call `isearch-range-invisible'.
6817 (isearch-filter-visible): Make obsolete.
6818 (isearch-lazy-highlight-search):
6819 Call `run-hook-with-args-until-failure' on
6820 `isearch-filter-predicates' and use `isearch-range-invisible'.
6821
6822 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6823 `isearch-filter-predicates' instead of `funcall'ing
6824 `isearch-filter-predicate'.
6825 (Info-mode): Set `Info-isearch-filter' to
6826 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6827
6828 * dired-aux.el (dired-isearch-filter-predicate-orig):
6829 Remove variable.
6830 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6831 (dired-isearch-filenames-end): Add and remove
6832 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6833 instead of changing the value of `isearch-filter-predicate'.
6834 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6835 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6836 Put property `isearch-message-prefix' to "filename " on
6837 `dired-isearch-filter-filenames'.
6838
6839 * wdired.el (wdired-change-to-wdired-mode):
6840 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6841 locally instead of changing `isearch-filter-predicate'.
6842 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6843
f1a60a0f
DG
68442013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6845
6846 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6847 return the commit hash (Bug#14459). Also set the
6848 `vc-git-detached' property.
6849 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6850 (vc-git-mode-line-string): Use the same help-echo format whether
6851 in detached mode or not, because we know the actual revision now.
6852 When in detached mode, shorten the revision to 7 chars.
6853
7f17cc40
SM
68542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * emacs-lisp/easy-mmode.el (define-minor-mode):
6857 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6858 mode hook and provide a docstring.
6859
25c8401c
AM
68602013-05-27 Alan Mackenzie <acm@muc.de>
6861
6862 Remove spurious syntax-table text properties inserted by C-y.
6863 * progmodes/cc-mode.el (c-after-change): Also clear hard
6864 syntax-table property with value nil.
6865
dde84790
MA
68662013-05-27 Michael Albinus <michael.albinus@gmx.de>
6867
6868 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6869 when reading the events; the buffer layout shall not be changed.
6870
837fd9af
LL
68712013-05-27 Leo Liu <sdl.web@gmail.com>
6872
6873 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6874 New variable.
6875 (inferior-octave-directory-tracker): Automatically re-sync
6876 default-directory.
6877 (octave-help): Improve handling of 'See also'.
6878
4fd996b3
SM
68792013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6880
416f1802
SM
6881 * doc-view.el: Minor naming convention tweaks.
6882 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6883
4fd996b3
SM
6884 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6885 even if there's no `display' property yet (bug#14435).
6886
a052ef3b
EZ
68872013-05-25 Eli Zaretskii <eliz@gnu.org>
6888
4fd996b3 6889 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6890
6891 * Makefile.in (custom-deps, finder-data, autoloads)
6892 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6893 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6894 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6895
c9023370
SM
68962013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6899 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6900 Don't burp at EOB.
c9023370 6901
24d699fa
LL
69022013-05-25 Leo Liu <sdl.web@gmail.com>
6903
6904 * comint.el (comint-previous-matching-input): Do not flood the
6905 *Messages* buffer with trivial messages.
6906
17e5c0cc
SM
69072013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6908
6909 * progmodes/flymake.el (flymake-nop): Don't return a string.
6910 (flymake-set-at): Fix typo.
6911
6912 * simple.el (read--expression): New function, extracted from
6913 eval-expression. Set completion-at-point-functions (bug#14465).
6914 (eval-expression, eval-minibuffer): Use it.
6915
5d028165
XF
69162013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6917
6918 * progmodes/flymake.el (flymake-save-buffer-in-file)
6919 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6920 (flymake-selected-frame, flymake-log, flymake-ins-after)
6921 (flymake-set-at, flymake-get-buildfile-from-cache)
6922 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6923 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6924 Refine the doc string.
6925 (flymake-get-file-name-mode-and-masks): Reformat.
6926 (flymake-get-real-file-name-function): Fix a minor bug.
6927
7a1d7ba7
JL
69282013-05-24 Juri Linkov <juri@jurta.org>
6929
6930 * progmodes/grep.el (grep-mode-font-lock-keywords):
6931 Support =linenumber= format used by git-grep for lines with
6932 function names. (Bug#13549)
6933
650cff3d
SM
69342013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6937 0 after a semi-colon; it works better for smie-auto-fill.
6938 (octave--indent-new-comment-line): New function.
6939 (octave-indent-new-comment-line): Use it (indirectly).
6940 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6941 modify comment-line-break-function.
6942
6943 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6944 (smie-setup): Use add-function to set it.
6945
9631677d
SS
69462013-05-24 Sam Steingold <sds@gnu.org>
6947
6948 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6949 argument (before the `interactive' argument).
6950
50105835
SM
69512013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * image-mode.el (image-mode-winprops): Add winprops to
6954 image-mode-winprops-alist before running
6955 image-mode-new-window-functions.
6956 * doc-view.el (doc-view-new-window-function): Don't delay
6957 doc-view-goto-page via timers (bug#14435).
6958
57b9823e
TH
69592013-05-24 Tassilo Horn <tsdh@gnu.org>
6960
6961 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6962 (doc-view-desktop-save-buffer): New function.
6963 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6964 (desktop-buffer-mode-handlers):
6965 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6966 handler.
6967 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6968 `desktop-save-buffer' function.
6969
91aafa16
MA
69702013-05-24 Michael Albinus <michael.albinus@gmx.de>
6971
6972 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6973 (tramp-gvfs-file-name-handler): Raise a user error when
6974 `tramp-gvfs-enabled' is nil.
6975 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6976 Do not raise a user error when loading package. (Bug#14447)
6977
ec076379
MA
6978 * net/xesam.el: Move to obsolete/.
6979
db785726
GM
69802013-05-24 Glenn Morris <rgm@gnu.org>
6981
af5c7606
GM
6982 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6983
e5d1916a
GM
6984 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6985
ded62b08
GM
6986 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6987 (Info-find-node, Man-getpage-in-background): Declare.
6988
9e614a3f
GM
6989 * mail/unrmail.el (unrmail):
6990 Replace obsolete detect-coding-with-priority.
6991
892f8ca3
GM
6992 * net/socks.el (socks-split-string): Use this rather than split-string.
6993 (socks-nslookup-host): Update for above change.
6994 (dynamic-choice, s5-dynamic-choice-match)
6995 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6996 Comment out unused code.
6997
3c291973
GM
6998 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6999 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7000 (gud-tooltip-echo-area): Make obsolete.
7001 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7002
43cc956b
GM
7003 * progmodes/js.el (js--optimize-arglist): Declare.
7004
dab49a3b
GM
7005 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7006
36b9d085
GM
7007 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7008 (ediff-window-C): Declare.
7009
e354ae76
GM
7010 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7011 Tweak requires to silence compiler.
7012
b8e57bf4
GM
7013 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7014 (he-search-string, he-tried-table, he-expand-list)
7015 (he-init-string, he-string-member, he-substitute-string)
7016 (he-reset-string): Declare.
7017
db785726
GM
7018 * obsolete/options.el (list-options): Use custom-variable-p,
7019 rather than obsolete alias.
7020
b3531901
SS
70212013-05-23 Sam Steingold <sds@gnu.org>
7022
7023 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7024 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7025 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7026
bdda4c66
SM
70272013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * emacs-lisp/smie.el (smie-indent-forward-token)
7030 (smie-indent-backward-token): Handle string tokens (bug#14381).
7031
c43d45f9
TH
70322013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7033
fe1eb856
RS
7034 * ielm.el (ielm-menu): New menu.
7035 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7036
fe1eb856
RS
70372013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7038
7039 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7040 Fix deactivate action.
7041
7042 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7043 Add cleveref macros.
074dd971 7044
c43d45f9
TH
7045 * lisp/textmodes/reftex-parse.el
7046 (reftex-locate-bibliography-files): Accept options for
7047 bibliography commands.
7048 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7049 Add addbibresource. Basic Biblatex support.
7050
7764286e
MA
70512013-05-23 Michael Albinus <michael.albinus@gmx.de>
7052
7053 * net/tramp-gvfs.el (top):
7054 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7055 when loading package. (Bug#14447)
7056
d361bc10
GM
70572013-05-23 Glenn Morris <rgm@gnu.org>
7058
8fa23984
GM
7059 * progmodes/js.el: No need to load comint when compiling.
7060 (ring-insert, comint-send-string, comint-send-input)
7061 (comint-last-input-end, ido-chop): Declare.
7062
a5c7df1a
GM
7063 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7064 * vc/ediff-mult.el: Adjust requires.
7065 (ediff-directories-internal, ediff-directory-revisions-internal)
7066 (ediff-patch-file-internal): Declare.
7067 * vc/ediff-ptch.el: Adjust requires.
7068 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7069 (ediff-find-file): Autoload.
7070 * vc/ediff-util.el: No need to load ediff when compiling.
7071 (ediff-regions-internal): Declare.
7072 * vc/ediff-wind.el: Adjust requires.
7073 (ediff-compute-toolbar-width): Define when compiling.
7074 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7075 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7076 (dired-get-filename, dired-get-marked-files)
7077 (ediff-last-dir-patch, ediff-patch-default-directory)
7078 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7079 (ediff-patch-buffer-internal): Declare.
7080
e2aec513
GM
7081 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7082 (ispell-process, ispell-buffer-local-words, lm-summary)
7083 (lm-section-start, lm-section-end): Declare.
7084 (checkdoc-ispell-init): Simplify.
7085
e68bbd7c
GM
7086 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7087 (he-string-member, he-reset-string, he-substitute-string): Declare.
7088
7efe0991
GM
7089 * eshell/em-ls.el: Adjust requires.
7090 (eshell-glob-regexp): Declare.
f87b1284
GM
7091 * eshell/em-tramp.el: Adjust requires.
7092 (eshell-parse-command): Autoload.
7093 * eshell/em-xtra.el: Adjust requires.
7094 (eshell-parse-command): Autoload.
7095 * eshell/esh-ext.el: Adjust requires.
7096 (eshell-parse-command, eshell-close-handles): Autoload.
7097 * eshell/esh-io.el: Adjust requires.
7098 (eshell-output-filter): Autoload.
7099 * eshell/esh-util.el: No need to load tramp when compiling.
7100 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7101 Declare.
7102 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7103 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7104 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7105 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7106 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7107 * eshell/esh-opt.el, eshell/esh-proc.el:
7108 * eshell/esh-var.el: Adjust requires.
7109 * eshell/eshell.el: Do not require esh-util twice.
7110 (eshell-add-input-to-history): Declare.
7111 (eshell-command): Check history module is active before using it.
7112
d361bc10
GM
7113 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7114
85d090a9
LL
71152013-05-22 Leo Liu <sdl.web@gmail.com>
7116
7117 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7118
5d0acd9d
MA
71192013-05-22 Michael Albinus <michael.albinus@gmx.de>
7120
7121 * autorevert.el (auto-revert-notify-add-watch)
7122 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7123 it indicates changes in file modification time.
7124
0cdffd7d
GM
71252013-05-22 Glenn Morris <rgm@gnu.org>
7126
ca5995ec
GM
7127 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7128 Always delete the autoloaded function from the noruntime and
7129 unresolved functions lists.
7130
6450907e
GM
7131 * allout.el: No need to load epa, epg, overlay when compiling.
7132 (epg-context-set-passphrase-callback, epg-list-keys)
7133 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7134 (epg-key-user-id-list): Declare.
7135
9c6906f6
GM
7136 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7137 (viper-set-parsing-style-toggling-macro)
7138 (viper-set-emacs-state-searchstyle-macros):
7139 Use called-interactively-p on Emacs.
7140 (viper-looking-back): Make it an obsolete alias. Update callers.
7141 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7142 Use looking-back rather than viper-looking-back.
7143 (viper-tmp-insert-at-eob, viper-enlarge-region)
7144 (viper-read-string-with-history, viper-register-to-point)
7145 (viper-append-to-register, viper-change-state-to-vi)
7146 (viper-backward-char-carefully, viper-forward-char-carefully)
7147 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7148 (viper-change-state-to-emacs): Declare.
7149 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7150 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7151 * emulation/viper-mous.el: Do not load viper-cmd.
7152 (viper-backward-char-carefully, viper-forward-char-carefully)
7153 (viper-forward-word, viper-adjust-window): Declare.
7154
5f70c169
GM
7155 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7156
b1b7f300
GM
7157 * progmodes/idlw-help.el (idlwave-help-fontify):
7158 Use called-interactively-p.
7159
f6ebbb46
GM
7160 * term/w32console.el (w32-get-console-codepage)
7161 (w32-get-console-output-codepage): Declare.
7162
0cdffd7d
GM
7163 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7164 Remove unnecessary declarations.
7165 (dframe-message): Doc fix.
7166
7167 * info.el (dframe-select-attached-frame, dframe-current-frame):
7168 Declare.
7169
7170 * speedbar.el (speedbar-message): Make it an obsolete alias.
7171 Update all callers.
7172 (speedbar-with-attached-buffer)
7173 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7174 (speedbar-with-writable): Use backquote.
7175 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7176 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7177 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7178 rather than speedbar- aliases.
7179 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7180 (speedbar-make-specialized-keymap, speedbar-insert-button)
7181 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7182 (speedbar-do-function-pointer): Declare.
7183 (rmail-speedbar-button, rmail-speedbar-find-file)
7184 (rmail-speedbar-move-message):
7185 Use dframe-with-attached-buffer rather than speedbar- alias.
7186 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7187 (dframe-message, speedbar-make-specialized-keymap)
7188 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7189 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7190 (speedbar-insert-button, dframe-select-attached-frame)
7191 (dframe-maybee-jump-to-attached-frame)
7192 (speedbar-change-initial-expansion-list)
7193 (speedbar-previously-used-expansion-list-name): Declare.
7194 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7195 Use dframe-message, dframe-with-attached-buffer rather than
7196 speedbar- aliases.
7197 (gud-sentinel): Silence compiler.
7198 * progmodes/vhdl-mode.el (speedbar-refresh)
7199 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7200 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7201 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7202 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7203 (speedbar-file-lists, speedbar-make-tag-line)
7204 (speedbar-line-directory, speedbar-goto-this-file)
7205 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7206 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7207 (speedbar-make-button, speedbar-reset-scanners)
7208 (speedbar-files-item-info, speedbar-line-text)
7209 (speedbar-find-file-in-frame, speedbar-set-timer)
7210 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7211 (speedbar-with-writable): Do not (re)define it.
7212 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7213 rather than speedbar- alias.
7214
ee44b62a
LL
72152013-05-21 Leo Liu <sdl.web@gmail.com>
7216
7217 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7218 menu items.
7219 (octave-mode): Tweak fill-nobreak-predicate.
7220 (inferior-octave-startup): Check process to avoid infinite loop.
7221 (inferior-octave): Pop to buffer first to show abornmal process
7222 exit information.
7223
640f050f
GM
72242013-05-21 Glenn Morris <rgm@gnu.org>
7225
79458038
GM
7226 * printing.el (pr-menu-bar): Define when compiling.
7227
9cc3e83f
LL
72282013-05-21 Leo Liu <sdl.web@gmail.com>
7229
7230 * progmodes/octave.el (octave-auto-fill): Remove.
7231 (octave-indent-new-comment-line): Improve.
7232 (octave-mode): Use auto fill mode through
4f405069 7233 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7234 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7235 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7236 (octave-help): Show parent directory.
7237
f440830d
GM
72382013-05-21 Glenn Morris <rgm@gnu.org>
7239
7240 * files.el (dired-unmark):
7241 * progmodes/gud.el (gdb-input): Update declarations.
7242
7243 * calculator.el (electric, ehelp): No need to load when compiling.
7244 (Electric-command-loop, electric-describe-mode): Declare.
7245
7246 * doc-view.el (doc-view-current-converter-processes): Move before use.
7247
7248 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7249 Move MODE-set-explicitly definition before use.
7250
7251 * international/mule-diag.el (mule-diag):
7252 Don't use obsolete window-system-version.
7253
7254 * mail/feedmail.el (smtpmail): No need to load when compiling.
7255 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7256
7257 * mail/mail-utils.el (rfc822): No need to load when compiling.
7258 (rfc822-addresses): Autoload it.
7259 (mail-strip-quoted-names): Trivial simplification.
7260
7261 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7262 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7263
7264 * net/snmp-mode.el (tempo): Don't duplicate requires.
7265
7266 * progmodes/prolog.el (info): No need to load when compiling.
7267 (comint): Require before shell requires it.
7268 (Info-goto-node): Autoload it.
7269 (Info-follow-nearest-node): Declare.
7270 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7271
7272 * textmodes/artist.el (picture-mode-exit): Declare.
7273
7274 * textmodes/reftex-parse.el (reftex-parse-from-file):
7275 Trivial rewrite so the compiler can parse it better.
7276
b4da2cbb
LL
72772013-05-20 Leo Liu <sdl.web@gmail.com>
7278
7279 * progmodes/octave.el (octave-help-mode-map)
7280 (octave-help-mode-finish-hook): New variables.
7281 (octave-help-mode, octave-help-mode-finish): New functions.
7282 (octave-help): Use octave-help-mode.
7283
33c0f65b
GM
72842013-05-20 Glenn Morris <rgm@gnu.org>
7285
7286 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7287
1a0a0a8a
DG
72882013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7289
7290 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7291 start at point, so that expansion starting right after opening
7292 slash in a regexp is recognized.
7293 (ruby-syntax-before-regexp-re): New defvar, extracted from
7294 ruby-syntax-propertize-function. Since the value of this regexp
7295 is looked up at runtime now, we should be able to turn
7296 `ruby-syntax-methods-before-regexp' into a defcustom later.
7297 (ruby-syntax-propertize-function): Split regexp matching into two
7298 parts, for opening and closing slashes. That allows us to skip
7299 over string interpolations and support multiline regexps.
7300 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7301 for them, which calls `ruby-syntax-propertize-expansion'.
7302 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7303 call to `ruby-syntax-propertize-function'.
7304 (ruby-syntax-propertize-expansion): Extracted from
7305 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7306 (ruby-syntax-propertize-percent-literal): Leave point right after
7307 the percent symbol, so that the expression expansion rule can
7308 propertize the contents.
462388b6
DG
7309 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7310 heredoc openers.
7311 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7312
c1a6c0a4
JL
73132013-05-18 Juri Linkov <juri@jurta.org>
7314
7315 * man.el (Man-default-man-entry): Remove `-' from the end
7316 of the default value. (Bug#14400)
7317
8051fccd
GM
73182013-05-18 Glenn Morris <rgm@gnu.org>
7319
7320 * comint.el (comint-password-prompt-regexp):
7321 Allow "password for XXX" where XXX contains colons (eg https://...).
7322
5e80b74f
LL
73232013-05-18 Leo Liu <sdl.web@gmail.com>
7324
7325 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7326 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7327 (octave-source-directories): Don't check process.
7328 (octave-source-directories, octave-find-definition): Doc fix.
7329
521a54c5
GM
73302013-05-18 Glenn Morris <rgm@gnu.org>
7331
86a94b05
GM
7332 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7333 Remove backspace/delete bindings. (Bug#14392)
7334
521a54c5
GM
7335 * cus-dep.el (custom-make-dependencies): Sort the output.
7336 (custom-versions-load-alist): Convert comment to doc.
7337
42caeb89
LL
73382013-05-17 Leo Liu <sdl.web@gmail.com>
7339
7340 * newcomment.el (comment-search-backward): Stricter in finding
7341 comment start. (Bug#14303)
7342
7343 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7344 (octave-comment-start-skip): Properly anchored.
7345
e219dd97
LL
73462013-05-17 Leo Liu <sdl.web@gmail.com>
7347
fe1eb856
RS
7348 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7349 Clean up when turned off. (Bug#14395)
e219dd97
LL
7350 (smie--highlight-matching-block-overlay): No longer buffer-local.
7351 (smie-highlight-matching-block): Adjust.
7352
dc5dcb4b
PE
73532013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7354
7355 Doc string fix for "nanoseconds" (Bug#14406).
7356 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7357 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7358
1db165f0
JB
73592013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7360
7361 * calc/calc-units.el (math-extract-units): Preserve powers
7362 of units.
7363
c7a8fcac
LL
73642013-05-17 Leo Liu <sdl.web@gmail.com>
7365
7366 * subr.el (delete-consecutive-dups): New function.
7367 * ido.el (ido-set-matches-1): Use it.
7368 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7369 * ido.el (ido-remove-consecutive-dups): Remove.
7370
f678b18a
SM
73712013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7374 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7375 regexp-opt's `words'.
7376
ebfe68e8
LL
73772013-05-16 Leo Liu <sdl.web@gmail.com>
7378
7379 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7380 (smie--highlight-matching-block-overlay)
7381 (smie--highlight-matching-block-lastpos)
7382 (smie--highlight-matching-block-timer): New variables.
7383 (smie-highlight-matching-block): New function.
7384 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7385 (smie-setup): Conditionally enable smie-blink-matching-open.
7386
bc8bc17d
WS
73872013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7388
7389 Sync with upstream verilog-mode r840.
7390 * progmodes/verilog-mode.el (verilog-mode-version)
7391 (verilog-mode-release-date): Update.
7392 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7393 (verilog-sig-tieoff): Fix string error on
7394 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7395 (verilog-read-decls): Fix parameters confusing
7396 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7397
df065a0b
EZ
73982013-05-16 Eli Zaretskii <eliz@gnu.org>
7399
7400 * subr.el (reveal-filename): New function.
7401
7402 * loadup.el: Compute Emacs executable versions on MS-Windows,
7403 where executables have the .exe extension. Add a hard link
7404 emacs-XX.YY.ZZ.exe on MS-Windows.
7405
7406 * Makefile.in (XARGS_LIMIT): New variable.
7407 (custom-deps, finder-data, autoloads)
7408 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7409 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7410 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7411 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7412
2d4bf34b
LL
74132013-05-16 Leo Liu <sdl.web@gmail.com>
7414
7415 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7416 (octave-mode-menu, octave-mode-map): Remove its uses.
7417
6b9c2d85
RZ
74182013-05-16 Reto Zimmermann <reto@gnu.org>
7419
7420 Sync with upstream vhdl mode v3.34.2.
7421 * progmodes/vhdl-mode.el: Use `push' throughout.
7422 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7423 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7424 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7425 (vhdl-actual-generic-name): New option to derive actual generic name.
7426 (vhdl-port-paste-signals): Replace formal by actual generics.
7427 (vhdl-beautify): New name for old group vhdl-align. Update users.
7428 (vhdl-beautify-options): New option.
7429 (vhdl-last-input-event): New compat alias. Use throughout.
7430 (vhdl-goto-line): Replace user level function `goto-line'.
7431 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7432 vhdl-fix-statement-buffer.
7433 (vhdl-create-mode-menu): Add some entries.
7434 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7435 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7436 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7437 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7438 to force statements on one line.
7439 (vhdl-remove-trailing-spaces-region):
7440 New, split from vhdl-remove-trailing-spaces.
7441 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7442 Respect vhdl-beautify-options.
7443 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7444 (vhdl-update-sensitivity-list): Not add with index if exists without.
7445 Not include array index with signal. Ignore keywords in comments.
7446 (vhdl-get-visible-signals): Regexp tweaks.
7447 (vhdl-template-component-inst): Handle empty library.
7448 (vhdl-template-type): Add template for 'enum' type.
7449 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7450 Use vhdl-replace-string.
7451 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7452 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7453 (vhdl-speedbar-initialize): Update for above name change.
7454 (vhdl-compose-wire-components): Fix in handling of constants.
7455 (vhdl-error-regexp-emacs-alist): New variable.
7456 (vhdl-error-regexp-add-emacs): New function;
7457 adds support for new compile.el (Emacs 22+)
7458 (vhdl-generate-makefile-1): Change target order for single lib. units.
7459 Allow use of absolute file names.
7460
9df4ec5e
LL
74612013-05-16 Leo Liu <sdl.web@gmail.com>
7462
7463 * simple.el (prog-indent-sexp): Indent enclosing defun.
7464
f5ba00a6
GM
74652013-05-15 Glenn Morris <rgm@gnu.org>
7466
ed8be7ff
GM
7467 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7468 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7469 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7470 (whitespace-highlight): Move to whitespace group.
7471
7472 * comint.el (comint-source):
7473 * pcmpl-linux.el (pcmpl-linux):
7474 * shell.el (shell-faces):
7475 * eshell/esh-opt.el (eshell-opt):
7476 * international/ccl.el (ccl): Remove empty custom groups.
7477
7478 * completion.el (dynamic-completion-mode):
7479 * jit-lock.el (jit-lock-debug-mode):
7480 * minibuffer.el (completion-in-region-mode):
7481 * type-break.el (type-break-mode-line-message-mode)
7482 (type-break-query-mode):
7483 * emulation/tpu-edt.el (tpu-edt-mode):
7484 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7485 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7486 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7487
7488 * term/xterm.el (xterm): Change parent group to terminals.
7489
7490 * master.el (master): Remove empty custom group.
7491 (master-mode): Remove unused :group argument.
7492 * textmodes/refill.el (refill): Remove empty custom group.
7493 (refill-mode): Remove unused :group argument.
7494
7495 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7496
82a7c41b
GM
7497 * cus-dep.el: Provide a feature.
7498 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7499 Don't mistakenly ignore files whose basenames match a basename
7500 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7501 Add a fallback method for getting :group.
f5ba00a6 7502
6d65486d
JL
75032013-05-15 Juri Linkov <juri@jurta.org>
7504
da547b32
JL
7505 * isearch.el (isearch-char-by-name): Rename from
7506 `isearch-insert-char-by-name'. Doc fix.
7507 (isearch-forward): Mention `isearch-char-by-name' in
7508 the docstring. (Bug#13348)
7509
6d65486d
JL
7510 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7511 `exit-minibuffer' instead of
7512 `isearch-nonincremental-exit-minibuffer'.
7513 (isearch-edit-string): Remove mention of
7514 `isearch-nonincremental-exit-minibuffer' from docstring.
7515 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7516 (isearch-forward-exit-minibuffer)
7517 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7518
c9990474
SM
75192013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7520
6e911150
SM
7521 * loadup.el: Just use unversioned DOC.
7522
c9990474
SM
7523 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7524 literals as extending to EOB.
7525 (nxml-last-fontify-end): Remove unused variable.
7526 (nxml-after-change1): Use with-silent-modifications.
7527 (nxml-extend-after-change-region): Simplify.
7528 (nxml-extend-after-change-region1): Remove function.
7529 (nxml-after-change1): Don't adjust for dependent regions.
7530 (nxml-fontify-matcher): Simplify.
7531 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7532 (xmltok-add-dependent): Remove function.
7533 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7534 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7535 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7536 unclosed <[[, <?, comment, and other literals as extending to EOB.
7537 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7538 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7539 Remove functions.
7540 (rng-do-some-validation-1): Don't mark dependent regions.
7541 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7542 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7543 (nxml-clear-dependent-regions): Remove functions.
7544 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7545 (nxml-ensure-scan-up-to-date):
7546 Don't clear&mark dependent regions.
7547
e3772e98
LL
75482013-05-15 Leo Liu <sdl.web@gmail.com>
7549
c9990474
SM
7550 * progmodes/octave.el (octave-goto-function-definition):
7551 Improve and fix callers.
e3772e98 7552
5ac2eb34
SM
75532013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7554
c46c57b0
SM
7555 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7556 the setter (bug#14387).
7557
5ac2eb34
SM
7558 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7559 surrounding group (bug#14402).
7560
180ed218
JL
75612013-05-14 Juri Linkov <juri@jurta.org>
7562
7563 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7564 (Bug#14390)
7565
0ac0fecb
GM
75662013-05-14 Glenn Morris <rgm@gnu.org>
7567
7568 * progmodes/f90.el (f90-imenu-generic-expression):
7569 Fix typo in 2013-05-08 change. (Bug#14402)
7570
2e78e6a7
JPG
75712013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7572
5ac2eb34
SM
7573 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7574 Remove signals for which replies are never received.
2e78e6a7 7575
53267cca
JPG
75762013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7577
7578 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7579 (gdb-handler-alist, gdb-handler-number): Remove variables.
7580 (gdb-handler-list): New variable.
7581 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7582 (gdb-pending-handler-p, gdb-handle-reply)
7583 (gdb-remove-all-pending-triggers): New functions.
7584 (gdb-discard-unordered-replies): New defcustom.
7585 (gdb-handler): New defstruct.
7586 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7587 instead of gdb-pending-triggers. Update docstring.
7588 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7589 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7590 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7591 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7592 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7593 (gdb-frame-handler): Pending triggers are now automatically managed.
7594 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7595 Remove argument.
7596 (gdb-input): Automatically handles pending triggers. Update docstring.
7597 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7598 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7599 Update comments.
7600 (gdb-done-or-error): Now use gdb-handle-reply.
7601
d04ce803
JPG
76022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7603
7604 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7605 gdb-debug-log.
7606
0114073a
GM
76072013-05-14 Glenn Morris <rgm@gnu.org>
7608
7609 * subr.el (user-emacs-directory-warning): New option.
7610 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7611
4d25fd7e
LL
76122013-05-14 Leo Liu <sdl.web@gmail.com>
7613
7614 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7615 during redisplay.
7616 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7617 (octave-font-lock-texinfo-comment): Fix invalid search bound
7618 error: wrong side of point.
4d25fd7e 7619
27c8b6eb
GM
76202013-05-14 Glenn Morris <rgm@gnu.org>
7621
61aaeb01
GM
7622 * progmodes/flymake.el (flymake-xml-program): New option.
7623 (flymake-xml-init): Use it.
7624
5bf90bc5
GM
7625 * term/xterm.el: Provide a feature.
7626
7627 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7628
f4c7dfd2
GM
76292013-05-13 Glenn Morris <rgm@gnu.org>
7630
7631 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7632 Add compat aliases as a hack workaround. (Bug#14384)
7633
2aeb3a1d
LL
76342013-05-13 Leo Liu <sdl.web@gmail.com>
7635
b0e069c2
LL
7636 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7637 ###, and %!.
f5a9432f
LL
7638 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7639 C-M-q.
b0e069c2
LL
7640 (octave-comment-start-skip): Include %!.
7641 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7642
30ea8374
LL
76432013-05-12 Leo Liu <sdl.web@gmail.com>
7644
7645 * progmodes/octave.el (inferior-octave-startup): Store the value
7646 of __octave_srcdir__ for octave-source-directories.
7647 (inferior-octave-check-process): New function refactored out of
7648 inferior-octave-send-list-and-digest.
7649 (octave-source-directories)
7650 (octave-find-definition-filename-function): New variables.
7651 (octave-source-directories)
7652 (octave-find-definition-default-filename): New functions.
7653 (octave-find-definition): Improve to find functions implemented in C++.
7654
472a3834
GM
76552013-05-12 Glenn Morris <rgm@gnu.org>
7656
7657 * calendar/diary-lib.el (diary-outlook-format-1):
7658 Don't include dayname in the output. (Bug#14349)
7659
3191b52f
GM
76602013-05-11 Glenn Morris <rgm@gnu.org>
7661
0060ac73
GM
7662 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7663
3191b52f
GM
7664 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7665 Treat cc-provide like provide.
7666
e065ba74
KR
76672013-05-11 Kevin Ryde <user42@zip.com.au>
7668
7669 * cus-dep.el (custom-make-dependencies):
7670 Use generated-autoload-load-name for the sake of files such
7671 such cedet/semantic/bovine/c.el, where the base file name
7672 is not in load-path. (Bug#5277)
7673
36f84c37
GM
76742013-05-11 Glenn Morris <rgm@gnu.org>
7675
7676 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7677 Provide features.
7678
c8730c3a
LL
76792013-05-11 Leo Liu <sdl.web@gmail.com>
7680
7681 * progmodes/octave.el (octave-indent-comment): Improve.
7682 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7683 (octave-eldoc-function-signatures, octave-eldoc-function):
7684 New functions.
c8730c3a
LL
7685 (octave-mode, inferior-octave-mode): Add eldoc support.
7686
212e29f2
RS
76872013-05-11 Richard Stallman <rms@gnu.org>
7688
7689 * epa.el (epa-decrypt-file): Take output file name as argument
7690 and read it using `interactive'.
7691
083fe0d7
LL
76922013-05-11 Leo Liu <sdl.web@gmail.com>
7693
7694 * progmodes/octave.el (octave-beginning-of-line)
7695 (octave-end-of-line): Check before using up-list because it jumps
7696 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7697 (octave-indent-comment): New function.
7698 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7699 (octave-begin-keywords, octave-end-keywords)
7700 (octave-reserved-words, octave-smie-bnf-table)
7701 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7702
8582e4c4
GM
77032013-05-11 Glenn Morris <rgm@gnu.org>
7704
f20def1f
GM
7705 * faces.el (internal-face-x-get-resource):
7706 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7707 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7708 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7709 Fix declarations.
f20def1f 7710
445f95e2
GM
7711 * calc/calc-menu.el: Make it loadable in isolation.
7712
7713 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7714 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7715 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7716 (eudc-bbdb-query-internal): Require 'bbdb.
7717
99fb2756
GM
7718 * lpr.el (lpr-headers-switches):
7719 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7720
7721 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7722
0da7ad96
GM
7723 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7724
8582e4c4
GM
7725 * term.el (term-set-escape-char): Make it idempotent.
7726
f71c50d0
LL
77272013-05-10 Leo Liu <sdl.web@gmail.com>
7728
5ac2eb34
SM
7729 * progmodes/octave.el (inferior-octave-completion-table):
7730 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7731 completion due to bug#11906.
7732 (octave-beginning-of-defun): Re-write to be more general.
7733
d5837773
GM
77342013-05-10 Glenn Morris <rgm@gnu.org>
7735
7736 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7737
027c0f75
SM
77382013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * comint.el (comint-redirect-send-command-to-process): Use :around
7741 rather than :override for comint-redirect-filter.
7742 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7743 Call it instead of comint-redirect-original-filter-function (which
7744 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7745
4465bfb4
JD
77462013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7747
7748 * frame.el (display-monitor-attributes-list): Add NS case.
7749 (ns-display-monitor-attributes-list): Declare.
7750
2d809ffa 77512013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7752
7753 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7754
e54eeb9b
GM
77552013-05-09 Glenn Morris <rgm@gnu.org>
7756
56cd351d
GM
7757 * international/fontset.el (vertical-centering-font-regexp):
7758 Set standard-value.
7759
d84b6108
GM
7760 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7761
a931698a
GM
7762 * bookmark.el (bookmark-search-delay):
7763 * cus-start.el (vertical-centering-font-regexp):
7764 * ps-mule.el (ps-mule-font-info-database-default):
7765 * ps-print.el (ps-default-fg, ps-default-bg):
7766 * type-break.el (type-break-good-break-interval):
7767 * whitespace.el (whitespace-indentation-regexp)
7768 (whitespace-space-after-tab-regexp):
7769 * emacs-lisp/testcover.el (testcover-1value-functions)
7770 (testcover-noreturn-functions, testcover-progn-functions)
7771 (testcover-prog1-functions):
7772 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7773 * eshell/em-glob.el (eshell-glob-translate-alist):
7774 * play/tetris.el (tetris-tty-colors):
7775 * progmodes/cpp.el (cpp-face-default-list):
7776 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7777 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7778 (idlwave-help-browser-generic-args):
7779 * progmodes/make-mode.el (makefile-special-targets-list):
7780 * progmodes/python.el (python-shell-virtualenv-path):
7781 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7782 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7783 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7784 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7785 * textmodes/reftex-vars.el (reftex-format-label-function):
7786 * textmodes/remember.el (remember-diary-file): Fix custom types.
7787
e54eeb9b
GM
7788 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7789 Add :version.
7790
455851dd
LL
77912013-05-09 Leo Liu <sdl.web@gmail.com>
7792
7793 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7794 Restore file completion. (Bug#14300)
455851dd
LL
7795 (inferior-octave-startup): Fix incorrect highlighting for the
7796 first prompt.
7797
a9e4425b
SM
77982013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * progmodes/ruby-mode.el: First cut at SMIE support.
7801 (ruby-use-smie): New var.
7802 (ruby-smie-grammar): New constant.
7803 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7804 (ruby-smie--forward-token, ruby-smie--backward-token)
7805 (ruby-smie-rules): New functions.
7806 (ruby-mode-variables): Setup SMIE if applicable.
7807
060ca408
EZ
78082013-05-08 Eli Zaretskii <eliz@gnu.org>
7809
7810 * simple.el (line-move-visual): Signal beginning/end of buffer
7811 only if vertical-motion moved less than it was requested. Avoids
7812 silly incorrect error messages when there are display strings with
7813 multiple newlines at EOL.
7814
1d5963cc
SM
78152013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7818 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7819 (prolog-char-quote-workaround):
7820 * progmodes/cperl-mode.el (cperl-under-as-char):
7821 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7822 Mark as obsolete.
7823 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7824 their declaration.
7825 (vhdl-mode-syntax-table-init): Remove.
7826
c9990474
SM
7827 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7828 last change.
1d5963cc
SM
7829
7830 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7831 syntax for "_".
7832 (ld-script-font-lock-keywords):
7833 Change regexps to use things like \_< and \_>.
7834
7835 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7836 Change all regexps to use things like \_< and \_>.
7837
7838 * progmodes/autoconf.el (autoconf-definition-regexp)
7839 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7840 Handle a _ with symbol syntax.
7841 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7842
c9990474
SM
7843 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7844 Consolidate declaration.
1d5963cc
SM
7845 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7846 the declaration.
7847 (ada-create-syntax-table): Remove.
7848 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7849 already has the right syntax nowadays.
7850 (ada-goto-next-word): Don't change the syntax of "_".
7851
7852 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7853 with-wrapper-hook.
7854
72d3cfca
SS
78552013-05-08 Sam Steingold <sds@gnu.org>
7856
7857 * thingatpt.el (thing-at-point): Accept optional second argument
7858 NO-PROPERTIES to strip the text properties from the return value.
7859 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7860 to `thing-at-point' instead of stripping the properties ourselves.
7861 Also, when `thing-at-point' fails to find a url, prepend "http://"
7862 to the filename at point on the assumption that the user is
7863 pointing at something like gnu.org/gnu.
7864
5cb15713
JB
78652013-05-08 Juanma Barranquero <lekktu@gmail.com>
7866
7867 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7868 * faces.el (crm-separator):
7869 Silence byte-compiler.
7870
7871 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7872 (tool-bar-map): Remove unneeded defvars.
7873
ea78b95b
LL
78742013-05-08 Leo Liu <sdl.web@gmail.com>
7875
7876 Re-work a fix for bug#10994 based on Le Wang's patch.
7877 * ido.el (ido-remove-consecutive-dups): New helper.
7878 (ido-completing-read): Use it.
7879 (ido-chop): Revert fix for bug#10994.
7880
dc7466df
AS
78812013-05-08 Adam Spiers <emacs@adamspiers.org>
7882
7883 * cus-edit.el (custom-save-variables):
7884 Pretty-print long values. (Bug#14187)
7885
9ecf672a
GM
78862013-05-08 Glenn Morris <rgm@gnu.org>
7887
7888 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7889 (m4-mode-syntax-table): Init in the defvar.
7890 (m4-mode-abbrev-table): Let define-derived-mode define it.
7891
3f555be8
TT
78922013-05-08 Tom Tromey <tromey@redhat.com>
7893
7894 * progmodes/m4-mode.el (m4-mode-syntax-table):
7895 Do not treat "_" as word constituent. (Bug#14167)
7896
7cc8ae06
GM
78972013-05-07 Glenn Morris <rgm@gnu.org>
7898
4f58bc06
GM
7899 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7900 Remove explicit eshell-isearch-cancel-map.
7901
7cc8ae06
GM
7902 * progmodes/f90.el (f90-smart-end-names): New option.
7903 (f90-smart-end): Doc fix.
7904 (f90-end-block-optional-name): New constant.
7905 (f90-block-match): Respect f90-smart-end-names.
7906
ceb57e59
SM
79072013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7910 about implicit semi-colons (bug#14218).
7911
4e3f9230
YM
79122013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7913
7914 * frame.el (display-monitor-attributes-list)
7915 (frame-monitor-attributes): New functions.
7916
203a5572
LL
79172013-05-06 Leo Liu <sdl.web@gmail.com>
7918
7919 * progmodes/octave.el (octave-syntax-propertize-function): Change
7920 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7921 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7922 (octave-completion-at-point): Rename from
203a5572
LL
7923 octave-completion-at-point-function.
7924 (inferior-octave-directory-tracker): Robustify.
7925 (octave-text-functions): Remove and fix its uses. No such things
7926 any more.
7927
ee6cff99
SM
79282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * emacs-lisp/trace.el (trace--display-buffer): New function.
7931 (trace-make-advice): Use it.
7932
32985194
JL
79332013-05-06 Juri Linkov <juri@jurta.org>
7934
7935 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7936 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7937 Doc fix.
7938 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7939 in the help string. (Bug#12985)
7940
a1c700de
KD
79412013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7942
7943 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7944
c67c0839
SM
79452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7946
323885fd
SM
7947 * progmodes/perl-mode.el: Add support for here documents.
7948 (perl-syntax-propertize-function): Match here-doc markers.
7949 (perl-syntax-propertize-special-constructs): Find their end.
7950 (perl-imenu-generic-expression): Use [:alnum:].
7951
c67c0839
SM
7952 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7953 (advice--add-function): Refresh the advice if already present
7954 (bug#14317).
7955
d491e7a8
IA
79562013-05-06 Ivan Andrus <darthandrus@gmail.com>
7957
7958 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7959
ddf9925e
GM
79602013-05-06 Glenn Morris <rgm@gnu.org>
7961
7cc3af27
GM
7962 * w32-fns.el (w32-charset-info-alist): Declare.
7963
16e343d6
GM
7964 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7965 of its defcustom properties.
7966 (eshell-cmpl-initialize): No need to load pcomplete.
7967
7d889a47
GM
7968 * generic-x.el: No need to require comint when compiling.
7969
ddf9925e
GM
7970 * net/eudc-export.el: Make it loadable without bbdb.
7971 (top-level): Use require rather than load-library.
7972 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7973 (eudc-batch-export-records-to-bbdb)
7974 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7975 Require bbdb.
7976
1e2c18df
SM
79772013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7980 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7981 some tweaks, instead.
7982
02502a5f
LL
79832013-05-05 Leo Liu <sdl.web@gmail.com>
7984
7985 * progmodes/octave.el (octave-font-lock-keywords)
7986 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7987 (inferior-octave-send-list-and-digest): Improve error message.
7988 (octave-mode, inferior-octave-mode): Use setq-local.
7989 (octave-help): Set info-lookup-mode.
7990
0dc04f42
RS
79912013-05-05 Richard Stallman <rms@gnu.org>
7992
6c54491c
RS
7993 * vc/compare-w.el (compare-windows-whitespace):
7994 Treat no-break space as whitespace.
7995
0dc04f42
RS
7996 * mail/rmailsum.el (rmail-summary-rmail-update):
7997 Detect empty summary and don't change selected message.
7998 (rmail-summary-goto-msg): Likewise.
7999
df8f35df
RS
8000 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8001 Doc fixes, rename args.
8002
5356e1a3
AM
80032013-05-05 Alan Mackenzie <acm@muc.de>
8004
8005 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8006
d44014cb
JL
80072013-05-05 Juri Linkov <juri@jurta.org>
8008
8009 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8010 to not add the length of the summary segment to the return value.
8011 (Bug#14125)
8012
c129b51f
LL
80132013-05-05 Leo Liu <sdl.web@gmail.com>
8014
8015 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8016 (inferior-octave-output-filter): Remove.
8017 (octave-send-region, inferior-octave-startup): Fix callers.
8018 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8019 (octave-binary-file-extensions): New user variable.
8020 (octave-find-definition): Confirm if opening binary files.
8021 (octave-help-file): Use octave-find-definition to get the binary
8022 confirmation.
8023 (octave-help): Adjust for octave-help-file change.
8024
aa7dab97
SM
80252013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8028 Merge the two entries that handle function definitions.
8029 (pascal--syntax-propertize): New const.
8030 (pascal-mode): Use it. Use setq-local.
8031
fd3a9a6b
GM
80322013-05-04 Glenn Morris <rgm@gnu.org>
8033
8034 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8035 (diary-from-outlook): Respect diary-from-outlook-function.
8036
30c7e542
SM
80372013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8040 Move the declaration from C.
8041 (read-minibuffer, eval-minibuffer): Move from C.
8042 (completion-setup-function): Avoid minibuffer-completion-contents.
8043
b54f978b
LL
80442013-05-03 Leo Liu <sdl.web@gmail.com>
8045
8046 * progmodes/octave.el (octave-font-lock-keywords): Do not
8047 dehighlight 'end' in comments or strings.
30c7e542
SM
8048 (octave-completing-read, octave-goto-function-definition):
8049 New helpers.
d4d0f9b3
LL
8050 (octave-help-buffer): New user variable.
8051 (octave-help-file, octave-help-function): New button types.
8052 (octave-help): New command and bind it to C-h ;.
8053 (octave-find-definition): New command and bind it to M-.
d74a1581 8054 (user-error): Alias to error if not defined.
b54f978b 8055
27135018
LL
80562013-05-02 Leo Liu <sdl.web@gmail.com>
8057
8058 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8059 for \. (bug#14332)
8060 (octave-font-lock-keywords): Include [ and {.
8061
0d634d3a
LL
80622013-05-02 Leo Liu <sdl.web@gmail.com>
8063
8064 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8065 (inferior-octave): Remove calling comint-mode and return the buffer.
8066 (inferior-octave-startup): Cosmetic changes.
8067
b4c8295e
LL
80682013-05-02 Leo Liu <sdl.web@gmail.com>
8069
30c7e542
SM
8070 * progmodes/octave.el (octave-syntax-propertize-function):
8071 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8072
f12ad6ec
GM
80732013-05-02 Glenn Morris <rgm@gnu.org>
8074
8075 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8076 * desktop.el (vc-dir-mode): Just autoload it here.
8077
30cac1e0
AM
80782013-05-02 Alan Mackenzie <acm@muc.de>
8079
8080 Eliminate variable c-standard-font-lock-fontify-region-function.
8081 * progmodes/cc-mode.el
8082 (c-standard-font-lock-fontify-region-function): Remove.
8083 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8084
d8ef28b1
LL
80852013-05-01 Leo Liu <sdl.web@gmail.com>
8086
2640d52e 8087 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8088 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8089 variables were removed from Octave in 2007.
d8ef28b1
LL
8090 (inferior-octave-startup): Fix uses.
8091 (comint-line-beginning-position): Remove compatibility code for
8092 emacs 21.
8093
ac63ec89
JL
80942013-05-01 Juri Linkov <juri@jurta.org>
8095
8096 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8097
9e9be37c
JL
80982013-05-01 Juri Linkov <juri@jurta.org>
8099
8100 * comint.el (comint-previous-matching-input): Don't print message
8101 "History item: %d" when `isearch-mode' is active.
8102 (comint-history-isearch-message): Print message "History item: %d"
8103 when `comint-input-ring-index' is not empty and this function is
8104 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8105
9b92c13b
LL
81062013-05-01 Leo Liu <sdl.web@gmail.com>
8107
8108 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8109 definitions. Use completion-at-point to insert keywords.
8110 (octave-abbrev-start): Remove.
8111 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8112
b12d33d7
LL
81132013-04-30 Leo Liu <sdl.web@gmail.com>
8114
8115 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8116 change.
8117
3d1c39fa
AM
81182013-04-30 Alan Mackenzie <acm@muc.de>
8119
8120 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8121 * progmodes/cc-engine.el (c-back-over-member-initializers):
8122 new function.
3d1c39fa
AM
8123 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8124 (most) member init lists.
8125
5147fc17
RS
81262013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8127
8128 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8129 variable.
8130
5b78d7fc
LL
81312013-04-30 Leo Liu <sdl.web@gmail.com>
8132
8133 * progmodes/octave.el (octave-variables): Remove. No builtin
8134 variables any more. All converted to functions.
8135 (octave-font-lock-keywords, octave-completion-at-point-function):
8136 Fix uses.
8137 (octave-font-lock-texinfo-comment): New user variable.
8138 (octave-texinfo-font-lock-keywords): New variable for texinfo
8139 comment block.
8140 (octave-function-comment-block): New face.
8141 (octave-font-lock-texinfo-comment): New function.
8142 (octave-mode): Font lock texinfo comment block.
8143
38d8527b
LL
81442013-04-29 Leo Liu <sdl.web@gmail.com>
8145
8146 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8147 indexing expression.
8148 (octave-continuation-string): Do not use \.
8149 (inferior-octave-complete-impossible): Remove.
8150 (inferior-octave-completion-table)
8151 (inferior-octave-completion-at-point): Remove its uses.
8152 (inferior-octave-startup): completion_matches was introduced to
8153 Octave in 1996 so safe to assume it.
8154 (octave-function-file-comment): Improve to follow how Octave does it.
8155 (octave-update-function-file-comment): Tweak.
8156
2ec12cb0
LL
81572013-04-29 Leo Liu <sdl.web@gmail.com>
8158
8159 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8160 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8161 (octave-function-file-comment): Fix typo.
8162 (octave-sync-function-file-names): Use read-char-choice.
8163
6eaed048
JB
81642013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8165
8166 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8167 to t for the less important warnings.
8168
3ffa2d4f
DH
81692013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8170
8171 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8172
685c9501
GM
81732013-04-27 Glenn Morris <rgm@gnu.org>
8174
8175 * vc/log-view.el (log-view-current-entry):
8176 Treat "---" separator lines as part of the following rev. (Bug#14169)
8177
0208ede7
JL
81782013-04-27 Juri Linkov <juri@jurta.org>
8179
8180 * subr.el (read-number): Doc fix about using it by interactive
8181 code letter `n'. (Bug#14254)
8182
5db9dace
JL
81832013-04-27 Juri Linkov <juri@jurta.org>
8184
8185 * desktop.el (desktop-auto-save-timeout): New option.
8186 (desktop-file-checksum): New variable.
8187 (desktop-save): Add optional arg `auto-save' and don't auto-save
8188 if nothing changed.
8189 (desktop-auto-save-timer): New variable.
8190 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8191 (after-init-hook): Call `desktop-auto-save-set-timer'.
8192 Suggested by Reuben Thomas <rrt@sc3d.org> in
8193 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8194
b7260dd4
LL
81952013-04-27 Leo Liu <sdl.web@gmail.com>
8196
8197 * progmodes/octave.el (octave-function-file-p)
8198 (octave-skip-comment-forward, octave-function-file-comment)
8199 (octave-update-function-file-comment): New functions.
8200 (octave-mode-map): Bind C-c ; to
8201 octave-update-function-file-comment.
8202 (octave-mode-menu): Add octave-update-function-file-comment.
8203 (octave-mode, inferior-octave-mode): Fix doc-string.
8204 (octave-insert-defun): Conform to Octave's coding convention.
8205 (Bug#14285)
8206
8207 * files.el (basic-save-buffer): Don't let errors in
8208 before-save-hook prevent saving buffer.
8209
c46da669
RW
82102013-04-20 Roland Winkler <winkler@gnu.org>
8211
8212 * faces.el (read-face-name): Use completing-read if arg multiple
8213 is nil.
8214
a81ee1eb
IL
82152013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8216
8217 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8218 displayed, move point to after the totals line.
8219 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8220 for the details.
8221
4fac34ce
SM
82222013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8225 Add current dir to the load-path.
8226 (package-generate-autoloads): Don't rely on
8227 autoload-ensure-default-file.
8228
f6bfc063
RT
82292013-04-26 Reuben Thomas <rrt@sc3d.org>
8230
d40ab5cf
BG
8231 * textmodes/remember.el (remember-store-in-files): Document that
8232 the file name format is passed to `format-time-string'.
f6bfc063 8233
e55d3b04
LL
82342013-04-26 Leo Liu <sdl.web@gmail.com>
8235
8236 * progmodes/octave.el (octave-sync-function-file-names): New function.
8237 (octave-mode): Use it in before-save-hook.
8238
e53052d3
SM
82392013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8240
140ef50c
SM
8241 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8242 (bug#14274).
8243
e53052d3
SM
8244 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8245 \n and comment, even if it's not an implicit ; (bug#14218).
8246
af80458d 82472013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8248
8249 * subr.el (read-number): Once more use `read' rather than
8250 `string-to-number', to trap non-numeric input. (Bug#14254)
8251
af80458d 82522013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8253
8254 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8255 Use `syntax-multiline' text property consistently instead of
8a621d53 8256 `font-lock-multiline'. (Bug#14237)
70203c2e 8257
e6ea1f6c
GM
82582013-04-26 Glenn Morris <rgm@gnu.org>
8259
8260 * emacs-lisp/shadow.el (list-load-path-shadows):
8261 No longer necessary to check for duplicate simple.el, since
8262 2012-07-07 change to init_lread to not include installation lisp
8263 directories in load-path when running uninstalled. (Bug#14270)
8264
070ccca4
LL
82652013-04-26 Leo Liu <sdl.web@gmail.com>
8266
8267 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8268 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8269 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8270 octave-in-string-or-comment-p.
8271 (octave-in-comment-p, octave-in-string-p)
8272 (octave-in-string-or-comment-p): Replace defsubst with defun.
8273
9d1c5fb6
PE
82742013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8275
8276 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8277
c034abda
BG
82782013-04-25 Bastien Guerry <bzg@gnu.org>
8279
8280 * textmodes/remember.el (remember-data-directory)
8281 (remember-directory-file-name-format): Fix custom types.
8282
584ea277
LL
82832013-04-25 Leo Liu <sdl.web@gmail.com>
8284
e53052d3
SM
8285 * progmodes/octave.el (octave-completion-at-point-function):
8286 Make use of inferior octave process.
584ea277
LL
8287 (octave-initialize-completions): Remove.
8288 (inferior-octave-completion-table): New function.
8289 (inferior-octave-completion-at-point): Use it.
8290 (octave-completion-alist): Remove.
8291
1693b06a
SM
82922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8295 (opascal-mode-syntax-table): New var.
8296 (opascal-literal-kind, opascal-is-literal-end)
8297 (opascal-literal-token-at): Rewrite.
8298 (opascal--literal-start-re, opascal-font-lock-keywords)
8299 (opascal--syntax-propertize): New constants.
8300 (opascal-font-lock-defaults): Adjust.
8301 (opascal-mode): Use them. Set comment-<foo> variables as well.
8302 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8303 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8304 (delphi-other-face, opascal-other-face): Remove face variables.
8305 (opascal-save-state): Remove macro.
8306 (opascal-fontifying-progress-step): Remove constant.
8307 (opascal--ignore-changes): Remove var.
8308 (opascal-set-token-property, opascal-parse-next-literal)
8309 (opascal-is-stable-literal, opascal-complete-literal)
8310 (opascal-is-literal-start, opascal-face-of)
8311 (opascal-parse-region, opascal-parse-region-until-stable)
8312 (opascal-fontify-region, opascal-after-change)
8313 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8314 (opascal-debug-parse-region, opascal-debug-parse-window)
8315 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8316 (opascal-debug-fontify-buffer): Remove.
8317 (opascal-debug-mode-map): Adjust accordingly.
8318
be64c05d
LL
83192013-04-25 Leo Liu <sdl.web@gmail.com>
8320
8321 Merge octave-mod.el and octave-inf.el into octave.el with some
8322 cleanups.
8323 * progmodes/octave.el: New file renamed from octave-mod.el.
8324 * progmodes/octave-inf.el: Merged into octave.el.
8325 * progmodes/octave-mod.el: Renamed to octave.el.
8326
d79d37bd
TH
83272013-04-25 Tassilo Horn <tsdh@gnu.org>
8328
8329 * textmodes/reftex-vars.el
8330 (reftex-label-ignored-macros-and-environments): New defcustom.
8331
8332 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8333
ced3fc5d
SM
83342013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8337 (smie-indent-keyword): Improve the check to ensure that the next
8338 comment is really on the same line.
8339 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8340
8341 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8342 semi-colons if the line is not otherwise empty (bug#14218).
8343
1c141dad
GM
83442013-04-25 Glenn Morris <rgm@gnu.org>
8345
8346 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8347
5058062a
SM
83482013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * progmodes/opascal.el (opascal-set-token-property): Rename from
8351 opascal-set-text-properties and only set `token' (bug#14134).
8352 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8353 (opascal-literal-text-properties): Remove.
8354 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8355 Adjust callers.
8356
5db9dace 83572013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8358
8359 * textmodes/remember.el (remember-handler-functions): Add an
8360 option for a new handler `remember-store-in-files'.
8361 (remember-data-directory, remember-directory-file-name-format):
8362 New options.
8363 (remember-store-in-files): New function to store remember notes
8364 as separate files within a directory.
8365
4391916c
MH
83662013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8367
8368 * progmodes/compile.el (compilation-next-error-function):
8369 Pass "formats" to compilation-find-file (bug#11777).
8370
bb7cdf58
GM
83712013-04-24 Glenn Morris <rgm@gnu.org>
8372
3b8fe752 8373 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8374 * vc/vc-hg.el (vc-hg-print-log):
8375 * vc/vc-svn.el (vc-svn-print-log):
8376 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8377
bb7cdf58
GM
8378 * vc/vc-bzr.el (vc-bzr-print-log):
8379 * vc/vc-cvs.el (vc-cvs-print-log):
8380 * vc/vc-git.el (vc-git-print-log):
8381 * vc/vc-hg.el (vc-hg-print-log):
8382 * vc/vc-mtn.el (vc-mtn-print-log):
8383 * vc/vc-rcs.el (vc-rcs-print-log):
8384 * vc/vc-sccs.el (vc-sccs-print-log):
8385 * vc/vc-svn.el (vc-svn-print-log):
8386 * vc/vc.el (vc-print-log-internal): Doc fixes.
8387
b46a056e
GM
83882013-04-23 Glenn Morris <rgm@gnu.org>
8389
8390 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8391 Remove venerable code attempting to avoid substitute-command-keys.
8392
0aecf718
TH
83932013-04-23 Tassilo Horn <tsdh@gnu.org>
8394
4391916c
MH
8395 * textmodes/reftex-vars.el (reftex-label-regexps):
8396 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8397
117f94cf
SM
83982013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8399
4391916c 8400 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8401 Use lexical-binding.
8402 (jit-lock-force-redisplay): Use markers, check buffer's continued
8403 existence and beware narrowed buffers.
8404 (jit-lock-fontify-now): Adjust call accordingly.
8405
1d829c64
SM
84062013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8409 to avoid misleading the user.
8410
72d548a9
LL
84112013-04-22 Leo Liu <sdl.web@gmail.com>
8412
8413 * info-look.el: Prefer latex2e.info. (Bug#14240)
8414
d0853629
MA
84152013-04-22 Michael Albinus <michael.albinus@gmx.de>
8416
8417 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8418
8419 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8420 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8421 (tramp-set-completion-function, tramp-parse-putty):
8422 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8423 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8424 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8425 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8426 (tramp-call-local-coding-command): Use `tramp-call-process'
8427 instead of `tramp-compat-call-process'.
8428
8429 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8430 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8431 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8432 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8433 (tramp-maybe-send-script): Check for Perl binary.
8434 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8435
38cc0210
DU
84362013-04-22 Daiki Ueno <ueno@gnu.org>
8437
8438 * epg.el (epg-context-pinentry-mode): New function.
8439 (epg-context-set-pinentry-mode): New function.
8440 (epg--start): Pass --pinentry-mode option to gpg command.
8441
cc641ee1
XF
84422013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8443
02d844b5 8444 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8445 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8446 `completion-at-point'. (Bug#13774)
5d4e5c31 8447
cc641ee1
XF
8448 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8449 default key binding for `describe-distribution' has been moved to
8450 `C-h C-o'. (Bug#13970)
8451
1b42ee43
GM
84522013-04-21 Glenn Morris <rgm@gnu.org>
8453
8454 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8455 Add doc strings.
8456 (vc-print-log): Clarify interactive prompt.
8457
a6d63d97
GM
84582013-04-20 Glenn Morris <rgm@gnu.org>
8459
8460 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8461 No longer include timestamp etc information.
8462
d7f5c16f
RW
84632013-04-20 Roland Winkler <winkler@gnu.org>
8464
8465 * faces.el (read-face-name): Bug fix, return just one face if arg
8466 multiple is nil. (Bug#14209)
8467
bcd7a0a4
SM
84682013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8469
8470 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8471 (remove-function): Autoload.
8472
8473 * comint.el (comint-redirect-original-filter-function): Remove.
8474 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8475 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8476 (vc-cvs-annotate-command):
bcd7a0a4
SM
8477 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8478 * progmodes/prolog.el (prolog-consult-compile):
8479 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8480 Use add/remove-function instead.
8481 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8482 (gud-tooltip-process-output, gud-tooltip-tips):
8483 Use add/remove-function instead.
8484 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8485 (scheme-interaction-mode, exit-scheme-interaction-mode):
8486 Use add/remove-function instead.
8487
8488 * vc/vc-dispatcher.el: Use lexical-binding.
8489 (vc--process-sentinel): Rename from vc-process-sentinel.
8490 Change last arg to be the code to run. Don't use vc-previous-sentinel
8491 and vc-sentinel-commands any more.
8492 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8493 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8494
e36b2d20 84952013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8496
bcd7a0a4 8497 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8498 Handle function names with a single character. (Bug#14111)
4d3268ba 8499
781b4af6 85002013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8501
8502 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8503 for subroutines defined in an eval (bug#14182).
8504
7d688336
TV
85052013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8506
8507 * bookmark.el (bookmark-completing-read): Improve handling of empty
8508 string (bug#14176).
8509
31dcede0
SM
85102013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8513
adc31213
FEG
85142013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8515
8516 New faster Imenu implementation (bug#14058).
8517 * progmodes/python.el:
8518 (python-imenu-prev-index-position):
8519 (python-imenu-format-item-label-function)
8520 (python-imenu-format-parent-item-label-function)
8521 (python-imenu-format-parent-item-jump-label-function):
8522 New vars.
8523 (python-imenu-format-item-label)
8524 (python-imenu-format-parent-item-label)
8525 (python-imenu-format-parent-item-jump-label)
8526 (python-imenu--put-parent, python-imenu--build-tree)
8527 (python-imenu-create-index, python-imenu-create-flat-index)
8528 (python-util-popn): New functions.
8529 (python-mode): Set imenu-create-index-function to
8530 python-imenu-create-index.
8531
cdca8255
SM
85322013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * winner.el (winner-active-region): Use region-active-p, activate-mark
8535 and deactivate-mark (bug#14225).
8536
8537 * simple.el (deactivate-mark): Don't inline it.
8538
beb42340
MA
85392013-04-18 Michael Albinus <michael.albinus@gmx.de>
8540
8541 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8542
fc7f4d7e
TH
85432013-04-18 Tassilo Horn <tsdh@gnu.org>
8544
8545 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8546 file extensions from the archive-mode entry in order to prefer
8547 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8548
29f47822
LL
85492013-04-18 Leo Liu <sdl.web@gmail.com>
8550
8551 * bindings.el (help-event-list): Add ?\?.
8552
d36ed1c8
SM
85532013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * subr.el (with-wrapper-hook): Declare obsolete.
8556 * simple.el (filter-buffer-substring-function): New hook.
8557 (filter-buffer-substring): Use it.
8558 (filter-buffer-substring-functions): Mark obsolete.
8559 * minibuffer.el (completion-in-region-function): New hook.
8560 (completion-in-region): Use it.
8561 (completion-in-region-functions): Mark obsolete.
8562 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8563 * abbrev.el (abbrev-expand-function): New hook.
8564 (expand-abbrev): Use it.
8565 (abbrev-expand-functions): Mark obsolete.
8566 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8567 and :filter-return.
8568
04754d36
FEG
85692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8570
8571 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8572 and do not care about match data.
8573
dd8791e9
SM
85742013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8577 completion tables when completing error conditions and
8578 `declare' arguments.
8579 (lisp-complete-symbol, field-complete): Mark as obsolete.
8580 (check-parens): Unmatched parens are user errors.
8581 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8582
ffe54a13
AM
85832013-04-17 Michal Nazarewicz <mina86@mina86.com>
8584
dd8791e9
SM
8585 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8586 command changed buffer (ie. `flyspell-pre-buffer' is not current
8587 buffer), which prevents making decisions based on invalid value of
8588 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8589 cause an error when `flyspell-pre-point' was nil after switching
8590 buffers.
8591 (flyspell-post-command-hook): No longer needs to change buffers when
8592 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8593
ec7e39f2
AM
85942013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8595
8596 * textmodes/ispell.el (ispell-add-per-file-word-list):
8597 Fix `flyspell-correct-word-before-point' error when accepting
8598 words and `coment-padding' is an integer by using
8599 `comment-normalize-vars' (Bug #14214).
8600
083850a6
FEG
86012013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8602
8603 New defun movement commands.
8604 * progmodes/python.el (python-nav--syntactically)
8605 (python-nav--forward-defun, python-nav-backward-defun)
8606 (python-nav-forward-defun): New functions.
8607
619ed6e1
FEG
86082013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8609
8610 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8611 (python-syntax-context): Use named compiler-macro for backwards
8612 compatibility with Emacs 24.x.
8613
7a1beb6c
LL
86142013-04-17 Leo Liu <sdl.web@gmail.com>
8615
8616 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8617 octave-hide-process-buffer.
8618
2d3fa3e5
SM
86192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8622 (bug#14216).
8623
7ce5be54
JPG
86242013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8625
8626 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8627 Fix adjustment of offset when receiving incomplete responses from GDB
8628 (bug#14129).
8629
351edece
SM
86302013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8633 python-mode-abbrev-table.
8634 (python-skeleton-define): Adjust accordingly.
8635 (python-mode-abbrev-table): New table that inherits from it so that
8636 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8637
8638 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8639 (abbrev-symbol): Use it.
8640 (abbrev--before-point): Use it since we already handle inheritance.
8641
613f9481
LL
86422013-04-16 Leo Liu <sdl.web@gmail.com>
8643
8644 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8645 binding to info-lookup-symbol.
8646
51646b62
JB
86472013-04-16 Juanma Barranquero <lekktu@gmail.com>
8648
8649 * minibuffer.el (completion--twq-all):
8650 * term/ns-win.el (ns-initialize-window-system):
8651 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8652
efb3f01d
SM
86532013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8654
36c0a301
SM
8655 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8656 global bindings.
8657
efb3f01d
SM
8658 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8659
fb549d64
DG
86602013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8661
8662 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8663 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8664 to nil.
8665 (ruby-end-of-defun): Remove the unused arg, change the docstring
8666 to reflect that this function is only used as the value of
8667 `end-of-defun-function'.
8668 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8669 to reflect an earlier change that beginning/end-of-defun functions
8670 jump between methods in a class definition, as well as top-level
8671 functions.
8672
21e8fe2f
SM
86732013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * minibuffer.el (minibuffer-complete): Don't just scroll
8676 a *Completions* that's been iconified.
8677 (minibuffer-force-complete): Make sure repetitions do cycle when going
8678 through completion-in-region -> minibuffer-complete.
8679
20e527d0
AM
86802013-04-15 Alan Mackenzie <acm@muc.de>
8681
8682 Correct the placement of c-cpp-delimiters when there're #s not at
8683 col 0.
8684
8685 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8686 place a submatch around the #.
21e8fe2f
SM
8687 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8688 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8689 on the #, not BOL.
8690
dabefae5
SM
86912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8694 (advice--member-p): New arg `name'.
8695 (advice--add-function, advice-member-p): Use it (bug#14202).
8696
85c9ab64
AM
86972013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8698
8699 Reformulate java imenu-generic-expression.
8700 The old expression contained ill formed regexps.
8701
8702 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8703 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8704 (cc-imenu-java-method-arg-regexp): New defconsts.
8705 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8706 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8707 handling of spaces in the regexp.
8708
0f821d99
AM
87092013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8710
8711 * textmodes/ispell.el (ispell-command-loop): Remove
8712 flyspell highlight of a word when ispell accepts it (bug #14178).
8713
eb922adf
MA
87142013-04-15 Michael Albinus <michael.albinus@gmx.de>
8715
8716 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8717 uses code from the previous `ange-ftp-run-real-handler'.
8718 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8719 only in case that function exist. This is needed for proper
8720 unloading of Tramp.
8721
4d9a0979
TH
87222013-04-15 Tassilo Horn <tsdh@gnu.org>
8723
8724 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8725
8726 * textmodes/reftex.el (reftex-compile-variables): Use it.
8727
a829b0dc
SM
87282013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8729
91e8293c
SM
8730 * files.el (normal-mode): Only use default major-mode if no other mode
8731 was specified.
8732
830aed4d
SM
8733 * emacs-lisp/trace.el (trace-values): New function.
8734
a829b0dc
SM
8735 * files.el: Allow : in local variables (bug#14089).
8736 (hack-local-variable-regexp): New var.
8737 (hack-local-variables-prop-line, hack-local-variables): Use it.
8738
7ae9f0fb
RW
87392013-04-13 Roland Winkler <winkler@gnu.org>
8740
8741 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8742 data before it gets modified by bibtex-beginning-of-entry.
8743
6646e848
RW
87442013-04-13 Roland Winkler <winkler@gnu.org>
8745
8746 * textmodes/bibtex.el (bibtex-url): Doc fix.
8747
87482013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8749
8750 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8751 does not visit a BibTeX file, exclude it from the list of buffers
8752 returned by bibtex-initialize.
8753
0aa3616e
SB
87542013-04-13 Stephen Berman <stephen.berman@gmx.net>
8755
8756 * window.el (split-window): Remove interactive form, since as a
8757 command this function is a special case of split-window-below.
8758 Correct doc string.
8759
011cddd6
RW
87602013-04-12 Roland Winkler <winkler@gnu.org>
8761
8762 * faces.el (read-face-name): Do not override value of arg default.
8763 Allow single faces and strings as default values. Remove those
8764 elements from return value that are not faces.
8765 (describe-face): Simplify.
8766 (face-at-point): New optional args thing and multiple so that this
8767 function can provide the same functionality previously provided by
8768 read-face-name.
8769 (make-face-bold, make-face-unbold, make-face-italic)
8770 (make-face-unitalic, make-face-bold-italic, invert-face)
8771 (modify-face, read-face-and-attribute): Use face-at-point.
8772
8773 * cus-edit.el (customize-face, customize-face-other-window)
8774 * cus-theme.el (custom-theme-add-face)
8775 * face-remap.el (buffer-face-set)
8776 * facemenu.el (facemenu-set-face): Use face-at-point.
8777
f24e0036
MA
87782013-04-12 Michael Albinus <michael.albinus@gmx.de>
8779
8780 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8781
da3cda2d
TH
87822013-04-10 Tassilo Horn <tsdh@gnu.org>
8783
8784 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8785 off leading { and trailing } from field values.
8786
15e54145
SM
87872013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8788
78ce603d
SM
8789 * emacs-lisp/timer.el (timer--check): New function.
8790 (timer--time, timer-set-function, timer-event-handler): Use it.
8791 (timer-set-idle-time): Simplify.
8792 (timer--activate): CSE.
8793 (timer-event-handler): Give more info in error message.
8794 (internal-timer-start-idle): New function, moved from C.
8795
15e54145
SM
8796 * mpc.el (mpc-proc): Add `restart' argument.
8797 (mpc-proc-cmd): Use it.
8798 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8799 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8800 less often.
8801
7144c627
MY
88022013-04-10 Masatake YAMATO <yamato@redhat.com>
8803
8804 * progmodes/sh-script.el: Implement `sh-mode' own
8805 `add-log-current-defun-function' (bug#14112).
8806 (sh-current-defun-name): New function.
8807 (sh-mode): Use the function.
8808
b39792eb
BG
88092013-04-09 Bastien Guerry <bzg@gnu.org>
8810
8811 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8812
8acdeb71
SM
88132013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8814
6fcdab68
SM
8815 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8816
8acdeb71
SM
8817 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8818 timer (bug#14156).
8819
e3e7b504
NF
88202013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8821
8822 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8823 declaration.
8824
201bb296
LL
88252013-04-07 Leo Liu <sdl.web@gmail.com>
8826
8827 * pcmpl-x.el: New file.
8828
ebb19708
DA
88292013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8830
8831 Do not set x-display-name until X connection is established.
8832 This is needed to prevent from weird situation described at
8833 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8834 * frame.el (make-frame): Set x-display-name after call to
8835 window system initialization function, not before.
8836 * term/x-win.el (x-initialize-window-system): Add optional
8837 display argument and use it.
8838 * term/w32-win.el (w32-initialize-window-system):
8839 * term/ns-win.el (ns-initialize-window-system):
8840 * term/pc-win.el (msdos-initialize-window-system):
8841 Add compatible optional display argument.
8842
33bb237a
EZ
88432013-04-06 Eli Zaretskii <eliz@gnu.org>
8844
8845 * files.el (normal-backup-enable-predicate): On MS-Windows and
8846 MS-DOS compare truenames of temporary-file-directory and of the
8847 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8848 don't fail comparison by compare-strings. Also, compare file
8849 names case-insensitively on MS-Windows and MS-DOS.
8850
134abf1f
SM
88512013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8854 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8855
d695cb94
DG
88562013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8857
e3e7b504
NF
8858 * whitespace.el (whitespace-color-on, whitespace-color-off):
8859 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8860
f4ad7ea1 88612013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8862
8863 * ispell.el (ispell-set-spellchecker-params):
8864 Really set `ispell-args' for all equivs.
8865
632556e4
SM
88662013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * ido.el (ido-completions): Use extra elements of ido-decorations
8869 (bug#14143).
8870 (ido-decorations): Update docstring.
8871
2a417372
MA
88722013-04-05 Michael Albinus <michael.albinus@gmx.de>
8873
8874 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8875 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8876 nil during initialization, in order not to miss changes since the
8877 file was opened. (Bug#14140)
8878
fc164b0c
LL
88792013-04-05 Leo Liu <sdl.web@gmail.com>
8880
8881 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8882
0ccecc08
JB
88832013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8884
8885 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8886
51af1aa2
GM
88872013-04-04 Glenn Morris <rgm@gnu.org>
8888
8889 * electric.el (electric-pair-inhibit-predicate): Add :version.
8890
b208ebc6
SM
88912013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8894 when a package is required several times (bug#14082).
8895
f3d3eaf0
RW
88962013-04-04 Roland Winkler <winkler@gnu.org>
8897
8898 * faces.el (read-face-name): Behave as promised by the docstring.
8899 Assume that arg default is a list of faces.
8900 (describe-face): Call read-face-name with list of default faces.
8901
2575da50
TV
89022013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8903
8904 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8905 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8906 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8907 the header.
8908 (bookmark-exit-hook-internal): Save even if list is empty.
8909
397703b4
YH
89102013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8911
8912 * emacs-lisp/package.el (package-pinned-packages): New var.
8913 (package--add-to-archive-contents): Obey it (bug#14118).
8914
691e26ae
AM
89152013-04-03 Alan Mackenzie <acm@muc.de>
8916
8a621d53
JB
8917 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8918 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8919
8920 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8921 parameter `not-in-delimiter'. Handle being inside comment opener.
8922 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8923 character in case we're typing a '*' after a '/'.
8924 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8925 instead by passing the parameter to c-state-pp-to-literal.
8926
8927 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8928 for elt. 7 of a parse state.
8929
4b725a70
PE
89302013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8931
8932 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8933 * international/latin1-disp.el, international/mule-util.el:
8934 * language/cyril-util.el, language/european.el, language/ind-util.el:
8935 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8936 * language/tibetan.el, language/viet-util.el:
8937 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8938
15c579f0
SM
89392013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8942 (electric-pair-post-self-insert-function): Use it.
8943 (electric-pair-default-inhibit): New function, extracted from
8944 electric-pair-post-self-insert-function.
8945
a77e2924
RW
89462013-03-31 Roland Winkler <winkler@gnu.org>
8947
8948 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8949
2bd8a4a8
SM
89502013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8951
8952 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8953
8d3655be 89542013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8955
8956 Un-indent after "pass" and "return" statements (Bug#13888)
8957 * progmodes/python.el (python-indent-block-enders): New var.
8958 (python-indent-calculate-indentation): Use it.
8959
8d3655be 89602013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8961
8962 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8963 defun. Defining it as defalias could introduce too eager
8964 byte-compiler optimization. (Bug#14030)
8965
8d3655be 89662013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8967
8968 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8969
0b1619da
LL
89702013-03-30 Leo Liu <sdl.web@gmail.com>
8971
8972 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8973 (kmacro-execute-from-register): Pass the keyboard macro to
8974 kmacro-call-macro or repeating won't work correctly.
8975
0b938190
TZ
89762013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8977
8978 * progmodes/subword.el: Back to using `forward-symbol'.
8979
8980 * subr.el (forward-whitespace, forward-symbol)
8981 (forward-same-syntax): Move from thingatpt.el.
8982
35710234
LL
89832013-03-29 Leo Liu <sdl.web@gmail.com>
8984
8985 * kmacro.el (kmacro-to-register): New command.
8986 (kmacro-execute-from-register): New function.
8987 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8988
efc0bb73
SM
89892013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * mpc.el: Use defvar-local and setq-local.
8992 (mpc--proc-connect): Connection failures are not bugs.
8993 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8994 (mpc-volume-map): Bind to the up-events.
8995
75a2f981
TZ
89962013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8997
8998 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8999 instead of `forward-symbol'.
9000
17c781d1
SM
90012013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9004 (edebug--recursive-edit): Use it.
9005 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9006 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9007
f67bfbcf
LL
90082013-03-28 Leo Liu <sdl.web@gmail.com>
9009
9010 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9011
b59f639d
EZ
90122013-03-27 Eli Zaretskii <eliz@gnu.org>
9013
9014 * facemenu.el (list-colors-callback): New defvar.
9015 (list-colors-redisplay): New function.
9016 (list-colors-display): Install list-colors-redisplay as the
9017 revert-buffer-function. (Bug#14063)
9018
f557c1b1
SM
90192013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9020
b1da2957
SM
9021 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9022 and suffixes don't overlap (bug#14061).
9023
f557c1b1
SM
9024 * case-table.el: Use lexical-binding.
9025 (case-table-get-table): New function.
9026 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9027
002668e1
TZ
90282013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9029
9030 * progmodes/subword.el: Add `superword-mode' to do word motion
9031 over symbol_words (parallels and leverages `subword-mode' which
9032 does word motion inside MixedCaseWords).
9033
73572c72
AG
90342013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9035
78b8f320 9036 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9037 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9038
69b2c07e
SM
90392013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9042 Change return value to be a sexp. Delay `get-buffer' to after
9043 restoring the desktop (bug#13951).
9044
08bb5ee2
LL
90452013-03-26 Leo Liu <sdl.web@gmail.com>
9046
9047 * register.el: Move semantic tag handling back to
9048 cedet/semantic/senator.el. (Bug#14052)
9049
8d4c974e
SM
90502013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9053 into the prompt either (bug#13963).
9054
b234d92c
SM
90552013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9058 part of "(error-foo)".
9059
ddfa3cb4
JL
90602013-03-24 Juri Linkov <juri@jurta.org>
9061
9062 * replace.el (list-matching-lines-prefix-face): New defcustom.
9063 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9064 `occur-engine' if `face-differs-from-default-p' returns t.
9065 (occur-engine): Add `,' inside backquote construct to evaluate
9066 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9067 Pass `prefix-face' to the functions `occur-context-lines' and
9068 `occur-engine-add-prefix'.
9069 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9070 `prefix-face' and propertize the prefix with `prefix-face'.
9071 (Bug#14017)
9072
7b0e2f85
LL
90732013-03-24 Leo Liu <sdl.web@gmail.com>
9074
9075 * nxml/rng-valid.el (rng-validate-while-idle)
9076 (rng-validate-quick-while-idle): Guard against deleted buffer.
9077 (Bug#13999)
9078
9079 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9080 is the last entry in kill-buffer-hook.
9081
9082 * files.el (kill-buffer-hook): Doc fix.
9083
b3082f49
DG
90842013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9085
b234d92c
SM
9086 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9087 Make it safe-local.
bde73d27 9088
b3082f49
DG
9089 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9090
a320a2db
LL
90912013-03-23 Leo Liu <sdl.web@gmail.com>
9092
7e74b0fb
LL
9093 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9094 Remove.
9095
9096 * nxml/rng-valid.el (rng-validate-mode)
9097 (rng-after-change-function, rng-do-some-validation):
9098 * nxml/rng-maint.el (rng-validate-buffer):
9099 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9100 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9101 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9102 (nxml-extend-after-change-region): Use with-silent-modifications.
9103
a320a2db
LL
9104 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9105 timer-idle-list.
9106
9107 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9108 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9109 timer-idle-list. (Bug#13999)
9110
e38e6780
JL
91112013-03-23 Juri Linkov <juri@jurta.org>
9112
9113 * info.el (info-index-match): New face.
9114 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9115 main pattern and add text properties with the new face to matches
9116 in index entries relative to the beginning of the index entry.
9117 (Bug#14015)
9118
e8cc7880
DE
91192013-03-21 Eric Ludlam <zappo@gnu.org>
9120
9121 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9122 Inhibit read only while inserting objects.
9123
9bb0d822
TZ
91242013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9125
9126 * progmodes/cfengine.el: Update docs to mention
9127 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9128 symbol motion. Remove "_" from the word syntax.
9129
aa703640
TZ
91302013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9131
9132 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9133 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9134
afff09d0
JL
91352013-03-20 Juri Linkov <juri@jurta.org>
9136
9137 * info.el (Info-next-reference-or-link)
9138 (Info-prev-reference-or-link): New functions.
9139 (Info-next-reference, Info-prev-reference): Use them.
9140 (Info-try-follow-nearest-node): Handle footnote navigation.
9141 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9142
9a1ff164
SM
91432013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9146 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9147
2667d15d
PE
91482013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9149
9150 Suppress unnecessary non-ASCII chatter during build process.
9151 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9152 (batch-skkdic-convert): Suppress most of the chatter.
9153 It's not needed so much now that machines are faster,
9154 and its non-ASCII component was confusing; see Dmitry Gutov in
9155 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9156
438b0579
LL
91572013-03-20 Leo Liu <sdl.web@gmail.com>
9158
9159 * ido.el (ido-chop): Fix bug#10994.
9160
c128ab07
DG
91612013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9162
9163 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9164 Remove vars.
9a1ff164
SM
9165 (whitespace-color-on, whitespace-color-off):
9166 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9167
0e6008c5
SM
91682013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9171 remapping in mode-line.
9172 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9173
627b52b0
DG
91742013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9175
9176 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9177 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9178 (whitespace-font-lock-keywords): Change description.
9179 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9180 the constructed keywords instead.
9181 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9182
50c3a20b
LL
91832013-03-19 Leo Liu <sdl.web@gmail.com>
9184
9185 * progmodes/compile.el (compilation-display-error): New command.
9186 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9187 C-o. (Bug#13992)
9188
2aa2157b
PE
91892013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9190
9191 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9192
e477dbfa
JD
91932013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9194
9195 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9196
64ab82d1
MA
91972013-03-18 Michael Albinus <michael.albinus@gmx.de>
9198
9199 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9200
9201 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9202 * net/tramp-gvfs.el (top):
9203 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9204 (tramp-handle-shell-command): Use it.
9205 (tramp-dissect-file-name): Raise an error when hostname is a
9206 method name, and neither method nor user is specified.
9207
9208 * net/trampver.el: Update release number.
9209
33cef733
LL
92102013-03-18 Leo Liu <sdl.web@gmail.com>
9211
9212 Make sure eldoc can be turned off properly.
9213 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9214 eldoc-mode.
9215 (eldoc-display-message-p): Revert last change.
9216 (eldoc-display-message-no-interference-p)
9217 (eldoc-print-current-symbol-info): Tweak.
9218
2167b7b2
TH
92192013-03-18 Tassilo Horn <tsdh@gnu.org>
9220
9221 * doc-view.el (doc-view-new-window-function): Check the new window
9222 overlay's display property instead the char property of the
9223 buffer's first char. Use `with-selected-window' instead of
9224 `save-window-excursion' with `select-window'.
9225 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9226 display property instead the char property of the buffer's first char.
2167b7b2 9227
982efbcd
PE
92282013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9229
9230 Automate the build of ja-dic.el (Bug#13984).
9231 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9232 from the input, rather than assume that it's been done for us by the
9233 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9234 the current date into a ja-dic.el comment, as that complicates
9235 regression testing.
9236
2fcc7665
SM
92372013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * whitespace.el: Fix double evaluation.
9240 (whitespace-space, whitespace-hspace, whitespace-tab)
9241 (whitespace-newline, whitespace-trailing, whitespace-line)
9242 (whitespace-space-before-tab, whitespace-indentation)
9243 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9244 obsolete defvars.
9245 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9246 (whitespace-color-on): Use a single font-lock-add-keywords call.
9247 Fix double-evaluation of face variables.
9248
67c0a6e6
MA
92492013-03-17 Michael Albinus <michael.albinus@gmx.de>
9250
2fcc7665
SM
9251 * net/tramp-adb.el (tramp-adb-parse-device-names):
9252 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9253 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9254
69489f1d
LL
92552013-03-17 Leo Liu <sdl.web@gmail.com>
9256
9257 Extend eldoc to display info in the mode-line. (Bug#13978)
9258 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9259 (eldoc-mode-line-string): New variable.
9260 (eldoc-minibuffer-message): New function.
9261 (eldoc-message-function): New variable.
9262 (eldoc-message): Use it.
9263 (eldoc-display-message-p)
2fcc7665
SM
9264 (eldoc-display-message-no-interference-p):
9265 Support eldoc-post-insert-mode.
69489f1d
LL
9266
9267 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9268 (eval-expression): Run it.
9269
9c44569e
RW
92702013-03-17 Roland Winkler <winkler@gnu.org>
9271
9272 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9273 strings in the list of return values.
9274
327f1f6f
JB
92752013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9276
9277 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9278 radix before checking for HMS forms.
9279
67ed8fcd
LL
92802013-03-16 Leo Liu <sdl.web@gmail.com>
9281
9282 * progmodes/scheme.el: Add indentation and font-locking for λ.
9283 (Bug#13975)
9284
78be8b64 92852013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9286
9287 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9288 token before point (bug#13942).
9289
78be8b64 92902013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9291
95b43468 9292 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9293
98e775e6
EZ
92942013-03-16 Eli Zaretskii <eliz@gnu.org>
9295
9296 * startup.el (command-line-normalize-file-name): Fix handling of
9297 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9298 <xfq.free@gmail.com> in
9299 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9300
2edd6029
MA
93012013-03-15 Michael Albinus <michael.albinus@gmx.de>
9302
9303 Sync with Tramp 2.2.7.
9304
9305 * net/trampver.el: Update release number.
9306
d35f5864
TH
93072013-03-14 Tassilo Horn <tsdh@gnu.org>
9308
e903c210 9309 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9310 (doc-view-insert-image): Don't modify overlay associated to
9311 non-live windows, and implement horizontal centering of image in
9312 case it's smaller than the window.
9313 (doc-view-new-window-function): Force redisplay of new windows on
9314 doc-view buffers.
d35f5864 9315
1c4a85ed
KF
93162013-03-13 Karl Fogel <kfogel@red-bean.com>
9317
9318 * saveplace.el (save-place-alist-to-file): Don't sort
9319 `save-place-alist', just pretty-print it (bug#13882).
9320
85b66a21
MA
93212013-03-13 Michael Albinus <michael.albinus@gmx.de>
9322
a020afb9
JB
9323 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9324 Check whether `default-file-name-coding-system' is bound.
9325 It isn't in XEmacs.
85b66a21 9326
175600da
SM
93272013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9328
e7f7cb1a
SM
9329 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9330 backquotes for `obsolete' (bug#13929).
9331
175600da
SM
9332 * international/mule.el (find-auto-coding): Include file name in
9333 obsolescence warning (bug#13922).
9334
ca68a22e
TZ
93352013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9336
9337 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9338 for CFEngine 3-specific indentation.
9339 (cfengine3-indent-line): Use it. Fix up category regex.
9340 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9341
940e5099
SM
93422013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * type-break.el (type-break-file-name):
9345 * textmodes/remember.el (remember-data-file):
9346 * strokes.el (strokes-file):
9347 * shadowfile.el (shadow-initialize):
9348 * saveplace.el (save-place-file):
9349 * ps-bdf.el (bdf-cache-file):
9350 * progmodes/idlwave.el (idlwave-config-directory):
9351 * net/quickurl.el (quickurl-url-file):
9352 * international/kkc.el (kkc-init-file-name):
9353 * ido.el (ido-save-directory-list-file):
9354 * emulation/viper.el (viper-custom-file-name):
9355 * emulation/vip.el (vip-startup-file):
9356 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9357 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9358
cc725808
PE
93592013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9360
9361 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9362 * language/thai-word.el: Switch to UTF-8.
9363
a020afb9 9364See ChangeLog.16 for earlier changes.
e3d51b27
MR
9365
9366;; Local Variables:
9367;; coding: utf-8
e3d51b27
MR
9368;; End:
9369
ab422c4d 9370 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9371
9372 This file is part of GNU Emacs.
9373
9374 GNU Emacs is free software: you can redistribute it and/or modify
9375 it under the terms of the GNU General Public License as published by
9376 the Free Software Foundation, either version 3 of the License, or
9377 (at your option) any later version.
9378
9379 GNU Emacs is distributed in the hope that it will be useful,
9380 but WITHOUT ANY WARRANTY; without even the implied warranty of
9381 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9382 GNU General Public License for more details.
9383
9384 You should have received a copy of the GNU General Public License
9385 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.