* src/Makefile.in (bootstrap_exe): Use relative filename.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b0b9e592
GM
12013-11-02 Glenn Morris <rgm@gnu.org>
2
18ba6a33 3 * Makefile.in (EMACS): Use a relative filename.
8061810d 4 (abs_top_builddir): Remove.
18ba6a33
GM
5 (custom-deps, finder-data, autoloads): Use --chdir.
6
6a8b929e
GM
7 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8
c617f3d0
GM
9 Use relative filenames in TAGS files.
10 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11 (lisptagsfiles4, TAGS): Use relative file names.
12 (TAGS-LISP): Remove.
13 (maintainer-clean): No more TAGS-LISP file.
14
b0b9e592
GM
15 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16 (lisptagsfiles4): Use absolute filenames again.
17 (TAGS, TAGS-LISP): Not everything needs to run in one line.
18 Remove all *loaddefs files, not just the first. Remove esh-groups.
19 (maintainer-clean): Delete TAGS, TAGS-LISP.
20
d1c0ea6a
BB
212013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
22
23 * emacs-lisp/package.el (package-version-join): Recognize
24 snapshot versions.
25
684d71c6
BB
262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
27
28 * subr.el (version-regexp-alist): Add support for snapshot versions.
29
3d42b968
DG
302013-11-02 Dmitry Gutov <dgutov@yandex.ru>
31
32 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
33 function, replacement for `smie-rule-parent' for when we want to
34 skip over our direct parent if it's an assignment token..
35 (ruby-smie-rules): Use it.
36
7ffd3721
DG
372013-11-02 Dmitry Gutov <dgutov@yandex.ru>
38
39 * progmodes/ruby-mode.el Use `syntax-propertize-function'
40 unconditionally. Remove now unnecessary forward declarations.
41 Remove XEmacs-specific setup.
42 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
43 (ruby-font-lock-syntactic-keywords)
44 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
45 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
46 (ruby-here-doc-end-syntax): Remove.
47 (ruby-mode): Don't check whether `syntax-propertize-rules' is
48 defined as function.
49
a3996a2e
BB
502013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
51
52 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
53
6f9260e8
BB
542013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
55
56 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
57 table and abbrev table, `define-derived-mode' does that for us
58 anyway.
59
6014de84
GM
602013-11-01 Glenn Morris <rgm@gnu.org>
61
62 * Makefile.in: Remove manual mh-e dependencies (writing .elc
63 files is atomic for some time, so no parallel compilation issues).
64
3c334c14
JD
652013-11-01 Jan Djärv <jan.h.d@swipnet.se>
66
67 * faces.el (face-x-resources): Add :distant-foreground.
68 (region): Use :distant-foreground for gtk and ns.
69
9bc236c8
TH
702013-11-01 Tassilo Horn <tsdh@gnu.org>
71
5246583b 72 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
73 BibTeX.
74 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
75 (reftex-locate-bibliography-files): Us it.
76
d14c81ee
CB
772013-11-01 Claudio Bley <claudio.bley@googlemail.com>
78
0e7690de
CB
79 * image.el (image-type-header-regexps): Fix the 'pbm' part to
80 allow comments in pbm files.
81
d14c81ee
CB
82 * term/w32-win.el (dynamic-library-alist): Support newer versions
83 of libjpeg starting with v7: look only for the DLL from the
84 version against which Emacs was built.
ac1bf374 85 Support versions of libpng beyond 1.4.x.
019c8218 86 Support libtiff v4.x.
d14c81ee 87
983d0df5
BB
882013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
89
90 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
91 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
92 Add property :safe.
93 (ruby-deep-arglist): Add property :type.
94
47f58d85
GM
952013-10-31 Glenn Morris <rgm@gnu.org>
96
97 * Makefile.in (custom-deps, finder-data): No need to setq the target
98 variables, we are in the right directory and the defaults work fine.
99
4f85b479
GM
1002013-10-30 Glenn Morris <rgm@gnu.org>
101
ca7dd4cd
GM
102 * Makefile.in (autoloads): Do not use abs_lisp.
103
4f85b479
GM
104 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
105 `newline' does not respect `standard-output', so use `princ'.
106
cf59e41c
AA
1072013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
108
109 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
110 * buff-menu.el (Buffer-menu--unmark): New function.
111 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
112
74cf04fb
GM
1132013-10-30 Glenn Morris <rgm@gnu.org>
114
b040b60e
GM
115 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
116
f53d3815
GM
117 * emacs-lisp/package.el (lm-homepage): Declare.
118
5413d873
GM
119 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
120 Fix doc typos.
121
cecedb36
GM
122 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
123
74cf04fb
GM
124 * Makefile.in (finder-data, autoloads, update-subdirs)
125 (compile-main, compile-clean, compile-always, bootstrap-clean):
126 Check return value of cd.
127 (compile-calc): Remove.
128
195ee2f0
SM
1292013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
130
ae4002ce
SM
131 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
132
133 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
134 (byte-compile-and-folded): New function.
135 (=, <, >, <=, >=): Use it.
136
137 * dos-w32.el (minibuffer-history-case-insensitive-variables)
138 (path-separator, null-device, buffer-file-coding-system)
139 (lpr-headers-switches): Check system-type before modifying them.
140 (find-buffer-file-type-coding-system): Mark obsolete.
141 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
142 find-file-not-found-set-buffer-file-coding-system.
143 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
144 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
145 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
146 (w32-direct-print-region-helper, w32-direct-print-region-function)
147 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
148 * startup.el (normal-top-level-add-subdirs-to-load-path):
149 * ps-print.el (ps-print-region-function):
150 * lpr.el (print-region-function): Use new name.
151
53b39e89
SM
152 * subr.el (custom-declare-variable-early): Remove function.
153 (custom-declare-variable-list): Remove var.
154 (error, user-error): Remove `while' loop.
155 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
156 (user-emacs-directory-warning, locate-user-emacs-file):
157 Move to files.el.
158 * simple.el (read-quoted-char-radix, read-quoted-char):
159 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
160 Move from subr.el.
161 * custom.el (custom-declare-variable-list): Don't process
162 custom-declare-variable-list.
163
195ee2f0
SM
164 * progmodes/python.el (python-shell-get-buffer): New function.
165 (python-shell-get-process): Use it.
166 (python-shell-send-string): Always use utf-8 and add a cookie to tell
167 Python which encoding was used. Don't split-string since we only care
168 about the first line. Return the temp-file, if applicable.
169 (python-shell-send-region): Tell compile.el how to turn locations in
170 the temp-file into locations in the source buffer.
171
7e3561ee
SM
1722013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
173
4c9797cb
SM
174 * subr.el (undefined): Add missing behavior from the C code for
175 unbound keys.
176
3472b6c6
SM
177 * rect.el: Use lexical-binding. Add new rectangular region support.
178 (rectangle-mark): New command.
179 (rectangle--region): New var.
180 (deactivate-mark-hook): Reset rectangle--region.
181 (rectangle--extract-region, rectangle--insert-for-yank)
182 (rectangle--highlight-for-redisplay)
183 (rectangle--unhighlight-for-redisplay): New functions.
184 (region-extract-function, redisplay-unhighlight-region-function)
185 (redisplay-highlight-region-function): Use them to handle
186 rectangular region.
187 * simple.el (region-extract-function): New var.
188 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
189 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
190 (kill-region): Replace obsolete `yank-handler' arg with `region'.
191 (copy-region-as-kill, kill-ring-save): Add `region' argument.
192 (redisplay-unhighlight-region-function)
193 (redisplay-highlight-region-function): New vars.
194 (redisplay--update-region-highlight): New function.
195 (pre-redisplay-function): Use it.
196 (exchange-point-and-mark): Don't deactivate the mark before
197 reactivate-it anyway.
198 * comint.el (comint-kill-region): Remove yank-handler argument.
199 * delsel.el (delete-backward-char, backward-delete-char-untabify)
200 (delete-char): Remove property, since it's now part of their
201 default behavior.
202 (self-insert-iso): Remove property since this command doesn't exist.
203
7e3561ee
SM
204 * emacs-lisp/package.el (package--download-one-archive)
205 (describe-package-1): Don't query the user about final newline.
206
b9bef71f
DC
2072013-10-29 Daniel Colascione <dancol@dancol.org>
208
209 * net/tramp.el (tramp-methods): Document new functionality.
210 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
211 tramp-hostname-checker if method provides one instead of scanning
212 argument list for "%h" to decide hostname acceptability.
213
4efc33f0
MA
2142013-10-28 Michael Albinus <michael.albinus@gmx.de>
215
216 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
217 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
218 Handle COPY-CONTENTS. (Bug#15737)
219
ed42a877
DU
2202013-10-28 Daiki Ueno <ueno@gnu.org>
221
222 * epa-file.el
7e3561ee
SM
223 (epa-file-cache-passphrase-for-symmetric-encryption):
224 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 225
18c9f8a2
XF
2262013-10-27 Xue Fuqiao <xfq.free@gmail.com>
227
7a4bc7be
XF
228 * image.el (defimage):
229 (image-load-path): Doc fixes.
18c9f8a2 230
b1e8e010
AM
2312013-10-27 Alan Mackenzie <acm@muc.de>
232
233 Indent statements in macros following "##" correctly.
7e3561ee
SM
234 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
235 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 236
73d40d1e 2372013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
238
239 * linum.el (linum-update-window): Fix boundary test (bug#13446).
240
c8c605ac
DG
2412013-10-27 Dmitry Gutov <dgutov@yandex.ru>
242
243 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
244 after `=' is probably a new expression.
245
ca7e59d4
RS
2462013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
247
248 * man.el (man-imenu-title): New option.
249 (Man-mode-map): Add menu. (Bug#15722)
250 (Man-mode): Add imenu to menu.
251
bae91342
DG
2522013-10-26 Dmitry Gutov <dgutov@yandex.ru>
253
254 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
255 specific in what the first arg can be: a non-keyword word,
256 string/regexp/percent literal opener, opening paren, or unary
257 operator followed directly by word.
258
eb89dc14
SM
2592013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
262 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
263 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
264 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
265 Remove vars, they do not apply any more.
266 (prolog-mode-abbrev-table): Remove redundant declaration.
267 (prolog-upper-case-string, prolog-lower-case-string): Remove.
268 (prolog-use-smie): Remove.
269 (prolog-smie-rules): Add indentation rule for the if-then-else layout
270 supported by prolog-electric-if-then-else-flag.
271 (prolog-mode-variables, prolog-menu): Use setq-local.
272 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
273 Remove binding to `Backspace' since this key doesn't exist anyway.
274 Remove bindings for electric self-inserting keys.
275 (prog-mode): Assume it's defined.
276 (prolog-post-self-insert): New function.
277 (prolog-mode): Use it.
278 (prolog-indent-line, prolog-indent-level)
279 (prolog-find-indent-of-matching-paren)
280 (prolog-indentation-level-of-line, prolog-goto-comment-column)
281 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
282 (prolog-goto-next-paren, prolog-in-string-or-comment)
283 (prolog-tokenize, prolog-inside-mline-comment)
284 (prolog-find-start-of-mline-comment): Remove functions.
285 (prolog-find-unmatched-paren, prolog-clause-end)
286 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
287 (prolog-electric--if-then-else): Rename from
288 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
289 (prolog-tokenize-searchkey): Remove const.
290 (prolog-clause-info): Use forward-sexp.
291 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
292 (prolog-electric-if-then-else): Remove commands.
293 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
294 for use in post-self-insert-hook.
295 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
296 for use in post-self-insert-hook.
297 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
298 for use in post-self-insert-hook.
299 (prolog-electric--underscore): Rename from prolog-electric--underscore;
300 adapt it for use in post-self-insert-hook.
301
3dab0a83
MA
3022013-10-25 Michael Albinus <michael.albinus@gmx.de>
303
304 * emacs-lisp/ert.el (ert-run-tests-interactively):
305 Use `completing-read'. (Bug#9756)
306
fbfd0e1d
EZ
3072013-10-25 Eli Zaretskii <eliz@gnu.org>
308
309 * simple.el (line-move): Call line-move-1 instead of
310 line-move-visual when the current window hscroll is zero, but
311 temporary-goal-column indicates we will need to hscroll as result
312 of the movement. (Bug#15712)
313
963ce636
DG
3142013-10-25 Dmitry Gutov <dgutov@yandex.ru>
315
316 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
317 capitalization. Use :visible instead of :active.
318 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
319 commands that are used with SMIE.
320 (ruby-do-end-to-brace): Insert space after `{'.
321
a0be396a
JA
3222013-10-25 John Anthony <john@jo.hnanthony.com>
323
f73754c9
JA
324 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
325
326 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 327
f5bf77df
GM
3282013-10-25 Glenn Morris <rgm@gnu.org>
329
330 * vc/vc.el (vc-print-log): Don't use a working revision unless
331 one was explicitly specified. (Bug#15322)
332
37241f62
SM
3332013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * subr.el (add-to-list): Preserve return value in compiler-macro
336 (bug#15692).
337
6408a65d
RS
3382013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
339
340 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
341 result. Ask user to retry using '-all' flag. (Bug#15701)
342
71e3276b
SM
3432013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * emacs-lisp/smie.el: New smie-config system.
346 (smie-config): New defcustom.
347 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
348 (smie-config-guess, smie-config-save): New commands.
349 (smie-config--mode-local, smie-config--buffer-local)
350 (smie-config--trace, smie-config--modefuns): New vars.
351 (smie-config--advice, smie-config--mode-hook)
352 (smie-config--setter, smie-config-local, smie-config--get-trace)
353 (smie-config--guess-value, smie-config--guess): New functions.
354 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
355 text properties. Treat "string fence" syntax like string syntax.
356
357 * progmodes/sh-script.el (sh-use-smie): Change default.
358 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
359 (sh-var-value): Simplify by CSE.
360 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
361 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
362 is used.
363 (sh-guess-basic-offset): Use cl-incf.
364 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
365
60db713e
HE
3662013-10-24 Helmut Eller <eller.helmut@gmail.com>
367
368 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
369 (bug#15699).
370
8b251df6
GM
3712013-10-24 Glenn Morris <rgm@gnu.org>
372
373 * Makefile.in (abs_top_srcdir): Remove.
374 (update-subdirs): Use relative path to update-subdirs.
375
6be0e22b
EZ
3762013-10-24 Eli Zaretskii <eliz@gnu.org>
377
378 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
379 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
380 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
381 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 382
50b5b857
MA
3832013-10-24 Michael Albinus <michael.albinus@gmx.de>
384
385 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
386 (ert-test-skipped): New error.
387 (ert-skip, ert-stats-skipped): New defuns.
388 (ert--skip-unless): New macro.
389 (ert-test-skipped): New struct.
390 (ert--run-test-debugger, ert-test-result-type-p)
391 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
392 (ert--stats-set-test-and-result, ert-char-for-test-result)
393 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 394 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 395 Handle skipped tests. (Bug#9803)
50b5b857 396
6f317c2f
GM
3972013-10-24 Glenn Morris <rgm@gnu.org>
398
e43817c1
GM
399 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
400
6f317c2f
GM
401 * Makefile.in (abs_top_srcdir): New, set by configure.
402 (update-subdirs): Correct build-aux location.
403
369bbf71
DG
4042013-10-24 Dmitry Gutov <dgutov@yandex.ru>
405
8297b2cf
DG
406 * vc/vc.el (vc-print-root-log): Always set `default-directory'
407 value, whether we could auto-deduce `backend', or not.
408
369bbf71
DG
409 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
410 with parameters" example. Simplify the "is it block or is it
411 hash" check, but also make it more thorough.
412
d5f1282f
MF
4132013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
414
415 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
416
bc4aaa31
SM
4172013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
418
03d44565
SM
419 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
420 { if it is hanging.
421
bc4aaa31
SM
422 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
423 :before ";".
424
f493ff19
JB
4252013-10-23 Jed Brown <jed@59A2.org> (tiny change)
426
427 * progmodes/compile.el (compilation-directory-matcher)
428 (compilation-page-delimiter):
429 Support GNU Make-4.0 directory quoting. (Bug#15678)
430
c744a3b9
LL
4312013-10-23 Leo Liu <sdl.web@gmail.com>
432
433 * ido.el (ido-tidy): Handle read-only text.
434
b8e3b0a9
GM
4352013-10-23 Glenn Morris <rgm@gnu.org>
436
437 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
438 (emacs, compile, compile-always):
439 Quote entities that might contain whitespace.
440 (custom-deps, finder-data, autoloads): Use abs_lisp.
441 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
442 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
443 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
444
ee4282cd
DG
4452013-10-23 Dmitry Gutov <dgutov@yandex.ru>
446
bc4aaa31
SM
447 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
448 Use `following-char'.
7790a270 449
ee4282cd 4502013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
451
452 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
453 * progmodes/ruby-mode.el (ruby-smie-rules):
454 Remove corresponding workaround. Fix indentation rule of ";" so it
455 also applies when ";" is the parent.
456
d40a46d7
XF
4572013-10-22 Xue Fuqiao <xfq.free@gmail.com>
458
459 * frame.el (display-screens, display-pixel-height)
460 (display-pixel-width, display-mm-width, display-backing-store)
461 (display-save-under, display-planes, display-color-cells)
7790a270
SM
462 (display-visual-class, display-monitor-attributes-list):
463 Mention the optional ‘display’ argument in doc strings.
d40a46d7 464
a0f143c9
MG
4652013-10-22 Michael Gauland <mikelygee@amuri.net>
466
467 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
468 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
469
18cacc39
DG
4702013-10-21 Dmitry Gutov <dgutov@yandex.ru>
471
472 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
473 TODO. Add "." after " @ ".
474 (ruby-smie--at-dot-call): New function. Checks if point at method
475 call with explicit target.
476 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
477 to the method name tokens when it precedes them.
478 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
479 (ruby-smie-rules): Add rule for indentation before and after "."
480 token.
481
df74c4be
SM
4822013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
483
c6dab55f
SM
484 * textmodes/remember.el (remember-diary-extract-entries):
485 Avoid add-to-list.
486
df74c4be
SM
487 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
488 an instruction.
489
8c1ae481
DG
4902013-10-21 Dmitry Gutov <dgutov@yandex.ru>
491
cfef16c0
DG
492 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
493 (ruby-smie--implicit-semi-p): Add new operator chars.
494
8c1ae481
DG
495 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
496 `smie-down-list'.
497 (ruby-smie--args-separator-p): Check that there's no newline
498 between method call and its arguments.
499
87756ca9
AM
5002013-10-20 Alan Mackenzie <acm@muc.de>
501
502 Allow comma separated lists after Java "implements".
503
df74c4be
SM
504 * progmodes/cc-engine.el (c-backward-over-enum-header):
505 Parse commas.
87756ca9
AM
506 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
507 from a "disallowed" list in enum fontification.
508
c25f8957
JB
5092013-10-20 Johan Bockgård <bojohan@gnu.org>
510
df74c4be 511 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 512
c25f8957
JB
513 * progmodes/verilog-mode.el (verilog-mode): Don't set
514 comment-indent-function globally.
515
aca5fcdc
JD
5162013-10-20 Jan Djärv <jan.h.d@swipnet.se>
517
5f161884
JD
518 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
519 Move Info menu item creation to ns-win.el.
520
521 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
522 in menu bar.
523
aca5fcdc
JD
524 * menu-bar.el: Move GNUStep specific menus...
525
526 * term/ns-win.el (ns-initialize-window-system): ... to here.
527
914b7f98
SM
5282013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * simple.el (newline): Only run post-self-insert-hook when
531 called interactively.
532
846ffe77
JB
5332013-10-19 Johan Bockgård <bojohan@gnu.org>
534
535 * icomplete.el (icomplete-with-completion-tables): Add :version.
536
033f22dd
AM
5372013-10-19 Alan Mackenzie <acm@muc.de>
538
539 Fix fontification bugs with constructors and const.
540
541 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
542 CASE 2) Remove the check for the absence of a suffix construct
543 after a function declaration with only types (no identifiers) in
544 the parentheses. Also, accept a function declaration with just a
545 type inside the parentheses, if this type can be positively
546 recognised as such, or if a prefix keyword like "explicit" nails
547 down the construct as a declaration.
548
58ce0cfc
EZ
5492013-10-19 Eli Zaretskii <eliz@gnu.org>
550
551 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
552 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
553 the problem whereby selecting a menu item that leads to a
554 minibuffer prompt moves the cursor out of the minibuffer window,
555 making it hard to type at the prompt. Suggested by Stefan Monnier
556 <monnier@iro.umontreal.ca>.
557
50e28e7d
JD
5582013-10-19 Jan Djärv <jan.h.d@swipnet.se>
559
560 * menu-bar.el: Don't make Services menu.
561
7deed4bf
RS
5622013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
563
564 * ffap.el: Handle "/usr/include/c++/<version>" directories.
565 (ffap-alist): Use ffap-c++-mode for c++-mode.
566 (ffap-c++-path): New variable.
567 (ffap-c++-mode): New function.
568
7bcb455b
JVJ
5692013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
570
571 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
572
f0ff1cd5
MA
5732013-10-18 Michael Albinus <michael.albinus@gmx.de>
574
575 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
576 introduced on 2013-09-08, which results in an infinite loop
577 requesting a password.
578
d64da4b7
GM
5792013-10-18 Glenn Morris <rgm@gnu.org>
580
581 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
582
ea89ff08
WS
5832013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
584
585 Sync with upstream verilog-mode revision 1a6ecec7.
586 * progmodes/verilog-mode.el (verilog-mode-version): Update.
587 (verilog-mode-release-date): Remove.
588 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
589 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
590 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
591 (verilog-auto-tieoff-ignore-regexp)
592 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
593 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
594 (verilog-signals-with, verilog-dir-cache-preserving)
595 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
596 Doc fixes.
597 (verilog-case-fold): New option, to control case folding in
598 regexp searches, bug597.
599 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
600 (verilog-string-match-fold, verilog-in-paren-count)
601 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
602 (verilog-at-close-struct-p): New functions.
603 (verilog-beg-block-re-ordered, verilog-extended-case-re)
604 (verilog-forward-sexp, verilog-set-auto-endcomments):
605 (verilog-leap-to-case-head): Handle "unique0" case.
606 (verilog-in-constraint-re): New constant.
607 (verilog-keywords, verilog-type-font-keywords):
608 Add some SystemVerilog 1800-2012 keywords.
609 (verilog-label-be): Remove unimplemented argument, bug669.
610 (verilog-batch-execute-func): When batch expanding clear
611 create-lockfiles to prevent spurious user locks when a file ends
612 up not changing.
613 (verilog-calculate-indent, verilog-calc-1)
614 (verilog-at-close-constraint-p, verilog-at-constraint-p)
615 (verilog-do-indent): Fix indentation of nested constraints
616 and structures.
617 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
618 (verilog-auto-inst-param): Use verilog-string-match-fold.
619 (verilog-read-inst-module-matcher):
620 Fix AUTOINST on gate primitives with #1.
621 (verilog-read-decls): Fix double-declaring user-defined typed signals.
622 Reads all user-defined typed variables.
623 (verilog-read-defines): Fix reading definitions inside comments, bug647.
624 (verilog-signals-matching-regexp)
625 (verilog-signals-not-matching-regexp, verilog-auto):
626 Respect verilog-case-fold.
627 (verilog-diff-report): Fix line count.
628 (verilog-auto-assign-modport): Remove unused local `modi'.
629 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
630 better handle multidimensional arrays.
631 Fix packed array ports misadding bit index in AUTOINST, bug637.
632 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
633 to not double-declare existing outputs and inputs, respectively.
634 (verilog-template-map): Bind U to verilog-sk-uvm-component.
635 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
636 (verilog-sk-uvm-component): New skeleton.
637 (verilog-submit-bug-report): Add verilog-case-fold,
638 remove verilog-mode-release-date.
639
ef566920
BR
6402013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
641
642 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
643 as before.
644
29df8a0b
RT
6452013-10-18 Reuben Thomas <rrt@sc3d.org>
646
647 * textmodes/remember.el (remember): set buffer-offer-save in
648 remember buffers (bug#13566).
649
04a19a79
DC
6502013-10-18 Daniel Colascione <dancol@dancol.org>
651
652 When evaluating forms in ielm, direct standard output to ielm
653 buffer. Add new ielm-return-for-effect command. Remove trailing
654 whitespace throughout.
655
656 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
657 (ielm-return-for-effect): New command.
658 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
659 (ielm-eval-input): Accept optional `for-effect' parameter.
660 Bind `standard-output' to stream we create using
04a19a79
DC
661 `ielm-standard-output-impl'. Suppress printing result when
662 `for-effect'.
663 (ielm-standard-output-impl): New function.
664 (inferior-emacs-lisp-mode): Explain new features in documentation.
665
4c1f03ef
MA
6662013-10-17 Michael Albinus <michael.albinus@gmx.de>
667
668 Code cleanup.
669
670 * net/tramp.el (tramp-debug-message): Do not check for connection
671 buffer.
672 (tramp-message): Use "vector" connection property.
673
674 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
675 (tramp-equal-remote, tramp-eshell-directory-change)
676 * net/tramp-adb.el (tramp-adb-handle-copy-file)
677 (tramp-adb-handle-rename-file)
678 * net/tramp-cmds.el (tramp-list-remote-buffers)
679 (tramp-cleanup-connection, tramp-cleanup-this-connection)
680 * net/tramp-compat.el (tramp-compat-process-running-p)
681 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
682 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
683 (tramp-gvfs-handle-rename-file)
684 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
685 (tramp-set-file-uid-gid)
686 * net/tramp-smb.el (tramp-smb-handle-copy-file)
687 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
688 of `file-remote-p'.
689
690 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
691 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
692 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
693 (tramp-gw-open-network-stream): Suppress unrelated traces.
694
695 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
696 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
698 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
699 connection property.
700
701 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 702 persistency file.
4c1f03ef
MA
703
704 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
705 Refactor common code. Improve debug message.
706 (tramp-maybe-open-connection)
707 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
708 connection buffer too early.
709
710 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
711 from `tramp-smb-actions-with-acl'.
712 (tramp-smb-actions-set-acl): New defconst.
713 (tramp-smb-handle-copy-directory)
714 (tramp-smb-action-get-acl): New defun, renamed from
715 `tramp-smb-action-with-acl'.
716 (tramp-smb-action-set-acl): New defun.
717 (tramp-smb-handle-set-file-acl): Rewrite.
718
642eb8b6
GM
7192013-10-17 Glenn Morris <rgm@gnu.org>
720
721 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
722
85527ff3
SM
7232013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
724
921c1d62
SM
725 * skeleton.el (skeleton-newline): Remove.
726 (skeleton-internal-1): Use (insert "\n") instead.
727
e333fb10
SM
728 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
729 let-bindings.
730
85527ff3
SM
731 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
732 forward-sexp-function while we redo its job (bug#15613).
733
c8722a97
JB
7342013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
735
736 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
737 represented by lists.
738
7a550bbb
GM
7392013-10-16 Glenn Morris <rgm@gnu.org>
740
741 * tmm.el (tmm--history): New dynamic variable.
742 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
743
f19da8ad
MA
7442013-10-16 Michael Albinus <michael.albinus@gmx.de>
745
746 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
747 (tramp-smb-errors): Add error messages.
748 (tramp-smb-actions-with-acl): New defconst.
749 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
750 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
751 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
752 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
753 (tramp-smb-get-stat-capability): Fix tests.
754
a24b9961
DK
7552013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
756
757 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
758 (bug#15580).
759
62ad85e6
GM
7602013-10-16 Glenn Morris <rgm@gnu.org>
761
0283d6b0
GM
762 * ansi-color.el (ansi-color-drop-regexp):
763 Add 1J, 1K, 2K. (Bug#15617)
764
012e2f9f
GM
765 * files.el (hack-local-variables--warned-lexical): New.
766 (hack-local-variables):
767 Warn about misplaced lexical-binding. (Bug#15616)
768
62ad85e6
GM
769 * net/eww.el (eww-render): Always set eww-current-url,
770 and update header line. (Bug#15622)
771 (eww-display-html): ... Rather than just doing it here.
772
6456c0ea
EZ
7732013-10-15 Eli Zaretskii <eliz@gnu.org>
774
775 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
776 menu navigations commands.
777
c2de5588
DK
7782013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
779
780 * progmodes/subword.el (subword-capitalize): Be careful when
781 the search for [[:alpha:]] fails (bug#15580).
782
ccd4a783
EZ
7832013-10-14 Eli Zaretskii <eliz@gnu.org>
784
785 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
786 to commands that scroll the menu.
787
1eda1d8d
DG
7882013-10-14 Dmitry Gutov <dgutov@yandex.ru>
789
c2de5588
DK
790 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
791 Handle methods ending with `?' and `!'.
1eda1d8d 792
e70181b8
AM
7932013-10-14 Akinori MUSHA <knu@iDaemons.org>
794
795 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
796 `japanese-cp932' to `cp932' to fix the problem where saving a
797 source file written in Shift_JIS twice would end up having
798 `coding: japanese-cp932' which Ruby could not recognize.
799 (ruby-mode-set-encoding): Add support for encodings mapped to nil
800 in `ruby-encoding-map'.
801 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
802 doesn't need to be explicitly declared in magic comment.
803 (ruby-encoding-map): Add type declaration for better customize UI.
804
9148ee92
GM
8052013-10-13 Glenn Morris <rgm@gnu.org>
806
a5d38e34
GM
807 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
808 Occur buffers are read-only. http://bugs.debian.org/720775
809
9148ee92
GM
810 * emacs-lisp/authors.el (authors-fixed-entries):
811 Comment out old alpha stuff.
812
a9ba094b
DG
8132013-10-13 Dmitry Gutov <dgutov@yandex.ru>
814
815 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
816 to `after-save-hook' instead of `before-save-hook'.
817 (ruby-mode-set-encoding): Use the value of coding system used to
818 write the file. Call `basic-save-buffer-1' after modifying the
819 buffer.
820
7a068717
AM
8212013-10-13 Alan Mackenzie <acm@muc.de>
822
823 Fix indentation/fontification of Java enum with
824 "implements"/generic.
825
c2de5588
DK
826 * progmodes/cc-engine.el (c-backward-over-enum-header):
827 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
828 (c-inside-bracelist-p): Uses new function above.
829 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
830 function above.
831 (c-font-lock-enum-tail): Uses new function above.
832
85b64f02
KH
8332013-10-13 Kenichi Handa <handa@gnu.org>
834
835 * international/mule-cmds.el (select-safe-coding-system): Remove a
836 superfluous condition in chekcing whether a coding system is safe
837 or not.
838
fc7f501b
OK
8392013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
840
841 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
842
fdcb2049
AP
8432013-10-13 Andreas Politz <politza@hochschule-trier.de>
844
845 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
846
8c106d17
GM
8472013-10-13 Glenn Morris <rgm@gnu.org>
848
feab892d
GM
849 * menu-bar.el (menu-bar-update-buffers):
850 Unify Buffers menu prompt string. (Bug#15576)
851
b22d0686
GM
852 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
853
8c106d17
GM
854 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
855 Add some entries.
856 (authors-fixed-entries): Use accented form of name.
857
1b12c797
SM
8582013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
859
650fa7bf 860 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 861 method calls (bug#15594).
650fa7bf
SM
862 (ruby-smie--args-separator-p): New function.
863 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
864 recognize paren-free method calls.
865
1b12c797
SM
866 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
867 internals of universal-argument.
868
029619c8
EZ
8692013-10-11 Eli Zaretskii <eliz@gnu.org>
870
871 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
872 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
873 dropped menu on second mouse click on the menu bar.
029619c8 874
dd070019
SM
8752013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
878 (explicit-shell-file-name): Declare.
879 (sh--vars-before-point, sh--cmd-completion-table): New functions.
880 (sh-completion-at-point-function): New function.
881 (sh-mode): Use it.
882 (sh-smie--keyword-p): Remove unused argument.
883 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
884 vars.
885 (sh-set-shell): Always setup SMIE, even if we use the
886 old indentation code.
887
0922b826
DG
8882013-10-11 Dmitry Gutov <dgutov@yandex.ru>
889
b68e2926
DG
890 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
891 cases of ? and =.
892 (ruby-smie-rules): Simplify the "do" rule. The cases when the
893 predicate would return nil are almost non-existent.
894 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
895
0922b826
DG
896 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
897 cache also after commands that modify the buffer but don't move
898 point.
899
ee041f2d
SM
9002013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * env.el (substitute-env-in-file-name): New function.
903 (substitute-env-vars): Extend the meaning of the optional arg.
904
a5dab159
EZ
9052013-10-10 Eli Zaretskii <eliz@gnu.org>
906
907 * term/w32-win.el (dynamic-library-alist): Define separate lists
908 of GIF DLLs for versions before and after 5.0.0 of giflib.
909 (Bug#15531)
910
db138698
JT
9112013-10-10 João Távora <joaotavora@gmail.com>
912
913 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
914 not locked, use last revision and current source as
915 defaults. (Bug#15569)
916
2f6e161e
MY
9172013-10-10 Masatake YAMATO <yamato@redhat.com>
918
919 * menu-bar.el (menu-bar-open): Don't use popup-menu if
920 menu-bar is hidden.
921
6c8413fc
MR
9222013-10-10 Martin Rudalics <rudalics@gmx.at>
923
924 * window.el (pop-to-buffer-same-window): Fix doc-string.
925 (Bug#15492)
926
20832de0
SM
9272013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
930
c6e8ae77
AC
9312013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
932
933 * calendar/icalendar.el (icalendar-import-file):
934 Fix interactive spec. (Bug#15482)
935
9db13baf
GM
9362013-10-10 Glenn Morris <rgm@gnu.org>
937
9271e90e
GM
938 * desktop.el (desktop-save): Default to saving in .emacs.d,
939 since PWD is no longer in desktop-path by default. (Bug#15319)
940
9db13baf
GM
941 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
942 now that text mode has a menu with the same entry.
943 (menu-bar-text-mode-auto-fill): Remove now unused func.
944 * textmodes/text-mode.el (text-mode-map):
945 Use auto-fill help text from menu-bar.el.
946
a0be396a 9472013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
948
949 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
950
2edcd3c7
JL
9512013-10-09 Juri Linkov <juri@jurta.org>
952
953 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
954 instead of this-command-keys. Add universal-argument-more and
955 universal-argument-minus to the list of prefix commands. (Bug#15568)
956
574411d0
GM
9572013-10-09 Glenn Morris <rgm@gnu.org>
958
14afa541
GM
959 * vc/vc-svn.el (vc-svn-create-repo):
960 Expand paths in file://... url. (Bug#15446)
961
574411d0
GM
962 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
963 Add some entries.
964 (authors): Remove unused local variables.
965
79804536
SM
9662013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * profiler.el: Create a more coherent calltree from partial backtraces.
969 (profiler-format): Hide the tail with `invisible' so that C-s can still
970 find the hidden elements.
971 (profiler-calltree-depth): Don't recurse so enthusiastically.
972 (profiler-function-equal): New hash-table-test.
973 (profiler-calltree-build-unified): New function.
974 (profiler-calltree-build): Use it.
975 (profiler-report-make-name-part): Indent the calltree less.
976 (profiler-report-mode): Add visibility specs for profiler-format.
977 (profiler-report-expand-entry, profiler-report-toggle-entry):
978 Expand the whole subtree when provided with a prefix arg.
979
238150c8
DG
9802013-10-09 Dmitry Gutov <dgutov@yandex.ru>
981
982 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
983 iuwu-mod token.
984 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
985 hanging iuwu-mod token.
986 (ruby-smie--forward-token): Do not include a dot after a token in
987 that token.
988 (ruby-smie--backward-token): Likewise.
989
b0949cc4
JL
9902013-10-08 Juri Linkov <juri@jurta.org>
991
992 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
993 to isearch-other-control-char.
994 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
995 and isearch-post-command-hook to post-command-hook.
996 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
997 and isearch-post-command-hook from post-command-hook.
998 (isearch-unread-key-sequence)
999 (isearch-reread-key-sequence-naturally)
1000 (isearch-lookup-scroll-key, isearch-other-control-char)
1001 (isearch-other-meta-char): Remove functions.
1002 (isearch-pre-command-hook, isearch-post-command-hook):
1003 New functions based on isearch-other-meta-char rewritten
1004 relying on the new behavior of overriding-terminal-local-map
1005 that does not replace the local keymaps any more. (Bug#15200)
1006
4ed77415
EZ
10072013-10-08 Eli Zaretskii <eliz@gnu.org>
1008
1009 Support menus on text-mode terminals.
1010 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1011 functionality.
1012
1013 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1014
c2de5588
DK
1015 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1016 Move here from mouse.el.
4ed77415
EZ
1017 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1018 and arrow keys.
1019 (tty-menu-navigation-map): New map for TTY menu navigation.
1020
1021 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1022
1023 * frame.el (display-mouse-p): Report text-mode mouse as available
1024 on w32.
1025 (display-popup-menus-p): Report availability if mouse is
1026 available; don't condition on window-system.
1027
1028 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1029 (tty-menu-selected-face): New faces.
1030
b7d5bd82
TL
10312013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1032
06286513
SM
1033 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1034 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1035 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1036 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1037 New constants.
1038 (lisp-mode-variables): New `elisp' argument.
1039 (emacs-lisp-mode): Use it.
1040 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1041 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1042
b7d5bd82
TL
1043 * indent.el: Use lexical-binding.
1044 (indent-region): Add progress reporter.
1045 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1046 last step.
1047 (indent--next-tab-stop): New function to implement this behavior.
1048 (tab-to-tab-stop, move-to-tab-stop): Use it.
1049
10502013-10-08 Teemu Likonen <tlikonen@iki.fi>
1051
1052 * indent.el (indent-rigidly--current-indentation): New function.
1053 (indent-rigidly-map): New var.
1054 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1055
5ea75d23
BG
10562013-10-08 Bastien Guerry <bzg@gnu.org>
1057
1058 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1059
cc5da1ec
SM
10602013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1061
8ffa1a0b
SM
1062 * progmodes/perl-mode.el: Use lexical-binding.
1063 Remove redundant :group args.
1064 (perl-nochange): Change default to be closer to other major modes's
1065 standard behavior.
1066 (perl-indent-line): Don't consider text on current line as a
1067 valid beginning of function from which to indent.
1068
f2223371
SM
1069 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1070 with more than one argument (bug#15538).
1071
44256060
SM
1072 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1073
cc5da1ec
SM
1074 * vc/pcvs.el: Use lexical-binding.
1075 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1076 environment of `eval'.
1077 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1078 than a list of expressions. Adjust callers.
1079 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1080
0ea1599d
DG
10812013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1082
1083 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1084 case of the dot in a chained method call being on the following line.
0ea1599d 1085
da3e5ebb
SM
10862013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1087
2abb4e65
SM
1088 * electric.el (electric-indent-inhibit): New var.
1089 (electric-indent-post-self-insert-function): Use it.
1090 * progmodes/python.el (python-mode): Set it.
1091
d2e0e795
SM
1092 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1093 open braces.
1094
1095 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1096
bdc6b4c8
SM
1097 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1098 (css-mode): Use electric-indent-chars.
1099
da3e5ebb
SM
1100 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1101 (font-lock-beg, font-lock-end): Move before first use.
1102 (nxml-mode): Use syntax-propertize-function.
1103 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1104 (nxml-extend-after-change-region): Remove.
1105 * nxml/xmltok.el: Use lexical-binding.
1106 (xmltok-save): Use `declare'.
1107 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1108 * nxml/nxml-util.el: Use lexical-binding.
1109 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1110 Use `declare'.
1111 * nxml/nxml-ns.el: Use lexical-binding.
1112 (nxml-ns-save): Use `declare'.
1113 (nxml-ns-prefixes-for): Avoid add-to-list.
1114 * nxml/rng-match.el: Use lexical-binding.
1115 (rng--ipattern): Use cl-defstruct.
1116 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1117 (rng-cons-group-after, rng-subst-group-after)
1118 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1119 Use closures instead of `(lambda...).
1120
f8f91d5d
MA
11212013-10-07 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1124 of BEG and END.
1125
da3e5ebb
SM
1126 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1127 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1128 (tramp-gvfs-handle-insert-file-contents): Remove function.
1129
da3e5ebb
SM
1130 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1131 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1132
1133 * net/trampver.el: Update release number.
1134
7ccae3b1
SM
11352013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1136
55ca2c0d
SM
1137 * progmodes/compile.el (compilation-parse-errors):
1138 Use compilation--put-prop.
1139 (compilation--ensure-parse): Check compilation-multiline.
1140
731fc3ae
SM
1141 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1142
da3e5ebb
SM
1143 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1144 lexical-binding.
a5833280 1145
2e7ba2c2
SM
1146 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1147
7ccae3b1
SM
1148 * progmodes/ruby-mode.el: Fix recently added tests.
1149 (ruby-smie-grammar): Add - and +.
1150 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1151 (ruby-smie--backward-id): New functions.
1152 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1153 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1154 any more.
1155
85698d63
LL
11562013-10-07 Leo Liu <sdl.web@gmail.com>
1157
1158 * register.el (register-preview-delay)
1159 (register-preview-functions): New variables.
1160 (register-read-with-preview, register-preview)
1161 (register-describe-oneline): New functions.
1162 (point-to-register, window-configuration-to-register)
1163 (frame-configuration-to-register, jump-to-register)
1164 (number-to-register, view-register, insert-register)
1165 (copy-to-register, append-to-register, prepend-to-register)
1166 (copy-rectangle-to-register): Use register-read-with-preview to
1167 read register. (Bug#15525)
1168
3986af6c
DS
11692013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1170
1171 * net/network-stream.el (network-stream-open-starttls): Don't add
1172 --insecure if it's already present, because that gnutls-cli
1173 rejects getting that parameter twice.
1174
5cd9cda9
DG
11752013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1176
1177 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1178 keyword, too.
1179
da9ea6d9
DG
11802013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1181
1182 * newcomment.el (comment-use-global-state): Change default value
1183 to t, mark obsolete (Bug#15251).
1184 (comment-beginning): In addition to `comment-to-syntax', check the
1185 value of `comment-use-global-state'.
1186
34d1a133
SM
11872013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1190 (ruby-comment-column): Follow the global default, by default.
1191 (ruby-smie-grammar): Add assignment syntax.
1192 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1193 open-paren, a comma, or a \.
1194 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1195 and line continuations.
1196 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1197 followed by implicit semi-colons. Add rule for string concatenation
1198 and for indentation at BOB.
1199 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1200
1201 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1202 calling next-sexp, since next-token may have skipped chars which
1203 next-sexp doesn't know should be skipped!
1204
6f6ab820
LL
12052013-10-05 Leo Liu <sdl.web@gmail.com>
1206
34d1a133
SM
1207 * progmodes/octave.el (octave-send-region):
1208 Call compilation-forget-errors.
6f6ab820 1209
34ca0f4c
XF
12102013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1211
1212 * vc/vc-svn.el (vc-svn-find-admin-dir):
1213 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1214 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1215 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1216 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1217
a27c1b72
SM
12182013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1221
258ab3bc
SM
12222013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * subr.el (read-passwd): Hide chars even when called within a context
1225 where after-change-functions is disabled (bug#15501).
1226 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1227 until we removed ourself from overriding-terminal-local-map.
1228
939fb29c
LL
12292013-10-04 Leo Liu <sdl.web@gmail.com>
1230
258ab3bc
SM
1231 * progmodes/octave.el (inferior-octave-mode):
1232 Call compilation-forget-errors.
939fb29c 1233
63bd7f35
XF
12342013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1235
1236 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1237
9e6229fa
MA
12382013-10-04 Michael Albinus <michael.albinus@gmx.de>
1239
1240 * net/secrets.el (secrets-create-collection): Add optional
1241 argument ALIAS. Use proper Label keyword. Append ALIAS as
1242 dbus-call-method argument. (Bug#15516)
1243
1dab32a3
LL
12442013-10-04 Leo Liu <sdl.web@gmail.com>
1245
1246 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1247 (inferior-octave-compilation-font-lock-keywords): New variables.
1248 (compilation-error-regexp-alist)
1249 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1250 (inferior-octave-mode): Use compilation-shell-minor-mode.
1251
6cad7ba3
JS
12522013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1253
1254 * minibuffer.el (completion--replace): Be careful that `end' might be
1255 a marker.
1256
acbadd00
DU
12572013-10-03 Daiki Ueno <ueno@gnu.org>
1258
1259 Add support for package signature checking.
1260 * emacs-lisp/package.el (url-http-file-exists-p)
1261 (epg-make-context, epg-context-set-home-directory)
1262 (epg-verify-string, epg-context-result-for)
1263 (epg-signature-status, epg-signature-to-string)
1264 (epg-check-configuration, epg-configuration)
1265 (epg-import-keys-from-file): Declare.
1266 (package-check-signature): New user option.
1267 (package-unsigned-archives): New user option.
1268 (package-desc): Add `signed' field.
1269 (package-load-descriptor): Set `signed' field if .signed file exists.
1270 (package--archive-file-exists-p): New function.
1271 (package--check-signature): New function.
1272 (package-install-from-archive): Check package signature.
1273 (package--download-one-archive): Check archive signature.
1274 (package-delete): Remove .signed file.
1275 (package-import-keyring): New command.
1276 (package-refresh-contents): Import default keyring.
1277 (package-desc-status): Add "unsigned" status.
1278 (describe-package-1, package-menu--print-info)
1279 (package-menu-mark-delete, package-menu--find-upgrades)
1280 (package-menu--status-predicate): Support "unsigned" status.
1281
adf2aa61
SM
12822013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1285 the new compilation scheme using the new byte-codes.
1286
1287 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1288 (byte-pophandler): New byte codes.
1289 (byte-goto-ops): Adjust accordingly.
1290 (byte-compile--use-old-handlers): New var.
1291 (byte-compile-catch): Use new byte codes depending on
1292 byte-compile--use-old-handlers.
1293 (byte-compile-condition-case--old): Rename from
1294 byte-compile-condition-case.
1295 (byte-compile-condition-case--new): New function.
1296 (byte-compile-condition-case): New function that dispatches depending
1297 on byte-compile--use-old-handlers.
1298 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1299 when we can.
1300
1301 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1302 Optimize under `condition-case' and `catch' if
1303 byte-compile--use-old-handlers is nil.
1304 (disassemble-offset): Handle new bytecodes.
1305
328a8179
SM
13062013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * subr.el (error): Use `declare'.
1309 (decode-char, encode-char): Use advertised-calling-convention instead
1310 of the docstring to discourage use of the `restriction' arg.
1311
15a1e936
DU
13122013-10-03 Daiki Ueno <ueno@gnu.org>
1313
1314 * epg.el (epg-verify-file): Add a comment saying that it does not
1315 notify verification error as a return value nor a signal.
1316 (epg-verify-string): Ditto.
1317
376f862a
KR
13182013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1319
1320 * progmodes/compile.el (compilation-start): Try globbing the arg to
1321 `cd' (bug#15417).
1322
a2f93a5f
MA
13232013-10-02 Michael Albinus <michael.albinus@gmx.de>
1324
1325 Sync with Tramp 2.2.8.
1326
1327 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1328 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1329 * net/trampver.el: Update release number.
1330
0daa0804
JD
13312013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1332
1333 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1334 and default-process-coding-system for darwin only.
1335
abd1ae34
SM
13362013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1339
be4e325d
MH
13402013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1341
1342 * vc/vc-git.el (vc-git-grep): Disable pager.
1343
e9155c4a
DG
13442013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1345
494e898b
DG
1346 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1347 Use :url instead of :homepage, as per
1348 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1349
e9155c4a
DG
1350 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1351 non-nil, use `syntax-ppss' (Bug#15251).
1352
481a8e0f
RS
13532013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1354
be4e325d
MH
1355 * progmodes/octave.el (inferior-octave-startup-file):
1356 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1357
056453c6
DG
13582013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1359
be4e325d
MH
1360 * emacs-lisp/package.el (package-desc-from-define):
1361 Accept additional arguments as plist, convert them to an alist and store
1362 them in the `extras' slot.
056453c6
DG
1363 (package-generate-description-file): Convert extras alist back to
1364 plist and append to the `define-package' form arguments.
1365 (package--alist-to-plist): New function.
1366 (package--ac-desc): Add `extras' slot.
1367 (package--add-to-archive-contents): Check if the archive-contents
1368 vector is long enough, and if it is, pass its `extras' slot value
1369 to `package-desc-create'.
1370 (package-buffer-info): Call `lm-homepage', pass the returned value
1371 to `package-desc-from-define'.
1372 (describe-package-1): Render the homepage button (Bug#13291).
1373
be4e325d
MH
1374 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1375 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1376
832966e5
JD
13772013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1378
1379 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1380 and default-process-coding-system to utf-8-unix (Bug#15402).
1381
6cfe977d
XF
13822013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1383
1384 * subr.el (looking-back): Do not recommend using looking-back.
1385
38de11bd
AM
13862013-09-28 Alan Mackenzie <acm@muc.de>
1387
1388 Fix indentation/fontification of Java enum with "implements".
1389
1390 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1391 regexp which matches "implements", etc., in Java.
1392 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1393 specifier clauses coming after "enum".
1394 * progmodes/cc-fonts.el (c-font-lock-declarations)
1395 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1396 after "enum".
1397
1610938f
JD
13982013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1399
1400 * faces.el (region): Change ns_selection_color to
1401 ns_selection_fg_color, add ns_selection_bg_color.
1402
e090f499
LL
14032013-09-28 Leo Liu <sdl.web@gmail.com>
1404
4d2e94d1
LL
1405 * progmodes/octave.el (inferior-octave-completion-table)
1406 (inferior-octave-completion-at-point): Minor tweaks.
1407
e090f499
LL
1408 * textmodes/ispell.el (ispell-lookup-words): Rename from
1409 lookup-words. (Bug#15460)
1410 (lookup-words): Obsolete.
1411 (ispell-complete-word, ispell-command-loop): All uses changed.
1412
7e138a62
RS
14132013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1414
1415 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1416 (octave-mode-menu): Add octave-send-buffer.
1417 (octave-send-buffer): New function.
1418
5af5ed08
RS
14192013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1420
1421 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1422 octave-lookfor.
1423 (octave-mode-menu): Add octave-lookfor.
1424 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1425 octave-lookfor.
1426 (octave-lookfor): New function.
1427
3b7b2692
SM
14282013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * emacs-lisp/cl-macs.el:
1431 (cl--loop-destr-temps): Remove.
1432 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1433 its convention.
1434 (cl--loop-set-iterator-function): New function.
1435 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1436 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1437 Bind `it' with `let' instead of substituting it with `cl-subst'.
1438 (cl--unused-var-p): New function.
1439 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1440 Eliminate some unused variable warnings (bug#15326).
1441
529fb53f
TH
14422013-09-27 Tassilo Horn <tsdh@gnu.org>
1443
1444 * doc-view.el (doc-view-scale-reset): Rename from
1445 `doc-view-reset-zoom-level'.
1446 (doc-view-scale-adjust): New command.
1447 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1448 `doc-view-scale-adjust'.
1449
0550c95a
TH
14502013-09-26 Tassilo Horn <tsdh@gnu.org>
1451
1452 * doc-view.el (doc-view-reset-zoom-level): New command.
1453 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1454 zoom commands (bug#15466).
1455
6950f152
KH
14562013-09-26 Kenichi Handa <handa@gnu.org>
1457
1458 * international/quail.el (quail-help): Make it not a command.
1459
39587580
LL
14602013-09-26 Leo Liu <sdl.web@gmail.com>
1461
1462 * minibuffer.el (completion-all-sorted-completions): Make args
1463 optional as they are.
1464
00578659
DC
14652013-09-25 Daniel Colascione <dancol@dancol.org>
1466
1467 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1468 specs are and that they're not evaluated.
1469
0c173878
SS
14702013-09-24 Sam Steingold <sds@gnu.org>
1471
1472 * midnight.el (clean-buffer-list-kill-regexps)
1473 (clean-buffer-list-kill-buffer-names): Update for the new Man
1474 buffer naming which includes the object name.
1475
84998447
SM
14762013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1479 (eshell-parse-command, eshell-parse-pipeline): Use it since
1480 eshell-separate-commands requires a dynamic scoped var.
1481 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1482
33215353
LL
14832013-09-23 Leo Liu <sdl.web@gmail.com>
1484
1485 * autoinsert.el (auto-insert-alist): Make the value of
1486 lexical-binding match its file setting.
1487
57b16162
JB
14882013-09-23 Juanma Barranquero <lekktu@gmail.com>
1489
c8af4e67
JB
1490 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1491
57b16162
JB
1492 * autoarg.el (autoarg-kp-digit-argument):
1493 * electric.el (Electric-command-loop):
1494 * kmacro.el (kmacro-step-edit-insert):
1495 Do not set universal-argument-num-events.
1496
7186ba60
LL
14972013-09-22 Leo Liu <sdl.web@gmail.com>
1498
1499 * files.el (interpreter-mode-alist): Add octave.
1500
ece15004
AM
15012013-09-21 Alan Mackenzie <acm@muc.de>
1502
1503 C++: fontify identifier in declaration following "public:" correctly.
1504 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1505 to match "public", etc.
1506 (c-decl-prefix-re): Add ":" into the C++ value.
1507 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1508 bit. Add a check for a ":" preceded by "public", etc.
1509
75d83e22
EZ
15102013-09-21 Eli Zaretskii <eliz@gnu.org>
1511
1512 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1513 recognized by GDB 7.5 and later.
1514
d052d3bd
XF
15152013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1516
1517 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1518
31dca772
R
15192013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * subr.el (internal--call-interactively): New const.
1522 (called-interactively-p): Use it (bug#3984).
1523
98ccf24e
XF
15242013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1525
1526 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1527 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1528 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1529
c39cc7d1
SM
15302013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1533 (eshell-ls-orig-insert-directory): Remove.
1534 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1535 (eshell-ls-use-in-dired): Use advice-add/remove.
1536 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1537 Add `orig-fun' arg for use in :around advice.
1538 Make it check (redundantly) eshell-ls-use-in-dired.
1539
9a0289a2
GM
15402013-09-19 Glenn Morris <rgm@gnu.org>
1541
a2c501b8
GM
1542 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1543
c440407a
GM
1544 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1545
9a0289a2
GM
1546 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1547
85e05915
MA
15482013-09-19 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1551 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1552 (tramp-get-remote-python): New defuns.
1553 (tramp-get-remote-uid-with-perl)
1554 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1555 contributed by yary <not.com@gmail.com> (tiny change).
1556 (tramp-get-remote-uid-with-python)
1557 (tramp-get-remote-gid-with-python): New defuns. Python code
1558 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1559 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1560
ce503312
GM
15612013-09-19 Glenn Morris <rgm@gnu.org>
1562
f7544773
GM
1563 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1564
72fd2877
GM
1565 * eshell/em-unix.el (eshell-remove-entries):
1566 Rename argument to avoid name-clash with global `top-level'.
1567
336b5a56
GM
1568 * eshell/esh-proc.el (eshell-kill-process-function):
1569 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1570 (eshell-reset-after-proc): Remove unused arg `proc'.
1571
57a3a53d
GM
1572 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1573 (directory-files-and-attributes): Mark unused arg.
1574
3261d4af
GM
1575 * eshell/em-unix.el (eshell-remove-entries):
1576 Remove unused arg `path'. Update callers.
1577
8e51b5d0
GM
1578 * eshell/em-hist.el (eshell-hist-parse-arguments):
1579 Remove unused arg `silent'. Update callers.
1580
ce503312
GM
1581 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1582 Fix (f)boundp mix-up.
1583
1584 * eshell/em-smart.el (eshell-smart-scroll-window)
1585 (eshell-disable-after-change):
336b5a56 1586 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1587
ee3ce8a7
AM
15882013-09-18 Alan Mackenzie <acm@muc.de>
1589
1590 Fix fontification of type when followed by "const".
1591 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1592 "known" types from fontification.
1593
ec9177ba
GM
15942013-09-18 Glenn Morris <rgm@gnu.org>
1595
7bb3e768
GM
1596 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1597 (chart-face-list): Drop Emacsen without display-color-p.
1598
5148da15
GM
1599 * net/eww.el (libxml-parse-html-region): Declare.
1600 (eww-display-html): Explicit error if no libxml2 support.
1601
2f68e157
GM
1602 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1603
9019d095
GM
1604 * image.el (image-type-from-buffer, image-multi-frame-p):
1605 Remove --without-x warning/error.
67645389 1606
5f30349b 1607 * mouse.el (mouse-yank-primary):
45069b2e 1608 * term.el (term-mouse-paste):
5f30349b
GM
1609 Reorder to silence --without-x compilation.
1610
cd8edbbe
GM
1611 * mpc.el (doc-view-mode): Silence --without-x compilation.
1612
8a78544e
GM
1613 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1614 Silence --without-x compilation.
1615
12679bfd
GM
1616 * progmodes/gud.el (gud-find-file, gud-mode):
1617 Silence --without-x compilation.
1618 (tooltip-mode): Declare.
30810a05 1619
f0047cb9
GM
1620 * wdired.el (dired-backup-overwrite): Remove declaration.
1621 (wdired-mode-map): Add doc string.
1622
e740f9d2
GM
1623 * custom.el (x-get-resource): Declare.
1624
92d77c89
GM
1625 * eshell/em-glob.el (ange-cache):
1626 * eshell/em-unix.el (ange-cache): Declare.
1627
76e69577
GM
1628 * faces.el (x-display-list, x-open-connection, x-get-resource):
1629 Declare.
7e58af4b
GM
1630
1631 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1632 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1633 Declare.
76e69577 1634
4bd4c0af 1635 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1636
ffb82dbd
GM
1637 * net/gnutls.el (gnutls-log-level): Declare.
1638
986ed135
GM
1639 * net/shr.el (image-size, image-animate): Declare.
1640
e740f9d2
GM
1641 * simple.el (font-info): Declare.
1642
d2f3e9f8
GM
1643 * subr.el (x-popup-dialog): Declare.
1644
047a1a4c
GM
1645 * term/common-win.el (x-select-enable-primary)
1646 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1647 Declare.
1648
f4a1d572
GM
1649 * term/ns-win.el (x-handle-args): Declare.
1650
e843de77
GM
1651 * term/x-win.el (x-select-enable-clipboard): Declare.
1652
5fa89513
GM
1653 * term/w32-win.el (create-default-fontset): Declare.
1654
38702b5b
GM
1655 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1656 Declare.
1657
e740f9d2
GM
1658 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1659 (fit-frame-to-buffer): Explicit error if --without-x.
1660 (mouse-autoselect-window-select): Silence compiler.
1661
49a053fc
GM
1662 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1663
1664 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1665 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1666 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1667 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1668 Remove unused local variables.
1669
1670 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1671
ec9177ba
GM
1672 * textmodes/two-column.el: Make 2C-split work for --without-x.
1673 (scroll-bar-columns): Autoload.
1674 (top-level): Require fringe when compiling.
1675
9f25cb77
LL
16762013-09-18 Leo Liu <sdl.web@gmail.com>
1677
1678 * subr.el (add-hook): Robustify to handle closure as well.
1679
2b42da98
GM
16802013-09-17 Glenn Morris <rgm@gnu.org>
1681
1682 * simple.el (messages-buffer-mode-map): Unbind "g".
1683
e8b66a6a
SM
16842013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1685
9c0ad4f7
SM
1686 * help-mode.el (help-mode-finish): Use derived-mode-p.
1687 Remove obsolete highlighting.
1688
7a806dfb
SM
1689 * play/life.el (life-mode): Use define-derived-mode. Derive from
1690 special-mode.
1691 (life): Let-bind inhibit-read-only.
1692 (life-setup): Avoid `setq'. Use `life-mode'.
1693
96dbf5a8
SM
1694 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1695 which should not be needed any more.
1696 (package-menu-refresh, package-menu-describe-package): Use user-error.
1697
e8b66a6a
SM
1698 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1699 (eshell-post-rewrite-command-hook): Make obsolete.
1700 (eshell-parse-command): Simplify.
1701 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1702 (eshell--cmd): Declare.
1703 (eshell-parse-pipeline): Remove unused var `final-p'.
1704 Pass a dynvar to eshell-post-rewrite-command-hook.
1705 Implement the new eshell-post-rewrite-command-function.
1706 (eshell-invoke-directly): Remove unused arg `input'.
1707 * eshell/esh-io.el (eshell-io-initialize):
1708 Use eshell-post-rewrite-command-function (bug#15399).
1709 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1710 adjust to new calling convention.
1711 (eshell-create-handles): Rename args to avoid clashing with dynvar
1712 `standard-output'.
1713
90582f05
GM
17142013-09-17 Glenn Morris <rgm@gnu.org>
1715
1716 * simple.el (messages-buffer-mode): New major mode.
1717 (messages-buffer): New function.
1718 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1719 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1720 (ert-run-test): Use `messages-buffer' function.
90582f05 1721 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1722 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1723 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1724
39eb0cb5 17252013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1726
1727 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1728
1f1e06e2
SM
1729 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1730
70568a90
SM
17312013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1732
504a0381
SM
1733 * icomplete.el (icomplete-in-buffer): New var.
1734 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1735 vars and replace them with functions.
1736 (icomplete-minibuffer-setup): Adjust accordingly.
1737 (icomplete--completion-table, icomplete--completion-predicate)
1738 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1739 New functions.
1740 (icomplete-forward-completions, icomplete-backward-completions)
1741 (icomplete-simple-completing-p, icomplete-exhibit)
1742 (icomplete-completions): Use them.
1743 (icomplete--in-region-buffer): New var.
1744 (icomplete--in-region-setup): New function.
1745 (icomplete-mode): Use it.
1746
70568a90
SM
1747 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1748 (bug#15379).
1749 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1750 return args and options.
1751 (eshell-eval-using-options): Use the new return value of
1752 eshell--do-opts to set the options's vars in their scope.
1753 (eshell--set-option): Rename from eshell-set-option.
1754 Add arg `opt-vals'.
1755 (eshell--process-option): Rename from eshell-process-option.
1756 Add arg `opt-vals'.
1757 (eshell--process-args): Use an `opt-vals' alist to store the options's
1758 values during their processing and return them additionally to the
1759 remaining args.
1760
578c21bc
DG
17612013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1762
1763 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1764 continuation character an operator, as far as indentation is
1765 concerned (Bug#15369).
1766
c089653d
MR
17672013-09-15 Martin Rudalics <rudalics@gmx.at>
1768
1769 * window.el (window--state-put-2): Don't process buffer state
1770 when buffer doesn't exist any more (Bug#15382).
1771
1e53bb4b
GM
17722013-09-15 Glenn Morris <rgm@gnu.org>
1773
30753242
GM
1774 * eshell/em-unix.el (eshell/rm):
1775 Make -f ignore missing files. (Bug#15373)
1776
1e53bb4b
GM
1777 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1778 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1779 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1780
0d8863b3
GM
17812013-09-14 Glenn Morris <rgm@gnu.org>
1782
1783 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1784
d3fc6549
GM
17852013-09-13 Glenn Morris <rgm@gnu.org>
1786
1787 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1788 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1789
fcd42c11
DA
17902013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1791
1792 * frame.el (x-focus-frame): Mark as declared in frame.c.
1793
7830899f
SM
17942013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * ls-lisp.el: Use advice-add.
1797 (original-insert-directory): Remove.
1798 (ls-lisp--insert-directory): Rename from insert-directory; add
1799 `orig-fun' argument.
1800 (insert-directory): Advise.
1801
84387cd2
EZ
18022013-09-13 Eli Zaretskii <eliz@gnu.org>
1803
1804 * term.el (term-emulate-terminal): Decode the command string
1805 before passing it to term-command-hook. (Bug#15337)
1806
35ffc6ba
GM
18072013-09-13 Glenn Morris <rgm@gnu.org>
1808
5c3f9bcc
GM
1809 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1810
2ada368a
GM
1811 * eshell/esh-ext.el (eshell-search-path): Declare.
1812
fcef2e13
GM
1813 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1814 Otherwise an error occurs if eshell-dirs module not loaded.
1815
35ffc6ba
GM
1816 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1817
35c3d36e
MA
18182013-09-13 Michael Albinus <michael.albinus@gmx.de>
1819
1820 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1821 `tramp-check-proper-host'. Check for a valid method name.
1822
1823 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1824 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1825 * net/tramp-sh.el (tramp-maybe-open-connection):
1826 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1827
1828 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1829 also for hash values.
1830
ae5e4c48
SM
18312013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1832
379add74
SM
1833 * term/ns-win.el (parameters): Don't declare as dynamic.
1834 (before-make-frame-hook): Don't add ineffective function.
1835
ae5e4c48
SM
1836 * eshell/*.el: Use lexical-binding (bug#15231).
1837
b5623270
KH
18382013-09-12 Kenichi Handa <handa@gnu.org>
1839
ae5e4c48 1840 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1841
30213927
GM
18422013-09-12 Glenn Morris <rgm@gnu.org>
1843
be94d713 1844 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1845 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1846
44915370
GM
1847 * subr.el (do-after-load-evaluation): Also give compiler warnings
1848 when obsolete files are used (except by obsolete files).
1849
a6ae021f
GM
1850 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1851 in the status output, assume `filename' is the first. (Bug#15322)
1852
40e64f0c
GM
1853 * vc/vc.el (vc-deduce-fileset): Doc fix.
1854
16d9f896
GM
1855 * calc/calc-help.el (Info-goto-node):
1856 * progmodes/cperl-mode.el (Info-find-node):
1857 * vc/ediff.el (Info-goto-node): Update declarations.
1858
dea01c6e
GM
1859 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1860
759880bf 1861 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1862 (vc-bzr-pull): Require vc-dispatcher.
1863 * vc/vc-git.el (vc-compilation-mode): Declare.
1864 (vc-git-pull): Require vc-dispatcher.
1865
08d66420
GM
1866 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1867
30b626e9
GM
1868 * progmodes/octave.el (help-button-action): Declare.
1869
8c05cb10
GM
1870 * shell.el (shell-directory-tracker): Output error as a message
1871 rather than just returning it as a string.
1872 (shell-process-pushd): Remove useless use of message.
1873
30213927
GM
1874 * dframe.el (dframe-timer-fn):
1875 * files.el (dir-locals-read-from-file):
1876 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1877 (mpc-format):
1878 * reveal.el (reveal-post-command):
1879 * saveplace.el (load-save-place-alist-from-file):
1880 * shell.el (shell-resync-dirs):
1881 * w32-common-fns.el (x-get-selection-value):
1882 * emacs-lisp/copyright.el (copyright-find-copyright):
1883 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1884 * emulation/tpu-edt.el (tpu-copy-keyfile):
1885 * play/bubbles.el (bubbles--mark-neighbourhood):
1886 * progmodes/executable.el
1887 (executable-make-buffer-file-executable-if-script-p):
1888 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1889
d3b049e6
SM
18902013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1891
170266d0
SM
1892 Cleanup Eshell to rely less on dynamic scoping.
1893 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1894 last-value, and ext-command here. Bind `args' closer to `body'.
1895 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1896 (eshell--args): Declare new dynamic var.
1897 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1898 last-value, and ext-command. Pass `args' to `body'.
1899 (eshell-process-args): Bind eshell--args.
1900 (eshell-set-option): Use eshell--args.
1901 * eshell/eshell.el (eshell): Use derived-mode-p.
1902 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1903 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1904 (eshell-glob-function): Declare.
1905 * eshell/esh-util.el: Require cl-lib.
1906 (eshell-read-hosts-file): Avoid add-to-list.
1907 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1908 `err'.
1909 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1910 Declare.
1911 (eshell/diff): Remove unused var `err'.
1912 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1913 `killflag'.
1914 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1915 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1916 first use.
1917 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1918 Move declaration before first use.
1919 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1920 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1921 rely on cl-return.
1922
56834f3b
GM
19232013-09-12 Glenn Morris <rgm@gnu.org>
1924
1925 * term/ns-win.el (global-map): Remove binding for ispell-next,
1926 deleted 1999-05-29. (Bug#15357)
1927
5c91a2b8
GM
19282013-09-11 Glenn Morris <rgm@gnu.org>
1929
da712f22
GM
1930 * echistory.el (electric-command-history): Remove call to deleted func.
1931
512e4cdc
GM
1932 * play/landmark.el (landmark-mode): Fix typos.
1933
d3506ca5
GM
1934 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1935 Check cvs-sort-ignore-file is bound.
1936
5c91a2b8
GM
1937 * savehist.el: No need for cl when compiling on Emacs.
1938
feeff482
SM
19392013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1940
656bd483
SM
1941 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1942 (bug#15338).
d3b049e6
SM
1943 (eshell-self-insert-command, eshell-send-invisible):
1944 Remove unused argument.
656bd483
SM
1945 (eshell-handle-control-codes): Remove unused var `orig'.
1946 Avoid delete-backward-char.
1947
feeff482
SM
1948 * files.el (set-auto-mode): Simplify a bit further.
1949
2a08047a
GM
19502013-09-11 Glenn Morris <rgm@gnu.org>
1951
1952 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1953 (set-auto-mode): Don't regexp-quote elements.
1954 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1955 * progmodes/cc-mode.el (interpreter-mode-alist):
1956 * progmodes/ruby-mode.el (interpreter-mode-alist):
1957 Revert previous change.
1958
34675540
SM
19592013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1b3b87df
SM
1961 * play/snake.el (snake-mode):
1962 * play/mpuz.el (mpuz-mode):
1963 * play/landmark.el (lm-mode):
1964 * play/blackbox.el (blackbox-mode):
1965 * play/5x5.el (5x5-mode):
1966 * obsolete/options.el (Edit-options-mode):
1967 * net/quickurl.el (quickurl-list-mode):
1968 * net/newst-treeview.el (newsticker-treeview-mode):
1969 * mail/rmailsum.el (rmail-summary-mode):
1970 * mail/mspools.el (mspools-mode):
1971 * locate.el (locate-mode):
1972 * ibuffer.el (ibuffer-mode):
1973 * emulation/ws-mode.el (wordstar-mode):
1974 * emacs-lisp/debug.el (debugger-mode):
1975 * array.el (array-mode):
1976 * net/eudc.el (eudc-mode): Use define-derived-mode.
1977 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1978 Move initialization into declaration.
1979 (mairix-searches-mode): Use define-derived-mode.
1980 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1981 (eudc-edit-hotlist): Use dolist.
1982 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1983 (Man-mode): Use define-derived-mode.
1984 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1985 (Info-edit-mode): Use define-derived-mode.
1986 (Info-cease-edit): Use Info-mode.
1987 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1988 into declaration.
1989 (eshell-mode): Use define-derived-mode.
1990 * chistory.el (command-history-mode-map): Rename from
1991 command-history-map.
1992 (command-history-mode): Use define-derived-mode.
da712f22 1993 (Command-history-setup): Remove function.
1b3b87df
SM
1994 * calc/calc.el (calc-trail-mode-map): New var.
1995 (calc-trail-mode): Use define-derived-mode.
1996 (calc-trail-buffer): Set calc-main-buffer manually.
1997 * bookmark.el (bookmark-insert-annotation): New function.
1998 (bookmark-edit-annotation): Use it.
1999 (bookmark-edit-annotation-mode): Make it a proper major mode.
2000 (bookmark-send-edited-annotation): Use derived-mode-p.
2001 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2002 closer to its ideal place. Use \' to match EOS.
2003
34675540
SM
2004 * profiler.el (profiler-calltree-find): Use function-equal.
2005
6a5c15d9
GM
20062013-09-10 Glenn Morris <rgm@gnu.org>
2007
1af4c220
GM
2008 * files.el (interpreter-mode-alist): Convert to regexps.
2009 (set-auto-mode): Adapt for this. (Bug#15306)
2010 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2011 Comment out unused variable.
2012 * progmodes/cc-mode.el (interpreter-mode-alist):
2013 * progmodes/python.el (interpreter-mode-alist):
2014 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2015 * progmodes/sh-script.el (sh-set-shell):
2016 No longer use interpreter-mode-alist to get list of shells.
2017
6a5c15d9
GM
2018 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2019
8c27f5ff
SM
20202013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2021
02ef6c1a 2022 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2023 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2024 Bind switch-frame explicitly. Replace universal-argument-minus with
2025 a conditional binding.
2026 (universal-argument-num-events, saved-overriding-map): Remove.
2027 (restore-overriding-map): Remove.
2028 (universal-argument--mode): Rename from save&set-overriding-map,
2029 and rewrite.
2030 (universal-argument, universal-argument-more, negative-argument)
2031 (digit-argument): Adjust accordingly.
2032 (universal-argument-minus): Remove.
2033 (universal-argument-other-key): Remove.
2034
8c27f5ff
SM
2035 * subr.el (with-demoted-errors): Add `format' argument.
2036
6480194c
MA
20372013-09-10 Michael Albinus <michael.albinus@gmx.de>
2038
2039 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2040 `tramp-cleanup-connection'.
2041
2042 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2043 parameters KEEP-DEBUG and KEEP-PASSWORD.
2044
2045 * net/tramp.el (tramp-file-name-handler):
2046 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2047 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2048 (tramp-maybe-open-connection):
8c27f5ff
SM
2049 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2050 Use `tramp-cleanup-connection'.
6480194c 2051
8c27f5ff
SM
2052 * net/tramp-sh.el (tramp-maybe-open-connection):
2053 Catch 'uname-changed inside the progress reporter.
6480194c 2054
e5e916d8
GM
20552013-09-10 Glenn Morris <rgm@gnu.org>
2056
9a2c9b47
GM
2057 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2058
e5e916d8
GM
2059 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2060 returns "alternate access method" in mode (eg "-rw-r--r--.").
2061
144e38fe
GM
20622013-09-08 Glenn Morris <rgm@gnu.org>
2063
2064 * saveplace.el (load-save-place-alist-from-file):
2065 Demote errors. (Bug#15305)
2066
af9ff9e8
MA
20672013-09-08 Michael Albinus <michael.albinus@gmx.de>
2068
2069 Improve compatibility with older Emacsen, and XEmacs.
2070
2071 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2072 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2073 (with-tramp-progress-reporter): Do not let-bind `result'.
2074 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2075 (tramp-handle-make-auto-save-file-name): New function, moved from
2076 tramp-sh.el.
2077
2078 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2079 for `make-auto-save-file-name'.
8c27f5ff
SM
2080 (tramp-adb--gnu-switches-to-ash):
2081 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2082
2083 * net/tramp-cache.el (tramp-cache-print): Call
2084 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2085
2086 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2087 bound. It isn't for XEmacs.
2088
8c27f5ff
SM
2089 * net/tramp-compat.el (tramp-compat-copy-file):
2090 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2091 (tramp-compat-replace-regexp-in-string): New defun.
2092
2093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2094 for `make-auto-save-file-name'.
2095 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2096 `copy-file'.
2097 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2098 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2099 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2100
8c27f5ff
SM
2101 * net/tramp-gw.el (tramp-gw-open-network-stream):
2102 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2103
8c27f5ff
SM
2104 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2105 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2106 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2107 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2108 (tramp-sh-file-inotifywait-process-filter):
2109 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2110 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2111
2112 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2113 for `make-auto-save-file-name'.
8c27f5ff
SM
2114 (tramp-smb-handle-copy-directory):
2115 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2116 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2117 (tramp-smb-handle-copy-file): Improve error message.
2118 (tramp-smb-handle-rename-file): Rename directly only in case
2119 `newname' does not exist yet. This is a restriction of smbclient.
2120 (tramp-smb-maybe-open-connection): Rerun the function only when
2121 `auth-sources' is non-nil.
2122
0ca754d0
KH
21232013-09-08 Kenichi Handa <handa@gnu.org>
2124
2125 * international/characters.el: Set category "^" (Combining) for
2126 more characters.
2127
e8dd0787
AM
21282013-09-07 Alan Mackenzie <acm@muc.de>
2129
2130 Correctly fontify Java class constructors.
2131 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2132 in Java Mode.
2133 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2134 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2135 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2136 "typeless" declaration there.
2137
f2f248e7
RW
21382013-09-07 Roland Winkler <winkler@gnu.org>
2139
2140 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2141 field subtitle for entry type book.
2142
67982e2b
SM
21432013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * minibuffer.el: Make minibuffer-complete call completion-in-region
2146 rather than other way around.
2147 (completion--some, completion-pcm--find-all-completions):
2148 Don't delay signals when debugging.
2149 (minibuffer-completion-contents): Beware fields within the
2150 minibuffer contents.
2151 (completion-all-sorted-completions): Use defvar-local.
2152 (completion--do-completion, completion--cache-all-sorted-completions)
2153 (completion-all-sorted-completions, minibuffer-force-complete):
2154 Add args `beg' and `end'.
2155 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2156 (minibuffer-complete): Use completion-in-region.
2157 (completion-complete-and-exit): New fun, extracted from
2158 minibuffer-complete-and-exit.
2159 (minibuffer-complete-and-exit): Use it.
2160 (completion--complete-and-exit): Rename from
2161 minibuffer--complete-and-exit.
2162 (completion-in-region--single-word): New function, extracted from
2163 minibuffer-complete-word.
2164 (minibuffer-complete-word): Use it.
2165 (display-completion-list): Make `common-substring' argument obsolete.
2166 (completion--in-region): Call completion--in-region-1 instead of
2167 minibuffer-complete.
2168 (completion-help-at-point): Pass boundaries to
2169 minibuffer-completion-help as args rather than via an overlay.
2170 (completion-pcm--string->pattern): Use `any-delim'.
2171 (completion-pcm--optimize-pattern): New function.
2172 (completion-pcm--pattern->regex): Handle `any-delim'.
2173 * icomplete.el (icomplete-forward-completions)
2174 (icomplete-backward-completions, icomplete-completions):
2175 Adjust calls to completion-all-sorted-completions and
2176 completion--cache-all-sorted-completions.
2177 (icomplete-with-completion-tables): Default to t.
2178 * emacs-lisp/crm.el (crm--current-element): Rename from
2179 crm--select-current-element. Don't put an overlay but return the
2180 boundaries instead.
2181 (crm--completion-command): Take two new args to bind to the boundaries.
2182 (crm-completion-help): Adjust accordingly.
2183 (crm-complete): Use completion-in-region.
2184 (crm-complete-word): Use completion-in-region--single-word.
2185 (crm-complete-and-exit): Use completion-complete-and-exit.
2186
e17d94a5
SM
21872013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2190 than dynamically.
2191
96727100
JL
21922013-09-06 Juri Linkov <juri@jurta.org>
2193
2194 * info.el (Info-display-images-node): When image file doesn't exist
2195 display text version of the image if it's provided in the Info file.
2196 Otherwise, display the location of missing image from SRC attribute.
2197 Add help-echo text property from ALT attribute. (Bug#15279)
2198
86cf7329
SM
21992013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2202 (edit-abbrevs-mode): Use define-derived-mode.
2203
2204 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2205 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2206 that it's defined.
2207 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2208 Use define-derived-mode.
2209
2210 * epg.el (epg-start-encrypt): Minor CSE simplification.
2211
816244a2
WX
22122013-09-06 William Xu <william.xwl@gmail.com>
2213
2214 * arc-mode.el: Add support for 7za (bug#15264).
2215 (archive-7z-program): New var.
2216 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2217 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2218 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2219
1486fa31
MA
22202013-09-06 Michael Albinus <michael.albinus@gmx.de>
2221
2222 Remove URL syntax.
2223
2224 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2225 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2226 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2227 (tramp-postfix-host-format, tramp-file-name-regexp)
2228 (tramp-completion-file-name-regexp)
2229 (tramp-completion-dissect-file-name)
2230 (tramp-handle-substitute-in-file-name): Remove 'url case.
2231 (tramp-file-name-regexp-url)
2232 (tramp-completion-file-name-regexp-url): Remove constants.
2233
39785324
GM
22342013-09-06 Glenn Morris <rgm@gnu.org>
2235
2236 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2237
1f896cb7
DG
22382013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2239
2240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2241 keywords" below "here-doc beginnings" (Bug#15270).
2242
c0458e0b
SM
22432013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * subr.el (pop): Use `car-safe'.
2246 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2247 to detect unused `pop' return value.
2248
2249 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2250 var `block-regexp'.
2251 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2252 (python-fill-string): Remove unused var `marker'.
2253 (python-skeleton-add-menu-items): Remove unused var `items'.
2254
2255 * international/mule-cmds.el: Require CL.
2256 (find-coding-systems-for-charsets): Avoid add-to-list.
2257 (sanitize-coding-system-list): New function, extracted from
2258 select-safe-coding-system-interactively.
2259 (select-safe-coding-system-interactively): Use it.
2260 (read-input-method-name): Accept symbols for `default'.
2261
2262 * emacs-lisp/advice.el (defadvice): Add indent rule.
2263
6c42fc3e
DH
22642013-09-05 Daniel Hackney <dan@haxney.org>
2265
2266 * dired-x.el:
2267 * net/ange-ftp.el:
2268 * net/browse-url.el:
2269 * net/dbus.el:
2270 * net/eudc.el:
2271 * net/eudcb-ldap.el:
2272 * net/eww.el:
2273 * net/imap.el:
2274 * printing.el:
2275 * vc/ediff-diff.el:
2276 * vc/ediff-init.el:
2277 * vc/ediff-merg.el:
2278 * vc/ediff-mult.el:
2279 * vc/ediff-util.el:
2280 * vc/ediff-wind.el:
2281 * vc/ediff.el:
2282 * vc/emerge.el:
2283 * vc/pcvs.el:
2284 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2285 byte compiler. Remove some unused let-bound variables.
2286
4c528aab
SM
22872013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2290 a "ref-cell", since it gets better optimized (bug#14883).
2291
bd15c390
GM
22922013-09-05 Glenn Morris <rgm@gnu.org>
2293
2294 * progmodes/cc-awk.el (c-forward-sws): Declare.
2295
1c3ac2e5
GM
22962013-09-04 Glenn Morris <rgm@gnu.org>
2297
2298 * generic-x.el [rul-generic-mode]: Require cc-mode.
2299 (c++-mode-syntax-table): Declare.
2300 (rul-generic-mode-syntax-table): Init in the defvar.
2301
52b1cc79
SM
23022013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2303
c828af56
SM
2304 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2305 (vc-do-command, vc-set-async-update):
2306 * vc/vc-mtn.el (vc-mtn-dir-status):
2307 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2308 (vc-hg-pull, vc-hg-merge-branch):
2309 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2310 (vc-git-merge-branch):
2311 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2312 (vc-cvs-dir-status-files):
2313 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2314 (vc-bzr-dir-status-files):
2315 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2316 * vc/vc-annotate.el: Use lexical-binding.
2317 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2318 (vc-sentinel-movepoint): Declare.
2319 (vc-annotate): Don't use `goto-line'.
2320 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2321 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2322 (vc-sentinel-movepoint): Declare.
2323 * vc/vc-svn.el: Use lexical-binding.
2324 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2325 * vc/vc-sccs.el:
2326 * vc/vc-rcs.el: Use lexical-binding.
2327
abae272c
SM
2328 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2329 `deleted'. Don't drop errors silently.
2330
52b1cc79
SM
2331 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2332
63191d9f
XF
23332013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2334
2335 * vc/vc.el (vc-ignore): Rewrite.
2336 (vc-default-ignore): New function.
2337 (vc-default-ignore-completion-table): Use find-ignore-file.
2338
2339 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2340 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2341 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2342 Remove. Most code moved to vc.el.
2343
9d3f707c
SM
23442013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2345
abae272c 2346 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2347 * net/tramp-smb.el (tramp-smb-get-file-entries):
2348 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2349 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2350
fde38d49
SM
2351 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2352 Update call to it.
2353 (eww-change-select): Remove unused var `properties'.
2354 (eww-make-unique-file-name): Remove unused var `base'.
2355
2356 * finder.el (finder-compile-keywords): Don't mess with windows.
2357
84032db7
SM
2358 * calculator.el (calculator-funcall): Fix typo in last change.
2359
724f5e41
SM
2360 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2361
14b511d4
SM
2362 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2363 <pkg>-autoloads.el file stop us.
2364
9d3f707c 2365 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2366 warnings, and factor out common code.
9d3f707c 2367
88527bc0
DG
23682013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2369
2370 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2371 two-character operators and whether the character preceding them
2372 changes their meaning (Bug#15208).
2373
96edb677
FEG
23742013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2375
2376 Format code sent to Python shell for robustness.
9d3f707c
SM
2377 * progmodes/python.el (python-shell-buffer-substring):
2378 New function.
96edb677
FEG
2379 (python-shell-send-region, python-shell-send-buffer): Use it.
2380
95beaef3
MA
23812013-09-02 Michael Albinus <michael.albinus@gmx.de>
2382
2383 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2384 * net/tramp.el (tramp-user-error): ... here.
2385 (tramp-find-method, tramp-check-proper-host)
2386 (tramp-dissect-file-name, tramp-debug-message)
2387 (tramp-handle-shell-command):
2388 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2389 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2390
2391 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2392
f167c27b
MR
23932013-09-02 Martin Rudalics <rudalics@gmx.at>
2394
2395 * avoid.el (mouse-avoidance-point-position)
2396 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2397 returns nil.
2398
cd16c5f1
FEG
23992013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2400
2401 * progmodes/python.el (python-shell-completion-get-completions):
2402 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2403 (python-nav-if-name-main): New command.
cd16c5f1 2404
e73c3a0d
GM
24052013-09-01 Glenn Morris <rgm@gnu.org>
2406
f8ccce03
GM
2407 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2408 Avoid leading space in $wins. Otherwise the sed command used by
2409 eg compile-main ends up containing "/*.el". (Bug#15170)
2410
e73c3a0d
GM
2411 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2412
415f808e
GM
24132013-08-30 Glenn Morris <rgm@gnu.org>
2414
2415 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2416 Fix is-this-a-directory logic. (Bug#15220)
2417
f069bba8
SM
24182013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2419
112798c1
SM
2420 * textmodes/css-mode.el: Use SMIE.
2421 (css-smie-grammar): New var.
2422 (css-smie--forward-token, css-smie--backward-token)
2423 (css-smie-rules): New functions.
2424 (css-mode): Use them.
2425 (css-navigation-syntax-table): Remove var.
2426 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2427 (css-indent-calculate, css-indent-line): Remove functions.
2428
2429 Misc changes to reduce use of `(lambda...); and other cleanups.
2430 * cus-edit.el: Use lexical-binding.
2431 (customize-push-and-save, customize-apropos)
2432 (custom-buffer-create-internal): Use closures.
2433 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2434 * progmodes/ada-xref.el: Use setq.
2435 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2436 * dframe.el: Use lexical-binding.
2437 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2438 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2439 * descr-text.el: Use lexical-binding.
2440 (describe-text-widget, describe-text-sexp, describe-property-list):
2441 Use closures.
2442 * comint.el (comint-history-isearch-push-state): Use a closure.
2443 * calculator.el: Use lexical-binding.
2444 (calculator-number-to-string): Make it work with lexical-binding.
2445 (calculator-funcall): Same and use cl-letf.
2446
2da4c3ab
SM
2447 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2448 (lisp--company-doc-string, lisp--company-location): New functions.
2449 (lisp-completion-at-point): Use them to improve Company support.
2450
f069bba8
SM
2451 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2452 params of lambda expressions.
2453 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2454 (ruby-smie--opening-pipe-p): New function.
2455 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2456 symbols and matched |...| for formal params.
2457 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2458 from being treated as hanging. Handle "rescue".
2459
6758b6a8
GM
24602013-08-29 Glenn Morris <rgm@gnu.org>
2461
2462 * progmodes/cc-engine.el (c-pull-open-brace):
2463 Move definition before use.
2464
e8dfd197
SM
24652013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2468 are immutable. Don't use `unsafe' any more.
2469 (cl--defsubst-expand): Don't substitute at the same time as keeping
2470 a residual unused let-binding. Don't use `unsafe' any more.
2471
cc585c96
GM
24722013-08-29 Glenn Morris <rgm@gnu.org>
2473
ba579ea6
GM
2474 * calendar/cal-china.el (calendar-chinese-year-cache):
2475 Recenter on 2015.
2476
8201a87e
GM
2477 * nxml/nxml-util.el (nxml-debug-clear-inside):
2478 Use cl-loop rather than loop.
2479
6ee877c7
GM
2480 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2481
cc585c96
GM
2482 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2483
27be8d39
GM
24842013-08-28 Glenn Morris <rgm@gnu.org>
2485
397440a1
GM
2486 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2487
2bb762d4
GM
2488 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2489
27be8d39
GM
2490 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2491
2d69b99e
SM
24922013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2493
f663baa7
SM
2494 * simple.el (repeat-complex-command--called-interactively-skip):
2495 New function.
2496 (repeat-complex-command): Use it (bug#14136).
2497
dd4f8b74
SM
2498 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2499 (c-define-abbrev-table): Add `doc' argument.
2500 (c-mode-abbrev-table, c++-mode-abbrev-table)
2501 (objc-mode-abbrev-table, java-mode-abbrev-table)
2502 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2503 (awk-mode-abbrev-table): Use it.
2504 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2505 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2506 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2507 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2508 Move initialization into the declaration; and remove any
2509 autoload cookie.
2510
b58969f7
SM
2511 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2512 and dynamic let binding.
2513
4021d6a6
SM
2514 * vc/smerge-mode.el: Remove redundant :group args.
2515
2d69b99e
SM
2516 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2517 to load-path.
2518
274919fd
JL
25192013-08-28 Juri Linkov <juri@jurta.org>
2520
2521 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2522 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2523 (isearch-other-meta-char): Handle an undefined shifted printing
2524 character by downshifting it. (Bug#15200)
2525
121f8c95
JL
25262013-08-28 Juri Linkov <juri@jurta.org>
2527
2528 * isearch.el (isearch-search): Change regexp error message for
2529 non-regexp searches. (Bug#15166)
2530
50b13cde
PE
25312013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2532
2533 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2534 for portability to hosts where /bin/sh has problems.
2535
95888bca
SM
25362013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2537
2538 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2539
bbe558f1
JL
25402013-08-27 Juri Linkov <juri@jurta.org>
2541
2542 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2543 in the keyboard macro. (Bug#15126)
2544
26f98a7d
JL
25452013-08-27 Juri Linkov <juri@jurta.org>
2546
2547 * isearch.el (isearch-quote-char): Comment out converting unibyte
2548 to multibyte, thus syncing with its `quoted-insert' counterpart.
2549 (Bug#15166)
2550
7c97d35e
MR
25512013-08-27 Martin Rudalics <rudalics@gmx.at>
2552
2553 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2554 argument in call of get-largest-window (Bug#15185).
2555 Reported by Stephen Leake.
7c97d35e 2556
a0b5606e 25572013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2558
2559 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2560
9e89d835
SM
25612013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2564 from a matcher-function unless there's no more matches (bug#15161).
2565
78fc2530
MA
25662013-08-26 Michael Albinus <michael.albinus@gmx.de>
2567
2568 * minibuffer.el: Revert change from 2013-08-20.
2569
2570 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2571 with text property `tramp-default', if appropriate.
2572 (tramp-check-proper-host): New defun.
2573 (tramp-dissect-file-name): Do not check hostname. Revert change
2574 of 2013-03-18.
2575 (tramp-backtrace): Make VEC-OR-PROC optional.
2576
2577 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2578 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2579 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2580 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2581 Apply `tramp-check-proper-host'.
78fc2530 2582
edca97cd
TH
25832013-08-26 Tassilo Horn <tsdh@gnu.org>
2584
2585 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2586 lambda expression in order to have `describe-variable' display it.
2587
df54bcbd
MA
25882013-08-26 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2591 BUF can be optional. (Bug#15186)
2592
eed99101
XF
25932013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2594
2595 * progmodes/flymake.el (flymake-get-real-file-name-function):
2596 Fix broken customization. (Bug#15184)
2597
b5eb9035
AM
25982013-08-25 Alan Mackenzie <acm@muc.de>
2599
8a51e842
AM
2600 Improve indentation of bracelists defined by macros (without "=").
2601
2602 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2603 expansion begins with "{", regard it as bracelist when it doesn't
2604 contain a ";".
2605
869455d4
AM
2606 Parse C++ inher-intro when there's a template split over 2 lines.
2607
2608 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2609 rigorously the search for "class" etc. followed by ":".
2610
2611 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2612 random languages a regexp which never matches rather than nil.
2613
b5eb9035
AM
2614 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2615
2616 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2617 (c-awk-regexp-one-line-possibly-open-char-list-re)
2618 (c-awk-one-line-possibly-open-regexp-re)
2619 (c-awk-one-line-non-syn-ws*-re): Remove.
2620 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2621 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2622 (c-awk-space*-unclosed-regexp-/-re): New constants.
2623 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2624 aren't regexp delimiters.
2625
2626 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2627 handling for a rare situation in AWK Mode involving unterminated
2628 strings/regexps.
2629
61611d54
GM
26302013-08-23 Glenn Morris <rgm@gnu.org>
2631
2d85dc34
GM
2632 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2633
cb8d2612
GM
2634 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2635
bb35f42f
GM
2636 * files.el (create-file-buffer): If the result would begin with
2637 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2638
b9808e77
SM
26392013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2640
e3a66363
SM
2641 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2642 text-properties (bug#15155).
2643
b9808e77
SM
2644 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2645 exist any more.
2646 (calc-keypad-redraw): Remove unused var `pad'.
2647 (calc-keypad-press): Remove unused var `menu'.
2648
7fd5f65e
MR
26492013-08-23 Martin Rudalics <rudalics@gmx.at>
2650
b9808e77
SM
2651 * window.el (display-buffer-pop-up-frame):
2652 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2653 use it as the new frame's buffer (Bug#15133).
2654
8352b530
SM
26552013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * calendar/timeclock.el: Minor cleanups.
2658 (timeclock-ask-before-exiting, timeclock-use-display-time):
2659 Use `symbol'.
2660 (timeclock-modeline-display): Define as alias before the
2661 actual definition.
2662 (timeclock-mode-line-display): Use define-minor-mode.
2663 (timeclock-day-list-template): Make it a function, add an argument.
2664 (timeclock-day-list-required, timeclock-day-list-length)
2665 (timeclock-day-list-debt, timeclock-day-list-span)
2666 (timeclock-day-list-break): Adjust calls accordingly.
2667
9f7b1925
SM
26682013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2671 Use read--expression so that completion works again.
2672
6e50e983
SS
26732013-08-21 Sam Steingold <sds@gnu.org>
2674
2675 Add rudimentary inferior shell interaction
2676 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2677 (sh-set-shell): Reset it.
9f7b1925
SM
2678 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2679 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2680
dbb0d350
SM
26812013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * align.el: Use lexical-binding.
2684 (align-region): Simplify accordingly.
2685
c88586a9
MA
26862013-08-20 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2689
2690 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2691 `non-essential' up.
2692
f95527c8
MA
26932013-08-17 Michael Albinus <michael.albinus@gmx.de>
2694
2695 * net/tramp.el:
2696 * net/tramp-adb.el:
2697 * net/tramp-cmds.el:
2698 * net/tramp-ftp.el:
2699 * net/tramp-gvfs.el:
2700 * net/tramp-gw.el:
2701 * net/tramp-sh.el: Don't wrap external variable declarations by
2702 `eval-when-compile'.
2703
4b5fe4ee
LMI
27042013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2705
2706 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2707 now that Emacs supports ImageMagick animations.
2708
13c366c9
MA
27092013-08-16 Michael Albinus <michael.albinus@gmx.de>
2710
2711 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2712 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2713
3dfc5cd6
MR
27142013-08-16 Martin Rudalics <rudalics@gmx.at>
2715
2716 * window.el (mouse-autoselect-window-select): Do autoselect when
2717 mouse pointer is on margin.
2718
4bbb4381
WP
27192013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2720
2721 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2722
3a2ddc2d
GM
27232013-08-16 Glenn Morris <rgm@gnu.org>
2724
e8bedf5a
GM
2725 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2726 Handle "Remote Directory" response of some clients. (Bug#15058)
2727
58c4682f
GM
2728 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2729 Tweak warning. (Bug#14926)
2730
57953f49
GM
2731 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2732 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2733
3a2ddc2d
GM
2734 * image-mode.el (image-mode-map): Add menu items to reverse,
2735 increase, decrease, reset animation speed.
2736 (image--set-speed, image-increase-speed, image-decrease-speed)
2737 (image-reverse-speed, image-reset-speed): New functions.
2738 (image-mode-map): Add bindings for speed commands.
2739
2740 * image.el (image-animate-get-speed, image-animate-set-speed):
2741 New functions.
2742 (image-animate-timeout): Respect image :speed property.
2743
10fa0ed3
SM
27442013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2747 previous line (bug#15101).
2748 (debugger-eval-expression, debugger-record-expression):
2749 Use read--expression (bug#15102).
2750
5d89d9d2
MA
27512013-08-15 Michael Albinus <michael.albinus@gmx.de>
2752
2753 Remove byte compiler warnings, visible when compiling with
2754 `byte-compile-force-lexical-warnings' set to t.
2755
2756 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2757 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2758 (tramp-handle-unhandled-file-name-directory)
2759 (tramp-handle-file-notify-add-watch, tramp-action-login)
2760 (tramp-action-succeed, tramp-action-permission-denied)
2761 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2762 arguments with "_".
2763
2764 * net/tramp-adb.el (tramp-adb-parse-device-names)
2765 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2766 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2767 (tramp-adb-handle-file-truename): Remove unused arguments.
2768
2769 * net/tramp-cache.el (tramp-flush-directory-property)
2770 (tramp-flush-connection-property, tramp-list-connections)
2771 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2772
10fa0ed3
SM
2773 * net/tramp-compat.el (tramp-compat-make-temp-file):
2774 Rename FILENAME to F.
5d89d9d2
MA
2775
2776 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2777 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2778 (tramp-zeroconf-parse-workstation-device-names)
2779 (tramp-zeroconf-parse-webdav-device-names)
2780 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2781
2782 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2783 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2784
2785 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2786 arguments.
2787 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2788 (tramp-sh-handle-insert-file-contents-literally)
2789 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2790 with "_".
2791 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2792 Remove unused variables.
2793
2794 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2795 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2796 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2797
2798 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2799 Make them a defconst.
2800 (tramp-uuencode-region): Remove unused variable.
2801
62f33bae
JB
28022013-08-14 Juanma Barranquero <lekktu@gmail.com>
2803
2804 * frameset.el (frameset--prop-setter): New function.
2805 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2806 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2807 parameter was already set in FILTERED. Doc fix.
2808 (frameset--record-minibuffer-relationships): Allow saving a
2809 minibufferless frame without its corresponding minibuffer frame.
2810 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2811 frame, if the frame id matches.
2812 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2813 frames before orphaned ones.
2814 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2815
c660a885
MR
28162013-08-14 Martin Rudalics <rudalics@gmx.at>
2817
2818 * window.el (window-make-atom): Don't overwrite parameter
2819 already present.
2820 (display-buffer-in-atom-window): Handle special case where we
2821 split an already atomic window.
2822 (window--major-non-side-window, display-buffer-in-side-window)
2823 (window--side-check): Ignore minibuffer window when walking
2824 window tree.
2825 (window-deletable-p): Return 'frame only if no other frame uses
2826 our minibuffer window.
2827 (record-window-buffer): Run buffer-list-update-hook.
2828 (split-window): Make sure window--check-frame won't destroy an
2829 existing atomic window in case the new window gets nested
2830 inside.
2831 (display-buffer-at-bottom): Ignore minibuffer window when
2832 walking window tree. Don't split a side window.
2833 (pop-to-buffer): Don't set-buffer here, the select-window call
2834 should do that.
2835 (mouse-autoselect-window-select): Autoselect only if we are in the
2836 text portion of the window.
2837
8259030d
LMI
28382013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2839
21c58ae2
LMI
2840 * net/shr.el (shr-parse-image-data): New function to grab both the
2841 data itself and the Content-Type.
2842 (shr-put-image): Use it.
2843
2844 * net/eww.el (eww-display-image): Ditto.
2845
8259030d
LMI
2846 * image.el (image-content-type-suffixes): New variable.
2847
ad756449
FEG
28482013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2849
2850 * progmodes/python.el (python-imenu--build-tree)
2851 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2852
f73f4ce6
XF
28532013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2854
2855 * simple.el (backward-word): Mention the optional argument.
2856
1f585e65
SM
28572013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * frameset.el (frameset--make): Rename constructor from make-frameset.
2860 (frameset-p, frameset-valid-p): Don't autoload.
2861 (frameset-valid-p): Use normal accessors.
2862
af1c6c84
GM
28632013-08-13 Glenn Morris <rgm@gnu.org>
2864
55e47f95
GM
2865 * progmodes/compile.el (compile-command): Tweak example in doc.
2866 * obsolete/scribe.el (scribe-mode):
2867 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2868
f0024d8c
GM
2869 * mail/feedmail.el (feedmail-confirm-outgoing)
2870 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2871
2872 * cus-start.el (truncate-partial-width-windows): Fix type.
2873
2874 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2875
af1c6c84
GM
2876 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2877
5514cc4c
SM
28782013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * emacs-lisp/timer.el (timer--time-setter): New function.
2881 (timer--time): Use it as gv-setter.
2882
2883 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2884 setter is not a symbol.
2885
7997a2f1
GJ
28862013-08-12 Grégoire Jadi <daimrod@gmail.com>
2887
2888 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2889 if sending fails. This makes debugging easier.
2890
01f1a9ab
JB
28912013-08-12 Juanma Barranquero <lekktu@gmail.com>
2892
2893 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2894 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2895 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2896
594a4307
EZ
28972013-08-12 Eli Zaretskii <eliz@gnu.org>
2898
2899 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2900
7a22490f 29012013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2902
2903 * format.el (format-annotate-function):
2904 Handle read-only text properties in the source. (Bug#14887)
2905
3e41a054
LMI
29062013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2907
5514cc4c
SM
2908 * net/eww.el (eww-display-html): Ignore coding system errors.
2909 One web site uses "utf-8lias" as the coding system.
3e41a054 2910
7ec326db
JB
29112013-08-11 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2914
5660113b
JB
29152013-08-10 Juanma Barranquero <lekktu@gmail.com>
2916
9a4ebc74
JB
2917 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2918 (tutorial--detailed-help): Remove unused local variables.
2919 (tutorial--save-tutorial-to): Use ignore-errors.
2920 (help-with-tutorial): Use looking-at-p.
2921
2922 * view.el (view-buffer-other-window, view-buffer-other-frame):
2923 Mark unused arguments.
2924
2925 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2926 (woman-select-symbol-fonts, woman, woman-find-file)
2927 (woman-insert-file-contents, woman-non-underline-faces):
2928 Use string-match-p.
2929 (woman1-unquote): Move declaration.
2930
2931 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2932 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2933 argument. Remove unused local variable.
2934 (xml-parse-elem-type): Use string-match-p.
2935 (xml-substitute-numeric-entities): Use ignore-errors.
2936
45fdb482
JB
2937 * calculator.el (calculator): Mark unused argument.
2938 (calculator-paste, calculator-quit, calculator-integer-p):
2939 Use ignore-errors.
2940 (calculator-string-to-number, calculator-decimal, calculator-exp)
2941 (calculator-op-or-exp): Use string-match-p.
2942
2943 * dired.el (dired-buffer-more-recently-used-p): Declare.
2944 (dired-insert-set-properties, dired-insert-old-subdirs):
2945 Use ignore-errors.
2946
2947 * dired-aux.el (dired-compress): Use ignore-errors.
2948 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2949 (dired-do-async-shell-command, dired-do-shell-command)
2950 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2951 (dired-insert-subdir-validate): Use string-match-p.
2952 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2953 (dired-add-entry): Use string-match-p, looking-at-p.
2954 (dired-insert-subdir-newpos): Remove unused local variable.
2955
2956 * filenotify.el (file-notify-callback): Remove unused local variable.
2957
2958 * filesets.el (filesets-error): Mark unused argument.
2959 (filesets-which-command-p, filesets-filter-dir-names)
2960 (filesets-directory-files, filesets-get-external-viewer)
2961 (filesets-ingroup-get-data): Use string-match-p.
2962
2963 * find-file.el (ff-other-file-name, ff-other-file-name)
2964 (ff-find-the-other-file, ff-cc-hh-converter):
2965 Remove unused local variables.
2966 (ff-get-file-name): Use string-match-p.
2967 (ff-all-dirs-under): Use ignore-errors.
2968
2969 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2970 (follow-select-if-visible): Remove unused local variable.
2971
2972 * forms.el (read-file-filter): Move declaration.
2973 (forms--make-format, forms--make-parser, forms-insert-record):
2974 Quote function with #'.
2975 (forms--update): Use string-match-p. Quote function with #'.
2976
2977 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2978 (help-make-xrefs): Use looking-at-p.
2979 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2980
2981 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2982 (ibuffer-confirm-operation-on): Use string-match-p.
2983
2984 * msb.el (msb-item-handler, msb-dired-item-handler):
2985 Mark unused arguments.
2986
2987 * ses.el (ses-decode-cell-symbol)
2988 (ses-kill-override): Remove unused local variable.
2989 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2990 (ses-load): Use ignore-errors, looking-at-p.
2991 (ses-jump-safe): Use ignore-errors.
2992 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2993
2994 * tabify.el (untabify, tabify): Mark unused arguments.
2995
2996 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2997 Mark unused argument.
2998 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2999 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3000
c880af52
JB
3001 * emacs-lisp/timer.el (timer--time): Define setter with
3002 gv-define-setter to avoid deprecation warning.
3003
5660113b 3004 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3005 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3006 (cmpl-statistics-block): Remove (body was commented out).
3007 All callers changed.
3008 (add-completions-from-buffer, load-completions-from-file):
3009 Remove unused variables.
3010
156aab80
JB
30112013-08-09 Juanma Barranquero <lekktu@gmail.com>
3012
5c5dee78
JB
3013 * filecache.el (file-cache-delete-file-list):
3014 Print message only when told so.
3015 (file-cache-files-matching): Use #' in mapconcat argument.
3016
156aab80
JB
3017 * ffap.el (ffap-url-at-point): Fix reference to variable
3018 thing-at-point-default-mail-uri-scheme.
3019
ad9dcd70
SM
30202013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3021
54bd972f
SM
3022 * subr.el (define-error): New function.
3023 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3024 error-file-not-found and define with define-error.
3025 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3026 and define with define-error.
3027 * userlock.el (file-locked, file-supersession):
3028 * simple.el (mark-inactive):
3029 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3030 * progmodes/ada-mode.el (ada-mode-errors):
3031 * play/life.el (life-extinct):
3032 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3033 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3034 * nxml/rng-util.el (rng-error):
3035 * nxml/rng-uri.el (rng-uri-error):
3036 * nxml/rng-match.el (rng-compile-error):
3037 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3038 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3039 * nxml/nxml-rap.el (nxml-scan-error):
3040 * nxml/nxml-outln.el (nxml-outline-error):
3041 * net/soap-client.el (soap-error):
3042 * net/gnutls.el (gnutls-error):
3043 * net/ange-ftp.el (ftp-error):
3044 * mpc.el (mpc-proc-error):
3045 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3046 (json-number-format, json-string-escape, json-string-format)
3047 (json-key-format, json-object-format):
3048 * jka-compr.el (compression-error):
3049 * international/quail.el (quail-error):
3050 * international/kkc.el (kkc-error):
3051 * emacs-lisp/ert.el (ert-test-failed):
3052 * calc/calc.el (calc-error, inexact-result, math-overflow)
3053 (math-underflow):
3054 * bookmark.el (bookmark-error-no-filename):
3055 * epg.el (epg-error): Define with define-error.
3056
0ea9e53a
SM
3057 * time.el (display-time-event-handler)
3058 (display-time-next-load-average): Don't call sit-for since it seems
3059 unnecessary (bug#15045).
3060
b0429158
SM
3061 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3062 Use #' instead of ' to quote functions.
3063 (checkdoc-output-mode): Use setq-local.
3064 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3065 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3066 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3067 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3068 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3069 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3070 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3071 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3072
ad9dcd70
SM
3073 * ido.el (ido-completion-help): Fix up compiler warning.
3074
77187e6f
JB
30752013-08-09 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * frameset.el (frameset-p): Add autoload cookie.
3078 (frameset--jump-to-register): New function, based on code moved from
3079 register.el.
3080 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3081
3082 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3083 (frameset-restore, frameset-save, frameset-session-filter-alist):
3084 Remove declarations.
3085 (register-alist): Doc fix.
3086 (frameset-to-register): Move to frameset.el.
3087 (jump-to-register, describe-register-1): Remove frameset-specific code.
3088
9d3aa82c
JB
30892013-08-08 Juanma Barranquero <lekktu@gmail.com>
3090
3091 * allout-widgets.el (allout-widgets-pre-command-business)
3092 (allout-widgets-post-command-business)
3093 (allout-widgets-after-change-handler)
3094 (allout-decorate-item-and-context, allout-set-boundary-marker)
3095 (allout-body-modification-handler)
3096 (allout-graphics-modification-handler): Mark ignored arguments.
3097 (allout-widgets-post-command-business)
3098 (allout-widgets-exposure-change-processor)
3099 (allout-widgets-exposure-undo-processor)
3100 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3101 (allout-parse-item-at-point, allout-decorate-item-guides)
3102 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3103 * allout.el (epa-passphrase-callback-function): Declare.
3104 (allout-overlay-insert-in-front-handler)
3105 (allout-overlay-interior-modification-handler)
3106 (allout-isearch-end-handler, allout-chart-siblings)
3107 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3108 (allout-yank-processing, allout-process-exposed)
3109 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3110 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3111 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3112 (lisp-indent-defform): Mark ignored arguments.
3113 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3114 (calculate-lisp-indent): Remove unused variables.
3115 * international/characters.el (indian-2-column, arabic-2-column)
3116 (tibetan): Mark ignored arguments.
3117 (use-cjk-char-width-table): Mark ignored arguments.
3118 Remove unused variables.
3119 * international/fontset.el (build-default-fontset-data)
3120 (x-compose-font-name, create-fontset-from-fontset-spec):
3121 Mark ignored arguments.
3122 (fontset-plain-name): Remove unused variables.
3123 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3124 (keyboard-coding-system): Mark ignored arguments.
3125 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3126 * help.el (resize-temp-buffer-window):
3127 * window.el (display-buffer-in-major-side-window)
3128 (display-buffer-in-side-window, display-buffer-in-previous-window):
3129 Remove unused variables.
3130 * isearch.el (isearch-forward-symbol):
3131 * version.el (emacs-bzr-version-bzr):
3132 * international/mule-cmds.el (current-language-environment):
3133 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3134 (x-handle-display):
3135 * term/pc-win.el (x-list-fonts, x-display-planes)
3136 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3137 (x-server-version, x-display-screens, x-display-mm-height)
3138 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3139 (x-selection-owner-p, x-own-selection-internal)
3140 (x-disown-selection-internal, x-get-selection-internal)
3141 (msdos-initialize-window-system):
3142 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3143 * term/x-win.el (x-handle-no-bitmap-icon):
3144 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3145 (vc-default-find-file-hook, vc-default-extra-menu):
3146 Mark ignored arguments.
3147
0ca3f70e
SM
31482013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3151 break-condition in the context of the debugged code (bug#12685).
3152
74c5d24c
CS
31532013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3154
3155 * comint.el:
3156 Do not use an overlay to highlight the last prompt. (Bug#14744)
3157 (comint-mode): Make comint-last-prompt buffer local.
3158 (comint-last-prompt): New variable.
3159 (comint-last-prompt-overlay): Remove. Superseded by
3160 comint-last-prompt.
0ca3f70e
SM
3161 (comint-snapshot-last-prompt, comint-output-filter):
3162 Use comint-last-prompt.
74c5d24c 3163
c03c02ee
JB
31642013-08-08 Juanma Barranquero <lekktu@gmail.com>
3165
a3738d20 3166 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3167 (frameset-save): Check validity of the resulting frameset.
3168
04263d23
XF
31692013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3170
3171 * ido.el (ido-record-command): Add doc string.
3172
76c5e5ab
JB
31732013-08-08 Juanma Barranquero <lekktu@gmail.com>
3174
3175 * frameset.el (frameset): Do not disable creation of the default
3176 frameset-p predicate. Doc fix.
3177 (frameset-valid-p): New function, copied from the old predicate-p.
3178 Add additional checks.
3179 (frameset-restore): Check with frameset-valid-p.
3180 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3181 (frameset-name, frameset-description, frameset-properties)
3182 (frameset-states): Add docstring.
f9dbf1cb
JB
3183 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3184 (frameset-filter-alist): Doc fixes.
76c5e5ab 3185
bd0c3c0b
JB
31862013-08-08 Juanma Barranquero <lekktu@gmail.com>
3187
3188 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3189
c735544c
SM
31902013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3193 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3194 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3195 (byte-compile-normal-call): Remove obsolescence check.
3196
2805a651
JB
31972013-08-08 Juanma Barranquero <lekktu@gmail.com>
3198
3677ffeb
JB
3199 * frameset.el (frameset-restore): Doc fix.
3200
2805a651
JB
3201 * register.el (frameset-frame-id, frameset-frame-with-id)
3202 (frameset-p, frameset-restore, frameset-save): Declare.
3203 (register-alist): Document framesets.
3204 (frameset-session-filter-alist): Declare.
3205 (frameset-to-register): New function.
3206 (jump-to-register): Implement jumping to framesets. Doc fix.
3207 (describe-register-1): Describe framesets.
3208
3209 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3210
a912c016
JB
32112013-08-07 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3214 Use lexical-binding.
3215
3216 * frameset.el (frameset): Use type vector, not list (incompatible
3217 change). Do not declare a new constructor, use the default one.
3218 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3219 `name' and `description', respectively, and add read-only slot
3220 `timestamp'. Doc fixes.
3221 (frameset-copy, frameset-persistent-filter-alist)
3222 (frameset-filter-alist, frameset-switch-to-gui-p)
3223 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3224 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3225 (frameset-filter-iconified, frameset-keep-original-display-p):
3226 Doc fixes.
3227 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3228 Rename from frameset-filter-(save|restore)-param. All callers changed.
3229 Doc fix.
3230 (frameset-p): Adapt to change to vector and be more thorough.
3231 Change arg name to OBJECT. Doc fix.
3232 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3233 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3234 All callers changed.
3235 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3236 All callers changed.
3237 (frameset--record-minibuffer-relationships): Rename from
3238 frameset--process-minibuffer-frames. All callers changed.
3239 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3240 Use new default constructor (again). Doc fix.
3241 (frameset--find-frame-if): Rename from `frameset--find-frame.
3242 All callers changed.
3243 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3244 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3245 Doc fix.
3246 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3247 PARAMETERS and WINDOW-STATE, respectively.
3248 (frameset-restore): Add new keyword argument PREDICATE.
3249 Reset frameset--target-display to nil. Doc fix.
3250
bb41480a
SM
32512013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3252
f001e98e
SM
3253 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3254 (bat-mode): Use it.
3255 (bat-mode-syntax-table): Mark \n as end-of-comment.
3256 (bat-font-lock-keywords): Remove comment rule.
3257
7679edb1
SM
3258 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3259 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3260
bb41480a
SM
3261 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3262 (byte-compile-callargs-warn): Use `push'.
3263 (byte-compile-arglist-warn): Ignore higher-order "calls".
3264 (byte-compile-file-form-autoload): Use `pcase'.
3265 (byte-compile-function-form): If quoting a symbol, check that it exists.
3266
cdc1ebb9
EZ
32672013-08-07 Eli Zaretskii <eliz@gnu.org>
3268
3269 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3270 and add a few popular commands found in batch files.
3271 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3272 (dos-mode): Doc fixes.
3273
312b1740
SM
32742013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3275
3276 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3277 (dos-mode): Use setq-local. Add space after "rem".
3278 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3279 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3280
400a3178
AM
32812013-08-07 Arni Magnusson <arnima@hafro.is>
3282
3283 * progmodes/dos.el: New file.
3284 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3285 dos-mode.
3286
3b5c03d3
GM
32872013-08-06 Glenn Morris <rgm@gnu.org>
3288
3289 * calendar/calendar.el: Add new faces, and day-header-array.
3290 (calendar-weekday-header, calendar-weekend-header)
3291 (calendar-month-header): New faces.
3292 (calendar-day-header-construct): New function.
3293 (calendar-day-header-width): Also :set calendar-day-header-array.
3294 (calendar-american-month-header, calendar-european-month-header)
3295 (calendar-iso-month-header): Use calendar- faces.
3296 (calendar-generate-month):
3297 Use calendar-day-header-array for day headers; apply faces to them.
3298 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3299 (calendar-abbrev-construct): Add optional maxlen argument.
3300 (calendar-day-name-array): Doc fix.
3301 (calendar-day-name-array, calendar-abbrev-length)
3302 (calendar-day-abbrev-array):
3303 Also :set calendar-day-header-array, and maybe redraw.
3304 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3305 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3306 (calendar-day-name): Add option to use header array.
3307
ec6a2d7a
LMI
33082013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3309
3310 * net/shr.el (shr-render-td): Remove debugging.
3311 (shr-render-td): Make width computation consistent by defaulting
3312 all zero-width columns to 10 characters. This may not be optimal,
3313 but it's at least consistent.
2122cb6d
LMI
3314 (shr-make-table-1): Redo last change to fix the real problem in
3315 colspan handling.
ec6a2d7a 3316
ed4fd9c5
DA
33172013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3318
0ca3f70e
SM
3319 * files.el (cache-long-line-scans):
3320 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3321
64e22afe
JB
33222013-08-06 Juanma Barranquero <lekktu@gmail.com>
3323
024b38fc
JB
3324 * frameset.el (frameset, frameset-filter-alist)
3325 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3326 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3327 (frameset-compute-pos): Rename from frameset--compute-pos,
3328 and add docstring.
3329 (frameset-move-onscreen): Use frameset-compute-pos.
3330 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3331
64e22afe
JB
3332 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3333 Fix typos in docstrings.
3334
c8c2aca8
DA
33352013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3336
3337 * frame.el (get-other-frame): Tiny cleanup.
3338
1d237bba
JB
33392013-08-06 Juanma Barranquero <lekktu@gmail.com>
3340
8951efef
JB
3341 * vc/vc.el (vc-default-ignore-completion-table):
3342 Silence byte-compiler warning.
3343
307764cc
JB
3344 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3345 slot , which can indeed be nil.
3346 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3347 Move entry for `left' from persistent to live filter alist.
3348 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3349 Doc fixes.
3350 (frameset-filter-params): When restoring a frame, copy items added to
3351 `filtered', to avoid unwittingly modifying the original parameters.
3352 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3353 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3354
1d237bba
JB
3355 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3356 to use looking-at-p instead of looking-at. (Bug#15028)
3357
dc6c0eda
SM
33582013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 Revert introduction of isearch-filter-predicates (bug#14714).
3361 Rely on add-function instead.
3362 * isearch.el (isearch-filter-predicates): Rename it back to
3363 isearch-filter-predicate.
3364 (isearch-message-prefix): Use advice-function-mapc and advice
3365 properties to get the isearch-message-prefix.
3366 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3367 instead of run-hook-with-args-until-failure.
3368 (isearch-filter-visible): Not obsolete any more.
3369 * loadup.el: Preload nadvice.
3370 * replace.el (perform-replace): Revert to funcall
3371 instead of run-hook-with-args-until-failure.
3372 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3373 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3374 dired-isearch-filenames-toggle; make it into a proper minor mode.
3375 Use add/remove-function.
3376 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3377 Call the minor-mode rather than add/remove-hook.
3378 (dired-isearch-filter-filenames):
3379 Remove isearch-message-prefix property.
3380 * info.el (Info--search-loop): New function, extracted from Info-search.
3381 Funcall isearch-filter-predicate instead of
3382 run-hook-with-args-until-failure isearch-filter-predicates.
3383 (Info-search): Use it.
3384 (Info-mode): Use isearch-filter-predicate instead of
3385 isearch-filter-predicates.
3386
290d5b58
DA
33872013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3388
3389 Do not call to `selected-window' where it is assumed by default.
3390 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3391 `window-hscroll', `window-width', `window-height', `window-buffer',
3392 `window-frame', `window-start', `window-point', `next-window'
3393 and `window-display-table'.
3394 * abbrev.el (abbrev--default-expand):
3395 * bs.el (bs--show-with-configuration):
3396 * buff-menu.el (Buffer-menu-mouse-select):
3397 * calc/calc.el (calc):
3398 * calendar/calendar.el (calendar-generate-window):
3399 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3400 (diary-make-entry):
3401 * comint.el (send-invisible, comint-dynamic-complete-filename)
3402 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3403 * completion.el (complete):
3404 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3405 * disp-table.el (describe-current-display-table):
3406 * doc-view.el (doc-view-insert-image):
3407 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3408 * ehelp.el (with-electric-help):
3409 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3410 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3411 * emacs-lisp/helper.el (Helper-help-scroller):
3412 * emulation/cua-base.el (cua--post-command-handler-1):
3413 * eshell/esh-mode.el (eshell-output-filter):
3414 * ffap.el (ffap-gnus-wrapper):
3415 * help-macro.el (make-help-screen):
3416 * hilit-chg.el (highlight-compare-buffers):
3417 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3418 * hl-line.el (global-hl-line-highlight):
3419 * icomplete.el (icomplete-simple-completing-p):
3420 * isearch.el (isearch-done):
3421 * jit-lock.el (jit-lock-stealth-fontify):
3422 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3423 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3424 * mpc.el (mpc-tagbrowser, mpc):
3425 * net/rcirc.el (rcirc-any-buffer):
3426 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3427 * play/landmark.el (landmark-max-width, landmark-max-height):
3428 * play/zone.el (zone):
3429 * progmodes/compile.el (compilation-goto-locus):
3430 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3431 * progmodes/etags.el (find-tag-other-window):
3432 * progmodes/fortran.el (fortran-column-ruler):
3433 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3434 * progmodes/verilog-mode.el (verilog-point-text):
3435 * reposition.el (reposition-window):
3436 * rot13.el (toggle-rot13-mode):
3437 * server.el (server-switch-buffer):
3438 * shell.el (shell-dynamic-complete-command)
3439 (shell-dynamic-complete-environment-variable):
3440 * simple.el (insert-buffer, set-selective-display)
3441 (delete-completion-window):
3442 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3443 (speedbar-recenter):
3444 * startup.el (fancy-splash-head):
3445 * textmodes/ispell.el (ispell-command-loop):
3446 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3447 * tutorial.el (help-with-tutorial):
3448 * vc/add-log.el (add-change-log-entry):
3449 * vc/compare-w.el (compare-windows):
3450 * vc/ediff-help.el (ediff-indent-help-message):
3451 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3452 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3453 (ediff-setup-control-frame):
3454 * vc/emerge.el (emerge-position-region):
3455 * vc/pcvs-util.el (cvs-bury-buffer):
3456 * window.el (walk-windows, mouse-autoselect-window-select):
3457 * winner.el (winner-set-conf, winner-undo): Related users changed.
3458
38276e01
JB
34592013-08-05 Juanma Barranquero <lekktu@gmail.com>
3460
3461 * frameset.el (frameset--set-id): Doc fix.
3462 (frameset-frame-id, frameset-frame-id-equal-p)
3463 (frameset-locate-frame-id): New functions.
3464 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3465 (frameset-restore): Use them.
3466
12b4c0ea
DA
34672013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3468
3469 Do not call to `selected-frame' where it is assumed by default.
3470 Affected functions are `raise-frame', `redraw-frame',
3471 `frame-first-window', `frame-terminal' and `delete-frame'.
3472 * calendar/appt.el (appt-disp-window):
3473 * epg.el (epg-wait-for-completion):
3474 * follow.el (follow-delete-other-windows-and-split)
3475 (follow-avoid-tail-recenter):
3476 * international/mule.el (set-terminal-coding-system):
3477 * mail/rmail.el (rmail-mail-return):
3478 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3479 * progmodes/f90.el (f90-add-imenu-menu):
3480 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3481 * server.el (server-switch-buffer):
3482 * simple.el (delete-completion-window):
3483 * talk.el (talk):
3484 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3485 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3486 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3487 * vc/ediff.el (ediff-documentation): Related users changed.
3488 * frame.el (selected-terminal): Remove the leftover.
3489
17f25e76
GM
34902013-08-05 Glenn Morris <rgm@gnu.org>
3491
3492 * calendar/calendar.el (calendar-generate-month):
3493 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3494 (calendar-generate-month, calendar-font-lock-keywords):
3495 Fix for calendar-day-header-width > length of any day name.
17f25e76 3496
063233c3
JB
34972013-08-05 Juanma Barranquero <lekktu@gmail.com>
3498
3499 * desktop.el (desktop-clear): Use new name of sort predicate.
3500
3501 * frameset.el (frameset): Add docstring. Move :version property to its
3502 own `version' slot.
3503 (frameset-copy): Rename from copy-frameset.
3504 (frameset-p): Check more thoroughly.
3505 (frameset-prop): Do not check for :version, which is no longer a prop.
3506 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3507 Use new :never value instead of t.
3508 (frameset-filter-alist): Expand and clarify docstring.
3509 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3510 (frameset-filter-minibuffer, frameset-filter-save-param)
3511 (frameset-filter-restore-param, frameset-filter-iconified):
3512 Add pointer to docstring of frameset-filter-alist.
3513 (frameset-filter-params): Rename filter values to be more meaningful:
3514 :never instead of t, and reverse the meanings of :save and :restore.
3515 (frameset--process-minibuffer-frames): Clarify error message.
3516 (frameset-save): Avoid unnecessary and confusing call to framep.
3517 Use new BOA constructor for framesets.
3518 (frameset--reuse-list): Doc fix.
3519 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3520 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3521 (frameset-minibufferless-first-p): Doc fix.
3522 Rename from frameset-sort-frames-for-deletion.
3523 (frameset-restore): Doc fixes. Use new function names.
3524 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3525
d5671a82
JB
35262013-08-04 Juanma Barranquero <lekktu@gmail.com>
3527
3528 * desktop.el (desktop-restore-forces-onscreen)
3529 (desktop-restore-reuses-frames): Document :keyword constant values.
3530 (desktop-filter-parameters-alist): Remove, now identical to
3531 frameset-filter-alist.
3532 (desktop--filter-tty*): Remove, moved to frameset.el.
3533 (desktop-save-frameset, desktop-restore-frameset):
3534 Do not pass :filters argument.
3535
3536 * frameset.el (frameset-live-filter-alist)
3537 (frameset-persistent-filter-alist): New variables.
3538 (frameset-filter-alist): Use them. Add autoload cookie.
3539 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3540 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3541 `frameset--id' (it's supposed to be internal to frameset.el).
3542 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3543 (frameset--initial-params): New function.
3544 (frameset--get-frame): Use it. Doc fix.
3545 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3546 Accept :all, not 'all.
3547 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3548 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3549 with fbound symbols. Fix frame id matching, and remove matching ids if
3550 the frame being restored is deleted. Obey :delete.
3551
671d5c16
SM
35522013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * subr.el (macrop): New function.
3555 (text-clone--maintaining): New var.
3556 (text-clone--maintain): Rename from text-clone-maintain. Use it
3557 instead of inhibit-modification-hooks.
3558
3559 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3560 a proxy, so as handle autoloads and redefinitions of the target.
3561 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3562
3563 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3564 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3565 (pcase--mutually-exclusive-p): New function.
3566 (pcase--split-consp): Use it.
3567 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3568 mutually exclusive with the current predicate.
3569
3570 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3571 (edebug-macrop): Remove. Use `macrop' instead.
3572 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3573 (ad-macro-p):
3574 * eshell/esh-cmd.el (eshell-macrop):
3575 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3576
1d44e9dc
SM
35772013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3580 (advice-mapc): New function, using it.
3581 (advice-function-member-p): New function.
3582 (advice--normalize): Store the cdr in advice--saved-rewrite since
3583 that's the part that will be changed.
3584 (advice--symbol-function): New function.
3585 (advice-remove): Handle removal before the function is defined.
3586 Adjust to new advice--saved-rewrite.
3587 (advice-member-p): Use advice-function-member-p and
3588 advice--symbol-function.
3589
5414a283
JB
35902013-08-04 Juanma Barranquero <lekktu@gmail.com>
3591
51d30f2c
JB
3592 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3593 (frameset-filter-minibuffer): Doc fix.
3594 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3595 (frameset--set-id, frameset--process-minibuffer-frames)
3596 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3597 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3598
5414a283
JB
3599 * desktop.el (desktop-clear): Only delete frames when called
3600 interactively and desktop-restore-frames is non-nil. Doc fix.
3601 (desktop-read): Set desktop-saved-frameset to nil.
3602
ab419665
XF
36032013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3604
3605 * vc/vc.el (vc-ignore): Rewrite.
3606 (vc-default-ignore-completion-table):
3607 (vc--read-lines):
3608 (vc--add-line, vc--remove-regexp): New functions.
3609
3610 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3611 (vc-svn-ignore-completion-table): New function.
3612
3613 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3614 (vc-hg-ignore-completion-table):
3615 (vc-hg-find-ignore-file): New functions.
3616
3617 * vc/vc-git.el (vc-git-ignore): Rewrite.
3618 (vc-git-ignore-completion-table):
3619 (vc-git-find-ignore-file): New functions.
3620
3621 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3622
3623 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3624 (vc-bzr-ignore-completion-table):
3625 (vc-bzr-find-ignore-file): New functions.
3626
2613dea2
JB
36272013-08-03 Juanma Barranquero <lekktu@gmail.com>
3628
3629 * frameset.el (frameset-prop): New function and setter.
3630 (frameset-save): Do not modify frame list passed by the caller.
3631
9c959872
SM
36322013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3635
a104f656
SM
36362013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3637
70122acf
SM
3638 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3639 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3640
a104f656
SM
3641 * custom.el (custom-initialize-default, custom-initialize-set)
3642 (custom-initialize-reset, custom-initialize-changed): Affect the
3643 toplevel-default-value (bug#6275, bug#14586).
3644 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3645 for bug#6275.
3646
f078d570
JB
36472013-08-02 Juanma Barranquero <lekktu@gmail.com>
3648
185e3b5a
JB
3649 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3650 Add cl-def* expressions.
3651
f078d570
JB
3652 * frameset.el (frameset-filter-params): Fix order of arguments.
3653
9421876d
JB
36542013-08-02 Juanma Barranquero <lekktu@gmail.com>
3655
3656 Move code related to saving frames to frameset.el.
3657 * desktop.el: Require frameset.
3658 (desktop-restore-frames): Doc fix.
3659 (desktop-restore-reuses-frames): Rename from
3660 desktop-restoring-reuses-frames.
3661 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3662 (desktop-clear): Clear frames too.
3663 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3664 (desktop--filter-tty*, desktop-save, desktop-read):
3665 Use frameset functions.
3666 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3667 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3668 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3669 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3670 (desktop--process-minibuffer-frames, desktop-save-frames)
3671 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3672 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3673 (desktop--sort-states, desktop-restoring-frames-p)
3674 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3675 (desktop-restoring-frameset-p, desktop-restore-frameset)
3676 (desktop--check-dont-save, desktop-save-frameset): New functions.
3677 (desktop--app-id): New constant.
3678 (desktop-first-buffer, desktop-buffer-ok-count)
3679 (desktop-buffer-fail-count): Move before first use.
3680 * frameset.el: New file.
3681
76dc5996
SM
36822013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * files.el: Use lexical-binding.
3685 (dir-locals-read-from-file): Remove unused `err' variable.
3686 (hack-dir-local-variables--warned-coding): New var.
3687 (hack-dir-local-variables): Use it to avoid repeated warnings.
3688 (make-backup-file-name--default-function): New function.
3689 (make-backup-file-name-function): Use it as default.
3690 (buffer-stale--default-function): New function.
3691 (buffer-stale-function): Use it as default.
3692 (revert-buffer-insert-file-contents--default-function): New function.
3693 (revert-buffer-insert-file-contents-function): Use it as default.
3694 (insert-directory): Avoid add-to-list.
3695
3696 * autorevert.el (auto-revert-handler): Simplify.
3697 Use buffer-stale--default-function.
3698
06d36e2b
TH
36992013-08-01 Tassilo Horn <tsdh@gnu.org>
3700
5f648ab4
TH
3701 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3702
06d36e2b
TH
3703 * whitespace.el (whitespace-ensure-local-variables): New function.
3704 (whitespace-cleanup-region): Call it.
3705 (whitespace-turn-on): Call it.
3706
a43dc424
MA
37072013-08-01 Michael Albinus <michael.albinus@gmx.de>
3708
3709 Complete file name handlers.
3710
3711 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3712 (tramp-handle-verify-visited-file-modtime)
3713 (tramp-handle-file-notify-rm-watch): New functions.
3714 (tramp-call-process): Do not bind `default-directory'.
3715
44e18199
JB
3716 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3717 Order alphabetically.
a43dc424
MA
3718 [access-file, add-name-to-file, dired-call-process]:
3719 [dired-compress-file, file-acl, file-notify-rm-watch]:
3720 [file-ownership-preserved-p, file-selinux-context]:
3721 [make-directory-internal, make-symbolic-link, set-file-acl]:
3722 [set-file-selinux-context, set-visited-file-modtime]:
3723 [verify-visited-file-modtime]: Add handler.
3724 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3725
3726 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3727 [file-notify-add-watch, file-notify-rm-watch]:
3728 [set-file-times, set-visited-file-modtime]:
3729 [verify-visited-file-modtime]: Add handler.
3730 (with-tramp-gvfs-error-message)
3731 (tramp-gvfs-handle-set-visited-file-modtime)
3732 (tramp-gvfs-fuse-file-name): Remove.
3733 (tramp-gvfs-handle-file-notify-add-watch)
3734 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3735 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3736
44e18199
JB
3737 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3738 Order alphabetically.
a43dc424
MA
3739 [file-notify-rm-watch ]: Use default Tramp handler.
3740 [executable-find]: Remove private handler.
3741 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3742 `default-directory'.
3743 (tramp-sh-handle-executable-find)
3744 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3745 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3746 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3747 Do not use `format' in `tramp-message'.
3748
3749 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3750 [file-notify-rm-watch, set-visited-file-modtime]:
3751 [verify-visited-file-modtime]: Add handler.
3752 (tramp-smb-call-winexe): Do not bind `default-directory'.
3753
7188b515
XF
37542013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3755
3756 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3757
2412ee1a
DG
37582013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3759
3760 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3761 use it.
3762 (log-view-diff-changeset): Same.
3763 (log-view-diff-common): Call backend command `previous-revision'
3764 to find out the previous revision, in both cases. Swap the
3765 variables `to' and `fr', so that `fr' usually refers to the
3766 earlier revision (Bug#14989).
3767
5002a754
KRC
37682013-07-31 Kan-Ru Chen <kanru@kanru.info>
3769
3770 * ibuf-ext.el (ibuffer-filter-by-filename):
3771 Make it work with dired buffers too.
3772
44e18199 37732013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3774
3775 * emacs-lisp/re-builder.el (reb-color-display-p):
3776 * files.el (save-buffers-kill-terminal):
3777 * net/browse-url.el (browse-url):
3778 * server.el (server-save-buffers-kill-terminal):
3779 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3780 Prefer nil to selected-frame for the first arg of frame-parameter.
3781
aeca3fbb
XF
37822013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3783
3784 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3785
158bc55c
SB
37862013-07-30 Stephen Berman <stephen.berman@gmx.net>
3787
3788 * minibuffer.el (completion--twq-all): Try and preserve each
3789 completion's case choice (bug#14907).
3790
d50fceab
LMI
37912013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792
ac38e731
LMI
3793 * net/network-stream.el (open-network-stream): Mention the new
3794 :nogreeting parameter.
3795 (network-stream-open-starttls): Use the :nogreeting parameter
3796 (bug#14938).
3797
1211de50
LMI
3798 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3799
997798bf
LMI
3800 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3801 more natural than popping.
3802
d50fceab 3803 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3804 (shr-urlify): Highlight under mouse.
d50fceab 3805
5c09de04
XF
38062013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3807
207d1d04
XF
3808 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3809
3810 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3811
5c09de04
XF
3812 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3813 buffer for output.
3814
3cd51eaa
XF
3815 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3816 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3817
44e18199 3818 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3819 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3820
3821 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3822
3823 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3824 buffer for output.
3825
35a89bdd
EZ
38262013-07-29 Eli Zaretskii <eliz@gnu.org>
3827
3828 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3829 initial frame is minibuffer-less. (Bug#14841)
3830
78822e94
MA
38312013-07-29 Michael Albinus <michael.albinus@gmx.de>
3832
3833 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3834 option.
3835
3836 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3837 (tramp-maybe-open-connection): Use it.
3838
9503c190
JB
38392013-07-28 Juanma Barranquero <lekktu@gmail.com>
3840
3841 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3842 minimal set of parameters passed when creating a frame, because
3843 the minibuffer status of a frame cannot be changed later.
3844
d5a845b4
SB
38452013-07-28 Stephen Berman <stephen.berman@gmx.net>
3846
3847 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3848 replace-regexp-in-string and inadvertent omissions in previous change.
3849 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3850 name of filtered items buffer.
d5a845b4 3851
ddeffb17
JB
38522013-07-28 Juanma Barranquero <lekktu@gmail.com>
3853
3854 * desktop.el: Optionally force offscreen frames back onscreen.
3855 (desktop-restoring-reuses-frames): New option.
3856 (desktop--compute-pos, desktop--move-onscreen): New functions.
3857 (desktop--make-frame): Use desktop--move-onscreen.
3858
f5950f7a
AM
38592013-07-27 Alan Mackenzie <acm@muc.de>
3860
3861 Fontify a Java generic method as a function.
3862 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3863 value to t.
3864
ae43b66a
SB
38652013-07-27 Stephen Berman <stephen.berman@gmx.net>
3866
3867 * calendar/todo-mode.el: Add command to rename todo files.
3868 (todo-rename-file): New command.
3869 (todo-key-bindings-t): Add key binding for it. Change the
3870 bindings of todo-filter-regexp-items(-multifile) to use `x'
3871 instead of `r', since the latter is better suited to the new
3872 renaming command.
3873
5ab78d3d
AM
38742013-07-27 Alan Mackenzie <acm@muc.de>
3875
3876 Make Java try-with-resources statement parse properly.
3877 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3878 (c-block-stmt-1-2-key): New language constants/variables.
3879 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3880 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3881 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3882 with c-block-stmt-1-2-key.
5ab78d3d 3883
d85c4d50
JB
38842013-07-27 Juanma Barranquero <lekktu@gmail.com>
3885
3886 * desktop.el (desktop--make-frame): Apply most frame parameters after
3887 creating the frame to force (partially or totally) offscreen frames to
3888 be restored as such.
3889
e4c467f9
XF
38902013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3891
3892 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3893 (Bug#14948)
e4c467f9 3894
7ced0d04
SM
38952013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3898 `base' arg of backtrace-frame.
3899
fec92060
EZ
39002013-07-26 Eli Zaretskii <eliz@gnu.org>
3901
3902 * simple.el (list-processes): Doc fix.
3903
d58d31fb
JB
39042013-07-26 Juanma Barranquero <lekktu@gmail.com>
3905
3906 * desktop.el (desktop--select-frame):
d85c4d50 3907 Try harder to reuse existing frames.
d58d31fb 3908
53ff3e77
SM
39092013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3912 (edebug-eval): Use backtrace-eval.
3913 (edebug--display, edebug--recursive-edit): Don't let-bind the
3914 edebug-outer-* vars that keep track of variables we locally let-bind.
3915 (edebug-outside-excursion): Don't restore outside values of locally
3916 let-bound vars.
3917 (edebug--display): Use user-error.
3918 (cl-lexical-debug, cl-debug-env): Remove.
3919
045f7a53
JB
39202013-07-26 Juanma Barranquero <lekktu@gmail.com>
3921
3922 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3923 are restored to be sure that they are visible before deleting any
3924 remaining ones.
3925
59070b32
MM
39262013-07-26 Matthias Meulien <orontee@gmail.com>
3927
742a3501
XF
3928 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3929 vc-print-root-log. (Bug#14948)
59070b32 3930
b1fb3596
RS
39312013-07-26 Richard Stallman <rms@gnu.org>
3932
3933 Add aliases for encrypting mail.
3934 * epa.el (epa-mail-aliases): New option.
3935 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3936 Bind inhibit-read-only so read-only text doesn't ruin everything.
3937 (epa-mail-default-recipients): New subroutine broken out.
3938 Handle epa-mail-aliases.
3939
56ea7291
SM
39402013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 Add support for lexical variables to the debugger's `e' command.
3943 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3944 vars, except for debugger-outer-match-data.
3945 (debugger-frame-number): Move check for "on a function call" from
3946 callers into it. Add `skip-base' argument.
3947 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3948 (debugger-env-macro): Only reset the state stored in non-variables,
3949 i.e. current-buffer and match-data.
3950 (debugger-eval-expression): Rewrite using backtrace-eval.
3951 * subr.el (internal--called-interactively-p--get-frame): Remove.
3952 (called-interactively-p):
3953 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3954 `base' arg of backtrace-frame instead.
3955
15ac32d5
GM
39562013-07-26 Glenn Morris <rgm@gnu.org>
3957
8358a09d
GM
3958 * align.el (align-regexp): Doc fix. (Bug#14857)
3959 (align-region): Explicit error if subexpression missing/does not match.
3960
15ac32d5
GM
3961 * simple.el (global-visual-line-mode):
3962 Do not duplicate the mode lighter. (Bug#14858)
3963
f47ad11b
MR
39642013-07-25 Martin Rudalics <rudalics@gmx.at>
3965
3966 * window.el (display-buffer): In display-buffer bind
3967 split-window-keep-point to t, bug#14829.
3968
02530987
JB
39692013-07-25 Juanma Barranquero <lekktu@gmail.com>
3970
3971 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3972 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3973 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3974 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3975 Change accordingly.
f63ebeb5
JB
3976 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3977 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3978
6ccb9cab 39792013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3980
6ccb9cab 3981 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3982
cb3a56d2
JB
39832013-07-25 Juanma Barranquero <lekktu@gmail.com>
3984
3985 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3986 parameter to modify-frame-parameters if the value has not changed;
3987 this is a workaround for bug#14949.
3988 (desktop--make-frame): On cl-delete-if call, check parameter name,
3989 not full parameter.
3990
7aa7fff0
XF
39912013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3992
3993 * vc/vc.el (vc-ignore): New function.
3994
3995 * vc/vc-svn.el (vc-svn-ignore): New function.
3996
3997 * vc/vc-hg.el (vc-hg-ignore): New function.
3998
3999 * vc/vc-git.el (vc-git-ignore): New function.
4000
4001 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4002 (vc-dir-ignore): New function.
4003
4004 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4005 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4006
4007 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4008
4009 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4010
889acc5c
JB
40112013-07-24 Juanma Barranquero <lekktu@gmail.com>
4012
4013 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4014 (desktop-restore-frames): Warn when deleting an existing frame failed.
4015
86c40970
GM
40162013-07-24 Glenn Morris <rgm@gnu.org>
4017
4018 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4019
d5d3c58a
MA
40202013-07-24 Michael Albinus <michael.albinus@gmx.de>
4021
4022 * filenotify.el (file-notify-supported-p):
4023 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4024 Remove functions.
4025
4026 * autorevert.el (auto-revert-use-notify):
4027 (auto-revert-notify-add-watch):
4028 * net/tramp.el (tramp-file-name-for-operation):
4029 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4030 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4031 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4032 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4033 Remove `file-notify-supported-p' entry.
4034
d100084b
GM
40352013-07-24 Glenn Morris <rgm@gnu.org>
4036
4037 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4038 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4039
ac93e56b
SM
40402013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4041
249eea30
SM
4042 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4043 checked with memq (bug#14935).
4044
ac93e56b
SM
4045 * files.el (revert-buffer-function): Use a non-nil default.
4046 (revert-buffer-preserve-modes): Declare var to
4047 provide access to the `preserve-modes' argument.
4048 (revert-buffer): Let-bind it.
4049 (revert-buffer--default): New function, extracted from revert-buffer.
4050
2cdeb903
SM
40512013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * lpr.el: Signal print errors more prominently.
4054 (print-region-function): Don't default to nil.
4055 (lpr-print-region): New function, extracted from print-region-1.
4056 Check lpr's return value and signal an error in case of problem.
4057 (print-region-1): Use it.
4058 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4059 versions instead.
4060 (ps-printer-name): Default to nil.
4061 (ps-printer-name-option): Default to lpr-printer-switch.
4062 (ps-print-region-function): Don't default to nil.
4063 (ps-postscript-code-directory): Simplify default.
4064 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4065 (ps-string-list, ps-eval-switch, ps-flatten-list)
4066 (ps-flatten-list-1): Remove.
4067 (ps-multibyte-buffer): Avoid setq.
4068 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4069 (print-region-function, ps-print-region-function): Don't set them here.
4070
73600831
XF
40712013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4072
0e55c076
XF
4073 * ido.el (ido-fractionp):
4074 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4075 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4076 (ido-max-directory-size, ido-max-dir-file-cache)
4077 (ido-decorations): Doc fix.
4078
73600831
XF
4079 * ansi-color.el: Fix old URL.
4080
3d012865
MM
40812013-07-23 Michael R. Mauger <michael@mauger.com>
4082
e903c210 4083 * progmodes/sql.el: Version 3.3
3d012865
MM
4084 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4085 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4086 (sql-interactive-remove-continuation-prompt): Rewrite, use
4087 functions above. Fix continuation prompt and complete output line
4088 handling.
4089 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4090 redirected output buffer.
4091 (sql-mode): Restore deleted code (Bug#13591).
4092
da77a2e2
JB
40932013-07-23 Juanma Barranquero <lekktu@gmail.com>
4094
4095 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4096
80ff0c71
MA
40972013-07-23 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4100
4101 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4102 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4103 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4104
b61d71e4
JB
41052013-07-23 Juanma Barranquero <lekktu@gmail.com>
4106
4107 * desktop.el (desktop-clear): Simplify; remove useless checks
4108 against invalid buffer names.
4109 (desktop-list*): Use cl-list*.
4110 (desktop-buffer-info, desktop-create-buffer): Simplify.
4111
c3512092
LL
41122013-07-23 Leo Liu <sdl.web@gmail.com>
4113
4114 * bookmark.el (bookmark-make-record): Restore NAME as a default
4115 value. (Bug#14933)
4116
0ac26976
SM
41172013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4118
7d22ce18
SM
4119 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4120 extracted from autoload--insert-text.
4121 (autoload--insert-text): Remove.
4122 (autoload--print-cookie-text): New function, extracted from
4123 autoload--insert-cookie-text.
4124 (autoload--insert-cookie-text): Remove.
4125 (autoload-generate-file-autoloads): Adjust calls accordingly.
4126
9b2607e8
SM
4127 * winner.el (winner-hook-installed-p): Remove.
4128 (winner-mode): Simplify accordingly.
4129
c43a8618
SM
4130 * subr.el (add-to-list): Fix compiler-macro when `append' is
4131 not constant. Don't use `cl-member' for the base case.
4132
0ac26976
SM
4133 * progmodes/subword.el: Fix boundary case (bug#13758).
4134 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4135 own group.
4136 (subword-backward-regexp): Make it a constant.
4137 (subword-forward-internal): Don't treat a trailing capital as the
4138 beginning of a word.
4139
6874724a
AR
41402013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4141
4142 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4143 global value of tabulated-list-revert-hook (bug#14930).
4144
70f1b5e8
JB
41452013-07-22 Juanma Barranquero <lekktu@gmail.com>
4146
a1c80d9d
JB
4147 * desktop.el: Require 'cl-lib.
4148 (desktop-before-saving-frames-functions): New hook.
4149 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4150 for frames being saved. Rename from desktop--save-minibuffer-frames.
4151 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4152 Do not save frames with non-nil `desktop-dont-save' parameter.
4153 Filter out deleted frames.
a1c80d9d
JB
4154 (desktop--find-frame): Use cl-find-if.
4155 (desktop--select-frame): Use cl-(first|second|third) to access values
4156 of desktop-mini.
4157 (desktop--make-frame): Use cl-delete-if.
4158 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4159 (desktop-restore-frames): Use cl-(first|second|third) to access values
4160 of desktop-mini. Look for visible frame at the end, not while
4161 restoring frames.
4162
70f1b5e8
JB
4163 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4164 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4165 Use string-match-p, looking-at-p (bug#14927).
4166
728dc3cc
JB
41672013-07-21 Juanma Barranquero <lekktu@gmail.com>
4168
56bc453c
JB
4169 * desktop.el (desktop-saved-frame-states):
4170 Rename from desktop--saved-states; all users changed.
4171 (desktop-save-frames): Rename from desktop--save-frames.
4172 Do not save state to desktop file.
4173 (desktop-save): Save desktop-saved-frame-states to desktop file
4174 and reset to nil.
4175 (desktop-restoring-frames-p): New function.
4176 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4177 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4178 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4179
728dc3cc
JB
4180 * desktop.el: Correctly restore iconified frames.
4181 (desktop--filter-iconified-position): New function.
4182 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4183
862f1c9c
GM
41842013-07-20 Glenn Morris <rgm@gnu.org>
4185
c4074c9f
GM
4186 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4187 Let `message' do the formatting.
4188 (def-gdb-preempt-display-buffer): Add explicit format.
4189
d828e5f9
GM
4190 * image-dired.el (image-dired-track-original-file):
4191 Use with-current-buffer.
4192 (image-dired-track-thumbnail): Use with-current-buffer.
4193 Avoid changing point of wrong window.
4194
862f1c9c
GM
4195 * image-dired.el (image-dired-track-original-file):
4196 Avoid changing point of wrong window. (Bug#14909)
4197
f0398ec1 41982013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4199
4200 * progmodes/gdb-mi.el (gdb-done-or-error):
4201 Guard against "%" in gdb output. (Bug#14127)
4202
1451928f
AS
42032013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4204
763a086d
JB
4205 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4206 (Bug#14826)
f7a03897 4207
1451928f
AS
4208 * international/mule.el (coding-system-iso-2022-flags): Fix last
4209 change.
4210
99107004
KH
42112013-07-20 Kenichi Handa <handa@gnu.org>
4212
763a086d
JB
4213 * international/mule.el (coding-system-iso-2022-flags):
4214 Add `8-bit-level-4'. (Bug#8522)
99107004 4215
48494e06
LMI
42162013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4217
8ba8eec5
LMI
4218 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4219 (bug#14815).
4220
dfbc66e3
LMI
4221 * net/eww.el (eww-process-text-input): Allow inputting when the
4222 point is at the start of the line, as the properties aren't
4223 front-sticky.
4224
48494e06
LMI
4225 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4226 degenerate widths.
4227
77c92cb9
RS
42282013-07-19 Richard Stallman <rms@gnu.org>
4229
aec7da77
RS
4230 * epa.el (epa-popup-info-window): Doc fix.
4231
77c92cb9
RS
4232 * subr.el (split-string): New arg TRIM.
4233
945c5bb1
JB
42342013-07-18 Juanma Barranquero <lekktu@gmail.com>
4235
4236 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4237 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4238
e06ec67f
MA
42392013-07-18 Michael Albinus <michael.albinus@gmx.de>
4240
c7064f05 4241 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4242 `file-notify-support'. Do not autoload. Adapt all uses.
4243 (file-notify-supported-p): New defun.
4244
c7064f05
JB
4245 * autorevert.el (auto-revert-use-notify):
4246 Use `file-notify-supported-p' instead of `file-notify-support'.
4247 Adapt docstring.
e06ec67f
MA
4248 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4249
4250 * net/tramp.el (tramp-file-name-for-operation):
4251 Add `file-notify-supported-p'.
4252
4253 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4254 New defun.
4255 (tramp-sh-file-name-handler-alist): Add it as handler for
4256 `file-notify-supported-p '.
4257
4258 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4259 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4260 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4261 Add `ignore' as handler for `file-notify-*' functions.
4262
5dc8a629
EZ
42632013-07-17 Eli Zaretskii <eliz@gnu.org>
4264
4265 * simple.el (line-move-partial, line-move): Don't start vscroll or
4266 scroll-up if the current line is not taller than the window.
4267 (Bug#14881)
4268
77aea2fb
DG
42692013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4270
4271 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4272 highlight question marks in the method names as strings.
ac72c08d
DG
4273 (ruby-block-beg-keywords): Inline.
4274 (ruby-font-lock-keyword-beg-re): Extract from
4275 `ruby-font-lock-keywords'.
77aea2fb 4276
18c26d81
JD
42772013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4278
4279 * frame.el (blink-cursor-blinks): New defcustom.
4280 (blink-cursor-blinks-done): New defvar.
4281 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4282 (blink-cursor-timer-function): Check if number of blinks has been
4283 done on X and NS.
4284 (blink-cursor-suspend, blink-cursor-check): New defuns.
4285
da48522e
GM
42862013-07-15 Glenn Morris <rgm@gnu.org>
4287
4288 * edmacro.el (edmacro-format-keys): Fix previous change.
4289
0463c1ef
PE
42902013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4291
4292 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4293 The hack didn't work outside English locales anyway.
4294
b43f6451
JB
42952013-07-15 Juanma Barranquero <lekktu@gmail.com>
4296
4297 * simple.el (define-alternatives): Rename from alternatives-define,
4298 per RMS' suggestion.
4299
b958c0ad
JB
43002013-07-14 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * desktop.el (desktop-restore-frames): Change default to t.
4303 (desktop-restore-in-current-display): Now offer more options.
4304 (desktop-restoring-reuses-frames): New customization option.
4305 (desktop--saved-states): Doc fix.
4306 (desktop-filter-parameters-alist): New variable, renamed and expanded
4307 from desktop--excluded-frame-parameters.
4308 (desktop--target-display): New variable.
4309 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4310 (desktop--filter-tty*, desktop--filter-*-color)
4311 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4312 (desktop--filter-save-desktop-parm)
4313 (desktop-restore-in-original-display-p): New functions.
4314 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4315 (desktop--save-minibuffer-frames): New function, inspired by a similar
4316 function from Martin Rudalics.
4317 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4318 (desktop--restore-in-this-display-p): Remove.
4319 (desktop--find-frame): Rename from desktop--find-frame-in-display
4320 and add predicate argument.
4321 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4322 (desktop--reuse-list): New variable.
4323 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4324 New functions.
4325 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4326
f6dd8b36
MA
43272013-07-14 Michael Albinus <michael.albinus@gmx.de>
4328
4329 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4330
2ce3c565
DG
43312013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4332
763a086d
JB
4333 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4334 Highlight conversion methods on Kernel.
2ce3c565 4335
2cdb7698
AM
43362013-07-13 Alan Mackenzie <acm@muc.de>
4337
4338 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4339 and comment it out. This out-commenting enables certain C++
4340 declarations to be parsed correctly.
4341
1a67b811
EZ
43422013-07-13 Eli Zaretskii <eliz@gnu.org>
4343
1b796d6b
EZ
4344 * international/mule.el (define-coding-system): Doc fix.
4345
1a67b811
EZ
4346 * simple.el (default-font-height): Don't call font-info if the
4347 frame's default font didn't change since the frame was created.
4348 (Bug#14838)
4349
58fbe886
LL
43502013-07-13 Leo Liu <sdl.web@gmail.com>
4351
4352 * ido.el (ido-read-file-name): Guard against non-symbol value.
4353
1f0480d4
FEG
43542013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4355
4356 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4357 in nested defuns.
4358
97ead0e5
LL
43592013-07-13 Leo Liu <sdl.web@gmail.com>
4360
4361 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4362 ido-set-matches call. (Bug#6852)
4363
0880a952
DG
43642013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4365
4366 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4367 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4368 Ruby 2.0.
4369 (ruby-font-lock-keywords): Distinguish calls to functions with
4370 module-like names from module references. Highlight character
4371 literals.
4372
a7d8babb
SDJ
43732013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4374
4375 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4376 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4377
acfcc8c5
JB
43782013-07-12 Juanma Barranquero <lekktu@gmail.com>
4379
4380 * desktop.el (desktop--v2s): Remove unused local variable.
4381 (desktop-save-buffer): Make defvar-local; adjust docstring.
4382 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4383 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4384
051f2775
AS
43852013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4386
4387 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4388
f24e7572
GM
43892013-07-12 Eli Zaretskii <eliz@gnu.org>
4390
4391 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4392 (Bug#14842)
4393
539a920c
GM
43942013-07-12 Glenn Morris <rgm@gnu.org>
4395
4396 * doc-view.el: Require cl-lib at runtime too.
4397 (doc-view-remove-if): Remove.
4398 (doc-view-search-next-match, doc-view-search-previous-match):
4399 Use cl-remove-if.
4400
4401 * edmacro.el: Require cl-lib at runtime too.
4402 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4403 (edmacro-mismatch, edmacro-subseq): Remove.
4404
4405 * shadowfile.el: Require cl-lib.
4406 (shadow-remove-if): Remove.
4407 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4408 Use cl-remove-if.
4409
4410 * wid-edit.el: Require cl-lib.
4411 (widget-choose): Use cl-remove-if.
4412 (widget-remove-if): Remove.
4413
4414 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4415 (ebrowse-delete-if-not): Remove.
4416 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4417 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4418 Use cl-delete-if-not.
4419
1048af7c
JB
44202013-07-12 Juanma Barranquero <lekktu@gmail.com>
4421
4422 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4423 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4424
6c0674ee
LL
44252013-07-12 Leo Liu <sdl.web@gmail.com>
4426
4427 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4428
a19b3c2d
GM
44292013-07-11 Glenn Morris <rgm@gnu.org>
4430
4582a01c
GM
4431 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4432 (edebug-gensym-index, edebug-gensym):
4433 Remove reimplementation of cl-gensym.
4434 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4435
4436 * thumbs.el: Require cl-lib at run-time too.
4437 (thumbs-gensym-counter, thumbs-gensym):
4438 Remove reimplementation of cl-gensym.
4439 (thumbs-temp-file): Use cl-gensym.
4440
a19b3c2d
GM
4441 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4442 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4443 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4444 (ert--union, ert--gensym-counter, ert--gensym-counter)
4445 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4446 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4447 (ert-make-test-unbound, ert--expand-should-1)
4448 (ert--expand-should, ert--should-error-handle-error)
4449 (should-error, ert--explain-equal-rec)
4450 (ert--plist-difference-explanation, ert-select-tests)
4451 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4452 Use cl-lib functions rather than reimplementations.
4453
88f6a933
MA
44542013-07-11 Michael Albinus <michael.albinus@gmx.de>
4455
4456 * net/tramp.el (tramp-methods): Extend docstring.
4457 (tramp-connection-timeout): New defcustom.
4458 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4459 (with-tramp-progress-reporter): Simplify.
4460 (tramp-process-actions): Improve messages.
4461
4462 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4463 * net/tramp-sh.el (tramp-maybe-open-connection):
4464 Use `tramp-connection-timeout'.
4465 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4466 (Bug#14808)
4467
a43d577e
LL
44682013-07-11 Leo Liu <sdl.web@gmail.com>
4469
4470 * ido.el (ido-read-file-name): Conform to the requirements of
4471 read-file-name. (Bug#11861)
4472 (ido-read-directory-name): Conform to the requirements of
4473 read-directory-name.
4474
d77974bf
JB
44752013-07-11 Juanma Barranquero <lekktu@gmail.com>
4476
4477 * subr.el (delay-warning): New function.
4478
35cb8a3e
EZ
44792013-07-10 Eli Zaretskii <eliz@gnu.org>
4480
4481 * simple.el (default-line-height): New function.
4482 (line-move-partial, line-move): Use it instead of computing the
4483 line height inline.
4484 (line-move-partial): Always compute ROWH. If the last line is
4485 partially-visible, but its text is completely visible, allow
4486 cursor to enter such a partially-visible line.
4487
525c5c77
MA
44882013-07-10 Michael Albinus <michael.albinus@gmx.de>
4489
4490 Improve error messages. (Bug#14808)
4491
4492 * net/tramp.el (tramp-current-connection): New defvar, moved from
4493 tramp-sh.el.
0ac26976 4494 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4495 needed anymore.
0ac26976
SM
4496 (tramp-error-with-buffer): Show message in minibuffer.
4497 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4498 (with-tramp-progress-reporter): Improve messages.
4499 (tramp-process-actions): Use progress reporter. Delete process in
4500 case of error. Improve messages.
4501
763a086d
JB
4502 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4503 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4504 (tramp-current-connection): Remove.
525c5c77
MA
4505 (tramp-maybe-open-connection): The car of
4506 `tramp-current-connection' are the first 3 slots of the vector.
4507
c7a4d368
TZ
45082013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4509
4510 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4511 inside continued strings.
4512
954b166e
PE
45132013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4514
4515 Timestamp fixes for undo (Bug#14824).
4516 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4517
56973319
LL
45182013-07-10 Leo Liu <sdl.web@gmail.com>
4519
4520 * files.el (require-final-newline): Allow safe local value.
4521 (Bug#14834)
4522
5550a72c
LL
45232013-07-09 Leo Liu <sdl.web@gmail.com>
4524
4525 * ido.el (ido-read-directory-name): Handle fallback.
4526 (ido-read-file-name): Update DIR to ido-current-directory.
4527 (Bug#1516)
c28b9050 4528 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4529
70c46b28
DG
45302013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4531
4532 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4533 "autoload". Remove "warn lower camel case" section, previously
4534 commented out. Highlight negation char. Do not highlight the
4535 target in singleton method definitions.
4536
0b64b838
SM
45372013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4538
7fd72e2c
SM
4539 * faces.el (tty-setup-hook): Declare the hook.
4540
0b64b838
SM
4541 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4542 and detect when a guard/pred depends on local vars (bug#14773).
4543 (pcase--u1): Adjust caller.
4544
ab49d60b
EZ
45452013-07-08 Eli Zaretskii <eliz@gnu.org>
4546
4547 * simple.el (line-move-partial, line-move): Account for
4548 line-spacing.
701d79aa
EZ
4549 (line-move-partial): Avoid setting vscroll when the last
4550 partially-visible line in window is of default height.
ab49d60b 4551
2d756ae0
LMI
45522013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4553
4554 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4555 been used a while.
4556
ed095bd7
JB
45572013-07-07 Juanma Barranquero <lekktu@gmail.com>
4558
4559 * subr.el (read-quoted-char): Remove unused local variable `char'.
4560
f1e6674b
MK
45612013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4562
584ee3fc
GM
4563 * ediff.el (ediff-version): Version update.
4564 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4565 (ediff-merge-with-ancestor-command, ediff-directories-command)
4566 (ediff-directories3-command, ediff-merge-directories-command)
4567 (ediff-merge-directories-with-ancestor-command): New functions.
4568 All are command-line interfaces to ediff: to facilitate calling
4569 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4570
4571 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4572 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4573
584ee3fc
GM
4574 * viper.el (viper-version): Version update.
4575 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4576
584ee3fc
GM
45772013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4580 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4581 (viper-intercept-ESC-key): Simplify.
4582 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4583 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4584 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4585 (viper-setup-ESC-to-escape): New functions.
4586 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4587 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4588
9aff9b38
EZ
45892013-07-07 Eli Zaretskii <eliz@gnu.org>
4590
5165d44a
JB
4591 * simple.el (default-font-height, window-screen-lines):
4592 New functions.
9aff9b38
EZ
4593 (line-move, line-move-partial): Use them instead of
4594 frame-char-height and window-text-height. This makes scrolling
4595 text smoother when the buffer's default face uses a font that is
4596 different from the frame's default font.
4597
1afb1d07
JD
45982013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4599
4600 * files.el (write-file): Do not display confirm dialog for NS,
4601 it does its own dialog, which can't be cancelled (Bug#14578).
4602
23de972a
EZ
46032013-07-06 Eli Zaretskii <eliz@gnu.org>
4604
4605 * simple.el (line-move-partial): Adjust the row returned by
4606 posn-at-point for the current window-vscroll. (Bug#14567)
4607
54a42486
MA
46082013-07-06 Michael Albinus <michael.albinus@gmx.de>
4609
4610 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4611 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4612 spaces.
4613
34ada5f4
MR
46142013-07-06 Martin Rudalics <rudalics@gmx.at>
4615
4616 * window.el (window-state-put-stale-windows): New variable.
4617 (window--state-put-2): Save list of windows without matching buffer.
4618 (window-state-put): Remove "bufferless" windows if possible.
4619
11e03d89
JB
46202013-07-06 Juanma Barranquero <lekktu@gmail.com>
4621
4622 * simple.el (alternatives-define): Remove leftover :group keyword.
4623 Tweak docstring.
4624
3504a4be
LL
46252013-07-06 Leo Liu <sdl.web@gmail.com>
4626
4627 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4628 (ido-enable-virtual-buffers): New variable.
4629 (ido-buffer-internal, ido-toggle-virtual-buffers)
4630 (ido-make-buffer-list): Use it.
4631 (ido-exhibit): Support turning on and off virtual buffers
4632 automatically.
4633
61e56e2c
JB
46342013-07-06 Juanma Barranquero <lekktu@gmail.com>
4635
4636 * simple.el (alternatives-define): New macro.
4637
321e1a9c
SM
46382013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * subr.el (read-quoted-char): Use read-key.
4641 (sit-for): Let read-event decode tty input (bug#14782).
4642
d610f6dd
SB
46432013-07-05 Stephen Berman <stephen.berman@gmx.net>
4644
4645 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4646 mode command and externally. Fix various related bugs.
4647 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4648 (todo-delete-file): New command.
4649 (todo-check-file): New function.
4650 (todo-show): Handle external deletion of the file we're trying to
4651 show (bug#14688). Replace called-interactively-p by an optional
4652 prefix argument to avoid problematic interaction with catch form
4653 when byte compiled (bug#14702).
4654 (todo-quit): Handle external deletion of the archive's todo file.
4655 Make sure the buffer that was visiting the archive file is still
4656 live before trying to bury it.
4657 (todo-category-completions): Handle external deletion of any
4658 category completion files.
4659 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4660 of todo files, in case of external deletion.
4661 (todo-add-file): Replace unnecessary setq by let-binding.
4662 (todo-find-archive): Check whether there are any archives.
4663 Replace unnecessary setq by let-binding.
4664 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4665 archive buffer whether or not the archive already exists.
4666 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4667 check if the archive is new; if it is, update list of archives.
4668 (todo-default-todo-file): Allow nil to be a valid value for when
4669 there are no todo files.
4670 (todo-reevaluate-default-file-defcustom): Use corrected definition
4671 of todo-default-todo-file.
4672 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4673 (todo-delete-category, todo-show-categories-table)
4674 (todo-category-number): Clarify comment.
4675 (todo-filter-items): Clarify documentation string.
4676 (todo-show-current-file, todo-display-as-todo-file)
4677 (todo-reset-and-enable-done-separator): Tweak documentation string.
4678 (todo-done-separator): Make separator length window-width, since
4679 bug#2749 is now fixed.
4680
ddbdfd6f
MA
46812013-07-05 Michael Albinus <michael.albinus@gmx.de>
4682
321e1a9c
SM
4683 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4684 Support both "gvfs-monitor-dir" and "inotifywait".
4685 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4686 `tramp-sh-file-notify-process-filter'.
4687 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4688 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4689
96eb829a
LL
46902013-07-05 Leo Liu <sdl.web@gmail.com>
4691
4692 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4693
cf13177e
YM
46942013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4695
4696 * frame.el (display-pixel-height, display-pixel-width)
4697 (display-mm-height, display-mm-width): Mention behavior on
4698 multi-monitor setups in docstrings.
4699 (w32-display-monitor-attributes-list): Declare function.
4700 (display-monitor-attributes-list): Use it.
4701
864c58ca
MA
47022013-07-04 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * filenotify.el: New package.
4705
4706 * autorevert.el (top): Require filenotify.el.
4707 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4708 instead.
4709 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4710 (auto-revert-notify-handler): Use `file-notify-*' functions.
4711
4712 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4713
321e1a9c
SM
4714 * net/tramp.el (tramp-file-name-for-operation):
4715 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4716
4717 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4718 for `file-notify-add-watch' and `file-notify-rm-watch'.
4719 (tramp-process-sentinel): Improve trace.
4720 (tramp-sh-handle-file-notify-add-watch)
4721 (tramp-sh-file-notify-process-filter)
4722 (tramp-sh-handle-file-notify-rm-watch)
4723 (tramp-get-remote-inotifywait): New defuns.
4724
96673afe
JL
47252013-07-03 Juri Linkov <juri@jurta.org>
4726
4727 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4728 call of `occur-read-primary-args' to interactive spec.
4729
4730 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4731 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4732
924494f4
MM
47332013-07-03 Matthias Meulien <orontee@gmail.com>
4734
4735 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4736 `Buffer-menu-multi-occur'. Add it to the menu.
4737 (Buffer-menu-mode): Document it in docstring.
4738 (Buffer-menu-multi-occur): New command. (Bug#14673)
4739
56f75efc
DG
47402013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4741
4742 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4743 keywords and built-ins.
4744
9b057d61
GM
47452013-07-03 Glenn Morris <rgm@gnu.org>
4746
208dee4d
GM
4747 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4748
9b057d61
GM
4749 Make info-xref checks case-sensitive by default
4750 * info.el (Info-find-node, Info-find-in-tag-table)
4751 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4752 Add option for exact case matching of nodes.
4753 * info-xref.el (info-xref): New custom group.
4754 (info-xref-case-fold): New option.
4755 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4756
e01aa29c
LL
47572013-07-03 Leo Liu <sdl.web@gmail.com>
4758
4759 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4760
3086ca2e
DG
47612013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4762
4763 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4764 middle of block statement initially, lower the depth. Remove
4765 FIXME comment, not longer valid. Remove middle of block statement
4766 detection, no need to do that anymore since we've been using
4767 `ruby-parse-region' here.
4768
a3b49114
JD
47692013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4770
4771 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4772
08e5c823 47732013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4774
4775 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4776
2addf922
JB
47772013-07-01 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4780 (desktop-restore-in-current-display): New customization option.
4781 (desktop--excluded-frame-parameters): Add `font'.
4782 (desktop--save-frames): Rename from desktop--save-windows.
4783 (desktop--restore-in-this-display-p): New function.
4784 (desktop--make-full-frame): Remove unwanted width/height from
4785 full(width|height) frames.
4786 (desktop--restore-frames): Rename from desktop--restore-windows.
4787 Obey desktop-restore-current-display. Do not delete old frames or
4788 select a new frame unless we were able to restore at least one frame.
4789
ef099a94
MN
47902013-06-30 Michal Nazarewicz <mina86@mina86.com>
4791
4792 * files.el (find-file-noselect): Simplify conditional expression.
4793
4794 * remember.el (remember-append-to-file):
4795 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4796
4797 Add `remember-notes' function to store random notes across Emacs
4798 restarts.
4799 * remember.el (remember-data-file): Add :set callback to affect
4800 notes buffer (if any).
4801 (remember-notes): New command.
4802 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4803 New defcustoms for the `remember-notes' function.
4804 (remember-notes-save-and-bury-buffer): New command.
4805 (remember-notes-mode-map): New variable.
4806 (remember-mode): New minor mode.
4807 (remember-notes--kill-buffer-query): New function.
4808 * startup.el (initial-buffer-choice): Add notes to custom type.
4809
0865d506
EZ
48102013-06-30 Eli Zaretskii <eliz@gnu.org>
4811
0ba54312
EZ
4812 * bindings.el (right-char, left-char): Don't call sit-for, this is
4813 no longer needed. Use arithmetic comparison only for numerical
4814 arguments.
4815
ef099a94
MN
4816 * international/mule-cmds.el (select-safe-coding-system):
4817 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4818
2fae38e5
LMI
48192013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4820
4821 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4822 progression on degenerate tables.
ef099a94 4823 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4824
a47cbd64
JB
48252013-06-30 Juanma Barranquero <lekktu@gmail.com>
4826
4827 Some fixes and improvements for desktop frame restoration.
4828 It is still experimental and disabled by default.
4829 * desktop.el (desktop--save-windows): Put the selected frame at
4830 the head of the list.
4831 (desktop--make-full-frame): New function.
4832 (desktop--restore-windows): Try to re-select the frame that was
4833 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4834 just show an error message and continue. Set up maximized frames
4835 so they have default non-maximized dimensions.
a47cbd64 4836
6dbafa30
DG
48372013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4838
ef099a94
MN
4839 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4840 Don't start heredoc inside a string or comment.
6dbafa30 4841
4c672a0f
EZ
48422013-06-29 Eli Zaretskii <eliz@gnu.org>
4843
4844 * bindings.el (visual-order-cursor-movement): New defcustom.
4845 (right-char, left-char): Provide visual-order cursor motion by
4846 calling move-point-visually. Update the doc strings.
4847
50960f36
KH
48482013-06-28 Kenichi Handa <handa@gnu.org>
4849
4850 * international/mule.el (define-coding-system): New coding system
4851 properties :inhibit-null-byte-detection,
4852 :inhibit-iso-escape-detection, and :prefer-utf-8.
4853 (set-buffer-file-coding-system): If :charset-list property of
4854 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4855 appropriate for setting.
4856
c1ea3abf
JB
4857 * international/mule-cmds.el (select-safe-coding-system):
4858 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4859 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4860
4861 * international/mule-conf.el (prefer-utf-8): New coding system.
4862 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4863 files.
4864
75dbaf9d
IK
48652013-06-28 Ivan Kanis <ivan@kanis.fr>
4866
eadb6068
IK
4867 * net/shr.el (shr-render-region): New function.
4868
75dbaf9d
IK
4869 * net/eww.el: Autoload `eww-browse-url'.
4870
9ea5cf9f
DG
48712013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4872
c1ea3abf
JB
4873 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4874 Adapt to `package-desc-version' being a list.
4875 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4876 archive element.
4877
39c0e36f
JB
48782013-06-27 Juanma Barranquero <lekktu@gmail.com>
4879
4880 New experimental feature to save&restore window and frame setup.
4881 * desktop.el (desktop-save-windows): New defcustom.
4882 (desktop--saved-states): New var.
4883 (desktop--excluded-frame-parameters): New defconst.
4884 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4885 (desktop--restore-windows, desktop--save-windows): New functions.
4886 (desktop-save): Call `desktop--save-windows'.
4887 (desktop-read): Call `desktop--restore-windows'.
4888
7f13406b
LMI
48892013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4890
ef099a94 4891 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4892
1e072639
SB
48932013-06-27 Stephen Berman <stephen.berman@gmx.net>
4894
4895 * info.el (Info-try-follow-nearest-node): Move search for footnote
4896 above search for node name to prevent missing a footnote (bug#14717).
4897
f3e2cbde
SB
48982013-06-27 Stephen Berman <stephen.berman@gmx.net>
4899
4900 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4901
99906aa0
LL
49022013-06-27 Leo Liu <sdl.web@gmail.com>
4903
4904 * net/eww.el (eww-read-bookmarks): Check file size.
4905
539f75f4
SM
49062013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4909 advice--pending if newdef is nil or an autoload (bug#13820).
4910 (advice-mapc): New function.
4911
843571cb
LMI
49122013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4913
4914 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4915 probably.
23a75d7f 4916 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4917 (eww-add-bookmark): New command.
4918 (eww-bookmark-mode): New mode and commands.
a285ce99 4919 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4920 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4921
f2136e1e
GM
49222013-06-26 Glenn Morris <rgm@gnu.org>
4923
eab35f39
GM
4924 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4925 (hfy-size): Handle ttys. (Bug#14668)
4926
f2136e1e
GM
4927 * info-xref.el: Update for Texinfo 5 change in *note format.
4928 (info-xref-node-re, info-xref-note-re): New constants.
4929 (info-xref-check-buffer): Use info-xref-note-re.
4930
a49ff80c
SM
49312013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4932
a343d218
SM
4933 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4934
a49ff80c
SM
4935 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4936 nil terminate the loop (bug#14718).
4937
8308f184
LMI
49382013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4939
4940 * net/eww.el: Rework history traversal. When going forward/back,
4941 put these actions into the history, too, so that they can be
4942 replayed.
26bf2b82 4943 (eww-render): Move the history reset to the correct buffer.
8308f184 4944
ec64c273
JL
49452013-06-25 Juri Linkov <juri@jurta.org>
4946
4947 * files-x.el (modify-dir-local-variable): Change the header comment
4948 in the file with directory local variables. (Bug#14692)
4949
e080a9d7
JL
4950 * files-x.el (read-file-local-variable-value): Add `default'.
4951 (Bug#14710)
4952
bfbc93a1
IK
49532013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4954
4955 * net/eww.el (eww-make-unique-file-name): Create a unique file
4956 name before saving to entering `y' accidentally asynchronously.
4957
49582013-06-25 Ivan Kanis <ivan@kanis.fr>
4959
4960 * net/eww.el (eww-download): New command and keystroke.
4961
16f74f10
LMI
49622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963
a49ff80c 4964 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4965
4966 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4967 be more consistent with Info and dired.
4968
4969 * net/eww.el (eww-mode-map): Ditto.
4970
12059709
SM
49712013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4974 packages from archives.
4975 (package-archive-contents): Change format; include obsolete packages.
4976 (package-desc): Use `dir' to mark builtin packages.
4977 (package--from-builtin): Set the `dir' field to `builtin'.
4978 (generated-autoload-file, version-control): Declare.
4979 (package-compute-transaction): Change first arg and return value to be
4980 lists of package-descs. Adjust to new package-archive-contents format.
4981 (package--add-to-archive-contents): Adjust to new
4982 package-archive-contents format.
4983 (package-download-transaction): Arg is now a list of package-descs.
4984 (package-install): If `pkg' is a package name, pass it as
4985 a requirement, so it is subject to the usual (e.g. disabled) checks.
4986 (describe-package): Accept package-desc as well.
4987 (describe-package-1): Describe a specific package-desc. Add links to
4988 other package-descs for the same package name.
4989 (package-menu-describe-package): Pass the actual package-desc.
4990 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4991 works correctly.
4992 (package-desc-status): New function.
4993 (package-menu--refresh): New function, extracted
4994 from package-menu--generate.
4995 (package-menu--generate): Use it.
4996 (package-delete): Update package-alist.
4997 (package-menu-execute): Don't call package-initialize.
4998
4999 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5000 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5001 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5002 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5003 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5004 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5005
8bbdea0f
MR
50062013-06-25 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (window--state-get-1): Workaround for bug#14527.
5009 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5010
e82b0991
LMI
50112013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5012
5013 * net/eww.el (eww-back-url): Implement the history by stashing all
5014 the data into a list.
d3f0f918 5015 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5016
c763842b
SM
50172013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5020 for values and use read--expression for expressions (bug#14710).
5021 (read-file-local-variable): Avoid setq.
5022 (read-file-local-variable-mode): Use minor-mode-list.
5023
bceff189
RW
50242013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5025
864c58ca 5026 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5027 for DOI URLs.
5028
45f431c6
RW
50292013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5030
864c58ca 5031 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5032 Update imenu-support when dialect changes.
5033
f42d8237
LL
50342013-06-25 Leo Liu <sdl.web@gmail.com>
5035
5036 * ido.el (ido-read-internal): Allow forward slash on windows.
5037
be549ce6
LMI
50382013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5039
5040 * net/eww.el (eww): Start of strings is \\`, not ^.
5041
71d4c19d
IK
50422013-06-24 Ivan Kanis <ivan@kanis.fr>
5043
5196f88a
IK
5044 * net/shr.el (shr-browse-url): Fix interactive spec.
5045
71d4c19d
IK
5046 * net/eww.el (eww): Add a trailing slash to domain names.
5047
ae36ca55
JB
50482013-06-24 Juanma Barranquero <lekktu@gmail.com>
5049
5050 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5051
0ebd92a3
LMI
50522013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5053
bdaa086b
LMI
5054 * net/shr.el (shr-browse-url): Use an external browser if given a
5055 prefix.
5056
c763842b 5057 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5058
b89fc156
IK
50592013-06-24 Ivan Kanis <ivan@kanis.fr>
5060
5061 * net/eww.el (eww): Work more correctly for file: URLs.
5062 (eww-detect-charset): Allow quoted charsets.
5063 (eww-yank-page-url): New command and keystroke.
5064
18eb4bca
DU
50652013-06-24 Daiki Ueno <ueno@gnu.org>
5066
5067 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5068 file name of gpg executable.
5069 (epg-context-program): New function.
5070 (epg-context-home-directory): New function.
5071 (epg-context-set-program): New function.
5072 (epg-context-set-home-directory): New function.
5073 (epg--start): Use `epg-context-program' instead of
5074 'epg-gpg-program'.
5075 (epg--list-keys-1): Likewise.
5076
6c6268c8
LL
50772013-06-24 Leo Liu <sdl.web@gmail.com>
5078
5079 * ido.el (ido-read-internal): Fix bug#14620.
5080
5e400cb3
JB
50812013-06-23 Juanma Barranquero <lekktu@gmail.com>
5082
5083 * faces.el (face-documentation): Simplify.
5084 (read-face-attribute, tty-find-type, x-resolve-font-name):
5085 Use `string-match-p'.
5086 (list-faces-display): Use `string-match-p'. Simplify.
5087 (face-spec-recalc): Check face to avoid face alias loops.
5088 (read-color): Use `string-match-p' and non-capturing parenthesis.
5089
f3f9606c
LMI
50902013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091
5092 * net/shr.el (shr-rescale-image): Use the new
5093 :max-width/:max-height functionality.
5094
a3ca09b9
IK
50952013-06-23 Ivan Kanis <ivan@kanis.fr>
5096
5097 * net/eww.el (eww-search-prefix): New variable.
5098 (eww): Use it.
f865b474
IK
5099 (eww-external-browser): New variable.
5100 (eww-mode-map): New keystroke.
5101 (eww-browse-with-external-browser): New command.
a3ca09b9 5102
e854cfc7
IK
5103 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5104
18bb9e21
JB
51052013-06-23 Juanma Barranquero <lekktu@gmail.com>
5106
5107 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5108 Don't skip aligning the next header field when padding is 0;
5109 otherwise, field width is not respected unless the title is as
5110 wide as the field.
5111
5b165ade
SM
51122013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/package.el (package-el-version): Remove.
5115 (package-process-define-package): Fix inf-loop.
5116 (package-install): Allow symbols as arguments again.
5117
12adebe9
DG
51182013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5119
5120 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5121 add some more keyword-like methods.
5122 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5123
388573ee
JB
51242013-06-22 Juanma Barranquero <lekktu@gmail.com>
5125
5126 * bs.el (bs-buffer-show-mark): Make defvar-local.
5127 (bs-mode): Use setq-local.
5128
5129 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5130 (emacs-lock--try-unlocking): Make defvar-local.
5131
4582a01c 51322013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5133
2663dd23
GM
5134 * play/cookie1.el (cookie-apropos): Minor simplification.
5135
3d94f3ad
GM
5136 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5137
f72e2fdb
DG
51382013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5139
5140 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5141 `regexp-opt', it breaks the build during dumping.
5142
73eab938
DG
51432013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5144
c763842b
SM
5145 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5146 Highlight keyword-like methods on Kernel and Module with
73eab938 5147 font-lock-builtin-face.
5cf8176d
DG
5148 (auto-mode-alist): Consolidate different entries into one regexp
5149 and add more *file-s.
73eab938 5150
d26255f6
SB
51512013-06-21 Stephen Berman <stephen.berman@gmx.net>
5152
5153 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5154
5155 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5156 (diary-entry): Use it in the action of this button type instead of
5157 diary-goto-entry.
5158
5159 * calendar/todo-mode.el: New version.
5160 (todo-add-category): Append new category to end of file and give
5161 it the highest number, instead of putting it at the beginning and
5162 giving it 0. Incorporate noninteractive functionality.
5163 (todo-forward-category): Adapt to 1-based category numbering.
5164 Allow skipping over archived categories.
5165 (todo-backward-category): Derive from todo-forward-category.
5166 (todo-backward-item, todo-forward-item): Make noninteractive and
5167 delegate interactive part to new commands. Make sensitive to done items.
5168 (todo-categories): Make value an alist of category names and
5169 vectors of item counts.
5170 (todo-category-beg): Make a defconst.
5171 (todo-category-number): Use 1 instead of 0 as initial value.
5172 (todo-category-select): Make sensitive to overlays, optional item
5173 highlighting and done items.
5174 (todo-delete-item): Make sensitive to overlays and marked and done items.
5175 (todo-edit-item): Make sensitive to overlays and editing of
5176 date/time header optional. Add format checks.
5177 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5178 no-op if point is not on an item. Advertise using todo-edit-quit.
5179 (todo-edit-mode): Make sensitive to new format, font-locking, and
5180 multiple todo files.
5181 (todo-insert-item, todo-insert-item-here): Derive from
5182 todo-basic-insert-item and extend functionality.
5183 (todo-item-end, todo-item-start): Make sensitive to done items.
5184 (todo-item-string): Don't return text properties. Restore point.
5185 (todo-jump-to-category): Make sensitive to multiple todo files and
5186 todo archives. Use extended category completion.
5187 (todo-lower-item, todo-raise-item): Rename to *-priority and
5188 derive from todo-set-item-priority.
5189 (todo-mode): Derive from special-mode. Make sensitive to new
5190 format, font-locking and multiple todo files. Make read-only.
5191 (todo-mode-map): Don't suppress digit keys, so they can supply
5192 prefix arguments. Add many new key bindings.
5193 (todo-prefix): Insert as an overlay instead of file text.
5194 Change semantics from diary date expression to purely visual mark.
5195 (todo-print): Rename to todo-print-buffer. Make buffer display
5196 features printable. Remove option to restrict number of items
5197 printed. Add option to print to file.
5198 (todo-print-function): Rename to todo-print-buffer-function.
5199 (todo-quit): Extend to handle exiting new todo modes.
5200 (todo-remove-item): Make sensitive to overlays.
5201 (todo-save): Extend to buffers of filtered items.
5202 (todo-show): Make sensitive to done items, multiple todo files and
5203 new todo modes. Offer to convert legacy todo file before creating
5204 first new todo file.
5205 (todo-show-priorities): Rename to todo-top-priorities.
5206 Change semantics of value 0.
5207 (todo-top-priorities): Rename to todo-filter-top-priorities,
5208 derive from todo-filter-items and extend functionality.
5209 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5210 and extend functionality to other types of filtered items.
5211 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5212 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5213 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5214 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5215 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5216 (todo-edit-mode-hook, todo-entry-prefix-function)
5217 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5218 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5219 (todo-initials, todo-insert-threshold, todo-item-string-start)
5220 (todo-line-string, todo-menu, todo-mode-hook)
5221 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5222 (todo-print-priorities, todo-remove-separator)
5223 (todo-save-top-priorities-too, todo-string-count-lines)
5224 (todo-string-multiline-p, todo-time-string-format)
5225 (todo-tmp-buffer-name): Remove.
5226 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5227 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5228 (todo-edit-category-diary-inclusion)
5229 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5230 (todo-edit-file, todo-edit-item-date-day)
5231 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5232 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5233 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5234 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5235 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5236 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5237 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5238 (todo-filter-top-priorities-multifile, todo-find-archive)
5239 (todo-find-filtered-items-file, todo-go-to-source-item)
5240 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5241 (todo-jump-to-archive-category, todo-lower-category)
5242 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5243 (todo-move-category, todo-move-item, todo-next-button)
5244 (todo-next-item, todo-padded-string, todo-powerset)
5245 (todo-previous-button, todo-previous-item)
5246 (todo-print-buffer-to-file, todo-raise-category)
5247 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5248 (todo-set-category-number, todo-set-item-priority)
5249 (todo-set-top-priorities-in-category)
5250 (todo-set-top-priorities-in-file, todo-show-categories-table)
5251 (todo-sort-categories-alphabetically-or-numerically)
5252 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5253 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5254 (todo-toggle-item-header, todo-toggle-item-highlighting)
5255 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5256 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5257 (todo-unarchive-items, todo-unmark-category): New commands.
5258 (todo-absolute-file-name, todo-add-to-buffer-list)
5259 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5260 (todo-basic-insert-item, todo-category-completions)
5261 (todo-category-number, todo-category-string-matcher-1)
5262 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5263 (todo-check-format, todo-clear-matches)
5264 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5265 (todo-current-category, todo-date-string-matcher)
5266 (todo-define-insertion-command, todo-diary-expired-matcher)
5267 (todo-diary-goto-entry, todo-diary-item-p)
5268 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5269 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5270 (todo-done-item-section-p, todo-done-separator)
5271 (todo-done-string-matcher, todo-files, todo-filter-items)
5272 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5273 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5274 (todo-insert-category-line, todo-insert-item-from-calendar)
5275 (todo-insert-sort-button, todo-insert-with-overlays)
5276 (todo-insertion-command-name, todo-insertion-key-bindings)
5277 (todo-label-to-key, todo-longest-category-name-length)
5278 (todo-make-categories-list, todo-mode-external-set)
5279 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5280 (todo-modes-set-3, todo-multiple-filter-files)
5281 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5282 (todo-read-category, todo-read-date, todo-read-dayname)
5283 (todo-read-file-name, todo-read-time)
5284 (todo-reevaluate-category-completions-files-defcustom)
5285 (todo-reevaluate-default-file-defcustom)
5286 (todo-reevaluate-filelist-defcustoms)
5287 (todo-reevaluate-filter-files-defcustom)
5288 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5289 (todo-reset-done-separator, todo-reset-done-separator-string)
5290 (todo-reset-done-string, todo-reset-global-current-todo-file)
5291 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5292 (todo-reset-prefix, todo-set-categories)
5293 (todo-set-date-from-calendar, todo-set-show-current-file)
5294 (todo-set-top-priorities, todo-short-file-name)
5295 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5296 (todo-total-item-counts, todo-update-buffer-list)
5297 (todo-update-categories-display, todo-update-categories-sexp)
5298 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5299 New functions.
5300 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5301 New major modes.
5302 (todo-categories, todo-display, todo-edit, todo-faces)
5303 (todo-filtered): New defgroups.
5304 (todo-archived-only, todo-button, todo-category-string, todo-date)
5305 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5306 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5307 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5308 (todo-add-item-if-new-category, todo-always-add-time-string)
5309 (todo-categories-align, todo-categories-archived-label)
5310 (todo-categories-category-label, todo-categories-diary-label)
5311 (todo-categories-done-label, todo-categories-number-separator)
5312 (todo-categories-todo-label, todo-categories-totals-label)
5313 (todo-category-completions-files, todo-completion-ignore-case)
5314 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5315 (todo-done-separator-string, todo-done-string)
5316 (todo-files-function, todo-filter-done-items, todo-filter-files)
5317 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5318 (todo-initial-category, todo-initial-file, todo-item-mark)
5319 (todo-legacy-date-time-regexp, todo-mode-line-function)
5320 (todo-nondiary-marker, todo-number-prefix)
5321 (todo-print-buffer-function, todo-show-current-file)
5322 (todo-show-done-only, todo-show-first, todo-show-with-done)
5323 (todo-skip-archived-categories, todo-top-priorities-overrides)
5324 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5325 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5326 New defcustoms.
5327 (todo-category-done, todo-date-pattern, todo-date-string-start)
5328 (todo-diary-items-buffer, todo-done-string-start)
5329 (todo-filtered-items-buffer, todo-item-start)
5330 (todo-month-abbrev-array, todo-month-name-array)
5331 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5332 (todo-top-priorities-buffer): New defconsts.
5333 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5334 (todo-categories-with-marks, todo-category-string-face)
5335 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5336 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5337 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5338 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5339 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5340 (todo-font-lock-keywords, todo-global-current-todo-file)
5341 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5342 (todo-insertion-commands-args)
5343 (todo-insertion-commands-args-genlist)
5344 (todo-insertion-commands-names, todo-insertion-map)
5345 (todo-key-bindings-t, todo-key-bindings-t+a)
5346 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5347 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5348 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5349 (todo-visited): New variables.
5350
cad5d1cb
GM
53512013-06-21 Glenn Morris <rgm@gnu.org>
5352
5353 * play/cookie1.el (cookie-apropos): Add optional display argument.
5354 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5355 (psychoanalyze-pinhead): Use cookie-doctor.
5356
9e277302
JB
53572013-06-21 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * emacs-lisp/package.el (tar-get-file-descriptor)
5360 (tar--extract): Declare.
5361
c5b0993e
EW
53622013-06-21 Eduard Wiebe <usenet@pusto.de>
5363
5364 Extend flymake's warning predicate to be a function (bug#14217).
5365 * progmodes/flymake.el (flymake-warning-predicate): New.
5366 (flymake-parse-line): Use it.
5367 (flymake-warning-re): Make obsolete alias to
5368 `flymake-warning-predicate'.
5369
a7d2d465
SM
53702013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5373 (package-obsolete-list): Remove.
5374 (package-activate): Remove min-version argument. Add `force' argument.
5375 Adjust to new package-alist format.
5376 (package-mark-obsolete): Remove.
5377 (package-unpack): Force reload of the package's autoloads.
5378 (package-installed-p): Check builtins if the installed package is not
5379 recent enough.
5380 (package-initialize): Don't reset package-obsolete-list.
5381 Don't specify which package version to activate.
5382 (package-process-define-package, describe-package-1)
5383 (package-menu--generate): Adjust to new package-alist format.
5384
cedf5c9d
JB
53852013-06-21 Juanma Barranquero <lekktu@gmail.com>
5386
5387 * allout-widgets.el (allout-widgets-mode-off)
5388 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5389 (allout-widgets-post-command-business)
5390 (allout-widgets-after-copy-or-kill-function)
5391 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5392 (allout-decorate-item-and-context)
5393 (allout-graphics-modification-handler): Fix typos in docstrings.
5394 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5395
5396 * cmuscheme.el (scheme-start-file): Doc fix.
5397 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5398 (scheme-input-filter): Use `string-match-p'.
5399
5400 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5401
5402 * dired-x.el: Use Dired consistently in docstrings.
5403
5404 * dired.el: Use Dired consistently in docstrings.
5405 (dired-readin, dired-mode): Use `setq-local'.
5406 (dired-switches-alist): Make defvar-local.
5407 (dired-buffers-for-dir): Use `zerop'.
5408 (dired-safe-switches-p, dired-switches-escape-p)
5409 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5410 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5411 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5412 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5413 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5414 (dired-toggle-marks, dired-mark-files-containing-regexp)
5415 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5416 (dired-flag-auto-save-files, dired-flag-backup-files):
5417 Use `looking-at-p'.
5418 (dired-mark-files-regexp, dired-build-subdir-alist):
5419 Use `string-match-p', `looking-at-p'.
5420
5421 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5422 (direct-print-region-helper): Use `string-match-p'.
5423
aed838b5
LL
54242013-06-21 Leo Liu <sdl.web@gmail.com>
5425
cedf5c9d
JB
5426 * comint.el (comint-redirect-results-list-from-process):
5427 Fix infinite loop.
aed838b5 5428
d80a808f
LMI
54292013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5430
5431 * net/eww.el (eww-update-header-line-format): Quote % characters.
5432
e7a526e3
GM
54332013-06-21 Glenn Morris <rgm@gnu.org>
5434
5435 * play/cookie1.el (cookie): New custom group.
5436 (cookie-file): New option.
5437 (cookie-check-file): New function.
5438 (cookie): Make it interactive. Make start and end messages optional.
5439 Interactively, display the result. Default to cookie-file.
5440 (cookie-insert): Default to cookie-file.
5441 (cookie-snarf): Make start and end messages optional.
5442 Default to cookie-file. Use with-temp-buffer.
5443 (cookie-read): Rename from read-cookie.
5444 Make start and end messages optional. Default to cookie-file.
5445 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5446 Do not autoload it.
e7a526e3
GM
5447 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5448 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5449
62efb35e
LL
54502013-06-21 Leo Liu <sdl.web@gmail.com>
5451
5452 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5453
21e3f963
GM
54542013-06-21 Glenn Morris <rgm@gnu.org>
5455
5456 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5457
fd846ab4
SM
54582013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5459 Daniel Hackney <dan@haxney.org>
5460
5461 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5462 Consolidate the single-file vs tarball code.
5463 (package-desc-suffix): New function.
5464 (package-desc-full-name): Don't bother inlining it.
5465 (package-load-descriptor): Return the new package-desc.
5466 (package-mark-obsolete): Remove unused arg `package'.
5467 (package-unpack): Make it work for single files as well.
5468 Make it update package-alist.
5469 (package--make-autoloads-and-stuff): Rename from
5470 package--make-autoloads-and-compile. Don't compile any more.
5471 (package--compile): New function.
5472 (package-generate-description-file): New function, extracted from
5473 package-unpack-single.
5474 (package-unpack-single): Remove.
5475 (package--with-work-buffer): Add indentation and debugging info.
5476 (package-download-single): Remove.
5477 (package-install-from-archive): Rename from package-download-tar, make
5478 it take a pkg-desc, and make it work for single files as well.
5479 (package-download-transaction): Simplify.
5480 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5481 external tar program.
5482 (package-install-from-buffer): Remove `pkg-desc' argument.
5483 Use package-tar-file-info for tar-mode buffers.
5484 (package-install-file): Simplify accordingly.
5485 (package-archive-base): Change to take a pkg-desc.
5486 * tar-mode.el (tar--check-descriptor): New function, extracted from
5487 tar-get-descriptor.
5488 (tar-get-descriptor): Use it.
5489 (tar-get-file-descriptor): New function.
5490 (tar--extract): New function, extracted from tar-extract.
5491 (tar--extract): Use it.
5492 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5493 case the summary uses non-ascii. Adjust to new calling convention of
5494 package-tar-file-info.
5495
b7deae5e
LL
54962013-06-21 Leo Liu <sdl.web@gmail.com>
5497
fd846ab4
SM
5498 * comint.el (comint-redirect-results-list-from-process):
5499 Fix random delay. (Bug#14681)
b7deae5e 5500
7a65a0b2
JB
55012013-06-21 Juanma Barranquero <lekktu@gmail.com>
5502
5503 * profiler.el (profiler-format-number): Use log, not log10.
5504
1493c2af
JB
55052013-06-20 Juanma Barranquero <lekktu@gmail.com>
5506
5507 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5508
aff6371e
SM
55092013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5512 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5513 yet available.
5514 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5515 (AUTOGENEL): ... here.
5516 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5517 (cl--defsubst-expand): Use it.
5518
89561f72
PE
55192013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5520
5521 * subr.el (log10): Move here from C code, and declare as obsolete.
5522 All uses of (log10 X) replaced with (log X 10).
5523
47199123
JB
55242013-06-20 Juanma Barranquero <lekktu@gmail.com>
5525
5526 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5527 Declare with `defvar-local'.
5528 (tabulated-list-use-header-line, tabulated-list-entries)
5529 (tabulated-list-padding, tabulated-list-printer)
5530 (tabulated-list-sort-key): Declare with `defvar-local'.
5531 (tabulated-list-init-header, tabulated-list-print-fake-header):
5532 Use `setq-local'.
5533
4a172eab
MA
55342013-06-20 Michael Albinus <michael.albinus@gmx.de>
5535
47199123
JB
5536 * arc-mode.el (archive-mode): Add `archive-write-file' to
5537 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5538
5fc0acc0
JB
55392013-06-20 Juanma Barranquero <lekktu@gmail.com>
5540
d5b27848
JB
5541 * cus-edit.el (custom-commands): Fix typos.
5542 (custom-display): Fix tooltip text.
5543 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5544 Fix typos in docstrings.
5545 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5546 (custom-unlispify-menu-entry, custom-magic-value-create)
5547 (custom-add-see-also, custom-group-value-create): Use ?\s.
5548 (custom-guess-type, customize-apropos, editable-field)
5549 (custom-face-value-create): Use `string-match-p'.
5550 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5551
5552 * custom.el (custom-load-symbol): Use `string-match-p'.
5553
a5c581d8
JB
5554 * ansi-color.el: Convert to lexical binding.
5555 (ansi-colors): Fix URL.
5556 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5557 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5558 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5559
970ad972
G
55602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5561
5562 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5563
5564 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5565
55662013-06-19 Tom Tromey <tromey@redhat.com>
5567
5568 * net/eww.el (eww-top-url): Remove.
5569 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5570 (eww-render): Set new variables. Don't set eww-top-url.
5571 (eww-handle-link): Handle "prev", "home", and "contents".
5572 Downcase the rel text.
5573 (eww-top-url): Choose best top URL.
5574
55752013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5576
5577 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5578 relying in widget.el. Using widget.el leads to too many
5579 user interface inconsistencies.
5580 (eww-self-insert): Implement entering commands in text fields.
5581 (eww-process-text-input): New function to make text input field editing
5582 work.
5583 (eww-submit): Rewrite to use the new-style form methods.
5584 (eww-select-display): Display the correct selected item.
5585 (eww-change-select): Implement changing the select value.
5586 (eww-toggle-checkbox): Implement radio/checkboxes.
5587 (eww-update-field): Fix compilation error.
5588 (eww-tag-textarea): Implement <textarea>.
5589
5590 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5591 we don't shadow mode-specific bindings.
5592
5593 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5594 nothing to push.
5595
5596 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5597
4582a01c 55982013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5599
5600 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5601
15b263dc
MA
56022013-06-19 Michael Albinus <michael.albinus@gmx.de>
5603
5604 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5605 not needed.
5606
5607 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5608
8f5297f7
LMI
56092013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5610
5611 * net/browse-url.el (browse-url-browser-function):
5612 `eww-browse-url' has the right calling signature, `eww' does not.
5613
011c4552
GM
56142013-06-19 Glenn Morris <rgm@gnu.org>
5615
2285bd27
GM
5616 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5617 Only eval autoloaded macros.
5618 (byte-compile-autoload): Only give the macro warning for macros.
5619
1d653303
GM
5620 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5621 (ps-underlined-faces): Declare.
5622
bdd779ec
GM
5623 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5624 (speedbar-add-supported-extension): Declare.
5625
011c4552
GM
5626 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5627 Don't include a date stamp in the header of the generated file;
5628 it leads to needless differences between output files.
5629
e59dfb0e
MA
56302013-06-19 Michael Albinus <michael.albinus@gmx.de>
5631
c763842b
SM
5632 * net/secrets.el (secrets-struct-secret-content-type):
5633 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5634 Some servers do not offer introspection.
e59dfb0e 5635
102626e2
SM
56362013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * electric.el (electric-pair-mode): Improve interaction with
5639 electric-layout-mode.
5640 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5641 (electric-pair-syntax): Use text-mode-syntax-table in comments
5642 and strings.
5643 (electric-pair--insert): New function.
5644 (electric-pair-post-self-insert-function): Use it and
5645 electric--after-char-pos.
5646
ad528125
LL
56472013-06-19 Leo Liu <sdl.web@gmail.com>
5648
5649 * progmodes/octave.el (octave-help): Fix regexp.
5650
924d6997
G
56512013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5652
5653 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5654 (shr-table-horizontal-line): Allow nil as a value, and change the
5655 default.
5656 (shr-insert-table-ruler): Respect the nil value.
5657
56582013-06-18 Tom Tromey <tromey@barimba>
5659
5660 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5661 New defvars.
5662 (eww-open-file): New defun.
5663 (eww-render): Initialize new variables.
5664 (eww-display-html): Handle "link" and "a".
5665 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5666 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5667 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5668 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5669 New defuns.
924d6997 5670
d1bbba4f
DG
56712013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5672
5673 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5674 Distinguish ternary operator tokens from slash symbol and slash
5675 char literal.
5676
14dd22d2
JB
56772013-06-18 Juanma Barranquero <lekktu@gmail.com>
5678
5679 Convert symbol prettification into minor mode and global minor mode.
5680
5681 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5682 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5683 (prettify-symbols--keywords): Rename from
5684 `prog-prettify-symbols-alist' and make a local defvar.
5685 (prettify-symbols--compose-symbol): Rename from
5686 `prog--prettify-font-lock-compose-symbol'.
5687 (prettify-symbols--make-keywords): Rename from
5688 `prog-prettify-font-lock-symbols-keywords' and simplify.
5689 (prog-prettify-install): Remove.
5690 (prettify-symbols-mode): New minor mode, based on
5691 `prog-prettify-install'.
5692 (turn-on-prettify-symbols-mode): New function.
5693 (global-prettify-symbols-mode): New globalized minor mode.
5694
5695 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5696 * progmodes/cfengine.el (cfengine3-mode):
5697 * progmodes/perl-mode.el (perl-mode): Don't call
5698 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5699
292c880c
JL
57002013-06-18 Juri Linkov <juri@jurta.org>
5701
5702 * files-x.el (modify-file-local-variable-message): New function.
5703 (modify-file-local-variable)
5704 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5705 and call `modify-file-local-variable-message' when it's non-nil.
5706 (add-file-local-variable, delete-file-local-variable)
5707 (add-file-local-variable-prop-line)
5708 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5709 and use it. (Bug#9820)
5710
0950aa27
JL
57112013-06-18 Juri Linkov <juri@jurta.org>
5712
5713 * emulation/vi.el (vi-shell-op):
5714 * emulation/vip.el (vip-execute-com, ex-command):
5715 * emulation/viper-cmd.el (viper-exec-bang):
5716 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5717 the call of `shell-command-on-region'. (Bug#14637)
5718
5719 * simple.el (shell-command-on-region): Doc fix.
5720
8fbcca16
SM
57212013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5724 (bug#14633).
5725
dd7426ea
GM
57262013-06-18 Glenn Morris <rgm@gnu.org>
5727
4ba54f7d
GM
5728 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5729
dd7426ea
GM
5730 * newcomment.el (comment-search-forward, comment-search-backward):
5731 Doc fix. (Bug#14376)
5732
58aa805b
JB
57332013-06-18 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5736 (buffer-face-mode-invoke): Doc fix.
5737
9a08a617
MM
57382013-06-18 Matthias Meulien <orontee@gmail.com>
5739
5740 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5741 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5742
f2f426ca
GM
57432013-06-18 Glenn Morris <rgm@gnu.org>
5744
9445f99b
GM
5745 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5746 Replace obsolete function generic-make-keywords with its expansion.
5747
e0df2d14
GM
5748 * progmodes/python.el (ffap-alist): Declare.
5749
f2f426ca
GM
5750 * textmodes/reftex.el (bibtex-mode-map): Declare.
5751
f7f9a720
SM
57522013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5755 (package-unpack, package-unpack-single): Return the pkg-dir.
5756 (package-download-transaction): Use it to update package-alist.
5757
57ff04e0
LMI
57582013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5759
5760 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5761 possible choice.
5762
c048c022
JL
57632013-06-17 Juri Linkov <juri@jurta.org>
5764
5765 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5766
b5bcaee5
DG
57672013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5768
a020afb9
JB
5769 * emacs-lisp/package.el (package-load-descriptor):
5770 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5771 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5772
551e07e5
JB
57732013-06-17 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * startup.el (command-line): Expand package name returned by
5776 `package--description-file' (bug#14639).
5777
d363bffb
DG
57782013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5779
5780 * emacs-lisp/package.el (package-load-descriptor): Do not call
5781 `emacs-lisp-mode', just use its syntax table.
5782
f612933b
JB
57832013-06-17 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5786 `font-lock-extra-managed-props' if any prettifying keyword is added.
5787 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5788 (prog-mode): Use `setq-local'.
5789
db3b7db5
SM
57902013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * international/characters.el (standard-case-table): Set syntax of ?»
5793 and ?« to punctuation.
5794
f3d674df
JB
57952013-06-16 Juanma Barranquero <lekktu@gmail.com>
5796
5797 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5798 Save relevant match data before calling `syntax-ppss' (bug#14595).
5799
31489a32
JL
58002013-06-15 Juri Linkov <juri@jurta.org>
5801
5802 * files-x.el (modify-file-local-variable-prop-line): Add local
5803 variables to the end of the existing comment on the first line.
5804 Use `file-auto-mode-skip' to skip interpreter magic line,
5805 and also skip XML declaration.
5806
66bd25ab
SM
58072013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * startup.el (package--builtin-versions): New var.
5810 (package-subdirectory-regexp): Remove.
5811 (package--description-file): Hard code its value instead.
5812
5813 * emacs-lisp/package.el: Don't activate packages older than builtin.
5814 (package-obsolete-list): Rename from package-obsolete-alist, and make
5815 it into a simple list of package-desc.
5816 (package-strip-version): Remove.
5817 (package-built-in-p): Use package--builtin-versions.
5818 (package-mark-obsolete): Simplify.
5819 (package-process-define-package): Mark it obsolete if older than the
5820 builtin version.
5821 (package-handle-response): Use line-end-position.
5822 (package-read-archive-contents, package--download-one-archive):
5823 Simplify.
5824 (package--add-to-archive-contents): Skip if older than the builtin or
5825 installed version.
5826 (package-menu-describe-package): Fix last change.
5827 (package-list-unversioned): New var.
5828 (package-menu--generate): Use it.
5829
5830 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5831 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5832 (autoload-builtin-package-versions): New variable.
5833 (autoload-generate-file-autoloads): Use them.
5834 Remove the list of autoloaded functions/macros from the
5835 (autoload...) comments.
5836
5837 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5838
9583ec36
EZ
58392013-06-15 Eli Zaretskii <eliz@gnu.org>
5840
5841 * simple.el (line-move-partial): Don't jump to the next screen
5842 line as soon as it becomes visible. Instead, continue enlarging
5843 the vscroll until the portion of a tall screen line that's left on
5844 display is about the height of the frame's default font.
5845 (Bug#14567)
5846
f0100d8a
GM
58472013-06-15 Glenn Morris <rgm@gnu.org>
5848
b86a85ca
GM
5849 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5850 compilation-error-regexp-alist void, or local while let-bound.
5851
f0100d8a
GM
5852 * progmodes/make-mode.el (makefile-mode-syntax-table):
5853 Treat "=" as punctuation. (Bug#14614)
5854
05e7ce90
JB
58552013-06-15 Juanma Barranquero <lekktu@gmail.com>
5856
5857 * help-fns.el (describe-variable):
5858 Add extra line for permanent-local variables.
5859
12e5e86e
SH
58602013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5861
5862 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5863 Add export, import, library. (Bug#9164)
5864 (library): Set indent function.
5865
230dcbaf
GM
58662013-06-14 Glenn Morris <rgm@gnu.org>
5867
5868 * term/xterm.el (xterm--query):
5869 Stop after first matching handler. (Bug#14615)
5870
e36b2d20 58712013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5872
5873 Add support for dired in saveplace.
5874 * dired.el (dired-initial-position-hook): New variable.
5875 (dired-initial-position): Call hook to place cursor position.
5876 * saveplace.el (save-place-to-alist): Add dired position.
5877 (save-place-dired-hook): New function.
5878
0b31660d
SM
58792013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5880
bf1e6ae8
SM
5881 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5882 through a symbol rather than letrec.
5883
1b8dff23
SM
5884 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5885 (package-desc): Add `dir' field.
5886 (package-desc-full-name): New function.
5887 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5888 (package-maybe-load-descriptor): Remove.
5889 (package-load-all-descriptors): Just call package-load-descriptor.
5890 (package--disabled-p): New function.
5891 (package-desc-vers, package-desc-doc): Remove aliases.
5892 (package--dir): Remove function.
5893 (package-activate): Check if a package is disabled.
5894 (package-process-define-package): New function, extracted from
5895 define-package.
5896 (define-package): Turn into a place holder.
5897 (package-unpack-single, package-tar-file-info):
5898 Use package--description-file.
5899 (package-compute-transaction): Use package--disabled-p.
5900 (package-download-transaction): Don't call
5901 package-maybe-load-descriptor since they're all loaded anyway.
5902 (package-install): Change argument to be a pkg-desc.
5903 (package-delete): Use a single pkg-desc argument.
5904 (describe-package-1): Use package-desc-dir instead of package--dir.
5905 Use package-desc property instead of package-symbol.
5906 (package-install-button-action): Adjust accordingly.
5907 (package--push): Rewrite.
5908 (package-menu--print-info): Adjust accordingly. Change the ID format
5909 to be a pkg-desc.
5910 (package-menu-describe-package, package-menu-get-status)
5911 (package-menu--find-upgrades, package-menu-mark-upgrades)
5912 (package-menu-execute, package-menu--name-predicate):
5913 Adjust accordingly.
5914 * startup.el (package--description-file): New function.
5915 (command-line): Use it.
5916 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5917 Use package-desc-version.
5918
0b31660d
SM
5919 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5920 (byte-compile-preprocess): Use it.
5921 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5922 can't quite recognize.
5923 (byte-compile-add-to-list): Remove.
5924 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5925 (cconv-closure-convert): Add assertion.
5926
5927 * emacs-lisp/map-ynp.el: Use lexical-binding.
5928 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5929 Factor out some repeated code.
5930
de0503df
SM
59312013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * subr.el (with-eval-after-load): New macro.
5934 (eval-after-load): Allow form to be a function.
5935 take advantage of lexical-binding.
5936 (do-after-load-evaluation): Use dolist and adjust to new format.
5937 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5938
bc5c8c5a
JL
59392013-06-13 Juri Linkov <juri@jurta.org>
5940
5941 * replace.el (perform-replace): Display "symbol " and other search
5942 modes from `isearch-message-prefix' in the *Help* buffer.
5943
5944 * isearch.el (isearch-query-replace): Add " symbol" and other
5945 possible search modes from `isearch-message-prefix' to the prompt.
5946 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5947 when reading a regexp to collect.
5948
a22289f7
JL
59492013-06-13 Juri Linkov <juri@jurta.org>
5950
5951 * isearch.el (word-search-regexp): Match whitespace if the search
5952 string begins or ends in whitespace. The LAX arg is applied to
5953 both ends of the search string. Use `regexp-quote' and explicit
5954 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5955 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5956 boundaries are replaced with symbol boundaries, and characters
5957 between symbols match non-word non-symbol syntax. (Bug#14602)
5958
cb89acab
JL
59592013-06-13 Juri Linkov <juri@jurta.org>
5960
5961 * isearch.el (isearch-del-char): Don't exceed the length of
5962 `isearch-string' by the prefix arg. (Bug#14563)
5963
6e8cfc81
JL
59642013-06-13 Juri Linkov <juri@jurta.org>
5965
5966 * isearch.el (isearch-yank-word, isearch-yank-line)
5967 (isearch-char-by-name, isearch-quote-char)
5968 (isearch-printing-char, isearch-process-search-char):
5969 Add optional count prefix arg. (Bug#14563)
5970
5971 * international/isearch-x.el
5972 (isearch-process-search-multibyte-characters):
5973 Add optional count prefix arg.
5974
c23d55f4
VS
59752013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5978 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5979 lexical-binding.
5980
59812013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5982
5983 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5984
ba947bc4
GM
59852013-06-13 Glenn Morris <rgm@gnu.org>
5986
8baeb37a
GM
5987 * startup.el (tty-handle-args):
5988 Don't just discard "--" and anything after. (Bug#14608)
5989
ba947bc4
GM
5990 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5991
9abefce4
MA
59922013-06-13 Michael Albinus <michael.albinus@gmx.de>
5993
5994 Implement changes in Secret Service API. Make it backward compatible.
5995 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5996 (secrets-create-item): Use it. Prefix properties with interface.
5997
5755011f
MH
59982013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5999
6000 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6001 (term-emulate-terminal): Respect term-suppress-hard-newline.
6002
1261d2da
S
60032013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6004
6005 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6006 Only remove a `thumb-file' overlay. (Bug#14548)
6007
868490bb
GJ
60082013-06-12 Grégoire Jadi <daimrod@gmail.com>
6009
6010 * mail/reporter.el (reporter-submit-bug-report):
6011 Handle missing package-name. (Bug#14600)
6012
79d7167f
TH
60132013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6014
6015 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6016 (reftex-citation-prompt, reftex-default-bibliography)
6017 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6018 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6019 (reftex-bib-sort-author, reftex-bib-sort-year)
6020 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6021 (reftex-extract-bib-entries-from-thebibliography)
6022 (reftex-get-bibkey-default, reftex-get-bib-names)
6023 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6024 (reftex-format-bib-entry, reftex-parse-bibitem)
6025 (reftex-format-bibitem, reftex-do-citation)
6026 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6027 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6028 (reftex-insert-bib-matches, reftex-format-citation)
6029 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6030 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6031 existing comments into docstrings.
6032
5f9dbd7a
XF
60332013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6034
6035 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6036
94df41ab
AS
60372013-06-12 Andreas Schwab <schwab@suse.de>
6038
6039 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6040 for auto-save files.
6041
a7f3fecc
GM
60422013-06-12 Glenn Morris <rgm@gnu.org>
6043
001809f6
GM
6044 * ido.el (ido-delete-ignored-files): Remove.
6045 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6046 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6047
834b5ded
EL
60482013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6049
08c73ed2
EL
6050 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6051
834b5ded
EL
6052 * ido.el (ido-delete-ignored-files): New function,
6053 split from ido-make-file-list-1.
6054 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6055 (ido-make-file-list-1): Use ido-delete-ignored-files.
6056
daabf15a
LL
60572013-06-12 Leo Liu <sdl.web@gmail.com>
6058
6059 * progmodes/octave.el (inferior-octave-startup)
6060 (inferior-octave-completion-table)
6061 (inferior-octave-track-window-width-change)
6062 (octave-eldoc-function-signatures, octave-help)
6063 (octave-find-definition): Use single quoted strings.
6064 (inferior-octave-startup-args): Change default value.
6065 (inferior-octave-startup): Do not hard code "-i" and
6066 "--no-line-editing".
6067 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6068 (inferior-octave-directory-tracker): Use it.
6069 (octave-goto-function-definition): Robustify.
6070 (octave-help): Support highlighting operators in 'See also'.
6071 (octave-find-definition): Find subfunctions only in Octave mode.
6072
cf4e5178
SM
60732013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * help-fns.el (help-fns--compiler-macro): If the handler function is
6076 named, then put a link to it.
6077 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6078 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6079 (cl-typep): Use it.
6080 (cl-eval-when): Simplify debug spec.
6081 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6082 compiler-macro function instead of setting `compiler-macro-file'.
6083
99c81280 60842013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6085
6086 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6087 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6088
f56be016
SM
60892013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6090 Daniel Hackney <dan@haxney.org>
6091
6092 First part of Daniel Hackney's patch to package.el.
6093 * emacs-lisp/package.el: Use defstruct.
6094 (package-desc): New, main struct.
6095 (package--bi-desc, package--ac-desc): New structs, used to describe the
6096 format in external files.
6097 (package-desc-vers): Replace with package-desc-version accessor.
6098 (package-desc-doc): Replace with package-desc-summary accessor.
6099 (package-activate-1): Remove `package' arg since the pkg-vec now
6100 includes the name.
6101 (define-package): Use package-desc-from-define.
6102 (package-unpack-single): Change file-name arg to be a symbol.
6103 (package--add-to-archive-contents): Use package-desc-create and new
6104 accessor functions to package--ac-desc.
6105 (package-buffer-info, package-tar-file-info): Return a package-desc.
6106 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6107 arg to be a package-desc.
6108 (package-install-file): Adjust accordingly. Use \' to match EOS.
6109 (package--from-builtin): New function.
6110 (describe-package-1, package-menu--generate): Use it.
6111 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6112 (package-generate-autoloads): Idem and return the name of the file.
6113 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6114 Change pkg-info arg to be a package-desc.
6115 Use package-make-ac-desc.
6116 (package-upload-file): Use \' to match EOS.
6117 * finder.el (finder-compile-keywords): Use package-make-builtin.
6118
31119d63
SM
61192013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6120
931a2762
SM
6121 * vc/vc.el (vc-deduce-fileset): Change error message.
6122 (vc-read-backend): New function.
6123 (vc-next-action): Use it.
6124
5a3eb0c6
SM
6125 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6126
e3eb1bb7
SM
6127 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6128 (prolog-font-lock-keywords): Use regexp-opt instead.
6129 Don't manually highlight strings.
6130 (prolog-mode-variables): Simplify comment-start-skip.
6131 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6132
31119d63
SM
6133 * emacs-lisp/generic.el (generic--normalise-comments)
6134 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6135 (generic-mode-set-comments): Use them.
6136 (generic-bracket-support): Use setq-local.
6137 (generic-make-keywords-list): Declare obsolete.
6138
7de135d0
GM
61392013-06-11 Glenn Morris <rgm@gnu.org>
6140
6141 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6142 Prettify after setting font-lock-defaults. (Bug#14574)
6143
fa6bc6fd
JB
61442013-06-11 Juanma Barranquero <lekktu@gmail.com>
6145
6146 * replace.el (query-replace, occur-read-regexp-defaults-function)
6147 (replace-search):
6148 * subr.el (declare-function, number-sequence, local-set-key)
6149 (substitute-key-definition, locate-user-emacs-file)
6150 (with-silent-modifications, split-string, eval-after-load):
6151 Fix typos, remove unneeded backslashes and reflow some docstrings.
6152
cf1f9b9a
SM
61532013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6156 default for Elisp files.
6157
56602a4b
GM
61582013-06-11 Glenn Morris <rgm@gnu.org>
6159
6160 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6161 although define-derived-mode was doing this anyway. (Bug#14583)
6162
30ae0b2c
JB
61632013-06-10 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6166 Fix make-variable-buffer-local call to refer to the correct variable.
6167
fa472906
AG
61682013-06-10 Aidan Gauland <aidalgol@amuri.net>
6169
6170 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6171 (eshell-visual-subcommands, eshell-visual-options):
6172 Add summary line to docstrings. Add cross-references.
fa472906 6173
ff4871b9
GM
61742013-06-10 Glenn Morris <rgm@gnu.org>
6175
6176 * epa.el (epa-read-file-name): New function. (Bug#14510)
6177 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6178
04fcf1b0
AG
61792013-06-09 Aidan Gauland <aidalgol@amuri.net>
6180
6181 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6182 output redirection to be ignored with visual commands.
6183
88b00caa
AG
61842013-06-09 Aidan Gauland <aidalgol@amuri.net>
6185
6186 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6187 (eshell-term-initialize): Move long lambda to separate function
6188 eshell-visual-command-p.
e7b41c4c
JB
6189 * eshell/em-dirs.el (eshell-dirs-initialise):
6190 * eshell/em-script.el (eshell-script-initialize):
6191 Add missing #' to lambda.
88b00caa 6192
fda74125
LL
61932013-06-08 Leo Liu <sdl.web@gmail.com>
6194
6195 * progmodes/octave.el (octave-add-log-current-defun): New function.
6196 (octave-mode): Set add-log-current-defun-function.
6197 (octave-goto-function-definition): Do not move point if not found.
6198 (octave-find-definition): Enhance to try subfunctions first.
6199
467f3b33
GM
62002013-06-08 Glenn Morris <rgm@gnu.org>
6201
6202 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6203 (byte-compile-backward-char, byte-compile-backward-word):
6204 Improve previous change, to handle non-explicit nil.
6205
544badc3
SM
62062013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6209 (smie--opener/closer-at-point): New function.
6210 (smie--matching-block-data): Use it. Don't match from right after an
6211 opener or right before a closer. Obey smie-blink-matching-inners.
6212 Don't signal a mismatch for repeated inners like "switch..case..case".
6213
a175bf33
LL
62142013-06-07 Leo Liu <sdl.web@gmail.com>
6215
6216 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6217 to t. (Bug#14303)
ce8209d4
LL
6218 (octave-function-header-regexp): Fix. (Bug#14570)
6219 (octave-help-mode-finish-hook, octave-help-mode-finish):
6220 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6221
6222 * newcomment.el (comment-search-backward): Revert last change.
6223 (Bug#14434)
6224
6225 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6226
a822acff
EZ
62272013-06-07 Eli Zaretskii <eliz@gnu.org>
6228
6229 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6230 through xargs, to avoid failure due to MS-Windows limitations on
6231 command-line length.
6232
961166f5
GM
62332013-06-06 Glenn Morris <rgm@gnu.org>
6234
d0341459
GM
6235 * font-lock.el (lisp-font-lock-keywords-2):
6236 Treat user-error like error.
6237
961166f5
GM
6238 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6239 (byte-compile-backward-char, byte-compile-backward-word):
6240 Handle explicit nil arguments. (Bug#14565)
6241
80fa505f
AM
62422013-06-05 Alan Mackenzie <acm@muc.de>
6243
6244 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6245 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6246 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6247 (Bug#9706)
80fa505f 6248
fccdc796
SM
62492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * autorevert.el (auto-revert-notify-handler): Use memq.
6252 Hide assertion failure.
6253
6254 * skeleton.el: Use cl-lib.
6255 (skeleton-further-elements): Use defvar-local.
6256 (skeleton-insert): Use cl-progv.
6257
9bfff84b
TZ
62582013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6259
6260 * progmodes/prog-mode.el (prog-prettify-symbols)
6261 (prog-prettify-install): Update docstrings.
6262
55577e7c
SM
62632013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * simple.el: Move all the prog-mode code to prog-mode.el.
6266 * progmodes/prog-mode.el: New file.
6267 * loadup.el: Add prog-mode.el.
6268
8fc57765
TZ
62692013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6270
6271 * simple.el (prog-prettify-symbols): Add version.
6272 (prog-prettify-install): Add convenience function to prettify symbols.
6273
6274 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6275 (perl--augmented-font-lock-keywords-1)
6276 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6277 variables and use it.
6278
6279 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6280 (cfengine3-mode): Remove unneeded variable and use it.
6281
6282 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6283 (lisp--augmented-font-lock-keywords-1)
6284 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6285 Remove unneeded variables and use it.
6286
650645d5 62872013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6288
6289 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6290 to point when opening the connection. (Bug#14380)
28f5da6d 6291
781b4af6
SM
62922013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * subr.el (load-history-regexp, load-history-filename-element)
6295 (eval-after-load, after-load-functions, do-after-load-evaluation)
6296 (eval-next-after-load, display-delayed-warnings)
6297 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6298 definition of save-match-data.
6299 (overriding-local-map): Remove accidental obsolescence declaration.
6300
6301 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6302
3ca0d0b4
TZ
63032013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6304
6305 Generalize symbol prettify support to prog-mode and implement it
6306 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6307 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6308 (prog--prettify-font-lock-compose-symbol)
6309 (prog-prettify-font-lock-symbols-keywords): New variables and
6310 functions to support symbol prettification.
6311 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6312 (lisp--augmented-font-lock-keywords-1)
6313 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6314 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6315 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6316 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6317 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6318 * progmodes/perl-mode.el (perl-prettify-symbols)
6319 (perl--font-lock-compose-symbol)
6320 (perl--font-lock-symbols-keywords): Move to prog-mode.
6321 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6322 (perl-font-lock-keywords-1)
6323 (perl-font-lock-keywords-2): Remove explicit prettify support.
6324 (perl--augmented-font-lock-keywords)
6325 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6326 (perl--augmented-font-lock-keywords-2, perl-mode):
6327 Implement prettify support.
3ca0d0b4 6328
976cb066
LL
63292013-06-05 Leo Liu <sdl.web@gmail.com>
6330
6331 Re-implement smie matching block highlight using
6332 show-paren-data-function. (Bug#14395)
6333 * emacs-lisp/smie.el (smie-matching-block-highlight)
6334 (smie--highlight-matching-block-overlay)
6335 (smie--highlight-matching-block-lastpos)
6336 (smie-highlight-matching-block)
6337 (smie-highlight-matching-block-mode): Remove.
6338 (smie--matching-block-data-cache): New variable.
6339 (smie--matching-block-data): New function.
6340 (smie-setup): Use smie--matching-block-data for
6341 show-paren-data-function.
6342
6343 * progmodes/octave.el (octave-mode-menu): Fix.
6344 (octave-find-definition): Skip garbage lines.
6345
208d0342
SM
63462013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 Fix compilation error with simultaneous dynamic+lexical scoping.
6349 Add warning when a defvar appears after the first let-binding.
6350 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6351 (byte-compile-close-variables): Initialize it.
6352 (byte-compile--declare-var): New function.
6353 (byte-compile-file-form-defvar)
6354 (byte-compile-file-form-define-abbrev-table)
6355 (byte-compile-file-form-custom-declare-variable): Use it.
6356 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6357 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6358 (byte-compile-bind): Handle dynamic bindings that shadow
6359 lexical bindings.
6360 (byte-compile-unbind): Make arg non-optional.
6361 (byte-compile-let): Simplify.
6362 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6363 (cconv--analyse-function, cconv-analyse-form): Populate it.
6364 Protect byte-compile-bound-variables to limit the scope of defvars.
6365 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6366 Remove unneeded rule for `declare'.
6367
6368 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6369 so as to avoid depending on cl-adjoin at run-time.
6370 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6371
6372 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6373 (macroexp--warn-and-return): Use it.
6374
2587b005
LL
63752013-06-05 Leo Liu <sdl.web@gmail.com>
6376
6377 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6378
f1da3c88
LL
63792013-06-04 Leo Liu <sdl.web@gmail.com>
6380
6381 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6382 (compilation-auto-jump): Suppress the "Mark set" message to give
6383 way to exit message.
6384
3caa391f
AM
63852013-06-04 Alan Mackenzie <acm@muc.de>
6386
6387 Remove faulty optimisation from indentation calculation.
6388 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6389 search limit based on 2000 characters back from indent-point.
6390
068922a2
TH
63912013-06-03 Tassilo Horn <tsdh@gnu.org>
6392
6393 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6394
1f8fdd53
SM
63952013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6396
bbcc4d97
SM
6397 * emacs-lisp/lisp.el: Use lexical-binding.
6398 (lisp--local-variables-1, lisp--local-variables): New functions.
6399 (lisp--local-variables-completion-table): New var.
208d0342 6400 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6401
1f8fdd53
SM
6402 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6403 eagerly (bug#14422).
6404
c9628c79
MA
64052013-06-03 Michael Albinus <michael.albinus@gmx.de>
6406
6407 * autorevert.el (auto-revert-notify-enabled)
6408 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6409 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6410 (auto-revert-notify-handler): Handle also gfilenotify.
6411
e7b41c4c 6412 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6413 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6414 Remove.
c9628c79 6415
e5e4a942
JL
64162013-06-03 Juri Linkov <juri@jurta.org>
6417
6418 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6419 `M-s h .'. (Bug#14427)
6420
6421 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6422 command `hi-lock-face-symbol-at-point'.
6423 (hi-lock-face-symbol-at-point): New command.
6424 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6425 (hi-lock-menu): Add `highlight-symbol-at-point'.
6426 (hi-lock-mode): Doc fix.
6427
6428 * isearch.el (isearch-forward-symbol-at-point): New command.
6429 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6430 (isearch-highlight-regexp): Add a regexp which matches
6431 words/symbols for word/symbol mode.
6432
6433 * subr.el (find-tag-default-bounds): New function with the body
6434 mostly moved from `find-tag-default'.
6435 (find-tag-default): Move most code to `find-tag-default-bounds',
6436 call it and apply `buffer-substring-no-properties' afterwards.
6437
26b3353a
TH
64382013-06-03 Tassilo Horn <tsdh@gnu.org>
6439
781b4af6
SM
6440 * eshell/em-term.el (eshell-term-initialize):
6441 Use `cl-intersection' rather than `intersection'.
26b3353a 6442
51b60f53
XF
64432013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6444
fe054b63 6445 * vc/log-view.el: Doc fix.
d3ffe17c 6446 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6447
a0eb10b3 64482013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6449
6450 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6451 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6452 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6453 (eieio-unbound, eieio-default-superclass)
6454 (eieio--define-field-accessors, method-static, method-before)
6455 (method-primary, method-after, method-num-lists)
6456 (method-generic-before, method-generic-primary)
6457 (method-generic-after, method-num-slots)
6458 (eieio-specialized-key-to-generic-key)
6459 (eieio--check-type, class-v, class-p)
6460 (eieio-class-name, define-obsolete-function-alias)
6461 (eieio-class-parents-fast, eieio-class-children-fast)
6462 (same-class-fast-p, class-constructor, generic-p)
6463 (generic-primary-only-p, generic-primary-only-one-p)
6464 (class-option-assoc, class-option, eieio-object-p)
6465 (class-abstract-p, class-method-invocation-order)
6466 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6467 (eieio-class-un-autoload, eieio-defclass)
6468 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6469 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6470 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6471 (eieio-defgeneric-reset-generic-form)
6472 (eieio-defgeneric-form-primary-only)
6473 (eieio-defgeneric-reset-generic-form-primary-only)
6474 (eieio-defgeneric-form-primary-only-one)
6475 (eieio-defgeneric-reset-generic-form-primary-only-one)
6476 (eieio-unbind-method-implementations)
6477 (eieio--defmethod, eieio--typep)
6478 (eieio-perform-slot-validation, eieio-validate-slot-value)
6479 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6480 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6481 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6482 (eieio-slot-name-index, eieio-class-slot-name-index)
6483 (eieio-set-defaults, eieio-initarg-to-attribute)
6484 (eieio-attribute-to-initarg, eieio-c3-candidate)
6485 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6486 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6487 (eieio-class-precedence-list, eieio-generic-call-methodname)
6488 (eieio-generic-call-arglst, eieio-generic-call-key)
6489 (eieio-generic-call-next-method-list)
6490 (eieio-pre-method-execution-functions, eieio-generic-call)
6491 (eieio-generic-call-primary-only, eieiomt-method-list)
6492 (eieiomt-optimizing-obarray, eieiomt-install)
6493 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6494 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6495 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6496 (defclass): Remove `eval-and-compile' from macro.
6497 (call-next-method, shared-initialize): Instead of using
6498 `scoped-class' variable, use new eieio--scoped-class, and
6499 eieio--with-scoped-class.
6500 (initialize-instance): Rename local variable 'scoped-class' to
6501 'this-class' to remove ambiguitity from old global.
6502
6503 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6504 eieio.el.
4f405069
JB
6505 (eieio--scoped-class-stack): New variable.
6506 (eieio--scoped-class): New fcn.
890f7890
DE
6507 (eieio--with-scoped-class): New scoping macro.
6508 (eieio-defclass): Use pushnew instead of add-to-list.
6509 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6510 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6511 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6512 `scoped-class' variable, use new eieio--scoped-class, and
6513 eieio--with-scoped-class.
6514
6515 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6516
d105b0e2
TH
65172013-06-02 Tassilo Horn <tsdh@gnu.org>
6518
6519 * eshell/esh-ext.el (eshell-external-command): Pass args to
6520 `eshell-find-interpreter'.
6521 (eshell-find-interpreter): Add new second parameter ARGS.
6522
6523 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6524 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6525
6526 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6527 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6528
6529 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6530 (eshell-visual-options): New defcustom.
6531 (eshell-escape-control-x): Adapt docstring.
6532 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6533 `eshell-visual-options' in addition to `eshell-visual-commands'.
6534 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6535
f46305c8 65362013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6537
6538 * progmodes/python.el (python-indent-block-enders): Add break,
6539 continue and raise keywords.
6540
d870df21
GM
65412013-06-01 Glenn Morris <rgm@gnu.org>
6542
9133b82e
GM
6543 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6544
02c992ec 6545 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6546 * progmodes/cc-cmds.el (delete-forward-p):
6547 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6548 * progmodes/cc-engine.el (buffer-syntactic-context):
6549 * progmodes/cc-fonts.el (face-property-instance):
6550 * progmodes/cc-mode.el (set-keymap-parents):
6551 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6552 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6553 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6554 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6555 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6556
31e7b090
GM
6557 * progmodes/cc-vars.el (other): Emacs has this widget since
6558 at least 21.1, so don't (re)define it.
6559
d870df21
GM
6560 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6561 Replace the obsolete alias pcomplete-arg-quote-list.
6562
c75c93c7
LL
65632013-06-01 Leo Liu <sdl.web@gmail.com>
6564
6565 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6566 punctuation syntax.
6567 (inferior-octave-minimal-columns)
6568 (inferior-octave-last-column-width): New variables.
6569 (inferior-octave-track-window-width-change): New function.
6570 (inferior-octave-mode): Adjust column width so that Octave output,
6571 for example from 'ls', can fit into the window nicely.
6572
973d1e12
DG
65732013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6574
6575 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6576 Highlight expansions inside regexp literals.
6577
0888c286
GM
65782013-05-31 Glenn Morris <rgm@gnu.org>
6579
e26aac1f
GM
6580 * obsolete/sym-comp.el (symbol-complete):
6581 Replace obsolete completion-annotate-function.
6582
0888c286
GM
6583 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6584
19bb8e62
DG
65852013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6586
781b4af6
SM
6587 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6588 New function, checks if point is inside a literal that allows
19bb8e62
DG
6589 expression expansion.
6590 (ruby-syntax-propertize-expansion): Use it.
6591 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6592 around the body.
6593
01dea85f
JL
65942013-05-30 Juri Linkov <juri@jurta.org>
6595
6596 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6597 to "\M-si".
6598 (isearch-invisible): New variable.
6599 (isearch-forward): Doc fix.
6600 (isearch-mode): Set `isearch-invisible'
6601 to the value of `search-invisible'.
6602 (isearch-toggle-case-fold): Doc fix.
6603 (isearch-toggle-invisible): New command.
6604 (isearch-query-replace): Let-bind `search-invisible'
6605 to the value of `isearch-invisible'.
6606 (isearch-search): Use `isearch-invisible' instead of
6607 `search-invisible'. Let-bind `search-invisible'
6608 to the value of `isearch-invisible'. (Bug#11378)
6609
ab1bdce5
JL
66102013-05-30 Juri Linkov <juri@jurta.org>
6611
6612 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6613 call when `query-flag' is nil and `search-invisible' is non-nil.
6614 (Bug#11746)
6615
d6d236e2
GM
66162013-05-30 Glenn Morris <rgm@gnu.org>
6617
8accd027
GM
6618 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6619
2a8bed1c
GM
6620 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6621 (cc-require): Suppress spurious "noruntime" warnings.
6622 (cc-require-when-compile): Use fboundp, for sake of compiler.
6623
d6d236e2
GM
6624 * progmodes/cc-mode.el: Move load of cc-vars before that of
6625 cc-langs (which in turn loads cc-vars), to quieten compiler.
6626
9190b35b
SM
66272013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * paren.el: Simplify the code.
6630 (show-paren-mode): Always start the timer.
6631 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6632 (show-paren--overlay, show-paren--overlay-1): Rename from
6633 show-paren-overlay and show-paren-overlay-1, and initialize to an
6634 overlay rather than to nil.
6635 (show-paren-function): Misc cleanup and simplifications.
6636
4f8d1cf6
SM
66372013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * paren.el (show-paren-data-function): New hook.
6640 (show-paren--default): New function, extracted from show-paren-function.
6641 (show-paren-function): Use show-paren-data-function.
6642
02d844b5
GM
66432013-05-30 Glenn Morris <rgm@gnu.org>
6644
d209d4a9
GM
6645 * ielm.el (ielm-map, ielm-complete-symbol):
6646 Use completion-at-point rather than obsolete functions.
6647 (inferior-emacs-lisp-mode): Doc fix.
6648 Set completion-at-point-functions, rather than
6649 comint-dynamic-complete-functions.
6650
2082faa6
GM
6651 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6652 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6653 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6654
dd8620de
GM
6655 * image.el (image-animated-p): Tweak definition.
6656
ceca95b1
GM
6657 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6658 (rlogin-process-connection-type): Tweak default. Add set-after.
6659 (rlogin-host): Doc fix.
6660 (rlogin): Tweak prompt.
6661 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6662
ee9f1acc
GM
6663 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6664 * progmodes/tcl.el (inferior-tcl-mode-map):
6665 Use completion-at-point rather than obsolete alias.
6666
45ce222e
GM
6667 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6668
02d844b5
GM
6669 * minibuffer.el (read-file-name-completion-ignore-case):
6670 Move before completion--in-region, for eager macro expansion.
6671
ac44d6c1
JL
66722013-05-29 Juri Linkov <juri@jurta.org>
6673
6674 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6675 for total count of matching lines. Add `global-matches' for total
6676 count of matches. Rename `matches' to `lines' for count of
6677 matching lines. Add `matches' for count of matches.
6678 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6679 to `prev-line' for line number of prev match endpt.
6680 Increment `matches' for every match. Print the number of
6681 matching lines in the header.
6682 (occur-context-lines): Rename `lines' to `curr-line'.
6683 Rename `prev-lines' to `prev-line'. (Bug#14017)
6684
3c9c9d38
JL
66852013-05-29 Juri Linkov <juri@jurta.org>
6686
6687 * replace.el (perform-replace): Add `skip-read-only-count',
6688 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6689 Increment them for corresponding conditions and report the number
6690 of skipped occurrences in the final message. (Bug#11746)
6691 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6692 (replace-string, replace-regexp): Doc fix.
6693
33e249a2
SM
66942013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6695
8e399682
SM
6696 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6697
33e249a2 6698 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6699 prog-mode-map (bug#14504).
33e249a2 6700
f236dd84
LL
67012013-05-29 Leo Liu <sdl.web@gmail.com>
6702
6703 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6704 (octave-help): Small simplification.
6705
6706 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6707 off the highlight first.
6708
3694d13f
GM
67092013-05-29 Glenn Morris <rgm@gnu.org>
6710
03983bdc
GM
6711 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6712 Handle idlwave-last-system-routine-info-cons-cell being nil.
6713
bc74a74a
GM
6714 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6715 (idlwave-write-paths): Simplify via with-temp-buffer.
6716
8b394200
GM
6717 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6718 * emulation/cua-rect.el: Also load cua-base at run time.
6719
3694d13f
GM
6720 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6721 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6722 (cperl-imenu-on-info): Require imenu.
6723
336d7284
AM
67242013-05-28 Alan Mackenzie <acm@muc.de>
6725
6726 Handle "capitalised keywords" correctly.
33e249a2 6727 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6728
cb29c582
AG
67292013-05-28 Aidan Gauland <aidalgol@amuri.net>
6730
781b4af6 6731 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6732
690e44b2
GM
67332013-05-28 Glenn Morris <rgm@gnu.org>
6734
e658d75c
GM
6735 * vc/vc-arch.el (vc-exec-after): Declare.
6736 (vc-switches): Autoload.
6737 * vc/vc-bzr.el: No need to require vc when compiling.
6738 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6739 (vc-resynch-buffer, vc-dir-refresh): Declare.
6740 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6741 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6742 (vc-resynch-buffer): Declare.
6743 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6744 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6745 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6746 (grep-read-regexp, grep-read-files, grep-expand-template)
6747 (vc-dir-refresh): Declare.
6748 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6749 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6750 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6751 * vc/vc-mtn.el (vc-exec-after): Declare.
6752 (vc-switches): Autoload.
6753 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6754 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6755 (vc-file-tree-walk): Declare.
712b9732
GM
6756 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6757 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6758 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6759 * vc/vc-svn.el (vc-exec-after): Declare.
6760 (vc-switches, vc-setup-buffer): Autoload.
6761 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6762 Autoload.
6763 (vc-resynch-buffer): Declare.
6764
98e87fb3
GM
6765 * obsolete/fast-lock.el (byte-compile-warnings):
6766 Don't warn about obsolete features in this obsolete file.
6767
f5379553
GM
6768 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6769 Move definition before use.
6770
7a20ef83
GM
6771 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6772 (dun-unix-verbs): Remove dun-zippy.
6773 (dun-zippy): Remove function.
6774
690e44b2
GM
6775 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6776
3a52ccf7
JL
67772013-05-27 Juri Linkov <juri@jurta.org>
6778
6779 * replace.el (replace-search): New function with code moved out
6780 from `perform-replace'.
6781 (replace-highlight, replace-dehighlight): Move function definitions
6782 up closer to `replace-search'. (Bug#11746)
6783
d289938a
JL
67842013-05-27 Juri Linkov <juri@jurta.org>
6785
6786 * replace.el (perform-replace): Ignore invisible matches.
6787 In addition to checking `query-replace-skip-read-only', also
6788 filter out matches by calling `run-hook-with-args-until-failure'
6789 on `isearch-filter-predicates', and also check `search-invisible'
6790 for t or call `isearch-range-invisible'.
6791 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6792
66fc57e3
JL
67932013-05-27 Juri Linkov <juri@jurta.org>
6794
6795 * isearch.el (isearch-filter-predicates): Rename from
6796 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6797 (isearch-message-prefix): Display text from the property
6798 `isearch-message-prefix' of the currently active filters.
6799 (isearch-search): Don't compare `isearch-filter-predicate' with
6800 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6801 on `isearch-filter-predicates'. Also check `search-invisible' for t
6802 or call `isearch-range-invisible'.
6803 (isearch-filter-visible): Make obsolete.
6804 (isearch-lazy-highlight-search):
6805 Call `run-hook-with-args-until-failure' on
6806 `isearch-filter-predicates' and use `isearch-range-invisible'.
6807
6808 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6809 `isearch-filter-predicates' instead of `funcall'ing
6810 `isearch-filter-predicate'.
6811 (Info-mode): Set `Info-isearch-filter' to
6812 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6813
6814 * dired-aux.el (dired-isearch-filter-predicate-orig):
6815 Remove variable.
6816 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6817 (dired-isearch-filenames-end): Add and remove
6818 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6819 instead of changing the value of `isearch-filter-predicate'.
6820 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6821 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6822 Put property `isearch-message-prefix' to "filename " on
6823 `dired-isearch-filter-filenames'.
6824
6825 * wdired.el (wdired-change-to-wdired-mode):
6826 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6827 locally instead of changing `isearch-filter-predicate'.
6828 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6829
f1a60a0f
DG
68302013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6831
6832 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6833 return the commit hash (Bug#14459). Also set the
6834 `vc-git-detached' property.
6835 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6836 (vc-git-mode-line-string): Use the same help-echo format whether
6837 in detached mode or not, because we know the actual revision now.
6838 When in detached mode, shorten the revision to 7 chars.
6839
7f17cc40
SM
68402013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * emacs-lisp/easy-mmode.el (define-minor-mode):
6843 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6844 mode hook and provide a docstring.
6845
25c8401c
AM
68462013-05-27 Alan Mackenzie <acm@muc.de>
6847
6848 Remove spurious syntax-table text properties inserted by C-y.
6849 * progmodes/cc-mode.el (c-after-change): Also clear hard
6850 syntax-table property with value nil.
6851
dde84790
MA
68522013-05-27 Michael Albinus <michael.albinus@gmx.de>
6853
6854 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6855 when reading the events; the buffer layout shall not be changed.
6856
837fd9af
LL
68572013-05-27 Leo Liu <sdl.web@gmail.com>
6858
6859 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6860 New variable.
6861 (inferior-octave-directory-tracker): Automatically re-sync
6862 default-directory.
6863 (octave-help): Improve handling of 'See also'.
6864
4fd996b3
SM
68652013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6866
416f1802
SM
6867 * doc-view.el: Minor naming convention tweaks.
6868 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6869
4fd996b3
SM
6870 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6871 even if there's no `display' property yet (bug#14435).
6872
a052ef3b
EZ
68732013-05-25 Eli Zaretskii <eliz@gnu.org>
6874
4fd996b3 6875 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6876
6877 * Makefile.in (custom-deps, finder-data, autoloads)
6878 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6879 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6880 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6881
c9023370
SM
68822013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6883
6884 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6885 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6886 Don't burp at EOB.
c9023370 6887
24d699fa
LL
68882013-05-25 Leo Liu <sdl.web@gmail.com>
6889
6890 * comint.el (comint-previous-matching-input): Do not flood the
6891 *Messages* buffer with trivial messages.
6892
17e5c0cc
SM
68932013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * progmodes/flymake.el (flymake-nop): Don't return a string.
6896 (flymake-set-at): Fix typo.
6897
6898 * simple.el (read--expression): New function, extracted from
6899 eval-expression. Set completion-at-point-functions (bug#14465).
6900 (eval-expression, eval-minibuffer): Use it.
6901
5d028165
XF
69022013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6903
6904 * progmodes/flymake.el (flymake-save-buffer-in-file)
6905 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6906 (flymake-selected-frame, flymake-log, flymake-ins-after)
6907 (flymake-set-at, flymake-get-buildfile-from-cache)
6908 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6909 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6910 Refine the doc string.
6911 (flymake-get-file-name-mode-and-masks): Reformat.
6912 (flymake-get-real-file-name-function): Fix a minor bug.
6913
7a1d7ba7
JL
69142013-05-24 Juri Linkov <juri@jurta.org>
6915
6916 * progmodes/grep.el (grep-mode-font-lock-keywords):
6917 Support =linenumber= format used by git-grep for lines with
6918 function names. (Bug#13549)
6919
650cff3d
SM
69202013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6923 0 after a semi-colon; it works better for smie-auto-fill.
6924 (octave--indent-new-comment-line): New function.
6925 (octave-indent-new-comment-line): Use it (indirectly).
6926 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6927 modify comment-line-break-function.
6928
6929 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6930 (smie-setup): Use add-function to set it.
6931
9631677d
SS
69322013-05-24 Sam Steingold <sds@gnu.org>
6933
6934 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6935 argument (before the `interactive' argument).
6936
50105835
SM
69372013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * image-mode.el (image-mode-winprops): Add winprops to
6940 image-mode-winprops-alist before running
6941 image-mode-new-window-functions.
6942 * doc-view.el (doc-view-new-window-function): Don't delay
6943 doc-view-goto-page via timers (bug#14435).
6944
57b9823e
TH
69452013-05-24 Tassilo Horn <tsdh@gnu.org>
6946
6947 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6948 (doc-view-desktop-save-buffer): New function.
6949 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6950 (desktop-buffer-mode-handlers):
6951 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6952 handler.
6953 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6954 `desktop-save-buffer' function.
6955
91aafa16
MA
69562013-05-24 Michael Albinus <michael.albinus@gmx.de>
6957
6958 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6959 (tramp-gvfs-file-name-handler): Raise a user error when
6960 `tramp-gvfs-enabled' is nil.
6961 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6962 Do not raise a user error when loading package. (Bug#14447)
6963
ec076379
MA
6964 * net/xesam.el: Move to obsolete/.
6965
db785726
GM
69662013-05-24 Glenn Morris <rgm@gnu.org>
6967
af5c7606
GM
6968 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6969
e5d1916a
GM
6970 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6971
ded62b08
GM
6972 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6973 (Info-find-node, Man-getpage-in-background): Declare.
6974
9e614a3f
GM
6975 * mail/unrmail.el (unrmail):
6976 Replace obsolete detect-coding-with-priority.
6977
892f8ca3
GM
6978 * net/socks.el (socks-split-string): Use this rather than split-string.
6979 (socks-nslookup-host): Update for above change.
6980 (dynamic-choice, s5-dynamic-choice-match)
6981 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6982 Comment out unused code.
6983
3c291973
GM
6984 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6985 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6986 (gud-tooltip-echo-area): Make obsolete.
6987 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6988
43cc956b
GM
6989 * progmodes/js.el (js--optimize-arglist): Declare.
6990
dab49a3b
GM
6991 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6992
36b9d085
GM
6993 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6994 (ediff-window-C): Declare.
6995
e354ae76
GM
6996 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6997 Tweak requires to silence compiler.
6998
b8e57bf4
GM
6999 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7000 (he-search-string, he-tried-table, he-expand-list)
7001 (he-init-string, he-string-member, he-substitute-string)
7002 (he-reset-string): Declare.
7003
db785726
GM
7004 * obsolete/options.el (list-options): Use custom-variable-p,
7005 rather than obsolete alias.
7006
b3531901
SS
70072013-05-23 Sam Steingold <sds@gnu.org>
7008
7009 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7010 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7011 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7012
bdda4c66
SM
70132013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/smie.el (smie-indent-forward-token)
7016 (smie-indent-backward-token): Handle string tokens (bug#14381).
7017
c43d45f9
TH
70182013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7019
fe1eb856
RS
7020 * ielm.el (ielm-menu): New menu.
7021 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7022
fe1eb856
RS
70232013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7024
7025 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7026 Fix deactivate action.
7027
7028 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7029 Add cleveref macros.
074dd971 7030
c43d45f9
TH
7031 * lisp/textmodes/reftex-parse.el
7032 (reftex-locate-bibliography-files): Accept options for
7033 bibliography commands.
7034 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7035 Add addbibresource. Basic Biblatex support.
7036
7764286e
MA
70372013-05-23 Michael Albinus <michael.albinus@gmx.de>
7038
7039 * net/tramp-gvfs.el (top):
7040 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7041 when loading package. (Bug#14447)
7042
d361bc10
GM
70432013-05-23 Glenn Morris <rgm@gnu.org>
7044
8fa23984
GM
7045 * progmodes/js.el: No need to load comint when compiling.
7046 (ring-insert, comint-send-string, comint-send-input)
7047 (comint-last-input-end, ido-chop): Declare.
7048
a5c7df1a
GM
7049 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7050 * vc/ediff-mult.el: Adjust requires.
7051 (ediff-directories-internal, ediff-directory-revisions-internal)
7052 (ediff-patch-file-internal): Declare.
7053 * vc/ediff-ptch.el: Adjust requires.
7054 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7055 (ediff-find-file): Autoload.
7056 * vc/ediff-util.el: No need to load ediff when compiling.
7057 (ediff-regions-internal): Declare.
7058 * vc/ediff-wind.el: Adjust requires.
7059 (ediff-compute-toolbar-width): Define when compiling.
7060 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7061 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7062 (dired-get-filename, dired-get-marked-files)
7063 (ediff-last-dir-patch, ediff-patch-default-directory)
7064 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7065 (ediff-patch-buffer-internal): Declare.
7066
e2aec513
GM
7067 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7068 (ispell-process, ispell-buffer-local-words, lm-summary)
7069 (lm-section-start, lm-section-end): Declare.
7070 (checkdoc-ispell-init): Simplify.
7071
e68bbd7c
GM
7072 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7073 (he-string-member, he-reset-string, he-substitute-string): Declare.
7074
7efe0991
GM
7075 * eshell/em-ls.el: Adjust requires.
7076 (eshell-glob-regexp): Declare.
f87b1284
GM
7077 * eshell/em-tramp.el: Adjust requires.
7078 (eshell-parse-command): Autoload.
7079 * eshell/em-xtra.el: Adjust requires.
7080 (eshell-parse-command): Autoload.
7081 * eshell/esh-ext.el: Adjust requires.
7082 (eshell-parse-command, eshell-close-handles): Autoload.
7083 * eshell/esh-io.el: Adjust requires.
7084 (eshell-output-filter): Autoload.
7085 * eshell/esh-util.el: No need to load tramp when compiling.
7086 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7087 Declare.
7088 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7089 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7090 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7091 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7092 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7093 * eshell/esh-opt.el, eshell/esh-proc.el:
7094 * eshell/esh-var.el: Adjust requires.
7095 * eshell/eshell.el: Do not require esh-util twice.
7096 (eshell-add-input-to-history): Declare.
7097 (eshell-command): Check history module is active before using it.
7098
d361bc10
GM
7099 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7100
85d090a9
LL
71012013-05-22 Leo Liu <sdl.web@gmail.com>
7102
7103 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7104
5d0acd9d
MA
71052013-05-22 Michael Albinus <michael.albinus@gmx.de>
7106
7107 * autorevert.el (auto-revert-notify-add-watch)
7108 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7109 it indicates changes in file modification time.
7110
0cdffd7d
GM
71112013-05-22 Glenn Morris <rgm@gnu.org>
7112
ca5995ec
GM
7113 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7114 Always delete the autoloaded function from the noruntime and
7115 unresolved functions lists.
7116
6450907e
GM
7117 * allout.el: No need to load epa, epg, overlay when compiling.
7118 (epg-context-set-passphrase-callback, epg-list-keys)
7119 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7120 (epg-key-user-id-list): Declare.
7121
9c6906f6
GM
7122 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7123 (viper-set-parsing-style-toggling-macro)
7124 (viper-set-emacs-state-searchstyle-macros):
7125 Use called-interactively-p on Emacs.
7126 (viper-looking-back): Make it an obsolete alias. Update callers.
7127 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7128 Use looking-back rather than viper-looking-back.
7129 (viper-tmp-insert-at-eob, viper-enlarge-region)
7130 (viper-read-string-with-history, viper-register-to-point)
7131 (viper-append-to-register, viper-change-state-to-vi)
7132 (viper-backward-char-carefully, viper-forward-char-carefully)
7133 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7134 (viper-change-state-to-emacs): Declare.
7135 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7136 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7137 * emulation/viper-mous.el: Do not load viper-cmd.
7138 (viper-backward-char-carefully, viper-forward-char-carefully)
7139 (viper-forward-word, viper-adjust-window): Declare.
7140
5f70c169
GM
7141 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7142
b1b7f300
GM
7143 * progmodes/idlw-help.el (idlwave-help-fontify):
7144 Use called-interactively-p.
7145
f6ebbb46
GM
7146 * term/w32console.el (w32-get-console-codepage)
7147 (w32-get-console-output-codepage): Declare.
7148
0cdffd7d
GM
7149 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7150 Remove unnecessary declarations.
7151 (dframe-message): Doc fix.
7152
7153 * info.el (dframe-select-attached-frame, dframe-current-frame):
7154 Declare.
7155
7156 * speedbar.el (speedbar-message): Make it an obsolete alias.
7157 Update all callers.
7158 (speedbar-with-attached-buffer)
7159 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7160 (speedbar-with-writable): Use backquote.
7161 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7162 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7163 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7164 rather than speedbar- aliases.
7165 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7166 (speedbar-make-specialized-keymap, speedbar-insert-button)
7167 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7168 (speedbar-do-function-pointer): Declare.
7169 (rmail-speedbar-button, rmail-speedbar-find-file)
7170 (rmail-speedbar-move-message):
7171 Use dframe-with-attached-buffer rather than speedbar- alias.
7172 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7173 (dframe-message, speedbar-make-specialized-keymap)
7174 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7175 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7176 (speedbar-insert-button, dframe-select-attached-frame)
7177 (dframe-maybee-jump-to-attached-frame)
7178 (speedbar-change-initial-expansion-list)
7179 (speedbar-previously-used-expansion-list-name): Declare.
7180 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7181 Use dframe-message, dframe-with-attached-buffer rather than
7182 speedbar- aliases.
7183 (gud-sentinel): Silence compiler.
7184 * progmodes/vhdl-mode.el (speedbar-refresh)
7185 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7186 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7187 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7188 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7189 (speedbar-file-lists, speedbar-make-tag-line)
7190 (speedbar-line-directory, speedbar-goto-this-file)
7191 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7192 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7193 (speedbar-make-button, speedbar-reset-scanners)
7194 (speedbar-files-item-info, speedbar-line-text)
7195 (speedbar-find-file-in-frame, speedbar-set-timer)
7196 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7197 (speedbar-with-writable): Do not (re)define it.
7198 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7199 rather than speedbar- alias.
7200
ee44b62a
LL
72012013-05-21 Leo Liu <sdl.web@gmail.com>
7202
7203 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7204 menu items.
7205 (octave-mode): Tweak fill-nobreak-predicate.
7206 (inferior-octave-startup): Check process to avoid infinite loop.
7207 (inferior-octave): Pop to buffer first to show abornmal process
7208 exit information.
7209
640f050f
GM
72102013-05-21 Glenn Morris <rgm@gnu.org>
7211
79458038
GM
7212 * printing.el (pr-menu-bar): Define when compiling.
7213
9cc3e83f
LL
72142013-05-21 Leo Liu <sdl.web@gmail.com>
7215
7216 * progmodes/octave.el (octave-auto-fill): Remove.
7217 (octave-indent-new-comment-line): Improve.
7218 (octave-mode): Use auto fill mode through
4f405069 7219 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7220 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7221 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7222 (octave-help): Show parent directory.
7223
f440830d
GM
72242013-05-21 Glenn Morris <rgm@gnu.org>
7225
7226 * files.el (dired-unmark):
7227 * progmodes/gud.el (gdb-input): Update declarations.
7228
7229 * calculator.el (electric, ehelp): No need to load when compiling.
7230 (Electric-command-loop, electric-describe-mode): Declare.
7231
7232 * doc-view.el (doc-view-current-converter-processes): Move before use.
7233
7234 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7235 Move MODE-set-explicitly definition before use.
7236
7237 * international/mule-diag.el (mule-diag):
7238 Don't use obsolete window-system-version.
7239
7240 * mail/feedmail.el (smtpmail): No need to load when compiling.
7241 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7242
7243 * mail/mail-utils.el (rfc822): No need to load when compiling.
7244 (rfc822-addresses): Autoload it.
7245 (mail-strip-quoted-names): Trivial simplification.
7246
7247 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7248 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7249
7250 * net/snmp-mode.el (tempo): Don't duplicate requires.
7251
7252 * progmodes/prolog.el (info): No need to load when compiling.
7253 (comint): Require before shell requires it.
7254 (Info-goto-node): Autoload it.
7255 (Info-follow-nearest-node): Declare.
7256 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7257
7258 * textmodes/artist.el (picture-mode-exit): Declare.
7259
7260 * textmodes/reftex-parse.el (reftex-parse-from-file):
7261 Trivial rewrite so the compiler can parse it better.
7262
b4da2cbb
LL
72632013-05-20 Leo Liu <sdl.web@gmail.com>
7264
7265 * progmodes/octave.el (octave-help-mode-map)
7266 (octave-help-mode-finish-hook): New variables.
7267 (octave-help-mode, octave-help-mode-finish): New functions.
7268 (octave-help): Use octave-help-mode.
7269
33c0f65b
GM
72702013-05-20 Glenn Morris <rgm@gnu.org>
7271
7272 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7273
1a0a0a8a
DG
72742013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7275
7276 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7277 start at point, so that expansion starting right after opening
7278 slash in a regexp is recognized.
7279 (ruby-syntax-before-regexp-re): New defvar, extracted from
7280 ruby-syntax-propertize-function. Since the value of this regexp
7281 is looked up at runtime now, we should be able to turn
7282 `ruby-syntax-methods-before-regexp' into a defcustom later.
7283 (ruby-syntax-propertize-function): Split regexp matching into two
7284 parts, for opening and closing slashes. That allows us to skip
7285 over string interpolations and support multiline regexps.
7286 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7287 for them, which calls `ruby-syntax-propertize-expansion'.
7288 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7289 call to `ruby-syntax-propertize-function'.
7290 (ruby-syntax-propertize-expansion): Extracted from
7291 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7292 (ruby-syntax-propertize-percent-literal): Leave point right after
7293 the percent symbol, so that the expression expansion rule can
7294 propertize the contents.
462388b6
DG
7295 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7296 heredoc openers.
7297 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7298
c1a6c0a4
JL
72992013-05-18 Juri Linkov <juri@jurta.org>
7300
7301 * man.el (Man-default-man-entry): Remove `-' from the end
7302 of the default value. (Bug#14400)
7303
8051fccd
GM
73042013-05-18 Glenn Morris <rgm@gnu.org>
7305
7306 * comint.el (comint-password-prompt-regexp):
7307 Allow "password for XXX" where XXX contains colons (eg https://...).
7308
5e80b74f
LL
73092013-05-18 Leo Liu <sdl.web@gmail.com>
7310
7311 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7312 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7313 (octave-source-directories): Don't check process.
7314 (octave-source-directories, octave-find-definition): Doc fix.
7315
521a54c5
GM
73162013-05-18 Glenn Morris <rgm@gnu.org>
7317
86a94b05
GM
7318 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7319 Remove backspace/delete bindings. (Bug#14392)
7320
521a54c5
GM
7321 * cus-dep.el (custom-make-dependencies): Sort the output.
7322 (custom-versions-load-alist): Convert comment to doc.
7323
42caeb89
LL
73242013-05-17 Leo Liu <sdl.web@gmail.com>
7325
7326 * newcomment.el (comment-search-backward): Stricter in finding
7327 comment start. (Bug#14303)
7328
7329 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7330 (octave-comment-start-skip): Properly anchored.
7331
e219dd97
LL
73322013-05-17 Leo Liu <sdl.web@gmail.com>
7333
fe1eb856
RS
7334 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7335 Clean up when turned off. (Bug#14395)
e219dd97
LL
7336 (smie--highlight-matching-block-overlay): No longer buffer-local.
7337 (smie-highlight-matching-block): Adjust.
7338
dc5dcb4b
PE
73392013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7340
7341 Doc string fix for "nanoseconds" (Bug#14406).
7342 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7343 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7344
1db165f0
JB
73452013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7346
7347 * calc/calc-units.el (math-extract-units): Preserve powers
7348 of units.
7349
c7a8fcac
LL
73502013-05-17 Leo Liu <sdl.web@gmail.com>
7351
7352 * subr.el (delete-consecutive-dups): New function.
7353 * ido.el (ido-set-matches-1): Use it.
7354 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7355 * ido.el (ido-remove-consecutive-dups): Remove.
7356
f678b18a
SM
73572013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7360 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7361 regexp-opt's `words'.
7362
ebfe68e8
LL
73632013-05-16 Leo Liu <sdl.web@gmail.com>
7364
7365 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7366 (smie--highlight-matching-block-overlay)
7367 (smie--highlight-matching-block-lastpos)
7368 (smie--highlight-matching-block-timer): New variables.
7369 (smie-highlight-matching-block): New function.
7370 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7371 (smie-setup): Conditionally enable smie-blink-matching-open.
7372
bc8bc17d
WS
73732013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7374
7375 Sync with upstream verilog-mode r840.
7376 * progmodes/verilog-mode.el (verilog-mode-version)
7377 (verilog-mode-release-date): Update.
7378 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7379 (verilog-sig-tieoff): Fix string error on
7380 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7381 (verilog-read-decls): Fix parameters confusing
7382 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7383
df065a0b
EZ
73842013-05-16 Eli Zaretskii <eliz@gnu.org>
7385
7386 * subr.el (reveal-filename): New function.
7387
7388 * loadup.el: Compute Emacs executable versions on MS-Windows,
7389 where executables have the .exe extension. Add a hard link
7390 emacs-XX.YY.ZZ.exe on MS-Windows.
7391
7392 * Makefile.in (XARGS_LIMIT): New variable.
7393 (custom-deps, finder-data, autoloads)
7394 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7395 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7396 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7397 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7398
2d4bf34b
LL
73992013-05-16 Leo Liu <sdl.web@gmail.com>
7400
7401 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7402 (octave-mode-menu, octave-mode-map): Remove its uses.
7403
6b9c2d85
RZ
74042013-05-16 Reto Zimmermann <reto@gnu.org>
7405
7406 Sync with upstream vhdl mode v3.34.2.
7407 * progmodes/vhdl-mode.el: Use `push' throughout.
7408 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7409 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7410 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7411 (vhdl-actual-generic-name): New option to derive actual generic name.
7412 (vhdl-port-paste-signals): Replace formal by actual generics.
7413 (vhdl-beautify): New name for old group vhdl-align. Update users.
7414 (vhdl-beautify-options): New option.
7415 (vhdl-last-input-event): New compat alias. Use throughout.
7416 (vhdl-goto-line): Replace user level function `goto-line'.
7417 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7418 vhdl-fix-statement-buffer.
7419 (vhdl-create-mode-menu): Add some entries.
7420 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7421 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7422 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7423 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7424 to force statements on one line.
7425 (vhdl-remove-trailing-spaces-region):
7426 New, split from vhdl-remove-trailing-spaces.
7427 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7428 Respect vhdl-beautify-options.
7429 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7430 (vhdl-update-sensitivity-list): Not add with index if exists without.
7431 Not include array index with signal. Ignore keywords in comments.
7432 (vhdl-get-visible-signals): Regexp tweaks.
7433 (vhdl-template-component-inst): Handle empty library.
7434 (vhdl-template-type): Add template for 'enum' type.
7435 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7436 Use vhdl-replace-string.
7437 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7438 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7439 (vhdl-speedbar-initialize): Update for above name change.
7440 (vhdl-compose-wire-components): Fix in handling of constants.
7441 (vhdl-error-regexp-emacs-alist): New variable.
7442 (vhdl-error-regexp-add-emacs): New function;
7443 adds support for new compile.el (Emacs 22+)
7444 (vhdl-generate-makefile-1): Change target order for single lib. units.
7445 Allow use of absolute file names.
7446
9df4ec5e
LL
74472013-05-16 Leo Liu <sdl.web@gmail.com>
7448
7449 * simple.el (prog-indent-sexp): Indent enclosing defun.
7450
f5ba00a6
GM
74512013-05-15 Glenn Morris <rgm@gnu.org>
7452
ed8be7ff
GM
7453 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7454 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7455 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7456 (whitespace-highlight): Move to whitespace group.
7457
7458 * comint.el (comint-source):
7459 * pcmpl-linux.el (pcmpl-linux):
7460 * shell.el (shell-faces):
7461 * eshell/esh-opt.el (eshell-opt):
7462 * international/ccl.el (ccl): Remove empty custom groups.
7463
7464 * completion.el (dynamic-completion-mode):
7465 * jit-lock.el (jit-lock-debug-mode):
7466 * minibuffer.el (completion-in-region-mode):
7467 * type-break.el (type-break-mode-line-message-mode)
7468 (type-break-query-mode):
7469 * emulation/tpu-edt.el (tpu-edt-mode):
7470 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7471 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7472 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7473
7474 * term/xterm.el (xterm): Change parent group to terminals.
7475
7476 * master.el (master): Remove empty custom group.
7477 (master-mode): Remove unused :group argument.
7478 * textmodes/refill.el (refill): Remove empty custom group.
7479 (refill-mode): Remove unused :group argument.
7480
7481 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7482
82a7c41b
GM
7483 * cus-dep.el: Provide a feature.
7484 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7485 Don't mistakenly ignore files whose basenames match a basename
7486 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7487 Add a fallback method for getting :group.
f5ba00a6 7488
6d65486d
JL
74892013-05-15 Juri Linkov <juri@jurta.org>
7490
da547b32
JL
7491 * isearch.el (isearch-char-by-name): Rename from
7492 `isearch-insert-char-by-name'. Doc fix.
7493 (isearch-forward): Mention `isearch-char-by-name' in
7494 the docstring. (Bug#13348)
7495
6d65486d
JL
7496 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7497 `exit-minibuffer' instead of
7498 `isearch-nonincremental-exit-minibuffer'.
7499 (isearch-edit-string): Remove mention of
7500 `isearch-nonincremental-exit-minibuffer' from docstring.
7501 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7502 (isearch-forward-exit-minibuffer)
7503 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7504
c9990474
SM
75052013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7506
6e911150
SM
7507 * loadup.el: Just use unversioned DOC.
7508
c9990474
SM
7509 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7510 literals as extending to EOB.
7511 (nxml-last-fontify-end): Remove unused variable.
7512 (nxml-after-change1): Use with-silent-modifications.
7513 (nxml-extend-after-change-region): Simplify.
7514 (nxml-extend-after-change-region1): Remove function.
7515 (nxml-after-change1): Don't adjust for dependent regions.
7516 (nxml-fontify-matcher): Simplify.
7517 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7518 (xmltok-add-dependent): Remove function.
7519 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7520 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7521 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7522 unclosed <[[, <?, comment, and other literals as extending to EOB.
7523 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7524 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7525 Remove functions.
7526 (rng-do-some-validation-1): Don't mark dependent regions.
7527 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7528 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7529 (nxml-clear-dependent-regions): Remove functions.
7530 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7531 (nxml-ensure-scan-up-to-date):
7532 Don't clear&mark dependent regions.
7533
e3772e98
LL
75342013-05-15 Leo Liu <sdl.web@gmail.com>
7535
c9990474
SM
7536 * progmodes/octave.el (octave-goto-function-definition):
7537 Improve and fix callers.
e3772e98 7538
5ac2eb34
SM
75392013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7540
c46c57b0
SM
7541 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7542 the setter (bug#14387).
7543
5ac2eb34
SM
7544 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7545 surrounding group (bug#14402).
7546
180ed218
JL
75472013-05-14 Juri Linkov <juri@jurta.org>
7548
7549 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7550 (Bug#14390)
7551
0ac0fecb
GM
75522013-05-14 Glenn Morris <rgm@gnu.org>
7553
7554 * progmodes/f90.el (f90-imenu-generic-expression):
7555 Fix typo in 2013-05-08 change. (Bug#14402)
7556
2e78e6a7
JPG
75572013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7558
5ac2eb34
SM
7559 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7560 Remove signals for which replies are never received.
2e78e6a7 7561
53267cca
JPG
75622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7563
7564 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7565 (gdb-handler-alist, gdb-handler-number): Remove variables.
7566 (gdb-handler-list): New variable.
7567 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7568 (gdb-pending-handler-p, gdb-handle-reply)
7569 (gdb-remove-all-pending-triggers): New functions.
7570 (gdb-discard-unordered-replies): New defcustom.
7571 (gdb-handler): New defstruct.
7572 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7573 instead of gdb-pending-triggers. Update docstring.
7574 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7575 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7576 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7577 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7578 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7579 (gdb-frame-handler): Pending triggers are now automatically managed.
7580 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7581 Remove argument.
7582 (gdb-input): Automatically handles pending triggers. Update docstring.
7583 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7584 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7585 Update comments.
7586 (gdb-done-or-error): Now use gdb-handle-reply.
7587
d04ce803
JPG
75882013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7589
7590 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7591 gdb-debug-log.
7592
0114073a
GM
75932013-05-14 Glenn Morris <rgm@gnu.org>
7594
7595 * subr.el (user-emacs-directory-warning): New option.
7596 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7597
4d25fd7e
LL
75982013-05-14 Leo Liu <sdl.web@gmail.com>
7599
7600 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7601 during redisplay.
7602 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7603 (octave-font-lock-texinfo-comment): Fix invalid search bound
7604 error: wrong side of point.
4d25fd7e 7605
27c8b6eb
GM
76062013-05-14 Glenn Morris <rgm@gnu.org>
7607
61aaeb01
GM
7608 * progmodes/flymake.el (flymake-xml-program): New option.
7609 (flymake-xml-init): Use it.
7610
5bf90bc5
GM
7611 * term/xterm.el: Provide a feature.
7612
7613 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7614
f4c7dfd2
GM
76152013-05-13 Glenn Morris <rgm@gnu.org>
7616
7617 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7618 Add compat aliases as a hack workaround. (Bug#14384)
7619
2aeb3a1d
LL
76202013-05-13 Leo Liu <sdl.web@gmail.com>
7621
b0e069c2
LL
7622 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7623 ###, and %!.
f5a9432f
LL
7624 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7625 C-M-q.
b0e069c2
LL
7626 (octave-comment-start-skip): Include %!.
7627 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7628
30ea8374
LL
76292013-05-12 Leo Liu <sdl.web@gmail.com>
7630
7631 * progmodes/octave.el (inferior-octave-startup): Store the value
7632 of __octave_srcdir__ for octave-source-directories.
7633 (inferior-octave-check-process): New function refactored out of
7634 inferior-octave-send-list-and-digest.
7635 (octave-source-directories)
7636 (octave-find-definition-filename-function): New variables.
7637 (octave-source-directories)
7638 (octave-find-definition-default-filename): New functions.
7639 (octave-find-definition): Improve to find functions implemented in C++.
7640
472a3834
GM
76412013-05-12 Glenn Morris <rgm@gnu.org>
7642
7643 * calendar/diary-lib.el (diary-outlook-format-1):
7644 Don't include dayname in the output. (Bug#14349)
7645
3191b52f
GM
76462013-05-11 Glenn Morris <rgm@gnu.org>
7647
0060ac73
GM
7648 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7649
3191b52f
GM
7650 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7651 Treat cc-provide like provide.
7652
e065ba74
KR
76532013-05-11 Kevin Ryde <user42@zip.com.au>
7654
7655 * cus-dep.el (custom-make-dependencies):
7656 Use generated-autoload-load-name for the sake of files such
7657 such cedet/semantic/bovine/c.el, where the base file name
7658 is not in load-path. (Bug#5277)
7659
36f84c37
GM
76602013-05-11 Glenn Morris <rgm@gnu.org>
7661
7662 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7663 Provide features.
7664
c8730c3a
LL
76652013-05-11 Leo Liu <sdl.web@gmail.com>
7666
7667 * progmodes/octave.el (octave-indent-comment): Improve.
7668 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7669 (octave-eldoc-function-signatures, octave-eldoc-function):
7670 New functions.
c8730c3a
LL
7671 (octave-mode, inferior-octave-mode): Add eldoc support.
7672
212e29f2
RS
76732013-05-11 Richard Stallman <rms@gnu.org>
7674
7675 * epa.el (epa-decrypt-file): Take output file name as argument
7676 and read it using `interactive'.
7677
083fe0d7
LL
76782013-05-11 Leo Liu <sdl.web@gmail.com>
7679
7680 * progmodes/octave.el (octave-beginning-of-line)
7681 (octave-end-of-line): Check before using up-list because it jumps
7682 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7683 (octave-indent-comment): New function.
7684 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7685 (octave-begin-keywords, octave-end-keywords)
7686 (octave-reserved-words, octave-smie-bnf-table)
7687 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7688
8582e4c4
GM
76892013-05-11 Glenn Morris <rgm@gnu.org>
7690
f20def1f
GM
7691 * faces.el (internal-face-x-get-resource):
7692 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7693 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7694 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7695 Fix declarations.
f20def1f 7696
445f95e2
GM
7697 * calc/calc-menu.el: Make it loadable in isolation.
7698
7699 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7700 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7701 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7702 (eudc-bbdb-query-internal): Require 'bbdb.
7703
99fb2756
GM
7704 * lpr.el (lpr-headers-switches):
7705 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7706
7707 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7708
0da7ad96
GM
7709 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7710
8582e4c4
GM
7711 * term.el (term-set-escape-char): Make it idempotent.
7712
f71c50d0
LL
77132013-05-10 Leo Liu <sdl.web@gmail.com>
7714
5ac2eb34
SM
7715 * progmodes/octave.el (inferior-octave-completion-table):
7716 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7717 completion due to bug#11906.
7718 (octave-beginning-of-defun): Re-write to be more general.
7719
d5837773
GM
77202013-05-10 Glenn Morris <rgm@gnu.org>
7721
7722 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7723
027c0f75
SM
77242013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * comint.el (comint-redirect-send-command-to-process): Use :around
7727 rather than :override for comint-redirect-filter.
7728 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7729 Call it instead of comint-redirect-original-filter-function (which
7730 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7731
4465bfb4
JD
77322013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7733
7734 * frame.el (display-monitor-attributes-list): Add NS case.
7735 (ns-display-monitor-attributes-list): Declare.
7736
2d809ffa 77372013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7738
7739 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7740
e54eeb9b
GM
77412013-05-09 Glenn Morris <rgm@gnu.org>
7742
56cd351d
GM
7743 * international/fontset.el (vertical-centering-font-regexp):
7744 Set standard-value.
7745
d84b6108
GM
7746 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7747
a931698a
GM
7748 * bookmark.el (bookmark-search-delay):
7749 * cus-start.el (vertical-centering-font-regexp):
7750 * ps-mule.el (ps-mule-font-info-database-default):
7751 * ps-print.el (ps-default-fg, ps-default-bg):
7752 * type-break.el (type-break-good-break-interval):
7753 * whitespace.el (whitespace-indentation-regexp)
7754 (whitespace-space-after-tab-regexp):
7755 * emacs-lisp/testcover.el (testcover-1value-functions)
7756 (testcover-noreturn-functions, testcover-progn-functions)
7757 (testcover-prog1-functions):
7758 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7759 * eshell/em-glob.el (eshell-glob-translate-alist):
7760 * play/tetris.el (tetris-tty-colors):
7761 * progmodes/cpp.el (cpp-face-default-list):
7762 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7763 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7764 (idlwave-help-browser-generic-args):
7765 * progmodes/make-mode.el (makefile-special-targets-list):
7766 * progmodes/python.el (python-shell-virtualenv-path):
7767 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7768 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7769 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7770 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7771 * textmodes/reftex-vars.el (reftex-format-label-function):
7772 * textmodes/remember.el (remember-diary-file): Fix custom types.
7773
e54eeb9b
GM
7774 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7775 Add :version.
7776
455851dd
LL
77772013-05-09 Leo Liu <sdl.web@gmail.com>
7778
7779 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7780 Restore file completion. (Bug#14300)
455851dd
LL
7781 (inferior-octave-startup): Fix incorrect highlighting for the
7782 first prompt.
7783
a9e4425b
SM
77842013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * progmodes/ruby-mode.el: First cut at SMIE support.
7787 (ruby-use-smie): New var.
7788 (ruby-smie-grammar): New constant.
7789 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7790 (ruby-smie--forward-token, ruby-smie--backward-token)
7791 (ruby-smie-rules): New functions.
7792 (ruby-mode-variables): Setup SMIE if applicable.
7793
060ca408
EZ
77942013-05-08 Eli Zaretskii <eliz@gnu.org>
7795
7796 * simple.el (line-move-visual): Signal beginning/end of buffer
7797 only if vertical-motion moved less than it was requested. Avoids
7798 silly incorrect error messages when there are display strings with
7799 multiple newlines at EOL.
7800
1d5963cc
SM
78012013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7804 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7805 (prolog-char-quote-workaround):
7806 * progmodes/cperl-mode.el (cperl-under-as-char):
7807 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7808 Mark as obsolete.
7809 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7810 their declaration.
7811 (vhdl-mode-syntax-table-init): Remove.
7812
c9990474
SM
7813 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7814 last change.
1d5963cc
SM
7815
7816 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7817 syntax for "_".
7818 (ld-script-font-lock-keywords):
7819 Change regexps to use things like \_< and \_>.
7820
7821 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7822 Change all regexps to use things like \_< and \_>.
7823
7824 * progmodes/autoconf.el (autoconf-definition-regexp)
7825 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7826 Handle a _ with symbol syntax.
7827 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7828
c9990474
SM
7829 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7830 Consolidate declaration.
1d5963cc
SM
7831 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7832 the declaration.
7833 (ada-create-syntax-table): Remove.
7834 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7835 already has the right syntax nowadays.
7836 (ada-goto-next-word): Don't change the syntax of "_".
7837
7838 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7839 with-wrapper-hook.
7840
72d3cfca
SS
78412013-05-08 Sam Steingold <sds@gnu.org>
7842
7843 * thingatpt.el (thing-at-point): Accept optional second argument
7844 NO-PROPERTIES to strip the text properties from the return value.
7845 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7846 to `thing-at-point' instead of stripping the properties ourselves.
7847 Also, when `thing-at-point' fails to find a url, prepend "http://"
7848 to the filename at point on the assumption that the user is
7849 pointing at something like gnu.org/gnu.
7850
5cb15713
JB
78512013-05-08 Juanma Barranquero <lekktu@gmail.com>
7852
7853 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7854 * faces.el (crm-separator):
7855 Silence byte-compiler.
7856
7857 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7858 (tool-bar-map): Remove unneeded defvars.
7859
ea78b95b
LL
78602013-05-08 Leo Liu <sdl.web@gmail.com>
7861
7862 Re-work a fix for bug#10994 based on Le Wang's patch.
7863 * ido.el (ido-remove-consecutive-dups): New helper.
7864 (ido-completing-read): Use it.
7865 (ido-chop): Revert fix for bug#10994.
7866
dc7466df
AS
78672013-05-08 Adam Spiers <emacs@adamspiers.org>
7868
7869 * cus-edit.el (custom-save-variables):
7870 Pretty-print long values. (Bug#14187)
7871
9ecf672a
GM
78722013-05-08 Glenn Morris <rgm@gnu.org>
7873
7874 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7875 (m4-mode-syntax-table): Init in the defvar.
7876 (m4-mode-abbrev-table): Let define-derived-mode define it.
7877
3f555be8
TT
78782013-05-08 Tom Tromey <tromey@redhat.com>
7879
7880 * progmodes/m4-mode.el (m4-mode-syntax-table):
7881 Do not treat "_" as word constituent. (Bug#14167)
7882
7cc8ae06
GM
78832013-05-07 Glenn Morris <rgm@gnu.org>
7884
4f58bc06
GM
7885 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7886 Remove explicit eshell-isearch-cancel-map.
7887
7cc8ae06
GM
7888 * progmodes/f90.el (f90-smart-end-names): New option.
7889 (f90-smart-end): Doc fix.
7890 (f90-end-block-optional-name): New constant.
7891 (f90-block-match): Respect f90-smart-end-names.
7892
ceb57e59
SM
78932013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7896 about implicit semi-colons (bug#14218).
7897
4e3f9230
YM
78982013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7899
7900 * frame.el (display-monitor-attributes-list)
7901 (frame-monitor-attributes): New functions.
7902
203a5572
LL
79032013-05-06 Leo Liu <sdl.web@gmail.com>
7904
7905 * progmodes/octave.el (octave-syntax-propertize-function): Change
7906 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7907 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7908 (octave-completion-at-point): Rename from
203a5572
LL
7909 octave-completion-at-point-function.
7910 (inferior-octave-directory-tracker): Robustify.
7911 (octave-text-functions): Remove and fix its uses. No such things
7912 any more.
7913
ee6cff99
SM
79142013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * emacs-lisp/trace.el (trace--display-buffer): New function.
7917 (trace-make-advice): Use it.
7918
32985194
JL
79192013-05-06 Juri Linkov <juri@jurta.org>
7920
7921 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7922 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7923 Doc fix.
7924 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7925 in the help string. (Bug#12985)
7926
a1c700de
KD
79272013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7928
7929 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7930
c67c0839
SM
79312013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7932
323885fd
SM
7933 * progmodes/perl-mode.el: Add support for here documents.
7934 (perl-syntax-propertize-function): Match here-doc markers.
7935 (perl-syntax-propertize-special-constructs): Find their end.
7936 (perl-imenu-generic-expression): Use [:alnum:].
7937
c67c0839
SM
7938 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7939 (advice--add-function): Refresh the advice if already present
7940 (bug#14317).
7941
d491e7a8
IA
79422013-05-06 Ivan Andrus <darthandrus@gmail.com>
7943
7944 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7945
ddf9925e
GM
79462013-05-06 Glenn Morris <rgm@gnu.org>
7947
7cc3af27
GM
7948 * w32-fns.el (w32-charset-info-alist): Declare.
7949
16e343d6
GM
7950 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7951 of its defcustom properties.
7952 (eshell-cmpl-initialize): No need to load pcomplete.
7953
7d889a47
GM
7954 * generic-x.el: No need to require comint when compiling.
7955
ddf9925e
GM
7956 * net/eudc-export.el: Make it loadable without bbdb.
7957 (top-level): Use require rather than load-library.
7958 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7959 (eudc-batch-export-records-to-bbdb)
7960 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7961 Require bbdb.
7962
1e2c18df
SM
79632013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7966 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7967 some tweaks, instead.
7968
02502a5f
LL
79692013-05-05 Leo Liu <sdl.web@gmail.com>
7970
7971 * progmodes/octave.el (octave-font-lock-keywords)
7972 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7973 (inferior-octave-send-list-and-digest): Improve error message.
7974 (octave-mode, inferior-octave-mode): Use setq-local.
7975 (octave-help): Set info-lookup-mode.
7976
0dc04f42
RS
79772013-05-05 Richard Stallman <rms@gnu.org>
7978
6c54491c
RS
7979 * vc/compare-w.el (compare-windows-whitespace):
7980 Treat no-break space as whitespace.
7981
0dc04f42
RS
7982 * mail/rmailsum.el (rmail-summary-rmail-update):
7983 Detect empty summary and don't change selected message.
7984 (rmail-summary-goto-msg): Likewise.
7985
df8f35df
RS
7986 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7987 Doc fixes, rename args.
7988
5356e1a3
AM
79892013-05-05 Alan Mackenzie <acm@muc.de>
7990
7991 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7992
d44014cb
JL
79932013-05-05 Juri Linkov <juri@jurta.org>
7994
7995 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7996 to not add the length of the summary segment to the return value.
7997 (Bug#14125)
7998
c129b51f
LL
79992013-05-05 Leo Liu <sdl.web@gmail.com>
8000
8001 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8002 (inferior-octave-output-filter): Remove.
8003 (octave-send-region, inferior-octave-startup): Fix callers.
8004 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8005 (octave-binary-file-extensions): New user variable.
8006 (octave-find-definition): Confirm if opening binary files.
8007 (octave-help-file): Use octave-find-definition to get the binary
8008 confirmation.
8009 (octave-help): Adjust for octave-help-file change.
8010
aa7dab97
SM
80112013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8014 Merge the two entries that handle function definitions.
8015 (pascal--syntax-propertize): New const.
8016 (pascal-mode): Use it. Use setq-local.
8017
fd3a9a6b
GM
80182013-05-04 Glenn Morris <rgm@gnu.org>
8019
8020 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8021 (diary-from-outlook): Respect diary-from-outlook-function.
8022
30c7e542
SM
80232013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8024
8025 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8026 Move the declaration from C.
8027 (read-minibuffer, eval-minibuffer): Move from C.
8028 (completion-setup-function): Avoid minibuffer-completion-contents.
8029
b54f978b
LL
80302013-05-03 Leo Liu <sdl.web@gmail.com>
8031
8032 * progmodes/octave.el (octave-font-lock-keywords): Do not
8033 dehighlight 'end' in comments or strings.
30c7e542
SM
8034 (octave-completing-read, octave-goto-function-definition):
8035 New helpers.
d4d0f9b3
LL
8036 (octave-help-buffer): New user variable.
8037 (octave-help-file, octave-help-function): New button types.
8038 (octave-help): New command and bind it to C-h ;.
8039 (octave-find-definition): New command and bind it to M-.
d74a1581 8040 (user-error): Alias to error if not defined.
b54f978b 8041
27135018
LL
80422013-05-02 Leo Liu <sdl.web@gmail.com>
8043
8044 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8045 for \. (bug#14332)
8046 (octave-font-lock-keywords): Include [ and {.
8047
0d634d3a
LL
80482013-05-02 Leo Liu <sdl.web@gmail.com>
8049
8050 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8051 (inferior-octave): Remove calling comint-mode and return the buffer.
8052 (inferior-octave-startup): Cosmetic changes.
8053
b4c8295e
LL
80542013-05-02 Leo Liu <sdl.web@gmail.com>
8055
30c7e542
SM
8056 * progmodes/octave.el (octave-syntax-propertize-function):
8057 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8058
f12ad6ec
GM
80592013-05-02 Glenn Morris <rgm@gnu.org>
8060
8061 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8062 * desktop.el (vc-dir-mode): Just autoload it here.
8063
30cac1e0
AM
80642013-05-02 Alan Mackenzie <acm@muc.de>
8065
8066 Eliminate variable c-standard-font-lock-fontify-region-function.
8067 * progmodes/cc-mode.el
8068 (c-standard-font-lock-fontify-region-function): Remove.
8069 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8070
d8ef28b1
LL
80712013-05-01 Leo Liu <sdl.web@gmail.com>
8072
2640d52e 8073 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8074 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8075 variables were removed from Octave in 2007.
d8ef28b1
LL
8076 (inferior-octave-startup): Fix uses.
8077 (comint-line-beginning-position): Remove compatibility code for
8078 emacs 21.
8079
ac63ec89
JL
80802013-05-01 Juri Linkov <juri@jurta.org>
8081
8082 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8083
9e9be37c
JL
80842013-05-01 Juri Linkov <juri@jurta.org>
8085
8086 * comint.el (comint-previous-matching-input): Don't print message
8087 "History item: %d" when `isearch-mode' is active.
8088 (comint-history-isearch-message): Print message "History item: %d"
8089 when `comint-input-ring-index' is not empty and this function is
8090 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8091
9b92c13b
LL
80922013-05-01 Leo Liu <sdl.web@gmail.com>
8093
8094 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8095 definitions. Use completion-at-point to insert keywords.
8096 (octave-abbrev-start): Remove.
8097 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8098
b12d33d7
LL
80992013-04-30 Leo Liu <sdl.web@gmail.com>
8100
8101 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8102 change.
8103
3d1c39fa
AM
81042013-04-30 Alan Mackenzie <acm@muc.de>
8105
8106 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8107 * progmodes/cc-engine.el (c-back-over-member-initializers):
8108 new function.
3d1c39fa
AM
8109 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8110 (most) member init lists.
8111
5147fc17
RS
81122013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8113
8114 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8115 variable.
8116
5b78d7fc
LL
81172013-04-30 Leo Liu <sdl.web@gmail.com>
8118
8119 * progmodes/octave.el (octave-variables): Remove. No builtin
8120 variables any more. All converted to functions.
8121 (octave-font-lock-keywords, octave-completion-at-point-function):
8122 Fix uses.
8123 (octave-font-lock-texinfo-comment): New user variable.
8124 (octave-texinfo-font-lock-keywords): New variable for texinfo
8125 comment block.
8126 (octave-function-comment-block): New face.
8127 (octave-font-lock-texinfo-comment): New function.
8128 (octave-mode): Font lock texinfo comment block.
8129
38d8527b
LL
81302013-04-29 Leo Liu <sdl.web@gmail.com>
8131
8132 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8133 indexing expression.
8134 (octave-continuation-string): Do not use \.
8135 (inferior-octave-complete-impossible): Remove.
8136 (inferior-octave-completion-table)
8137 (inferior-octave-completion-at-point): Remove its uses.
8138 (inferior-octave-startup): completion_matches was introduced to
8139 Octave in 1996 so safe to assume it.
8140 (octave-function-file-comment): Improve to follow how Octave does it.
8141 (octave-update-function-file-comment): Tweak.
8142
2ec12cb0
LL
81432013-04-29 Leo Liu <sdl.web@gmail.com>
8144
8145 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8146 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8147 (octave-function-file-comment): Fix typo.
8148 (octave-sync-function-file-names): Use read-char-choice.
8149
6eaed048
JB
81502013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8151
8152 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8153 to t for the less important warnings.
8154
3ffa2d4f
DH
81552013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8156
8157 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8158
685c9501
GM
81592013-04-27 Glenn Morris <rgm@gnu.org>
8160
8161 * vc/log-view.el (log-view-current-entry):
8162 Treat "---" separator lines as part of the following rev. (Bug#14169)
8163
0208ede7
JL
81642013-04-27 Juri Linkov <juri@jurta.org>
8165
8166 * subr.el (read-number): Doc fix about using it by interactive
8167 code letter `n'. (Bug#14254)
8168
5db9dace
JL
81692013-04-27 Juri Linkov <juri@jurta.org>
8170
8171 * desktop.el (desktop-auto-save-timeout): New option.
8172 (desktop-file-checksum): New variable.
8173 (desktop-save): Add optional arg `auto-save' and don't auto-save
8174 if nothing changed.
8175 (desktop-auto-save-timer): New variable.
8176 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8177 (after-init-hook): Call `desktop-auto-save-set-timer'.
8178 Suggested by Reuben Thomas <rrt@sc3d.org> in
8179 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8180
b7260dd4
LL
81812013-04-27 Leo Liu <sdl.web@gmail.com>
8182
8183 * progmodes/octave.el (octave-function-file-p)
8184 (octave-skip-comment-forward, octave-function-file-comment)
8185 (octave-update-function-file-comment): New functions.
8186 (octave-mode-map): Bind C-c ; to
8187 octave-update-function-file-comment.
8188 (octave-mode-menu): Add octave-update-function-file-comment.
8189 (octave-mode, inferior-octave-mode): Fix doc-string.
8190 (octave-insert-defun): Conform to Octave's coding convention.
8191 (Bug#14285)
8192
8193 * files.el (basic-save-buffer): Don't let errors in
8194 before-save-hook prevent saving buffer.
8195
c46da669
RW
81962013-04-20 Roland Winkler <winkler@gnu.org>
8197
8198 * faces.el (read-face-name): Use completing-read if arg multiple
8199 is nil.
8200
a81ee1eb
IL
82012013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8202
8203 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8204 displayed, move point to after the totals line.
8205 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8206 for the details.
8207
4fac34ce
SM
82082013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8211 Add current dir to the load-path.
8212 (package-generate-autoloads): Don't rely on
8213 autoload-ensure-default-file.
8214
f6bfc063
RT
82152013-04-26 Reuben Thomas <rrt@sc3d.org>
8216
d40ab5cf
BG
8217 * textmodes/remember.el (remember-store-in-files): Document that
8218 the file name format is passed to `format-time-string'.
f6bfc063 8219
e55d3b04
LL
82202013-04-26 Leo Liu <sdl.web@gmail.com>
8221
8222 * progmodes/octave.el (octave-sync-function-file-names): New function.
8223 (octave-mode): Use it in before-save-hook.
8224
e53052d3
SM
82252013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8226
140ef50c
SM
8227 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8228 (bug#14274).
8229
e53052d3
SM
8230 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8231 \n and comment, even if it's not an implicit ; (bug#14218).
8232
af80458d 82332013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8234
8235 * subr.el (read-number): Once more use `read' rather than
8236 `string-to-number', to trap non-numeric input. (Bug#14254)
8237
af80458d 82382013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8239
8240 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8241 Use `syntax-multiline' text property consistently instead of
8a621d53 8242 `font-lock-multiline'. (Bug#14237)
70203c2e 8243
e6ea1f6c
GM
82442013-04-26 Glenn Morris <rgm@gnu.org>
8245
8246 * emacs-lisp/shadow.el (list-load-path-shadows):
8247 No longer necessary to check for duplicate simple.el, since
8248 2012-07-07 change to init_lread to not include installation lisp
8249 directories in load-path when running uninstalled. (Bug#14270)
8250
070ccca4
LL
82512013-04-26 Leo Liu <sdl.web@gmail.com>
8252
8253 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8254 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8255 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8256 octave-in-string-or-comment-p.
8257 (octave-in-comment-p, octave-in-string-p)
8258 (octave-in-string-or-comment-p): Replace defsubst with defun.
8259
9d1c5fb6
PE
82602013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8261
8262 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8263
c034abda
BG
82642013-04-25 Bastien Guerry <bzg@gnu.org>
8265
8266 * textmodes/remember.el (remember-data-directory)
8267 (remember-directory-file-name-format): Fix custom types.
8268
584ea277
LL
82692013-04-25 Leo Liu <sdl.web@gmail.com>
8270
e53052d3
SM
8271 * progmodes/octave.el (octave-completion-at-point-function):
8272 Make use of inferior octave process.
584ea277
LL
8273 (octave-initialize-completions): Remove.
8274 (inferior-octave-completion-table): New function.
8275 (inferior-octave-completion-at-point): Use it.
8276 (octave-completion-alist): Remove.
8277
1693b06a
SM
82782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8281 (opascal-mode-syntax-table): New var.
8282 (opascal-literal-kind, opascal-is-literal-end)
8283 (opascal-literal-token-at): Rewrite.
8284 (opascal--literal-start-re, opascal-font-lock-keywords)
8285 (opascal--syntax-propertize): New constants.
8286 (opascal-font-lock-defaults): Adjust.
8287 (opascal-mode): Use them. Set comment-<foo> variables as well.
8288 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8289 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8290 (delphi-other-face, opascal-other-face): Remove face variables.
8291 (opascal-save-state): Remove macro.
8292 (opascal-fontifying-progress-step): Remove constant.
8293 (opascal--ignore-changes): Remove var.
8294 (opascal-set-token-property, opascal-parse-next-literal)
8295 (opascal-is-stable-literal, opascal-complete-literal)
8296 (opascal-is-literal-start, opascal-face-of)
8297 (opascal-parse-region, opascal-parse-region-until-stable)
8298 (opascal-fontify-region, opascal-after-change)
8299 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8300 (opascal-debug-parse-region, opascal-debug-parse-window)
8301 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8302 (opascal-debug-fontify-buffer): Remove.
8303 (opascal-debug-mode-map): Adjust accordingly.
8304
be64c05d
LL
83052013-04-25 Leo Liu <sdl.web@gmail.com>
8306
8307 Merge octave-mod.el and octave-inf.el into octave.el with some
8308 cleanups.
8309 * progmodes/octave.el: New file renamed from octave-mod.el.
8310 * progmodes/octave-inf.el: Merged into octave.el.
8311 * progmodes/octave-mod.el: Renamed to octave.el.
8312
d79d37bd
TH
83132013-04-25 Tassilo Horn <tsdh@gnu.org>
8314
8315 * textmodes/reftex-vars.el
8316 (reftex-label-ignored-macros-and-environments): New defcustom.
8317
8318 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8319
ced3fc5d
SM
83202013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8323 (smie-indent-keyword): Improve the check to ensure that the next
8324 comment is really on the same line.
8325 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8326
8327 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8328 semi-colons if the line is not otherwise empty (bug#14218).
8329
1c141dad
GM
83302013-04-25 Glenn Morris <rgm@gnu.org>
8331
8332 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8333
5058062a
SM
83342013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * progmodes/opascal.el (opascal-set-token-property): Rename from
8337 opascal-set-text-properties and only set `token' (bug#14134).
8338 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8339 (opascal-literal-text-properties): Remove.
8340 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8341 Adjust callers.
8342
5db9dace 83432013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8344
8345 * textmodes/remember.el (remember-handler-functions): Add an
8346 option for a new handler `remember-store-in-files'.
8347 (remember-data-directory, remember-directory-file-name-format):
8348 New options.
8349 (remember-store-in-files): New function to store remember notes
8350 as separate files within a directory.
8351
4391916c
MH
83522013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8353
8354 * progmodes/compile.el (compilation-next-error-function):
8355 Pass "formats" to compilation-find-file (bug#11777).
8356
bb7cdf58
GM
83572013-04-24 Glenn Morris <rgm@gnu.org>
8358
3b8fe752 8359 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8360 * vc/vc-hg.el (vc-hg-print-log):
8361 * vc/vc-svn.el (vc-svn-print-log):
8362 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8363
bb7cdf58
GM
8364 * vc/vc-bzr.el (vc-bzr-print-log):
8365 * vc/vc-cvs.el (vc-cvs-print-log):
8366 * vc/vc-git.el (vc-git-print-log):
8367 * vc/vc-hg.el (vc-hg-print-log):
8368 * vc/vc-mtn.el (vc-mtn-print-log):
8369 * vc/vc-rcs.el (vc-rcs-print-log):
8370 * vc/vc-sccs.el (vc-sccs-print-log):
8371 * vc/vc-svn.el (vc-svn-print-log):
8372 * vc/vc.el (vc-print-log-internal): Doc fixes.
8373
b46a056e
GM
83742013-04-23 Glenn Morris <rgm@gnu.org>
8375
8376 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8377 Remove venerable code attempting to avoid substitute-command-keys.
8378
0aecf718
TH
83792013-04-23 Tassilo Horn <tsdh@gnu.org>
8380
4391916c
MH
8381 * textmodes/reftex-vars.el (reftex-label-regexps):
8382 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8383
117f94cf
SM
83842013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8385
4391916c 8386 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8387 Use lexical-binding.
8388 (jit-lock-force-redisplay): Use markers, check buffer's continued
8389 existence and beware narrowed buffers.
8390 (jit-lock-fontify-now): Adjust call accordingly.
8391
1d829c64
SM
83922013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8395 to avoid misleading the user.
8396
72d548a9
LL
83972013-04-22 Leo Liu <sdl.web@gmail.com>
8398
8399 * info-look.el: Prefer latex2e.info. (Bug#14240)
8400
d0853629
MA
84012013-04-22 Michael Albinus <michael.albinus@gmx.de>
8402
8403 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8404
8405 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8406 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8407 (tramp-set-completion-function, tramp-parse-putty):
8408 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8409 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8410 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8411 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8412 (tramp-call-local-coding-command): Use `tramp-call-process'
8413 instead of `tramp-compat-call-process'.
8414
8415 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8416 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8417 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8418 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8419 (tramp-maybe-send-script): Check for Perl binary.
8420 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8421
38cc0210
DU
84222013-04-22 Daiki Ueno <ueno@gnu.org>
8423
8424 * epg.el (epg-context-pinentry-mode): New function.
8425 (epg-context-set-pinentry-mode): New function.
8426 (epg--start): Pass --pinentry-mode option to gpg command.
8427
cc641ee1
XF
84282013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8429
02d844b5 8430 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8431 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8432 `completion-at-point'. (Bug#13774)
5d4e5c31 8433
cc641ee1
XF
8434 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8435 default key binding for `describe-distribution' has been moved to
8436 `C-h C-o'. (Bug#13970)
8437
1b42ee43
GM
84382013-04-21 Glenn Morris <rgm@gnu.org>
8439
8440 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8441 Add doc strings.
8442 (vc-print-log): Clarify interactive prompt.
8443
a6d63d97
GM
84442013-04-20 Glenn Morris <rgm@gnu.org>
8445
8446 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8447 No longer include timestamp etc information.
8448
d7f5c16f
RW
84492013-04-20 Roland Winkler <winkler@gnu.org>
8450
8451 * faces.el (read-face-name): Bug fix, return just one face if arg
8452 multiple is nil. (Bug#14209)
8453
bcd7a0a4
SM
84542013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8457 (remove-function): Autoload.
8458
8459 * comint.el (comint-redirect-original-filter-function): Remove.
8460 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8461 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8462 (vc-cvs-annotate-command):
bcd7a0a4
SM
8463 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8464 * progmodes/prolog.el (prolog-consult-compile):
8465 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8466 Use add/remove-function instead.
8467 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8468 (gud-tooltip-process-output, gud-tooltip-tips):
8469 Use add/remove-function instead.
8470 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8471 (scheme-interaction-mode, exit-scheme-interaction-mode):
8472 Use add/remove-function instead.
8473
8474 * vc/vc-dispatcher.el: Use lexical-binding.
8475 (vc--process-sentinel): Rename from vc-process-sentinel.
8476 Change last arg to be the code to run. Don't use vc-previous-sentinel
8477 and vc-sentinel-commands any more.
8478 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8479 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8480
e36b2d20 84812013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8482
bcd7a0a4 8483 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8484 Handle function names with a single character. (Bug#14111)
4d3268ba 8485
781b4af6 84862013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8487
8488 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8489 for subroutines defined in an eval (bug#14182).
8490
7d688336
TV
84912013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8492
8493 * bookmark.el (bookmark-completing-read): Improve handling of empty
8494 string (bug#14176).
8495
31dcede0
SM
84962013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8499
adc31213
FEG
85002013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8501
8502 New faster Imenu implementation (bug#14058).
8503 * progmodes/python.el:
8504 (python-imenu-prev-index-position):
8505 (python-imenu-format-item-label-function)
8506 (python-imenu-format-parent-item-label-function)
8507 (python-imenu-format-parent-item-jump-label-function):
8508 New vars.
8509 (python-imenu-format-item-label)
8510 (python-imenu-format-parent-item-label)
8511 (python-imenu-format-parent-item-jump-label)
8512 (python-imenu--put-parent, python-imenu--build-tree)
8513 (python-imenu-create-index, python-imenu-create-flat-index)
8514 (python-util-popn): New functions.
8515 (python-mode): Set imenu-create-index-function to
8516 python-imenu-create-index.
8517
cdca8255
SM
85182013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * winner.el (winner-active-region): Use region-active-p, activate-mark
8521 and deactivate-mark (bug#14225).
8522
8523 * simple.el (deactivate-mark): Don't inline it.
8524
beb42340
MA
85252013-04-18 Michael Albinus <michael.albinus@gmx.de>
8526
8527 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8528
fc7f4d7e
TH
85292013-04-18 Tassilo Horn <tsdh@gnu.org>
8530
8531 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8532 file extensions from the archive-mode entry in order to prefer
8533 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8534
29f47822
LL
85352013-04-18 Leo Liu <sdl.web@gmail.com>
8536
8537 * bindings.el (help-event-list): Add ?\?.
8538
d36ed1c8
SM
85392013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * subr.el (with-wrapper-hook): Declare obsolete.
8542 * simple.el (filter-buffer-substring-function): New hook.
8543 (filter-buffer-substring): Use it.
8544 (filter-buffer-substring-functions): Mark obsolete.
8545 * minibuffer.el (completion-in-region-function): New hook.
8546 (completion-in-region): Use it.
8547 (completion-in-region-functions): Mark obsolete.
8548 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8549 * abbrev.el (abbrev-expand-function): New hook.
8550 (expand-abbrev): Use it.
8551 (abbrev-expand-functions): Mark obsolete.
8552 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8553 and :filter-return.
8554
04754d36
FEG
85552013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8556
8557 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8558 and do not care about match data.
8559
dd8791e9
SM
85602013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8563 completion tables when completing error conditions and
8564 `declare' arguments.
8565 (lisp-complete-symbol, field-complete): Mark as obsolete.
8566 (check-parens): Unmatched parens are user errors.
8567 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8568
ffe54a13
AM
85692013-04-17 Michal Nazarewicz <mina86@mina86.com>
8570
dd8791e9
SM
8571 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8572 command changed buffer (ie. `flyspell-pre-buffer' is not current
8573 buffer), which prevents making decisions based on invalid value of
8574 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8575 cause an error when `flyspell-pre-point' was nil after switching
8576 buffers.
8577 (flyspell-post-command-hook): No longer needs to change buffers when
8578 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8579
ec7e39f2
AM
85802013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8581
8582 * textmodes/ispell.el (ispell-add-per-file-word-list):
8583 Fix `flyspell-correct-word-before-point' error when accepting
8584 words and `coment-padding' is an integer by using
8585 `comment-normalize-vars' (Bug #14214).
8586
083850a6
FEG
85872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8588
8589 New defun movement commands.
8590 * progmodes/python.el (python-nav--syntactically)
8591 (python-nav--forward-defun, python-nav-backward-defun)
8592 (python-nav-forward-defun): New functions.
8593
619ed6e1
FEG
85942013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8595
8596 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8597 (python-syntax-context): Use named compiler-macro for backwards
8598 compatibility with Emacs 24.x.
8599
7a1beb6c
LL
86002013-04-17 Leo Liu <sdl.web@gmail.com>
8601
8602 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8603 octave-hide-process-buffer.
8604
2d3fa3e5
SM
86052013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8608 (bug#14216).
8609
7ce5be54
JPG
86102013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8611
8612 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8613 Fix adjustment of offset when receiving incomplete responses from GDB
8614 (bug#14129).
8615
351edece
SM
86162013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8619 python-mode-abbrev-table.
8620 (python-skeleton-define): Adjust accordingly.
8621 (python-mode-abbrev-table): New table that inherits from it so that
8622 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8623
8624 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8625 (abbrev-symbol): Use it.
8626 (abbrev--before-point): Use it since we already handle inheritance.
8627
613f9481
LL
86282013-04-16 Leo Liu <sdl.web@gmail.com>
8629
8630 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8631 binding to info-lookup-symbol.
8632
51646b62
JB
86332013-04-16 Juanma Barranquero <lekktu@gmail.com>
8634
8635 * minibuffer.el (completion--twq-all):
8636 * term/ns-win.el (ns-initialize-window-system):
8637 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8638
efb3f01d
SM
86392013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8640
36c0a301
SM
8641 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8642 global bindings.
8643
efb3f01d
SM
8644 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8645
fb549d64
DG
86462013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8647
8648 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8649 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8650 to nil.
8651 (ruby-end-of-defun): Remove the unused arg, change the docstring
8652 to reflect that this function is only used as the value of
8653 `end-of-defun-function'.
8654 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8655 to reflect an earlier change that beginning/end-of-defun functions
8656 jump between methods in a class definition, as well as top-level
8657 functions.
8658
21e8fe2f
SM
86592013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * minibuffer.el (minibuffer-complete): Don't just scroll
8662 a *Completions* that's been iconified.
8663 (minibuffer-force-complete): Make sure repetitions do cycle when going
8664 through completion-in-region -> minibuffer-complete.
8665
20e527d0
AM
86662013-04-15 Alan Mackenzie <acm@muc.de>
8667
8668 Correct the placement of c-cpp-delimiters when there're #s not at
8669 col 0.
8670
8671 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8672 place a submatch around the #.
21e8fe2f
SM
8673 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8674 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8675 on the #, not BOL.
8676
dabefae5
SM
86772013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8680 (advice--member-p): New arg `name'.
8681 (advice--add-function, advice-member-p): Use it (bug#14202).
8682
85c9ab64
AM
86832013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8684
8685 Reformulate java imenu-generic-expression.
8686 The old expression contained ill formed regexps.
8687
8688 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8689 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8690 (cc-imenu-java-method-arg-regexp): New defconsts.
8691 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8692 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8693 handling of spaces in the regexp.
8694
0f821d99
AM
86952013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8696
8697 * textmodes/ispell.el (ispell-command-loop): Remove
8698 flyspell highlight of a word when ispell accepts it (bug #14178).
8699
eb922adf
MA
87002013-04-15 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8703 uses code from the previous `ange-ftp-run-real-handler'.
8704 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8705 only in case that function exist. This is needed for proper
8706 unloading of Tramp.
8707
4d9a0979
TH
87082013-04-15 Tassilo Horn <tsdh@gnu.org>
8709
8710 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8711
8712 * textmodes/reftex.el (reftex-compile-variables): Use it.
8713
a829b0dc
SM
87142013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8715
91e8293c
SM
8716 * files.el (normal-mode): Only use default major-mode if no other mode
8717 was specified.
8718
830aed4d
SM
8719 * emacs-lisp/trace.el (trace-values): New function.
8720
a829b0dc
SM
8721 * files.el: Allow : in local variables (bug#14089).
8722 (hack-local-variable-regexp): New var.
8723 (hack-local-variables-prop-line, hack-local-variables): Use it.
8724
7ae9f0fb
RW
87252013-04-13 Roland Winkler <winkler@gnu.org>
8726
8727 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8728 data before it gets modified by bibtex-beginning-of-entry.
8729
6646e848
RW
87302013-04-13 Roland Winkler <winkler@gnu.org>
8731
8732 * textmodes/bibtex.el (bibtex-url): Doc fix.
8733
87342013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8735
8736 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8737 does not visit a BibTeX file, exclude it from the list of buffers
8738 returned by bibtex-initialize.
8739
0aa3616e
SB
87402013-04-13 Stephen Berman <stephen.berman@gmx.net>
8741
8742 * window.el (split-window): Remove interactive form, since as a
8743 command this function is a special case of split-window-below.
8744 Correct doc string.
8745
011cddd6
RW
87462013-04-12 Roland Winkler <winkler@gnu.org>
8747
8748 * faces.el (read-face-name): Do not override value of arg default.
8749 Allow single faces and strings as default values. Remove those
8750 elements from return value that are not faces.
8751 (describe-face): Simplify.
8752 (face-at-point): New optional args thing and multiple so that this
8753 function can provide the same functionality previously provided by
8754 read-face-name.
8755 (make-face-bold, make-face-unbold, make-face-italic)
8756 (make-face-unitalic, make-face-bold-italic, invert-face)
8757 (modify-face, read-face-and-attribute): Use face-at-point.
8758
8759 * cus-edit.el (customize-face, customize-face-other-window)
8760 * cus-theme.el (custom-theme-add-face)
8761 * face-remap.el (buffer-face-set)
8762 * facemenu.el (facemenu-set-face): Use face-at-point.
8763
f24e0036
MA
87642013-04-12 Michael Albinus <michael.albinus@gmx.de>
8765
8766 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8767
da3cda2d
TH
87682013-04-10 Tassilo Horn <tsdh@gnu.org>
8769
8770 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8771 off leading { and trailing } from field values.
8772
15e54145
SM
87732013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8774
78ce603d
SM
8775 * emacs-lisp/timer.el (timer--check): New function.
8776 (timer--time, timer-set-function, timer-event-handler): Use it.
8777 (timer-set-idle-time): Simplify.
8778 (timer--activate): CSE.
8779 (timer-event-handler): Give more info in error message.
8780 (internal-timer-start-idle): New function, moved from C.
8781
15e54145
SM
8782 * mpc.el (mpc-proc): Add `restart' argument.
8783 (mpc-proc-cmd): Use it.
8784 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8785 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8786 less often.
8787
7144c627
MY
87882013-04-10 Masatake YAMATO <yamato@redhat.com>
8789
8790 * progmodes/sh-script.el: Implement `sh-mode' own
8791 `add-log-current-defun-function' (bug#14112).
8792 (sh-current-defun-name): New function.
8793 (sh-mode): Use the function.
8794
b39792eb
BG
87952013-04-09 Bastien Guerry <bzg@gnu.org>
8796
8797 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8798
8acdeb71
SM
87992013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8800
6fcdab68
SM
8801 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8802
8acdeb71
SM
8803 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8804 timer (bug#14156).
8805
e3e7b504
NF
88062013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8807
8808 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8809 declaration.
8810
201bb296
LL
88112013-04-07 Leo Liu <sdl.web@gmail.com>
8812
8813 * pcmpl-x.el: New file.
8814
ebb19708
DA
88152013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8816
8817 Do not set x-display-name until X connection is established.
8818 This is needed to prevent from weird situation described at
8819 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8820 * frame.el (make-frame): Set x-display-name after call to
8821 window system initialization function, not before.
8822 * term/x-win.el (x-initialize-window-system): Add optional
8823 display argument and use it.
8824 * term/w32-win.el (w32-initialize-window-system):
8825 * term/ns-win.el (ns-initialize-window-system):
8826 * term/pc-win.el (msdos-initialize-window-system):
8827 Add compatible optional display argument.
8828
33bb237a
EZ
88292013-04-06 Eli Zaretskii <eliz@gnu.org>
8830
8831 * files.el (normal-backup-enable-predicate): On MS-Windows and
8832 MS-DOS compare truenames of temporary-file-directory and of the
8833 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8834 don't fail comparison by compare-strings. Also, compare file
8835 names case-insensitively on MS-Windows and MS-DOS.
8836
134abf1f
SM
88372013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8840 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8841
d695cb94
DG
88422013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8843
e3e7b504
NF
8844 * whitespace.el (whitespace-color-on, whitespace-color-off):
8845 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8846
f4ad7ea1 88472013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8848
8849 * ispell.el (ispell-set-spellchecker-params):
8850 Really set `ispell-args' for all equivs.
8851
632556e4
SM
88522013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * ido.el (ido-completions): Use extra elements of ido-decorations
8855 (bug#14143).
8856 (ido-decorations): Update docstring.
8857
2a417372
MA
88582013-04-05 Michael Albinus <michael.albinus@gmx.de>
8859
8860 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8861 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8862 nil during initialization, in order not to miss changes since the
8863 file was opened. (Bug#14140)
8864
fc164b0c
LL
88652013-04-05 Leo Liu <sdl.web@gmail.com>
8866
8867 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8868
0ccecc08
JB
88692013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8870
8871 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8872
51af1aa2
GM
88732013-04-04 Glenn Morris <rgm@gnu.org>
8874
8875 * electric.el (electric-pair-inhibit-predicate): Add :version.
8876
b208ebc6
SM
88772013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8880 when a package is required several times (bug#14082).
8881
f3d3eaf0
RW
88822013-04-04 Roland Winkler <winkler@gnu.org>
8883
8884 * faces.el (read-face-name): Behave as promised by the docstring.
8885 Assume that arg default is a list of faces.
8886 (describe-face): Call read-face-name with list of default faces.
8887
2575da50
TV
88882013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8889
8890 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8891 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8892 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8893 the header.
8894 (bookmark-exit-hook-internal): Save even if list is empty.
8895
397703b4
YH
88962013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8897
8898 * emacs-lisp/package.el (package-pinned-packages): New var.
8899 (package--add-to-archive-contents): Obey it (bug#14118).
8900
691e26ae
AM
89012013-04-03 Alan Mackenzie <acm@muc.de>
8902
8a621d53
JB
8903 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8904 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8905
8906 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8907 parameter `not-in-delimiter'. Handle being inside comment opener.
8908 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8909 character in case we're typing a '*' after a '/'.
8910 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8911 instead by passing the parameter to c-state-pp-to-literal.
8912
8913 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8914 for elt. 7 of a parse state.
8915
4b725a70
PE
89162013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8917
8918 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8919 * international/latin1-disp.el, international/mule-util.el:
8920 * language/cyril-util.el, language/european.el, language/ind-util.el:
8921 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8922 * language/tibetan.el, language/viet-util.el:
8923 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8924
15c579f0
SM
89252013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8928 (electric-pair-post-self-insert-function): Use it.
8929 (electric-pair-default-inhibit): New function, extracted from
8930 electric-pair-post-self-insert-function.
8931
a77e2924
RW
89322013-03-31 Roland Winkler <winkler@gnu.org>
8933
8934 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8935
2bd8a4a8
SM
89362013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8939
8d3655be 89402013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8941
8942 Un-indent after "pass" and "return" statements (Bug#13888)
8943 * progmodes/python.el (python-indent-block-enders): New var.
8944 (python-indent-calculate-indentation): Use it.
8945
8d3655be 89462013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8947
8948 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8949 defun. Defining it as defalias could introduce too eager
8950 byte-compiler optimization. (Bug#14030)
8951
8d3655be 89522013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8953
8954 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8955
0b1619da
LL
89562013-03-30 Leo Liu <sdl.web@gmail.com>
8957
8958 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8959 (kmacro-execute-from-register): Pass the keyboard macro to
8960 kmacro-call-macro or repeating won't work correctly.
8961
0b938190
TZ
89622013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8963
8964 * progmodes/subword.el: Back to using `forward-symbol'.
8965
8966 * subr.el (forward-whitespace, forward-symbol)
8967 (forward-same-syntax): Move from thingatpt.el.
8968
35710234
LL
89692013-03-29 Leo Liu <sdl.web@gmail.com>
8970
8971 * kmacro.el (kmacro-to-register): New command.
8972 (kmacro-execute-from-register): New function.
8973 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8974
efc0bb73
SM
89752013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * mpc.el: Use defvar-local and setq-local.
8978 (mpc--proc-connect): Connection failures are not bugs.
8979 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8980 (mpc-volume-map): Bind to the up-events.
8981
75a2f981
TZ
89822013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8983
8984 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8985 instead of `forward-symbol'.
8986
17c781d1
SM
89872013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8990 (edebug--recursive-edit): Use it.
8991 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8992 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8993
f67bfbcf
LL
89942013-03-28 Leo Liu <sdl.web@gmail.com>
8995
8996 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8997
b59f639d
EZ
89982013-03-27 Eli Zaretskii <eliz@gnu.org>
8999
9000 * facemenu.el (list-colors-callback): New defvar.
9001 (list-colors-redisplay): New function.
9002 (list-colors-display): Install list-colors-redisplay as the
9003 revert-buffer-function. (Bug#14063)
9004
f557c1b1
SM
90052013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9006
b1da2957
SM
9007 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9008 and suffixes don't overlap (bug#14061).
9009
f557c1b1
SM
9010 * case-table.el: Use lexical-binding.
9011 (case-table-get-table): New function.
9012 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9013
002668e1
TZ
90142013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9015
9016 * progmodes/subword.el: Add `superword-mode' to do word motion
9017 over symbol_words (parallels and leverages `subword-mode' which
9018 does word motion inside MixedCaseWords).
9019
73572c72
AG
90202013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9021
78b8f320 9022 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9023 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9024
69b2c07e
SM
90252013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9028 Change return value to be a sexp. Delay `get-buffer' to after
9029 restoring the desktop (bug#13951).
9030
08bb5ee2
LL
90312013-03-26 Leo Liu <sdl.web@gmail.com>
9032
9033 * register.el: Move semantic tag handling back to
9034 cedet/semantic/senator.el. (Bug#14052)
9035
8d4c974e
SM
90362013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9039 into the prompt either (bug#13963).
9040
b234d92c
SM
90412013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9044 part of "(error-foo)".
9045
ddfa3cb4
JL
90462013-03-24 Juri Linkov <juri@jurta.org>
9047
9048 * replace.el (list-matching-lines-prefix-face): New defcustom.
9049 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9050 `occur-engine' if `face-differs-from-default-p' returns t.
9051 (occur-engine): Add `,' inside backquote construct to evaluate
9052 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9053 Pass `prefix-face' to the functions `occur-context-lines' and
9054 `occur-engine-add-prefix'.
9055 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9056 `prefix-face' and propertize the prefix with `prefix-face'.
9057 (Bug#14017)
9058
7b0e2f85
LL
90592013-03-24 Leo Liu <sdl.web@gmail.com>
9060
9061 * nxml/rng-valid.el (rng-validate-while-idle)
9062 (rng-validate-quick-while-idle): Guard against deleted buffer.
9063 (Bug#13999)
9064
9065 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9066 is the last entry in kill-buffer-hook.
9067
9068 * files.el (kill-buffer-hook): Doc fix.
9069
b3082f49
DG
90702013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9071
b234d92c
SM
9072 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9073 Make it safe-local.
bde73d27 9074
b3082f49
DG
9075 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9076
a320a2db
LL
90772013-03-23 Leo Liu <sdl.web@gmail.com>
9078
7e74b0fb
LL
9079 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9080 Remove.
9081
9082 * nxml/rng-valid.el (rng-validate-mode)
9083 (rng-after-change-function, rng-do-some-validation):
9084 * nxml/rng-maint.el (rng-validate-buffer):
9085 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9086 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9087 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9088 (nxml-extend-after-change-region): Use with-silent-modifications.
9089
a320a2db
LL
9090 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9091 timer-idle-list.
9092
9093 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9094 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9095 timer-idle-list. (Bug#13999)
9096
e38e6780
JL
90972013-03-23 Juri Linkov <juri@jurta.org>
9098
9099 * info.el (info-index-match): New face.
9100 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9101 main pattern and add text properties with the new face to matches
9102 in index entries relative to the beginning of the index entry.
9103 (Bug#14015)
9104
e8cc7880
DE
91052013-03-21 Eric Ludlam <zappo@gnu.org>
9106
9107 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9108 Inhibit read only while inserting objects.
9109
9bb0d822
TZ
91102013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9111
9112 * progmodes/cfengine.el: Update docs to mention
9113 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9114 symbol motion. Remove "_" from the word syntax.
9115
aa703640
TZ
91162013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9117
9118 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9119 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9120
afff09d0
JL
91212013-03-20 Juri Linkov <juri@jurta.org>
9122
9123 * info.el (Info-next-reference-or-link)
9124 (Info-prev-reference-or-link): New functions.
9125 (Info-next-reference, Info-prev-reference): Use them.
9126 (Info-try-follow-nearest-node): Handle footnote navigation.
9127 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9128
9a1ff164
SM
91292013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9132 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9133
2667d15d
PE
91342013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9135
9136 Suppress unnecessary non-ASCII chatter during build process.
9137 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9138 (batch-skkdic-convert): Suppress most of the chatter.
9139 It's not needed so much now that machines are faster,
9140 and its non-ASCII component was confusing; see Dmitry Gutov in
9141 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9142
438b0579
LL
91432013-03-20 Leo Liu <sdl.web@gmail.com>
9144
9145 * ido.el (ido-chop): Fix bug#10994.
9146
c128ab07
DG
91472013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9148
9149 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9150 Remove vars.
9a1ff164
SM
9151 (whitespace-color-on, whitespace-color-off):
9152 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9153
0e6008c5
SM
91542013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9157 remapping in mode-line.
9158 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9159
627b52b0
DG
91602013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9161
9162 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9163 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9164 (whitespace-font-lock-keywords): Change description.
9165 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9166 the constructed keywords instead.
9167 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9168
50c3a20b
LL
91692013-03-19 Leo Liu <sdl.web@gmail.com>
9170
9171 * progmodes/compile.el (compilation-display-error): New command.
9172 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9173 C-o. (Bug#13992)
9174
2aa2157b
PE
91752013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9176
9177 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9178
e477dbfa
JD
91792013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9180
9181 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9182
64ab82d1
MA
91832013-03-18 Michael Albinus <michael.albinus@gmx.de>
9184
9185 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9186
9187 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9188 * net/tramp-gvfs.el (top):
9189 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9190 (tramp-handle-shell-command): Use it.
9191 (tramp-dissect-file-name): Raise an error when hostname is a
9192 method name, and neither method nor user is specified.
9193
9194 * net/trampver.el: Update release number.
9195
33cef733
LL
91962013-03-18 Leo Liu <sdl.web@gmail.com>
9197
9198 Make sure eldoc can be turned off properly.
9199 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9200 eldoc-mode.
9201 (eldoc-display-message-p): Revert last change.
9202 (eldoc-display-message-no-interference-p)
9203 (eldoc-print-current-symbol-info): Tweak.
9204
2167b7b2
TH
92052013-03-18 Tassilo Horn <tsdh@gnu.org>
9206
9207 * doc-view.el (doc-view-new-window-function): Check the new window
9208 overlay's display property instead the char property of the
9209 buffer's first char. Use `with-selected-window' instead of
9210 `save-window-excursion' with `select-window'.
9211 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9212 display property instead the char property of the buffer's first char.
2167b7b2 9213
982efbcd
PE
92142013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9215
9216 Automate the build of ja-dic.el (Bug#13984).
9217 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9218 from the input, rather than assume that it's been done for us by the
9219 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9220 the current date into a ja-dic.el comment, as that complicates
9221 regression testing.
9222
2fcc7665
SM
92232013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * whitespace.el: Fix double evaluation.
9226 (whitespace-space, whitespace-hspace, whitespace-tab)
9227 (whitespace-newline, whitespace-trailing, whitespace-line)
9228 (whitespace-space-before-tab, whitespace-indentation)
9229 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9230 obsolete defvars.
9231 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9232 (whitespace-color-on): Use a single font-lock-add-keywords call.
9233 Fix double-evaluation of face variables.
9234
67c0a6e6
MA
92352013-03-17 Michael Albinus <michael.albinus@gmx.de>
9236
2fcc7665
SM
9237 * net/tramp-adb.el (tramp-adb-parse-device-names):
9238 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9239 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9240
69489f1d
LL
92412013-03-17 Leo Liu <sdl.web@gmail.com>
9242
9243 Extend eldoc to display info in the mode-line. (Bug#13978)
9244 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9245 (eldoc-mode-line-string): New variable.
9246 (eldoc-minibuffer-message): New function.
9247 (eldoc-message-function): New variable.
9248 (eldoc-message): Use it.
9249 (eldoc-display-message-p)
2fcc7665
SM
9250 (eldoc-display-message-no-interference-p):
9251 Support eldoc-post-insert-mode.
69489f1d
LL
9252
9253 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9254 (eval-expression): Run it.
9255
9c44569e
RW
92562013-03-17 Roland Winkler <winkler@gnu.org>
9257
9258 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9259 strings in the list of return values.
9260
327f1f6f
JB
92612013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9262
9263 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9264 radix before checking for HMS forms.
9265
67ed8fcd
LL
92662013-03-16 Leo Liu <sdl.web@gmail.com>
9267
9268 * progmodes/scheme.el: Add indentation and font-locking for λ.
9269 (Bug#13975)
9270
78be8b64 92712013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9272
9273 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9274 token before point (bug#13942).
9275
78be8b64 92762013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9277
95b43468 9278 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9279
98e775e6
EZ
92802013-03-16 Eli Zaretskii <eliz@gnu.org>
9281
9282 * startup.el (command-line-normalize-file-name): Fix handling of
9283 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9284 <xfq.free@gmail.com> in
9285 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9286
2edd6029
MA
92872013-03-15 Michael Albinus <michael.albinus@gmx.de>
9288
9289 Sync with Tramp 2.2.7.
9290
9291 * net/trampver.el: Update release number.
9292
d35f5864
TH
92932013-03-14 Tassilo Horn <tsdh@gnu.org>
9294
e903c210 9295 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9296 (doc-view-insert-image): Don't modify overlay associated to
9297 non-live windows, and implement horizontal centering of image in
9298 case it's smaller than the window.
9299 (doc-view-new-window-function): Force redisplay of new windows on
9300 doc-view buffers.
d35f5864 9301
1c4a85ed
KF
93022013-03-13 Karl Fogel <kfogel@red-bean.com>
9303
9304 * saveplace.el (save-place-alist-to-file): Don't sort
9305 `save-place-alist', just pretty-print it (bug#13882).
9306
85b66a21
MA
93072013-03-13 Michael Albinus <michael.albinus@gmx.de>
9308
a020afb9
JB
9309 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9310 Check whether `default-file-name-coding-system' is bound.
9311 It isn't in XEmacs.
85b66a21 9312
175600da
SM
93132013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9314
e7f7cb1a
SM
9315 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9316 backquotes for `obsolete' (bug#13929).
9317
175600da
SM
9318 * international/mule.el (find-auto-coding): Include file name in
9319 obsolescence warning (bug#13922).
9320
ca68a22e
TZ
93212013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9322
9323 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9324 for CFEngine 3-specific indentation.
9325 (cfengine3-indent-line): Use it. Fix up category regex.
9326 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9327
940e5099
SM
93282013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * type-break.el (type-break-file-name):
9331 * textmodes/remember.el (remember-data-file):
9332 * strokes.el (strokes-file):
9333 * shadowfile.el (shadow-initialize):
9334 * saveplace.el (save-place-file):
9335 * ps-bdf.el (bdf-cache-file):
9336 * progmodes/idlwave.el (idlwave-config-directory):
9337 * net/quickurl.el (quickurl-url-file):
9338 * international/kkc.el (kkc-init-file-name):
9339 * ido.el (ido-save-directory-list-file):
9340 * emulation/viper.el (viper-custom-file-name):
9341 * emulation/vip.el (vip-startup-file):
9342 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9343 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9344
cc725808
PE
93452013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9346
9347 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9348 * language/thai-word.el: Switch to UTF-8.
9349
a020afb9 9350See ChangeLog.16 for earlier changes.
e3d51b27
MR
9351
9352;; Local Variables:
9353;; coding: utf-8
e3d51b27
MR
9354;; End:
9355
ab422c4d 9356 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9357
9358 This file is part of GNU Emacs.
9359
9360 GNU Emacs is free software: you can redistribute it and/or modify
9361 it under the terms of the GNU General Public License as published by
9362 the Free Software Foundation, either version 3 of the License, or
9363 (at your option) any later version.
9364
9365 GNU Emacs is distributed in the hope that it will be useful,
9366 but WITHOUT ANY WARRANTY; without even the implied warranty of
9367 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9368 GNU General Public License for more details.
9369
9370 You should have received a copy of the GNU General Public License
9371 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.