Unset EMACSLOADPATH in some Makefiles rather than setting it to the default
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
62942f89
GM
12013-11-03 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (abs_srcdir): Remove.
4 (emacs): Unset EMACSLOADPATH.
5
b0b9e592
GM
62013-11-02 Glenn Morris <rgm@gnu.org>
7
18ba6a33 8 * Makefile.in (EMACS): Use a relative filename.
8061810d 9 (abs_top_builddir): Remove.
18ba6a33
GM
10 (custom-deps, finder-data, autoloads): Use --chdir.
11
6a8b929e
GM
12 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
13
c617f3d0
GM
14 Use relative filenames in TAGS files.
15 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16 (lisptagsfiles4, TAGS): Use relative file names.
17 (TAGS-LISP): Remove.
18 (maintainer-clean): No more TAGS-LISP file.
19
b0b9e592
GM
20 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
21 (lisptagsfiles4): Use absolute filenames again.
22 (TAGS, TAGS-LISP): Not everything needs to run in one line.
23 Remove all *loaddefs files, not just the first. Remove esh-groups.
24 (maintainer-clean): Delete TAGS, TAGS-LISP.
25
d1c0ea6a
BB
262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
27
28 * emacs-lisp/package.el (package-version-join): Recognize
29 snapshot versions.
30
684d71c6
BB
312013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
32
33 * subr.el (version-regexp-alist): Add support for snapshot versions.
34
3d42b968
DG
352013-11-02 Dmitry Gutov <dgutov@yandex.ru>
36
37 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
38 function, replacement for `smie-rule-parent' for when we want to
39 skip over our direct parent if it's an assignment token..
40 (ruby-smie-rules): Use it.
41
7ffd3721
DG
422013-11-02 Dmitry Gutov <dgutov@yandex.ru>
43
44 * progmodes/ruby-mode.el Use `syntax-propertize-function'
45 unconditionally. Remove now unnecessary forward declarations.
46 Remove XEmacs-specific setup.
47 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
48 (ruby-font-lock-syntactic-keywords)
49 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
50 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
51 (ruby-here-doc-end-syntax): Remove.
52 (ruby-mode): Don't check whether `syntax-propertize-rules' is
53 defined as function.
54
a3996a2e
BB
552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
56
57 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
58
6f9260e8
BB
592013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
60
61 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
62 table and abbrev table, `define-derived-mode' does that for us
63 anyway.
64
6014de84
GM
652013-11-01 Glenn Morris <rgm@gnu.org>
66
67 * Makefile.in: Remove manual mh-e dependencies (writing .elc
68 files is atomic for some time, so no parallel compilation issues).
69
3c334c14
JD
702013-11-01 Jan Djärv <jan.h.d@swipnet.se>
71
72 * faces.el (face-x-resources): Add :distant-foreground.
73 (region): Use :distant-foreground for gtk and ns.
74
9bc236c8
TH
752013-11-01 Tassilo Horn <tsdh@gnu.org>
76
5246583b 77 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
78 BibTeX.
79 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
80 (reftex-locate-bibliography-files): Us it.
81
d14c81ee
CB
822013-11-01 Claudio Bley <claudio.bley@googlemail.com>
83
0e7690de
CB
84 * image.el (image-type-header-regexps): Fix the 'pbm' part to
85 allow comments in pbm files.
86
d14c81ee
CB
87 * term/w32-win.el (dynamic-library-alist): Support newer versions
88 of libjpeg starting with v7: look only for the DLL from the
89 version against which Emacs was built.
ac1bf374 90 Support versions of libpng beyond 1.4.x.
019c8218 91 Support libtiff v4.x.
d14c81ee 92
983d0df5
BB
932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
94
95 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
96 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
97 Add property :safe.
98 (ruby-deep-arglist): Add property :type.
99
47f58d85
GM
1002013-10-31 Glenn Morris <rgm@gnu.org>
101
102 * Makefile.in (custom-deps, finder-data): No need to setq the target
103 variables, we are in the right directory and the defaults work fine.
104
4f85b479
GM
1052013-10-30 Glenn Morris <rgm@gnu.org>
106
ca7dd4cd
GM
107 * Makefile.in (autoloads): Do not use abs_lisp.
108
4f85b479
GM
109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
110 `newline' does not respect `standard-output', so use `princ'.
111
cf59e41c
AA
1122013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
113
114 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
115 * buff-menu.el (Buffer-menu--unmark): New function.
116 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
117
74cf04fb
GM
1182013-10-30 Glenn Morris <rgm@gnu.org>
119
b040b60e
GM
120 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
121
f53d3815
GM
122 * emacs-lisp/package.el (lm-homepage): Declare.
123
5413d873
GM
124 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
125 Fix doc typos.
126
cecedb36
GM
127 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
128
74cf04fb
GM
129 * Makefile.in (finder-data, autoloads, update-subdirs)
130 (compile-main, compile-clean, compile-always, bootstrap-clean):
131 Check return value of cd.
132 (compile-calc): Remove.
133
195ee2f0
SM
1342013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
135
ae4002ce
SM
136 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
137
138 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
139 (byte-compile-and-folded): New function.
140 (=, <, >, <=, >=): Use it.
141
142 * dos-w32.el (minibuffer-history-case-insensitive-variables)
143 (path-separator, null-device, buffer-file-coding-system)
144 (lpr-headers-switches): Check system-type before modifying them.
145 (find-buffer-file-type-coding-system): Mark obsolete.
146 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
147 find-file-not-found-set-buffer-file-coding-system.
148 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
149 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
150 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
151 (w32-direct-print-region-helper, w32-direct-print-region-function)
152 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
153 * startup.el (normal-top-level-add-subdirs-to-load-path):
154 * ps-print.el (ps-print-region-function):
155 * lpr.el (print-region-function): Use new name.
156
53b39e89
SM
157 * subr.el (custom-declare-variable-early): Remove function.
158 (custom-declare-variable-list): Remove var.
159 (error, user-error): Remove `while' loop.
160 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
161 (user-emacs-directory-warning, locate-user-emacs-file):
162 Move to files.el.
163 * simple.el (read-quoted-char-radix, read-quoted-char):
164 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
165 Move from subr.el.
166 * custom.el (custom-declare-variable-list): Don't process
167 custom-declare-variable-list.
168
195ee2f0
SM
169 * progmodes/python.el (python-shell-get-buffer): New function.
170 (python-shell-get-process): Use it.
171 (python-shell-send-string): Always use utf-8 and add a cookie to tell
172 Python which encoding was used. Don't split-string since we only care
173 about the first line. Return the temp-file, if applicable.
174 (python-shell-send-region): Tell compile.el how to turn locations in
175 the temp-file into locations in the source buffer.
176
7e3561ee
SM
1772013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
178
4c9797cb
SM
179 * subr.el (undefined): Add missing behavior from the C code for
180 unbound keys.
181
3472b6c6
SM
182 * rect.el: Use lexical-binding. Add new rectangular region support.
183 (rectangle-mark): New command.
184 (rectangle--region): New var.
185 (deactivate-mark-hook): Reset rectangle--region.
186 (rectangle--extract-region, rectangle--insert-for-yank)
187 (rectangle--highlight-for-redisplay)
188 (rectangle--unhighlight-for-redisplay): New functions.
189 (region-extract-function, redisplay-unhighlight-region-function)
190 (redisplay-highlight-region-function): Use them to handle
191 rectangular region.
192 * simple.el (region-extract-function): New var.
193 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
194 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
195 (kill-region): Replace obsolete `yank-handler' arg with `region'.
196 (copy-region-as-kill, kill-ring-save): Add `region' argument.
197 (redisplay-unhighlight-region-function)
198 (redisplay-highlight-region-function): New vars.
199 (redisplay--update-region-highlight): New function.
200 (pre-redisplay-function): Use it.
201 (exchange-point-and-mark): Don't deactivate the mark before
202 reactivate-it anyway.
203 * comint.el (comint-kill-region): Remove yank-handler argument.
204 * delsel.el (delete-backward-char, backward-delete-char-untabify)
205 (delete-char): Remove property, since it's now part of their
206 default behavior.
207 (self-insert-iso): Remove property since this command doesn't exist.
208
7e3561ee
SM
209 * emacs-lisp/package.el (package--download-one-archive)
210 (describe-package-1): Don't query the user about final newline.
211
b9bef71f
DC
2122013-10-29 Daniel Colascione <dancol@dancol.org>
213
214 * net/tramp.el (tramp-methods): Document new functionality.
215 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
216 tramp-hostname-checker if method provides one instead of scanning
217 argument list for "%h" to decide hostname acceptability.
218
4efc33f0
MA
2192013-10-28 Michael Albinus <michael.albinus@gmx.de>
220
221 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
222 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
223 Handle COPY-CONTENTS. (Bug#15737)
224
ed42a877
DU
2252013-10-28 Daiki Ueno <ueno@gnu.org>
226
227 * epa-file.el
7e3561ee
SM
228 (epa-file-cache-passphrase-for-symmetric-encryption):
229 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 230
18c9f8a2
XF
2312013-10-27 Xue Fuqiao <xfq.free@gmail.com>
232
7a4bc7be
XF
233 * image.el (defimage):
234 (image-load-path): Doc fixes.
18c9f8a2 235
b1e8e010
AM
2362013-10-27 Alan Mackenzie <acm@muc.de>
237
238 Indent statements in macros following "##" correctly.
7e3561ee
SM
239 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
240 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 241
73d40d1e 2422013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
243
244 * linum.el (linum-update-window): Fix boundary test (bug#13446).
245
c8c605ac
DG
2462013-10-27 Dmitry Gutov <dgutov@yandex.ru>
247
248 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
249 after `=' is probably a new expression.
250
ca7e59d4
RS
2512013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
252
253 * man.el (man-imenu-title): New option.
254 (Man-mode-map): Add menu. (Bug#15722)
255 (Man-mode): Add imenu to menu.
256
bae91342
DG
2572013-10-26 Dmitry Gutov <dgutov@yandex.ru>
258
259 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
260 specific in what the first arg can be: a non-keyword word,
261 string/regexp/percent literal opener, opening paren, or unary
262 operator followed directly by word.
263
eb89dc14
SM
2642013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
267 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
268 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
269 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
270 Remove vars, they do not apply any more.
271 (prolog-mode-abbrev-table): Remove redundant declaration.
272 (prolog-upper-case-string, prolog-lower-case-string): Remove.
273 (prolog-use-smie): Remove.
274 (prolog-smie-rules): Add indentation rule for the if-then-else layout
275 supported by prolog-electric-if-then-else-flag.
276 (prolog-mode-variables, prolog-menu): Use setq-local.
277 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
278 Remove binding to `Backspace' since this key doesn't exist anyway.
279 Remove bindings for electric self-inserting keys.
280 (prog-mode): Assume it's defined.
281 (prolog-post-self-insert): New function.
282 (prolog-mode): Use it.
283 (prolog-indent-line, prolog-indent-level)
284 (prolog-find-indent-of-matching-paren)
285 (prolog-indentation-level-of-line, prolog-goto-comment-column)
286 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
287 (prolog-goto-next-paren, prolog-in-string-or-comment)
288 (prolog-tokenize, prolog-inside-mline-comment)
289 (prolog-find-start-of-mline-comment): Remove functions.
290 (prolog-find-unmatched-paren, prolog-clause-end)
291 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
292 (prolog-electric--if-then-else): Rename from
293 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
294 (prolog-tokenize-searchkey): Remove const.
295 (prolog-clause-info): Use forward-sexp.
296 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
297 (prolog-electric-if-then-else): Remove commands.
298 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
299 for use in post-self-insert-hook.
300 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
301 for use in post-self-insert-hook.
302 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
303 for use in post-self-insert-hook.
304 (prolog-electric--underscore): Rename from prolog-electric--underscore;
305 adapt it for use in post-self-insert-hook.
306
3dab0a83
MA
3072013-10-25 Michael Albinus <michael.albinus@gmx.de>
308
309 * emacs-lisp/ert.el (ert-run-tests-interactively):
310 Use `completing-read'. (Bug#9756)
311
fbfd0e1d
EZ
3122013-10-25 Eli Zaretskii <eliz@gnu.org>
313
314 * simple.el (line-move): Call line-move-1 instead of
315 line-move-visual when the current window hscroll is zero, but
316 temporary-goal-column indicates we will need to hscroll as result
317 of the movement. (Bug#15712)
318
963ce636
DG
3192013-10-25 Dmitry Gutov <dgutov@yandex.ru>
320
321 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
322 capitalization. Use :visible instead of :active.
323 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
324 commands that are used with SMIE.
325 (ruby-do-end-to-brace): Insert space after `{'.
326
a0be396a
JA
3272013-10-25 John Anthony <john@jo.hnanthony.com>
328
f73754c9
JA
329 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
330
331 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 332
f5bf77df
GM
3332013-10-25 Glenn Morris <rgm@gnu.org>
334
335 * vc/vc.el (vc-print-log): Don't use a working revision unless
336 one was explicitly specified. (Bug#15322)
337
37241f62
SM
3382013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * subr.el (add-to-list): Preserve return value in compiler-macro
341 (bug#15692).
342
6408a65d
RS
3432013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
344
345 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
346 result. Ask user to retry using '-all' flag. (Bug#15701)
347
71e3276b
SM
3482013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * emacs-lisp/smie.el: New smie-config system.
351 (smie-config): New defcustom.
352 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
353 (smie-config-guess, smie-config-save): New commands.
354 (smie-config--mode-local, smie-config--buffer-local)
355 (smie-config--trace, smie-config--modefuns): New vars.
356 (smie-config--advice, smie-config--mode-hook)
357 (smie-config--setter, smie-config-local, smie-config--get-trace)
358 (smie-config--guess-value, smie-config--guess): New functions.
359 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
360 text properties. Treat "string fence" syntax like string syntax.
361
362 * progmodes/sh-script.el (sh-use-smie): Change default.
363 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
364 (sh-var-value): Simplify by CSE.
365 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
366 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
367 is used.
368 (sh-guess-basic-offset): Use cl-incf.
369 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
370
60db713e
HE
3712013-10-24 Helmut Eller <eller.helmut@gmail.com>
372
373 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
374 (bug#15699).
375
8b251df6
GM
3762013-10-24 Glenn Morris <rgm@gnu.org>
377
378 * Makefile.in (abs_top_srcdir): Remove.
379 (update-subdirs): Use relative path to update-subdirs.
380
6be0e22b
EZ
3812013-10-24 Eli Zaretskii <eliz@gnu.org>
382
383 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
384 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
385 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
386 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 387
50b5b857
MA
3882013-10-24 Michael Albinus <michael.albinus@gmx.de>
389
390 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
391 (ert-test-skipped): New error.
392 (ert-skip, ert-stats-skipped): New defuns.
393 (ert--skip-unless): New macro.
394 (ert-test-skipped): New struct.
395 (ert--run-test-debugger, ert-test-result-type-p)
396 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
397 (ert--stats-set-test-and-result, ert-char-for-test-result)
398 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 399 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 400 Handle skipped tests. (Bug#9803)
50b5b857 401
6f317c2f
GM
4022013-10-24 Glenn Morris <rgm@gnu.org>
403
e43817c1
GM
404 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
405
6f317c2f
GM
406 * Makefile.in (abs_top_srcdir): New, set by configure.
407 (update-subdirs): Correct build-aux location.
408
369bbf71
DG
4092013-10-24 Dmitry Gutov <dgutov@yandex.ru>
410
8297b2cf
DG
411 * vc/vc.el (vc-print-root-log): Always set `default-directory'
412 value, whether we could auto-deduce `backend', or not.
413
369bbf71
DG
414 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
415 with parameters" example. Simplify the "is it block or is it
416 hash" check, but also make it more thorough.
417
d5f1282f
MF
4182013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
419
420 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
421
bc4aaa31
SM
4222013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
423
03d44565
SM
424 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
425 { if it is hanging.
426
bc4aaa31
SM
427 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
428 :before ";".
429
f493ff19
JB
4302013-10-23 Jed Brown <jed@59A2.org> (tiny change)
431
432 * progmodes/compile.el (compilation-directory-matcher)
433 (compilation-page-delimiter):
434 Support GNU Make-4.0 directory quoting. (Bug#15678)
435
c744a3b9
LL
4362013-10-23 Leo Liu <sdl.web@gmail.com>
437
438 * ido.el (ido-tidy): Handle read-only text.
439
b8e3b0a9
GM
4402013-10-23 Glenn Morris <rgm@gnu.org>
441
442 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
443 (emacs, compile, compile-always):
444 Quote entities that might contain whitespace.
445 (custom-deps, finder-data, autoloads): Use abs_lisp.
446 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
447 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
448 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
449
ee4282cd
DG
4502013-10-23 Dmitry Gutov <dgutov@yandex.ru>
451
bc4aaa31
SM
452 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
453 Use `following-char'.
7790a270 454
ee4282cd 4552013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
456
457 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
458 * progmodes/ruby-mode.el (ruby-smie-rules):
459 Remove corresponding workaround. Fix indentation rule of ";" so it
460 also applies when ";" is the parent.
461
d40a46d7
XF
4622013-10-22 Xue Fuqiao <xfq.free@gmail.com>
463
464 * frame.el (display-screens, display-pixel-height)
465 (display-pixel-width, display-mm-width, display-backing-store)
466 (display-save-under, display-planes, display-color-cells)
7790a270
SM
467 (display-visual-class, display-monitor-attributes-list):
468 Mention the optional ‘display’ argument in doc strings.
d40a46d7 469
a0f143c9
MG
4702013-10-22 Michael Gauland <mikelygee@amuri.net>
471
472 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
473 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
474
18cacc39
DG
4752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
476
477 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
478 TODO. Add "." after " @ ".
479 (ruby-smie--at-dot-call): New function. Checks if point at method
480 call with explicit target.
481 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
482 to the method name tokens when it precedes them.
483 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
484 (ruby-smie-rules): Add rule for indentation before and after "."
485 token.
486
df74c4be
SM
4872013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
488
c6dab55f
SM
489 * textmodes/remember.el (remember-diary-extract-entries):
490 Avoid add-to-list.
491
df74c4be
SM
492 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
493 an instruction.
494
8c1ae481
DG
4952013-10-21 Dmitry Gutov <dgutov@yandex.ru>
496
cfef16c0
DG
497 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
498 (ruby-smie--implicit-semi-p): Add new operator chars.
499
8c1ae481
DG
500 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
501 `smie-down-list'.
502 (ruby-smie--args-separator-p): Check that there's no newline
503 between method call and its arguments.
504
87756ca9
AM
5052013-10-20 Alan Mackenzie <acm@muc.de>
506
507 Allow comma separated lists after Java "implements".
508
df74c4be
SM
509 * progmodes/cc-engine.el (c-backward-over-enum-header):
510 Parse commas.
87756ca9
AM
511 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
512 from a "disallowed" list in enum fontification.
513
c25f8957
JB
5142013-10-20 Johan Bockgård <bojohan@gnu.org>
515
df74c4be 516 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 517
c25f8957
JB
518 * progmodes/verilog-mode.el (verilog-mode): Don't set
519 comment-indent-function globally.
520
aca5fcdc
JD
5212013-10-20 Jan Djärv <jan.h.d@swipnet.se>
522
5f161884
JD
523 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
524 Move Info menu item creation to ns-win.el.
525
526 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
527 in menu bar.
528
aca5fcdc
JD
529 * menu-bar.el: Move GNUStep specific menus...
530
531 * term/ns-win.el (ns-initialize-window-system): ... to here.
532
914b7f98
SM
5332013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * simple.el (newline): Only run post-self-insert-hook when
536 called interactively.
537
846ffe77
JB
5382013-10-19 Johan Bockgård <bojohan@gnu.org>
539
540 * icomplete.el (icomplete-with-completion-tables): Add :version.
541
033f22dd
AM
5422013-10-19 Alan Mackenzie <acm@muc.de>
543
544 Fix fontification bugs with constructors and const.
545
546 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
547 CASE 2) Remove the check for the absence of a suffix construct
548 after a function declaration with only types (no identifiers) in
549 the parentheses. Also, accept a function declaration with just a
550 type inside the parentheses, if this type can be positively
551 recognised as such, or if a prefix keyword like "explicit" nails
552 down the construct as a declaration.
553
58ce0cfc
EZ
5542013-10-19 Eli Zaretskii <eliz@gnu.org>
555
556 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
557 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
558 the problem whereby selecting a menu item that leads to a
559 minibuffer prompt moves the cursor out of the minibuffer window,
560 making it hard to type at the prompt. Suggested by Stefan Monnier
561 <monnier@iro.umontreal.ca>.
562
50e28e7d
JD
5632013-10-19 Jan Djärv <jan.h.d@swipnet.se>
564
565 * menu-bar.el: Don't make Services menu.
566
7deed4bf
RS
5672013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
568
569 * ffap.el: Handle "/usr/include/c++/<version>" directories.
570 (ffap-alist): Use ffap-c++-mode for c++-mode.
571 (ffap-c++-path): New variable.
572 (ffap-c++-mode): New function.
573
7bcb455b
JVJ
5742013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
575
576 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
577
f0ff1cd5
MA
5782013-10-18 Michael Albinus <michael.albinus@gmx.de>
579
580 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
581 introduced on 2013-09-08, which results in an infinite loop
582 requesting a password.
583
d64da4b7
GM
5842013-10-18 Glenn Morris <rgm@gnu.org>
585
586 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
587
ea89ff08
WS
5882013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
589
590 Sync with upstream verilog-mode revision 1a6ecec7.
591 * progmodes/verilog-mode.el (verilog-mode-version): Update.
592 (verilog-mode-release-date): Remove.
593 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
594 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
595 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
596 (verilog-auto-tieoff-ignore-regexp)
597 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
598 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
599 (verilog-signals-with, verilog-dir-cache-preserving)
600 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
601 Doc fixes.
602 (verilog-case-fold): New option, to control case folding in
603 regexp searches, bug597.
604 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
605 (verilog-string-match-fold, verilog-in-paren-count)
606 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
607 (verilog-at-close-struct-p): New functions.
608 (verilog-beg-block-re-ordered, verilog-extended-case-re)
609 (verilog-forward-sexp, verilog-set-auto-endcomments):
610 (verilog-leap-to-case-head): Handle "unique0" case.
611 (verilog-in-constraint-re): New constant.
612 (verilog-keywords, verilog-type-font-keywords):
613 Add some SystemVerilog 1800-2012 keywords.
614 (verilog-label-be): Remove unimplemented argument, bug669.
615 (verilog-batch-execute-func): When batch expanding clear
616 create-lockfiles to prevent spurious user locks when a file ends
617 up not changing.
618 (verilog-calculate-indent, verilog-calc-1)
619 (verilog-at-close-constraint-p, verilog-at-constraint-p)
620 (verilog-do-indent): Fix indentation of nested constraints
621 and structures.
622 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
623 (verilog-auto-inst-param): Use verilog-string-match-fold.
624 (verilog-read-inst-module-matcher):
625 Fix AUTOINST on gate primitives with #1.
626 (verilog-read-decls): Fix double-declaring user-defined typed signals.
627 Reads all user-defined typed variables.
628 (verilog-read-defines): Fix reading definitions inside comments, bug647.
629 (verilog-signals-matching-regexp)
630 (verilog-signals-not-matching-regexp, verilog-auto):
631 Respect verilog-case-fold.
632 (verilog-diff-report): Fix line count.
633 (verilog-auto-assign-modport): Remove unused local `modi'.
634 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
635 better handle multidimensional arrays.
636 Fix packed array ports misadding bit index in AUTOINST, bug637.
637 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
638 to not double-declare existing outputs and inputs, respectively.
639 (verilog-template-map): Bind U to verilog-sk-uvm-component.
640 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
641 (verilog-sk-uvm-component): New skeleton.
642 (verilog-submit-bug-report): Add verilog-case-fold,
643 remove verilog-mode-release-date.
644
ef566920
BR
6452013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
646
647 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
648 as before.
649
29df8a0b
RT
6502013-10-18 Reuben Thomas <rrt@sc3d.org>
651
652 * textmodes/remember.el (remember): set buffer-offer-save in
653 remember buffers (bug#13566).
654
04a19a79
DC
6552013-10-18 Daniel Colascione <dancol@dancol.org>
656
657 When evaluating forms in ielm, direct standard output to ielm
658 buffer. Add new ielm-return-for-effect command. Remove trailing
659 whitespace throughout.
660
661 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
662 (ielm-return-for-effect): New command.
663 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
664 (ielm-eval-input): Accept optional `for-effect' parameter.
665 Bind `standard-output' to stream we create using
04a19a79
DC
666 `ielm-standard-output-impl'. Suppress printing result when
667 `for-effect'.
668 (ielm-standard-output-impl): New function.
669 (inferior-emacs-lisp-mode): Explain new features in documentation.
670
4c1f03ef
MA
6712013-10-17 Michael Albinus <michael.albinus@gmx.de>
672
673 Code cleanup.
674
675 * net/tramp.el (tramp-debug-message): Do not check for connection
676 buffer.
677 (tramp-message): Use "vector" connection property.
678
679 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
680 (tramp-equal-remote, tramp-eshell-directory-change)
681 * net/tramp-adb.el (tramp-adb-handle-copy-file)
682 (tramp-adb-handle-rename-file)
683 * net/tramp-cmds.el (tramp-list-remote-buffers)
684 (tramp-cleanup-connection, tramp-cleanup-this-connection)
685 * net/tramp-compat.el (tramp-compat-process-running-p)
686 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
687 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
688 (tramp-gvfs-handle-rename-file)
689 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
690 (tramp-set-file-uid-gid)
691 * net/tramp-smb.el (tramp-smb-handle-copy-file)
692 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
693 of `file-remote-p'.
694
695 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
696 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
697 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
698 (tramp-gw-open-network-stream): Suppress unrelated traces.
699
700 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
701 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
703 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
704 connection property.
705
706 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 707 persistency file.
4c1f03ef
MA
708
709 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
710 Refactor common code. Improve debug message.
711 (tramp-maybe-open-connection)
712 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
713 connection buffer too early.
714
715 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
716 from `tramp-smb-actions-with-acl'.
717 (tramp-smb-actions-set-acl): New defconst.
718 (tramp-smb-handle-copy-directory)
719 (tramp-smb-action-get-acl): New defun, renamed from
720 `tramp-smb-action-with-acl'.
721 (tramp-smb-action-set-acl): New defun.
722 (tramp-smb-handle-set-file-acl): Rewrite.
723
642eb8b6
GM
7242013-10-17 Glenn Morris <rgm@gnu.org>
725
726 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
727
85527ff3
SM
7282013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
729
921c1d62
SM
730 * skeleton.el (skeleton-newline): Remove.
731 (skeleton-internal-1): Use (insert "\n") instead.
732
e333fb10
SM
733 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
734 let-bindings.
735
85527ff3
SM
736 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
737 forward-sexp-function while we redo its job (bug#15613).
738
c8722a97
JB
7392013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
740
741 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
742 represented by lists.
743
7a550bbb
GM
7442013-10-16 Glenn Morris <rgm@gnu.org>
745
746 * tmm.el (tmm--history): New dynamic variable.
747 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
748
f19da8ad
MA
7492013-10-16 Michael Albinus <michael.albinus@gmx.de>
750
751 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
752 (tramp-smb-errors): Add error messages.
753 (tramp-smb-actions-with-acl): New defconst.
754 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
755 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
756 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
757 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
758 (tramp-smb-get-stat-capability): Fix tests.
759
a24b9961
DK
7602013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
761
762 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
763 (bug#15580).
764
62ad85e6
GM
7652013-10-16 Glenn Morris <rgm@gnu.org>
766
0283d6b0
GM
767 * ansi-color.el (ansi-color-drop-regexp):
768 Add 1J, 1K, 2K. (Bug#15617)
769
012e2f9f
GM
770 * files.el (hack-local-variables--warned-lexical): New.
771 (hack-local-variables):
772 Warn about misplaced lexical-binding. (Bug#15616)
773
62ad85e6
GM
774 * net/eww.el (eww-render): Always set eww-current-url,
775 and update header line. (Bug#15622)
776 (eww-display-html): ... Rather than just doing it here.
777
6456c0ea
EZ
7782013-10-15 Eli Zaretskii <eliz@gnu.org>
779
780 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
781 menu navigations commands.
782
c2de5588
DK
7832013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
784
785 * progmodes/subword.el (subword-capitalize): Be careful when
786 the search for [[:alpha:]] fails (bug#15580).
787
ccd4a783
EZ
7882013-10-14 Eli Zaretskii <eliz@gnu.org>
789
790 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
791 to commands that scroll the menu.
792
1eda1d8d
DG
7932013-10-14 Dmitry Gutov <dgutov@yandex.ru>
794
c2de5588
DK
795 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
796 Handle methods ending with `?' and `!'.
1eda1d8d 797
e70181b8
AM
7982013-10-14 Akinori MUSHA <knu@iDaemons.org>
799
800 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
801 `japanese-cp932' to `cp932' to fix the problem where saving a
802 source file written in Shift_JIS twice would end up having
803 `coding: japanese-cp932' which Ruby could not recognize.
804 (ruby-mode-set-encoding): Add support for encodings mapped to nil
805 in `ruby-encoding-map'.
806 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
807 doesn't need to be explicitly declared in magic comment.
808 (ruby-encoding-map): Add type declaration for better customize UI.
809
9148ee92
GM
8102013-10-13 Glenn Morris <rgm@gnu.org>
811
a5d38e34
GM
812 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
813 Occur buffers are read-only. http://bugs.debian.org/720775
814
9148ee92
GM
815 * emacs-lisp/authors.el (authors-fixed-entries):
816 Comment out old alpha stuff.
817
a9ba094b
DG
8182013-10-13 Dmitry Gutov <dgutov@yandex.ru>
819
820 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
821 to `after-save-hook' instead of `before-save-hook'.
822 (ruby-mode-set-encoding): Use the value of coding system used to
823 write the file. Call `basic-save-buffer-1' after modifying the
824 buffer.
825
7a068717
AM
8262013-10-13 Alan Mackenzie <acm@muc.de>
827
828 Fix indentation/fontification of Java enum with
829 "implements"/generic.
830
c2de5588
DK
831 * progmodes/cc-engine.el (c-backward-over-enum-header):
832 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
833 (c-inside-bracelist-p): Uses new function above.
834 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
835 function above.
836 (c-font-lock-enum-tail): Uses new function above.
837
85b64f02
KH
8382013-10-13 Kenichi Handa <handa@gnu.org>
839
840 * international/mule-cmds.el (select-safe-coding-system): Remove a
841 superfluous condition in chekcing whether a coding system is safe
842 or not.
843
fc7f501b
OK
8442013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
845
846 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
847
fdcb2049
AP
8482013-10-13 Andreas Politz <politza@hochschule-trier.de>
849
850 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
851
8c106d17
GM
8522013-10-13 Glenn Morris <rgm@gnu.org>
853
feab892d
GM
854 * menu-bar.el (menu-bar-update-buffers):
855 Unify Buffers menu prompt string. (Bug#15576)
856
b22d0686
GM
857 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
858
8c106d17
GM
859 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
860 Add some entries.
861 (authors-fixed-entries): Use accented form of name.
862
1b12c797
SM
8632013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
864
650fa7bf 865 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 866 method calls (bug#15594).
650fa7bf
SM
867 (ruby-smie--args-separator-p): New function.
868 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
869 recognize paren-free method calls.
870
1b12c797
SM
871 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
872 internals of universal-argument.
873
029619c8
EZ
8742013-10-11 Eli Zaretskii <eliz@gnu.org>
875
876 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
877 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
878 dropped menu on second mouse click on the menu bar.
029619c8 879
dd070019
SM
8802013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
883 (explicit-shell-file-name): Declare.
884 (sh--vars-before-point, sh--cmd-completion-table): New functions.
885 (sh-completion-at-point-function): New function.
886 (sh-mode): Use it.
887 (sh-smie--keyword-p): Remove unused argument.
888 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
889 vars.
890 (sh-set-shell): Always setup SMIE, even if we use the
891 old indentation code.
892
0922b826
DG
8932013-10-11 Dmitry Gutov <dgutov@yandex.ru>
894
b68e2926
DG
895 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
896 cases of ? and =.
897 (ruby-smie-rules): Simplify the "do" rule. The cases when the
898 predicate would return nil are almost non-existent.
899 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
900
0922b826
DG
901 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
902 cache also after commands that modify the buffer but don't move
903 point.
904
ee041f2d
SM
9052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * env.el (substitute-env-in-file-name): New function.
908 (substitute-env-vars): Extend the meaning of the optional arg.
909
a5dab159
EZ
9102013-10-10 Eli Zaretskii <eliz@gnu.org>
911
912 * term/w32-win.el (dynamic-library-alist): Define separate lists
913 of GIF DLLs for versions before and after 5.0.0 of giflib.
914 (Bug#15531)
915
db138698
JT
9162013-10-10 João Távora <joaotavora@gmail.com>
917
918 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
919 not locked, use last revision and current source as
920 defaults. (Bug#15569)
921
2f6e161e
MY
9222013-10-10 Masatake YAMATO <yamato@redhat.com>
923
924 * menu-bar.el (menu-bar-open): Don't use popup-menu if
925 menu-bar is hidden.
926
6c8413fc
MR
9272013-10-10 Martin Rudalics <rudalics@gmx.at>
928
929 * window.el (pop-to-buffer-same-window): Fix doc-string.
930 (Bug#15492)
931
20832de0
SM
9322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
935
c6e8ae77
AC
9362013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
937
938 * calendar/icalendar.el (icalendar-import-file):
939 Fix interactive spec. (Bug#15482)
940
9db13baf
GM
9412013-10-10 Glenn Morris <rgm@gnu.org>
942
9271e90e
GM
943 * desktop.el (desktop-save): Default to saving in .emacs.d,
944 since PWD is no longer in desktop-path by default. (Bug#15319)
945
9db13baf
GM
946 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
947 now that text mode has a menu with the same entry.
948 (menu-bar-text-mode-auto-fill): Remove now unused func.
949 * textmodes/text-mode.el (text-mode-map):
950 Use auto-fill help text from menu-bar.el.
951
a0be396a 9522013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
953
954 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
955
2edcd3c7
JL
9562013-10-09 Juri Linkov <juri@jurta.org>
957
958 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
959 instead of this-command-keys. Add universal-argument-more and
960 universal-argument-minus to the list of prefix commands. (Bug#15568)
961
574411d0
GM
9622013-10-09 Glenn Morris <rgm@gnu.org>
963
14afa541
GM
964 * vc/vc-svn.el (vc-svn-create-repo):
965 Expand paths in file://... url. (Bug#15446)
966
574411d0
GM
967 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
968 Add some entries.
969 (authors): Remove unused local variables.
970
79804536
SM
9712013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * profiler.el: Create a more coherent calltree from partial backtraces.
974 (profiler-format): Hide the tail with `invisible' so that C-s can still
975 find the hidden elements.
976 (profiler-calltree-depth): Don't recurse so enthusiastically.
977 (profiler-function-equal): New hash-table-test.
978 (profiler-calltree-build-unified): New function.
979 (profiler-calltree-build): Use it.
980 (profiler-report-make-name-part): Indent the calltree less.
981 (profiler-report-mode): Add visibility specs for profiler-format.
982 (profiler-report-expand-entry, profiler-report-toggle-entry):
983 Expand the whole subtree when provided with a prefix arg.
984
238150c8
DG
9852013-10-09 Dmitry Gutov <dgutov@yandex.ru>
986
987 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
988 iuwu-mod token.
989 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
990 hanging iuwu-mod token.
991 (ruby-smie--forward-token): Do not include a dot after a token in
992 that token.
993 (ruby-smie--backward-token): Likewise.
994
b0949cc4
JL
9952013-10-08 Juri Linkov <juri@jurta.org>
996
997 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
998 to isearch-other-control-char.
999 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1000 and isearch-post-command-hook to post-command-hook.
1001 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1002 and isearch-post-command-hook from post-command-hook.
1003 (isearch-unread-key-sequence)
1004 (isearch-reread-key-sequence-naturally)
1005 (isearch-lookup-scroll-key, isearch-other-control-char)
1006 (isearch-other-meta-char): Remove functions.
1007 (isearch-pre-command-hook, isearch-post-command-hook):
1008 New functions based on isearch-other-meta-char rewritten
1009 relying on the new behavior of overriding-terminal-local-map
1010 that does not replace the local keymaps any more. (Bug#15200)
1011
4ed77415
EZ
10122013-10-08 Eli Zaretskii <eliz@gnu.org>
1013
1014 Support menus on text-mode terminals.
1015 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1016 functionality.
1017
1018 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1019
c2de5588
DK
1020 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1021 Move here from mouse.el.
4ed77415
EZ
1022 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1023 and arrow keys.
1024 (tty-menu-navigation-map): New map for TTY menu navigation.
1025
1026 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1027
1028 * frame.el (display-mouse-p): Report text-mode mouse as available
1029 on w32.
1030 (display-popup-menus-p): Report availability if mouse is
1031 available; don't condition on window-system.
1032
1033 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1034 (tty-menu-selected-face): New faces.
1035
b7d5bd82
TL
10362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1037
06286513
SM
1038 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1039 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1040 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1041 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1042 New constants.
1043 (lisp-mode-variables): New `elisp' argument.
1044 (emacs-lisp-mode): Use it.
1045 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1046 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1047
b7d5bd82
TL
1048 * indent.el: Use lexical-binding.
1049 (indent-region): Add progress reporter.
1050 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1051 last step.
1052 (indent--next-tab-stop): New function to implement this behavior.
1053 (tab-to-tab-stop, move-to-tab-stop): Use it.
1054
10552013-10-08 Teemu Likonen <tlikonen@iki.fi>
1056
1057 * indent.el (indent-rigidly--current-indentation): New function.
1058 (indent-rigidly-map): New var.
1059 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1060
5ea75d23
BG
10612013-10-08 Bastien Guerry <bzg@gnu.org>
1062
1063 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1064
cc5da1ec
SM
10652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1066
8ffa1a0b
SM
1067 * progmodes/perl-mode.el: Use lexical-binding.
1068 Remove redundant :group args.
1069 (perl-nochange): Change default to be closer to other major modes's
1070 standard behavior.
1071 (perl-indent-line): Don't consider text on current line as a
1072 valid beginning of function from which to indent.
1073
f2223371
SM
1074 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1075 with more than one argument (bug#15538).
1076
44256060
SM
1077 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1078
cc5da1ec
SM
1079 * vc/pcvs.el: Use lexical-binding.
1080 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1081 environment of `eval'.
1082 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1083 than a list of expressions. Adjust callers.
1084 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1085
0ea1599d
DG
10862013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1087
1088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1089 case of the dot in a chained method call being on the following line.
0ea1599d 1090
da3e5ebb
SM
10912013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1092
2abb4e65
SM
1093 * electric.el (electric-indent-inhibit): New var.
1094 (electric-indent-post-self-insert-function): Use it.
1095 * progmodes/python.el (python-mode): Set it.
1096
d2e0e795
SM
1097 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1098 open braces.
1099
1100 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1101
bdc6b4c8
SM
1102 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1103 (css-mode): Use electric-indent-chars.
1104
da3e5ebb
SM
1105 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1106 (font-lock-beg, font-lock-end): Move before first use.
1107 (nxml-mode): Use syntax-propertize-function.
1108 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1109 (nxml-extend-after-change-region): Remove.
1110 * nxml/xmltok.el: Use lexical-binding.
1111 (xmltok-save): Use `declare'.
1112 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1113 * nxml/nxml-util.el: Use lexical-binding.
1114 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1115 Use `declare'.
1116 * nxml/nxml-ns.el: Use lexical-binding.
1117 (nxml-ns-save): Use `declare'.
1118 (nxml-ns-prefixes-for): Avoid add-to-list.
1119 * nxml/rng-match.el: Use lexical-binding.
1120 (rng--ipattern): Use cl-defstruct.
1121 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1122 (rng-cons-group-after, rng-subst-group-after)
1123 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1124 Use closures instead of `(lambda...).
1125
f8f91d5d
MA
11262013-10-07 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1129 of BEG and END.
1130
da3e5ebb
SM
1131 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1132 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1133 (tramp-gvfs-handle-insert-file-contents): Remove function.
1134
da3e5ebb
SM
1135 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1136 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1137
1138 * net/trampver.el: Update release number.
1139
7ccae3b1
SM
11402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1141
55ca2c0d
SM
1142 * progmodes/compile.el (compilation-parse-errors):
1143 Use compilation--put-prop.
1144 (compilation--ensure-parse): Check compilation-multiline.
1145
731fc3ae
SM
1146 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1147
da3e5ebb
SM
1148 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1149 lexical-binding.
a5833280 1150
2e7ba2c2
SM
1151 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1152
7ccae3b1
SM
1153 * progmodes/ruby-mode.el: Fix recently added tests.
1154 (ruby-smie-grammar): Add - and +.
1155 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1156 (ruby-smie--backward-id): New functions.
1157 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1158 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1159 any more.
1160
85698d63
LL
11612013-10-07 Leo Liu <sdl.web@gmail.com>
1162
1163 * register.el (register-preview-delay)
1164 (register-preview-functions): New variables.
1165 (register-read-with-preview, register-preview)
1166 (register-describe-oneline): New functions.
1167 (point-to-register, window-configuration-to-register)
1168 (frame-configuration-to-register, jump-to-register)
1169 (number-to-register, view-register, insert-register)
1170 (copy-to-register, append-to-register, prepend-to-register)
1171 (copy-rectangle-to-register): Use register-read-with-preview to
1172 read register. (Bug#15525)
1173
3986af6c
DS
11742013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1175
1176 * net/network-stream.el (network-stream-open-starttls): Don't add
1177 --insecure if it's already present, because that gnutls-cli
1178 rejects getting that parameter twice.
1179
5cd9cda9
DG
11802013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1181
1182 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1183 keyword, too.
1184
da9ea6d9
DG
11852013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1186
1187 * newcomment.el (comment-use-global-state): Change default value
1188 to t, mark obsolete (Bug#15251).
1189 (comment-beginning): In addition to `comment-to-syntax', check the
1190 value of `comment-use-global-state'.
1191
34d1a133
SM
11922013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1195 (ruby-comment-column): Follow the global default, by default.
1196 (ruby-smie-grammar): Add assignment syntax.
1197 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1198 open-paren, a comma, or a \.
1199 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1200 and line continuations.
1201 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1202 followed by implicit semi-colons. Add rule for string concatenation
1203 and for indentation at BOB.
1204 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1205
1206 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1207 calling next-sexp, since next-token may have skipped chars which
1208 next-sexp doesn't know should be skipped!
1209
6f6ab820
LL
12102013-10-05 Leo Liu <sdl.web@gmail.com>
1211
34d1a133
SM
1212 * progmodes/octave.el (octave-send-region):
1213 Call compilation-forget-errors.
6f6ab820 1214
34ca0f4c
XF
12152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1216
1217 * vc/vc-svn.el (vc-svn-find-admin-dir):
1218 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1219 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1220 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1221 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1222
a27c1b72
SM
12232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1226
258ab3bc
SM
12272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * subr.el (read-passwd): Hide chars even when called within a context
1230 where after-change-functions is disabled (bug#15501).
1231 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1232 until we removed ourself from overriding-terminal-local-map.
1233
939fb29c
LL
12342013-10-04 Leo Liu <sdl.web@gmail.com>
1235
258ab3bc
SM
1236 * progmodes/octave.el (inferior-octave-mode):
1237 Call compilation-forget-errors.
939fb29c 1238
63bd7f35
XF
12392013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1240
1241 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1242
9e6229fa
MA
12432013-10-04 Michael Albinus <michael.albinus@gmx.de>
1244
1245 * net/secrets.el (secrets-create-collection): Add optional
1246 argument ALIAS. Use proper Label keyword. Append ALIAS as
1247 dbus-call-method argument. (Bug#15516)
1248
1dab32a3
LL
12492013-10-04 Leo Liu <sdl.web@gmail.com>
1250
1251 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1252 (inferior-octave-compilation-font-lock-keywords): New variables.
1253 (compilation-error-regexp-alist)
1254 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1255 (inferior-octave-mode): Use compilation-shell-minor-mode.
1256
6cad7ba3
JS
12572013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1258
1259 * minibuffer.el (completion--replace): Be careful that `end' might be
1260 a marker.
1261
acbadd00
DU
12622013-10-03 Daiki Ueno <ueno@gnu.org>
1263
1264 Add support for package signature checking.
1265 * emacs-lisp/package.el (url-http-file-exists-p)
1266 (epg-make-context, epg-context-set-home-directory)
1267 (epg-verify-string, epg-context-result-for)
1268 (epg-signature-status, epg-signature-to-string)
1269 (epg-check-configuration, epg-configuration)
1270 (epg-import-keys-from-file): Declare.
1271 (package-check-signature): New user option.
1272 (package-unsigned-archives): New user option.
1273 (package-desc): Add `signed' field.
1274 (package-load-descriptor): Set `signed' field if .signed file exists.
1275 (package--archive-file-exists-p): New function.
1276 (package--check-signature): New function.
1277 (package-install-from-archive): Check package signature.
1278 (package--download-one-archive): Check archive signature.
1279 (package-delete): Remove .signed file.
1280 (package-import-keyring): New command.
1281 (package-refresh-contents): Import default keyring.
1282 (package-desc-status): Add "unsigned" status.
1283 (describe-package-1, package-menu--print-info)
1284 (package-menu-mark-delete, package-menu--find-upgrades)
1285 (package-menu--status-predicate): Support "unsigned" status.
1286
adf2aa61
SM
12872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1290 the new compilation scheme using the new byte-codes.
1291
1292 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1293 (byte-pophandler): New byte codes.
1294 (byte-goto-ops): Adjust accordingly.
1295 (byte-compile--use-old-handlers): New var.
1296 (byte-compile-catch): Use new byte codes depending on
1297 byte-compile--use-old-handlers.
1298 (byte-compile-condition-case--old): Rename from
1299 byte-compile-condition-case.
1300 (byte-compile-condition-case--new): New function.
1301 (byte-compile-condition-case): New function that dispatches depending
1302 on byte-compile--use-old-handlers.
1303 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1304 when we can.
1305
1306 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1307 Optimize under `condition-case' and `catch' if
1308 byte-compile--use-old-handlers is nil.
1309 (disassemble-offset): Handle new bytecodes.
1310
328a8179
SM
13112013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * subr.el (error): Use `declare'.
1314 (decode-char, encode-char): Use advertised-calling-convention instead
1315 of the docstring to discourage use of the `restriction' arg.
1316
15a1e936
DU
13172013-10-03 Daiki Ueno <ueno@gnu.org>
1318
1319 * epg.el (epg-verify-file): Add a comment saying that it does not
1320 notify verification error as a return value nor a signal.
1321 (epg-verify-string): Ditto.
1322
376f862a
KR
13232013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1324
1325 * progmodes/compile.el (compilation-start): Try globbing the arg to
1326 `cd' (bug#15417).
1327
a2f93a5f
MA
13282013-10-02 Michael Albinus <michael.albinus@gmx.de>
1329
1330 Sync with Tramp 2.2.8.
1331
1332 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1333 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1334 * net/trampver.el: Update release number.
1335
0daa0804
JD
13362013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1337
1338 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1339 and default-process-coding-system for darwin only.
1340
abd1ae34
SM
13412013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1344
be4e325d
MH
13452013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1346
1347 * vc/vc-git.el (vc-git-grep): Disable pager.
1348
e9155c4a
DG
13492013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1350
494e898b
DG
1351 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1352 Use :url instead of :homepage, as per
1353 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1354
e9155c4a
DG
1355 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1356 non-nil, use `syntax-ppss' (Bug#15251).
1357
481a8e0f
RS
13582013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1359
be4e325d
MH
1360 * progmodes/octave.el (inferior-octave-startup-file):
1361 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1362
056453c6
DG
13632013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1364
be4e325d
MH
1365 * emacs-lisp/package.el (package-desc-from-define):
1366 Accept additional arguments as plist, convert them to an alist and store
1367 them in the `extras' slot.
056453c6
DG
1368 (package-generate-description-file): Convert extras alist back to
1369 plist and append to the `define-package' form arguments.
1370 (package--alist-to-plist): New function.
1371 (package--ac-desc): Add `extras' slot.
1372 (package--add-to-archive-contents): Check if the archive-contents
1373 vector is long enough, and if it is, pass its `extras' slot value
1374 to `package-desc-create'.
1375 (package-buffer-info): Call `lm-homepage', pass the returned value
1376 to `package-desc-from-define'.
1377 (describe-package-1): Render the homepage button (Bug#13291).
1378
be4e325d
MH
1379 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1380 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1381
832966e5
JD
13822013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1383
1384 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1385 and default-process-coding-system to utf-8-unix (Bug#15402).
1386
6cfe977d
XF
13872013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1388
1389 * subr.el (looking-back): Do not recommend using looking-back.
1390
38de11bd
AM
13912013-09-28 Alan Mackenzie <acm@muc.de>
1392
1393 Fix indentation/fontification of Java enum with "implements".
1394
1395 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1396 regexp which matches "implements", etc., in Java.
1397 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1398 specifier clauses coming after "enum".
1399 * progmodes/cc-fonts.el (c-font-lock-declarations)
1400 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1401 after "enum".
1402
1610938f
JD
14032013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1404
1405 * faces.el (region): Change ns_selection_color to
1406 ns_selection_fg_color, add ns_selection_bg_color.
1407
e090f499
LL
14082013-09-28 Leo Liu <sdl.web@gmail.com>
1409
4d2e94d1
LL
1410 * progmodes/octave.el (inferior-octave-completion-table)
1411 (inferior-octave-completion-at-point): Minor tweaks.
1412
e090f499
LL
1413 * textmodes/ispell.el (ispell-lookup-words): Rename from
1414 lookup-words. (Bug#15460)
1415 (lookup-words): Obsolete.
1416 (ispell-complete-word, ispell-command-loop): All uses changed.
1417
7e138a62
RS
14182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1419
1420 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1421 (octave-mode-menu): Add octave-send-buffer.
1422 (octave-send-buffer): New function.
1423
5af5ed08
RS
14242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1425
1426 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1427 octave-lookfor.
1428 (octave-mode-menu): Add octave-lookfor.
1429 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1430 octave-lookfor.
1431 (octave-lookfor): New function.
1432
3b7b2692
SM
14332013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * emacs-lisp/cl-macs.el:
1436 (cl--loop-destr-temps): Remove.
1437 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1438 its convention.
1439 (cl--loop-set-iterator-function): New function.
1440 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1441 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1442 Bind `it' with `let' instead of substituting it with `cl-subst'.
1443 (cl--unused-var-p): New function.
1444 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1445 Eliminate some unused variable warnings (bug#15326).
1446
529fb53f
TH
14472013-09-27 Tassilo Horn <tsdh@gnu.org>
1448
1449 * doc-view.el (doc-view-scale-reset): Rename from
1450 `doc-view-reset-zoom-level'.
1451 (doc-view-scale-adjust): New command.
1452 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1453 `doc-view-scale-adjust'.
1454
0550c95a
TH
14552013-09-26 Tassilo Horn <tsdh@gnu.org>
1456
1457 * doc-view.el (doc-view-reset-zoom-level): New command.
1458 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1459 zoom commands (bug#15466).
1460
6950f152
KH
14612013-09-26 Kenichi Handa <handa@gnu.org>
1462
1463 * international/quail.el (quail-help): Make it not a command.
1464
39587580
LL
14652013-09-26 Leo Liu <sdl.web@gmail.com>
1466
1467 * minibuffer.el (completion-all-sorted-completions): Make args
1468 optional as they are.
1469
00578659
DC
14702013-09-25 Daniel Colascione <dancol@dancol.org>
1471
1472 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1473 specs are and that they're not evaluated.
1474
0c173878
SS
14752013-09-24 Sam Steingold <sds@gnu.org>
1476
1477 * midnight.el (clean-buffer-list-kill-regexps)
1478 (clean-buffer-list-kill-buffer-names): Update for the new Man
1479 buffer naming which includes the object name.
1480
84998447
SM
14812013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1484 (eshell-parse-command, eshell-parse-pipeline): Use it since
1485 eshell-separate-commands requires a dynamic scoped var.
1486 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1487
33215353
LL
14882013-09-23 Leo Liu <sdl.web@gmail.com>
1489
1490 * autoinsert.el (auto-insert-alist): Make the value of
1491 lexical-binding match its file setting.
1492
57b16162
JB
14932013-09-23 Juanma Barranquero <lekktu@gmail.com>
1494
c8af4e67
JB
1495 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1496
57b16162
JB
1497 * autoarg.el (autoarg-kp-digit-argument):
1498 * electric.el (Electric-command-loop):
1499 * kmacro.el (kmacro-step-edit-insert):
1500 Do not set universal-argument-num-events.
1501
7186ba60
LL
15022013-09-22 Leo Liu <sdl.web@gmail.com>
1503
1504 * files.el (interpreter-mode-alist): Add octave.
1505
ece15004
AM
15062013-09-21 Alan Mackenzie <acm@muc.de>
1507
1508 C++: fontify identifier in declaration following "public:" correctly.
1509 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1510 to match "public", etc.
1511 (c-decl-prefix-re): Add ":" into the C++ value.
1512 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1513 bit. Add a check for a ":" preceded by "public", etc.
1514
75d83e22
EZ
15152013-09-21 Eli Zaretskii <eliz@gnu.org>
1516
1517 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1518 recognized by GDB 7.5 and later.
1519
d052d3bd
XF
15202013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1521
1522 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1523
31dca772
R
15242013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * subr.el (internal--call-interactively): New const.
1527 (called-interactively-p): Use it (bug#3984).
1528
98ccf24e
XF
15292013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1530
1531 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1532 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1533 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1534
c39cc7d1
SM
15352013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1538 (eshell-ls-orig-insert-directory): Remove.
1539 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1540 (eshell-ls-use-in-dired): Use advice-add/remove.
1541 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1542 Add `orig-fun' arg for use in :around advice.
1543 Make it check (redundantly) eshell-ls-use-in-dired.
1544
9a0289a2
GM
15452013-09-19 Glenn Morris <rgm@gnu.org>
1546
a2c501b8
GM
1547 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1548
c440407a
GM
1549 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1550
9a0289a2
GM
1551 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1552
85e05915
MA
15532013-09-19 Michael Albinus <michael.albinus@gmx.de>
1554
1555 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1556 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1557 (tramp-get-remote-python): New defuns.
1558 (tramp-get-remote-uid-with-perl)
1559 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1560 contributed by yary <not.com@gmail.com> (tiny change).
1561 (tramp-get-remote-uid-with-python)
1562 (tramp-get-remote-gid-with-python): New defuns. Python code
1563 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1564 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1565
ce503312
GM
15662013-09-19 Glenn Morris <rgm@gnu.org>
1567
f7544773
GM
1568 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1569
72fd2877
GM
1570 * eshell/em-unix.el (eshell-remove-entries):
1571 Rename argument to avoid name-clash with global `top-level'.
1572
336b5a56
GM
1573 * eshell/esh-proc.el (eshell-kill-process-function):
1574 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1575 (eshell-reset-after-proc): Remove unused arg `proc'.
1576
57a3a53d
GM
1577 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1578 (directory-files-and-attributes): Mark unused arg.
1579
3261d4af
GM
1580 * eshell/em-unix.el (eshell-remove-entries):
1581 Remove unused arg `path'. Update callers.
1582
8e51b5d0
GM
1583 * eshell/em-hist.el (eshell-hist-parse-arguments):
1584 Remove unused arg `silent'. Update callers.
1585
ce503312
GM
1586 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1587 Fix (f)boundp mix-up.
1588
1589 * eshell/em-smart.el (eshell-smart-scroll-window)
1590 (eshell-disable-after-change):
336b5a56 1591 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1592
ee3ce8a7
AM
15932013-09-18 Alan Mackenzie <acm@muc.de>
1594
1595 Fix fontification of type when followed by "const".
1596 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1597 "known" types from fontification.
1598
ec9177ba
GM
15992013-09-18 Glenn Morris <rgm@gnu.org>
1600
7bb3e768
GM
1601 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1602 (chart-face-list): Drop Emacsen without display-color-p.
1603
5148da15
GM
1604 * net/eww.el (libxml-parse-html-region): Declare.
1605 (eww-display-html): Explicit error if no libxml2 support.
1606
2f68e157
GM
1607 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1608
9019d095
GM
1609 * image.el (image-type-from-buffer, image-multi-frame-p):
1610 Remove --without-x warning/error.
67645389 1611
5f30349b 1612 * mouse.el (mouse-yank-primary):
45069b2e 1613 * term.el (term-mouse-paste):
5f30349b
GM
1614 Reorder to silence --without-x compilation.
1615
cd8edbbe
GM
1616 * mpc.el (doc-view-mode): Silence --without-x compilation.
1617
8a78544e
GM
1618 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1619 Silence --without-x compilation.
1620
12679bfd
GM
1621 * progmodes/gud.el (gud-find-file, gud-mode):
1622 Silence --without-x compilation.
1623 (tooltip-mode): Declare.
30810a05 1624
f0047cb9
GM
1625 * wdired.el (dired-backup-overwrite): Remove declaration.
1626 (wdired-mode-map): Add doc string.
1627
e740f9d2
GM
1628 * custom.el (x-get-resource): Declare.
1629
92d77c89
GM
1630 * eshell/em-glob.el (ange-cache):
1631 * eshell/em-unix.el (ange-cache): Declare.
1632
76e69577
GM
1633 * faces.el (x-display-list, x-open-connection, x-get-resource):
1634 Declare.
7e58af4b
GM
1635
1636 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1637 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1638 Declare.
76e69577 1639
4bd4c0af 1640 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1641
ffb82dbd
GM
1642 * net/gnutls.el (gnutls-log-level): Declare.
1643
986ed135
GM
1644 * net/shr.el (image-size, image-animate): Declare.
1645
e740f9d2
GM
1646 * simple.el (font-info): Declare.
1647
d2f3e9f8
GM
1648 * subr.el (x-popup-dialog): Declare.
1649
047a1a4c
GM
1650 * term/common-win.el (x-select-enable-primary)
1651 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1652 Declare.
1653
f4a1d572
GM
1654 * term/ns-win.el (x-handle-args): Declare.
1655
e843de77
GM
1656 * term/x-win.el (x-select-enable-clipboard): Declare.
1657
5fa89513
GM
1658 * term/w32-win.el (create-default-fontset): Declare.
1659
38702b5b
GM
1660 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1661 Declare.
1662
e740f9d2
GM
1663 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1664 (fit-frame-to-buffer): Explicit error if --without-x.
1665 (mouse-autoselect-window-select): Silence compiler.
1666
49a053fc
GM
1667 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1668
1669 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1670 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1671 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1672 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1673 Remove unused local variables.
1674
1675 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1676
ec9177ba
GM
1677 * textmodes/two-column.el: Make 2C-split work for --without-x.
1678 (scroll-bar-columns): Autoload.
1679 (top-level): Require fringe when compiling.
1680
9f25cb77
LL
16812013-09-18 Leo Liu <sdl.web@gmail.com>
1682
1683 * subr.el (add-hook): Robustify to handle closure as well.
1684
2b42da98
GM
16852013-09-17 Glenn Morris <rgm@gnu.org>
1686
1687 * simple.el (messages-buffer-mode-map): Unbind "g".
1688
e8b66a6a
SM
16892013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1690
9c0ad4f7
SM
1691 * help-mode.el (help-mode-finish): Use derived-mode-p.
1692 Remove obsolete highlighting.
1693
7a806dfb
SM
1694 * play/life.el (life-mode): Use define-derived-mode. Derive from
1695 special-mode.
1696 (life): Let-bind inhibit-read-only.
1697 (life-setup): Avoid `setq'. Use `life-mode'.
1698
96dbf5a8
SM
1699 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1700 which should not be needed any more.
1701 (package-menu-refresh, package-menu-describe-package): Use user-error.
1702
e8b66a6a
SM
1703 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1704 (eshell-post-rewrite-command-hook): Make obsolete.
1705 (eshell-parse-command): Simplify.
1706 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1707 (eshell--cmd): Declare.
1708 (eshell-parse-pipeline): Remove unused var `final-p'.
1709 Pass a dynvar to eshell-post-rewrite-command-hook.
1710 Implement the new eshell-post-rewrite-command-function.
1711 (eshell-invoke-directly): Remove unused arg `input'.
1712 * eshell/esh-io.el (eshell-io-initialize):
1713 Use eshell-post-rewrite-command-function (bug#15399).
1714 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1715 adjust to new calling convention.
1716 (eshell-create-handles): Rename args to avoid clashing with dynvar
1717 `standard-output'.
1718
90582f05
GM
17192013-09-17 Glenn Morris <rgm@gnu.org>
1720
1721 * simple.el (messages-buffer-mode): New major mode.
1722 (messages-buffer): New function.
1723 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1724 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1725 (ert-run-test): Use `messages-buffer' function.
90582f05 1726 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1727 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1728 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1729
39eb0cb5 17302013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1731
1732 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1733
1f1e06e2
SM
1734 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1735
70568a90
SM
17362013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1737
504a0381
SM
1738 * icomplete.el (icomplete-in-buffer): New var.
1739 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1740 vars and replace them with functions.
1741 (icomplete-minibuffer-setup): Adjust accordingly.
1742 (icomplete--completion-table, icomplete--completion-predicate)
1743 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1744 New functions.
1745 (icomplete-forward-completions, icomplete-backward-completions)
1746 (icomplete-simple-completing-p, icomplete-exhibit)
1747 (icomplete-completions): Use them.
1748 (icomplete--in-region-buffer): New var.
1749 (icomplete--in-region-setup): New function.
1750 (icomplete-mode): Use it.
1751
70568a90
SM
1752 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1753 (bug#15379).
1754 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1755 return args and options.
1756 (eshell-eval-using-options): Use the new return value of
1757 eshell--do-opts to set the options's vars in their scope.
1758 (eshell--set-option): Rename from eshell-set-option.
1759 Add arg `opt-vals'.
1760 (eshell--process-option): Rename from eshell-process-option.
1761 Add arg `opt-vals'.
1762 (eshell--process-args): Use an `opt-vals' alist to store the options's
1763 values during their processing and return them additionally to the
1764 remaining args.
1765
578c21bc
DG
17662013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1767
1768 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1769 continuation character an operator, as far as indentation is
1770 concerned (Bug#15369).
1771
c089653d
MR
17722013-09-15 Martin Rudalics <rudalics@gmx.at>
1773
1774 * window.el (window--state-put-2): Don't process buffer state
1775 when buffer doesn't exist any more (Bug#15382).
1776
1e53bb4b
GM
17772013-09-15 Glenn Morris <rgm@gnu.org>
1778
30753242
GM
1779 * eshell/em-unix.el (eshell/rm):
1780 Make -f ignore missing files. (Bug#15373)
1781
1e53bb4b
GM
1782 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1783 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1784 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1785
0d8863b3
GM
17862013-09-14 Glenn Morris <rgm@gnu.org>
1787
1788 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1789
d3fc6549
GM
17902013-09-13 Glenn Morris <rgm@gnu.org>
1791
1792 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1793 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1794
fcd42c11
DA
17952013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1796
1797 * frame.el (x-focus-frame): Mark as declared in frame.c.
1798
7830899f
SM
17992013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * ls-lisp.el: Use advice-add.
1802 (original-insert-directory): Remove.
1803 (ls-lisp--insert-directory): Rename from insert-directory; add
1804 `orig-fun' argument.
1805 (insert-directory): Advise.
1806
84387cd2
EZ
18072013-09-13 Eli Zaretskii <eliz@gnu.org>
1808
1809 * term.el (term-emulate-terminal): Decode the command string
1810 before passing it to term-command-hook. (Bug#15337)
1811
35ffc6ba
GM
18122013-09-13 Glenn Morris <rgm@gnu.org>
1813
5c3f9bcc
GM
1814 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1815
2ada368a
GM
1816 * eshell/esh-ext.el (eshell-search-path): Declare.
1817
fcef2e13
GM
1818 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1819 Otherwise an error occurs if eshell-dirs module not loaded.
1820
35ffc6ba
GM
1821 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1822
35c3d36e
MA
18232013-09-13 Michael Albinus <michael.albinus@gmx.de>
1824
1825 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1826 `tramp-check-proper-host'. Check for a valid method name.
1827
1828 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1829 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1830 * net/tramp-sh.el (tramp-maybe-open-connection):
1831 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1832
1833 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1834 also for hash values.
1835
ae5e4c48
SM
18362013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1837
379add74
SM
1838 * term/ns-win.el (parameters): Don't declare as dynamic.
1839 (before-make-frame-hook): Don't add ineffective function.
1840
ae5e4c48
SM
1841 * eshell/*.el: Use lexical-binding (bug#15231).
1842
b5623270
KH
18432013-09-12 Kenichi Handa <handa@gnu.org>
1844
ae5e4c48 1845 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1846
30213927
GM
18472013-09-12 Glenn Morris <rgm@gnu.org>
1848
be94d713 1849 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1850 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1851
44915370
GM
1852 * subr.el (do-after-load-evaluation): Also give compiler warnings
1853 when obsolete files are used (except by obsolete files).
1854
a6ae021f
GM
1855 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1856 in the status output, assume `filename' is the first. (Bug#15322)
1857
40e64f0c
GM
1858 * vc/vc.el (vc-deduce-fileset): Doc fix.
1859
16d9f896
GM
1860 * calc/calc-help.el (Info-goto-node):
1861 * progmodes/cperl-mode.el (Info-find-node):
1862 * vc/ediff.el (Info-goto-node): Update declarations.
1863
dea01c6e
GM
1864 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1865
759880bf 1866 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1867 (vc-bzr-pull): Require vc-dispatcher.
1868 * vc/vc-git.el (vc-compilation-mode): Declare.
1869 (vc-git-pull): Require vc-dispatcher.
1870
08d66420
GM
1871 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1872
30b626e9
GM
1873 * progmodes/octave.el (help-button-action): Declare.
1874
8c05cb10
GM
1875 * shell.el (shell-directory-tracker): Output error as a message
1876 rather than just returning it as a string.
1877 (shell-process-pushd): Remove useless use of message.
1878
30213927
GM
1879 * dframe.el (dframe-timer-fn):
1880 * files.el (dir-locals-read-from-file):
1881 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1882 (mpc-format):
1883 * reveal.el (reveal-post-command):
1884 * saveplace.el (load-save-place-alist-from-file):
1885 * shell.el (shell-resync-dirs):
1886 * w32-common-fns.el (x-get-selection-value):
1887 * emacs-lisp/copyright.el (copyright-find-copyright):
1888 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1889 * emulation/tpu-edt.el (tpu-copy-keyfile):
1890 * play/bubbles.el (bubbles--mark-neighbourhood):
1891 * progmodes/executable.el
1892 (executable-make-buffer-file-executable-if-script-p):
1893 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1894
d3b049e6
SM
18952013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1896
170266d0
SM
1897 Cleanup Eshell to rely less on dynamic scoping.
1898 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1899 last-value, and ext-command here. Bind `args' closer to `body'.
1900 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1901 (eshell--args): Declare new dynamic var.
1902 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1903 last-value, and ext-command. Pass `args' to `body'.
1904 (eshell-process-args): Bind eshell--args.
1905 (eshell-set-option): Use eshell--args.
1906 * eshell/eshell.el (eshell): Use derived-mode-p.
1907 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1908 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1909 (eshell-glob-function): Declare.
1910 * eshell/esh-util.el: Require cl-lib.
1911 (eshell-read-hosts-file): Avoid add-to-list.
1912 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1913 `err'.
1914 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1915 Declare.
1916 (eshell/diff): Remove unused var `err'.
1917 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1918 `killflag'.
1919 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1920 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1921 first use.
1922 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1923 Move declaration before first use.
1924 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1925 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1926 rely on cl-return.
1927
56834f3b
GM
19282013-09-12 Glenn Morris <rgm@gnu.org>
1929
1930 * term/ns-win.el (global-map): Remove binding for ispell-next,
1931 deleted 1999-05-29. (Bug#15357)
1932
5c91a2b8
GM
19332013-09-11 Glenn Morris <rgm@gnu.org>
1934
da712f22
GM
1935 * echistory.el (electric-command-history): Remove call to deleted func.
1936
512e4cdc
GM
1937 * play/landmark.el (landmark-mode): Fix typos.
1938
d3506ca5
GM
1939 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1940 Check cvs-sort-ignore-file is bound.
1941
5c91a2b8
GM
1942 * savehist.el: No need for cl when compiling on Emacs.
1943
feeff482
SM
19442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1945
656bd483
SM
1946 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1947 (bug#15338).
d3b049e6
SM
1948 (eshell-self-insert-command, eshell-send-invisible):
1949 Remove unused argument.
656bd483
SM
1950 (eshell-handle-control-codes): Remove unused var `orig'.
1951 Avoid delete-backward-char.
1952
feeff482
SM
1953 * files.el (set-auto-mode): Simplify a bit further.
1954
2a08047a
GM
19552013-09-11 Glenn Morris <rgm@gnu.org>
1956
1957 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1958 (set-auto-mode): Don't regexp-quote elements.
1959 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1960 * progmodes/cc-mode.el (interpreter-mode-alist):
1961 * progmodes/ruby-mode.el (interpreter-mode-alist):
1962 Revert previous change.
1963
34675540
SM
19642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1b3b87df
SM
1966 * play/snake.el (snake-mode):
1967 * play/mpuz.el (mpuz-mode):
1968 * play/landmark.el (lm-mode):
1969 * play/blackbox.el (blackbox-mode):
1970 * play/5x5.el (5x5-mode):
1971 * obsolete/options.el (Edit-options-mode):
1972 * net/quickurl.el (quickurl-list-mode):
1973 * net/newst-treeview.el (newsticker-treeview-mode):
1974 * mail/rmailsum.el (rmail-summary-mode):
1975 * mail/mspools.el (mspools-mode):
1976 * locate.el (locate-mode):
1977 * ibuffer.el (ibuffer-mode):
1978 * emulation/ws-mode.el (wordstar-mode):
1979 * emacs-lisp/debug.el (debugger-mode):
1980 * array.el (array-mode):
1981 * net/eudc.el (eudc-mode): Use define-derived-mode.
1982 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1983 Move initialization into declaration.
1984 (mairix-searches-mode): Use define-derived-mode.
1985 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1986 (eudc-edit-hotlist): Use dolist.
1987 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1988 (Man-mode): Use define-derived-mode.
1989 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1990 (Info-edit-mode): Use define-derived-mode.
1991 (Info-cease-edit): Use Info-mode.
1992 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1993 into declaration.
1994 (eshell-mode): Use define-derived-mode.
1995 * chistory.el (command-history-mode-map): Rename from
1996 command-history-map.
1997 (command-history-mode): Use define-derived-mode.
da712f22 1998 (Command-history-setup): Remove function.
1b3b87df
SM
1999 * calc/calc.el (calc-trail-mode-map): New var.
2000 (calc-trail-mode): Use define-derived-mode.
2001 (calc-trail-buffer): Set calc-main-buffer manually.
2002 * bookmark.el (bookmark-insert-annotation): New function.
2003 (bookmark-edit-annotation): Use it.
2004 (bookmark-edit-annotation-mode): Make it a proper major mode.
2005 (bookmark-send-edited-annotation): Use derived-mode-p.
2006 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2007 closer to its ideal place. Use \' to match EOS.
2008
34675540
SM
2009 * profiler.el (profiler-calltree-find): Use function-equal.
2010
6a5c15d9
GM
20112013-09-10 Glenn Morris <rgm@gnu.org>
2012
1af4c220
GM
2013 * files.el (interpreter-mode-alist): Convert to regexps.
2014 (set-auto-mode): Adapt for this. (Bug#15306)
2015 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2016 Comment out unused variable.
2017 * progmodes/cc-mode.el (interpreter-mode-alist):
2018 * progmodes/python.el (interpreter-mode-alist):
2019 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2020 * progmodes/sh-script.el (sh-set-shell):
2021 No longer use interpreter-mode-alist to get list of shells.
2022
6a5c15d9
GM
2023 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2024
8c27f5ff
SM
20252013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2026
02ef6c1a 2027 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2028 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2029 Bind switch-frame explicitly. Replace universal-argument-minus with
2030 a conditional binding.
2031 (universal-argument-num-events, saved-overriding-map): Remove.
2032 (restore-overriding-map): Remove.
2033 (universal-argument--mode): Rename from save&set-overriding-map,
2034 and rewrite.
2035 (universal-argument, universal-argument-more, negative-argument)
2036 (digit-argument): Adjust accordingly.
2037 (universal-argument-minus): Remove.
2038 (universal-argument-other-key): Remove.
2039
8c27f5ff
SM
2040 * subr.el (with-demoted-errors): Add `format' argument.
2041
6480194c
MA
20422013-09-10 Michael Albinus <michael.albinus@gmx.de>
2043
2044 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2045 `tramp-cleanup-connection'.
2046
2047 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2048 parameters KEEP-DEBUG and KEEP-PASSWORD.
2049
2050 * net/tramp.el (tramp-file-name-handler):
2051 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2052 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2053 (tramp-maybe-open-connection):
8c27f5ff
SM
2054 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2055 Use `tramp-cleanup-connection'.
6480194c 2056
8c27f5ff
SM
2057 * net/tramp-sh.el (tramp-maybe-open-connection):
2058 Catch 'uname-changed inside the progress reporter.
6480194c 2059
e5e916d8
GM
20602013-09-10 Glenn Morris <rgm@gnu.org>
2061
9a2c9b47
GM
2062 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2063
e5e916d8
GM
2064 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2065 returns "alternate access method" in mode (eg "-rw-r--r--.").
2066
144e38fe
GM
20672013-09-08 Glenn Morris <rgm@gnu.org>
2068
2069 * saveplace.el (load-save-place-alist-from-file):
2070 Demote errors. (Bug#15305)
2071
af9ff9e8
MA
20722013-09-08 Michael Albinus <michael.albinus@gmx.de>
2073
2074 Improve compatibility with older Emacsen, and XEmacs.
2075
2076 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2077 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2078 (with-tramp-progress-reporter): Do not let-bind `result'.
2079 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2080 (tramp-handle-make-auto-save-file-name): New function, moved from
2081 tramp-sh.el.
2082
2083 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2084 for `make-auto-save-file-name'.
8c27f5ff
SM
2085 (tramp-adb--gnu-switches-to-ash):
2086 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2087
2088 * net/tramp-cache.el (tramp-cache-print): Call
2089 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2090
2091 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2092 bound. It isn't for XEmacs.
2093
8c27f5ff
SM
2094 * net/tramp-compat.el (tramp-compat-copy-file):
2095 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2096 (tramp-compat-replace-regexp-in-string): New defun.
2097
2098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2099 for `make-auto-save-file-name'.
2100 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2101 `copy-file'.
2102 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2103 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2104 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2105
8c27f5ff
SM
2106 * net/tramp-gw.el (tramp-gw-open-network-stream):
2107 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2108
8c27f5ff
SM
2109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2110 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2111 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2112 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2113 (tramp-sh-file-inotifywait-process-filter):
2114 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2115 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2116
2117 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2118 for `make-auto-save-file-name'.
8c27f5ff
SM
2119 (tramp-smb-handle-copy-directory):
2120 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2121 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2122 (tramp-smb-handle-copy-file): Improve error message.
2123 (tramp-smb-handle-rename-file): Rename directly only in case
2124 `newname' does not exist yet. This is a restriction of smbclient.
2125 (tramp-smb-maybe-open-connection): Rerun the function only when
2126 `auth-sources' is non-nil.
2127
0ca754d0
KH
21282013-09-08 Kenichi Handa <handa@gnu.org>
2129
2130 * international/characters.el: Set category "^" (Combining) for
2131 more characters.
2132
e8dd0787
AM
21332013-09-07 Alan Mackenzie <acm@muc.de>
2134
2135 Correctly fontify Java class constructors.
2136 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2137 in Java Mode.
2138 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2139 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2140 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2141 "typeless" declaration there.
2142
f2f248e7
RW
21432013-09-07 Roland Winkler <winkler@gnu.org>
2144
2145 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2146 field subtitle for entry type book.
2147
67982e2b
SM
21482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * minibuffer.el: Make minibuffer-complete call completion-in-region
2151 rather than other way around.
2152 (completion--some, completion-pcm--find-all-completions):
2153 Don't delay signals when debugging.
2154 (minibuffer-completion-contents): Beware fields within the
2155 minibuffer contents.
2156 (completion-all-sorted-completions): Use defvar-local.
2157 (completion--do-completion, completion--cache-all-sorted-completions)
2158 (completion-all-sorted-completions, minibuffer-force-complete):
2159 Add args `beg' and `end'.
2160 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2161 (minibuffer-complete): Use completion-in-region.
2162 (completion-complete-and-exit): New fun, extracted from
2163 minibuffer-complete-and-exit.
2164 (minibuffer-complete-and-exit): Use it.
2165 (completion--complete-and-exit): Rename from
2166 minibuffer--complete-and-exit.
2167 (completion-in-region--single-word): New function, extracted from
2168 minibuffer-complete-word.
2169 (minibuffer-complete-word): Use it.
2170 (display-completion-list): Make `common-substring' argument obsolete.
2171 (completion--in-region): Call completion--in-region-1 instead of
2172 minibuffer-complete.
2173 (completion-help-at-point): Pass boundaries to
2174 minibuffer-completion-help as args rather than via an overlay.
2175 (completion-pcm--string->pattern): Use `any-delim'.
2176 (completion-pcm--optimize-pattern): New function.
2177 (completion-pcm--pattern->regex): Handle `any-delim'.
2178 * icomplete.el (icomplete-forward-completions)
2179 (icomplete-backward-completions, icomplete-completions):
2180 Adjust calls to completion-all-sorted-completions and
2181 completion--cache-all-sorted-completions.
2182 (icomplete-with-completion-tables): Default to t.
2183 * emacs-lisp/crm.el (crm--current-element): Rename from
2184 crm--select-current-element. Don't put an overlay but return the
2185 boundaries instead.
2186 (crm--completion-command): Take two new args to bind to the boundaries.
2187 (crm-completion-help): Adjust accordingly.
2188 (crm-complete): Use completion-in-region.
2189 (crm-complete-word): Use completion-in-region--single-word.
2190 (crm-complete-and-exit): Use completion-complete-and-exit.
2191
e17d94a5
SM
21922013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2195 than dynamically.
2196
96727100
JL
21972013-09-06 Juri Linkov <juri@jurta.org>
2198
2199 * info.el (Info-display-images-node): When image file doesn't exist
2200 display text version of the image if it's provided in the Info file.
2201 Otherwise, display the location of missing image from SRC attribute.
2202 Add help-echo text property from ALT attribute. (Bug#15279)
2203
86cf7329
SM
22042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2207 (edit-abbrevs-mode): Use define-derived-mode.
2208
2209 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2210 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2211 that it's defined.
2212 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2213 Use define-derived-mode.
2214
2215 * epg.el (epg-start-encrypt): Minor CSE simplification.
2216
816244a2
WX
22172013-09-06 William Xu <william.xwl@gmail.com>
2218
2219 * arc-mode.el: Add support for 7za (bug#15264).
2220 (archive-7z-program): New var.
2221 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2222 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2223 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2224
1486fa31
MA
22252013-09-06 Michael Albinus <michael.albinus@gmx.de>
2226
2227 Remove URL syntax.
2228
2229 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2230 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2231 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2232 (tramp-postfix-host-format, tramp-file-name-regexp)
2233 (tramp-completion-file-name-regexp)
2234 (tramp-completion-dissect-file-name)
2235 (tramp-handle-substitute-in-file-name): Remove 'url case.
2236 (tramp-file-name-regexp-url)
2237 (tramp-completion-file-name-regexp-url): Remove constants.
2238
39785324
GM
22392013-09-06 Glenn Morris <rgm@gnu.org>
2240
2241 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2242
1f896cb7
DG
22432013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2244
2245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2246 keywords" below "here-doc beginnings" (Bug#15270).
2247
c0458e0b
SM
22482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * subr.el (pop): Use `car-safe'.
2251 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2252 to detect unused `pop' return value.
2253
2254 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2255 var `block-regexp'.
2256 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2257 (python-fill-string): Remove unused var `marker'.
2258 (python-skeleton-add-menu-items): Remove unused var `items'.
2259
2260 * international/mule-cmds.el: Require CL.
2261 (find-coding-systems-for-charsets): Avoid add-to-list.
2262 (sanitize-coding-system-list): New function, extracted from
2263 select-safe-coding-system-interactively.
2264 (select-safe-coding-system-interactively): Use it.
2265 (read-input-method-name): Accept symbols for `default'.
2266
2267 * emacs-lisp/advice.el (defadvice): Add indent rule.
2268
6c42fc3e
DH
22692013-09-05 Daniel Hackney <dan@haxney.org>
2270
2271 * dired-x.el:
2272 * net/ange-ftp.el:
2273 * net/browse-url.el:
2274 * net/dbus.el:
2275 * net/eudc.el:
2276 * net/eudcb-ldap.el:
2277 * net/eww.el:
2278 * net/imap.el:
2279 * printing.el:
2280 * vc/ediff-diff.el:
2281 * vc/ediff-init.el:
2282 * vc/ediff-merg.el:
2283 * vc/ediff-mult.el:
2284 * vc/ediff-util.el:
2285 * vc/ediff-wind.el:
2286 * vc/ediff.el:
2287 * vc/emerge.el:
2288 * vc/pcvs.el:
2289 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2290 byte compiler. Remove some unused let-bound variables.
2291
4c528aab
SM
22922013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2295 a "ref-cell", since it gets better optimized (bug#14883).
2296
bd15c390
GM
22972013-09-05 Glenn Morris <rgm@gnu.org>
2298
2299 * progmodes/cc-awk.el (c-forward-sws): Declare.
2300
1c3ac2e5
GM
23012013-09-04 Glenn Morris <rgm@gnu.org>
2302
2303 * generic-x.el [rul-generic-mode]: Require cc-mode.
2304 (c++-mode-syntax-table): Declare.
2305 (rul-generic-mode-syntax-table): Init in the defvar.
2306
52b1cc79
SM
23072013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2308
c828af56
SM
2309 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2310 (vc-do-command, vc-set-async-update):
2311 * vc/vc-mtn.el (vc-mtn-dir-status):
2312 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2313 (vc-hg-pull, vc-hg-merge-branch):
2314 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2315 (vc-git-merge-branch):
2316 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2317 (vc-cvs-dir-status-files):
2318 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2319 (vc-bzr-dir-status-files):
2320 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2321 * vc/vc-annotate.el: Use lexical-binding.
2322 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2323 (vc-sentinel-movepoint): Declare.
2324 (vc-annotate): Don't use `goto-line'.
2325 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2326 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2327 (vc-sentinel-movepoint): Declare.
2328 * vc/vc-svn.el: Use lexical-binding.
2329 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2330 * vc/vc-sccs.el:
2331 * vc/vc-rcs.el: Use lexical-binding.
2332
abae272c
SM
2333 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2334 `deleted'. Don't drop errors silently.
2335
52b1cc79
SM
2336 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2337
63191d9f
XF
23382013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2339
2340 * vc/vc.el (vc-ignore): Rewrite.
2341 (vc-default-ignore): New function.
2342 (vc-default-ignore-completion-table): Use find-ignore-file.
2343
2344 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2345 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2346 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2347 Remove. Most code moved to vc.el.
2348
9d3f707c
SM
23492013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2350
abae272c 2351 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2352 * net/tramp-smb.el (tramp-smb-get-file-entries):
2353 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2354 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2355
fde38d49
SM
2356 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2357 Update call to it.
2358 (eww-change-select): Remove unused var `properties'.
2359 (eww-make-unique-file-name): Remove unused var `base'.
2360
2361 * finder.el (finder-compile-keywords): Don't mess with windows.
2362
84032db7
SM
2363 * calculator.el (calculator-funcall): Fix typo in last change.
2364
724f5e41
SM
2365 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2366
14b511d4
SM
2367 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2368 <pkg>-autoloads.el file stop us.
2369
9d3f707c 2370 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2371 warnings, and factor out common code.
9d3f707c 2372
88527bc0
DG
23732013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2374
2375 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2376 two-character operators and whether the character preceding them
2377 changes their meaning (Bug#15208).
2378
96edb677
FEG
23792013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2380
2381 Format code sent to Python shell for robustness.
9d3f707c
SM
2382 * progmodes/python.el (python-shell-buffer-substring):
2383 New function.
96edb677
FEG
2384 (python-shell-send-region, python-shell-send-buffer): Use it.
2385
95beaef3
MA
23862013-09-02 Michael Albinus <michael.albinus@gmx.de>
2387
2388 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2389 * net/tramp.el (tramp-user-error): ... here.
2390 (tramp-find-method, tramp-check-proper-host)
2391 (tramp-dissect-file-name, tramp-debug-message)
2392 (tramp-handle-shell-command):
2393 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2395
2396 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2397
f167c27b
MR
23982013-09-02 Martin Rudalics <rudalics@gmx.at>
2399
2400 * avoid.el (mouse-avoidance-point-position)
2401 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2402 returns nil.
2403
cd16c5f1
FEG
24042013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2405
2406 * progmodes/python.el (python-shell-completion-get-completions):
2407 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2408 (python-nav-if-name-main): New command.
cd16c5f1 2409
e73c3a0d
GM
24102013-09-01 Glenn Morris <rgm@gnu.org>
2411
f8ccce03
GM
2412 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2413 Avoid leading space in $wins. Otherwise the sed command used by
2414 eg compile-main ends up containing "/*.el". (Bug#15170)
2415
e73c3a0d
GM
2416 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2417
415f808e
GM
24182013-08-30 Glenn Morris <rgm@gnu.org>
2419
2420 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2421 Fix is-this-a-directory logic. (Bug#15220)
2422
f069bba8
SM
24232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2424
112798c1
SM
2425 * textmodes/css-mode.el: Use SMIE.
2426 (css-smie-grammar): New var.
2427 (css-smie--forward-token, css-smie--backward-token)
2428 (css-smie-rules): New functions.
2429 (css-mode): Use them.
2430 (css-navigation-syntax-table): Remove var.
2431 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2432 (css-indent-calculate, css-indent-line): Remove functions.
2433
2434 Misc changes to reduce use of `(lambda...); and other cleanups.
2435 * cus-edit.el: Use lexical-binding.
2436 (customize-push-and-save, customize-apropos)
2437 (custom-buffer-create-internal): Use closures.
2438 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2439 * progmodes/ada-xref.el: Use setq.
2440 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2441 * dframe.el: Use lexical-binding.
2442 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2443 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2444 * descr-text.el: Use lexical-binding.
2445 (describe-text-widget, describe-text-sexp, describe-property-list):
2446 Use closures.
2447 * comint.el (comint-history-isearch-push-state): Use a closure.
2448 * calculator.el: Use lexical-binding.
2449 (calculator-number-to-string): Make it work with lexical-binding.
2450 (calculator-funcall): Same and use cl-letf.
2451
2da4c3ab
SM
2452 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2453 (lisp--company-doc-string, lisp--company-location): New functions.
2454 (lisp-completion-at-point): Use them to improve Company support.
2455
f069bba8
SM
2456 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2457 params of lambda expressions.
2458 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2459 (ruby-smie--opening-pipe-p): New function.
2460 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2461 symbols and matched |...| for formal params.
2462 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2463 from being treated as hanging. Handle "rescue".
2464
6758b6a8
GM
24652013-08-29 Glenn Morris <rgm@gnu.org>
2466
2467 * progmodes/cc-engine.el (c-pull-open-brace):
2468 Move definition before use.
2469
e8dfd197
SM
24702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2473 are immutable. Don't use `unsafe' any more.
2474 (cl--defsubst-expand): Don't substitute at the same time as keeping
2475 a residual unused let-binding. Don't use `unsafe' any more.
2476
cc585c96
GM
24772013-08-29 Glenn Morris <rgm@gnu.org>
2478
ba579ea6
GM
2479 * calendar/cal-china.el (calendar-chinese-year-cache):
2480 Recenter on 2015.
2481
8201a87e
GM
2482 * nxml/nxml-util.el (nxml-debug-clear-inside):
2483 Use cl-loop rather than loop.
2484
6ee877c7
GM
2485 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2486
cc585c96
GM
2487 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2488
27be8d39
GM
24892013-08-28 Glenn Morris <rgm@gnu.org>
2490
397440a1
GM
2491 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2492
2bb762d4
GM
2493 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2494
27be8d39
GM
2495 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2496
2d69b99e
SM
24972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2498
f663baa7
SM
2499 * simple.el (repeat-complex-command--called-interactively-skip):
2500 New function.
2501 (repeat-complex-command): Use it (bug#14136).
2502
dd4f8b74
SM
2503 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2504 (c-define-abbrev-table): Add `doc' argument.
2505 (c-mode-abbrev-table, c++-mode-abbrev-table)
2506 (objc-mode-abbrev-table, java-mode-abbrev-table)
2507 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2508 (awk-mode-abbrev-table): Use it.
2509 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2510 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2511 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2512 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2513 Move initialization into the declaration; and remove any
2514 autoload cookie.
2515
b58969f7
SM
2516 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2517 and dynamic let binding.
2518
4021d6a6
SM
2519 * vc/smerge-mode.el: Remove redundant :group args.
2520
2d69b99e
SM
2521 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2522 to load-path.
2523
274919fd
JL
25242013-08-28 Juri Linkov <juri@jurta.org>
2525
2526 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2527 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2528 (isearch-other-meta-char): Handle an undefined shifted printing
2529 character by downshifting it. (Bug#15200)
2530
121f8c95
JL
25312013-08-28 Juri Linkov <juri@jurta.org>
2532
2533 * isearch.el (isearch-search): Change regexp error message for
2534 non-regexp searches. (Bug#15166)
2535
50b13cde
PE
25362013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2537
2538 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2539 for portability to hosts where /bin/sh has problems.
2540
95888bca
SM
25412013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2544
bbe558f1
JL
25452013-08-27 Juri Linkov <juri@jurta.org>
2546
2547 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2548 in the keyboard macro. (Bug#15126)
2549
26f98a7d
JL
25502013-08-27 Juri Linkov <juri@jurta.org>
2551
2552 * isearch.el (isearch-quote-char): Comment out converting unibyte
2553 to multibyte, thus syncing with its `quoted-insert' counterpart.
2554 (Bug#15166)
2555
7c97d35e
MR
25562013-08-27 Martin Rudalics <rudalics@gmx.at>
2557
2558 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2559 argument in call of get-largest-window (Bug#15185).
2560 Reported by Stephen Leake.
7c97d35e 2561
a0b5606e 25622013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2563
2564 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2565
9e89d835
SM
25662013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2569 from a matcher-function unless there's no more matches (bug#15161).
2570
78fc2530
MA
25712013-08-26 Michael Albinus <michael.albinus@gmx.de>
2572
2573 * minibuffer.el: Revert change from 2013-08-20.
2574
2575 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2576 with text property `tramp-default', if appropriate.
2577 (tramp-check-proper-host): New defun.
2578 (tramp-dissect-file-name): Do not check hostname. Revert change
2579 of 2013-03-18.
2580 (tramp-backtrace): Make VEC-OR-PROC optional.
2581
2582 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2583 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2584 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2585 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2586 Apply `tramp-check-proper-host'.
78fc2530 2587
edca97cd
TH
25882013-08-26 Tassilo Horn <tsdh@gnu.org>
2589
2590 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2591 lambda expression in order to have `describe-variable' display it.
2592
df54bcbd
MA
25932013-08-26 Michael Albinus <michael.albinus@gmx.de>
2594
2595 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2596 BUF can be optional. (Bug#15186)
2597
eed99101
XF
25982013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2599
2600 * progmodes/flymake.el (flymake-get-real-file-name-function):
2601 Fix broken customization. (Bug#15184)
2602
b5eb9035
AM
26032013-08-25 Alan Mackenzie <acm@muc.de>
2604
8a51e842
AM
2605 Improve indentation of bracelists defined by macros (without "=").
2606
2607 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2608 expansion begins with "{", regard it as bracelist when it doesn't
2609 contain a ";".
2610
869455d4
AM
2611 Parse C++ inher-intro when there's a template split over 2 lines.
2612
2613 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2614 rigorously the search for "class" etc. followed by ":".
2615
2616 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2617 random languages a regexp which never matches rather than nil.
2618
b5eb9035
AM
2619 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2620
2621 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2622 (c-awk-regexp-one-line-possibly-open-char-list-re)
2623 (c-awk-one-line-possibly-open-regexp-re)
2624 (c-awk-one-line-non-syn-ws*-re): Remove.
2625 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2626 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2627 (c-awk-space*-unclosed-regexp-/-re): New constants.
2628 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2629 aren't regexp delimiters.
2630
2631 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2632 handling for a rare situation in AWK Mode involving unterminated
2633 strings/regexps.
2634
61611d54
GM
26352013-08-23 Glenn Morris <rgm@gnu.org>
2636
2d85dc34
GM
2637 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2638
cb8d2612
GM
2639 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2640
bb35f42f
GM
2641 * files.el (create-file-buffer): If the result would begin with
2642 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2643
b9808e77
SM
26442013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2645
e3a66363
SM
2646 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2647 text-properties (bug#15155).
2648
b9808e77
SM
2649 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2650 exist any more.
2651 (calc-keypad-redraw): Remove unused var `pad'.
2652 (calc-keypad-press): Remove unused var `menu'.
2653
7fd5f65e
MR
26542013-08-23 Martin Rudalics <rudalics@gmx.at>
2655
b9808e77
SM
2656 * window.el (display-buffer-pop-up-frame):
2657 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2658 use it as the new frame's buffer (Bug#15133).
2659
8352b530
SM
26602013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * calendar/timeclock.el: Minor cleanups.
2663 (timeclock-ask-before-exiting, timeclock-use-display-time):
2664 Use `symbol'.
2665 (timeclock-modeline-display): Define as alias before the
2666 actual definition.
2667 (timeclock-mode-line-display): Use define-minor-mode.
2668 (timeclock-day-list-template): Make it a function, add an argument.
2669 (timeclock-day-list-required, timeclock-day-list-length)
2670 (timeclock-day-list-debt, timeclock-day-list-span)
2671 (timeclock-day-list-break): Adjust calls accordingly.
2672
9f7b1925
SM
26732013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2676 Use read--expression so that completion works again.
2677
6e50e983
SS
26782013-08-21 Sam Steingold <sds@gnu.org>
2679
2680 Add rudimentary inferior shell interaction
2681 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2682 (sh-set-shell): Reset it.
9f7b1925
SM
2683 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2684 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2685
dbb0d350
SM
26862013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * align.el: Use lexical-binding.
2689 (align-region): Simplify accordingly.
2690
c88586a9
MA
26912013-08-20 Michael Albinus <michael.albinus@gmx.de>
2692
2693 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2694
2695 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2696 `non-essential' up.
2697
f95527c8
MA
26982013-08-17 Michael Albinus <michael.albinus@gmx.de>
2699
2700 * net/tramp.el:
2701 * net/tramp-adb.el:
2702 * net/tramp-cmds.el:
2703 * net/tramp-ftp.el:
2704 * net/tramp-gvfs.el:
2705 * net/tramp-gw.el:
2706 * net/tramp-sh.el: Don't wrap external variable declarations by
2707 `eval-when-compile'.
2708
4b5fe4ee
LMI
27092013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2710
2711 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2712 now that Emacs supports ImageMagick animations.
2713
13c366c9
MA
27142013-08-16 Michael Albinus <michael.albinus@gmx.de>
2715
2716 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2717 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2718
3dfc5cd6
MR
27192013-08-16 Martin Rudalics <rudalics@gmx.at>
2720
2721 * window.el (mouse-autoselect-window-select): Do autoselect when
2722 mouse pointer is on margin.
2723
4bbb4381
WP
27242013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2725
2726 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2727
3a2ddc2d
GM
27282013-08-16 Glenn Morris <rgm@gnu.org>
2729
e8bedf5a
GM
2730 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2731 Handle "Remote Directory" response of some clients. (Bug#15058)
2732
58c4682f
GM
2733 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2734 Tweak warning. (Bug#14926)
2735
57953f49
GM
2736 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2737 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2738
3a2ddc2d
GM
2739 * image-mode.el (image-mode-map): Add menu items to reverse,
2740 increase, decrease, reset animation speed.
2741 (image--set-speed, image-increase-speed, image-decrease-speed)
2742 (image-reverse-speed, image-reset-speed): New functions.
2743 (image-mode-map): Add bindings for speed commands.
2744
2745 * image.el (image-animate-get-speed, image-animate-set-speed):
2746 New functions.
2747 (image-animate-timeout): Respect image :speed property.
2748
10fa0ed3
SM
27492013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2752 previous line (bug#15101).
2753 (debugger-eval-expression, debugger-record-expression):
2754 Use read--expression (bug#15102).
2755
5d89d9d2
MA
27562013-08-15 Michael Albinus <michael.albinus@gmx.de>
2757
2758 Remove byte compiler warnings, visible when compiling with
2759 `byte-compile-force-lexical-warnings' set to t.
2760
2761 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2762 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2763 (tramp-handle-unhandled-file-name-directory)
2764 (tramp-handle-file-notify-add-watch, tramp-action-login)
2765 (tramp-action-succeed, tramp-action-permission-denied)
2766 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2767 arguments with "_".
2768
2769 * net/tramp-adb.el (tramp-adb-parse-device-names)
2770 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2771 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2772 (tramp-adb-handle-file-truename): Remove unused arguments.
2773
2774 * net/tramp-cache.el (tramp-flush-directory-property)
2775 (tramp-flush-connection-property, tramp-list-connections)
2776 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2777
10fa0ed3
SM
2778 * net/tramp-compat.el (tramp-compat-make-temp-file):
2779 Rename FILENAME to F.
5d89d9d2
MA
2780
2781 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2782 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2783 (tramp-zeroconf-parse-workstation-device-names)
2784 (tramp-zeroconf-parse-webdav-device-names)
2785 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2786
2787 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2788 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2789
2790 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2791 arguments.
2792 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2793 (tramp-sh-handle-insert-file-contents-literally)
2794 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2795 with "_".
2796 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2797 Remove unused variables.
2798
2799 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2800 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2801 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2802
2803 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2804 Make them a defconst.
2805 (tramp-uuencode-region): Remove unused variable.
2806
62f33bae
JB
28072013-08-14 Juanma Barranquero <lekktu@gmail.com>
2808
2809 * frameset.el (frameset--prop-setter): New function.
2810 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2811 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2812 parameter was already set in FILTERED. Doc fix.
2813 (frameset--record-minibuffer-relationships): Allow saving a
2814 minibufferless frame without its corresponding minibuffer frame.
2815 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2816 frame, if the frame id matches.
2817 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2818 frames before orphaned ones.
2819 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2820
c660a885
MR
28212013-08-14 Martin Rudalics <rudalics@gmx.at>
2822
2823 * window.el (window-make-atom): Don't overwrite parameter
2824 already present.
2825 (display-buffer-in-atom-window): Handle special case where we
2826 split an already atomic window.
2827 (window--major-non-side-window, display-buffer-in-side-window)
2828 (window--side-check): Ignore minibuffer window when walking
2829 window tree.
2830 (window-deletable-p): Return 'frame only if no other frame uses
2831 our minibuffer window.
2832 (record-window-buffer): Run buffer-list-update-hook.
2833 (split-window): Make sure window--check-frame won't destroy an
2834 existing atomic window in case the new window gets nested
2835 inside.
2836 (display-buffer-at-bottom): Ignore minibuffer window when
2837 walking window tree. Don't split a side window.
2838 (pop-to-buffer): Don't set-buffer here, the select-window call
2839 should do that.
2840 (mouse-autoselect-window-select): Autoselect only if we are in the
2841 text portion of the window.
2842
8259030d
LMI
28432013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2844
21c58ae2
LMI
2845 * net/shr.el (shr-parse-image-data): New function to grab both the
2846 data itself and the Content-Type.
2847 (shr-put-image): Use it.
2848
2849 * net/eww.el (eww-display-image): Ditto.
2850
8259030d
LMI
2851 * image.el (image-content-type-suffixes): New variable.
2852
ad756449
FEG
28532013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2854
2855 * progmodes/python.el (python-imenu--build-tree)
2856 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2857
f73f4ce6
XF
28582013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2859
2860 * simple.el (backward-word): Mention the optional argument.
2861
1f585e65
SM
28622013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * frameset.el (frameset--make): Rename constructor from make-frameset.
2865 (frameset-p, frameset-valid-p): Don't autoload.
2866 (frameset-valid-p): Use normal accessors.
2867
af1c6c84
GM
28682013-08-13 Glenn Morris <rgm@gnu.org>
2869
55e47f95
GM
2870 * progmodes/compile.el (compile-command): Tweak example in doc.
2871 * obsolete/scribe.el (scribe-mode):
2872 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2873
f0024d8c
GM
2874 * mail/feedmail.el (feedmail-confirm-outgoing)
2875 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2876
2877 * cus-start.el (truncate-partial-width-windows): Fix type.
2878
2879 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2880
af1c6c84
GM
2881 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2882
5514cc4c
SM
28832013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * emacs-lisp/timer.el (timer--time-setter): New function.
2886 (timer--time): Use it as gv-setter.
2887
2888 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2889 setter is not a symbol.
2890
7997a2f1
GJ
28912013-08-12 Grégoire Jadi <daimrod@gmail.com>
2892
2893 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2894 if sending fails. This makes debugging easier.
2895
01f1a9ab
JB
28962013-08-12 Juanma Barranquero <lekktu@gmail.com>
2897
2898 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2899 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2900 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2901
594a4307
EZ
29022013-08-12 Eli Zaretskii <eliz@gnu.org>
2903
2904 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2905
7a22490f 29062013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2907
2908 * format.el (format-annotate-function):
2909 Handle read-only text properties in the source. (Bug#14887)
2910
3e41a054
LMI
29112013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2912
5514cc4c
SM
2913 * net/eww.el (eww-display-html): Ignore coding system errors.
2914 One web site uses "utf-8lias" as the coding system.
3e41a054 2915
7ec326db
JB
29162013-08-11 Juanma Barranquero <lekktu@gmail.com>
2917
2918 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2919
5660113b
JB
29202013-08-10 Juanma Barranquero <lekktu@gmail.com>
2921
9a4ebc74
JB
2922 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2923 (tutorial--detailed-help): Remove unused local variables.
2924 (tutorial--save-tutorial-to): Use ignore-errors.
2925 (help-with-tutorial): Use looking-at-p.
2926
2927 * view.el (view-buffer-other-window, view-buffer-other-frame):
2928 Mark unused arguments.
2929
2930 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2931 (woman-select-symbol-fonts, woman, woman-find-file)
2932 (woman-insert-file-contents, woman-non-underline-faces):
2933 Use string-match-p.
2934 (woman1-unquote): Move declaration.
2935
2936 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2937 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2938 argument. Remove unused local variable.
2939 (xml-parse-elem-type): Use string-match-p.
2940 (xml-substitute-numeric-entities): Use ignore-errors.
2941
45fdb482
JB
2942 * calculator.el (calculator): Mark unused argument.
2943 (calculator-paste, calculator-quit, calculator-integer-p):
2944 Use ignore-errors.
2945 (calculator-string-to-number, calculator-decimal, calculator-exp)
2946 (calculator-op-or-exp): Use string-match-p.
2947
2948 * dired.el (dired-buffer-more-recently-used-p): Declare.
2949 (dired-insert-set-properties, dired-insert-old-subdirs):
2950 Use ignore-errors.
2951
2952 * dired-aux.el (dired-compress): Use ignore-errors.
2953 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2954 (dired-do-async-shell-command, dired-do-shell-command)
2955 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2956 (dired-insert-subdir-validate): Use string-match-p.
2957 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2958 (dired-add-entry): Use string-match-p, looking-at-p.
2959 (dired-insert-subdir-newpos): Remove unused local variable.
2960
2961 * filenotify.el (file-notify-callback): Remove unused local variable.
2962
2963 * filesets.el (filesets-error): Mark unused argument.
2964 (filesets-which-command-p, filesets-filter-dir-names)
2965 (filesets-directory-files, filesets-get-external-viewer)
2966 (filesets-ingroup-get-data): Use string-match-p.
2967
2968 * find-file.el (ff-other-file-name, ff-other-file-name)
2969 (ff-find-the-other-file, ff-cc-hh-converter):
2970 Remove unused local variables.
2971 (ff-get-file-name): Use string-match-p.
2972 (ff-all-dirs-under): Use ignore-errors.
2973
2974 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2975 (follow-select-if-visible): Remove unused local variable.
2976
2977 * forms.el (read-file-filter): Move declaration.
2978 (forms--make-format, forms--make-parser, forms-insert-record):
2979 Quote function with #'.
2980 (forms--update): Use string-match-p. Quote function with #'.
2981
2982 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2983 (help-make-xrefs): Use looking-at-p.
2984 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2985
2986 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2987 (ibuffer-confirm-operation-on): Use string-match-p.
2988
2989 * msb.el (msb-item-handler, msb-dired-item-handler):
2990 Mark unused arguments.
2991
2992 * ses.el (ses-decode-cell-symbol)
2993 (ses-kill-override): Remove unused local variable.
2994 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2995 (ses-load): Use ignore-errors, looking-at-p.
2996 (ses-jump-safe): Use ignore-errors.
2997 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2998
2999 * tabify.el (untabify, tabify): Mark unused arguments.
3000
3001 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3002 Mark unused argument.
3003 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3004 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3005
c880af52
JB
3006 * emacs-lisp/timer.el (timer--time): Define setter with
3007 gv-define-setter to avoid deprecation warning.
3008
5660113b 3009 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3010 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3011 (cmpl-statistics-block): Remove (body was commented out).
3012 All callers changed.
3013 (add-completions-from-buffer, load-completions-from-file):
3014 Remove unused variables.
3015
156aab80
JB
30162013-08-09 Juanma Barranquero <lekktu@gmail.com>
3017
5c5dee78
JB
3018 * filecache.el (file-cache-delete-file-list):
3019 Print message only when told so.
3020 (file-cache-files-matching): Use #' in mapconcat argument.
3021
156aab80
JB
3022 * ffap.el (ffap-url-at-point): Fix reference to variable
3023 thing-at-point-default-mail-uri-scheme.
3024
ad9dcd70
SM
30252013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3026
54bd972f
SM
3027 * subr.el (define-error): New function.
3028 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3029 error-file-not-found and define with define-error.
3030 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3031 and define with define-error.
3032 * userlock.el (file-locked, file-supersession):
3033 * simple.el (mark-inactive):
3034 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3035 * progmodes/ada-mode.el (ada-mode-errors):
3036 * play/life.el (life-extinct):
3037 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3038 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3039 * nxml/rng-util.el (rng-error):
3040 * nxml/rng-uri.el (rng-uri-error):
3041 * nxml/rng-match.el (rng-compile-error):
3042 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3043 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3044 * nxml/nxml-rap.el (nxml-scan-error):
3045 * nxml/nxml-outln.el (nxml-outline-error):
3046 * net/soap-client.el (soap-error):
3047 * net/gnutls.el (gnutls-error):
3048 * net/ange-ftp.el (ftp-error):
3049 * mpc.el (mpc-proc-error):
3050 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3051 (json-number-format, json-string-escape, json-string-format)
3052 (json-key-format, json-object-format):
3053 * jka-compr.el (compression-error):
3054 * international/quail.el (quail-error):
3055 * international/kkc.el (kkc-error):
3056 * emacs-lisp/ert.el (ert-test-failed):
3057 * calc/calc.el (calc-error, inexact-result, math-overflow)
3058 (math-underflow):
3059 * bookmark.el (bookmark-error-no-filename):
3060 * epg.el (epg-error): Define with define-error.
3061
0ea9e53a
SM
3062 * time.el (display-time-event-handler)
3063 (display-time-next-load-average): Don't call sit-for since it seems
3064 unnecessary (bug#15045).
3065
b0429158
SM
3066 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3067 Use #' instead of ' to quote functions.
3068 (checkdoc-output-mode): Use setq-local.
3069 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3070 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3071 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3072 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3073 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3074 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3075 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3076 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3077
ad9dcd70
SM
3078 * ido.el (ido-completion-help): Fix up compiler warning.
3079
77187e6f
JB
30802013-08-09 Juanma Barranquero <lekktu@gmail.com>
3081
3082 * frameset.el (frameset-p): Add autoload cookie.
3083 (frameset--jump-to-register): New function, based on code moved from
3084 register.el.
3085 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3086
3087 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3088 (frameset-restore, frameset-save, frameset-session-filter-alist):
3089 Remove declarations.
3090 (register-alist): Doc fix.
3091 (frameset-to-register): Move to frameset.el.
3092 (jump-to-register, describe-register-1): Remove frameset-specific code.
3093
9d3aa82c
JB
30942013-08-08 Juanma Barranquero <lekktu@gmail.com>
3095
3096 * allout-widgets.el (allout-widgets-pre-command-business)
3097 (allout-widgets-post-command-business)
3098 (allout-widgets-after-change-handler)
3099 (allout-decorate-item-and-context, allout-set-boundary-marker)
3100 (allout-body-modification-handler)
3101 (allout-graphics-modification-handler): Mark ignored arguments.
3102 (allout-widgets-post-command-business)
3103 (allout-widgets-exposure-change-processor)
3104 (allout-widgets-exposure-undo-processor)
3105 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3106 (allout-parse-item-at-point, allout-decorate-item-guides)
3107 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3108 * allout.el (epa-passphrase-callback-function): Declare.
3109 (allout-overlay-insert-in-front-handler)
3110 (allout-overlay-interior-modification-handler)
3111 (allout-isearch-end-handler, allout-chart-siblings)
3112 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3113 (allout-yank-processing, allout-process-exposed)
3114 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3115 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3116 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3117 (lisp-indent-defform): Mark ignored arguments.
3118 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3119 (calculate-lisp-indent): Remove unused variables.
3120 * international/characters.el (indian-2-column, arabic-2-column)
3121 (tibetan): Mark ignored arguments.
3122 (use-cjk-char-width-table): Mark ignored arguments.
3123 Remove unused variables.
3124 * international/fontset.el (build-default-fontset-data)
3125 (x-compose-font-name, create-fontset-from-fontset-spec):
3126 Mark ignored arguments.
3127 (fontset-plain-name): Remove unused variables.
3128 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3129 (keyboard-coding-system): Mark ignored arguments.
3130 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3131 * help.el (resize-temp-buffer-window):
3132 * window.el (display-buffer-in-major-side-window)
3133 (display-buffer-in-side-window, display-buffer-in-previous-window):
3134 Remove unused variables.
3135 * isearch.el (isearch-forward-symbol):
3136 * version.el (emacs-bzr-version-bzr):
3137 * international/mule-cmds.el (current-language-environment):
3138 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3139 (x-handle-display):
3140 * term/pc-win.el (x-list-fonts, x-display-planes)
3141 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3142 (x-server-version, x-display-screens, x-display-mm-height)
3143 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3144 (x-selection-owner-p, x-own-selection-internal)
3145 (x-disown-selection-internal, x-get-selection-internal)
3146 (msdos-initialize-window-system):
3147 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3148 * term/x-win.el (x-handle-no-bitmap-icon):
3149 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3150 (vc-default-find-file-hook, vc-default-extra-menu):
3151 Mark ignored arguments.
3152
0ca3f70e
SM
31532013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3156 break-condition in the context of the debugged code (bug#12685).
3157
74c5d24c
CS
31582013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3159
3160 * comint.el:
3161 Do not use an overlay to highlight the last prompt. (Bug#14744)
3162 (comint-mode): Make comint-last-prompt buffer local.
3163 (comint-last-prompt): New variable.
3164 (comint-last-prompt-overlay): Remove. Superseded by
3165 comint-last-prompt.
0ca3f70e
SM
3166 (comint-snapshot-last-prompt, comint-output-filter):
3167 Use comint-last-prompt.
74c5d24c 3168
c03c02ee
JB
31692013-08-08 Juanma Barranquero <lekktu@gmail.com>
3170
a3738d20 3171 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3172 (frameset-save): Check validity of the resulting frameset.
3173
04263d23
XF
31742013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3175
3176 * ido.el (ido-record-command): Add doc string.
3177
76c5e5ab
JB
31782013-08-08 Juanma Barranquero <lekktu@gmail.com>
3179
3180 * frameset.el (frameset): Do not disable creation of the default
3181 frameset-p predicate. Doc fix.
3182 (frameset-valid-p): New function, copied from the old predicate-p.
3183 Add additional checks.
3184 (frameset-restore): Check with frameset-valid-p.
3185 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3186 (frameset-name, frameset-description, frameset-properties)
3187 (frameset-states): Add docstring.
f9dbf1cb
JB
3188 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3189 (frameset-filter-alist): Doc fixes.
76c5e5ab 3190
bd0c3c0b
JB
31912013-08-08 Juanma Barranquero <lekktu@gmail.com>
3192
3193 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3194
c735544c
SM
31952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3198 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3199 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3200 (byte-compile-normal-call): Remove obsolescence check.
3201
2805a651
JB
32022013-08-08 Juanma Barranquero <lekktu@gmail.com>
3203
3677ffeb
JB
3204 * frameset.el (frameset-restore): Doc fix.
3205
2805a651
JB
3206 * register.el (frameset-frame-id, frameset-frame-with-id)
3207 (frameset-p, frameset-restore, frameset-save): Declare.
3208 (register-alist): Document framesets.
3209 (frameset-session-filter-alist): Declare.
3210 (frameset-to-register): New function.
3211 (jump-to-register): Implement jumping to framesets. Doc fix.
3212 (describe-register-1): Describe framesets.
3213
3214 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3215
a912c016
JB
32162013-08-07 Juanma Barranquero <lekktu@gmail.com>
3217
3218 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3219 Use lexical-binding.
3220
3221 * frameset.el (frameset): Use type vector, not list (incompatible
3222 change). Do not declare a new constructor, use the default one.
3223 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3224 `name' and `description', respectively, and add read-only slot
3225 `timestamp'. Doc fixes.
3226 (frameset-copy, frameset-persistent-filter-alist)
3227 (frameset-filter-alist, frameset-switch-to-gui-p)
3228 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3229 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3230 (frameset-filter-iconified, frameset-keep-original-display-p):
3231 Doc fixes.
3232 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3233 Rename from frameset-filter-(save|restore)-param. All callers changed.
3234 Doc fix.
3235 (frameset-p): Adapt to change to vector and be more thorough.
3236 Change arg name to OBJECT. Doc fix.
3237 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3238 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3239 All callers changed.
3240 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3241 All callers changed.
3242 (frameset--record-minibuffer-relationships): Rename from
3243 frameset--process-minibuffer-frames. All callers changed.
3244 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3245 Use new default constructor (again). Doc fix.
3246 (frameset--find-frame-if): Rename from `frameset--find-frame.
3247 All callers changed.
3248 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3249 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3250 Doc fix.
3251 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3252 PARAMETERS and WINDOW-STATE, respectively.
3253 (frameset-restore): Add new keyword argument PREDICATE.
3254 Reset frameset--target-display to nil. Doc fix.
3255
bb41480a
SM
32562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3257
f001e98e
SM
3258 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3259 (bat-mode): Use it.
3260 (bat-mode-syntax-table): Mark \n as end-of-comment.
3261 (bat-font-lock-keywords): Remove comment rule.
3262
7679edb1
SM
3263 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3264 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3265
bb41480a
SM
3266 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3267 (byte-compile-callargs-warn): Use `push'.
3268 (byte-compile-arglist-warn): Ignore higher-order "calls".
3269 (byte-compile-file-form-autoload): Use `pcase'.
3270 (byte-compile-function-form): If quoting a symbol, check that it exists.
3271
cdc1ebb9
EZ
32722013-08-07 Eli Zaretskii <eliz@gnu.org>
3273
3274 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3275 and add a few popular commands found in batch files.
3276 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3277 (dos-mode): Doc fixes.
3278
312b1740
SM
32792013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3282 (dos-mode): Use setq-local. Add space after "rem".
3283 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3284 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3285
400a3178
AM
32862013-08-07 Arni Magnusson <arnima@hafro.is>
3287
3288 * progmodes/dos.el: New file.
3289 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3290 dos-mode.
3291
3b5c03d3
GM
32922013-08-06 Glenn Morris <rgm@gnu.org>
3293
3294 * calendar/calendar.el: Add new faces, and day-header-array.
3295 (calendar-weekday-header, calendar-weekend-header)
3296 (calendar-month-header): New faces.
3297 (calendar-day-header-construct): New function.
3298 (calendar-day-header-width): Also :set calendar-day-header-array.
3299 (calendar-american-month-header, calendar-european-month-header)
3300 (calendar-iso-month-header): Use calendar- faces.
3301 (calendar-generate-month):
3302 Use calendar-day-header-array for day headers; apply faces to them.
3303 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3304 (calendar-abbrev-construct): Add optional maxlen argument.
3305 (calendar-day-name-array): Doc fix.
3306 (calendar-day-name-array, calendar-abbrev-length)
3307 (calendar-day-abbrev-array):
3308 Also :set calendar-day-header-array, and maybe redraw.
3309 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3310 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3311 (calendar-day-name): Add option to use header array.
3312
ec6a2d7a
LMI
33132013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3314
3315 * net/shr.el (shr-render-td): Remove debugging.
3316 (shr-render-td): Make width computation consistent by defaulting
3317 all zero-width columns to 10 characters. This may not be optimal,
3318 but it's at least consistent.
2122cb6d
LMI
3319 (shr-make-table-1): Redo last change to fix the real problem in
3320 colspan handling.
ec6a2d7a 3321
ed4fd9c5
DA
33222013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3323
0ca3f70e
SM
3324 * files.el (cache-long-line-scans):
3325 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3326
64e22afe
JB
33272013-08-06 Juanma Barranquero <lekktu@gmail.com>
3328
024b38fc
JB
3329 * frameset.el (frameset, frameset-filter-alist)
3330 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3331 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3332 (frameset-compute-pos): Rename from frameset--compute-pos,
3333 and add docstring.
3334 (frameset-move-onscreen): Use frameset-compute-pos.
3335 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3336
64e22afe
JB
3337 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3338 Fix typos in docstrings.
3339
c8c2aca8
DA
33402013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3341
3342 * frame.el (get-other-frame): Tiny cleanup.
3343
1d237bba
JB
33442013-08-06 Juanma Barranquero <lekktu@gmail.com>
3345
8951efef
JB
3346 * vc/vc.el (vc-default-ignore-completion-table):
3347 Silence byte-compiler warning.
3348
307764cc
JB
3349 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3350 slot , which can indeed be nil.
3351 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3352 Move entry for `left' from persistent to live filter alist.
3353 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3354 Doc fixes.
3355 (frameset-filter-params): When restoring a frame, copy items added to
3356 `filtered', to avoid unwittingly modifying the original parameters.
3357 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3358 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3359
1d237bba
JB
3360 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3361 to use looking-at-p instead of looking-at. (Bug#15028)
3362
dc6c0eda
SM
33632013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 Revert introduction of isearch-filter-predicates (bug#14714).
3366 Rely on add-function instead.
3367 * isearch.el (isearch-filter-predicates): Rename it back to
3368 isearch-filter-predicate.
3369 (isearch-message-prefix): Use advice-function-mapc and advice
3370 properties to get the isearch-message-prefix.
3371 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3372 instead of run-hook-with-args-until-failure.
3373 (isearch-filter-visible): Not obsolete any more.
3374 * loadup.el: Preload nadvice.
3375 * replace.el (perform-replace): Revert to funcall
3376 instead of run-hook-with-args-until-failure.
3377 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3378 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3379 dired-isearch-filenames-toggle; make it into a proper minor mode.
3380 Use add/remove-function.
3381 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3382 Call the minor-mode rather than add/remove-hook.
3383 (dired-isearch-filter-filenames):
3384 Remove isearch-message-prefix property.
3385 * info.el (Info--search-loop): New function, extracted from Info-search.
3386 Funcall isearch-filter-predicate instead of
3387 run-hook-with-args-until-failure isearch-filter-predicates.
3388 (Info-search): Use it.
3389 (Info-mode): Use isearch-filter-predicate instead of
3390 isearch-filter-predicates.
3391
290d5b58
DA
33922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3393
3394 Do not call to `selected-window' where it is assumed by default.
3395 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3396 `window-hscroll', `window-width', `window-height', `window-buffer',
3397 `window-frame', `window-start', `window-point', `next-window'
3398 and `window-display-table'.
3399 * abbrev.el (abbrev--default-expand):
3400 * bs.el (bs--show-with-configuration):
3401 * buff-menu.el (Buffer-menu-mouse-select):
3402 * calc/calc.el (calc):
3403 * calendar/calendar.el (calendar-generate-window):
3404 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3405 (diary-make-entry):
3406 * comint.el (send-invisible, comint-dynamic-complete-filename)
3407 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3408 * completion.el (complete):
3409 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3410 * disp-table.el (describe-current-display-table):
3411 * doc-view.el (doc-view-insert-image):
3412 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3413 * ehelp.el (with-electric-help):
3414 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3415 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3416 * emacs-lisp/helper.el (Helper-help-scroller):
3417 * emulation/cua-base.el (cua--post-command-handler-1):
3418 * eshell/esh-mode.el (eshell-output-filter):
3419 * ffap.el (ffap-gnus-wrapper):
3420 * help-macro.el (make-help-screen):
3421 * hilit-chg.el (highlight-compare-buffers):
3422 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3423 * hl-line.el (global-hl-line-highlight):
3424 * icomplete.el (icomplete-simple-completing-p):
3425 * isearch.el (isearch-done):
3426 * jit-lock.el (jit-lock-stealth-fontify):
3427 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3428 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3429 * mpc.el (mpc-tagbrowser, mpc):
3430 * net/rcirc.el (rcirc-any-buffer):
3431 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3432 * play/landmark.el (landmark-max-width, landmark-max-height):
3433 * play/zone.el (zone):
3434 * progmodes/compile.el (compilation-goto-locus):
3435 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3436 * progmodes/etags.el (find-tag-other-window):
3437 * progmodes/fortran.el (fortran-column-ruler):
3438 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3439 * progmodes/verilog-mode.el (verilog-point-text):
3440 * reposition.el (reposition-window):
3441 * rot13.el (toggle-rot13-mode):
3442 * server.el (server-switch-buffer):
3443 * shell.el (shell-dynamic-complete-command)
3444 (shell-dynamic-complete-environment-variable):
3445 * simple.el (insert-buffer, set-selective-display)
3446 (delete-completion-window):
3447 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3448 (speedbar-recenter):
3449 * startup.el (fancy-splash-head):
3450 * textmodes/ispell.el (ispell-command-loop):
3451 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3452 * tutorial.el (help-with-tutorial):
3453 * vc/add-log.el (add-change-log-entry):
3454 * vc/compare-w.el (compare-windows):
3455 * vc/ediff-help.el (ediff-indent-help-message):
3456 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3457 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3458 (ediff-setup-control-frame):
3459 * vc/emerge.el (emerge-position-region):
3460 * vc/pcvs-util.el (cvs-bury-buffer):
3461 * window.el (walk-windows, mouse-autoselect-window-select):
3462 * winner.el (winner-set-conf, winner-undo): Related users changed.
3463
38276e01
JB
34642013-08-05 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * frameset.el (frameset--set-id): Doc fix.
3467 (frameset-frame-id, frameset-frame-id-equal-p)
3468 (frameset-locate-frame-id): New functions.
3469 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3470 (frameset-restore): Use them.
3471
12b4c0ea
DA
34722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3473
3474 Do not call to `selected-frame' where it is assumed by default.
3475 Affected functions are `raise-frame', `redraw-frame',
3476 `frame-first-window', `frame-terminal' and `delete-frame'.
3477 * calendar/appt.el (appt-disp-window):
3478 * epg.el (epg-wait-for-completion):
3479 * follow.el (follow-delete-other-windows-and-split)
3480 (follow-avoid-tail-recenter):
3481 * international/mule.el (set-terminal-coding-system):
3482 * mail/rmail.el (rmail-mail-return):
3483 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3484 * progmodes/f90.el (f90-add-imenu-menu):
3485 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3486 * server.el (server-switch-buffer):
3487 * simple.el (delete-completion-window):
3488 * talk.el (talk):
3489 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3490 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3491 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3492 * vc/ediff.el (ediff-documentation): Related users changed.
3493 * frame.el (selected-terminal): Remove the leftover.
3494
17f25e76
GM
34952013-08-05 Glenn Morris <rgm@gnu.org>
3496
3497 * calendar/calendar.el (calendar-generate-month):
3498 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3499 (calendar-generate-month, calendar-font-lock-keywords):
3500 Fix for calendar-day-header-width > length of any day name.
17f25e76 3501
063233c3
JB
35022013-08-05 Juanma Barranquero <lekktu@gmail.com>
3503
3504 * desktop.el (desktop-clear): Use new name of sort predicate.
3505
3506 * frameset.el (frameset): Add docstring. Move :version property to its
3507 own `version' slot.
3508 (frameset-copy): Rename from copy-frameset.
3509 (frameset-p): Check more thoroughly.
3510 (frameset-prop): Do not check for :version, which is no longer a prop.
3511 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3512 Use new :never value instead of t.
3513 (frameset-filter-alist): Expand and clarify docstring.
3514 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3515 (frameset-filter-minibuffer, frameset-filter-save-param)
3516 (frameset-filter-restore-param, frameset-filter-iconified):
3517 Add pointer to docstring of frameset-filter-alist.
3518 (frameset-filter-params): Rename filter values to be more meaningful:
3519 :never instead of t, and reverse the meanings of :save and :restore.
3520 (frameset--process-minibuffer-frames): Clarify error message.
3521 (frameset-save): Avoid unnecessary and confusing call to framep.
3522 Use new BOA constructor for framesets.
3523 (frameset--reuse-list): Doc fix.
3524 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3525 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3526 (frameset-minibufferless-first-p): Doc fix.
3527 Rename from frameset-sort-frames-for-deletion.
3528 (frameset-restore): Doc fixes. Use new function names.
3529 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3530
d5671a82
JB
35312013-08-04 Juanma Barranquero <lekktu@gmail.com>
3532
3533 * desktop.el (desktop-restore-forces-onscreen)
3534 (desktop-restore-reuses-frames): Document :keyword constant values.
3535 (desktop-filter-parameters-alist): Remove, now identical to
3536 frameset-filter-alist.
3537 (desktop--filter-tty*): Remove, moved to frameset.el.
3538 (desktop-save-frameset, desktop-restore-frameset):
3539 Do not pass :filters argument.
3540
3541 * frameset.el (frameset-live-filter-alist)
3542 (frameset-persistent-filter-alist): New variables.
3543 (frameset-filter-alist): Use them. Add autoload cookie.
3544 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3545 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3546 `frameset--id' (it's supposed to be internal to frameset.el).
3547 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3548 (frameset--initial-params): New function.
3549 (frameset--get-frame): Use it. Doc fix.
3550 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3551 Accept :all, not 'all.
3552 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3553 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3554 with fbound symbols. Fix frame id matching, and remove matching ids if
3555 the frame being restored is deleted. Obey :delete.
3556
671d5c16
SM
35572013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * subr.el (macrop): New function.
3560 (text-clone--maintaining): New var.
3561 (text-clone--maintain): Rename from text-clone-maintain. Use it
3562 instead of inhibit-modification-hooks.
3563
3564 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3565 a proxy, so as handle autoloads and redefinitions of the target.
3566 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3567
3568 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3569 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3570 (pcase--mutually-exclusive-p): New function.
3571 (pcase--split-consp): Use it.
3572 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3573 mutually exclusive with the current predicate.
3574
3575 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3576 (edebug-macrop): Remove. Use `macrop' instead.
3577 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3578 (ad-macro-p):
3579 * eshell/esh-cmd.el (eshell-macrop):
3580 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3581
1d44e9dc
SM
35822013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3585 (advice-mapc): New function, using it.
3586 (advice-function-member-p): New function.
3587 (advice--normalize): Store the cdr in advice--saved-rewrite since
3588 that's the part that will be changed.
3589 (advice--symbol-function): New function.
3590 (advice-remove): Handle removal before the function is defined.
3591 Adjust to new advice--saved-rewrite.
3592 (advice-member-p): Use advice-function-member-p and
3593 advice--symbol-function.
3594
5414a283
JB
35952013-08-04 Juanma Barranquero <lekktu@gmail.com>
3596
51d30f2c
JB
3597 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3598 (frameset-filter-minibuffer): Doc fix.
3599 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3600 (frameset--set-id, frameset--process-minibuffer-frames)
3601 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3602 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3603
5414a283
JB
3604 * desktop.el (desktop-clear): Only delete frames when called
3605 interactively and desktop-restore-frames is non-nil. Doc fix.
3606 (desktop-read): Set desktop-saved-frameset to nil.
3607
ab419665
XF
36082013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3609
3610 * vc/vc.el (vc-ignore): Rewrite.
3611 (vc-default-ignore-completion-table):
3612 (vc--read-lines):
3613 (vc--add-line, vc--remove-regexp): New functions.
3614
3615 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3616 (vc-svn-ignore-completion-table): New function.
3617
3618 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3619 (vc-hg-ignore-completion-table):
3620 (vc-hg-find-ignore-file): New functions.
3621
3622 * vc/vc-git.el (vc-git-ignore): Rewrite.
3623 (vc-git-ignore-completion-table):
3624 (vc-git-find-ignore-file): New functions.
3625
3626 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3627
3628 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3629 (vc-bzr-ignore-completion-table):
3630 (vc-bzr-find-ignore-file): New functions.
3631
2613dea2
JB
36322013-08-03 Juanma Barranquero <lekktu@gmail.com>
3633
3634 * frameset.el (frameset-prop): New function and setter.
3635 (frameset-save): Do not modify frame list passed by the caller.
3636
9c959872
SM
36372013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3640
a104f656
SM
36412013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3642
70122acf
SM
3643 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3644 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3645
a104f656
SM
3646 * custom.el (custom-initialize-default, custom-initialize-set)
3647 (custom-initialize-reset, custom-initialize-changed): Affect the
3648 toplevel-default-value (bug#6275, bug#14586).
3649 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3650 for bug#6275.
3651
f078d570
JB
36522013-08-02 Juanma Barranquero <lekktu@gmail.com>
3653
185e3b5a
JB
3654 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3655 Add cl-def* expressions.
3656
f078d570
JB
3657 * frameset.el (frameset-filter-params): Fix order of arguments.
3658
9421876d
JB
36592013-08-02 Juanma Barranquero <lekktu@gmail.com>
3660
3661 Move code related to saving frames to frameset.el.
3662 * desktop.el: Require frameset.
3663 (desktop-restore-frames): Doc fix.
3664 (desktop-restore-reuses-frames): Rename from
3665 desktop-restoring-reuses-frames.
3666 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3667 (desktop-clear): Clear frames too.
3668 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3669 (desktop--filter-tty*, desktop-save, desktop-read):
3670 Use frameset functions.
3671 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3672 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3673 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3674 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3675 (desktop--process-minibuffer-frames, desktop-save-frames)
3676 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3677 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3678 (desktop--sort-states, desktop-restoring-frames-p)
3679 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3680 (desktop-restoring-frameset-p, desktop-restore-frameset)
3681 (desktop--check-dont-save, desktop-save-frameset): New functions.
3682 (desktop--app-id): New constant.
3683 (desktop-first-buffer, desktop-buffer-ok-count)
3684 (desktop-buffer-fail-count): Move before first use.
3685 * frameset.el: New file.
3686
76dc5996
SM
36872013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * files.el: Use lexical-binding.
3690 (dir-locals-read-from-file): Remove unused `err' variable.
3691 (hack-dir-local-variables--warned-coding): New var.
3692 (hack-dir-local-variables): Use it to avoid repeated warnings.
3693 (make-backup-file-name--default-function): New function.
3694 (make-backup-file-name-function): Use it as default.
3695 (buffer-stale--default-function): New function.
3696 (buffer-stale-function): Use it as default.
3697 (revert-buffer-insert-file-contents--default-function): New function.
3698 (revert-buffer-insert-file-contents-function): Use it as default.
3699 (insert-directory): Avoid add-to-list.
3700
3701 * autorevert.el (auto-revert-handler): Simplify.
3702 Use buffer-stale--default-function.
3703
06d36e2b
TH
37042013-08-01 Tassilo Horn <tsdh@gnu.org>
3705
5f648ab4
TH
3706 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3707
06d36e2b
TH
3708 * whitespace.el (whitespace-ensure-local-variables): New function.
3709 (whitespace-cleanup-region): Call it.
3710 (whitespace-turn-on): Call it.
3711
a43dc424
MA
37122013-08-01 Michael Albinus <michael.albinus@gmx.de>
3713
3714 Complete file name handlers.
3715
3716 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3717 (tramp-handle-verify-visited-file-modtime)
3718 (tramp-handle-file-notify-rm-watch): New functions.
3719 (tramp-call-process): Do not bind `default-directory'.
3720
44e18199
JB
3721 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3722 Order alphabetically.
a43dc424
MA
3723 [access-file, add-name-to-file, dired-call-process]:
3724 [dired-compress-file, file-acl, file-notify-rm-watch]:
3725 [file-ownership-preserved-p, file-selinux-context]:
3726 [make-directory-internal, make-symbolic-link, set-file-acl]:
3727 [set-file-selinux-context, set-visited-file-modtime]:
3728 [verify-visited-file-modtime]: Add handler.
3729 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3730
3731 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3732 [file-notify-add-watch, file-notify-rm-watch]:
3733 [set-file-times, set-visited-file-modtime]:
3734 [verify-visited-file-modtime]: Add handler.
3735 (with-tramp-gvfs-error-message)
3736 (tramp-gvfs-handle-set-visited-file-modtime)
3737 (tramp-gvfs-fuse-file-name): Remove.
3738 (tramp-gvfs-handle-file-notify-add-watch)
3739 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3740 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3741
44e18199
JB
3742 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3743 Order alphabetically.
a43dc424
MA
3744 [file-notify-rm-watch ]: Use default Tramp handler.
3745 [executable-find]: Remove private handler.
3746 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3747 `default-directory'.
3748 (tramp-sh-handle-executable-find)
3749 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3750 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3751 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3752 Do not use `format' in `tramp-message'.
3753
3754 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3755 [file-notify-rm-watch, set-visited-file-modtime]:
3756 [verify-visited-file-modtime]: Add handler.
3757 (tramp-smb-call-winexe): Do not bind `default-directory'.
3758
7188b515
XF
37592013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3760
3761 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3762
2412ee1a
DG
37632013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3764
3765 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3766 use it.
3767 (log-view-diff-changeset): Same.
3768 (log-view-diff-common): Call backend command `previous-revision'
3769 to find out the previous revision, in both cases. Swap the
3770 variables `to' and `fr', so that `fr' usually refers to the
3771 earlier revision (Bug#14989).
3772
5002a754
KRC
37732013-07-31 Kan-Ru Chen <kanru@kanru.info>
3774
3775 * ibuf-ext.el (ibuffer-filter-by-filename):
3776 Make it work with dired buffers too.
3777
44e18199 37782013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3779
3780 * emacs-lisp/re-builder.el (reb-color-display-p):
3781 * files.el (save-buffers-kill-terminal):
3782 * net/browse-url.el (browse-url):
3783 * server.el (server-save-buffers-kill-terminal):
3784 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3785 Prefer nil to selected-frame for the first arg of frame-parameter.
3786
aeca3fbb
XF
37872013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3788
3789 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3790
158bc55c
SB
37912013-07-30 Stephen Berman <stephen.berman@gmx.net>
3792
3793 * minibuffer.el (completion--twq-all): Try and preserve each
3794 completion's case choice (bug#14907).
3795
d50fceab
LMI
37962013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797
ac38e731
LMI
3798 * net/network-stream.el (open-network-stream): Mention the new
3799 :nogreeting parameter.
3800 (network-stream-open-starttls): Use the :nogreeting parameter
3801 (bug#14938).
3802
1211de50
LMI
3803 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3804
997798bf
LMI
3805 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3806 more natural than popping.
3807
d50fceab 3808 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3809 (shr-urlify): Highlight under mouse.
d50fceab 3810
5c09de04
XF
38112013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3812
207d1d04
XF
3813 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3814
3815 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3816
5c09de04
XF
3817 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3818 buffer for output.
3819
3cd51eaa
XF
3820 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3821 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3822
44e18199 3823 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3824 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3825
3826 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3827
3828 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3829 buffer for output.
3830
35a89bdd
EZ
38312013-07-29 Eli Zaretskii <eliz@gnu.org>
3832
3833 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3834 initial frame is minibuffer-less. (Bug#14841)
3835
78822e94
MA
38362013-07-29 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3839 option.
3840
3841 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3842 (tramp-maybe-open-connection): Use it.
3843
9503c190
JB
38442013-07-28 Juanma Barranquero <lekktu@gmail.com>
3845
3846 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3847 minimal set of parameters passed when creating a frame, because
3848 the minibuffer status of a frame cannot be changed later.
3849
d5a845b4
SB
38502013-07-28 Stephen Berman <stephen.berman@gmx.net>
3851
3852 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3853 replace-regexp-in-string and inadvertent omissions in previous change.
3854 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3855 name of filtered items buffer.
d5a845b4 3856
ddeffb17
JB
38572013-07-28 Juanma Barranquero <lekktu@gmail.com>
3858
3859 * desktop.el: Optionally force offscreen frames back onscreen.
3860 (desktop-restoring-reuses-frames): New option.
3861 (desktop--compute-pos, desktop--move-onscreen): New functions.
3862 (desktop--make-frame): Use desktop--move-onscreen.
3863
f5950f7a
AM
38642013-07-27 Alan Mackenzie <acm@muc.de>
3865
3866 Fontify a Java generic method as a function.
3867 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3868 value to t.
3869
ae43b66a
SB
38702013-07-27 Stephen Berman <stephen.berman@gmx.net>
3871
3872 * calendar/todo-mode.el: Add command to rename todo files.
3873 (todo-rename-file): New command.
3874 (todo-key-bindings-t): Add key binding for it. Change the
3875 bindings of todo-filter-regexp-items(-multifile) to use `x'
3876 instead of `r', since the latter is better suited to the new
3877 renaming command.
3878
5ab78d3d
AM
38792013-07-27 Alan Mackenzie <acm@muc.de>
3880
3881 Make Java try-with-resources statement parse properly.
3882 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3883 (c-block-stmt-1-2-key): New language constants/variables.
3884 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3885 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3886 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3887 with c-block-stmt-1-2-key.
5ab78d3d 3888
d85c4d50
JB
38892013-07-27 Juanma Barranquero <lekktu@gmail.com>
3890
3891 * desktop.el (desktop--make-frame): Apply most frame parameters after
3892 creating the frame to force (partially or totally) offscreen frames to
3893 be restored as such.
3894
e4c467f9
XF
38952013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3896
3897 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3898 (Bug#14948)
e4c467f9 3899
7ced0d04
SM
39002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3903 `base' arg of backtrace-frame.
3904
fec92060
EZ
39052013-07-26 Eli Zaretskii <eliz@gnu.org>
3906
3907 * simple.el (list-processes): Doc fix.
3908
d58d31fb
JB
39092013-07-26 Juanma Barranquero <lekktu@gmail.com>
3910
3911 * desktop.el (desktop--select-frame):
d85c4d50 3912 Try harder to reuse existing frames.
d58d31fb 3913
53ff3e77
SM
39142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3917 (edebug-eval): Use backtrace-eval.
3918 (edebug--display, edebug--recursive-edit): Don't let-bind the
3919 edebug-outer-* vars that keep track of variables we locally let-bind.
3920 (edebug-outside-excursion): Don't restore outside values of locally
3921 let-bound vars.
3922 (edebug--display): Use user-error.
3923 (cl-lexical-debug, cl-debug-env): Remove.
3924
045f7a53
JB
39252013-07-26 Juanma Barranquero <lekktu@gmail.com>
3926
3927 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3928 are restored to be sure that they are visible before deleting any
3929 remaining ones.
3930
59070b32
MM
39312013-07-26 Matthias Meulien <orontee@gmail.com>
3932
742a3501
XF
3933 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3934 vc-print-root-log. (Bug#14948)
59070b32 3935
b1fb3596
RS
39362013-07-26 Richard Stallman <rms@gnu.org>
3937
3938 Add aliases for encrypting mail.
3939 * epa.el (epa-mail-aliases): New option.
3940 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3941 Bind inhibit-read-only so read-only text doesn't ruin everything.
3942 (epa-mail-default-recipients): New subroutine broken out.
3943 Handle epa-mail-aliases.
3944
56ea7291
SM
39452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 Add support for lexical variables to the debugger's `e' command.
3948 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3949 vars, except for debugger-outer-match-data.
3950 (debugger-frame-number): Move check for "on a function call" from
3951 callers into it. Add `skip-base' argument.
3952 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3953 (debugger-env-macro): Only reset the state stored in non-variables,
3954 i.e. current-buffer and match-data.
3955 (debugger-eval-expression): Rewrite using backtrace-eval.
3956 * subr.el (internal--called-interactively-p--get-frame): Remove.
3957 (called-interactively-p):
3958 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3959 `base' arg of backtrace-frame instead.
3960
15ac32d5
GM
39612013-07-26 Glenn Morris <rgm@gnu.org>
3962
8358a09d
GM
3963 * align.el (align-regexp): Doc fix. (Bug#14857)
3964 (align-region): Explicit error if subexpression missing/does not match.
3965
15ac32d5
GM
3966 * simple.el (global-visual-line-mode):
3967 Do not duplicate the mode lighter. (Bug#14858)
3968
f47ad11b
MR
39692013-07-25 Martin Rudalics <rudalics@gmx.at>
3970
3971 * window.el (display-buffer): In display-buffer bind
3972 split-window-keep-point to t, bug#14829.
3973
02530987
JB
39742013-07-25 Juanma Barranquero <lekktu@gmail.com>
3975
3976 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3977 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3978 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3979 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3980 Change accordingly.
f63ebeb5
JB
3981 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3982 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3983
6ccb9cab 39842013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3985
6ccb9cab 3986 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3987
cb3a56d2
JB
39882013-07-25 Juanma Barranquero <lekktu@gmail.com>
3989
3990 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3991 parameter to modify-frame-parameters if the value has not changed;
3992 this is a workaround for bug#14949.
3993 (desktop--make-frame): On cl-delete-if call, check parameter name,
3994 not full parameter.
3995
7aa7fff0
XF
39962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3997
3998 * vc/vc.el (vc-ignore): New function.
3999
4000 * vc/vc-svn.el (vc-svn-ignore): New function.
4001
4002 * vc/vc-hg.el (vc-hg-ignore): New function.
4003
4004 * vc/vc-git.el (vc-git-ignore): New function.
4005
4006 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4007 (vc-dir-ignore): New function.
4008
4009 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4010 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4011
4012 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4013
4014 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4015
889acc5c
JB
40162013-07-24 Juanma Barranquero <lekktu@gmail.com>
4017
4018 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4019 (desktop-restore-frames): Warn when deleting an existing frame failed.
4020
86c40970
GM
40212013-07-24 Glenn Morris <rgm@gnu.org>
4022
4023 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4024
d5d3c58a
MA
40252013-07-24 Michael Albinus <michael.albinus@gmx.de>
4026
4027 * filenotify.el (file-notify-supported-p):
4028 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4029 Remove functions.
4030
4031 * autorevert.el (auto-revert-use-notify):
4032 (auto-revert-notify-add-watch):
4033 * net/tramp.el (tramp-file-name-for-operation):
4034 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4035 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4036 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4038 Remove `file-notify-supported-p' entry.
4039
d100084b
GM
40402013-07-24 Glenn Morris <rgm@gnu.org>
4041
4042 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4043 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4044
ac93e56b
SM
40452013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4046
249eea30
SM
4047 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4048 checked with memq (bug#14935).
4049
ac93e56b
SM
4050 * files.el (revert-buffer-function): Use a non-nil default.
4051 (revert-buffer-preserve-modes): Declare var to
4052 provide access to the `preserve-modes' argument.
4053 (revert-buffer): Let-bind it.
4054 (revert-buffer--default): New function, extracted from revert-buffer.
4055
2cdeb903
SM
40562013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * lpr.el: Signal print errors more prominently.
4059 (print-region-function): Don't default to nil.
4060 (lpr-print-region): New function, extracted from print-region-1.
4061 Check lpr's return value and signal an error in case of problem.
4062 (print-region-1): Use it.
4063 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4064 versions instead.
4065 (ps-printer-name): Default to nil.
4066 (ps-printer-name-option): Default to lpr-printer-switch.
4067 (ps-print-region-function): Don't default to nil.
4068 (ps-postscript-code-directory): Simplify default.
4069 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4070 (ps-string-list, ps-eval-switch, ps-flatten-list)
4071 (ps-flatten-list-1): Remove.
4072 (ps-multibyte-buffer): Avoid setq.
4073 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4074 (print-region-function, ps-print-region-function): Don't set them here.
4075
73600831
XF
40762013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4077
0e55c076
XF
4078 * ido.el (ido-fractionp):
4079 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4080 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4081 (ido-max-directory-size, ido-max-dir-file-cache)
4082 (ido-decorations): Doc fix.
4083
73600831
XF
4084 * ansi-color.el: Fix old URL.
4085
3d012865
MM
40862013-07-23 Michael R. Mauger <michael@mauger.com>
4087
e903c210 4088 * progmodes/sql.el: Version 3.3
3d012865
MM
4089 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4090 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4091 (sql-interactive-remove-continuation-prompt): Rewrite, use
4092 functions above. Fix continuation prompt and complete output line
4093 handling.
4094 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4095 redirected output buffer.
4096 (sql-mode): Restore deleted code (Bug#13591).
4097
da77a2e2
JB
40982013-07-23 Juanma Barranquero <lekktu@gmail.com>
4099
4100 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4101
80ff0c71
MA
41022013-07-23 Michael Albinus <michael.albinus@gmx.de>
4103
4104 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4105
4106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4109
b61d71e4
JB
41102013-07-23 Juanma Barranquero <lekktu@gmail.com>
4111
4112 * desktop.el (desktop-clear): Simplify; remove useless checks
4113 against invalid buffer names.
4114 (desktop-list*): Use cl-list*.
4115 (desktop-buffer-info, desktop-create-buffer): Simplify.
4116
c3512092
LL
41172013-07-23 Leo Liu <sdl.web@gmail.com>
4118
4119 * bookmark.el (bookmark-make-record): Restore NAME as a default
4120 value. (Bug#14933)
4121
0ac26976
SM
41222013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4123
7d22ce18
SM
4124 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4125 extracted from autoload--insert-text.
4126 (autoload--insert-text): Remove.
4127 (autoload--print-cookie-text): New function, extracted from
4128 autoload--insert-cookie-text.
4129 (autoload--insert-cookie-text): Remove.
4130 (autoload-generate-file-autoloads): Adjust calls accordingly.
4131
9b2607e8
SM
4132 * winner.el (winner-hook-installed-p): Remove.
4133 (winner-mode): Simplify accordingly.
4134
c43a8618
SM
4135 * subr.el (add-to-list): Fix compiler-macro when `append' is
4136 not constant. Don't use `cl-member' for the base case.
4137
0ac26976
SM
4138 * progmodes/subword.el: Fix boundary case (bug#13758).
4139 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4140 own group.
4141 (subword-backward-regexp): Make it a constant.
4142 (subword-forward-internal): Don't treat a trailing capital as the
4143 beginning of a word.
4144
6874724a
AR
41452013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4146
4147 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4148 global value of tabulated-list-revert-hook (bug#14930).
4149
70f1b5e8
JB
41502013-07-22 Juanma Barranquero <lekktu@gmail.com>
4151
a1c80d9d
JB
4152 * desktop.el: Require 'cl-lib.
4153 (desktop-before-saving-frames-functions): New hook.
4154 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4155 for frames being saved. Rename from desktop--save-minibuffer-frames.
4156 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4157 Do not save frames with non-nil `desktop-dont-save' parameter.
4158 Filter out deleted frames.
a1c80d9d
JB
4159 (desktop--find-frame): Use cl-find-if.
4160 (desktop--select-frame): Use cl-(first|second|third) to access values
4161 of desktop-mini.
4162 (desktop--make-frame): Use cl-delete-if.
4163 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4164 (desktop-restore-frames): Use cl-(first|second|third) to access values
4165 of desktop-mini. Look for visible frame at the end, not while
4166 restoring frames.
4167
70f1b5e8
JB
4168 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4169 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4170 Use string-match-p, looking-at-p (bug#14927).
4171
728dc3cc
JB
41722013-07-21 Juanma Barranquero <lekktu@gmail.com>
4173
56bc453c
JB
4174 * desktop.el (desktop-saved-frame-states):
4175 Rename from desktop--saved-states; all users changed.
4176 (desktop-save-frames): Rename from desktop--save-frames.
4177 Do not save state to desktop file.
4178 (desktop-save): Save desktop-saved-frame-states to desktop file
4179 and reset to nil.
4180 (desktop-restoring-frames-p): New function.
4181 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4182 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4183 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4184
728dc3cc
JB
4185 * desktop.el: Correctly restore iconified frames.
4186 (desktop--filter-iconified-position): New function.
4187 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4188
862f1c9c
GM
41892013-07-20 Glenn Morris <rgm@gnu.org>
4190
c4074c9f
GM
4191 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4192 Let `message' do the formatting.
4193 (def-gdb-preempt-display-buffer): Add explicit format.
4194
d828e5f9
GM
4195 * image-dired.el (image-dired-track-original-file):
4196 Use with-current-buffer.
4197 (image-dired-track-thumbnail): Use with-current-buffer.
4198 Avoid changing point of wrong window.
4199
862f1c9c
GM
4200 * image-dired.el (image-dired-track-original-file):
4201 Avoid changing point of wrong window. (Bug#14909)
4202
f0398ec1 42032013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4204
4205 * progmodes/gdb-mi.el (gdb-done-or-error):
4206 Guard against "%" in gdb output. (Bug#14127)
4207
1451928f
AS
42082013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4209
763a086d
JB
4210 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4211 (Bug#14826)
f7a03897 4212
1451928f
AS
4213 * international/mule.el (coding-system-iso-2022-flags): Fix last
4214 change.
4215
99107004
KH
42162013-07-20 Kenichi Handa <handa@gnu.org>
4217
763a086d
JB
4218 * international/mule.el (coding-system-iso-2022-flags):
4219 Add `8-bit-level-4'. (Bug#8522)
99107004 4220
48494e06
LMI
42212013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4222
8ba8eec5
LMI
4223 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4224 (bug#14815).
4225
dfbc66e3
LMI
4226 * net/eww.el (eww-process-text-input): Allow inputting when the
4227 point is at the start of the line, as the properties aren't
4228 front-sticky.
4229
48494e06
LMI
4230 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4231 degenerate widths.
4232
77c92cb9
RS
42332013-07-19 Richard Stallman <rms@gnu.org>
4234
aec7da77
RS
4235 * epa.el (epa-popup-info-window): Doc fix.
4236
77c92cb9
RS
4237 * subr.el (split-string): New arg TRIM.
4238
945c5bb1
JB
42392013-07-18 Juanma Barranquero <lekktu@gmail.com>
4240
4241 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4242 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4243
e06ec67f
MA
42442013-07-18 Michael Albinus <michael.albinus@gmx.de>
4245
c7064f05 4246 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4247 `file-notify-support'. Do not autoload. Adapt all uses.
4248 (file-notify-supported-p): New defun.
4249
c7064f05
JB
4250 * autorevert.el (auto-revert-use-notify):
4251 Use `file-notify-supported-p' instead of `file-notify-support'.
4252 Adapt docstring.
e06ec67f
MA
4253 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4254
4255 * net/tramp.el (tramp-file-name-for-operation):
4256 Add `file-notify-supported-p'.
4257
4258 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4259 New defun.
4260 (tramp-sh-file-name-handler-alist): Add it as handler for
4261 `file-notify-supported-p '.
4262
4263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4266 Add `ignore' as handler for `file-notify-*' functions.
4267
5dc8a629
EZ
42682013-07-17 Eli Zaretskii <eliz@gnu.org>
4269
4270 * simple.el (line-move-partial, line-move): Don't start vscroll or
4271 scroll-up if the current line is not taller than the window.
4272 (Bug#14881)
4273
77aea2fb
DG
42742013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4275
4276 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4277 highlight question marks in the method names as strings.
ac72c08d
DG
4278 (ruby-block-beg-keywords): Inline.
4279 (ruby-font-lock-keyword-beg-re): Extract from
4280 `ruby-font-lock-keywords'.
77aea2fb 4281
18c26d81
JD
42822013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4283
4284 * frame.el (blink-cursor-blinks): New defcustom.
4285 (blink-cursor-blinks-done): New defvar.
4286 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4287 (blink-cursor-timer-function): Check if number of blinks has been
4288 done on X and NS.
4289 (blink-cursor-suspend, blink-cursor-check): New defuns.
4290
da48522e
GM
42912013-07-15 Glenn Morris <rgm@gnu.org>
4292
4293 * edmacro.el (edmacro-format-keys): Fix previous change.
4294
0463c1ef
PE
42952013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4296
4297 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4298 The hack didn't work outside English locales anyway.
4299
b43f6451
JB
43002013-07-15 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * simple.el (define-alternatives): Rename from alternatives-define,
4303 per RMS' suggestion.
4304
b958c0ad
JB
43052013-07-14 Juanma Barranquero <lekktu@gmail.com>
4306
4307 * desktop.el (desktop-restore-frames): Change default to t.
4308 (desktop-restore-in-current-display): Now offer more options.
4309 (desktop-restoring-reuses-frames): New customization option.
4310 (desktop--saved-states): Doc fix.
4311 (desktop-filter-parameters-alist): New variable, renamed and expanded
4312 from desktop--excluded-frame-parameters.
4313 (desktop--target-display): New variable.
4314 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4315 (desktop--filter-tty*, desktop--filter-*-color)
4316 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4317 (desktop--filter-save-desktop-parm)
4318 (desktop-restore-in-original-display-p): New functions.
4319 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4320 (desktop--save-minibuffer-frames): New function, inspired by a similar
4321 function from Martin Rudalics.
4322 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4323 (desktop--restore-in-this-display-p): Remove.
4324 (desktop--find-frame): Rename from desktop--find-frame-in-display
4325 and add predicate argument.
4326 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4327 (desktop--reuse-list): New variable.
4328 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4329 New functions.
4330 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4331
f6dd8b36
MA
43322013-07-14 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4335
2ce3c565
DG
43362013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4337
763a086d
JB
4338 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4339 Highlight conversion methods on Kernel.
2ce3c565 4340
2cdb7698
AM
43412013-07-13 Alan Mackenzie <acm@muc.de>
4342
4343 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4344 and comment it out. This out-commenting enables certain C++
4345 declarations to be parsed correctly.
4346
1a67b811
EZ
43472013-07-13 Eli Zaretskii <eliz@gnu.org>
4348
1b796d6b
EZ
4349 * international/mule.el (define-coding-system): Doc fix.
4350
1a67b811
EZ
4351 * simple.el (default-font-height): Don't call font-info if the
4352 frame's default font didn't change since the frame was created.
4353 (Bug#14838)
4354
58fbe886
LL
43552013-07-13 Leo Liu <sdl.web@gmail.com>
4356
4357 * ido.el (ido-read-file-name): Guard against non-symbol value.
4358
1f0480d4
FEG
43592013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4360
4361 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4362 in nested defuns.
4363
97ead0e5
LL
43642013-07-13 Leo Liu <sdl.web@gmail.com>
4365
4366 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4367 ido-set-matches call. (Bug#6852)
4368
0880a952
DG
43692013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4372 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4373 Ruby 2.0.
4374 (ruby-font-lock-keywords): Distinguish calls to functions with
4375 module-like names from module references. Highlight character
4376 literals.
4377
a7d8babb
SDJ
43782013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4379
4380 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4381 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4382
acfcc8c5
JB
43832013-07-12 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * desktop.el (desktop--v2s): Remove unused local variable.
4386 (desktop-save-buffer): Make defvar-local; adjust docstring.
4387 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4388 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4389
051f2775
AS
43902013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4391
4392 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4393
f24e7572
GM
43942013-07-12 Eli Zaretskii <eliz@gnu.org>
4395
4396 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4397 (Bug#14842)
4398
539a920c
GM
43992013-07-12 Glenn Morris <rgm@gnu.org>
4400
4401 * doc-view.el: Require cl-lib at runtime too.
4402 (doc-view-remove-if): Remove.
4403 (doc-view-search-next-match, doc-view-search-previous-match):
4404 Use cl-remove-if.
4405
4406 * edmacro.el: Require cl-lib at runtime too.
4407 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4408 (edmacro-mismatch, edmacro-subseq): Remove.
4409
4410 * shadowfile.el: Require cl-lib.
4411 (shadow-remove-if): Remove.
4412 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4413 Use cl-remove-if.
4414
4415 * wid-edit.el: Require cl-lib.
4416 (widget-choose): Use cl-remove-if.
4417 (widget-remove-if): Remove.
4418
4419 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4420 (ebrowse-delete-if-not): Remove.
4421 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4422 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4423 Use cl-delete-if-not.
4424
1048af7c
JB
44252013-07-12 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4428 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4429
6c0674ee
LL
44302013-07-12 Leo Liu <sdl.web@gmail.com>
4431
4432 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4433
a19b3c2d
GM
44342013-07-11 Glenn Morris <rgm@gnu.org>
4435
4582a01c
GM
4436 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4437 (edebug-gensym-index, edebug-gensym):
4438 Remove reimplementation of cl-gensym.
4439 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4440
4441 * thumbs.el: Require cl-lib at run-time too.
4442 (thumbs-gensym-counter, thumbs-gensym):
4443 Remove reimplementation of cl-gensym.
4444 (thumbs-temp-file): Use cl-gensym.
4445
a19b3c2d
GM
4446 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4447 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4448 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4449 (ert--union, ert--gensym-counter, ert--gensym-counter)
4450 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4451 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4452 (ert-make-test-unbound, ert--expand-should-1)
4453 (ert--expand-should, ert--should-error-handle-error)
4454 (should-error, ert--explain-equal-rec)
4455 (ert--plist-difference-explanation, ert-select-tests)
4456 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4457 Use cl-lib functions rather than reimplementations.
4458
88f6a933
MA
44592013-07-11 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * net/tramp.el (tramp-methods): Extend docstring.
4462 (tramp-connection-timeout): New defcustom.
4463 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4464 (with-tramp-progress-reporter): Simplify.
4465 (tramp-process-actions): Improve messages.
4466
4467 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4468 * net/tramp-sh.el (tramp-maybe-open-connection):
4469 Use `tramp-connection-timeout'.
4470 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4471 (Bug#14808)
4472
a43d577e
LL
44732013-07-11 Leo Liu <sdl.web@gmail.com>
4474
4475 * ido.el (ido-read-file-name): Conform to the requirements of
4476 read-file-name. (Bug#11861)
4477 (ido-read-directory-name): Conform to the requirements of
4478 read-directory-name.
4479
d77974bf
JB
44802013-07-11 Juanma Barranquero <lekktu@gmail.com>
4481
4482 * subr.el (delay-warning): New function.
4483
35cb8a3e
EZ
44842013-07-10 Eli Zaretskii <eliz@gnu.org>
4485
4486 * simple.el (default-line-height): New function.
4487 (line-move-partial, line-move): Use it instead of computing the
4488 line height inline.
4489 (line-move-partial): Always compute ROWH. If the last line is
4490 partially-visible, but its text is completely visible, allow
4491 cursor to enter such a partially-visible line.
4492
525c5c77
MA
44932013-07-10 Michael Albinus <michael.albinus@gmx.de>
4494
4495 Improve error messages. (Bug#14808)
4496
4497 * net/tramp.el (tramp-current-connection): New defvar, moved from
4498 tramp-sh.el.
0ac26976 4499 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4500 needed anymore.
0ac26976
SM
4501 (tramp-error-with-buffer): Show message in minibuffer.
4502 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4503 (with-tramp-progress-reporter): Improve messages.
4504 (tramp-process-actions): Use progress reporter. Delete process in
4505 case of error. Improve messages.
4506
763a086d
JB
4507 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4508 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4509 (tramp-current-connection): Remove.
525c5c77
MA
4510 (tramp-maybe-open-connection): The car of
4511 `tramp-current-connection' are the first 3 slots of the vector.
4512
c7a4d368
TZ
45132013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4514
4515 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4516 inside continued strings.
4517
954b166e
PE
45182013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4519
4520 Timestamp fixes for undo (Bug#14824).
4521 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4522
56973319
LL
45232013-07-10 Leo Liu <sdl.web@gmail.com>
4524
4525 * files.el (require-final-newline): Allow safe local value.
4526 (Bug#14834)
4527
5550a72c
LL
45282013-07-09 Leo Liu <sdl.web@gmail.com>
4529
4530 * ido.el (ido-read-directory-name): Handle fallback.
4531 (ido-read-file-name): Update DIR to ido-current-directory.
4532 (Bug#1516)
c28b9050 4533 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4534
70c46b28
DG
45352013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4536
4537 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4538 "autoload". Remove "warn lower camel case" section, previously
4539 commented out. Highlight negation char. Do not highlight the
4540 target in singleton method definitions.
4541
0b64b838
SM
45422013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4543
7fd72e2c
SM
4544 * faces.el (tty-setup-hook): Declare the hook.
4545
0b64b838
SM
4546 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4547 and detect when a guard/pred depends on local vars (bug#14773).
4548 (pcase--u1): Adjust caller.
4549
ab49d60b
EZ
45502013-07-08 Eli Zaretskii <eliz@gnu.org>
4551
4552 * simple.el (line-move-partial, line-move): Account for
4553 line-spacing.
701d79aa
EZ
4554 (line-move-partial): Avoid setting vscroll when the last
4555 partially-visible line in window is of default height.
ab49d60b 4556
2d756ae0
LMI
45572013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558
4559 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4560 been used a while.
4561
ed095bd7
JB
45622013-07-07 Juanma Barranquero <lekktu@gmail.com>
4563
4564 * subr.el (read-quoted-char): Remove unused local variable `char'.
4565
f1e6674b
MK
45662013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4567
584ee3fc
GM
4568 * ediff.el (ediff-version): Version update.
4569 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4570 (ediff-merge-with-ancestor-command, ediff-directories-command)
4571 (ediff-directories3-command, ediff-merge-directories-command)
4572 (ediff-merge-directories-with-ancestor-command): New functions.
4573 All are command-line interfaces to ediff: to facilitate calling
4574 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4575
4576 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4577 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4578
584ee3fc
GM
4579 * viper.el (viper-version): Version update.
4580 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4581
584ee3fc
GM
45822013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4585 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4586 (viper-intercept-ESC-key): Simplify.
4587 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4588 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4589 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4590 (viper-setup-ESC-to-escape): New functions.
4591 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4592 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4593
9aff9b38
EZ
45942013-07-07 Eli Zaretskii <eliz@gnu.org>
4595
5165d44a
JB
4596 * simple.el (default-font-height, window-screen-lines):
4597 New functions.
9aff9b38
EZ
4598 (line-move, line-move-partial): Use them instead of
4599 frame-char-height and window-text-height. This makes scrolling
4600 text smoother when the buffer's default face uses a font that is
4601 different from the frame's default font.
4602
1afb1d07
JD
46032013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4604
4605 * files.el (write-file): Do not display confirm dialog for NS,
4606 it does its own dialog, which can't be cancelled (Bug#14578).
4607
23de972a
EZ
46082013-07-06 Eli Zaretskii <eliz@gnu.org>
4609
4610 * simple.el (line-move-partial): Adjust the row returned by
4611 posn-at-point for the current window-vscroll. (Bug#14567)
4612
54a42486
MA
46132013-07-06 Michael Albinus <michael.albinus@gmx.de>
4614
4615 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4616 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4617 spaces.
4618
34ada5f4
MR
46192013-07-06 Martin Rudalics <rudalics@gmx.at>
4620
4621 * window.el (window-state-put-stale-windows): New variable.
4622 (window--state-put-2): Save list of windows without matching buffer.
4623 (window-state-put): Remove "bufferless" windows if possible.
4624
11e03d89
JB
46252013-07-06 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * simple.el (alternatives-define): Remove leftover :group keyword.
4628 Tweak docstring.
4629
3504a4be
LL
46302013-07-06 Leo Liu <sdl.web@gmail.com>
4631
4632 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4633 (ido-enable-virtual-buffers): New variable.
4634 (ido-buffer-internal, ido-toggle-virtual-buffers)
4635 (ido-make-buffer-list): Use it.
4636 (ido-exhibit): Support turning on and off virtual buffers
4637 automatically.
4638
61e56e2c
JB
46392013-07-06 Juanma Barranquero <lekktu@gmail.com>
4640
4641 * simple.el (alternatives-define): New macro.
4642
321e1a9c
SM
46432013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * subr.el (read-quoted-char): Use read-key.
4646 (sit-for): Let read-event decode tty input (bug#14782).
4647
d610f6dd
SB
46482013-07-05 Stephen Berman <stephen.berman@gmx.net>
4649
4650 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4651 mode command and externally. Fix various related bugs.
4652 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4653 (todo-delete-file): New command.
4654 (todo-check-file): New function.
4655 (todo-show): Handle external deletion of the file we're trying to
4656 show (bug#14688). Replace called-interactively-p by an optional
4657 prefix argument to avoid problematic interaction with catch form
4658 when byte compiled (bug#14702).
4659 (todo-quit): Handle external deletion of the archive's todo file.
4660 Make sure the buffer that was visiting the archive file is still
4661 live before trying to bury it.
4662 (todo-category-completions): Handle external deletion of any
4663 category completion files.
4664 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4665 of todo files, in case of external deletion.
4666 (todo-add-file): Replace unnecessary setq by let-binding.
4667 (todo-find-archive): Check whether there are any archives.
4668 Replace unnecessary setq by let-binding.
4669 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4670 archive buffer whether or not the archive already exists.
4671 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4672 check if the archive is new; if it is, update list of archives.
4673 (todo-default-todo-file): Allow nil to be a valid value for when
4674 there are no todo files.
4675 (todo-reevaluate-default-file-defcustom): Use corrected definition
4676 of todo-default-todo-file.
4677 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4678 (todo-delete-category, todo-show-categories-table)
4679 (todo-category-number): Clarify comment.
4680 (todo-filter-items): Clarify documentation string.
4681 (todo-show-current-file, todo-display-as-todo-file)
4682 (todo-reset-and-enable-done-separator): Tweak documentation string.
4683 (todo-done-separator): Make separator length window-width, since
4684 bug#2749 is now fixed.
4685
ddbdfd6f
MA
46862013-07-05 Michael Albinus <michael.albinus@gmx.de>
4687
321e1a9c
SM
4688 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4689 Support both "gvfs-monitor-dir" and "inotifywait".
4690 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4691 `tramp-sh-file-notify-process-filter'.
4692 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4693 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4694
96eb829a
LL
46952013-07-05 Leo Liu <sdl.web@gmail.com>
4696
4697 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4698
cf13177e
YM
46992013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4700
4701 * frame.el (display-pixel-height, display-pixel-width)
4702 (display-mm-height, display-mm-width): Mention behavior on
4703 multi-monitor setups in docstrings.
4704 (w32-display-monitor-attributes-list): Declare function.
4705 (display-monitor-attributes-list): Use it.
4706
864c58ca
MA
47072013-07-04 Michael Albinus <michael.albinus@gmx.de>
4708
4709 * filenotify.el: New package.
4710
4711 * autorevert.el (top): Require filenotify.el.
4712 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4713 instead.
4714 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4715 (auto-revert-notify-handler): Use `file-notify-*' functions.
4716
4717 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4718
321e1a9c
SM
4719 * net/tramp.el (tramp-file-name-for-operation):
4720 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4721
4722 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4723 for `file-notify-add-watch' and `file-notify-rm-watch'.
4724 (tramp-process-sentinel): Improve trace.
4725 (tramp-sh-handle-file-notify-add-watch)
4726 (tramp-sh-file-notify-process-filter)
4727 (tramp-sh-handle-file-notify-rm-watch)
4728 (tramp-get-remote-inotifywait): New defuns.
4729
96673afe
JL
47302013-07-03 Juri Linkov <juri@jurta.org>
4731
4732 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4733 call of `occur-read-primary-args' to interactive spec.
4734
4735 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4736 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4737
924494f4
MM
47382013-07-03 Matthias Meulien <orontee@gmail.com>
4739
4740 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4741 `Buffer-menu-multi-occur'. Add it to the menu.
4742 (Buffer-menu-mode): Document it in docstring.
4743 (Buffer-menu-multi-occur): New command. (Bug#14673)
4744
56f75efc
DG
47452013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4746
4747 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4748 keywords and built-ins.
4749
9b057d61
GM
47502013-07-03 Glenn Morris <rgm@gnu.org>
4751
208dee4d
GM
4752 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4753
9b057d61
GM
4754 Make info-xref checks case-sensitive by default
4755 * info.el (Info-find-node, Info-find-in-tag-table)
4756 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4757 Add option for exact case matching of nodes.
4758 * info-xref.el (info-xref): New custom group.
4759 (info-xref-case-fold): New option.
4760 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4761
e01aa29c
LL
47622013-07-03 Leo Liu <sdl.web@gmail.com>
4763
4764 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4765
3086ca2e
DG
47662013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4767
4768 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4769 middle of block statement initially, lower the depth. Remove
4770 FIXME comment, not longer valid. Remove middle of block statement
4771 detection, no need to do that anymore since we've been using
4772 `ruby-parse-region' here.
4773
a3b49114
JD
47742013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4775
4776 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4777
08e5c823 47782013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4779
4780 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4781
2addf922
JB
47822013-07-01 Juanma Barranquero <lekktu@gmail.com>
4783
4784 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4785 (desktop-restore-in-current-display): New customization option.
4786 (desktop--excluded-frame-parameters): Add `font'.
4787 (desktop--save-frames): Rename from desktop--save-windows.
4788 (desktop--restore-in-this-display-p): New function.
4789 (desktop--make-full-frame): Remove unwanted width/height from
4790 full(width|height) frames.
4791 (desktop--restore-frames): Rename from desktop--restore-windows.
4792 Obey desktop-restore-current-display. Do not delete old frames or
4793 select a new frame unless we were able to restore at least one frame.
4794
ef099a94
MN
47952013-06-30 Michal Nazarewicz <mina86@mina86.com>
4796
4797 * files.el (find-file-noselect): Simplify conditional expression.
4798
4799 * remember.el (remember-append-to-file):
4800 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4801
4802 Add `remember-notes' function to store random notes across Emacs
4803 restarts.
4804 * remember.el (remember-data-file): Add :set callback to affect
4805 notes buffer (if any).
4806 (remember-notes): New command.
4807 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4808 New defcustoms for the `remember-notes' function.
4809 (remember-notes-save-and-bury-buffer): New command.
4810 (remember-notes-mode-map): New variable.
4811 (remember-mode): New minor mode.
4812 (remember-notes--kill-buffer-query): New function.
4813 * startup.el (initial-buffer-choice): Add notes to custom type.
4814
0865d506
EZ
48152013-06-30 Eli Zaretskii <eliz@gnu.org>
4816
0ba54312
EZ
4817 * bindings.el (right-char, left-char): Don't call sit-for, this is
4818 no longer needed. Use arithmetic comparison only for numerical
4819 arguments.
4820
ef099a94
MN
4821 * international/mule-cmds.el (select-safe-coding-system):
4822 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4823
2fae38e5
LMI
48242013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4825
4826 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4827 progression on degenerate tables.
ef099a94 4828 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4829
a47cbd64
JB
48302013-06-30 Juanma Barranquero <lekktu@gmail.com>
4831
4832 Some fixes and improvements for desktop frame restoration.
4833 It is still experimental and disabled by default.
4834 * desktop.el (desktop--save-windows): Put the selected frame at
4835 the head of the list.
4836 (desktop--make-full-frame): New function.
4837 (desktop--restore-windows): Try to re-select the frame that was
4838 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4839 just show an error message and continue. Set up maximized frames
4840 so they have default non-maximized dimensions.
a47cbd64 4841
6dbafa30
DG
48422013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4843
ef099a94
MN
4844 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4845 Don't start heredoc inside a string or comment.
6dbafa30 4846
4c672a0f
EZ
48472013-06-29 Eli Zaretskii <eliz@gnu.org>
4848
4849 * bindings.el (visual-order-cursor-movement): New defcustom.
4850 (right-char, left-char): Provide visual-order cursor motion by
4851 calling move-point-visually. Update the doc strings.
4852
50960f36
KH
48532013-06-28 Kenichi Handa <handa@gnu.org>
4854
4855 * international/mule.el (define-coding-system): New coding system
4856 properties :inhibit-null-byte-detection,
4857 :inhibit-iso-escape-detection, and :prefer-utf-8.
4858 (set-buffer-file-coding-system): If :charset-list property of
4859 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4860 appropriate for setting.
4861
c1ea3abf
JB
4862 * international/mule-cmds.el (select-safe-coding-system):
4863 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4864 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4865
4866 * international/mule-conf.el (prefer-utf-8): New coding system.
4867 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4868 files.
4869
75dbaf9d
IK
48702013-06-28 Ivan Kanis <ivan@kanis.fr>
4871
eadb6068
IK
4872 * net/shr.el (shr-render-region): New function.
4873
75dbaf9d
IK
4874 * net/eww.el: Autoload `eww-browse-url'.
4875
9ea5cf9f
DG
48762013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4877
c1ea3abf
JB
4878 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4879 Adapt to `package-desc-version' being a list.
4880 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4881 archive element.
4882
39c0e36f
JB
48832013-06-27 Juanma Barranquero <lekktu@gmail.com>
4884
4885 New experimental feature to save&restore window and frame setup.
4886 * desktop.el (desktop-save-windows): New defcustom.
4887 (desktop--saved-states): New var.
4888 (desktop--excluded-frame-parameters): New defconst.
4889 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4890 (desktop--restore-windows, desktop--save-windows): New functions.
4891 (desktop-save): Call `desktop--save-windows'.
4892 (desktop-read): Call `desktop--restore-windows'.
4893
7f13406b
LMI
48942013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4895
ef099a94 4896 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4897
1e072639
SB
48982013-06-27 Stephen Berman <stephen.berman@gmx.net>
4899
4900 * info.el (Info-try-follow-nearest-node): Move search for footnote
4901 above search for node name to prevent missing a footnote (bug#14717).
4902
f3e2cbde
SB
49032013-06-27 Stephen Berman <stephen.berman@gmx.net>
4904
4905 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4906
99906aa0
LL
49072013-06-27 Leo Liu <sdl.web@gmail.com>
4908
4909 * net/eww.el (eww-read-bookmarks): Check file size.
4910
539f75f4
SM
49112013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4914 advice--pending if newdef is nil or an autoload (bug#13820).
4915 (advice-mapc): New function.
4916
843571cb
LMI
49172013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4918
4919 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4920 probably.
23a75d7f 4921 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4922 (eww-add-bookmark): New command.
4923 (eww-bookmark-mode): New mode and commands.
a285ce99 4924 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4925 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4926
f2136e1e
GM
49272013-06-26 Glenn Morris <rgm@gnu.org>
4928
eab35f39
GM
4929 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4930 (hfy-size): Handle ttys. (Bug#14668)
4931
f2136e1e
GM
4932 * info-xref.el: Update for Texinfo 5 change in *note format.
4933 (info-xref-node-re, info-xref-note-re): New constants.
4934 (info-xref-check-buffer): Use info-xref-note-re.
4935
a49ff80c
SM
49362013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4937
a343d218
SM
4938 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4939
a49ff80c
SM
4940 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4941 nil terminate the loop (bug#14718).
4942
8308f184
LMI
49432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4944
4945 * net/eww.el: Rework history traversal. When going forward/back,
4946 put these actions into the history, too, so that they can be
4947 replayed.
26bf2b82 4948 (eww-render): Move the history reset to the correct buffer.
8308f184 4949
ec64c273
JL
49502013-06-25 Juri Linkov <juri@jurta.org>
4951
4952 * files-x.el (modify-dir-local-variable): Change the header comment
4953 in the file with directory local variables. (Bug#14692)
4954
e080a9d7
JL
4955 * files-x.el (read-file-local-variable-value): Add `default'.
4956 (Bug#14710)
4957
bfbc93a1
IK
49582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4959
4960 * net/eww.el (eww-make-unique-file-name): Create a unique file
4961 name before saving to entering `y' accidentally asynchronously.
4962
49632013-06-25 Ivan Kanis <ivan@kanis.fr>
4964
4965 * net/eww.el (eww-download): New command and keystroke.
4966
16f74f10
LMI
49672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4968
a49ff80c 4969 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4970
4971 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4972 be more consistent with Info and dired.
4973
4974 * net/eww.el (eww-mode-map): Ditto.
4975
12059709
SM
49762013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4979 packages from archives.
4980 (package-archive-contents): Change format; include obsolete packages.
4981 (package-desc): Use `dir' to mark builtin packages.
4982 (package--from-builtin): Set the `dir' field to `builtin'.
4983 (generated-autoload-file, version-control): Declare.
4984 (package-compute-transaction): Change first arg and return value to be
4985 lists of package-descs. Adjust to new package-archive-contents format.
4986 (package--add-to-archive-contents): Adjust to new
4987 package-archive-contents format.
4988 (package-download-transaction): Arg is now a list of package-descs.
4989 (package-install): If `pkg' is a package name, pass it as
4990 a requirement, so it is subject to the usual (e.g. disabled) checks.
4991 (describe-package): Accept package-desc as well.
4992 (describe-package-1): Describe a specific package-desc. Add links to
4993 other package-descs for the same package name.
4994 (package-menu-describe-package): Pass the actual package-desc.
4995 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4996 works correctly.
4997 (package-desc-status): New function.
4998 (package-menu--refresh): New function, extracted
4999 from package-menu--generate.
5000 (package-menu--generate): Use it.
5001 (package-delete): Update package-alist.
5002 (package-menu-execute): Don't call package-initialize.
5003
5004 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5005 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5006 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5007 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5008 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5009 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5010
8bbdea0f
MR
50112013-06-25 Martin Rudalics <rudalics@gmx.at>
5012
5013 * window.el (window--state-get-1): Workaround for bug#14527.
5014 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5015
e82b0991
LMI
50162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5017
5018 * net/eww.el (eww-back-url): Implement the history by stashing all
5019 the data into a list.
d3f0f918 5020 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5021
c763842b
SM
50222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5025 for values and use read--expression for expressions (bug#14710).
5026 (read-file-local-variable): Avoid setq.
5027 (read-file-local-variable-mode): Use minor-mode-list.
5028
bceff189
RW
50292013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5030
864c58ca 5031 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5032 for DOI URLs.
5033
45f431c6
RW
50342013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5035
864c58ca 5036 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5037 Update imenu-support when dialect changes.
5038
f42d8237
LL
50392013-06-25 Leo Liu <sdl.web@gmail.com>
5040
5041 * ido.el (ido-read-internal): Allow forward slash on windows.
5042
be549ce6
LMI
50432013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5044
5045 * net/eww.el (eww): Start of strings is \\`, not ^.
5046
71d4c19d
IK
50472013-06-24 Ivan Kanis <ivan@kanis.fr>
5048
5196f88a
IK
5049 * net/shr.el (shr-browse-url): Fix interactive spec.
5050
71d4c19d
IK
5051 * net/eww.el (eww): Add a trailing slash to domain names.
5052
ae36ca55
JB
50532013-06-24 Juanma Barranquero <lekktu@gmail.com>
5054
5055 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5056
0ebd92a3
LMI
50572013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5058
bdaa086b
LMI
5059 * net/shr.el (shr-browse-url): Use an external browser if given a
5060 prefix.
5061
c763842b 5062 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5063
b89fc156
IK
50642013-06-24 Ivan Kanis <ivan@kanis.fr>
5065
5066 * net/eww.el (eww): Work more correctly for file: URLs.
5067 (eww-detect-charset): Allow quoted charsets.
5068 (eww-yank-page-url): New command and keystroke.
5069
18eb4bca
DU
50702013-06-24 Daiki Ueno <ueno@gnu.org>
5071
5072 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5073 file name of gpg executable.
5074 (epg-context-program): New function.
5075 (epg-context-home-directory): New function.
5076 (epg-context-set-program): New function.
5077 (epg-context-set-home-directory): New function.
5078 (epg--start): Use `epg-context-program' instead of
5079 'epg-gpg-program'.
5080 (epg--list-keys-1): Likewise.
5081
6c6268c8
LL
50822013-06-24 Leo Liu <sdl.web@gmail.com>
5083
5084 * ido.el (ido-read-internal): Fix bug#14620.
5085
5e400cb3
JB
50862013-06-23 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * faces.el (face-documentation): Simplify.
5089 (read-face-attribute, tty-find-type, x-resolve-font-name):
5090 Use `string-match-p'.
5091 (list-faces-display): Use `string-match-p'. Simplify.
5092 (face-spec-recalc): Check face to avoid face alias loops.
5093 (read-color): Use `string-match-p' and non-capturing parenthesis.
5094
f3f9606c
LMI
50952013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
5097 * net/shr.el (shr-rescale-image): Use the new
5098 :max-width/:max-height functionality.
5099
a3ca09b9
IK
51002013-06-23 Ivan Kanis <ivan@kanis.fr>
5101
5102 * net/eww.el (eww-search-prefix): New variable.
5103 (eww): Use it.
f865b474
IK
5104 (eww-external-browser): New variable.
5105 (eww-mode-map): New keystroke.
5106 (eww-browse-with-external-browser): New command.
a3ca09b9 5107
e854cfc7
IK
5108 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5109
18bb9e21
JB
51102013-06-23 Juanma Barranquero <lekktu@gmail.com>
5111
5112 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5113 Don't skip aligning the next header field when padding is 0;
5114 otherwise, field width is not respected unless the title is as
5115 wide as the field.
5116
5b165ade
SM
51172013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * emacs-lisp/package.el (package-el-version): Remove.
5120 (package-process-define-package): Fix inf-loop.
5121 (package-install): Allow symbols as arguments again.
5122
12adebe9
DG
51232013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5124
5125 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5126 add some more keyword-like methods.
5127 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5128
388573ee
JB
51292013-06-22 Juanma Barranquero <lekktu@gmail.com>
5130
5131 * bs.el (bs-buffer-show-mark): Make defvar-local.
5132 (bs-mode): Use setq-local.
5133
5134 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5135 (emacs-lock--try-unlocking): Make defvar-local.
5136
4582a01c 51372013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5138
2663dd23
GM
5139 * play/cookie1.el (cookie-apropos): Minor simplification.
5140
3d94f3ad
GM
5141 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5142
f72e2fdb
DG
51432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5144
5145 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5146 `regexp-opt', it breaks the build during dumping.
5147
73eab938
DG
51482013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5149
c763842b
SM
5150 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5151 Highlight keyword-like methods on Kernel and Module with
73eab938 5152 font-lock-builtin-face.
5cf8176d
DG
5153 (auto-mode-alist): Consolidate different entries into one regexp
5154 and add more *file-s.
73eab938 5155
d26255f6
SB
51562013-06-21 Stephen Berman <stephen.berman@gmx.net>
5157
5158 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5159
5160 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5161 (diary-entry): Use it in the action of this button type instead of
5162 diary-goto-entry.
5163
5164 * calendar/todo-mode.el: New version.
5165 (todo-add-category): Append new category to end of file and give
5166 it the highest number, instead of putting it at the beginning and
5167 giving it 0. Incorporate noninteractive functionality.
5168 (todo-forward-category): Adapt to 1-based category numbering.
5169 Allow skipping over archived categories.
5170 (todo-backward-category): Derive from todo-forward-category.
5171 (todo-backward-item, todo-forward-item): Make noninteractive and
5172 delegate interactive part to new commands. Make sensitive to done items.
5173 (todo-categories): Make value an alist of category names and
5174 vectors of item counts.
5175 (todo-category-beg): Make a defconst.
5176 (todo-category-number): Use 1 instead of 0 as initial value.
5177 (todo-category-select): Make sensitive to overlays, optional item
5178 highlighting and done items.
5179 (todo-delete-item): Make sensitive to overlays and marked and done items.
5180 (todo-edit-item): Make sensitive to overlays and editing of
5181 date/time header optional. Add format checks.
5182 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5183 no-op if point is not on an item. Advertise using todo-edit-quit.
5184 (todo-edit-mode): Make sensitive to new format, font-locking, and
5185 multiple todo files.
5186 (todo-insert-item, todo-insert-item-here): Derive from
5187 todo-basic-insert-item and extend functionality.
5188 (todo-item-end, todo-item-start): Make sensitive to done items.
5189 (todo-item-string): Don't return text properties. Restore point.
5190 (todo-jump-to-category): Make sensitive to multiple todo files and
5191 todo archives. Use extended category completion.
5192 (todo-lower-item, todo-raise-item): Rename to *-priority and
5193 derive from todo-set-item-priority.
5194 (todo-mode): Derive from special-mode. Make sensitive to new
5195 format, font-locking and multiple todo files. Make read-only.
5196 (todo-mode-map): Don't suppress digit keys, so they can supply
5197 prefix arguments. Add many new key bindings.
5198 (todo-prefix): Insert as an overlay instead of file text.
5199 Change semantics from diary date expression to purely visual mark.
5200 (todo-print): Rename to todo-print-buffer. Make buffer display
5201 features printable. Remove option to restrict number of items
5202 printed. Add option to print to file.
5203 (todo-print-function): Rename to todo-print-buffer-function.
5204 (todo-quit): Extend to handle exiting new todo modes.
5205 (todo-remove-item): Make sensitive to overlays.
5206 (todo-save): Extend to buffers of filtered items.
5207 (todo-show): Make sensitive to done items, multiple todo files and
5208 new todo modes. Offer to convert legacy todo file before creating
5209 first new todo file.
5210 (todo-show-priorities): Rename to todo-top-priorities.
5211 Change semantics of value 0.
5212 (todo-top-priorities): Rename to todo-filter-top-priorities,
5213 derive from todo-filter-items and extend functionality.
5214 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5215 and extend functionality to other types of filtered items.
5216 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5217 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5218 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5219 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5220 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5221 (todo-edit-mode-hook, todo-entry-prefix-function)
5222 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5223 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5224 (todo-initials, todo-insert-threshold, todo-item-string-start)
5225 (todo-line-string, todo-menu, todo-mode-hook)
5226 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5227 (todo-print-priorities, todo-remove-separator)
5228 (todo-save-top-priorities-too, todo-string-count-lines)
5229 (todo-string-multiline-p, todo-time-string-format)
5230 (todo-tmp-buffer-name): Remove.
5231 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5232 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5233 (todo-edit-category-diary-inclusion)
5234 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5235 (todo-edit-file, todo-edit-item-date-day)
5236 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5237 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5238 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5239 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5240 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5241 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5242 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5243 (todo-filter-top-priorities-multifile, todo-find-archive)
5244 (todo-find-filtered-items-file, todo-go-to-source-item)
5245 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5246 (todo-jump-to-archive-category, todo-lower-category)
5247 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5248 (todo-move-category, todo-move-item, todo-next-button)
5249 (todo-next-item, todo-padded-string, todo-powerset)
5250 (todo-previous-button, todo-previous-item)
5251 (todo-print-buffer-to-file, todo-raise-category)
5252 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5253 (todo-set-category-number, todo-set-item-priority)
5254 (todo-set-top-priorities-in-category)
5255 (todo-set-top-priorities-in-file, todo-show-categories-table)
5256 (todo-sort-categories-alphabetically-or-numerically)
5257 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5258 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5259 (todo-toggle-item-header, todo-toggle-item-highlighting)
5260 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5261 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5262 (todo-unarchive-items, todo-unmark-category): New commands.
5263 (todo-absolute-file-name, todo-add-to-buffer-list)
5264 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5265 (todo-basic-insert-item, todo-category-completions)
5266 (todo-category-number, todo-category-string-matcher-1)
5267 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5268 (todo-check-format, todo-clear-matches)
5269 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5270 (todo-current-category, todo-date-string-matcher)
5271 (todo-define-insertion-command, todo-diary-expired-matcher)
5272 (todo-diary-goto-entry, todo-diary-item-p)
5273 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5274 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5275 (todo-done-item-section-p, todo-done-separator)
5276 (todo-done-string-matcher, todo-files, todo-filter-items)
5277 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5278 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5279 (todo-insert-category-line, todo-insert-item-from-calendar)
5280 (todo-insert-sort-button, todo-insert-with-overlays)
5281 (todo-insertion-command-name, todo-insertion-key-bindings)
5282 (todo-label-to-key, todo-longest-category-name-length)
5283 (todo-make-categories-list, todo-mode-external-set)
5284 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5285 (todo-modes-set-3, todo-multiple-filter-files)
5286 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5287 (todo-read-category, todo-read-date, todo-read-dayname)
5288 (todo-read-file-name, todo-read-time)
5289 (todo-reevaluate-category-completions-files-defcustom)
5290 (todo-reevaluate-default-file-defcustom)
5291 (todo-reevaluate-filelist-defcustoms)
5292 (todo-reevaluate-filter-files-defcustom)
5293 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5294 (todo-reset-done-separator, todo-reset-done-separator-string)
5295 (todo-reset-done-string, todo-reset-global-current-todo-file)
5296 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5297 (todo-reset-prefix, todo-set-categories)
5298 (todo-set-date-from-calendar, todo-set-show-current-file)
5299 (todo-set-top-priorities, todo-short-file-name)
5300 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5301 (todo-total-item-counts, todo-update-buffer-list)
5302 (todo-update-categories-display, todo-update-categories-sexp)
5303 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5304 New functions.
5305 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5306 New major modes.
5307 (todo-categories, todo-display, todo-edit, todo-faces)
5308 (todo-filtered): New defgroups.
5309 (todo-archived-only, todo-button, todo-category-string, todo-date)
5310 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5311 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5312 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5313 (todo-add-item-if-new-category, todo-always-add-time-string)
5314 (todo-categories-align, todo-categories-archived-label)
5315 (todo-categories-category-label, todo-categories-diary-label)
5316 (todo-categories-done-label, todo-categories-number-separator)
5317 (todo-categories-todo-label, todo-categories-totals-label)
5318 (todo-category-completions-files, todo-completion-ignore-case)
5319 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5320 (todo-done-separator-string, todo-done-string)
5321 (todo-files-function, todo-filter-done-items, todo-filter-files)
5322 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5323 (todo-initial-category, todo-initial-file, todo-item-mark)
5324 (todo-legacy-date-time-regexp, todo-mode-line-function)
5325 (todo-nondiary-marker, todo-number-prefix)
5326 (todo-print-buffer-function, todo-show-current-file)
5327 (todo-show-done-only, todo-show-first, todo-show-with-done)
5328 (todo-skip-archived-categories, todo-top-priorities-overrides)
5329 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5330 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5331 New defcustoms.
5332 (todo-category-done, todo-date-pattern, todo-date-string-start)
5333 (todo-diary-items-buffer, todo-done-string-start)
5334 (todo-filtered-items-buffer, todo-item-start)
5335 (todo-month-abbrev-array, todo-month-name-array)
5336 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5337 (todo-top-priorities-buffer): New defconsts.
5338 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5339 (todo-categories-with-marks, todo-category-string-face)
5340 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5341 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5342 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5343 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5344 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5345 (todo-font-lock-keywords, todo-global-current-todo-file)
5346 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5347 (todo-insertion-commands-args)
5348 (todo-insertion-commands-args-genlist)
5349 (todo-insertion-commands-names, todo-insertion-map)
5350 (todo-key-bindings-t, todo-key-bindings-t+a)
5351 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5352 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5353 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5354 (todo-visited): New variables.
5355
cad5d1cb
GM
53562013-06-21 Glenn Morris <rgm@gnu.org>
5357
5358 * play/cookie1.el (cookie-apropos): Add optional display argument.
5359 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5360 (psychoanalyze-pinhead): Use cookie-doctor.
5361
9e277302
JB
53622013-06-21 Juanma Barranquero <lekktu@gmail.com>
5363
5364 * emacs-lisp/package.el (tar-get-file-descriptor)
5365 (tar--extract): Declare.
5366
c5b0993e
EW
53672013-06-21 Eduard Wiebe <usenet@pusto.de>
5368
5369 Extend flymake's warning predicate to be a function (bug#14217).
5370 * progmodes/flymake.el (flymake-warning-predicate): New.
5371 (flymake-parse-line): Use it.
5372 (flymake-warning-re): Make obsolete alias to
5373 `flymake-warning-predicate'.
5374
a7d2d465
SM
53752013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5378 (package-obsolete-list): Remove.
5379 (package-activate): Remove min-version argument. Add `force' argument.
5380 Adjust to new package-alist format.
5381 (package-mark-obsolete): Remove.
5382 (package-unpack): Force reload of the package's autoloads.
5383 (package-installed-p): Check builtins if the installed package is not
5384 recent enough.
5385 (package-initialize): Don't reset package-obsolete-list.
5386 Don't specify which package version to activate.
5387 (package-process-define-package, describe-package-1)
5388 (package-menu--generate): Adjust to new package-alist format.
5389
cedf5c9d
JB
53902013-06-21 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * allout-widgets.el (allout-widgets-mode-off)
5393 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5394 (allout-widgets-post-command-business)
5395 (allout-widgets-after-copy-or-kill-function)
5396 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5397 (allout-decorate-item-and-context)
5398 (allout-graphics-modification-handler): Fix typos in docstrings.
5399 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5400
5401 * cmuscheme.el (scheme-start-file): Doc fix.
5402 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5403 (scheme-input-filter): Use `string-match-p'.
5404
5405 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5406
5407 * dired-x.el: Use Dired consistently in docstrings.
5408
5409 * dired.el: Use Dired consistently in docstrings.
5410 (dired-readin, dired-mode): Use `setq-local'.
5411 (dired-switches-alist): Make defvar-local.
5412 (dired-buffers-for-dir): Use `zerop'.
5413 (dired-safe-switches-p, dired-switches-escape-p)
5414 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5415 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5416 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5417 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5418 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5419 (dired-toggle-marks, dired-mark-files-containing-regexp)
5420 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5421 (dired-flag-auto-save-files, dired-flag-backup-files):
5422 Use `looking-at-p'.
5423 (dired-mark-files-regexp, dired-build-subdir-alist):
5424 Use `string-match-p', `looking-at-p'.
5425
5426 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5427 (direct-print-region-helper): Use `string-match-p'.
5428
aed838b5
LL
54292013-06-21 Leo Liu <sdl.web@gmail.com>
5430
cedf5c9d
JB
5431 * comint.el (comint-redirect-results-list-from-process):
5432 Fix infinite loop.
aed838b5 5433
d80a808f
LMI
54342013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5435
5436 * net/eww.el (eww-update-header-line-format): Quote % characters.
5437
e7a526e3
GM
54382013-06-21 Glenn Morris <rgm@gnu.org>
5439
5440 * play/cookie1.el (cookie): New custom group.
5441 (cookie-file): New option.
5442 (cookie-check-file): New function.
5443 (cookie): Make it interactive. Make start and end messages optional.
5444 Interactively, display the result. Default to cookie-file.
5445 (cookie-insert): Default to cookie-file.
5446 (cookie-snarf): Make start and end messages optional.
5447 Default to cookie-file. Use with-temp-buffer.
5448 (cookie-read): Rename from read-cookie.
5449 Make start and end messages optional. Default to cookie-file.
5450 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5451 Do not autoload it.
e7a526e3
GM
5452 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5453 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5454
62efb35e
LL
54552013-06-21 Leo Liu <sdl.web@gmail.com>
5456
5457 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5458
21e3f963
GM
54592013-06-21 Glenn Morris <rgm@gnu.org>
5460
5461 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5462
fd846ab4
SM
54632013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5464 Daniel Hackney <dan@haxney.org>
5465
5466 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5467 Consolidate the single-file vs tarball code.
5468 (package-desc-suffix): New function.
5469 (package-desc-full-name): Don't bother inlining it.
5470 (package-load-descriptor): Return the new package-desc.
5471 (package-mark-obsolete): Remove unused arg `package'.
5472 (package-unpack): Make it work for single files as well.
5473 Make it update package-alist.
5474 (package--make-autoloads-and-stuff): Rename from
5475 package--make-autoloads-and-compile. Don't compile any more.
5476 (package--compile): New function.
5477 (package-generate-description-file): New function, extracted from
5478 package-unpack-single.
5479 (package-unpack-single): Remove.
5480 (package--with-work-buffer): Add indentation and debugging info.
5481 (package-download-single): Remove.
5482 (package-install-from-archive): Rename from package-download-tar, make
5483 it take a pkg-desc, and make it work for single files as well.
5484 (package-download-transaction): Simplify.
5485 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5486 external tar program.
5487 (package-install-from-buffer): Remove `pkg-desc' argument.
5488 Use package-tar-file-info for tar-mode buffers.
5489 (package-install-file): Simplify accordingly.
5490 (package-archive-base): Change to take a pkg-desc.
5491 * tar-mode.el (tar--check-descriptor): New function, extracted from
5492 tar-get-descriptor.
5493 (tar-get-descriptor): Use it.
5494 (tar-get-file-descriptor): New function.
5495 (tar--extract): New function, extracted from tar-extract.
5496 (tar--extract): Use it.
5497 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5498 case the summary uses non-ascii. Adjust to new calling convention of
5499 package-tar-file-info.
5500
b7deae5e
LL
55012013-06-21 Leo Liu <sdl.web@gmail.com>
5502
fd846ab4
SM
5503 * comint.el (comint-redirect-results-list-from-process):
5504 Fix random delay. (Bug#14681)
b7deae5e 5505
7a65a0b2
JB
55062013-06-21 Juanma Barranquero <lekktu@gmail.com>
5507
5508 * profiler.el (profiler-format-number): Use log, not log10.
5509
1493c2af
JB
55102013-06-20 Juanma Barranquero <lekktu@gmail.com>
5511
5512 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5513
aff6371e
SM
55142013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5517 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5518 yet available.
5519 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5520 (AUTOGENEL): ... here.
5521 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5522 (cl--defsubst-expand): Use it.
5523
89561f72
PE
55242013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5525
5526 * subr.el (log10): Move here from C code, and declare as obsolete.
5527 All uses of (log10 X) replaced with (log X 10).
5528
47199123
JB
55292013-06-20 Juanma Barranquero <lekktu@gmail.com>
5530
5531 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5532 Declare with `defvar-local'.
5533 (tabulated-list-use-header-line, tabulated-list-entries)
5534 (tabulated-list-padding, tabulated-list-printer)
5535 (tabulated-list-sort-key): Declare with `defvar-local'.
5536 (tabulated-list-init-header, tabulated-list-print-fake-header):
5537 Use `setq-local'.
5538
4a172eab
MA
55392013-06-20 Michael Albinus <michael.albinus@gmx.de>
5540
47199123
JB
5541 * arc-mode.el (archive-mode): Add `archive-write-file' to
5542 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5543
5fc0acc0
JB
55442013-06-20 Juanma Barranquero <lekktu@gmail.com>
5545
d5b27848
JB
5546 * cus-edit.el (custom-commands): Fix typos.
5547 (custom-display): Fix tooltip text.
5548 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5549 Fix typos in docstrings.
5550 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5551 (custom-unlispify-menu-entry, custom-magic-value-create)
5552 (custom-add-see-also, custom-group-value-create): Use ?\s.
5553 (custom-guess-type, customize-apropos, editable-field)
5554 (custom-face-value-create): Use `string-match-p'.
5555 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5556
5557 * custom.el (custom-load-symbol): Use `string-match-p'.
5558
a5c581d8
JB
5559 * ansi-color.el: Convert to lexical binding.
5560 (ansi-colors): Fix URL.
5561 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5562 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5563 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5564
970ad972
G
55652013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
5567 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5568
5569 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5570
55712013-06-19 Tom Tromey <tromey@redhat.com>
5572
5573 * net/eww.el (eww-top-url): Remove.
5574 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5575 (eww-render): Set new variables. Don't set eww-top-url.
5576 (eww-handle-link): Handle "prev", "home", and "contents".
5577 Downcase the rel text.
5578 (eww-top-url): Choose best top URL.
5579
55802013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5581
5582 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5583 relying in widget.el. Using widget.el leads to too many
5584 user interface inconsistencies.
5585 (eww-self-insert): Implement entering commands in text fields.
5586 (eww-process-text-input): New function to make text input field editing
5587 work.
5588 (eww-submit): Rewrite to use the new-style form methods.
5589 (eww-select-display): Display the correct selected item.
5590 (eww-change-select): Implement changing the select value.
5591 (eww-toggle-checkbox): Implement radio/checkboxes.
5592 (eww-update-field): Fix compilation error.
5593 (eww-tag-textarea): Implement <textarea>.
5594
5595 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5596 we don't shadow mode-specific bindings.
5597
5598 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5599 nothing to push.
5600
5601 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5602
4582a01c 56032013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5604
5605 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5606
15b263dc
MA
56072013-06-19 Michael Albinus <michael.albinus@gmx.de>
5608
5609 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5610 not needed.
5611
5612 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5613
8f5297f7
LMI
56142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5615
5616 * net/browse-url.el (browse-url-browser-function):
5617 `eww-browse-url' has the right calling signature, `eww' does not.
5618
011c4552
GM
56192013-06-19 Glenn Morris <rgm@gnu.org>
5620
2285bd27
GM
5621 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5622 Only eval autoloaded macros.
5623 (byte-compile-autoload): Only give the macro warning for macros.
5624
1d653303
GM
5625 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5626 (ps-underlined-faces): Declare.
5627
bdd779ec
GM
5628 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5629 (speedbar-add-supported-extension): Declare.
5630
011c4552
GM
5631 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5632 Don't include a date stamp in the header of the generated file;
5633 it leads to needless differences between output files.
5634
e59dfb0e
MA
56352013-06-19 Michael Albinus <michael.albinus@gmx.de>
5636
c763842b
SM
5637 * net/secrets.el (secrets-struct-secret-content-type):
5638 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5639 Some servers do not offer introspection.
e59dfb0e 5640
102626e2
SM
56412013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * electric.el (electric-pair-mode): Improve interaction with
5644 electric-layout-mode.
5645 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5646 (electric-pair-syntax): Use text-mode-syntax-table in comments
5647 and strings.
5648 (electric-pair--insert): New function.
5649 (electric-pair-post-self-insert-function): Use it and
5650 electric--after-char-pos.
5651
ad528125
LL
56522013-06-19 Leo Liu <sdl.web@gmail.com>
5653
5654 * progmodes/octave.el (octave-help): Fix regexp.
5655
924d6997
G
56562013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5657
5658 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5659 (shr-table-horizontal-line): Allow nil as a value, and change the
5660 default.
5661 (shr-insert-table-ruler): Respect the nil value.
5662
56632013-06-18 Tom Tromey <tromey@barimba>
5664
5665 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5666 New defvars.
5667 (eww-open-file): New defun.
5668 (eww-render): Initialize new variables.
5669 (eww-display-html): Handle "link" and "a".
5670 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5671 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5672 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5673 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5674 New defuns.
924d6997 5675
d1bbba4f
DG
56762013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5677
5678 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5679 Distinguish ternary operator tokens from slash symbol and slash
5680 char literal.
5681
14dd22d2
JB
56822013-06-18 Juanma Barranquero <lekktu@gmail.com>
5683
5684 Convert symbol prettification into minor mode and global minor mode.
5685
5686 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5687 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5688 (prettify-symbols--keywords): Rename from
5689 `prog-prettify-symbols-alist' and make a local defvar.
5690 (prettify-symbols--compose-symbol): Rename from
5691 `prog--prettify-font-lock-compose-symbol'.
5692 (prettify-symbols--make-keywords): Rename from
5693 `prog-prettify-font-lock-symbols-keywords' and simplify.
5694 (prog-prettify-install): Remove.
5695 (prettify-symbols-mode): New minor mode, based on
5696 `prog-prettify-install'.
5697 (turn-on-prettify-symbols-mode): New function.
5698 (global-prettify-symbols-mode): New globalized minor mode.
5699
5700 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5701 * progmodes/cfengine.el (cfengine3-mode):
5702 * progmodes/perl-mode.el (perl-mode): Don't call
5703 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5704
292c880c
JL
57052013-06-18 Juri Linkov <juri@jurta.org>
5706
5707 * files-x.el (modify-file-local-variable-message): New function.
5708 (modify-file-local-variable)
5709 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5710 and call `modify-file-local-variable-message' when it's non-nil.
5711 (add-file-local-variable, delete-file-local-variable)
5712 (add-file-local-variable-prop-line)
5713 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5714 and use it. (Bug#9820)
5715
0950aa27
JL
57162013-06-18 Juri Linkov <juri@jurta.org>
5717
5718 * emulation/vi.el (vi-shell-op):
5719 * emulation/vip.el (vip-execute-com, ex-command):
5720 * emulation/viper-cmd.el (viper-exec-bang):
5721 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5722 the call of `shell-command-on-region'. (Bug#14637)
5723
5724 * simple.el (shell-command-on-region): Doc fix.
5725
8fbcca16
SM
57262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5729 (bug#14633).
5730
dd7426ea
GM
57312013-06-18 Glenn Morris <rgm@gnu.org>
5732
4ba54f7d
GM
5733 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5734
dd7426ea
GM
5735 * newcomment.el (comment-search-forward, comment-search-backward):
5736 Doc fix. (Bug#14376)
5737
58aa805b
JB
57382013-06-18 Juanma Barranquero <lekktu@gmail.com>
5739
5740 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5741 (buffer-face-mode-invoke): Doc fix.
5742
9a08a617
MM
57432013-06-18 Matthias Meulien <orontee@gmail.com>
5744
5745 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5746 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5747
f2f426ca
GM
57482013-06-18 Glenn Morris <rgm@gnu.org>
5749
9445f99b
GM
5750 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5751 Replace obsolete function generic-make-keywords with its expansion.
5752
e0df2d14
GM
5753 * progmodes/python.el (ffap-alist): Declare.
5754
f2f426ca
GM
5755 * textmodes/reftex.el (bibtex-mode-map): Declare.
5756
f7f9a720
SM
57572013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5760 (package-unpack, package-unpack-single): Return the pkg-dir.
5761 (package-download-transaction): Use it to update package-alist.
5762
57ff04e0
LMI
57632013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
5765 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5766 possible choice.
5767
c048c022
JL
57682013-06-17 Juri Linkov <juri@jurta.org>
5769
5770 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5771
b5bcaee5
DG
57722013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5773
a020afb9
JB
5774 * emacs-lisp/package.el (package-load-descriptor):
5775 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5776 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5777
551e07e5
JB
57782013-06-17 Juanma Barranquero <lekktu@gmail.com>
5779
5780 * startup.el (command-line): Expand package name returned by
5781 `package--description-file' (bug#14639).
5782
d363bffb
DG
57832013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5784
5785 * emacs-lisp/package.el (package-load-descriptor): Do not call
5786 `emacs-lisp-mode', just use its syntax table.
5787
f612933b
JB
57882013-06-17 Juanma Barranquero <lekktu@gmail.com>
5789
5790 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5791 `font-lock-extra-managed-props' if any prettifying keyword is added.
5792 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5793 (prog-mode): Use `setq-local'.
5794
db3b7db5
SM
57952013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * international/characters.el (standard-case-table): Set syntax of ?»
5798 and ?« to punctuation.
5799
f3d674df
JB
58002013-06-16 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5803 Save relevant match data before calling `syntax-ppss' (bug#14595).
5804
31489a32
JL
58052013-06-15 Juri Linkov <juri@jurta.org>
5806
5807 * files-x.el (modify-file-local-variable-prop-line): Add local
5808 variables to the end of the existing comment on the first line.
5809 Use `file-auto-mode-skip' to skip interpreter magic line,
5810 and also skip XML declaration.
5811
66bd25ab
SM
58122013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * startup.el (package--builtin-versions): New var.
5815 (package-subdirectory-regexp): Remove.
5816 (package--description-file): Hard code its value instead.
5817
5818 * emacs-lisp/package.el: Don't activate packages older than builtin.
5819 (package-obsolete-list): Rename from package-obsolete-alist, and make
5820 it into a simple list of package-desc.
5821 (package-strip-version): Remove.
5822 (package-built-in-p): Use package--builtin-versions.
5823 (package-mark-obsolete): Simplify.
5824 (package-process-define-package): Mark it obsolete if older than the
5825 builtin version.
5826 (package-handle-response): Use line-end-position.
5827 (package-read-archive-contents, package--download-one-archive):
5828 Simplify.
5829 (package--add-to-archive-contents): Skip if older than the builtin or
5830 installed version.
5831 (package-menu-describe-package): Fix last change.
5832 (package-list-unversioned): New var.
5833 (package-menu--generate): Use it.
5834
5835 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5836 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5837 (autoload-builtin-package-versions): New variable.
5838 (autoload-generate-file-autoloads): Use them.
5839 Remove the list of autoloaded functions/macros from the
5840 (autoload...) comments.
5841
5842 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5843
9583ec36
EZ
58442013-06-15 Eli Zaretskii <eliz@gnu.org>
5845
5846 * simple.el (line-move-partial): Don't jump to the next screen
5847 line as soon as it becomes visible. Instead, continue enlarging
5848 the vscroll until the portion of a tall screen line that's left on
5849 display is about the height of the frame's default font.
5850 (Bug#14567)
5851
f0100d8a
GM
58522013-06-15 Glenn Morris <rgm@gnu.org>
5853
b86a85ca
GM
5854 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5855 compilation-error-regexp-alist void, or local while let-bound.
5856
f0100d8a
GM
5857 * progmodes/make-mode.el (makefile-mode-syntax-table):
5858 Treat "=" as punctuation. (Bug#14614)
5859
05e7ce90
JB
58602013-06-15 Juanma Barranquero <lekktu@gmail.com>
5861
5862 * help-fns.el (describe-variable):
5863 Add extra line for permanent-local variables.
5864
12e5e86e
SH
58652013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5866
5867 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5868 Add export, import, library. (Bug#9164)
5869 (library): Set indent function.
5870
230dcbaf
GM
58712013-06-14 Glenn Morris <rgm@gnu.org>
5872
5873 * term/xterm.el (xterm--query):
5874 Stop after first matching handler. (Bug#14615)
5875
e36b2d20 58762013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5877
5878 Add support for dired in saveplace.
5879 * dired.el (dired-initial-position-hook): New variable.
5880 (dired-initial-position): Call hook to place cursor position.
5881 * saveplace.el (save-place-to-alist): Add dired position.
5882 (save-place-dired-hook): New function.
5883
0b31660d
SM
58842013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5885
bf1e6ae8
SM
5886 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5887 through a symbol rather than letrec.
5888
1b8dff23
SM
5889 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5890 (package-desc): Add `dir' field.
5891 (package-desc-full-name): New function.
5892 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5893 (package-maybe-load-descriptor): Remove.
5894 (package-load-all-descriptors): Just call package-load-descriptor.
5895 (package--disabled-p): New function.
5896 (package-desc-vers, package-desc-doc): Remove aliases.
5897 (package--dir): Remove function.
5898 (package-activate): Check if a package is disabled.
5899 (package-process-define-package): New function, extracted from
5900 define-package.
5901 (define-package): Turn into a place holder.
5902 (package-unpack-single, package-tar-file-info):
5903 Use package--description-file.
5904 (package-compute-transaction): Use package--disabled-p.
5905 (package-download-transaction): Don't call
5906 package-maybe-load-descriptor since they're all loaded anyway.
5907 (package-install): Change argument to be a pkg-desc.
5908 (package-delete): Use a single pkg-desc argument.
5909 (describe-package-1): Use package-desc-dir instead of package--dir.
5910 Use package-desc property instead of package-symbol.
5911 (package-install-button-action): Adjust accordingly.
5912 (package--push): Rewrite.
5913 (package-menu--print-info): Adjust accordingly. Change the ID format
5914 to be a pkg-desc.
5915 (package-menu-describe-package, package-menu-get-status)
5916 (package-menu--find-upgrades, package-menu-mark-upgrades)
5917 (package-menu-execute, package-menu--name-predicate):
5918 Adjust accordingly.
5919 * startup.el (package--description-file): New function.
5920 (command-line): Use it.
5921 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5922 Use package-desc-version.
5923
0b31660d
SM
5924 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5925 (byte-compile-preprocess): Use it.
5926 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5927 can't quite recognize.
5928 (byte-compile-add-to-list): Remove.
5929 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5930 (cconv-closure-convert): Add assertion.
5931
5932 * emacs-lisp/map-ynp.el: Use lexical-binding.
5933 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5934 Factor out some repeated code.
5935
de0503df
SM
59362013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * subr.el (with-eval-after-load): New macro.
5939 (eval-after-load): Allow form to be a function.
5940 take advantage of lexical-binding.
5941 (do-after-load-evaluation): Use dolist and adjust to new format.
5942 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5943
bc5c8c5a
JL
59442013-06-13 Juri Linkov <juri@jurta.org>
5945
5946 * replace.el (perform-replace): Display "symbol " and other search
5947 modes from `isearch-message-prefix' in the *Help* buffer.
5948
5949 * isearch.el (isearch-query-replace): Add " symbol" and other
5950 possible search modes from `isearch-message-prefix' to the prompt.
5951 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5952 when reading a regexp to collect.
5953
a22289f7
JL
59542013-06-13 Juri Linkov <juri@jurta.org>
5955
5956 * isearch.el (word-search-regexp): Match whitespace if the search
5957 string begins or ends in whitespace. The LAX arg is applied to
5958 both ends of the search string. Use `regexp-quote' and explicit
5959 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5960 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5961 boundaries are replaced with symbol boundaries, and characters
5962 between symbols match non-word non-symbol syntax. (Bug#14602)
5963
cb89acab
JL
59642013-06-13 Juri Linkov <juri@jurta.org>
5965
5966 * isearch.el (isearch-del-char): Don't exceed the length of
5967 `isearch-string' by the prefix arg. (Bug#14563)
5968
6e8cfc81
JL
59692013-06-13 Juri Linkov <juri@jurta.org>
5970
5971 * isearch.el (isearch-yank-word, isearch-yank-line)
5972 (isearch-char-by-name, isearch-quote-char)
5973 (isearch-printing-char, isearch-process-search-char):
5974 Add optional count prefix arg. (Bug#14563)
5975
5976 * international/isearch-x.el
5977 (isearch-process-search-multibyte-characters):
5978 Add optional count prefix arg.
5979
c23d55f4
VS
59802013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5983 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5984 lexical-binding.
5985
59862013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5987
5988 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5989
ba947bc4
GM
59902013-06-13 Glenn Morris <rgm@gnu.org>
5991
8baeb37a
GM
5992 * startup.el (tty-handle-args):
5993 Don't just discard "--" and anything after. (Bug#14608)
5994
ba947bc4
GM
5995 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5996
9abefce4
MA
59972013-06-13 Michael Albinus <michael.albinus@gmx.de>
5998
5999 Implement changes in Secret Service API. Make it backward compatible.
6000 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6001 (secrets-create-item): Use it. Prefix properties with interface.
6002
5755011f
MH
60032013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6004
6005 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6006 (term-emulate-terminal): Respect term-suppress-hard-newline.
6007
1261d2da
S
60082013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6009
6010 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6011 Only remove a `thumb-file' overlay. (Bug#14548)
6012
868490bb
GJ
60132013-06-12 Grégoire Jadi <daimrod@gmail.com>
6014
6015 * mail/reporter.el (reporter-submit-bug-report):
6016 Handle missing package-name. (Bug#14600)
6017
79d7167f
TH
60182013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6019
6020 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6021 (reftex-citation-prompt, reftex-default-bibliography)
6022 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6023 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6024 (reftex-bib-sort-author, reftex-bib-sort-year)
6025 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6026 (reftex-extract-bib-entries-from-thebibliography)
6027 (reftex-get-bibkey-default, reftex-get-bib-names)
6028 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6029 (reftex-format-bib-entry, reftex-parse-bibitem)
6030 (reftex-format-bibitem, reftex-do-citation)
6031 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6032 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6033 (reftex-insert-bib-matches, reftex-format-citation)
6034 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6035 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6036 existing comments into docstrings.
6037
5f9dbd7a
XF
60382013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6039
6040 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6041
94df41ab
AS
60422013-06-12 Andreas Schwab <schwab@suse.de>
6043
6044 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6045 for auto-save files.
6046
a7f3fecc
GM
60472013-06-12 Glenn Morris <rgm@gnu.org>
6048
001809f6
GM
6049 * ido.el (ido-delete-ignored-files): Remove.
6050 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6051 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6052
834b5ded
EL
60532013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6054
08c73ed2
EL
6055 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6056
834b5ded
EL
6057 * ido.el (ido-delete-ignored-files): New function,
6058 split from ido-make-file-list-1.
6059 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6060 (ido-make-file-list-1): Use ido-delete-ignored-files.
6061
daabf15a
LL
60622013-06-12 Leo Liu <sdl.web@gmail.com>
6063
6064 * progmodes/octave.el (inferior-octave-startup)
6065 (inferior-octave-completion-table)
6066 (inferior-octave-track-window-width-change)
6067 (octave-eldoc-function-signatures, octave-help)
6068 (octave-find-definition): Use single quoted strings.
6069 (inferior-octave-startup-args): Change default value.
6070 (inferior-octave-startup): Do not hard code "-i" and
6071 "--no-line-editing".
6072 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6073 (inferior-octave-directory-tracker): Use it.
6074 (octave-goto-function-definition): Robustify.
6075 (octave-help): Support highlighting operators in 'See also'.
6076 (octave-find-definition): Find subfunctions only in Octave mode.
6077
cf4e5178
SM
60782013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * help-fns.el (help-fns--compiler-macro): If the handler function is
6081 named, then put a link to it.
6082 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6083 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6084 (cl-typep): Use it.
6085 (cl-eval-when): Simplify debug spec.
6086 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6087 compiler-macro function instead of setting `compiler-macro-file'.
6088
99c81280 60892013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6090
6091 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6092 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6093
f56be016
SM
60942013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6095 Daniel Hackney <dan@haxney.org>
6096
6097 First part of Daniel Hackney's patch to package.el.
6098 * emacs-lisp/package.el: Use defstruct.
6099 (package-desc): New, main struct.
6100 (package--bi-desc, package--ac-desc): New structs, used to describe the
6101 format in external files.
6102 (package-desc-vers): Replace with package-desc-version accessor.
6103 (package-desc-doc): Replace with package-desc-summary accessor.
6104 (package-activate-1): Remove `package' arg since the pkg-vec now
6105 includes the name.
6106 (define-package): Use package-desc-from-define.
6107 (package-unpack-single): Change file-name arg to be a symbol.
6108 (package--add-to-archive-contents): Use package-desc-create and new
6109 accessor functions to package--ac-desc.
6110 (package-buffer-info, package-tar-file-info): Return a package-desc.
6111 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6112 arg to be a package-desc.
6113 (package-install-file): Adjust accordingly. Use \' to match EOS.
6114 (package--from-builtin): New function.
6115 (describe-package-1, package-menu--generate): Use it.
6116 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6117 (package-generate-autoloads): Idem and return the name of the file.
6118 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6119 Change pkg-info arg to be a package-desc.
6120 Use package-make-ac-desc.
6121 (package-upload-file): Use \' to match EOS.
6122 * finder.el (finder-compile-keywords): Use package-make-builtin.
6123
31119d63
SM
61242013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6125
931a2762
SM
6126 * vc/vc.el (vc-deduce-fileset): Change error message.
6127 (vc-read-backend): New function.
6128 (vc-next-action): Use it.
6129
5a3eb0c6
SM
6130 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6131
e3eb1bb7
SM
6132 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6133 (prolog-font-lock-keywords): Use regexp-opt instead.
6134 Don't manually highlight strings.
6135 (prolog-mode-variables): Simplify comment-start-skip.
6136 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6137
31119d63
SM
6138 * emacs-lisp/generic.el (generic--normalise-comments)
6139 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6140 (generic-mode-set-comments): Use them.
6141 (generic-bracket-support): Use setq-local.
6142 (generic-make-keywords-list): Declare obsolete.
6143
7de135d0
GM
61442013-06-11 Glenn Morris <rgm@gnu.org>
6145
6146 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6147 Prettify after setting font-lock-defaults. (Bug#14574)
6148
fa6bc6fd
JB
61492013-06-11 Juanma Barranquero <lekktu@gmail.com>
6150
6151 * replace.el (query-replace, occur-read-regexp-defaults-function)
6152 (replace-search):
6153 * subr.el (declare-function, number-sequence, local-set-key)
6154 (substitute-key-definition, locate-user-emacs-file)
6155 (with-silent-modifications, split-string, eval-after-load):
6156 Fix typos, remove unneeded backslashes and reflow some docstrings.
6157
cf1f9b9a
SM
61582013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6161 default for Elisp files.
6162
56602a4b
GM
61632013-06-11 Glenn Morris <rgm@gnu.org>
6164
6165 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6166 although define-derived-mode was doing this anyway. (Bug#14583)
6167
30ae0b2c
JB
61682013-06-10 Juanma Barranquero <lekktu@gmail.com>
6169
6170 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6171 Fix make-variable-buffer-local call to refer to the correct variable.
6172
fa472906
AG
61732013-06-10 Aidan Gauland <aidalgol@amuri.net>
6174
6175 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6176 (eshell-visual-subcommands, eshell-visual-options):
6177 Add summary line to docstrings. Add cross-references.
fa472906 6178
ff4871b9
GM
61792013-06-10 Glenn Morris <rgm@gnu.org>
6180
6181 * epa.el (epa-read-file-name): New function. (Bug#14510)
6182 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6183
04fcf1b0
AG
61842013-06-09 Aidan Gauland <aidalgol@amuri.net>
6185
6186 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6187 output redirection to be ignored with visual commands.
6188
88b00caa
AG
61892013-06-09 Aidan Gauland <aidalgol@amuri.net>
6190
6191 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6192 (eshell-term-initialize): Move long lambda to separate function
6193 eshell-visual-command-p.
e7b41c4c
JB
6194 * eshell/em-dirs.el (eshell-dirs-initialise):
6195 * eshell/em-script.el (eshell-script-initialize):
6196 Add missing #' to lambda.
88b00caa 6197
fda74125
LL
61982013-06-08 Leo Liu <sdl.web@gmail.com>
6199
6200 * progmodes/octave.el (octave-add-log-current-defun): New function.
6201 (octave-mode): Set add-log-current-defun-function.
6202 (octave-goto-function-definition): Do not move point if not found.
6203 (octave-find-definition): Enhance to try subfunctions first.
6204
467f3b33
GM
62052013-06-08 Glenn Morris <rgm@gnu.org>
6206
6207 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6208 (byte-compile-backward-char, byte-compile-backward-word):
6209 Improve previous change, to handle non-explicit nil.
6210
544badc3
SM
62112013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6214 (smie--opener/closer-at-point): New function.
6215 (smie--matching-block-data): Use it. Don't match from right after an
6216 opener or right before a closer. Obey smie-blink-matching-inners.
6217 Don't signal a mismatch for repeated inners like "switch..case..case".
6218
a175bf33
LL
62192013-06-07 Leo Liu <sdl.web@gmail.com>
6220
6221 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6222 to t. (Bug#14303)
ce8209d4
LL
6223 (octave-function-header-regexp): Fix. (Bug#14570)
6224 (octave-help-mode-finish-hook, octave-help-mode-finish):
6225 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6226
6227 * newcomment.el (comment-search-backward): Revert last change.
6228 (Bug#14434)
6229
6230 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6231
a822acff
EZ
62322013-06-07 Eli Zaretskii <eliz@gnu.org>
6233
6234 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6235 through xargs, to avoid failure due to MS-Windows limitations on
6236 command-line length.
6237
961166f5
GM
62382013-06-06 Glenn Morris <rgm@gnu.org>
6239
d0341459
GM
6240 * font-lock.el (lisp-font-lock-keywords-2):
6241 Treat user-error like error.
6242
961166f5
GM
6243 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6244 (byte-compile-backward-char, byte-compile-backward-word):
6245 Handle explicit nil arguments. (Bug#14565)
6246
80fa505f
AM
62472013-06-05 Alan Mackenzie <acm@muc.de>
6248
6249 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6250 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6251 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6252 (Bug#9706)
80fa505f 6253
fccdc796
SM
62542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * autorevert.el (auto-revert-notify-handler): Use memq.
6257 Hide assertion failure.
6258
6259 * skeleton.el: Use cl-lib.
6260 (skeleton-further-elements): Use defvar-local.
6261 (skeleton-insert): Use cl-progv.
6262
9bfff84b
TZ
62632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6264
6265 * progmodes/prog-mode.el (prog-prettify-symbols)
6266 (prog-prettify-install): Update docstrings.
6267
55577e7c
SM
62682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * simple.el: Move all the prog-mode code to prog-mode.el.
6271 * progmodes/prog-mode.el: New file.
6272 * loadup.el: Add prog-mode.el.
6273
8fc57765
TZ
62742013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6275
6276 * simple.el (prog-prettify-symbols): Add version.
6277 (prog-prettify-install): Add convenience function to prettify symbols.
6278
6279 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6280 (perl--augmented-font-lock-keywords-1)
6281 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6282 variables and use it.
6283
6284 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6285 (cfengine3-mode): Remove unneeded variable and use it.
6286
6287 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6288 (lisp--augmented-font-lock-keywords-1)
6289 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6290 Remove unneeded variables and use it.
6291
650645d5 62922013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6293
6294 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6295 to point when opening the connection. (Bug#14380)
28f5da6d 6296
781b4af6
SM
62972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * subr.el (load-history-regexp, load-history-filename-element)
6300 (eval-after-load, after-load-functions, do-after-load-evaluation)
6301 (eval-next-after-load, display-delayed-warnings)
6302 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6303 definition of save-match-data.
6304 (overriding-local-map): Remove accidental obsolescence declaration.
6305
6306 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6307
3ca0d0b4
TZ
63082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6309
6310 Generalize symbol prettify support to prog-mode and implement it
6311 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6312 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6313 (prog--prettify-font-lock-compose-symbol)
6314 (prog-prettify-font-lock-symbols-keywords): New variables and
6315 functions to support symbol prettification.
6316 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6317 (lisp--augmented-font-lock-keywords-1)
6318 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6319 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6320 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6321 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6322 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6323 * progmodes/perl-mode.el (perl-prettify-symbols)
6324 (perl--font-lock-compose-symbol)
6325 (perl--font-lock-symbols-keywords): Move to prog-mode.
6326 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6327 (perl-font-lock-keywords-1)
6328 (perl-font-lock-keywords-2): Remove explicit prettify support.
6329 (perl--augmented-font-lock-keywords)
6330 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6331 (perl--augmented-font-lock-keywords-2, perl-mode):
6332 Implement prettify support.
3ca0d0b4 6333
976cb066
LL
63342013-06-05 Leo Liu <sdl.web@gmail.com>
6335
6336 Re-implement smie matching block highlight using
6337 show-paren-data-function. (Bug#14395)
6338 * emacs-lisp/smie.el (smie-matching-block-highlight)
6339 (smie--highlight-matching-block-overlay)
6340 (smie--highlight-matching-block-lastpos)
6341 (smie-highlight-matching-block)
6342 (smie-highlight-matching-block-mode): Remove.
6343 (smie--matching-block-data-cache): New variable.
6344 (smie--matching-block-data): New function.
6345 (smie-setup): Use smie--matching-block-data for
6346 show-paren-data-function.
6347
6348 * progmodes/octave.el (octave-mode-menu): Fix.
6349 (octave-find-definition): Skip garbage lines.
6350
208d0342
SM
63512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 Fix compilation error with simultaneous dynamic+lexical scoping.
6354 Add warning when a defvar appears after the first let-binding.
6355 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6356 (byte-compile-close-variables): Initialize it.
6357 (byte-compile--declare-var): New function.
6358 (byte-compile-file-form-defvar)
6359 (byte-compile-file-form-define-abbrev-table)
6360 (byte-compile-file-form-custom-declare-variable): Use it.
6361 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6362 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6363 (byte-compile-bind): Handle dynamic bindings that shadow
6364 lexical bindings.
6365 (byte-compile-unbind): Make arg non-optional.
6366 (byte-compile-let): Simplify.
6367 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6368 (cconv--analyse-function, cconv-analyse-form): Populate it.
6369 Protect byte-compile-bound-variables to limit the scope of defvars.
6370 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6371 Remove unneeded rule for `declare'.
6372
6373 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6374 so as to avoid depending on cl-adjoin at run-time.
6375 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6376
6377 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6378 (macroexp--warn-and-return): Use it.
6379
2587b005
LL
63802013-06-05 Leo Liu <sdl.web@gmail.com>
6381
6382 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6383
f1da3c88
LL
63842013-06-04 Leo Liu <sdl.web@gmail.com>
6385
6386 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6387 (compilation-auto-jump): Suppress the "Mark set" message to give
6388 way to exit message.
6389
3caa391f
AM
63902013-06-04 Alan Mackenzie <acm@muc.de>
6391
6392 Remove faulty optimisation from indentation calculation.
6393 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6394 search limit based on 2000 characters back from indent-point.
6395
068922a2
TH
63962013-06-03 Tassilo Horn <tsdh@gnu.org>
6397
6398 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6399
1f8fdd53
SM
64002013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6401
bbcc4d97
SM
6402 * emacs-lisp/lisp.el: Use lexical-binding.
6403 (lisp--local-variables-1, lisp--local-variables): New functions.
6404 (lisp--local-variables-completion-table): New var.
208d0342 6405 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6406
1f8fdd53
SM
6407 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6408 eagerly (bug#14422).
6409
c9628c79
MA
64102013-06-03 Michael Albinus <michael.albinus@gmx.de>
6411
6412 * autorevert.el (auto-revert-notify-enabled)
6413 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6414 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6415 (auto-revert-notify-handler): Handle also gfilenotify.
6416
e7b41c4c 6417 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6418 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6419 Remove.
c9628c79 6420
e5e4a942
JL
64212013-06-03 Juri Linkov <juri@jurta.org>
6422
6423 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6424 `M-s h .'. (Bug#14427)
6425
6426 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6427 command `hi-lock-face-symbol-at-point'.
6428 (hi-lock-face-symbol-at-point): New command.
6429 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6430 (hi-lock-menu): Add `highlight-symbol-at-point'.
6431 (hi-lock-mode): Doc fix.
6432
6433 * isearch.el (isearch-forward-symbol-at-point): New command.
6434 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6435 (isearch-highlight-regexp): Add a regexp which matches
6436 words/symbols for word/symbol mode.
6437
6438 * subr.el (find-tag-default-bounds): New function with the body
6439 mostly moved from `find-tag-default'.
6440 (find-tag-default): Move most code to `find-tag-default-bounds',
6441 call it and apply `buffer-substring-no-properties' afterwards.
6442
26b3353a
TH
64432013-06-03 Tassilo Horn <tsdh@gnu.org>
6444
781b4af6
SM
6445 * eshell/em-term.el (eshell-term-initialize):
6446 Use `cl-intersection' rather than `intersection'.
26b3353a 6447
51b60f53
XF
64482013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6449
fe054b63 6450 * vc/log-view.el: Doc fix.
d3ffe17c 6451 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6452
a0eb10b3 64532013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6454
6455 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6456 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6457 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6458 (eieio-unbound, eieio-default-superclass)
6459 (eieio--define-field-accessors, method-static, method-before)
6460 (method-primary, method-after, method-num-lists)
6461 (method-generic-before, method-generic-primary)
6462 (method-generic-after, method-num-slots)
6463 (eieio-specialized-key-to-generic-key)
6464 (eieio--check-type, class-v, class-p)
6465 (eieio-class-name, define-obsolete-function-alias)
6466 (eieio-class-parents-fast, eieio-class-children-fast)
6467 (same-class-fast-p, class-constructor, generic-p)
6468 (generic-primary-only-p, generic-primary-only-one-p)
6469 (class-option-assoc, class-option, eieio-object-p)
6470 (class-abstract-p, class-method-invocation-order)
6471 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6472 (eieio-class-un-autoload, eieio-defclass)
6473 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6474 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6475 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6476 (eieio-defgeneric-reset-generic-form)
6477 (eieio-defgeneric-form-primary-only)
6478 (eieio-defgeneric-reset-generic-form-primary-only)
6479 (eieio-defgeneric-form-primary-only-one)
6480 (eieio-defgeneric-reset-generic-form-primary-only-one)
6481 (eieio-unbind-method-implementations)
6482 (eieio--defmethod, eieio--typep)
6483 (eieio-perform-slot-validation, eieio-validate-slot-value)
6484 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6485 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6486 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6487 (eieio-slot-name-index, eieio-class-slot-name-index)
6488 (eieio-set-defaults, eieio-initarg-to-attribute)
6489 (eieio-attribute-to-initarg, eieio-c3-candidate)
6490 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6491 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6492 (eieio-class-precedence-list, eieio-generic-call-methodname)
6493 (eieio-generic-call-arglst, eieio-generic-call-key)
6494 (eieio-generic-call-next-method-list)
6495 (eieio-pre-method-execution-functions, eieio-generic-call)
6496 (eieio-generic-call-primary-only, eieiomt-method-list)
6497 (eieiomt-optimizing-obarray, eieiomt-install)
6498 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6499 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6500 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6501 (defclass): Remove `eval-and-compile' from macro.
6502 (call-next-method, shared-initialize): Instead of using
6503 `scoped-class' variable, use new eieio--scoped-class, and
6504 eieio--with-scoped-class.
6505 (initialize-instance): Rename local variable 'scoped-class' to
6506 'this-class' to remove ambiguitity from old global.
6507
6508 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6509 eieio.el.
4f405069
JB
6510 (eieio--scoped-class-stack): New variable.
6511 (eieio--scoped-class): New fcn.
890f7890
DE
6512 (eieio--with-scoped-class): New scoping macro.
6513 (eieio-defclass): Use pushnew instead of add-to-list.
6514 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6515 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6516 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6517 `scoped-class' variable, use new eieio--scoped-class, and
6518 eieio--with-scoped-class.
6519
6520 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6521
d105b0e2
TH
65222013-06-02 Tassilo Horn <tsdh@gnu.org>
6523
6524 * eshell/esh-ext.el (eshell-external-command): Pass args to
6525 `eshell-find-interpreter'.
6526 (eshell-find-interpreter): Add new second parameter ARGS.
6527
6528 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6529 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6530
6531 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6532 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6533
6534 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6535 (eshell-visual-options): New defcustom.
6536 (eshell-escape-control-x): Adapt docstring.
6537 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6538 `eshell-visual-options' in addition to `eshell-visual-commands'.
6539 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6540
f46305c8 65412013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6542
6543 * progmodes/python.el (python-indent-block-enders): Add break,
6544 continue and raise keywords.
6545
d870df21
GM
65462013-06-01 Glenn Morris <rgm@gnu.org>
6547
9133b82e
GM
6548 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6549
02c992ec 6550 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6551 * progmodes/cc-cmds.el (delete-forward-p):
6552 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6553 * progmodes/cc-engine.el (buffer-syntactic-context):
6554 * progmodes/cc-fonts.el (face-property-instance):
6555 * progmodes/cc-mode.el (set-keymap-parents):
6556 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6557 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6558 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6559 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6560 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6561
31e7b090
GM
6562 * progmodes/cc-vars.el (other): Emacs has this widget since
6563 at least 21.1, so don't (re)define it.
6564
d870df21
GM
6565 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6566 Replace the obsolete alias pcomplete-arg-quote-list.
6567
c75c93c7
LL
65682013-06-01 Leo Liu <sdl.web@gmail.com>
6569
6570 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6571 punctuation syntax.
6572 (inferior-octave-minimal-columns)
6573 (inferior-octave-last-column-width): New variables.
6574 (inferior-octave-track-window-width-change): New function.
6575 (inferior-octave-mode): Adjust column width so that Octave output,
6576 for example from 'ls', can fit into the window nicely.
6577
973d1e12
DG
65782013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6579
6580 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6581 Highlight expansions inside regexp literals.
6582
0888c286
GM
65832013-05-31 Glenn Morris <rgm@gnu.org>
6584
e26aac1f
GM
6585 * obsolete/sym-comp.el (symbol-complete):
6586 Replace obsolete completion-annotate-function.
6587
0888c286
GM
6588 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6589
19bb8e62
DG
65902013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6591
781b4af6
SM
6592 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6593 New function, checks if point is inside a literal that allows
19bb8e62
DG
6594 expression expansion.
6595 (ruby-syntax-propertize-expansion): Use it.
6596 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6597 around the body.
6598
01dea85f
JL
65992013-05-30 Juri Linkov <juri@jurta.org>
6600
6601 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6602 to "\M-si".
6603 (isearch-invisible): New variable.
6604 (isearch-forward): Doc fix.
6605 (isearch-mode): Set `isearch-invisible'
6606 to the value of `search-invisible'.
6607 (isearch-toggle-case-fold): Doc fix.
6608 (isearch-toggle-invisible): New command.
6609 (isearch-query-replace): Let-bind `search-invisible'
6610 to the value of `isearch-invisible'.
6611 (isearch-search): Use `isearch-invisible' instead of
6612 `search-invisible'. Let-bind `search-invisible'
6613 to the value of `isearch-invisible'. (Bug#11378)
6614
ab1bdce5
JL
66152013-05-30 Juri Linkov <juri@jurta.org>
6616
6617 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6618 call when `query-flag' is nil and `search-invisible' is non-nil.
6619 (Bug#11746)
6620
d6d236e2
GM
66212013-05-30 Glenn Morris <rgm@gnu.org>
6622
8accd027
GM
6623 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6624
2a8bed1c
GM
6625 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6626 (cc-require): Suppress spurious "noruntime" warnings.
6627 (cc-require-when-compile): Use fboundp, for sake of compiler.
6628
d6d236e2
GM
6629 * progmodes/cc-mode.el: Move load of cc-vars before that of
6630 cc-langs (which in turn loads cc-vars), to quieten compiler.
6631
9190b35b
SM
66322013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * paren.el: Simplify the code.
6635 (show-paren-mode): Always start the timer.
6636 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6637 (show-paren--overlay, show-paren--overlay-1): Rename from
6638 show-paren-overlay and show-paren-overlay-1, and initialize to an
6639 overlay rather than to nil.
6640 (show-paren-function): Misc cleanup and simplifications.
6641
4f8d1cf6
SM
66422013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * paren.el (show-paren-data-function): New hook.
6645 (show-paren--default): New function, extracted from show-paren-function.
6646 (show-paren-function): Use show-paren-data-function.
6647
02d844b5
GM
66482013-05-30 Glenn Morris <rgm@gnu.org>
6649
d209d4a9
GM
6650 * ielm.el (ielm-map, ielm-complete-symbol):
6651 Use completion-at-point rather than obsolete functions.
6652 (inferior-emacs-lisp-mode): Doc fix.
6653 Set completion-at-point-functions, rather than
6654 comint-dynamic-complete-functions.
6655
2082faa6
GM
6656 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6657 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6658 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6659
dd8620de
GM
6660 * image.el (image-animated-p): Tweak definition.
6661
ceca95b1
GM
6662 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6663 (rlogin-process-connection-type): Tweak default. Add set-after.
6664 (rlogin-host): Doc fix.
6665 (rlogin): Tweak prompt.
6666 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6667
ee9f1acc
GM
6668 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6669 * progmodes/tcl.el (inferior-tcl-mode-map):
6670 Use completion-at-point rather than obsolete alias.
6671
45ce222e
GM
6672 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6673
02d844b5
GM
6674 * minibuffer.el (read-file-name-completion-ignore-case):
6675 Move before completion--in-region, for eager macro expansion.
6676
ac44d6c1
JL
66772013-05-29 Juri Linkov <juri@jurta.org>
6678
6679 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6680 for total count of matching lines. Add `global-matches' for total
6681 count of matches. Rename `matches' to `lines' for count of
6682 matching lines. Add `matches' for count of matches.
6683 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6684 to `prev-line' for line number of prev match endpt.
6685 Increment `matches' for every match. Print the number of
6686 matching lines in the header.
6687 (occur-context-lines): Rename `lines' to `curr-line'.
6688 Rename `prev-lines' to `prev-line'. (Bug#14017)
6689
3c9c9d38
JL
66902013-05-29 Juri Linkov <juri@jurta.org>
6691
6692 * replace.el (perform-replace): Add `skip-read-only-count',
6693 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6694 Increment them for corresponding conditions and report the number
6695 of skipped occurrences in the final message. (Bug#11746)
6696 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6697 (replace-string, replace-regexp): Doc fix.
6698
33e249a2
SM
66992013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6700
8e399682
SM
6701 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6702
33e249a2 6703 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6704 prog-mode-map (bug#14504).
33e249a2 6705
f236dd84
LL
67062013-05-29 Leo Liu <sdl.web@gmail.com>
6707
6708 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6709 (octave-help): Small simplification.
6710
6711 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6712 off the highlight first.
6713
3694d13f
GM
67142013-05-29 Glenn Morris <rgm@gnu.org>
6715
03983bdc
GM
6716 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6717 Handle idlwave-last-system-routine-info-cons-cell being nil.
6718
bc74a74a
GM
6719 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6720 (idlwave-write-paths): Simplify via with-temp-buffer.
6721
8b394200
GM
6722 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6723 * emulation/cua-rect.el: Also load cua-base at run time.
6724
3694d13f
GM
6725 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6726 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6727 (cperl-imenu-on-info): Require imenu.
6728
336d7284
AM
67292013-05-28 Alan Mackenzie <acm@muc.de>
6730
6731 Handle "capitalised keywords" correctly.
33e249a2 6732 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6733
cb29c582
AG
67342013-05-28 Aidan Gauland <aidalgol@amuri.net>
6735
781b4af6 6736 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6737
690e44b2
GM
67382013-05-28 Glenn Morris <rgm@gnu.org>
6739
e658d75c
GM
6740 * vc/vc-arch.el (vc-exec-after): Declare.
6741 (vc-switches): Autoload.
6742 * vc/vc-bzr.el: No need to require vc when compiling.
6743 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6744 (vc-resynch-buffer, vc-dir-refresh): Declare.
6745 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6746 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6747 (vc-resynch-buffer): Declare.
6748 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6749 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6750 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6751 (grep-read-regexp, grep-read-files, grep-expand-template)
6752 (vc-dir-refresh): Declare.
6753 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6754 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6755 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6756 * vc/vc-mtn.el (vc-exec-after): Declare.
6757 (vc-switches): Autoload.
6758 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6759 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6760 (vc-file-tree-walk): Declare.
712b9732
GM
6761 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6762 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6763 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6764 * vc/vc-svn.el (vc-exec-after): Declare.
6765 (vc-switches, vc-setup-buffer): Autoload.
6766 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6767 Autoload.
6768 (vc-resynch-buffer): Declare.
6769
98e87fb3
GM
6770 * obsolete/fast-lock.el (byte-compile-warnings):
6771 Don't warn about obsolete features in this obsolete file.
6772
f5379553
GM
6773 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6774 Move definition before use.
6775
7a20ef83
GM
6776 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6777 (dun-unix-verbs): Remove dun-zippy.
6778 (dun-zippy): Remove function.
6779
690e44b2
GM
6780 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6781
3a52ccf7
JL
67822013-05-27 Juri Linkov <juri@jurta.org>
6783
6784 * replace.el (replace-search): New function with code moved out
6785 from `perform-replace'.
6786 (replace-highlight, replace-dehighlight): Move function definitions
6787 up closer to `replace-search'. (Bug#11746)
6788
d289938a
JL
67892013-05-27 Juri Linkov <juri@jurta.org>
6790
6791 * replace.el (perform-replace): Ignore invisible matches.
6792 In addition to checking `query-replace-skip-read-only', also
6793 filter out matches by calling `run-hook-with-args-until-failure'
6794 on `isearch-filter-predicates', and also check `search-invisible'
6795 for t or call `isearch-range-invisible'.
6796 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6797
66fc57e3
JL
67982013-05-27 Juri Linkov <juri@jurta.org>
6799
6800 * isearch.el (isearch-filter-predicates): Rename from
6801 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6802 (isearch-message-prefix): Display text from the property
6803 `isearch-message-prefix' of the currently active filters.
6804 (isearch-search): Don't compare `isearch-filter-predicate' with
6805 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6806 on `isearch-filter-predicates'. Also check `search-invisible' for t
6807 or call `isearch-range-invisible'.
6808 (isearch-filter-visible): Make obsolete.
6809 (isearch-lazy-highlight-search):
6810 Call `run-hook-with-args-until-failure' on
6811 `isearch-filter-predicates' and use `isearch-range-invisible'.
6812
6813 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6814 `isearch-filter-predicates' instead of `funcall'ing
6815 `isearch-filter-predicate'.
6816 (Info-mode): Set `Info-isearch-filter' to
6817 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6818
6819 * dired-aux.el (dired-isearch-filter-predicate-orig):
6820 Remove variable.
6821 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6822 (dired-isearch-filenames-end): Add and remove
6823 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6824 instead of changing the value of `isearch-filter-predicate'.
6825 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6826 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6827 Put property `isearch-message-prefix' to "filename " on
6828 `dired-isearch-filter-filenames'.
6829
6830 * wdired.el (wdired-change-to-wdired-mode):
6831 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6832 locally instead of changing `isearch-filter-predicate'.
6833 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6834
f1a60a0f
DG
68352013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6836
6837 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6838 return the commit hash (Bug#14459). Also set the
6839 `vc-git-detached' property.
6840 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6841 (vc-git-mode-line-string): Use the same help-echo format whether
6842 in detached mode or not, because we know the actual revision now.
6843 When in detached mode, shorten the revision to 7 chars.
6844
7f17cc40
SM
68452013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * emacs-lisp/easy-mmode.el (define-minor-mode):
6848 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6849 mode hook and provide a docstring.
6850
25c8401c
AM
68512013-05-27 Alan Mackenzie <acm@muc.de>
6852
6853 Remove spurious syntax-table text properties inserted by C-y.
6854 * progmodes/cc-mode.el (c-after-change): Also clear hard
6855 syntax-table property with value nil.
6856
dde84790
MA
68572013-05-27 Michael Albinus <michael.albinus@gmx.de>
6858
6859 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6860 when reading the events; the buffer layout shall not be changed.
6861
837fd9af
LL
68622013-05-27 Leo Liu <sdl.web@gmail.com>
6863
6864 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6865 New variable.
6866 (inferior-octave-directory-tracker): Automatically re-sync
6867 default-directory.
6868 (octave-help): Improve handling of 'See also'.
6869
4fd996b3
SM
68702013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6871
416f1802
SM
6872 * doc-view.el: Minor naming convention tweaks.
6873 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6874
4fd996b3
SM
6875 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6876 even if there's no `display' property yet (bug#14435).
6877
a052ef3b
EZ
68782013-05-25 Eli Zaretskii <eliz@gnu.org>
6879
4fd996b3 6880 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6881
6882 * Makefile.in (custom-deps, finder-data, autoloads)
6883 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6884 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6885 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6886
c9023370
SM
68872013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6890 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6891 Don't burp at EOB.
c9023370 6892
24d699fa
LL
68932013-05-25 Leo Liu <sdl.web@gmail.com>
6894
6895 * comint.el (comint-previous-matching-input): Do not flood the
6896 *Messages* buffer with trivial messages.
6897
17e5c0cc
SM
68982013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * progmodes/flymake.el (flymake-nop): Don't return a string.
6901 (flymake-set-at): Fix typo.
6902
6903 * simple.el (read--expression): New function, extracted from
6904 eval-expression. Set completion-at-point-functions (bug#14465).
6905 (eval-expression, eval-minibuffer): Use it.
6906
5d028165
XF
69072013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6908
6909 * progmodes/flymake.el (flymake-save-buffer-in-file)
6910 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6911 (flymake-selected-frame, flymake-log, flymake-ins-after)
6912 (flymake-set-at, flymake-get-buildfile-from-cache)
6913 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6914 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6915 Refine the doc string.
6916 (flymake-get-file-name-mode-and-masks): Reformat.
6917 (flymake-get-real-file-name-function): Fix a minor bug.
6918
7a1d7ba7
JL
69192013-05-24 Juri Linkov <juri@jurta.org>
6920
6921 * progmodes/grep.el (grep-mode-font-lock-keywords):
6922 Support =linenumber= format used by git-grep for lines with
6923 function names. (Bug#13549)
6924
650cff3d
SM
69252013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6928 0 after a semi-colon; it works better for smie-auto-fill.
6929 (octave--indent-new-comment-line): New function.
6930 (octave-indent-new-comment-line): Use it (indirectly).
6931 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6932 modify comment-line-break-function.
6933
6934 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6935 (smie-setup): Use add-function to set it.
6936
9631677d
SS
69372013-05-24 Sam Steingold <sds@gnu.org>
6938
6939 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6940 argument (before the `interactive' argument).
6941
50105835
SM
69422013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * image-mode.el (image-mode-winprops): Add winprops to
6945 image-mode-winprops-alist before running
6946 image-mode-new-window-functions.
6947 * doc-view.el (doc-view-new-window-function): Don't delay
6948 doc-view-goto-page via timers (bug#14435).
6949
57b9823e
TH
69502013-05-24 Tassilo Horn <tsdh@gnu.org>
6951
6952 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6953 (doc-view-desktop-save-buffer): New function.
6954 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6955 (desktop-buffer-mode-handlers):
6956 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6957 handler.
6958 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6959 `desktop-save-buffer' function.
6960
91aafa16
MA
69612013-05-24 Michael Albinus <michael.albinus@gmx.de>
6962
6963 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6964 (tramp-gvfs-file-name-handler): Raise a user error when
6965 `tramp-gvfs-enabled' is nil.
6966 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6967 Do not raise a user error when loading package. (Bug#14447)
6968
ec076379
MA
6969 * net/xesam.el: Move to obsolete/.
6970
db785726
GM
69712013-05-24 Glenn Morris <rgm@gnu.org>
6972
af5c7606
GM
6973 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6974
e5d1916a
GM
6975 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6976
ded62b08
GM
6977 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6978 (Info-find-node, Man-getpage-in-background): Declare.
6979
9e614a3f
GM
6980 * mail/unrmail.el (unrmail):
6981 Replace obsolete detect-coding-with-priority.
6982
892f8ca3
GM
6983 * net/socks.el (socks-split-string): Use this rather than split-string.
6984 (socks-nslookup-host): Update for above change.
6985 (dynamic-choice, s5-dynamic-choice-match)
6986 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6987 Comment out unused code.
6988
3c291973
GM
6989 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6990 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6991 (gud-tooltip-echo-area): Make obsolete.
6992 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6993
43cc956b
GM
6994 * progmodes/js.el (js--optimize-arglist): Declare.
6995
dab49a3b
GM
6996 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6997
36b9d085
GM
6998 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6999 (ediff-window-C): Declare.
7000
e354ae76
GM
7001 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7002 Tweak requires to silence compiler.
7003
b8e57bf4
GM
7004 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7005 (he-search-string, he-tried-table, he-expand-list)
7006 (he-init-string, he-string-member, he-substitute-string)
7007 (he-reset-string): Declare.
7008
db785726
GM
7009 * obsolete/options.el (list-options): Use custom-variable-p,
7010 rather than obsolete alias.
7011
b3531901
SS
70122013-05-23 Sam Steingold <sds@gnu.org>
7013
7014 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7015 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7016 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7017
bdda4c66
SM
70182013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * emacs-lisp/smie.el (smie-indent-forward-token)
7021 (smie-indent-backward-token): Handle string tokens (bug#14381).
7022
c43d45f9
TH
70232013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7024
fe1eb856
RS
7025 * ielm.el (ielm-menu): New menu.
7026 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7027
fe1eb856
RS
70282013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7029
7030 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7031 Fix deactivate action.
7032
7033 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7034 Add cleveref macros.
074dd971 7035
c43d45f9
TH
7036 * lisp/textmodes/reftex-parse.el
7037 (reftex-locate-bibliography-files): Accept options for
7038 bibliography commands.
7039 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7040 Add addbibresource. Basic Biblatex support.
7041
7764286e
MA
70422013-05-23 Michael Albinus <michael.albinus@gmx.de>
7043
7044 * net/tramp-gvfs.el (top):
7045 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7046 when loading package. (Bug#14447)
7047
d361bc10
GM
70482013-05-23 Glenn Morris <rgm@gnu.org>
7049
8fa23984
GM
7050 * progmodes/js.el: No need to load comint when compiling.
7051 (ring-insert, comint-send-string, comint-send-input)
7052 (comint-last-input-end, ido-chop): Declare.
7053
a5c7df1a
GM
7054 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7055 * vc/ediff-mult.el: Adjust requires.
7056 (ediff-directories-internal, ediff-directory-revisions-internal)
7057 (ediff-patch-file-internal): Declare.
7058 * vc/ediff-ptch.el: Adjust requires.
7059 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7060 (ediff-find-file): Autoload.
7061 * vc/ediff-util.el: No need to load ediff when compiling.
7062 (ediff-regions-internal): Declare.
7063 * vc/ediff-wind.el: Adjust requires.
7064 (ediff-compute-toolbar-width): Define when compiling.
7065 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7066 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7067 (dired-get-filename, dired-get-marked-files)
7068 (ediff-last-dir-patch, ediff-patch-default-directory)
7069 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7070 (ediff-patch-buffer-internal): Declare.
7071
e2aec513
GM
7072 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7073 (ispell-process, ispell-buffer-local-words, lm-summary)
7074 (lm-section-start, lm-section-end): Declare.
7075 (checkdoc-ispell-init): Simplify.
7076
e68bbd7c
GM
7077 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7078 (he-string-member, he-reset-string, he-substitute-string): Declare.
7079
7efe0991
GM
7080 * eshell/em-ls.el: Adjust requires.
7081 (eshell-glob-regexp): Declare.
f87b1284
GM
7082 * eshell/em-tramp.el: Adjust requires.
7083 (eshell-parse-command): Autoload.
7084 * eshell/em-xtra.el: Adjust requires.
7085 (eshell-parse-command): Autoload.
7086 * eshell/esh-ext.el: Adjust requires.
7087 (eshell-parse-command, eshell-close-handles): Autoload.
7088 * eshell/esh-io.el: Adjust requires.
7089 (eshell-output-filter): Autoload.
7090 * eshell/esh-util.el: No need to load tramp when compiling.
7091 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7092 Declare.
7093 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7094 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7095 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7096 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7097 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7098 * eshell/esh-opt.el, eshell/esh-proc.el:
7099 * eshell/esh-var.el: Adjust requires.
7100 * eshell/eshell.el: Do not require esh-util twice.
7101 (eshell-add-input-to-history): Declare.
7102 (eshell-command): Check history module is active before using it.
7103
d361bc10
GM
7104 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7105
85d090a9
LL
71062013-05-22 Leo Liu <sdl.web@gmail.com>
7107
7108 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7109
5d0acd9d
MA
71102013-05-22 Michael Albinus <michael.albinus@gmx.de>
7111
7112 * autorevert.el (auto-revert-notify-add-watch)
7113 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7114 it indicates changes in file modification time.
7115
0cdffd7d
GM
71162013-05-22 Glenn Morris <rgm@gnu.org>
7117
ca5995ec
GM
7118 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7119 Always delete the autoloaded function from the noruntime and
7120 unresolved functions lists.
7121
6450907e
GM
7122 * allout.el: No need to load epa, epg, overlay when compiling.
7123 (epg-context-set-passphrase-callback, epg-list-keys)
7124 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7125 (epg-key-user-id-list): Declare.
7126
9c6906f6
GM
7127 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7128 (viper-set-parsing-style-toggling-macro)
7129 (viper-set-emacs-state-searchstyle-macros):
7130 Use called-interactively-p on Emacs.
7131 (viper-looking-back): Make it an obsolete alias. Update callers.
7132 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7133 Use looking-back rather than viper-looking-back.
7134 (viper-tmp-insert-at-eob, viper-enlarge-region)
7135 (viper-read-string-with-history, viper-register-to-point)
7136 (viper-append-to-register, viper-change-state-to-vi)
7137 (viper-backward-char-carefully, viper-forward-char-carefully)
7138 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7139 (viper-change-state-to-emacs): Declare.
7140 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7141 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7142 * emulation/viper-mous.el: Do not load viper-cmd.
7143 (viper-backward-char-carefully, viper-forward-char-carefully)
7144 (viper-forward-word, viper-adjust-window): Declare.
7145
5f70c169
GM
7146 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7147
b1b7f300
GM
7148 * progmodes/idlw-help.el (idlwave-help-fontify):
7149 Use called-interactively-p.
7150
f6ebbb46
GM
7151 * term/w32console.el (w32-get-console-codepage)
7152 (w32-get-console-output-codepage): Declare.
7153
0cdffd7d
GM
7154 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7155 Remove unnecessary declarations.
7156 (dframe-message): Doc fix.
7157
7158 * info.el (dframe-select-attached-frame, dframe-current-frame):
7159 Declare.
7160
7161 * speedbar.el (speedbar-message): Make it an obsolete alias.
7162 Update all callers.
7163 (speedbar-with-attached-buffer)
7164 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7165 (speedbar-with-writable): Use backquote.
7166 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7167 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7168 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7169 rather than speedbar- aliases.
7170 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7171 (speedbar-make-specialized-keymap, speedbar-insert-button)
7172 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7173 (speedbar-do-function-pointer): Declare.
7174 (rmail-speedbar-button, rmail-speedbar-find-file)
7175 (rmail-speedbar-move-message):
7176 Use dframe-with-attached-buffer rather than speedbar- alias.
7177 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7178 (dframe-message, speedbar-make-specialized-keymap)
7179 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7180 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7181 (speedbar-insert-button, dframe-select-attached-frame)
7182 (dframe-maybee-jump-to-attached-frame)
7183 (speedbar-change-initial-expansion-list)
7184 (speedbar-previously-used-expansion-list-name): Declare.
7185 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7186 Use dframe-message, dframe-with-attached-buffer rather than
7187 speedbar- aliases.
7188 (gud-sentinel): Silence compiler.
7189 * progmodes/vhdl-mode.el (speedbar-refresh)
7190 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7191 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7192 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7193 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7194 (speedbar-file-lists, speedbar-make-tag-line)
7195 (speedbar-line-directory, speedbar-goto-this-file)
7196 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7197 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7198 (speedbar-make-button, speedbar-reset-scanners)
7199 (speedbar-files-item-info, speedbar-line-text)
7200 (speedbar-find-file-in-frame, speedbar-set-timer)
7201 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7202 (speedbar-with-writable): Do not (re)define it.
7203 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7204 rather than speedbar- alias.
7205
ee44b62a
LL
72062013-05-21 Leo Liu <sdl.web@gmail.com>
7207
7208 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7209 menu items.
7210 (octave-mode): Tweak fill-nobreak-predicate.
7211 (inferior-octave-startup): Check process to avoid infinite loop.
7212 (inferior-octave): Pop to buffer first to show abornmal process
7213 exit information.
7214
640f050f
GM
72152013-05-21 Glenn Morris <rgm@gnu.org>
7216
79458038
GM
7217 * printing.el (pr-menu-bar): Define when compiling.
7218
9cc3e83f
LL
72192013-05-21 Leo Liu <sdl.web@gmail.com>
7220
7221 * progmodes/octave.el (octave-auto-fill): Remove.
7222 (octave-indent-new-comment-line): Improve.
7223 (octave-mode): Use auto fill mode through
4f405069 7224 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7225 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7226 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7227 (octave-help): Show parent directory.
7228
f440830d
GM
72292013-05-21 Glenn Morris <rgm@gnu.org>
7230
7231 * files.el (dired-unmark):
7232 * progmodes/gud.el (gdb-input): Update declarations.
7233
7234 * calculator.el (electric, ehelp): No need to load when compiling.
7235 (Electric-command-loop, electric-describe-mode): Declare.
7236
7237 * doc-view.el (doc-view-current-converter-processes): Move before use.
7238
7239 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7240 Move MODE-set-explicitly definition before use.
7241
7242 * international/mule-diag.el (mule-diag):
7243 Don't use obsolete window-system-version.
7244
7245 * mail/feedmail.el (smtpmail): No need to load when compiling.
7246 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7247
7248 * mail/mail-utils.el (rfc822): No need to load when compiling.
7249 (rfc822-addresses): Autoload it.
7250 (mail-strip-quoted-names): Trivial simplification.
7251
7252 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7253 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7254
7255 * net/snmp-mode.el (tempo): Don't duplicate requires.
7256
7257 * progmodes/prolog.el (info): No need to load when compiling.
7258 (comint): Require before shell requires it.
7259 (Info-goto-node): Autoload it.
7260 (Info-follow-nearest-node): Declare.
7261 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7262
7263 * textmodes/artist.el (picture-mode-exit): Declare.
7264
7265 * textmodes/reftex-parse.el (reftex-parse-from-file):
7266 Trivial rewrite so the compiler can parse it better.
7267
b4da2cbb
LL
72682013-05-20 Leo Liu <sdl.web@gmail.com>
7269
7270 * progmodes/octave.el (octave-help-mode-map)
7271 (octave-help-mode-finish-hook): New variables.
7272 (octave-help-mode, octave-help-mode-finish): New functions.
7273 (octave-help): Use octave-help-mode.
7274
33c0f65b
GM
72752013-05-20 Glenn Morris <rgm@gnu.org>
7276
7277 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7278
1a0a0a8a
DG
72792013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7280
7281 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7282 start at point, so that expansion starting right after opening
7283 slash in a regexp is recognized.
7284 (ruby-syntax-before-regexp-re): New defvar, extracted from
7285 ruby-syntax-propertize-function. Since the value of this regexp
7286 is looked up at runtime now, we should be able to turn
7287 `ruby-syntax-methods-before-regexp' into a defcustom later.
7288 (ruby-syntax-propertize-function): Split regexp matching into two
7289 parts, for opening and closing slashes. That allows us to skip
7290 over string interpolations and support multiline regexps.
7291 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7292 for them, which calls `ruby-syntax-propertize-expansion'.
7293 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7294 call to `ruby-syntax-propertize-function'.
7295 (ruby-syntax-propertize-expansion): Extracted from
7296 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7297 (ruby-syntax-propertize-percent-literal): Leave point right after
7298 the percent symbol, so that the expression expansion rule can
7299 propertize the contents.
462388b6
DG
7300 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7301 heredoc openers.
7302 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7303
c1a6c0a4
JL
73042013-05-18 Juri Linkov <juri@jurta.org>
7305
7306 * man.el (Man-default-man-entry): Remove `-' from the end
7307 of the default value. (Bug#14400)
7308
8051fccd
GM
73092013-05-18 Glenn Morris <rgm@gnu.org>
7310
7311 * comint.el (comint-password-prompt-regexp):
7312 Allow "password for XXX" where XXX contains colons (eg https://...).
7313
5e80b74f
LL
73142013-05-18 Leo Liu <sdl.web@gmail.com>
7315
7316 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7317 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7318 (octave-source-directories): Don't check process.
7319 (octave-source-directories, octave-find-definition): Doc fix.
7320
521a54c5
GM
73212013-05-18 Glenn Morris <rgm@gnu.org>
7322
86a94b05
GM
7323 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7324 Remove backspace/delete bindings. (Bug#14392)
7325
521a54c5
GM
7326 * cus-dep.el (custom-make-dependencies): Sort the output.
7327 (custom-versions-load-alist): Convert comment to doc.
7328
42caeb89
LL
73292013-05-17 Leo Liu <sdl.web@gmail.com>
7330
7331 * newcomment.el (comment-search-backward): Stricter in finding
7332 comment start. (Bug#14303)
7333
7334 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7335 (octave-comment-start-skip): Properly anchored.
7336
e219dd97
LL
73372013-05-17 Leo Liu <sdl.web@gmail.com>
7338
fe1eb856
RS
7339 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7340 Clean up when turned off. (Bug#14395)
e219dd97
LL
7341 (smie--highlight-matching-block-overlay): No longer buffer-local.
7342 (smie-highlight-matching-block): Adjust.
7343
dc5dcb4b
PE
73442013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7345
7346 Doc string fix for "nanoseconds" (Bug#14406).
7347 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7348 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7349
1db165f0
JB
73502013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7351
7352 * calc/calc-units.el (math-extract-units): Preserve powers
7353 of units.
7354
c7a8fcac
LL
73552013-05-17 Leo Liu <sdl.web@gmail.com>
7356
7357 * subr.el (delete-consecutive-dups): New function.
7358 * ido.el (ido-set-matches-1): Use it.
7359 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7360 * ido.el (ido-remove-consecutive-dups): Remove.
7361
f678b18a
SM
73622013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7365 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7366 regexp-opt's `words'.
7367
ebfe68e8
LL
73682013-05-16 Leo Liu <sdl.web@gmail.com>
7369
7370 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7371 (smie--highlight-matching-block-overlay)
7372 (smie--highlight-matching-block-lastpos)
7373 (smie--highlight-matching-block-timer): New variables.
7374 (smie-highlight-matching-block): New function.
7375 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7376 (smie-setup): Conditionally enable smie-blink-matching-open.
7377
bc8bc17d
WS
73782013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7379
7380 Sync with upstream verilog-mode r840.
7381 * progmodes/verilog-mode.el (verilog-mode-version)
7382 (verilog-mode-release-date): Update.
7383 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7384 (verilog-sig-tieoff): Fix string error on
7385 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7386 (verilog-read-decls): Fix parameters confusing
7387 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7388
df065a0b
EZ
73892013-05-16 Eli Zaretskii <eliz@gnu.org>
7390
7391 * subr.el (reveal-filename): New function.
7392
7393 * loadup.el: Compute Emacs executable versions on MS-Windows,
7394 where executables have the .exe extension. Add a hard link
7395 emacs-XX.YY.ZZ.exe on MS-Windows.
7396
7397 * Makefile.in (XARGS_LIMIT): New variable.
7398 (custom-deps, finder-data, autoloads)
7399 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7400 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7401 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7402 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7403
2d4bf34b
LL
74042013-05-16 Leo Liu <sdl.web@gmail.com>
7405
7406 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7407 (octave-mode-menu, octave-mode-map): Remove its uses.
7408
6b9c2d85
RZ
74092013-05-16 Reto Zimmermann <reto@gnu.org>
7410
7411 Sync with upstream vhdl mode v3.34.2.
7412 * progmodes/vhdl-mode.el: Use `push' throughout.
7413 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7414 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7415 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7416 (vhdl-actual-generic-name): New option to derive actual generic name.
7417 (vhdl-port-paste-signals): Replace formal by actual generics.
7418 (vhdl-beautify): New name for old group vhdl-align. Update users.
7419 (vhdl-beautify-options): New option.
7420 (vhdl-last-input-event): New compat alias. Use throughout.
7421 (vhdl-goto-line): Replace user level function `goto-line'.
7422 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7423 vhdl-fix-statement-buffer.
7424 (vhdl-create-mode-menu): Add some entries.
7425 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7426 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7427 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7428 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7429 to force statements on one line.
7430 (vhdl-remove-trailing-spaces-region):
7431 New, split from vhdl-remove-trailing-spaces.
7432 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7433 Respect vhdl-beautify-options.
7434 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7435 (vhdl-update-sensitivity-list): Not add with index if exists without.
7436 Not include array index with signal. Ignore keywords in comments.
7437 (vhdl-get-visible-signals): Regexp tweaks.
7438 (vhdl-template-component-inst): Handle empty library.
7439 (vhdl-template-type): Add template for 'enum' type.
7440 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7441 Use vhdl-replace-string.
7442 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7443 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7444 (vhdl-speedbar-initialize): Update for above name change.
7445 (vhdl-compose-wire-components): Fix in handling of constants.
7446 (vhdl-error-regexp-emacs-alist): New variable.
7447 (vhdl-error-regexp-add-emacs): New function;
7448 adds support for new compile.el (Emacs 22+)
7449 (vhdl-generate-makefile-1): Change target order for single lib. units.
7450 Allow use of absolute file names.
7451
9df4ec5e
LL
74522013-05-16 Leo Liu <sdl.web@gmail.com>
7453
7454 * simple.el (prog-indent-sexp): Indent enclosing defun.
7455
f5ba00a6
GM
74562013-05-15 Glenn Morris <rgm@gnu.org>
7457
ed8be7ff
GM
7458 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7459 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7460 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7461 (whitespace-highlight): Move to whitespace group.
7462
7463 * comint.el (comint-source):
7464 * pcmpl-linux.el (pcmpl-linux):
7465 * shell.el (shell-faces):
7466 * eshell/esh-opt.el (eshell-opt):
7467 * international/ccl.el (ccl): Remove empty custom groups.
7468
7469 * completion.el (dynamic-completion-mode):
7470 * jit-lock.el (jit-lock-debug-mode):
7471 * minibuffer.el (completion-in-region-mode):
7472 * type-break.el (type-break-mode-line-message-mode)
7473 (type-break-query-mode):
7474 * emulation/tpu-edt.el (tpu-edt-mode):
7475 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7476 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7477 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7478
7479 * term/xterm.el (xterm): Change parent group to terminals.
7480
7481 * master.el (master): Remove empty custom group.
7482 (master-mode): Remove unused :group argument.
7483 * textmodes/refill.el (refill): Remove empty custom group.
7484 (refill-mode): Remove unused :group argument.
7485
7486 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7487
82a7c41b
GM
7488 * cus-dep.el: Provide a feature.
7489 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7490 Don't mistakenly ignore files whose basenames match a basename
7491 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7492 Add a fallback method for getting :group.
f5ba00a6 7493
6d65486d
JL
74942013-05-15 Juri Linkov <juri@jurta.org>
7495
da547b32
JL
7496 * isearch.el (isearch-char-by-name): Rename from
7497 `isearch-insert-char-by-name'. Doc fix.
7498 (isearch-forward): Mention `isearch-char-by-name' in
7499 the docstring. (Bug#13348)
7500
6d65486d
JL
7501 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7502 `exit-minibuffer' instead of
7503 `isearch-nonincremental-exit-minibuffer'.
7504 (isearch-edit-string): Remove mention of
7505 `isearch-nonincremental-exit-minibuffer' from docstring.
7506 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7507 (isearch-forward-exit-minibuffer)
7508 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7509
c9990474
SM
75102013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7511
6e911150
SM
7512 * loadup.el: Just use unversioned DOC.
7513
c9990474
SM
7514 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7515 literals as extending to EOB.
7516 (nxml-last-fontify-end): Remove unused variable.
7517 (nxml-after-change1): Use with-silent-modifications.
7518 (nxml-extend-after-change-region): Simplify.
7519 (nxml-extend-after-change-region1): Remove function.
7520 (nxml-after-change1): Don't adjust for dependent regions.
7521 (nxml-fontify-matcher): Simplify.
7522 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7523 (xmltok-add-dependent): Remove function.
7524 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7525 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7526 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7527 unclosed <[[, <?, comment, and other literals as extending to EOB.
7528 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7529 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7530 Remove functions.
7531 (rng-do-some-validation-1): Don't mark dependent regions.
7532 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7533 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7534 (nxml-clear-dependent-regions): Remove functions.
7535 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7536 (nxml-ensure-scan-up-to-date):
7537 Don't clear&mark dependent regions.
7538
e3772e98
LL
75392013-05-15 Leo Liu <sdl.web@gmail.com>
7540
c9990474
SM
7541 * progmodes/octave.el (octave-goto-function-definition):
7542 Improve and fix callers.
e3772e98 7543
5ac2eb34
SM
75442013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7545
c46c57b0
SM
7546 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7547 the setter (bug#14387).
7548
5ac2eb34
SM
7549 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7550 surrounding group (bug#14402).
7551
180ed218
JL
75522013-05-14 Juri Linkov <juri@jurta.org>
7553
7554 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7555 (Bug#14390)
7556
0ac0fecb
GM
75572013-05-14 Glenn Morris <rgm@gnu.org>
7558
7559 * progmodes/f90.el (f90-imenu-generic-expression):
7560 Fix typo in 2013-05-08 change. (Bug#14402)
7561
2e78e6a7
JPG
75622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7563
5ac2eb34
SM
7564 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7565 Remove signals for which replies are never received.
2e78e6a7 7566
53267cca
JPG
75672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7568
7569 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7570 (gdb-handler-alist, gdb-handler-number): Remove variables.
7571 (gdb-handler-list): New variable.
7572 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7573 (gdb-pending-handler-p, gdb-handle-reply)
7574 (gdb-remove-all-pending-triggers): New functions.
7575 (gdb-discard-unordered-replies): New defcustom.
7576 (gdb-handler): New defstruct.
7577 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7578 instead of gdb-pending-triggers. Update docstring.
7579 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7580 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7581 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7582 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7583 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7584 (gdb-frame-handler): Pending triggers are now automatically managed.
7585 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7586 Remove argument.
7587 (gdb-input): Automatically handles pending triggers. Update docstring.
7588 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7589 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7590 Update comments.
7591 (gdb-done-or-error): Now use gdb-handle-reply.
7592
d04ce803
JPG
75932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7594
7595 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7596 gdb-debug-log.
7597
0114073a
GM
75982013-05-14 Glenn Morris <rgm@gnu.org>
7599
7600 * subr.el (user-emacs-directory-warning): New option.
7601 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7602
4d25fd7e
LL
76032013-05-14 Leo Liu <sdl.web@gmail.com>
7604
7605 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7606 during redisplay.
7607 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7608 (octave-font-lock-texinfo-comment): Fix invalid search bound
7609 error: wrong side of point.
4d25fd7e 7610
27c8b6eb
GM
76112013-05-14 Glenn Morris <rgm@gnu.org>
7612
61aaeb01
GM
7613 * progmodes/flymake.el (flymake-xml-program): New option.
7614 (flymake-xml-init): Use it.
7615
5bf90bc5
GM
7616 * term/xterm.el: Provide a feature.
7617
7618 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7619
f4c7dfd2
GM
76202013-05-13 Glenn Morris <rgm@gnu.org>
7621
7622 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7623 Add compat aliases as a hack workaround. (Bug#14384)
7624
2aeb3a1d
LL
76252013-05-13 Leo Liu <sdl.web@gmail.com>
7626
b0e069c2
LL
7627 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7628 ###, and %!.
f5a9432f
LL
7629 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7630 C-M-q.
b0e069c2
LL
7631 (octave-comment-start-skip): Include %!.
7632 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7633
30ea8374
LL
76342013-05-12 Leo Liu <sdl.web@gmail.com>
7635
7636 * progmodes/octave.el (inferior-octave-startup): Store the value
7637 of __octave_srcdir__ for octave-source-directories.
7638 (inferior-octave-check-process): New function refactored out of
7639 inferior-octave-send-list-and-digest.
7640 (octave-source-directories)
7641 (octave-find-definition-filename-function): New variables.
7642 (octave-source-directories)
7643 (octave-find-definition-default-filename): New functions.
7644 (octave-find-definition): Improve to find functions implemented in C++.
7645
472a3834
GM
76462013-05-12 Glenn Morris <rgm@gnu.org>
7647
7648 * calendar/diary-lib.el (diary-outlook-format-1):
7649 Don't include dayname in the output. (Bug#14349)
7650
3191b52f
GM
76512013-05-11 Glenn Morris <rgm@gnu.org>
7652
0060ac73
GM
7653 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7654
3191b52f
GM
7655 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7656 Treat cc-provide like provide.
7657
e065ba74
KR
76582013-05-11 Kevin Ryde <user42@zip.com.au>
7659
7660 * cus-dep.el (custom-make-dependencies):
7661 Use generated-autoload-load-name for the sake of files such
7662 such cedet/semantic/bovine/c.el, where the base file name
7663 is not in load-path. (Bug#5277)
7664
36f84c37
GM
76652013-05-11 Glenn Morris <rgm@gnu.org>
7666
7667 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7668 Provide features.
7669
c8730c3a
LL
76702013-05-11 Leo Liu <sdl.web@gmail.com>
7671
7672 * progmodes/octave.el (octave-indent-comment): Improve.
7673 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7674 (octave-eldoc-function-signatures, octave-eldoc-function):
7675 New functions.
c8730c3a
LL
7676 (octave-mode, inferior-octave-mode): Add eldoc support.
7677
212e29f2
RS
76782013-05-11 Richard Stallman <rms@gnu.org>
7679
7680 * epa.el (epa-decrypt-file): Take output file name as argument
7681 and read it using `interactive'.
7682
083fe0d7
LL
76832013-05-11 Leo Liu <sdl.web@gmail.com>
7684
7685 * progmodes/octave.el (octave-beginning-of-line)
7686 (octave-end-of-line): Check before using up-list because it jumps
7687 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7688 (octave-indent-comment): New function.
7689 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7690 (octave-begin-keywords, octave-end-keywords)
7691 (octave-reserved-words, octave-smie-bnf-table)
7692 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7693
8582e4c4
GM
76942013-05-11 Glenn Morris <rgm@gnu.org>
7695
f20def1f
GM
7696 * faces.el (internal-face-x-get-resource):
7697 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7698 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7699 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7700 Fix declarations.
f20def1f 7701
445f95e2
GM
7702 * calc/calc-menu.el: Make it loadable in isolation.
7703
7704 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7705 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7706 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7707 (eudc-bbdb-query-internal): Require 'bbdb.
7708
99fb2756
GM
7709 * lpr.el (lpr-headers-switches):
7710 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7711
7712 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7713
0da7ad96
GM
7714 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7715
8582e4c4
GM
7716 * term.el (term-set-escape-char): Make it idempotent.
7717
f71c50d0
LL
77182013-05-10 Leo Liu <sdl.web@gmail.com>
7719
5ac2eb34
SM
7720 * progmodes/octave.el (inferior-octave-completion-table):
7721 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7722 completion due to bug#11906.
7723 (octave-beginning-of-defun): Re-write to be more general.
7724
d5837773
GM
77252013-05-10 Glenn Morris <rgm@gnu.org>
7726
7727 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7728
027c0f75
SM
77292013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * comint.el (comint-redirect-send-command-to-process): Use :around
7732 rather than :override for comint-redirect-filter.
7733 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7734 Call it instead of comint-redirect-original-filter-function (which
7735 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7736
4465bfb4
JD
77372013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7738
7739 * frame.el (display-monitor-attributes-list): Add NS case.
7740 (ns-display-monitor-attributes-list): Declare.
7741
2d809ffa 77422013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7743
7744 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7745
e54eeb9b
GM
77462013-05-09 Glenn Morris <rgm@gnu.org>
7747
56cd351d
GM
7748 * international/fontset.el (vertical-centering-font-regexp):
7749 Set standard-value.
7750
d84b6108
GM
7751 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7752
a931698a
GM
7753 * bookmark.el (bookmark-search-delay):
7754 * cus-start.el (vertical-centering-font-regexp):
7755 * ps-mule.el (ps-mule-font-info-database-default):
7756 * ps-print.el (ps-default-fg, ps-default-bg):
7757 * type-break.el (type-break-good-break-interval):
7758 * whitespace.el (whitespace-indentation-regexp)
7759 (whitespace-space-after-tab-regexp):
7760 * emacs-lisp/testcover.el (testcover-1value-functions)
7761 (testcover-noreturn-functions, testcover-progn-functions)
7762 (testcover-prog1-functions):
7763 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7764 * eshell/em-glob.el (eshell-glob-translate-alist):
7765 * play/tetris.el (tetris-tty-colors):
7766 * progmodes/cpp.el (cpp-face-default-list):
7767 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7768 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7769 (idlwave-help-browser-generic-args):
7770 * progmodes/make-mode.el (makefile-special-targets-list):
7771 * progmodes/python.el (python-shell-virtualenv-path):
7772 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7773 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7774 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7775 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7776 * textmodes/reftex-vars.el (reftex-format-label-function):
7777 * textmodes/remember.el (remember-diary-file): Fix custom types.
7778
e54eeb9b
GM
7779 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7780 Add :version.
7781
455851dd
LL
77822013-05-09 Leo Liu <sdl.web@gmail.com>
7783
7784 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7785 Restore file completion. (Bug#14300)
455851dd
LL
7786 (inferior-octave-startup): Fix incorrect highlighting for the
7787 first prompt.
7788
a9e4425b
SM
77892013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * progmodes/ruby-mode.el: First cut at SMIE support.
7792 (ruby-use-smie): New var.
7793 (ruby-smie-grammar): New constant.
7794 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7795 (ruby-smie--forward-token, ruby-smie--backward-token)
7796 (ruby-smie-rules): New functions.
7797 (ruby-mode-variables): Setup SMIE if applicable.
7798
060ca408
EZ
77992013-05-08 Eli Zaretskii <eliz@gnu.org>
7800
7801 * simple.el (line-move-visual): Signal beginning/end of buffer
7802 only if vertical-motion moved less than it was requested. Avoids
7803 silly incorrect error messages when there are display strings with
7804 multiple newlines at EOL.
7805
1d5963cc
SM
78062013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7809 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7810 (prolog-char-quote-workaround):
7811 * progmodes/cperl-mode.el (cperl-under-as-char):
7812 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7813 Mark as obsolete.
7814 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7815 their declaration.
7816 (vhdl-mode-syntax-table-init): Remove.
7817
c9990474
SM
7818 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7819 last change.
1d5963cc
SM
7820
7821 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7822 syntax for "_".
7823 (ld-script-font-lock-keywords):
7824 Change regexps to use things like \_< and \_>.
7825
7826 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7827 Change all regexps to use things like \_< and \_>.
7828
7829 * progmodes/autoconf.el (autoconf-definition-regexp)
7830 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7831 Handle a _ with symbol syntax.
7832 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7833
c9990474
SM
7834 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7835 Consolidate declaration.
1d5963cc
SM
7836 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7837 the declaration.
7838 (ada-create-syntax-table): Remove.
7839 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7840 already has the right syntax nowadays.
7841 (ada-goto-next-word): Don't change the syntax of "_".
7842
7843 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7844 with-wrapper-hook.
7845
72d3cfca
SS
78462013-05-08 Sam Steingold <sds@gnu.org>
7847
7848 * thingatpt.el (thing-at-point): Accept optional second argument
7849 NO-PROPERTIES to strip the text properties from the return value.
7850 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7851 to `thing-at-point' instead of stripping the properties ourselves.
7852 Also, when `thing-at-point' fails to find a url, prepend "http://"
7853 to the filename at point on the assumption that the user is
7854 pointing at something like gnu.org/gnu.
7855
5cb15713
JB
78562013-05-08 Juanma Barranquero <lekktu@gmail.com>
7857
7858 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7859 * faces.el (crm-separator):
7860 Silence byte-compiler.
7861
7862 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7863 (tool-bar-map): Remove unneeded defvars.
7864
ea78b95b
LL
78652013-05-08 Leo Liu <sdl.web@gmail.com>
7866
7867 Re-work a fix for bug#10994 based on Le Wang's patch.
7868 * ido.el (ido-remove-consecutive-dups): New helper.
7869 (ido-completing-read): Use it.
7870 (ido-chop): Revert fix for bug#10994.
7871
dc7466df
AS
78722013-05-08 Adam Spiers <emacs@adamspiers.org>
7873
7874 * cus-edit.el (custom-save-variables):
7875 Pretty-print long values. (Bug#14187)
7876
9ecf672a
GM
78772013-05-08 Glenn Morris <rgm@gnu.org>
7878
7879 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7880 (m4-mode-syntax-table): Init in the defvar.
7881 (m4-mode-abbrev-table): Let define-derived-mode define it.
7882
3f555be8
TT
78832013-05-08 Tom Tromey <tromey@redhat.com>
7884
7885 * progmodes/m4-mode.el (m4-mode-syntax-table):
7886 Do not treat "_" as word constituent. (Bug#14167)
7887
7cc8ae06
GM
78882013-05-07 Glenn Morris <rgm@gnu.org>
7889
4f58bc06
GM
7890 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7891 Remove explicit eshell-isearch-cancel-map.
7892
7cc8ae06
GM
7893 * progmodes/f90.el (f90-smart-end-names): New option.
7894 (f90-smart-end): Doc fix.
7895 (f90-end-block-optional-name): New constant.
7896 (f90-block-match): Respect f90-smart-end-names.
7897
ceb57e59
SM
78982013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7901 about implicit semi-colons (bug#14218).
7902
4e3f9230
YM
79032013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7904
7905 * frame.el (display-monitor-attributes-list)
7906 (frame-monitor-attributes): New functions.
7907
203a5572
LL
79082013-05-06 Leo Liu <sdl.web@gmail.com>
7909
7910 * progmodes/octave.el (octave-syntax-propertize-function): Change
7911 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7912 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7913 (octave-completion-at-point): Rename from
203a5572
LL
7914 octave-completion-at-point-function.
7915 (inferior-octave-directory-tracker): Robustify.
7916 (octave-text-functions): Remove and fix its uses. No such things
7917 any more.
7918
ee6cff99
SM
79192013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * emacs-lisp/trace.el (trace--display-buffer): New function.
7922 (trace-make-advice): Use it.
7923
32985194
JL
79242013-05-06 Juri Linkov <juri@jurta.org>
7925
7926 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7927 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7928 Doc fix.
7929 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7930 in the help string. (Bug#12985)
7931
a1c700de
KD
79322013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7933
7934 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7935
c67c0839
SM
79362013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7937
323885fd
SM
7938 * progmodes/perl-mode.el: Add support for here documents.
7939 (perl-syntax-propertize-function): Match here-doc markers.
7940 (perl-syntax-propertize-special-constructs): Find their end.
7941 (perl-imenu-generic-expression): Use [:alnum:].
7942
c67c0839
SM
7943 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7944 (advice--add-function): Refresh the advice if already present
7945 (bug#14317).
7946
d491e7a8
IA
79472013-05-06 Ivan Andrus <darthandrus@gmail.com>
7948
7949 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7950
ddf9925e
GM
79512013-05-06 Glenn Morris <rgm@gnu.org>
7952
7cc3af27
GM
7953 * w32-fns.el (w32-charset-info-alist): Declare.
7954
16e343d6
GM
7955 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7956 of its defcustom properties.
7957 (eshell-cmpl-initialize): No need to load pcomplete.
7958
7d889a47
GM
7959 * generic-x.el: No need to require comint when compiling.
7960
ddf9925e
GM
7961 * net/eudc-export.el: Make it loadable without bbdb.
7962 (top-level): Use require rather than load-library.
7963 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7964 (eudc-batch-export-records-to-bbdb)
7965 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7966 Require bbdb.
7967
1e2c18df
SM
79682013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7971 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7972 some tweaks, instead.
7973
02502a5f
LL
79742013-05-05 Leo Liu <sdl.web@gmail.com>
7975
7976 * progmodes/octave.el (octave-font-lock-keywords)
7977 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7978 (inferior-octave-send-list-and-digest): Improve error message.
7979 (octave-mode, inferior-octave-mode): Use setq-local.
7980 (octave-help): Set info-lookup-mode.
7981
0dc04f42
RS
79822013-05-05 Richard Stallman <rms@gnu.org>
7983
6c54491c
RS
7984 * vc/compare-w.el (compare-windows-whitespace):
7985 Treat no-break space as whitespace.
7986
0dc04f42
RS
7987 * mail/rmailsum.el (rmail-summary-rmail-update):
7988 Detect empty summary and don't change selected message.
7989 (rmail-summary-goto-msg): Likewise.
7990
df8f35df
RS
7991 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7992 Doc fixes, rename args.
7993
5356e1a3
AM
79942013-05-05 Alan Mackenzie <acm@muc.de>
7995
7996 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7997
d44014cb
JL
79982013-05-05 Juri Linkov <juri@jurta.org>
7999
8000 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8001 to not add the length of the summary segment to the return value.
8002 (Bug#14125)
8003
c129b51f
LL
80042013-05-05 Leo Liu <sdl.web@gmail.com>
8005
8006 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8007 (inferior-octave-output-filter): Remove.
8008 (octave-send-region, inferior-octave-startup): Fix callers.
8009 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8010 (octave-binary-file-extensions): New user variable.
8011 (octave-find-definition): Confirm if opening binary files.
8012 (octave-help-file): Use octave-find-definition to get the binary
8013 confirmation.
8014 (octave-help): Adjust for octave-help-file change.
8015
aa7dab97
SM
80162013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8019 Merge the two entries that handle function definitions.
8020 (pascal--syntax-propertize): New const.
8021 (pascal-mode): Use it. Use setq-local.
8022
fd3a9a6b
GM
80232013-05-04 Glenn Morris <rgm@gnu.org>
8024
8025 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8026 (diary-from-outlook): Respect diary-from-outlook-function.
8027
30c7e542
SM
80282013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8031 Move the declaration from C.
8032 (read-minibuffer, eval-minibuffer): Move from C.
8033 (completion-setup-function): Avoid minibuffer-completion-contents.
8034
b54f978b
LL
80352013-05-03 Leo Liu <sdl.web@gmail.com>
8036
8037 * progmodes/octave.el (octave-font-lock-keywords): Do not
8038 dehighlight 'end' in comments or strings.
30c7e542
SM
8039 (octave-completing-read, octave-goto-function-definition):
8040 New helpers.
d4d0f9b3
LL
8041 (octave-help-buffer): New user variable.
8042 (octave-help-file, octave-help-function): New button types.
8043 (octave-help): New command and bind it to C-h ;.
8044 (octave-find-definition): New command and bind it to M-.
d74a1581 8045 (user-error): Alias to error if not defined.
b54f978b 8046
27135018
LL
80472013-05-02 Leo Liu <sdl.web@gmail.com>
8048
8049 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8050 for \. (bug#14332)
8051 (octave-font-lock-keywords): Include [ and {.
8052
0d634d3a
LL
80532013-05-02 Leo Liu <sdl.web@gmail.com>
8054
8055 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8056 (inferior-octave): Remove calling comint-mode and return the buffer.
8057 (inferior-octave-startup): Cosmetic changes.
8058
b4c8295e
LL
80592013-05-02 Leo Liu <sdl.web@gmail.com>
8060
30c7e542
SM
8061 * progmodes/octave.el (octave-syntax-propertize-function):
8062 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8063
f12ad6ec
GM
80642013-05-02 Glenn Morris <rgm@gnu.org>
8065
8066 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8067 * desktop.el (vc-dir-mode): Just autoload it here.
8068
30cac1e0
AM
80692013-05-02 Alan Mackenzie <acm@muc.de>
8070
8071 Eliminate variable c-standard-font-lock-fontify-region-function.
8072 * progmodes/cc-mode.el
8073 (c-standard-font-lock-fontify-region-function): Remove.
8074 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8075
d8ef28b1
LL
80762013-05-01 Leo Liu <sdl.web@gmail.com>
8077
2640d52e 8078 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8079 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8080 variables were removed from Octave in 2007.
d8ef28b1
LL
8081 (inferior-octave-startup): Fix uses.
8082 (comint-line-beginning-position): Remove compatibility code for
8083 emacs 21.
8084
ac63ec89
JL
80852013-05-01 Juri Linkov <juri@jurta.org>
8086
8087 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8088
9e9be37c
JL
80892013-05-01 Juri Linkov <juri@jurta.org>
8090
8091 * comint.el (comint-previous-matching-input): Don't print message
8092 "History item: %d" when `isearch-mode' is active.
8093 (comint-history-isearch-message): Print message "History item: %d"
8094 when `comint-input-ring-index' is not empty and this function is
8095 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8096
9b92c13b
LL
80972013-05-01 Leo Liu <sdl.web@gmail.com>
8098
8099 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8100 definitions. Use completion-at-point to insert keywords.
8101 (octave-abbrev-start): Remove.
8102 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8103
b12d33d7
LL
81042013-04-30 Leo Liu <sdl.web@gmail.com>
8105
8106 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8107 change.
8108
3d1c39fa
AM
81092013-04-30 Alan Mackenzie <acm@muc.de>
8110
8111 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8112 * progmodes/cc-engine.el (c-back-over-member-initializers):
8113 new function.
3d1c39fa
AM
8114 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8115 (most) member init lists.
8116
5147fc17
RS
81172013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8118
8119 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8120 variable.
8121
5b78d7fc
LL
81222013-04-30 Leo Liu <sdl.web@gmail.com>
8123
8124 * progmodes/octave.el (octave-variables): Remove. No builtin
8125 variables any more. All converted to functions.
8126 (octave-font-lock-keywords, octave-completion-at-point-function):
8127 Fix uses.
8128 (octave-font-lock-texinfo-comment): New user variable.
8129 (octave-texinfo-font-lock-keywords): New variable for texinfo
8130 comment block.
8131 (octave-function-comment-block): New face.
8132 (octave-font-lock-texinfo-comment): New function.
8133 (octave-mode): Font lock texinfo comment block.
8134
38d8527b
LL
81352013-04-29 Leo Liu <sdl.web@gmail.com>
8136
8137 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8138 indexing expression.
8139 (octave-continuation-string): Do not use \.
8140 (inferior-octave-complete-impossible): Remove.
8141 (inferior-octave-completion-table)
8142 (inferior-octave-completion-at-point): Remove its uses.
8143 (inferior-octave-startup): completion_matches was introduced to
8144 Octave in 1996 so safe to assume it.
8145 (octave-function-file-comment): Improve to follow how Octave does it.
8146 (octave-update-function-file-comment): Tweak.
8147
2ec12cb0
LL
81482013-04-29 Leo Liu <sdl.web@gmail.com>
8149
8150 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8151 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8152 (octave-function-file-comment): Fix typo.
8153 (octave-sync-function-file-names): Use read-char-choice.
8154
6eaed048
JB
81552013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8156
8157 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8158 to t for the less important warnings.
8159
3ffa2d4f
DH
81602013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8161
8162 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8163
685c9501
GM
81642013-04-27 Glenn Morris <rgm@gnu.org>
8165
8166 * vc/log-view.el (log-view-current-entry):
8167 Treat "---" separator lines as part of the following rev. (Bug#14169)
8168
0208ede7
JL
81692013-04-27 Juri Linkov <juri@jurta.org>
8170
8171 * subr.el (read-number): Doc fix about using it by interactive
8172 code letter `n'. (Bug#14254)
8173
5db9dace
JL
81742013-04-27 Juri Linkov <juri@jurta.org>
8175
8176 * desktop.el (desktop-auto-save-timeout): New option.
8177 (desktop-file-checksum): New variable.
8178 (desktop-save): Add optional arg `auto-save' and don't auto-save
8179 if nothing changed.
8180 (desktop-auto-save-timer): New variable.
8181 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8182 (after-init-hook): Call `desktop-auto-save-set-timer'.
8183 Suggested by Reuben Thomas <rrt@sc3d.org> in
8184 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8185
b7260dd4
LL
81862013-04-27 Leo Liu <sdl.web@gmail.com>
8187
8188 * progmodes/octave.el (octave-function-file-p)
8189 (octave-skip-comment-forward, octave-function-file-comment)
8190 (octave-update-function-file-comment): New functions.
8191 (octave-mode-map): Bind C-c ; to
8192 octave-update-function-file-comment.
8193 (octave-mode-menu): Add octave-update-function-file-comment.
8194 (octave-mode, inferior-octave-mode): Fix doc-string.
8195 (octave-insert-defun): Conform to Octave's coding convention.
8196 (Bug#14285)
8197
8198 * files.el (basic-save-buffer): Don't let errors in
8199 before-save-hook prevent saving buffer.
8200
c46da669
RW
82012013-04-20 Roland Winkler <winkler@gnu.org>
8202
8203 * faces.el (read-face-name): Use completing-read if arg multiple
8204 is nil.
8205
a81ee1eb
IL
82062013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8207
8208 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8209 displayed, move point to after the totals line.
8210 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8211 for the details.
8212
4fac34ce
SM
82132013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8216 Add current dir to the load-path.
8217 (package-generate-autoloads): Don't rely on
8218 autoload-ensure-default-file.
8219
f6bfc063
RT
82202013-04-26 Reuben Thomas <rrt@sc3d.org>
8221
d40ab5cf
BG
8222 * textmodes/remember.el (remember-store-in-files): Document that
8223 the file name format is passed to `format-time-string'.
f6bfc063 8224
e55d3b04
LL
82252013-04-26 Leo Liu <sdl.web@gmail.com>
8226
8227 * progmodes/octave.el (octave-sync-function-file-names): New function.
8228 (octave-mode): Use it in before-save-hook.
8229
e53052d3
SM
82302013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8231
140ef50c
SM
8232 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8233 (bug#14274).
8234
e53052d3
SM
8235 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8236 \n and comment, even if it's not an implicit ; (bug#14218).
8237
af80458d 82382013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8239
8240 * subr.el (read-number): Once more use `read' rather than
8241 `string-to-number', to trap non-numeric input. (Bug#14254)
8242
af80458d 82432013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8244
8245 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8246 Use `syntax-multiline' text property consistently instead of
8a621d53 8247 `font-lock-multiline'. (Bug#14237)
70203c2e 8248
e6ea1f6c
GM
82492013-04-26 Glenn Morris <rgm@gnu.org>
8250
8251 * emacs-lisp/shadow.el (list-load-path-shadows):
8252 No longer necessary to check for duplicate simple.el, since
8253 2012-07-07 change to init_lread to not include installation lisp
8254 directories in load-path when running uninstalled. (Bug#14270)
8255
070ccca4
LL
82562013-04-26 Leo Liu <sdl.web@gmail.com>
8257
8258 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8259 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8260 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8261 octave-in-string-or-comment-p.
8262 (octave-in-comment-p, octave-in-string-p)
8263 (octave-in-string-or-comment-p): Replace defsubst with defun.
8264
9d1c5fb6
PE
82652013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8266
8267 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8268
c034abda
BG
82692013-04-25 Bastien Guerry <bzg@gnu.org>
8270
8271 * textmodes/remember.el (remember-data-directory)
8272 (remember-directory-file-name-format): Fix custom types.
8273
584ea277
LL
82742013-04-25 Leo Liu <sdl.web@gmail.com>
8275
e53052d3
SM
8276 * progmodes/octave.el (octave-completion-at-point-function):
8277 Make use of inferior octave process.
584ea277
LL
8278 (octave-initialize-completions): Remove.
8279 (inferior-octave-completion-table): New function.
8280 (inferior-octave-completion-at-point): Use it.
8281 (octave-completion-alist): Remove.
8282
1693b06a
SM
82832013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8286 (opascal-mode-syntax-table): New var.
8287 (opascal-literal-kind, opascal-is-literal-end)
8288 (opascal-literal-token-at): Rewrite.
8289 (opascal--literal-start-re, opascal-font-lock-keywords)
8290 (opascal--syntax-propertize): New constants.
8291 (opascal-font-lock-defaults): Adjust.
8292 (opascal-mode): Use them. Set comment-<foo> variables as well.
8293 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8294 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8295 (delphi-other-face, opascal-other-face): Remove face variables.
8296 (opascal-save-state): Remove macro.
8297 (opascal-fontifying-progress-step): Remove constant.
8298 (opascal--ignore-changes): Remove var.
8299 (opascal-set-token-property, opascal-parse-next-literal)
8300 (opascal-is-stable-literal, opascal-complete-literal)
8301 (opascal-is-literal-start, opascal-face-of)
8302 (opascal-parse-region, opascal-parse-region-until-stable)
8303 (opascal-fontify-region, opascal-after-change)
8304 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8305 (opascal-debug-parse-region, opascal-debug-parse-window)
8306 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8307 (opascal-debug-fontify-buffer): Remove.
8308 (opascal-debug-mode-map): Adjust accordingly.
8309
be64c05d
LL
83102013-04-25 Leo Liu <sdl.web@gmail.com>
8311
8312 Merge octave-mod.el and octave-inf.el into octave.el with some
8313 cleanups.
8314 * progmodes/octave.el: New file renamed from octave-mod.el.
8315 * progmodes/octave-inf.el: Merged into octave.el.
8316 * progmodes/octave-mod.el: Renamed to octave.el.
8317
d79d37bd
TH
83182013-04-25 Tassilo Horn <tsdh@gnu.org>
8319
8320 * textmodes/reftex-vars.el
8321 (reftex-label-ignored-macros-and-environments): New defcustom.
8322
8323 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8324
ced3fc5d
SM
83252013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8328 (smie-indent-keyword): Improve the check to ensure that the next
8329 comment is really on the same line.
8330 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8331
8332 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8333 semi-colons if the line is not otherwise empty (bug#14218).
8334
1c141dad
GM
83352013-04-25 Glenn Morris <rgm@gnu.org>
8336
8337 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8338
5058062a
SM
83392013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * progmodes/opascal.el (opascal-set-token-property): Rename from
8342 opascal-set-text-properties and only set `token' (bug#14134).
8343 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8344 (opascal-literal-text-properties): Remove.
8345 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8346 Adjust callers.
8347
5db9dace 83482013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8349
8350 * textmodes/remember.el (remember-handler-functions): Add an
8351 option for a new handler `remember-store-in-files'.
8352 (remember-data-directory, remember-directory-file-name-format):
8353 New options.
8354 (remember-store-in-files): New function to store remember notes
8355 as separate files within a directory.
8356
4391916c
MH
83572013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8358
8359 * progmodes/compile.el (compilation-next-error-function):
8360 Pass "formats" to compilation-find-file (bug#11777).
8361
bb7cdf58
GM
83622013-04-24 Glenn Morris <rgm@gnu.org>
8363
3b8fe752 8364 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8365 * vc/vc-hg.el (vc-hg-print-log):
8366 * vc/vc-svn.el (vc-svn-print-log):
8367 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8368
bb7cdf58
GM
8369 * vc/vc-bzr.el (vc-bzr-print-log):
8370 * vc/vc-cvs.el (vc-cvs-print-log):
8371 * vc/vc-git.el (vc-git-print-log):
8372 * vc/vc-hg.el (vc-hg-print-log):
8373 * vc/vc-mtn.el (vc-mtn-print-log):
8374 * vc/vc-rcs.el (vc-rcs-print-log):
8375 * vc/vc-sccs.el (vc-sccs-print-log):
8376 * vc/vc-svn.el (vc-svn-print-log):
8377 * vc/vc.el (vc-print-log-internal): Doc fixes.
8378
b46a056e
GM
83792013-04-23 Glenn Morris <rgm@gnu.org>
8380
8381 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8382 Remove venerable code attempting to avoid substitute-command-keys.
8383
0aecf718
TH
83842013-04-23 Tassilo Horn <tsdh@gnu.org>
8385
4391916c
MH
8386 * textmodes/reftex-vars.el (reftex-label-regexps):
8387 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8388
117f94cf
SM
83892013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8390
4391916c 8391 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8392 Use lexical-binding.
8393 (jit-lock-force-redisplay): Use markers, check buffer's continued
8394 existence and beware narrowed buffers.
8395 (jit-lock-fontify-now): Adjust call accordingly.
8396
1d829c64
SM
83972013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8400 to avoid misleading the user.
8401
72d548a9
LL
84022013-04-22 Leo Liu <sdl.web@gmail.com>
8403
8404 * info-look.el: Prefer latex2e.info. (Bug#14240)
8405
d0853629
MA
84062013-04-22 Michael Albinus <michael.albinus@gmx.de>
8407
8408 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8409
8410 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8411 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8412 (tramp-set-completion-function, tramp-parse-putty):
8413 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8414 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8415 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8416 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8417 (tramp-call-local-coding-command): Use `tramp-call-process'
8418 instead of `tramp-compat-call-process'.
8419
8420 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8421 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8422 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8423 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8424 (tramp-maybe-send-script): Check for Perl binary.
8425 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8426
38cc0210
DU
84272013-04-22 Daiki Ueno <ueno@gnu.org>
8428
8429 * epg.el (epg-context-pinentry-mode): New function.
8430 (epg-context-set-pinentry-mode): New function.
8431 (epg--start): Pass --pinentry-mode option to gpg command.
8432
cc641ee1
XF
84332013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8434
02d844b5 8435 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8436 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8437 `completion-at-point'. (Bug#13774)
5d4e5c31 8438
cc641ee1
XF
8439 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8440 default key binding for `describe-distribution' has been moved to
8441 `C-h C-o'. (Bug#13970)
8442
1b42ee43
GM
84432013-04-21 Glenn Morris <rgm@gnu.org>
8444
8445 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8446 Add doc strings.
8447 (vc-print-log): Clarify interactive prompt.
8448
a6d63d97
GM
84492013-04-20 Glenn Morris <rgm@gnu.org>
8450
8451 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8452 No longer include timestamp etc information.
8453
d7f5c16f
RW
84542013-04-20 Roland Winkler <winkler@gnu.org>
8455
8456 * faces.el (read-face-name): Bug fix, return just one face if arg
8457 multiple is nil. (Bug#14209)
8458
bcd7a0a4
SM
84592013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8462 (remove-function): Autoload.
8463
8464 * comint.el (comint-redirect-original-filter-function): Remove.
8465 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8466 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8467 (vc-cvs-annotate-command):
bcd7a0a4
SM
8468 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8469 * progmodes/prolog.el (prolog-consult-compile):
8470 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8471 Use add/remove-function instead.
8472 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8473 (gud-tooltip-process-output, gud-tooltip-tips):
8474 Use add/remove-function instead.
8475 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8476 (scheme-interaction-mode, exit-scheme-interaction-mode):
8477 Use add/remove-function instead.
8478
8479 * vc/vc-dispatcher.el: Use lexical-binding.
8480 (vc--process-sentinel): Rename from vc-process-sentinel.
8481 Change last arg to be the code to run. Don't use vc-previous-sentinel
8482 and vc-sentinel-commands any more.
8483 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8484 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8485
e36b2d20 84862013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8487
bcd7a0a4 8488 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8489 Handle function names with a single character. (Bug#14111)
4d3268ba 8490
781b4af6 84912013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8492
8493 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8494 for subroutines defined in an eval (bug#14182).
8495
7d688336
TV
84962013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8497
8498 * bookmark.el (bookmark-completing-read): Improve handling of empty
8499 string (bug#14176).
8500
31dcede0
SM
85012013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8504
adc31213
FEG
85052013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8506
8507 New faster Imenu implementation (bug#14058).
8508 * progmodes/python.el:
8509 (python-imenu-prev-index-position):
8510 (python-imenu-format-item-label-function)
8511 (python-imenu-format-parent-item-label-function)
8512 (python-imenu-format-parent-item-jump-label-function):
8513 New vars.
8514 (python-imenu-format-item-label)
8515 (python-imenu-format-parent-item-label)
8516 (python-imenu-format-parent-item-jump-label)
8517 (python-imenu--put-parent, python-imenu--build-tree)
8518 (python-imenu-create-index, python-imenu-create-flat-index)
8519 (python-util-popn): New functions.
8520 (python-mode): Set imenu-create-index-function to
8521 python-imenu-create-index.
8522
cdca8255
SM
85232013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * winner.el (winner-active-region): Use region-active-p, activate-mark
8526 and deactivate-mark (bug#14225).
8527
8528 * simple.el (deactivate-mark): Don't inline it.
8529
beb42340
MA
85302013-04-18 Michael Albinus <michael.albinus@gmx.de>
8531
8532 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8533
fc7f4d7e
TH
85342013-04-18 Tassilo Horn <tsdh@gnu.org>
8535
8536 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8537 file extensions from the archive-mode entry in order to prefer
8538 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8539
29f47822
LL
85402013-04-18 Leo Liu <sdl.web@gmail.com>
8541
8542 * bindings.el (help-event-list): Add ?\?.
8543
d36ed1c8
SM
85442013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * subr.el (with-wrapper-hook): Declare obsolete.
8547 * simple.el (filter-buffer-substring-function): New hook.
8548 (filter-buffer-substring): Use it.
8549 (filter-buffer-substring-functions): Mark obsolete.
8550 * minibuffer.el (completion-in-region-function): New hook.
8551 (completion-in-region): Use it.
8552 (completion-in-region-functions): Mark obsolete.
8553 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8554 * abbrev.el (abbrev-expand-function): New hook.
8555 (expand-abbrev): Use it.
8556 (abbrev-expand-functions): Mark obsolete.
8557 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8558 and :filter-return.
8559
04754d36
FEG
85602013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8561
8562 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8563 and do not care about match data.
8564
dd8791e9
SM
85652013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8568 completion tables when completing error conditions and
8569 `declare' arguments.
8570 (lisp-complete-symbol, field-complete): Mark as obsolete.
8571 (check-parens): Unmatched parens are user errors.
8572 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8573
ffe54a13
AM
85742013-04-17 Michal Nazarewicz <mina86@mina86.com>
8575
dd8791e9
SM
8576 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8577 command changed buffer (ie. `flyspell-pre-buffer' is not current
8578 buffer), which prevents making decisions based on invalid value of
8579 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8580 cause an error when `flyspell-pre-point' was nil after switching
8581 buffers.
8582 (flyspell-post-command-hook): No longer needs to change buffers when
8583 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8584
ec7e39f2
AM
85852013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8586
8587 * textmodes/ispell.el (ispell-add-per-file-word-list):
8588 Fix `flyspell-correct-word-before-point' error when accepting
8589 words and `coment-padding' is an integer by using
8590 `comment-normalize-vars' (Bug #14214).
8591
083850a6
FEG
85922013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8593
8594 New defun movement commands.
8595 * progmodes/python.el (python-nav--syntactically)
8596 (python-nav--forward-defun, python-nav-backward-defun)
8597 (python-nav-forward-defun): New functions.
8598
619ed6e1
FEG
85992013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8600
8601 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8602 (python-syntax-context): Use named compiler-macro for backwards
8603 compatibility with Emacs 24.x.
8604
7a1beb6c
LL
86052013-04-17 Leo Liu <sdl.web@gmail.com>
8606
8607 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8608 octave-hide-process-buffer.
8609
2d3fa3e5
SM
86102013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8613 (bug#14216).
8614
7ce5be54
JPG
86152013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8616
8617 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8618 Fix adjustment of offset when receiving incomplete responses from GDB
8619 (bug#14129).
8620
351edece
SM
86212013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8624 python-mode-abbrev-table.
8625 (python-skeleton-define): Adjust accordingly.
8626 (python-mode-abbrev-table): New table that inherits from it so that
8627 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8628
8629 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8630 (abbrev-symbol): Use it.
8631 (abbrev--before-point): Use it since we already handle inheritance.
8632
613f9481
LL
86332013-04-16 Leo Liu <sdl.web@gmail.com>
8634
8635 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8636 binding to info-lookup-symbol.
8637
51646b62
JB
86382013-04-16 Juanma Barranquero <lekktu@gmail.com>
8639
8640 * minibuffer.el (completion--twq-all):
8641 * term/ns-win.el (ns-initialize-window-system):
8642 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8643
efb3f01d
SM
86442013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8645
36c0a301
SM
8646 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8647 global bindings.
8648
efb3f01d
SM
8649 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8650
fb549d64
DG
86512013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8652
8653 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8654 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8655 to nil.
8656 (ruby-end-of-defun): Remove the unused arg, change the docstring
8657 to reflect that this function is only used as the value of
8658 `end-of-defun-function'.
8659 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8660 to reflect an earlier change that beginning/end-of-defun functions
8661 jump between methods in a class definition, as well as top-level
8662 functions.
8663
21e8fe2f
SM
86642013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * minibuffer.el (minibuffer-complete): Don't just scroll
8667 a *Completions* that's been iconified.
8668 (minibuffer-force-complete): Make sure repetitions do cycle when going
8669 through completion-in-region -> minibuffer-complete.
8670
20e527d0
AM
86712013-04-15 Alan Mackenzie <acm@muc.de>
8672
8673 Correct the placement of c-cpp-delimiters when there're #s not at
8674 col 0.
8675
8676 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8677 place a submatch around the #.
21e8fe2f
SM
8678 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8679 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8680 on the #, not BOL.
8681
dabefae5
SM
86822013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8685 (advice--member-p): New arg `name'.
8686 (advice--add-function, advice-member-p): Use it (bug#14202).
8687
85c9ab64
AM
86882013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8689
8690 Reformulate java imenu-generic-expression.
8691 The old expression contained ill formed regexps.
8692
8693 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8694 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8695 (cc-imenu-java-method-arg-regexp): New defconsts.
8696 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8697 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8698 handling of spaces in the regexp.
8699
0f821d99
AM
87002013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8701
8702 * textmodes/ispell.el (ispell-command-loop): Remove
8703 flyspell highlight of a word when ispell accepts it (bug #14178).
8704
eb922adf
MA
87052013-04-15 Michael Albinus <michael.albinus@gmx.de>
8706
8707 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8708 uses code from the previous `ange-ftp-run-real-handler'.
8709 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8710 only in case that function exist. This is needed for proper
8711 unloading of Tramp.
8712
4d9a0979
TH
87132013-04-15 Tassilo Horn <tsdh@gnu.org>
8714
8715 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8716
8717 * textmodes/reftex.el (reftex-compile-variables): Use it.
8718
a829b0dc
SM
87192013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8720
91e8293c
SM
8721 * files.el (normal-mode): Only use default major-mode if no other mode
8722 was specified.
8723
830aed4d
SM
8724 * emacs-lisp/trace.el (trace-values): New function.
8725
a829b0dc
SM
8726 * files.el: Allow : in local variables (bug#14089).
8727 (hack-local-variable-regexp): New var.
8728 (hack-local-variables-prop-line, hack-local-variables): Use it.
8729
7ae9f0fb
RW
87302013-04-13 Roland Winkler <winkler@gnu.org>
8731
8732 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8733 data before it gets modified by bibtex-beginning-of-entry.
8734
6646e848
RW
87352013-04-13 Roland Winkler <winkler@gnu.org>
8736
8737 * textmodes/bibtex.el (bibtex-url): Doc fix.
8738
87392013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8740
8741 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8742 does not visit a BibTeX file, exclude it from the list of buffers
8743 returned by bibtex-initialize.
8744
0aa3616e
SB
87452013-04-13 Stephen Berman <stephen.berman@gmx.net>
8746
8747 * window.el (split-window): Remove interactive form, since as a
8748 command this function is a special case of split-window-below.
8749 Correct doc string.
8750
011cddd6
RW
87512013-04-12 Roland Winkler <winkler@gnu.org>
8752
8753 * faces.el (read-face-name): Do not override value of arg default.
8754 Allow single faces and strings as default values. Remove those
8755 elements from return value that are not faces.
8756 (describe-face): Simplify.
8757 (face-at-point): New optional args thing and multiple so that this
8758 function can provide the same functionality previously provided by
8759 read-face-name.
8760 (make-face-bold, make-face-unbold, make-face-italic)
8761 (make-face-unitalic, make-face-bold-italic, invert-face)
8762 (modify-face, read-face-and-attribute): Use face-at-point.
8763
8764 * cus-edit.el (customize-face, customize-face-other-window)
8765 * cus-theme.el (custom-theme-add-face)
8766 * face-remap.el (buffer-face-set)
8767 * facemenu.el (facemenu-set-face): Use face-at-point.
8768
f24e0036
MA
87692013-04-12 Michael Albinus <michael.albinus@gmx.de>
8770
8771 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8772
da3cda2d
TH
87732013-04-10 Tassilo Horn <tsdh@gnu.org>
8774
8775 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8776 off leading { and trailing } from field values.
8777
15e54145
SM
87782013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8779
78ce603d
SM
8780 * emacs-lisp/timer.el (timer--check): New function.
8781 (timer--time, timer-set-function, timer-event-handler): Use it.
8782 (timer-set-idle-time): Simplify.
8783 (timer--activate): CSE.
8784 (timer-event-handler): Give more info in error message.
8785 (internal-timer-start-idle): New function, moved from C.
8786
15e54145
SM
8787 * mpc.el (mpc-proc): Add `restart' argument.
8788 (mpc-proc-cmd): Use it.
8789 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8790 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8791 less often.
8792
7144c627
MY
87932013-04-10 Masatake YAMATO <yamato@redhat.com>
8794
8795 * progmodes/sh-script.el: Implement `sh-mode' own
8796 `add-log-current-defun-function' (bug#14112).
8797 (sh-current-defun-name): New function.
8798 (sh-mode): Use the function.
8799
b39792eb
BG
88002013-04-09 Bastien Guerry <bzg@gnu.org>
8801
8802 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8803
8acdeb71
SM
88042013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8805
6fcdab68
SM
8806 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8807
8acdeb71
SM
8808 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8809 timer (bug#14156).
8810
e3e7b504
NF
88112013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8812
8813 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8814 declaration.
8815
201bb296
LL
88162013-04-07 Leo Liu <sdl.web@gmail.com>
8817
8818 * pcmpl-x.el: New file.
8819
ebb19708
DA
88202013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8821
8822 Do not set x-display-name until X connection is established.
8823 This is needed to prevent from weird situation described at
8824 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8825 * frame.el (make-frame): Set x-display-name after call to
8826 window system initialization function, not before.
8827 * term/x-win.el (x-initialize-window-system): Add optional
8828 display argument and use it.
8829 * term/w32-win.el (w32-initialize-window-system):
8830 * term/ns-win.el (ns-initialize-window-system):
8831 * term/pc-win.el (msdos-initialize-window-system):
8832 Add compatible optional display argument.
8833
33bb237a
EZ
88342013-04-06 Eli Zaretskii <eliz@gnu.org>
8835
8836 * files.el (normal-backup-enable-predicate): On MS-Windows and
8837 MS-DOS compare truenames of temporary-file-directory and of the
8838 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8839 don't fail comparison by compare-strings. Also, compare file
8840 names case-insensitively on MS-Windows and MS-DOS.
8841
134abf1f
SM
88422013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8845 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8846
d695cb94
DG
88472013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8848
e3e7b504
NF
8849 * whitespace.el (whitespace-color-on, whitespace-color-off):
8850 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8851
f4ad7ea1 88522013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8853
8854 * ispell.el (ispell-set-spellchecker-params):
8855 Really set `ispell-args' for all equivs.
8856
632556e4
SM
88572013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8858
8859 * ido.el (ido-completions): Use extra elements of ido-decorations
8860 (bug#14143).
8861 (ido-decorations): Update docstring.
8862
2a417372
MA
88632013-04-05 Michael Albinus <michael.albinus@gmx.de>
8864
8865 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8866 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8867 nil during initialization, in order not to miss changes since the
8868 file was opened. (Bug#14140)
8869
fc164b0c
LL
88702013-04-05 Leo Liu <sdl.web@gmail.com>
8871
8872 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8873
0ccecc08
JB
88742013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8875
8876 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8877
51af1aa2
GM
88782013-04-04 Glenn Morris <rgm@gnu.org>
8879
8880 * electric.el (electric-pair-inhibit-predicate): Add :version.
8881
b208ebc6
SM
88822013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8885 when a package is required several times (bug#14082).
8886
f3d3eaf0
RW
88872013-04-04 Roland Winkler <winkler@gnu.org>
8888
8889 * faces.el (read-face-name): Behave as promised by the docstring.
8890 Assume that arg default is a list of faces.
8891 (describe-face): Call read-face-name with list of default faces.
8892
2575da50
TV
88932013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8894
8895 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8896 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8897 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8898 the header.
8899 (bookmark-exit-hook-internal): Save even if list is empty.
8900
397703b4
YH
89012013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8902
8903 * emacs-lisp/package.el (package-pinned-packages): New var.
8904 (package--add-to-archive-contents): Obey it (bug#14118).
8905
691e26ae
AM
89062013-04-03 Alan Mackenzie <acm@muc.de>
8907
8a621d53
JB
8908 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8909 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8910
8911 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8912 parameter `not-in-delimiter'. Handle being inside comment opener.
8913 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8914 character in case we're typing a '*' after a '/'.
8915 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8916 instead by passing the parameter to c-state-pp-to-literal.
8917
8918 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8919 for elt. 7 of a parse state.
8920
4b725a70
PE
89212013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8922
8923 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8924 * international/latin1-disp.el, international/mule-util.el:
8925 * language/cyril-util.el, language/european.el, language/ind-util.el:
8926 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8927 * language/tibetan.el, language/viet-util.el:
8928 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8929
15c579f0
SM
89302013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8933 (electric-pair-post-self-insert-function): Use it.
8934 (electric-pair-default-inhibit): New function, extracted from
8935 electric-pair-post-self-insert-function.
8936
a77e2924
RW
89372013-03-31 Roland Winkler <winkler@gnu.org>
8938
8939 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8940
2bd8a4a8
SM
89412013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8944
8d3655be 89452013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8946
8947 Un-indent after "pass" and "return" statements (Bug#13888)
8948 * progmodes/python.el (python-indent-block-enders): New var.
8949 (python-indent-calculate-indentation): Use it.
8950
8d3655be 89512013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8952
8953 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8954 defun. Defining it as defalias could introduce too eager
8955 byte-compiler optimization. (Bug#14030)
8956
8d3655be 89572013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8958
8959 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8960
0b1619da
LL
89612013-03-30 Leo Liu <sdl.web@gmail.com>
8962
8963 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8964 (kmacro-execute-from-register): Pass the keyboard macro to
8965 kmacro-call-macro or repeating won't work correctly.
8966
0b938190
TZ
89672013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8968
8969 * progmodes/subword.el: Back to using `forward-symbol'.
8970
8971 * subr.el (forward-whitespace, forward-symbol)
8972 (forward-same-syntax): Move from thingatpt.el.
8973
35710234
LL
89742013-03-29 Leo Liu <sdl.web@gmail.com>
8975
8976 * kmacro.el (kmacro-to-register): New command.
8977 (kmacro-execute-from-register): New function.
8978 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8979
efc0bb73
SM
89802013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * mpc.el: Use defvar-local and setq-local.
8983 (mpc--proc-connect): Connection failures are not bugs.
8984 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8985 (mpc-volume-map): Bind to the up-events.
8986
75a2f981
TZ
89872013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8988
8989 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8990 instead of `forward-symbol'.
8991
17c781d1
SM
89922013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8995 (edebug--recursive-edit): Use it.
8996 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8997 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8998
f67bfbcf
LL
89992013-03-28 Leo Liu <sdl.web@gmail.com>
9000
9001 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9002
b59f639d
EZ
90032013-03-27 Eli Zaretskii <eliz@gnu.org>
9004
9005 * facemenu.el (list-colors-callback): New defvar.
9006 (list-colors-redisplay): New function.
9007 (list-colors-display): Install list-colors-redisplay as the
9008 revert-buffer-function. (Bug#14063)
9009
f557c1b1
SM
90102013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9011
b1da2957
SM
9012 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9013 and suffixes don't overlap (bug#14061).
9014
f557c1b1
SM
9015 * case-table.el: Use lexical-binding.
9016 (case-table-get-table): New function.
9017 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9018
002668e1
TZ
90192013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9020
9021 * progmodes/subword.el: Add `superword-mode' to do word motion
9022 over symbol_words (parallels and leverages `subword-mode' which
9023 does word motion inside MixedCaseWords).
9024
73572c72
AG
90252013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9026
78b8f320 9027 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9028 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9029
69b2c07e
SM
90302013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9033 Change return value to be a sexp. Delay `get-buffer' to after
9034 restoring the desktop (bug#13951).
9035
08bb5ee2
LL
90362013-03-26 Leo Liu <sdl.web@gmail.com>
9037
9038 * register.el: Move semantic tag handling back to
9039 cedet/semantic/senator.el. (Bug#14052)
9040
8d4c974e
SM
90412013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9044 into the prompt either (bug#13963).
9045
b234d92c
SM
90462013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9049 part of "(error-foo)".
9050
ddfa3cb4
JL
90512013-03-24 Juri Linkov <juri@jurta.org>
9052
9053 * replace.el (list-matching-lines-prefix-face): New defcustom.
9054 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9055 `occur-engine' if `face-differs-from-default-p' returns t.
9056 (occur-engine): Add `,' inside backquote construct to evaluate
9057 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9058 Pass `prefix-face' to the functions `occur-context-lines' and
9059 `occur-engine-add-prefix'.
9060 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9061 `prefix-face' and propertize the prefix with `prefix-face'.
9062 (Bug#14017)
9063
7b0e2f85
LL
90642013-03-24 Leo Liu <sdl.web@gmail.com>
9065
9066 * nxml/rng-valid.el (rng-validate-while-idle)
9067 (rng-validate-quick-while-idle): Guard against deleted buffer.
9068 (Bug#13999)
9069
9070 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9071 is the last entry in kill-buffer-hook.
9072
9073 * files.el (kill-buffer-hook): Doc fix.
9074
b3082f49
DG
90752013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9076
b234d92c
SM
9077 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9078 Make it safe-local.
bde73d27 9079
b3082f49
DG
9080 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9081
a320a2db
LL
90822013-03-23 Leo Liu <sdl.web@gmail.com>
9083
7e74b0fb
LL
9084 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9085 Remove.
9086
9087 * nxml/rng-valid.el (rng-validate-mode)
9088 (rng-after-change-function, rng-do-some-validation):
9089 * nxml/rng-maint.el (rng-validate-buffer):
9090 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9091 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9092 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9093 (nxml-extend-after-change-region): Use with-silent-modifications.
9094
a320a2db
LL
9095 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9096 timer-idle-list.
9097
9098 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9099 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9100 timer-idle-list. (Bug#13999)
9101
e38e6780
JL
91022013-03-23 Juri Linkov <juri@jurta.org>
9103
9104 * info.el (info-index-match): New face.
9105 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9106 main pattern and add text properties with the new face to matches
9107 in index entries relative to the beginning of the index entry.
9108 (Bug#14015)
9109
e8cc7880
DE
91102013-03-21 Eric Ludlam <zappo@gnu.org>
9111
9112 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9113 Inhibit read only while inserting objects.
9114
9bb0d822
TZ
91152013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9116
9117 * progmodes/cfengine.el: Update docs to mention
9118 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9119 symbol motion. Remove "_" from the word syntax.
9120
aa703640
TZ
91212013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9122
9123 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9124 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9125
afff09d0
JL
91262013-03-20 Juri Linkov <juri@jurta.org>
9127
9128 * info.el (Info-next-reference-or-link)
9129 (Info-prev-reference-or-link): New functions.
9130 (Info-next-reference, Info-prev-reference): Use them.
9131 (Info-try-follow-nearest-node): Handle footnote navigation.
9132 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9133
9a1ff164
SM
91342013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9137 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9138
2667d15d
PE
91392013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9140
9141 Suppress unnecessary non-ASCII chatter during build process.
9142 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9143 (batch-skkdic-convert): Suppress most of the chatter.
9144 It's not needed so much now that machines are faster,
9145 and its non-ASCII component was confusing; see Dmitry Gutov in
9146 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9147
438b0579
LL
91482013-03-20 Leo Liu <sdl.web@gmail.com>
9149
9150 * ido.el (ido-chop): Fix bug#10994.
9151
c128ab07
DG
91522013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9153
9154 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9155 Remove vars.
9a1ff164
SM
9156 (whitespace-color-on, whitespace-color-off):
9157 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9158
0e6008c5
SM
91592013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9162 remapping in mode-line.
9163 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9164
627b52b0
DG
91652013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9166
9167 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9168 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9169 (whitespace-font-lock-keywords): Change description.
9170 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9171 the constructed keywords instead.
9172 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9173
50c3a20b
LL
91742013-03-19 Leo Liu <sdl.web@gmail.com>
9175
9176 * progmodes/compile.el (compilation-display-error): New command.
9177 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9178 C-o. (Bug#13992)
9179
2aa2157b
PE
91802013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9181
9182 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9183
e477dbfa
JD
91842013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9185
9186 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9187
64ab82d1
MA
91882013-03-18 Michael Albinus <michael.albinus@gmx.de>
9189
9190 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9191
9192 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9193 * net/tramp-gvfs.el (top):
9194 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9195 (tramp-handle-shell-command): Use it.
9196 (tramp-dissect-file-name): Raise an error when hostname is a
9197 method name, and neither method nor user is specified.
9198
9199 * net/trampver.el: Update release number.
9200
33cef733
LL
92012013-03-18 Leo Liu <sdl.web@gmail.com>
9202
9203 Make sure eldoc can be turned off properly.
9204 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9205 eldoc-mode.
9206 (eldoc-display-message-p): Revert last change.
9207 (eldoc-display-message-no-interference-p)
9208 (eldoc-print-current-symbol-info): Tweak.
9209
2167b7b2
TH
92102013-03-18 Tassilo Horn <tsdh@gnu.org>
9211
9212 * doc-view.el (doc-view-new-window-function): Check the new window
9213 overlay's display property instead the char property of the
9214 buffer's first char. Use `with-selected-window' instead of
9215 `save-window-excursion' with `select-window'.
9216 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9217 display property instead the char property of the buffer's first char.
2167b7b2 9218
982efbcd
PE
92192013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9220
9221 Automate the build of ja-dic.el (Bug#13984).
9222 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9223 from the input, rather than assume that it's been done for us by the
9224 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9225 the current date into a ja-dic.el comment, as that complicates
9226 regression testing.
9227
2fcc7665
SM
92282013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * whitespace.el: Fix double evaluation.
9231 (whitespace-space, whitespace-hspace, whitespace-tab)
9232 (whitespace-newline, whitespace-trailing, whitespace-line)
9233 (whitespace-space-before-tab, whitespace-indentation)
9234 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9235 obsolete defvars.
9236 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9237 (whitespace-color-on): Use a single font-lock-add-keywords call.
9238 Fix double-evaluation of face variables.
9239
67c0a6e6
MA
92402013-03-17 Michael Albinus <michael.albinus@gmx.de>
9241
2fcc7665
SM
9242 * net/tramp-adb.el (tramp-adb-parse-device-names):
9243 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9244 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9245
69489f1d
LL
92462013-03-17 Leo Liu <sdl.web@gmail.com>
9247
9248 Extend eldoc to display info in the mode-line. (Bug#13978)
9249 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9250 (eldoc-mode-line-string): New variable.
9251 (eldoc-minibuffer-message): New function.
9252 (eldoc-message-function): New variable.
9253 (eldoc-message): Use it.
9254 (eldoc-display-message-p)
2fcc7665
SM
9255 (eldoc-display-message-no-interference-p):
9256 Support eldoc-post-insert-mode.
69489f1d
LL
9257
9258 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9259 (eval-expression): Run it.
9260
9c44569e
RW
92612013-03-17 Roland Winkler <winkler@gnu.org>
9262
9263 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9264 strings in the list of return values.
9265
327f1f6f
JB
92662013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9267
9268 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9269 radix before checking for HMS forms.
9270
67ed8fcd
LL
92712013-03-16 Leo Liu <sdl.web@gmail.com>
9272
9273 * progmodes/scheme.el: Add indentation and font-locking for λ.
9274 (Bug#13975)
9275
78be8b64 92762013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9277
9278 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9279 token before point (bug#13942).
9280
78be8b64 92812013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9282
95b43468 9283 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9284
98e775e6
EZ
92852013-03-16 Eli Zaretskii <eliz@gnu.org>
9286
9287 * startup.el (command-line-normalize-file-name): Fix handling of
9288 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9289 <xfq.free@gmail.com> in
9290 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9291
2edd6029
MA
92922013-03-15 Michael Albinus <michael.albinus@gmx.de>
9293
9294 Sync with Tramp 2.2.7.
9295
9296 * net/trampver.el: Update release number.
9297
d35f5864
TH
92982013-03-14 Tassilo Horn <tsdh@gnu.org>
9299
e903c210 9300 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9301 (doc-view-insert-image): Don't modify overlay associated to
9302 non-live windows, and implement horizontal centering of image in
9303 case it's smaller than the window.
9304 (doc-view-new-window-function): Force redisplay of new windows on
9305 doc-view buffers.
d35f5864 9306
1c4a85ed
KF
93072013-03-13 Karl Fogel <kfogel@red-bean.com>
9308
9309 * saveplace.el (save-place-alist-to-file): Don't sort
9310 `save-place-alist', just pretty-print it (bug#13882).
9311
85b66a21
MA
93122013-03-13 Michael Albinus <michael.albinus@gmx.de>
9313
a020afb9
JB
9314 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9315 Check whether `default-file-name-coding-system' is bound.
9316 It isn't in XEmacs.
85b66a21 9317
175600da
SM
93182013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9319
e7f7cb1a
SM
9320 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9321 backquotes for `obsolete' (bug#13929).
9322
175600da
SM
9323 * international/mule.el (find-auto-coding): Include file name in
9324 obsolescence warning (bug#13922).
9325
ca68a22e
TZ
93262013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9327
9328 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9329 for CFEngine 3-specific indentation.
9330 (cfengine3-indent-line): Use it. Fix up category regex.
9331 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9332
940e5099
SM
93332013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * type-break.el (type-break-file-name):
9336 * textmodes/remember.el (remember-data-file):
9337 * strokes.el (strokes-file):
9338 * shadowfile.el (shadow-initialize):
9339 * saveplace.el (save-place-file):
9340 * ps-bdf.el (bdf-cache-file):
9341 * progmodes/idlwave.el (idlwave-config-directory):
9342 * net/quickurl.el (quickurl-url-file):
9343 * international/kkc.el (kkc-init-file-name):
9344 * ido.el (ido-save-directory-list-file):
9345 * emulation/viper.el (viper-custom-file-name):
9346 * emulation/vip.el (vip-startup-file):
9347 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9348 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9349
cc725808
PE
93502013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9351
9352 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9353 * language/thai-word.el: Switch to UTF-8.
9354
a020afb9 9355See ChangeLog.16 for earlier changes.
e3d51b27
MR
9356
9357;; Local Variables:
9358;; coding: utf-8
e3d51b27
MR
9359;; End:
9360
ab422c4d 9361 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9362
9363 This file is part of GNU Emacs.
9364
9365 GNU Emacs is free software: you can redistribute it and/or modify
9366 it under the terms of the GNU General Public License as published by
9367 the Free Software Foundation, either version 3 of the License, or
9368 (at your option) any later version.
9369
9370 GNU Emacs is distributed in the hope that it will be useful,
9371 but WITHOUT ANY WARRANTY; without even the implied warranty of
9372 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9373 GNU General Public License for more details.
9374
9375 You should have received a copy of the GNU General Public License
9376 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.