* lisp/Makefile.in (abs_lisp): Remove, replace by abs_srcdir
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b0b9e592
GM
12013-11-02 Glenn Morris <rgm@gnu.org>
2
6a8b929e
GM
3 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4
c617f3d0
GM
5 Use relative filenames in TAGS files.
6 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7 (lisptagsfiles4, TAGS): Use relative file names.
8 (TAGS-LISP): Remove.
9 (maintainer-clean): No more TAGS-LISP file.
10
b0b9e592
GM
11 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12 (lisptagsfiles4): Use absolute filenames again.
13 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14 Remove all *loaddefs files, not just the first. Remove esh-groups.
15 (maintainer-clean): Delete TAGS, TAGS-LISP.
16
d1c0ea6a
BB
172013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
18
19 * emacs-lisp/package.el (package-version-join): Recognize
20 snapshot versions.
21
684d71c6
BB
222013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
23
24 * subr.el (version-regexp-alist): Add support for snapshot versions.
25
3d42b968
DG
262013-11-02 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
29 function, replacement for `smie-rule-parent' for when we want to
30 skip over our direct parent if it's an assignment token..
31 (ruby-smie-rules): Use it.
32
7ffd3721
DG
332013-11-02 Dmitry Gutov <dgutov@yandex.ru>
34
35 * progmodes/ruby-mode.el Use `syntax-propertize-function'
36 unconditionally. Remove now unnecessary forward declarations.
37 Remove XEmacs-specific setup.
38 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
39 (ruby-font-lock-syntactic-keywords)
40 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
41 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
42 (ruby-here-doc-end-syntax): Remove.
43 (ruby-mode): Don't check whether `syntax-propertize-rules' is
44 defined as function.
45
a3996a2e
BB
462013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
47
48 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
49
6f9260e8
BB
502013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
51
52 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
53 table and abbrev table, `define-derived-mode' does that for us
54 anyway.
55
6014de84
GM
562013-11-01 Glenn Morris <rgm@gnu.org>
57
58 * Makefile.in: Remove manual mh-e dependencies (writing .elc
59 files is atomic for some time, so no parallel compilation issues).
60
3c334c14
JD
612013-11-01 Jan Djärv <jan.h.d@swipnet.se>
62
63 * faces.el (face-x-resources): Add :distant-foreground.
64 (region): Use :distant-foreground for gtk and ns.
65
9bc236c8
TH
662013-11-01 Tassilo Horn <tsdh@gnu.org>
67
5246583b 68 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
69 BibTeX.
70 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
71 (reftex-locate-bibliography-files): Us it.
72
d14c81ee
CB
732013-11-01 Claudio Bley <claudio.bley@googlemail.com>
74
0e7690de
CB
75 * image.el (image-type-header-regexps): Fix the 'pbm' part to
76 allow comments in pbm files.
77
d14c81ee
CB
78 * term/w32-win.el (dynamic-library-alist): Support newer versions
79 of libjpeg starting with v7: look only for the DLL from the
80 version against which Emacs was built.
ac1bf374 81 Support versions of libpng beyond 1.4.x.
019c8218 82 Support libtiff v4.x.
d14c81ee 83
983d0df5
BB
842013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
85
86 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
87 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
88 Add property :safe.
89 (ruby-deep-arglist): Add property :type.
90
47f58d85
GM
912013-10-31 Glenn Morris <rgm@gnu.org>
92
93 * Makefile.in (custom-deps, finder-data): No need to setq the target
94 variables, we are in the right directory and the defaults work fine.
95
4f85b479
GM
962013-10-30 Glenn Morris <rgm@gnu.org>
97
ca7dd4cd
GM
98 * Makefile.in (autoloads): Do not use abs_lisp.
99
4f85b479
GM
100 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
101 `newline' does not respect `standard-output', so use `princ'.
102
cf59e41c
AA
1032013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
104
105 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
106 * buff-menu.el (Buffer-menu--unmark): New function.
107 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
108
74cf04fb
GM
1092013-10-30 Glenn Morris <rgm@gnu.org>
110
b040b60e
GM
111 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
112
f53d3815
GM
113 * emacs-lisp/package.el (lm-homepage): Declare.
114
5413d873
GM
115 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
116 Fix doc typos.
117
cecedb36
GM
118 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
119
74cf04fb
GM
120 * Makefile.in (finder-data, autoloads, update-subdirs)
121 (compile-main, compile-clean, compile-always, bootstrap-clean):
122 Check return value of cd.
123 (compile-calc): Remove.
124
195ee2f0
SM
1252013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
126
ae4002ce
SM
127 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
128
129 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
130 (byte-compile-and-folded): New function.
131 (=, <, >, <=, >=): Use it.
132
133 * dos-w32.el (minibuffer-history-case-insensitive-variables)
134 (path-separator, null-device, buffer-file-coding-system)
135 (lpr-headers-switches): Check system-type before modifying them.
136 (find-buffer-file-type-coding-system): Mark obsolete.
137 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
138 find-file-not-found-set-buffer-file-coding-system.
139 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
140 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
141 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
142 (w32-direct-print-region-helper, w32-direct-print-region-function)
143 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
144 * startup.el (normal-top-level-add-subdirs-to-load-path):
145 * ps-print.el (ps-print-region-function):
146 * lpr.el (print-region-function): Use new name.
147
53b39e89
SM
148 * subr.el (custom-declare-variable-early): Remove function.
149 (custom-declare-variable-list): Remove var.
150 (error, user-error): Remove `while' loop.
151 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
152 (user-emacs-directory-warning, locate-user-emacs-file):
153 Move to files.el.
154 * simple.el (read-quoted-char-radix, read-quoted-char):
155 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
156 Move from subr.el.
157 * custom.el (custom-declare-variable-list): Don't process
158 custom-declare-variable-list.
159
195ee2f0
SM
160 * progmodes/python.el (python-shell-get-buffer): New function.
161 (python-shell-get-process): Use it.
162 (python-shell-send-string): Always use utf-8 and add a cookie to tell
163 Python which encoding was used. Don't split-string since we only care
164 about the first line. Return the temp-file, if applicable.
165 (python-shell-send-region): Tell compile.el how to turn locations in
166 the temp-file into locations in the source buffer.
167
7e3561ee
SM
1682013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
169
4c9797cb
SM
170 * subr.el (undefined): Add missing behavior from the C code for
171 unbound keys.
172
3472b6c6
SM
173 * rect.el: Use lexical-binding. Add new rectangular region support.
174 (rectangle-mark): New command.
175 (rectangle--region): New var.
176 (deactivate-mark-hook): Reset rectangle--region.
177 (rectangle--extract-region, rectangle--insert-for-yank)
178 (rectangle--highlight-for-redisplay)
179 (rectangle--unhighlight-for-redisplay): New functions.
180 (region-extract-function, redisplay-unhighlight-region-function)
181 (redisplay-highlight-region-function): Use them to handle
182 rectangular region.
183 * simple.el (region-extract-function): New var.
184 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
185 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
186 (kill-region): Replace obsolete `yank-handler' arg with `region'.
187 (copy-region-as-kill, kill-ring-save): Add `region' argument.
188 (redisplay-unhighlight-region-function)
189 (redisplay-highlight-region-function): New vars.
190 (redisplay--update-region-highlight): New function.
191 (pre-redisplay-function): Use it.
192 (exchange-point-and-mark): Don't deactivate the mark before
193 reactivate-it anyway.
194 * comint.el (comint-kill-region): Remove yank-handler argument.
195 * delsel.el (delete-backward-char, backward-delete-char-untabify)
196 (delete-char): Remove property, since it's now part of their
197 default behavior.
198 (self-insert-iso): Remove property since this command doesn't exist.
199
7e3561ee
SM
200 * emacs-lisp/package.el (package--download-one-archive)
201 (describe-package-1): Don't query the user about final newline.
202
b9bef71f
DC
2032013-10-29 Daniel Colascione <dancol@dancol.org>
204
205 * net/tramp.el (tramp-methods): Document new functionality.
206 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
207 tramp-hostname-checker if method provides one instead of scanning
208 argument list for "%h" to decide hostname acceptability.
209
4efc33f0
MA
2102013-10-28 Michael Albinus <michael.albinus@gmx.de>
211
212 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
213 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
214 Handle COPY-CONTENTS. (Bug#15737)
215
ed42a877
DU
2162013-10-28 Daiki Ueno <ueno@gnu.org>
217
218 * epa-file.el
7e3561ee
SM
219 (epa-file-cache-passphrase-for-symmetric-encryption):
220 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 221
18c9f8a2
XF
2222013-10-27 Xue Fuqiao <xfq.free@gmail.com>
223
7a4bc7be
XF
224 * image.el (defimage):
225 (image-load-path): Doc fixes.
18c9f8a2 226
b1e8e010
AM
2272013-10-27 Alan Mackenzie <acm@muc.de>
228
229 Indent statements in macros following "##" correctly.
7e3561ee
SM
230 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
231 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 232
73d40d1e 2332013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
234
235 * linum.el (linum-update-window): Fix boundary test (bug#13446).
236
c8c605ac
DG
2372013-10-27 Dmitry Gutov <dgutov@yandex.ru>
238
239 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
240 after `=' is probably a new expression.
241
ca7e59d4
RS
2422013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
243
244 * man.el (man-imenu-title): New option.
245 (Man-mode-map): Add menu. (Bug#15722)
246 (Man-mode): Add imenu to menu.
247
bae91342
DG
2482013-10-26 Dmitry Gutov <dgutov@yandex.ru>
249
250 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
251 specific in what the first arg can be: a non-keyword word,
252 string/regexp/percent literal opener, opening paren, or unary
253 operator followed directly by word.
254
eb89dc14
SM
2552013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
258 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
259 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
260 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
261 Remove vars, they do not apply any more.
262 (prolog-mode-abbrev-table): Remove redundant declaration.
263 (prolog-upper-case-string, prolog-lower-case-string): Remove.
264 (prolog-use-smie): Remove.
265 (prolog-smie-rules): Add indentation rule for the if-then-else layout
266 supported by prolog-electric-if-then-else-flag.
267 (prolog-mode-variables, prolog-menu): Use setq-local.
268 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
269 Remove binding to `Backspace' since this key doesn't exist anyway.
270 Remove bindings for electric self-inserting keys.
271 (prog-mode): Assume it's defined.
272 (prolog-post-self-insert): New function.
273 (prolog-mode): Use it.
274 (prolog-indent-line, prolog-indent-level)
275 (prolog-find-indent-of-matching-paren)
276 (prolog-indentation-level-of-line, prolog-goto-comment-column)
277 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
278 (prolog-goto-next-paren, prolog-in-string-or-comment)
279 (prolog-tokenize, prolog-inside-mline-comment)
280 (prolog-find-start-of-mline-comment): Remove functions.
281 (prolog-find-unmatched-paren, prolog-clause-end)
282 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
283 (prolog-electric--if-then-else): Rename from
284 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
285 (prolog-tokenize-searchkey): Remove const.
286 (prolog-clause-info): Use forward-sexp.
287 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
288 (prolog-electric-if-then-else): Remove commands.
289 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
290 for use in post-self-insert-hook.
291 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
292 for use in post-self-insert-hook.
293 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
294 for use in post-self-insert-hook.
295 (prolog-electric--underscore): Rename from prolog-electric--underscore;
296 adapt it for use in post-self-insert-hook.
297
3dab0a83
MA
2982013-10-25 Michael Albinus <michael.albinus@gmx.de>
299
300 * emacs-lisp/ert.el (ert-run-tests-interactively):
301 Use `completing-read'. (Bug#9756)
302
fbfd0e1d
EZ
3032013-10-25 Eli Zaretskii <eliz@gnu.org>
304
305 * simple.el (line-move): Call line-move-1 instead of
306 line-move-visual when the current window hscroll is zero, but
307 temporary-goal-column indicates we will need to hscroll as result
308 of the movement. (Bug#15712)
309
963ce636
DG
3102013-10-25 Dmitry Gutov <dgutov@yandex.ru>
311
312 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
313 capitalization. Use :visible instead of :active.
314 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
315 commands that are used with SMIE.
316 (ruby-do-end-to-brace): Insert space after `{'.
317
a0be396a
JA
3182013-10-25 John Anthony <john@jo.hnanthony.com>
319
f73754c9
JA
320 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
321
322 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 323
f5bf77df
GM
3242013-10-25 Glenn Morris <rgm@gnu.org>
325
326 * vc/vc.el (vc-print-log): Don't use a working revision unless
327 one was explicitly specified. (Bug#15322)
328
37241f62
SM
3292013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * subr.el (add-to-list): Preserve return value in compiler-macro
332 (bug#15692).
333
6408a65d
RS
3342013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
335
336 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
337 result. Ask user to retry using '-all' flag. (Bug#15701)
338
71e3276b
SM
3392013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * emacs-lisp/smie.el: New smie-config system.
342 (smie-config): New defcustom.
343 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
344 (smie-config-guess, smie-config-save): New commands.
345 (smie-config--mode-local, smie-config--buffer-local)
346 (smie-config--trace, smie-config--modefuns): New vars.
347 (smie-config--advice, smie-config--mode-hook)
348 (smie-config--setter, smie-config-local, smie-config--get-trace)
349 (smie-config--guess-value, smie-config--guess): New functions.
350 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
351 text properties. Treat "string fence" syntax like string syntax.
352
353 * progmodes/sh-script.el (sh-use-smie): Change default.
354 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
355 (sh-var-value): Simplify by CSE.
356 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
357 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
358 is used.
359 (sh-guess-basic-offset): Use cl-incf.
360 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
361
60db713e
HE
3622013-10-24 Helmut Eller <eller.helmut@gmail.com>
363
364 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
365 (bug#15699).
366
8b251df6
GM
3672013-10-24 Glenn Morris <rgm@gnu.org>
368
369 * Makefile.in (abs_top_srcdir): Remove.
370 (update-subdirs): Use relative path to update-subdirs.
371
6be0e22b
EZ
3722013-10-24 Eli Zaretskii <eliz@gnu.org>
373
374 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
375 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
376 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
377 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 378
50b5b857
MA
3792013-10-24 Michael Albinus <michael.albinus@gmx.de>
380
381 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
382 (ert-test-skipped): New error.
383 (ert-skip, ert-stats-skipped): New defuns.
384 (ert--skip-unless): New macro.
385 (ert-test-skipped): New struct.
386 (ert--run-test-debugger, ert-test-result-type-p)
387 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
388 (ert--stats-set-test-and-result, ert-char-for-test-result)
389 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 390 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 391 Handle skipped tests. (Bug#9803)
50b5b857 392
6f317c2f
GM
3932013-10-24 Glenn Morris <rgm@gnu.org>
394
e43817c1
GM
395 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
396
6f317c2f
GM
397 * Makefile.in (abs_top_srcdir): New, set by configure.
398 (update-subdirs): Correct build-aux location.
399
369bbf71
DG
4002013-10-24 Dmitry Gutov <dgutov@yandex.ru>
401
8297b2cf
DG
402 * vc/vc.el (vc-print-root-log): Always set `default-directory'
403 value, whether we could auto-deduce `backend', or not.
404
369bbf71
DG
405 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
406 with parameters" example. Simplify the "is it block or is it
407 hash" check, but also make it more thorough.
408
d5f1282f
MF
4092013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
410
411 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
412
bc4aaa31
SM
4132013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
414
03d44565
SM
415 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
416 { if it is hanging.
417
bc4aaa31
SM
418 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
419 :before ";".
420
f493ff19
JB
4212013-10-23 Jed Brown <jed@59A2.org> (tiny change)
422
423 * progmodes/compile.el (compilation-directory-matcher)
424 (compilation-page-delimiter):
425 Support GNU Make-4.0 directory quoting. (Bug#15678)
426
c744a3b9
LL
4272013-10-23 Leo Liu <sdl.web@gmail.com>
428
429 * ido.el (ido-tidy): Handle read-only text.
430
b8e3b0a9
GM
4312013-10-23 Glenn Morris <rgm@gnu.org>
432
433 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
434 (emacs, compile, compile-always):
435 Quote entities that might contain whitespace.
436 (custom-deps, finder-data, autoloads): Use abs_lisp.
437 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
438 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
439 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
440
ee4282cd
DG
4412013-10-23 Dmitry Gutov <dgutov@yandex.ru>
442
bc4aaa31
SM
443 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
444 Use `following-char'.
7790a270 445
ee4282cd 4462013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
447
448 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
449 * progmodes/ruby-mode.el (ruby-smie-rules):
450 Remove corresponding workaround. Fix indentation rule of ";" so it
451 also applies when ";" is the parent.
452
d40a46d7
XF
4532013-10-22 Xue Fuqiao <xfq.free@gmail.com>
454
455 * frame.el (display-screens, display-pixel-height)
456 (display-pixel-width, display-mm-width, display-backing-store)
457 (display-save-under, display-planes, display-color-cells)
7790a270
SM
458 (display-visual-class, display-monitor-attributes-list):
459 Mention the optional ‘display’ argument in doc strings.
d40a46d7 460
a0f143c9
MG
4612013-10-22 Michael Gauland <mikelygee@amuri.net>
462
463 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
464 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
465
18cacc39
DG
4662013-10-21 Dmitry Gutov <dgutov@yandex.ru>
467
468 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
469 TODO. Add "." after " @ ".
470 (ruby-smie--at-dot-call): New function. Checks if point at method
471 call with explicit target.
472 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
473 to the method name tokens when it precedes them.
474 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
475 (ruby-smie-rules): Add rule for indentation before and after "."
476 token.
477
df74c4be
SM
4782013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
479
c6dab55f
SM
480 * textmodes/remember.el (remember-diary-extract-entries):
481 Avoid add-to-list.
482
df74c4be
SM
483 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
484 an instruction.
485
8c1ae481
DG
4862013-10-21 Dmitry Gutov <dgutov@yandex.ru>
487
cfef16c0
DG
488 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
489 (ruby-smie--implicit-semi-p): Add new operator chars.
490
8c1ae481
DG
491 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
492 `smie-down-list'.
493 (ruby-smie--args-separator-p): Check that there's no newline
494 between method call and its arguments.
495
87756ca9
AM
4962013-10-20 Alan Mackenzie <acm@muc.de>
497
498 Allow comma separated lists after Java "implements".
499
df74c4be
SM
500 * progmodes/cc-engine.el (c-backward-over-enum-header):
501 Parse commas.
87756ca9
AM
502 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
503 from a "disallowed" list in enum fontification.
504
c25f8957
JB
5052013-10-20 Johan Bockgård <bojohan@gnu.org>
506
df74c4be 507 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 508
c25f8957
JB
509 * progmodes/verilog-mode.el (verilog-mode): Don't set
510 comment-indent-function globally.
511
aca5fcdc
JD
5122013-10-20 Jan Djärv <jan.h.d@swipnet.se>
513
5f161884
JD
514 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
515 Move Info menu item creation to ns-win.el.
516
517 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
518 in menu bar.
519
aca5fcdc
JD
520 * menu-bar.el: Move GNUStep specific menus...
521
522 * term/ns-win.el (ns-initialize-window-system): ... to here.
523
914b7f98
SM
5242013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * simple.el (newline): Only run post-self-insert-hook when
527 called interactively.
528
846ffe77
JB
5292013-10-19 Johan Bockgård <bojohan@gnu.org>
530
531 * icomplete.el (icomplete-with-completion-tables): Add :version.
532
033f22dd
AM
5332013-10-19 Alan Mackenzie <acm@muc.de>
534
535 Fix fontification bugs with constructors and const.
536
537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
538 CASE 2) Remove the check for the absence of a suffix construct
539 after a function declaration with only types (no identifiers) in
540 the parentheses. Also, accept a function declaration with just a
541 type inside the parentheses, if this type can be positively
542 recognised as such, or if a prefix keyword like "explicit" nails
543 down the construct as a declaration.
544
58ce0cfc
EZ
5452013-10-19 Eli Zaretskii <eliz@gnu.org>
546
547 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
548 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
549 the problem whereby selecting a menu item that leads to a
550 minibuffer prompt moves the cursor out of the minibuffer window,
551 making it hard to type at the prompt. Suggested by Stefan Monnier
552 <monnier@iro.umontreal.ca>.
553
50e28e7d
JD
5542013-10-19 Jan Djärv <jan.h.d@swipnet.se>
555
556 * menu-bar.el: Don't make Services menu.
557
7deed4bf
RS
5582013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
559
560 * ffap.el: Handle "/usr/include/c++/<version>" directories.
561 (ffap-alist): Use ffap-c++-mode for c++-mode.
562 (ffap-c++-path): New variable.
563 (ffap-c++-mode): New function.
564
7bcb455b
JVJ
5652013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
566
567 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
568
f0ff1cd5
MA
5692013-10-18 Michael Albinus <michael.albinus@gmx.de>
570
571 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
572 introduced on 2013-09-08, which results in an infinite loop
573 requesting a password.
574
d64da4b7
GM
5752013-10-18 Glenn Morris <rgm@gnu.org>
576
577 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
578
ea89ff08
WS
5792013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
580
581 Sync with upstream verilog-mode revision 1a6ecec7.
582 * progmodes/verilog-mode.el (verilog-mode-version): Update.
583 (verilog-mode-release-date): Remove.
584 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
585 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
586 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
587 (verilog-auto-tieoff-ignore-regexp)
588 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
589 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
590 (verilog-signals-with, verilog-dir-cache-preserving)
591 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
592 Doc fixes.
593 (verilog-case-fold): New option, to control case folding in
594 regexp searches, bug597.
595 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
596 (verilog-string-match-fold, verilog-in-paren-count)
597 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
598 (verilog-at-close-struct-p): New functions.
599 (verilog-beg-block-re-ordered, verilog-extended-case-re)
600 (verilog-forward-sexp, verilog-set-auto-endcomments):
601 (verilog-leap-to-case-head): Handle "unique0" case.
602 (verilog-in-constraint-re): New constant.
603 (verilog-keywords, verilog-type-font-keywords):
604 Add some SystemVerilog 1800-2012 keywords.
605 (verilog-label-be): Remove unimplemented argument, bug669.
606 (verilog-batch-execute-func): When batch expanding clear
607 create-lockfiles to prevent spurious user locks when a file ends
608 up not changing.
609 (verilog-calculate-indent, verilog-calc-1)
610 (verilog-at-close-constraint-p, verilog-at-constraint-p)
611 (verilog-do-indent): Fix indentation of nested constraints
612 and structures.
613 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
614 (verilog-auto-inst-param): Use verilog-string-match-fold.
615 (verilog-read-inst-module-matcher):
616 Fix AUTOINST on gate primitives with #1.
617 (verilog-read-decls): Fix double-declaring user-defined typed signals.
618 Reads all user-defined typed variables.
619 (verilog-read-defines): Fix reading definitions inside comments, bug647.
620 (verilog-signals-matching-regexp)
621 (verilog-signals-not-matching-regexp, verilog-auto):
622 Respect verilog-case-fold.
623 (verilog-diff-report): Fix line count.
624 (verilog-auto-assign-modport): Remove unused local `modi'.
625 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
626 better handle multidimensional arrays.
627 Fix packed array ports misadding bit index in AUTOINST, bug637.
628 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
629 to not double-declare existing outputs and inputs, respectively.
630 (verilog-template-map): Bind U to verilog-sk-uvm-component.
631 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
632 (verilog-sk-uvm-component): New skeleton.
633 (verilog-submit-bug-report): Add verilog-case-fold,
634 remove verilog-mode-release-date.
635
ef566920
BR
6362013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
637
638 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
639 as before.
640
29df8a0b
RT
6412013-10-18 Reuben Thomas <rrt@sc3d.org>
642
643 * textmodes/remember.el (remember): set buffer-offer-save in
644 remember buffers (bug#13566).
645
04a19a79
DC
6462013-10-18 Daniel Colascione <dancol@dancol.org>
647
648 When evaluating forms in ielm, direct standard output to ielm
649 buffer. Add new ielm-return-for-effect command. Remove trailing
650 whitespace throughout.
651
652 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
653 (ielm-return-for-effect): New command.
654 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
655 (ielm-eval-input): Accept optional `for-effect' parameter.
656 Bind `standard-output' to stream we create using
04a19a79
DC
657 `ielm-standard-output-impl'. Suppress printing result when
658 `for-effect'.
659 (ielm-standard-output-impl): New function.
660 (inferior-emacs-lisp-mode): Explain new features in documentation.
661
4c1f03ef
MA
6622013-10-17 Michael Albinus <michael.albinus@gmx.de>
663
664 Code cleanup.
665
666 * net/tramp.el (tramp-debug-message): Do not check for connection
667 buffer.
668 (tramp-message): Use "vector" connection property.
669
670 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
671 (tramp-equal-remote, tramp-eshell-directory-change)
672 * net/tramp-adb.el (tramp-adb-handle-copy-file)
673 (tramp-adb-handle-rename-file)
674 * net/tramp-cmds.el (tramp-list-remote-buffers)
675 (tramp-cleanup-connection, tramp-cleanup-this-connection)
676 * net/tramp-compat.el (tramp-compat-process-running-p)
677 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
678 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
679 (tramp-gvfs-handle-rename-file)
680 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
681 (tramp-set-file-uid-gid)
682 * net/tramp-smb.el (tramp-smb-handle-copy-file)
683 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
684 of `file-remote-p'.
685
686 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
687 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
688 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
689 (tramp-gw-open-network-stream): Suppress unrelated traces.
690
691 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
692 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
694 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
695 connection property.
696
697 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 698 persistency file.
4c1f03ef
MA
699
700 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
701 Refactor common code. Improve debug message.
702 (tramp-maybe-open-connection)
703 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
704 connection buffer too early.
705
706 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
707 from `tramp-smb-actions-with-acl'.
708 (tramp-smb-actions-set-acl): New defconst.
709 (tramp-smb-handle-copy-directory)
710 (tramp-smb-action-get-acl): New defun, renamed from
711 `tramp-smb-action-with-acl'.
712 (tramp-smb-action-set-acl): New defun.
713 (tramp-smb-handle-set-file-acl): Rewrite.
714
642eb8b6
GM
7152013-10-17 Glenn Morris <rgm@gnu.org>
716
717 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
718
85527ff3
SM
7192013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
720
921c1d62
SM
721 * skeleton.el (skeleton-newline): Remove.
722 (skeleton-internal-1): Use (insert "\n") instead.
723
e333fb10
SM
724 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
725 let-bindings.
726
85527ff3
SM
727 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
728 forward-sexp-function while we redo its job (bug#15613).
729
c8722a97
JB
7302013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
731
732 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
733 represented by lists.
734
7a550bbb
GM
7352013-10-16 Glenn Morris <rgm@gnu.org>
736
737 * tmm.el (tmm--history): New dynamic variable.
738 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
739
f19da8ad
MA
7402013-10-16 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
743 (tramp-smb-errors): Add error messages.
744 (tramp-smb-actions-with-acl): New defconst.
745 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
746 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
747 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
748 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
749 (tramp-smb-get-stat-capability): Fix tests.
750
a24b9961
DK
7512013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
752
753 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
754 (bug#15580).
755
62ad85e6
GM
7562013-10-16 Glenn Morris <rgm@gnu.org>
757
0283d6b0
GM
758 * ansi-color.el (ansi-color-drop-regexp):
759 Add 1J, 1K, 2K. (Bug#15617)
760
012e2f9f
GM
761 * files.el (hack-local-variables--warned-lexical): New.
762 (hack-local-variables):
763 Warn about misplaced lexical-binding. (Bug#15616)
764
62ad85e6
GM
765 * net/eww.el (eww-render): Always set eww-current-url,
766 and update header line. (Bug#15622)
767 (eww-display-html): ... Rather than just doing it here.
768
6456c0ea
EZ
7692013-10-15 Eli Zaretskii <eliz@gnu.org>
770
771 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
772 menu navigations commands.
773
c2de5588
DK
7742013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
775
776 * progmodes/subword.el (subword-capitalize): Be careful when
777 the search for [[:alpha:]] fails (bug#15580).
778
ccd4a783
EZ
7792013-10-14 Eli Zaretskii <eliz@gnu.org>
780
781 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
782 to commands that scroll the menu.
783
1eda1d8d
DG
7842013-10-14 Dmitry Gutov <dgutov@yandex.ru>
785
c2de5588
DK
786 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
787 Handle methods ending with `?' and `!'.
1eda1d8d 788
e70181b8
AM
7892013-10-14 Akinori MUSHA <knu@iDaemons.org>
790
791 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
792 `japanese-cp932' to `cp932' to fix the problem where saving a
793 source file written in Shift_JIS twice would end up having
794 `coding: japanese-cp932' which Ruby could not recognize.
795 (ruby-mode-set-encoding): Add support for encodings mapped to nil
796 in `ruby-encoding-map'.
797 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
798 doesn't need to be explicitly declared in magic comment.
799 (ruby-encoding-map): Add type declaration for better customize UI.
800
9148ee92
GM
8012013-10-13 Glenn Morris <rgm@gnu.org>
802
a5d38e34
GM
803 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
804 Occur buffers are read-only. http://bugs.debian.org/720775
805
9148ee92
GM
806 * emacs-lisp/authors.el (authors-fixed-entries):
807 Comment out old alpha stuff.
808
a9ba094b
DG
8092013-10-13 Dmitry Gutov <dgutov@yandex.ru>
810
811 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
812 to `after-save-hook' instead of `before-save-hook'.
813 (ruby-mode-set-encoding): Use the value of coding system used to
814 write the file. Call `basic-save-buffer-1' after modifying the
815 buffer.
816
7a068717
AM
8172013-10-13 Alan Mackenzie <acm@muc.de>
818
819 Fix indentation/fontification of Java enum with
820 "implements"/generic.
821
c2de5588
DK
822 * progmodes/cc-engine.el (c-backward-over-enum-header):
823 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
824 (c-inside-bracelist-p): Uses new function above.
825 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
826 function above.
827 (c-font-lock-enum-tail): Uses new function above.
828
85b64f02
KH
8292013-10-13 Kenichi Handa <handa@gnu.org>
830
831 * international/mule-cmds.el (select-safe-coding-system): Remove a
832 superfluous condition in chekcing whether a coding system is safe
833 or not.
834
fc7f501b
OK
8352013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
836
837 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
838
fdcb2049
AP
8392013-10-13 Andreas Politz <politza@hochschule-trier.de>
840
841 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
842
8c106d17
GM
8432013-10-13 Glenn Morris <rgm@gnu.org>
844
feab892d
GM
845 * menu-bar.el (menu-bar-update-buffers):
846 Unify Buffers menu prompt string. (Bug#15576)
847
b22d0686
GM
848 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
849
8c106d17
GM
850 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
851 Add some entries.
852 (authors-fixed-entries): Use accented form of name.
853
1b12c797
SM
8542013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
855
650fa7bf 856 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 857 method calls (bug#15594).
650fa7bf
SM
858 (ruby-smie--args-separator-p): New function.
859 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
860 recognize paren-free method calls.
861
1b12c797
SM
862 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
863 internals of universal-argument.
864
029619c8
EZ
8652013-10-11 Eli Zaretskii <eliz@gnu.org>
866
867 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
868 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
869 dropped menu on second mouse click on the menu bar.
029619c8 870
dd070019
SM
8712013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
874 (explicit-shell-file-name): Declare.
875 (sh--vars-before-point, sh--cmd-completion-table): New functions.
876 (sh-completion-at-point-function): New function.
877 (sh-mode): Use it.
878 (sh-smie--keyword-p): Remove unused argument.
879 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
880 vars.
881 (sh-set-shell): Always setup SMIE, even if we use the
882 old indentation code.
883
0922b826
DG
8842013-10-11 Dmitry Gutov <dgutov@yandex.ru>
885
b68e2926
DG
886 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
887 cases of ? and =.
888 (ruby-smie-rules): Simplify the "do" rule. The cases when the
889 predicate would return nil are almost non-existent.
890 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
891
0922b826
DG
892 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
893 cache also after commands that modify the buffer but don't move
894 point.
895
ee041f2d
SM
8962013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * env.el (substitute-env-in-file-name): New function.
899 (substitute-env-vars): Extend the meaning of the optional arg.
900
a5dab159
EZ
9012013-10-10 Eli Zaretskii <eliz@gnu.org>
902
903 * term/w32-win.el (dynamic-library-alist): Define separate lists
904 of GIF DLLs for versions before and after 5.0.0 of giflib.
905 (Bug#15531)
906
db138698
JT
9072013-10-10 João Távora <joaotavora@gmail.com>
908
909 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
910 not locked, use last revision and current source as
911 defaults. (Bug#15569)
912
2f6e161e
MY
9132013-10-10 Masatake YAMATO <yamato@redhat.com>
914
915 * menu-bar.el (menu-bar-open): Don't use popup-menu if
916 menu-bar is hidden.
917
6c8413fc
MR
9182013-10-10 Martin Rudalics <rudalics@gmx.at>
919
920 * window.el (pop-to-buffer-same-window): Fix doc-string.
921 (Bug#15492)
922
20832de0
SM
9232013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
926
c6e8ae77
AC
9272013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
928
929 * calendar/icalendar.el (icalendar-import-file):
930 Fix interactive spec. (Bug#15482)
931
9db13baf
GM
9322013-10-10 Glenn Morris <rgm@gnu.org>
933
9271e90e
GM
934 * desktop.el (desktop-save): Default to saving in .emacs.d,
935 since PWD is no longer in desktop-path by default. (Bug#15319)
936
9db13baf
GM
937 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
938 now that text mode has a menu with the same entry.
939 (menu-bar-text-mode-auto-fill): Remove now unused func.
940 * textmodes/text-mode.el (text-mode-map):
941 Use auto-fill help text from menu-bar.el.
942
a0be396a 9432013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
944
945 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
946
2edcd3c7
JL
9472013-10-09 Juri Linkov <juri@jurta.org>
948
949 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
950 instead of this-command-keys. Add universal-argument-more and
951 universal-argument-minus to the list of prefix commands. (Bug#15568)
952
574411d0
GM
9532013-10-09 Glenn Morris <rgm@gnu.org>
954
14afa541
GM
955 * vc/vc-svn.el (vc-svn-create-repo):
956 Expand paths in file://... url. (Bug#15446)
957
574411d0
GM
958 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
959 Add some entries.
960 (authors): Remove unused local variables.
961
79804536
SM
9622013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * profiler.el: Create a more coherent calltree from partial backtraces.
965 (profiler-format): Hide the tail with `invisible' so that C-s can still
966 find the hidden elements.
967 (profiler-calltree-depth): Don't recurse so enthusiastically.
968 (profiler-function-equal): New hash-table-test.
969 (profiler-calltree-build-unified): New function.
970 (profiler-calltree-build): Use it.
971 (profiler-report-make-name-part): Indent the calltree less.
972 (profiler-report-mode): Add visibility specs for profiler-format.
973 (profiler-report-expand-entry, profiler-report-toggle-entry):
974 Expand the whole subtree when provided with a prefix arg.
975
238150c8
DG
9762013-10-09 Dmitry Gutov <dgutov@yandex.ru>
977
978 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
979 iuwu-mod token.
980 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
981 hanging iuwu-mod token.
982 (ruby-smie--forward-token): Do not include a dot after a token in
983 that token.
984 (ruby-smie--backward-token): Likewise.
985
b0949cc4
JL
9862013-10-08 Juri Linkov <juri@jurta.org>
987
988 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
989 to isearch-other-control-char.
990 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
991 and isearch-post-command-hook to post-command-hook.
992 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
993 and isearch-post-command-hook from post-command-hook.
994 (isearch-unread-key-sequence)
995 (isearch-reread-key-sequence-naturally)
996 (isearch-lookup-scroll-key, isearch-other-control-char)
997 (isearch-other-meta-char): Remove functions.
998 (isearch-pre-command-hook, isearch-post-command-hook):
999 New functions based on isearch-other-meta-char rewritten
1000 relying on the new behavior of overriding-terminal-local-map
1001 that does not replace the local keymaps any more. (Bug#15200)
1002
4ed77415
EZ
10032013-10-08 Eli Zaretskii <eliz@gnu.org>
1004
1005 Support menus on text-mode terminals.
1006 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1007 functionality.
1008
1009 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1010
c2de5588
DK
1011 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1012 Move here from mouse.el.
4ed77415
EZ
1013 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1014 and arrow keys.
1015 (tty-menu-navigation-map): New map for TTY menu navigation.
1016
1017 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1018
1019 * frame.el (display-mouse-p): Report text-mode mouse as available
1020 on w32.
1021 (display-popup-menus-p): Report availability if mouse is
1022 available; don't condition on window-system.
1023
1024 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1025 (tty-menu-selected-face): New faces.
1026
b7d5bd82
TL
10272013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1028
06286513
SM
1029 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1030 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1031 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1032 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1033 New constants.
1034 (lisp-mode-variables): New `elisp' argument.
1035 (emacs-lisp-mode): Use it.
1036 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1037 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1038
b7d5bd82
TL
1039 * indent.el: Use lexical-binding.
1040 (indent-region): Add progress reporter.
1041 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1042 last step.
1043 (indent--next-tab-stop): New function to implement this behavior.
1044 (tab-to-tab-stop, move-to-tab-stop): Use it.
1045
10462013-10-08 Teemu Likonen <tlikonen@iki.fi>
1047
1048 * indent.el (indent-rigidly--current-indentation): New function.
1049 (indent-rigidly-map): New var.
1050 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1051
5ea75d23
BG
10522013-10-08 Bastien Guerry <bzg@gnu.org>
1053
1054 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1055
cc5da1ec
SM
10562013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1057
8ffa1a0b
SM
1058 * progmodes/perl-mode.el: Use lexical-binding.
1059 Remove redundant :group args.
1060 (perl-nochange): Change default to be closer to other major modes's
1061 standard behavior.
1062 (perl-indent-line): Don't consider text on current line as a
1063 valid beginning of function from which to indent.
1064
f2223371
SM
1065 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1066 with more than one argument (bug#15538).
1067
44256060
SM
1068 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1069
cc5da1ec
SM
1070 * vc/pcvs.el: Use lexical-binding.
1071 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1072 environment of `eval'.
1073 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1074 than a list of expressions. Adjust callers.
1075 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1076
0ea1599d
DG
10772013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1078
1079 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1080 case of the dot in a chained method call being on the following line.
0ea1599d 1081
da3e5ebb
SM
10822013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1083
2abb4e65
SM
1084 * electric.el (electric-indent-inhibit): New var.
1085 (electric-indent-post-self-insert-function): Use it.
1086 * progmodes/python.el (python-mode): Set it.
1087
d2e0e795
SM
1088 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1089 open braces.
1090
1091 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1092
bdc6b4c8
SM
1093 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1094 (css-mode): Use electric-indent-chars.
1095
da3e5ebb
SM
1096 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1097 (font-lock-beg, font-lock-end): Move before first use.
1098 (nxml-mode): Use syntax-propertize-function.
1099 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1100 (nxml-extend-after-change-region): Remove.
1101 * nxml/xmltok.el: Use lexical-binding.
1102 (xmltok-save): Use `declare'.
1103 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1104 * nxml/nxml-util.el: Use lexical-binding.
1105 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1106 Use `declare'.
1107 * nxml/nxml-ns.el: Use lexical-binding.
1108 (nxml-ns-save): Use `declare'.
1109 (nxml-ns-prefixes-for): Avoid add-to-list.
1110 * nxml/rng-match.el: Use lexical-binding.
1111 (rng--ipattern): Use cl-defstruct.
1112 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1113 (rng-cons-group-after, rng-subst-group-after)
1114 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1115 Use closures instead of `(lambda...).
1116
f8f91d5d
MA
11172013-10-07 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1120 of BEG and END.
1121
da3e5ebb
SM
1122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1123 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1124 (tramp-gvfs-handle-insert-file-contents): Remove function.
1125
da3e5ebb
SM
1126 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1127 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1128
1129 * net/trampver.el: Update release number.
1130
7ccae3b1
SM
11312013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1132
55ca2c0d
SM
1133 * progmodes/compile.el (compilation-parse-errors):
1134 Use compilation--put-prop.
1135 (compilation--ensure-parse): Check compilation-multiline.
1136
731fc3ae
SM
1137 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1138
da3e5ebb
SM
1139 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1140 lexical-binding.
a5833280 1141
2e7ba2c2
SM
1142 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1143
7ccae3b1
SM
1144 * progmodes/ruby-mode.el: Fix recently added tests.
1145 (ruby-smie-grammar): Add - and +.
1146 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1147 (ruby-smie--backward-id): New functions.
1148 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1149 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1150 any more.
1151
85698d63
LL
11522013-10-07 Leo Liu <sdl.web@gmail.com>
1153
1154 * register.el (register-preview-delay)
1155 (register-preview-functions): New variables.
1156 (register-read-with-preview, register-preview)
1157 (register-describe-oneline): New functions.
1158 (point-to-register, window-configuration-to-register)
1159 (frame-configuration-to-register, jump-to-register)
1160 (number-to-register, view-register, insert-register)
1161 (copy-to-register, append-to-register, prepend-to-register)
1162 (copy-rectangle-to-register): Use register-read-with-preview to
1163 read register. (Bug#15525)
1164
3986af6c
DS
11652013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1166
1167 * net/network-stream.el (network-stream-open-starttls): Don't add
1168 --insecure if it's already present, because that gnutls-cli
1169 rejects getting that parameter twice.
1170
5cd9cda9
DG
11712013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1174 keyword, too.
1175
da9ea6d9
DG
11762013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * newcomment.el (comment-use-global-state): Change default value
1179 to t, mark obsolete (Bug#15251).
1180 (comment-beginning): In addition to `comment-to-syntax', check the
1181 value of `comment-use-global-state'.
1182
34d1a133
SM
11832013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1186 (ruby-comment-column): Follow the global default, by default.
1187 (ruby-smie-grammar): Add assignment syntax.
1188 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1189 open-paren, a comma, or a \.
1190 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1191 and line continuations.
1192 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1193 followed by implicit semi-colons. Add rule for string concatenation
1194 and for indentation at BOB.
1195 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1196
1197 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1198 calling next-sexp, since next-token may have skipped chars which
1199 next-sexp doesn't know should be skipped!
1200
6f6ab820
LL
12012013-10-05 Leo Liu <sdl.web@gmail.com>
1202
34d1a133
SM
1203 * progmodes/octave.el (octave-send-region):
1204 Call compilation-forget-errors.
6f6ab820 1205
34ca0f4c
XF
12062013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1207
1208 * vc/vc-svn.el (vc-svn-find-admin-dir):
1209 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1210 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1211 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1212 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1213
a27c1b72
SM
12142013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1217
258ab3bc
SM
12182013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * subr.el (read-passwd): Hide chars even when called within a context
1221 where after-change-functions is disabled (bug#15501).
1222 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1223 until we removed ourself from overriding-terminal-local-map.
1224
939fb29c
LL
12252013-10-04 Leo Liu <sdl.web@gmail.com>
1226
258ab3bc
SM
1227 * progmodes/octave.el (inferior-octave-mode):
1228 Call compilation-forget-errors.
939fb29c 1229
63bd7f35
XF
12302013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1231
1232 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1233
9e6229fa
MA
12342013-10-04 Michael Albinus <michael.albinus@gmx.de>
1235
1236 * net/secrets.el (secrets-create-collection): Add optional
1237 argument ALIAS. Use proper Label keyword. Append ALIAS as
1238 dbus-call-method argument. (Bug#15516)
1239
1dab32a3
LL
12402013-10-04 Leo Liu <sdl.web@gmail.com>
1241
1242 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1243 (inferior-octave-compilation-font-lock-keywords): New variables.
1244 (compilation-error-regexp-alist)
1245 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1246 (inferior-octave-mode): Use compilation-shell-minor-mode.
1247
6cad7ba3
JS
12482013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1249
1250 * minibuffer.el (completion--replace): Be careful that `end' might be
1251 a marker.
1252
acbadd00
DU
12532013-10-03 Daiki Ueno <ueno@gnu.org>
1254
1255 Add support for package signature checking.
1256 * emacs-lisp/package.el (url-http-file-exists-p)
1257 (epg-make-context, epg-context-set-home-directory)
1258 (epg-verify-string, epg-context-result-for)
1259 (epg-signature-status, epg-signature-to-string)
1260 (epg-check-configuration, epg-configuration)
1261 (epg-import-keys-from-file): Declare.
1262 (package-check-signature): New user option.
1263 (package-unsigned-archives): New user option.
1264 (package-desc): Add `signed' field.
1265 (package-load-descriptor): Set `signed' field if .signed file exists.
1266 (package--archive-file-exists-p): New function.
1267 (package--check-signature): New function.
1268 (package-install-from-archive): Check package signature.
1269 (package--download-one-archive): Check archive signature.
1270 (package-delete): Remove .signed file.
1271 (package-import-keyring): New command.
1272 (package-refresh-contents): Import default keyring.
1273 (package-desc-status): Add "unsigned" status.
1274 (describe-package-1, package-menu--print-info)
1275 (package-menu-mark-delete, package-menu--find-upgrades)
1276 (package-menu--status-predicate): Support "unsigned" status.
1277
adf2aa61
SM
12782013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1281 the new compilation scheme using the new byte-codes.
1282
1283 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1284 (byte-pophandler): New byte codes.
1285 (byte-goto-ops): Adjust accordingly.
1286 (byte-compile--use-old-handlers): New var.
1287 (byte-compile-catch): Use new byte codes depending on
1288 byte-compile--use-old-handlers.
1289 (byte-compile-condition-case--old): Rename from
1290 byte-compile-condition-case.
1291 (byte-compile-condition-case--new): New function.
1292 (byte-compile-condition-case): New function that dispatches depending
1293 on byte-compile--use-old-handlers.
1294 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1295 when we can.
1296
1297 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1298 Optimize under `condition-case' and `catch' if
1299 byte-compile--use-old-handlers is nil.
1300 (disassemble-offset): Handle new bytecodes.
1301
328a8179
SM
13022013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * subr.el (error): Use `declare'.
1305 (decode-char, encode-char): Use advertised-calling-convention instead
1306 of the docstring to discourage use of the `restriction' arg.
1307
15a1e936
DU
13082013-10-03 Daiki Ueno <ueno@gnu.org>
1309
1310 * epg.el (epg-verify-file): Add a comment saying that it does not
1311 notify verification error as a return value nor a signal.
1312 (epg-verify-string): Ditto.
1313
376f862a
KR
13142013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1315
1316 * progmodes/compile.el (compilation-start): Try globbing the arg to
1317 `cd' (bug#15417).
1318
a2f93a5f
MA
13192013-10-02 Michael Albinus <michael.albinus@gmx.de>
1320
1321 Sync with Tramp 2.2.8.
1322
1323 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1324 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1325 * net/trampver.el: Update release number.
1326
0daa0804
JD
13272013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1328
1329 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1330 and default-process-coding-system for darwin only.
1331
abd1ae34
SM
13322013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1335
be4e325d
MH
13362013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1337
1338 * vc/vc-git.el (vc-git-grep): Disable pager.
1339
e9155c4a
DG
13402013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1341
494e898b
DG
1342 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1343 Use :url instead of :homepage, as per
1344 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1345
e9155c4a
DG
1346 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1347 non-nil, use `syntax-ppss' (Bug#15251).
1348
481a8e0f
RS
13492013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1350
be4e325d
MH
1351 * progmodes/octave.el (inferior-octave-startup-file):
1352 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1353
056453c6
DG
13542013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1355
be4e325d
MH
1356 * emacs-lisp/package.el (package-desc-from-define):
1357 Accept additional arguments as plist, convert them to an alist and store
1358 them in the `extras' slot.
056453c6
DG
1359 (package-generate-description-file): Convert extras alist back to
1360 plist and append to the `define-package' form arguments.
1361 (package--alist-to-plist): New function.
1362 (package--ac-desc): Add `extras' slot.
1363 (package--add-to-archive-contents): Check if the archive-contents
1364 vector is long enough, and if it is, pass its `extras' slot value
1365 to `package-desc-create'.
1366 (package-buffer-info): Call `lm-homepage', pass the returned value
1367 to `package-desc-from-define'.
1368 (describe-package-1): Render the homepage button (Bug#13291).
1369
be4e325d
MH
1370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1371 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1372
832966e5
JD
13732013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1374
1375 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1376 and default-process-coding-system to utf-8-unix (Bug#15402).
1377
6cfe977d
XF
13782013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1379
1380 * subr.el (looking-back): Do not recommend using looking-back.
1381
38de11bd
AM
13822013-09-28 Alan Mackenzie <acm@muc.de>
1383
1384 Fix indentation/fontification of Java enum with "implements".
1385
1386 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1387 regexp which matches "implements", etc., in Java.
1388 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1389 specifier clauses coming after "enum".
1390 * progmodes/cc-fonts.el (c-font-lock-declarations)
1391 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1392 after "enum".
1393
1610938f
JD
13942013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1395
1396 * faces.el (region): Change ns_selection_color to
1397 ns_selection_fg_color, add ns_selection_bg_color.
1398
e090f499
LL
13992013-09-28 Leo Liu <sdl.web@gmail.com>
1400
4d2e94d1
LL
1401 * progmodes/octave.el (inferior-octave-completion-table)
1402 (inferior-octave-completion-at-point): Minor tweaks.
1403
e090f499
LL
1404 * textmodes/ispell.el (ispell-lookup-words): Rename from
1405 lookup-words. (Bug#15460)
1406 (lookup-words): Obsolete.
1407 (ispell-complete-word, ispell-command-loop): All uses changed.
1408
7e138a62
RS
14092013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1410
1411 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1412 (octave-mode-menu): Add octave-send-buffer.
1413 (octave-send-buffer): New function.
1414
5af5ed08
RS
14152013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1416
1417 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1418 octave-lookfor.
1419 (octave-mode-menu): Add octave-lookfor.
1420 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1421 octave-lookfor.
1422 (octave-lookfor): New function.
1423
3b7b2692
SM
14242013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * emacs-lisp/cl-macs.el:
1427 (cl--loop-destr-temps): Remove.
1428 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1429 its convention.
1430 (cl--loop-set-iterator-function): New function.
1431 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1432 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1433 Bind `it' with `let' instead of substituting it with `cl-subst'.
1434 (cl--unused-var-p): New function.
1435 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1436 Eliminate some unused variable warnings (bug#15326).
1437
529fb53f
TH
14382013-09-27 Tassilo Horn <tsdh@gnu.org>
1439
1440 * doc-view.el (doc-view-scale-reset): Rename from
1441 `doc-view-reset-zoom-level'.
1442 (doc-view-scale-adjust): New command.
1443 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1444 `doc-view-scale-adjust'.
1445
0550c95a
TH
14462013-09-26 Tassilo Horn <tsdh@gnu.org>
1447
1448 * doc-view.el (doc-view-reset-zoom-level): New command.
1449 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1450 zoom commands (bug#15466).
1451
6950f152
KH
14522013-09-26 Kenichi Handa <handa@gnu.org>
1453
1454 * international/quail.el (quail-help): Make it not a command.
1455
39587580
LL
14562013-09-26 Leo Liu <sdl.web@gmail.com>
1457
1458 * minibuffer.el (completion-all-sorted-completions): Make args
1459 optional as they are.
1460
00578659
DC
14612013-09-25 Daniel Colascione <dancol@dancol.org>
1462
1463 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1464 specs are and that they're not evaluated.
1465
0c173878
SS
14662013-09-24 Sam Steingold <sds@gnu.org>
1467
1468 * midnight.el (clean-buffer-list-kill-regexps)
1469 (clean-buffer-list-kill-buffer-names): Update for the new Man
1470 buffer naming which includes the object name.
1471
84998447
SM
14722013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1475 (eshell-parse-command, eshell-parse-pipeline): Use it since
1476 eshell-separate-commands requires a dynamic scoped var.
1477 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1478
33215353
LL
14792013-09-23 Leo Liu <sdl.web@gmail.com>
1480
1481 * autoinsert.el (auto-insert-alist): Make the value of
1482 lexical-binding match its file setting.
1483
57b16162
JB
14842013-09-23 Juanma Barranquero <lekktu@gmail.com>
1485
c8af4e67
JB
1486 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1487
57b16162
JB
1488 * autoarg.el (autoarg-kp-digit-argument):
1489 * electric.el (Electric-command-loop):
1490 * kmacro.el (kmacro-step-edit-insert):
1491 Do not set universal-argument-num-events.
1492
7186ba60
LL
14932013-09-22 Leo Liu <sdl.web@gmail.com>
1494
1495 * files.el (interpreter-mode-alist): Add octave.
1496
ece15004
AM
14972013-09-21 Alan Mackenzie <acm@muc.de>
1498
1499 C++: fontify identifier in declaration following "public:" correctly.
1500 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1501 to match "public", etc.
1502 (c-decl-prefix-re): Add ":" into the C++ value.
1503 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1504 bit. Add a check for a ":" preceded by "public", etc.
1505
75d83e22
EZ
15062013-09-21 Eli Zaretskii <eliz@gnu.org>
1507
1508 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1509 recognized by GDB 7.5 and later.
1510
d052d3bd
XF
15112013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1512
1513 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1514
31dca772
R
15152013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * subr.el (internal--call-interactively): New const.
1518 (called-interactively-p): Use it (bug#3984).
1519
98ccf24e
XF
15202013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1521
1522 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1523 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1524 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1525
c39cc7d1
SM
15262013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1529 (eshell-ls-orig-insert-directory): Remove.
1530 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1531 (eshell-ls-use-in-dired): Use advice-add/remove.
1532 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1533 Add `orig-fun' arg for use in :around advice.
1534 Make it check (redundantly) eshell-ls-use-in-dired.
1535
9a0289a2
GM
15362013-09-19 Glenn Morris <rgm@gnu.org>
1537
a2c501b8
GM
1538 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1539
c440407a
GM
1540 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1541
9a0289a2
GM
1542 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1543
85e05915
MA
15442013-09-19 Michael Albinus <michael.albinus@gmx.de>
1545
1546 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1547 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1548 (tramp-get-remote-python): New defuns.
1549 (tramp-get-remote-uid-with-perl)
1550 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1551 contributed by yary <not.com@gmail.com> (tiny change).
1552 (tramp-get-remote-uid-with-python)
1553 (tramp-get-remote-gid-with-python): New defuns. Python code
1554 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1555 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1556
ce503312
GM
15572013-09-19 Glenn Morris <rgm@gnu.org>
1558
f7544773
GM
1559 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1560
72fd2877
GM
1561 * eshell/em-unix.el (eshell-remove-entries):
1562 Rename argument to avoid name-clash with global `top-level'.
1563
336b5a56
GM
1564 * eshell/esh-proc.el (eshell-kill-process-function):
1565 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1566 (eshell-reset-after-proc): Remove unused arg `proc'.
1567
57a3a53d
GM
1568 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1569 (directory-files-and-attributes): Mark unused arg.
1570
3261d4af
GM
1571 * eshell/em-unix.el (eshell-remove-entries):
1572 Remove unused arg `path'. Update callers.
1573
8e51b5d0
GM
1574 * eshell/em-hist.el (eshell-hist-parse-arguments):
1575 Remove unused arg `silent'. Update callers.
1576
ce503312
GM
1577 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1578 Fix (f)boundp mix-up.
1579
1580 * eshell/em-smart.el (eshell-smart-scroll-window)
1581 (eshell-disable-after-change):
336b5a56 1582 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1583
ee3ce8a7
AM
15842013-09-18 Alan Mackenzie <acm@muc.de>
1585
1586 Fix fontification of type when followed by "const".
1587 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1588 "known" types from fontification.
1589
ec9177ba
GM
15902013-09-18 Glenn Morris <rgm@gnu.org>
1591
7bb3e768
GM
1592 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1593 (chart-face-list): Drop Emacsen without display-color-p.
1594
5148da15
GM
1595 * net/eww.el (libxml-parse-html-region): Declare.
1596 (eww-display-html): Explicit error if no libxml2 support.
1597
2f68e157
GM
1598 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1599
9019d095
GM
1600 * image.el (image-type-from-buffer, image-multi-frame-p):
1601 Remove --without-x warning/error.
67645389 1602
5f30349b 1603 * mouse.el (mouse-yank-primary):
45069b2e 1604 * term.el (term-mouse-paste):
5f30349b
GM
1605 Reorder to silence --without-x compilation.
1606
cd8edbbe
GM
1607 * mpc.el (doc-view-mode): Silence --without-x compilation.
1608
8a78544e
GM
1609 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1610 Silence --without-x compilation.
1611
12679bfd
GM
1612 * progmodes/gud.el (gud-find-file, gud-mode):
1613 Silence --without-x compilation.
1614 (tooltip-mode): Declare.
30810a05 1615
f0047cb9
GM
1616 * wdired.el (dired-backup-overwrite): Remove declaration.
1617 (wdired-mode-map): Add doc string.
1618
e740f9d2
GM
1619 * custom.el (x-get-resource): Declare.
1620
92d77c89
GM
1621 * eshell/em-glob.el (ange-cache):
1622 * eshell/em-unix.el (ange-cache): Declare.
1623
76e69577
GM
1624 * faces.el (x-display-list, x-open-connection, x-get-resource):
1625 Declare.
7e58af4b
GM
1626
1627 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1628 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1629 Declare.
76e69577 1630
4bd4c0af 1631 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1632
ffb82dbd
GM
1633 * net/gnutls.el (gnutls-log-level): Declare.
1634
986ed135
GM
1635 * net/shr.el (image-size, image-animate): Declare.
1636
e740f9d2
GM
1637 * simple.el (font-info): Declare.
1638
d2f3e9f8
GM
1639 * subr.el (x-popup-dialog): Declare.
1640
047a1a4c
GM
1641 * term/common-win.el (x-select-enable-primary)
1642 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1643 Declare.
1644
f4a1d572
GM
1645 * term/ns-win.el (x-handle-args): Declare.
1646
e843de77
GM
1647 * term/x-win.el (x-select-enable-clipboard): Declare.
1648
5fa89513
GM
1649 * term/w32-win.el (create-default-fontset): Declare.
1650
38702b5b
GM
1651 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1652 Declare.
1653
e740f9d2
GM
1654 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1655 (fit-frame-to-buffer): Explicit error if --without-x.
1656 (mouse-autoselect-window-select): Silence compiler.
1657
49a053fc
GM
1658 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1659
1660 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1661 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1662 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1663 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1664 Remove unused local variables.
1665
1666 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1667
ec9177ba
GM
1668 * textmodes/two-column.el: Make 2C-split work for --without-x.
1669 (scroll-bar-columns): Autoload.
1670 (top-level): Require fringe when compiling.
1671
9f25cb77
LL
16722013-09-18 Leo Liu <sdl.web@gmail.com>
1673
1674 * subr.el (add-hook): Robustify to handle closure as well.
1675
2b42da98
GM
16762013-09-17 Glenn Morris <rgm@gnu.org>
1677
1678 * simple.el (messages-buffer-mode-map): Unbind "g".
1679
e8b66a6a
SM
16802013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1681
9c0ad4f7
SM
1682 * help-mode.el (help-mode-finish): Use derived-mode-p.
1683 Remove obsolete highlighting.
1684
7a806dfb
SM
1685 * play/life.el (life-mode): Use define-derived-mode. Derive from
1686 special-mode.
1687 (life): Let-bind inhibit-read-only.
1688 (life-setup): Avoid `setq'. Use `life-mode'.
1689
96dbf5a8
SM
1690 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1691 which should not be needed any more.
1692 (package-menu-refresh, package-menu-describe-package): Use user-error.
1693
e8b66a6a
SM
1694 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1695 (eshell-post-rewrite-command-hook): Make obsolete.
1696 (eshell-parse-command): Simplify.
1697 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1698 (eshell--cmd): Declare.
1699 (eshell-parse-pipeline): Remove unused var `final-p'.
1700 Pass a dynvar to eshell-post-rewrite-command-hook.
1701 Implement the new eshell-post-rewrite-command-function.
1702 (eshell-invoke-directly): Remove unused arg `input'.
1703 * eshell/esh-io.el (eshell-io-initialize):
1704 Use eshell-post-rewrite-command-function (bug#15399).
1705 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1706 adjust to new calling convention.
1707 (eshell-create-handles): Rename args to avoid clashing with dynvar
1708 `standard-output'.
1709
90582f05
GM
17102013-09-17 Glenn Morris <rgm@gnu.org>
1711
1712 * simple.el (messages-buffer-mode): New major mode.
1713 (messages-buffer): New function.
1714 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1715 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1716 (ert-run-test): Use `messages-buffer' function.
90582f05 1717 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1718 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1719 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1720
39eb0cb5 17212013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1722
1723 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1724
1f1e06e2
SM
1725 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1726
70568a90
SM
17272013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1728
504a0381
SM
1729 * icomplete.el (icomplete-in-buffer): New var.
1730 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1731 vars and replace them with functions.
1732 (icomplete-minibuffer-setup): Adjust accordingly.
1733 (icomplete--completion-table, icomplete--completion-predicate)
1734 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1735 New functions.
1736 (icomplete-forward-completions, icomplete-backward-completions)
1737 (icomplete-simple-completing-p, icomplete-exhibit)
1738 (icomplete-completions): Use them.
1739 (icomplete--in-region-buffer): New var.
1740 (icomplete--in-region-setup): New function.
1741 (icomplete-mode): Use it.
1742
70568a90
SM
1743 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1744 (bug#15379).
1745 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1746 return args and options.
1747 (eshell-eval-using-options): Use the new return value of
1748 eshell--do-opts to set the options's vars in their scope.
1749 (eshell--set-option): Rename from eshell-set-option.
1750 Add arg `opt-vals'.
1751 (eshell--process-option): Rename from eshell-process-option.
1752 Add arg `opt-vals'.
1753 (eshell--process-args): Use an `opt-vals' alist to store the options's
1754 values during their processing and return them additionally to the
1755 remaining args.
1756
578c21bc
DG
17572013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1758
1759 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1760 continuation character an operator, as far as indentation is
1761 concerned (Bug#15369).
1762
c089653d
MR
17632013-09-15 Martin Rudalics <rudalics@gmx.at>
1764
1765 * window.el (window--state-put-2): Don't process buffer state
1766 when buffer doesn't exist any more (Bug#15382).
1767
1e53bb4b
GM
17682013-09-15 Glenn Morris <rgm@gnu.org>
1769
30753242
GM
1770 * eshell/em-unix.el (eshell/rm):
1771 Make -f ignore missing files. (Bug#15373)
1772
1e53bb4b
GM
1773 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1774 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1775 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1776
0d8863b3
GM
17772013-09-14 Glenn Morris <rgm@gnu.org>
1778
1779 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1780
d3fc6549
GM
17812013-09-13 Glenn Morris <rgm@gnu.org>
1782
1783 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1784 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1785
fcd42c11
DA
17862013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1787
1788 * frame.el (x-focus-frame): Mark as declared in frame.c.
1789
7830899f
SM
17902013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * ls-lisp.el: Use advice-add.
1793 (original-insert-directory): Remove.
1794 (ls-lisp--insert-directory): Rename from insert-directory; add
1795 `orig-fun' argument.
1796 (insert-directory): Advise.
1797
84387cd2
EZ
17982013-09-13 Eli Zaretskii <eliz@gnu.org>
1799
1800 * term.el (term-emulate-terminal): Decode the command string
1801 before passing it to term-command-hook. (Bug#15337)
1802
35ffc6ba
GM
18032013-09-13 Glenn Morris <rgm@gnu.org>
1804
5c3f9bcc
GM
1805 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1806
2ada368a
GM
1807 * eshell/esh-ext.el (eshell-search-path): Declare.
1808
fcef2e13
GM
1809 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1810 Otherwise an error occurs if eshell-dirs module not loaded.
1811
35ffc6ba
GM
1812 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1813
35c3d36e
MA
18142013-09-13 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1817 `tramp-check-proper-host'. Check for a valid method name.
1818
1819 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1820 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1821 * net/tramp-sh.el (tramp-maybe-open-connection):
1822 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1823
1824 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1825 also for hash values.
1826
ae5e4c48
SM
18272013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1828
379add74
SM
1829 * term/ns-win.el (parameters): Don't declare as dynamic.
1830 (before-make-frame-hook): Don't add ineffective function.
1831
ae5e4c48
SM
1832 * eshell/*.el: Use lexical-binding (bug#15231).
1833
b5623270
KH
18342013-09-12 Kenichi Handa <handa@gnu.org>
1835
ae5e4c48 1836 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1837
30213927
GM
18382013-09-12 Glenn Morris <rgm@gnu.org>
1839
be94d713 1840 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1841 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1842
44915370
GM
1843 * subr.el (do-after-load-evaluation): Also give compiler warnings
1844 when obsolete files are used (except by obsolete files).
1845
a6ae021f
GM
1846 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1847 in the status output, assume `filename' is the first. (Bug#15322)
1848
40e64f0c
GM
1849 * vc/vc.el (vc-deduce-fileset): Doc fix.
1850
16d9f896
GM
1851 * calc/calc-help.el (Info-goto-node):
1852 * progmodes/cperl-mode.el (Info-find-node):
1853 * vc/ediff.el (Info-goto-node): Update declarations.
1854
dea01c6e
GM
1855 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1856
759880bf 1857 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1858 (vc-bzr-pull): Require vc-dispatcher.
1859 * vc/vc-git.el (vc-compilation-mode): Declare.
1860 (vc-git-pull): Require vc-dispatcher.
1861
08d66420
GM
1862 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1863
30b626e9
GM
1864 * progmodes/octave.el (help-button-action): Declare.
1865
8c05cb10
GM
1866 * shell.el (shell-directory-tracker): Output error as a message
1867 rather than just returning it as a string.
1868 (shell-process-pushd): Remove useless use of message.
1869
30213927
GM
1870 * dframe.el (dframe-timer-fn):
1871 * files.el (dir-locals-read-from-file):
1872 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1873 (mpc-format):
1874 * reveal.el (reveal-post-command):
1875 * saveplace.el (load-save-place-alist-from-file):
1876 * shell.el (shell-resync-dirs):
1877 * w32-common-fns.el (x-get-selection-value):
1878 * emacs-lisp/copyright.el (copyright-find-copyright):
1879 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1880 * emulation/tpu-edt.el (tpu-copy-keyfile):
1881 * play/bubbles.el (bubbles--mark-neighbourhood):
1882 * progmodes/executable.el
1883 (executable-make-buffer-file-executable-if-script-p):
1884 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1885
d3b049e6
SM
18862013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1887
170266d0
SM
1888 Cleanup Eshell to rely less on dynamic scoping.
1889 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1890 last-value, and ext-command here. Bind `args' closer to `body'.
1891 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1892 (eshell--args): Declare new dynamic var.
1893 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1894 last-value, and ext-command. Pass `args' to `body'.
1895 (eshell-process-args): Bind eshell--args.
1896 (eshell-set-option): Use eshell--args.
1897 * eshell/eshell.el (eshell): Use derived-mode-p.
1898 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1899 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1900 (eshell-glob-function): Declare.
1901 * eshell/esh-util.el: Require cl-lib.
1902 (eshell-read-hosts-file): Avoid add-to-list.
1903 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1904 `err'.
1905 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1906 Declare.
1907 (eshell/diff): Remove unused var `err'.
1908 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1909 `killflag'.
1910 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1911 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1912 first use.
1913 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1914 Move declaration before first use.
1915 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1916 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1917 rely on cl-return.
1918
56834f3b
GM
19192013-09-12 Glenn Morris <rgm@gnu.org>
1920
1921 * term/ns-win.el (global-map): Remove binding for ispell-next,
1922 deleted 1999-05-29. (Bug#15357)
1923
5c91a2b8
GM
19242013-09-11 Glenn Morris <rgm@gnu.org>
1925
da712f22
GM
1926 * echistory.el (electric-command-history): Remove call to deleted func.
1927
512e4cdc
GM
1928 * play/landmark.el (landmark-mode): Fix typos.
1929
d3506ca5
GM
1930 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1931 Check cvs-sort-ignore-file is bound.
1932
5c91a2b8
GM
1933 * savehist.el: No need for cl when compiling on Emacs.
1934
feeff482
SM
19352013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1936
656bd483
SM
1937 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1938 (bug#15338).
d3b049e6
SM
1939 (eshell-self-insert-command, eshell-send-invisible):
1940 Remove unused argument.
656bd483
SM
1941 (eshell-handle-control-codes): Remove unused var `orig'.
1942 Avoid delete-backward-char.
1943
feeff482
SM
1944 * files.el (set-auto-mode): Simplify a bit further.
1945
2a08047a
GM
19462013-09-11 Glenn Morris <rgm@gnu.org>
1947
1948 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1949 (set-auto-mode): Don't regexp-quote elements.
1950 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1951 * progmodes/cc-mode.el (interpreter-mode-alist):
1952 * progmodes/ruby-mode.el (interpreter-mode-alist):
1953 Revert previous change.
1954
34675540
SM
19552013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1b3b87df
SM
1957 * play/snake.el (snake-mode):
1958 * play/mpuz.el (mpuz-mode):
1959 * play/landmark.el (lm-mode):
1960 * play/blackbox.el (blackbox-mode):
1961 * play/5x5.el (5x5-mode):
1962 * obsolete/options.el (Edit-options-mode):
1963 * net/quickurl.el (quickurl-list-mode):
1964 * net/newst-treeview.el (newsticker-treeview-mode):
1965 * mail/rmailsum.el (rmail-summary-mode):
1966 * mail/mspools.el (mspools-mode):
1967 * locate.el (locate-mode):
1968 * ibuffer.el (ibuffer-mode):
1969 * emulation/ws-mode.el (wordstar-mode):
1970 * emacs-lisp/debug.el (debugger-mode):
1971 * array.el (array-mode):
1972 * net/eudc.el (eudc-mode): Use define-derived-mode.
1973 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1974 Move initialization into declaration.
1975 (mairix-searches-mode): Use define-derived-mode.
1976 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1977 (eudc-edit-hotlist): Use dolist.
1978 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1979 (Man-mode): Use define-derived-mode.
1980 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1981 (Info-edit-mode): Use define-derived-mode.
1982 (Info-cease-edit): Use Info-mode.
1983 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1984 into declaration.
1985 (eshell-mode): Use define-derived-mode.
1986 * chistory.el (command-history-mode-map): Rename from
1987 command-history-map.
1988 (command-history-mode): Use define-derived-mode.
da712f22 1989 (Command-history-setup): Remove function.
1b3b87df
SM
1990 * calc/calc.el (calc-trail-mode-map): New var.
1991 (calc-trail-mode): Use define-derived-mode.
1992 (calc-trail-buffer): Set calc-main-buffer manually.
1993 * bookmark.el (bookmark-insert-annotation): New function.
1994 (bookmark-edit-annotation): Use it.
1995 (bookmark-edit-annotation-mode): Make it a proper major mode.
1996 (bookmark-send-edited-annotation): Use derived-mode-p.
1997 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1998 closer to its ideal place. Use \' to match EOS.
1999
34675540
SM
2000 * profiler.el (profiler-calltree-find): Use function-equal.
2001
6a5c15d9
GM
20022013-09-10 Glenn Morris <rgm@gnu.org>
2003
1af4c220
GM
2004 * files.el (interpreter-mode-alist): Convert to regexps.
2005 (set-auto-mode): Adapt for this. (Bug#15306)
2006 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2007 Comment out unused variable.
2008 * progmodes/cc-mode.el (interpreter-mode-alist):
2009 * progmodes/python.el (interpreter-mode-alist):
2010 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2011 * progmodes/sh-script.el (sh-set-shell):
2012 No longer use interpreter-mode-alist to get list of shells.
2013
6a5c15d9
GM
2014 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2015
8c27f5ff
SM
20162013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2017
02ef6c1a 2018 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2019 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2020 Bind switch-frame explicitly. Replace universal-argument-minus with
2021 a conditional binding.
2022 (universal-argument-num-events, saved-overriding-map): Remove.
2023 (restore-overriding-map): Remove.
2024 (universal-argument--mode): Rename from save&set-overriding-map,
2025 and rewrite.
2026 (universal-argument, universal-argument-more, negative-argument)
2027 (digit-argument): Adjust accordingly.
2028 (universal-argument-minus): Remove.
2029 (universal-argument-other-key): Remove.
2030
8c27f5ff
SM
2031 * subr.el (with-demoted-errors): Add `format' argument.
2032
6480194c
MA
20332013-09-10 Michael Albinus <michael.albinus@gmx.de>
2034
2035 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2036 `tramp-cleanup-connection'.
2037
2038 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2039 parameters KEEP-DEBUG and KEEP-PASSWORD.
2040
2041 * net/tramp.el (tramp-file-name-handler):
2042 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2043 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2044 (tramp-maybe-open-connection):
8c27f5ff
SM
2045 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2046 Use `tramp-cleanup-connection'.
6480194c 2047
8c27f5ff
SM
2048 * net/tramp-sh.el (tramp-maybe-open-connection):
2049 Catch 'uname-changed inside the progress reporter.
6480194c 2050
e5e916d8
GM
20512013-09-10 Glenn Morris <rgm@gnu.org>
2052
9a2c9b47
GM
2053 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2054
e5e916d8
GM
2055 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2056 returns "alternate access method" in mode (eg "-rw-r--r--.").
2057
144e38fe
GM
20582013-09-08 Glenn Morris <rgm@gnu.org>
2059
2060 * saveplace.el (load-save-place-alist-from-file):
2061 Demote errors. (Bug#15305)
2062
af9ff9e8
MA
20632013-09-08 Michael Albinus <michael.albinus@gmx.de>
2064
2065 Improve compatibility with older Emacsen, and XEmacs.
2066
2067 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2068 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2069 (with-tramp-progress-reporter): Do not let-bind `result'.
2070 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2071 (tramp-handle-make-auto-save-file-name): New function, moved from
2072 tramp-sh.el.
2073
2074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2075 for `make-auto-save-file-name'.
8c27f5ff
SM
2076 (tramp-adb--gnu-switches-to-ash):
2077 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2078
2079 * net/tramp-cache.el (tramp-cache-print): Call
2080 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2081
2082 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2083 bound. It isn't for XEmacs.
2084
8c27f5ff
SM
2085 * net/tramp-compat.el (tramp-compat-copy-file):
2086 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2087 (tramp-compat-replace-regexp-in-string): New defun.
2088
2089 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2090 for `make-auto-save-file-name'.
2091 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2092 `copy-file'.
2093 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2094 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2095 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2096
8c27f5ff
SM
2097 * net/tramp-gw.el (tramp-gw-open-network-stream):
2098 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2099
8c27f5ff
SM
2100 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2101 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2102 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2103 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2104 (tramp-sh-file-inotifywait-process-filter):
2105 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2106 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2107
2108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2109 for `make-auto-save-file-name'.
8c27f5ff
SM
2110 (tramp-smb-handle-copy-directory):
2111 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2112 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2113 (tramp-smb-handle-copy-file): Improve error message.
2114 (tramp-smb-handle-rename-file): Rename directly only in case
2115 `newname' does not exist yet. This is a restriction of smbclient.
2116 (tramp-smb-maybe-open-connection): Rerun the function only when
2117 `auth-sources' is non-nil.
2118
0ca754d0
KH
21192013-09-08 Kenichi Handa <handa@gnu.org>
2120
2121 * international/characters.el: Set category "^" (Combining) for
2122 more characters.
2123
e8dd0787
AM
21242013-09-07 Alan Mackenzie <acm@muc.de>
2125
2126 Correctly fontify Java class constructors.
2127 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2128 in Java Mode.
2129 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2130 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2131 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2132 "typeless" declaration there.
2133
f2f248e7
RW
21342013-09-07 Roland Winkler <winkler@gnu.org>
2135
2136 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2137 field subtitle for entry type book.
2138
67982e2b
SM
21392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * minibuffer.el: Make minibuffer-complete call completion-in-region
2142 rather than other way around.
2143 (completion--some, completion-pcm--find-all-completions):
2144 Don't delay signals when debugging.
2145 (minibuffer-completion-contents): Beware fields within the
2146 minibuffer contents.
2147 (completion-all-sorted-completions): Use defvar-local.
2148 (completion--do-completion, completion--cache-all-sorted-completions)
2149 (completion-all-sorted-completions, minibuffer-force-complete):
2150 Add args `beg' and `end'.
2151 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2152 (minibuffer-complete): Use completion-in-region.
2153 (completion-complete-and-exit): New fun, extracted from
2154 minibuffer-complete-and-exit.
2155 (minibuffer-complete-and-exit): Use it.
2156 (completion--complete-and-exit): Rename from
2157 minibuffer--complete-and-exit.
2158 (completion-in-region--single-word): New function, extracted from
2159 minibuffer-complete-word.
2160 (minibuffer-complete-word): Use it.
2161 (display-completion-list): Make `common-substring' argument obsolete.
2162 (completion--in-region): Call completion--in-region-1 instead of
2163 minibuffer-complete.
2164 (completion-help-at-point): Pass boundaries to
2165 minibuffer-completion-help as args rather than via an overlay.
2166 (completion-pcm--string->pattern): Use `any-delim'.
2167 (completion-pcm--optimize-pattern): New function.
2168 (completion-pcm--pattern->regex): Handle `any-delim'.
2169 * icomplete.el (icomplete-forward-completions)
2170 (icomplete-backward-completions, icomplete-completions):
2171 Adjust calls to completion-all-sorted-completions and
2172 completion--cache-all-sorted-completions.
2173 (icomplete-with-completion-tables): Default to t.
2174 * emacs-lisp/crm.el (crm--current-element): Rename from
2175 crm--select-current-element. Don't put an overlay but return the
2176 boundaries instead.
2177 (crm--completion-command): Take two new args to bind to the boundaries.
2178 (crm-completion-help): Adjust accordingly.
2179 (crm-complete): Use completion-in-region.
2180 (crm-complete-word): Use completion-in-region--single-word.
2181 (crm-complete-and-exit): Use completion-complete-and-exit.
2182
e17d94a5
SM
21832013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2186 than dynamically.
2187
96727100
JL
21882013-09-06 Juri Linkov <juri@jurta.org>
2189
2190 * info.el (Info-display-images-node): When image file doesn't exist
2191 display text version of the image if it's provided in the Info file.
2192 Otherwise, display the location of missing image from SRC attribute.
2193 Add help-echo text property from ALT attribute. (Bug#15279)
2194
86cf7329
SM
21952013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2198 (edit-abbrevs-mode): Use define-derived-mode.
2199
2200 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2201 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2202 that it's defined.
2203 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2204 Use define-derived-mode.
2205
2206 * epg.el (epg-start-encrypt): Minor CSE simplification.
2207
816244a2
WX
22082013-09-06 William Xu <william.xwl@gmail.com>
2209
2210 * arc-mode.el: Add support for 7za (bug#15264).
2211 (archive-7z-program): New var.
2212 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2213 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2214 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2215
1486fa31
MA
22162013-09-06 Michael Albinus <michael.albinus@gmx.de>
2217
2218 Remove URL syntax.
2219
2220 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2221 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2222 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2223 (tramp-postfix-host-format, tramp-file-name-regexp)
2224 (tramp-completion-file-name-regexp)
2225 (tramp-completion-dissect-file-name)
2226 (tramp-handle-substitute-in-file-name): Remove 'url case.
2227 (tramp-file-name-regexp-url)
2228 (tramp-completion-file-name-regexp-url): Remove constants.
2229
39785324
GM
22302013-09-06 Glenn Morris <rgm@gnu.org>
2231
2232 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2233
1f896cb7
DG
22342013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2237 keywords" below "here-doc beginnings" (Bug#15270).
2238
c0458e0b
SM
22392013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * subr.el (pop): Use `car-safe'.
2242 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2243 to detect unused `pop' return value.
2244
2245 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2246 var `block-regexp'.
2247 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2248 (python-fill-string): Remove unused var `marker'.
2249 (python-skeleton-add-menu-items): Remove unused var `items'.
2250
2251 * international/mule-cmds.el: Require CL.
2252 (find-coding-systems-for-charsets): Avoid add-to-list.
2253 (sanitize-coding-system-list): New function, extracted from
2254 select-safe-coding-system-interactively.
2255 (select-safe-coding-system-interactively): Use it.
2256 (read-input-method-name): Accept symbols for `default'.
2257
2258 * emacs-lisp/advice.el (defadvice): Add indent rule.
2259
6c42fc3e
DH
22602013-09-05 Daniel Hackney <dan@haxney.org>
2261
2262 * dired-x.el:
2263 * net/ange-ftp.el:
2264 * net/browse-url.el:
2265 * net/dbus.el:
2266 * net/eudc.el:
2267 * net/eudcb-ldap.el:
2268 * net/eww.el:
2269 * net/imap.el:
2270 * printing.el:
2271 * vc/ediff-diff.el:
2272 * vc/ediff-init.el:
2273 * vc/ediff-merg.el:
2274 * vc/ediff-mult.el:
2275 * vc/ediff-util.el:
2276 * vc/ediff-wind.el:
2277 * vc/ediff.el:
2278 * vc/emerge.el:
2279 * vc/pcvs.el:
2280 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2281 byte compiler. Remove some unused let-bound variables.
2282
4c528aab
SM
22832013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2286 a "ref-cell", since it gets better optimized (bug#14883).
2287
bd15c390
GM
22882013-09-05 Glenn Morris <rgm@gnu.org>
2289
2290 * progmodes/cc-awk.el (c-forward-sws): Declare.
2291
1c3ac2e5
GM
22922013-09-04 Glenn Morris <rgm@gnu.org>
2293
2294 * generic-x.el [rul-generic-mode]: Require cc-mode.
2295 (c++-mode-syntax-table): Declare.
2296 (rul-generic-mode-syntax-table): Init in the defvar.
2297
52b1cc79
SM
22982013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2299
c828af56
SM
2300 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2301 (vc-do-command, vc-set-async-update):
2302 * vc/vc-mtn.el (vc-mtn-dir-status):
2303 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2304 (vc-hg-pull, vc-hg-merge-branch):
2305 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2306 (vc-git-merge-branch):
2307 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2308 (vc-cvs-dir-status-files):
2309 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2310 (vc-bzr-dir-status-files):
2311 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2312 * vc/vc-annotate.el: Use lexical-binding.
2313 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2314 (vc-sentinel-movepoint): Declare.
2315 (vc-annotate): Don't use `goto-line'.
2316 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2317 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2318 (vc-sentinel-movepoint): Declare.
2319 * vc/vc-svn.el: Use lexical-binding.
2320 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2321 * vc/vc-sccs.el:
2322 * vc/vc-rcs.el: Use lexical-binding.
2323
abae272c
SM
2324 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2325 `deleted'. Don't drop errors silently.
2326
52b1cc79
SM
2327 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2328
63191d9f
XF
23292013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2330
2331 * vc/vc.el (vc-ignore): Rewrite.
2332 (vc-default-ignore): New function.
2333 (vc-default-ignore-completion-table): Use find-ignore-file.
2334
2335 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2336 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2337 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2338 Remove. Most code moved to vc.el.
2339
9d3f707c
SM
23402013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2341
abae272c 2342 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2343 * net/tramp-smb.el (tramp-smb-get-file-entries):
2344 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2345 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2346
fde38d49
SM
2347 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2348 Update call to it.
2349 (eww-change-select): Remove unused var `properties'.
2350 (eww-make-unique-file-name): Remove unused var `base'.
2351
2352 * finder.el (finder-compile-keywords): Don't mess with windows.
2353
84032db7
SM
2354 * calculator.el (calculator-funcall): Fix typo in last change.
2355
724f5e41
SM
2356 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2357
14b511d4
SM
2358 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2359 <pkg>-autoloads.el file stop us.
2360
9d3f707c 2361 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2362 warnings, and factor out common code.
9d3f707c 2363
88527bc0
DG
23642013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2365
2366 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2367 two-character operators and whether the character preceding them
2368 changes their meaning (Bug#15208).
2369
96edb677
FEG
23702013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2371
2372 Format code sent to Python shell for robustness.
9d3f707c
SM
2373 * progmodes/python.el (python-shell-buffer-substring):
2374 New function.
96edb677
FEG
2375 (python-shell-send-region, python-shell-send-buffer): Use it.
2376
95beaef3
MA
23772013-09-02 Michael Albinus <michael.albinus@gmx.de>
2378
2379 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2380 * net/tramp.el (tramp-user-error): ... here.
2381 (tramp-find-method, tramp-check-proper-host)
2382 (tramp-dissect-file-name, tramp-debug-message)
2383 (tramp-handle-shell-command):
2384 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2386
2387 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2388
f167c27b
MR
23892013-09-02 Martin Rudalics <rudalics@gmx.at>
2390
2391 * avoid.el (mouse-avoidance-point-position)
2392 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2393 returns nil.
2394
cd16c5f1
FEG
23952013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2396
2397 * progmodes/python.el (python-shell-completion-get-completions):
2398 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2399 (python-nav-if-name-main): New command.
cd16c5f1 2400
e73c3a0d
GM
24012013-09-01 Glenn Morris <rgm@gnu.org>
2402
f8ccce03
GM
2403 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2404 Avoid leading space in $wins. Otherwise the sed command used by
2405 eg compile-main ends up containing "/*.el". (Bug#15170)
2406
e73c3a0d
GM
2407 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2408
415f808e
GM
24092013-08-30 Glenn Morris <rgm@gnu.org>
2410
2411 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2412 Fix is-this-a-directory logic. (Bug#15220)
2413
f069bba8
SM
24142013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2415
112798c1
SM
2416 * textmodes/css-mode.el: Use SMIE.
2417 (css-smie-grammar): New var.
2418 (css-smie--forward-token, css-smie--backward-token)
2419 (css-smie-rules): New functions.
2420 (css-mode): Use them.
2421 (css-navigation-syntax-table): Remove var.
2422 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2423 (css-indent-calculate, css-indent-line): Remove functions.
2424
2425 Misc changes to reduce use of `(lambda...); and other cleanups.
2426 * cus-edit.el: Use lexical-binding.
2427 (customize-push-and-save, customize-apropos)
2428 (custom-buffer-create-internal): Use closures.
2429 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2430 * progmodes/ada-xref.el: Use setq.
2431 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2432 * dframe.el: Use lexical-binding.
2433 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2434 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2435 * descr-text.el: Use lexical-binding.
2436 (describe-text-widget, describe-text-sexp, describe-property-list):
2437 Use closures.
2438 * comint.el (comint-history-isearch-push-state): Use a closure.
2439 * calculator.el: Use lexical-binding.
2440 (calculator-number-to-string): Make it work with lexical-binding.
2441 (calculator-funcall): Same and use cl-letf.
2442
2da4c3ab
SM
2443 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2444 (lisp--company-doc-string, lisp--company-location): New functions.
2445 (lisp-completion-at-point): Use them to improve Company support.
2446
f069bba8
SM
2447 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2448 params of lambda expressions.
2449 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2450 (ruby-smie--opening-pipe-p): New function.
2451 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2452 symbols and matched |...| for formal params.
2453 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2454 from being treated as hanging. Handle "rescue".
2455
6758b6a8
GM
24562013-08-29 Glenn Morris <rgm@gnu.org>
2457
2458 * progmodes/cc-engine.el (c-pull-open-brace):
2459 Move definition before use.
2460
e8dfd197
SM
24612013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2464 are immutable. Don't use `unsafe' any more.
2465 (cl--defsubst-expand): Don't substitute at the same time as keeping
2466 a residual unused let-binding. Don't use `unsafe' any more.
2467
cc585c96
GM
24682013-08-29 Glenn Morris <rgm@gnu.org>
2469
ba579ea6
GM
2470 * calendar/cal-china.el (calendar-chinese-year-cache):
2471 Recenter on 2015.
2472
8201a87e
GM
2473 * nxml/nxml-util.el (nxml-debug-clear-inside):
2474 Use cl-loop rather than loop.
2475
6ee877c7
GM
2476 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2477
cc585c96
GM
2478 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2479
27be8d39
GM
24802013-08-28 Glenn Morris <rgm@gnu.org>
2481
397440a1
GM
2482 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2483
2bb762d4
GM
2484 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2485
27be8d39
GM
2486 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2487
2d69b99e
SM
24882013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2489
f663baa7
SM
2490 * simple.el (repeat-complex-command--called-interactively-skip):
2491 New function.
2492 (repeat-complex-command): Use it (bug#14136).
2493
dd4f8b74
SM
2494 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2495 (c-define-abbrev-table): Add `doc' argument.
2496 (c-mode-abbrev-table, c++-mode-abbrev-table)
2497 (objc-mode-abbrev-table, java-mode-abbrev-table)
2498 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2499 (awk-mode-abbrev-table): Use it.
2500 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2501 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2502 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2503 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2504 Move initialization into the declaration; and remove any
2505 autoload cookie.
2506
b58969f7
SM
2507 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2508 and dynamic let binding.
2509
4021d6a6
SM
2510 * vc/smerge-mode.el: Remove redundant :group args.
2511
2d69b99e
SM
2512 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2513 to load-path.
2514
274919fd
JL
25152013-08-28 Juri Linkov <juri@jurta.org>
2516
2517 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2518 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2519 (isearch-other-meta-char): Handle an undefined shifted printing
2520 character by downshifting it. (Bug#15200)
2521
121f8c95
JL
25222013-08-28 Juri Linkov <juri@jurta.org>
2523
2524 * isearch.el (isearch-search): Change regexp error message for
2525 non-regexp searches. (Bug#15166)
2526
50b13cde
PE
25272013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2528
2529 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2530 for portability to hosts where /bin/sh has problems.
2531
95888bca
SM
25322013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2533
2534 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2535
bbe558f1
JL
25362013-08-27 Juri Linkov <juri@jurta.org>
2537
2538 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2539 in the keyboard macro. (Bug#15126)
2540
26f98a7d
JL
25412013-08-27 Juri Linkov <juri@jurta.org>
2542
2543 * isearch.el (isearch-quote-char): Comment out converting unibyte
2544 to multibyte, thus syncing with its `quoted-insert' counterpart.
2545 (Bug#15166)
2546
7c97d35e
MR
25472013-08-27 Martin Rudalics <rudalics@gmx.at>
2548
2549 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2550 argument in call of get-largest-window (Bug#15185).
2551 Reported by Stephen Leake.
7c97d35e 2552
a0b5606e 25532013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2554
2555 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2556
9e89d835
SM
25572013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2560 from a matcher-function unless there's no more matches (bug#15161).
2561
78fc2530
MA
25622013-08-26 Michael Albinus <michael.albinus@gmx.de>
2563
2564 * minibuffer.el: Revert change from 2013-08-20.
2565
2566 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2567 with text property `tramp-default', if appropriate.
2568 (tramp-check-proper-host): New defun.
2569 (tramp-dissect-file-name): Do not check hostname. Revert change
2570 of 2013-03-18.
2571 (tramp-backtrace): Make VEC-OR-PROC optional.
2572
2573 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2574 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2575 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2576 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2577 Apply `tramp-check-proper-host'.
78fc2530 2578
edca97cd
TH
25792013-08-26 Tassilo Horn <tsdh@gnu.org>
2580
2581 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2582 lambda expression in order to have `describe-variable' display it.
2583
df54bcbd
MA
25842013-08-26 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2587 BUF can be optional. (Bug#15186)
2588
eed99101
XF
25892013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2590
2591 * progmodes/flymake.el (flymake-get-real-file-name-function):
2592 Fix broken customization. (Bug#15184)
2593
b5eb9035
AM
25942013-08-25 Alan Mackenzie <acm@muc.de>
2595
8a51e842
AM
2596 Improve indentation of bracelists defined by macros (without "=").
2597
2598 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2599 expansion begins with "{", regard it as bracelist when it doesn't
2600 contain a ";".
2601
869455d4
AM
2602 Parse C++ inher-intro when there's a template split over 2 lines.
2603
2604 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2605 rigorously the search for "class" etc. followed by ":".
2606
2607 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2608 random languages a regexp which never matches rather than nil.
2609
b5eb9035
AM
2610 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2611
2612 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2613 (c-awk-regexp-one-line-possibly-open-char-list-re)
2614 (c-awk-one-line-possibly-open-regexp-re)
2615 (c-awk-one-line-non-syn-ws*-re): Remove.
2616 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2617 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2618 (c-awk-space*-unclosed-regexp-/-re): New constants.
2619 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2620 aren't regexp delimiters.
2621
2622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2623 handling for a rare situation in AWK Mode involving unterminated
2624 strings/regexps.
2625
61611d54
GM
26262013-08-23 Glenn Morris <rgm@gnu.org>
2627
2d85dc34
GM
2628 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2629
cb8d2612
GM
2630 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2631
bb35f42f
GM
2632 * files.el (create-file-buffer): If the result would begin with
2633 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2634
b9808e77
SM
26352013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2636
e3a66363
SM
2637 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2638 text-properties (bug#15155).
2639
b9808e77
SM
2640 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2641 exist any more.
2642 (calc-keypad-redraw): Remove unused var `pad'.
2643 (calc-keypad-press): Remove unused var `menu'.
2644
7fd5f65e
MR
26452013-08-23 Martin Rudalics <rudalics@gmx.at>
2646
b9808e77
SM
2647 * window.el (display-buffer-pop-up-frame):
2648 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2649 use it as the new frame's buffer (Bug#15133).
2650
8352b530
SM
26512013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * calendar/timeclock.el: Minor cleanups.
2654 (timeclock-ask-before-exiting, timeclock-use-display-time):
2655 Use `symbol'.
2656 (timeclock-modeline-display): Define as alias before the
2657 actual definition.
2658 (timeclock-mode-line-display): Use define-minor-mode.
2659 (timeclock-day-list-template): Make it a function, add an argument.
2660 (timeclock-day-list-required, timeclock-day-list-length)
2661 (timeclock-day-list-debt, timeclock-day-list-span)
2662 (timeclock-day-list-break): Adjust calls accordingly.
2663
9f7b1925
SM
26642013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2667 Use read--expression so that completion works again.
2668
6e50e983
SS
26692013-08-21 Sam Steingold <sds@gnu.org>
2670
2671 Add rudimentary inferior shell interaction
2672 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2673 (sh-set-shell): Reset it.
9f7b1925
SM
2674 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2675 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2676
dbb0d350
SM
26772013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 * align.el: Use lexical-binding.
2680 (align-region): Simplify accordingly.
2681
c88586a9
MA
26822013-08-20 Michael Albinus <michael.albinus@gmx.de>
2683
2684 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2685
2686 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2687 `non-essential' up.
2688
f95527c8
MA
26892013-08-17 Michael Albinus <michael.albinus@gmx.de>
2690
2691 * net/tramp.el:
2692 * net/tramp-adb.el:
2693 * net/tramp-cmds.el:
2694 * net/tramp-ftp.el:
2695 * net/tramp-gvfs.el:
2696 * net/tramp-gw.el:
2697 * net/tramp-sh.el: Don't wrap external variable declarations by
2698 `eval-when-compile'.
2699
4b5fe4ee
LMI
27002013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2701
2702 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2703 now that Emacs supports ImageMagick animations.
2704
13c366c9
MA
27052013-08-16 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2708 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2709
3dfc5cd6
MR
27102013-08-16 Martin Rudalics <rudalics@gmx.at>
2711
2712 * window.el (mouse-autoselect-window-select): Do autoselect when
2713 mouse pointer is on margin.
2714
4bbb4381
WP
27152013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2716
2717 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2718
3a2ddc2d
GM
27192013-08-16 Glenn Morris <rgm@gnu.org>
2720
e8bedf5a
GM
2721 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2722 Handle "Remote Directory" response of some clients. (Bug#15058)
2723
58c4682f
GM
2724 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2725 Tweak warning. (Bug#14926)
2726
57953f49
GM
2727 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2728 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2729
3a2ddc2d
GM
2730 * image-mode.el (image-mode-map): Add menu items to reverse,
2731 increase, decrease, reset animation speed.
2732 (image--set-speed, image-increase-speed, image-decrease-speed)
2733 (image-reverse-speed, image-reset-speed): New functions.
2734 (image-mode-map): Add bindings for speed commands.
2735
2736 * image.el (image-animate-get-speed, image-animate-set-speed):
2737 New functions.
2738 (image-animate-timeout): Respect image :speed property.
2739
10fa0ed3
SM
27402013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2743 previous line (bug#15101).
2744 (debugger-eval-expression, debugger-record-expression):
2745 Use read--expression (bug#15102).
2746
5d89d9d2
MA
27472013-08-15 Michael Albinus <michael.albinus@gmx.de>
2748
2749 Remove byte compiler warnings, visible when compiling with
2750 `byte-compile-force-lexical-warnings' set to t.
2751
2752 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2753 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2754 (tramp-handle-unhandled-file-name-directory)
2755 (tramp-handle-file-notify-add-watch, tramp-action-login)
2756 (tramp-action-succeed, tramp-action-permission-denied)
2757 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2758 arguments with "_".
2759
2760 * net/tramp-adb.el (tramp-adb-parse-device-names)
2761 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2762 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2763 (tramp-adb-handle-file-truename): Remove unused arguments.
2764
2765 * net/tramp-cache.el (tramp-flush-directory-property)
2766 (tramp-flush-connection-property, tramp-list-connections)
2767 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2768
10fa0ed3
SM
2769 * net/tramp-compat.el (tramp-compat-make-temp-file):
2770 Rename FILENAME to F.
5d89d9d2
MA
2771
2772 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2773 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2774 (tramp-zeroconf-parse-workstation-device-names)
2775 (tramp-zeroconf-parse-webdav-device-names)
2776 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2777
2778 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2779 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2780
2781 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2782 arguments.
2783 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2784 (tramp-sh-handle-insert-file-contents-literally)
2785 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2786 with "_".
2787 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2788 Remove unused variables.
2789
2790 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2791 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2792 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2793
2794 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2795 Make them a defconst.
2796 (tramp-uuencode-region): Remove unused variable.
2797
62f33bae
JB
27982013-08-14 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * frameset.el (frameset--prop-setter): New function.
2801 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2802 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2803 parameter was already set in FILTERED. Doc fix.
2804 (frameset--record-minibuffer-relationships): Allow saving a
2805 minibufferless frame without its corresponding minibuffer frame.
2806 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2807 frame, if the frame id matches.
2808 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2809 frames before orphaned ones.
2810 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2811
c660a885
MR
28122013-08-14 Martin Rudalics <rudalics@gmx.at>
2813
2814 * window.el (window-make-atom): Don't overwrite parameter
2815 already present.
2816 (display-buffer-in-atom-window): Handle special case where we
2817 split an already atomic window.
2818 (window--major-non-side-window, display-buffer-in-side-window)
2819 (window--side-check): Ignore minibuffer window when walking
2820 window tree.
2821 (window-deletable-p): Return 'frame only if no other frame uses
2822 our minibuffer window.
2823 (record-window-buffer): Run buffer-list-update-hook.
2824 (split-window): Make sure window--check-frame won't destroy an
2825 existing atomic window in case the new window gets nested
2826 inside.
2827 (display-buffer-at-bottom): Ignore minibuffer window when
2828 walking window tree. Don't split a side window.
2829 (pop-to-buffer): Don't set-buffer here, the select-window call
2830 should do that.
2831 (mouse-autoselect-window-select): Autoselect only if we are in the
2832 text portion of the window.
2833
8259030d
LMI
28342013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2835
21c58ae2
LMI
2836 * net/shr.el (shr-parse-image-data): New function to grab both the
2837 data itself and the Content-Type.
2838 (shr-put-image): Use it.
2839
2840 * net/eww.el (eww-display-image): Ditto.
2841
8259030d
LMI
2842 * image.el (image-content-type-suffixes): New variable.
2843
ad756449
FEG
28442013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2845
2846 * progmodes/python.el (python-imenu--build-tree)
2847 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2848
f73f4ce6
XF
28492013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2850
2851 * simple.el (backward-word): Mention the optional argument.
2852
1f585e65
SM
28532013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * frameset.el (frameset--make): Rename constructor from make-frameset.
2856 (frameset-p, frameset-valid-p): Don't autoload.
2857 (frameset-valid-p): Use normal accessors.
2858
af1c6c84
GM
28592013-08-13 Glenn Morris <rgm@gnu.org>
2860
55e47f95
GM
2861 * progmodes/compile.el (compile-command): Tweak example in doc.
2862 * obsolete/scribe.el (scribe-mode):
2863 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2864
f0024d8c
GM
2865 * mail/feedmail.el (feedmail-confirm-outgoing)
2866 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2867
2868 * cus-start.el (truncate-partial-width-windows): Fix type.
2869
2870 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2871
af1c6c84
GM
2872 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2873
5514cc4c
SM
28742013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * emacs-lisp/timer.el (timer--time-setter): New function.
2877 (timer--time): Use it as gv-setter.
2878
2879 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2880 setter is not a symbol.
2881
7997a2f1
GJ
28822013-08-12 Grégoire Jadi <daimrod@gmail.com>
2883
2884 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2885 if sending fails. This makes debugging easier.
2886
01f1a9ab
JB
28872013-08-12 Juanma Barranquero <lekktu@gmail.com>
2888
2889 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2890 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2891 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2892
594a4307
EZ
28932013-08-12 Eli Zaretskii <eliz@gnu.org>
2894
2895 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2896
7a22490f 28972013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2898
2899 * format.el (format-annotate-function):
2900 Handle read-only text properties in the source. (Bug#14887)
2901
3e41a054
LMI
29022013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2903
5514cc4c
SM
2904 * net/eww.el (eww-display-html): Ignore coding system errors.
2905 One web site uses "utf-8lias" as the coding system.
3e41a054 2906
7ec326db
JB
29072013-08-11 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2910
5660113b
JB
29112013-08-10 Juanma Barranquero <lekktu@gmail.com>
2912
9a4ebc74
JB
2913 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2914 (tutorial--detailed-help): Remove unused local variables.
2915 (tutorial--save-tutorial-to): Use ignore-errors.
2916 (help-with-tutorial): Use looking-at-p.
2917
2918 * view.el (view-buffer-other-window, view-buffer-other-frame):
2919 Mark unused arguments.
2920
2921 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2922 (woman-select-symbol-fonts, woman, woman-find-file)
2923 (woman-insert-file-contents, woman-non-underline-faces):
2924 Use string-match-p.
2925 (woman1-unquote): Move declaration.
2926
2927 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2928 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2929 argument. Remove unused local variable.
2930 (xml-parse-elem-type): Use string-match-p.
2931 (xml-substitute-numeric-entities): Use ignore-errors.
2932
45fdb482
JB
2933 * calculator.el (calculator): Mark unused argument.
2934 (calculator-paste, calculator-quit, calculator-integer-p):
2935 Use ignore-errors.
2936 (calculator-string-to-number, calculator-decimal, calculator-exp)
2937 (calculator-op-or-exp): Use string-match-p.
2938
2939 * dired.el (dired-buffer-more-recently-used-p): Declare.
2940 (dired-insert-set-properties, dired-insert-old-subdirs):
2941 Use ignore-errors.
2942
2943 * dired-aux.el (dired-compress): Use ignore-errors.
2944 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2945 (dired-do-async-shell-command, dired-do-shell-command)
2946 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2947 (dired-insert-subdir-validate): Use string-match-p.
2948 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2949 (dired-add-entry): Use string-match-p, looking-at-p.
2950 (dired-insert-subdir-newpos): Remove unused local variable.
2951
2952 * filenotify.el (file-notify-callback): Remove unused local variable.
2953
2954 * filesets.el (filesets-error): Mark unused argument.
2955 (filesets-which-command-p, filesets-filter-dir-names)
2956 (filesets-directory-files, filesets-get-external-viewer)
2957 (filesets-ingroup-get-data): Use string-match-p.
2958
2959 * find-file.el (ff-other-file-name, ff-other-file-name)
2960 (ff-find-the-other-file, ff-cc-hh-converter):
2961 Remove unused local variables.
2962 (ff-get-file-name): Use string-match-p.
2963 (ff-all-dirs-under): Use ignore-errors.
2964
2965 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2966 (follow-select-if-visible): Remove unused local variable.
2967
2968 * forms.el (read-file-filter): Move declaration.
2969 (forms--make-format, forms--make-parser, forms-insert-record):
2970 Quote function with #'.
2971 (forms--update): Use string-match-p. Quote function with #'.
2972
2973 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2974 (help-make-xrefs): Use looking-at-p.
2975 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2976
2977 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2978 (ibuffer-confirm-operation-on): Use string-match-p.
2979
2980 * msb.el (msb-item-handler, msb-dired-item-handler):
2981 Mark unused arguments.
2982
2983 * ses.el (ses-decode-cell-symbol)
2984 (ses-kill-override): Remove unused local variable.
2985 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2986 (ses-load): Use ignore-errors, looking-at-p.
2987 (ses-jump-safe): Use ignore-errors.
2988 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2989
2990 * tabify.el (untabify, tabify): Mark unused arguments.
2991
2992 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2993 Mark unused argument.
2994 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2995 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2996
c880af52
JB
2997 * emacs-lisp/timer.el (timer--time): Define setter with
2998 gv-define-setter to avoid deprecation warning.
2999
5660113b 3000 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3001 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3002 (cmpl-statistics-block): Remove (body was commented out).
3003 All callers changed.
3004 (add-completions-from-buffer, load-completions-from-file):
3005 Remove unused variables.
3006
156aab80
JB
30072013-08-09 Juanma Barranquero <lekktu@gmail.com>
3008
5c5dee78
JB
3009 * filecache.el (file-cache-delete-file-list):
3010 Print message only when told so.
3011 (file-cache-files-matching): Use #' in mapconcat argument.
3012
156aab80
JB
3013 * ffap.el (ffap-url-at-point): Fix reference to variable
3014 thing-at-point-default-mail-uri-scheme.
3015
ad9dcd70
SM
30162013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3017
54bd972f
SM
3018 * subr.el (define-error): New function.
3019 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3020 error-file-not-found and define with define-error.
3021 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3022 and define with define-error.
3023 * userlock.el (file-locked, file-supersession):
3024 * simple.el (mark-inactive):
3025 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3026 * progmodes/ada-mode.el (ada-mode-errors):
3027 * play/life.el (life-extinct):
3028 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3029 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3030 * nxml/rng-util.el (rng-error):
3031 * nxml/rng-uri.el (rng-uri-error):
3032 * nxml/rng-match.el (rng-compile-error):
3033 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3034 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3035 * nxml/nxml-rap.el (nxml-scan-error):
3036 * nxml/nxml-outln.el (nxml-outline-error):
3037 * net/soap-client.el (soap-error):
3038 * net/gnutls.el (gnutls-error):
3039 * net/ange-ftp.el (ftp-error):
3040 * mpc.el (mpc-proc-error):
3041 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3042 (json-number-format, json-string-escape, json-string-format)
3043 (json-key-format, json-object-format):
3044 * jka-compr.el (compression-error):
3045 * international/quail.el (quail-error):
3046 * international/kkc.el (kkc-error):
3047 * emacs-lisp/ert.el (ert-test-failed):
3048 * calc/calc.el (calc-error, inexact-result, math-overflow)
3049 (math-underflow):
3050 * bookmark.el (bookmark-error-no-filename):
3051 * epg.el (epg-error): Define with define-error.
3052
0ea9e53a
SM
3053 * time.el (display-time-event-handler)
3054 (display-time-next-load-average): Don't call sit-for since it seems
3055 unnecessary (bug#15045).
3056
b0429158
SM
3057 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3058 Use #' instead of ' to quote functions.
3059 (checkdoc-output-mode): Use setq-local.
3060 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3061 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3062 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3063 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3064 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3065 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3066 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3067 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3068
ad9dcd70
SM
3069 * ido.el (ido-completion-help): Fix up compiler warning.
3070
77187e6f
JB
30712013-08-09 Juanma Barranquero <lekktu@gmail.com>
3072
3073 * frameset.el (frameset-p): Add autoload cookie.
3074 (frameset--jump-to-register): New function, based on code moved from
3075 register.el.
3076 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3077
3078 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3079 (frameset-restore, frameset-save, frameset-session-filter-alist):
3080 Remove declarations.
3081 (register-alist): Doc fix.
3082 (frameset-to-register): Move to frameset.el.
3083 (jump-to-register, describe-register-1): Remove frameset-specific code.
3084
9d3aa82c
JB
30852013-08-08 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * allout-widgets.el (allout-widgets-pre-command-business)
3088 (allout-widgets-post-command-business)
3089 (allout-widgets-after-change-handler)
3090 (allout-decorate-item-and-context, allout-set-boundary-marker)
3091 (allout-body-modification-handler)
3092 (allout-graphics-modification-handler): Mark ignored arguments.
3093 (allout-widgets-post-command-business)
3094 (allout-widgets-exposure-change-processor)
3095 (allout-widgets-exposure-undo-processor)
3096 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3097 (allout-parse-item-at-point, allout-decorate-item-guides)
3098 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3099 * allout.el (epa-passphrase-callback-function): Declare.
3100 (allout-overlay-insert-in-front-handler)
3101 (allout-overlay-interior-modification-handler)
3102 (allout-isearch-end-handler, allout-chart-siblings)
3103 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3104 (allout-yank-processing, allout-process-exposed)
3105 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3106 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3107 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3108 (lisp-indent-defform): Mark ignored arguments.
3109 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3110 (calculate-lisp-indent): Remove unused variables.
3111 * international/characters.el (indian-2-column, arabic-2-column)
3112 (tibetan): Mark ignored arguments.
3113 (use-cjk-char-width-table): Mark ignored arguments.
3114 Remove unused variables.
3115 * international/fontset.el (build-default-fontset-data)
3116 (x-compose-font-name, create-fontset-from-fontset-spec):
3117 Mark ignored arguments.
3118 (fontset-plain-name): Remove unused variables.
3119 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3120 (keyboard-coding-system): Mark ignored arguments.
3121 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3122 * help.el (resize-temp-buffer-window):
3123 * window.el (display-buffer-in-major-side-window)
3124 (display-buffer-in-side-window, display-buffer-in-previous-window):
3125 Remove unused variables.
3126 * isearch.el (isearch-forward-symbol):
3127 * version.el (emacs-bzr-version-bzr):
3128 * international/mule-cmds.el (current-language-environment):
3129 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3130 (x-handle-display):
3131 * term/pc-win.el (x-list-fonts, x-display-planes)
3132 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3133 (x-server-version, x-display-screens, x-display-mm-height)
3134 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3135 (x-selection-owner-p, x-own-selection-internal)
3136 (x-disown-selection-internal, x-get-selection-internal)
3137 (msdos-initialize-window-system):
3138 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3139 * term/x-win.el (x-handle-no-bitmap-icon):
3140 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3141 (vc-default-find-file-hook, vc-default-extra-menu):
3142 Mark ignored arguments.
3143
0ca3f70e
SM
31442013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3147 break-condition in the context of the debugged code (bug#12685).
3148
74c5d24c
CS
31492013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3150
3151 * comint.el:
3152 Do not use an overlay to highlight the last prompt. (Bug#14744)
3153 (comint-mode): Make comint-last-prompt buffer local.
3154 (comint-last-prompt): New variable.
3155 (comint-last-prompt-overlay): Remove. Superseded by
3156 comint-last-prompt.
0ca3f70e
SM
3157 (comint-snapshot-last-prompt, comint-output-filter):
3158 Use comint-last-prompt.
74c5d24c 3159
c03c02ee
JB
31602013-08-08 Juanma Barranquero <lekktu@gmail.com>
3161
a3738d20 3162 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3163 (frameset-save): Check validity of the resulting frameset.
3164
04263d23
XF
31652013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3166
3167 * ido.el (ido-record-command): Add doc string.
3168
76c5e5ab
JB
31692013-08-08 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * frameset.el (frameset): Do not disable creation of the default
3172 frameset-p predicate. Doc fix.
3173 (frameset-valid-p): New function, copied from the old predicate-p.
3174 Add additional checks.
3175 (frameset-restore): Check with frameset-valid-p.
3176 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3177 (frameset-name, frameset-description, frameset-properties)
3178 (frameset-states): Add docstring.
f9dbf1cb
JB
3179 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3180 (frameset-filter-alist): Doc fixes.
76c5e5ab 3181
bd0c3c0b
JB
31822013-08-08 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3185
c735544c
SM
31862013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3189 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3190 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3191 (byte-compile-normal-call): Remove obsolescence check.
3192
2805a651
JB
31932013-08-08 Juanma Barranquero <lekktu@gmail.com>
3194
3677ffeb
JB
3195 * frameset.el (frameset-restore): Doc fix.
3196
2805a651
JB
3197 * register.el (frameset-frame-id, frameset-frame-with-id)
3198 (frameset-p, frameset-restore, frameset-save): Declare.
3199 (register-alist): Document framesets.
3200 (frameset-session-filter-alist): Declare.
3201 (frameset-to-register): New function.
3202 (jump-to-register): Implement jumping to framesets. Doc fix.
3203 (describe-register-1): Describe framesets.
3204
3205 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3206
a912c016
JB
32072013-08-07 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3210 Use lexical-binding.
3211
3212 * frameset.el (frameset): Use type vector, not list (incompatible
3213 change). Do not declare a new constructor, use the default one.
3214 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3215 `name' and `description', respectively, and add read-only slot
3216 `timestamp'. Doc fixes.
3217 (frameset-copy, frameset-persistent-filter-alist)
3218 (frameset-filter-alist, frameset-switch-to-gui-p)
3219 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3220 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3221 (frameset-filter-iconified, frameset-keep-original-display-p):
3222 Doc fixes.
3223 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3224 Rename from frameset-filter-(save|restore)-param. All callers changed.
3225 Doc fix.
3226 (frameset-p): Adapt to change to vector and be more thorough.
3227 Change arg name to OBJECT. Doc fix.
3228 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3229 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3230 All callers changed.
3231 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3232 All callers changed.
3233 (frameset--record-minibuffer-relationships): Rename from
3234 frameset--process-minibuffer-frames. All callers changed.
3235 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3236 Use new default constructor (again). Doc fix.
3237 (frameset--find-frame-if): Rename from `frameset--find-frame.
3238 All callers changed.
3239 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3240 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3241 Doc fix.
3242 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3243 PARAMETERS and WINDOW-STATE, respectively.
3244 (frameset-restore): Add new keyword argument PREDICATE.
3245 Reset frameset--target-display to nil. Doc fix.
3246
bb41480a
SM
32472013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3248
f001e98e
SM
3249 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3250 (bat-mode): Use it.
3251 (bat-mode-syntax-table): Mark \n as end-of-comment.
3252 (bat-font-lock-keywords): Remove comment rule.
3253
7679edb1
SM
3254 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3255 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3256
bb41480a
SM
3257 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3258 (byte-compile-callargs-warn): Use `push'.
3259 (byte-compile-arglist-warn): Ignore higher-order "calls".
3260 (byte-compile-file-form-autoload): Use `pcase'.
3261 (byte-compile-function-form): If quoting a symbol, check that it exists.
3262
cdc1ebb9
EZ
32632013-08-07 Eli Zaretskii <eliz@gnu.org>
3264
3265 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3266 and add a few popular commands found in batch files.
3267 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3268 (dos-mode): Doc fixes.
3269
312b1740
SM
32702013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3271
3272 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3273 (dos-mode): Use setq-local. Add space after "rem".
3274 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3275 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3276
400a3178
AM
32772013-08-07 Arni Magnusson <arnima@hafro.is>
3278
3279 * progmodes/dos.el: New file.
3280 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3281 dos-mode.
3282
3b5c03d3
GM
32832013-08-06 Glenn Morris <rgm@gnu.org>
3284
3285 * calendar/calendar.el: Add new faces, and day-header-array.
3286 (calendar-weekday-header, calendar-weekend-header)
3287 (calendar-month-header): New faces.
3288 (calendar-day-header-construct): New function.
3289 (calendar-day-header-width): Also :set calendar-day-header-array.
3290 (calendar-american-month-header, calendar-european-month-header)
3291 (calendar-iso-month-header): Use calendar- faces.
3292 (calendar-generate-month):
3293 Use calendar-day-header-array for day headers; apply faces to them.
3294 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3295 (calendar-abbrev-construct): Add optional maxlen argument.
3296 (calendar-day-name-array): Doc fix.
3297 (calendar-day-name-array, calendar-abbrev-length)
3298 (calendar-day-abbrev-array):
3299 Also :set calendar-day-header-array, and maybe redraw.
3300 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3301 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3302 (calendar-day-name): Add option to use header array.
3303
ec6a2d7a
LMI
33042013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3305
3306 * net/shr.el (shr-render-td): Remove debugging.
3307 (shr-render-td): Make width computation consistent by defaulting
3308 all zero-width columns to 10 characters. This may not be optimal,
3309 but it's at least consistent.
2122cb6d
LMI
3310 (shr-make-table-1): Redo last change to fix the real problem in
3311 colspan handling.
ec6a2d7a 3312
ed4fd9c5
DA
33132013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3314
0ca3f70e
SM
3315 * files.el (cache-long-line-scans):
3316 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3317
64e22afe
JB
33182013-08-06 Juanma Barranquero <lekktu@gmail.com>
3319
024b38fc
JB
3320 * frameset.el (frameset, frameset-filter-alist)
3321 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3322 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3323 (frameset-compute-pos): Rename from frameset--compute-pos,
3324 and add docstring.
3325 (frameset-move-onscreen): Use frameset-compute-pos.
3326 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3327
64e22afe
JB
3328 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3329 Fix typos in docstrings.
3330
c8c2aca8
DA
33312013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3332
3333 * frame.el (get-other-frame): Tiny cleanup.
3334
1d237bba
JB
33352013-08-06 Juanma Barranquero <lekktu@gmail.com>
3336
8951efef
JB
3337 * vc/vc.el (vc-default-ignore-completion-table):
3338 Silence byte-compiler warning.
3339
307764cc
JB
3340 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3341 slot , which can indeed be nil.
3342 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3343 Move entry for `left' from persistent to live filter alist.
3344 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3345 Doc fixes.
3346 (frameset-filter-params): When restoring a frame, copy items added to
3347 `filtered', to avoid unwittingly modifying the original parameters.
3348 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3349 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3350
1d237bba
JB
3351 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3352 to use looking-at-p instead of looking-at. (Bug#15028)
3353
dc6c0eda
SM
33542013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 Revert introduction of isearch-filter-predicates (bug#14714).
3357 Rely on add-function instead.
3358 * isearch.el (isearch-filter-predicates): Rename it back to
3359 isearch-filter-predicate.
3360 (isearch-message-prefix): Use advice-function-mapc and advice
3361 properties to get the isearch-message-prefix.
3362 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3363 instead of run-hook-with-args-until-failure.
3364 (isearch-filter-visible): Not obsolete any more.
3365 * loadup.el: Preload nadvice.
3366 * replace.el (perform-replace): Revert to funcall
3367 instead of run-hook-with-args-until-failure.
3368 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3369 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3370 dired-isearch-filenames-toggle; make it into a proper minor mode.
3371 Use add/remove-function.
3372 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3373 Call the minor-mode rather than add/remove-hook.
3374 (dired-isearch-filter-filenames):
3375 Remove isearch-message-prefix property.
3376 * info.el (Info--search-loop): New function, extracted from Info-search.
3377 Funcall isearch-filter-predicate instead of
3378 run-hook-with-args-until-failure isearch-filter-predicates.
3379 (Info-search): Use it.
3380 (Info-mode): Use isearch-filter-predicate instead of
3381 isearch-filter-predicates.
3382
290d5b58
DA
33832013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3384
3385 Do not call to `selected-window' where it is assumed by default.
3386 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3387 `window-hscroll', `window-width', `window-height', `window-buffer',
3388 `window-frame', `window-start', `window-point', `next-window'
3389 and `window-display-table'.
3390 * abbrev.el (abbrev--default-expand):
3391 * bs.el (bs--show-with-configuration):
3392 * buff-menu.el (Buffer-menu-mouse-select):
3393 * calc/calc.el (calc):
3394 * calendar/calendar.el (calendar-generate-window):
3395 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3396 (diary-make-entry):
3397 * comint.el (send-invisible, comint-dynamic-complete-filename)
3398 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3399 * completion.el (complete):
3400 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3401 * disp-table.el (describe-current-display-table):
3402 * doc-view.el (doc-view-insert-image):
3403 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3404 * ehelp.el (with-electric-help):
3405 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3406 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3407 * emacs-lisp/helper.el (Helper-help-scroller):
3408 * emulation/cua-base.el (cua--post-command-handler-1):
3409 * eshell/esh-mode.el (eshell-output-filter):
3410 * ffap.el (ffap-gnus-wrapper):
3411 * help-macro.el (make-help-screen):
3412 * hilit-chg.el (highlight-compare-buffers):
3413 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3414 * hl-line.el (global-hl-line-highlight):
3415 * icomplete.el (icomplete-simple-completing-p):
3416 * isearch.el (isearch-done):
3417 * jit-lock.el (jit-lock-stealth-fontify):
3418 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3419 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3420 * mpc.el (mpc-tagbrowser, mpc):
3421 * net/rcirc.el (rcirc-any-buffer):
3422 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3423 * play/landmark.el (landmark-max-width, landmark-max-height):
3424 * play/zone.el (zone):
3425 * progmodes/compile.el (compilation-goto-locus):
3426 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3427 * progmodes/etags.el (find-tag-other-window):
3428 * progmodes/fortran.el (fortran-column-ruler):
3429 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3430 * progmodes/verilog-mode.el (verilog-point-text):
3431 * reposition.el (reposition-window):
3432 * rot13.el (toggle-rot13-mode):
3433 * server.el (server-switch-buffer):
3434 * shell.el (shell-dynamic-complete-command)
3435 (shell-dynamic-complete-environment-variable):
3436 * simple.el (insert-buffer, set-selective-display)
3437 (delete-completion-window):
3438 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3439 (speedbar-recenter):
3440 * startup.el (fancy-splash-head):
3441 * textmodes/ispell.el (ispell-command-loop):
3442 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3443 * tutorial.el (help-with-tutorial):
3444 * vc/add-log.el (add-change-log-entry):
3445 * vc/compare-w.el (compare-windows):
3446 * vc/ediff-help.el (ediff-indent-help-message):
3447 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3448 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3449 (ediff-setup-control-frame):
3450 * vc/emerge.el (emerge-position-region):
3451 * vc/pcvs-util.el (cvs-bury-buffer):
3452 * window.el (walk-windows, mouse-autoselect-window-select):
3453 * winner.el (winner-set-conf, winner-undo): Related users changed.
3454
38276e01
JB
34552013-08-05 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * frameset.el (frameset--set-id): Doc fix.
3458 (frameset-frame-id, frameset-frame-id-equal-p)
3459 (frameset-locate-frame-id): New functions.
3460 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3461 (frameset-restore): Use them.
3462
12b4c0ea
DA
34632013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3464
3465 Do not call to `selected-frame' where it is assumed by default.
3466 Affected functions are `raise-frame', `redraw-frame',
3467 `frame-first-window', `frame-terminal' and `delete-frame'.
3468 * calendar/appt.el (appt-disp-window):
3469 * epg.el (epg-wait-for-completion):
3470 * follow.el (follow-delete-other-windows-and-split)
3471 (follow-avoid-tail-recenter):
3472 * international/mule.el (set-terminal-coding-system):
3473 * mail/rmail.el (rmail-mail-return):
3474 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3475 * progmodes/f90.el (f90-add-imenu-menu):
3476 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3477 * server.el (server-switch-buffer):
3478 * simple.el (delete-completion-window):
3479 * talk.el (talk):
3480 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3481 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3482 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3483 * vc/ediff.el (ediff-documentation): Related users changed.
3484 * frame.el (selected-terminal): Remove the leftover.
3485
17f25e76
GM
34862013-08-05 Glenn Morris <rgm@gnu.org>
3487
3488 * calendar/calendar.el (calendar-generate-month):
3489 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3490 (calendar-generate-month, calendar-font-lock-keywords):
3491 Fix for calendar-day-header-width > length of any day name.
17f25e76 3492
063233c3
JB
34932013-08-05 Juanma Barranquero <lekktu@gmail.com>
3494
3495 * desktop.el (desktop-clear): Use new name of sort predicate.
3496
3497 * frameset.el (frameset): Add docstring. Move :version property to its
3498 own `version' slot.
3499 (frameset-copy): Rename from copy-frameset.
3500 (frameset-p): Check more thoroughly.
3501 (frameset-prop): Do not check for :version, which is no longer a prop.
3502 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3503 Use new :never value instead of t.
3504 (frameset-filter-alist): Expand and clarify docstring.
3505 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3506 (frameset-filter-minibuffer, frameset-filter-save-param)
3507 (frameset-filter-restore-param, frameset-filter-iconified):
3508 Add pointer to docstring of frameset-filter-alist.
3509 (frameset-filter-params): Rename filter values to be more meaningful:
3510 :never instead of t, and reverse the meanings of :save and :restore.
3511 (frameset--process-minibuffer-frames): Clarify error message.
3512 (frameset-save): Avoid unnecessary and confusing call to framep.
3513 Use new BOA constructor for framesets.
3514 (frameset--reuse-list): Doc fix.
3515 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3516 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3517 (frameset-minibufferless-first-p): Doc fix.
3518 Rename from frameset-sort-frames-for-deletion.
3519 (frameset-restore): Doc fixes. Use new function names.
3520 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3521
d5671a82
JB
35222013-08-04 Juanma Barranquero <lekktu@gmail.com>
3523
3524 * desktop.el (desktop-restore-forces-onscreen)
3525 (desktop-restore-reuses-frames): Document :keyword constant values.
3526 (desktop-filter-parameters-alist): Remove, now identical to
3527 frameset-filter-alist.
3528 (desktop--filter-tty*): Remove, moved to frameset.el.
3529 (desktop-save-frameset, desktop-restore-frameset):
3530 Do not pass :filters argument.
3531
3532 * frameset.el (frameset-live-filter-alist)
3533 (frameset-persistent-filter-alist): New variables.
3534 (frameset-filter-alist): Use them. Add autoload cookie.
3535 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3536 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3537 `frameset--id' (it's supposed to be internal to frameset.el).
3538 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3539 (frameset--initial-params): New function.
3540 (frameset--get-frame): Use it. Doc fix.
3541 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3542 Accept :all, not 'all.
3543 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3544 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3545 with fbound symbols. Fix frame id matching, and remove matching ids if
3546 the frame being restored is deleted. Obey :delete.
3547
671d5c16
SM
35482013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * subr.el (macrop): New function.
3551 (text-clone--maintaining): New var.
3552 (text-clone--maintain): Rename from text-clone-maintain. Use it
3553 instead of inhibit-modification-hooks.
3554
3555 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3556 a proxy, so as handle autoloads and redefinitions of the target.
3557 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3558
3559 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3560 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3561 (pcase--mutually-exclusive-p): New function.
3562 (pcase--split-consp): Use it.
3563 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3564 mutually exclusive with the current predicate.
3565
3566 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3567 (edebug-macrop): Remove. Use `macrop' instead.
3568 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3569 (ad-macro-p):
3570 * eshell/esh-cmd.el (eshell-macrop):
3571 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3572
1d44e9dc
SM
35732013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3576 (advice-mapc): New function, using it.
3577 (advice-function-member-p): New function.
3578 (advice--normalize): Store the cdr in advice--saved-rewrite since
3579 that's the part that will be changed.
3580 (advice--symbol-function): New function.
3581 (advice-remove): Handle removal before the function is defined.
3582 Adjust to new advice--saved-rewrite.
3583 (advice-member-p): Use advice-function-member-p and
3584 advice--symbol-function.
3585
5414a283
JB
35862013-08-04 Juanma Barranquero <lekktu@gmail.com>
3587
51d30f2c
JB
3588 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3589 (frameset-filter-minibuffer): Doc fix.
3590 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3591 (frameset--set-id, frameset--process-minibuffer-frames)
3592 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3593 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3594
5414a283
JB
3595 * desktop.el (desktop-clear): Only delete frames when called
3596 interactively and desktop-restore-frames is non-nil. Doc fix.
3597 (desktop-read): Set desktop-saved-frameset to nil.
3598
ab419665
XF
35992013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3600
3601 * vc/vc.el (vc-ignore): Rewrite.
3602 (vc-default-ignore-completion-table):
3603 (vc--read-lines):
3604 (vc--add-line, vc--remove-regexp): New functions.
3605
3606 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3607 (vc-svn-ignore-completion-table): New function.
3608
3609 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3610 (vc-hg-ignore-completion-table):
3611 (vc-hg-find-ignore-file): New functions.
3612
3613 * vc/vc-git.el (vc-git-ignore): Rewrite.
3614 (vc-git-ignore-completion-table):
3615 (vc-git-find-ignore-file): New functions.
3616
3617 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3618
3619 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3620 (vc-bzr-ignore-completion-table):
3621 (vc-bzr-find-ignore-file): New functions.
3622
2613dea2
JB
36232013-08-03 Juanma Barranquero <lekktu@gmail.com>
3624
3625 * frameset.el (frameset-prop): New function and setter.
3626 (frameset-save): Do not modify frame list passed by the caller.
3627
9c959872
SM
36282013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3631
a104f656
SM
36322013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3633
70122acf
SM
3634 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3635 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3636
a104f656
SM
3637 * custom.el (custom-initialize-default, custom-initialize-set)
3638 (custom-initialize-reset, custom-initialize-changed): Affect the
3639 toplevel-default-value (bug#6275, bug#14586).
3640 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3641 for bug#6275.
3642
f078d570
JB
36432013-08-02 Juanma Barranquero <lekktu@gmail.com>
3644
185e3b5a
JB
3645 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3646 Add cl-def* expressions.
3647
f078d570
JB
3648 * frameset.el (frameset-filter-params): Fix order of arguments.
3649
9421876d
JB
36502013-08-02 Juanma Barranquero <lekktu@gmail.com>
3651
3652 Move code related to saving frames to frameset.el.
3653 * desktop.el: Require frameset.
3654 (desktop-restore-frames): Doc fix.
3655 (desktop-restore-reuses-frames): Rename from
3656 desktop-restoring-reuses-frames.
3657 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3658 (desktop-clear): Clear frames too.
3659 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3660 (desktop--filter-tty*, desktop-save, desktop-read):
3661 Use frameset functions.
3662 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3663 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3664 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3665 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3666 (desktop--process-minibuffer-frames, desktop-save-frames)
3667 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3668 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3669 (desktop--sort-states, desktop-restoring-frames-p)
3670 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3671 (desktop-restoring-frameset-p, desktop-restore-frameset)
3672 (desktop--check-dont-save, desktop-save-frameset): New functions.
3673 (desktop--app-id): New constant.
3674 (desktop-first-buffer, desktop-buffer-ok-count)
3675 (desktop-buffer-fail-count): Move before first use.
3676 * frameset.el: New file.
3677
76dc5996
SM
36782013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * files.el: Use lexical-binding.
3681 (dir-locals-read-from-file): Remove unused `err' variable.
3682 (hack-dir-local-variables--warned-coding): New var.
3683 (hack-dir-local-variables): Use it to avoid repeated warnings.
3684 (make-backup-file-name--default-function): New function.
3685 (make-backup-file-name-function): Use it as default.
3686 (buffer-stale--default-function): New function.
3687 (buffer-stale-function): Use it as default.
3688 (revert-buffer-insert-file-contents--default-function): New function.
3689 (revert-buffer-insert-file-contents-function): Use it as default.
3690 (insert-directory): Avoid add-to-list.
3691
3692 * autorevert.el (auto-revert-handler): Simplify.
3693 Use buffer-stale--default-function.
3694
06d36e2b
TH
36952013-08-01 Tassilo Horn <tsdh@gnu.org>
3696
5f648ab4
TH
3697 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3698
06d36e2b
TH
3699 * whitespace.el (whitespace-ensure-local-variables): New function.
3700 (whitespace-cleanup-region): Call it.
3701 (whitespace-turn-on): Call it.
3702
a43dc424
MA
37032013-08-01 Michael Albinus <michael.albinus@gmx.de>
3704
3705 Complete file name handlers.
3706
3707 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3708 (tramp-handle-verify-visited-file-modtime)
3709 (tramp-handle-file-notify-rm-watch): New functions.
3710 (tramp-call-process): Do not bind `default-directory'.
3711
44e18199
JB
3712 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3713 Order alphabetically.
a43dc424
MA
3714 [access-file, add-name-to-file, dired-call-process]:
3715 [dired-compress-file, file-acl, file-notify-rm-watch]:
3716 [file-ownership-preserved-p, file-selinux-context]:
3717 [make-directory-internal, make-symbolic-link, set-file-acl]:
3718 [set-file-selinux-context, set-visited-file-modtime]:
3719 [verify-visited-file-modtime]: Add handler.
3720 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3721
3722 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3723 [file-notify-add-watch, file-notify-rm-watch]:
3724 [set-file-times, set-visited-file-modtime]:
3725 [verify-visited-file-modtime]: Add handler.
3726 (with-tramp-gvfs-error-message)
3727 (tramp-gvfs-handle-set-visited-file-modtime)
3728 (tramp-gvfs-fuse-file-name): Remove.
3729 (tramp-gvfs-handle-file-notify-add-watch)
3730 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3731 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3732
44e18199
JB
3733 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3734 Order alphabetically.
a43dc424
MA
3735 [file-notify-rm-watch ]: Use default Tramp handler.
3736 [executable-find]: Remove private handler.
3737 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3738 `default-directory'.
3739 (tramp-sh-handle-executable-find)
3740 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3741 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3742 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3743 Do not use `format' in `tramp-message'.
3744
3745 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3746 [file-notify-rm-watch, set-visited-file-modtime]:
3747 [verify-visited-file-modtime]: Add handler.
3748 (tramp-smb-call-winexe): Do not bind `default-directory'.
3749
7188b515
XF
37502013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3751
3752 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3753
2412ee1a
DG
37542013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3755
3756 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3757 use it.
3758 (log-view-diff-changeset): Same.
3759 (log-view-diff-common): Call backend command `previous-revision'
3760 to find out the previous revision, in both cases. Swap the
3761 variables `to' and `fr', so that `fr' usually refers to the
3762 earlier revision (Bug#14989).
3763
5002a754
KRC
37642013-07-31 Kan-Ru Chen <kanru@kanru.info>
3765
3766 * ibuf-ext.el (ibuffer-filter-by-filename):
3767 Make it work with dired buffers too.
3768
44e18199 37692013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3770
3771 * emacs-lisp/re-builder.el (reb-color-display-p):
3772 * files.el (save-buffers-kill-terminal):
3773 * net/browse-url.el (browse-url):
3774 * server.el (server-save-buffers-kill-terminal):
3775 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3776 Prefer nil to selected-frame for the first arg of frame-parameter.
3777
aeca3fbb
XF
37782013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3779
3780 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3781
158bc55c
SB
37822013-07-30 Stephen Berman <stephen.berman@gmx.net>
3783
3784 * minibuffer.el (completion--twq-all): Try and preserve each
3785 completion's case choice (bug#14907).
3786
d50fceab
LMI
37872013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3788
ac38e731
LMI
3789 * net/network-stream.el (open-network-stream): Mention the new
3790 :nogreeting parameter.
3791 (network-stream-open-starttls): Use the :nogreeting parameter
3792 (bug#14938).
3793
1211de50
LMI
3794 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3795
997798bf
LMI
3796 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3797 more natural than popping.
3798
d50fceab 3799 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3800 (shr-urlify): Highlight under mouse.
d50fceab 3801
5c09de04
XF
38022013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3803
207d1d04
XF
3804 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3805
3806 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3807
5c09de04
XF
3808 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3809 buffer for output.
3810
3cd51eaa
XF
3811 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3812 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3813
44e18199 3814 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3815 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3816
3817 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3818
3819 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3820 buffer for output.
3821
35a89bdd
EZ
38222013-07-29 Eli Zaretskii <eliz@gnu.org>
3823
3824 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3825 initial frame is minibuffer-less. (Bug#14841)
3826
78822e94
MA
38272013-07-29 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3830 option.
3831
3832 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3833 (tramp-maybe-open-connection): Use it.
3834
9503c190
JB
38352013-07-28 Juanma Barranquero <lekktu@gmail.com>
3836
3837 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3838 minimal set of parameters passed when creating a frame, because
3839 the minibuffer status of a frame cannot be changed later.
3840
d5a845b4
SB
38412013-07-28 Stephen Berman <stephen.berman@gmx.net>
3842
3843 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3844 replace-regexp-in-string and inadvertent omissions in previous change.
3845 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3846 name of filtered items buffer.
d5a845b4 3847
ddeffb17
JB
38482013-07-28 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * desktop.el: Optionally force offscreen frames back onscreen.
3851 (desktop-restoring-reuses-frames): New option.
3852 (desktop--compute-pos, desktop--move-onscreen): New functions.
3853 (desktop--make-frame): Use desktop--move-onscreen.
3854
f5950f7a
AM
38552013-07-27 Alan Mackenzie <acm@muc.de>
3856
3857 Fontify a Java generic method as a function.
3858 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3859 value to t.
3860
ae43b66a
SB
38612013-07-27 Stephen Berman <stephen.berman@gmx.net>
3862
3863 * calendar/todo-mode.el: Add command to rename todo files.
3864 (todo-rename-file): New command.
3865 (todo-key-bindings-t): Add key binding for it. Change the
3866 bindings of todo-filter-regexp-items(-multifile) to use `x'
3867 instead of `r', since the latter is better suited to the new
3868 renaming command.
3869
5ab78d3d
AM
38702013-07-27 Alan Mackenzie <acm@muc.de>
3871
3872 Make Java try-with-resources statement parse properly.
3873 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3874 (c-block-stmt-1-2-key): New language constants/variables.
3875 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3876 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3877 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3878 with c-block-stmt-1-2-key.
5ab78d3d 3879
d85c4d50
JB
38802013-07-27 Juanma Barranquero <lekktu@gmail.com>
3881
3882 * desktop.el (desktop--make-frame): Apply most frame parameters after
3883 creating the frame to force (partially or totally) offscreen frames to
3884 be restored as such.
3885
e4c467f9
XF
38862013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3887
3888 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3889 (Bug#14948)
e4c467f9 3890
7ced0d04
SM
38912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3894 `base' arg of backtrace-frame.
3895
fec92060
EZ
38962013-07-26 Eli Zaretskii <eliz@gnu.org>
3897
3898 * simple.el (list-processes): Doc fix.
3899
d58d31fb
JB
39002013-07-26 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * desktop.el (desktop--select-frame):
d85c4d50 3903 Try harder to reuse existing frames.
d58d31fb 3904
53ff3e77
SM
39052013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3908 (edebug-eval): Use backtrace-eval.
3909 (edebug--display, edebug--recursive-edit): Don't let-bind the
3910 edebug-outer-* vars that keep track of variables we locally let-bind.
3911 (edebug-outside-excursion): Don't restore outside values of locally
3912 let-bound vars.
3913 (edebug--display): Use user-error.
3914 (cl-lexical-debug, cl-debug-env): Remove.
3915
045f7a53
JB
39162013-07-26 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3919 are restored to be sure that they are visible before deleting any
3920 remaining ones.
3921
59070b32
MM
39222013-07-26 Matthias Meulien <orontee@gmail.com>
3923
742a3501
XF
3924 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3925 vc-print-root-log. (Bug#14948)
59070b32 3926
b1fb3596
RS
39272013-07-26 Richard Stallman <rms@gnu.org>
3928
3929 Add aliases for encrypting mail.
3930 * epa.el (epa-mail-aliases): New option.
3931 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3932 Bind inhibit-read-only so read-only text doesn't ruin everything.
3933 (epa-mail-default-recipients): New subroutine broken out.
3934 Handle epa-mail-aliases.
3935
56ea7291
SM
39362013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 Add support for lexical variables to the debugger's `e' command.
3939 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3940 vars, except for debugger-outer-match-data.
3941 (debugger-frame-number): Move check for "on a function call" from
3942 callers into it. Add `skip-base' argument.
3943 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3944 (debugger-env-macro): Only reset the state stored in non-variables,
3945 i.e. current-buffer and match-data.
3946 (debugger-eval-expression): Rewrite using backtrace-eval.
3947 * subr.el (internal--called-interactively-p--get-frame): Remove.
3948 (called-interactively-p):
3949 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3950 `base' arg of backtrace-frame instead.
3951
15ac32d5
GM
39522013-07-26 Glenn Morris <rgm@gnu.org>
3953
8358a09d
GM
3954 * align.el (align-regexp): Doc fix. (Bug#14857)
3955 (align-region): Explicit error if subexpression missing/does not match.
3956
15ac32d5
GM
3957 * simple.el (global-visual-line-mode):
3958 Do not duplicate the mode lighter. (Bug#14858)
3959
f47ad11b
MR
39602013-07-25 Martin Rudalics <rudalics@gmx.at>
3961
3962 * window.el (display-buffer): In display-buffer bind
3963 split-window-keep-point to t, bug#14829.
3964
02530987
JB
39652013-07-25 Juanma Barranquero <lekktu@gmail.com>
3966
3967 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3968 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3969 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3970 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3971 Change accordingly.
f63ebeb5
JB
3972 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3973 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3974
6ccb9cab 39752013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3976
6ccb9cab 3977 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3978
cb3a56d2
JB
39792013-07-25 Juanma Barranquero <lekktu@gmail.com>
3980
3981 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3982 parameter to modify-frame-parameters if the value has not changed;
3983 this is a workaround for bug#14949.
3984 (desktop--make-frame): On cl-delete-if call, check parameter name,
3985 not full parameter.
3986
7aa7fff0
XF
39872013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3988
3989 * vc/vc.el (vc-ignore): New function.
3990
3991 * vc/vc-svn.el (vc-svn-ignore): New function.
3992
3993 * vc/vc-hg.el (vc-hg-ignore): New function.
3994
3995 * vc/vc-git.el (vc-git-ignore): New function.
3996
3997 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3998 (vc-dir-ignore): New function.
3999
4000 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4001 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4002
4003 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4004
4005 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4006
889acc5c
JB
40072013-07-24 Juanma Barranquero <lekktu@gmail.com>
4008
4009 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4010 (desktop-restore-frames): Warn when deleting an existing frame failed.
4011
86c40970
GM
40122013-07-24 Glenn Morris <rgm@gnu.org>
4013
4014 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4015
d5d3c58a
MA
40162013-07-24 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * filenotify.el (file-notify-supported-p):
4019 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4020 Remove functions.
4021
4022 * autorevert.el (auto-revert-use-notify):
4023 (auto-revert-notify-add-watch):
4024 * net/tramp.el (tramp-file-name-for-operation):
4025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4027 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4028 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4029 Remove `file-notify-supported-p' entry.
4030
d100084b
GM
40312013-07-24 Glenn Morris <rgm@gnu.org>
4032
4033 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4034 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4035
ac93e56b
SM
40362013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4037
249eea30
SM
4038 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4039 checked with memq (bug#14935).
4040
ac93e56b
SM
4041 * files.el (revert-buffer-function): Use a non-nil default.
4042 (revert-buffer-preserve-modes): Declare var to
4043 provide access to the `preserve-modes' argument.
4044 (revert-buffer): Let-bind it.
4045 (revert-buffer--default): New function, extracted from revert-buffer.
4046
2cdeb903
SM
40472013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * lpr.el: Signal print errors more prominently.
4050 (print-region-function): Don't default to nil.
4051 (lpr-print-region): New function, extracted from print-region-1.
4052 Check lpr's return value and signal an error in case of problem.
4053 (print-region-1): Use it.
4054 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4055 versions instead.
4056 (ps-printer-name): Default to nil.
4057 (ps-printer-name-option): Default to lpr-printer-switch.
4058 (ps-print-region-function): Don't default to nil.
4059 (ps-postscript-code-directory): Simplify default.
4060 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4061 (ps-string-list, ps-eval-switch, ps-flatten-list)
4062 (ps-flatten-list-1): Remove.
4063 (ps-multibyte-buffer): Avoid setq.
4064 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4065 (print-region-function, ps-print-region-function): Don't set them here.
4066
73600831
XF
40672013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4068
0e55c076
XF
4069 * ido.el (ido-fractionp):
4070 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4071 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4072 (ido-max-directory-size, ido-max-dir-file-cache)
4073 (ido-decorations): Doc fix.
4074
73600831
XF
4075 * ansi-color.el: Fix old URL.
4076
3d012865
MM
40772013-07-23 Michael R. Mauger <michael@mauger.com>
4078
e903c210 4079 * progmodes/sql.el: Version 3.3
3d012865
MM
4080 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4081 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4082 (sql-interactive-remove-continuation-prompt): Rewrite, use
4083 functions above. Fix continuation prompt and complete output line
4084 handling.
4085 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4086 redirected output buffer.
4087 (sql-mode): Restore deleted code (Bug#13591).
4088
da77a2e2
JB
40892013-07-23 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4092
80ff0c71
MA
40932013-07-23 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4096
4097 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4099 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4100
b61d71e4
JB
41012013-07-23 Juanma Barranquero <lekktu@gmail.com>
4102
4103 * desktop.el (desktop-clear): Simplify; remove useless checks
4104 against invalid buffer names.
4105 (desktop-list*): Use cl-list*.
4106 (desktop-buffer-info, desktop-create-buffer): Simplify.
4107
c3512092
LL
41082013-07-23 Leo Liu <sdl.web@gmail.com>
4109
4110 * bookmark.el (bookmark-make-record): Restore NAME as a default
4111 value. (Bug#14933)
4112
0ac26976
SM
41132013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4114
7d22ce18
SM
4115 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4116 extracted from autoload--insert-text.
4117 (autoload--insert-text): Remove.
4118 (autoload--print-cookie-text): New function, extracted from
4119 autoload--insert-cookie-text.
4120 (autoload--insert-cookie-text): Remove.
4121 (autoload-generate-file-autoloads): Adjust calls accordingly.
4122
9b2607e8
SM
4123 * winner.el (winner-hook-installed-p): Remove.
4124 (winner-mode): Simplify accordingly.
4125
c43a8618
SM
4126 * subr.el (add-to-list): Fix compiler-macro when `append' is
4127 not constant. Don't use `cl-member' for the base case.
4128
0ac26976
SM
4129 * progmodes/subword.el: Fix boundary case (bug#13758).
4130 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4131 own group.
4132 (subword-backward-regexp): Make it a constant.
4133 (subword-forward-internal): Don't treat a trailing capital as the
4134 beginning of a word.
4135
6874724a
AR
41362013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4137
4138 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4139 global value of tabulated-list-revert-hook (bug#14930).
4140
70f1b5e8
JB
41412013-07-22 Juanma Barranquero <lekktu@gmail.com>
4142
a1c80d9d
JB
4143 * desktop.el: Require 'cl-lib.
4144 (desktop-before-saving-frames-functions): New hook.
4145 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4146 for frames being saved. Rename from desktop--save-minibuffer-frames.
4147 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4148 Do not save frames with non-nil `desktop-dont-save' parameter.
4149 Filter out deleted frames.
a1c80d9d
JB
4150 (desktop--find-frame): Use cl-find-if.
4151 (desktop--select-frame): Use cl-(first|second|third) to access values
4152 of desktop-mini.
4153 (desktop--make-frame): Use cl-delete-if.
4154 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4155 (desktop-restore-frames): Use cl-(first|second|third) to access values
4156 of desktop-mini. Look for visible frame at the end, not while
4157 restoring frames.
4158
70f1b5e8
JB
4159 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4160 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4161 Use string-match-p, looking-at-p (bug#14927).
4162
728dc3cc
JB
41632013-07-21 Juanma Barranquero <lekktu@gmail.com>
4164
56bc453c
JB
4165 * desktop.el (desktop-saved-frame-states):
4166 Rename from desktop--saved-states; all users changed.
4167 (desktop-save-frames): Rename from desktop--save-frames.
4168 Do not save state to desktop file.
4169 (desktop-save): Save desktop-saved-frame-states to desktop file
4170 and reset to nil.
4171 (desktop-restoring-frames-p): New function.
4172 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4173 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4174 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4175
728dc3cc
JB
4176 * desktop.el: Correctly restore iconified frames.
4177 (desktop--filter-iconified-position): New function.
4178 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4179
862f1c9c
GM
41802013-07-20 Glenn Morris <rgm@gnu.org>
4181
c4074c9f
GM
4182 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4183 Let `message' do the formatting.
4184 (def-gdb-preempt-display-buffer): Add explicit format.
4185
d828e5f9
GM
4186 * image-dired.el (image-dired-track-original-file):
4187 Use with-current-buffer.
4188 (image-dired-track-thumbnail): Use with-current-buffer.
4189 Avoid changing point of wrong window.
4190
862f1c9c
GM
4191 * image-dired.el (image-dired-track-original-file):
4192 Avoid changing point of wrong window. (Bug#14909)
4193
f0398ec1 41942013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4195
4196 * progmodes/gdb-mi.el (gdb-done-or-error):
4197 Guard against "%" in gdb output. (Bug#14127)
4198
1451928f
AS
41992013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4200
763a086d
JB
4201 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4202 (Bug#14826)
f7a03897 4203
1451928f
AS
4204 * international/mule.el (coding-system-iso-2022-flags): Fix last
4205 change.
4206
99107004
KH
42072013-07-20 Kenichi Handa <handa@gnu.org>
4208
763a086d
JB
4209 * international/mule.el (coding-system-iso-2022-flags):
4210 Add `8-bit-level-4'. (Bug#8522)
99107004 4211
48494e06
LMI
42122013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4213
8ba8eec5
LMI
4214 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4215 (bug#14815).
4216
dfbc66e3
LMI
4217 * net/eww.el (eww-process-text-input): Allow inputting when the
4218 point is at the start of the line, as the properties aren't
4219 front-sticky.
4220
48494e06
LMI
4221 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4222 degenerate widths.
4223
77c92cb9
RS
42242013-07-19 Richard Stallman <rms@gnu.org>
4225
aec7da77
RS
4226 * epa.el (epa-popup-info-window): Doc fix.
4227
77c92cb9
RS
4228 * subr.el (split-string): New arg TRIM.
4229
945c5bb1
JB
42302013-07-18 Juanma Barranquero <lekktu@gmail.com>
4231
4232 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4233 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4234
e06ec67f
MA
42352013-07-18 Michael Albinus <michael.albinus@gmx.de>
4236
c7064f05 4237 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4238 `file-notify-support'. Do not autoload. Adapt all uses.
4239 (file-notify-supported-p): New defun.
4240
c7064f05
JB
4241 * autorevert.el (auto-revert-use-notify):
4242 Use `file-notify-supported-p' instead of `file-notify-support'.
4243 Adapt docstring.
e06ec67f
MA
4244 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4245
4246 * net/tramp.el (tramp-file-name-for-operation):
4247 Add `file-notify-supported-p'.
4248
4249 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4250 New defun.
4251 (tramp-sh-file-name-handler-alist): Add it as handler for
4252 `file-notify-supported-p '.
4253
4254 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4256 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4257 Add `ignore' as handler for `file-notify-*' functions.
4258
5dc8a629
EZ
42592013-07-17 Eli Zaretskii <eliz@gnu.org>
4260
4261 * simple.el (line-move-partial, line-move): Don't start vscroll or
4262 scroll-up if the current line is not taller than the window.
4263 (Bug#14881)
4264
77aea2fb
DG
42652013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4266
4267 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4268 highlight question marks in the method names as strings.
ac72c08d
DG
4269 (ruby-block-beg-keywords): Inline.
4270 (ruby-font-lock-keyword-beg-re): Extract from
4271 `ruby-font-lock-keywords'.
77aea2fb 4272
18c26d81
JD
42732013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4274
4275 * frame.el (blink-cursor-blinks): New defcustom.
4276 (blink-cursor-blinks-done): New defvar.
4277 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4278 (blink-cursor-timer-function): Check if number of blinks has been
4279 done on X and NS.
4280 (blink-cursor-suspend, blink-cursor-check): New defuns.
4281
da48522e
GM
42822013-07-15 Glenn Morris <rgm@gnu.org>
4283
4284 * edmacro.el (edmacro-format-keys): Fix previous change.
4285
0463c1ef
PE
42862013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4287
4288 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4289 The hack didn't work outside English locales anyway.
4290
b43f6451
JB
42912013-07-15 Juanma Barranquero <lekktu@gmail.com>
4292
4293 * simple.el (define-alternatives): Rename from alternatives-define,
4294 per RMS' suggestion.
4295
b958c0ad
JB
42962013-07-14 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * desktop.el (desktop-restore-frames): Change default to t.
4299 (desktop-restore-in-current-display): Now offer more options.
4300 (desktop-restoring-reuses-frames): New customization option.
4301 (desktop--saved-states): Doc fix.
4302 (desktop-filter-parameters-alist): New variable, renamed and expanded
4303 from desktop--excluded-frame-parameters.
4304 (desktop--target-display): New variable.
4305 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4306 (desktop--filter-tty*, desktop--filter-*-color)
4307 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4308 (desktop--filter-save-desktop-parm)
4309 (desktop-restore-in-original-display-p): New functions.
4310 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4311 (desktop--save-minibuffer-frames): New function, inspired by a similar
4312 function from Martin Rudalics.
4313 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4314 (desktop--restore-in-this-display-p): Remove.
4315 (desktop--find-frame): Rename from desktop--find-frame-in-display
4316 and add predicate argument.
4317 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4318 (desktop--reuse-list): New variable.
4319 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4320 New functions.
4321 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4322
f6dd8b36
MA
43232013-07-14 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4326
2ce3c565
DG
43272013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4328
763a086d
JB
4329 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4330 Highlight conversion methods on Kernel.
2ce3c565 4331
2cdb7698
AM
43322013-07-13 Alan Mackenzie <acm@muc.de>
4333
4334 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4335 and comment it out. This out-commenting enables certain C++
4336 declarations to be parsed correctly.
4337
1a67b811
EZ
43382013-07-13 Eli Zaretskii <eliz@gnu.org>
4339
1b796d6b
EZ
4340 * international/mule.el (define-coding-system): Doc fix.
4341
1a67b811
EZ
4342 * simple.el (default-font-height): Don't call font-info if the
4343 frame's default font didn't change since the frame was created.
4344 (Bug#14838)
4345
58fbe886
LL
43462013-07-13 Leo Liu <sdl.web@gmail.com>
4347
4348 * ido.el (ido-read-file-name): Guard against non-symbol value.
4349
1f0480d4
FEG
43502013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4351
4352 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4353 in nested defuns.
4354
97ead0e5
LL
43552013-07-13 Leo Liu <sdl.web@gmail.com>
4356
4357 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4358 ido-set-matches call. (Bug#6852)
4359
0880a952
DG
43602013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4361
4362 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4363 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4364 Ruby 2.0.
4365 (ruby-font-lock-keywords): Distinguish calls to functions with
4366 module-like names from module references. Highlight character
4367 literals.
4368
a7d8babb
SDJ
43692013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4370
4371 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4372 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4373
acfcc8c5
JB
43742013-07-12 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * desktop.el (desktop--v2s): Remove unused local variable.
4377 (desktop-save-buffer): Make defvar-local; adjust docstring.
4378 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4379 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4380
051f2775
AS
43812013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4382
4383 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4384
f24e7572
GM
43852013-07-12 Eli Zaretskii <eliz@gnu.org>
4386
4387 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4388 (Bug#14842)
4389
539a920c
GM
43902013-07-12 Glenn Morris <rgm@gnu.org>
4391
4392 * doc-view.el: Require cl-lib at runtime too.
4393 (doc-view-remove-if): Remove.
4394 (doc-view-search-next-match, doc-view-search-previous-match):
4395 Use cl-remove-if.
4396
4397 * edmacro.el: Require cl-lib at runtime too.
4398 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4399 (edmacro-mismatch, edmacro-subseq): Remove.
4400
4401 * shadowfile.el: Require cl-lib.
4402 (shadow-remove-if): Remove.
4403 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4404 Use cl-remove-if.
4405
4406 * wid-edit.el: Require cl-lib.
4407 (widget-choose): Use cl-remove-if.
4408 (widget-remove-if): Remove.
4409
4410 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4411 (ebrowse-delete-if-not): Remove.
4412 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4413 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4414 Use cl-delete-if-not.
4415
1048af7c
JB
44162013-07-12 Juanma Barranquero <lekktu@gmail.com>
4417
4418 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4419 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4420
6c0674ee
LL
44212013-07-12 Leo Liu <sdl.web@gmail.com>
4422
4423 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4424
a19b3c2d
GM
44252013-07-11 Glenn Morris <rgm@gnu.org>
4426
4582a01c
GM
4427 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4428 (edebug-gensym-index, edebug-gensym):
4429 Remove reimplementation of cl-gensym.
4430 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4431
4432 * thumbs.el: Require cl-lib at run-time too.
4433 (thumbs-gensym-counter, thumbs-gensym):
4434 Remove reimplementation of cl-gensym.
4435 (thumbs-temp-file): Use cl-gensym.
4436
a19b3c2d
GM
4437 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4438 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4439 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4440 (ert--union, ert--gensym-counter, ert--gensym-counter)
4441 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4442 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4443 (ert-make-test-unbound, ert--expand-should-1)
4444 (ert--expand-should, ert--should-error-handle-error)
4445 (should-error, ert--explain-equal-rec)
4446 (ert--plist-difference-explanation, ert-select-tests)
4447 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4448 Use cl-lib functions rather than reimplementations.
4449
88f6a933
MA
44502013-07-11 Michael Albinus <michael.albinus@gmx.de>
4451
4452 * net/tramp.el (tramp-methods): Extend docstring.
4453 (tramp-connection-timeout): New defcustom.
4454 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4455 (with-tramp-progress-reporter): Simplify.
4456 (tramp-process-actions): Improve messages.
4457
4458 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4459 * net/tramp-sh.el (tramp-maybe-open-connection):
4460 Use `tramp-connection-timeout'.
4461 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4462 (Bug#14808)
4463
a43d577e
LL
44642013-07-11 Leo Liu <sdl.web@gmail.com>
4465
4466 * ido.el (ido-read-file-name): Conform to the requirements of
4467 read-file-name. (Bug#11861)
4468 (ido-read-directory-name): Conform to the requirements of
4469 read-directory-name.
4470
d77974bf
JB
44712013-07-11 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * subr.el (delay-warning): New function.
4474
35cb8a3e
EZ
44752013-07-10 Eli Zaretskii <eliz@gnu.org>
4476
4477 * simple.el (default-line-height): New function.
4478 (line-move-partial, line-move): Use it instead of computing the
4479 line height inline.
4480 (line-move-partial): Always compute ROWH. If the last line is
4481 partially-visible, but its text is completely visible, allow
4482 cursor to enter such a partially-visible line.
4483
525c5c77
MA
44842013-07-10 Michael Albinus <michael.albinus@gmx.de>
4485
4486 Improve error messages. (Bug#14808)
4487
4488 * net/tramp.el (tramp-current-connection): New defvar, moved from
4489 tramp-sh.el.
0ac26976 4490 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4491 needed anymore.
0ac26976
SM
4492 (tramp-error-with-buffer): Show message in minibuffer.
4493 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4494 (with-tramp-progress-reporter): Improve messages.
4495 (tramp-process-actions): Use progress reporter. Delete process in
4496 case of error. Improve messages.
4497
763a086d
JB
4498 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4499 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4500 (tramp-current-connection): Remove.
525c5c77
MA
4501 (tramp-maybe-open-connection): The car of
4502 `tramp-current-connection' are the first 3 slots of the vector.
4503
c7a4d368
TZ
45042013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4505
4506 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4507 inside continued strings.
4508
954b166e
PE
45092013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4510
4511 Timestamp fixes for undo (Bug#14824).
4512 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4513
56973319
LL
45142013-07-10 Leo Liu <sdl.web@gmail.com>
4515
4516 * files.el (require-final-newline): Allow safe local value.
4517 (Bug#14834)
4518
5550a72c
LL
45192013-07-09 Leo Liu <sdl.web@gmail.com>
4520
4521 * ido.el (ido-read-directory-name): Handle fallback.
4522 (ido-read-file-name): Update DIR to ido-current-directory.
4523 (Bug#1516)
c28b9050 4524 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4525
70c46b28
DG
45262013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4527
4528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4529 "autoload". Remove "warn lower camel case" section, previously
4530 commented out. Highlight negation char. Do not highlight the
4531 target in singleton method definitions.
4532
0b64b838
SM
45332013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4534
7fd72e2c
SM
4535 * faces.el (tty-setup-hook): Declare the hook.
4536
0b64b838
SM
4537 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4538 and detect when a guard/pred depends on local vars (bug#14773).
4539 (pcase--u1): Adjust caller.
4540
ab49d60b
EZ
45412013-07-08 Eli Zaretskii <eliz@gnu.org>
4542
4543 * simple.el (line-move-partial, line-move): Account for
4544 line-spacing.
701d79aa
EZ
4545 (line-move-partial): Avoid setting vscroll when the last
4546 partially-visible line in window is of default height.
ab49d60b 4547
2d756ae0
LMI
45482013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4549
4550 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4551 been used a while.
4552
ed095bd7
JB
45532013-07-07 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * subr.el (read-quoted-char): Remove unused local variable `char'.
4556
f1e6674b
MK
45572013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4558
584ee3fc
GM
4559 * ediff.el (ediff-version): Version update.
4560 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4561 (ediff-merge-with-ancestor-command, ediff-directories-command)
4562 (ediff-directories3-command, ediff-merge-directories-command)
4563 (ediff-merge-directories-with-ancestor-command): New functions.
4564 All are command-line interfaces to ediff: to facilitate calling
4565 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4566
4567 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4568 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4569
584ee3fc
GM
4570 * viper.el (viper-version): Version update.
4571 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4572
584ee3fc
GM
45732013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4576 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4577 (viper-intercept-ESC-key): Simplify.
4578 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4579 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4580 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4581 (viper-setup-ESC-to-escape): New functions.
4582 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4583 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4584
9aff9b38
EZ
45852013-07-07 Eli Zaretskii <eliz@gnu.org>
4586
5165d44a
JB
4587 * simple.el (default-font-height, window-screen-lines):
4588 New functions.
9aff9b38
EZ
4589 (line-move, line-move-partial): Use them instead of
4590 frame-char-height and window-text-height. This makes scrolling
4591 text smoother when the buffer's default face uses a font that is
4592 different from the frame's default font.
4593
1afb1d07
JD
45942013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4595
4596 * files.el (write-file): Do not display confirm dialog for NS,
4597 it does its own dialog, which can't be cancelled (Bug#14578).
4598
23de972a
EZ
45992013-07-06 Eli Zaretskii <eliz@gnu.org>
4600
4601 * simple.el (line-move-partial): Adjust the row returned by
4602 posn-at-point for the current window-vscroll. (Bug#14567)
4603
54a42486
MA
46042013-07-06 Michael Albinus <michael.albinus@gmx.de>
4605
4606 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4607 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4608 spaces.
4609
34ada5f4
MR
46102013-07-06 Martin Rudalics <rudalics@gmx.at>
4611
4612 * window.el (window-state-put-stale-windows): New variable.
4613 (window--state-put-2): Save list of windows without matching buffer.
4614 (window-state-put): Remove "bufferless" windows if possible.
4615
11e03d89
JB
46162013-07-06 Juanma Barranquero <lekktu@gmail.com>
4617
4618 * simple.el (alternatives-define): Remove leftover :group keyword.
4619 Tweak docstring.
4620
3504a4be
LL
46212013-07-06 Leo Liu <sdl.web@gmail.com>
4622
4623 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4624 (ido-enable-virtual-buffers): New variable.
4625 (ido-buffer-internal, ido-toggle-virtual-buffers)
4626 (ido-make-buffer-list): Use it.
4627 (ido-exhibit): Support turning on and off virtual buffers
4628 automatically.
4629
61e56e2c
JB
46302013-07-06 Juanma Barranquero <lekktu@gmail.com>
4631
4632 * simple.el (alternatives-define): New macro.
4633
321e1a9c
SM
46342013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * subr.el (read-quoted-char): Use read-key.
4637 (sit-for): Let read-event decode tty input (bug#14782).
4638
d610f6dd
SB
46392013-07-05 Stephen Berman <stephen.berman@gmx.net>
4640
4641 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4642 mode command and externally. Fix various related bugs.
4643 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4644 (todo-delete-file): New command.
4645 (todo-check-file): New function.
4646 (todo-show): Handle external deletion of the file we're trying to
4647 show (bug#14688). Replace called-interactively-p by an optional
4648 prefix argument to avoid problematic interaction with catch form
4649 when byte compiled (bug#14702).
4650 (todo-quit): Handle external deletion of the archive's todo file.
4651 Make sure the buffer that was visiting the archive file is still
4652 live before trying to bury it.
4653 (todo-category-completions): Handle external deletion of any
4654 category completion files.
4655 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4656 of todo files, in case of external deletion.
4657 (todo-add-file): Replace unnecessary setq by let-binding.
4658 (todo-find-archive): Check whether there are any archives.
4659 Replace unnecessary setq by let-binding.
4660 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4661 archive buffer whether or not the archive already exists.
4662 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4663 check if the archive is new; if it is, update list of archives.
4664 (todo-default-todo-file): Allow nil to be a valid value for when
4665 there are no todo files.
4666 (todo-reevaluate-default-file-defcustom): Use corrected definition
4667 of todo-default-todo-file.
4668 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4669 (todo-delete-category, todo-show-categories-table)
4670 (todo-category-number): Clarify comment.
4671 (todo-filter-items): Clarify documentation string.
4672 (todo-show-current-file, todo-display-as-todo-file)
4673 (todo-reset-and-enable-done-separator): Tweak documentation string.
4674 (todo-done-separator): Make separator length window-width, since
4675 bug#2749 is now fixed.
4676
ddbdfd6f
MA
46772013-07-05 Michael Albinus <michael.albinus@gmx.de>
4678
321e1a9c
SM
4679 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4680 Support both "gvfs-monitor-dir" and "inotifywait".
4681 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4682 `tramp-sh-file-notify-process-filter'.
4683 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4684 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4685
96eb829a
LL
46862013-07-05 Leo Liu <sdl.web@gmail.com>
4687
4688 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4689
cf13177e
YM
46902013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4691
4692 * frame.el (display-pixel-height, display-pixel-width)
4693 (display-mm-height, display-mm-width): Mention behavior on
4694 multi-monitor setups in docstrings.
4695 (w32-display-monitor-attributes-list): Declare function.
4696 (display-monitor-attributes-list): Use it.
4697
864c58ca
MA
46982013-07-04 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * filenotify.el: New package.
4701
4702 * autorevert.el (top): Require filenotify.el.
4703 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4704 instead.
4705 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4706 (auto-revert-notify-handler): Use `file-notify-*' functions.
4707
4708 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4709
321e1a9c
SM
4710 * net/tramp.el (tramp-file-name-for-operation):
4711 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4712
4713 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4714 for `file-notify-add-watch' and `file-notify-rm-watch'.
4715 (tramp-process-sentinel): Improve trace.
4716 (tramp-sh-handle-file-notify-add-watch)
4717 (tramp-sh-file-notify-process-filter)
4718 (tramp-sh-handle-file-notify-rm-watch)
4719 (tramp-get-remote-inotifywait): New defuns.
4720
96673afe
JL
47212013-07-03 Juri Linkov <juri@jurta.org>
4722
4723 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4724 call of `occur-read-primary-args' to interactive spec.
4725
4726 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4727 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4728
924494f4
MM
47292013-07-03 Matthias Meulien <orontee@gmail.com>
4730
4731 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4732 `Buffer-menu-multi-occur'. Add it to the menu.
4733 (Buffer-menu-mode): Document it in docstring.
4734 (Buffer-menu-multi-occur): New command. (Bug#14673)
4735
56f75efc
DG
47362013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4739 keywords and built-ins.
4740
9b057d61
GM
47412013-07-03 Glenn Morris <rgm@gnu.org>
4742
208dee4d
GM
4743 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4744
9b057d61
GM
4745 Make info-xref checks case-sensitive by default
4746 * info.el (Info-find-node, Info-find-in-tag-table)
4747 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4748 Add option for exact case matching of nodes.
4749 * info-xref.el (info-xref): New custom group.
4750 (info-xref-case-fold): New option.
4751 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4752
e01aa29c
LL
47532013-07-03 Leo Liu <sdl.web@gmail.com>
4754
4755 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4756
3086ca2e
DG
47572013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4760 middle of block statement initially, lower the depth. Remove
4761 FIXME comment, not longer valid. Remove middle of block statement
4762 detection, no need to do that anymore since we've been using
4763 `ruby-parse-region' here.
4764
a3b49114
JD
47652013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4766
4767 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4768
08e5c823 47692013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4770
4771 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4772
2addf922
JB
47732013-07-01 Juanma Barranquero <lekktu@gmail.com>
4774
4775 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4776 (desktop-restore-in-current-display): New customization option.
4777 (desktop--excluded-frame-parameters): Add `font'.
4778 (desktop--save-frames): Rename from desktop--save-windows.
4779 (desktop--restore-in-this-display-p): New function.
4780 (desktop--make-full-frame): Remove unwanted width/height from
4781 full(width|height) frames.
4782 (desktop--restore-frames): Rename from desktop--restore-windows.
4783 Obey desktop-restore-current-display. Do not delete old frames or
4784 select a new frame unless we were able to restore at least one frame.
4785
ef099a94
MN
47862013-06-30 Michal Nazarewicz <mina86@mina86.com>
4787
4788 * files.el (find-file-noselect): Simplify conditional expression.
4789
4790 * remember.el (remember-append-to-file):
4791 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4792
4793 Add `remember-notes' function to store random notes across Emacs
4794 restarts.
4795 * remember.el (remember-data-file): Add :set callback to affect
4796 notes buffer (if any).
4797 (remember-notes): New command.
4798 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4799 New defcustoms for the `remember-notes' function.
4800 (remember-notes-save-and-bury-buffer): New command.
4801 (remember-notes-mode-map): New variable.
4802 (remember-mode): New minor mode.
4803 (remember-notes--kill-buffer-query): New function.
4804 * startup.el (initial-buffer-choice): Add notes to custom type.
4805
0865d506
EZ
48062013-06-30 Eli Zaretskii <eliz@gnu.org>
4807
0ba54312
EZ
4808 * bindings.el (right-char, left-char): Don't call sit-for, this is
4809 no longer needed. Use arithmetic comparison only for numerical
4810 arguments.
4811
ef099a94
MN
4812 * international/mule-cmds.el (select-safe-coding-system):
4813 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4814
2fae38e5
LMI
48152013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4816
4817 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4818 progression on degenerate tables.
ef099a94 4819 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4820
a47cbd64
JB
48212013-06-30 Juanma Barranquero <lekktu@gmail.com>
4822
4823 Some fixes and improvements for desktop frame restoration.
4824 It is still experimental and disabled by default.
4825 * desktop.el (desktop--save-windows): Put the selected frame at
4826 the head of the list.
4827 (desktop--make-full-frame): New function.
4828 (desktop--restore-windows): Try to re-select the frame that was
4829 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4830 just show an error message and continue. Set up maximized frames
4831 so they have default non-maximized dimensions.
a47cbd64 4832
6dbafa30
DG
48332013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4834
ef099a94
MN
4835 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4836 Don't start heredoc inside a string or comment.
6dbafa30 4837
4c672a0f
EZ
48382013-06-29 Eli Zaretskii <eliz@gnu.org>
4839
4840 * bindings.el (visual-order-cursor-movement): New defcustom.
4841 (right-char, left-char): Provide visual-order cursor motion by
4842 calling move-point-visually. Update the doc strings.
4843
50960f36
KH
48442013-06-28 Kenichi Handa <handa@gnu.org>
4845
4846 * international/mule.el (define-coding-system): New coding system
4847 properties :inhibit-null-byte-detection,
4848 :inhibit-iso-escape-detection, and :prefer-utf-8.
4849 (set-buffer-file-coding-system): If :charset-list property of
4850 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4851 appropriate for setting.
4852
c1ea3abf
JB
4853 * international/mule-cmds.el (select-safe-coding-system):
4854 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4855 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4856
4857 * international/mule-conf.el (prefer-utf-8): New coding system.
4858 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4859 files.
4860
75dbaf9d
IK
48612013-06-28 Ivan Kanis <ivan@kanis.fr>
4862
eadb6068
IK
4863 * net/shr.el (shr-render-region): New function.
4864
75dbaf9d
IK
4865 * net/eww.el: Autoload `eww-browse-url'.
4866
9ea5cf9f
DG
48672013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4868
c1ea3abf
JB
4869 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4870 Adapt to `package-desc-version' being a list.
4871 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4872 archive element.
4873
39c0e36f
JB
48742013-06-27 Juanma Barranquero <lekktu@gmail.com>
4875
4876 New experimental feature to save&restore window and frame setup.
4877 * desktop.el (desktop-save-windows): New defcustom.
4878 (desktop--saved-states): New var.
4879 (desktop--excluded-frame-parameters): New defconst.
4880 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4881 (desktop--restore-windows, desktop--save-windows): New functions.
4882 (desktop-save): Call `desktop--save-windows'.
4883 (desktop-read): Call `desktop--restore-windows'.
4884
7f13406b
LMI
48852013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
ef099a94 4887 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4888
1e072639
SB
48892013-06-27 Stephen Berman <stephen.berman@gmx.net>
4890
4891 * info.el (Info-try-follow-nearest-node): Move search for footnote
4892 above search for node name to prevent missing a footnote (bug#14717).
4893
f3e2cbde
SB
48942013-06-27 Stephen Berman <stephen.berman@gmx.net>
4895
4896 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4897
99906aa0
LL
48982013-06-27 Leo Liu <sdl.web@gmail.com>
4899
4900 * net/eww.el (eww-read-bookmarks): Check file size.
4901
539f75f4
SM
49022013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4905 advice--pending if newdef is nil or an autoload (bug#13820).
4906 (advice-mapc): New function.
4907
843571cb
LMI
49082013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4909
4910 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4911 probably.
23a75d7f 4912 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4913 (eww-add-bookmark): New command.
4914 (eww-bookmark-mode): New mode and commands.
a285ce99 4915 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4916 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4917
f2136e1e
GM
49182013-06-26 Glenn Morris <rgm@gnu.org>
4919
eab35f39
GM
4920 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4921 (hfy-size): Handle ttys. (Bug#14668)
4922
f2136e1e
GM
4923 * info-xref.el: Update for Texinfo 5 change in *note format.
4924 (info-xref-node-re, info-xref-note-re): New constants.
4925 (info-xref-check-buffer): Use info-xref-note-re.
4926
a49ff80c
SM
49272013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4928
a343d218
SM
4929 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4930
a49ff80c
SM
4931 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4932 nil terminate the loop (bug#14718).
4933
8308f184
LMI
49342013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
4936 * net/eww.el: Rework history traversal. When going forward/back,
4937 put these actions into the history, too, so that they can be
4938 replayed.
26bf2b82 4939 (eww-render): Move the history reset to the correct buffer.
8308f184 4940
ec64c273
JL
49412013-06-25 Juri Linkov <juri@jurta.org>
4942
4943 * files-x.el (modify-dir-local-variable): Change the header comment
4944 in the file with directory local variables. (Bug#14692)
4945
e080a9d7
JL
4946 * files-x.el (read-file-local-variable-value): Add `default'.
4947 (Bug#14710)
4948
bfbc93a1
IK
49492013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4950
4951 * net/eww.el (eww-make-unique-file-name): Create a unique file
4952 name before saving to entering `y' accidentally asynchronously.
4953
49542013-06-25 Ivan Kanis <ivan@kanis.fr>
4955
4956 * net/eww.el (eww-download): New command and keystroke.
4957
16f74f10
LMI
49582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4959
a49ff80c 4960 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4961
4962 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4963 be more consistent with Info and dired.
4964
4965 * net/eww.el (eww-mode-map): Ditto.
4966
12059709
SM
49672013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4970 packages from archives.
4971 (package-archive-contents): Change format; include obsolete packages.
4972 (package-desc): Use `dir' to mark builtin packages.
4973 (package--from-builtin): Set the `dir' field to `builtin'.
4974 (generated-autoload-file, version-control): Declare.
4975 (package-compute-transaction): Change first arg and return value to be
4976 lists of package-descs. Adjust to new package-archive-contents format.
4977 (package--add-to-archive-contents): Adjust to new
4978 package-archive-contents format.
4979 (package-download-transaction): Arg is now a list of package-descs.
4980 (package-install): If `pkg' is a package name, pass it as
4981 a requirement, so it is subject to the usual (e.g. disabled) checks.
4982 (describe-package): Accept package-desc as well.
4983 (describe-package-1): Describe a specific package-desc. Add links to
4984 other package-descs for the same package name.
4985 (package-menu-describe-package): Pass the actual package-desc.
4986 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4987 works correctly.
4988 (package-desc-status): New function.
4989 (package-menu--refresh): New function, extracted
4990 from package-menu--generate.
4991 (package-menu--generate): Use it.
4992 (package-delete): Update package-alist.
4993 (package-menu-execute): Don't call package-initialize.
4994
4995 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4996 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4997 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4998 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4999 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5000 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5001
8bbdea0f
MR
50022013-06-25 Martin Rudalics <rudalics@gmx.at>
5003
5004 * window.el (window--state-get-1): Workaround for bug#14527.
5005 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5006
e82b0991
LMI
50072013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5008
5009 * net/eww.el (eww-back-url): Implement the history by stashing all
5010 the data into a list.
d3f0f918 5011 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5012
c763842b
SM
50132013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5016 for values and use read--expression for expressions (bug#14710).
5017 (read-file-local-variable): Avoid setq.
5018 (read-file-local-variable-mode): Use minor-mode-list.
5019
bceff189
RW
50202013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5021
864c58ca 5022 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5023 for DOI URLs.
5024
45f431c6
RW
50252013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5026
864c58ca 5027 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5028 Update imenu-support when dialect changes.
5029
f42d8237
LL
50302013-06-25 Leo Liu <sdl.web@gmail.com>
5031
5032 * ido.el (ido-read-internal): Allow forward slash on windows.
5033
be549ce6
LMI
50342013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5035
5036 * net/eww.el (eww): Start of strings is \\`, not ^.
5037
71d4c19d
IK
50382013-06-24 Ivan Kanis <ivan@kanis.fr>
5039
5196f88a
IK
5040 * net/shr.el (shr-browse-url): Fix interactive spec.
5041
71d4c19d
IK
5042 * net/eww.el (eww): Add a trailing slash to domain names.
5043
ae36ca55
JB
50442013-06-24 Juanma Barranquero <lekktu@gmail.com>
5045
5046 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5047
0ebd92a3
LMI
50482013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5049
bdaa086b
LMI
5050 * net/shr.el (shr-browse-url): Use an external browser if given a
5051 prefix.
5052
c763842b 5053 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5054
b89fc156
IK
50552013-06-24 Ivan Kanis <ivan@kanis.fr>
5056
5057 * net/eww.el (eww): Work more correctly for file: URLs.
5058 (eww-detect-charset): Allow quoted charsets.
5059 (eww-yank-page-url): New command and keystroke.
5060
18eb4bca
DU
50612013-06-24 Daiki Ueno <ueno@gnu.org>
5062
5063 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5064 file name of gpg executable.
5065 (epg-context-program): New function.
5066 (epg-context-home-directory): New function.
5067 (epg-context-set-program): New function.
5068 (epg-context-set-home-directory): New function.
5069 (epg--start): Use `epg-context-program' instead of
5070 'epg-gpg-program'.
5071 (epg--list-keys-1): Likewise.
5072
6c6268c8
LL
50732013-06-24 Leo Liu <sdl.web@gmail.com>
5074
5075 * ido.el (ido-read-internal): Fix bug#14620.
5076
5e400cb3
JB
50772013-06-23 Juanma Barranquero <lekktu@gmail.com>
5078
5079 * faces.el (face-documentation): Simplify.
5080 (read-face-attribute, tty-find-type, x-resolve-font-name):
5081 Use `string-match-p'.
5082 (list-faces-display): Use `string-match-p'. Simplify.
5083 (face-spec-recalc): Check face to avoid face alias loops.
5084 (read-color): Use `string-match-p' and non-capturing parenthesis.
5085
f3f9606c
LMI
50862013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5087
5088 * net/shr.el (shr-rescale-image): Use the new
5089 :max-width/:max-height functionality.
5090
a3ca09b9
IK
50912013-06-23 Ivan Kanis <ivan@kanis.fr>
5092
5093 * net/eww.el (eww-search-prefix): New variable.
5094 (eww): Use it.
f865b474
IK
5095 (eww-external-browser): New variable.
5096 (eww-mode-map): New keystroke.
5097 (eww-browse-with-external-browser): New command.
a3ca09b9 5098
e854cfc7
IK
5099 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5100
18bb9e21
JB
51012013-06-23 Juanma Barranquero <lekktu@gmail.com>
5102
5103 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5104 Don't skip aligning the next header field when padding is 0;
5105 otherwise, field width is not respected unless the title is as
5106 wide as the field.
5107
5b165ade
SM
51082013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * emacs-lisp/package.el (package-el-version): Remove.
5111 (package-process-define-package): Fix inf-loop.
5112 (package-install): Allow symbols as arguments again.
5113
12adebe9
DG
51142013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5115
5116 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5117 add some more keyword-like methods.
5118 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5119
388573ee
JB
51202013-06-22 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * bs.el (bs-buffer-show-mark): Make defvar-local.
5123 (bs-mode): Use setq-local.
5124
5125 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5126 (emacs-lock--try-unlocking): Make defvar-local.
5127
4582a01c 51282013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5129
2663dd23
GM
5130 * play/cookie1.el (cookie-apropos): Minor simplification.
5131
3d94f3ad
GM
5132 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5133
f72e2fdb
DG
51342013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5135
5136 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5137 `regexp-opt', it breaks the build during dumping.
5138
73eab938
DG
51392013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5140
c763842b
SM
5141 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5142 Highlight keyword-like methods on Kernel and Module with
73eab938 5143 font-lock-builtin-face.
5cf8176d
DG
5144 (auto-mode-alist): Consolidate different entries into one regexp
5145 and add more *file-s.
73eab938 5146
d26255f6
SB
51472013-06-21 Stephen Berman <stephen.berman@gmx.net>
5148
5149 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5150
5151 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5152 (diary-entry): Use it in the action of this button type instead of
5153 diary-goto-entry.
5154
5155 * calendar/todo-mode.el: New version.
5156 (todo-add-category): Append new category to end of file and give
5157 it the highest number, instead of putting it at the beginning and
5158 giving it 0. Incorporate noninteractive functionality.
5159 (todo-forward-category): Adapt to 1-based category numbering.
5160 Allow skipping over archived categories.
5161 (todo-backward-category): Derive from todo-forward-category.
5162 (todo-backward-item, todo-forward-item): Make noninteractive and
5163 delegate interactive part to new commands. Make sensitive to done items.
5164 (todo-categories): Make value an alist of category names and
5165 vectors of item counts.
5166 (todo-category-beg): Make a defconst.
5167 (todo-category-number): Use 1 instead of 0 as initial value.
5168 (todo-category-select): Make sensitive to overlays, optional item
5169 highlighting and done items.
5170 (todo-delete-item): Make sensitive to overlays and marked and done items.
5171 (todo-edit-item): Make sensitive to overlays and editing of
5172 date/time header optional. Add format checks.
5173 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5174 no-op if point is not on an item. Advertise using todo-edit-quit.
5175 (todo-edit-mode): Make sensitive to new format, font-locking, and
5176 multiple todo files.
5177 (todo-insert-item, todo-insert-item-here): Derive from
5178 todo-basic-insert-item and extend functionality.
5179 (todo-item-end, todo-item-start): Make sensitive to done items.
5180 (todo-item-string): Don't return text properties. Restore point.
5181 (todo-jump-to-category): Make sensitive to multiple todo files and
5182 todo archives. Use extended category completion.
5183 (todo-lower-item, todo-raise-item): Rename to *-priority and
5184 derive from todo-set-item-priority.
5185 (todo-mode): Derive from special-mode. Make sensitive to new
5186 format, font-locking and multiple todo files. Make read-only.
5187 (todo-mode-map): Don't suppress digit keys, so they can supply
5188 prefix arguments. Add many new key bindings.
5189 (todo-prefix): Insert as an overlay instead of file text.
5190 Change semantics from diary date expression to purely visual mark.
5191 (todo-print): Rename to todo-print-buffer. Make buffer display
5192 features printable. Remove option to restrict number of items
5193 printed. Add option to print to file.
5194 (todo-print-function): Rename to todo-print-buffer-function.
5195 (todo-quit): Extend to handle exiting new todo modes.
5196 (todo-remove-item): Make sensitive to overlays.
5197 (todo-save): Extend to buffers of filtered items.
5198 (todo-show): Make sensitive to done items, multiple todo files and
5199 new todo modes. Offer to convert legacy todo file before creating
5200 first new todo file.
5201 (todo-show-priorities): Rename to todo-top-priorities.
5202 Change semantics of value 0.
5203 (todo-top-priorities): Rename to todo-filter-top-priorities,
5204 derive from todo-filter-items and extend functionality.
5205 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5206 and extend functionality to other types of filtered items.
5207 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5208 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5209 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5210 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5211 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5212 (todo-edit-mode-hook, todo-entry-prefix-function)
5213 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5214 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5215 (todo-initials, todo-insert-threshold, todo-item-string-start)
5216 (todo-line-string, todo-menu, todo-mode-hook)
5217 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5218 (todo-print-priorities, todo-remove-separator)
5219 (todo-save-top-priorities-too, todo-string-count-lines)
5220 (todo-string-multiline-p, todo-time-string-format)
5221 (todo-tmp-buffer-name): Remove.
5222 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5223 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5224 (todo-edit-category-diary-inclusion)
5225 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5226 (todo-edit-file, todo-edit-item-date-day)
5227 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5228 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5229 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5230 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5231 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5232 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5233 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5234 (todo-filter-top-priorities-multifile, todo-find-archive)
5235 (todo-find-filtered-items-file, todo-go-to-source-item)
5236 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5237 (todo-jump-to-archive-category, todo-lower-category)
5238 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5239 (todo-move-category, todo-move-item, todo-next-button)
5240 (todo-next-item, todo-padded-string, todo-powerset)
5241 (todo-previous-button, todo-previous-item)
5242 (todo-print-buffer-to-file, todo-raise-category)
5243 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5244 (todo-set-category-number, todo-set-item-priority)
5245 (todo-set-top-priorities-in-category)
5246 (todo-set-top-priorities-in-file, todo-show-categories-table)
5247 (todo-sort-categories-alphabetically-or-numerically)
5248 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5249 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5250 (todo-toggle-item-header, todo-toggle-item-highlighting)
5251 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5252 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5253 (todo-unarchive-items, todo-unmark-category): New commands.
5254 (todo-absolute-file-name, todo-add-to-buffer-list)
5255 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5256 (todo-basic-insert-item, todo-category-completions)
5257 (todo-category-number, todo-category-string-matcher-1)
5258 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5259 (todo-check-format, todo-clear-matches)
5260 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5261 (todo-current-category, todo-date-string-matcher)
5262 (todo-define-insertion-command, todo-diary-expired-matcher)
5263 (todo-diary-goto-entry, todo-diary-item-p)
5264 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5265 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5266 (todo-done-item-section-p, todo-done-separator)
5267 (todo-done-string-matcher, todo-files, todo-filter-items)
5268 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5269 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5270 (todo-insert-category-line, todo-insert-item-from-calendar)
5271 (todo-insert-sort-button, todo-insert-with-overlays)
5272 (todo-insertion-command-name, todo-insertion-key-bindings)
5273 (todo-label-to-key, todo-longest-category-name-length)
5274 (todo-make-categories-list, todo-mode-external-set)
5275 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5276 (todo-modes-set-3, todo-multiple-filter-files)
5277 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5278 (todo-read-category, todo-read-date, todo-read-dayname)
5279 (todo-read-file-name, todo-read-time)
5280 (todo-reevaluate-category-completions-files-defcustom)
5281 (todo-reevaluate-default-file-defcustom)
5282 (todo-reevaluate-filelist-defcustoms)
5283 (todo-reevaluate-filter-files-defcustom)
5284 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5285 (todo-reset-done-separator, todo-reset-done-separator-string)
5286 (todo-reset-done-string, todo-reset-global-current-todo-file)
5287 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5288 (todo-reset-prefix, todo-set-categories)
5289 (todo-set-date-from-calendar, todo-set-show-current-file)
5290 (todo-set-top-priorities, todo-short-file-name)
5291 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5292 (todo-total-item-counts, todo-update-buffer-list)
5293 (todo-update-categories-display, todo-update-categories-sexp)
5294 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5295 New functions.
5296 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5297 New major modes.
5298 (todo-categories, todo-display, todo-edit, todo-faces)
5299 (todo-filtered): New defgroups.
5300 (todo-archived-only, todo-button, todo-category-string, todo-date)
5301 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5302 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5303 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5304 (todo-add-item-if-new-category, todo-always-add-time-string)
5305 (todo-categories-align, todo-categories-archived-label)
5306 (todo-categories-category-label, todo-categories-diary-label)
5307 (todo-categories-done-label, todo-categories-number-separator)
5308 (todo-categories-todo-label, todo-categories-totals-label)
5309 (todo-category-completions-files, todo-completion-ignore-case)
5310 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5311 (todo-done-separator-string, todo-done-string)
5312 (todo-files-function, todo-filter-done-items, todo-filter-files)
5313 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5314 (todo-initial-category, todo-initial-file, todo-item-mark)
5315 (todo-legacy-date-time-regexp, todo-mode-line-function)
5316 (todo-nondiary-marker, todo-number-prefix)
5317 (todo-print-buffer-function, todo-show-current-file)
5318 (todo-show-done-only, todo-show-first, todo-show-with-done)
5319 (todo-skip-archived-categories, todo-top-priorities-overrides)
5320 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5321 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5322 New defcustoms.
5323 (todo-category-done, todo-date-pattern, todo-date-string-start)
5324 (todo-diary-items-buffer, todo-done-string-start)
5325 (todo-filtered-items-buffer, todo-item-start)
5326 (todo-month-abbrev-array, todo-month-name-array)
5327 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5328 (todo-top-priorities-buffer): New defconsts.
5329 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5330 (todo-categories-with-marks, todo-category-string-face)
5331 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5332 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5333 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5334 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5335 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5336 (todo-font-lock-keywords, todo-global-current-todo-file)
5337 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5338 (todo-insertion-commands-args)
5339 (todo-insertion-commands-args-genlist)
5340 (todo-insertion-commands-names, todo-insertion-map)
5341 (todo-key-bindings-t, todo-key-bindings-t+a)
5342 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5343 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5344 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5345 (todo-visited): New variables.
5346
cad5d1cb
GM
53472013-06-21 Glenn Morris <rgm@gnu.org>
5348
5349 * play/cookie1.el (cookie-apropos): Add optional display argument.
5350 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5351 (psychoanalyze-pinhead): Use cookie-doctor.
5352
9e277302
JB
53532013-06-21 Juanma Barranquero <lekktu@gmail.com>
5354
5355 * emacs-lisp/package.el (tar-get-file-descriptor)
5356 (tar--extract): Declare.
5357
c5b0993e
EW
53582013-06-21 Eduard Wiebe <usenet@pusto.de>
5359
5360 Extend flymake's warning predicate to be a function (bug#14217).
5361 * progmodes/flymake.el (flymake-warning-predicate): New.
5362 (flymake-parse-line): Use it.
5363 (flymake-warning-re): Make obsolete alias to
5364 `flymake-warning-predicate'.
5365
a7d2d465
SM
53662013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5369 (package-obsolete-list): Remove.
5370 (package-activate): Remove min-version argument. Add `force' argument.
5371 Adjust to new package-alist format.
5372 (package-mark-obsolete): Remove.
5373 (package-unpack): Force reload of the package's autoloads.
5374 (package-installed-p): Check builtins if the installed package is not
5375 recent enough.
5376 (package-initialize): Don't reset package-obsolete-list.
5377 Don't specify which package version to activate.
5378 (package-process-define-package, describe-package-1)
5379 (package-menu--generate): Adjust to new package-alist format.
5380
cedf5c9d
JB
53812013-06-21 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * allout-widgets.el (allout-widgets-mode-off)
5384 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5385 (allout-widgets-post-command-business)
5386 (allout-widgets-after-copy-or-kill-function)
5387 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5388 (allout-decorate-item-and-context)
5389 (allout-graphics-modification-handler): Fix typos in docstrings.
5390 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5391
5392 * cmuscheme.el (scheme-start-file): Doc fix.
5393 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5394 (scheme-input-filter): Use `string-match-p'.
5395
5396 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5397
5398 * dired-x.el: Use Dired consistently in docstrings.
5399
5400 * dired.el: Use Dired consistently in docstrings.
5401 (dired-readin, dired-mode): Use `setq-local'.
5402 (dired-switches-alist): Make defvar-local.
5403 (dired-buffers-for-dir): Use `zerop'.
5404 (dired-safe-switches-p, dired-switches-escape-p)
5405 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5406 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5407 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5408 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5409 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5410 (dired-toggle-marks, dired-mark-files-containing-regexp)
5411 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5412 (dired-flag-auto-save-files, dired-flag-backup-files):
5413 Use `looking-at-p'.
5414 (dired-mark-files-regexp, dired-build-subdir-alist):
5415 Use `string-match-p', `looking-at-p'.
5416
5417 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5418 (direct-print-region-helper): Use `string-match-p'.
5419
aed838b5
LL
54202013-06-21 Leo Liu <sdl.web@gmail.com>
5421
cedf5c9d
JB
5422 * comint.el (comint-redirect-results-list-from-process):
5423 Fix infinite loop.
aed838b5 5424
d80a808f
LMI
54252013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426
5427 * net/eww.el (eww-update-header-line-format): Quote % characters.
5428
e7a526e3
GM
54292013-06-21 Glenn Morris <rgm@gnu.org>
5430
5431 * play/cookie1.el (cookie): New custom group.
5432 (cookie-file): New option.
5433 (cookie-check-file): New function.
5434 (cookie): Make it interactive. Make start and end messages optional.
5435 Interactively, display the result. Default to cookie-file.
5436 (cookie-insert): Default to cookie-file.
5437 (cookie-snarf): Make start and end messages optional.
5438 Default to cookie-file. Use with-temp-buffer.
5439 (cookie-read): Rename from read-cookie.
5440 Make start and end messages optional. Default to cookie-file.
5441 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5442 Do not autoload it.
e7a526e3
GM
5443 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5444 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5445
62efb35e
LL
54462013-06-21 Leo Liu <sdl.web@gmail.com>
5447
5448 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5449
21e3f963
GM
54502013-06-21 Glenn Morris <rgm@gnu.org>
5451
5452 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5453
fd846ab4
SM
54542013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5455 Daniel Hackney <dan@haxney.org>
5456
5457 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5458 Consolidate the single-file vs tarball code.
5459 (package-desc-suffix): New function.
5460 (package-desc-full-name): Don't bother inlining it.
5461 (package-load-descriptor): Return the new package-desc.
5462 (package-mark-obsolete): Remove unused arg `package'.
5463 (package-unpack): Make it work for single files as well.
5464 Make it update package-alist.
5465 (package--make-autoloads-and-stuff): Rename from
5466 package--make-autoloads-and-compile. Don't compile any more.
5467 (package--compile): New function.
5468 (package-generate-description-file): New function, extracted from
5469 package-unpack-single.
5470 (package-unpack-single): Remove.
5471 (package--with-work-buffer): Add indentation and debugging info.
5472 (package-download-single): Remove.
5473 (package-install-from-archive): Rename from package-download-tar, make
5474 it take a pkg-desc, and make it work for single files as well.
5475 (package-download-transaction): Simplify.
5476 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5477 external tar program.
5478 (package-install-from-buffer): Remove `pkg-desc' argument.
5479 Use package-tar-file-info for tar-mode buffers.
5480 (package-install-file): Simplify accordingly.
5481 (package-archive-base): Change to take a pkg-desc.
5482 * tar-mode.el (tar--check-descriptor): New function, extracted from
5483 tar-get-descriptor.
5484 (tar-get-descriptor): Use it.
5485 (tar-get-file-descriptor): New function.
5486 (tar--extract): New function, extracted from tar-extract.
5487 (tar--extract): Use it.
5488 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5489 case the summary uses non-ascii. Adjust to new calling convention of
5490 package-tar-file-info.
5491
b7deae5e
LL
54922013-06-21 Leo Liu <sdl.web@gmail.com>
5493
fd846ab4
SM
5494 * comint.el (comint-redirect-results-list-from-process):
5495 Fix random delay. (Bug#14681)
b7deae5e 5496
7a65a0b2
JB
54972013-06-21 Juanma Barranquero <lekktu@gmail.com>
5498
5499 * profiler.el (profiler-format-number): Use log, not log10.
5500
1493c2af
JB
55012013-06-20 Juanma Barranquero <lekktu@gmail.com>
5502
5503 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5504
aff6371e
SM
55052013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5508 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5509 yet available.
5510 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5511 (AUTOGENEL): ... here.
5512 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5513 (cl--defsubst-expand): Use it.
5514
89561f72
PE
55152013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5516
5517 * subr.el (log10): Move here from C code, and declare as obsolete.
5518 All uses of (log10 X) replaced with (log X 10).
5519
47199123
JB
55202013-06-20 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5523 Declare with `defvar-local'.
5524 (tabulated-list-use-header-line, tabulated-list-entries)
5525 (tabulated-list-padding, tabulated-list-printer)
5526 (tabulated-list-sort-key): Declare with `defvar-local'.
5527 (tabulated-list-init-header, tabulated-list-print-fake-header):
5528 Use `setq-local'.
5529
4a172eab
MA
55302013-06-20 Michael Albinus <michael.albinus@gmx.de>
5531
47199123
JB
5532 * arc-mode.el (archive-mode): Add `archive-write-file' to
5533 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5534
5fc0acc0
JB
55352013-06-20 Juanma Barranquero <lekktu@gmail.com>
5536
d5b27848
JB
5537 * cus-edit.el (custom-commands): Fix typos.
5538 (custom-display): Fix tooltip text.
5539 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5540 Fix typos in docstrings.
5541 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5542 (custom-unlispify-menu-entry, custom-magic-value-create)
5543 (custom-add-see-also, custom-group-value-create): Use ?\s.
5544 (custom-guess-type, customize-apropos, editable-field)
5545 (custom-face-value-create): Use `string-match-p'.
5546 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5547
5548 * custom.el (custom-load-symbol): Use `string-match-p'.
5549
a5c581d8
JB
5550 * ansi-color.el: Convert to lexical binding.
5551 (ansi-colors): Fix URL.
5552 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5553 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5554 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5555
970ad972
G
55562013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5557
5558 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5559
5560 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5561
55622013-06-19 Tom Tromey <tromey@redhat.com>
5563
5564 * net/eww.el (eww-top-url): Remove.
5565 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5566 (eww-render): Set new variables. Don't set eww-top-url.
5567 (eww-handle-link): Handle "prev", "home", and "contents".
5568 Downcase the rel text.
5569 (eww-top-url): Choose best top URL.
5570
55712013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5572
5573 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5574 relying in widget.el. Using widget.el leads to too many
5575 user interface inconsistencies.
5576 (eww-self-insert): Implement entering commands in text fields.
5577 (eww-process-text-input): New function to make text input field editing
5578 work.
5579 (eww-submit): Rewrite to use the new-style form methods.
5580 (eww-select-display): Display the correct selected item.
5581 (eww-change-select): Implement changing the select value.
5582 (eww-toggle-checkbox): Implement radio/checkboxes.
5583 (eww-update-field): Fix compilation error.
5584 (eww-tag-textarea): Implement <textarea>.
5585
5586 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5587 we don't shadow mode-specific bindings.
5588
5589 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5590 nothing to push.
5591
5592 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5593
4582a01c 55942013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5595
5596 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5597
15b263dc
MA
55982013-06-19 Michael Albinus <michael.albinus@gmx.de>
5599
5600 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5601 not needed.
5602
5603 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5604
8f5297f7
LMI
56052013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5606
5607 * net/browse-url.el (browse-url-browser-function):
5608 `eww-browse-url' has the right calling signature, `eww' does not.
5609
011c4552
GM
56102013-06-19 Glenn Morris <rgm@gnu.org>
5611
2285bd27
GM
5612 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5613 Only eval autoloaded macros.
5614 (byte-compile-autoload): Only give the macro warning for macros.
5615
1d653303
GM
5616 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5617 (ps-underlined-faces): Declare.
5618
bdd779ec
GM
5619 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5620 (speedbar-add-supported-extension): Declare.
5621
011c4552
GM
5622 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5623 Don't include a date stamp in the header of the generated file;
5624 it leads to needless differences between output files.
5625
e59dfb0e
MA
56262013-06-19 Michael Albinus <michael.albinus@gmx.de>
5627
c763842b
SM
5628 * net/secrets.el (secrets-struct-secret-content-type):
5629 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5630 Some servers do not offer introspection.
e59dfb0e 5631
102626e2
SM
56322013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * electric.el (electric-pair-mode): Improve interaction with
5635 electric-layout-mode.
5636 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5637 (electric-pair-syntax): Use text-mode-syntax-table in comments
5638 and strings.
5639 (electric-pair--insert): New function.
5640 (electric-pair-post-self-insert-function): Use it and
5641 electric--after-char-pos.
5642
ad528125
LL
56432013-06-19 Leo Liu <sdl.web@gmail.com>
5644
5645 * progmodes/octave.el (octave-help): Fix regexp.
5646
924d6997
G
56472013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5648
5649 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5650 (shr-table-horizontal-line): Allow nil as a value, and change the
5651 default.
5652 (shr-insert-table-ruler): Respect the nil value.
5653
56542013-06-18 Tom Tromey <tromey@barimba>
5655
5656 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5657 New defvars.
5658 (eww-open-file): New defun.
5659 (eww-render): Initialize new variables.
5660 (eww-display-html): Handle "link" and "a".
5661 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5662 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5663 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5664 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5665 New defuns.
924d6997 5666
d1bbba4f
DG
56672013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5668
5669 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5670 Distinguish ternary operator tokens from slash symbol and slash
5671 char literal.
5672
14dd22d2
JB
56732013-06-18 Juanma Barranquero <lekktu@gmail.com>
5674
5675 Convert symbol prettification into minor mode and global minor mode.
5676
5677 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5678 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5679 (prettify-symbols--keywords): Rename from
5680 `prog-prettify-symbols-alist' and make a local defvar.
5681 (prettify-symbols--compose-symbol): Rename from
5682 `prog--prettify-font-lock-compose-symbol'.
5683 (prettify-symbols--make-keywords): Rename from
5684 `prog-prettify-font-lock-symbols-keywords' and simplify.
5685 (prog-prettify-install): Remove.
5686 (prettify-symbols-mode): New minor mode, based on
5687 `prog-prettify-install'.
5688 (turn-on-prettify-symbols-mode): New function.
5689 (global-prettify-symbols-mode): New globalized minor mode.
5690
5691 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5692 * progmodes/cfengine.el (cfengine3-mode):
5693 * progmodes/perl-mode.el (perl-mode): Don't call
5694 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5695
292c880c
JL
56962013-06-18 Juri Linkov <juri@jurta.org>
5697
5698 * files-x.el (modify-file-local-variable-message): New function.
5699 (modify-file-local-variable)
5700 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5701 and call `modify-file-local-variable-message' when it's non-nil.
5702 (add-file-local-variable, delete-file-local-variable)
5703 (add-file-local-variable-prop-line)
5704 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5705 and use it. (Bug#9820)
5706
0950aa27
JL
57072013-06-18 Juri Linkov <juri@jurta.org>
5708
5709 * emulation/vi.el (vi-shell-op):
5710 * emulation/vip.el (vip-execute-com, ex-command):
5711 * emulation/viper-cmd.el (viper-exec-bang):
5712 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5713 the call of `shell-command-on-region'. (Bug#14637)
5714
5715 * simple.el (shell-command-on-region): Doc fix.
5716
8fbcca16
SM
57172013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5720 (bug#14633).
5721
dd7426ea
GM
57222013-06-18 Glenn Morris <rgm@gnu.org>
5723
4ba54f7d
GM
5724 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5725
dd7426ea
GM
5726 * newcomment.el (comment-search-forward, comment-search-backward):
5727 Doc fix. (Bug#14376)
5728
58aa805b
JB
57292013-06-18 Juanma Barranquero <lekktu@gmail.com>
5730
5731 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5732 (buffer-face-mode-invoke): Doc fix.
5733
9a08a617
MM
57342013-06-18 Matthias Meulien <orontee@gmail.com>
5735
5736 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5737 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5738
f2f426ca
GM
57392013-06-18 Glenn Morris <rgm@gnu.org>
5740
9445f99b
GM
5741 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5742 Replace obsolete function generic-make-keywords with its expansion.
5743
e0df2d14
GM
5744 * progmodes/python.el (ffap-alist): Declare.
5745
f2f426ca
GM
5746 * textmodes/reftex.el (bibtex-mode-map): Declare.
5747
f7f9a720
SM
57482013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5751 (package-unpack, package-unpack-single): Return the pkg-dir.
5752 (package-download-transaction): Use it to update package-alist.
5753
57ff04e0
LMI
57542013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5755
5756 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5757 possible choice.
5758
c048c022
JL
57592013-06-17 Juri Linkov <juri@jurta.org>
5760
5761 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5762
b5bcaee5
DG
57632013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5764
a020afb9
JB
5765 * emacs-lisp/package.el (package-load-descriptor):
5766 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5767 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5768
551e07e5
JB
57692013-06-17 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * startup.el (command-line): Expand package name returned by
5772 `package--description-file' (bug#14639).
5773
d363bffb
DG
57742013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5775
5776 * emacs-lisp/package.el (package-load-descriptor): Do not call
5777 `emacs-lisp-mode', just use its syntax table.
5778
f612933b
JB
57792013-06-17 Juanma Barranquero <lekktu@gmail.com>
5780
5781 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5782 `font-lock-extra-managed-props' if any prettifying keyword is added.
5783 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5784 (prog-mode): Use `setq-local'.
5785
db3b7db5
SM
57862013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * international/characters.el (standard-case-table): Set syntax of ?»
5789 and ?« to punctuation.
5790
f3d674df
JB
57912013-06-16 Juanma Barranquero <lekktu@gmail.com>
5792
5793 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5794 Save relevant match data before calling `syntax-ppss' (bug#14595).
5795
31489a32
JL
57962013-06-15 Juri Linkov <juri@jurta.org>
5797
5798 * files-x.el (modify-file-local-variable-prop-line): Add local
5799 variables to the end of the existing comment on the first line.
5800 Use `file-auto-mode-skip' to skip interpreter magic line,
5801 and also skip XML declaration.
5802
66bd25ab
SM
58032013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * startup.el (package--builtin-versions): New var.
5806 (package-subdirectory-regexp): Remove.
5807 (package--description-file): Hard code its value instead.
5808
5809 * emacs-lisp/package.el: Don't activate packages older than builtin.
5810 (package-obsolete-list): Rename from package-obsolete-alist, and make
5811 it into a simple list of package-desc.
5812 (package-strip-version): Remove.
5813 (package-built-in-p): Use package--builtin-versions.
5814 (package-mark-obsolete): Simplify.
5815 (package-process-define-package): Mark it obsolete if older than the
5816 builtin version.
5817 (package-handle-response): Use line-end-position.
5818 (package-read-archive-contents, package--download-one-archive):
5819 Simplify.
5820 (package--add-to-archive-contents): Skip if older than the builtin or
5821 installed version.
5822 (package-menu-describe-package): Fix last change.
5823 (package-list-unversioned): New var.
5824 (package-menu--generate): Use it.
5825
5826 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5827 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5828 (autoload-builtin-package-versions): New variable.
5829 (autoload-generate-file-autoloads): Use them.
5830 Remove the list of autoloaded functions/macros from the
5831 (autoload...) comments.
5832
5833 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5834
9583ec36
EZ
58352013-06-15 Eli Zaretskii <eliz@gnu.org>
5836
5837 * simple.el (line-move-partial): Don't jump to the next screen
5838 line as soon as it becomes visible. Instead, continue enlarging
5839 the vscroll until the portion of a tall screen line that's left on
5840 display is about the height of the frame's default font.
5841 (Bug#14567)
5842
f0100d8a
GM
58432013-06-15 Glenn Morris <rgm@gnu.org>
5844
b86a85ca
GM
5845 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5846 compilation-error-regexp-alist void, or local while let-bound.
5847
f0100d8a
GM
5848 * progmodes/make-mode.el (makefile-mode-syntax-table):
5849 Treat "=" as punctuation. (Bug#14614)
5850
05e7ce90
JB
58512013-06-15 Juanma Barranquero <lekktu@gmail.com>
5852
5853 * help-fns.el (describe-variable):
5854 Add extra line for permanent-local variables.
5855
12e5e86e
SH
58562013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5857
5858 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5859 Add export, import, library. (Bug#9164)
5860 (library): Set indent function.
5861
230dcbaf
GM
58622013-06-14 Glenn Morris <rgm@gnu.org>
5863
5864 * term/xterm.el (xterm--query):
5865 Stop after first matching handler. (Bug#14615)
5866
e36b2d20 58672013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5868
5869 Add support for dired in saveplace.
5870 * dired.el (dired-initial-position-hook): New variable.
5871 (dired-initial-position): Call hook to place cursor position.
5872 * saveplace.el (save-place-to-alist): Add dired position.
5873 (save-place-dired-hook): New function.
5874
0b31660d
SM
58752013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5876
bf1e6ae8
SM
5877 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5878 through a symbol rather than letrec.
5879
1b8dff23
SM
5880 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5881 (package-desc): Add `dir' field.
5882 (package-desc-full-name): New function.
5883 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5884 (package-maybe-load-descriptor): Remove.
5885 (package-load-all-descriptors): Just call package-load-descriptor.
5886 (package--disabled-p): New function.
5887 (package-desc-vers, package-desc-doc): Remove aliases.
5888 (package--dir): Remove function.
5889 (package-activate): Check if a package is disabled.
5890 (package-process-define-package): New function, extracted from
5891 define-package.
5892 (define-package): Turn into a place holder.
5893 (package-unpack-single, package-tar-file-info):
5894 Use package--description-file.
5895 (package-compute-transaction): Use package--disabled-p.
5896 (package-download-transaction): Don't call
5897 package-maybe-load-descriptor since they're all loaded anyway.
5898 (package-install): Change argument to be a pkg-desc.
5899 (package-delete): Use a single pkg-desc argument.
5900 (describe-package-1): Use package-desc-dir instead of package--dir.
5901 Use package-desc property instead of package-symbol.
5902 (package-install-button-action): Adjust accordingly.
5903 (package--push): Rewrite.
5904 (package-menu--print-info): Adjust accordingly. Change the ID format
5905 to be a pkg-desc.
5906 (package-menu-describe-package, package-menu-get-status)
5907 (package-menu--find-upgrades, package-menu-mark-upgrades)
5908 (package-menu-execute, package-menu--name-predicate):
5909 Adjust accordingly.
5910 * startup.el (package--description-file): New function.
5911 (command-line): Use it.
5912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5913 Use package-desc-version.
5914
0b31660d
SM
5915 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5916 (byte-compile-preprocess): Use it.
5917 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5918 can't quite recognize.
5919 (byte-compile-add-to-list): Remove.
5920 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5921 (cconv-closure-convert): Add assertion.
5922
5923 * emacs-lisp/map-ynp.el: Use lexical-binding.
5924 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5925 Factor out some repeated code.
5926
de0503df
SM
59272013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * subr.el (with-eval-after-load): New macro.
5930 (eval-after-load): Allow form to be a function.
5931 take advantage of lexical-binding.
5932 (do-after-load-evaluation): Use dolist and adjust to new format.
5933 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5934
bc5c8c5a
JL
59352013-06-13 Juri Linkov <juri@jurta.org>
5936
5937 * replace.el (perform-replace): Display "symbol " and other search
5938 modes from `isearch-message-prefix' in the *Help* buffer.
5939
5940 * isearch.el (isearch-query-replace): Add " symbol" and other
5941 possible search modes from `isearch-message-prefix' to the prompt.
5942 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5943 when reading a regexp to collect.
5944
a22289f7
JL
59452013-06-13 Juri Linkov <juri@jurta.org>
5946
5947 * isearch.el (word-search-regexp): Match whitespace if the search
5948 string begins or ends in whitespace. The LAX arg is applied to
5949 both ends of the search string. Use `regexp-quote' and explicit
5950 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5951 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5952 boundaries are replaced with symbol boundaries, and characters
5953 between symbols match non-word non-symbol syntax. (Bug#14602)
5954
cb89acab
JL
59552013-06-13 Juri Linkov <juri@jurta.org>
5956
5957 * isearch.el (isearch-del-char): Don't exceed the length of
5958 `isearch-string' by the prefix arg. (Bug#14563)
5959
6e8cfc81
JL
59602013-06-13 Juri Linkov <juri@jurta.org>
5961
5962 * isearch.el (isearch-yank-word, isearch-yank-line)
5963 (isearch-char-by-name, isearch-quote-char)
5964 (isearch-printing-char, isearch-process-search-char):
5965 Add optional count prefix arg. (Bug#14563)
5966
5967 * international/isearch-x.el
5968 (isearch-process-search-multibyte-characters):
5969 Add optional count prefix arg.
5970
c23d55f4
VS
59712013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5974 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5975 lexical-binding.
5976
59772013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5978
5979 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5980
ba947bc4
GM
59812013-06-13 Glenn Morris <rgm@gnu.org>
5982
8baeb37a
GM
5983 * startup.el (tty-handle-args):
5984 Don't just discard "--" and anything after. (Bug#14608)
5985
ba947bc4
GM
5986 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5987
9abefce4
MA
59882013-06-13 Michael Albinus <michael.albinus@gmx.de>
5989
5990 Implement changes in Secret Service API. Make it backward compatible.
5991 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5992 (secrets-create-item): Use it. Prefix properties with interface.
5993
5755011f
MH
59942013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5995
5996 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5997 (term-emulate-terminal): Respect term-suppress-hard-newline.
5998
1261d2da
S
59992013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6000
6001 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6002 Only remove a `thumb-file' overlay. (Bug#14548)
6003
868490bb
GJ
60042013-06-12 Grégoire Jadi <daimrod@gmail.com>
6005
6006 * mail/reporter.el (reporter-submit-bug-report):
6007 Handle missing package-name. (Bug#14600)
6008
79d7167f
TH
60092013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6010
6011 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6012 (reftex-citation-prompt, reftex-default-bibliography)
6013 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6014 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6015 (reftex-bib-sort-author, reftex-bib-sort-year)
6016 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6017 (reftex-extract-bib-entries-from-thebibliography)
6018 (reftex-get-bibkey-default, reftex-get-bib-names)
6019 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6020 (reftex-format-bib-entry, reftex-parse-bibitem)
6021 (reftex-format-bibitem, reftex-do-citation)
6022 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6023 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6024 (reftex-insert-bib-matches, reftex-format-citation)
6025 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6026 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6027 existing comments into docstrings.
6028
5f9dbd7a
XF
60292013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6030
6031 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6032
94df41ab
AS
60332013-06-12 Andreas Schwab <schwab@suse.de>
6034
6035 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6036 for auto-save files.
6037
a7f3fecc
GM
60382013-06-12 Glenn Morris <rgm@gnu.org>
6039
001809f6
GM
6040 * ido.el (ido-delete-ignored-files): Remove.
6041 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6042 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6043
834b5ded
EL
60442013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6045
08c73ed2
EL
6046 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6047
834b5ded
EL
6048 * ido.el (ido-delete-ignored-files): New function,
6049 split from ido-make-file-list-1.
6050 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6051 (ido-make-file-list-1): Use ido-delete-ignored-files.
6052
daabf15a
LL
60532013-06-12 Leo Liu <sdl.web@gmail.com>
6054
6055 * progmodes/octave.el (inferior-octave-startup)
6056 (inferior-octave-completion-table)
6057 (inferior-octave-track-window-width-change)
6058 (octave-eldoc-function-signatures, octave-help)
6059 (octave-find-definition): Use single quoted strings.
6060 (inferior-octave-startup-args): Change default value.
6061 (inferior-octave-startup): Do not hard code "-i" and
6062 "--no-line-editing".
6063 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6064 (inferior-octave-directory-tracker): Use it.
6065 (octave-goto-function-definition): Robustify.
6066 (octave-help): Support highlighting operators in 'See also'.
6067 (octave-find-definition): Find subfunctions only in Octave mode.
6068
cf4e5178
SM
60692013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * help-fns.el (help-fns--compiler-macro): If the handler function is
6072 named, then put a link to it.
6073 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6074 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6075 (cl-typep): Use it.
6076 (cl-eval-when): Simplify debug spec.
6077 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6078 compiler-macro function instead of setting `compiler-macro-file'.
6079
99c81280 60802013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6081
6082 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6083 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6084
f56be016
SM
60852013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6086 Daniel Hackney <dan@haxney.org>
6087
6088 First part of Daniel Hackney's patch to package.el.
6089 * emacs-lisp/package.el: Use defstruct.
6090 (package-desc): New, main struct.
6091 (package--bi-desc, package--ac-desc): New structs, used to describe the
6092 format in external files.
6093 (package-desc-vers): Replace with package-desc-version accessor.
6094 (package-desc-doc): Replace with package-desc-summary accessor.
6095 (package-activate-1): Remove `package' arg since the pkg-vec now
6096 includes the name.
6097 (define-package): Use package-desc-from-define.
6098 (package-unpack-single): Change file-name arg to be a symbol.
6099 (package--add-to-archive-contents): Use package-desc-create and new
6100 accessor functions to package--ac-desc.
6101 (package-buffer-info, package-tar-file-info): Return a package-desc.
6102 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6103 arg to be a package-desc.
6104 (package-install-file): Adjust accordingly. Use \' to match EOS.
6105 (package--from-builtin): New function.
6106 (describe-package-1, package-menu--generate): Use it.
6107 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6108 (package-generate-autoloads): Idem and return the name of the file.
6109 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6110 Change pkg-info arg to be a package-desc.
6111 Use package-make-ac-desc.
6112 (package-upload-file): Use \' to match EOS.
6113 * finder.el (finder-compile-keywords): Use package-make-builtin.
6114
31119d63
SM
61152013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6116
931a2762
SM
6117 * vc/vc.el (vc-deduce-fileset): Change error message.
6118 (vc-read-backend): New function.
6119 (vc-next-action): Use it.
6120
5a3eb0c6
SM
6121 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6122
e3eb1bb7
SM
6123 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6124 (prolog-font-lock-keywords): Use regexp-opt instead.
6125 Don't manually highlight strings.
6126 (prolog-mode-variables): Simplify comment-start-skip.
6127 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6128
31119d63
SM
6129 * emacs-lisp/generic.el (generic--normalise-comments)
6130 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6131 (generic-mode-set-comments): Use them.
6132 (generic-bracket-support): Use setq-local.
6133 (generic-make-keywords-list): Declare obsolete.
6134
7de135d0
GM
61352013-06-11 Glenn Morris <rgm@gnu.org>
6136
6137 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6138 Prettify after setting font-lock-defaults. (Bug#14574)
6139
fa6bc6fd
JB
61402013-06-11 Juanma Barranquero <lekktu@gmail.com>
6141
6142 * replace.el (query-replace, occur-read-regexp-defaults-function)
6143 (replace-search):
6144 * subr.el (declare-function, number-sequence, local-set-key)
6145 (substitute-key-definition, locate-user-emacs-file)
6146 (with-silent-modifications, split-string, eval-after-load):
6147 Fix typos, remove unneeded backslashes and reflow some docstrings.
6148
cf1f9b9a
SM
61492013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6152 default for Elisp files.
6153
56602a4b
GM
61542013-06-11 Glenn Morris <rgm@gnu.org>
6155
6156 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6157 although define-derived-mode was doing this anyway. (Bug#14583)
6158
30ae0b2c
JB
61592013-06-10 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6162 Fix make-variable-buffer-local call to refer to the correct variable.
6163
fa472906
AG
61642013-06-10 Aidan Gauland <aidalgol@amuri.net>
6165
6166 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6167 (eshell-visual-subcommands, eshell-visual-options):
6168 Add summary line to docstrings. Add cross-references.
fa472906 6169
ff4871b9
GM
61702013-06-10 Glenn Morris <rgm@gnu.org>
6171
6172 * epa.el (epa-read-file-name): New function. (Bug#14510)
6173 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6174
04fcf1b0
AG
61752013-06-09 Aidan Gauland <aidalgol@amuri.net>
6176
6177 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6178 output redirection to be ignored with visual commands.
6179
88b00caa
AG
61802013-06-09 Aidan Gauland <aidalgol@amuri.net>
6181
6182 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6183 (eshell-term-initialize): Move long lambda to separate function
6184 eshell-visual-command-p.
e7b41c4c
JB
6185 * eshell/em-dirs.el (eshell-dirs-initialise):
6186 * eshell/em-script.el (eshell-script-initialize):
6187 Add missing #' to lambda.
88b00caa 6188
fda74125
LL
61892013-06-08 Leo Liu <sdl.web@gmail.com>
6190
6191 * progmodes/octave.el (octave-add-log-current-defun): New function.
6192 (octave-mode): Set add-log-current-defun-function.
6193 (octave-goto-function-definition): Do not move point if not found.
6194 (octave-find-definition): Enhance to try subfunctions first.
6195
467f3b33
GM
61962013-06-08 Glenn Morris <rgm@gnu.org>
6197
6198 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6199 (byte-compile-backward-char, byte-compile-backward-word):
6200 Improve previous change, to handle non-explicit nil.
6201
544badc3
SM
62022013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6205 (smie--opener/closer-at-point): New function.
6206 (smie--matching-block-data): Use it. Don't match from right after an
6207 opener or right before a closer. Obey smie-blink-matching-inners.
6208 Don't signal a mismatch for repeated inners like "switch..case..case".
6209
a175bf33
LL
62102013-06-07 Leo Liu <sdl.web@gmail.com>
6211
6212 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6213 to t. (Bug#14303)
ce8209d4
LL
6214 (octave-function-header-regexp): Fix. (Bug#14570)
6215 (octave-help-mode-finish-hook, octave-help-mode-finish):
6216 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6217
6218 * newcomment.el (comment-search-backward): Revert last change.
6219 (Bug#14434)
6220
6221 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6222
a822acff
EZ
62232013-06-07 Eli Zaretskii <eliz@gnu.org>
6224
6225 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6226 through xargs, to avoid failure due to MS-Windows limitations on
6227 command-line length.
6228
961166f5
GM
62292013-06-06 Glenn Morris <rgm@gnu.org>
6230
d0341459
GM
6231 * font-lock.el (lisp-font-lock-keywords-2):
6232 Treat user-error like error.
6233
961166f5
GM
6234 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6235 (byte-compile-backward-char, byte-compile-backward-word):
6236 Handle explicit nil arguments. (Bug#14565)
6237
80fa505f
AM
62382013-06-05 Alan Mackenzie <acm@muc.de>
6239
6240 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6241 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6242 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6243 (Bug#9706)
80fa505f 6244
fccdc796
SM
62452013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * autorevert.el (auto-revert-notify-handler): Use memq.
6248 Hide assertion failure.
6249
6250 * skeleton.el: Use cl-lib.
6251 (skeleton-further-elements): Use defvar-local.
6252 (skeleton-insert): Use cl-progv.
6253
9bfff84b
TZ
62542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6255
6256 * progmodes/prog-mode.el (prog-prettify-symbols)
6257 (prog-prettify-install): Update docstrings.
6258
55577e7c
SM
62592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * simple.el: Move all the prog-mode code to prog-mode.el.
6262 * progmodes/prog-mode.el: New file.
6263 * loadup.el: Add prog-mode.el.
6264
8fc57765
TZ
62652013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6266
6267 * simple.el (prog-prettify-symbols): Add version.
6268 (prog-prettify-install): Add convenience function to prettify symbols.
6269
6270 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6271 (perl--augmented-font-lock-keywords-1)
6272 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6273 variables and use it.
6274
6275 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6276 (cfengine3-mode): Remove unneeded variable and use it.
6277
6278 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6279 (lisp--augmented-font-lock-keywords-1)
6280 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6281 Remove unneeded variables and use it.
6282
650645d5 62832013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6284
6285 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6286 to point when opening the connection. (Bug#14380)
28f5da6d 6287
781b4af6
SM
62882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * subr.el (load-history-regexp, load-history-filename-element)
6291 (eval-after-load, after-load-functions, do-after-load-evaluation)
6292 (eval-next-after-load, display-delayed-warnings)
6293 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6294 definition of save-match-data.
6295 (overriding-local-map): Remove accidental obsolescence declaration.
6296
6297 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6298
3ca0d0b4
TZ
62992013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6300
6301 Generalize symbol prettify support to prog-mode and implement it
6302 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6303 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6304 (prog--prettify-font-lock-compose-symbol)
6305 (prog-prettify-font-lock-symbols-keywords): New variables and
6306 functions to support symbol prettification.
6307 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6308 (lisp--augmented-font-lock-keywords-1)
6309 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6310 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6311 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6312 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6313 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6314 * progmodes/perl-mode.el (perl-prettify-symbols)
6315 (perl--font-lock-compose-symbol)
6316 (perl--font-lock-symbols-keywords): Move to prog-mode.
6317 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6318 (perl-font-lock-keywords-1)
6319 (perl-font-lock-keywords-2): Remove explicit prettify support.
6320 (perl--augmented-font-lock-keywords)
6321 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6322 (perl--augmented-font-lock-keywords-2, perl-mode):
6323 Implement prettify support.
3ca0d0b4 6324
976cb066
LL
63252013-06-05 Leo Liu <sdl.web@gmail.com>
6326
6327 Re-implement smie matching block highlight using
6328 show-paren-data-function. (Bug#14395)
6329 * emacs-lisp/smie.el (smie-matching-block-highlight)
6330 (smie--highlight-matching-block-overlay)
6331 (smie--highlight-matching-block-lastpos)
6332 (smie-highlight-matching-block)
6333 (smie-highlight-matching-block-mode): Remove.
6334 (smie--matching-block-data-cache): New variable.
6335 (smie--matching-block-data): New function.
6336 (smie-setup): Use smie--matching-block-data for
6337 show-paren-data-function.
6338
6339 * progmodes/octave.el (octave-mode-menu): Fix.
6340 (octave-find-definition): Skip garbage lines.
6341
208d0342
SM
63422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 Fix compilation error with simultaneous dynamic+lexical scoping.
6345 Add warning when a defvar appears after the first let-binding.
6346 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6347 (byte-compile-close-variables): Initialize it.
6348 (byte-compile--declare-var): New function.
6349 (byte-compile-file-form-defvar)
6350 (byte-compile-file-form-define-abbrev-table)
6351 (byte-compile-file-form-custom-declare-variable): Use it.
6352 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6353 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6354 (byte-compile-bind): Handle dynamic bindings that shadow
6355 lexical bindings.
6356 (byte-compile-unbind): Make arg non-optional.
6357 (byte-compile-let): Simplify.
6358 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6359 (cconv--analyse-function, cconv-analyse-form): Populate it.
6360 Protect byte-compile-bound-variables to limit the scope of defvars.
6361 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6362 Remove unneeded rule for `declare'.
6363
6364 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6365 so as to avoid depending on cl-adjoin at run-time.
6366 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6367
6368 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6369 (macroexp--warn-and-return): Use it.
6370
2587b005
LL
63712013-06-05 Leo Liu <sdl.web@gmail.com>
6372
6373 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6374
f1da3c88
LL
63752013-06-04 Leo Liu <sdl.web@gmail.com>
6376
6377 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6378 (compilation-auto-jump): Suppress the "Mark set" message to give
6379 way to exit message.
6380
3caa391f
AM
63812013-06-04 Alan Mackenzie <acm@muc.de>
6382
6383 Remove faulty optimisation from indentation calculation.
6384 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6385 search limit based on 2000 characters back from indent-point.
6386
068922a2
TH
63872013-06-03 Tassilo Horn <tsdh@gnu.org>
6388
6389 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6390
1f8fdd53
SM
63912013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6392
bbcc4d97
SM
6393 * emacs-lisp/lisp.el: Use lexical-binding.
6394 (lisp--local-variables-1, lisp--local-variables): New functions.
6395 (lisp--local-variables-completion-table): New var.
208d0342 6396 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6397
1f8fdd53
SM
6398 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6399 eagerly (bug#14422).
6400
c9628c79
MA
64012013-06-03 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * autorevert.el (auto-revert-notify-enabled)
6404 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6405 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6406 (auto-revert-notify-handler): Handle also gfilenotify.
6407
e7b41c4c 6408 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6409 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6410 Remove.
c9628c79 6411
e5e4a942
JL
64122013-06-03 Juri Linkov <juri@jurta.org>
6413
6414 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6415 `M-s h .'. (Bug#14427)
6416
6417 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6418 command `hi-lock-face-symbol-at-point'.
6419 (hi-lock-face-symbol-at-point): New command.
6420 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6421 (hi-lock-menu): Add `highlight-symbol-at-point'.
6422 (hi-lock-mode): Doc fix.
6423
6424 * isearch.el (isearch-forward-symbol-at-point): New command.
6425 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6426 (isearch-highlight-regexp): Add a regexp which matches
6427 words/symbols for word/symbol mode.
6428
6429 * subr.el (find-tag-default-bounds): New function with the body
6430 mostly moved from `find-tag-default'.
6431 (find-tag-default): Move most code to `find-tag-default-bounds',
6432 call it and apply `buffer-substring-no-properties' afterwards.
6433
26b3353a
TH
64342013-06-03 Tassilo Horn <tsdh@gnu.org>
6435
781b4af6
SM
6436 * eshell/em-term.el (eshell-term-initialize):
6437 Use `cl-intersection' rather than `intersection'.
26b3353a 6438
51b60f53
XF
64392013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6440
fe054b63 6441 * vc/log-view.el: Doc fix.
d3ffe17c 6442 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6443
a0eb10b3 64442013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6445
6446 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6447 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6448 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6449 (eieio-unbound, eieio-default-superclass)
6450 (eieio--define-field-accessors, method-static, method-before)
6451 (method-primary, method-after, method-num-lists)
6452 (method-generic-before, method-generic-primary)
6453 (method-generic-after, method-num-slots)
6454 (eieio-specialized-key-to-generic-key)
6455 (eieio--check-type, class-v, class-p)
6456 (eieio-class-name, define-obsolete-function-alias)
6457 (eieio-class-parents-fast, eieio-class-children-fast)
6458 (same-class-fast-p, class-constructor, generic-p)
6459 (generic-primary-only-p, generic-primary-only-one-p)
6460 (class-option-assoc, class-option, eieio-object-p)
6461 (class-abstract-p, class-method-invocation-order)
6462 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6463 (eieio-class-un-autoload, eieio-defclass)
6464 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6465 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6466 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6467 (eieio-defgeneric-reset-generic-form)
6468 (eieio-defgeneric-form-primary-only)
6469 (eieio-defgeneric-reset-generic-form-primary-only)
6470 (eieio-defgeneric-form-primary-only-one)
6471 (eieio-defgeneric-reset-generic-form-primary-only-one)
6472 (eieio-unbind-method-implementations)
6473 (eieio--defmethod, eieio--typep)
6474 (eieio-perform-slot-validation, eieio-validate-slot-value)
6475 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6476 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6477 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6478 (eieio-slot-name-index, eieio-class-slot-name-index)
6479 (eieio-set-defaults, eieio-initarg-to-attribute)
6480 (eieio-attribute-to-initarg, eieio-c3-candidate)
6481 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6482 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6483 (eieio-class-precedence-list, eieio-generic-call-methodname)
6484 (eieio-generic-call-arglst, eieio-generic-call-key)
6485 (eieio-generic-call-next-method-list)
6486 (eieio-pre-method-execution-functions, eieio-generic-call)
6487 (eieio-generic-call-primary-only, eieiomt-method-list)
6488 (eieiomt-optimizing-obarray, eieiomt-install)
6489 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6490 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6491 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6492 (defclass): Remove `eval-and-compile' from macro.
6493 (call-next-method, shared-initialize): Instead of using
6494 `scoped-class' variable, use new eieio--scoped-class, and
6495 eieio--with-scoped-class.
6496 (initialize-instance): Rename local variable 'scoped-class' to
6497 'this-class' to remove ambiguitity from old global.
6498
6499 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6500 eieio.el.
4f405069
JB
6501 (eieio--scoped-class-stack): New variable.
6502 (eieio--scoped-class): New fcn.
890f7890
DE
6503 (eieio--with-scoped-class): New scoping macro.
6504 (eieio-defclass): Use pushnew instead of add-to-list.
6505 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6506 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6507 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6508 `scoped-class' variable, use new eieio--scoped-class, and
6509 eieio--with-scoped-class.
6510
6511 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6512
d105b0e2
TH
65132013-06-02 Tassilo Horn <tsdh@gnu.org>
6514
6515 * eshell/esh-ext.el (eshell-external-command): Pass args to
6516 `eshell-find-interpreter'.
6517 (eshell-find-interpreter): Add new second parameter ARGS.
6518
6519 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6520 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6521
6522 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6523 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6524
6525 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6526 (eshell-visual-options): New defcustom.
6527 (eshell-escape-control-x): Adapt docstring.
6528 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6529 `eshell-visual-options' in addition to `eshell-visual-commands'.
6530 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6531
f46305c8 65322013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6533
6534 * progmodes/python.el (python-indent-block-enders): Add break,
6535 continue and raise keywords.
6536
d870df21
GM
65372013-06-01 Glenn Morris <rgm@gnu.org>
6538
9133b82e
GM
6539 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6540
02c992ec 6541 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6542 * progmodes/cc-cmds.el (delete-forward-p):
6543 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6544 * progmodes/cc-engine.el (buffer-syntactic-context):
6545 * progmodes/cc-fonts.el (face-property-instance):
6546 * progmodes/cc-mode.el (set-keymap-parents):
6547 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6548 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6549 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6550 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6551 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6552
31e7b090
GM
6553 * progmodes/cc-vars.el (other): Emacs has this widget since
6554 at least 21.1, so don't (re)define it.
6555
d870df21
GM
6556 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6557 Replace the obsolete alias pcomplete-arg-quote-list.
6558
c75c93c7
LL
65592013-06-01 Leo Liu <sdl.web@gmail.com>
6560
6561 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6562 punctuation syntax.
6563 (inferior-octave-minimal-columns)
6564 (inferior-octave-last-column-width): New variables.
6565 (inferior-octave-track-window-width-change): New function.
6566 (inferior-octave-mode): Adjust column width so that Octave output,
6567 for example from 'ls', can fit into the window nicely.
6568
973d1e12
DG
65692013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6570
6571 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6572 Highlight expansions inside regexp literals.
6573
0888c286
GM
65742013-05-31 Glenn Morris <rgm@gnu.org>
6575
e26aac1f
GM
6576 * obsolete/sym-comp.el (symbol-complete):
6577 Replace obsolete completion-annotate-function.
6578
0888c286
GM
6579 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6580
19bb8e62
DG
65812013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6582
781b4af6
SM
6583 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6584 New function, checks if point is inside a literal that allows
19bb8e62
DG
6585 expression expansion.
6586 (ruby-syntax-propertize-expansion): Use it.
6587 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6588 around the body.
6589
01dea85f
JL
65902013-05-30 Juri Linkov <juri@jurta.org>
6591
6592 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6593 to "\M-si".
6594 (isearch-invisible): New variable.
6595 (isearch-forward): Doc fix.
6596 (isearch-mode): Set `isearch-invisible'
6597 to the value of `search-invisible'.
6598 (isearch-toggle-case-fold): Doc fix.
6599 (isearch-toggle-invisible): New command.
6600 (isearch-query-replace): Let-bind `search-invisible'
6601 to the value of `isearch-invisible'.
6602 (isearch-search): Use `isearch-invisible' instead of
6603 `search-invisible'. Let-bind `search-invisible'
6604 to the value of `isearch-invisible'. (Bug#11378)
6605
ab1bdce5
JL
66062013-05-30 Juri Linkov <juri@jurta.org>
6607
6608 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6609 call when `query-flag' is nil and `search-invisible' is non-nil.
6610 (Bug#11746)
6611
d6d236e2
GM
66122013-05-30 Glenn Morris <rgm@gnu.org>
6613
8accd027
GM
6614 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6615
2a8bed1c
GM
6616 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6617 (cc-require): Suppress spurious "noruntime" warnings.
6618 (cc-require-when-compile): Use fboundp, for sake of compiler.
6619
d6d236e2
GM
6620 * progmodes/cc-mode.el: Move load of cc-vars before that of
6621 cc-langs (which in turn loads cc-vars), to quieten compiler.
6622
9190b35b
SM
66232013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * paren.el: Simplify the code.
6626 (show-paren-mode): Always start the timer.
6627 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6628 (show-paren--overlay, show-paren--overlay-1): Rename from
6629 show-paren-overlay and show-paren-overlay-1, and initialize to an
6630 overlay rather than to nil.
6631 (show-paren-function): Misc cleanup and simplifications.
6632
4f8d1cf6
SM
66332013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * paren.el (show-paren-data-function): New hook.
6636 (show-paren--default): New function, extracted from show-paren-function.
6637 (show-paren-function): Use show-paren-data-function.
6638
02d844b5
GM
66392013-05-30 Glenn Morris <rgm@gnu.org>
6640
d209d4a9
GM
6641 * ielm.el (ielm-map, ielm-complete-symbol):
6642 Use completion-at-point rather than obsolete functions.
6643 (inferior-emacs-lisp-mode): Doc fix.
6644 Set completion-at-point-functions, rather than
6645 comint-dynamic-complete-functions.
6646
2082faa6
GM
6647 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6648 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6649 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6650
dd8620de
GM
6651 * image.el (image-animated-p): Tweak definition.
6652
ceca95b1
GM
6653 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6654 (rlogin-process-connection-type): Tweak default. Add set-after.
6655 (rlogin-host): Doc fix.
6656 (rlogin): Tweak prompt.
6657 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6658
ee9f1acc
GM
6659 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6660 * progmodes/tcl.el (inferior-tcl-mode-map):
6661 Use completion-at-point rather than obsolete alias.
6662
45ce222e
GM
6663 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6664
02d844b5
GM
6665 * minibuffer.el (read-file-name-completion-ignore-case):
6666 Move before completion--in-region, for eager macro expansion.
6667
ac44d6c1
JL
66682013-05-29 Juri Linkov <juri@jurta.org>
6669
6670 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6671 for total count of matching lines. Add `global-matches' for total
6672 count of matches. Rename `matches' to `lines' for count of
6673 matching lines. Add `matches' for count of matches.
6674 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6675 to `prev-line' for line number of prev match endpt.
6676 Increment `matches' for every match. Print the number of
6677 matching lines in the header.
6678 (occur-context-lines): Rename `lines' to `curr-line'.
6679 Rename `prev-lines' to `prev-line'. (Bug#14017)
6680
3c9c9d38
JL
66812013-05-29 Juri Linkov <juri@jurta.org>
6682
6683 * replace.el (perform-replace): Add `skip-read-only-count',
6684 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6685 Increment them for corresponding conditions and report the number
6686 of skipped occurrences in the final message. (Bug#11746)
6687 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6688 (replace-string, replace-regexp): Doc fix.
6689
33e249a2
SM
66902013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6691
8e399682
SM
6692 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6693
33e249a2 6694 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6695 prog-mode-map (bug#14504).
33e249a2 6696
f236dd84
LL
66972013-05-29 Leo Liu <sdl.web@gmail.com>
6698
6699 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6700 (octave-help): Small simplification.
6701
6702 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6703 off the highlight first.
6704
3694d13f
GM
67052013-05-29 Glenn Morris <rgm@gnu.org>
6706
03983bdc
GM
6707 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6708 Handle idlwave-last-system-routine-info-cons-cell being nil.
6709
bc74a74a
GM
6710 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6711 (idlwave-write-paths): Simplify via with-temp-buffer.
6712
8b394200
GM
6713 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6714 * emulation/cua-rect.el: Also load cua-base at run time.
6715
3694d13f
GM
6716 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6717 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6718 (cperl-imenu-on-info): Require imenu.
6719
336d7284
AM
67202013-05-28 Alan Mackenzie <acm@muc.de>
6721
6722 Handle "capitalised keywords" correctly.
33e249a2 6723 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6724
cb29c582
AG
67252013-05-28 Aidan Gauland <aidalgol@amuri.net>
6726
781b4af6 6727 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6728
690e44b2
GM
67292013-05-28 Glenn Morris <rgm@gnu.org>
6730
e658d75c
GM
6731 * vc/vc-arch.el (vc-exec-after): Declare.
6732 (vc-switches): Autoload.
6733 * vc/vc-bzr.el: No need to require vc when compiling.
6734 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6735 (vc-resynch-buffer, vc-dir-refresh): Declare.
6736 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6737 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6738 (vc-resynch-buffer): Declare.
6739 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6740 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6741 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6742 (grep-read-regexp, grep-read-files, grep-expand-template)
6743 (vc-dir-refresh): Declare.
6744 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6745 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6746 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6747 * vc/vc-mtn.el (vc-exec-after): Declare.
6748 (vc-switches): Autoload.
6749 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6750 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6751 (vc-file-tree-walk): Declare.
712b9732
GM
6752 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6753 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6754 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6755 * vc/vc-svn.el (vc-exec-after): Declare.
6756 (vc-switches, vc-setup-buffer): Autoload.
6757 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6758 Autoload.
6759 (vc-resynch-buffer): Declare.
6760
98e87fb3
GM
6761 * obsolete/fast-lock.el (byte-compile-warnings):
6762 Don't warn about obsolete features in this obsolete file.
6763
f5379553
GM
6764 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6765 Move definition before use.
6766
7a20ef83
GM
6767 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6768 (dun-unix-verbs): Remove dun-zippy.
6769 (dun-zippy): Remove function.
6770
690e44b2
GM
6771 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6772
3a52ccf7
JL
67732013-05-27 Juri Linkov <juri@jurta.org>
6774
6775 * replace.el (replace-search): New function with code moved out
6776 from `perform-replace'.
6777 (replace-highlight, replace-dehighlight): Move function definitions
6778 up closer to `replace-search'. (Bug#11746)
6779
d289938a
JL
67802013-05-27 Juri Linkov <juri@jurta.org>
6781
6782 * replace.el (perform-replace): Ignore invisible matches.
6783 In addition to checking `query-replace-skip-read-only', also
6784 filter out matches by calling `run-hook-with-args-until-failure'
6785 on `isearch-filter-predicates', and also check `search-invisible'
6786 for t or call `isearch-range-invisible'.
6787 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6788
66fc57e3
JL
67892013-05-27 Juri Linkov <juri@jurta.org>
6790
6791 * isearch.el (isearch-filter-predicates): Rename from
6792 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6793 (isearch-message-prefix): Display text from the property
6794 `isearch-message-prefix' of the currently active filters.
6795 (isearch-search): Don't compare `isearch-filter-predicate' with
6796 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6797 on `isearch-filter-predicates'. Also check `search-invisible' for t
6798 or call `isearch-range-invisible'.
6799 (isearch-filter-visible): Make obsolete.
6800 (isearch-lazy-highlight-search):
6801 Call `run-hook-with-args-until-failure' on
6802 `isearch-filter-predicates' and use `isearch-range-invisible'.
6803
6804 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6805 `isearch-filter-predicates' instead of `funcall'ing
6806 `isearch-filter-predicate'.
6807 (Info-mode): Set `Info-isearch-filter' to
6808 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6809
6810 * dired-aux.el (dired-isearch-filter-predicate-orig):
6811 Remove variable.
6812 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6813 (dired-isearch-filenames-end): Add and remove
6814 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6815 instead of changing the value of `isearch-filter-predicate'.
6816 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6817 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6818 Put property `isearch-message-prefix' to "filename " on
6819 `dired-isearch-filter-filenames'.
6820
6821 * wdired.el (wdired-change-to-wdired-mode):
6822 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6823 locally instead of changing `isearch-filter-predicate'.
6824 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6825
f1a60a0f
DG
68262013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6827
6828 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6829 return the commit hash (Bug#14459). Also set the
6830 `vc-git-detached' property.
6831 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6832 (vc-git-mode-line-string): Use the same help-echo format whether
6833 in detached mode or not, because we know the actual revision now.
6834 When in detached mode, shorten the revision to 7 chars.
6835
7f17cc40
SM
68362013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * emacs-lisp/easy-mmode.el (define-minor-mode):
6839 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6840 mode hook and provide a docstring.
6841
25c8401c
AM
68422013-05-27 Alan Mackenzie <acm@muc.de>
6843
6844 Remove spurious syntax-table text properties inserted by C-y.
6845 * progmodes/cc-mode.el (c-after-change): Also clear hard
6846 syntax-table property with value nil.
6847
dde84790
MA
68482013-05-27 Michael Albinus <michael.albinus@gmx.de>
6849
6850 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6851 when reading the events; the buffer layout shall not be changed.
6852
837fd9af
LL
68532013-05-27 Leo Liu <sdl.web@gmail.com>
6854
6855 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6856 New variable.
6857 (inferior-octave-directory-tracker): Automatically re-sync
6858 default-directory.
6859 (octave-help): Improve handling of 'See also'.
6860
4fd996b3
SM
68612013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6862
416f1802
SM
6863 * doc-view.el: Minor naming convention tweaks.
6864 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6865
4fd996b3
SM
6866 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6867 even if there's no `display' property yet (bug#14435).
6868
a052ef3b
EZ
68692013-05-25 Eli Zaretskii <eliz@gnu.org>
6870
4fd996b3 6871 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6872
6873 * Makefile.in (custom-deps, finder-data, autoloads)
6874 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6875 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6876 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6877
c9023370
SM
68782013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6881 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6882 Don't burp at EOB.
c9023370 6883
24d699fa
LL
68842013-05-25 Leo Liu <sdl.web@gmail.com>
6885
6886 * comint.el (comint-previous-matching-input): Do not flood the
6887 *Messages* buffer with trivial messages.
6888
17e5c0cc
SM
68892013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * progmodes/flymake.el (flymake-nop): Don't return a string.
6892 (flymake-set-at): Fix typo.
6893
6894 * simple.el (read--expression): New function, extracted from
6895 eval-expression. Set completion-at-point-functions (bug#14465).
6896 (eval-expression, eval-minibuffer): Use it.
6897
5d028165
XF
68982013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6899
6900 * progmodes/flymake.el (flymake-save-buffer-in-file)
6901 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6902 (flymake-selected-frame, flymake-log, flymake-ins-after)
6903 (flymake-set-at, flymake-get-buildfile-from-cache)
6904 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6905 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6906 Refine the doc string.
6907 (flymake-get-file-name-mode-and-masks): Reformat.
6908 (flymake-get-real-file-name-function): Fix a minor bug.
6909
7a1d7ba7
JL
69102013-05-24 Juri Linkov <juri@jurta.org>
6911
6912 * progmodes/grep.el (grep-mode-font-lock-keywords):
6913 Support =linenumber= format used by git-grep for lines with
6914 function names. (Bug#13549)
6915
650cff3d
SM
69162013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6919 0 after a semi-colon; it works better for smie-auto-fill.
6920 (octave--indent-new-comment-line): New function.
6921 (octave-indent-new-comment-line): Use it (indirectly).
6922 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6923 modify comment-line-break-function.
6924
6925 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6926 (smie-setup): Use add-function to set it.
6927
9631677d
SS
69282013-05-24 Sam Steingold <sds@gnu.org>
6929
6930 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6931 argument (before the `interactive' argument).
6932
50105835
SM
69332013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * image-mode.el (image-mode-winprops): Add winprops to
6936 image-mode-winprops-alist before running
6937 image-mode-new-window-functions.
6938 * doc-view.el (doc-view-new-window-function): Don't delay
6939 doc-view-goto-page via timers (bug#14435).
6940
57b9823e
TH
69412013-05-24 Tassilo Horn <tsdh@gnu.org>
6942
6943 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6944 (doc-view-desktop-save-buffer): New function.
6945 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6946 (desktop-buffer-mode-handlers):
6947 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6948 handler.
6949 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6950 `desktop-save-buffer' function.
6951
91aafa16
MA
69522013-05-24 Michael Albinus <michael.albinus@gmx.de>
6953
6954 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6955 (tramp-gvfs-file-name-handler): Raise a user error when
6956 `tramp-gvfs-enabled' is nil.
6957 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6958 Do not raise a user error when loading package. (Bug#14447)
6959
ec076379
MA
6960 * net/xesam.el: Move to obsolete/.
6961
db785726
GM
69622013-05-24 Glenn Morris <rgm@gnu.org>
6963
af5c7606
GM
6964 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6965
e5d1916a
GM
6966 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6967
ded62b08
GM
6968 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6969 (Info-find-node, Man-getpage-in-background): Declare.
6970
9e614a3f
GM
6971 * mail/unrmail.el (unrmail):
6972 Replace obsolete detect-coding-with-priority.
6973
892f8ca3
GM
6974 * net/socks.el (socks-split-string): Use this rather than split-string.
6975 (socks-nslookup-host): Update for above change.
6976 (dynamic-choice, s5-dynamic-choice-match)
6977 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6978 Comment out unused code.
6979
3c291973
GM
6980 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6981 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6982 (gud-tooltip-echo-area): Make obsolete.
6983 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6984
43cc956b
GM
6985 * progmodes/js.el (js--optimize-arglist): Declare.
6986
dab49a3b
GM
6987 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6988
36b9d085
GM
6989 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6990 (ediff-window-C): Declare.
6991
e354ae76
GM
6992 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6993 Tweak requires to silence compiler.
6994
b8e57bf4
GM
6995 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6996 (he-search-string, he-tried-table, he-expand-list)
6997 (he-init-string, he-string-member, he-substitute-string)
6998 (he-reset-string): Declare.
6999
db785726
GM
7000 * obsolete/options.el (list-options): Use custom-variable-p,
7001 rather than obsolete alias.
7002
b3531901
SS
70032013-05-23 Sam Steingold <sds@gnu.org>
7004
7005 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7006 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7007 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7008
bdda4c66
SM
70092013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * emacs-lisp/smie.el (smie-indent-forward-token)
7012 (smie-indent-backward-token): Handle string tokens (bug#14381).
7013
c43d45f9
TH
70142013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7015
fe1eb856
RS
7016 * ielm.el (ielm-menu): New menu.
7017 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7018
fe1eb856
RS
70192013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7020
7021 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7022 Fix deactivate action.
7023
7024 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7025 Add cleveref macros.
074dd971 7026
c43d45f9
TH
7027 * lisp/textmodes/reftex-parse.el
7028 (reftex-locate-bibliography-files): Accept options for
7029 bibliography commands.
7030 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7031 Add addbibresource. Basic Biblatex support.
7032
7764286e
MA
70332013-05-23 Michael Albinus <michael.albinus@gmx.de>
7034
7035 * net/tramp-gvfs.el (top):
7036 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7037 when loading package. (Bug#14447)
7038
d361bc10
GM
70392013-05-23 Glenn Morris <rgm@gnu.org>
7040
8fa23984
GM
7041 * progmodes/js.el: No need to load comint when compiling.
7042 (ring-insert, comint-send-string, comint-send-input)
7043 (comint-last-input-end, ido-chop): Declare.
7044
a5c7df1a
GM
7045 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7046 * vc/ediff-mult.el: Adjust requires.
7047 (ediff-directories-internal, ediff-directory-revisions-internal)
7048 (ediff-patch-file-internal): Declare.
7049 * vc/ediff-ptch.el: Adjust requires.
7050 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7051 (ediff-find-file): Autoload.
7052 * vc/ediff-util.el: No need to load ediff when compiling.
7053 (ediff-regions-internal): Declare.
7054 * vc/ediff-wind.el: Adjust requires.
7055 (ediff-compute-toolbar-width): Define when compiling.
7056 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7057 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7058 (dired-get-filename, dired-get-marked-files)
7059 (ediff-last-dir-patch, ediff-patch-default-directory)
7060 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7061 (ediff-patch-buffer-internal): Declare.
7062
e2aec513
GM
7063 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7064 (ispell-process, ispell-buffer-local-words, lm-summary)
7065 (lm-section-start, lm-section-end): Declare.
7066 (checkdoc-ispell-init): Simplify.
7067
e68bbd7c
GM
7068 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7069 (he-string-member, he-reset-string, he-substitute-string): Declare.
7070
7efe0991
GM
7071 * eshell/em-ls.el: Adjust requires.
7072 (eshell-glob-regexp): Declare.
f87b1284
GM
7073 * eshell/em-tramp.el: Adjust requires.
7074 (eshell-parse-command): Autoload.
7075 * eshell/em-xtra.el: Adjust requires.
7076 (eshell-parse-command): Autoload.
7077 * eshell/esh-ext.el: Adjust requires.
7078 (eshell-parse-command, eshell-close-handles): Autoload.
7079 * eshell/esh-io.el: Adjust requires.
7080 (eshell-output-filter): Autoload.
7081 * eshell/esh-util.el: No need to load tramp when compiling.
7082 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7083 Declare.
7084 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7085 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7086 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7087 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7088 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7089 * eshell/esh-opt.el, eshell/esh-proc.el:
7090 * eshell/esh-var.el: Adjust requires.
7091 * eshell/eshell.el: Do not require esh-util twice.
7092 (eshell-add-input-to-history): Declare.
7093 (eshell-command): Check history module is active before using it.
7094
d361bc10
GM
7095 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7096
85d090a9
LL
70972013-05-22 Leo Liu <sdl.web@gmail.com>
7098
7099 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7100
5d0acd9d
MA
71012013-05-22 Michael Albinus <michael.albinus@gmx.de>
7102
7103 * autorevert.el (auto-revert-notify-add-watch)
7104 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7105 it indicates changes in file modification time.
7106
0cdffd7d
GM
71072013-05-22 Glenn Morris <rgm@gnu.org>
7108
ca5995ec
GM
7109 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7110 Always delete the autoloaded function from the noruntime and
7111 unresolved functions lists.
7112
6450907e
GM
7113 * allout.el: No need to load epa, epg, overlay when compiling.
7114 (epg-context-set-passphrase-callback, epg-list-keys)
7115 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7116 (epg-key-user-id-list): Declare.
7117
9c6906f6
GM
7118 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7119 (viper-set-parsing-style-toggling-macro)
7120 (viper-set-emacs-state-searchstyle-macros):
7121 Use called-interactively-p on Emacs.
7122 (viper-looking-back): Make it an obsolete alias. Update callers.
7123 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7124 Use looking-back rather than viper-looking-back.
7125 (viper-tmp-insert-at-eob, viper-enlarge-region)
7126 (viper-read-string-with-history, viper-register-to-point)
7127 (viper-append-to-register, viper-change-state-to-vi)
7128 (viper-backward-char-carefully, viper-forward-char-carefully)
7129 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7130 (viper-change-state-to-emacs): Declare.
7131 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7132 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7133 * emulation/viper-mous.el: Do not load viper-cmd.
7134 (viper-backward-char-carefully, viper-forward-char-carefully)
7135 (viper-forward-word, viper-adjust-window): Declare.
7136
5f70c169
GM
7137 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7138
b1b7f300
GM
7139 * progmodes/idlw-help.el (idlwave-help-fontify):
7140 Use called-interactively-p.
7141
f6ebbb46
GM
7142 * term/w32console.el (w32-get-console-codepage)
7143 (w32-get-console-output-codepage): Declare.
7144
0cdffd7d
GM
7145 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7146 Remove unnecessary declarations.
7147 (dframe-message): Doc fix.
7148
7149 * info.el (dframe-select-attached-frame, dframe-current-frame):
7150 Declare.
7151
7152 * speedbar.el (speedbar-message): Make it an obsolete alias.
7153 Update all callers.
7154 (speedbar-with-attached-buffer)
7155 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7156 (speedbar-with-writable): Use backquote.
7157 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7158 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7159 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7160 rather than speedbar- aliases.
7161 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7162 (speedbar-make-specialized-keymap, speedbar-insert-button)
7163 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7164 (speedbar-do-function-pointer): Declare.
7165 (rmail-speedbar-button, rmail-speedbar-find-file)
7166 (rmail-speedbar-move-message):
7167 Use dframe-with-attached-buffer rather than speedbar- alias.
7168 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7169 (dframe-message, speedbar-make-specialized-keymap)
7170 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7171 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7172 (speedbar-insert-button, dframe-select-attached-frame)
7173 (dframe-maybee-jump-to-attached-frame)
7174 (speedbar-change-initial-expansion-list)
7175 (speedbar-previously-used-expansion-list-name): Declare.
7176 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7177 Use dframe-message, dframe-with-attached-buffer rather than
7178 speedbar- aliases.
7179 (gud-sentinel): Silence compiler.
7180 * progmodes/vhdl-mode.el (speedbar-refresh)
7181 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7182 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7183 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7184 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7185 (speedbar-file-lists, speedbar-make-tag-line)
7186 (speedbar-line-directory, speedbar-goto-this-file)
7187 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7188 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7189 (speedbar-make-button, speedbar-reset-scanners)
7190 (speedbar-files-item-info, speedbar-line-text)
7191 (speedbar-find-file-in-frame, speedbar-set-timer)
7192 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7193 (speedbar-with-writable): Do not (re)define it.
7194 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7195 rather than speedbar- alias.
7196
ee44b62a
LL
71972013-05-21 Leo Liu <sdl.web@gmail.com>
7198
7199 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7200 menu items.
7201 (octave-mode): Tweak fill-nobreak-predicate.
7202 (inferior-octave-startup): Check process to avoid infinite loop.
7203 (inferior-octave): Pop to buffer first to show abornmal process
7204 exit information.
7205
640f050f
GM
72062013-05-21 Glenn Morris <rgm@gnu.org>
7207
79458038
GM
7208 * printing.el (pr-menu-bar): Define when compiling.
7209
9cc3e83f
LL
72102013-05-21 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (octave-auto-fill): Remove.
7213 (octave-indent-new-comment-line): Improve.
7214 (octave-mode): Use auto fill mode through
4f405069 7215 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7216 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7217 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7218 (octave-help): Show parent directory.
7219
f440830d
GM
72202013-05-21 Glenn Morris <rgm@gnu.org>
7221
7222 * files.el (dired-unmark):
7223 * progmodes/gud.el (gdb-input): Update declarations.
7224
7225 * calculator.el (electric, ehelp): No need to load when compiling.
7226 (Electric-command-loop, electric-describe-mode): Declare.
7227
7228 * doc-view.el (doc-view-current-converter-processes): Move before use.
7229
7230 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7231 Move MODE-set-explicitly definition before use.
7232
7233 * international/mule-diag.el (mule-diag):
7234 Don't use obsolete window-system-version.
7235
7236 * mail/feedmail.el (smtpmail): No need to load when compiling.
7237 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7238
7239 * mail/mail-utils.el (rfc822): No need to load when compiling.
7240 (rfc822-addresses): Autoload it.
7241 (mail-strip-quoted-names): Trivial simplification.
7242
7243 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7244 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7245
7246 * net/snmp-mode.el (tempo): Don't duplicate requires.
7247
7248 * progmodes/prolog.el (info): No need to load when compiling.
7249 (comint): Require before shell requires it.
7250 (Info-goto-node): Autoload it.
7251 (Info-follow-nearest-node): Declare.
7252 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7253
7254 * textmodes/artist.el (picture-mode-exit): Declare.
7255
7256 * textmodes/reftex-parse.el (reftex-parse-from-file):
7257 Trivial rewrite so the compiler can parse it better.
7258
b4da2cbb
LL
72592013-05-20 Leo Liu <sdl.web@gmail.com>
7260
7261 * progmodes/octave.el (octave-help-mode-map)
7262 (octave-help-mode-finish-hook): New variables.
7263 (octave-help-mode, octave-help-mode-finish): New functions.
7264 (octave-help): Use octave-help-mode.
7265
33c0f65b
GM
72662013-05-20 Glenn Morris <rgm@gnu.org>
7267
7268 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7269
1a0a0a8a
DG
72702013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7271
7272 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7273 start at point, so that expansion starting right after opening
7274 slash in a regexp is recognized.
7275 (ruby-syntax-before-regexp-re): New defvar, extracted from
7276 ruby-syntax-propertize-function. Since the value of this regexp
7277 is looked up at runtime now, we should be able to turn
7278 `ruby-syntax-methods-before-regexp' into a defcustom later.
7279 (ruby-syntax-propertize-function): Split regexp matching into two
7280 parts, for opening and closing slashes. That allows us to skip
7281 over string interpolations and support multiline regexps.
7282 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7283 for them, which calls `ruby-syntax-propertize-expansion'.
7284 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7285 call to `ruby-syntax-propertize-function'.
7286 (ruby-syntax-propertize-expansion): Extracted from
7287 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7288 (ruby-syntax-propertize-percent-literal): Leave point right after
7289 the percent symbol, so that the expression expansion rule can
7290 propertize the contents.
462388b6
DG
7291 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7292 heredoc openers.
7293 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7294
c1a6c0a4
JL
72952013-05-18 Juri Linkov <juri@jurta.org>
7296
7297 * man.el (Man-default-man-entry): Remove `-' from the end
7298 of the default value. (Bug#14400)
7299
8051fccd
GM
73002013-05-18 Glenn Morris <rgm@gnu.org>
7301
7302 * comint.el (comint-password-prompt-regexp):
7303 Allow "password for XXX" where XXX contains colons (eg https://...).
7304
5e80b74f
LL
73052013-05-18 Leo Liu <sdl.web@gmail.com>
7306
7307 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7308 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7309 (octave-source-directories): Don't check process.
7310 (octave-source-directories, octave-find-definition): Doc fix.
7311
521a54c5
GM
73122013-05-18 Glenn Morris <rgm@gnu.org>
7313
86a94b05
GM
7314 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7315 Remove backspace/delete bindings. (Bug#14392)
7316
521a54c5
GM
7317 * cus-dep.el (custom-make-dependencies): Sort the output.
7318 (custom-versions-load-alist): Convert comment to doc.
7319
42caeb89
LL
73202013-05-17 Leo Liu <sdl.web@gmail.com>
7321
7322 * newcomment.el (comment-search-backward): Stricter in finding
7323 comment start. (Bug#14303)
7324
7325 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7326 (octave-comment-start-skip): Properly anchored.
7327
e219dd97
LL
73282013-05-17 Leo Liu <sdl.web@gmail.com>
7329
fe1eb856
RS
7330 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7331 Clean up when turned off. (Bug#14395)
e219dd97
LL
7332 (smie--highlight-matching-block-overlay): No longer buffer-local.
7333 (smie-highlight-matching-block): Adjust.
7334
dc5dcb4b
PE
73352013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7336
7337 Doc string fix for "nanoseconds" (Bug#14406).
7338 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7339 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7340
1db165f0
JB
73412013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7342
7343 * calc/calc-units.el (math-extract-units): Preserve powers
7344 of units.
7345
c7a8fcac
LL
73462013-05-17 Leo Liu <sdl.web@gmail.com>
7347
7348 * subr.el (delete-consecutive-dups): New function.
7349 * ido.el (ido-set-matches-1): Use it.
7350 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7351 * ido.el (ido-remove-consecutive-dups): Remove.
7352
f678b18a
SM
73532013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7356 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7357 regexp-opt's `words'.
7358
ebfe68e8
LL
73592013-05-16 Leo Liu <sdl.web@gmail.com>
7360
7361 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7362 (smie--highlight-matching-block-overlay)
7363 (smie--highlight-matching-block-lastpos)
7364 (smie--highlight-matching-block-timer): New variables.
7365 (smie-highlight-matching-block): New function.
7366 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7367 (smie-setup): Conditionally enable smie-blink-matching-open.
7368
bc8bc17d
WS
73692013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7370
7371 Sync with upstream verilog-mode r840.
7372 * progmodes/verilog-mode.el (verilog-mode-version)
7373 (verilog-mode-release-date): Update.
7374 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7375 (verilog-sig-tieoff): Fix string error on
7376 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7377 (verilog-read-decls): Fix parameters confusing
7378 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7379
df065a0b
EZ
73802013-05-16 Eli Zaretskii <eliz@gnu.org>
7381
7382 * subr.el (reveal-filename): New function.
7383
7384 * loadup.el: Compute Emacs executable versions on MS-Windows,
7385 where executables have the .exe extension. Add a hard link
7386 emacs-XX.YY.ZZ.exe on MS-Windows.
7387
7388 * Makefile.in (XARGS_LIMIT): New variable.
7389 (custom-deps, finder-data, autoloads)
7390 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7391 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7392 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7393 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7394
2d4bf34b
LL
73952013-05-16 Leo Liu <sdl.web@gmail.com>
7396
7397 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7398 (octave-mode-menu, octave-mode-map): Remove its uses.
7399
6b9c2d85
RZ
74002013-05-16 Reto Zimmermann <reto@gnu.org>
7401
7402 Sync with upstream vhdl mode v3.34.2.
7403 * progmodes/vhdl-mode.el: Use `push' throughout.
7404 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7405 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7406 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7407 (vhdl-actual-generic-name): New option to derive actual generic name.
7408 (vhdl-port-paste-signals): Replace formal by actual generics.
7409 (vhdl-beautify): New name for old group vhdl-align. Update users.
7410 (vhdl-beautify-options): New option.
7411 (vhdl-last-input-event): New compat alias. Use throughout.
7412 (vhdl-goto-line): Replace user level function `goto-line'.
7413 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7414 vhdl-fix-statement-buffer.
7415 (vhdl-create-mode-menu): Add some entries.
7416 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7417 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7418 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7419 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7420 to force statements on one line.
7421 (vhdl-remove-trailing-spaces-region):
7422 New, split from vhdl-remove-trailing-spaces.
7423 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7424 Respect vhdl-beautify-options.
7425 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7426 (vhdl-update-sensitivity-list): Not add with index if exists without.
7427 Not include array index with signal. Ignore keywords in comments.
7428 (vhdl-get-visible-signals): Regexp tweaks.
7429 (vhdl-template-component-inst): Handle empty library.
7430 (vhdl-template-type): Add template for 'enum' type.
7431 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7432 Use vhdl-replace-string.
7433 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7434 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7435 (vhdl-speedbar-initialize): Update for above name change.
7436 (vhdl-compose-wire-components): Fix in handling of constants.
7437 (vhdl-error-regexp-emacs-alist): New variable.
7438 (vhdl-error-regexp-add-emacs): New function;
7439 adds support for new compile.el (Emacs 22+)
7440 (vhdl-generate-makefile-1): Change target order for single lib. units.
7441 Allow use of absolute file names.
7442
9df4ec5e
LL
74432013-05-16 Leo Liu <sdl.web@gmail.com>
7444
7445 * simple.el (prog-indent-sexp): Indent enclosing defun.
7446
f5ba00a6
GM
74472013-05-15 Glenn Morris <rgm@gnu.org>
7448
ed8be7ff
GM
7449 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7450 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7451 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7452 (whitespace-highlight): Move to whitespace group.
7453
7454 * comint.el (comint-source):
7455 * pcmpl-linux.el (pcmpl-linux):
7456 * shell.el (shell-faces):
7457 * eshell/esh-opt.el (eshell-opt):
7458 * international/ccl.el (ccl): Remove empty custom groups.
7459
7460 * completion.el (dynamic-completion-mode):
7461 * jit-lock.el (jit-lock-debug-mode):
7462 * minibuffer.el (completion-in-region-mode):
7463 * type-break.el (type-break-mode-line-message-mode)
7464 (type-break-query-mode):
7465 * emulation/tpu-edt.el (tpu-edt-mode):
7466 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7467 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7468 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7469
7470 * term/xterm.el (xterm): Change parent group to terminals.
7471
7472 * master.el (master): Remove empty custom group.
7473 (master-mode): Remove unused :group argument.
7474 * textmodes/refill.el (refill): Remove empty custom group.
7475 (refill-mode): Remove unused :group argument.
7476
7477 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7478
82a7c41b
GM
7479 * cus-dep.el: Provide a feature.
7480 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7481 Don't mistakenly ignore files whose basenames match a basename
7482 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7483 Add a fallback method for getting :group.
f5ba00a6 7484
6d65486d
JL
74852013-05-15 Juri Linkov <juri@jurta.org>
7486
da547b32
JL
7487 * isearch.el (isearch-char-by-name): Rename from
7488 `isearch-insert-char-by-name'. Doc fix.
7489 (isearch-forward): Mention `isearch-char-by-name' in
7490 the docstring. (Bug#13348)
7491
6d65486d
JL
7492 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7493 `exit-minibuffer' instead of
7494 `isearch-nonincremental-exit-minibuffer'.
7495 (isearch-edit-string): Remove mention of
7496 `isearch-nonincremental-exit-minibuffer' from docstring.
7497 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7498 (isearch-forward-exit-minibuffer)
7499 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7500
c9990474
SM
75012013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7502
6e911150
SM
7503 * loadup.el: Just use unversioned DOC.
7504
c9990474
SM
7505 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7506 literals as extending to EOB.
7507 (nxml-last-fontify-end): Remove unused variable.
7508 (nxml-after-change1): Use with-silent-modifications.
7509 (nxml-extend-after-change-region): Simplify.
7510 (nxml-extend-after-change-region1): Remove function.
7511 (nxml-after-change1): Don't adjust for dependent regions.
7512 (nxml-fontify-matcher): Simplify.
7513 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7514 (xmltok-add-dependent): Remove function.
7515 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7516 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7517 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7518 unclosed <[[, <?, comment, and other literals as extending to EOB.
7519 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7520 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7521 Remove functions.
7522 (rng-do-some-validation-1): Don't mark dependent regions.
7523 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7524 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7525 (nxml-clear-dependent-regions): Remove functions.
7526 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7527 (nxml-ensure-scan-up-to-date):
7528 Don't clear&mark dependent regions.
7529
e3772e98
LL
75302013-05-15 Leo Liu <sdl.web@gmail.com>
7531
c9990474
SM
7532 * progmodes/octave.el (octave-goto-function-definition):
7533 Improve and fix callers.
e3772e98 7534
5ac2eb34
SM
75352013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7536
c46c57b0
SM
7537 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7538 the setter (bug#14387).
7539
5ac2eb34
SM
7540 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7541 surrounding group (bug#14402).
7542
180ed218
JL
75432013-05-14 Juri Linkov <juri@jurta.org>
7544
7545 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7546 (Bug#14390)
7547
0ac0fecb
GM
75482013-05-14 Glenn Morris <rgm@gnu.org>
7549
7550 * progmodes/f90.el (f90-imenu-generic-expression):
7551 Fix typo in 2013-05-08 change. (Bug#14402)
7552
2e78e6a7
JPG
75532013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7554
5ac2eb34
SM
7555 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7556 Remove signals for which replies are never received.
2e78e6a7 7557
53267cca
JPG
75582013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7559
7560 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7561 (gdb-handler-alist, gdb-handler-number): Remove variables.
7562 (gdb-handler-list): New variable.
7563 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7564 (gdb-pending-handler-p, gdb-handle-reply)
7565 (gdb-remove-all-pending-triggers): New functions.
7566 (gdb-discard-unordered-replies): New defcustom.
7567 (gdb-handler): New defstruct.
7568 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7569 instead of gdb-pending-triggers. Update docstring.
7570 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7571 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7572 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7573 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7574 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7575 (gdb-frame-handler): Pending triggers are now automatically managed.
7576 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7577 Remove argument.
7578 (gdb-input): Automatically handles pending triggers. Update docstring.
7579 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7580 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7581 Update comments.
7582 (gdb-done-or-error): Now use gdb-handle-reply.
7583
d04ce803
JPG
75842013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7585
7586 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7587 gdb-debug-log.
7588
0114073a
GM
75892013-05-14 Glenn Morris <rgm@gnu.org>
7590
7591 * subr.el (user-emacs-directory-warning): New option.
7592 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7593
4d25fd7e
LL
75942013-05-14 Leo Liu <sdl.web@gmail.com>
7595
7596 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7597 during redisplay.
7598 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7599 (octave-font-lock-texinfo-comment): Fix invalid search bound
7600 error: wrong side of point.
4d25fd7e 7601
27c8b6eb
GM
76022013-05-14 Glenn Morris <rgm@gnu.org>
7603
61aaeb01
GM
7604 * progmodes/flymake.el (flymake-xml-program): New option.
7605 (flymake-xml-init): Use it.
7606
5bf90bc5
GM
7607 * term/xterm.el: Provide a feature.
7608
7609 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7610
f4c7dfd2
GM
76112013-05-13 Glenn Morris <rgm@gnu.org>
7612
7613 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7614 Add compat aliases as a hack workaround. (Bug#14384)
7615
2aeb3a1d
LL
76162013-05-13 Leo Liu <sdl.web@gmail.com>
7617
b0e069c2
LL
7618 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7619 ###, and %!.
f5a9432f
LL
7620 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7621 C-M-q.
b0e069c2
LL
7622 (octave-comment-start-skip): Include %!.
7623 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7624
30ea8374
LL
76252013-05-12 Leo Liu <sdl.web@gmail.com>
7626
7627 * progmodes/octave.el (inferior-octave-startup): Store the value
7628 of __octave_srcdir__ for octave-source-directories.
7629 (inferior-octave-check-process): New function refactored out of
7630 inferior-octave-send-list-and-digest.
7631 (octave-source-directories)
7632 (octave-find-definition-filename-function): New variables.
7633 (octave-source-directories)
7634 (octave-find-definition-default-filename): New functions.
7635 (octave-find-definition): Improve to find functions implemented in C++.
7636
472a3834
GM
76372013-05-12 Glenn Morris <rgm@gnu.org>
7638
7639 * calendar/diary-lib.el (diary-outlook-format-1):
7640 Don't include dayname in the output. (Bug#14349)
7641
3191b52f
GM
76422013-05-11 Glenn Morris <rgm@gnu.org>
7643
0060ac73
GM
7644 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7645
3191b52f
GM
7646 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7647 Treat cc-provide like provide.
7648
e065ba74
KR
76492013-05-11 Kevin Ryde <user42@zip.com.au>
7650
7651 * cus-dep.el (custom-make-dependencies):
7652 Use generated-autoload-load-name for the sake of files such
7653 such cedet/semantic/bovine/c.el, where the base file name
7654 is not in load-path. (Bug#5277)
7655
36f84c37
GM
76562013-05-11 Glenn Morris <rgm@gnu.org>
7657
7658 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7659 Provide features.
7660
c8730c3a
LL
76612013-05-11 Leo Liu <sdl.web@gmail.com>
7662
7663 * progmodes/octave.el (octave-indent-comment): Improve.
7664 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7665 (octave-eldoc-function-signatures, octave-eldoc-function):
7666 New functions.
c8730c3a
LL
7667 (octave-mode, inferior-octave-mode): Add eldoc support.
7668
212e29f2
RS
76692013-05-11 Richard Stallman <rms@gnu.org>
7670
7671 * epa.el (epa-decrypt-file): Take output file name as argument
7672 and read it using `interactive'.
7673
083fe0d7
LL
76742013-05-11 Leo Liu <sdl.web@gmail.com>
7675
7676 * progmodes/octave.el (octave-beginning-of-line)
7677 (octave-end-of-line): Check before using up-list because it jumps
7678 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7679 (octave-indent-comment): New function.
7680 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7681 (octave-begin-keywords, octave-end-keywords)
7682 (octave-reserved-words, octave-smie-bnf-table)
7683 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7684
8582e4c4
GM
76852013-05-11 Glenn Morris <rgm@gnu.org>
7686
f20def1f
GM
7687 * faces.el (internal-face-x-get-resource):
7688 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7689 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7690 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7691 Fix declarations.
f20def1f 7692
445f95e2
GM
7693 * calc/calc-menu.el: Make it loadable in isolation.
7694
7695 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7696 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7697 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7698 (eudc-bbdb-query-internal): Require 'bbdb.
7699
99fb2756
GM
7700 * lpr.el (lpr-headers-switches):
7701 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7702
7703 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7704
0da7ad96
GM
7705 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7706
8582e4c4
GM
7707 * term.el (term-set-escape-char): Make it idempotent.
7708
f71c50d0
LL
77092013-05-10 Leo Liu <sdl.web@gmail.com>
7710
5ac2eb34
SM
7711 * progmodes/octave.el (inferior-octave-completion-table):
7712 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7713 completion due to bug#11906.
7714 (octave-beginning-of-defun): Re-write to be more general.
7715
d5837773
GM
77162013-05-10 Glenn Morris <rgm@gnu.org>
7717
7718 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7719
027c0f75
SM
77202013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * comint.el (comint-redirect-send-command-to-process): Use :around
7723 rather than :override for comint-redirect-filter.
7724 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7725 Call it instead of comint-redirect-original-filter-function (which
7726 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7727
4465bfb4
JD
77282013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7729
7730 * frame.el (display-monitor-attributes-list): Add NS case.
7731 (ns-display-monitor-attributes-list): Declare.
7732
2d809ffa 77332013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7734
7735 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7736
e54eeb9b
GM
77372013-05-09 Glenn Morris <rgm@gnu.org>
7738
56cd351d
GM
7739 * international/fontset.el (vertical-centering-font-regexp):
7740 Set standard-value.
7741
d84b6108
GM
7742 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7743
a931698a
GM
7744 * bookmark.el (bookmark-search-delay):
7745 * cus-start.el (vertical-centering-font-regexp):
7746 * ps-mule.el (ps-mule-font-info-database-default):
7747 * ps-print.el (ps-default-fg, ps-default-bg):
7748 * type-break.el (type-break-good-break-interval):
7749 * whitespace.el (whitespace-indentation-regexp)
7750 (whitespace-space-after-tab-regexp):
7751 * emacs-lisp/testcover.el (testcover-1value-functions)
7752 (testcover-noreturn-functions, testcover-progn-functions)
7753 (testcover-prog1-functions):
7754 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7755 * eshell/em-glob.el (eshell-glob-translate-alist):
7756 * play/tetris.el (tetris-tty-colors):
7757 * progmodes/cpp.el (cpp-face-default-list):
7758 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7759 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7760 (idlwave-help-browser-generic-args):
7761 * progmodes/make-mode.el (makefile-special-targets-list):
7762 * progmodes/python.el (python-shell-virtualenv-path):
7763 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7764 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7765 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7766 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7767 * textmodes/reftex-vars.el (reftex-format-label-function):
7768 * textmodes/remember.el (remember-diary-file): Fix custom types.
7769
e54eeb9b
GM
7770 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7771 Add :version.
7772
455851dd
LL
77732013-05-09 Leo Liu <sdl.web@gmail.com>
7774
7775 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7776 Restore file completion. (Bug#14300)
455851dd
LL
7777 (inferior-octave-startup): Fix incorrect highlighting for the
7778 first prompt.
7779
a9e4425b
SM
77802013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * progmodes/ruby-mode.el: First cut at SMIE support.
7783 (ruby-use-smie): New var.
7784 (ruby-smie-grammar): New constant.
7785 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7786 (ruby-smie--forward-token, ruby-smie--backward-token)
7787 (ruby-smie-rules): New functions.
7788 (ruby-mode-variables): Setup SMIE if applicable.
7789
060ca408
EZ
77902013-05-08 Eli Zaretskii <eliz@gnu.org>
7791
7792 * simple.el (line-move-visual): Signal beginning/end of buffer
7793 only if vertical-motion moved less than it was requested. Avoids
7794 silly incorrect error messages when there are display strings with
7795 multiple newlines at EOL.
7796
1d5963cc
SM
77972013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7800 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7801 (prolog-char-quote-workaround):
7802 * progmodes/cperl-mode.el (cperl-under-as-char):
7803 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7804 Mark as obsolete.
7805 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7806 their declaration.
7807 (vhdl-mode-syntax-table-init): Remove.
7808
c9990474
SM
7809 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7810 last change.
1d5963cc
SM
7811
7812 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7813 syntax for "_".
7814 (ld-script-font-lock-keywords):
7815 Change regexps to use things like \_< and \_>.
7816
7817 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7818 Change all regexps to use things like \_< and \_>.
7819
7820 * progmodes/autoconf.el (autoconf-definition-regexp)
7821 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7822 Handle a _ with symbol syntax.
7823 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7824
c9990474
SM
7825 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7826 Consolidate declaration.
1d5963cc
SM
7827 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7828 the declaration.
7829 (ada-create-syntax-table): Remove.
7830 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7831 already has the right syntax nowadays.
7832 (ada-goto-next-word): Don't change the syntax of "_".
7833
7834 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7835 with-wrapper-hook.
7836
72d3cfca
SS
78372013-05-08 Sam Steingold <sds@gnu.org>
7838
7839 * thingatpt.el (thing-at-point): Accept optional second argument
7840 NO-PROPERTIES to strip the text properties from the return value.
7841 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7842 to `thing-at-point' instead of stripping the properties ourselves.
7843 Also, when `thing-at-point' fails to find a url, prepend "http://"
7844 to the filename at point on the assumption that the user is
7845 pointing at something like gnu.org/gnu.
7846
5cb15713
JB
78472013-05-08 Juanma Barranquero <lekktu@gmail.com>
7848
7849 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7850 * faces.el (crm-separator):
7851 Silence byte-compiler.
7852
7853 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7854 (tool-bar-map): Remove unneeded defvars.
7855
ea78b95b
LL
78562013-05-08 Leo Liu <sdl.web@gmail.com>
7857
7858 Re-work a fix for bug#10994 based on Le Wang's patch.
7859 * ido.el (ido-remove-consecutive-dups): New helper.
7860 (ido-completing-read): Use it.
7861 (ido-chop): Revert fix for bug#10994.
7862
dc7466df
AS
78632013-05-08 Adam Spiers <emacs@adamspiers.org>
7864
7865 * cus-edit.el (custom-save-variables):
7866 Pretty-print long values. (Bug#14187)
7867
9ecf672a
GM
78682013-05-08 Glenn Morris <rgm@gnu.org>
7869
7870 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7871 (m4-mode-syntax-table): Init in the defvar.
7872 (m4-mode-abbrev-table): Let define-derived-mode define it.
7873
3f555be8
TT
78742013-05-08 Tom Tromey <tromey@redhat.com>
7875
7876 * progmodes/m4-mode.el (m4-mode-syntax-table):
7877 Do not treat "_" as word constituent. (Bug#14167)
7878
7cc8ae06
GM
78792013-05-07 Glenn Morris <rgm@gnu.org>
7880
4f58bc06
GM
7881 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7882 Remove explicit eshell-isearch-cancel-map.
7883
7cc8ae06
GM
7884 * progmodes/f90.el (f90-smart-end-names): New option.
7885 (f90-smart-end): Doc fix.
7886 (f90-end-block-optional-name): New constant.
7887 (f90-block-match): Respect f90-smart-end-names.
7888
ceb57e59
SM
78892013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7892 about implicit semi-colons (bug#14218).
7893
4e3f9230
YM
78942013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7895
7896 * frame.el (display-monitor-attributes-list)
7897 (frame-monitor-attributes): New functions.
7898
203a5572
LL
78992013-05-06 Leo Liu <sdl.web@gmail.com>
7900
7901 * progmodes/octave.el (octave-syntax-propertize-function): Change
7902 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7903 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7904 (octave-completion-at-point): Rename from
203a5572
LL
7905 octave-completion-at-point-function.
7906 (inferior-octave-directory-tracker): Robustify.
7907 (octave-text-functions): Remove and fix its uses. No such things
7908 any more.
7909
ee6cff99
SM
79102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * emacs-lisp/trace.el (trace--display-buffer): New function.
7913 (trace-make-advice): Use it.
7914
32985194
JL
79152013-05-06 Juri Linkov <juri@jurta.org>
7916
7917 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7918 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7919 Doc fix.
7920 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7921 in the help string. (Bug#12985)
7922
a1c700de
KD
79232013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7924
7925 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7926
c67c0839
SM
79272013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7928
323885fd
SM
7929 * progmodes/perl-mode.el: Add support for here documents.
7930 (perl-syntax-propertize-function): Match here-doc markers.
7931 (perl-syntax-propertize-special-constructs): Find their end.
7932 (perl-imenu-generic-expression): Use [:alnum:].
7933
c67c0839
SM
7934 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7935 (advice--add-function): Refresh the advice if already present
7936 (bug#14317).
7937
d491e7a8
IA
79382013-05-06 Ivan Andrus <darthandrus@gmail.com>
7939
7940 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7941
ddf9925e
GM
79422013-05-06 Glenn Morris <rgm@gnu.org>
7943
7cc3af27
GM
7944 * w32-fns.el (w32-charset-info-alist): Declare.
7945
16e343d6
GM
7946 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7947 of its defcustom properties.
7948 (eshell-cmpl-initialize): No need to load pcomplete.
7949
7d889a47
GM
7950 * generic-x.el: No need to require comint when compiling.
7951
ddf9925e
GM
7952 * net/eudc-export.el: Make it loadable without bbdb.
7953 (top-level): Use require rather than load-library.
7954 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7955 (eudc-batch-export-records-to-bbdb)
7956 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7957 Require bbdb.
7958
1e2c18df
SM
79592013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7962 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7963 some tweaks, instead.
7964
02502a5f
LL
79652013-05-05 Leo Liu <sdl.web@gmail.com>
7966
7967 * progmodes/octave.el (octave-font-lock-keywords)
7968 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7969 (inferior-octave-send-list-and-digest): Improve error message.
7970 (octave-mode, inferior-octave-mode): Use setq-local.
7971 (octave-help): Set info-lookup-mode.
7972
0dc04f42
RS
79732013-05-05 Richard Stallman <rms@gnu.org>
7974
6c54491c
RS
7975 * vc/compare-w.el (compare-windows-whitespace):
7976 Treat no-break space as whitespace.
7977
0dc04f42
RS
7978 * mail/rmailsum.el (rmail-summary-rmail-update):
7979 Detect empty summary and don't change selected message.
7980 (rmail-summary-goto-msg): Likewise.
7981
df8f35df
RS
7982 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7983 Doc fixes, rename args.
7984
5356e1a3
AM
79852013-05-05 Alan Mackenzie <acm@muc.de>
7986
7987 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7988
d44014cb
JL
79892013-05-05 Juri Linkov <juri@jurta.org>
7990
7991 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7992 to not add the length of the summary segment to the return value.
7993 (Bug#14125)
7994
c129b51f
LL
79952013-05-05 Leo Liu <sdl.web@gmail.com>
7996
7997 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7998 (inferior-octave-output-filter): Remove.
7999 (octave-send-region, inferior-octave-startup): Fix callers.
8000 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8001 (octave-binary-file-extensions): New user variable.
8002 (octave-find-definition): Confirm if opening binary files.
8003 (octave-help-file): Use octave-find-definition to get the binary
8004 confirmation.
8005 (octave-help): Adjust for octave-help-file change.
8006
aa7dab97
SM
80072013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8010 Merge the two entries that handle function definitions.
8011 (pascal--syntax-propertize): New const.
8012 (pascal-mode): Use it. Use setq-local.
8013
fd3a9a6b
GM
80142013-05-04 Glenn Morris <rgm@gnu.org>
8015
8016 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8017 (diary-from-outlook): Respect diary-from-outlook-function.
8018
30c7e542
SM
80192013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8022 Move the declaration from C.
8023 (read-minibuffer, eval-minibuffer): Move from C.
8024 (completion-setup-function): Avoid minibuffer-completion-contents.
8025
b54f978b
LL
80262013-05-03 Leo Liu <sdl.web@gmail.com>
8027
8028 * progmodes/octave.el (octave-font-lock-keywords): Do not
8029 dehighlight 'end' in comments or strings.
30c7e542
SM
8030 (octave-completing-read, octave-goto-function-definition):
8031 New helpers.
d4d0f9b3
LL
8032 (octave-help-buffer): New user variable.
8033 (octave-help-file, octave-help-function): New button types.
8034 (octave-help): New command and bind it to C-h ;.
8035 (octave-find-definition): New command and bind it to M-.
d74a1581 8036 (user-error): Alias to error if not defined.
b54f978b 8037
27135018
LL
80382013-05-02 Leo Liu <sdl.web@gmail.com>
8039
8040 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8041 for \. (bug#14332)
8042 (octave-font-lock-keywords): Include [ and {.
8043
0d634d3a
LL
80442013-05-02 Leo Liu <sdl.web@gmail.com>
8045
8046 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8047 (inferior-octave): Remove calling comint-mode and return the buffer.
8048 (inferior-octave-startup): Cosmetic changes.
8049
b4c8295e
LL
80502013-05-02 Leo Liu <sdl.web@gmail.com>
8051
30c7e542
SM
8052 * progmodes/octave.el (octave-syntax-propertize-function):
8053 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8054
f12ad6ec
GM
80552013-05-02 Glenn Morris <rgm@gnu.org>
8056
8057 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8058 * desktop.el (vc-dir-mode): Just autoload it here.
8059
30cac1e0
AM
80602013-05-02 Alan Mackenzie <acm@muc.de>
8061
8062 Eliminate variable c-standard-font-lock-fontify-region-function.
8063 * progmodes/cc-mode.el
8064 (c-standard-font-lock-fontify-region-function): Remove.
8065 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8066
d8ef28b1
LL
80672013-05-01 Leo Liu <sdl.web@gmail.com>
8068
2640d52e 8069 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8070 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8071 variables were removed from Octave in 2007.
d8ef28b1
LL
8072 (inferior-octave-startup): Fix uses.
8073 (comint-line-beginning-position): Remove compatibility code for
8074 emacs 21.
8075
ac63ec89
JL
80762013-05-01 Juri Linkov <juri@jurta.org>
8077
8078 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8079
9e9be37c
JL
80802013-05-01 Juri Linkov <juri@jurta.org>
8081
8082 * comint.el (comint-previous-matching-input): Don't print message
8083 "History item: %d" when `isearch-mode' is active.
8084 (comint-history-isearch-message): Print message "History item: %d"
8085 when `comint-input-ring-index' is not empty and this function is
8086 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8087
9b92c13b
LL
80882013-05-01 Leo Liu <sdl.web@gmail.com>
8089
8090 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8091 definitions. Use completion-at-point to insert keywords.
8092 (octave-abbrev-start): Remove.
8093 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8094
b12d33d7
LL
80952013-04-30 Leo Liu <sdl.web@gmail.com>
8096
8097 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8098 change.
8099
3d1c39fa
AM
81002013-04-30 Alan Mackenzie <acm@muc.de>
8101
8102 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8103 * progmodes/cc-engine.el (c-back-over-member-initializers):
8104 new function.
3d1c39fa
AM
8105 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8106 (most) member init lists.
8107
5147fc17
RS
81082013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8109
8110 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8111 variable.
8112
5b78d7fc
LL
81132013-04-30 Leo Liu <sdl.web@gmail.com>
8114
8115 * progmodes/octave.el (octave-variables): Remove. No builtin
8116 variables any more. All converted to functions.
8117 (octave-font-lock-keywords, octave-completion-at-point-function):
8118 Fix uses.
8119 (octave-font-lock-texinfo-comment): New user variable.
8120 (octave-texinfo-font-lock-keywords): New variable for texinfo
8121 comment block.
8122 (octave-function-comment-block): New face.
8123 (octave-font-lock-texinfo-comment): New function.
8124 (octave-mode): Font lock texinfo comment block.
8125
38d8527b
LL
81262013-04-29 Leo Liu <sdl.web@gmail.com>
8127
8128 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8129 indexing expression.
8130 (octave-continuation-string): Do not use \.
8131 (inferior-octave-complete-impossible): Remove.
8132 (inferior-octave-completion-table)
8133 (inferior-octave-completion-at-point): Remove its uses.
8134 (inferior-octave-startup): completion_matches was introduced to
8135 Octave in 1996 so safe to assume it.
8136 (octave-function-file-comment): Improve to follow how Octave does it.
8137 (octave-update-function-file-comment): Tweak.
8138
2ec12cb0
LL
81392013-04-29 Leo Liu <sdl.web@gmail.com>
8140
8141 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8142 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8143 (octave-function-file-comment): Fix typo.
8144 (octave-sync-function-file-names): Use read-char-choice.
8145
6eaed048
JB
81462013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8147
8148 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8149 to t for the less important warnings.
8150
3ffa2d4f
DH
81512013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8152
8153 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8154
685c9501
GM
81552013-04-27 Glenn Morris <rgm@gnu.org>
8156
8157 * vc/log-view.el (log-view-current-entry):
8158 Treat "---" separator lines as part of the following rev. (Bug#14169)
8159
0208ede7
JL
81602013-04-27 Juri Linkov <juri@jurta.org>
8161
8162 * subr.el (read-number): Doc fix about using it by interactive
8163 code letter `n'. (Bug#14254)
8164
5db9dace
JL
81652013-04-27 Juri Linkov <juri@jurta.org>
8166
8167 * desktop.el (desktop-auto-save-timeout): New option.
8168 (desktop-file-checksum): New variable.
8169 (desktop-save): Add optional arg `auto-save' and don't auto-save
8170 if nothing changed.
8171 (desktop-auto-save-timer): New variable.
8172 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8173 (after-init-hook): Call `desktop-auto-save-set-timer'.
8174 Suggested by Reuben Thomas <rrt@sc3d.org> in
8175 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8176
b7260dd4
LL
81772013-04-27 Leo Liu <sdl.web@gmail.com>
8178
8179 * progmodes/octave.el (octave-function-file-p)
8180 (octave-skip-comment-forward, octave-function-file-comment)
8181 (octave-update-function-file-comment): New functions.
8182 (octave-mode-map): Bind C-c ; to
8183 octave-update-function-file-comment.
8184 (octave-mode-menu): Add octave-update-function-file-comment.
8185 (octave-mode, inferior-octave-mode): Fix doc-string.
8186 (octave-insert-defun): Conform to Octave's coding convention.
8187 (Bug#14285)
8188
8189 * files.el (basic-save-buffer): Don't let errors in
8190 before-save-hook prevent saving buffer.
8191
c46da669
RW
81922013-04-20 Roland Winkler <winkler@gnu.org>
8193
8194 * faces.el (read-face-name): Use completing-read if arg multiple
8195 is nil.
8196
a81ee1eb
IL
81972013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8198
8199 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8200 displayed, move point to after the totals line.
8201 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8202 for the details.
8203
4fac34ce
SM
82042013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8207 Add current dir to the load-path.
8208 (package-generate-autoloads): Don't rely on
8209 autoload-ensure-default-file.
8210
f6bfc063
RT
82112013-04-26 Reuben Thomas <rrt@sc3d.org>
8212
d40ab5cf
BG
8213 * textmodes/remember.el (remember-store-in-files): Document that
8214 the file name format is passed to `format-time-string'.
f6bfc063 8215
e55d3b04
LL
82162013-04-26 Leo Liu <sdl.web@gmail.com>
8217
8218 * progmodes/octave.el (octave-sync-function-file-names): New function.
8219 (octave-mode): Use it in before-save-hook.
8220
e53052d3
SM
82212013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8222
140ef50c
SM
8223 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8224 (bug#14274).
8225
e53052d3
SM
8226 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8227 \n and comment, even if it's not an implicit ; (bug#14218).
8228
af80458d 82292013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8230
8231 * subr.el (read-number): Once more use `read' rather than
8232 `string-to-number', to trap non-numeric input. (Bug#14254)
8233
af80458d 82342013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8235
8236 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8237 Use `syntax-multiline' text property consistently instead of
8a621d53 8238 `font-lock-multiline'. (Bug#14237)
70203c2e 8239
e6ea1f6c
GM
82402013-04-26 Glenn Morris <rgm@gnu.org>
8241
8242 * emacs-lisp/shadow.el (list-load-path-shadows):
8243 No longer necessary to check for duplicate simple.el, since
8244 2012-07-07 change to init_lread to not include installation lisp
8245 directories in load-path when running uninstalled. (Bug#14270)
8246
070ccca4
LL
82472013-04-26 Leo Liu <sdl.web@gmail.com>
8248
8249 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8250 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8251 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8252 octave-in-string-or-comment-p.
8253 (octave-in-comment-p, octave-in-string-p)
8254 (octave-in-string-or-comment-p): Replace defsubst with defun.
8255
9d1c5fb6
PE
82562013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8257
8258 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8259
c034abda
BG
82602013-04-25 Bastien Guerry <bzg@gnu.org>
8261
8262 * textmodes/remember.el (remember-data-directory)
8263 (remember-directory-file-name-format): Fix custom types.
8264
584ea277
LL
82652013-04-25 Leo Liu <sdl.web@gmail.com>
8266
e53052d3
SM
8267 * progmodes/octave.el (octave-completion-at-point-function):
8268 Make use of inferior octave process.
584ea277
LL
8269 (octave-initialize-completions): Remove.
8270 (inferior-octave-completion-table): New function.
8271 (inferior-octave-completion-at-point): Use it.
8272 (octave-completion-alist): Remove.
8273
1693b06a
SM
82742013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8277 (opascal-mode-syntax-table): New var.
8278 (opascal-literal-kind, opascal-is-literal-end)
8279 (opascal-literal-token-at): Rewrite.
8280 (opascal--literal-start-re, opascal-font-lock-keywords)
8281 (opascal--syntax-propertize): New constants.
8282 (opascal-font-lock-defaults): Adjust.
8283 (opascal-mode): Use them. Set comment-<foo> variables as well.
8284 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8285 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8286 (delphi-other-face, opascal-other-face): Remove face variables.
8287 (opascal-save-state): Remove macro.
8288 (opascal-fontifying-progress-step): Remove constant.
8289 (opascal--ignore-changes): Remove var.
8290 (opascal-set-token-property, opascal-parse-next-literal)
8291 (opascal-is-stable-literal, opascal-complete-literal)
8292 (opascal-is-literal-start, opascal-face-of)
8293 (opascal-parse-region, opascal-parse-region-until-stable)
8294 (opascal-fontify-region, opascal-after-change)
8295 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8296 (opascal-debug-parse-region, opascal-debug-parse-window)
8297 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8298 (opascal-debug-fontify-buffer): Remove.
8299 (opascal-debug-mode-map): Adjust accordingly.
8300
be64c05d
LL
83012013-04-25 Leo Liu <sdl.web@gmail.com>
8302
8303 Merge octave-mod.el and octave-inf.el into octave.el with some
8304 cleanups.
8305 * progmodes/octave.el: New file renamed from octave-mod.el.
8306 * progmodes/octave-inf.el: Merged into octave.el.
8307 * progmodes/octave-mod.el: Renamed to octave.el.
8308
d79d37bd
TH
83092013-04-25 Tassilo Horn <tsdh@gnu.org>
8310
8311 * textmodes/reftex-vars.el
8312 (reftex-label-ignored-macros-and-environments): New defcustom.
8313
8314 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8315
ced3fc5d
SM
83162013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8319 (smie-indent-keyword): Improve the check to ensure that the next
8320 comment is really on the same line.
8321 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8322
8323 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8324 semi-colons if the line is not otherwise empty (bug#14218).
8325
1c141dad
GM
83262013-04-25 Glenn Morris <rgm@gnu.org>
8327
8328 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8329
5058062a
SM
83302013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * progmodes/opascal.el (opascal-set-token-property): Rename from
8333 opascal-set-text-properties and only set `token' (bug#14134).
8334 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8335 (opascal-literal-text-properties): Remove.
8336 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8337 Adjust callers.
8338
5db9dace 83392013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8340
8341 * textmodes/remember.el (remember-handler-functions): Add an
8342 option for a new handler `remember-store-in-files'.
8343 (remember-data-directory, remember-directory-file-name-format):
8344 New options.
8345 (remember-store-in-files): New function to store remember notes
8346 as separate files within a directory.
8347
4391916c
MH
83482013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8349
8350 * progmodes/compile.el (compilation-next-error-function):
8351 Pass "formats" to compilation-find-file (bug#11777).
8352
bb7cdf58
GM
83532013-04-24 Glenn Morris <rgm@gnu.org>
8354
3b8fe752 8355 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8356 * vc/vc-hg.el (vc-hg-print-log):
8357 * vc/vc-svn.el (vc-svn-print-log):
8358 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8359
bb7cdf58
GM
8360 * vc/vc-bzr.el (vc-bzr-print-log):
8361 * vc/vc-cvs.el (vc-cvs-print-log):
8362 * vc/vc-git.el (vc-git-print-log):
8363 * vc/vc-hg.el (vc-hg-print-log):
8364 * vc/vc-mtn.el (vc-mtn-print-log):
8365 * vc/vc-rcs.el (vc-rcs-print-log):
8366 * vc/vc-sccs.el (vc-sccs-print-log):
8367 * vc/vc-svn.el (vc-svn-print-log):
8368 * vc/vc.el (vc-print-log-internal): Doc fixes.
8369
b46a056e
GM
83702013-04-23 Glenn Morris <rgm@gnu.org>
8371
8372 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8373 Remove venerable code attempting to avoid substitute-command-keys.
8374
0aecf718
TH
83752013-04-23 Tassilo Horn <tsdh@gnu.org>
8376
4391916c
MH
8377 * textmodes/reftex-vars.el (reftex-label-regexps):
8378 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8379
117f94cf
SM
83802013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8381
4391916c 8382 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8383 Use lexical-binding.
8384 (jit-lock-force-redisplay): Use markers, check buffer's continued
8385 existence and beware narrowed buffers.
8386 (jit-lock-fontify-now): Adjust call accordingly.
8387
1d829c64
SM
83882013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8391 to avoid misleading the user.
8392
72d548a9
LL
83932013-04-22 Leo Liu <sdl.web@gmail.com>
8394
8395 * info-look.el: Prefer latex2e.info. (Bug#14240)
8396
d0853629
MA
83972013-04-22 Michael Albinus <michael.albinus@gmx.de>
8398
8399 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8400
8401 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8402 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8403 (tramp-set-completion-function, tramp-parse-putty):
8404 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8405 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8406 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8407 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8408 (tramp-call-local-coding-command): Use `tramp-call-process'
8409 instead of `tramp-compat-call-process'.
8410
8411 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8412 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8413 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8414 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8415 (tramp-maybe-send-script): Check for Perl binary.
8416 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8417
38cc0210
DU
84182013-04-22 Daiki Ueno <ueno@gnu.org>
8419
8420 * epg.el (epg-context-pinentry-mode): New function.
8421 (epg-context-set-pinentry-mode): New function.
8422 (epg--start): Pass --pinentry-mode option to gpg command.
8423
cc641ee1
XF
84242013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8425
02d844b5 8426 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8427 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8428 `completion-at-point'. (Bug#13774)
5d4e5c31 8429
cc641ee1
XF
8430 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8431 default key binding for `describe-distribution' has been moved to
8432 `C-h C-o'. (Bug#13970)
8433
1b42ee43
GM
84342013-04-21 Glenn Morris <rgm@gnu.org>
8435
8436 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8437 Add doc strings.
8438 (vc-print-log): Clarify interactive prompt.
8439
a6d63d97
GM
84402013-04-20 Glenn Morris <rgm@gnu.org>
8441
8442 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8443 No longer include timestamp etc information.
8444
d7f5c16f
RW
84452013-04-20 Roland Winkler <winkler@gnu.org>
8446
8447 * faces.el (read-face-name): Bug fix, return just one face if arg
8448 multiple is nil. (Bug#14209)
8449
bcd7a0a4
SM
84502013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8453 (remove-function): Autoload.
8454
8455 * comint.el (comint-redirect-original-filter-function): Remove.
8456 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8457 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8458 (vc-cvs-annotate-command):
bcd7a0a4
SM
8459 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8460 * progmodes/prolog.el (prolog-consult-compile):
8461 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8462 Use add/remove-function instead.
8463 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8464 (gud-tooltip-process-output, gud-tooltip-tips):
8465 Use add/remove-function instead.
8466 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8467 (scheme-interaction-mode, exit-scheme-interaction-mode):
8468 Use add/remove-function instead.
8469
8470 * vc/vc-dispatcher.el: Use lexical-binding.
8471 (vc--process-sentinel): Rename from vc-process-sentinel.
8472 Change last arg to be the code to run. Don't use vc-previous-sentinel
8473 and vc-sentinel-commands any more.
8474 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8475 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8476
e36b2d20 84772013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8478
bcd7a0a4 8479 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8480 Handle function names with a single character. (Bug#14111)
4d3268ba 8481
781b4af6 84822013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8483
8484 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8485 for subroutines defined in an eval (bug#14182).
8486
7d688336
TV
84872013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8488
8489 * bookmark.el (bookmark-completing-read): Improve handling of empty
8490 string (bug#14176).
8491
31dcede0
SM
84922013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8495
adc31213
FEG
84962013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8497
8498 New faster Imenu implementation (bug#14058).
8499 * progmodes/python.el:
8500 (python-imenu-prev-index-position):
8501 (python-imenu-format-item-label-function)
8502 (python-imenu-format-parent-item-label-function)
8503 (python-imenu-format-parent-item-jump-label-function):
8504 New vars.
8505 (python-imenu-format-item-label)
8506 (python-imenu-format-parent-item-label)
8507 (python-imenu-format-parent-item-jump-label)
8508 (python-imenu--put-parent, python-imenu--build-tree)
8509 (python-imenu-create-index, python-imenu-create-flat-index)
8510 (python-util-popn): New functions.
8511 (python-mode): Set imenu-create-index-function to
8512 python-imenu-create-index.
8513
cdca8255
SM
85142013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * winner.el (winner-active-region): Use region-active-p, activate-mark
8517 and deactivate-mark (bug#14225).
8518
8519 * simple.el (deactivate-mark): Don't inline it.
8520
beb42340
MA
85212013-04-18 Michael Albinus <michael.albinus@gmx.de>
8522
8523 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8524
fc7f4d7e
TH
85252013-04-18 Tassilo Horn <tsdh@gnu.org>
8526
8527 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8528 file extensions from the archive-mode entry in order to prefer
8529 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8530
29f47822
LL
85312013-04-18 Leo Liu <sdl.web@gmail.com>
8532
8533 * bindings.el (help-event-list): Add ?\?.
8534
d36ed1c8
SM
85352013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * subr.el (with-wrapper-hook): Declare obsolete.
8538 * simple.el (filter-buffer-substring-function): New hook.
8539 (filter-buffer-substring): Use it.
8540 (filter-buffer-substring-functions): Mark obsolete.
8541 * minibuffer.el (completion-in-region-function): New hook.
8542 (completion-in-region): Use it.
8543 (completion-in-region-functions): Mark obsolete.
8544 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8545 * abbrev.el (abbrev-expand-function): New hook.
8546 (expand-abbrev): Use it.
8547 (abbrev-expand-functions): Mark obsolete.
8548 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8549 and :filter-return.
8550
04754d36
FEG
85512013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8552
8553 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8554 and do not care about match data.
8555
dd8791e9
SM
85562013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8559 completion tables when completing error conditions and
8560 `declare' arguments.
8561 (lisp-complete-symbol, field-complete): Mark as obsolete.
8562 (check-parens): Unmatched parens are user errors.
8563 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8564
ffe54a13
AM
85652013-04-17 Michal Nazarewicz <mina86@mina86.com>
8566
dd8791e9
SM
8567 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8568 command changed buffer (ie. `flyspell-pre-buffer' is not current
8569 buffer), which prevents making decisions based on invalid value of
8570 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8571 cause an error when `flyspell-pre-point' was nil after switching
8572 buffers.
8573 (flyspell-post-command-hook): No longer needs to change buffers when
8574 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8575
ec7e39f2
AM
85762013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8577
8578 * textmodes/ispell.el (ispell-add-per-file-word-list):
8579 Fix `flyspell-correct-word-before-point' error when accepting
8580 words and `coment-padding' is an integer by using
8581 `comment-normalize-vars' (Bug #14214).
8582
083850a6
FEG
85832013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8584
8585 New defun movement commands.
8586 * progmodes/python.el (python-nav--syntactically)
8587 (python-nav--forward-defun, python-nav-backward-defun)
8588 (python-nav-forward-defun): New functions.
8589
619ed6e1
FEG
85902013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8591
8592 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8593 (python-syntax-context): Use named compiler-macro for backwards
8594 compatibility with Emacs 24.x.
8595
7a1beb6c
LL
85962013-04-17 Leo Liu <sdl.web@gmail.com>
8597
8598 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8599 octave-hide-process-buffer.
8600
2d3fa3e5
SM
86012013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8604 (bug#14216).
8605
7ce5be54
JPG
86062013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8607
8608 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8609 Fix adjustment of offset when receiving incomplete responses from GDB
8610 (bug#14129).
8611
351edece
SM
86122013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8615 python-mode-abbrev-table.
8616 (python-skeleton-define): Adjust accordingly.
8617 (python-mode-abbrev-table): New table that inherits from it so that
8618 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8619
8620 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8621 (abbrev-symbol): Use it.
8622 (abbrev--before-point): Use it since we already handle inheritance.
8623
613f9481
LL
86242013-04-16 Leo Liu <sdl.web@gmail.com>
8625
8626 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8627 binding to info-lookup-symbol.
8628
51646b62
JB
86292013-04-16 Juanma Barranquero <lekktu@gmail.com>
8630
8631 * minibuffer.el (completion--twq-all):
8632 * term/ns-win.el (ns-initialize-window-system):
8633 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8634
efb3f01d
SM
86352013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8636
36c0a301
SM
8637 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8638 global bindings.
8639
efb3f01d
SM
8640 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8641
fb549d64
DG
86422013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8643
8644 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8645 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8646 to nil.
8647 (ruby-end-of-defun): Remove the unused arg, change the docstring
8648 to reflect that this function is only used as the value of
8649 `end-of-defun-function'.
8650 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8651 to reflect an earlier change that beginning/end-of-defun functions
8652 jump between methods in a class definition, as well as top-level
8653 functions.
8654
21e8fe2f
SM
86552013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * minibuffer.el (minibuffer-complete): Don't just scroll
8658 a *Completions* that's been iconified.
8659 (minibuffer-force-complete): Make sure repetitions do cycle when going
8660 through completion-in-region -> minibuffer-complete.
8661
20e527d0
AM
86622013-04-15 Alan Mackenzie <acm@muc.de>
8663
8664 Correct the placement of c-cpp-delimiters when there're #s not at
8665 col 0.
8666
8667 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8668 place a submatch around the #.
21e8fe2f
SM
8669 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8670 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8671 on the #, not BOL.
8672
dabefae5
SM
86732013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8676 (advice--member-p): New arg `name'.
8677 (advice--add-function, advice-member-p): Use it (bug#14202).
8678
85c9ab64
AM
86792013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8680
8681 Reformulate java imenu-generic-expression.
8682 The old expression contained ill formed regexps.
8683
8684 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8685 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8686 (cc-imenu-java-method-arg-regexp): New defconsts.
8687 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8688 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8689 handling of spaces in the regexp.
8690
0f821d99
AM
86912013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8692
8693 * textmodes/ispell.el (ispell-command-loop): Remove
8694 flyspell highlight of a word when ispell accepts it (bug #14178).
8695
eb922adf
MA
86962013-04-15 Michael Albinus <michael.albinus@gmx.de>
8697
8698 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8699 uses code from the previous `ange-ftp-run-real-handler'.
8700 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8701 only in case that function exist. This is needed for proper
8702 unloading of Tramp.
8703
4d9a0979
TH
87042013-04-15 Tassilo Horn <tsdh@gnu.org>
8705
8706 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8707
8708 * textmodes/reftex.el (reftex-compile-variables): Use it.
8709
a829b0dc
SM
87102013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8711
91e8293c
SM
8712 * files.el (normal-mode): Only use default major-mode if no other mode
8713 was specified.
8714
830aed4d
SM
8715 * emacs-lisp/trace.el (trace-values): New function.
8716
a829b0dc
SM
8717 * files.el: Allow : in local variables (bug#14089).
8718 (hack-local-variable-regexp): New var.
8719 (hack-local-variables-prop-line, hack-local-variables): Use it.
8720
7ae9f0fb
RW
87212013-04-13 Roland Winkler <winkler@gnu.org>
8722
8723 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8724 data before it gets modified by bibtex-beginning-of-entry.
8725
6646e848
RW
87262013-04-13 Roland Winkler <winkler@gnu.org>
8727
8728 * textmodes/bibtex.el (bibtex-url): Doc fix.
8729
87302013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8731
8732 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8733 does not visit a BibTeX file, exclude it from the list of buffers
8734 returned by bibtex-initialize.
8735
0aa3616e
SB
87362013-04-13 Stephen Berman <stephen.berman@gmx.net>
8737
8738 * window.el (split-window): Remove interactive form, since as a
8739 command this function is a special case of split-window-below.
8740 Correct doc string.
8741
011cddd6
RW
87422013-04-12 Roland Winkler <winkler@gnu.org>
8743
8744 * faces.el (read-face-name): Do not override value of arg default.
8745 Allow single faces and strings as default values. Remove those
8746 elements from return value that are not faces.
8747 (describe-face): Simplify.
8748 (face-at-point): New optional args thing and multiple so that this
8749 function can provide the same functionality previously provided by
8750 read-face-name.
8751 (make-face-bold, make-face-unbold, make-face-italic)
8752 (make-face-unitalic, make-face-bold-italic, invert-face)
8753 (modify-face, read-face-and-attribute): Use face-at-point.
8754
8755 * cus-edit.el (customize-face, customize-face-other-window)
8756 * cus-theme.el (custom-theme-add-face)
8757 * face-remap.el (buffer-face-set)
8758 * facemenu.el (facemenu-set-face): Use face-at-point.
8759
f24e0036
MA
87602013-04-12 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8763
da3cda2d
TH
87642013-04-10 Tassilo Horn <tsdh@gnu.org>
8765
8766 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8767 off leading { and trailing } from field values.
8768
15e54145
SM
87692013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8770
78ce603d
SM
8771 * emacs-lisp/timer.el (timer--check): New function.
8772 (timer--time, timer-set-function, timer-event-handler): Use it.
8773 (timer-set-idle-time): Simplify.
8774 (timer--activate): CSE.
8775 (timer-event-handler): Give more info in error message.
8776 (internal-timer-start-idle): New function, moved from C.
8777
15e54145
SM
8778 * mpc.el (mpc-proc): Add `restart' argument.
8779 (mpc-proc-cmd): Use it.
8780 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8781 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8782 less often.
8783
7144c627
MY
87842013-04-10 Masatake YAMATO <yamato@redhat.com>
8785
8786 * progmodes/sh-script.el: Implement `sh-mode' own
8787 `add-log-current-defun-function' (bug#14112).
8788 (sh-current-defun-name): New function.
8789 (sh-mode): Use the function.
8790
b39792eb
BG
87912013-04-09 Bastien Guerry <bzg@gnu.org>
8792
8793 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8794
8acdeb71
SM
87952013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8796
6fcdab68
SM
8797 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8798
8acdeb71
SM
8799 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8800 timer (bug#14156).
8801
e3e7b504
NF
88022013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8803
8804 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8805 declaration.
8806
201bb296
LL
88072013-04-07 Leo Liu <sdl.web@gmail.com>
8808
8809 * pcmpl-x.el: New file.
8810
ebb19708
DA
88112013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8812
8813 Do not set x-display-name until X connection is established.
8814 This is needed to prevent from weird situation described at
8815 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8816 * frame.el (make-frame): Set x-display-name after call to
8817 window system initialization function, not before.
8818 * term/x-win.el (x-initialize-window-system): Add optional
8819 display argument and use it.
8820 * term/w32-win.el (w32-initialize-window-system):
8821 * term/ns-win.el (ns-initialize-window-system):
8822 * term/pc-win.el (msdos-initialize-window-system):
8823 Add compatible optional display argument.
8824
33bb237a
EZ
88252013-04-06 Eli Zaretskii <eliz@gnu.org>
8826
8827 * files.el (normal-backup-enable-predicate): On MS-Windows and
8828 MS-DOS compare truenames of temporary-file-directory and of the
8829 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8830 don't fail comparison by compare-strings. Also, compare file
8831 names case-insensitively on MS-Windows and MS-DOS.
8832
134abf1f
SM
88332013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8836 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8837
d695cb94
DG
88382013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8839
e3e7b504
NF
8840 * whitespace.el (whitespace-color-on, whitespace-color-off):
8841 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8842
f4ad7ea1 88432013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8844
8845 * ispell.el (ispell-set-spellchecker-params):
8846 Really set `ispell-args' for all equivs.
8847
632556e4
SM
88482013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * ido.el (ido-completions): Use extra elements of ido-decorations
8851 (bug#14143).
8852 (ido-decorations): Update docstring.
8853
2a417372
MA
88542013-04-05 Michael Albinus <michael.albinus@gmx.de>
8855
8856 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8857 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8858 nil during initialization, in order not to miss changes since the
8859 file was opened. (Bug#14140)
8860
fc164b0c
LL
88612013-04-05 Leo Liu <sdl.web@gmail.com>
8862
8863 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8864
0ccecc08
JB
88652013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8866
8867 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8868
51af1aa2
GM
88692013-04-04 Glenn Morris <rgm@gnu.org>
8870
8871 * electric.el (electric-pair-inhibit-predicate): Add :version.
8872
b208ebc6
SM
88732013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8876 when a package is required several times (bug#14082).
8877
f3d3eaf0
RW
88782013-04-04 Roland Winkler <winkler@gnu.org>
8879
8880 * faces.el (read-face-name): Behave as promised by the docstring.
8881 Assume that arg default is a list of faces.
8882 (describe-face): Call read-face-name with list of default faces.
8883
2575da50
TV
88842013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8885
8886 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8887 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8888 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8889 the header.
8890 (bookmark-exit-hook-internal): Save even if list is empty.
8891
397703b4
YH
88922013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8893
8894 * emacs-lisp/package.el (package-pinned-packages): New var.
8895 (package--add-to-archive-contents): Obey it (bug#14118).
8896
691e26ae
AM
88972013-04-03 Alan Mackenzie <acm@muc.de>
8898
8a621d53
JB
8899 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8900 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8901
8902 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8903 parameter `not-in-delimiter'. Handle being inside comment opener.
8904 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8905 character in case we're typing a '*' after a '/'.
8906 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8907 instead by passing the parameter to c-state-pp-to-literal.
8908
8909 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8910 for elt. 7 of a parse state.
8911
4b725a70
PE
89122013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8913
8914 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8915 * international/latin1-disp.el, international/mule-util.el:
8916 * language/cyril-util.el, language/european.el, language/ind-util.el:
8917 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8918 * language/tibetan.el, language/viet-util.el:
8919 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8920
15c579f0
SM
89212013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8924 (electric-pair-post-self-insert-function): Use it.
8925 (electric-pair-default-inhibit): New function, extracted from
8926 electric-pair-post-self-insert-function.
8927
a77e2924
RW
89282013-03-31 Roland Winkler <winkler@gnu.org>
8929
8930 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8931
2bd8a4a8
SM
89322013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8935
8d3655be 89362013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8937
8938 Un-indent after "pass" and "return" statements (Bug#13888)
8939 * progmodes/python.el (python-indent-block-enders): New var.
8940 (python-indent-calculate-indentation): Use it.
8941
8d3655be 89422013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8943
8944 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8945 defun. Defining it as defalias could introduce too eager
8946 byte-compiler optimization. (Bug#14030)
8947
8d3655be 89482013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8949
8950 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8951
0b1619da
LL
89522013-03-30 Leo Liu <sdl.web@gmail.com>
8953
8954 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8955 (kmacro-execute-from-register): Pass the keyboard macro to
8956 kmacro-call-macro or repeating won't work correctly.
8957
0b938190
TZ
89582013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8959
8960 * progmodes/subword.el: Back to using `forward-symbol'.
8961
8962 * subr.el (forward-whitespace, forward-symbol)
8963 (forward-same-syntax): Move from thingatpt.el.
8964
35710234
LL
89652013-03-29 Leo Liu <sdl.web@gmail.com>
8966
8967 * kmacro.el (kmacro-to-register): New command.
8968 (kmacro-execute-from-register): New function.
8969 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8970
efc0bb73
SM
89712013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * mpc.el: Use defvar-local and setq-local.
8974 (mpc--proc-connect): Connection failures are not bugs.
8975 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8976 (mpc-volume-map): Bind to the up-events.
8977
75a2f981
TZ
89782013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8979
8980 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8981 instead of `forward-symbol'.
8982
17c781d1
SM
89832013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8986 (edebug--recursive-edit): Use it.
8987 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8988 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8989
f67bfbcf
LL
89902013-03-28 Leo Liu <sdl.web@gmail.com>
8991
8992 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8993
b59f639d
EZ
89942013-03-27 Eli Zaretskii <eliz@gnu.org>
8995
8996 * facemenu.el (list-colors-callback): New defvar.
8997 (list-colors-redisplay): New function.
8998 (list-colors-display): Install list-colors-redisplay as the
8999 revert-buffer-function. (Bug#14063)
9000
f557c1b1
SM
90012013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9002
b1da2957
SM
9003 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9004 and suffixes don't overlap (bug#14061).
9005
f557c1b1
SM
9006 * case-table.el: Use lexical-binding.
9007 (case-table-get-table): New function.
9008 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9009
002668e1
TZ
90102013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9011
9012 * progmodes/subword.el: Add `superword-mode' to do word motion
9013 over symbol_words (parallels and leverages `subword-mode' which
9014 does word motion inside MixedCaseWords).
9015
73572c72
AG
90162013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9017
78b8f320 9018 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9019 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9020
69b2c07e
SM
90212013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9024 Change return value to be a sexp. Delay `get-buffer' to after
9025 restoring the desktop (bug#13951).
9026
08bb5ee2
LL
90272013-03-26 Leo Liu <sdl.web@gmail.com>
9028
9029 * register.el: Move semantic tag handling back to
9030 cedet/semantic/senator.el. (Bug#14052)
9031
8d4c974e
SM
90322013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9035 into the prompt either (bug#13963).
9036
b234d92c
SM
90372013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9040 part of "(error-foo)".
9041
ddfa3cb4
JL
90422013-03-24 Juri Linkov <juri@jurta.org>
9043
9044 * replace.el (list-matching-lines-prefix-face): New defcustom.
9045 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9046 `occur-engine' if `face-differs-from-default-p' returns t.
9047 (occur-engine): Add `,' inside backquote construct to evaluate
9048 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9049 Pass `prefix-face' to the functions `occur-context-lines' and
9050 `occur-engine-add-prefix'.
9051 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9052 `prefix-face' and propertize the prefix with `prefix-face'.
9053 (Bug#14017)
9054
7b0e2f85
LL
90552013-03-24 Leo Liu <sdl.web@gmail.com>
9056
9057 * nxml/rng-valid.el (rng-validate-while-idle)
9058 (rng-validate-quick-while-idle): Guard against deleted buffer.
9059 (Bug#13999)
9060
9061 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9062 is the last entry in kill-buffer-hook.
9063
9064 * files.el (kill-buffer-hook): Doc fix.
9065
b3082f49
DG
90662013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9067
b234d92c
SM
9068 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9069 Make it safe-local.
bde73d27 9070
b3082f49
DG
9071 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9072
a320a2db
LL
90732013-03-23 Leo Liu <sdl.web@gmail.com>
9074
7e74b0fb
LL
9075 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9076 Remove.
9077
9078 * nxml/rng-valid.el (rng-validate-mode)
9079 (rng-after-change-function, rng-do-some-validation):
9080 * nxml/rng-maint.el (rng-validate-buffer):
9081 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9082 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9083 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9084 (nxml-extend-after-change-region): Use with-silent-modifications.
9085
a320a2db
LL
9086 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9087 timer-idle-list.
9088
9089 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9090 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9091 timer-idle-list. (Bug#13999)
9092
e38e6780
JL
90932013-03-23 Juri Linkov <juri@jurta.org>
9094
9095 * info.el (info-index-match): New face.
9096 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9097 main pattern and add text properties with the new face to matches
9098 in index entries relative to the beginning of the index entry.
9099 (Bug#14015)
9100
e8cc7880
DE
91012013-03-21 Eric Ludlam <zappo@gnu.org>
9102
9103 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9104 Inhibit read only while inserting objects.
9105
9bb0d822
TZ
91062013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9107
9108 * progmodes/cfengine.el: Update docs to mention
9109 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9110 symbol motion. Remove "_" from the word syntax.
9111
aa703640
TZ
91122013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9113
9114 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9115 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9116
afff09d0
JL
91172013-03-20 Juri Linkov <juri@jurta.org>
9118
9119 * info.el (Info-next-reference-or-link)
9120 (Info-prev-reference-or-link): New functions.
9121 (Info-next-reference, Info-prev-reference): Use them.
9122 (Info-try-follow-nearest-node): Handle footnote navigation.
9123 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9124
9a1ff164
SM
91252013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9128 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9129
2667d15d
PE
91302013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9131
9132 Suppress unnecessary non-ASCII chatter during build process.
9133 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9134 (batch-skkdic-convert): Suppress most of the chatter.
9135 It's not needed so much now that machines are faster,
9136 and its non-ASCII component was confusing; see Dmitry Gutov in
9137 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9138
438b0579
LL
91392013-03-20 Leo Liu <sdl.web@gmail.com>
9140
9141 * ido.el (ido-chop): Fix bug#10994.
9142
c128ab07
DG
91432013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9144
9145 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9146 Remove vars.
9a1ff164
SM
9147 (whitespace-color-on, whitespace-color-off):
9148 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9149
0e6008c5
SM
91502013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9153 remapping in mode-line.
9154 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9155
627b52b0
DG
91562013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9157
9158 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9159 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9160 (whitespace-font-lock-keywords): Change description.
9161 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9162 the constructed keywords instead.
9163 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9164
50c3a20b
LL
91652013-03-19 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/compile.el (compilation-display-error): New command.
9168 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9169 C-o. (Bug#13992)
9170
2aa2157b
PE
91712013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9172
9173 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9174
e477dbfa
JD
91752013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9176
9177 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9178
64ab82d1
MA
91792013-03-18 Michael Albinus <michael.albinus@gmx.de>
9180
9181 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9182
9183 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9184 * net/tramp-gvfs.el (top):
9185 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9186 (tramp-handle-shell-command): Use it.
9187 (tramp-dissect-file-name): Raise an error when hostname is a
9188 method name, and neither method nor user is specified.
9189
9190 * net/trampver.el: Update release number.
9191
33cef733
LL
91922013-03-18 Leo Liu <sdl.web@gmail.com>
9193
9194 Make sure eldoc can be turned off properly.
9195 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9196 eldoc-mode.
9197 (eldoc-display-message-p): Revert last change.
9198 (eldoc-display-message-no-interference-p)
9199 (eldoc-print-current-symbol-info): Tweak.
9200
2167b7b2
TH
92012013-03-18 Tassilo Horn <tsdh@gnu.org>
9202
9203 * doc-view.el (doc-view-new-window-function): Check the new window
9204 overlay's display property instead the char property of the
9205 buffer's first char. Use `with-selected-window' instead of
9206 `save-window-excursion' with `select-window'.
9207 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9208 display property instead the char property of the buffer's first char.
2167b7b2 9209
982efbcd
PE
92102013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9211
9212 Automate the build of ja-dic.el (Bug#13984).
9213 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9214 from the input, rather than assume that it's been done for us by the
9215 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9216 the current date into a ja-dic.el comment, as that complicates
9217 regression testing.
9218
2fcc7665
SM
92192013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * whitespace.el: Fix double evaluation.
9222 (whitespace-space, whitespace-hspace, whitespace-tab)
9223 (whitespace-newline, whitespace-trailing, whitespace-line)
9224 (whitespace-space-before-tab, whitespace-indentation)
9225 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9226 obsolete defvars.
9227 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9228 (whitespace-color-on): Use a single font-lock-add-keywords call.
9229 Fix double-evaluation of face variables.
9230
67c0a6e6
MA
92312013-03-17 Michael Albinus <michael.albinus@gmx.de>
9232
2fcc7665
SM
9233 * net/tramp-adb.el (tramp-adb-parse-device-names):
9234 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9235 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9236
69489f1d
LL
92372013-03-17 Leo Liu <sdl.web@gmail.com>
9238
9239 Extend eldoc to display info in the mode-line. (Bug#13978)
9240 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9241 (eldoc-mode-line-string): New variable.
9242 (eldoc-minibuffer-message): New function.
9243 (eldoc-message-function): New variable.
9244 (eldoc-message): Use it.
9245 (eldoc-display-message-p)
2fcc7665
SM
9246 (eldoc-display-message-no-interference-p):
9247 Support eldoc-post-insert-mode.
69489f1d
LL
9248
9249 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9250 (eval-expression): Run it.
9251
9c44569e
RW
92522013-03-17 Roland Winkler <winkler@gnu.org>
9253
9254 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9255 strings in the list of return values.
9256
327f1f6f
JB
92572013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9258
9259 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9260 radix before checking for HMS forms.
9261
67ed8fcd
LL
92622013-03-16 Leo Liu <sdl.web@gmail.com>
9263
9264 * progmodes/scheme.el: Add indentation and font-locking for λ.
9265 (Bug#13975)
9266
78be8b64 92672013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9268
9269 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9270 token before point (bug#13942).
9271
78be8b64 92722013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9273
95b43468 9274 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9275
98e775e6
EZ
92762013-03-16 Eli Zaretskii <eliz@gnu.org>
9277
9278 * startup.el (command-line-normalize-file-name): Fix handling of
9279 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9280 <xfq.free@gmail.com> in
9281 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9282
2edd6029
MA
92832013-03-15 Michael Albinus <michael.albinus@gmx.de>
9284
9285 Sync with Tramp 2.2.7.
9286
9287 * net/trampver.el: Update release number.
9288
d35f5864
TH
92892013-03-14 Tassilo Horn <tsdh@gnu.org>
9290
e903c210 9291 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9292 (doc-view-insert-image): Don't modify overlay associated to
9293 non-live windows, and implement horizontal centering of image in
9294 case it's smaller than the window.
9295 (doc-view-new-window-function): Force redisplay of new windows on
9296 doc-view buffers.
d35f5864 9297
1c4a85ed
KF
92982013-03-13 Karl Fogel <kfogel@red-bean.com>
9299
9300 * saveplace.el (save-place-alist-to-file): Don't sort
9301 `save-place-alist', just pretty-print it (bug#13882).
9302
85b66a21
MA
93032013-03-13 Michael Albinus <michael.albinus@gmx.de>
9304
a020afb9
JB
9305 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9306 Check whether `default-file-name-coding-system' is bound.
9307 It isn't in XEmacs.
85b66a21 9308
175600da
SM
93092013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9310
e7f7cb1a
SM
9311 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9312 backquotes for `obsolete' (bug#13929).
9313
175600da
SM
9314 * international/mule.el (find-auto-coding): Include file name in
9315 obsolescence warning (bug#13922).
9316
ca68a22e
TZ
93172013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9318
9319 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9320 for CFEngine 3-specific indentation.
9321 (cfengine3-indent-line): Use it. Fix up category regex.
9322 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9323
940e5099
SM
93242013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * type-break.el (type-break-file-name):
9327 * textmodes/remember.el (remember-data-file):
9328 * strokes.el (strokes-file):
9329 * shadowfile.el (shadow-initialize):
9330 * saveplace.el (save-place-file):
9331 * ps-bdf.el (bdf-cache-file):
9332 * progmodes/idlwave.el (idlwave-config-directory):
9333 * net/quickurl.el (quickurl-url-file):
9334 * international/kkc.el (kkc-init-file-name):
9335 * ido.el (ido-save-directory-list-file):
9336 * emulation/viper.el (viper-custom-file-name):
9337 * emulation/vip.el (vip-startup-file):
9338 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9339 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9340
cc725808
PE
93412013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9342
9343 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9344 * language/thai-word.el: Switch to UTF-8.
9345
a020afb9 9346See ChangeLog.16 for earlier changes.
e3d51b27
MR
9347
9348;; Local Variables:
9349;; coding: utf-8
e3d51b27
MR
9350;; End:
9351
ab422c4d 9352 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9353
9354 This file is part of GNU Emacs.
9355
9356 GNU Emacs is free software: you can redistribute it and/or modify
9357 it under the terms of the GNU General Public License as published by
9358 the Free Software Foundation, either version 3 of the License, or
9359 (at your option) any later version.
9360
9361 GNU Emacs is distributed in the hope that it will be useful,
9362 but WITHOUT ANY WARRANTY; without even the implied warranty of
9363 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9364 GNU General Public License for more details.
9365
9366 You should have received a copy of the GNU General Public License
9367 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.