Comment markup fix
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b0b9e592
GM
12013-11-02 Glenn Morris <rgm@gnu.org>
2
18ba6a33
GM
3 * Makefile.in (EMACS): Use a relative filename.
4 (custom-deps, finder-data, autoloads): Use --chdir.
5
6a8b929e
GM
6 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7
c617f3d0
GM
8 Use relative filenames in TAGS files.
9 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
10 (lisptagsfiles4, TAGS): Use relative file names.
11 (TAGS-LISP): Remove.
12 (maintainer-clean): No more TAGS-LISP file.
13
b0b9e592
GM
14 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15 (lisptagsfiles4): Use absolute filenames again.
16 (TAGS, TAGS-LISP): Not everything needs to run in one line.
17 Remove all *loaddefs files, not just the first. Remove esh-groups.
18 (maintainer-clean): Delete TAGS, TAGS-LISP.
19
d1c0ea6a
BB
202013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
21
22 * emacs-lisp/package.el (package-version-join): Recognize
23 snapshot versions.
24
684d71c6
BB
252013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
26
27 * subr.el (version-regexp-alist): Add support for snapshot versions.
28
3d42b968
DG
292013-11-02 Dmitry Gutov <dgutov@yandex.ru>
30
31 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
32 function, replacement for `smie-rule-parent' for when we want to
33 skip over our direct parent if it's an assignment token..
34 (ruby-smie-rules): Use it.
35
7ffd3721
DG
362013-11-02 Dmitry Gutov <dgutov@yandex.ru>
37
38 * progmodes/ruby-mode.el Use `syntax-propertize-function'
39 unconditionally. Remove now unnecessary forward declarations.
40 Remove XEmacs-specific setup.
41 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
42 (ruby-font-lock-syntactic-keywords)
43 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
44 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
45 (ruby-here-doc-end-syntax): Remove.
46 (ruby-mode): Don't check whether `syntax-propertize-rules' is
47 defined as function.
48
a3996a2e
BB
492013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
50
51 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
52
6f9260e8
BB
532013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
54
55 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
56 table and abbrev table, `define-derived-mode' does that for us
57 anyway.
58
6014de84
GM
592013-11-01 Glenn Morris <rgm@gnu.org>
60
61 * Makefile.in: Remove manual mh-e dependencies (writing .elc
62 files is atomic for some time, so no parallel compilation issues).
63
3c334c14
JD
642013-11-01 Jan Djärv <jan.h.d@swipnet.se>
65
66 * faces.el (face-x-resources): Add :distant-foreground.
67 (region): Use :distant-foreground for gtk and ns.
68
9bc236c8
TH
692013-11-01 Tassilo Horn <tsdh@gnu.org>
70
5246583b 71 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
72 BibTeX.
73 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
74 (reftex-locate-bibliography-files): Us it.
75
d14c81ee
CB
762013-11-01 Claudio Bley <claudio.bley@googlemail.com>
77
0e7690de
CB
78 * image.el (image-type-header-regexps): Fix the 'pbm' part to
79 allow comments in pbm files.
80
d14c81ee
CB
81 * term/w32-win.el (dynamic-library-alist): Support newer versions
82 of libjpeg starting with v7: look only for the DLL from the
83 version against which Emacs was built.
ac1bf374 84 Support versions of libpng beyond 1.4.x.
019c8218 85 Support libtiff v4.x.
d14c81ee 86
983d0df5
BB
872013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
88
89 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
90 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
91 Add property :safe.
92 (ruby-deep-arglist): Add property :type.
93
47f58d85
GM
942013-10-31 Glenn Morris <rgm@gnu.org>
95
96 * Makefile.in (custom-deps, finder-data): No need to setq the target
97 variables, we are in the right directory and the defaults work fine.
98
4f85b479
GM
992013-10-30 Glenn Morris <rgm@gnu.org>
100
ca7dd4cd
GM
101 * Makefile.in (autoloads): Do not use abs_lisp.
102
4f85b479
GM
103 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
104 `newline' does not respect `standard-output', so use `princ'.
105
cf59e41c
AA
1062013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
107
108 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
109 * buff-menu.el (Buffer-menu--unmark): New function.
110 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
111
74cf04fb
GM
1122013-10-30 Glenn Morris <rgm@gnu.org>
113
b040b60e
GM
114 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
115
f53d3815
GM
116 * emacs-lisp/package.el (lm-homepage): Declare.
117
5413d873
GM
118 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
119 Fix doc typos.
120
cecedb36
GM
121 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
122
74cf04fb
GM
123 * Makefile.in (finder-data, autoloads, update-subdirs)
124 (compile-main, compile-clean, compile-always, bootstrap-clean):
125 Check return value of cd.
126 (compile-calc): Remove.
127
195ee2f0
SM
1282013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
129
ae4002ce
SM
130 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
131
132 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
133 (byte-compile-and-folded): New function.
134 (=, <, >, <=, >=): Use it.
135
136 * dos-w32.el (minibuffer-history-case-insensitive-variables)
137 (path-separator, null-device, buffer-file-coding-system)
138 (lpr-headers-switches): Check system-type before modifying them.
139 (find-buffer-file-type-coding-system): Mark obsolete.
140 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
141 find-file-not-found-set-buffer-file-coding-system.
142 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
143 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
144 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
145 (w32-direct-print-region-helper, w32-direct-print-region-function)
146 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
147 * startup.el (normal-top-level-add-subdirs-to-load-path):
148 * ps-print.el (ps-print-region-function):
149 * lpr.el (print-region-function): Use new name.
150
53b39e89
SM
151 * subr.el (custom-declare-variable-early): Remove function.
152 (custom-declare-variable-list): Remove var.
153 (error, user-error): Remove `while' loop.
154 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
155 (user-emacs-directory-warning, locate-user-emacs-file):
156 Move to files.el.
157 * simple.el (read-quoted-char-radix, read-quoted-char):
158 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
159 Move from subr.el.
160 * custom.el (custom-declare-variable-list): Don't process
161 custom-declare-variable-list.
162
195ee2f0
SM
163 * progmodes/python.el (python-shell-get-buffer): New function.
164 (python-shell-get-process): Use it.
165 (python-shell-send-string): Always use utf-8 and add a cookie to tell
166 Python which encoding was used. Don't split-string since we only care
167 about the first line. Return the temp-file, if applicable.
168 (python-shell-send-region): Tell compile.el how to turn locations in
169 the temp-file into locations in the source buffer.
170
7e3561ee
SM
1712013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
172
4c9797cb
SM
173 * subr.el (undefined): Add missing behavior from the C code for
174 unbound keys.
175
3472b6c6
SM
176 * rect.el: Use lexical-binding. Add new rectangular region support.
177 (rectangle-mark): New command.
178 (rectangle--region): New var.
179 (deactivate-mark-hook): Reset rectangle--region.
180 (rectangle--extract-region, rectangle--insert-for-yank)
181 (rectangle--highlight-for-redisplay)
182 (rectangle--unhighlight-for-redisplay): New functions.
183 (region-extract-function, redisplay-unhighlight-region-function)
184 (redisplay-highlight-region-function): Use them to handle
185 rectangular region.
186 * simple.el (region-extract-function): New var.
187 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
188 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
189 (kill-region): Replace obsolete `yank-handler' arg with `region'.
190 (copy-region-as-kill, kill-ring-save): Add `region' argument.
191 (redisplay-unhighlight-region-function)
192 (redisplay-highlight-region-function): New vars.
193 (redisplay--update-region-highlight): New function.
194 (pre-redisplay-function): Use it.
195 (exchange-point-and-mark): Don't deactivate the mark before
196 reactivate-it anyway.
197 * comint.el (comint-kill-region): Remove yank-handler argument.
198 * delsel.el (delete-backward-char, backward-delete-char-untabify)
199 (delete-char): Remove property, since it's now part of their
200 default behavior.
201 (self-insert-iso): Remove property since this command doesn't exist.
202
7e3561ee
SM
203 * emacs-lisp/package.el (package--download-one-archive)
204 (describe-package-1): Don't query the user about final newline.
205
b9bef71f
DC
2062013-10-29 Daniel Colascione <dancol@dancol.org>
207
208 * net/tramp.el (tramp-methods): Document new functionality.
209 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
210 tramp-hostname-checker if method provides one instead of scanning
211 argument list for "%h" to decide hostname acceptability.
212
4efc33f0
MA
2132013-10-28 Michael Albinus <michael.albinus@gmx.de>
214
215 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
216 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
217 Handle COPY-CONTENTS. (Bug#15737)
218
ed42a877
DU
2192013-10-28 Daiki Ueno <ueno@gnu.org>
220
221 * epa-file.el
7e3561ee
SM
222 (epa-file-cache-passphrase-for-symmetric-encryption):
223 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 224
18c9f8a2
XF
2252013-10-27 Xue Fuqiao <xfq.free@gmail.com>
226
7a4bc7be
XF
227 * image.el (defimage):
228 (image-load-path): Doc fixes.
18c9f8a2 229
b1e8e010
AM
2302013-10-27 Alan Mackenzie <acm@muc.de>
231
232 Indent statements in macros following "##" correctly.
7e3561ee
SM
233 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
234 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 235
73d40d1e 2362013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
237
238 * linum.el (linum-update-window): Fix boundary test (bug#13446).
239
c8c605ac
DG
2402013-10-27 Dmitry Gutov <dgutov@yandex.ru>
241
242 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
243 after `=' is probably a new expression.
244
ca7e59d4
RS
2452013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
246
247 * man.el (man-imenu-title): New option.
248 (Man-mode-map): Add menu. (Bug#15722)
249 (Man-mode): Add imenu to menu.
250
bae91342
DG
2512013-10-26 Dmitry Gutov <dgutov@yandex.ru>
252
253 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
254 specific in what the first arg can be: a non-keyword word,
255 string/regexp/percent literal opener, opening paren, or unary
256 operator followed directly by word.
257
eb89dc14
SM
2582013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
261 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
262 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
263 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
264 Remove vars, they do not apply any more.
265 (prolog-mode-abbrev-table): Remove redundant declaration.
266 (prolog-upper-case-string, prolog-lower-case-string): Remove.
267 (prolog-use-smie): Remove.
268 (prolog-smie-rules): Add indentation rule for the if-then-else layout
269 supported by prolog-electric-if-then-else-flag.
270 (prolog-mode-variables, prolog-menu): Use setq-local.
271 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
272 Remove binding to `Backspace' since this key doesn't exist anyway.
273 Remove bindings for electric self-inserting keys.
274 (prog-mode): Assume it's defined.
275 (prolog-post-self-insert): New function.
276 (prolog-mode): Use it.
277 (prolog-indent-line, prolog-indent-level)
278 (prolog-find-indent-of-matching-paren)
279 (prolog-indentation-level-of-line, prolog-goto-comment-column)
280 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
281 (prolog-goto-next-paren, prolog-in-string-or-comment)
282 (prolog-tokenize, prolog-inside-mline-comment)
283 (prolog-find-start-of-mline-comment): Remove functions.
284 (prolog-find-unmatched-paren, prolog-clause-end)
285 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
286 (prolog-electric--if-then-else): Rename from
287 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
288 (prolog-tokenize-searchkey): Remove const.
289 (prolog-clause-info): Use forward-sexp.
290 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
291 (prolog-electric-if-then-else): Remove commands.
292 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
293 for use in post-self-insert-hook.
294 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
295 for use in post-self-insert-hook.
296 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
297 for use in post-self-insert-hook.
298 (prolog-electric--underscore): Rename from prolog-electric--underscore;
299 adapt it for use in post-self-insert-hook.
300
3dab0a83
MA
3012013-10-25 Michael Albinus <michael.albinus@gmx.de>
302
303 * emacs-lisp/ert.el (ert-run-tests-interactively):
304 Use `completing-read'. (Bug#9756)
305
fbfd0e1d
EZ
3062013-10-25 Eli Zaretskii <eliz@gnu.org>
307
308 * simple.el (line-move): Call line-move-1 instead of
309 line-move-visual when the current window hscroll is zero, but
310 temporary-goal-column indicates we will need to hscroll as result
311 of the movement. (Bug#15712)
312
963ce636
DG
3132013-10-25 Dmitry Gutov <dgutov@yandex.ru>
314
315 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
316 capitalization. Use :visible instead of :active.
317 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
318 commands that are used with SMIE.
319 (ruby-do-end-to-brace): Insert space after `{'.
320
a0be396a
JA
3212013-10-25 John Anthony <john@jo.hnanthony.com>
322
f73754c9
JA
323 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
324
325 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 326
f5bf77df
GM
3272013-10-25 Glenn Morris <rgm@gnu.org>
328
329 * vc/vc.el (vc-print-log): Don't use a working revision unless
330 one was explicitly specified. (Bug#15322)
331
37241f62
SM
3322013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * subr.el (add-to-list): Preserve return value in compiler-macro
335 (bug#15692).
336
6408a65d
RS
3372013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
338
339 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
340 result. Ask user to retry using '-all' flag. (Bug#15701)
341
71e3276b
SM
3422013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * emacs-lisp/smie.el: New smie-config system.
345 (smie-config): New defcustom.
346 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
347 (smie-config-guess, smie-config-save): New commands.
348 (smie-config--mode-local, smie-config--buffer-local)
349 (smie-config--trace, smie-config--modefuns): New vars.
350 (smie-config--advice, smie-config--mode-hook)
351 (smie-config--setter, smie-config-local, smie-config--get-trace)
352 (smie-config--guess-value, smie-config--guess): New functions.
353 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
354 text properties. Treat "string fence" syntax like string syntax.
355
356 * progmodes/sh-script.el (sh-use-smie): Change default.
357 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
358 (sh-var-value): Simplify by CSE.
359 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
360 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
361 is used.
362 (sh-guess-basic-offset): Use cl-incf.
363 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
364
60db713e
HE
3652013-10-24 Helmut Eller <eller.helmut@gmail.com>
366
367 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
368 (bug#15699).
369
8b251df6
GM
3702013-10-24 Glenn Morris <rgm@gnu.org>
371
372 * Makefile.in (abs_top_srcdir): Remove.
373 (update-subdirs): Use relative path to update-subdirs.
374
6be0e22b
EZ
3752013-10-24 Eli Zaretskii <eliz@gnu.org>
376
377 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
378 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
379 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
380 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 381
50b5b857
MA
3822013-10-24 Michael Albinus <michael.albinus@gmx.de>
383
384 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
385 (ert-test-skipped): New error.
386 (ert-skip, ert-stats-skipped): New defuns.
387 (ert--skip-unless): New macro.
388 (ert-test-skipped): New struct.
389 (ert--run-test-debugger, ert-test-result-type-p)
390 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
391 (ert--stats-set-test-and-result, ert-char-for-test-result)
392 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 393 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 394 Handle skipped tests. (Bug#9803)
50b5b857 395
6f317c2f
GM
3962013-10-24 Glenn Morris <rgm@gnu.org>
397
e43817c1
GM
398 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
399
6f317c2f
GM
400 * Makefile.in (abs_top_srcdir): New, set by configure.
401 (update-subdirs): Correct build-aux location.
402
369bbf71
DG
4032013-10-24 Dmitry Gutov <dgutov@yandex.ru>
404
8297b2cf
DG
405 * vc/vc.el (vc-print-root-log): Always set `default-directory'
406 value, whether we could auto-deduce `backend', or not.
407
369bbf71
DG
408 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
409 with parameters" example. Simplify the "is it block or is it
410 hash" check, but also make it more thorough.
411
d5f1282f
MF
4122013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
413
414 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
415
bc4aaa31
SM
4162013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
417
03d44565
SM
418 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
419 { if it is hanging.
420
bc4aaa31
SM
421 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
422 :before ";".
423
f493ff19
JB
4242013-10-23 Jed Brown <jed@59A2.org> (tiny change)
425
426 * progmodes/compile.el (compilation-directory-matcher)
427 (compilation-page-delimiter):
428 Support GNU Make-4.0 directory quoting. (Bug#15678)
429
c744a3b9
LL
4302013-10-23 Leo Liu <sdl.web@gmail.com>
431
432 * ido.el (ido-tidy): Handle read-only text.
433
b8e3b0a9
GM
4342013-10-23 Glenn Morris <rgm@gnu.org>
435
436 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
437 (emacs, compile, compile-always):
438 Quote entities that might contain whitespace.
439 (custom-deps, finder-data, autoloads): Use abs_lisp.
440 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
441 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
442 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
443
ee4282cd
DG
4442013-10-23 Dmitry Gutov <dgutov@yandex.ru>
445
bc4aaa31
SM
446 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
447 Use `following-char'.
7790a270 448
ee4282cd 4492013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
450
451 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
452 * progmodes/ruby-mode.el (ruby-smie-rules):
453 Remove corresponding workaround. Fix indentation rule of ";" so it
454 also applies when ";" is the parent.
455
d40a46d7
XF
4562013-10-22 Xue Fuqiao <xfq.free@gmail.com>
457
458 * frame.el (display-screens, display-pixel-height)
459 (display-pixel-width, display-mm-width, display-backing-store)
460 (display-save-under, display-planes, display-color-cells)
7790a270
SM
461 (display-visual-class, display-monitor-attributes-list):
462 Mention the optional ‘display’ argument in doc strings.
d40a46d7 463
a0f143c9
MG
4642013-10-22 Michael Gauland <mikelygee@amuri.net>
465
466 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
467 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
468
18cacc39
DG
4692013-10-21 Dmitry Gutov <dgutov@yandex.ru>
470
471 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
472 TODO. Add "." after " @ ".
473 (ruby-smie--at-dot-call): New function. Checks if point at method
474 call with explicit target.
475 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
476 to the method name tokens when it precedes them.
477 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
478 (ruby-smie-rules): Add rule for indentation before and after "."
479 token.
480
df74c4be
SM
4812013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
482
c6dab55f
SM
483 * textmodes/remember.el (remember-diary-extract-entries):
484 Avoid add-to-list.
485
df74c4be
SM
486 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
487 an instruction.
488
8c1ae481
DG
4892013-10-21 Dmitry Gutov <dgutov@yandex.ru>
490
cfef16c0
DG
491 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
492 (ruby-smie--implicit-semi-p): Add new operator chars.
493
8c1ae481
DG
494 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
495 `smie-down-list'.
496 (ruby-smie--args-separator-p): Check that there's no newline
497 between method call and its arguments.
498
87756ca9
AM
4992013-10-20 Alan Mackenzie <acm@muc.de>
500
501 Allow comma separated lists after Java "implements".
502
df74c4be
SM
503 * progmodes/cc-engine.el (c-backward-over-enum-header):
504 Parse commas.
87756ca9
AM
505 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
506 from a "disallowed" list in enum fontification.
507
c25f8957
JB
5082013-10-20 Johan Bockgård <bojohan@gnu.org>
509
df74c4be 510 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 511
c25f8957
JB
512 * progmodes/verilog-mode.el (verilog-mode): Don't set
513 comment-indent-function globally.
514
aca5fcdc
JD
5152013-10-20 Jan Djärv <jan.h.d@swipnet.se>
516
5f161884
JD
517 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
518 Move Info menu item creation to ns-win.el.
519
520 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
521 in menu bar.
522
aca5fcdc
JD
523 * menu-bar.el: Move GNUStep specific menus...
524
525 * term/ns-win.el (ns-initialize-window-system): ... to here.
526
914b7f98
SM
5272013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * simple.el (newline): Only run post-self-insert-hook when
530 called interactively.
531
846ffe77
JB
5322013-10-19 Johan Bockgård <bojohan@gnu.org>
533
534 * icomplete.el (icomplete-with-completion-tables): Add :version.
535
033f22dd
AM
5362013-10-19 Alan Mackenzie <acm@muc.de>
537
538 Fix fontification bugs with constructors and const.
539
540 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
541 CASE 2) Remove the check for the absence of a suffix construct
542 after a function declaration with only types (no identifiers) in
543 the parentheses. Also, accept a function declaration with just a
544 type inside the parentheses, if this type can be positively
545 recognised as such, or if a prefix keyword like "explicit" nails
546 down the construct as a declaration.
547
58ce0cfc
EZ
5482013-10-19 Eli Zaretskii <eliz@gnu.org>
549
550 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
551 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
552 the problem whereby selecting a menu item that leads to a
553 minibuffer prompt moves the cursor out of the minibuffer window,
554 making it hard to type at the prompt. Suggested by Stefan Monnier
555 <monnier@iro.umontreal.ca>.
556
50e28e7d
JD
5572013-10-19 Jan Djärv <jan.h.d@swipnet.se>
558
559 * menu-bar.el: Don't make Services menu.
560
7deed4bf
RS
5612013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
562
563 * ffap.el: Handle "/usr/include/c++/<version>" directories.
564 (ffap-alist): Use ffap-c++-mode for c++-mode.
565 (ffap-c++-path): New variable.
566 (ffap-c++-mode): New function.
567
7bcb455b
JVJ
5682013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
569
570 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
571
f0ff1cd5
MA
5722013-10-18 Michael Albinus <michael.albinus@gmx.de>
573
574 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
575 introduced on 2013-09-08, which results in an infinite loop
576 requesting a password.
577
d64da4b7
GM
5782013-10-18 Glenn Morris <rgm@gnu.org>
579
580 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
581
ea89ff08
WS
5822013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
583
584 Sync with upstream verilog-mode revision 1a6ecec7.
585 * progmodes/verilog-mode.el (verilog-mode-version): Update.
586 (verilog-mode-release-date): Remove.
587 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
588 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
589 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
590 (verilog-auto-tieoff-ignore-regexp)
591 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
592 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
593 (verilog-signals-with, verilog-dir-cache-preserving)
594 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
595 Doc fixes.
596 (verilog-case-fold): New option, to control case folding in
597 regexp searches, bug597.
598 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
599 (verilog-string-match-fold, verilog-in-paren-count)
600 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
601 (verilog-at-close-struct-p): New functions.
602 (verilog-beg-block-re-ordered, verilog-extended-case-re)
603 (verilog-forward-sexp, verilog-set-auto-endcomments):
604 (verilog-leap-to-case-head): Handle "unique0" case.
605 (verilog-in-constraint-re): New constant.
606 (verilog-keywords, verilog-type-font-keywords):
607 Add some SystemVerilog 1800-2012 keywords.
608 (verilog-label-be): Remove unimplemented argument, bug669.
609 (verilog-batch-execute-func): When batch expanding clear
610 create-lockfiles to prevent spurious user locks when a file ends
611 up not changing.
612 (verilog-calculate-indent, verilog-calc-1)
613 (verilog-at-close-constraint-p, verilog-at-constraint-p)
614 (verilog-do-indent): Fix indentation of nested constraints
615 and structures.
616 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
617 (verilog-auto-inst-param): Use verilog-string-match-fold.
618 (verilog-read-inst-module-matcher):
619 Fix AUTOINST on gate primitives with #1.
620 (verilog-read-decls): Fix double-declaring user-defined typed signals.
621 Reads all user-defined typed variables.
622 (verilog-read-defines): Fix reading definitions inside comments, bug647.
623 (verilog-signals-matching-regexp)
624 (verilog-signals-not-matching-regexp, verilog-auto):
625 Respect verilog-case-fold.
626 (verilog-diff-report): Fix line count.
627 (verilog-auto-assign-modport): Remove unused local `modi'.
628 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
629 better handle multidimensional arrays.
630 Fix packed array ports misadding bit index in AUTOINST, bug637.
631 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
632 to not double-declare existing outputs and inputs, respectively.
633 (verilog-template-map): Bind U to verilog-sk-uvm-component.
634 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
635 (verilog-sk-uvm-component): New skeleton.
636 (verilog-submit-bug-report): Add verilog-case-fold,
637 remove verilog-mode-release-date.
638
ef566920
BR
6392013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
640
641 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
642 as before.
643
29df8a0b
RT
6442013-10-18 Reuben Thomas <rrt@sc3d.org>
645
646 * textmodes/remember.el (remember): set buffer-offer-save in
647 remember buffers (bug#13566).
648
04a19a79
DC
6492013-10-18 Daniel Colascione <dancol@dancol.org>
650
651 When evaluating forms in ielm, direct standard output to ielm
652 buffer. Add new ielm-return-for-effect command. Remove trailing
653 whitespace throughout.
654
655 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
656 (ielm-return-for-effect): New command.
657 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
658 (ielm-eval-input): Accept optional `for-effect' parameter.
659 Bind `standard-output' to stream we create using
04a19a79
DC
660 `ielm-standard-output-impl'. Suppress printing result when
661 `for-effect'.
662 (ielm-standard-output-impl): New function.
663 (inferior-emacs-lisp-mode): Explain new features in documentation.
664
4c1f03ef
MA
6652013-10-17 Michael Albinus <michael.albinus@gmx.de>
666
667 Code cleanup.
668
669 * net/tramp.el (tramp-debug-message): Do not check for connection
670 buffer.
671 (tramp-message): Use "vector" connection property.
672
673 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
674 (tramp-equal-remote, tramp-eshell-directory-change)
675 * net/tramp-adb.el (tramp-adb-handle-copy-file)
676 (tramp-adb-handle-rename-file)
677 * net/tramp-cmds.el (tramp-list-remote-buffers)
678 (tramp-cleanup-connection, tramp-cleanup-this-connection)
679 * net/tramp-compat.el (tramp-compat-process-running-p)
680 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
681 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
682 (tramp-gvfs-handle-rename-file)
683 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
684 (tramp-set-file-uid-gid)
685 * net/tramp-smb.el (tramp-smb-handle-copy-file)
686 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
687 of `file-remote-p'.
688
689 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
690 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
691 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
692 (tramp-gw-open-network-stream): Suppress unrelated traces.
693
694 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
695 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
696 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
697 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
698 connection property.
699
700 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 701 persistency file.
4c1f03ef
MA
702
703 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
704 Refactor common code. Improve debug message.
705 (tramp-maybe-open-connection)
706 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
707 connection buffer too early.
708
709 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
710 from `tramp-smb-actions-with-acl'.
711 (tramp-smb-actions-set-acl): New defconst.
712 (tramp-smb-handle-copy-directory)
713 (tramp-smb-action-get-acl): New defun, renamed from
714 `tramp-smb-action-with-acl'.
715 (tramp-smb-action-set-acl): New defun.
716 (tramp-smb-handle-set-file-acl): Rewrite.
717
642eb8b6
GM
7182013-10-17 Glenn Morris <rgm@gnu.org>
719
720 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
721
85527ff3
SM
7222013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
723
921c1d62
SM
724 * skeleton.el (skeleton-newline): Remove.
725 (skeleton-internal-1): Use (insert "\n") instead.
726
e333fb10
SM
727 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
728 let-bindings.
729
85527ff3
SM
730 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
731 forward-sexp-function while we redo its job (bug#15613).
732
c8722a97
JB
7332013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
734
735 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
736 represented by lists.
737
7a550bbb
GM
7382013-10-16 Glenn Morris <rgm@gnu.org>
739
740 * tmm.el (tmm--history): New dynamic variable.
741 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
742
f19da8ad
MA
7432013-10-16 Michael Albinus <michael.albinus@gmx.de>
744
745 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
746 (tramp-smb-errors): Add error messages.
747 (tramp-smb-actions-with-acl): New defconst.
748 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
749 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
750 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
751 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
752 (tramp-smb-get-stat-capability): Fix tests.
753
a24b9961
DK
7542013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
755
756 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
757 (bug#15580).
758
62ad85e6
GM
7592013-10-16 Glenn Morris <rgm@gnu.org>
760
0283d6b0
GM
761 * ansi-color.el (ansi-color-drop-regexp):
762 Add 1J, 1K, 2K. (Bug#15617)
763
012e2f9f
GM
764 * files.el (hack-local-variables--warned-lexical): New.
765 (hack-local-variables):
766 Warn about misplaced lexical-binding. (Bug#15616)
767
62ad85e6
GM
768 * net/eww.el (eww-render): Always set eww-current-url,
769 and update header line. (Bug#15622)
770 (eww-display-html): ... Rather than just doing it here.
771
6456c0ea
EZ
7722013-10-15 Eli Zaretskii <eliz@gnu.org>
773
774 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
775 menu navigations commands.
776
c2de5588
DK
7772013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
778
779 * progmodes/subword.el (subword-capitalize): Be careful when
780 the search for [[:alpha:]] fails (bug#15580).
781
ccd4a783
EZ
7822013-10-14 Eli Zaretskii <eliz@gnu.org>
783
784 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
785 to commands that scroll the menu.
786
1eda1d8d
DG
7872013-10-14 Dmitry Gutov <dgutov@yandex.ru>
788
c2de5588
DK
789 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
790 Handle methods ending with `?' and `!'.
1eda1d8d 791
e70181b8
AM
7922013-10-14 Akinori MUSHA <knu@iDaemons.org>
793
794 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
795 `japanese-cp932' to `cp932' to fix the problem where saving a
796 source file written in Shift_JIS twice would end up having
797 `coding: japanese-cp932' which Ruby could not recognize.
798 (ruby-mode-set-encoding): Add support for encodings mapped to nil
799 in `ruby-encoding-map'.
800 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
801 doesn't need to be explicitly declared in magic comment.
802 (ruby-encoding-map): Add type declaration for better customize UI.
803
9148ee92
GM
8042013-10-13 Glenn Morris <rgm@gnu.org>
805
a5d38e34
GM
806 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
807 Occur buffers are read-only. http://bugs.debian.org/720775
808
9148ee92
GM
809 * emacs-lisp/authors.el (authors-fixed-entries):
810 Comment out old alpha stuff.
811
a9ba094b
DG
8122013-10-13 Dmitry Gutov <dgutov@yandex.ru>
813
814 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
815 to `after-save-hook' instead of `before-save-hook'.
816 (ruby-mode-set-encoding): Use the value of coding system used to
817 write the file. Call `basic-save-buffer-1' after modifying the
818 buffer.
819
7a068717
AM
8202013-10-13 Alan Mackenzie <acm@muc.de>
821
822 Fix indentation/fontification of Java enum with
823 "implements"/generic.
824
c2de5588
DK
825 * progmodes/cc-engine.el (c-backward-over-enum-header):
826 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
827 (c-inside-bracelist-p): Uses new function above.
828 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
829 function above.
830 (c-font-lock-enum-tail): Uses new function above.
831
85b64f02
KH
8322013-10-13 Kenichi Handa <handa@gnu.org>
833
834 * international/mule-cmds.el (select-safe-coding-system): Remove a
835 superfluous condition in chekcing whether a coding system is safe
836 or not.
837
fc7f501b
OK
8382013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
839
840 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
841
fdcb2049
AP
8422013-10-13 Andreas Politz <politza@hochschule-trier.de>
843
844 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
845
8c106d17
GM
8462013-10-13 Glenn Morris <rgm@gnu.org>
847
feab892d
GM
848 * menu-bar.el (menu-bar-update-buffers):
849 Unify Buffers menu prompt string. (Bug#15576)
850
b22d0686
GM
851 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
852
8c106d17
GM
853 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
854 Add some entries.
855 (authors-fixed-entries): Use accented form of name.
856
1b12c797
SM
8572013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
858
650fa7bf 859 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 860 method calls (bug#15594).
650fa7bf
SM
861 (ruby-smie--args-separator-p): New function.
862 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
863 recognize paren-free method calls.
864
1b12c797
SM
865 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
866 internals of universal-argument.
867
029619c8
EZ
8682013-10-11 Eli Zaretskii <eliz@gnu.org>
869
870 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
871 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
872 dropped menu on second mouse click on the menu bar.
029619c8 873
dd070019
SM
8742013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
877 (explicit-shell-file-name): Declare.
878 (sh--vars-before-point, sh--cmd-completion-table): New functions.
879 (sh-completion-at-point-function): New function.
880 (sh-mode): Use it.
881 (sh-smie--keyword-p): Remove unused argument.
882 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
883 vars.
884 (sh-set-shell): Always setup SMIE, even if we use the
885 old indentation code.
886
0922b826
DG
8872013-10-11 Dmitry Gutov <dgutov@yandex.ru>
888
b68e2926
DG
889 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
890 cases of ? and =.
891 (ruby-smie-rules): Simplify the "do" rule. The cases when the
892 predicate would return nil are almost non-existent.
893 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
894
0922b826
DG
895 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
896 cache also after commands that modify the buffer but don't move
897 point.
898
ee041f2d
SM
8992013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * env.el (substitute-env-in-file-name): New function.
902 (substitute-env-vars): Extend the meaning of the optional arg.
903
a5dab159
EZ
9042013-10-10 Eli Zaretskii <eliz@gnu.org>
905
906 * term/w32-win.el (dynamic-library-alist): Define separate lists
907 of GIF DLLs for versions before and after 5.0.0 of giflib.
908 (Bug#15531)
909
db138698
JT
9102013-10-10 João Távora <joaotavora@gmail.com>
911
912 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
913 not locked, use last revision and current source as
914 defaults. (Bug#15569)
915
2f6e161e
MY
9162013-10-10 Masatake YAMATO <yamato@redhat.com>
917
918 * menu-bar.el (menu-bar-open): Don't use popup-menu if
919 menu-bar is hidden.
920
6c8413fc
MR
9212013-10-10 Martin Rudalics <rudalics@gmx.at>
922
923 * window.el (pop-to-buffer-same-window): Fix doc-string.
924 (Bug#15492)
925
20832de0
SM
9262013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
929
c6e8ae77
AC
9302013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
931
932 * calendar/icalendar.el (icalendar-import-file):
933 Fix interactive spec. (Bug#15482)
934
9db13baf
GM
9352013-10-10 Glenn Morris <rgm@gnu.org>
936
9271e90e
GM
937 * desktop.el (desktop-save): Default to saving in .emacs.d,
938 since PWD is no longer in desktop-path by default. (Bug#15319)
939
9db13baf
GM
940 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
941 now that text mode has a menu with the same entry.
942 (menu-bar-text-mode-auto-fill): Remove now unused func.
943 * textmodes/text-mode.el (text-mode-map):
944 Use auto-fill help text from menu-bar.el.
945
a0be396a 9462013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
947
948 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
949
2edcd3c7
JL
9502013-10-09 Juri Linkov <juri@jurta.org>
951
952 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
953 instead of this-command-keys. Add universal-argument-more and
954 universal-argument-minus to the list of prefix commands. (Bug#15568)
955
574411d0
GM
9562013-10-09 Glenn Morris <rgm@gnu.org>
957
14afa541
GM
958 * vc/vc-svn.el (vc-svn-create-repo):
959 Expand paths in file://... url. (Bug#15446)
960
574411d0
GM
961 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
962 Add some entries.
963 (authors): Remove unused local variables.
964
79804536
SM
9652013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * profiler.el: Create a more coherent calltree from partial backtraces.
968 (profiler-format): Hide the tail with `invisible' so that C-s can still
969 find the hidden elements.
970 (profiler-calltree-depth): Don't recurse so enthusiastically.
971 (profiler-function-equal): New hash-table-test.
972 (profiler-calltree-build-unified): New function.
973 (profiler-calltree-build): Use it.
974 (profiler-report-make-name-part): Indent the calltree less.
975 (profiler-report-mode): Add visibility specs for profiler-format.
976 (profiler-report-expand-entry, profiler-report-toggle-entry):
977 Expand the whole subtree when provided with a prefix arg.
978
238150c8
DG
9792013-10-09 Dmitry Gutov <dgutov@yandex.ru>
980
981 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
982 iuwu-mod token.
983 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
984 hanging iuwu-mod token.
985 (ruby-smie--forward-token): Do not include a dot after a token in
986 that token.
987 (ruby-smie--backward-token): Likewise.
988
b0949cc4
JL
9892013-10-08 Juri Linkov <juri@jurta.org>
990
991 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
992 to isearch-other-control-char.
993 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
994 and isearch-post-command-hook to post-command-hook.
995 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
996 and isearch-post-command-hook from post-command-hook.
997 (isearch-unread-key-sequence)
998 (isearch-reread-key-sequence-naturally)
999 (isearch-lookup-scroll-key, isearch-other-control-char)
1000 (isearch-other-meta-char): Remove functions.
1001 (isearch-pre-command-hook, isearch-post-command-hook):
1002 New functions based on isearch-other-meta-char rewritten
1003 relying on the new behavior of overriding-terminal-local-map
1004 that does not replace the local keymaps any more. (Bug#15200)
1005
4ed77415
EZ
10062013-10-08 Eli Zaretskii <eliz@gnu.org>
1007
1008 Support menus on text-mode terminals.
1009 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1010 functionality.
1011
1012 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1013
c2de5588
DK
1014 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1015 Move here from mouse.el.
4ed77415
EZ
1016 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1017 and arrow keys.
1018 (tty-menu-navigation-map): New map for TTY menu navigation.
1019
1020 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1021
1022 * frame.el (display-mouse-p): Report text-mode mouse as available
1023 on w32.
1024 (display-popup-menus-p): Report availability if mouse is
1025 available; don't condition on window-system.
1026
1027 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1028 (tty-menu-selected-face): New faces.
1029
b7d5bd82
TL
10302013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1031
06286513
SM
1032 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1033 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1034 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1035 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1036 New constants.
1037 (lisp-mode-variables): New `elisp' argument.
1038 (emacs-lisp-mode): Use it.
1039 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1040 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1041
b7d5bd82
TL
1042 * indent.el: Use lexical-binding.
1043 (indent-region): Add progress reporter.
1044 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1045 last step.
1046 (indent--next-tab-stop): New function to implement this behavior.
1047 (tab-to-tab-stop, move-to-tab-stop): Use it.
1048
10492013-10-08 Teemu Likonen <tlikonen@iki.fi>
1050
1051 * indent.el (indent-rigidly--current-indentation): New function.
1052 (indent-rigidly-map): New var.
1053 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1054
5ea75d23
BG
10552013-10-08 Bastien Guerry <bzg@gnu.org>
1056
1057 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1058
cc5da1ec
SM
10592013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1060
8ffa1a0b
SM
1061 * progmodes/perl-mode.el: Use lexical-binding.
1062 Remove redundant :group args.
1063 (perl-nochange): Change default to be closer to other major modes's
1064 standard behavior.
1065 (perl-indent-line): Don't consider text on current line as a
1066 valid beginning of function from which to indent.
1067
f2223371
SM
1068 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1069 with more than one argument (bug#15538).
1070
44256060
SM
1071 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1072
cc5da1ec
SM
1073 * vc/pcvs.el: Use lexical-binding.
1074 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1075 environment of `eval'.
1076 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1077 than a list of expressions. Adjust callers.
1078 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1079
0ea1599d
DG
10802013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1081
1082 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1083 case of the dot in a chained method call being on the following line.
0ea1599d 1084
da3e5ebb
SM
10852013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1086
2abb4e65
SM
1087 * electric.el (electric-indent-inhibit): New var.
1088 (electric-indent-post-self-insert-function): Use it.
1089 * progmodes/python.el (python-mode): Set it.
1090
d2e0e795
SM
1091 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1092 open braces.
1093
1094 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1095
bdc6b4c8
SM
1096 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1097 (css-mode): Use electric-indent-chars.
1098
da3e5ebb
SM
1099 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1100 (font-lock-beg, font-lock-end): Move before first use.
1101 (nxml-mode): Use syntax-propertize-function.
1102 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1103 (nxml-extend-after-change-region): Remove.
1104 * nxml/xmltok.el: Use lexical-binding.
1105 (xmltok-save): Use `declare'.
1106 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1107 * nxml/nxml-util.el: Use lexical-binding.
1108 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1109 Use `declare'.
1110 * nxml/nxml-ns.el: Use lexical-binding.
1111 (nxml-ns-save): Use `declare'.
1112 (nxml-ns-prefixes-for): Avoid add-to-list.
1113 * nxml/rng-match.el: Use lexical-binding.
1114 (rng--ipattern): Use cl-defstruct.
1115 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1116 (rng-cons-group-after, rng-subst-group-after)
1117 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1118 Use closures instead of `(lambda...).
1119
f8f91d5d
MA
11202013-10-07 Michael Albinus <michael.albinus@gmx.de>
1121
1122 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1123 of BEG and END.
1124
da3e5ebb
SM
1125 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1126 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1127 (tramp-gvfs-handle-insert-file-contents): Remove function.
1128
da3e5ebb
SM
1129 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1130 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1131
1132 * net/trampver.el: Update release number.
1133
7ccae3b1
SM
11342013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1135
55ca2c0d
SM
1136 * progmodes/compile.el (compilation-parse-errors):
1137 Use compilation--put-prop.
1138 (compilation--ensure-parse): Check compilation-multiline.
1139
731fc3ae
SM
1140 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1141
da3e5ebb
SM
1142 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1143 lexical-binding.
a5833280 1144
2e7ba2c2
SM
1145 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1146
7ccae3b1
SM
1147 * progmodes/ruby-mode.el: Fix recently added tests.
1148 (ruby-smie-grammar): Add - and +.
1149 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1150 (ruby-smie--backward-id): New functions.
1151 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1152 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1153 any more.
1154
85698d63
LL
11552013-10-07 Leo Liu <sdl.web@gmail.com>
1156
1157 * register.el (register-preview-delay)
1158 (register-preview-functions): New variables.
1159 (register-read-with-preview, register-preview)
1160 (register-describe-oneline): New functions.
1161 (point-to-register, window-configuration-to-register)
1162 (frame-configuration-to-register, jump-to-register)
1163 (number-to-register, view-register, insert-register)
1164 (copy-to-register, append-to-register, prepend-to-register)
1165 (copy-rectangle-to-register): Use register-read-with-preview to
1166 read register. (Bug#15525)
1167
3986af6c
DS
11682013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1169
1170 * net/network-stream.el (network-stream-open-starttls): Don't add
1171 --insecure if it's already present, because that gnutls-cli
1172 rejects getting that parameter twice.
1173
5cd9cda9
DG
11742013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1175
1176 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1177 keyword, too.
1178
da9ea6d9
DG
11792013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * newcomment.el (comment-use-global-state): Change default value
1182 to t, mark obsolete (Bug#15251).
1183 (comment-beginning): In addition to `comment-to-syntax', check the
1184 value of `comment-use-global-state'.
1185
34d1a133
SM
11862013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1189 (ruby-comment-column): Follow the global default, by default.
1190 (ruby-smie-grammar): Add assignment syntax.
1191 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1192 open-paren, a comma, or a \.
1193 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1194 and line continuations.
1195 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1196 followed by implicit semi-colons. Add rule for string concatenation
1197 and for indentation at BOB.
1198 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1199
1200 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1201 calling next-sexp, since next-token may have skipped chars which
1202 next-sexp doesn't know should be skipped!
1203
6f6ab820
LL
12042013-10-05 Leo Liu <sdl.web@gmail.com>
1205
34d1a133
SM
1206 * progmodes/octave.el (octave-send-region):
1207 Call compilation-forget-errors.
6f6ab820 1208
34ca0f4c
XF
12092013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1210
1211 * vc/vc-svn.el (vc-svn-find-admin-dir):
1212 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1213 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1214 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1215 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1216
a27c1b72
SM
12172013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1220
258ab3bc
SM
12212013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * subr.el (read-passwd): Hide chars even when called within a context
1224 where after-change-functions is disabled (bug#15501).
1225 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1226 until we removed ourself from overriding-terminal-local-map.
1227
939fb29c
LL
12282013-10-04 Leo Liu <sdl.web@gmail.com>
1229
258ab3bc
SM
1230 * progmodes/octave.el (inferior-octave-mode):
1231 Call compilation-forget-errors.
939fb29c 1232
63bd7f35
XF
12332013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1234
1235 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1236
9e6229fa
MA
12372013-10-04 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * net/secrets.el (secrets-create-collection): Add optional
1240 argument ALIAS. Use proper Label keyword. Append ALIAS as
1241 dbus-call-method argument. (Bug#15516)
1242
1dab32a3
LL
12432013-10-04 Leo Liu <sdl.web@gmail.com>
1244
1245 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1246 (inferior-octave-compilation-font-lock-keywords): New variables.
1247 (compilation-error-regexp-alist)
1248 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1249 (inferior-octave-mode): Use compilation-shell-minor-mode.
1250
6cad7ba3
JS
12512013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1252
1253 * minibuffer.el (completion--replace): Be careful that `end' might be
1254 a marker.
1255
acbadd00
DU
12562013-10-03 Daiki Ueno <ueno@gnu.org>
1257
1258 Add support for package signature checking.
1259 * emacs-lisp/package.el (url-http-file-exists-p)
1260 (epg-make-context, epg-context-set-home-directory)
1261 (epg-verify-string, epg-context-result-for)
1262 (epg-signature-status, epg-signature-to-string)
1263 (epg-check-configuration, epg-configuration)
1264 (epg-import-keys-from-file): Declare.
1265 (package-check-signature): New user option.
1266 (package-unsigned-archives): New user option.
1267 (package-desc): Add `signed' field.
1268 (package-load-descriptor): Set `signed' field if .signed file exists.
1269 (package--archive-file-exists-p): New function.
1270 (package--check-signature): New function.
1271 (package-install-from-archive): Check package signature.
1272 (package--download-one-archive): Check archive signature.
1273 (package-delete): Remove .signed file.
1274 (package-import-keyring): New command.
1275 (package-refresh-contents): Import default keyring.
1276 (package-desc-status): Add "unsigned" status.
1277 (describe-package-1, package-menu--print-info)
1278 (package-menu-mark-delete, package-menu--find-upgrades)
1279 (package-menu--status-predicate): Support "unsigned" status.
1280
adf2aa61
SM
12812013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1284 the new compilation scheme using the new byte-codes.
1285
1286 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1287 (byte-pophandler): New byte codes.
1288 (byte-goto-ops): Adjust accordingly.
1289 (byte-compile--use-old-handlers): New var.
1290 (byte-compile-catch): Use new byte codes depending on
1291 byte-compile--use-old-handlers.
1292 (byte-compile-condition-case--old): Rename from
1293 byte-compile-condition-case.
1294 (byte-compile-condition-case--new): New function.
1295 (byte-compile-condition-case): New function that dispatches depending
1296 on byte-compile--use-old-handlers.
1297 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1298 when we can.
1299
1300 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1301 Optimize under `condition-case' and `catch' if
1302 byte-compile--use-old-handlers is nil.
1303 (disassemble-offset): Handle new bytecodes.
1304
328a8179
SM
13052013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * subr.el (error): Use `declare'.
1308 (decode-char, encode-char): Use advertised-calling-convention instead
1309 of the docstring to discourage use of the `restriction' arg.
1310
15a1e936
DU
13112013-10-03 Daiki Ueno <ueno@gnu.org>
1312
1313 * epg.el (epg-verify-file): Add a comment saying that it does not
1314 notify verification error as a return value nor a signal.
1315 (epg-verify-string): Ditto.
1316
376f862a
KR
13172013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1318
1319 * progmodes/compile.el (compilation-start): Try globbing the arg to
1320 `cd' (bug#15417).
1321
a2f93a5f
MA
13222013-10-02 Michael Albinus <michael.albinus@gmx.de>
1323
1324 Sync with Tramp 2.2.8.
1325
1326 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1327 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1328 * net/trampver.el: Update release number.
1329
0daa0804
JD
13302013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1331
1332 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1333 and default-process-coding-system for darwin only.
1334
abd1ae34
SM
13352013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1336
1337 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1338
be4e325d
MH
13392013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1340
1341 * vc/vc-git.el (vc-git-grep): Disable pager.
1342
e9155c4a
DG
13432013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1344
494e898b
DG
1345 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1346 Use :url instead of :homepage, as per
1347 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1348
e9155c4a
DG
1349 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1350 non-nil, use `syntax-ppss' (Bug#15251).
1351
481a8e0f
RS
13522013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1353
be4e325d
MH
1354 * progmodes/octave.el (inferior-octave-startup-file):
1355 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1356
056453c6
DG
13572013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1358
be4e325d
MH
1359 * emacs-lisp/package.el (package-desc-from-define):
1360 Accept additional arguments as plist, convert them to an alist and store
1361 them in the `extras' slot.
056453c6
DG
1362 (package-generate-description-file): Convert extras alist back to
1363 plist and append to the `define-package' form arguments.
1364 (package--alist-to-plist): New function.
1365 (package--ac-desc): Add `extras' slot.
1366 (package--add-to-archive-contents): Check if the archive-contents
1367 vector is long enough, and if it is, pass its `extras' slot value
1368 to `package-desc-create'.
1369 (package-buffer-info): Call `lm-homepage', pass the returned value
1370 to `package-desc-from-define'.
1371 (describe-package-1): Render the homepage button (Bug#13291).
1372
be4e325d
MH
1373 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1374 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1375
832966e5
JD
13762013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1377
1378 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1379 and default-process-coding-system to utf-8-unix (Bug#15402).
1380
6cfe977d
XF
13812013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1382
1383 * subr.el (looking-back): Do not recommend using looking-back.
1384
38de11bd
AM
13852013-09-28 Alan Mackenzie <acm@muc.de>
1386
1387 Fix indentation/fontification of Java enum with "implements".
1388
1389 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1390 regexp which matches "implements", etc., in Java.
1391 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1392 specifier clauses coming after "enum".
1393 * progmodes/cc-fonts.el (c-font-lock-declarations)
1394 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1395 after "enum".
1396
1610938f
JD
13972013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1398
1399 * faces.el (region): Change ns_selection_color to
1400 ns_selection_fg_color, add ns_selection_bg_color.
1401
e090f499
LL
14022013-09-28 Leo Liu <sdl.web@gmail.com>
1403
4d2e94d1
LL
1404 * progmodes/octave.el (inferior-octave-completion-table)
1405 (inferior-octave-completion-at-point): Minor tweaks.
1406
e090f499
LL
1407 * textmodes/ispell.el (ispell-lookup-words): Rename from
1408 lookup-words. (Bug#15460)
1409 (lookup-words): Obsolete.
1410 (ispell-complete-word, ispell-command-loop): All uses changed.
1411
7e138a62
RS
14122013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1413
1414 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1415 (octave-mode-menu): Add octave-send-buffer.
1416 (octave-send-buffer): New function.
1417
5af5ed08
RS
14182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1419
1420 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1421 octave-lookfor.
1422 (octave-mode-menu): Add octave-lookfor.
1423 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1424 octave-lookfor.
1425 (octave-lookfor): New function.
1426
3b7b2692
SM
14272013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * emacs-lisp/cl-macs.el:
1430 (cl--loop-destr-temps): Remove.
1431 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1432 its convention.
1433 (cl--loop-set-iterator-function): New function.
1434 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1435 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1436 Bind `it' with `let' instead of substituting it with `cl-subst'.
1437 (cl--unused-var-p): New function.
1438 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1439 Eliminate some unused variable warnings (bug#15326).
1440
529fb53f
TH
14412013-09-27 Tassilo Horn <tsdh@gnu.org>
1442
1443 * doc-view.el (doc-view-scale-reset): Rename from
1444 `doc-view-reset-zoom-level'.
1445 (doc-view-scale-adjust): New command.
1446 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1447 `doc-view-scale-adjust'.
1448
0550c95a
TH
14492013-09-26 Tassilo Horn <tsdh@gnu.org>
1450
1451 * doc-view.el (doc-view-reset-zoom-level): New command.
1452 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1453 zoom commands (bug#15466).
1454
6950f152
KH
14552013-09-26 Kenichi Handa <handa@gnu.org>
1456
1457 * international/quail.el (quail-help): Make it not a command.
1458
39587580
LL
14592013-09-26 Leo Liu <sdl.web@gmail.com>
1460
1461 * minibuffer.el (completion-all-sorted-completions): Make args
1462 optional as they are.
1463
00578659
DC
14642013-09-25 Daniel Colascione <dancol@dancol.org>
1465
1466 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1467 specs are and that they're not evaluated.
1468
0c173878
SS
14692013-09-24 Sam Steingold <sds@gnu.org>
1470
1471 * midnight.el (clean-buffer-list-kill-regexps)
1472 (clean-buffer-list-kill-buffer-names): Update for the new Man
1473 buffer naming which includes the object name.
1474
84998447
SM
14752013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1478 (eshell-parse-command, eshell-parse-pipeline): Use it since
1479 eshell-separate-commands requires a dynamic scoped var.
1480 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1481
33215353
LL
14822013-09-23 Leo Liu <sdl.web@gmail.com>
1483
1484 * autoinsert.el (auto-insert-alist): Make the value of
1485 lexical-binding match its file setting.
1486
57b16162
JB
14872013-09-23 Juanma Barranquero <lekktu@gmail.com>
1488
c8af4e67
JB
1489 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1490
57b16162
JB
1491 * autoarg.el (autoarg-kp-digit-argument):
1492 * electric.el (Electric-command-loop):
1493 * kmacro.el (kmacro-step-edit-insert):
1494 Do not set universal-argument-num-events.
1495
7186ba60
LL
14962013-09-22 Leo Liu <sdl.web@gmail.com>
1497
1498 * files.el (interpreter-mode-alist): Add octave.
1499
ece15004
AM
15002013-09-21 Alan Mackenzie <acm@muc.de>
1501
1502 C++: fontify identifier in declaration following "public:" correctly.
1503 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1504 to match "public", etc.
1505 (c-decl-prefix-re): Add ":" into the C++ value.
1506 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1507 bit. Add a check for a ":" preceded by "public", etc.
1508
75d83e22
EZ
15092013-09-21 Eli Zaretskii <eliz@gnu.org>
1510
1511 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1512 recognized by GDB 7.5 and later.
1513
d052d3bd
XF
15142013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1515
1516 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1517
31dca772
R
15182013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * subr.el (internal--call-interactively): New const.
1521 (called-interactively-p): Use it (bug#3984).
1522
98ccf24e
XF
15232013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1524
1525 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1526 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1527 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1528
c39cc7d1
SM
15292013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1532 (eshell-ls-orig-insert-directory): Remove.
1533 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1534 (eshell-ls-use-in-dired): Use advice-add/remove.
1535 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1536 Add `orig-fun' arg for use in :around advice.
1537 Make it check (redundantly) eshell-ls-use-in-dired.
1538
9a0289a2
GM
15392013-09-19 Glenn Morris <rgm@gnu.org>
1540
a2c501b8
GM
1541 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1542
c440407a
GM
1543 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1544
9a0289a2
GM
1545 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1546
85e05915
MA
15472013-09-19 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1550 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1551 (tramp-get-remote-python): New defuns.
1552 (tramp-get-remote-uid-with-perl)
1553 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1554 contributed by yary <not.com@gmail.com> (tiny change).
1555 (tramp-get-remote-uid-with-python)
1556 (tramp-get-remote-gid-with-python): New defuns. Python code
1557 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1558 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1559
ce503312
GM
15602013-09-19 Glenn Morris <rgm@gnu.org>
1561
f7544773
GM
1562 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1563
72fd2877
GM
1564 * eshell/em-unix.el (eshell-remove-entries):
1565 Rename argument to avoid name-clash with global `top-level'.
1566
336b5a56
GM
1567 * eshell/esh-proc.el (eshell-kill-process-function):
1568 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1569 (eshell-reset-after-proc): Remove unused arg `proc'.
1570
57a3a53d
GM
1571 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1572 (directory-files-and-attributes): Mark unused arg.
1573
3261d4af
GM
1574 * eshell/em-unix.el (eshell-remove-entries):
1575 Remove unused arg `path'. Update callers.
1576
8e51b5d0
GM
1577 * eshell/em-hist.el (eshell-hist-parse-arguments):
1578 Remove unused arg `silent'. Update callers.
1579
ce503312
GM
1580 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1581 Fix (f)boundp mix-up.
1582
1583 * eshell/em-smart.el (eshell-smart-scroll-window)
1584 (eshell-disable-after-change):
336b5a56 1585 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1586
ee3ce8a7
AM
15872013-09-18 Alan Mackenzie <acm@muc.de>
1588
1589 Fix fontification of type when followed by "const".
1590 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1591 "known" types from fontification.
1592
ec9177ba
GM
15932013-09-18 Glenn Morris <rgm@gnu.org>
1594
7bb3e768
GM
1595 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1596 (chart-face-list): Drop Emacsen without display-color-p.
1597
5148da15
GM
1598 * net/eww.el (libxml-parse-html-region): Declare.
1599 (eww-display-html): Explicit error if no libxml2 support.
1600
2f68e157
GM
1601 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1602
9019d095
GM
1603 * image.el (image-type-from-buffer, image-multi-frame-p):
1604 Remove --without-x warning/error.
67645389 1605
5f30349b 1606 * mouse.el (mouse-yank-primary):
45069b2e 1607 * term.el (term-mouse-paste):
5f30349b
GM
1608 Reorder to silence --without-x compilation.
1609
cd8edbbe
GM
1610 * mpc.el (doc-view-mode): Silence --without-x compilation.
1611
8a78544e
GM
1612 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1613 Silence --without-x compilation.
1614
12679bfd
GM
1615 * progmodes/gud.el (gud-find-file, gud-mode):
1616 Silence --without-x compilation.
1617 (tooltip-mode): Declare.
30810a05 1618
f0047cb9
GM
1619 * wdired.el (dired-backup-overwrite): Remove declaration.
1620 (wdired-mode-map): Add doc string.
1621
e740f9d2
GM
1622 * custom.el (x-get-resource): Declare.
1623
92d77c89
GM
1624 * eshell/em-glob.el (ange-cache):
1625 * eshell/em-unix.el (ange-cache): Declare.
1626
76e69577
GM
1627 * faces.el (x-display-list, x-open-connection, x-get-resource):
1628 Declare.
7e58af4b
GM
1629
1630 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1631 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1632 Declare.
76e69577 1633
4bd4c0af 1634 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1635
ffb82dbd
GM
1636 * net/gnutls.el (gnutls-log-level): Declare.
1637
986ed135
GM
1638 * net/shr.el (image-size, image-animate): Declare.
1639
e740f9d2
GM
1640 * simple.el (font-info): Declare.
1641
d2f3e9f8
GM
1642 * subr.el (x-popup-dialog): Declare.
1643
047a1a4c
GM
1644 * term/common-win.el (x-select-enable-primary)
1645 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1646 Declare.
1647
f4a1d572
GM
1648 * term/ns-win.el (x-handle-args): Declare.
1649
e843de77
GM
1650 * term/x-win.el (x-select-enable-clipboard): Declare.
1651
5fa89513
GM
1652 * term/w32-win.el (create-default-fontset): Declare.
1653
38702b5b
GM
1654 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1655 Declare.
1656
e740f9d2
GM
1657 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1658 (fit-frame-to-buffer): Explicit error if --without-x.
1659 (mouse-autoselect-window-select): Silence compiler.
1660
49a053fc
GM
1661 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1662
1663 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1664 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1665 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1666 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1667 Remove unused local variables.
1668
1669 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1670
ec9177ba
GM
1671 * textmodes/two-column.el: Make 2C-split work for --without-x.
1672 (scroll-bar-columns): Autoload.
1673 (top-level): Require fringe when compiling.
1674
9f25cb77
LL
16752013-09-18 Leo Liu <sdl.web@gmail.com>
1676
1677 * subr.el (add-hook): Robustify to handle closure as well.
1678
2b42da98
GM
16792013-09-17 Glenn Morris <rgm@gnu.org>
1680
1681 * simple.el (messages-buffer-mode-map): Unbind "g".
1682
e8b66a6a
SM
16832013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1684
9c0ad4f7
SM
1685 * help-mode.el (help-mode-finish): Use derived-mode-p.
1686 Remove obsolete highlighting.
1687
7a806dfb
SM
1688 * play/life.el (life-mode): Use define-derived-mode. Derive from
1689 special-mode.
1690 (life): Let-bind inhibit-read-only.
1691 (life-setup): Avoid `setq'. Use `life-mode'.
1692
96dbf5a8
SM
1693 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1694 which should not be needed any more.
1695 (package-menu-refresh, package-menu-describe-package): Use user-error.
1696
e8b66a6a
SM
1697 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1698 (eshell-post-rewrite-command-hook): Make obsolete.
1699 (eshell-parse-command): Simplify.
1700 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1701 (eshell--cmd): Declare.
1702 (eshell-parse-pipeline): Remove unused var `final-p'.
1703 Pass a dynvar to eshell-post-rewrite-command-hook.
1704 Implement the new eshell-post-rewrite-command-function.
1705 (eshell-invoke-directly): Remove unused arg `input'.
1706 * eshell/esh-io.el (eshell-io-initialize):
1707 Use eshell-post-rewrite-command-function (bug#15399).
1708 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1709 adjust to new calling convention.
1710 (eshell-create-handles): Rename args to avoid clashing with dynvar
1711 `standard-output'.
1712
90582f05
GM
17132013-09-17 Glenn Morris <rgm@gnu.org>
1714
1715 * simple.el (messages-buffer-mode): New major mode.
1716 (messages-buffer): New function.
1717 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1718 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1719 (ert-run-test): Use `messages-buffer' function.
90582f05 1720 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1721 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1722 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1723
39eb0cb5 17242013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1725
1726 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1727
1f1e06e2
SM
1728 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1729
70568a90
SM
17302013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1731
504a0381
SM
1732 * icomplete.el (icomplete-in-buffer): New var.
1733 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1734 vars and replace them with functions.
1735 (icomplete-minibuffer-setup): Adjust accordingly.
1736 (icomplete--completion-table, icomplete--completion-predicate)
1737 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1738 New functions.
1739 (icomplete-forward-completions, icomplete-backward-completions)
1740 (icomplete-simple-completing-p, icomplete-exhibit)
1741 (icomplete-completions): Use them.
1742 (icomplete--in-region-buffer): New var.
1743 (icomplete--in-region-setup): New function.
1744 (icomplete-mode): Use it.
1745
70568a90
SM
1746 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1747 (bug#15379).
1748 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1749 return args and options.
1750 (eshell-eval-using-options): Use the new return value of
1751 eshell--do-opts to set the options's vars in their scope.
1752 (eshell--set-option): Rename from eshell-set-option.
1753 Add arg `opt-vals'.
1754 (eshell--process-option): Rename from eshell-process-option.
1755 Add arg `opt-vals'.
1756 (eshell--process-args): Use an `opt-vals' alist to store the options's
1757 values during their processing and return them additionally to the
1758 remaining args.
1759
578c21bc
DG
17602013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1761
1762 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1763 continuation character an operator, as far as indentation is
1764 concerned (Bug#15369).
1765
c089653d
MR
17662013-09-15 Martin Rudalics <rudalics@gmx.at>
1767
1768 * window.el (window--state-put-2): Don't process buffer state
1769 when buffer doesn't exist any more (Bug#15382).
1770
1e53bb4b
GM
17712013-09-15 Glenn Morris <rgm@gnu.org>
1772
30753242
GM
1773 * eshell/em-unix.el (eshell/rm):
1774 Make -f ignore missing files. (Bug#15373)
1775
1e53bb4b
GM
1776 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1777 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1778 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1779
0d8863b3
GM
17802013-09-14 Glenn Morris <rgm@gnu.org>
1781
1782 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1783
d3fc6549
GM
17842013-09-13 Glenn Morris <rgm@gnu.org>
1785
1786 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1787 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1788
fcd42c11
DA
17892013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1790
1791 * frame.el (x-focus-frame): Mark as declared in frame.c.
1792
7830899f
SM
17932013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * ls-lisp.el: Use advice-add.
1796 (original-insert-directory): Remove.
1797 (ls-lisp--insert-directory): Rename from insert-directory; add
1798 `orig-fun' argument.
1799 (insert-directory): Advise.
1800
84387cd2
EZ
18012013-09-13 Eli Zaretskii <eliz@gnu.org>
1802
1803 * term.el (term-emulate-terminal): Decode the command string
1804 before passing it to term-command-hook. (Bug#15337)
1805
35ffc6ba
GM
18062013-09-13 Glenn Morris <rgm@gnu.org>
1807
5c3f9bcc
GM
1808 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1809
2ada368a
GM
1810 * eshell/esh-ext.el (eshell-search-path): Declare.
1811
fcef2e13
GM
1812 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1813 Otherwise an error occurs if eshell-dirs module not loaded.
1814
35ffc6ba
GM
1815 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1816
35c3d36e
MA
18172013-09-13 Michael Albinus <michael.albinus@gmx.de>
1818
1819 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1820 `tramp-check-proper-host'. Check for a valid method name.
1821
1822 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1823 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1824 * net/tramp-sh.el (tramp-maybe-open-connection):
1825 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1826
1827 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1828 also for hash values.
1829
ae5e4c48
SM
18302013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1831
379add74
SM
1832 * term/ns-win.el (parameters): Don't declare as dynamic.
1833 (before-make-frame-hook): Don't add ineffective function.
1834
ae5e4c48
SM
1835 * eshell/*.el: Use lexical-binding (bug#15231).
1836
b5623270
KH
18372013-09-12 Kenichi Handa <handa@gnu.org>
1838
ae5e4c48 1839 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1840
30213927
GM
18412013-09-12 Glenn Morris <rgm@gnu.org>
1842
be94d713 1843 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1844 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1845
44915370
GM
1846 * subr.el (do-after-load-evaluation): Also give compiler warnings
1847 when obsolete files are used (except by obsolete files).
1848
a6ae021f
GM
1849 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1850 in the status output, assume `filename' is the first. (Bug#15322)
1851
40e64f0c
GM
1852 * vc/vc.el (vc-deduce-fileset): Doc fix.
1853
16d9f896
GM
1854 * calc/calc-help.el (Info-goto-node):
1855 * progmodes/cperl-mode.el (Info-find-node):
1856 * vc/ediff.el (Info-goto-node): Update declarations.
1857
dea01c6e
GM
1858 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1859
759880bf 1860 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1861 (vc-bzr-pull): Require vc-dispatcher.
1862 * vc/vc-git.el (vc-compilation-mode): Declare.
1863 (vc-git-pull): Require vc-dispatcher.
1864
08d66420
GM
1865 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1866
30b626e9
GM
1867 * progmodes/octave.el (help-button-action): Declare.
1868
8c05cb10
GM
1869 * shell.el (shell-directory-tracker): Output error as a message
1870 rather than just returning it as a string.
1871 (shell-process-pushd): Remove useless use of message.
1872
30213927
GM
1873 * dframe.el (dframe-timer-fn):
1874 * files.el (dir-locals-read-from-file):
1875 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1876 (mpc-format):
1877 * reveal.el (reveal-post-command):
1878 * saveplace.el (load-save-place-alist-from-file):
1879 * shell.el (shell-resync-dirs):
1880 * w32-common-fns.el (x-get-selection-value):
1881 * emacs-lisp/copyright.el (copyright-find-copyright):
1882 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1883 * emulation/tpu-edt.el (tpu-copy-keyfile):
1884 * play/bubbles.el (bubbles--mark-neighbourhood):
1885 * progmodes/executable.el
1886 (executable-make-buffer-file-executable-if-script-p):
1887 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1888
d3b049e6
SM
18892013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1890
170266d0
SM
1891 Cleanup Eshell to rely less on dynamic scoping.
1892 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1893 last-value, and ext-command here. Bind `args' closer to `body'.
1894 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1895 (eshell--args): Declare new dynamic var.
1896 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1897 last-value, and ext-command. Pass `args' to `body'.
1898 (eshell-process-args): Bind eshell--args.
1899 (eshell-set-option): Use eshell--args.
1900 * eshell/eshell.el (eshell): Use derived-mode-p.
1901 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1902 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1903 (eshell-glob-function): Declare.
1904 * eshell/esh-util.el: Require cl-lib.
1905 (eshell-read-hosts-file): Avoid add-to-list.
1906 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1907 `err'.
1908 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1909 Declare.
1910 (eshell/diff): Remove unused var `err'.
1911 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1912 `killflag'.
1913 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1914 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1915 first use.
1916 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1917 Move declaration before first use.
1918 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1919 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1920 rely on cl-return.
1921
56834f3b
GM
19222013-09-12 Glenn Morris <rgm@gnu.org>
1923
1924 * term/ns-win.el (global-map): Remove binding for ispell-next,
1925 deleted 1999-05-29. (Bug#15357)
1926
5c91a2b8
GM
19272013-09-11 Glenn Morris <rgm@gnu.org>
1928
da712f22
GM
1929 * echistory.el (electric-command-history): Remove call to deleted func.
1930
512e4cdc
GM
1931 * play/landmark.el (landmark-mode): Fix typos.
1932
d3506ca5
GM
1933 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1934 Check cvs-sort-ignore-file is bound.
1935
5c91a2b8
GM
1936 * savehist.el: No need for cl when compiling on Emacs.
1937
feeff482
SM
19382013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1939
656bd483
SM
1940 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1941 (bug#15338).
d3b049e6
SM
1942 (eshell-self-insert-command, eshell-send-invisible):
1943 Remove unused argument.
656bd483
SM
1944 (eshell-handle-control-codes): Remove unused var `orig'.
1945 Avoid delete-backward-char.
1946
feeff482
SM
1947 * files.el (set-auto-mode): Simplify a bit further.
1948
2a08047a
GM
19492013-09-11 Glenn Morris <rgm@gnu.org>
1950
1951 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1952 (set-auto-mode): Don't regexp-quote elements.
1953 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1954 * progmodes/cc-mode.el (interpreter-mode-alist):
1955 * progmodes/ruby-mode.el (interpreter-mode-alist):
1956 Revert previous change.
1957
34675540
SM
19582013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1b3b87df
SM
1960 * play/snake.el (snake-mode):
1961 * play/mpuz.el (mpuz-mode):
1962 * play/landmark.el (lm-mode):
1963 * play/blackbox.el (blackbox-mode):
1964 * play/5x5.el (5x5-mode):
1965 * obsolete/options.el (Edit-options-mode):
1966 * net/quickurl.el (quickurl-list-mode):
1967 * net/newst-treeview.el (newsticker-treeview-mode):
1968 * mail/rmailsum.el (rmail-summary-mode):
1969 * mail/mspools.el (mspools-mode):
1970 * locate.el (locate-mode):
1971 * ibuffer.el (ibuffer-mode):
1972 * emulation/ws-mode.el (wordstar-mode):
1973 * emacs-lisp/debug.el (debugger-mode):
1974 * array.el (array-mode):
1975 * net/eudc.el (eudc-mode): Use define-derived-mode.
1976 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1977 Move initialization into declaration.
1978 (mairix-searches-mode): Use define-derived-mode.
1979 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1980 (eudc-edit-hotlist): Use dolist.
1981 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1982 (Man-mode): Use define-derived-mode.
1983 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1984 (Info-edit-mode): Use define-derived-mode.
1985 (Info-cease-edit): Use Info-mode.
1986 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1987 into declaration.
1988 (eshell-mode): Use define-derived-mode.
1989 * chistory.el (command-history-mode-map): Rename from
1990 command-history-map.
1991 (command-history-mode): Use define-derived-mode.
da712f22 1992 (Command-history-setup): Remove function.
1b3b87df
SM
1993 * calc/calc.el (calc-trail-mode-map): New var.
1994 (calc-trail-mode): Use define-derived-mode.
1995 (calc-trail-buffer): Set calc-main-buffer manually.
1996 * bookmark.el (bookmark-insert-annotation): New function.
1997 (bookmark-edit-annotation): Use it.
1998 (bookmark-edit-annotation-mode): Make it a proper major mode.
1999 (bookmark-send-edited-annotation): Use derived-mode-p.
2000 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2001 closer to its ideal place. Use \' to match EOS.
2002
34675540
SM
2003 * profiler.el (profiler-calltree-find): Use function-equal.
2004
6a5c15d9
GM
20052013-09-10 Glenn Morris <rgm@gnu.org>
2006
1af4c220
GM
2007 * files.el (interpreter-mode-alist): Convert to regexps.
2008 (set-auto-mode): Adapt for this. (Bug#15306)
2009 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2010 Comment out unused variable.
2011 * progmodes/cc-mode.el (interpreter-mode-alist):
2012 * progmodes/python.el (interpreter-mode-alist):
2013 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2014 * progmodes/sh-script.el (sh-set-shell):
2015 No longer use interpreter-mode-alist to get list of shells.
2016
6a5c15d9
GM
2017 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2018
8c27f5ff
SM
20192013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2020
02ef6c1a 2021 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2022 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2023 Bind switch-frame explicitly. Replace universal-argument-minus with
2024 a conditional binding.
2025 (universal-argument-num-events, saved-overriding-map): Remove.
2026 (restore-overriding-map): Remove.
2027 (universal-argument--mode): Rename from save&set-overriding-map,
2028 and rewrite.
2029 (universal-argument, universal-argument-more, negative-argument)
2030 (digit-argument): Adjust accordingly.
2031 (universal-argument-minus): Remove.
2032 (universal-argument-other-key): Remove.
2033
8c27f5ff
SM
2034 * subr.el (with-demoted-errors): Add `format' argument.
2035
6480194c
MA
20362013-09-10 Michael Albinus <michael.albinus@gmx.de>
2037
2038 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2039 `tramp-cleanup-connection'.
2040
2041 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2042 parameters KEEP-DEBUG and KEEP-PASSWORD.
2043
2044 * net/tramp.el (tramp-file-name-handler):
2045 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2046 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2047 (tramp-maybe-open-connection):
8c27f5ff
SM
2048 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2049 Use `tramp-cleanup-connection'.
6480194c 2050
8c27f5ff
SM
2051 * net/tramp-sh.el (tramp-maybe-open-connection):
2052 Catch 'uname-changed inside the progress reporter.
6480194c 2053
e5e916d8
GM
20542013-09-10 Glenn Morris <rgm@gnu.org>
2055
9a2c9b47
GM
2056 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2057
e5e916d8
GM
2058 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2059 returns "alternate access method" in mode (eg "-rw-r--r--.").
2060
144e38fe
GM
20612013-09-08 Glenn Morris <rgm@gnu.org>
2062
2063 * saveplace.el (load-save-place-alist-from-file):
2064 Demote errors. (Bug#15305)
2065
af9ff9e8
MA
20662013-09-08 Michael Albinus <michael.albinus@gmx.de>
2067
2068 Improve compatibility with older Emacsen, and XEmacs.
2069
2070 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2071 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2072 (with-tramp-progress-reporter): Do not let-bind `result'.
2073 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2074 (tramp-handle-make-auto-save-file-name): New function, moved from
2075 tramp-sh.el.
2076
2077 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2078 for `make-auto-save-file-name'.
8c27f5ff
SM
2079 (tramp-adb--gnu-switches-to-ash):
2080 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2081
2082 * net/tramp-cache.el (tramp-cache-print): Call
2083 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2084
2085 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2086 bound. It isn't for XEmacs.
2087
8c27f5ff
SM
2088 * net/tramp-compat.el (tramp-compat-copy-file):
2089 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2090 (tramp-compat-replace-regexp-in-string): New defun.
2091
2092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2093 for `make-auto-save-file-name'.
2094 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2095 `copy-file'.
2096 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2097 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2098 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2099
8c27f5ff
SM
2100 * net/tramp-gw.el (tramp-gw-open-network-stream):
2101 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2102
8c27f5ff
SM
2103 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2104 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2105 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2106 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2107 (tramp-sh-file-inotifywait-process-filter):
2108 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2109 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2110
2111 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2112 for `make-auto-save-file-name'.
8c27f5ff
SM
2113 (tramp-smb-handle-copy-directory):
2114 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2115 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2116 (tramp-smb-handle-copy-file): Improve error message.
2117 (tramp-smb-handle-rename-file): Rename directly only in case
2118 `newname' does not exist yet. This is a restriction of smbclient.
2119 (tramp-smb-maybe-open-connection): Rerun the function only when
2120 `auth-sources' is non-nil.
2121
0ca754d0
KH
21222013-09-08 Kenichi Handa <handa@gnu.org>
2123
2124 * international/characters.el: Set category "^" (Combining) for
2125 more characters.
2126
e8dd0787
AM
21272013-09-07 Alan Mackenzie <acm@muc.de>
2128
2129 Correctly fontify Java class constructors.
2130 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2131 in Java Mode.
2132 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2133 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2134 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2135 "typeless" declaration there.
2136
f2f248e7
RW
21372013-09-07 Roland Winkler <winkler@gnu.org>
2138
2139 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2140 field subtitle for entry type book.
2141
67982e2b
SM
21422013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * minibuffer.el: Make minibuffer-complete call completion-in-region
2145 rather than other way around.
2146 (completion--some, completion-pcm--find-all-completions):
2147 Don't delay signals when debugging.
2148 (minibuffer-completion-contents): Beware fields within the
2149 minibuffer contents.
2150 (completion-all-sorted-completions): Use defvar-local.
2151 (completion--do-completion, completion--cache-all-sorted-completions)
2152 (completion-all-sorted-completions, minibuffer-force-complete):
2153 Add args `beg' and `end'.
2154 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2155 (minibuffer-complete): Use completion-in-region.
2156 (completion-complete-and-exit): New fun, extracted from
2157 minibuffer-complete-and-exit.
2158 (minibuffer-complete-and-exit): Use it.
2159 (completion--complete-and-exit): Rename from
2160 minibuffer--complete-and-exit.
2161 (completion-in-region--single-word): New function, extracted from
2162 minibuffer-complete-word.
2163 (minibuffer-complete-word): Use it.
2164 (display-completion-list): Make `common-substring' argument obsolete.
2165 (completion--in-region): Call completion--in-region-1 instead of
2166 minibuffer-complete.
2167 (completion-help-at-point): Pass boundaries to
2168 minibuffer-completion-help as args rather than via an overlay.
2169 (completion-pcm--string->pattern): Use `any-delim'.
2170 (completion-pcm--optimize-pattern): New function.
2171 (completion-pcm--pattern->regex): Handle `any-delim'.
2172 * icomplete.el (icomplete-forward-completions)
2173 (icomplete-backward-completions, icomplete-completions):
2174 Adjust calls to completion-all-sorted-completions and
2175 completion--cache-all-sorted-completions.
2176 (icomplete-with-completion-tables): Default to t.
2177 * emacs-lisp/crm.el (crm--current-element): Rename from
2178 crm--select-current-element. Don't put an overlay but return the
2179 boundaries instead.
2180 (crm--completion-command): Take two new args to bind to the boundaries.
2181 (crm-completion-help): Adjust accordingly.
2182 (crm-complete): Use completion-in-region.
2183 (crm-complete-word): Use completion-in-region--single-word.
2184 (crm-complete-and-exit): Use completion-complete-and-exit.
2185
e17d94a5
SM
21862013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2189 than dynamically.
2190
96727100
JL
21912013-09-06 Juri Linkov <juri@jurta.org>
2192
2193 * info.el (Info-display-images-node): When image file doesn't exist
2194 display text version of the image if it's provided in the Info file.
2195 Otherwise, display the location of missing image from SRC attribute.
2196 Add help-echo text property from ALT attribute. (Bug#15279)
2197
86cf7329
SM
21982013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2201 (edit-abbrevs-mode): Use define-derived-mode.
2202
2203 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2204 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2205 that it's defined.
2206 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2207 Use define-derived-mode.
2208
2209 * epg.el (epg-start-encrypt): Minor CSE simplification.
2210
816244a2
WX
22112013-09-06 William Xu <william.xwl@gmail.com>
2212
2213 * arc-mode.el: Add support for 7za (bug#15264).
2214 (archive-7z-program): New var.
2215 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2216 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2217 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2218
1486fa31
MA
22192013-09-06 Michael Albinus <michael.albinus@gmx.de>
2220
2221 Remove URL syntax.
2222
2223 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2224 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2225 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2226 (tramp-postfix-host-format, tramp-file-name-regexp)
2227 (tramp-completion-file-name-regexp)
2228 (tramp-completion-dissect-file-name)
2229 (tramp-handle-substitute-in-file-name): Remove 'url case.
2230 (tramp-file-name-regexp-url)
2231 (tramp-completion-file-name-regexp-url): Remove constants.
2232
39785324
GM
22332013-09-06 Glenn Morris <rgm@gnu.org>
2234
2235 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2236
1f896cb7
DG
22372013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2238
2239 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2240 keywords" below "here-doc beginnings" (Bug#15270).
2241
c0458e0b
SM
22422013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * subr.el (pop): Use `car-safe'.
2245 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2246 to detect unused `pop' return value.
2247
2248 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2249 var `block-regexp'.
2250 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2251 (python-fill-string): Remove unused var `marker'.
2252 (python-skeleton-add-menu-items): Remove unused var `items'.
2253
2254 * international/mule-cmds.el: Require CL.
2255 (find-coding-systems-for-charsets): Avoid add-to-list.
2256 (sanitize-coding-system-list): New function, extracted from
2257 select-safe-coding-system-interactively.
2258 (select-safe-coding-system-interactively): Use it.
2259 (read-input-method-name): Accept symbols for `default'.
2260
2261 * emacs-lisp/advice.el (defadvice): Add indent rule.
2262
6c42fc3e
DH
22632013-09-05 Daniel Hackney <dan@haxney.org>
2264
2265 * dired-x.el:
2266 * net/ange-ftp.el:
2267 * net/browse-url.el:
2268 * net/dbus.el:
2269 * net/eudc.el:
2270 * net/eudcb-ldap.el:
2271 * net/eww.el:
2272 * net/imap.el:
2273 * printing.el:
2274 * vc/ediff-diff.el:
2275 * vc/ediff-init.el:
2276 * vc/ediff-merg.el:
2277 * vc/ediff-mult.el:
2278 * vc/ediff-util.el:
2279 * vc/ediff-wind.el:
2280 * vc/ediff.el:
2281 * vc/emerge.el:
2282 * vc/pcvs.el:
2283 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2284 byte compiler. Remove some unused let-bound variables.
2285
4c528aab
SM
22862013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2289 a "ref-cell", since it gets better optimized (bug#14883).
2290
bd15c390
GM
22912013-09-05 Glenn Morris <rgm@gnu.org>
2292
2293 * progmodes/cc-awk.el (c-forward-sws): Declare.
2294
1c3ac2e5
GM
22952013-09-04 Glenn Morris <rgm@gnu.org>
2296
2297 * generic-x.el [rul-generic-mode]: Require cc-mode.
2298 (c++-mode-syntax-table): Declare.
2299 (rul-generic-mode-syntax-table): Init in the defvar.
2300
52b1cc79
SM
23012013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2302
c828af56
SM
2303 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2304 (vc-do-command, vc-set-async-update):
2305 * vc/vc-mtn.el (vc-mtn-dir-status):
2306 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2307 (vc-hg-pull, vc-hg-merge-branch):
2308 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2309 (vc-git-merge-branch):
2310 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2311 (vc-cvs-dir-status-files):
2312 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2313 (vc-bzr-dir-status-files):
2314 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2315 * vc/vc-annotate.el: Use lexical-binding.
2316 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2317 (vc-sentinel-movepoint): Declare.
2318 (vc-annotate): Don't use `goto-line'.
2319 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2320 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2321 (vc-sentinel-movepoint): Declare.
2322 * vc/vc-svn.el: Use lexical-binding.
2323 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2324 * vc/vc-sccs.el:
2325 * vc/vc-rcs.el: Use lexical-binding.
2326
abae272c
SM
2327 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2328 `deleted'. Don't drop errors silently.
2329
52b1cc79
SM
2330 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2331
63191d9f
XF
23322013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2333
2334 * vc/vc.el (vc-ignore): Rewrite.
2335 (vc-default-ignore): New function.
2336 (vc-default-ignore-completion-table): Use find-ignore-file.
2337
2338 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2339 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2340 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2341 Remove. Most code moved to vc.el.
2342
9d3f707c
SM
23432013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2344
abae272c 2345 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2346 * net/tramp-smb.el (tramp-smb-get-file-entries):
2347 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2348 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2349
fde38d49
SM
2350 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2351 Update call to it.
2352 (eww-change-select): Remove unused var `properties'.
2353 (eww-make-unique-file-name): Remove unused var `base'.
2354
2355 * finder.el (finder-compile-keywords): Don't mess with windows.
2356
84032db7
SM
2357 * calculator.el (calculator-funcall): Fix typo in last change.
2358
724f5e41
SM
2359 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2360
14b511d4
SM
2361 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2362 <pkg>-autoloads.el file stop us.
2363
9d3f707c 2364 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2365 warnings, and factor out common code.
9d3f707c 2366
88527bc0
DG
23672013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2368
2369 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2370 two-character operators and whether the character preceding them
2371 changes their meaning (Bug#15208).
2372
96edb677
FEG
23732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2374
2375 Format code sent to Python shell for robustness.
9d3f707c
SM
2376 * progmodes/python.el (python-shell-buffer-substring):
2377 New function.
96edb677
FEG
2378 (python-shell-send-region, python-shell-send-buffer): Use it.
2379
95beaef3
MA
23802013-09-02 Michael Albinus <michael.albinus@gmx.de>
2381
2382 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2383 * net/tramp.el (tramp-user-error): ... here.
2384 (tramp-find-method, tramp-check-proper-host)
2385 (tramp-dissect-file-name, tramp-debug-message)
2386 (tramp-handle-shell-command):
2387 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2389
2390 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2391
f167c27b
MR
23922013-09-02 Martin Rudalics <rudalics@gmx.at>
2393
2394 * avoid.el (mouse-avoidance-point-position)
2395 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2396 returns nil.
2397
cd16c5f1
FEG
23982013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2399
2400 * progmodes/python.el (python-shell-completion-get-completions):
2401 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2402 (python-nav-if-name-main): New command.
cd16c5f1 2403
e73c3a0d
GM
24042013-09-01 Glenn Morris <rgm@gnu.org>
2405
f8ccce03
GM
2406 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2407 Avoid leading space in $wins. Otherwise the sed command used by
2408 eg compile-main ends up containing "/*.el". (Bug#15170)
2409
e73c3a0d
GM
2410 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2411
415f808e
GM
24122013-08-30 Glenn Morris <rgm@gnu.org>
2413
2414 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2415 Fix is-this-a-directory logic. (Bug#15220)
2416
f069bba8
SM
24172013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2418
112798c1
SM
2419 * textmodes/css-mode.el: Use SMIE.
2420 (css-smie-grammar): New var.
2421 (css-smie--forward-token, css-smie--backward-token)
2422 (css-smie-rules): New functions.
2423 (css-mode): Use them.
2424 (css-navigation-syntax-table): Remove var.
2425 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2426 (css-indent-calculate, css-indent-line): Remove functions.
2427
2428 Misc changes to reduce use of `(lambda...); and other cleanups.
2429 * cus-edit.el: Use lexical-binding.
2430 (customize-push-and-save, customize-apropos)
2431 (custom-buffer-create-internal): Use closures.
2432 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2433 * progmodes/ada-xref.el: Use setq.
2434 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2435 * dframe.el: Use lexical-binding.
2436 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2437 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2438 * descr-text.el: Use lexical-binding.
2439 (describe-text-widget, describe-text-sexp, describe-property-list):
2440 Use closures.
2441 * comint.el (comint-history-isearch-push-state): Use a closure.
2442 * calculator.el: Use lexical-binding.
2443 (calculator-number-to-string): Make it work with lexical-binding.
2444 (calculator-funcall): Same and use cl-letf.
2445
2da4c3ab
SM
2446 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2447 (lisp--company-doc-string, lisp--company-location): New functions.
2448 (lisp-completion-at-point): Use them to improve Company support.
2449
f069bba8
SM
2450 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2451 params of lambda expressions.
2452 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2453 (ruby-smie--opening-pipe-p): New function.
2454 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2455 symbols and matched |...| for formal params.
2456 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2457 from being treated as hanging. Handle "rescue".
2458
6758b6a8
GM
24592013-08-29 Glenn Morris <rgm@gnu.org>
2460
2461 * progmodes/cc-engine.el (c-pull-open-brace):
2462 Move definition before use.
2463
e8dfd197
SM
24642013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2467 are immutable. Don't use `unsafe' any more.
2468 (cl--defsubst-expand): Don't substitute at the same time as keeping
2469 a residual unused let-binding. Don't use `unsafe' any more.
2470
cc585c96
GM
24712013-08-29 Glenn Morris <rgm@gnu.org>
2472
ba579ea6
GM
2473 * calendar/cal-china.el (calendar-chinese-year-cache):
2474 Recenter on 2015.
2475
8201a87e
GM
2476 * nxml/nxml-util.el (nxml-debug-clear-inside):
2477 Use cl-loop rather than loop.
2478
6ee877c7
GM
2479 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2480
cc585c96
GM
2481 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2482
27be8d39
GM
24832013-08-28 Glenn Morris <rgm@gnu.org>
2484
397440a1
GM
2485 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2486
2bb762d4
GM
2487 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2488
27be8d39
GM
2489 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2490
2d69b99e
SM
24912013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2492
f663baa7
SM
2493 * simple.el (repeat-complex-command--called-interactively-skip):
2494 New function.
2495 (repeat-complex-command): Use it (bug#14136).
2496
dd4f8b74
SM
2497 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2498 (c-define-abbrev-table): Add `doc' argument.
2499 (c-mode-abbrev-table, c++-mode-abbrev-table)
2500 (objc-mode-abbrev-table, java-mode-abbrev-table)
2501 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2502 (awk-mode-abbrev-table): Use it.
2503 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2504 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2505 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2506 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2507 Move initialization into the declaration; and remove any
2508 autoload cookie.
2509
b58969f7
SM
2510 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2511 and dynamic let binding.
2512
4021d6a6
SM
2513 * vc/smerge-mode.el: Remove redundant :group args.
2514
2d69b99e
SM
2515 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2516 to load-path.
2517
274919fd
JL
25182013-08-28 Juri Linkov <juri@jurta.org>
2519
2520 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2521 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2522 (isearch-other-meta-char): Handle an undefined shifted printing
2523 character by downshifting it. (Bug#15200)
2524
121f8c95
JL
25252013-08-28 Juri Linkov <juri@jurta.org>
2526
2527 * isearch.el (isearch-search): Change regexp error message for
2528 non-regexp searches. (Bug#15166)
2529
50b13cde
PE
25302013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2531
2532 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2533 for portability to hosts where /bin/sh has problems.
2534
95888bca
SM
25352013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2538
bbe558f1
JL
25392013-08-27 Juri Linkov <juri@jurta.org>
2540
2541 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2542 in the keyboard macro. (Bug#15126)
2543
26f98a7d
JL
25442013-08-27 Juri Linkov <juri@jurta.org>
2545
2546 * isearch.el (isearch-quote-char): Comment out converting unibyte
2547 to multibyte, thus syncing with its `quoted-insert' counterpart.
2548 (Bug#15166)
2549
7c97d35e
MR
25502013-08-27 Martin Rudalics <rudalics@gmx.at>
2551
2552 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2553 argument in call of get-largest-window (Bug#15185).
2554 Reported by Stephen Leake.
7c97d35e 2555
a0b5606e 25562013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2557
2558 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2559
9e89d835
SM
25602013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2563 from a matcher-function unless there's no more matches (bug#15161).
2564
78fc2530
MA
25652013-08-26 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * minibuffer.el: Revert change from 2013-08-20.
2568
2569 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2570 with text property `tramp-default', if appropriate.
2571 (tramp-check-proper-host): New defun.
2572 (tramp-dissect-file-name): Do not check hostname. Revert change
2573 of 2013-03-18.
2574 (tramp-backtrace): Make VEC-OR-PROC optional.
2575
2576 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2577 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2578 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2579 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2580 Apply `tramp-check-proper-host'.
78fc2530 2581
edca97cd
TH
25822013-08-26 Tassilo Horn <tsdh@gnu.org>
2583
2584 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2585 lambda expression in order to have `describe-variable' display it.
2586
df54bcbd
MA
25872013-08-26 Michael Albinus <michael.albinus@gmx.de>
2588
2589 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2590 BUF can be optional. (Bug#15186)
2591
eed99101
XF
25922013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2593
2594 * progmodes/flymake.el (flymake-get-real-file-name-function):
2595 Fix broken customization. (Bug#15184)
2596
b5eb9035
AM
25972013-08-25 Alan Mackenzie <acm@muc.de>
2598
8a51e842
AM
2599 Improve indentation of bracelists defined by macros (without "=").
2600
2601 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2602 expansion begins with "{", regard it as bracelist when it doesn't
2603 contain a ";".
2604
869455d4
AM
2605 Parse C++ inher-intro when there's a template split over 2 lines.
2606
2607 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2608 rigorously the search for "class" etc. followed by ":".
2609
2610 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2611 random languages a regexp which never matches rather than nil.
2612
b5eb9035
AM
2613 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2614
2615 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2616 (c-awk-regexp-one-line-possibly-open-char-list-re)
2617 (c-awk-one-line-possibly-open-regexp-re)
2618 (c-awk-one-line-non-syn-ws*-re): Remove.
2619 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2620 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2621 (c-awk-space*-unclosed-regexp-/-re): New constants.
2622 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2623 aren't regexp delimiters.
2624
2625 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2626 handling for a rare situation in AWK Mode involving unterminated
2627 strings/regexps.
2628
61611d54
GM
26292013-08-23 Glenn Morris <rgm@gnu.org>
2630
2d85dc34
GM
2631 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2632
cb8d2612
GM
2633 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2634
bb35f42f
GM
2635 * files.el (create-file-buffer): If the result would begin with
2636 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2637
b9808e77
SM
26382013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2639
e3a66363
SM
2640 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2641 text-properties (bug#15155).
2642
b9808e77
SM
2643 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2644 exist any more.
2645 (calc-keypad-redraw): Remove unused var `pad'.
2646 (calc-keypad-press): Remove unused var `menu'.
2647
7fd5f65e
MR
26482013-08-23 Martin Rudalics <rudalics@gmx.at>
2649
b9808e77
SM
2650 * window.el (display-buffer-pop-up-frame):
2651 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2652 use it as the new frame's buffer (Bug#15133).
2653
8352b530
SM
26542013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * calendar/timeclock.el: Minor cleanups.
2657 (timeclock-ask-before-exiting, timeclock-use-display-time):
2658 Use `symbol'.
2659 (timeclock-modeline-display): Define as alias before the
2660 actual definition.
2661 (timeclock-mode-line-display): Use define-minor-mode.
2662 (timeclock-day-list-template): Make it a function, add an argument.
2663 (timeclock-day-list-required, timeclock-day-list-length)
2664 (timeclock-day-list-debt, timeclock-day-list-span)
2665 (timeclock-day-list-break): Adjust calls accordingly.
2666
9f7b1925
SM
26672013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2670 Use read--expression so that completion works again.
2671
6e50e983
SS
26722013-08-21 Sam Steingold <sds@gnu.org>
2673
2674 Add rudimentary inferior shell interaction
2675 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2676 (sh-set-shell): Reset it.
9f7b1925
SM
2677 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2678 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2679
dbb0d350
SM
26802013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * align.el: Use lexical-binding.
2683 (align-region): Simplify accordingly.
2684
c88586a9
MA
26852013-08-20 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2688
2689 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2690 `non-essential' up.
2691
f95527c8
MA
26922013-08-17 Michael Albinus <michael.albinus@gmx.de>
2693
2694 * net/tramp.el:
2695 * net/tramp-adb.el:
2696 * net/tramp-cmds.el:
2697 * net/tramp-ftp.el:
2698 * net/tramp-gvfs.el:
2699 * net/tramp-gw.el:
2700 * net/tramp-sh.el: Don't wrap external variable declarations by
2701 `eval-when-compile'.
2702
4b5fe4ee
LMI
27032013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2704
2705 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2706 now that Emacs supports ImageMagick animations.
2707
13c366c9
MA
27082013-08-16 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2711 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2712
3dfc5cd6
MR
27132013-08-16 Martin Rudalics <rudalics@gmx.at>
2714
2715 * window.el (mouse-autoselect-window-select): Do autoselect when
2716 mouse pointer is on margin.
2717
4bbb4381
WP
27182013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2719
2720 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2721
3a2ddc2d
GM
27222013-08-16 Glenn Morris <rgm@gnu.org>
2723
e8bedf5a
GM
2724 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2725 Handle "Remote Directory" response of some clients. (Bug#15058)
2726
58c4682f
GM
2727 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2728 Tweak warning. (Bug#14926)
2729
57953f49
GM
2730 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2731 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2732
3a2ddc2d
GM
2733 * image-mode.el (image-mode-map): Add menu items to reverse,
2734 increase, decrease, reset animation speed.
2735 (image--set-speed, image-increase-speed, image-decrease-speed)
2736 (image-reverse-speed, image-reset-speed): New functions.
2737 (image-mode-map): Add bindings for speed commands.
2738
2739 * image.el (image-animate-get-speed, image-animate-set-speed):
2740 New functions.
2741 (image-animate-timeout): Respect image :speed property.
2742
10fa0ed3
SM
27432013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2746 previous line (bug#15101).
2747 (debugger-eval-expression, debugger-record-expression):
2748 Use read--expression (bug#15102).
2749
5d89d9d2
MA
27502013-08-15 Michael Albinus <michael.albinus@gmx.de>
2751
2752 Remove byte compiler warnings, visible when compiling with
2753 `byte-compile-force-lexical-warnings' set to t.
2754
2755 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2756 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2757 (tramp-handle-unhandled-file-name-directory)
2758 (tramp-handle-file-notify-add-watch, tramp-action-login)
2759 (tramp-action-succeed, tramp-action-permission-denied)
2760 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2761 arguments with "_".
2762
2763 * net/tramp-adb.el (tramp-adb-parse-device-names)
2764 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2765 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2766 (tramp-adb-handle-file-truename): Remove unused arguments.
2767
2768 * net/tramp-cache.el (tramp-flush-directory-property)
2769 (tramp-flush-connection-property, tramp-list-connections)
2770 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2771
10fa0ed3
SM
2772 * net/tramp-compat.el (tramp-compat-make-temp-file):
2773 Rename FILENAME to F.
5d89d9d2
MA
2774
2775 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2776 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2777 (tramp-zeroconf-parse-workstation-device-names)
2778 (tramp-zeroconf-parse-webdav-device-names)
2779 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2780
2781 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2782 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2783
2784 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2785 arguments.
2786 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2787 (tramp-sh-handle-insert-file-contents-literally)
2788 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2789 with "_".
2790 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2791 Remove unused variables.
2792
2793 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2794 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2795 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2796
2797 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2798 Make them a defconst.
2799 (tramp-uuencode-region): Remove unused variable.
2800
62f33bae
JB
28012013-08-14 Juanma Barranquero <lekktu@gmail.com>
2802
2803 * frameset.el (frameset--prop-setter): New function.
2804 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2805 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2806 parameter was already set in FILTERED. Doc fix.
2807 (frameset--record-minibuffer-relationships): Allow saving a
2808 minibufferless frame without its corresponding minibuffer frame.
2809 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2810 frame, if the frame id matches.
2811 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2812 frames before orphaned ones.
2813 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2814
c660a885
MR
28152013-08-14 Martin Rudalics <rudalics@gmx.at>
2816
2817 * window.el (window-make-atom): Don't overwrite parameter
2818 already present.
2819 (display-buffer-in-atom-window): Handle special case where we
2820 split an already atomic window.
2821 (window--major-non-side-window, display-buffer-in-side-window)
2822 (window--side-check): Ignore minibuffer window when walking
2823 window tree.
2824 (window-deletable-p): Return 'frame only if no other frame uses
2825 our minibuffer window.
2826 (record-window-buffer): Run buffer-list-update-hook.
2827 (split-window): Make sure window--check-frame won't destroy an
2828 existing atomic window in case the new window gets nested
2829 inside.
2830 (display-buffer-at-bottom): Ignore minibuffer window when
2831 walking window tree. Don't split a side window.
2832 (pop-to-buffer): Don't set-buffer here, the select-window call
2833 should do that.
2834 (mouse-autoselect-window-select): Autoselect only if we are in the
2835 text portion of the window.
2836
8259030d
LMI
28372013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2838
21c58ae2
LMI
2839 * net/shr.el (shr-parse-image-data): New function to grab both the
2840 data itself and the Content-Type.
2841 (shr-put-image): Use it.
2842
2843 * net/eww.el (eww-display-image): Ditto.
2844
8259030d
LMI
2845 * image.el (image-content-type-suffixes): New variable.
2846
ad756449
FEG
28472013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2848
2849 * progmodes/python.el (python-imenu--build-tree)
2850 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2851
f73f4ce6
XF
28522013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2853
2854 * simple.el (backward-word): Mention the optional argument.
2855
1f585e65
SM
28562013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * frameset.el (frameset--make): Rename constructor from make-frameset.
2859 (frameset-p, frameset-valid-p): Don't autoload.
2860 (frameset-valid-p): Use normal accessors.
2861
af1c6c84
GM
28622013-08-13 Glenn Morris <rgm@gnu.org>
2863
55e47f95
GM
2864 * progmodes/compile.el (compile-command): Tweak example in doc.
2865 * obsolete/scribe.el (scribe-mode):
2866 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2867
f0024d8c
GM
2868 * mail/feedmail.el (feedmail-confirm-outgoing)
2869 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2870
2871 * cus-start.el (truncate-partial-width-windows): Fix type.
2872
2873 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2874
af1c6c84
GM
2875 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2876
5514cc4c
SM
28772013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * emacs-lisp/timer.el (timer--time-setter): New function.
2880 (timer--time): Use it as gv-setter.
2881
2882 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2883 setter is not a symbol.
2884
7997a2f1
GJ
28852013-08-12 Grégoire Jadi <daimrod@gmail.com>
2886
2887 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2888 if sending fails. This makes debugging easier.
2889
01f1a9ab
JB
28902013-08-12 Juanma Barranquero <lekktu@gmail.com>
2891
2892 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2893 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2894 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2895
594a4307
EZ
28962013-08-12 Eli Zaretskii <eliz@gnu.org>
2897
2898 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2899
7a22490f 29002013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2901
2902 * format.el (format-annotate-function):
2903 Handle read-only text properties in the source. (Bug#14887)
2904
3e41a054
LMI
29052013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2906
5514cc4c
SM
2907 * net/eww.el (eww-display-html): Ignore coding system errors.
2908 One web site uses "utf-8lias" as the coding system.
3e41a054 2909
7ec326db
JB
29102013-08-11 Juanma Barranquero <lekktu@gmail.com>
2911
2912 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2913
5660113b
JB
29142013-08-10 Juanma Barranquero <lekktu@gmail.com>
2915
9a4ebc74
JB
2916 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2917 (tutorial--detailed-help): Remove unused local variables.
2918 (tutorial--save-tutorial-to): Use ignore-errors.
2919 (help-with-tutorial): Use looking-at-p.
2920
2921 * view.el (view-buffer-other-window, view-buffer-other-frame):
2922 Mark unused arguments.
2923
2924 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2925 (woman-select-symbol-fonts, woman, woman-find-file)
2926 (woman-insert-file-contents, woman-non-underline-faces):
2927 Use string-match-p.
2928 (woman1-unquote): Move declaration.
2929
2930 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2931 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2932 argument. Remove unused local variable.
2933 (xml-parse-elem-type): Use string-match-p.
2934 (xml-substitute-numeric-entities): Use ignore-errors.
2935
45fdb482
JB
2936 * calculator.el (calculator): Mark unused argument.
2937 (calculator-paste, calculator-quit, calculator-integer-p):
2938 Use ignore-errors.
2939 (calculator-string-to-number, calculator-decimal, calculator-exp)
2940 (calculator-op-or-exp): Use string-match-p.
2941
2942 * dired.el (dired-buffer-more-recently-used-p): Declare.
2943 (dired-insert-set-properties, dired-insert-old-subdirs):
2944 Use ignore-errors.
2945
2946 * dired-aux.el (dired-compress): Use ignore-errors.
2947 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2948 (dired-do-async-shell-command, dired-do-shell-command)
2949 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2950 (dired-insert-subdir-validate): Use string-match-p.
2951 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2952 (dired-add-entry): Use string-match-p, looking-at-p.
2953 (dired-insert-subdir-newpos): Remove unused local variable.
2954
2955 * filenotify.el (file-notify-callback): Remove unused local variable.
2956
2957 * filesets.el (filesets-error): Mark unused argument.
2958 (filesets-which-command-p, filesets-filter-dir-names)
2959 (filesets-directory-files, filesets-get-external-viewer)
2960 (filesets-ingroup-get-data): Use string-match-p.
2961
2962 * find-file.el (ff-other-file-name, ff-other-file-name)
2963 (ff-find-the-other-file, ff-cc-hh-converter):
2964 Remove unused local variables.
2965 (ff-get-file-name): Use string-match-p.
2966 (ff-all-dirs-under): Use ignore-errors.
2967
2968 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2969 (follow-select-if-visible): Remove unused local variable.
2970
2971 * forms.el (read-file-filter): Move declaration.
2972 (forms--make-format, forms--make-parser, forms-insert-record):
2973 Quote function with #'.
2974 (forms--update): Use string-match-p. Quote function with #'.
2975
2976 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2977 (help-make-xrefs): Use looking-at-p.
2978 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2979
2980 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2981 (ibuffer-confirm-operation-on): Use string-match-p.
2982
2983 * msb.el (msb-item-handler, msb-dired-item-handler):
2984 Mark unused arguments.
2985
2986 * ses.el (ses-decode-cell-symbol)
2987 (ses-kill-override): Remove unused local variable.
2988 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2989 (ses-load): Use ignore-errors, looking-at-p.
2990 (ses-jump-safe): Use ignore-errors.
2991 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2992
2993 * tabify.el (untabify, tabify): Mark unused arguments.
2994
2995 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2996 Mark unused argument.
2997 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2998 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2999
c880af52
JB
3000 * emacs-lisp/timer.el (timer--time): Define setter with
3001 gv-define-setter to avoid deprecation warning.
3002
5660113b 3003 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3004 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3005 (cmpl-statistics-block): Remove (body was commented out).
3006 All callers changed.
3007 (add-completions-from-buffer, load-completions-from-file):
3008 Remove unused variables.
3009
156aab80
JB
30102013-08-09 Juanma Barranquero <lekktu@gmail.com>
3011
5c5dee78
JB
3012 * filecache.el (file-cache-delete-file-list):
3013 Print message only when told so.
3014 (file-cache-files-matching): Use #' in mapconcat argument.
3015
156aab80
JB
3016 * ffap.el (ffap-url-at-point): Fix reference to variable
3017 thing-at-point-default-mail-uri-scheme.
3018
ad9dcd70
SM
30192013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3020
54bd972f
SM
3021 * subr.el (define-error): New function.
3022 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3023 error-file-not-found and define with define-error.
3024 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3025 and define with define-error.
3026 * userlock.el (file-locked, file-supersession):
3027 * simple.el (mark-inactive):
3028 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3029 * progmodes/ada-mode.el (ada-mode-errors):
3030 * play/life.el (life-extinct):
3031 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3032 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3033 * nxml/rng-util.el (rng-error):
3034 * nxml/rng-uri.el (rng-uri-error):
3035 * nxml/rng-match.el (rng-compile-error):
3036 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3037 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3038 * nxml/nxml-rap.el (nxml-scan-error):
3039 * nxml/nxml-outln.el (nxml-outline-error):
3040 * net/soap-client.el (soap-error):
3041 * net/gnutls.el (gnutls-error):
3042 * net/ange-ftp.el (ftp-error):
3043 * mpc.el (mpc-proc-error):
3044 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3045 (json-number-format, json-string-escape, json-string-format)
3046 (json-key-format, json-object-format):
3047 * jka-compr.el (compression-error):
3048 * international/quail.el (quail-error):
3049 * international/kkc.el (kkc-error):
3050 * emacs-lisp/ert.el (ert-test-failed):
3051 * calc/calc.el (calc-error, inexact-result, math-overflow)
3052 (math-underflow):
3053 * bookmark.el (bookmark-error-no-filename):
3054 * epg.el (epg-error): Define with define-error.
3055
0ea9e53a
SM
3056 * time.el (display-time-event-handler)
3057 (display-time-next-load-average): Don't call sit-for since it seems
3058 unnecessary (bug#15045).
3059
b0429158
SM
3060 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3061 Use #' instead of ' to quote functions.
3062 (checkdoc-output-mode): Use setq-local.
3063 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3064 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3065 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3066 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3067 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3068 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3069 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3070 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3071
ad9dcd70
SM
3072 * ido.el (ido-completion-help): Fix up compiler warning.
3073
77187e6f
JB
30742013-08-09 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * frameset.el (frameset-p): Add autoload cookie.
3077 (frameset--jump-to-register): New function, based on code moved from
3078 register.el.
3079 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3080
3081 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3082 (frameset-restore, frameset-save, frameset-session-filter-alist):
3083 Remove declarations.
3084 (register-alist): Doc fix.
3085 (frameset-to-register): Move to frameset.el.
3086 (jump-to-register, describe-register-1): Remove frameset-specific code.
3087
9d3aa82c
JB
30882013-08-08 Juanma Barranquero <lekktu@gmail.com>
3089
3090 * allout-widgets.el (allout-widgets-pre-command-business)
3091 (allout-widgets-post-command-business)
3092 (allout-widgets-after-change-handler)
3093 (allout-decorate-item-and-context, allout-set-boundary-marker)
3094 (allout-body-modification-handler)
3095 (allout-graphics-modification-handler): Mark ignored arguments.
3096 (allout-widgets-post-command-business)
3097 (allout-widgets-exposure-change-processor)
3098 (allout-widgets-exposure-undo-processor)
3099 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3100 (allout-parse-item-at-point, allout-decorate-item-guides)
3101 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3102 * allout.el (epa-passphrase-callback-function): Declare.
3103 (allout-overlay-insert-in-front-handler)
3104 (allout-overlay-interior-modification-handler)
3105 (allout-isearch-end-handler, allout-chart-siblings)
3106 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3107 (allout-yank-processing, allout-process-exposed)
3108 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3109 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3110 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3111 (lisp-indent-defform): Mark ignored arguments.
3112 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3113 (calculate-lisp-indent): Remove unused variables.
3114 * international/characters.el (indian-2-column, arabic-2-column)
3115 (tibetan): Mark ignored arguments.
3116 (use-cjk-char-width-table): Mark ignored arguments.
3117 Remove unused variables.
3118 * international/fontset.el (build-default-fontset-data)
3119 (x-compose-font-name, create-fontset-from-fontset-spec):
3120 Mark ignored arguments.
3121 (fontset-plain-name): Remove unused variables.
3122 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3123 (keyboard-coding-system): Mark ignored arguments.
3124 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3125 * help.el (resize-temp-buffer-window):
3126 * window.el (display-buffer-in-major-side-window)
3127 (display-buffer-in-side-window, display-buffer-in-previous-window):
3128 Remove unused variables.
3129 * isearch.el (isearch-forward-symbol):
3130 * version.el (emacs-bzr-version-bzr):
3131 * international/mule-cmds.el (current-language-environment):
3132 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3133 (x-handle-display):
3134 * term/pc-win.el (x-list-fonts, x-display-planes)
3135 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3136 (x-server-version, x-display-screens, x-display-mm-height)
3137 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3138 (x-selection-owner-p, x-own-selection-internal)
3139 (x-disown-selection-internal, x-get-selection-internal)
3140 (msdos-initialize-window-system):
3141 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3142 * term/x-win.el (x-handle-no-bitmap-icon):
3143 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3144 (vc-default-find-file-hook, vc-default-extra-menu):
3145 Mark ignored arguments.
3146
0ca3f70e
SM
31472013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3150 break-condition in the context of the debugged code (bug#12685).
3151
74c5d24c
CS
31522013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3153
3154 * comint.el:
3155 Do not use an overlay to highlight the last prompt. (Bug#14744)
3156 (comint-mode): Make comint-last-prompt buffer local.
3157 (comint-last-prompt): New variable.
3158 (comint-last-prompt-overlay): Remove. Superseded by
3159 comint-last-prompt.
0ca3f70e
SM
3160 (comint-snapshot-last-prompt, comint-output-filter):
3161 Use comint-last-prompt.
74c5d24c 3162
c03c02ee
JB
31632013-08-08 Juanma Barranquero <lekktu@gmail.com>
3164
a3738d20 3165 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3166 (frameset-save): Check validity of the resulting frameset.
3167
04263d23
XF
31682013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3169
3170 * ido.el (ido-record-command): Add doc string.
3171
76c5e5ab
JB
31722013-08-08 Juanma Barranquero <lekktu@gmail.com>
3173
3174 * frameset.el (frameset): Do not disable creation of the default
3175 frameset-p predicate. Doc fix.
3176 (frameset-valid-p): New function, copied from the old predicate-p.
3177 Add additional checks.
3178 (frameset-restore): Check with frameset-valid-p.
3179 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3180 (frameset-name, frameset-description, frameset-properties)
3181 (frameset-states): Add docstring.
f9dbf1cb
JB
3182 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3183 (frameset-filter-alist): Doc fixes.
76c5e5ab 3184
bd0c3c0b
JB
31852013-08-08 Juanma Barranquero <lekktu@gmail.com>
3186
3187 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3188
c735544c
SM
31892013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3192 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3193 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3194 (byte-compile-normal-call): Remove obsolescence check.
3195
2805a651
JB
31962013-08-08 Juanma Barranquero <lekktu@gmail.com>
3197
3677ffeb
JB
3198 * frameset.el (frameset-restore): Doc fix.
3199
2805a651
JB
3200 * register.el (frameset-frame-id, frameset-frame-with-id)
3201 (frameset-p, frameset-restore, frameset-save): Declare.
3202 (register-alist): Document framesets.
3203 (frameset-session-filter-alist): Declare.
3204 (frameset-to-register): New function.
3205 (jump-to-register): Implement jumping to framesets. Doc fix.
3206 (describe-register-1): Describe framesets.
3207
3208 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3209
a912c016
JB
32102013-08-07 Juanma Barranquero <lekktu@gmail.com>
3211
3212 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3213 Use lexical-binding.
3214
3215 * frameset.el (frameset): Use type vector, not list (incompatible
3216 change). Do not declare a new constructor, use the default one.
3217 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3218 `name' and `description', respectively, and add read-only slot
3219 `timestamp'. Doc fixes.
3220 (frameset-copy, frameset-persistent-filter-alist)
3221 (frameset-filter-alist, frameset-switch-to-gui-p)
3222 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3223 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3224 (frameset-filter-iconified, frameset-keep-original-display-p):
3225 Doc fixes.
3226 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3227 Rename from frameset-filter-(save|restore)-param. All callers changed.
3228 Doc fix.
3229 (frameset-p): Adapt to change to vector and be more thorough.
3230 Change arg name to OBJECT. Doc fix.
3231 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3232 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3233 All callers changed.
3234 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3235 All callers changed.
3236 (frameset--record-minibuffer-relationships): Rename from
3237 frameset--process-minibuffer-frames. All callers changed.
3238 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3239 Use new default constructor (again). Doc fix.
3240 (frameset--find-frame-if): Rename from `frameset--find-frame.
3241 All callers changed.
3242 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3243 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3244 Doc fix.
3245 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3246 PARAMETERS and WINDOW-STATE, respectively.
3247 (frameset-restore): Add new keyword argument PREDICATE.
3248 Reset frameset--target-display to nil. Doc fix.
3249
bb41480a
SM
32502013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3251
f001e98e
SM
3252 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3253 (bat-mode): Use it.
3254 (bat-mode-syntax-table): Mark \n as end-of-comment.
3255 (bat-font-lock-keywords): Remove comment rule.
3256
7679edb1
SM
3257 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3258 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3259
bb41480a
SM
3260 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3261 (byte-compile-callargs-warn): Use `push'.
3262 (byte-compile-arglist-warn): Ignore higher-order "calls".
3263 (byte-compile-file-form-autoload): Use `pcase'.
3264 (byte-compile-function-form): If quoting a symbol, check that it exists.
3265
cdc1ebb9
EZ
32662013-08-07 Eli Zaretskii <eliz@gnu.org>
3267
3268 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3269 and add a few popular commands found in batch files.
3270 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3271 (dos-mode): Doc fixes.
3272
312b1740
SM
32732013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3276 (dos-mode): Use setq-local. Add space after "rem".
3277 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3278 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3279
400a3178
AM
32802013-08-07 Arni Magnusson <arnima@hafro.is>
3281
3282 * progmodes/dos.el: New file.
3283 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3284 dos-mode.
3285
3b5c03d3
GM
32862013-08-06 Glenn Morris <rgm@gnu.org>
3287
3288 * calendar/calendar.el: Add new faces, and day-header-array.
3289 (calendar-weekday-header, calendar-weekend-header)
3290 (calendar-month-header): New faces.
3291 (calendar-day-header-construct): New function.
3292 (calendar-day-header-width): Also :set calendar-day-header-array.
3293 (calendar-american-month-header, calendar-european-month-header)
3294 (calendar-iso-month-header): Use calendar- faces.
3295 (calendar-generate-month):
3296 Use calendar-day-header-array for day headers; apply faces to them.
3297 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3298 (calendar-abbrev-construct): Add optional maxlen argument.
3299 (calendar-day-name-array): Doc fix.
3300 (calendar-day-name-array, calendar-abbrev-length)
3301 (calendar-day-abbrev-array):
3302 Also :set calendar-day-header-array, and maybe redraw.
3303 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3304 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3305 (calendar-day-name): Add option to use header array.
3306
ec6a2d7a
LMI
33072013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3308
3309 * net/shr.el (shr-render-td): Remove debugging.
3310 (shr-render-td): Make width computation consistent by defaulting
3311 all zero-width columns to 10 characters. This may not be optimal,
3312 but it's at least consistent.
2122cb6d
LMI
3313 (shr-make-table-1): Redo last change to fix the real problem in
3314 colspan handling.
ec6a2d7a 3315
ed4fd9c5
DA
33162013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3317
0ca3f70e
SM
3318 * files.el (cache-long-line-scans):
3319 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3320
64e22afe
JB
33212013-08-06 Juanma Barranquero <lekktu@gmail.com>
3322
024b38fc
JB
3323 * frameset.el (frameset, frameset-filter-alist)
3324 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3325 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3326 (frameset-compute-pos): Rename from frameset--compute-pos,
3327 and add docstring.
3328 (frameset-move-onscreen): Use frameset-compute-pos.
3329 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3330
64e22afe
JB
3331 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3332 Fix typos in docstrings.
3333
c8c2aca8
DA
33342013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3335
3336 * frame.el (get-other-frame): Tiny cleanup.
3337
1d237bba
JB
33382013-08-06 Juanma Barranquero <lekktu@gmail.com>
3339
8951efef
JB
3340 * vc/vc.el (vc-default-ignore-completion-table):
3341 Silence byte-compiler warning.
3342
307764cc
JB
3343 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3344 slot , which can indeed be nil.
3345 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3346 Move entry for `left' from persistent to live filter alist.
3347 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3348 Doc fixes.
3349 (frameset-filter-params): When restoring a frame, copy items added to
3350 `filtered', to avoid unwittingly modifying the original parameters.
3351 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3352 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3353
1d237bba
JB
3354 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3355 to use looking-at-p instead of looking-at. (Bug#15028)
3356
dc6c0eda
SM
33572013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 Revert introduction of isearch-filter-predicates (bug#14714).
3360 Rely on add-function instead.
3361 * isearch.el (isearch-filter-predicates): Rename it back to
3362 isearch-filter-predicate.
3363 (isearch-message-prefix): Use advice-function-mapc and advice
3364 properties to get the isearch-message-prefix.
3365 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3366 instead of run-hook-with-args-until-failure.
3367 (isearch-filter-visible): Not obsolete any more.
3368 * loadup.el: Preload nadvice.
3369 * replace.el (perform-replace): Revert to funcall
3370 instead of run-hook-with-args-until-failure.
3371 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3372 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3373 dired-isearch-filenames-toggle; make it into a proper minor mode.
3374 Use add/remove-function.
3375 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3376 Call the minor-mode rather than add/remove-hook.
3377 (dired-isearch-filter-filenames):
3378 Remove isearch-message-prefix property.
3379 * info.el (Info--search-loop): New function, extracted from Info-search.
3380 Funcall isearch-filter-predicate instead of
3381 run-hook-with-args-until-failure isearch-filter-predicates.
3382 (Info-search): Use it.
3383 (Info-mode): Use isearch-filter-predicate instead of
3384 isearch-filter-predicates.
3385
290d5b58
DA
33862013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3387
3388 Do not call to `selected-window' where it is assumed by default.
3389 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3390 `window-hscroll', `window-width', `window-height', `window-buffer',
3391 `window-frame', `window-start', `window-point', `next-window'
3392 and `window-display-table'.
3393 * abbrev.el (abbrev--default-expand):
3394 * bs.el (bs--show-with-configuration):
3395 * buff-menu.el (Buffer-menu-mouse-select):
3396 * calc/calc.el (calc):
3397 * calendar/calendar.el (calendar-generate-window):
3398 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3399 (diary-make-entry):
3400 * comint.el (send-invisible, comint-dynamic-complete-filename)
3401 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3402 * completion.el (complete):
3403 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3404 * disp-table.el (describe-current-display-table):
3405 * doc-view.el (doc-view-insert-image):
3406 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3407 * ehelp.el (with-electric-help):
3408 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3409 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3410 * emacs-lisp/helper.el (Helper-help-scroller):
3411 * emulation/cua-base.el (cua--post-command-handler-1):
3412 * eshell/esh-mode.el (eshell-output-filter):
3413 * ffap.el (ffap-gnus-wrapper):
3414 * help-macro.el (make-help-screen):
3415 * hilit-chg.el (highlight-compare-buffers):
3416 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3417 * hl-line.el (global-hl-line-highlight):
3418 * icomplete.el (icomplete-simple-completing-p):
3419 * isearch.el (isearch-done):
3420 * jit-lock.el (jit-lock-stealth-fontify):
3421 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3422 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3423 * mpc.el (mpc-tagbrowser, mpc):
3424 * net/rcirc.el (rcirc-any-buffer):
3425 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3426 * play/landmark.el (landmark-max-width, landmark-max-height):
3427 * play/zone.el (zone):
3428 * progmodes/compile.el (compilation-goto-locus):
3429 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3430 * progmodes/etags.el (find-tag-other-window):
3431 * progmodes/fortran.el (fortran-column-ruler):
3432 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3433 * progmodes/verilog-mode.el (verilog-point-text):
3434 * reposition.el (reposition-window):
3435 * rot13.el (toggle-rot13-mode):
3436 * server.el (server-switch-buffer):
3437 * shell.el (shell-dynamic-complete-command)
3438 (shell-dynamic-complete-environment-variable):
3439 * simple.el (insert-buffer, set-selective-display)
3440 (delete-completion-window):
3441 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3442 (speedbar-recenter):
3443 * startup.el (fancy-splash-head):
3444 * textmodes/ispell.el (ispell-command-loop):
3445 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3446 * tutorial.el (help-with-tutorial):
3447 * vc/add-log.el (add-change-log-entry):
3448 * vc/compare-w.el (compare-windows):
3449 * vc/ediff-help.el (ediff-indent-help-message):
3450 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3451 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3452 (ediff-setup-control-frame):
3453 * vc/emerge.el (emerge-position-region):
3454 * vc/pcvs-util.el (cvs-bury-buffer):
3455 * window.el (walk-windows, mouse-autoselect-window-select):
3456 * winner.el (winner-set-conf, winner-undo): Related users changed.
3457
38276e01
JB
34582013-08-05 Juanma Barranquero <lekktu@gmail.com>
3459
3460 * frameset.el (frameset--set-id): Doc fix.
3461 (frameset-frame-id, frameset-frame-id-equal-p)
3462 (frameset-locate-frame-id): New functions.
3463 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3464 (frameset-restore): Use them.
3465
12b4c0ea
DA
34662013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3467
3468 Do not call to `selected-frame' where it is assumed by default.
3469 Affected functions are `raise-frame', `redraw-frame',
3470 `frame-first-window', `frame-terminal' and `delete-frame'.
3471 * calendar/appt.el (appt-disp-window):
3472 * epg.el (epg-wait-for-completion):
3473 * follow.el (follow-delete-other-windows-and-split)
3474 (follow-avoid-tail-recenter):
3475 * international/mule.el (set-terminal-coding-system):
3476 * mail/rmail.el (rmail-mail-return):
3477 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3478 * progmodes/f90.el (f90-add-imenu-menu):
3479 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3480 * server.el (server-switch-buffer):
3481 * simple.el (delete-completion-window):
3482 * talk.el (talk):
3483 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3484 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3485 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3486 * vc/ediff.el (ediff-documentation): Related users changed.
3487 * frame.el (selected-terminal): Remove the leftover.
3488
17f25e76
GM
34892013-08-05 Glenn Morris <rgm@gnu.org>
3490
3491 * calendar/calendar.el (calendar-generate-month):
3492 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3493 (calendar-generate-month, calendar-font-lock-keywords):
3494 Fix for calendar-day-header-width > length of any day name.
17f25e76 3495
063233c3
JB
34962013-08-05 Juanma Barranquero <lekktu@gmail.com>
3497
3498 * desktop.el (desktop-clear): Use new name of sort predicate.
3499
3500 * frameset.el (frameset): Add docstring. Move :version property to its
3501 own `version' slot.
3502 (frameset-copy): Rename from copy-frameset.
3503 (frameset-p): Check more thoroughly.
3504 (frameset-prop): Do not check for :version, which is no longer a prop.
3505 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3506 Use new :never value instead of t.
3507 (frameset-filter-alist): Expand and clarify docstring.
3508 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3509 (frameset-filter-minibuffer, frameset-filter-save-param)
3510 (frameset-filter-restore-param, frameset-filter-iconified):
3511 Add pointer to docstring of frameset-filter-alist.
3512 (frameset-filter-params): Rename filter values to be more meaningful:
3513 :never instead of t, and reverse the meanings of :save and :restore.
3514 (frameset--process-minibuffer-frames): Clarify error message.
3515 (frameset-save): Avoid unnecessary and confusing call to framep.
3516 Use new BOA constructor for framesets.
3517 (frameset--reuse-list): Doc fix.
3518 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3519 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3520 (frameset-minibufferless-first-p): Doc fix.
3521 Rename from frameset-sort-frames-for-deletion.
3522 (frameset-restore): Doc fixes. Use new function names.
3523 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3524
d5671a82
JB
35252013-08-04 Juanma Barranquero <lekktu@gmail.com>
3526
3527 * desktop.el (desktop-restore-forces-onscreen)
3528 (desktop-restore-reuses-frames): Document :keyword constant values.
3529 (desktop-filter-parameters-alist): Remove, now identical to
3530 frameset-filter-alist.
3531 (desktop--filter-tty*): Remove, moved to frameset.el.
3532 (desktop-save-frameset, desktop-restore-frameset):
3533 Do not pass :filters argument.
3534
3535 * frameset.el (frameset-live-filter-alist)
3536 (frameset-persistent-filter-alist): New variables.
3537 (frameset-filter-alist): Use them. Add autoload cookie.
3538 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3539 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3540 `frameset--id' (it's supposed to be internal to frameset.el).
3541 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3542 (frameset--initial-params): New function.
3543 (frameset--get-frame): Use it. Doc fix.
3544 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3545 Accept :all, not 'all.
3546 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3547 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3548 with fbound symbols. Fix frame id matching, and remove matching ids if
3549 the frame being restored is deleted. Obey :delete.
3550
671d5c16
SM
35512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * subr.el (macrop): New function.
3554 (text-clone--maintaining): New var.
3555 (text-clone--maintain): Rename from text-clone-maintain. Use it
3556 instead of inhibit-modification-hooks.
3557
3558 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3559 a proxy, so as handle autoloads and redefinitions of the target.
3560 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3561
3562 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3563 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3564 (pcase--mutually-exclusive-p): New function.
3565 (pcase--split-consp): Use it.
3566 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3567 mutually exclusive with the current predicate.
3568
3569 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3570 (edebug-macrop): Remove. Use `macrop' instead.
3571 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3572 (ad-macro-p):
3573 * eshell/esh-cmd.el (eshell-macrop):
3574 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3575
1d44e9dc
SM
35762013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3579 (advice-mapc): New function, using it.
3580 (advice-function-member-p): New function.
3581 (advice--normalize): Store the cdr in advice--saved-rewrite since
3582 that's the part that will be changed.
3583 (advice--symbol-function): New function.
3584 (advice-remove): Handle removal before the function is defined.
3585 Adjust to new advice--saved-rewrite.
3586 (advice-member-p): Use advice-function-member-p and
3587 advice--symbol-function.
3588
5414a283
JB
35892013-08-04 Juanma Barranquero <lekktu@gmail.com>
3590
51d30f2c
JB
3591 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3592 (frameset-filter-minibuffer): Doc fix.
3593 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3594 (frameset--set-id, frameset--process-minibuffer-frames)
3595 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3596 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3597
5414a283
JB
3598 * desktop.el (desktop-clear): Only delete frames when called
3599 interactively and desktop-restore-frames is non-nil. Doc fix.
3600 (desktop-read): Set desktop-saved-frameset to nil.
3601
ab419665
XF
36022013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3603
3604 * vc/vc.el (vc-ignore): Rewrite.
3605 (vc-default-ignore-completion-table):
3606 (vc--read-lines):
3607 (vc--add-line, vc--remove-regexp): New functions.
3608
3609 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3610 (vc-svn-ignore-completion-table): New function.
3611
3612 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3613 (vc-hg-ignore-completion-table):
3614 (vc-hg-find-ignore-file): New functions.
3615
3616 * vc/vc-git.el (vc-git-ignore): Rewrite.
3617 (vc-git-ignore-completion-table):
3618 (vc-git-find-ignore-file): New functions.
3619
3620 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3621
3622 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3623 (vc-bzr-ignore-completion-table):
3624 (vc-bzr-find-ignore-file): New functions.
3625
2613dea2
JB
36262013-08-03 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * frameset.el (frameset-prop): New function and setter.
3629 (frameset-save): Do not modify frame list passed by the caller.
3630
9c959872
SM
36312013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3634
a104f656
SM
36352013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3636
70122acf
SM
3637 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3638 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3639
a104f656
SM
3640 * custom.el (custom-initialize-default, custom-initialize-set)
3641 (custom-initialize-reset, custom-initialize-changed): Affect the
3642 toplevel-default-value (bug#6275, bug#14586).
3643 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3644 for bug#6275.
3645
f078d570
JB
36462013-08-02 Juanma Barranquero <lekktu@gmail.com>
3647
185e3b5a
JB
3648 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3649 Add cl-def* expressions.
3650
f078d570
JB
3651 * frameset.el (frameset-filter-params): Fix order of arguments.
3652
9421876d
JB
36532013-08-02 Juanma Barranquero <lekktu@gmail.com>
3654
3655 Move code related to saving frames to frameset.el.
3656 * desktop.el: Require frameset.
3657 (desktop-restore-frames): Doc fix.
3658 (desktop-restore-reuses-frames): Rename from
3659 desktop-restoring-reuses-frames.
3660 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3661 (desktop-clear): Clear frames too.
3662 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3663 (desktop--filter-tty*, desktop-save, desktop-read):
3664 Use frameset functions.
3665 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3666 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3667 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3668 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3669 (desktop--process-minibuffer-frames, desktop-save-frames)
3670 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3671 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3672 (desktop--sort-states, desktop-restoring-frames-p)
3673 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3674 (desktop-restoring-frameset-p, desktop-restore-frameset)
3675 (desktop--check-dont-save, desktop-save-frameset): New functions.
3676 (desktop--app-id): New constant.
3677 (desktop-first-buffer, desktop-buffer-ok-count)
3678 (desktop-buffer-fail-count): Move before first use.
3679 * frameset.el: New file.
3680
76dc5996
SM
36812013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * files.el: Use lexical-binding.
3684 (dir-locals-read-from-file): Remove unused `err' variable.
3685 (hack-dir-local-variables--warned-coding): New var.
3686 (hack-dir-local-variables): Use it to avoid repeated warnings.
3687 (make-backup-file-name--default-function): New function.
3688 (make-backup-file-name-function): Use it as default.
3689 (buffer-stale--default-function): New function.
3690 (buffer-stale-function): Use it as default.
3691 (revert-buffer-insert-file-contents--default-function): New function.
3692 (revert-buffer-insert-file-contents-function): Use it as default.
3693 (insert-directory): Avoid add-to-list.
3694
3695 * autorevert.el (auto-revert-handler): Simplify.
3696 Use buffer-stale--default-function.
3697
06d36e2b
TH
36982013-08-01 Tassilo Horn <tsdh@gnu.org>
3699
5f648ab4
TH
3700 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3701
06d36e2b
TH
3702 * whitespace.el (whitespace-ensure-local-variables): New function.
3703 (whitespace-cleanup-region): Call it.
3704 (whitespace-turn-on): Call it.
3705
a43dc424
MA
37062013-08-01 Michael Albinus <michael.albinus@gmx.de>
3707
3708 Complete file name handlers.
3709
3710 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3711 (tramp-handle-verify-visited-file-modtime)
3712 (tramp-handle-file-notify-rm-watch): New functions.
3713 (tramp-call-process): Do not bind `default-directory'.
3714
44e18199
JB
3715 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3716 Order alphabetically.
a43dc424
MA
3717 [access-file, add-name-to-file, dired-call-process]:
3718 [dired-compress-file, file-acl, file-notify-rm-watch]:
3719 [file-ownership-preserved-p, file-selinux-context]:
3720 [make-directory-internal, make-symbolic-link, set-file-acl]:
3721 [set-file-selinux-context, set-visited-file-modtime]:
3722 [verify-visited-file-modtime]: Add handler.
3723 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3724
3725 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3726 [file-notify-add-watch, file-notify-rm-watch]:
3727 [set-file-times, set-visited-file-modtime]:
3728 [verify-visited-file-modtime]: Add handler.
3729 (with-tramp-gvfs-error-message)
3730 (tramp-gvfs-handle-set-visited-file-modtime)
3731 (tramp-gvfs-fuse-file-name): Remove.
3732 (tramp-gvfs-handle-file-notify-add-watch)
3733 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3734 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3735
44e18199
JB
3736 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3737 Order alphabetically.
a43dc424
MA
3738 [file-notify-rm-watch ]: Use default Tramp handler.
3739 [executable-find]: Remove private handler.
3740 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3741 `default-directory'.
3742 (tramp-sh-handle-executable-find)
3743 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3744 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3745 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3746 Do not use `format' in `tramp-message'.
3747
3748 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3749 [file-notify-rm-watch, set-visited-file-modtime]:
3750 [verify-visited-file-modtime]: Add handler.
3751 (tramp-smb-call-winexe): Do not bind `default-directory'.
3752
7188b515
XF
37532013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3754
3755 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3756
2412ee1a
DG
37572013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3758
3759 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3760 use it.
3761 (log-view-diff-changeset): Same.
3762 (log-view-diff-common): Call backend command `previous-revision'
3763 to find out the previous revision, in both cases. Swap the
3764 variables `to' and `fr', so that `fr' usually refers to the
3765 earlier revision (Bug#14989).
3766
5002a754
KRC
37672013-07-31 Kan-Ru Chen <kanru@kanru.info>
3768
3769 * ibuf-ext.el (ibuffer-filter-by-filename):
3770 Make it work with dired buffers too.
3771
44e18199 37722013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3773
3774 * emacs-lisp/re-builder.el (reb-color-display-p):
3775 * files.el (save-buffers-kill-terminal):
3776 * net/browse-url.el (browse-url):
3777 * server.el (server-save-buffers-kill-terminal):
3778 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3779 Prefer nil to selected-frame for the first arg of frame-parameter.
3780
aeca3fbb
XF
37812013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3782
3783 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3784
158bc55c
SB
37852013-07-30 Stephen Berman <stephen.berman@gmx.net>
3786
3787 * minibuffer.el (completion--twq-all): Try and preserve each
3788 completion's case choice (bug#14907).
3789
d50fceab
LMI
37902013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3791
ac38e731
LMI
3792 * net/network-stream.el (open-network-stream): Mention the new
3793 :nogreeting parameter.
3794 (network-stream-open-starttls): Use the :nogreeting parameter
3795 (bug#14938).
3796
1211de50
LMI
3797 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3798
997798bf
LMI
3799 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3800 more natural than popping.
3801
d50fceab 3802 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3803 (shr-urlify): Highlight under mouse.
d50fceab 3804
5c09de04
XF
38052013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3806
207d1d04
XF
3807 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3808
3809 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3810
5c09de04
XF
3811 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3812 buffer for output.
3813
3cd51eaa
XF
3814 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3815 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3816
44e18199 3817 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3818 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3819
3820 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3821
3822 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3823 buffer for output.
3824
35a89bdd
EZ
38252013-07-29 Eli Zaretskii <eliz@gnu.org>
3826
3827 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3828 initial frame is minibuffer-less. (Bug#14841)
3829
78822e94
MA
38302013-07-29 Michael Albinus <michael.albinus@gmx.de>
3831
3832 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3833 option.
3834
3835 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3836 (tramp-maybe-open-connection): Use it.
3837
9503c190
JB
38382013-07-28 Juanma Barranquero <lekktu@gmail.com>
3839
3840 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3841 minimal set of parameters passed when creating a frame, because
3842 the minibuffer status of a frame cannot be changed later.
3843
d5a845b4
SB
38442013-07-28 Stephen Berman <stephen.berman@gmx.net>
3845
3846 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3847 replace-regexp-in-string and inadvertent omissions in previous change.
3848 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3849 name of filtered items buffer.
d5a845b4 3850
ddeffb17
JB
38512013-07-28 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * desktop.el: Optionally force offscreen frames back onscreen.
3854 (desktop-restoring-reuses-frames): New option.
3855 (desktop--compute-pos, desktop--move-onscreen): New functions.
3856 (desktop--make-frame): Use desktop--move-onscreen.
3857
f5950f7a
AM
38582013-07-27 Alan Mackenzie <acm@muc.de>
3859
3860 Fontify a Java generic method as a function.
3861 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3862 value to t.
3863
ae43b66a
SB
38642013-07-27 Stephen Berman <stephen.berman@gmx.net>
3865
3866 * calendar/todo-mode.el: Add command to rename todo files.
3867 (todo-rename-file): New command.
3868 (todo-key-bindings-t): Add key binding for it. Change the
3869 bindings of todo-filter-regexp-items(-multifile) to use `x'
3870 instead of `r', since the latter is better suited to the new
3871 renaming command.
3872
5ab78d3d
AM
38732013-07-27 Alan Mackenzie <acm@muc.de>
3874
3875 Make Java try-with-resources statement parse properly.
3876 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3877 (c-block-stmt-1-2-key): New language constants/variables.
3878 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3879 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3880 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3881 with c-block-stmt-1-2-key.
5ab78d3d 3882
d85c4d50
JB
38832013-07-27 Juanma Barranquero <lekktu@gmail.com>
3884
3885 * desktop.el (desktop--make-frame): Apply most frame parameters after
3886 creating the frame to force (partially or totally) offscreen frames to
3887 be restored as such.
3888
e4c467f9
XF
38892013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3890
3891 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3892 (Bug#14948)
e4c467f9 3893
7ced0d04
SM
38942013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3897 `base' arg of backtrace-frame.
3898
fec92060
EZ
38992013-07-26 Eli Zaretskii <eliz@gnu.org>
3900
3901 * simple.el (list-processes): Doc fix.
3902
d58d31fb
JB
39032013-07-26 Juanma Barranquero <lekktu@gmail.com>
3904
3905 * desktop.el (desktop--select-frame):
d85c4d50 3906 Try harder to reuse existing frames.
d58d31fb 3907
53ff3e77
SM
39082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3911 (edebug-eval): Use backtrace-eval.
3912 (edebug--display, edebug--recursive-edit): Don't let-bind the
3913 edebug-outer-* vars that keep track of variables we locally let-bind.
3914 (edebug-outside-excursion): Don't restore outside values of locally
3915 let-bound vars.
3916 (edebug--display): Use user-error.
3917 (cl-lexical-debug, cl-debug-env): Remove.
3918
045f7a53
JB
39192013-07-26 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3922 are restored to be sure that they are visible before deleting any
3923 remaining ones.
3924
59070b32
MM
39252013-07-26 Matthias Meulien <orontee@gmail.com>
3926
742a3501
XF
3927 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3928 vc-print-root-log. (Bug#14948)
59070b32 3929
b1fb3596
RS
39302013-07-26 Richard Stallman <rms@gnu.org>
3931
3932 Add aliases for encrypting mail.
3933 * epa.el (epa-mail-aliases): New option.
3934 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3935 Bind inhibit-read-only so read-only text doesn't ruin everything.
3936 (epa-mail-default-recipients): New subroutine broken out.
3937 Handle epa-mail-aliases.
3938
56ea7291
SM
39392013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 Add support for lexical variables to the debugger's `e' command.
3942 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3943 vars, except for debugger-outer-match-data.
3944 (debugger-frame-number): Move check for "on a function call" from
3945 callers into it. Add `skip-base' argument.
3946 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3947 (debugger-env-macro): Only reset the state stored in non-variables,
3948 i.e. current-buffer and match-data.
3949 (debugger-eval-expression): Rewrite using backtrace-eval.
3950 * subr.el (internal--called-interactively-p--get-frame): Remove.
3951 (called-interactively-p):
3952 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3953 `base' arg of backtrace-frame instead.
3954
15ac32d5
GM
39552013-07-26 Glenn Morris <rgm@gnu.org>
3956
8358a09d
GM
3957 * align.el (align-regexp): Doc fix. (Bug#14857)
3958 (align-region): Explicit error if subexpression missing/does not match.
3959
15ac32d5
GM
3960 * simple.el (global-visual-line-mode):
3961 Do not duplicate the mode lighter. (Bug#14858)
3962
f47ad11b
MR
39632013-07-25 Martin Rudalics <rudalics@gmx.at>
3964
3965 * window.el (display-buffer): In display-buffer bind
3966 split-window-keep-point to t, bug#14829.
3967
02530987
JB
39682013-07-25 Juanma Barranquero <lekktu@gmail.com>
3969
3970 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3971 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3972 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3973 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3974 Change accordingly.
f63ebeb5
JB
3975 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3976 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3977
6ccb9cab 39782013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3979
6ccb9cab 3980 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3981
cb3a56d2
JB
39822013-07-25 Juanma Barranquero <lekktu@gmail.com>
3983
3984 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3985 parameter to modify-frame-parameters if the value has not changed;
3986 this is a workaround for bug#14949.
3987 (desktop--make-frame): On cl-delete-if call, check parameter name,
3988 not full parameter.
3989
7aa7fff0
XF
39902013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3991
3992 * vc/vc.el (vc-ignore): New function.
3993
3994 * vc/vc-svn.el (vc-svn-ignore): New function.
3995
3996 * vc/vc-hg.el (vc-hg-ignore): New function.
3997
3998 * vc/vc-git.el (vc-git-ignore): New function.
3999
4000 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4001 (vc-dir-ignore): New function.
4002
4003 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4004 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4005
4006 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4007
4008 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4009
889acc5c
JB
40102013-07-24 Juanma Barranquero <lekktu@gmail.com>
4011
4012 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4013 (desktop-restore-frames): Warn when deleting an existing frame failed.
4014
86c40970
GM
40152013-07-24 Glenn Morris <rgm@gnu.org>
4016
4017 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4018
d5d3c58a
MA
40192013-07-24 Michael Albinus <michael.albinus@gmx.de>
4020
4021 * filenotify.el (file-notify-supported-p):
4022 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4023 Remove functions.
4024
4025 * autorevert.el (auto-revert-use-notify):
4026 (auto-revert-notify-add-watch):
4027 * net/tramp.el (tramp-file-name-for-operation):
4028 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4030 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4031 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4032 Remove `file-notify-supported-p' entry.
4033
d100084b
GM
40342013-07-24 Glenn Morris <rgm@gnu.org>
4035
4036 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4037 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4038
ac93e56b
SM
40392013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4040
249eea30
SM
4041 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4042 checked with memq (bug#14935).
4043
ac93e56b
SM
4044 * files.el (revert-buffer-function): Use a non-nil default.
4045 (revert-buffer-preserve-modes): Declare var to
4046 provide access to the `preserve-modes' argument.
4047 (revert-buffer): Let-bind it.
4048 (revert-buffer--default): New function, extracted from revert-buffer.
4049
2cdeb903
SM
40502013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * lpr.el: Signal print errors more prominently.
4053 (print-region-function): Don't default to nil.
4054 (lpr-print-region): New function, extracted from print-region-1.
4055 Check lpr's return value and signal an error in case of problem.
4056 (print-region-1): Use it.
4057 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4058 versions instead.
4059 (ps-printer-name): Default to nil.
4060 (ps-printer-name-option): Default to lpr-printer-switch.
4061 (ps-print-region-function): Don't default to nil.
4062 (ps-postscript-code-directory): Simplify default.
4063 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4064 (ps-string-list, ps-eval-switch, ps-flatten-list)
4065 (ps-flatten-list-1): Remove.
4066 (ps-multibyte-buffer): Avoid setq.
4067 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4068 (print-region-function, ps-print-region-function): Don't set them here.
4069
73600831
XF
40702013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4071
0e55c076
XF
4072 * ido.el (ido-fractionp):
4073 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4074 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4075 (ido-max-directory-size, ido-max-dir-file-cache)
4076 (ido-decorations): Doc fix.
4077
73600831
XF
4078 * ansi-color.el: Fix old URL.
4079
3d012865
MM
40802013-07-23 Michael R. Mauger <michael@mauger.com>
4081
e903c210 4082 * progmodes/sql.el: Version 3.3
3d012865
MM
4083 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4084 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4085 (sql-interactive-remove-continuation-prompt): Rewrite, use
4086 functions above. Fix continuation prompt and complete output line
4087 handling.
4088 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4089 redirected output buffer.
4090 (sql-mode): Restore deleted code (Bug#13591).
4091
da77a2e2
JB
40922013-07-23 Juanma Barranquero <lekktu@gmail.com>
4093
4094 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4095
80ff0c71
MA
40962013-07-23 Michael Albinus <michael.albinus@gmx.de>
4097
4098 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4099
4100 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4102 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4103
b61d71e4
JB
41042013-07-23 Juanma Barranquero <lekktu@gmail.com>
4105
4106 * desktop.el (desktop-clear): Simplify; remove useless checks
4107 against invalid buffer names.
4108 (desktop-list*): Use cl-list*.
4109 (desktop-buffer-info, desktop-create-buffer): Simplify.
4110
c3512092
LL
41112013-07-23 Leo Liu <sdl.web@gmail.com>
4112
4113 * bookmark.el (bookmark-make-record): Restore NAME as a default
4114 value. (Bug#14933)
4115
0ac26976
SM
41162013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4117
7d22ce18
SM
4118 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4119 extracted from autoload--insert-text.
4120 (autoload--insert-text): Remove.
4121 (autoload--print-cookie-text): New function, extracted from
4122 autoload--insert-cookie-text.
4123 (autoload--insert-cookie-text): Remove.
4124 (autoload-generate-file-autoloads): Adjust calls accordingly.
4125
9b2607e8
SM
4126 * winner.el (winner-hook-installed-p): Remove.
4127 (winner-mode): Simplify accordingly.
4128
c43a8618
SM
4129 * subr.el (add-to-list): Fix compiler-macro when `append' is
4130 not constant. Don't use `cl-member' for the base case.
4131
0ac26976
SM
4132 * progmodes/subword.el: Fix boundary case (bug#13758).
4133 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4134 own group.
4135 (subword-backward-regexp): Make it a constant.
4136 (subword-forward-internal): Don't treat a trailing capital as the
4137 beginning of a word.
4138
6874724a
AR
41392013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4140
4141 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4142 global value of tabulated-list-revert-hook (bug#14930).
4143
70f1b5e8
JB
41442013-07-22 Juanma Barranquero <lekktu@gmail.com>
4145
a1c80d9d
JB
4146 * desktop.el: Require 'cl-lib.
4147 (desktop-before-saving-frames-functions): New hook.
4148 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4149 for frames being saved. Rename from desktop--save-minibuffer-frames.
4150 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4151 Do not save frames with non-nil `desktop-dont-save' parameter.
4152 Filter out deleted frames.
a1c80d9d
JB
4153 (desktop--find-frame): Use cl-find-if.
4154 (desktop--select-frame): Use cl-(first|second|third) to access values
4155 of desktop-mini.
4156 (desktop--make-frame): Use cl-delete-if.
4157 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4158 (desktop-restore-frames): Use cl-(first|second|third) to access values
4159 of desktop-mini. Look for visible frame at the end, not while
4160 restoring frames.
4161
70f1b5e8
JB
4162 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4163 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4164 Use string-match-p, looking-at-p (bug#14927).
4165
728dc3cc
JB
41662013-07-21 Juanma Barranquero <lekktu@gmail.com>
4167
56bc453c
JB
4168 * desktop.el (desktop-saved-frame-states):
4169 Rename from desktop--saved-states; all users changed.
4170 (desktop-save-frames): Rename from desktop--save-frames.
4171 Do not save state to desktop file.
4172 (desktop-save): Save desktop-saved-frame-states to desktop file
4173 and reset to nil.
4174 (desktop-restoring-frames-p): New function.
4175 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4176 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4177 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4178
728dc3cc
JB
4179 * desktop.el: Correctly restore iconified frames.
4180 (desktop--filter-iconified-position): New function.
4181 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4182
862f1c9c
GM
41832013-07-20 Glenn Morris <rgm@gnu.org>
4184
c4074c9f
GM
4185 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4186 Let `message' do the formatting.
4187 (def-gdb-preempt-display-buffer): Add explicit format.
4188
d828e5f9
GM
4189 * image-dired.el (image-dired-track-original-file):
4190 Use with-current-buffer.
4191 (image-dired-track-thumbnail): Use with-current-buffer.
4192 Avoid changing point of wrong window.
4193
862f1c9c
GM
4194 * image-dired.el (image-dired-track-original-file):
4195 Avoid changing point of wrong window. (Bug#14909)
4196
f0398ec1 41972013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4198
4199 * progmodes/gdb-mi.el (gdb-done-or-error):
4200 Guard against "%" in gdb output. (Bug#14127)
4201
1451928f
AS
42022013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4203
763a086d
JB
4204 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4205 (Bug#14826)
f7a03897 4206
1451928f
AS
4207 * international/mule.el (coding-system-iso-2022-flags): Fix last
4208 change.
4209
99107004
KH
42102013-07-20 Kenichi Handa <handa@gnu.org>
4211
763a086d
JB
4212 * international/mule.el (coding-system-iso-2022-flags):
4213 Add `8-bit-level-4'. (Bug#8522)
99107004 4214
48494e06
LMI
42152013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4216
8ba8eec5
LMI
4217 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4218 (bug#14815).
4219
dfbc66e3
LMI
4220 * net/eww.el (eww-process-text-input): Allow inputting when the
4221 point is at the start of the line, as the properties aren't
4222 front-sticky.
4223
48494e06
LMI
4224 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4225 degenerate widths.
4226
77c92cb9
RS
42272013-07-19 Richard Stallman <rms@gnu.org>
4228
aec7da77
RS
4229 * epa.el (epa-popup-info-window): Doc fix.
4230
77c92cb9
RS
4231 * subr.el (split-string): New arg TRIM.
4232
945c5bb1
JB
42332013-07-18 Juanma Barranquero <lekktu@gmail.com>
4234
4235 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4236 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4237
e06ec67f
MA
42382013-07-18 Michael Albinus <michael.albinus@gmx.de>
4239
c7064f05 4240 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4241 `file-notify-support'. Do not autoload. Adapt all uses.
4242 (file-notify-supported-p): New defun.
4243
c7064f05
JB
4244 * autorevert.el (auto-revert-use-notify):
4245 Use `file-notify-supported-p' instead of `file-notify-support'.
4246 Adapt docstring.
e06ec67f
MA
4247 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4248
4249 * net/tramp.el (tramp-file-name-for-operation):
4250 Add `file-notify-supported-p'.
4251
4252 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4253 New defun.
4254 (tramp-sh-file-name-handler-alist): Add it as handler for
4255 `file-notify-supported-p '.
4256
4257 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4259 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4260 Add `ignore' as handler for `file-notify-*' functions.
4261
5dc8a629
EZ
42622013-07-17 Eli Zaretskii <eliz@gnu.org>
4263
4264 * simple.el (line-move-partial, line-move): Don't start vscroll or
4265 scroll-up if the current line is not taller than the window.
4266 (Bug#14881)
4267
77aea2fb
DG
42682013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4269
4270 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4271 highlight question marks in the method names as strings.
ac72c08d
DG
4272 (ruby-block-beg-keywords): Inline.
4273 (ruby-font-lock-keyword-beg-re): Extract from
4274 `ruby-font-lock-keywords'.
77aea2fb 4275
18c26d81
JD
42762013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4277
4278 * frame.el (blink-cursor-blinks): New defcustom.
4279 (blink-cursor-blinks-done): New defvar.
4280 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4281 (blink-cursor-timer-function): Check if number of blinks has been
4282 done on X and NS.
4283 (blink-cursor-suspend, blink-cursor-check): New defuns.
4284
da48522e
GM
42852013-07-15 Glenn Morris <rgm@gnu.org>
4286
4287 * edmacro.el (edmacro-format-keys): Fix previous change.
4288
0463c1ef
PE
42892013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4290
4291 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4292 The hack didn't work outside English locales anyway.
4293
b43f6451
JB
42942013-07-15 Juanma Barranquero <lekktu@gmail.com>
4295
4296 * simple.el (define-alternatives): Rename from alternatives-define,
4297 per RMS' suggestion.
4298
b958c0ad
JB
42992013-07-14 Juanma Barranquero <lekktu@gmail.com>
4300
4301 * desktop.el (desktop-restore-frames): Change default to t.
4302 (desktop-restore-in-current-display): Now offer more options.
4303 (desktop-restoring-reuses-frames): New customization option.
4304 (desktop--saved-states): Doc fix.
4305 (desktop-filter-parameters-alist): New variable, renamed and expanded
4306 from desktop--excluded-frame-parameters.
4307 (desktop--target-display): New variable.
4308 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4309 (desktop--filter-tty*, desktop--filter-*-color)
4310 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4311 (desktop--filter-save-desktop-parm)
4312 (desktop-restore-in-original-display-p): New functions.
4313 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4314 (desktop--save-minibuffer-frames): New function, inspired by a similar
4315 function from Martin Rudalics.
4316 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4317 (desktop--restore-in-this-display-p): Remove.
4318 (desktop--find-frame): Rename from desktop--find-frame-in-display
4319 and add predicate argument.
4320 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4321 (desktop--reuse-list): New variable.
4322 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4323 New functions.
4324 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4325
f6dd8b36
MA
43262013-07-14 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4329
2ce3c565
DG
43302013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4331
763a086d
JB
4332 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4333 Highlight conversion methods on Kernel.
2ce3c565 4334
2cdb7698
AM
43352013-07-13 Alan Mackenzie <acm@muc.de>
4336
4337 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4338 and comment it out. This out-commenting enables certain C++
4339 declarations to be parsed correctly.
4340
1a67b811
EZ
43412013-07-13 Eli Zaretskii <eliz@gnu.org>
4342
1b796d6b
EZ
4343 * international/mule.el (define-coding-system): Doc fix.
4344
1a67b811
EZ
4345 * simple.el (default-font-height): Don't call font-info if the
4346 frame's default font didn't change since the frame was created.
4347 (Bug#14838)
4348
58fbe886
LL
43492013-07-13 Leo Liu <sdl.web@gmail.com>
4350
4351 * ido.el (ido-read-file-name): Guard against non-symbol value.
4352
1f0480d4
FEG
43532013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4354
4355 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4356 in nested defuns.
4357
97ead0e5
LL
43582013-07-13 Leo Liu <sdl.web@gmail.com>
4359
4360 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4361 ido-set-matches call. (Bug#6852)
4362
0880a952
DG
43632013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4364
4365 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4366 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4367 Ruby 2.0.
4368 (ruby-font-lock-keywords): Distinguish calls to functions with
4369 module-like names from module references. Highlight character
4370 literals.
4371
a7d8babb
SDJ
43722013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4373
4374 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4375 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4376
acfcc8c5
JB
43772013-07-12 Juanma Barranquero <lekktu@gmail.com>
4378
4379 * desktop.el (desktop--v2s): Remove unused local variable.
4380 (desktop-save-buffer): Make defvar-local; adjust docstring.
4381 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4382 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4383
051f2775
AS
43842013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4385
4386 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4387
f24e7572
GM
43882013-07-12 Eli Zaretskii <eliz@gnu.org>
4389
4390 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4391 (Bug#14842)
4392
539a920c
GM
43932013-07-12 Glenn Morris <rgm@gnu.org>
4394
4395 * doc-view.el: Require cl-lib at runtime too.
4396 (doc-view-remove-if): Remove.
4397 (doc-view-search-next-match, doc-view-search-previous-match):
4398 Use cl-remove-if.
4399
4400 * edmacro.el: Require cl-lib at runtime too.
4401 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4402 (edmacro-mismatch, edmacro-subseq): Remove.
4403
4404 * shadowfile.el: Require cl-lib.
4405 (shadow-remove-if): Remove.
4406 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4407 Use cl-remove-if.
4408
4409 * wid-edit.el: Require cl-lib.
4410 (widget-choose): Use cl-remove-if.
4411 (widget-remove-if): Remove.
4412
4413 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4414 (ebrowse-delete-if-not): Remove.
4415 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4416 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4417 Use cl-delete-if-not.
4418
1048af7c
JB
44192013-07-12 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4422 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4423
6c0674ee
LL
44242013-07-12 Leo Liu <sdl.web@gmail.com>
4425
4426 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4427
a19b3c2d
GM
44282013-07-11 Glenn Morris <rgm@gnu.org>
4429
4582a01c
GM
4430 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4431 (edebug-gensym-index, edebug-gensym):
4432 Remove reimplementation of cl-gensym.
4433 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4434
4435 * thumbs.el: Require cl-lib at run-time too.
4436 (thumbs-gensym-counter, thumbs-gensym):
4437 Remove reimplementation of cl-gensym.
4438 (thumbs-temp-file): Use cl-gensym.
4439
a19b3c2d
GM
4440 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4441 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4442 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4443 (ert--union, ert--gensym-counter, ert--gensym-counter)
4444 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4445 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4446 (ert-make-test-unbound, ert--expand-should-1)
4447 (ert--expand-should, ert--should-error-handle-error)
4448 (should-error, ert--explain-equal-rec)
4449 (ert--plist-difference-explanation, ert-select-tests)
4450 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4451 Use cl-lib functions rather than reimplementations.
4452
88f6a933
MA
44532013-07-11 Michael Albinus <michael.albinus@gmx.de>
4454
4455 * net/tramp.el (tramp-methods): Extend docstring.
4456 (tramp-connection-timeout): New defcustom.
4457 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4458 (with-tramp-progress-reporter): Simplify.
4459 (tramp-process-actions): Improve messages.
4460
4461 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4462 * net/tramp-sh.el (tramp-maybe-open-connection):
4463 Use `tramp-connection-timeout'.
4464 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4465 (Bug#14808)
4466
a43d577e
LL
44672013-07-11 Leo Liu <sdl.web@gmail.com>
4468
4469 * ido.el (ido-read-file-name): Conform to the requirements of
4470 read-file-name. (Bug#11861)
4471 (ido-read-directory-name): Conform to the requirements of
4472 read-directory-name.
4473
d77974bf
JB
44742013-07-11 Juanma Barranquero <lekktu@gmail.com>
4475
4476 * subr.el (delay-warning): New function.
4477
35cb8a3e
EZ
44782013-07-10 Eli Zaretskii <eliz@gnu.org>
4479
4480 * simple.el (default-line-height): New function.
4481 (line-move-partial, line-move): Use it instead of computing the
4482 line height inline.
4483 (line-move-partial): Always compute ROWH. If the last line is
4484 partially-visible, but its text is completely visible, allow
4485 cursor to enter such a partially-visible line.
4486
525c5c77
MA
44872013-07-10 Michael Albinus <michael.albinus@gmx.de>
4488
4489 Improve error messages. (Bug#14808)
4490
4491 * net/tramp.el (tramp-current-connection): New defvar, moved from
4492 tramp-sh.el.
0ac26976 4493 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4494 needed anymore.
0ac26976
SM
4495 (tramp-error-with-buffer): Show message in minibuffer.
4496 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4497 (with-tramp-progress-reporter): Improve messages.
4498 (tramp-process-actions): Use progress reporter. Delete process in
4499 case of error. Improve messages.
4500
763a086d
JB
4501 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4502 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4503 (tramp-current-connection): Remove.
525c5c77
MA
4504 (tramp-maybe-open-connection): The car of
4505 `tramp-current-connection' are the first 3 slots of the vector.
4506
c7a4d368
TZ
45072013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4508
4509 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4510 inside continued strings.
4511
954b166e
PE
45122013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4513
4514 Timestamp fixes for undo (Bug#14824).
4515 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4516
56973319
LL
45172013-07-10 Leo Liu <sdl.web@gmail.com>
4518
4519 * files.el (require-final-newline): Allow safe local value.
4520 (Bug#14834)
4521
5550a72c
LL
45222013-07-09 Leo Liu <sdl.web@gmail.com>
4523
4524 * ido.el (ido-read-directory-name): Handle fallback.
4525 (ido-read-file-name): Update DIR to ido-current-directory.
4526 (Bug#1516)
c28b9050 4527 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4528
70c46b28
DG
45292013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4530
4531 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4532 "autoload". Remove "warn lower camel case" section, previously
4533 commented out. Highlight negation char. Do not highlight the
4534 target in singleton method definitions.
4535
0b64b838
SM
45362013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4537
7fd72e2c
SM
4538 * faces.el (tty-setup-hook): Declare the hook.
4539
0b64b838
SM
4540 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4541 and detect when a guard/pred depends on local vars (bug#14773).
4542 (pcase--u1): Adjust caller.
4543
ab49d60b
EZ
45442013-07-08 Eli Zaretskii <eliz@gnu.org>
4545
4546 * simple.el (line-move-partial, line-move): Account for
4547 line-spacing.
701d79aa
EZ
4548 (line-move-partial): Avoid setting vscroll when the last
4549 partially-visible line in window is of default height.
ab49d60b 4550
2d756ae0
LMI
45512013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4552
4553 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4554 been used a while.
4555
ed095bd7
JB
45562013-07-07 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * subr.el (read-quoted-char): Remove unused local variable `char'.
4559
f1e6674b
MK
45602013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4561
584ee3fc
GM
4562 * ediff.el (ediff-version): Version update.
4563 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4564 (ediff-merge-with-ancestor-command, ediff-directories-command)
4565 (ediff-directories3-command, ediff-merge-directories-command)
4566 (ediff-merge-directories-with-ancestor-command): New functions.
4567 All are command-line interfaces to ediff: to facilitate calling
4568 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4569
4570 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4571 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4572
584ee3fc
GM
4573 * viper.el (viper-version): Version update.
4574 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4575
584ee3fc
GM
45762013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4579 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4580 (viper-intercept-ESC-key): Simplify.
4581 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4582 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4583 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4584 (viper-setup-ESC-to-escape): New functions.
4585 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4586 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4587
9aff9b38
EZ
45882013-07-07 Eli Zaretskii <eliz@gnu.org>
4589
5165d44a
JB
4590 * simple.el (default-font-height, window-screen-lines):
4591 New functions.
9aff9b38
EZ
4592 (line-move, line-move-partial): Use them instead of
4593 frame-char-height and window-text-height. This makes scrolling
4594 text smoother when the buffer's default face uses a font that is
4595 different from the frame's default font.
4596
1afb1d07
JD
45972013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4598
4599 * files.el (write-file): Do not display confirm dialog for NS,
4600 it does its own dialog, which can't be cancelled (Bug#14578).
4601
23de972a
EZ
46022013-07-06 Eli Zaretskii <eliz@gnu.org>
4603
4604 * simple.el (line-move-partial): Adjust the row returned by
4605 posn-at-point for the current window-vscroll. (Bug#14567)
4606
54a42486
MA
46072013-07-06 Michael Albinus <michael.albinus@gmx.de>
4608
4609 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4610 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4611 spaces.
4612
34ada5f4
MR
46132013-07-06 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (window-state-put-stale-windows): New variable.
4616 (window--state-put-2): Save list of windows without matching buffer.
4617 (window-state-put): Remove "bufferless" windows if possible.
4618
11e03d89
JB
46192013-07-06 Juanma Barranquero <lekktu@gmail.com>
4620
4621 * simple.el (alternatives-define): Remove leftover :group keyword.
4622 Tweak docstring.
4623
3504a4be
LL
46242013-07-06 Leo Liu <sdl.web@gmail.com>
4625
4626 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4627 (ido-enable-virtual-buffers): New variable.
4628 (ido-buffer-internal, ido-toggle-virtual-buffers)
4629 (ido-make-buffer-list): Use it.
4630 (ido-exhibit): Support turning on and off virtual buffers
4631 automatically.
4632
61e56e2c
JB
46332013-07-06 Juanma Barranquero <lekktu@gmail.com>
4634
4635 * simple.el (alternatives-define): New macro.
4636
321e1a9c
SM
46372013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * subr.el (read-quoted-char): Use read-key.
4640 (sit-for): Let read-event decode tty input (bug#14782).
4641
d610f6dd
SB
46422013-07-05 Stephen Berman <stephen.berman@gmx.net>
4643
4644 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4645 mode command and externally. Fix various related bugs.
4646 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4647 (todo-delete-file): New command.
4648 (todo-check-file): New function.
4649 (todo-show): Handle external deletion of the file we're trying to
4650 show (bug#14688). Replace called-interactively-p by an optional
4651 prefix argument to avoid problematic interaction with catch form
4652 when byte compiled (bug#14702).
4653 (todo-quit): Handle external deletion of the archive's todo file.
4654 Make sure the buffer that was visiting the archive file is still
4655 live before trying to bury it.
4656 (todo-category-completions): Handle external deletion of any
4657 category completion files.
4658 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4659 of todo files, in case of external deletion.
4660 (todo-add-file): Replace unnecessary setq by let-binding.
4661 (todo-find-archive): Check whether there are any archives.
4662 Replace unnecessary setq by let-binding.
4663 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4664 archive buffer whether or not the archive already exists.
4665 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4666 check if the archive is new; if it is, update list of archives.
4667 (todo-default-todo-file): Allow nil to be a valid value for when
4668 there are no todo files.
4669 (todo-reevaluate-default-file-defcustom): Use corrected definition
4670 of todo-default-todo-file.
4671 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4672 (todo-delete-category, todo-show-categories-table)
4673 (todo-category-number): Clarify comment.
4674 (todo-filter-items): Clarify documentation string.
4675 (todo-show-current-file, todo-display-as-todo-file)
4676 (todo-reset-and-enable-done-separator): Tweak documentation string.
4677 (todo-done-separator): Make separator length window-width, since
4678 bug#2749 is now fixed.
4679
ddbdfd6f
MA
46802013-07-05 Michael Albinus <michael.albinus@gmx.de>
4681
321e1a9c
SM
4682 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4683 Support both "gvfs-monitor-dir" and "inotifywait".
4684 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4685 `tramp-sh-file-notify-process-filter'.
4686 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4687 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4688
96eb829a
LL
46892013-07-05 Leo Liu <sdl.web@gmail.com>
4690
4691 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4692
cf13177e
YM
46932013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4694
4695 * frame.el (display-pixel-height, display-pixel-width)
4696 (display-mm-height, display-mm-width): Mention behavior on
4697 multi-monitor setups in docstrings.
4698 (w32-display-monitor-attributes-list): Declare function.
4699 (display-monitor-attributes-list): Use it.
4700
864c58ca
MA
47012013-07-04 Michael Albinus <michael.albinus@gmx.de>
4702
4703 * filenotify.el: New package.
4704
4705 * autorevert.el (top): Require filenotify.el.
4706 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4707 instead.
4708 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4709 (auto-revert-notify-handler): Use `file-notify-*' functions.
4710
4711 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4712
321e1a9c
SM
4713 * net/tramp.el (tramp-file-name-for-operation):
4714 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4715
4716 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4717 for `file-notify-add-watch' and `file-notify-rm-watch'.
4718 (tramp-process-sentinel): Improve trace.
4719 (tramp-sh-handle-file-notify-add-watch)
4720 (tramp-sh-file-notify-process-filter)
4721 (tramp-sh-handle-file-notify-rm-watch)
4722 (tramp-get-remote-inotifywait): New defuns.
4723
96673afe
JL
47242013-07-03 Juri Linkov <juri@jurta.org>
4725
4726 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4727 call of `occur-read-primary-args' to interactive spec.
4728
4729 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4730 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4731
924494f4
MM
47322013-07-03 Matthias Meulien <orontee@gmail.com>
4733
4734 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4735 `Buffer-menu-multi-occur'. Add it to the menu.
4736 (Buffer-menu-mode): Document it in docstring.
4737 (Buffer-menu-multi-occur): New command. (Bug#14673)
4738
56f75efc
DG
47392013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4740
4741 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4742 keywords and built-ins.
4743
9b057d61
GM
47442013-07-03 Glenn Morris <rgm@gnu.org>
4745
208dee4d
GM
4746 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4747
9b057d61
GM
4748 Make info-xref checks case-sensitive by default
4749 * info.el (Info-find-node, Info-find-in-tag-table)
4750 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4751 Add option for exact case matching of nodes.
4752 * info-xref.el (info-xref): New custom group.
4753 (info-xref-case-fold): New option.
4754 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4755
e01aa29c
LL
47562013-07-03 Leo Liu <sdl.web@gmail.com>
4757
4758 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4759
3086ca2e
DG
47602013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4761
4762 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4763 middle of block statement initially, lower the depth. Remove
4764 FIXME comment, not longer valid. Remove middle of block statement
4765 detection, no need to do that anymore since we've been using
4766 `ruby-parse-region' here.
4767
a3b49114
JD
47682013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4769
4770 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4771
08e5c823 47722013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4773
4774 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4775
2addf922
JB
47762013-07-01 Juanma Barranquero <lekktu@gmail.com>
4777
4778 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4779 (desktop-restore-in-current-display): New customization option.
4780 (desktop--excluded-frame-parameters): Add `font'.
4781 (desktop--save-frames): Rename from desktop--save-windows.
4782 (desktop--restore-in-this-display-p): New function.
4783 (desktop--make-full-frame): Remove unwanted width/height from
4784 full(width|height) frames.
4785 (desktop--restore-frames): Rename from desktop--restore-windows.
4786 Obey desktop-restore-current-display. Do not delete old frames or
4787 select a new frame unless we were able to restore at least one frame.
4788
ef099a94
MN
47892013-06-30 Michal Nazarewicz <mina86@mina86.com>
4790
4791 * files.el (find-file-noselect): Simplify conditional expression.
4792
4793 * remember.el (remember-append-to-file):
4794 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4795
4796 Add `remember-notes' function to store random notes across Emacs
4797 restarts.
4798 * remember.el (remember-data-file): Add :set callback to affect
4799 notes buffer (if any).
4800 (remember-notes): New command.
4801 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4802 New defcustoms for the `remember-notes' function.
4803 (remember-notes-save-and-bury-buffer): New command.
4804 (remember-notes-mode-map): New variable.
4805 (remember-mode): New minor mode.
4806 (remember-notes--kill-buffer-query): New function.
4807 * startup.el (initial-buffer-choice): Add notes to custom type.
4808
0865d506
EZ
48092013-06-30 Eli Zaretskii <eliz@gnu.org>
4810
0ba54312
EZ
4811 * bindings.el (right-char, left-char): Don't call sit-for, this is
4812 no longer needed. Use arithmetic comparison only for numerical
4813 arguments.
4814
ef099a94
MN
4815 * international/mule-cmds.el (select-safe-coding-system):
4816 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4817
2fae38e5
LMI
48182013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819
4820 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4821 progression on degenerate tables.
ef099a94 4822 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4823
a47cbd64
JB
48242013-06-30 Juanma Barranquero <lekktu@gmail.com>
4825
4826 Some fixes and improvements for desktop frame restoration.
4827 It is still experimental and disabled by default.
4828 * desktop.el (desktop--save-windows): Put the selected frame at
4829 the head of the list.
4830 (desktop--make-full-frame): New function.
4831 (desktop--restore-windows): Try to re-select the frame that was
4832 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4833 just show an error message and continue. Set up maximized frames
4834 so they have default non-maximized dimensions.
a47cbd64 4835
6dbafa30
DG
48362013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4837
ef099a94
MN
4838 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4839 Don't start heredoc inside a string or comment.
6dbafa30 4840
4c672a0f
EZ
48412013-06-29 Eli Zaretskii <eliz@gnu.org>
4842
4843 * bindings.el (visual-order-cursor-movement): New defcustom.
4844 (right-char, left-char): Provide visual-order cursor motion by
4845 calling move-point-visually. Update the doc strings.
4846
50960f36
KH
48472013-06-28 Kenichi Handa <handa@gnu.org>
4848
4849 * international/mule.el (define-coding-system): New coding system
4850 properties :inhibit-null-byte-detection,
4851 :inhibit-iso-escape-detection, and :prefer-utf-8.
4852 (set-buffer-file-coding-system): If :charset-list property of
4853 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4854 appropriate for setting.
4855
c1ea3abf
JB
4856 * international/mule-cmds.el (select-safe-coding-system):
4857 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4858 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4859
4860 * international/mule-conf.el (prefer-utf-8): New coding system.
4861 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4862 files.
4863
75dbaf9d
IK
48642013-06-28 Ivan Kanis <ivan@kanis.fr>
4865
eadb6068
IK
4866 * net/shr.el (shr-render-region): New function.
4867
75dbaf9d
IK
4868 * net/eww.el: Autoload `eww-browse-url'.
4869
9ea5cf9f
DG
48702013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4871
c1ea3abf
JB
4872 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4873 Adapt to `package-desc-version' being a list.
4874 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4875 archive element.
4876
39c0e36f
JB
48772013-06-27 Juanma Barranquero <lekktu@gmail.com>
4878
4879 New experimental feature to save&restore window and frame setup.
4880 * desktop.el (desktop-save-windows): New defcustom.
4881 (desktop--saved-states): New var.
4882 (desktop--excluded-frame-parameters): New defconst.
4883 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4884 (desktop--restore-windows, desktop--save-windows): New functions.
4885 (desktop-save): Call `desktop--save-windows'.
4886 (desktop-read): Call `desktop--restore-windows'.
4887
7f13406b
LMI
48882013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4889
ef099a94 4890 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4891
1e072639
SB
48922013-06-27 Stephen Berman <stephen.berman@gmx.net>
4893
4894 * info.el (Info-try-follow-nearest-node): Move search for footnote
4895 above search for node name to prevent missing a footnote (bug#14717).
4896
f3e2cbde
SB
48972013-06-27 Stephen Berman <stephen.berman@gmx.net>
4898
4899 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4900
99906aa0
LL
49012013-06-27 Leo Liu <sdl.web@gmail.com>
4902
4903 * net/eww.el (eww-read-bookmarks): Check file size.
4904
539f75f4
SM
49052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4908 advice--pending if newdef is nil or an autoload (bug#13820).
4909 (advice-mapc): New function.
4910
843571cb
LMI
49112013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4912
4913 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4914 probably.
23a75d7f 4915 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4916 (eww-add-bookmark): New command.
4917 (eww-bookmark-mode): New mode and commands.
a285ce99 4918 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4919 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4920
f2136e1e
GM
49212013-06-26 Glenn Morris <rgm@gnu.org>
4922
eab35f39
GM
4923 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4924 (hfy-size): Handle ttys. (Bug#14668)
4925
f2136e1e
GM
4926 * info-xref.el: Update for Texinfo 5 change in *note format.
4927 (info-xref-node-re, info-xref-note-re): New constants.
4928 (info-xref-check-buffer): Use info-xref-note-re.
4929
a49ff80c
SM
49302013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4931
a343d218
SM
4932 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4933
a49ff80c
SM
4934 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4935 nil terminate the loop (bug#14718).
4936
8308f184
LMI
49372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4938
4939 * net/eww.el: Rework history traversal. When going forward/back,
4940 put these actions into the history, too, so that they can be
4941 replayed.
26bf2b82 4942 (eww-render): Move the history reset to the correct buffer.
8308f184 4943
ec64c273
JL
49442013-06-25 Juri Linkov <juri@jurta.org>
4945
4946 * files-x.el (modify-dir-local-variable): Change the header comment
4947 in the file with directory local variables. (Bug#14692)
4948
e080a9d7
JL
4949 * files-x.el (read-file-local-variable-value): Add `default'.
4950 (Bug#14710)
4951
bfbc93a1
IK
49522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4953
4954 * net/eww.el (eww-make-unique-file-name): Create a unique file
4955 name before saving to entering `y' accidentally asynchronously.
4956
49572013-06-25 Ivan Kanis <ivan@kanis.fr>
4958
4959 * net/eww.el (eww-download): New command and keystroke.
4960
16f74f10
LMI
49612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4962
a49ff80c 4963 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4964
4965 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4966 be more consistent with Info and dired.
4967
4968 * net/eww.el (eww-mode-map): Ditto.
4969
12059709
SM
49702013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4973 packages from archives.
4974 (package-archive-contents): Change format; include obsolete packages.
4975 (package-desc): Use `dir' to mark builtin packages.
4976 (package--from-builtin): Set the `dir' field to `builtin'.
4977 (generated-autoload-file, version-control): Declare.
4978 (package-compute-transaction): Change first arg and return value to be
4979 lists of package-descs. Adjust to new package-archive-contents format.
4980 (package--add-to-archive-contents): Adjust to new
4981 package-archive-contents format.
4982 (package-download-transaction): Arg is now a list of package-descs.
4983 (package-install): If `pkg' is a package name, pass it as
4984 a requirement, so it is subject to the usual (e.g. disabled) checks.
4985 (describe-package): Accept package-desc as well.
4986 (describe-package-1): Describe a specific package-desc. Add links to
4987 other package-descs for the same package name.
4988 (package-menu-describe-package): Pass the actual package-desc.
4989 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4990 works correctly.
4991 (package-desc-status): New function.
4992 (package-menu--refresh): New function, extracted
4993 from package-menu--generate.
4994 (package-menu--generate): Use it.
4995 (package-delete): Update package-alist.
4996 (package-menu-execute): Don't call package-initialize.
4997
4998 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4999 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5000 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5001 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5002 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5003 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5004
8bbdea0f
MR
50052013-06-25 Martin Rudalics <rudalics@gmx.at>
5006
5007 * window.el (window--state-get-1): Workaround for bug#14527.
5008 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5009
e82b0991
LMI
50102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5011
5012 * net/eww.el (eww-back-url): Implement the history by stashing all
5013 the data into a list.
d3f0f918 5014 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5015
c763842b
SM
50162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5017
5018 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5019 for values and use read--expression for expressions (bug#14710).
5020 (read-file-local-variable): Avoid setq.
5021 (read-file-local-variable-mode): Use minor-mode-list.
5022
bceff189
RW
50232013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5024
864c58ca 5025 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5026 for DOI URLs.
5027
45f431c6
RW
50282013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5029
864c58ca 5030 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5031 Update imenu-support when dialect changes.
5032
f42d8237
LL
50332013-06-25 Leo Liu <sdl.web@gmail.com>
5034
5035 * ido.el (ido-read-internal): Allow forward slash on windows.
5036
be549ce6
LMI
50372013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5038
5039 * net/eww.el (eww): Start of strings is \\`, not ^.
5040
71d4c19d
IK
50412013-06-24 Ivan Kanis <ivan@kanis.fr>
5042
5196f88a
IK
5043 * net/shr.el (shr-browse-url): Fix interactive spec.
5044
71d4c19d
IK
5045 * net/eww.el (eww): Add a trailing slash to domain names.
5046
ae36ca55
JB
50472013-06-24 Juanma Barranquero <lekktu@gmail.com>
5048
5049 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5050
0ebd92a3
LMI
50512013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5052
bdaa086b
LMI
5053 * net/shr.el (shr-browse-url): Use an external browser if given a
5054 prefix.
5055
c763842b 5056 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5057
b89fc156
IK
50582013-06-24 Ivan Kanis <ivan@kanis.fr>
5059
5060 * net/eww.el (eww): Work more correctly for file: URLs.
5061 (eww-detect-charset): Allow quoted charsets.
5062 (eww-yank-page-url): New command and keystroke.
5063
18eb4bca
DU
50642013-06-24 Daiki Ueno <ueno@gnu.org>
5065
5066 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5067 file name of gpg executable.
5068 (epg-context-program): New function.
5069 (epg-context-home-directory): New function.
5070 (epg-context-set-program): New function.
5071 (epg-context-set-home-directory): New function.
5072 (epg--start): Use `epg-context-program' instead of
5073 'epg-gpg-program'.
5074 (epg--list-keys-1): Likewise.
5075
6c6268c8
LL
50762013-06-24 Leo Liu <sdl.web@gmail.com>
5077
5078 * ido.el (ido-read-internal): Fix bug#14620.
5079
5e400cb3
JB
50802013-06-23 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * faces.el (face-documentation): Simplify.
5083 (read-face-attribute, tty-find-type, x-resolve-font-name):
5084 Use `string-match-p'.
5085 (list-faces-display): Use `string-match-p'. Simplify.
5086 (face-spec-recalc): Check face to avoid face alias loops.
5087 (read-color): Use `string-match-p' and non-capturing parenthesis.
5088
f3f9606c
LMI
50892013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090
5091 * net/shr.el (shr-rescale-image): Use the new
5092 :max-width/:max-height functionality.
5093
a3ca09b9
IK
50942013-06-23 Ivan Kanis <ivan@kanis.fr>
5095
5096 * net/eww.el (eww-search-prefix): New variable.
5097 (eww): Use it.
f865b474
IK
5098 (eww-external-browser): New variable.
5099 (eww-mode-map): New keystroke.
5100 (eww-browse-with-external-browser): New command.
a3ca09b9 5101
e854cfc7
IK
5102 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5103
18bb9e21
JB
51042013-06-23 Juanma Barranquero <lekktu@gmail.com>
5105
5106 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5107 Don't skip aligning the next header field when padding is 0;
5108 otherwise, field width is not respected unless the title is as
5109 wide as the field.
5110
5b165ade
SM
51112013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * emacs-lisp/package.el (package-el-version): Remove.
5114 (package-process-define-package): Fix inf-loop.
5115 (package-install): Allow symbols as arguments again.
5116
12adebe9
DG
51172013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5118
5119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5120 add some more keyword-like methods.
5121 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5122
388573ee
JB
51232013-06-22 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * bs.el (bs-buffer-show-mark): Make defvar-local.
5126 (bs-mode): Use setq-local.
5127
5128 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5129 (emacs-lock--try-unlocking): Make defvar-local.
5130
4582a01c 51312013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5132
2663dd23
GM
5133 * play/cookie1.el (cookie-apropos): Minor simplification.
5134
3d94f3ad
GM
5135 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5136
f72e2fdb
DG
51372013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5138
5139 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5140 `regexp-opt', it breaks the build during dumping.
5141
73eab938
DG
51422013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5143
c763842b
SM
5144 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5145 Highlight keyword-like methods on Kernel and Module with
73eab938 5146 font-lock-builtin-face.
5cf8176d
DG
5147 (auto-mode-alist): Consolidate different entries into one regexp
5148 and add more *file-s.
73eab938 5149
d26255f6
SB
51502013-06-21 Stephen Berman <stephen.berman@gmx.net>
5151
5152 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5153
5154 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5155 (diary-entry): Use it in the action of this button type instead of
5156 diary-goto-entry.
5157
5158 * calendar/todo-mode.el: New version.
5159 (todo-add-category): Append new category to end of file and give
5160 it the highest number, instead of putting it at the beginning and
5161 giving it 0. Incorporate noninteractive functionality.
5162 (todo-forward-category): Adapt to 1-based category numbering.
5163 Allow skipping over archived categories.
5164 (todo-backward-category): Derive from todo-forward-category.
5165 (todo-backward-item, todo-forward-item): Make noninteractive and
5166 delegate interactive part to new commands. Make sensitive to done items.
5167 (todo-categories): Make value an alist of category names and
5168 vectors of item counts.
5169 (todo-category-beg): Make a defconst.
5170 (todo-category-number): Use 1 instead of 0 as initial value.
5171 (todo-category-select): Make sensitive to overlays, optional item
5172 highlighting and done items.
5173 (todo-delete-item): Make sensitive to overlays and marked and done items.
5174 (todo-edit-item): Make sensitive to overlays and editing of
5175 date/time header optional. Add format checks.
5176 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5177 no-op if point is not on an item. Advertise using todo-edit-quit.
5178 (todo-edit-mode): Make sensitive to new format, font-locking, and
5179 multiple todo files.
5180 (todo-insert-item, todo-insert-item-here): Derive from
5181 todo-basic-insert-item and extend functionality.
5182 (todo-item-end, todo-item-start): Make sensitive to done items.
5183 (todo-item-string): Don't return text properties. Restore point.
5184 (todo-jump-to-category): Make sensitive to multiple todo files and
5185 todo archives. Use extended category completion.
5186 (todo-lower-item, todo-raise-item): Rename to *-priority and
5187 derive from todo-set-item-priority.
5188 (todo-mode): Derive from special-mode. Make sensitive to new
5189 format, font-locking and multiple todo files. Make read-only.
5190 (todo-mode-map): Don't suppress digit keys, so they can supply
5191 prefix arguments. Add many new key bindings.
5192 (todo-prefix): Insert as an overlay instead of file text.
5193 Change semantics from diary date expression to purely visual mark.
5194 (todo-print): Rename to todo-print-buffer. Make buffer display
5195 features printable. Remove option to restrict number of items
5196 printed. Add option to print to file.
5197 (todo-print-function): Rename to todo-print-buffer-function.
5198 (todo-quit): Extend to handle exiting new todo modes.
5199 (todo-remove-item): Make sensitive to overlays.
5200 (todo-save): Extend to buffers of filtered items.
5201 (todo-show): Make sensitive to done items, multiple todo files and
5202 new todo modes. Offer to convert legacy todo file before creating
5203 first new todo file.
5204 (todo-show-priorities): Rename to todo-top-priorities.
5205 Change semantics of value 0.
5206 (todo-top-priorities): Rename to todo-filter-top-priorities,
5207 derive from todo-filter-items and extend functionality.
5208 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5209 and extend functionality to other types of filtered items.
5210 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5211 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5212 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5213 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5214 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5215 (todo-edit-mode-hook, todo-entry-prefix-function)
5216 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5217 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5218 (todo-initials, todo-insert-threshold, todo-item-string-start)
5219 (todo-line-string, todo-menu, todo-mode-hook)
5220 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5221 (todo-print-priorities, todo-remove-separator)
5222 (todo-save-top-priorities-too, todo-string-count-lines)
5223 (todo-string-multiline-p, todo-time-string-format)
5224 (todo-tmp-buffer-name): Remove.
5225 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5226 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5227 (todo-edit-category-diary-inclusion)
5228 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5229 (todo-edit-file, todo-edit-item-date-day)
5230 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5231 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5232 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5233 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5234 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5235 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5236 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5237 (todo-filter-top-priorities-multifile, todo-find-archive)
5238 (todo-find-filtered-items-file, todo-go-to-source-item)
5239 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5240 (todo-jump-to-archive-category, todo-lower-category)
5241 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5242 (todo-move-category, todo-move-item, todo-next-button)
5243 (todo-next-item, todo-padded-string, todo-powerset)
5244 (todo-previous-button, todo-previous-item)
5245 (todo-print-buffer-to-file, todo-raise-category)
5246 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5247 (todo-set-category-number, todo-set-item-priority)
5248 (todo-set-top-priorities-in-category)
5249 (todo-set-top-priorities-in-file, todo-show-categories-table)
5250 (todo-sort-categories-alphabetically-or-numerically)
5251 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5252 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5253 (todo-toggle-item-header, todo-toggle-item-highlighting)
5254 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5255 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5256 (todo-unarchive-items, todo-unmark-category): New commands.
5257 (todo-absolute-file-name, todo-add-to-buffer-list)
5258 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5259 (todo-basic-insert-item, todo-category-completions)
5260 (todo-category-number, todo-category-string-matcher-1)
5261 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5262 (todo-check-format, todo-clear-matches)
5263 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5264 (todo-current-category, todo-date-string-matcher)
5265 (todo-define-insertion-command, todo-diary-expired-matcher)
5266 (todo-diary-goto-entry, todo-diary-item-p)
5267 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5268 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5269 (todo-done-item-section-p, todo-done-separator)
5270 (todo-done-string-matcher, todo-files, todo-filter-items)
5271 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5272 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5273 (todo-insert-category-line, todo-insert-item-from-calendar)
5274 (todo-insert-sort-button, todo-insert-with-overlays)
5275 (todo-insertion-command-name, todo-insertion-key-bindings)
5276 (todo-label-to-key, todo-longest-category-name-length)
5277 (todo-make-categories-list, todo-mode-external-set)
5278 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5279 (todo-modes-set-3, todo-multiple-filter-files)
5280 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5281 (todo-read-category, todo-read-date, todo-read-dayname)
5282 (todo-read-file-name, todo-read-time)
5283 (todo-reevaluate-category-completions-files-defcustom)
5284 (todo-reevaluate-default-file-defcustom)
5285 (todo-reevaluate-filelist-defcustoms)
5286 (todo-reevaluate-filter-files-defcustom)
5287 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5288 (todo-reset-done-separator, todo-reset-done-separator-string)
5289 (todo-reset-done-string, todo-reset-global-current-todo-file)
5290 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5291 (todo-reset-prefix, todo-set-categories)
5292 (todo-set-date-from-calendar, todo-set-show-current-file)
5293 (todo-set-top-priorities, todo-short-file-name)
5294 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5295 (todo-total-item-counts, todo-update-buffer-list)
5296 (todo-update-categories-display, todo-update-categories-sexp)
5297 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5298 New functions.
5299 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5300 New major modes.
5301 (todo-categories, todo-display, todo-edit, todo-faces)
5302 (todo-filtered): New defgroups.
5303 (todo-archived-only, todo-button, todo-category-string, todo-date)
5304 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5305 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5306 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5307 (todo-add-item-if-new-category, todo-always-add-time-string)
5308 (todo-categories-align, todo-categories-archived-label)
5309 (todo-categories-category-label, todo-categories-diary-label)
5310 (todo-categories-done-label, todo-categories-number-separator)
5311 (todo-categories-todo-label, todo-categories-totals-label)
5312 (todo-category-completions-files, todo-completion-ignore-case)
5313 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5314 (todo-done-separator-string, todo-done-string)
5315 (todo-files-function, todo-filter-done-items, todo-filter-files)
5316 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5317 (todo-initial-category, todo-initial-file, todo-item-mark)
5318 (todo-legacy-date-time-regexp, todo-mode-line-function)
5319 (todo-nondiary-marker, todo-number-prefix)
5320 (todo-print-buffer-function, todo-show-current-file)
5321 (todo-show-done-only, todo-show-first, todo-show-with-done)
5322 (todo-skip-archived-categories, todo-top-priorities-overrides)
5323 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5324 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5325 New defcustoms.
5326 (todo-category-done, todo-date-pattern, todo-date-string-start)
5327 (todo-diary-items-buffer, todo-done-string-start)
5328 (todo-filtered-items-buffer, todo-item-start)
5329 (todo-month-abbrev-array, todo-month-name-array)
5330 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5331 (todo-top-priorities-buffer): New defconsts.
5332 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5333 (todo-categories-with-marks, todo-category-string-face)
5334 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5335 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5336 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5337 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5338 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5339 (todo-font-lock-keywords, todo-global-current-todo-file)
5340 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5341 (todo-insertion-commands-args)
5342 (todo-insertion-commands-args-genlist)
5343 (todo-insertion-commands-names, todo-insertion-map)
5344 (todo-key-bindings-t, todo-key-bindings-t+a)
5345 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5346 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5347 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5348 (todo-visited): New variables.
5349
cad5d1cb
GM
53502013-06-21 Glenn Morris <rgm@gnu.org>
5351
5352 * play/cookie1.el (cookie-apropos): Add optional display argument.
5353 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5354 (psychoanalyze-pinhead): Use cookie-doctor.
5355
9e277302
JB
53562013-06-21 Juanma Barranquero <lekktu@gmail.com>
5357
5358 * emacs-lisp/package.el (tar-get-file-descriptor)
5359 (tar--extract): Declare.
5360
c5b0993e
EW
53612013-06-21 Eduard Wiebe <usenet@pusto.de>
5362
5363 Extend flymake's warning predicate to be a function (bug#14217).
5364 * progmodes/flymake.el (flymake-warning-predicate): New.
5365 (flymake-parse-line): Use it.
5366 (flymake-warning-re): Make obsolete alias to
5367 `flymake-warning-predicate'.
5368
a7d2d465
SM
53692013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5372 (package-obsolete-list): Remove.
5373 (package-activate): Remove min-version argument. Add `force' argument.
5374 Adjust to new package-alist format.
5375 (package-mark-obsolete): Remove.
5376 (package-unpack): Force reload of the package's autoloads.
5377 (package-installed-p): Check builtins if the installed package is not
5378 recent enough.
5379 (package-initialize): Don't reset package-obsolete-list.
5380 Don't specify which package version to activate.
5381 (package-process-define-package, describe-package-1)
5382 (package-menu--generate): Adjust to new package-alist format.
5383
cedf5c9d
JB
53842013-06-21 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * allout-widgets.el (allout-widgets-mode-off)
5387 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5388 (allout-widgets-post-command-business)
5389 (allout-widgets-after-copy-or-kill-function)
5390 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5391 (allout-decorate-item-and-context)
5392 (allout-graphics-modification-handler): Fix typos in docstrings.
5393 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5394
5395 * cmuscheme.el (scheme-start-file): Doc fix.
5396 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5397 (scheme-input-filter): Use `string-match-p'.
5398
5399 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5400
5401 * dired-x.el: Use Dired consistently in docstrings.
5402
5403 * dired.el: Use Dired consistently in docstrings.
5404 (dired-readin, dired-mode): Use `setq-local'.
5405 (dired-switches-alist): Make defvar-local.
5406 (dired-buffers-for-dir): Use `zerop'.
5407 (dired-safe-switches-p, dired-switches-escape-p)
5408 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5409 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5410 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5411 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5412 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5413 (dired-toggle-marks, dired-mark-files-containing-regexp)
5414 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5415 (dired-flag-auto-save-files, dired-flag-backup-files):
5416 Use `looking-at-p'.
5417 (dired-mark-files-regexp, dired-build-subdir-alist):
5418 Use `string-match-p', `looking-at-p'.
5419
5420 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5421 (direct-print-region-helper): Use `string-match-p'.
5422
aed838b5
LL
54232013-06-21 Leo Liu <sdl.web@gmail.com>
5424
cedf5c9d
JB
5425 * comint.el (comint-redirect-results-list-from-process):
5426 Fix infinite loop.
aed838b5 5427
d80a808f
LMI
54282013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5429
5430 * net/eww.el (eww-update-header-line-format): Quote % characters.
5431
e7a526e3
GM
54322013-06-21 Glenn Morris <rgm@gnu.org>
5433
5434 * play/cookie1.el (cookie): New custom group.
5435 (cookie-file): New option.
5436 (cookie-check-file): New function.
5437 (cookie): Make it interactive. Make start and end messages optional.
5438 Interactively, display the result. Default to cookie-file.
5439 (cookie-insert): Default to cookie-file.
5440 (cookie-snarf): Make start and end messages optional.
5441 Default to cookie-file. Use with-temp-buffer.
5442 (cookie-read): Rename from read-cookie.
5443 Make start and end messages optional. Default to cookie-file.
5444 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5445 Do not autoload it.
e7a526e3
GM
5446 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5447 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5448
62efb35e
LL
54492013-06-21 Leo Liu <sdl.web@gmail.com>
5450
5451 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5452
21e3f963
GM
54532013-06-21 Glenn Morris <rgm@gnu.org>
5454
5455 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5456
fd846ab4
SM
54572013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5458 Daniel Hackney <dan@haxney.org>
5459
5460 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5461 Consolidate the single-file vs tarball code.
5462 (package-desc-suffix): New function.
5463 (package-desc-full-name): Don't bother inlining it.
5464 (package-load-descriptor): Return the new package-desc.
5465 (package-mark-obsolete): Remove unused arg `package'.
5466 (package-unpack): Make it work for single files as well.
5467 Make it update package-alist.
5468 (package--make-autoloads-and-stuff): Rename from
5469 package--make-autoloads-and-compile. Don't compile any more.
5470 (package--compile): New function.
5471 (package-generate-description-file): New function, extracted from
5472 package-unpack-single.
5473 (package-unpack-single): Remove.
5474 (package--with-work-buffer): Add indentation and debugging info.
5475 (package-download-single): Remove.
5476 (package-install-from-archive): Rename from package-download-tar, make
5477 it take a pkg-desc, and make it work for single files as well.
5478 (package-download-transaction): Simplify.
5479 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5480 external tar program.
5481 (package-install-from-buffer): Remove `pkg-desc' argument.
5482 Use package-tar-file-info for tar-mode buffers.
5483 (package-install-file): Simplify accordingly.
5484 (package-archive-base): Change to take a pkg-desc.
5485 * tar-mode.el (tar--check-descriptor): New function, extracted from
5486 tar-get-descriptor.
5487 (tar-get-descriptor): Use it.
5488 (tar-get-file-descriptor): New function.
5489 (tar--extract): New function, extracted from tar-extract.
5490 (tar--extract): Use it.
5491 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5492 case the summary uses non-ascii. Adjust to new calling convention of
5493 package-tar-file-info.
5494
b7deae5e
LL
54952013-06-21 Leo Liu <sdl.web@gmail.com>
5496
fd846ab4
SM
5497 * comint.el (comint-redirect-results-list-from-process):
5498 Fix random delay. (Bug#14681)
b7deae5e 5499
7a65a0b2
JB
55002013-06-21 Juanma Barranquero <lekktu@gmail.com>
5501
5502 * profiler.el (profiler-format-number): Use log, not log10.
5503
1493c2af
JB
55042013-06-20 Juanma Barranquero <lekktu@gmail.com>
5505
5506 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5507
aff6371e
SM
55082013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5511 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5512 yet available.
5513 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5514 (AUTOGENEL): ... here.
5515 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5516 (cl--defsubst-expand): Use it.
5517
89561f72
PE
55182013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5519
5520 * subr.el (log10): Move here from C code, and declare as obsolete.
5521 All uses of (log10 X) replaced with (log X 10).
5522
47199123
JB
55232013-06-20 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5526 Declare with `defvar-local'.
5527 (tabulated-list-use-header-line, tabulated-list-entries)
5528 (tabulated-list-padding, tabulated-list-printer)
5529 (tabulated-list-sort-key): Declare with `defvar-local'.
5530 (tabulated-list-init-header, tabulated-list-print-fake-header):
5531 Use `setq-local'.
5532
4a172eab
MA
55332013-06-20 Michael Albinus <michael.albinus@gmx.de>
5534
47199123
JB
5535 * arc-mode.el (archive-mode): Add `archive-write-file' to
5536 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5537
5fc0acc0
JB
55382013-06-20 Juanma Barranquero <lekktu@gmail.com>
5539
d5b27848
JB
5540 * cus-edit.el (custom-commands): Fix typos.
5541 (custom-display): Fix tooltip text.
5542 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5543 Fix typos in docstrings.
5544 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5545 (custom-unlispify-menu-entry, custom-magic-value-create)
5546 (custom-add-see-also, custom-group-value-create): Use ?\s.
5547 (custom-guess-type, customize-apropos, editable-field)
5548 (custom-face-value-create): Use `string-match-p'.
5549 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5550
5551 * custom.el (custom-load-symbol): Use `string-match-p'.
5552
a5c581d8
JB
5553 * ansi-color.el: Convert to lexical binding.
5554 (ansi-colors): Fix URL.
5555 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5556 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5557 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5558
970ad972
G
55592013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5560
5561 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5562
5563 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5564
55652013-06-19 Tom Tromey <tromey@redhat.com>
5566
5567 * net/eww.el (eww-top-url): Remove.
5568 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5569 (eww-render): Set new variables. Don't set eww-top-url.
5570 (eww-handle-link): Handle "prev", "home", and "contents".
5571 Downcase the rel text.
5572 (eww-top-url): Choose best top URL.
5573
55742013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5575
5576 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5577 relying in widget.el. Using widget.el leads to too many
5578 user interface inconsistencies.
5579 (eww-self-insert): Implement entering commands in text fields.
5580 (eww-process-text-input): New function to make text input field editing
5581 work.
5582 (eww-submit): Rewrite to use the new-style form methods.
5583 (eww-select-display): Display the correct selected item.
5584 (eww-change-select): Implement changing the select value.
5585 (eww-toggle-checkbox): Implement radio/checkboxes.
5586 (eww-update-field): Fix compilation error.
5587 (eww-tag-textarea): Implement <textarea>.
5588
5589 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5590 we don't shadow mode-specific bindings.
5591
5592 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5593 nothing to push.
5594
5595 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5596
4582a01c 55972013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5598
5599 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5600
15b263dc
MA
56012013-06-19 Michael Albinus <michael.albinus@gmx.de>
5602
5603 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5604 not needed.
5605
5606 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5607
8f5297f7
LMI
56082013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5609
5610 * net/browse-url.el (browse-url-browser-function):
5611 `eww-browse-url' has the right calling signature, `eww' does not.
5612
011c4552
GM
56132013-06-19 Glenn Morris <rgm@gnu.org>
5614
2285bd27
GM
5615 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5616 Only eval autoloaded macros.
5617 (byte-compile-autoload): Only give the macro warning for macros.
5618
1d653303
GM
5619 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5620 (ps-underlined-faces): Declare.
5621
bdd779ec
GM
5622 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5623 (speedbar-add-supported-extension): Declare.
5624
011c4552
GM
5625 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5626 Don't include a date stamp in the header of the generated file;
5627 it leads to needless differences between output files.
5628
e59dfb0e
MA
56292013-06-19 Michael Albinus <michael.albinus@gmx.de>
5630
c763842b
SM
5631 * net/secrets.el (secrets-struct-secret-content-type):
5632 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5633 Some servers do not offer introspection.
e59dfb0e 5634
102626e2
SM
56352013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * electric.el (electric-pair-mode): Improve interaction with
5638 electric-layout-mode.
5639 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5640 (electric-pair-syntax): Use text-mode-syntax-table in comments
5641 and strings.
5642 (electric-pair--insert): New function.
5643 (electric-pair-post-self-insert-function): Use it and
5644 electric--after-char-pos.
5645
ad528125
LL
56462013-06-19 Leo Liu <sdl.web@gmail.com>
5647
5648 * progmodes/octave.el (octave-help): Fix regexp.
5649
924d6997
G
56502013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5651
5652 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5653 (shr-table-horizontal-line): Allow nil as a value, and change the
5654 default.
5655 (shr-insert-table-ruler): Respect the nil value.
5656
56572013-06-18 Tom Tromey <tromey@barimba>
5658
5659 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5660 New defvars.
5661 (eww-open-file): New defun.
5662 (eww-render): Initialize new variables.
5663 (eww-display-html): Handle "link" and "a".
5664 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5665 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5666 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5667 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5668 New defuns.
924d6997 5669
d1bbba4f
DG
56702013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5671
5672 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5673 Distinguish ternary operator tokens from slash symbol and slash
5674 char literal.
5675
14dd22d2
JB
56762013-06-18 Juanma Barranquero <lekktu@gmail.com>
5677
5678 Convert symbol prettification into minor mode and global minor mode.
5679
5680 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5681 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5682 (prettify-symbols--keywords): Rename from
5683 `prog-prettify-symbols-alist' and make a local defvar.
5684 (prettify-symbols--compose-symbol): Rename from
5685 `prog--prettify-font-lock-compose-symbol'.
5686 (prettify-symbols--make-keywords): Rename from
5687 `prog-prettify-font-lock-symbols-keywords' and simplify.
5688 (prog-prettify-install): Remove.
5689 (prettify-symbols-mode): New minor mode, based on
5690 `prog-prettify-install'.
5691 (turn-on-prettify-symbols-mode): New function.
5692 (global-prettify-symbols-mode): New globalized minor mode.
5693
5694 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5695 * progmodes/cfengine.el (cfengine3-mode):
5696 * progmodes/perl-mode.el (perl-mode): Don't call
5697 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5698
292c880c
JL
56992013-06-18 Juri Linkov <juri@jurta.org>
5700
5701 * files-x.el (modify-file-local-variable-message): New function.
5702 (modify-file-local-variable)
5703 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5704 and call `modify-file-local-variable-message' when it's non-nil.
5705 (add-file-local-variable, delete-file-local-variable)
5706 (add-file-local-variable-prop-line)
5707 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5708 and use it. (Bug#9820)
5709
0950aa27
JL
57102013-06-18 Juri Linkov <juri@jurta.org>
5711
5712 * emulation/vi.el (vi-shell-op):
5713 * emulation/vip.el (vip-execute-com, ex-command):
5714 * emulation/viper-cmd.el (viper-exec-bang):
5715 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5716 the call of `shell-command-on-region'. (Bug#14637)
5717
5718 * simple.el (shell-command-on-region): Doc fix.
5719
8fbcca16
SM
57202013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5723 (bug#14633).
5724
dd7426ea
GM
57252013-06-18 Glenn Morris <rgm@gnu.org>
5726
4ba54f7d
GM
5727 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5728
dd7426ea
GM
5729 * newcomment.el (comment-search-forward, comment-search-backward):
5730 Doc fix. (Bug#14376)
5731
58aa805b
JB
57322013-06-18 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5735 (buffer-face-mode-invoke): Doc fix.
5736
9a08a617
MM
57372013-06-18 Matthias Meulien <orontee@gmail.com>
5738
5739 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5740 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5741
f2f426ca
GM
57422013-06-18 Glenn Morris <rgm@gnu.org>
5743
9445f99b
GM
5744 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5745 Replace obsolete function generic-make-keywords with its expansion.
5746
e0df2d14
GM
5747 * progmodes/python.el (ffap-alist): Declare.
5748
f2f426ca
GM
5749 * textmodes/reftex.el (bibtex-mode-map): Declare.
5750
f7f9a720
SM
57512013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5754 (package-unpack, package-unpack-single): Return the pkg-dir.
5755 (package-download-transaction): Use it to update package-alist.
5756
57ff04e0
LMI
57572013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758
5759 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5760 possible choice.
5761
c048c022
JL
57622013-06-17 Juri Linkov <juri@jurta.org>
5763
5764 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5765
b5bcaee5
DG
57662013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5767
a020afb9
JB
5768 * emacs-lisp/package.el (package-load-descriptor):
5769 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5770 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5771
551e07e5
JB
57722013-06-17 Juanma Barranquero <lekktu@gmail.com>
5773
5774 * startup.el (command-line): Expand package name returned by
5775 `package--description-file' (bug#14639).
5776
d363bffb
DG
57772013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5778
5779 * emacs-lisp/package.el (package-load-descriptor): Do not call
5780 `emacs-lisp-mode', just use its syntax table.
5781
f612933b
JB
57822013-06-17 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5785 `font-lock-extra-managed-props' if any prettifying keyword is added.
5786 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5787 (prog-mode): Use `setq-local'.
5788
db3b7db5
SM
57892013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * international/characters.el (standard-case-table): Set syntax of ?»
5792 and ?« to punctuation.
5793
f3d674df
JB
57942013-06-16 Juanma Barranquero <lekktu@gmail.com>
5795
5796 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5797 Save relevant match data before calling `syntax-ppss' (bug#14595).
5798
31489a32
JL
57992013-06-15 Juri Linkov <juri@jurta.org>
5800
5801 * files-x.el (modify-file-local-variable-prop-line): Add local
5802 variables to the end of the existing comment on the first line.
5803 Use `file-auto-mode-skip' to skip interpreter magic line,
5804 and also skip XML declaration.
5805
66bd25ab
SM
58062013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * startup.el (package--builtin-versions): New var.
5809 (package-subdirectory-regexp): Remove.
5810 (package--description-file): Hard code its value instead.
5811
5812 * emacs-lisp/package.el: Don't activate packages older than builtin.
5813 (package-obsolete-list): Rename from package-obsolete-alist, and make
5814 it into a simple list of package-desc.
5815 (package-strip-version): Remove.
5816 (package-built-in-p): Use package--builtin-versions.
5817 (package-mark-obsolete): Simplify.
5818 (package-process-define-package): Mark it obsolete if older than the
5819 builtin version.
5820 (package-handle-response): Use line-end-position.
5821 (package-read-archive-contents, package--download-one-archive):
5822 Simplify.
5823 (package--add-to-archive-contents): Skip if older than the builtin or
5824 installed version.
5825 (package-menu-describe-package): Fix last change.
5826 (package-list-unversioned): New var.
5827 (package-menu--generate): Use it.
5828
5829 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5830 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5831 (autoload-builtin-package-versions): New variable.
5832 (autoload-generate-file-autoloads): Use them.
5833 Remove the list of autoloaded functions/macros from the
5834 (autoload...) comments.
5835
5836 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5837
9583ec36
EZ
58382013-06-15 Eli Zaretskii <eliz@gnu.org>
5839
5840 * simple.el (line-move-partial): Don't jump to the next screen
5841 line as soon as it becomes visible. Instead, continue enlarging
5842 the vscroll until the portion of a tall screen line that's left on
5843 display is about the height of the frame's default font.
5844 (Bug#14567)
5845
f0100d8a
GM
58462013-06-15 Glenn Morris <rgm@gnu.org>
5847
b86a85ca
GM
5848 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5849 compilation-error-regexp-alist void, or local while let-bound.
5850
f0100d8a
GM
5851 * progmodes/make-mode.el (makefile-mode-syntax-table):
5852 Treat "=" as punctuation. (Bug#14614)
5853
05e7ce90
JB
58542013-06-15 Juanma Barranquero <lekktu@gmail.com>
5855
5856 * help-fns.el (describe-variable):
5857 Add extra line for permanent-local variables.
5858
12e5e86e
SH
58592013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5860
5861 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5862 Add export, import, library. (Bug#9164)
5863 (library): Set indent function.
5864
230dcbaf
GM
58652013-06-14 Glenn Morris <rgm@gnu.org>
5866
5867 * term/xterm.el (xterm--query):
5868 Stop after first matching handler. (Bug#14615)
5869
e36b2d20 58702013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5871
5872 Add support for dired in saveplace.
5873 * dired.el (dired-initial-position-hook): New variable.
5874 (dired-initial-position): Call hook to place cursor position.
5875 * saveplace.el (save-place-to-alist): Add dired position.
5876 (save-place-dired-hook): New function.
5877
0b31660d
SM
58782013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5879
bf1e6ae8
SM
5880 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5881 through a symbol rather than letrec.
5882
1b8dff23
SM
5883 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5884 (package-desc): Add `dir' field.
5885 (package-desc-full-name): New function.
5886 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5887 (package-maybe-load-descriptor): Remove.
5888 (package-load-all-descriptors): Just call package-load-descriptor.
5889 (package--disabled-p): New function.
5890 (package-desc-vers, package-desc-doc): Remove aliases.
5891 (package--dir): Remove function.
5892 (package-activate): Check if a package is disabled.
5893 (package-process-define-package): New function, extracted from
5894 define-package.
5895 (define-package): Turn into a place holder.
5896 (package-unpack-single, package-tar-file-info):
5897 Use package--description-file.
5898 (package-compute-transaction): Use package--disabled-p.
5899 (package-download-transaction): Don't call
5900 package-maybe-load-descriptor since they're all loaded anyway.
5901 (package-install): Change argument to be a pkg-desc.
5902 (package-delete): Use a single pkg-desc argument.
5903 (describe-package-1): Use package-desc-dir instead of package--dir.
5904 Use package-desc property instead of package-symbol.
5905 (package-install-button-action): Adjust accordingly.
5906 (package--push): Rewrite.
5907 (package-menu--print-info): Adjust accordingly. Change the ID format
5908 to be a pkg-desc.
5909 (package-menu-describe-package, package-menu-get-status)
5910 (package-menu--find-upgrades, package-menu-mark-upgrades)
5911 (package-menu-execute, package-menu--name-predicate):
5912 Adjust accordingly.
5913 * startup.el (package--description-file): New function.
5914 (command-line): Use it.
5915 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5916 Use package-desc-version.
5917
0b31660d
SM
5918 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5919 (byte-compile-preprocess): Use it.
5920 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5921 can't quite recognize.
5922 (byte-compile-add-to-list): Remove.
5923 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5924 (cconv-closure-convert): Add assertion.
5925
5926 * emacs-lisp/map-ynp.el: Use lexical-binding.
5927 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5928 Factor out some repeated code.
5929
de0503df
SM
59302013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 * subr.el (with-eval-after-load): New macro.
5933 (eval-after-load): Allow form to be a function.
5934 take advantage of lexical-binding.
5935 (do-after-load-evaluation): Use dolist and adjust to new format.
5936 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5937
bc5c8c5a
JL
59382013-06-13 Juri Linkov <juri@jurta.org>
5939
5940 * replace.el (perform-replace): Display "symbol " and other search
5941 modes from `isearch-message-prefix' in the *Help* buffer.
5942
5943 * isearch.el (isearch-query-replace): Add " symbol" and other
5944 possible search modes from `isearch-message-prefix' to the prompt.
5945 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5946 when reading a regexp to collect.
5947
a22289f7
JL
59482013-06-13 Juri Linkov <juri@jurta.org>
5949
5950 * isearch.el (word-search-regexp): Match whitespace if the search
5951 string begins or ends in whitespace. The LAX arg is applied to
5952 both ends of the search string. Use `regexp-quote' and explicit
5953 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5954 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5955 boundaries are replaced with symbol boundaries, and characters
5956 between symbols match non-word non-symbol syntax. (Bug#14602)
5957
cb89acab
JL
59582013-06-13 Juri Linkov <juri@jurta.org>
5959
5960 * isearch.el (isearch-del-char): Don't exceed the length of
5961 `isearch-string' by the prefix arg. (Bug#14563)
5962
6e8cfc81
JL
59632013-06-13 Juri Linkov <juri@jurta.org>
5964
5965 * isearch.el (isearch-yank-word, isearch-yank-line)
5966 (isearch-char-by-name, isearch-quote-char)
5967 (isearch-printing-char, isearch-process-search-char):
5968 Add optional count prefix arg. (Bug#14563)
5969
5970 * international/isearch-x.el
5971 (isearch-process-search-multibyte-characters):
5972 Add optional count prefix arg.
5973
c23d55f4
VS
59742013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5977 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5978 lexical-binding.
5979
59802013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5981
5982 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5983
ba947bc4
GM
59842013-06-13 Glenn Morris <rgm@gnu.org>
5985
8baeb37a
GM
5986 * startup.el (tty-handle-args):
5987 Don't just discard "--" and anything after. (Bug#14608)
5988
ba947bc4
GM
5989 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5990
9abefce4
MA
59912013-06-13 Michael Albinus <michael.albinus@gmx.de>
5992
5993 Implement changes in Secret Service API. Make it backward compatible.
5994 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5995 (secrets-create-item): Use it. Prefix properties with interface.
5996
5755011f
MH
59972013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5998
5999 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6000 (term-emulate-terminal): Respect term-suppress-hard-newline.
6001
1261d2da
S
60022013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6003
6004 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6005 Only remove a `thumb-file' overlay. (Bug#14548)
6006
868490bb
GJ
60072013-06-12 Grégoire Jadi <daimrod@gmail.com>
6008
6009 * mail/reporter.el (reporter-submit-bug-report):
6010 Handle missing package-name. (Bug#14600)
6011
79d7167f
TH
60122013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6013
6014 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6015 (reftex-citation-prompt, reftex-default-bibliography)
6016 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6017 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6018 (reftex-bib-sort-author, reftex-bib-sort-year)
6019 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6020 (reftex-extract-bib-entries-from-thebibliography)
6021 (reftex-get-bibkey-default, reftex-get-bib-names)
6022 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6023 (reftex-format-bib-entry, reftex-parse-bibitem)
6024 (reftex-format-bibitem, reftex-do-citation)
6025 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6026 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6027 (reftex-insert-bib-matches, reftex-format-citation)
6028 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6029 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6030 existing comments into docstrings.
6031
5f9dbd7a
XF
60322013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6033
6034 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6035
94df41ab
AS
60362013-06-12 Andreas Schwab <schwab@suse.de>
6037
6038 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6039 for auto-save files.
6040
a7f3fecc
GM
60412013-06-12 Glenn Morris <rgm@gnu.org>
6042
001809f6
GM
6043 * ido.el (ido-delete-ignored-files): Remove.
6044 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6045 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6046
834b5ded
EL
60472013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6048
08c73ed2
EL
6049 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6050
834b5ded
EL
6051 * ido.el (ido-delete-ignored-files): New function,
6052 split from ido-make-file-list-1.
6053 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6054 (ido-make-file-list-1): Use ido-delete-ignored-files.
6055
daabf15a
LL
60562013-06-12 Leo Liu <sdl.web@gmail.com>
6057
6058 * progmodes/octave.el (inferior-octave-startup)
6059 (inferior-octave-completion-table)
6060 (inferior-octave-track-window-width-change)
6061 (octave-eldoc-function-signatures, octave-help)
6062 (octave-find-definition): Use single quoted strings.
6063 (inferior-octave-startup-args): Change default value.
6064 (inferior-octave-startup): Do not hard code "-i" and
6065 "--no-line-editing".
6066 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6067 (inferior-octave-directory-tracker): Use it.
6068 (octave-goto-function-definition): Robustify.
6069 (octave-help): Support highlighting operators in 'See also'.
6070 (octave-find-definition): Find subfunctions only in Octave mode.
6071
cf4e5178
SM
60722013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * help-fns.el (help-fns--compiler-macro): If the handler function is
6075 named, then put a link to it.
6076 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6077 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6078 (cl-typep): Use it.
6079 (cl-eval-when): Simplify debug spec.
6080 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6081 compiler-macro function instead of setting `compiler-macro-file'.
6082
99c81280 60832013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6084
6085 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6086 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6087
f56be016
SM
60882013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6089 Daniel Hackney <dan@haxney.org>
6090
6091 First part of Daniel Hackney's patch to package.el.
6092 * emacs-lisp/package.el: Use defstruct.
6093 (package-desc): New, main struct.
6094 (package--bi-desc, package--ac-desc): New structs, used to describe the
6095 format in external files.
6096 (package-desc-vers): Replace with package-desc-version accessor.
6097 (package-desc-doc): Replace with package-desc-summary accessor.
6098 (package-activate-1): Remove `package' arg since the pkg-vec now
6099 includes the name.
6100 (define-package): Use package-desc-from-define.
6101 (package-unpack-single): Change file-name arg to be a symbol.
6102 (package--add-to-archive-contents): Use package-desc-create and new
6103 accessor functions to package--ac-desc.
6104 (package-buffer-info, package-tar-file-info): Return a package-desc.
6105 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6106 arg to be a package-desc.
6107 (package-install-file): Adjust accordingly. Use \' to match EOS.
6108 (package--from-builtin): New function.
6109 (describe-package-1, package-menu--generate): Use it.
6110 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6111 (package-generate-autoloads): Idem and return the name of the file.
6112 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6113 Change pkg-info arg to be a package-desc.
6114 Use package-make-ac-desc.
6115 (package-upload-file): Use \' to match EOS.
6116 * finder.el (finder-compile-keywords): Use package-make-builtin.
6117
31119d63
SM
61182013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6119
931a2762
SM
6120 * vc/vc.el (vc-deduce-fileset): Change error message.
6121 (vc-read-backend): New function.
6122 (vc-next-action): Use it.
6123
5a3eb0c6
SM
6124 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6125
e3eb1bb7
SM
6126 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6127 (prolog-font-lock-keywords): Use regexp-opt instead.
6128 Don't manually highlight strings.
6129 (prolog-mode-variables): Simplify comment-start-skip.
6130 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6131
31119d63
SM
6132 * emacs-lisp/generic.el (generic--normalise-comments)
6133 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6134 (generic-mode-set-comments): Use them.
6135 (generic-bracket-support): Use setq-local.
6136 (generic-make-keywords-list): Declare obsolete.
6137
7de135d0
GM
61382013-06-11 Glenn Morris <rgm@gnu.org>
6139
6140 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6141 Prettify after setting font-lock-defaults. (Bug#14574)
6142
fa6bc6fd
JB
61432013-06-11 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * replace.el (query-replace, occur-read-regexp-defaults-function)
6146 (replace-search):
6147 * subr.el (declare-function, number-sequence, local-set-key)
6148 (substitute-key-definition, locate-user-emacs-file)
6149 (with-silent-modifications, split-string, eval-after-load):
6150 Fix typos, remove unneeded backslashes and reflow some docstrings.
6151
cf1f9b9a
SM
61522013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6155 default for Elisp files.
6156
56602a4b
GM
61572013-06-11 Glenn Morris <rgm@gnu.org>
6158
6159 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6160 although define-derived-mode was doing this anyway. (Bug#14583)
6161
30ae0b2c
JB
61622013-06-10 Juanma Barranquero <lekktu@gmail.com>
6163
6164 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6165 Fix make-variable-buffer-local call to refer to the correct variable.
6166
fa472906
AG
61672013-06-10 Aidan Gauland <aidalgol@amuri.net>
6168
6169 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6170 (eshell-visual-subcommands, eshell-visual-options):
6171 Add summary line to docstrings. Add cross-references.
fa472906 6172
ff4871b9
GM
61732013-06-10 Glenn Morris <rgm@gnu.org>
6174
6175 * epa.el (epa-read-file-name): New function. (Bug#14510)
6176 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6177
04fcf1b0
AG
61782013-06-09 Aidan Gauland <aidalgol@amuri.net>
6179
6180 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6181 output redirection to be ignored with visual commands.
6182
88b00caa
AG
61832013-06-09 Aidan Gauland <aidalgol@amuri.net>
6184
6185 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6186 (eshell-term-initialize): Move long lambda to separate function
6187 eshell-visual-command-p.
e7b41c4c
JB
6188 * eshell/em-dirs.el (eshell-dirs-initialise):
6189 * eshell/em-script.el (eshell-script-initialize):
6190 Add missing #' to lambda.
88b00caa 6191
fda74125
LL
61922013-06-08 Leo Liu <sdl.web@gmail.com>
6193
6194 * progmodes/octave.el (octave-add-log-current-defun): New function.
6195 (octave-mode): Set add-log-current-defun-function.
6196 (octave-goto-function-definition): Do not move point if not found.
6197 (octave-find-definition): Enhance to try subfunctions first.
6198
467f3b33
GM
61992013-06-08 Glenn Morris <rgm@gnu.org>
6200
6201 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6202 (byte-compile-backward-char, byte-compile-backward-word):
6203 Improve previous change, to handle non-explicit nil.
6204
544badc3
SM
62052013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6208 (smie--opener/closer-at-point): New function.
6209 (smie--matching-block-data): Use it. Don't match from right after an
6210 opener or right before a closer. Obey smie-blink-matching-inners.
6211 Don't signal a mismatch for repeated inners like "switch..case..case".
6212
a175bf33
LL
62132013-06-07 Leo Liu <sdl.web@gmail.com>
6214
6215 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6216 to t. (Bug#14303)
ce8209d4
LL
6217 (octave-function-header-regexp): Fix. (Bug#14570)
6218 (octave-help-mode-finish-hook, octave-help-mode-finish):
6219 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6220
6221 * newcomment.el (comment-search-backward): Revert last change.
6222 (Bug#14434)
6223
6224 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6225
a822acff
EZ
62262013-06-07 Eli Zaretskii <eliz@gnu.org>
6227
6228 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6229 through xargs, to avoid failure due to MS-Windows limitations on
6230 command-line length.
6231
961166f5
GM
62322013-06-06 Glenn Morris <rgm@gnu.org>
6233
d0341459
GM
6234 * font-lock.el (lisp-font-lock-keywords-2):
6235 Treat user-error like error.
6236
961166f5
GM
6237 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6238 (byte-compile-backward-char, byte-compile-backward-word):
6239 Handle explicit nil arguments. (Bug#14565)
6240
80fa505f
AM
62412013-06-05 Alan Mackenzie <acm@muc.de>
6242
6243 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6244 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6245 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6246 (Bug#9706)
80fa505f 6247
fccdc796
SM
62482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * autorevert.el (auto-revert-notify-handler): Use memq.
6251 Hide assertion failure.
6252
6253 * skeleton.el: Use cl-lib.
6254 (skeleton-further-elements): Use defvar-local.
6255 (skeleton-insert): Use cl-progv.
6256
9bfff84b
TZ
62572013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6258
6259 * progmodes/prog-mode.el (prog-prettify-symbols)
6260 (prog-prettify-install): Update docstrings.
6261
55577e7c
SM
62622013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * simple.el: Move all the prog-mode code to prog-mode.el.
6265 * progmodes/prog-mode.el: New file.
6266 * loadup.el: Add prog-mode.el.
6267
8fc57765
TZ
62682013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6269
6270 * simple.el (prog-prettify-symbols): Add version.
6271 (prog-prettify-install): Add convenience function to prettify symbols.
6272
6273 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6274 (perl--augmented-font-lock-keywords-1)
6275 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6276 variables and use it.
6277
6278 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6279 (cfengine3-mode): Remove unneeded variable and use it.
6280
6281 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6282 (lisp--augmented-font-lock-keywords-1)
6283 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6284 Remove unneeded variables and use it.
6285
650645d5 62862013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6287
6288 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6289 to point when opening the connection. (Bug#14380)
28f5da6d 6290
781b4af6
SM
62912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * subr.el (load-history-regexp, load-history-filename-element)
6294 (eval-after-load, after-load-functions, do-after-load-evaluation)
6295 (eval-next-after-load, display-delayed-warnings)
6296 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6297 definition of save-match-data.
6298 (overriding-local-map): Remove accidental obsolescence declaration.
6299
6300 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6301
3ca0d0b4
TZ
63022013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6303
6304 Generalize symbol prettify support to prog-mode and implement it
6305 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6306 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6307 (prog--prettify-font-lock-compose-symbol)
6308 (prog-prettify-font-lock-symbols-keywords): New variables and
6309 functions to support symbol prettification.
6310 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6311 (lisp--augmented-font-lock-keywords-1)
6312 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6313 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6314 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6315 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6316 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6317 * progmodes/perl-mode.el (perl-prettify-symbols)
6318 (perl--font-lock-compose-symbol)
6319 (perl--font-lock-symbols-keywords): Move to prog-mode.
6320 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6321 (perl-font-lock-keywords-1)
6322 (perl-font-lock-keywords-2): Remove explicit prettify support.
6323 (perl--augmented-font-lock-keywords)
6324 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6325 (perl--augmented-font-lock-keywords-2, perl-mode):
6326 Implement prettify support.
3ca0d0b4 6327
976cb066
LL
63282013-06-05 Leo Liu <sdl.web@gmail.com>
6329
6330 Re-implement smie matching block highlight using
6331 show-paren-data-function. (Bug#14395)
6332 * emacs-lisp/smie.el (smie-matching-block-highlight)
6333 (smie--highlight-matching-block-overlay)
6334 (smie--highlight-matching-block-lastpos)
6335 (smie-highlight-matching-block)
6336 (smie-highlight-matching-block-mode): Remove.
6337 (smie--matching-block-data-cache): New variable.
6338 (smie--matching-block-data): New function.
6339 (smie-setup): Use smie--matching-block-data for
6340 show-paren-data-function.
6341
6342 * progmodes/octave.el (octave-mode-menu): Fix.
6343 (octave-find-definition): Skip garbage lines.
6344
208d0342
SM
63452013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 Fix compilation error with simultaneous dynamic+lexical scoping.
6348 Add warning when a defvar appears after the first let-binding.
6349 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6350 (byte-compile-close-variables): Initialize it.
6351 (byte-compile--declare-var): New function.
6352 (byte-compile-file-form-defvar)
6353 (byte-compile-file-form-define-abbrev-table)
6354 (byte-compile-file-form-custom-declare-variable): Use it.
6355 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6356 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6357 (byte-compile-bind): Handle dynamic bindings that shadow
6358 lexical bindings.
6359 (byte-compile-unbind): Make arg non-optional.
6360 (byte-compile-let): Simplify.
6361 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6362 (cconv--analyse-function, cconv-analyse-form): Populate it.
6363 Protect byte-compile-bound-variables to limit the scope of defvars.
6364 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6365 Remove unneeded rule for `declare'.
6366
6367 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6368 so as to avoid depending on cl-adjoin at run-time.
6369 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6370
6371 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6372 (macroexp--warn-and-return): Use it.
6373
2587b005
LL
63742013-06-05 Leo Liu <sdl.web@gmail.com>
6375
6376 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6377
f1da3c88
LL
63782013-06-04 Leo Liu <sdl.web@gmail.com>
6379
6380 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6381 (compilation-auto-jump): Suppress the "Mark set" message to give
6382 way to exit message.
6383
3caa391f
AM
63842013-06-04 Alan Mackenzie <acm@muc.de>
6385
6386 Remove faulty optimisation from indentation calculation.
6387 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6388 search limit based on 2000 characters back from indent-point.
6389
068922a2
TH
63902013-06-03 Tassilo Horn <tsdh@gnu.org>
6391
6392 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6393
1f8fdd53
SM
63942013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6395
bbcc4d97
SM
6396 * emacs-lisp/lisp.el: Use lexical-binding.
6397 (lisp--local-variables-1, lisp--local-variables): New functions.
6398 (lisp--local-variables-completion-table): New var.
208d0342 6399 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6400
1f8fdd53
SM
6401 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6402 eagerly (bug#14422).
6403
c9628c79
MA
64042013-06-03 Michael Albinus <michael.albinus@gmx.de>
6405
6406 * autorevert.el (auto-revert-notify-enabled)
6407 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6408 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6409 (auto-revert-notify-handler): Handle also gfilenotify.
6410
e7b41c4c 6411 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6412 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6413 Remove.
c9628c79 6414
e5e4a942
JL
64152013-06-03 Juri Linkov <juri@jurta.org>
6416
6417 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6418 `M-s h .'. (Bug#14427)
6419
6420 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6421 command `hi-lock-face-symbol-at-point'.
6422 (hi-lock-face-symbol-at-point): New command.
6423 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6424 (hi-lock-menu): Add `highlight-symbol-at-point'.
6425 (hi-lock-mode): Doc fix.
6426
6427 * isearch.el (isearch-forward-symbol-at-point): New command.
6428 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6429 (isearch-highlight-regexp): Add a regexp which matches
6430 words/symbols for word/symbol mode.
6431
6432 * subr.el (find-tag-default-bounds): New function with the body
6433 mostly moved from `find-tag-default'.
6434 (find-tag-default): Move most code to `find-tag-default-bounds',
6435 call it and apply `buffer-substring-no-properties' afterwards.
6436
26b3353a
TH
64372013-06-03 Tassilo Horn <tsdh@gnu.org>
6438
781b4af6
SM
6439 * eshell/em-term.el (eshell-term-initialize):
6440 Use `cl-intersection' rather than `intersection'.
26b3353a 6441
51b60f53
XF
64422013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6443
fe054b63 6444 * vc/log-view.el: Doc fix.
d3ffe17c 6445 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6446
a0eb10b3 64472013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6448
6449 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6450 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6451 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6452 (eieio-unbound, eieio-default-superclass)
6453 (eieio--define-field-accessors, method-static, method-before)
6454 (method-primary, method-after, method-num-lists)
6455 (method-generic-before, method-generic-primary)
6456 (method-generic-after, method-num-slots)
6457 (eieio-specialized-key-to-generic-key)
6458 (eieio--check-type, class-v, class-p)
6459 (eieio-class-name, define-obsolete-function-alias)
6460 (eieio-class-parents-fast, eieio-class-children-fast)
6461 (same-class-fast-p, class-constructor, generic-p)
6462 (generic-primary-only-p, generic-primary-only-one-p)
6463 (class-option-assoc, class-option, eieio-object-p)
6464 (class-abstract-p, class-method-invocation-order)
6465 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6466 (eieio-class-un-autoload, eieio-defclass)
6467 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6468 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6469 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6470 (eieio-defgeneric-reset-generic-form)
6471 (eieio-defgeneric-form-primary-only)
6472 (eieio-defgeneric-reset-generic-form-primary-only)
6473 (eieio-defgeneric-form-primary-only-one)
6474 (eieio-defgeneric-reset-generic-form-primary-only-one)
6475 (eieio-unbind-method-implementations)
6476 (eieio--defmethod, eieio--typep)
6477 (eieio-perform-slot-validation, eieio-validate-slot-value)
6478 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6479 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6480 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6481 (eieio-slot-name-index, eieio-class-slot-name-index)
6482 (eieio-set-defaults, eieio-initarg-to-attribute)
6483 (eieio-attribute-to-initarg, eieio-c3-candidate)
6484 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6485 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6486 (eieio-class-precedence-list, eieio-generic-call-methodname)
6487 (eieio-generic-call-arglst, eieio-generic-call-key)
6488 (eieio-generic-call-next-method-list)
6489 (eieio-pre-method-execution-functions, eieio-generic-call)
6490 (eieio-generic-call-primary-only, eieiomt-method-list)
6491 (eieiomt-optimizing-obarray, eieiomt-install)
6492 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6493 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6494 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6495 (defclass): Remove `eval-and-compile' from macro.
6496 (call-next-method, shared-initialize): Instead of using
6497 `scoped-class' variable, use new eieio--scoped-class, and
6498 eieio--with-scoped-class.
6499 (initialize-instance): Rename local variable 'scoped-class' to
6500 'this-class' to remove ambiguitity from old global.
6501
6502 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6503 eieio.el.
4f405069
JB
6504 (eieio--scoped-class-stack): New variable.
6505 (eieio--scoped-class): New fcn.
890f7890
DE
6506 (eieio--with-scoped-class): New scoping macro.
6507 (eieio-defclass): Use pushnew instead of add-to-list.
6508 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6509 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6510 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6511 `scoped-class' variable, use new eieio--scoped-class, and
6512 eieio--with-scoped-class.
6513
6514 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6515
d105b0e2
TH
65162013-06-02 Tassilo Horn <tsdh@gnu.org>
6517
6518 * eshell/esh-ext.el (eshell-external-command): Pass args to
6519 `eshell-find-interpreter'.
6520 (eshell-find-interpreter): Add new second parameter ARGS.
6521
6522 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6523 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6524
6525 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6526 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6527
6528 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6529 (eshell-visual-options): New defcustom.
6530 (eshell-escape-control-x): Adapt docstring.
6531 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6532 `eshell-visual-options' in addition to `eshell-visual-commands'.
6533 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6534
f46305c8 65352013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6536
6537 * progmodes/python.el (python-indent-block-enders): Add break,
6538 continue and raise keywords.
6539
d870df21
GM
65402013-06-01 Glenn Morris <rgm@gnu.org>
6541
9133b82e
GM
6542 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6543
02c992ec 6544 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6545 * progmodes/cc-cmds.el (delete-forward-p):
6546 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6547 * progmodes/cc-engine.el (buffer-syntactic-context):
6548 * progmodes/cc-fonts.el (face-property-instance):
6549 * progmodes/cc-mode.el (set-keymap-parents):
6550 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6551 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6552 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6553 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6554 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6555
31e7b090
GM
6556 * progmodes/cc-vars.el (other): Emacs has this widget since
6557 at least 21.1, so don't (re)define it.
6558
d870df21
GM
6559 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6560 Replace the obsolete alias pcomplete-arg-quote-list.
6561
c75c93c7
LL
65622013-06-01 Leo Liu <sdl.web@gmail.com>
6563
6564 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6565 punctuation syntax.
6566 (inferior-octave-minimal-columns)
6567 (inferior-octave-last-column-width): New variables.
6568 (inferior-octave-track-window-width-change): New function.
6569 (inferior-octave-mode): Adjust column width so that Octave output,
6570 for example from 'ls', can fit into the window nicely.
6571
973d1e12
DG
65722013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6573
6574 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6575 Highlight expansions inside regexp literals.
6576
0888c286
GM
65772013-05-31 Glenn Morris <rgm@gnu.org>
6578
e26aac1f
GM
6579 * obsolete/sym-comp.el (symbol-complete):
6580 Replace obsolete completion-annotate-function.
6581
0888c286
GM
6582 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6583
19bb8e62
DG
65842013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6585
781b4af6
SM
6586 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6587 New function, checks if point is inside a literal that allows
19bb8e62
DG
6588 expression expansion.
6589 (ruby-syntax-propertize-expansion): Use it.
6590 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6591 around the body.
6592
01dea85f
JL
65932013-05-30 Juri Linkov <juri@jurta.org>
6594
6595 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6596 to "\M-si".
6597 (isearch-invisible): New variable.
6598 (isearch-forward): Doc fix.
6599 (isearch-mode): Set `isearch-invisible'
6600 to the value of `search-invisible'.
6601 (isearch-toggle-case-fold): Doc fix.
6602 (isearch-toggle-invisible): New command.
6603 (isearch-query-replace): Let-bind `search-invisible'
6604 to the value of `isearch-invisible'.
6605 (isearch-search): Use `isearch-invisible' instead of
6606 `search-invisible'. Let-bind `search-invisible'
6607 to the value of `isearch-invisible'. (Bug#11378)
6608
ab1bdce5
JL
66092013-05-30 Juri Linkov <juri@jurta.org>
6610
6611 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6612 call when `query-flag' is nil and `search-invisible' is non-nil.
6613 (Bug#11746)
6614
d6d236e2
GM
66152013-05-30 Glenn Morris <rgm@gnu.org>
6616
8accd027
GM
6617 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6618
2a8bed1c
GM
6619 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6620 (cc-require): Suppress spurious "noruntime" warnings.
6621 (cc-require-when-compile): Use fboundp, for sake of compiler.
6622
d6d236e2
GM
6623 * progmodes/cc-mode.el: Move load of cc-vars before that of
6624 cc-langs (which in turn loads cc-vars), to quieten compiler.
6625
9190b35b
SM
66262013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * paren.el: Simplify the code.
6629 (show-paren-mode): Always start the timer.
6630 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6631 (show-paren--overlay, show-paren--overlay-1): Rename from
6632 show-paren-overlay and show-paren-overlay-1, and initialize to an
6633 overlay rather than to nil.
6634 (show-paren-function): Misc cleanup and simplifications.
6635
4f8d1cf6
SM
66362013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * paren.el (show-paren-data-function): New hook.
6639 (show-paren--default): New function, extracted from show-paren-function.
6640 (show-paren-function): Use show-paren-data-function.
6641
02d844b5
GM
66422013-05-30 Glenn Morris <rgm@gnu.org>
6643
d209d4a9
GM
6644 * ielm.el (ielm-map, ielm-complete-symbol):
6645 Use completion-at-point rather than obsolete functions.
6646 (inferior-emacs-lisp-mode): Doc fix.
6647 Set completion-at-point-functions, rather than
6648 comint-dynamic-complete-functions.
6649
2082faa6
GM
6650 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6651 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6652 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6653
dd8620de
GM
6654 * image.el (image-animated-p): Tweak definition.
6655
ceca95b1
GM
6656 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6657 (rlogin-process-connection-type): Tweak default. Add set-after.
6658 (rlogin-host): Doc fix.
6659 (rlogin): Tweak prompt.
6660 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6661
ee9f1acc
GM
6662 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6663 * progmodes/tcl.el (inferior-tcl-mode-map):
6664 Use completion-at-point rather than obsolete alias.
6665
45ce222e
GM
6666 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6667
02d844b5
GM
6668 * minibuffer.el (read-file-name-completion-ignore-case):
6669 Move before completion--in-region, for eager macro expansion.
6670
ac44d6c1
JL
66712013-05-29 Juri Linkov <juri@jurta.org>
6672
6673 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6674 for total count of matching lines. Add `global-matches' for total
6675 count of matches. Rename `matches' to `lines' for count of
6676 matching lines. Add `matches' for count of matches.
6677 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6678 to `prev-line' for line number of prev match endpt.
6679 Increment `matches' for every match. Print the number of
6680 matching lines in the header.
6681 (occur-context-lines): Rename `lines' to `curr-line'.
6682 Rename `prev-lines' to `prev-line'. (Bug#14017)
6683
3c9c9d38
JL
66842013-05-29 Juri Linkov <juri@jurta.org>
6685
6686 * replace.el (perform-replace): Add `skip-read-only-count',
6687 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6688 Increment them for corresponding conditions and report the number
6689 of skipped occurrences in the final message. (Bug#11746)
6690 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6691 (replace-string, replace-regexp): Doc fix.
6692
33e249a2
SM
66932013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6694
8e399682
SM
6695 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6696
33e249a2 6697 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6698 prog-mode-map (bug#14504).
33e249a2 6699
f236dd84
LL
67002013-05-29 Leo Liu <sdl.web@gmail.com>
6701
6702 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6703 (octave-help): Small simplification.
6704
6705 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6706 off the highlight first.
6707
3694d13f
GM
67082013-05-29 Glenn Morris <rgm@gnu.org>
6709
03983bdc
GM
6710 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6711 Handle idlwave-last-system-routine-info-cons-cell being nil.
6712
bc74a74a
GM
6713 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6714 (idlwave-write-paths): Simplify via with-temp-buffer.
6715
8b394200
GM
6716 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6717 * emulation/cua-rect.el: Also load cua-base at run time.
6718
3694d13f
GM
6719 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6720 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6721 (cperl-imenu-on-info): Require imenu.
6722
336d7284
AM
67232013-05-28 Alan Mackenzie <acm@muc.de>
6724
6725 Handle "capitalised keywords" correctly.
33e249a2 6726 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6727
cb29c582
AG
67282013-05-28 Aidan Gauland <aidalgol@amuri.net>
6729
781b4af6 6730 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6731
690e44b2
GM
67322013-05-28 Glenn Morris <rgm@gnu.org>
6733
e658d75c
GM
6734 * vc/vc-arch.el (vc-exec-after): Declare.
6735 (vc-switches): Autoload.
6736 * vc/vc-bzr.el: No need to require vc when compiling.
6737 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6738 (vc-resynch-buffer, vc-dir-refresh): Declare.
6739 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6740 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6741 (vc-resynch-buffer): Declare.
6742 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6743 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6744 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6745 (grep-read-regexp, grep-read-files, grep-expand-template)
6746 (vc-dir-refresh): Declare.
6747 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6748 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6749 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6750 * vc/vc-mtn.el (vc-exec-after): Declare.
6751 (vc-switches): Autoload.
6752 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6753 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6754 (vc-file-tree-walk): Declare.
712b9732
GM
6755 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6756 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6757 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6758 * vc/vc-svn.el (vc-exec-after): Declare.
6759 (vc-switches, vc-setup-buffer): Autoload.
6760 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6761 Autoload.
6762 (vc-resynch-buffer): Declare.
6763
98e87fb3
GM
6764 * obsolete/fast-lock.el (byte-compile-warnings):
6765 Don't warn about obsolete features in this obsolete file.
6766
f5379553
GM
6767 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6768 Move definition before use.
6769
7a20ef83
GM
6770 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6771 (dun-unix-verbs): Remove dun-zippy.
6772 (dun-zippy): Remove function.
6773
690e44b2
GM
6774 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6775
3a52ccf7
JL
67762013-05-27 Juri Linkov <juri@jurta.org>
6777
6778 * replace.el (replace-search): New function with code moved out
6779 from `perform-replace'.
6780 (replace-highlight, replace-dehighlight): Move function definitions
6781 up closer to `replace-search'. (Bug#11746)
6782
d289938a
JL
67832013-05-27 Juri Linkov <juri@jurta.org>
6784
6785 * replace.el (perform-replace): Ignore invisible matches.
6786 In addition to checking `query-replace-skip-read-only', also
6787 filter out matches by calling `run-hook-with-args-until-failure'
6788 on `isearch-filter-predicates', and also check `search-invisible'
6789 for t or call `isearch-range-invisible'.
6790 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6791
66fc57e3
JL
67922013-05-27 Juri Linkov <juri@jurta.org>
6793
6794 * isearch.el (isearch-filter-predicates): Rename from
6795 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6796 (isearch-message-prefix): Display text from the property
6797 `isearch-message-prefix' of the currently active filters.
6798 (isearch-search): Don't compare `isearch-filter-predicate' with
6799 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6800 on `isearch-filter-predicates'. Also check `search-invisible' for t
6801 or call `isearch-range-invisible'.
6802 (isearch-filter-visible): Make obsolete.
6803 (isearch-lazy-highlight-search):
6804 Call `run-hook-with-args-until-failure' on
6805 `isearch-filter-predicates' and use `isearch-range-invisible'.
6806
6807 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6808 `isearch-filter-predicates' instead of `funcall'ing
6809 `isearch-filter-predicate'.
6810 (Info-mode): Set `Info-isearch-filter' to
6811 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6812
6813 * dired-aux.el (dired-isearch-filter-predicate-orig):
6814 Remove variable.
6815 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6816 (dired-isearch-filenames-end): Add and remove
6817 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6818 instead of changing the value of `isearch-filter-predicate'.
6819 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6820 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6821 Put property `isearch-message-prefix' to "filename " on
6822 `dired-isearch-filter-filenames'.
6823
6824 * wdired.el (wdired-change-to-wdired-mode):
6825 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6826 locally instead of changing `isearch-filter-predicate'.
6827 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6828
f1a60a0f
DG
68292013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6830
6831 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6832 return the commit hash (Bug#14459). Also set the
6833 `vc-git-detached' property.
6834 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6835 (vc-git-mode-line-string): Use the same help-echo format whether
6836 in detached mode or not, because we know the actual revision now.
6837 When in detached mode, shorten the revision to 7 chars.
6838
7f17cc40
SM
68392013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * emacs-lisp/easy-mmode.el (define-minor-mode):
6842 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6843 mode hook and provide a docstring.
6844
25c8401c
AM
68452013-05-27 Alan Mackenzie <acm@muc.de>
6846
6847 Remove spurious syntax-table text properties inserted by C-y.
6848 * progmodes/cc-mode.el (c-after-change): Also clear hard
6849 syntax-table property with value nil.
6850
dde84790
MA
68512013-05-27 Michael Albinus <michael.albinus@gmx.de>
6852
6853 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6854 when reading the events; the buffer layout shall not be changed.
6855
837fd9af
LL
68562013-05-27 Leo Liu <sdl.web@gmail.com>
6857
6858 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6859 New variable.
6860 (inferior-octave-directory-tracker): Automatically re-sync
6861 default-directory.
6862 (octave-help): Improve handling of 'See also'.
6863
4fd996b3
SM
68642013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6865
416f1802
SM
6866 * doc-view.el: Minor naming convention tweaks.
6867 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6868
4fd996b3
SM
6869 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6870 even if there's no `display' property yet (bug#14435).
6871
a052ef3b
EZ
68722013-05-25 Eli Zaretskii <eliz@gnu.org>
6873
4fd996b3 6874 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6875
6876 * Makefile.in (custom-deps, finder-data, autoloads)
6877 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6878 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6879 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6880
c9023370
SM
68812013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6884 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6885 Don't burp at EOB.
c9023370 6886
24d699fa
LL
68872013-05-25 Leo Liu <sdl.web@gmail.com>
6888
6889 * comint.el (comint-previous-matching-input): Do not flood the
6890 *Messages* buffer with trivial messages.
6891
17e5c0cc
SM
68922013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * progmodes/flymake.el (flymake-nop): Don't return a string.
6895 (flymake-set-at): Fix typo.
6896
6897 * simple.el (read--expression): New function, extracted from
6898 eval-expression. Set completion-at-point-functions (bug#14465).
6899 (eval-expression, eval-minibuffer): Use it.
6900
5d028165
XF
69012013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6902
6903 * progmodes/flymake.el (flymake-save-buffer-in-file)
6904 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6905 (flymake-selected-frame, flymake-log, flymake-ins-after)
6906 (flymake-set-at, flymake-get-buildfile-from-cache)
6907 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6908 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6909 Refine the doc string.
6910 (flymake-get-file-name-mode-and-masks): Reformat.
6911 (flymake-get-real-file-name-function): Fix a minor bug.
6912
7a1d7ba7
JL
69132013-05-24 Juri Linkov <juri@jurta.org>
6914
6915 * progmodes/grep.el (grep-mode-font-lock-keywords):
6916 Support =linenumber= format used by git-grep for lines with
6917 function names. (Bug#13549)
6918
650cff3d
SM
69192013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6922 0 after a semi-colon; it works better for smie-auto-fill.
6923 (octave--indent-new-comment-line): New function.
6924 (octave-indent-new-comment-line): Use it (indirectly).
6925 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6926 modify comment-line-break-function.
6927
6928 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6929 (smie-setup): Use add-function to set it.
6930
9631677d
SS
69312013-05-24 Sam Steingold <sds@gnu.org>
6932
6933 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6934 argument (before the `interactive' argument).
6935
50105835
SM
69362013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * image-mode.el (image-mode-winprops): Add winprops to
6939 image-mode-winprops-alist before running
6940 image-mode-new-window-functions.
6941 * doc-view.el (doc-view-new-window-function): Don't delay
6942 doc-view-goto-page via timers (bug#14435).
6943
57b9823e
TH
69442013-05-24 Tassilo Horn <tsdh@gnu.org>
6945
6946 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6947 (doc-view-desktop-save-buffer): New function.
6948 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6949 (desktop-buffer-mode-handlers):
6950 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6951 handler.
6952 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6953 `desktop-save-buffer' function.
6954
91aafa16
MA
69552013-05-24 Michael Albinus <michael.albinus@gmx.de>
6956
6957 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6958 (tramp-gvfs-file-name-handler): Raise a user error when
6959 `tramp-gvfs-enabled' is nil.
6960 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6961 Do not raise a user error when loading package. (Bug#14447)
6962
ec076379
MA
6963 * net/xesam.el: Move to obsolete/.
6964
db785726
GM
69652013-05-24 Glenn Morris <rgm@gnu.org>
6966
af5c7606
GM
6967 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6968
e5d1916a
GM
6969 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6970
ded62b08
GM
6971 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6972 (Info-find-node, Man-getpage-in-background): Declare.
6973
9e614a3f
GM
6974 * mail/unrmail.el (unrmail):
6975 Replace obsolete detect-coding-with-priority.
6976
892f8ca3
GM
6977 * net/socks.el (socks-split-string): Use this rather than split-string.
6978 (socks-nslookup-host): Update for above change.
6979 (dynamic-choice, s5-dynamic-choice-match)
6980 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6981 Comment out unused code.
6982
3c291973
GM
6983 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6984 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6985 (gud-tooltip-echo-area): Make obsolete.
6986 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6987
43cc956b
GM
6988 * progmodes/js.el (js--optimize-arglist): Declare.
6989
dab49a3b
GM
6990 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6991
36b9d085
GM
6992 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6993 (ediff-window-C): Declare.
6994
e354ae76
GM
6995 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6996 Tweak requires to silence compiler.
6997
b8e57bf4
GM
6998 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6999 (he-search-string, he-tried-table, he-expand-list)
7000 (he-init-string, he-string-member, he-substitute-string)
7001 (he-reset-string): Declare.
7002
db785726
GM
7003 * obsolete/options.el (list-options): Use custom-variable-p,
7004 rather than obsolete alias.
7005
b3531901
SS
70062013-05-23 Sam Steingold <sds@gnu.org>
7007
7008 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7009 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7010 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7011
bdda4c66
SM
70122013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * emacs-lisp/smie.el (smie-indent-forward-token)
7015 (smie-indent-backward-token): Handle string tokens (bug#14381).
7016
c43d45f9
TH
70172013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7018
fe1eb856
RS
7019 * ielm.el (ielm-menu): New menu.
7020 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7021
fe1eb856
RS
70222013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7023
7024 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7025 Fix deactivate action.
7026
7027 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7028 Add cleveref macros.
074dd971 7029
c43d45f9
TH
7030 * lisp/textmodes/reftex-parse.el
7031 (reftex-locate-bibliography-files): Accept options for
7032 bibliography commands.
7033 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7034 Add addbibresource. Basic Biblatex support.
7035
7764286e
MA
70362013-05-23 Michael Albinus <michael.albinus@gmx.de>
7037
7038 * net/tramp-gvfs.el (top):
7039 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7040 when loading package. (Bug#14447)
7041
d361bc10
GM
70422013-05-23 Glenn Morris <rgm@gnu.org>
7043
8fa23984
GM
7044 * progmodes/js.el: No need to load comint when compiling.
7045 (ring-insert, comint-send-string, comint-send-input)
7046 (comint-last-input-end, ido-chop): Declare.
7047
a5c7df1a
GM
7048 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7049 * vc/ediff-mult.el: Adjust requires.
7050 (ediff-directories-internal, ediff-directory-revisions-internal)
7051 (ediff-patch-file-internal): Declare.
7052 * vc/ediff-ptch.el: Adjust requires.
7053 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7054 (ediff-find-file): Autoload.
7055 * vc/ediff-util.el: No need to load ediff when compiling.
7056 (ediff-regions-internal): Declare.
7057 * vc/ediff-wind.el: Adjust requires.
7058 (ediff-compute-toolbar-width): Define when compiling.
7059 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7060 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7061 (dired-get-filename, dired-get-marked-files)
7062 (ediff-last-dir-patch, ediff-patch-default-directory)
7063 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7064 (ediff-patch-buffer-internal): Declare.
7065
e2aec513
GM
7066 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7067 (ispell-process, ispell-buffer-local-words, lm-summary)
7068 (lm-section-start, lm-section-end): Declare.
7069 (checkdoc-ispell-init): Simplify.
7070
e68bbd7c
GM
7071 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7072 (he-string-member, he-reset-string, he-substitute-string): Declare.
7073
7efe0991
GM
7074 * eshell/em-ls.el: Adjust requires.
7075 (eshell-glob-regexp): Declare.
f87b1284
GM
7076 * eshell/em-tramp.el: Adjust requires.
7077 (eshell-parse-command): Autoload.
7078 * eshell/em-xtra.el: Adjust requires.
7079 (eshell-parse-command): Autoload.
7080 * eshell/esh-ext.el: Adjust requires.
7081 (eshell-parse-command, eshell-close-handles): Autoload.
7082 * eshell/esh-io.el: Adjust requires.
7083 (eshell-output-filter): Autoload.
7084 * eshell/esh-util.el: No need to load tramp when compiling.
7085 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7086 Declare.
7087 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7088 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7089 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7090 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7091 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7092 * eshell/esh-opt.el, eshell/esh-proc.el:
7093 * eshell/esh-var.el: Adjust requires.
7094 * eshell/eshell.el: Do not require esh-util twice.
7095 (eshell-add-input-to-history): Declare.
7096 (eshell-command): Check history module is active before using it.
7097
d361bc10
GM
7098 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7099
85d090a9
LL
71002013-05-22 Leo Liu <sdl.web@gmail.com>
7101
7102 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7103
5d0acd9d
MA
71042013-05-22 Michael Albinus <michael.albinus@gmx.de>
7105
7106 * autorevert.el (auto-revert-notify-add-watch)
7107 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7108 it indicates changes in file modification time.
7109
0cdffd7d
GM
71102013-05-22 Glenn Morris <rgm@gnu.org>
7111
ca5995ec
GM
7112 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7113 Always delete the autoloaded function from the noruntime and
7114 unresolved functions lists.
7115
6450907e
GM
7116 * allout.el: No need to load epa, epg, overlay when compiling.
7117 (epg-context-set-passphrase-callback, epg-list-keys)
7118 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7119 (epg-key-user-id-list): Declare.
7120
9c6906f6
GM
7121 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7122 (viper-set-parsing-style-toggling-macro)
7123 (viper-set-emacs-state-searchstyle-macros):
7124 Use called-interactively-p on Emacs.
7125 (viper-looking-back): Make it an obsolete alias. Update callers.
7126 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7127 Use looking-back rather than viper-looking-back.
7128 (viper-tmp-insert-at-eob, viper-enlarge-region)
7129 (viper-read-string-with-history, viper-register-to-point)
7130 (viper-append-to-register, viper-change-state-to-vi)
7131 (viper-backward-char-carefully, viper-forward-char-carefully)
7132 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7133 (viper-change-state-to-emacs): Declare.
7134 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7135 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7136 * emulation/viper-mous.el: Do not load viper-cmd.
7137 (viper-backward-char-carefully, viper-forward-char-carefully)
7138 (viper-forward-word, viper-adjust-window): Declare.
7139
5f70c169
GM
7140 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7141
b1b7f300
GM
7142 * progmodes/idlw-help.el (idlwave-help-fontify):
7143 Use called-interactively-p.
7144
f6ebbb46
GM
7145 * term/w32console.el (w32-get-console-codepage)
7146 (w32-get-console-output-codepage): Declare.
7147
0cdffd7d
GM
7148 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7149 Remove unnecessary declarations.
7150 (dframe-message): Doc fix.
7151
7152 * info.el (dframe-select-attached-frame, dframe-current-frame):
7153 Declare.
7154
7155 * speedbar.el (speedbar-message): Make it an obsolete alias.
7156 Update all callers.
7157 (speedbar-with-attached-buffer)
7158 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7159 (speedbar-with-writable): Use backquote.
7160 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7161 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7162 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7163 rather than speedbar- aliases.
7164 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7165 (speedbar-make-specialized-keymap, speedbar-insert-button)
7166 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7167 (speedbar-do-function-pointer): Declare.
7168 (rmail-speedbar-button, rmail-speedbar-find-file)
7169 (rmail-speedbar-move-message):
7170 Use dframe-with-attached-buffer rather than speedbar- alias.
7171 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7172 (dframe-message, speedbar-make-specialized-keymap)
7173 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7174 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7175 (speedbar-insert-button, dframe-select-attached-frame)
7176 (dframe-maybee-jump-to-attached-frame)
7177 (speedbar-change-initial-expansion-list)
7178 (speedbar-previously-used-expansion-list-name): Declare.
7179 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7180 Use dframe-message, dframe-with-attached-buffer rather than
7181 speedbar- aliases.
7182 (gud-sentinel): Silence compiler.
7183 * progmodes/vhdl-mode.el (speedbar-refresh)
7184 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7185 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7186 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7187 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7188 (speedbar-file-lists, speedbar-make-tag-line)
7189 (speedbar-line-directory, speedbar-goto-this-file)
7190 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7191 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7192 (speedbar-make-button, speedbar-reset-scanners)
7193 (speedbar-files-item-info, speedbar-line-text)
7194 (speedbar-find-file-in-frame, speedbar-set-timer)
7195 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7196 (speedbar-with-writable): Do not (re)define it.
7197 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7198 rather than speedbar- alias.
7199
ee44b62a
LL
72002013-05-21 Leo Liu <sdl.web@gmail.com>
7201
7202 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7203 menu items.
7204 (octave-mode): Tweak fill-nobreak-predicate.
7205 (inferior-octave-startup): Check process to avoid infinite loop.
7206 (inferior-octave): Pop to buffer first to show abornmal process
7207 exit information.
7208
640f050f
GM
72092013-05-21 Glenn Morris <rgm@gnu.org>
7210
79458038
GM
7211 * printing.el (pr-menu-bar): Define when compiling.
7212
9cc3e83f
LL
72132013-05-21 Leo Liu <sdl.web@gmail.com>
7214
7215 * progmodes/octave.el (octave-auto-fill): Remove.
7216 (octave-indent-new-comment-line): Improve.
7217 (octave-mode): Use auto fill mode through
4f405069 7218 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7219 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7220 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7221 (octave-help): Show parent directory.
7222
f440830d
GM
72232013-05-21 Glenn Morris <rgm@gnu.org>
7224
7225 * files.el (dired-unmark):
7226 * progmodes/gud.el (gdb-input): Update declarations.
7227
7228 * calculator.el (electric, ehelp): No need to load when compiling.
7229 (Electric-command-loop, electric-describe-mode): Declare.
7230
7231 * doc-view.el (doc-view-current-converter-processes): Move before use.
7232
7233 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7234 Move MODE-set-explicitly definition before use.
7235
7236 * international/mule-diag.el (mule-diag):
7237 Don't use obsolete window-system-version.
7238
7239 * mail/feedmail.el (smtpmail): No need to load when compiling.
7240 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7241
7242 * mail/mail-utils.el (rfc822): No need to load when compiling.
7243 (rfc822-addresses): Autoload it.
7244 (mail-strip-quoted-names): Trivial simplification.
7245
7246 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7247 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7248
7249 * net/snmp-mode.el (tempo): Don't duplicate requires.
7250
7251 * progmodes/prolog.el (info): No need to load when compiling.
7252 (comint): Require before shell requires it.
7253 (Info-goto-node): Autoload it.
7254 (Info-follow-nearest-node): Declare.
7255 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7256
7257 * textmodes/artist.el (picture-mode-exit): Declare.
7258
7259 * textmodes/reftex-parse.el (reftex-parse-from-file):
7260 Trivial rewrite so the compiler can parse it better.
7261
b4da2cbb
LL
72622013-05-20 Leo Liu <sdl.web@gmail.com>
7263
7264 * progmodes/octave.el (octave-help-mode-map)
7265 (octave-help-mode-finish-hook): New variables.
7266 (octave-help-mode, octave-help-mode-finish): New functions.
7267 (octave-help): Use octave-help-mode.
7268
33c0f65b
GM
72692013-05-20 Glenn Morris <rgm@gnu.org>
7270
7271 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7272
1a0a0a8a
DG
72732013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7274
7275 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7276 start at point, so that expansion starting right after opening
7277 slash in a regexp is recognized.
7278 (ruby-syntax-before-regexp-re): New defvar, extracted from
7279 ruby-syntax-propertize-function. Since the value of this regexp
7280 is looked up at runtime now, we should be able to turn
7281 `ruby-syntax-methods-before-regexp' into a defcustom later.
7282 (ruby-syntax-propertize-function): Split regexp matching into two
7283 parts, for opening and closing slashes. That allows us to skip
7284 over string interpolations and support multiline regexps.
7285 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7286 for them, which calls `ruby-syntax-propertize-expansion'.
7287 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7288 call to `ruby-syntax-propertize-function'.
7289 (ruby-syntax-propertize-expansion): Extracted from
7290 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7291 (ruby-syntax-propertize-percent-literal): Leave point right after
7292 the percent symbol, so that the expression expansion rule can
7293 propertize the contents.
462388b6
DG
7294 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7295 heredoc openers.
7296 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7297
c1a6c0a4
JL
72982013-05-18 Juri Linkov <juri@jurta.org>
7299
7300 * man.el (Man-default-man-entry): Remove `-' from the end
7301 of the default value. (Bug#14400)
7302
8051fccd
GM
73032013-05-18 Glenn Morris <rgm@gnu.org>
7304
7305 * comint.el (comint-password-prompt-regexp):
7306 Allow "password for XXX" where XXX contains colons (eg https://...).
7307
5e80b74f
LL
73082013-05-18 Leo Liu <sdl.web@gmail.com>
7309
7310 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7311 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7312 (octave-source-directories): Don't check process.
7313 (octave-source-directories, octave-find-definition): Doc fix.
7314
521a54c5
GM
73152013-05-18 Glenn Morris <rgm@gnu.org>
7316
86a94b05
GM
7317 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7318 Remove backspace/delete bindings. (Bug#14392)
7319
521a54c5
GM
7320 * cus-dep.el (custom-make-dependencies): Sort the output.
7321 (custom-versions-load-alist): Convert comment to doc.
7322
42caeb89
LL
73232013-05-17 Leo Liu <sdl.web@gmail.com>
7324
7325 * newcomment.el (comment-search-backward): Stricter in finding
7326 comment start. (Bug#14303)
7327
7328 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7329 (octave-comment-start-skip): Properly anchored.
7330
e219dd97
LL
73312013-05-17 Leo Liu <sdl.web@gmail.com>
7332
fe1eb856
RS
7333 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7334 Clean up when turned off. (Bug#14395)
e219dd97
LL
7335 (smie--highlight-matching-block-overlay): No longer buffer-local.
7336 (smie-highlight-matching-block): Adjust.
7337
dc5dcb4b
PE
73382013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7339
7340 Doc string fix for "nanoseconds" (Bug#14406).
7341 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7342 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7343
1db165f0
JB
73442013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7345
7346 * calc/calc-units.el (math-extract-units): Preserve powers
7347 of units.
7348
c7a8fcac
LL
73492013-05-17 Leo Liu <sdl.web@gmail.com>
7350
7351 * subr.el (delete-consecutive-dups): New function.
7352 * ido.el (ido-set-matches-1): Use it.
7353 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7354 * ido.el (ido-remove-consecutive-dups): Remove.
7355
f678b18a
SM
73562013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7359 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7360 regexp-opt's `words'.
7361
ebfe68e8
LL
73622013-05-16 Leo Liu <sdl.web@gmail.com>
7363
7364 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7365 (smie--highlight-matching-block-overlay)
7366 (smie--highlight-matching-block-lastpos)
7367 (smie--highlight-matching-block-timer): New variables.
7368 (smie-highlight-matching-block): New function.
7369 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7370 (smie-setup): Conditionally enable smie-blink-matching-open.
7371
bc8bc17d
WS
73722013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7373
7374 Sync with upstream verilog-mode r840.
7375 * progmodes/verilog-mode.el (verilog-mode-version)
7376 (verilog-mode-release-date): Update.
7377 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7378 (verilog-sig-tieoff): Fix string error on
7379 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7380 (verilog-read-decls): Fix parameters confusing
7381 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7382
df065a0b
EZ
73832013-05-16 Eli Zaretskii <eliz@gnu.org>
7384
7385 * subr.el (reveal-filename): New function.
7386
7387 * loadup.el: Compute Emacs executable versions on MS-Windows,
7388 where executables have the .exe extension. Add a hard link
7389 emacs-XX.YY.ZZ.exe on MS-Windows.
7390
7391 * Makefile.in (XARGS_LIMIT): New variable.
7392 (custom-deps, finder-data, autoloads)
7393 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7394 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7395 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7396 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7397
2d4bf34b
LL
73982013-05-16 Leo Liu <sdl.web@gmail.com>
7399
7400 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7401 (octave-mode-menu, octave-mode-map): Remove its uses.
7402
6b9c2d85
RZ
74032013-05-16 Reto Zimmermann <reto@gnu.org>
7404
7405 Sync with upstream vhdl mode v3.34.2.
7406 * progmodes/vhdl-mode.el: Use `push' throughout.
7407 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7408 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7409 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7410 (vhdl-actual-generic-name): New option to derive actual generic name.
7411 (vhdl-port-paste-signals): Replace formal by actual generics.
7412 (vhdl-beautify): New name for old group vhdl-align. Update users.
7413 (vhdl-beautify-options): New option.
7414 (vhdl-last-input-event): New compat alias. Use throughout.
7415 (vhdl-goto-line): Replace user level function `goto-line'.
7416 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7417 vhdl-fix-statement-buffer.
7418 (vhdl-create-mode-menu): Add some entries.
7419 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7420 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7421 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7422 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7423 to force statements on one line.
7424 (vhdl-remove-trailing-spaces-region):
7425 New, split from vhdl-remove-trailing-spaces.
7426 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7427 Respect vhdl-beautify-options.
7428 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7429 (vhdl-update-sensitivity-list): Not add with index if exists without.
7430 Not include array index with signal. Ignore keywords in comments.
7431 (vhdl-get-visible-signals): Regexp tweaks.
7432 (vhdl-template-component-inst): Handle empty library.
7433 (vhdl-template-type): Add template for 'enum' type.
7434 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7435 Use vhdl-replace-string.
7436 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7437 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7438 (vhdl-speedbar-initialize): Update for above name change.
7439 (vhdl-compose-wire-components): Fix in handling of constants.
7440 (vhdl-error-regexp-emacs-alist): New variable.
7441 (vhdl-error-regexp-add-emacs): New function;
7442 adds support for new compile.el (Emacs 22+)
7443 (vhdl-generate-makefile-1): Change target order for single lib. units.
7444 Allow use of absolute file names.
7445
9df4ec5e
LL
74462013-05-16 Leo Liu <sdl.web@gmail.com>
7447
7448 * simple.el (prog-indent-sexp): Indent enclosing defun.
7449
f5ba00a6
GM
74502013-05-15 Glenn Morris <rgm@gnu.org>
7451
ed8be7ff
GM
7452 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7453 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7454 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7455 (whitespace-highlight): Move to whitespace group.
7456
7457 * comint.el (comint-source):
7458 * pcmpl-linux.el (pcmpl-linux):
7459 * shell.el (shell-faces):
7460 * eshell/esh-opt.el (eshell-opt):
7461 * international/ccl.el (ccl): Remove empty custom groups.
7462
7463 * completion.el (dynamic-completion-mode):
7464 * jit-lock.el (jit-lock-debug-mode):
7465 * minibuffer.el (completion-in-region-mode):
7466 * type-break.el (type-break-mode-line-message-mode)
7467 (type-break-query-mode):
7468 * emulation/tpu-edt.el (tpu-edt-mode):
7469 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7470 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7471 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7472
7473 * term/xterm.el (xterm): Change parent group to terminals.
7474
7475 * master.el (master): Remove empty custom group.
7476 (master-mode): Remove unused :group argument.
7477 * textmodes/refill.el (refill): Remove empty custom group.
7478 (refill-mode): Remove unused :group argument.
7479
7480 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7481
82a7c41b
GM
7482 * cus-dep.el: Provide a feature.
7483 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7484 Don't mistakenly ignore files whose basenames match a basename
7485 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7486 Add a fallback method for getting :group.
f5ba00a6 7487
6d65486d
JL
74882013-05-15 Juri Linkov <juri@jurta.org>
7489
da547b32
JL
7490 * isearch.el (isearch-char-by-name): Rename from
7491 `isearch-insert-char-by-name'. Doc fix.
7492 (isearch-forward): Mention `isearch-char-by-name' in
7493 the docstring. (Bug#13348)
7494
6d65486d
JL
7495 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7496 `exit-minibuffer' instead of
7497 `isearch-nonincremental-exit-minibuffer'.
7498 (isearch-edit-string): Remove mention of
7499 `isearch-nonincremental-exit-minibuffer' from docstring.
7500 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7501 (isearch-forward-exit-minibuffer)
7502 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7503
c9990474
SM
75042013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7505
6e911150
SM
7506 * loadup.el: Just use unversioned DOC.
7507
c9990474
SM
7508 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7509 literals as extending to EOB.
7510 (nxml-last-fontify-end): Remove unused variable.
7511 (nxml-after-change1): Use with-silent-modifications.
7512 (nxml-extend-after-change-region): Simplify.
7513 (nxml-extend-after-change-region1): Remove function.
7514 (nxml-after-change1): Don't adjust for dependent regions.
7515 (nxml-fontify-matcher): Simplify.
7516 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7517 (xmltok-add-dependent): Remove function.
7518 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7519 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7520 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7521 unclosed <[[, <?, comment, and other literals as extending to EOB.
7522 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7523 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7524 Remove functions.
7525 (rng-do-some-validation-1): Don't mark dependent regions.
7526 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7527 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7528 (nxml-clear-dependent-regions): Remove functions.
7529 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7530 (nxml-ensure-scan-up-to-date):
7531 Don't clear&mark dependent regions.
7532
e3772e98
LL
75332013-05-15 Leo Liu <sdl.web@gmail.com>
7534
c9990474
SM
7535 * progmodes/octave.el (octave-goto-function-definition):
7536 Improve and fix callers.
e3772e98 7537
5ac2eb34
SM
75382013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7539
c46c57b0
SM
7540 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7541 the setter (bug#14387).
7542
5ac2eb34
SM
7543 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7544 surrounding group (bug#14402).
7545
180ed218
JL
75462013-05-14 Juri Linkov <juri@jurta.org>
7547
7548 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7549 (Bug#14390)
7550
0ac0fecb
GM
75512013-05-14 Glenn Morris <rgm@gnu.org>
7552
7553 * progmodes/f90.el (f90-imenu-generic-expression):
7554 Fix typo in 2013-05-08 change. (Bug#14402)
7555
2e78e6a7
JPG
75562013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7557
5ac2eb34
SM
7558 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7559 Remove signals for which replies are never received.
2e78e6a7 7560
53267cca
JPG
75612013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7562
7563 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7564 (gdb-handler-alist, gdb-handler-number): Remove variables.
7565 (gdb-handler-list): New variable.
7566 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7567 (gdb-pending-handler-p, gdb-handle-reply)
7568 (gdb-remove-all-pending-triggers): New functions.
7569 (gdb-discard-unordered-replies): New defcustom.
7570 (gdb-handler): New defstruct.
7571 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7572 instead of gdb-pending-triggers. Update docstring.
7573 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7574 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7575 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7576 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7577 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7578 (gdb-frame-handler): Pending triggers are now automatically managed.
7579 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7580 Remove argument.
7581 (gdb-input): Automatically handles pending triggers. Update docstring.
7582 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7583 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7584 Update comments.
7585 (gdb-done-or-error): Now use gdb-handle-reply.
7586
d04ce803
JPG
75872013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7588
7589 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7590 gdb-debug-log.
7591
0114073a
GM
75922013-05-14 Glenn Morris <rgm@gnu.org>
7593
7594 * subr.el (user-emacs-directory-warning): New option.
7595 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7596
4d25fd7e
LL
75972013-05-14 Leo Liu <sdl.web@gmail.com>
7598
7599 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7600 during redisplay.
7601 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7602 (octave-font-lock-texinfo-comment): Fix invalid search bound
7603 error: wrong side of point.
4d25fd7e 7604
27c8b6eb
GM
76052013-05-14 Glenn Morris <rgm@gnu.org>
7606
61aaeb01
GM
7607 * progmodes/flymake.el (flymake-xml-program): New option.
7608 (flymake-xml-init): Use it.
7609
5bf90bc5
GM
7610 * term/xterm.el: Provide a feature.
7611
7612 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7613
f4c7dfd2
GM
76142013-05-13 Glenn Morris <rgm@gnu.org>
7615
7616 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7617 Add compat aliases as a hack workaround. (Bug#14384)
7618
2aeb3a1d
LL
76192013-05-13 Leo Liu <sdl.web@gmail.com>
7620
b0e069c2
LL
7621 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7622 ###, and %!.
f5a9432f
LL
7623 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7624 C-M-q.
b0e069c2
LL
7625 (octave-comment-start-skip): Include %!.
7626 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7627
30ea8374
LL
76282013-05-12 Leo Liu <sdl.web@gmail.com>
7629
7630 * progmodes/octave.el (inferior-octave-startup): Store the value
7631 of __octave_srcdir__ for octave-source-directories.
7632 (inferior-octave-check-process): New function refactored out of
7633 inferior-octave-send-list-and-digest.
7634 (octave-source-directories)
7635 (octave-find-definition-filename-function): New variables.
7636 (octave-source-directories)
7637 (octave-find-definition-default-filename): New functions.
7638 (octave-find-definition): Improve to find functions implemented in C++.
7639
472a3834
GM
76402013-05-12 Glenn Morris <rgm@gnu.org>
7641
7642 * calendar/diary-lib.el (diary-outlook-format-1):
7643 Don't include dayname in the output. (Bug#14349)
7644
3191b52f
GM
76452013-05-11 Glenn Morris <rgm@gnu.org>
7646
0060ac73
GM
7647 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7648
3191b52f
GM
7649 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7650 Treat cc-provide like provide.
7651
e065ba74
KR
76522013-05-11 Kevin Ryde <user42@zip.com.au>
7653
7654 * cus-dep.el (custom-make-dependencies):
7655 Use generated-autoload-load-name for the sake of files such
7656 such cedet/semantic/bovine/c.el, where the base file name
7657 is not in load-path. (Bug#5277)
7658
36f84c37
GM
76592013-05-11 Glenn Morris <rgm@gnu.org>
7660
7661 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7662 Provide features.
7663
c8730c3a
LL
76642013-05-11 Leo Liu <sdl.web@gmail.com>
7665
7666 * progmodes/octave.el (octave-indent-comment): Improve.
7667 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7668 (octave-eldoc-function-signatures, octave-eldoc-function):
7669 New functions.
c8730c3a
LL
7670 (octave-mode, inferior-octave-mode): Add eldoc support.
7671
212e29f2
RS
76722013-05-11 Richard Stallman <rms@gnu.org>
7673
7674 * epa.el (epa-decrypt-file): Take output file name as argument
7675 and read it using `interactive'.
7676
083fe0d7
LL
76772013-05-11 Leo Liu <sdl.web@gmail.com>
7678
7679 * progmodes/octave.el (octave-beginning-of-line)
7680 (octave-end-of-line): Check before using up-list because it jumps
7681 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7682 (octave-indent-comment): New function.
7683 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7684 (octave-begin-keywords, octave-end-keywords)
7685 (octave-reserved-words, octave-smie-bnf-table)
7686 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7687
8582e4c4
GM
76882013-05-11 Glenn Morris <rgm@gnu.org>
7689
f20def1f
GM
7690 * faces.el (internal-face-x-get-resource):
7691 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7692 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7693 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7694 Fix declarations.
f20def1f 7695
445f95e2
GM
7696 * calc/calc-menu.el: Make it loadable in isolation.
7697
7698 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7699 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7700 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7701 (eudc-bbdb-query-internal): Require 'bbdb.
7702
99fb2756
GM
7703 * lpr.el (lpr-headers-switches):
7704 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7705
7706 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7707
0da7ad96
GM
7708 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7709
8582e4c4
GM
7710 * term.el (term-set-escape-char): Make it idempotent.
7711
f71c50d0
LL
77122013-05-10 Leo Liu <sdl.web@gmail.com>
7713
5ac2eb34
SM
7714 * progmodes/octave.el (inferior-octave-completion-table):
7715 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7716 completion due to bug#11906.
7717 (octave-beginning-of-defun): Re-write to be more general.
7718
d5837773
GM
77192013-05-10 Glenn Morris <rgm@gnu.org>
7720
7721 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7722
027c0f75
SM
77232013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * comint.el (comint-redirect-send-command-to-process): Use :around
7726 rather than :override for comint-redirect-filter.
7727 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7728 Call it instead of comint-redirect-original-filter-function (which
7729 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7730
4465bfb4
JD
77312013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7732
7733 * frame.el (display-monitor-attributes-list): Add NS case.
7734 (ns-display-monitor-attributes-list): Declare.
7735
2d809ffa 77362013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7737
7738 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7739
e54eeb9b
GM
77402013-05-09 Glenn Morris <rgm@gnu.org>
7741
56cd351d
GM
7742 * international/fontset.el (vertical-centering-font-regexp):
7743 Set standard-value.
7744
d84b6108
GM
7745 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7746
a931698a
GM
7747 * bookmark.el (bookmark-search-delay):
7748 * cus-start.el (vertical-centering-font-regexp):
7749 * ps-mule.el (ps-mule-font-info-database-default):
7750 * ps-print.el (ps-default-fg, ps-default-bg):
7751 * type-break.el (type-break-good-break-interval):
7752 * whitespace.el (whitespace-indentation-regexp)
7753 (whitespace-space-after-tab-regexp):
7754 * emacs-lisp/testcover.el (testcover-1value-functions)
7755 (testcover-noreturn-functions, testcover-progn-functions)
7756 (testcover-prog1-functions):
7757 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7758 * eshell/em-glob.el (eshell-glob-translate-alist):
7759 * play/tetris.el (tetris-tty-colors):
7760 * progmodes/cpp.el (cpp-face-default-list):
7761 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7762 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7763 (idlwave-help-browser-generic-args):
7764 * progmodes/make-mode.el (makefile-special-targets-list):
7765 * progmodes/python.el (python-shell-virtualenv-path):
7766 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7767 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7768 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7769 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7770 * textmodes/reftex-vars.el (reftex-format-label-function):
7771 * textmodes/remember.el (remember-diary-file): Fix custom types.
7772
e54eeb9b
GM
7773 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7774 Add :version.
7775
455851dd
LL
77762013-05-09 Leo Liu <sdl.web@gmail.com>
7777
7778 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7779 Restore file completion. (Bug#14300)
455851dd
LL
7780 (inferior-octave-startup): Fix incorrect highlighting for the
7781 first prompt.
7782
a9e4425b
SM
77832013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * progmodes/ruby-mode.el: First cut at SMIE support.
7786 (ruby-use-smie): New var.
7787 (ruby-smie-grammar): New constant.
7788 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7789 (ruby-smie--forward-token, ruby-smie--backward-token)
7790 (ruby-smie-rules): New functions.
7791 (ruby-mode-variables): Setup SMIE if applicable.
7792
060ca408
EZ
77932013-05-08 Eli Zaretskii <eliz@gnu.org>
7794
7795 * simple.el (line-move-visual): Signal beginning/end of buffer
7796 only if vertical-motion moved less than it was requested. Avoids
7797 silly incorrect error messages when there are display strings with
7798 multiple newlines at EOL.
7799
1d5963cc
SM
78002013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7803 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7804 (prolog-char-quote-workaround):
7805 * progmodes/cperl-mode.el (cperl-under-as-char):
7806 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7807 Mark as obsolete.
7808 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7809 their declaration.
7810 (vhdl-mode-syntax-table-init): Remove.
7811
c9990474
SM
7812 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7813 last change.
1d5963cc
SM
7814
7815 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7816 syntax for "_".
7817 (ld-script-font-lock-keywords):
7818 Change regexps to use things like \_< and \_>.
7819
7820 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7821 Change all regexps to use things like \_< and \_>.
7822
7823 * progmodes/autoconf.el (autoconf-definition-regexp)
7824 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7825 Handle a _ with symbol syntax.
7826 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7827
c9990474
SM
7828 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7829 Consolidate declaration.
1d5963cc
SM
7830 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7831 the declaration.
7832 (ada-create-syntax-table): Remove.
7833 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7834 already has the right syntax nowadays.
7835 (ada-goto-next-word): Don't change the syntax of "_".
7836
7837 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7838 with-wrapper-hook.
7839
72d3cfca
SS
78402013-05-08 Sam Steingold <sds@gnu.org>
7841
7842 * thingatpt.el (thing-at-point): Accept optional second argument
7843 NO-PROPERTIES to strip the text properties from the return value.
7844 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7845 to `thing-at-point' instead of stripping the properties ourselves.
7846 Also, when `thing-at-point' fails to find a url, prepend "http://"
7847 to the filename at point on the assumption that the user is
7848 pointing at something like gnu.org/gnu.
7849
5cb15713
JB
78502013-05-08 Juanma Barranquero <lekktu@gmail.com>
7851
7852 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7853 * faces.el (crm-separator):
7854 Silence byte-compiler.
7855
7856 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7857 (tool-bar-map): Remove unneeded defvars.
7858
ea78b95b
LL
78592013-05-08 Leo Liu <sdl.web@gmail.com>
7860
7861 Re-work a fix for bug#10994 based on Le Wang's patch.
7862 * ido.el (ido-remove-consecutive-dups): New helper.
7863 (ido-completing-read): Use it.
7864 (ido-chop): Revert fix for bug#10994.
7865
dc7466df
AS
78662013-05-08 Adam Spiers <emacs@adamspiers.org>
7867
7868 * cus-edit.el (custom-save-variables):
7869 Pretty-print long values. (Bug#14187)
7870
9ecf672a
GM
78712013-05-08 Glenn Morris <rgm@gnu.org>
7872
7873 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7874 (m4-mode-syntax-table): Init in the defvar.
7875 (m4-mode-abbrev-table): Let define-derived-mode define it.
7876
3f555be8
TT
78772013-05-08 Tom Tromey <tromey@redhat.com>
7878
7879 * progmodes/m4-mode.el (m4-mode-syntax-table):
7880 Do not treat "_" as word constituent. (Bug#14167)
7881
7cc8ae06
GM
78822013-05-07 Glenn Morris <rgm@gnu.org>
7883
4f58bc06
GM
7884 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7885 Remove explicit eshell-isearch-cancel-map.
7886
7cc8ae06
GM
7887 * progmodes/f90.el (f90-smart-end-names): New option.
7888 (f90-smart-end): Doc fix.
7889 (f90-end-block-optional-name): New constant.
7890 (f90-block-match): Respect f90-smart-end-names.
7891
ceb57e59
SM
78922013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7895 about implicit semi-colons (bug#14218).
7896
4e3f9230
YM
78972013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7898
7899 * frame.el (display-monitor-attributes-list)
7900 (frame-monitor-attributes): New functions.
7901
203a5572
LL
79022013-05-06 Leo Liu <sdl.web@gmail.com>
7903
7904 * progmodes/octave.el (octave-syntax-propertize-function): Change
7905 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7906 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7907 (octave-completion-at-point): Rename from
203a5572
LL
7908 octave-completion-at-point-function.
7909 (inferior-octave-directory-tracker): Robustify.
7910 (octave-text-functions): Remove and fix its uses. No such things
7911 any more.
7912
ee6cff99
SM
79132013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * emacs-lisp/trace.el (trace--display-buffer): New function.
7916 (trace-make-advice): Use it.
7917
32985194
JL
79182013-05-06 Juri Linkov <juri@jurta.org>
7919
7920 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7921 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7922 Doc fix.
7923 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7924 in the help string. (Bug#12985)
7925
a1c700de
KD
79262013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7927
7928 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7929
c67c0839
SM
79302013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7931
323885fd
SM
7932 * progmodes/perl-mode.el: Add support for here documents.
7933 (perl-syntax-propertize-function): Match here-doc markers.
7934 (perl-syntax-propertize-special-constructs): Find their end.
7935 (perl-imenu-generic-expression): Use [:alnum:].
7936
c67c0839
SM
7937 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7938 (advice--add-function): Refresh the advice if already present
7939 (bug#14317).
7940
d491e7a8
IA
79412013-05-06 Ivan Andrus <darthandrus@gmail.com>
7942
7943 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7944
ddf9925e
GM
79452013-05-06 Glenn Morris <rgm@gnu.org>
7946
7cc3af27
GM
7947 * w32-fns.el (w32-charset-info-alist): Declare.
7948
16e343d6
GM
7949 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7950 of its defcustom properties.
7951 (eshell-cmpl-initialize): No need to load pcomplete.
7952
7d889a47
GM
7953 * generic-x.el: No need to require comint when compiling.
7954
ddf9925e
GM
7955 * net/eudc-export.el: Make it loadable without bbdb.
7956 (top-level): Use require rather than load-library.
7957 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7958 (eudc-batch-export-records-to-bbdb)
7959 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7960 Require bbdb.
7961
1e2c18df
SM
79622013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7965 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7966 some tweaks, instead.
7967
02502a5f
LL
79682013-05-05 Leo Liu <sdl.web@gmail.com>
7969
7970 * progmodes/octave.el (octave-font-lock-keywords)
7971 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7972 (inferior-octave-send-list-and-digest): Improve error message.
7973 (octave-mode, inferior-octave-mode): Use setq-local.
7974 (octave-help): Set info-lookup-mode.
7975
0dc04f42
RS
79762013-05-05 Richard Stallman <rms@gnu.org>
7977
6c54491c
RS
7978 * vc/compare-w.el (compare-windows-whitespace):
7979 Treat no-break space as whitespace.
7980
0dc04f42
RS
7981 * mail/rmailsum.el (rmail-summary-rmail-update):
7982 Detect empty summary and don't change selected message.
7983 (rmail-summary-goto-msg): Likewise.
7984
df8f35df
RS
7985 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7986 Doc fixes, rename args.
7987
5356e1a3
AM
79882013-05-05 Alan Mackenzie <acm@muc.de>
7989
7990 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7991
d44014cb
JL
79922013-05-05 Juri Linkov <juri@jurta.org>
7993
7994 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7995 to not add the length of the summary segment to the return value.
7996 (Bug#14125)
7997
c129b51f
LL
79982013-05-05 Leo Liu <sdl.web@gmail.com>
7999
8000 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8001 (inferior-octave-output-filter): Remove.
8002 (octave-send-region, inferior-octave-startup): Fix callers.
8003 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8004 (octave-binary-file-extensions): New user variable.
8005 (octave-find-definition): Confirm if opening binary files.
8006 (octave-help-file): Use octave-find-definition to get the binary
8007 confirmation.
8008 (octave-help): Adjust for octave-help-file change.
8009
aa7dab97
SM
80102013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8013 Merge the two entries that handle function definitions.
8014 (pascal--syntax-propertize): New const.
8015 (pascal-mode): Use it. Use setq-local.
8016
fd3a9a6b
GM
80172013-05-04 Glenn Morris <rgm@gnu.org>
8018
8019 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8020 (diary-from-outlook): Respect diary-from-outlook-function.
8021
30c7e542
SM
80222013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8025 Move the declaration from C.
8026 (read-minibuffer, eval-minibuffer): Move from C.
8027 (completion-setup-function): Avoid minibuffer-completion-contents.
8028
b54f978b
LL
80292013-05-03 Leo Liu <sdl.web@gmail.com>
8030
8031 * progmodes/octave.el (octave-font-lock-keywords): Do not
8032 dehighlight 'end' in comments or strings.
30c7e542
SM
8033 (octave-completing-read, octave-goto-function-definition):
8034 New helpers.
d4d0f9b3
LL
8035 (octave-help-buffer): New user variable.
8036 (octave-help-file, octave-help-function): New button types.
8037 (octave-help): New command and bind it to C-h ;.
8038 (octave-find-definition): New command and bind it to M-.
d74a1581 8039 (user-error): Alias to error if not defined.
b54f978b 8040
27135018
LL
80412013-05-02 Leo Liu <sdl.web@gmail.com>
8042
8043 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8044 for \. (bug#14332)
8045 (octave-font-lock-keywords): Include [ and {.
8046
0d634d3a
LL
80472013-05-02 Leo Liu <sdl.web@gmail.com>
8048
8049 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8050 (inferior-octave): Remove calling comint-mode and return the buffer.
8051 (inferior-octave-startup): Cosmetic changes.
8052
b4c8295e
LL
80532013-05-02 Leo Liu <sdl.web@gmail.com>
8054
30c7e542
SM
8055 * progmodes/octave.el (octave-syntax-propertize-function):
8056 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8057
f12ad6ec
GM
80582013-05-02 Glenn Morris <rgm@gnu.org>
8059
8060 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8061 * desktop.el (vc-dir-mode): Just autoload it here.
8062
30cac1e0
AM
80632013-05-02 Alan Mackenzie <acm@muc.de>
8064
8065 Eliminate variable c-standard-font-lock-fontify-region-function.
8066 * progmodes/cc-mode.el
8067 (c-standard-font-lock-fontify-region-function): Remove.
8068 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8069
d8ef28b1
LL
80702013-05-01 Leo Liu <sdl.web@gmail.com>
8071
2640d52e 8072 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8073 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8074 variables were removed from Octave in 2007.
d8ef28b1
LL
8075 (inferior-octave-startup): Fix uses.
8076 (comint-line-beginning-position): Remove compatibility code for
8077 emacs 21.
8078
ac63ec89
JL
80792013-05-01 Juri Linkov <juri@jurta.org>
8080
8081 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8082
9e9be37c
JL
80832013-05-01 Juri Linkov <juri@jurta.org>
8084
8085 * comint.el (comint-previous-matching-input): Don't print message
8086 "History item: %d" when `isearch-mode' is active.
8087 (comint-history-isearch-message): Print message "History item: %d"
8088 when `comint-input-ring-index' is not empty and this function is
8089 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8090
9b92c13b
LL
80912013-05-01 Leo Liu <sdl.web@gmail.com>
8092
8093 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8094 definitions. Use completion-at-point to insert keywords.
8095 (octave-abbrev-start): Remove.
8096 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8097
b12d33d7
LL
80982013-04-30 Leo Liu <sdl.web@gmail.com>
8099
8100 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8101 change.
8102
3d1c39fa
AM
81032013-04-30 Alan Mackenzie <acm@muc.de>
8104
8105 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8106 * progmodes/cc-engine.el (c-back-over-member-initializers):
8107 new function.
3d1c39fa
AM
8108 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8109 (most) member init lists.
8110
5147fc17
RS
81112013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8112
8113 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8114 variable.
8115
5b78d7fc
LL
81162013-04-30 Leo Liu <sdl.web@gmail.com>
8117
8118 * progmodes/octave.el (octave-variables): Remove. No builtin
8119 variables any more. All converted to functions.
8120 (octave-font-lock-keywords, octave-completion-at-point-function):
8121 Fix uses.
8122 (octave-font-lock-texinfo-comment): New user variable.
8123 (octave-texinfo-font-lock-keywords): New variable for texinfo
8124 comment block.
8125 (octave-function-comment-block): New face.
8126 (octave-font-lock-texinfo-comment): New function.
8127 (octave-mode): Font lock texinfo comment block.
8128
38d8527b
LL
81292013-04-29 Leo Liu <sdl.web@gmail.com>
8130
8131 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8132 indexing expression.
8133 (octave-continuation-string): Do not use \.
8134 (inferior-octave-complete-impossible): Remove.
8135 (inferior-octave-completion-table)
8136 (inferior-octave-completion-at-point): Remove its uses.
8137 (inferior-octave-startup): completion_matches was introduced to
8138 Octave in 1996 so safe to assume it.
8139 (octave-function-file-comment): Improve to follow how Octave does it.
8140 (octave-update-function-file-comment): Tweak.
8141
2ec12cb0
LL
81422013-04-29 Leo Liu <sdl.web@gmail.com>
8143
8144 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8145 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8146 (octave-function-file-comment): Fix typo.
8147 (octave-sync-function-file-names): Use read-char-choice.
8148
6eaed048
JB
81492013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8150
8151 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8152 to t for the less important warnings.
8153
3ffa2d4f
DH
81542013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8155
8156 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8157
685c9501
GM
81582013-04-27 Glenn Morris <rgm@gnu.org>
8159
8160 * vc/log-view.el (log-view-current-entry):
8161 Treat "---" separator lines as part of the following rev. (Bug#14169)
8162
0208ede7
JL
81632013-04-27 Juri Linkov <juri@jurta.org>
8164
8165 * subr.el (read-number): Doc fix about using it by interactive
8166 code letter `n'. (Bug#14254)
8167
5db9dace
JL
81682013-04-27 Juri Linkov <juri@jurta.org>
8169
8170 * desktop.el (desktop-auto-save-timeout): New option.
8171 (desktop-file-checksum): New variable.
8172 (desktop-save): Add optional arg `auto-save' and don't auto-save
8173 if nothing changed.
8174 (desktop-auto-save-timer): New variable.
8175 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8176 (after-init-hook): Call `desktop-auto-save-set-timer'.
8177 Suggested by Reuben Thomas <rrt@sc3d.org> in
8178 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8179
b7260dd4
LL
81802013-04-27 Leo Liu <sdl.web@gmail.com>
8181
8182 * progmodes/octave.el (octave-function-file-p)
8183 (octave-skip-comment-forward, octave-function-file-comment)
8184 (octave-update-function-file-comment): New functions.
8185 (octave-mode-map): Bind C-c ; to
8186 octave-update-function-file-comment.
8187 (octave-mode-menu): Add octave-update-function-file-comment.
8188 (octave-mode, inferior-octave-mode): Fix doc-string.
8189 (octave-insert-defun): Conform to Octave's coding convention.
8190 (Bug#14285)
8191
8192 * files.el (basic-save-buffer): Don't let errors in
8193 before-save-hook prevent saving buffer.
8194
c46da669
RW
81952013-04-20 Roland Winkler <winkler@gnu.org>
8196
8197 * faces.el (read-face-name): Use completing-read if arg multiple
8198 is nil.
8199
a81ee1eb
IL
82002013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8201
8202 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8203 displayed, move point to after the totals line.
8204 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8205 for the details.
8206
4fac34ce
SM
82072013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8210 Add current dir to the load-path.
8211 (package-generate-autoloads): Don't rely on
8212 autoload-ensure-default-file.
8213
f6bfc063
RT
82142013-04-26 Reuben Thomas <rrt@sc3d.org>
8215
d40ab5cf
BG
8216 * textmodes/remember.el (remember-store-in-files): Document that
8217 the file name format is passed to `format-time-string'.
f6bfc063 8218
e55d3b04
LL
82192013-04-26 Leo Liu <sdl.web@gmail.com>
8220
8221 * progmodes/octave.el (octave-sync-function-file-names): New function.
8222 (octave-mode): Use it in before-save-hook.
8223
e53052d3
SM
82242013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8225
140ef50c
SM
8226 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8227 (bug#14274).
8228
e53052d3
SM
8229 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8230 \n and comment, even if it's not an implicit ; (bug#14218).
8231
af80458d 82322013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8233
8234 * subr.el (read-number): Once more use `read' rather than
8235 `string-to-number', to trap non-numeric input. (Bug#14254)
8236
af80458d 82372013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8238
8239 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8240 Use `syntax-multiline' text property consistently instead of
8a621d53 8241 `font-lock-multiline'. (Bug#14237)
70203c2e 8242
e6ea1f6c
GM
82432013-04-26 Glenn Morris <rgm@gnu.org>
8244
8245 * emacs-lisp/shadow.el (list-load-path-shadows):
8246 No longer necessary to check for duplicate simple.el, since
8247 2012-07-07 change to init_lread to not include installation lisp
8248 directories in load-path when running uninstalled. (Bug#14270)
8249
070ccca4
LL
82502013-04-26 Leo Liu <sdl.web@gmail.com>
8251
8252 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8253 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8254 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8255 octave-in-string-or-comment-p.
8256 (octave-in-comment-p, octave-in-string-p)
8257 (octave-in-string-or-comment-p): Replace defsubst with defun.
8258
9d1c5fb6
PE
82592013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8260
8261 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8262
c034abda
BG
82632013-04-25 Bastien Guerry <bzg@gnu.org>
8264
8265 * textmodes/remember.el (remember-data-directory)
8266 (remember-directory-file-name-format): Fix custom types.
8267
584ea277
LL
82682013-04-25 Leo Liu <sdl.web@gmail.com>
8269
e53052d3
SM
8270 * progmodes/octave.el (octave-completion-at-point-function):
8271 Make use of inferior octave process.
584ea277
LL
8272 (octave-initialize-completions): Remove.
8273 (inferior-octave-completion-table): New function.
8274 (inferior-octave-completion-at-point): Use it.
8275 (octave-completion-alist): Remove.
8276
1693b06a
SM
82772013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8280 (opascal-mode-syntax-table): New var.
8281 (opascal-literal-kind, opascal-is-literal-end)
8282 (opascal-literal-token-at): Rewrite.
8283 (opascal--literal-start-re, opascal-font-lock-keywords)
8284 (opascal--syntax-propertize): New constants.
8285 (opascal-font-lock-defaults): Adjust.
8286 (opascal-mode): Use them. Set comment-<foo> variables as well.
8287 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8288 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8289 (delphi-other-face, opascal-other-face): Remove face variables.
8290 (opascal-save-state): Remove macro.
8291 (opascal-fontifying-progress-step): Remove constant.
8292 (opascal--ignore-changes): Remove var.
8293 (opascal-set-token-property, opascal-parse-next-literal)
8294 (opascal-is-stable-literal, opascal-complete-literal)
8295 (opascal-is-literal-start, opascal-face-of)
8296 (opascal-parse-region, opascal-parse-region-until-stable)
8297 (opascal-fontify-region, opascal-after-change)
8298 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8299 (opascal-debug-parse-region, opascal-debug-parse-window)
8300 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8301 (opascal-debug-fontify-buffer): Remove.
8302 (opascal-debug-mode-map): Adjust accordingly.
8303
be64c05d
LL
83042013-04-25 Leo Liu <sdl.web@gmail.com>
8305
8306 Merge octave-mod.el and octave-inf.el into octave.el with some
8307 cleanups.
8308 * progmodes/octave.el: New file renamed from octave-mod.el.
8309 * progmodes/octave-inf.el: Merged into octave.el.
8310 * progmodes/octave-mod.el: Renamed to octave.el.
8311
d79d37bd
TH
83122013-04-25 Tassilo Horn <tsdh@gnu.org>
8313
8314 * textmodes/reftex-vars.el
8315 (reftex-label-ignored-macros-and-environments): New defcustom.
8316
8317 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8318
ced3fc5d
SM
83192013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8322 (smie-indent-keyword): Improve the check to ensure that the next
8323 comment is really on the same line.
8324 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8325
8326 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8327 semi-colons if the line is not otherwise empty (bug#14218).
8328
1c141dad
GM
83292013-04-25 Glenn Morris <rgm@gnu.org>
8330
8331 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8332
5058062a
SM
83332013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * progmodes/opascal.el (opascal-set-token-property): Rename from
8336 opascal-set-text-properties and only set `token' (bug#14134).
8337 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8338 (opascal-literal-text-properties): Remove.
8339 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8340 Adjust callers.
8341
5db9dace 83422013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8343
8344 * textmodes/remember.el (remember-handler-functions): Add an
8345 option for a new handler `remember-store-in-files'.
8346 (remember-data-directory, remember-directory-file-name-format):
8347 New options.
8348 (remember-store-in-files): New function to store remember notes
8349 as separate files within a directory.
8350
4391916c
MH
83512013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8352
8353 * progmodes/compile.el (compilation-next-error-function):
8354 Pass "formats" to compilation-find-file (bug#11777).
8355
bb7cdf58
GM
83562013-04-24 Glenn Morris <rgm@gnu.org>
8357
3b8fe752 8358 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8359 * vc/vc-hg.el (vc-hg-print-log):
8360 * vc/vc-svn.el (vc-svn-print-log):
8361 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8362
bb7cdf58
GM
8363 * vc/vc-bzr.el (vc-bzr-print-log):
8364 * vc/vc-cvs.el (vc-cvs-print-log):
8365 * vc/vc-git.el (vc-git-print-log):
8366 * vc/vc-hg.el (vc-hg-print-log):
8367 * vc/vc-mtn.el (vc-mtn-print-log):
8368 * vc/vc-rcs.el (vc-rcs-print-log):
8369 * vc/vc-sccs.el (vc-sccs-print-log):
8370 * vc/vc-svn.el (vc-svn-print-log):
8371 * vc/vc.el (vc-print-log-internal): Doc fixes.
8372
b46a056e
GM
83732013-04-23 Glenn Morris <rgm@gnu.org>
8374
8375 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8376 Remove venerable code attempting to avoid substitute-command-keys.
8377
0aecf718
TH
83782013-04-23 Tassilo Horn <tsdh@gnu.org>
8379
4391916c
MH
8380 * textmodes/reftex-vars.el (reftex-label-regexps):
8381 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8382
117f94cf
SM
83832013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8384
4391916c 8385 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8386 Use lexical-binding.
8387 (jit-lock-force-redisplay): Use markers, check buffer's continued
8388 existence and beware narrowed buffers.
8389 (jit-lock-fontify-now): Adjust call accordingly.
8390
1d829c64
SM
83912013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8394 to avoid misleading the user.
8395
72d548a9
LL
83962013-04-22 Leo Liu <sdl.web@gmail.com>
8397
8398 * info-look.el: Prefer latex2e.info. (Bug#14240)
8399
d0853629
MA
84002013-04-22 Michael Albinus <michael.albinus@gmx.de>
8401
8402 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8403
8404 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8405 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8406 (tramp-set-completion-function, tramp-parse-putty):
8407 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8408 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8409 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8410 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8411 (tramp-call-local-coding-command): Use `tramp-call-process'
8412 instead of `tramp-compat-call-process'.
8413
8414 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8415 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8416 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8417 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8418 (tramp-maybe-send-script): Check for Perl binary.
8419 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8420
38cc0210
DU
84212013-04-22 Daiki Ueno <ueno@gnu.org>
8422
8423 * epg.el (epg-context-pinentry-mode): New function.
8424 (epg-context-set-pinentry-mode): New function.
8425 (epg--start): Pass --pinentry-mode option to gpg command.
8426
cc641ee1
XF
84272013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8428
02d844b5 8429 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8430 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8431 `completion-at-point'. (Bug#13774)
5d4e5c31 8432
cc641ee1
XF
8433 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8434 default key binding for `describe-distribution' has been moved to
8435 `C-h C-o'. (Bug#13970)
8436
1b42ee43
GM
84372013-04-21 Glenn Morris <rgm@gnu.org>
8438
8439 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8440 Add doc strings.
8441 (vc-print-log): Clarify interactive prompt.
8442
a6d63d97
GM
84432013-04-20 Glenn Morris <rgm@gnu.org>
8444
8445 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8446 No longer include timestamp etc information.
8447
d7f5c16f
RW
84482013-04-20 Roland Winkler <winkler@gnu.org>
8449
8450 * faces.el (read-face-name): Bug fix, return just one face if arg
8451 multiple is nil. (Bug#14209)
8452
bcd7a0a4
SM
84532013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8456 (remove-function): Autoload.
8457
8458 * comint.el (comint-redirect-original-filter-function): Remove.
8459 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8460 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8461 (vc-cvs-annotate-command):
bcd7a0a4
SM
8462 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8463 * progmodes/prolog.el (prolog-consult-compile):
8464 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8465 Use add/remove-function instead.
8466 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8467 (gud-tooltip-process-output, gud-tooltip-tips):
8468 Use add/remove-function instead.
8469 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8470 (scheme-interaction-mode, exit-scheme-interaction-mode):
8471 Use add/remove-function instead.
8472
8473 * vc/vc-dispatcher.el: Use lexical-binding.
8474 (vc--process-sentinel): Rename from vc-process-sentinel.
8475 Change last arg to be the code to run. Don't use vc-previous-sentinel
8476 and vc-sentinel-commands any more.
8477 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8478 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8479
e36b2d20 84802013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8481
bcd7a0a4 8482 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8483 Handle function names with a single character. (Bug#14111)
4d3268ba 8484
781b4af6 84852013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8486
8487 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8488 for subroutines defined in an eval (bug#14182).
8489
7d688336
TV
84902013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8491
8492 * bookmark.el (bookmark-completing-read): Improve handling of empty
8493 string (bug#14176).
8494
31dcede0
SM
84952013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8498
adc31213
FEG
84992013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8500
8501 New faster Imenu implementation (bug#14058).
8502 * progmodes/python.el:
8503 (python-imenu-prev-index-position):
8504 (python-imenu-format-item-label-function)
8505 (python-imenu-format-parent-item-label-function)
8506 (python-imenu-format-parent-item-jump-label-function):
8507 New vars.
8508 (python-imenu-format-item-label)
8509 (python-imenu-format-parent-item-label)
8510 (python-imenu-format-parent-item-jump-label)
8511 (python-imenu--put-parent, python-imenu--build-tree)
8512 (python-imenu-create-index, python-imenu-create-flat-index)
8513 (python-util-popn): New functions.
8514 (python-mode): Set imenu-create-index-function to
8515 python-imenu-create-index.
8516
cdca8255
SM
85172013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * winner.el (winner-active-region): Use region-active-p, activate-mark
8520 and deactivate-mark (bug#14225).
8521
8522 * simple.el (deactivate-mark): Don't inline it.
8523
beb42340
MA
85242013-04-18 Michael Albinus <michael.albinus@gmx.de>
8525
8526 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8527
fc7f4d7e
TH
85282013-04-18 Tassilo Horn <tsdh@gnu.org>
8529
8530 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8531 file extensions from the archive-mode entry in order to prefer
8532 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8533
29f47822
LL
85342013-04-18 Leo Liu <sdl.web@gmail.com>
8535
8536 * bindings.el (help-event-list): Add ?\?.
8537
d36ed1c8
SM
85382013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * subr.el (with-wrapper-hook): Declare obsolete.
8541 * simple.el (filter-buffer-substring-function): New hook.
8542 (filter-buffer-substring): Use it.
8543 (filter-buffer-substring-functions): Mark obsolete.
8544 * minibuffer.el (completion-in-region-function): New hook.
8545 (completion-in-region): Use it.
8546 (completion-in-region-functions): Mark obsolete.
8547 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8548 * abbrev.el (abbrev-expand-function): New hook.
8549 (expand-abbrev): Use it.
8550 (abbrev-expand-functions): Mark obsolete.
8551 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8552 and :filter-return.
8553
04754d36
FEG
85542013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8555
8556 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8557 and do not care about match data.
8558
dd8791e9
SM
85592013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8562 completion tables when completing error conditions and
8563 `declare' arguments.
8564 (lisp-complete-symbol, field-complete): Mark as obsolete.
8565 (check-parens): Unmatched parens are user errors.
8566 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8567
ffe54a13
AM
85682013-04-17 Michal Nazarewicz <mina86@mina86.com>
8569
dd8791e9
SM
8570 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8571 command changed buffer (ie. `flyspell-pre-buffer' is not current
8572 buffer), which prevents making decisions based on invalid value of
8573 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8574 cause an error when `flyspell-pre-point' was nil after switching
8575 buffers.
8576 (flyspell-post-command-hook): No longer needs to change buffers when
8577 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8578
ec7e39f2
AM
85792013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8580
8581 * textmodes/ispell.el (ispell-add-per-file-word-list):
8582 Fix `flyspell-correct-word-before-point' error when accepting
8583 words and `coment-padding' is an integer by using
8584 `comment-normalize-vars' (Bug #14214).
8585
083850a6
FEG
85862013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8587
8588 New defun movement commands.
8589 * progmodes/python.el (python-nav--syntactically)
8590 (python-nav--forward-defun, python-nav-backward-defun)
8591 (python-nav-forward-defun): New functions.
8592
619ed6e1
FEG
85932013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8594
8595 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8596 (python-syntax-context): Use named compiler-macro for backwards
8597 compatibility with Emacs 24.x.
8598
7a1beb6c
LL
85992013-04-17 Leo Liu <sdl.web@gmail.com>
8600
8601 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8602 octave-hide-process-buffer.
8603
2d3fa3e5
SM
86042013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8607 (bug#14216).
8608
7ce5be54
JPG
86092013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8610
8611 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8612 Fix adjustment of offset when receiving incomplete responses from GDB
8613 (bug#14129).
8614
351edece
SM
86152013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8618 python-mode-abbrev-table.
8619 (python-skeleton-define): Adjust accordingly.
8620 (python-mode-abbrev-table): New table that inherits from it so that
8621 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8622
8623 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8624 (abbrev-symbol): Use it.
8625 (abbrev--before-point): Use it since we already handle inheritance.
8626
613f9481
LL
86272013-04-16 Leo Liu <sdl.web@gmail.com>
8628
8629 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8630 binding to info-lookup-symbol.
8631
51646b62
JB
86322013-04-16 Juanma Barranquero <lekktu@gmail.com>
8633
8634 * minibuffer.el (completion--twq-all):
8635 * term/ns-win.el (ns-initialize-window-system):
8636 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8637
efb3f01d
SM
86382013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8639
36c0a301
SM
8640 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8641 global bindings.
8642
efb3f01d
SM
8643 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8644
fb549d64
DG
86452013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8646
8647 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8648 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8649 to nil.
8650 (ruby-end-of-defun): Remove the unused arg, change the docstring
8651 to reflect that this function is only used as the value of
8652 `end-of-defun-function'.
8653 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8654 to reflect an earlier change that beginning/end-of-defun functions
8655 jump between methods in a class definition, as well as top-level
8656 functions.
8657
21e8fe2f
SM
86582013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * minibuffer.el (minibuffer-complete): Don't just scroll
8661 a *Completions* that's been iconified.
8662 (minibuffer-force-complete): Make sure repetitions do cycle when going
8663 through completion-in-region -> minibuffer-complete.
8664
20e527d0
AM
86652013-04-15 Alan Mackenzie <acm@muc.de>
8666
8667 Correct the placement of c-cpp-delimiters when there're #s not at
8668 col 0.
8669
8670 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8671 place a submatch around the #.
21e8fe2f
SM
8672 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8673 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8674 on the #, not BOL.
8675
dabefae5
SM
86762013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8677
8678 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8679 (advice--member-p): New arg `name'.
8680 (advice--add-function, advice-member-p): Use it (bug#14202).
8681
85c9ab64
AM
86822013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8683
8684 Reformulate java imenu-generic-expression.
8685 The old expression contained ill formed regexps.
8686
8687 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8688 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8689 (cc-imenu-java-method-arg-regexp): New defconsts.
8690 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8691 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8692 handling of spaces in the regexp.
8693
0f821d99
AM
86942013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8695
8696 * textmodes/ispell.el (ispell-command-loop): Remove
8697 flyspell highlight of a word when ispell accepts it (bug #14178).
8698
eb922adf
MA
86992013-04-15 Michael Albinus <michael.albinus@gmx.de>
8700
8701 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8702 uses code from the previous `ange-ftp-run-real-handler'.
8703 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8704 only in case that function exist. This is needed for proper
8705 unloading of Tramp.
8706
4d9a0979
TH
87072013-04-15 Tassilo Horn <tsdh@gnu.org>
8708
8709 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8710
8711 * textmodes/reftex.el (reftex-compile-variables): Use it.
8712
a829b0dc
SM
87132013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8714
91e8293c
SM
8715 * files.el (normal-mode): Only use default major-mode if no other mode
8716 was specified.
8717
830aed4d
SM
8718 * emacs-lisp/trace.el (trace-values): New function.
8719
a829b0dc
SM
8720 * files.el: Allow : in local variables (bug#14089).
8721 (hack-local-variable-regexp): New var.
8722 (hack-local-variables-prop-line, hack-local-variables): Use it.
8723
7ae9f0fb
RW
87242013-04-13 Roland Winkler <winkler@gnu.org>
8725
8726 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8727 data before it gets modified by bibtex-beginning-of-entry.
8728
6646e848
RW
87292013-04-13 Roland Winkler <winkler@gnu.org>
8730
8731 * textmodes/bibtex.el (bibtex-url): Doc fix.
8732
87332013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8734
8735 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8736 does not visit a BibTeX file, exclude it from the list of buffers
8737 returned by bibtex-initialize.
8738
0aa3616e
SB
87392013-04-13 Stephen Berman <stephen.berman@gmx.net>
8740
8741 * window.el (split-window): Remove interactive form, since as a
8742 command this function is a special case of split-window-below.
8743 Correct doc string.
8744
011cddd6
RW
87452013-04-12 Roland Winkler <winkler@gnu.org>
8746
8747 * faces.el (read-face-name): Do not override value of arg default.
8748 Allow single faces and strings as default values. Remove those
8749 elements from return value that are not faces.
8750 (describe-face): Simplify.
8751 (face-at-point): New optional args thing and multiple so that this
8752 function can provide the same functionality previously provided by
8753 read-face-name.
8754 (make-face-bold, make-face-unbold, make-face-italic)
8755 (make-face-unitalic, make-face-bold-italic, invert-face)
8756 (modify-face, read-face-and-attribute): Use face-at-point.
8757
8758 * cus-edit.el (customize-face, customize-face-other-window)
8759 * cus-theme.el (custom-theme-add-face)
8760 * face-remap.el (buffer-face-set)
8761 * facemenu.el (facemenu-set-face): Use face-at-point.
8762
f24e0036
MA
87632013-04-12 Michael Albinus <michael.albinus@gmx.de>
8764
8765 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8766
da3cda2d
TH
87672013-04-10 Tassilo Horn <tsdh@gnu.org>
8768
8769 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8770 off leading { and trailing } from field values.
8771
15e54145
SM
87722013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8773
78ce603d
SM
8774 * emacs-lisp/timer.el (timer--check): New function.
8775 (timer--time, timer-set-function, timer-event-handler): Use it.
8776 (timer-set-idle-time): Simplify.
8777 (timer--activate): CSE.
8778 (timer-event-handler): Give more info in error message.
8779 (internal-timer-start-idle): New function, moved from C.
8780
15e54145
SM
8781 * mpc.el (mpc-proc): Add `restart' argument.
8782 (mpc-proc-cmd): Use it.
8783 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8784 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8785 less often.
8786
7144c627
MY
87872013-04-10 Masatake YAMATO <yamato@redhat.com>
8788
8789 * progmodes/sh-script.el: Implement `sh-mode' own
8790 `add-log-current-defun-function' (bug#14112).
8791 (sh-current-defun-name): New function.
8792 (sh-mode): Use the function.
8793
b39792eb
BG
87942013-04-09 Bastien Guerry <bzg@gnu.org>
8795
8796 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8797
8acdeb71
SM
87982013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8799
6fcdab68
SM
8800 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8801
8acdeb71
SM
8802 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8803 timer (bug#14156).
8804
e3e7b504
NF
88052013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8806
8807 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8808 declaration.
8809
201bb296
LL
88102013-04-07 Leo Liu <sdl.web@gmail.com>
8811
8812 * pcmpl-x.el: New file.
8813
ebb19708
DA
88142013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8815
8816 Do not set x-display-name until X connection is established.
8817 This is needed to prevent from weird situation described at
8818 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8819 * frame.el (make-frame): Set x-display-name after call to
8820 window system initialization function, not before.
8821 * term/x-win.el (x-initialize-window-system): Add optional
8822 display argument and use it.
8823 * term/w32-win.el (w32-initialize-window-system):
8824 * term/ns-win.el (ns-initialize-window-system):
8825 * term/pc-win.el (msdos-initialize-window-system):
8826 Add compatible optional display argument.
8827
33bb237a
EZ
88282013-04-06 Eli Zaretskii <eliz@gnu.org>
8829
8830 * files.el (normal-backup-enable-predicate): On MS-Windows and
8831 MS-DOS compare truenames of temporary-file-directory and of the
8832 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8833 don't fail comparison by compare-strings. Also, compare file
8834 names case-insensitively on MS-Windows and MS-DOS.
8835
134abf1f
SM
88362013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8839 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8840
d695cb94
DG
88412013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8842
e3e7b504
NF
8843 * whitespace.el (whitespace-color-on, whitespace-color-off):
8844 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8845
f4ad7ea1 88462013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8847
8848 * ispell.el (ispell-set-spellchecker-params):
8849 Really set `ispell-args' for all equivs.
8850
632556e4
SM
88512013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * ido.el (ido-completions): Use extra elements of ido-decorations
8854 (bug#14143).
8855 (ido-decorations): Update docstring.
8856
2a417372
MA
88572013-04-05 Michael Albinus <michael.albinus@gmx.de>
8858
8859 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8860 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8861 nil during initialization, in order not to miss changes since the
8862 file was opened. (Bug#14140)
8863
fc164b0c
LL
88642013-04-05 Leo Liu <sdl.web@gmail.com>
8865
8866 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8867
0ccecc08
JB
88682013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8869
8870 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8871
51af1aa2
GM
88722013-04-04 Glenn Morris <rgm@gnu.org>
8873
8874 * electric.el (electric-pair-inhibit-predicate): Add :version.
8875
b208ebc6
SM
88762013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8879 when a package is required several times (bug#14082).
8880
f3d3eaf0
RW
88812013-04-04 Roland Winkler <winkler@gnu.org>
8882
8883 * faces.el (read-face-name): Behave as promised by the docstring.
8884 Assume that arg default is a list of faces.
8885 (describe-face): Call read-face-name with list of default faces.
8886
2575da50
TV
88872013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8888
8889 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8890 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8891 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8892 the header.
8893 (bookmark-exit-hook-internal): Save even if list is empty.
8894
397703b4
YH
88952013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8896
8897 * emacs-lisp/package.el (package-pinned-packages): New var.
8898 (package--add-to-archive-contents): Obey it (bug#14118).
8899
691e26ae
AM
89002013-04-03 Alan Mackenzie <acm@muc.de>
8901
8a621d53
JB
8902 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8903 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8904
8905 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8906 parameter `not-in-delimiter'. Handle being inside comment opener.
8907 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8908 character in case we're typing a '*' after a '/'.
8909 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8910 instead by passing the parameter to c-state-pp-to-literal.
8911
8912 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8913 for elt. 7 of a parse state.
8914
4b725a70
PE
89152013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8916
8917 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8918 * international/latin1-disp.el, international/mule-util.el:
8919 * language/cyril-util.el, language/european.el, language/ind-util.el:
8920 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8921 * language/tibetan.el, language/viet-util.el:
8922 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8923
15c579f0
SM
89242013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8927 (electric-pair-post-self-insert-function): Use it.
8928 (electric-pair-default-inhibit): New function, extracted from
8929 electric-pair-post-self-insert-function.
8930
a77e2924
RW
89312013-03-31 Roland Winkler <winkler@gnu.org>
8932
8933 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8934
2bd8a4a8
SM
89352013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8938
8d3655be 89392013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8940
8941 Un-indent after "pass" and "return" statements (Bug#13888)
8942 * progmodes/python.el (python-indent-block-enders): New var.
8943 (python-indent-calculate-indentation): Use it.
8944
8d3655be 89452013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8946
8947 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8948 defun. Defining it as defalias could introduce too eager
8949 byte-compiler optimization. (Bug#14030)
8950
8d3655be 89512013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8952
8953 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8954
0b1619da
LL
89552013-03-30 Leo Liu <sdl.web@gmail.com>
8956
8957 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8958 (kmacro-execute-from-register): Pass the keyboard macro to
8959 kmacro-call-macro or repeating won't work correctly.
8960
0b938190
TZ
89612013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8962
8963 * progmodes/subword.el: Back to using `forward-symbol'.
8964
8965 * subr.el (forward-whitespace, forward-symbol)
8966 (forward-same-syntax): Move from thingatpt.el.
8967
35710234
LL
89682013-03-29 Leo Liu <sdl.web@gmail.com>
8969
8970 * kmacro.el (kmacro-to-register): New command.
8971 (kmacro-execute-from-register): New function.
8972 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8973
efc0bb73
SM
89742013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * mpc.el: Use defvar-local and setq-local.
8977 (mpc--proc-connect): Connection failures are not bugs.
8978 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8979 (mpc-volume-map): Bind to the up-events.
8980
75a2f981
TZ
89812013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8982
8983 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8984 instead of `forward-symbol'.
8985
17c781d1
SM
89862013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8989 (edebug--recursive-edit): Use it.
8990 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8991 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8992
f67bfbcf
LL
89932013-03-28 Leo Liu <sdl.web@gmail.com>
8994
8995 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8996
b59f639d
EZ
89972013-03-27 Eli Zaretskii <eliz@gnu.org>
8998
8999 * facemenu.el (list-colors-callback): New defvar.
9000 (list-colors-redisplay): New function.
9001 (list-colors-display): Install list-colors-redisplay as the
9002 revert-buffer-function. (Bug#14063)
9003
f557c1b1
SM
90042013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9005
b1da2957
SM
9006 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9007 and suffixes don't overlap (bug#14061).
9008
f557c1b1
SM
9009 * case-table.el: Use lexical-binding.
9010 (case-table-get-table): New function.
9011 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9012
002668e1
TZ
90132013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9014
9015 * progmodes/subword.el: Add `superword-mode' to do word motion
9016 over symbol_words (parallels and leverages `subword-mode' which
9017 does word motion inside MixedCaseWords).
9018
73572c72
AG
90192013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9020
78b8f320 9021 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9022 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9023
69b2c07e
SM
90242013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9027 Change return value to be a sexp. Delay `get-buffer' to after
9028 restoring the desktop (bug#13951).
9029
08bb5ee2
LL
90302013-03-26 Leo Liu <sdl.web@gmail.com>
9031
9032 * register.el: Move semantic tag handling back to
9033 cedet/semantic/senator.el. (Bug#14052)
9034
8d4c974e
SM
90352013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9038 into the prompt either (bug#13963).
9039
b234d92c
SM
90402013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9043 part of "(error-foo)".
9044
ddfa3cb4
JL
90452013-03-24 Juri Linkov <juri@jurta.org>
9046
9047 * replace.el (list-matching-lines-prefix-face): New defcustom.
9048 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9049 `occur-engine' if `face-differs-from-default-p' returns t.
9050 (occur-engine): Add `,' inside backquote construct to evaluate
9051 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9052 Pass `prefix-face' to the functions `occur-context-lines' and
9053 `occur-engine-add-prefix'.
9054 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9055 `prefix-face' and propertize the prefix with `prefix-face'.
9056 (Bug#14017)
9057
7b0e2f85
LL
90582013-03-24 Leo Liu <sdl.web@gmail.com>
9059
9060 * nxml/rng-valid.el (rng-validate-while-idle)
9061 (rng-validate-quick-while-idle): Guard against deleted buffer.
9062 (Bug#13999)
9063
9064 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9065 is the last entry in kill-buffer-hook.
9066
9067 * files.el (kill-buffer-hook): Doc fix.
9068
b3082f49
DG
90692013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9070
b234d92c
SM
9071 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9072 Make it safe-local.
bde73d27 9073
b3082f49
DG
9074 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9075
a320a2db
LL
90762013-03-23 Leo Liu <sdl.web@gmail.com>
9077
7e74b0fb
LL
9078 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9079 Remove.
9080
9081 * nxml/rng-valid.el (rng-validate-mode)
9082 (rng-after-change-function, rng-do-some-validation):
9083 * nxml/rng-maint.el (rng-validate-buffer):
9084 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9085 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9086 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9087 (nxml-extend-after-change-region): Use with-silent-modifications.
9088
a320a2db
LL
9089 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9090 timer-idle-list.
9091
9092 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9093 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9094 timer-idle-list. (Bug#13999)
9095
e38e6780
JL
90962013-03-23 Juri Linkov <juri@jurta.org>
9097
9098 * info.el (info-index-match): New face.
9099 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9100 main pattern and add text properties with the new face to matches
9101 in index entries relative to the beginning of the index entry.
9102 (Bug#14015)
9103
e8cc7880
DE
91042013-03-21 Eric Ludlam <zappo@gnu.org>
9105
9106 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9107 Inhibit read only while inserting objects.
9108
9bb0d822
TZ
91092013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9110
9111 * progmodes/cfengine.el: Update docs to mention
9112 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9113 symbol motion. Remove "_" from the word syntax.
9114
aa703640
TZ
91152013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9116
9117 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9118 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9119
afff09d0
JL
91202013-03-20 Juri Linkov <juri@jurta.org>
9121
9122 * info.el (Info-next-reference-or-link)
9123 (Info-prev-reference-or-link): New functions.
9124 (Info-next-reference, Info-prev-reference): Use them.
9125 (Info-try-follow-nearest-node): Handle footnote navigation.
9126 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9127
9a1ff164
SM
91282013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9131 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9132
2667d15d
PE
91332013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9134
9135 Suppress unnecessary non-ASCII chatter during build process.
9136 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9137 (batch-skkdic-convert): Suppress most of the chatter.
9138 It's not needed so much now that machines are faster,
9139 and its non-ASCII component was confusing; see Dmitry Gutov in
9140 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9141
438b0579
LL
91422013-03-20 Leo Liu <sdl.web@gmail.com>
9143
9144 * ido.el (ido-chop): Fix bug#10994.
9145
c128ab07
DG
91462013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9147
9148 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9149 Remove vars.
9a1ff164
SM
9150 (whitespace-color-on, whitespace-color-off):
9151 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9152
0e6008c5
SM
91532013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9156 remapping in mode-line.
9157 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9158
627b52b0
DG
91592013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9160
9161 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9162 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9163 (whitespace-font-lock-keywords): Change description.
9164 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9165 the constructed keywords instead.
9166 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9167
50c3a20b
LL
91682013-03-19 Leo Liu <sdl.web@gmail.com>
9169
9170 * progmodes/compile.el (compilation-display-error): New command.
9171 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9172 C-o. (Bug#13992)
9173
2aa2157b
PE
91742013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9175
9176 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9177
e477dbfa
JD
91782013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9179
9180 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9181
64ab82d1
MA
91822013-03-18 Michael Albinus <michael.albinus@gmx.de>
9183
9184 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9185
9186 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9187 * net/tramp-gvfs.el (top):
9188 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9189 (tramp-handle-shell-command): Use it.
9190 (tramp-dissect-file-name): Raise an error when hostname is a
9191 method name, and neither method nor user is specified.
9192
9193 * net/trampver.el: Update release number.
9194
33cef733
LL
91952013-03-18 Leo Liu <sdl.web@gmail.com>
9196
9197 Make sure eldoc can be turned off properly.
9198 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9199 eldoc-mode.
9200 (eldoc-display-message-p): Revert last change.
9201 (eldoc-display-message-no-interference-p)
9202 (eldoc-print-current-symbol-info): Tweak.
9203
2167b7b2
TH
92042013-03-18 Tassilo Horn <tsdh@gnu.org>
9205
9206 * doc-view.el (doc-view-new-window-function): Check the new window
9207 overlay's display property instead the char property of the
9208 buffer's first char. Use `with-selected-window' instead of
9209 `save-window-excursion' with `select-window'.
9210 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9211 display property instead the char property of the buffer's first char.
2167b7b2 9212
982efbcd
PE
92132013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9214
9215 Automate the build of ja-dic.el (Bug#13984).
9216 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9217 from the input, rather than assume that it's been done for us by the
9218 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9219 the current date into a ja-dic.el comment, as that complicates
9220 regression testing.
9221
2fcc7665
SM
92222013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * whitespace.el: Fix double evaluation.
9225 (whitespace-space, whitespace-hspace, whitespace-tab)
9226 (whitespace-newline, whitespace-trailing, whitespace-line)
9227 (whitespace-space-before-tab, whitespace-indentation)
9228 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9229 obsolete defvars.
9230 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9231 (whitespace-color-on): Use a single font-lock-add-keywords call.
9232 Fix double-evaluation of face variables.
9233
67c0a6e6
MA
92342013-03-17 Michael Albinus <michael.albinus@gmx.de>
9235
2fcc7665
SM
9236 * net/tramp-adb.el (tramp-adb-parse-device-names):
9237 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9238 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9239
69489f1d
LL
92402013-03-17 Leo Liu <sdl.web@gmail.com>
9241
9242 Extend eldoc to display info in the mode-line. (Bug#13978)
9243 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9244 (eldoc-mode-line-string): New variable.
9245 (eldoc-minibuffer-message): New function.
9246 (eldoc-message-function): New variable.
9247 (eldoc-message): Use it.
9248 (eldoc-display-message-p)
2fcc7665
SM
9249 (eldoc-display-message-no-interference-p):
9250 Support eldoc-post-insert-mode.
69489f1d
LL
9251
9252 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9253 (eval-expression): Run it.
9254
9c44569e
RW
92552013-03-17 Roland Winkler <winkler@gnu.org>
9256
9257 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9258 strings in the list of return values.
9259
327f1f6f
JB
92602013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9261
9262 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9263 radix before checking for HMS forms.
9264
67ed8fcd
LL
92652013-03-16 Leo Liu <sdl.web@gmail.com>
9266
9267 * progmodes/scheme.el: Add indentation and font-locking for λ.
9268 (Bug#13975)
9269
78be8b64 92702013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9271
9272 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9273 token before point (bug#13942).
9274
78be8b64 92752013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9276
95b43468 9277 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9278
98e775e6
EZ
92792013-03-16 Eli Zaretskii <eliz@gnu.org>
9280
9281 * startup.el (command-line-normalize-file-name): Fix handling of
9282 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9283 <xfq.free@gmail.com> in
9284 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9285
2edd6029
MA
92862013-03-15 Michael Albinus <michael.albinus@gmx.de>
9287
9288 Sync with Tramp 2.2.7.
9289
9290 * net/trampver.el: Update release number.
9291
d35f5864
TH
92922013-03-14 Tassilo Horn <tsdh@gnu.org>
9293
e903c210 9294 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9295 (doc-view-insert-image): Don't modify overlay associated to
9296 non-live windows, and implement horizontal centering of image in
9297 case it's smaller than the window.
9298 (doc-view-new-window-function): Force redisplay of new windows on
9299 doc-view buffers.
d35f5864 9300
1c4a85ed
KF
93012013-03-13 Karl Fogel <kfogel@red-bean.com>
9302
9303 * saveplace.el (save-place-alist-to-file): Don't sort
9304 `save-place-alist', just pretty-print it (bug#13882).
9305
85b66a21
MA
93062013-03-13 Michael Albinus <michael.albinus@gmx.de>
9307
a020afb9
JB
9308 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9309 Check whether `default-file-name-coding-system' is bound.
9310 It isn't in XEmacs.
85b66a21 9311
175600da
SM
93122013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9313
e7f7cb1a
SM
9314 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9315 backquotes for `obsolete' (bug#13929).
9316
175600da
SM
9317 * international/mule.el (find-auto-coding): Include file name in
9318 obsolescence warning (bug#13922).
9319
ca68a22e
TZ
93202013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9321
9322 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9323 for CFEngine 3-specific indentation.
9324 (cfengine3-indent-line): Use it. Fix up category regex.
9325 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9326
940e5099
SM
93272013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * type-break.el (type-break-file-name):
9330 * textmodes/remember.el (remember-data-file):
9331 * strokes.el (strokes-file):
9332 * shadowfile.el (shadow-initialize):
9333 * saveplace.el (save-place-file):
9334 * ps-bdf.el (bdf-cache-file):
9335 * progmodes/idlwave.el (idlwave-config-directory):
9336 * net/quickurl.el (quickurl-url-file):
9337 * international/kkc.el (kkc-init-file-name):
9338 * ido.el (ido-save-directory-list-file):
9339 * emulation/viper.el (viper-custom-file-name):
9340 * emulation/vip.el (vip-startup-file):
9341 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9342 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9343
cc725808
PE
93442013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9345
9346 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9347 * language/thai-word.el: Switch to UTF-8.
9348
a020afb9 9349See ChangeLog.16 for earlier changes.
e3d51b27
MR
9350
9351;; Local Variables:
9352;; coding: utf-8
e3d51b27
MR
9353;; End:
9354
ab422c4d 9355 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9356
9357 This file is part of GNU Emacs.
9358
9359 GNU Emacs is free software: you can redistribute it and/or modify
9360 it under the terms of the GNU General Public License as published by
9361 the Free Software Foundation, either version 3 of the License, or
9362 (at your option) any later version.
9363
9364 GNU Emacs is distributed in the hope that it will be useful,
9365 but WITHOUT ANY WARRANTY; without even the implied warranty of
9366 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9367 GNU General Public License for more details.
9368
9369 You should have received a copy of the GNU General Public License
9370 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.