Small Makefile cleanup mainly related to tags file generation
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b0b9e592
GM
12013-11-02 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4 (lisptagsfiles4): Use absolute filenames again.
5 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6 Remove all *loaddefs files, not just the first. Remove esh-groups.
7 (maintainer-clean): Delete TAGS, TAGS-LISP.
8
d1c0ea6a
BB
92013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
10
11 * emacs-lisp/package.el (package-version-join): Recognize
12 snapshot versions.
13
684d71c6
BB
142013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15
16 * subr.el (version-regexp-alist): Add support for snapshot versions.
17
3d42b968
DG
182013-11-02 Dmitry Gutov <dgutov@yandex.ru>
19
20 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
21 function, replacement for `smie-rule-parent' for when we want to
22 skip over our direct parent if it's an assignment token..
23 (ruby-smie-rules): Use it.
24
7ffd3721
DG
252013-11-02 Dmitry Gutov <dgutov@yandex.ru>
26
27 * progmodes/ruby-mode.el Use `syntax-propertize-function'
28 unconditionally. Remove now unnecessary forward declarations.
29 Remove XEmacs-specific setup.
30 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
31 (ruby-font-lock-syntactic-keywords)
32 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
33 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
34 (ruby-here-doc-end-syntax): Remove.
35 (ruby-mode): Don't check whether `syntax-propertize-rules' is
36 defined as function.
37
a3996a2e
BB
382013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
39
40 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
41
6f9260e8
BB
422013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
43
44 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
45 table and abbrev table, `define-derived-mode' does that for us
46 anyway.
47
6014de84
GM
482013-11-01 Glenn Morris <rgm@gnu.org>
49
50 * Makefile.in: Remove manual mh-e dependencies (writing .elc
51 files is atomic for some time, so no parallel compilation issues).
52
3c334c14
JD
532013-11-01 Jan Djärv <jan.h.d@swipnet.se>
54
55 * faces.el (face-x-resources): Add :distant-foreground.
56 (region): Use :distant-foreground for gtk and ns.
57
9bc236c8
TH
582013-11-01 Tassilo Horn <tsdh@gnu.org>
59
5246583b 60 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
61 BibTeX.
62 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
63 (reftex-locate-bibliography-files): Us it.
64
d14c81ee
CB
652013-11-01 Claudio Bley <claudio.bley@googlemail.com>
66
0e7690de
CB
67 * image.el (image-type-header-regexps): Fix the 'pbm' part to
68 allow comments in pbm files.
69
d14c81ee
CB
70 * term/w32-win.el (dynamic-library-alist): Support newer versions
71 of libjpeg starting with v7: look only for the DLL from the
72 version against which Emacs was built.
ac1bf374 73 Support versions of libpng beyond 1.4.x.
019c8218 74 Support libtiff v4.x.
d14c81ee 75
983d0df5
BB
762013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
77
78 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
79 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
80 Add property :safe.
81 (ruby-deep-arglist): Add property :type.
82
47f58d85
GM
832013-10-31 Glenn Morris <rgm@gnu.org>
84
85 * Makefile.in (custom-deps, finder-data): No need to setq the target
86 variables, we are in the right directory and the defaults work fine.
87
4f85b479
GM
882013-10-30 Glenn Morris <rgm@gnu.org>
89
ca7dd4cd
GM
90 * Makefile.in (autoloads): Do not use abs_lisp.
91
4f85b479
GM
92 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
93 `newline' does not respect `standard-output', so use `princ'.
94
cf59e41c
AA
952013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
96
97 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
98 * buff-menu.el (Buffer-menu--unmark): New function.
99 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
100
74cf04fb
GM
1012013-10-30 Glenn Morris <rgm@gnu.org>
102
b040b60e
GM
103 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
104
f53d3815
GM
105 * emacs-lisp/package.el (lm-homepage): Declare.
106
5413d873
GM
107 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
108 Fix doc typos.
109
cecedb36
GM
110 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
111
74cf04fb
GM
112 * Makefile.in (finder-data, autoloads, update-subdirs)
113 (compile-main, compile-clean, compile-always, bootstrap-clean):
114 Check return value of cd.
115 (compile-calc): Remove.
116
195ee2f0
SM
1172013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
118
ae4002ce
SM
119 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
120
121 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
122 (byte-compile-and-folded): New function.
123 (=, <, >, <=, >=): Use it.
124
125 * dos-w32.el (minibuffer-history-case-insensitive-variables)
126 (path-separator, null-device, buffer-file-coding-system)
127 (lpr-headers-switches): Check system-type before modifying them.
128 (find-buffer-file-type-coding-system): Mark obsolete.
129 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
130 find-file-not-found-set-buffer-file-coding-system.
131 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
132 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
133 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
134 (w32-direct-print-region-helper, w32-direct-print-region-function)
135 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
136 * startup.el (normal-top-level-add-subdirs-to-load-path):
137 * ps-print.el (ps-print-region-function):
138 * lpr.el (print-region-function): Use new name.
139
53b39e89
SM
140 * subr.el (custom-declare-variable-early): Remove function.
141 (custom-declare-variable-list): Remove var.
142 (error, user-error): Remove `while' loop.
143 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
144 (user-emacs-directory-warning, locate-user-emacs-file):
145 Move to files.el.
146 * simple.el (read-quoted-char-radix, read-quoted-char):
147 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
148 Move from subr.el.
149 * custom.el (custom-declare-variable-list): Don't process
150 custom-declare-variable-list.
151
195ee2f0
SM
152 * progmodes/python.el (python-shell-get-buffer): New function.
153 (python-shell-get-process): Use it.
154 (python-shell-send-string): Always use utf-8 and add a cookie to tell
155 Python which encoding was used. Don't split-string since we only care
156 about the first line. Return the temp-file, if applicable.
157 (python-shell-send-region): Tell compile.el how to turn locations in
158 the temp-file into locations in the source buffer.
159
7e3561ee
SM
1602013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
161
4c9797cb
SM
162 * subr.el (undefined): Add missing behavior from the C code for
163 unbound keys.
164
3472b6c6
SM
165 * rect.el: Use lexical-binding. Add new rectangular region support.
166 (rectangle-mark): New command.
167 (rectangle--region): New var.
168 (deactivate-mark-hook): Reset rectangle--region.
169 (rectangle--extract-region, rectangle--insert-for-yank)
170 (rectangle--highlight-for-redisplay)
171 (rectangle--unhighlight-for-redisplay): New functions.
172 (region-extract-function, redisplay-unhighlight-region-function)
173 (redisplay-highlight-region-function): Use them to handle
174 rectangular region.
175 * simple.el (region-extract-function): New var.
176 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
177 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
178 (kill-region): Replace obsolete `yank-handler' arg with `region'.
179 (copy-region-as-kill, kill-ring-save): Add `region' argument.
180 (redisplay-unhighlight-region-function)
181 (redisplay-highlight-region-function): New vars.
182 (redisplay--update-region-highlight): New function.
183 (pre-redisplay-function): Use it.
184 (exchange-point-and-mark): Don't deactivate the mark before
185 reactivate-it anyway.
186 * comint.el (comint-kill-region): Remove yank-handler argument.
187 * delsel.el (delete-backward-char, backward-delete-char-untabify)
188 (delete-char): Remove property, since it's now part of their
189 default behavior.
190 (self-insert-iso): Remove property since this command doesn't exist.
191
7e3561ee
SM
192 * emacs-lisp/package.el (package--download-one-archive)
193 (describe-package-1): Don't query the user about final newline.
194
b9bef71f
DC
1952013-10-29 Daniel Colascione <dancol@dancol.org>
196
197 * net/tramp.el (tramp-methods): Document new functionality.
198 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
199 tramp-hostname-checker if method provides one instead of scanning
200 argument list for "%h" to decide hostname acceptability.
201
4efc33f0
MA
2022013-10-28 Michael Albinus <michael.albinus@gmx.de>
203
204 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
205 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
206 Handle COPY-CONTENTS. (Bug#15737)
207
ed42a877
DU
2082013-10-28 Daiki Ueno <ueno@gnu.org>
209
210 * epa-file.el
7e3561ee
SM
211 (epa-file-cache-passphrase-for-symmetric-encryption):
212 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 213
18c9f8a2
XF
2142013-10-27 Xue Fuqiao <xfq.free@gmail.com>
215
7a4bc7be
XF
216 * image.el (defimage):
217 (image-load-path): Doc fixes.
18c9f8a2 218
b1e8e010
AM
2192013-10-27 Alan Mackenzie <acm@muc.de>
220
221 Indent statements in macros following "##" correctly.
7e3561ee
SM
222 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
223 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 224
73d40d1e 2252013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
226
227 * linum.el (linum-update-window): Fix boundary test (bug#13446).
228
c8c605ac
DG
2292013-10-27 Dmitry Gutov <dgutov@yandex.ru>
230
231 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
232 after `=' is probably a new expression.
233
ca7e59d4
RS
2342013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
235
236 * man.el (man-imenu-title): New option.
237 (Man-mode-map): Add menu. (Bug#15722)
238 (Man-mode): Add imenu to menu.
239
bae91342
DG
2402013-10-26 Dmitry Gutov <dgutov@yandex.ru>
241
242 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
243 specific in what the first arg can be: a non-keyword word,
244 string/regexp/percent literal opener, opening paren, or unary
245 operator followed directly by word.
246
eb89dc14
SM
2472013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
250 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
251 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
252 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
253 Remove vars, they do not apply any more.
254 (prolog-mode-abbrev-table): Remove redundant declaration.
255 (prolog-upper-case-string, prolog-lower-case-string): Remove.
256 (prolog-use-smie): Remove.
257 (prolog-smie-rules): Add indentation rule for the if-then-else layout
258 supported by prolog-electric-if-then-else-flag.
259 (prolog-mode-variables, prolog-menu): Use setq-local.
260 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
261 Remove binding to `Backspace' since this key doesn't exist anyway.
262 Remove bindings for electric self-inserting keys.
263 (prog-mode): Assume it's defined.
264 (prolog-post-self-insert): New function.
265 (prolog-mode): Use it.
266 (prolog-indent-line, prolog-indent-level)
267 (prolog-find-indent-of-matching-paren)
268 (prolog-indentation-level-of-line, prolog-goto-comment-column)
269 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
270 (prolog-goto-next-paren, prolog-in-string-or-comment)
271 (prolog-tokenize, prolog-inside-mline-comment)
272 (prolog-find-start-of-mline-comment): Remove functions.
273 (prolog-find-unmatched-paren, prolog-clause-end)
274 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
275 (prolog-electric--if-then-else): Rename from
276 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
277 (prolog-tokenize-searchkey): Remove const.
278 (prolog-clause-info): Use forward-sexp.
279 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
280 (prolog-electric-if-then-else): Remove commands.
281 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
282 for use in post-self-insert-hook.
283 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
284 for use in post-self-insert-hook.
285 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
286 for use in post-self-insert-hook.
287 (prolog-electric--underscore): Rename from prolog-electric--underscore;
288 adapt it for use in post-self-insert-hook.
289
3dab0a83
MA
2902013-10-25 Michael Albinus <michael.albinus@gmx.de>
291
292 * emacs-lisp/ert.el (ert-run-tests-interactively):
293 Use `completing-read'. (Bug#9756)
294
fbfd0e1d
EZ
2952013-10-25 Eli Zaretskii <eliz@gnu.org>
296
297 * simple.el (line-move): Call line-move-1 instead of
298 line-move-visual when the current window hscroll is zero, but
299 temporary-goal-column indicates we will need to hscroll as result
300 of the movement. (Bug#15712)
301
963ce636
DG
3022013-10-25 Dmitry Gutov <dgutov@yandex.ru>
303
304 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
305 capitalization. Use :visible instead of :active.
306 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
307 commands that are used with SMIE.
308 (ruby-do-end-to-brace): Insert space after `{'.
309
a0be396a
JA
3102013-10-25 John Anthony <john@jo.hnanthony.com>
311
f73754c9
JA
312 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
313
314 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 315
f5bf77df
GM
3162013-10-25 Glenn Morris <rgm@gnu.org>
317
318 * vc/vc.el (vc-print-log): Don't use a working revision unless
319 one was explicitly specified. (Bug#15322)
320
37241f62
SM
3212013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * subr.el (add-to-list): Preserve return value in compiler-macro
324 (bug#15692).
325
6408a65d
RS
3262013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
327
328 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
329 result. Ask user to retry using '-all' flag. (Bug#15701)
330
71e3276b
SM
3312013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * emacs-lisp/smie.el: New smie-config system.
334 (smie-config): New defcustom.
335 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
336 (smie-config-guess, smie-config-save): New commands.
337 (smie-config--mode-local, smie-config--buffer-local)
338 (smie-config--trace, smie-config--modefuns): New vars.
339 (smie-config--advice, smie-config--mode-hook)
340 (smie-config--setter, smie-config-local, smie-config--get-trace)
341 (smie-config--guess-value, smie-config--guess): New functions.
342 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
343 text properties. Treat "string fence" syntax like string syntax.
344
345 * progmodes/sh-script.el (sh-use-smie): Change default.
346 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
347 (sh-var-value): Simplify by CSE.
348 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
349 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
350 is used.
351 (sh-guess-basic-offset): Use cl-incf.
352 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
353
60db713e
HE
3542013-10-24 Helmut Eller <eller.helmut@gmail.com>
355
356 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
357 (bug#15699).
358
8b251df6
GM
3592013-10-24 Glenn Morris <rgm@gnu.org>
360
361 * Makefile.in (abs_top_srcdir): Remove.
362 (update-subdirs): Use relative path to update-subdirs.
363
6be0e22b
EZ
3642013-10-24 Eli Zaretskii <eliz@gnu.org>
365
366 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
367 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
368 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
369 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 370
50b5b857
MA
3712013-10-24 Michael Albinus <michael.albinus@gmx.de>
372
373 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
374 (ert-test-skipped): New error.
375 (ert-skip, ert-stats-skipped): New defuns.
376 (ert--skip-unless): New macro.
377 (ert-test-skipped): New struct.
378 (ert--run-test-debugger, ert-test-result-type-p)
379 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
380 (ert--stats-set-test-and-result, ert-char-for-test-result)
381 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 382 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 383 Handle skipped tests. (Bug#9803)
50b5b857 384
6f317c2f
GM
3852013-10-24 Glenn Morris <rgm@gnu.org>
386
e43817c1
GM
387 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
388
6f317c2f
GM
389 * Makefile.in (abs_top_srcdir): New, set by configure.
390 (update-subdirs): Correct build-aux location.
391
369bbf71
DG
3922013-10-24 Dmitry Gutov <dgutov@yandex.ru>
393
8297b2cf
DG
394 * vc/vc.el (vc-print-root-log): Always set `default-directory'
395 value, whether we could auto-deduce `backend', or not.
396
369bbf71
DG
397 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
398 with parameters" example. Simplify the "is it block or is it
399 hash" check, but also make it more thorough.
400
d5f1282f
MF
4012013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
402
403 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
404
bc4aaa31
SM
4052013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
406
03d44565
SM
407 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
408 { if it is hanging.
409
bc4aaa31
SM
410 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
411 :before ";".
412
f493ff19
JB
4132013-10-23 Jed Brown <jed@59A2.org> (tiny change)
414
415 * progmodes/compile.el (compilation-directory-matcher)
416 (compilation-page-delimiter):
417 Support GNU Make-4.0 directory quoting. (Bug#15678)
418
c744a3b9
LL
4192013-10-23 Leo Liu <sdl.web@gmail.com>
420
421 * ido.el (ido-tidy): Handle read-only text.
422
b8e3b0a9
GM
4232013-10-23 Glenn Morris <rgm@gnu.org>
424
425 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
426 (emacs, compile, compile-always):
427 Quote entities that might contain whitespace.
428 (custom-deps, finder-data, autoloads): Use abs_lisp.
429 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
430 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
431 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
432
ee4282cd
DG
4332013-10-23 Dmitry Gutov <dgutov@yandex.ru>
434
bc4aaa31
SM
435 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
436 Use `following-char'.
7790a270 437
ee4282cd 4382013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
439
440 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
441 * progmodes/ruby-mode.el (ruby-smie-rules):
442 Remove corresponding workaround. Fix indentation rule of ";" so it
443 also applies when ";" is the parent.
444
d40a46d7
XF
4452013-10-22 Xue Fuqiao <xfq.free@gmail.com>
446
447 * frame.el (display-screens, display-pixel-height)
448 (display-pixel-width, display-mm-width, display-backing-store)
449 (display-save-under, display-planes, display-color-cells)
7790a270
SM
450 (display-visual-class, display-monitor-attributes-list):
451 Mention the optional ‘display’ argument in doc strings.
d40a46d7 452
a0f143c9
MG
4532013-10-22 Michael Gauland <mikelygee@amuri.net>
454
455 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
456 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
457
18cacc39
DG
4582013-10-21 Dmitry Gutov <dgutov@yandex.ru>
459
460 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
461 TODO. Add "." after " @ ".
462 (ruby-smie--at-dot-call): New function. Checks if point at method
463 call with explicit target.
464 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
465 to the method name tokens when it precedes them.
466 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
467 (ruby-smie-rules): Add rule for indentation before and after "."
468 token.
469
df74c4be
SM
4702013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
471
c6dab55f
SM
472 * textmodes/remember.el (remember-diary-extract-entries):
473 Avoid add-to-list.
474
df74c4be
SM
475 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
476 an instruction.
477
8c1ae481
DG
4782013-10-21 Dmitry Gutov <dgutov@yandex.ru>
479
cfef16c0
DG
480 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
481 (ruby-smie--implicit-semi-p): Add new operator chars.
482
8c1ae481
DG
483 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
484 `smie-down-list'.
485 (ruby-smie--args-separator-p): Check that there's no newline
486 between method call and its arguments.
487
87756ca9
AM
4882013-10-20 Alan Mackenzie <acm@muc.de>
489
490 Allow comma separated lists after Java "implements".
491
df74c4be
SM
492 * progmodes/cc-engine.el (c-backward-over-enum-header):
493 Parse commas.
87756ca9
AM
494 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
495 from a "disallowed" list in enum fontification.
496
c25f8957
JB
4972013-10-20 Johan Bockgård <bojohan@gnu.org>
498
df74c4be 499 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 500
c25f8957
JB
501 * progmodes/verilog-mode.el (verilog-mode): Don't set
502 comment-indent-function globally.
503
aca5fcdc
JD
5042013-10-20 Jan Djärv <jan.h.d@swipnet.se>
505
5f161884
JD
506 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
507 Move Info menu item creation to ns-win.el.
508
509 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
510 in menu bar.
511
aca5fcdc
JD
512 * menu-bar.el: Move GNUStep specific menus...
513
514 * term/ns-win.el (ns-initialize-window-system): ... to here.
515
914b7f98
SM
5162013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * simple.el (newline): Only run post-self-insert-hook when
519 called interactively.
520
846ffe77
JB
5212013-10-19 Johan Bockgård <bojohan@gnu.org>
522
523 * icomplete.el (icomplete-with-completion-tables): Add :version.
524
033f22dd
AM
5252013-10-19 Alan Mackenzie <acm@muc.de>
526
527 Fix fontification bugs with constructors and const.
528
529 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
530 CASE 2) Remove the check for the absence of a suffix construct
531 after a function declaration with only types (no identifiers) in
532 the parentheses. Also, accept a function declaration with just a
533 type inside the parentheses, if this type can be positively
534 recognised as such, or if a prefix keyword like "explicit" nails
535 down the construct as a declaration.
536
58ce0cfc
EZ
5372013-10-19 Eli Zaretskii <eliz@gnu.org>
538
539 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
540 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
541 the problem whereby selecting a menu item that leads to a
542 minibuffer prompt moves the cursor out of the minibuffer window,
543 making it hard to type at the prompt. Suggested by Stefan Monnier
544 <monnier@iro.umontreal.ca>.
545
50e28e7d
JD
5462013-10-19 Jan Djärv <jan.h.d@swipnet.se>
547
548 * menu-bar.el: Don't make Services menu.
549
7deed4bf
RS
5502013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
551
552 * ffap.el: Handle "/usr/include/c++/<version>" directories.
553 (ffap-alist): Use ffap-c++-mode for c++-mode.
554 (ffap-c++-path): New variable.
555 (ffap-c++-mode): New function.
556
7bcb455b
JVJ
5572013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
558
559 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
560
f0ff1cd5
MA
5612013-10-18 Michael Albinus <michael.albinus@gmx.de>
562
563 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
564 introduced on 2013-09-08, which results in an infinite loop
565 requesting a password.
566
d64da4b7
GM
5672013-10-18 Glenn Morris <rgm@gnu.org>
568
569 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
570
ea89ff08
WS
5712013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
572
573 Sync with upstream verilog-mode revision 1a6ecec7.
574 * progmodes/verilog-mode.el (verilog-mode-version): Update.
575 (verilog-mode-release-date): Remove.
576 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
577 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
578 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
579 (verilog-auto-tieoff-ignore-regexp)
580 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
581 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
582 (verilog-signals-with, verilog-dir-cache-preserving)
583 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
584 Doc fixes.
585 (verilog-case-fold): New option, to control case folding in
586 regexp searches, bug597.
587 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
588 (verilog-string-match-fold, verilog-in-paren-count)
589 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
590 (verilog-at-close-struct-p): New functions.
591 (verilog-beg-block-re-ordered, verilog-extended-case-re)
592 (verilog-forward-sexp, verilog-set-auto-endcomments):
593 (verilog-leap-to-case-head): Handle "unique0" case.
594 (verilog-in-constraint-re): New constant.
595 (verilog-keywords, verilog-type-font-keywords):
596 Add some SystemVerilog 1800-2012 keywords.
597 (verilog-label-be): Remove unimplemented argument, bug669.
598 (verilog-batch-execute-func): When batch expanding clear
599 create-lockfiles to prevent spurious user locks when a file ends
600 up not changing.
601 (verilog-calculate-indent, verilog-calc-1)
602 (verilog-at-close-constraint-p, verilog-at-constraint-p)
603 (verilog-do-indent): Fix indentation of nested constraints
604 and structures.
605 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
606 (verilog-auto-inst-param): Use verilog-string-match-fold.
607 (verilog-read-inst-module-matcher):
608 Fix AUTOINST on gate primitives with #1.
609 (verilog-read-decls): Fix double-declaring user-defined typed signals.
610 Reads all user-defined typed variables.
611 (verilog-read-defines): Fix reading definitions inside comments, bug647.
612 (verilog-signals-matching-regexp)
613 (verilog-signals-not-matching-regexp, verilog-auto):
614 Respect verilog-case-fold.
615 (verilog-diff-report): Fix line count.
616 (verilog-auto-assign-modport): Remove unused local `modi'.
617 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
618 better handle multidimensional arrays.
619 Fix packed array ports misadding bit index in AUTOINST, bug637.
620 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
621 to not double-declare existing outputs and inputs, respectively.
622 (verilog-template-map): Bind U to verilog-sk-uvm-component.
623 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
624 (verilog-sk-uvm-component): New skeleton.
625 (verilog-submit-bug-report): Add verilog-case-fold,
626 remove verilog-mode-release-date.
627
ef566920
BR
6282013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
629
630 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
631 as before.
632
29df8a0b
RT
6332013-10-18 Reuben Thomas <rrt@sc3d.org>
634
635 * textmodes/remember.el (remember): set buffer-offer-save in
636 remember buffers (bug#13566).
637
04a19a79
DC
6382013-10-18 Daniel Colascione <dancol@dancol.org>
639
640 When evaluating forms in ielm, direct standard output to ielm
641 buffer. Add new ielm-return-for-effect command. Remove trailing
642 whitespace throughout.
643
644 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
645 (ielm-return-for-effect): New command.
646 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
647 (ielm-eval-input): Accept optional `for-effect' parameter.
648 Bind `standard-output' to stream we create using
04a19a79
DC
649 `ielm-standard-output-impl'. Suppress printing result when
650 `for-effect'.
651 (ielm-standard-output-impl): New function.
652 (inferior-emacs-lisp-mode): Explain new features in documentation.
653
4c1f03ef
MA
6542013-10-17 Michael Albinus <michael.albinus@gmx.de>
655
656 Code cleanup.
657
658 * net/tramp.el (tramp-debug-message): Do not check for connection
659 buffer.
660 (tramp-message): Use "vector" connection property.
661
662 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
663 (tramp-equal-remote, tramp-eshell-directory-change)
664 * net/tramp-adb.el (tramp-adb-handle-copy-file)
665 (tramp-adb-handle-rename-file)
666 * net/tramp-cmds.el (tramp-list-remote-buffers)
667 (tramp-cleanup-connection, tramp-cleanup-this-connection)
668 * net/tramp-compat.el (tramp-compat-process-running-p)
669 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
670 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
671 (tramp-gvfs-handle-rename-file)
672 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
673 (tramp-set-file-uid-gid)
674 * net/tramp-smb.el (tramp-smb-handle-copy-file)
675 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
676 of `file-remote-p'.
677
678 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
679 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
680 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
681 (tramp-gw-open-network-stream): Suppress unrelated traces.
682
683 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
684 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
685 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
686 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
687 connection property.
688
689 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 690 persistency file.
4c1f03ef
MA
691
692 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
693 Refactor common code. Improve debug message.
694 (tramp-maybe-open-connection)
695 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
696 connection buffer too early.
697
698 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
699 from `tramp-smb-actions-with-acl'.
700 (tramp-smb-actions-set-acl): New defconst.
701 (tramp-smb-handle-copy-directory)
702 (tramp-smb-action-get-acl): New defun, renamed from
703 `tramp-smb-action-with-acl'.
704 (tramp-smb-action-set-acl): New defun.
705 (tramp-smb-handle-set-file-acl): Rewrite.
706
642eb8b6
GM
7072013-10-17 Glenn Morris <rgm@gnu.org>
708
709 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
710
85527ff3
SM
7112013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
712
921c1d62
SM
713 * skeleton.el (skeleton-newline): Remove.
714 (skeleton-internal-1): Use (insert "\n") instead.
715
e333fb10
SM
716 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
717 let-bindings.
718
85527ff3
SM
719 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
720 forward-sexp-function while we redo its job (bug#15613).
721
c8722a97
JB
7222013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
723
724 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
725 represented by lists.
726
7a550bbb
GM
7272013-10-16 Glenn Morris <rgm@gnu.org>
728
729 * tmm.el (tmm--history): New dynamic variable.
730 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
731
f19da8ad
MA
7322013-10-16 Michael Albinus <michael.albinus@gmx.de>
733
734 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
735 (tramp-smb-errors): Add error messages.
736 (tramp-smb-actions-with-acl): New defconst.
737 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
738 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
739 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
740 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
741 (tramp-smb-get-stat-capability): Fix tests.
742
a24b9961
DK
7432013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
744
745 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
746 (bug#15580).
747
62ad85e6
GM
7482013-10-16 Glenn Morris <rgm@gnu.org>
749
0283d6b0
GM
750 * ansi-color.el (ansi-color-drop-regexp):
751 Add 1J, 1K, 2K. (Bug#15617)
752
012e2f9f
GM
753 * files.el (hack-local-variables--warned-lexical): New.
754 (hack-local-variables):
755 Warn about misplaced lexical-binding. (Bug#15616)
756
62ad85e6
GM
757 * net/eww.el (eww-render): Always set eww-current-url,
758 and update header line. (Bug#15622)
759 (eww-display-html): ... Rather than just doing it here.
760
6456c0ea
EZ
7612013-10-15 Eli Zaretskii <eliz@gnu.org>
762
763 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
764 menu navigations commands.
765
c2de5588
DK
7662013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
767
768 * progmodes/subword.el (subword-capitalize): Be careful when
769 the search for [[:alpha:]] fails (bug#15580).
770
ccd4a783
EZ
7712013-10-14 Eli Zaretskii <eliz@gnu.org>
772
773 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
774 to commands that scroll the menu.
775
1eda1d8d
DG
7762013-10-14 Dmitry Gutov <dgutov@yandex.ru>
777
c2de5588
DK
778 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
779 Handle methods ending with `?' and `!'.
1eda1d8d 780
e70181b8
AM
7812013-10-14 Akinori MUSHA <knu@iDaemons.org>
782
783 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
784 `japanese-cp932' to `cp932' to fix the problem where saving a
785 source file written in Shift_JIS twice would end up having
786 `coding: japanese-cp932' which Ruby could not recognize.
787 (ruby-mode-set-encoding): Add support for encodings mapped to nil
788 in `ruby-encoding-map'.
789 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
790 doesn't need to be explicitly declared in magic comment.
791 (ruby-encoding-map): Add type declaration for better customize UI.
792
9148ee92
GM
7932013-10-13 Glenn Morris <rgm@gnu.org>
794
a5d38e34
GM
795 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
796 Occur buffers are read-only. http://bugs.debian.org/720775
797
9148ee92
GM
798 * emacs-lisp/authors.el (authors-fixed-entries):
799 Comment out old alpha stuff.
800
a9ba094b
DG
8012013-10-13 Dmitry Gutov <dgutov@yandex.ru>
802
803 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
804 to `after-save-hook' instead of `before-save-hook'.
805 (ruby-mode-set-encoding): Use the value of coding system used to
806 write the file. Call `basic-save-buffer-1' after modifying the
807 buffer.
808
7a068717
AM
8092013-10-13 Alan Mackenzie <acm@muc.de>
810
811 Fix indentation/fontification of Java enum with
812 "implements"/generic.
813
c2de5588
DK
814 * progmodes/cc-engine.el (c-backward-over-enum-header):
815 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
816 (c-inside-bracelist-p): Uses new function above.
817 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
818 function above.
819 (c-font-lock-enum-tail): Uses new function above.
820
85b64f02
KH
8212013-10-13 Kenichi Handa <handa@gnu.org>
822
823 * international/mule-cmds.el (select-safe-coding-system): Remove a
824 superfluous condition in chekcing whether a coding system is safe
825 or not.
826
fc7f501b
OK
8272013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
828
829 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
830
fdcb2049
AP
8312013-10-13 Andreas Politz <politza@hochschule-trier.de>
832
833 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
834
8c106d17
GM
8352013-10-13 Glenn Morris <rgm@gnu.org>
836
feab892d
GM
837 * menu-bar.el (menu-bar-update-buffers):
838 Unify Buffers menu prompt string. (Bug#15576)
839
b22d0686
GM
840 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
841
8c106d17
GM
842 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
843 Add some entries.
844 (authors-fixed-entries): Use accented form of name.
845
1b12c797
SM
8462013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
847
650fa7bf 848 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 849 method calls (bug#15594).
650fa7bf
SM
850 (ruby-smie--args-separator-p): New function.
851 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
852 recognize paren-free method calls.
853
1b12c797
SM
854 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
855 internals of universal-argument.
856
029619c8
EZ
8572013-10-11 Eli Zaretskii <eliz@gnu.org>
858
859 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
860 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
861 dropped menu on second mouse click on the menu bar.
029619c8 862
dd070019
SM
8632013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
866 (explicit-shell-file-name): Declare.
867 (sh--vars-before-point, sh--cmd-completion-table): New functions.
868 (sh-completion-at-point-function): New function.
869 (sh-mode): Use it.
870 (sh-smie--keyword-p): Remove unused argument.
871 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
872 vars.
873 (sh-set-shell): Always setup SMIE, even if we use the
874 old indentation code.
875
0922b826
DG
8762013-10-11 Dmitry Gutov <dgutov@yandex.ru>
877
b68e2926
DG
878 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
879 cases of ? and =.
880 (ruby-smie-rules): Simplify the "do" rule. The cases when the
881 predicate would return nil are almost non-existent.
882 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
883
0922b826
DG
884 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
885 cache also after commands that modify the buffer but don't move
886 point.
887
ee041f2d
SM
8882013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * env.el (substitute-env-in-file-name): New function.
891 (substitute-env-vars): Extend the meaning of the optional arg.
892
a5dab159
EZ
8932013-10-10 Eli Zaretskii <eliz@gnu.org>
894
895 * term/w32-win.el (dynamic-library-alist): Define separate lists
896 of GIF DLLs for versions before and after 5.0.0 of giflib.
897 (Bug#15531)
898
db138698
JT
8992013-10-10 João Távora <joaotavora@gmail.com>
900
901 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
902 not locked, use last revision and current source as
903 defaults. (Bug#15569)
904
2f6e161e
MY
9052013-10-10 Masatake YAMATO <yamato@redhat.com>
906
907 * menu-bar.el (menu-bar-open): Don't use popup-menu if
908 menu-bar is hidden.
909
6c8413fc
MR
9102013-10-10 Martin Rudalics <rudalics@gmx.at>
911
912 * window.el (pop-to-buffer-same-window): Fix doc-string.
913 (Bug#15492)
914
20832de0
SM
9152013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
918
c6e8ae77
AC
9192013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
920
921 * calendar/icalendar.el (icalendar-import-file):
922 Fix interactive spec. (Bug#15482)
923
9db13baf
GM
9242013-10-10 Glenn Morris <rgm@gnu.org>
925
9271e90e
GM
926 * desktop.el (desktop-save): Default to saving in .emacs.d,
927 since PWD is no longer in desktop-path by default. (Bug#15319)
928
9db13baf
GM
929 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
930 now that text mode has a menu with the same entry.
931 (menu-bar-text-mode-auto-fill): Remove now unused func.
932 * textmodes/text-mode.el (text-mode-map):
933 Use auto-fill help text from menu-bar.el.
934
a0be396a 9352013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
936
937 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
938
2edcd3c7
JL
9392013-10-09 Juri Linkov <juri@jurta.org>
940
941 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
942 instead of this-command-keys. Add universal-argument-more and
943 universal-argument-minus to the list of prefix commands. (Bug#15568)
944
574411d0
GM
9452013-10-09 Glenn Morris <rgm@gnu.org>
946
14afa541
GM
947 * vc/vc-svn.el (vc-svn-create-repo):
948 Expand paths in file://... url. (Bug#15446)
949
574411d0
GM
950 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
951 Add some entries.
952 (authors): Remove unused local variables.
953
79804536
SM
9542013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
955
956 * profiler.el: Create a more coherent calltree from partial backtraces.
957 (profiler-format): Hide the tail with `invisible' so that C-s can still
958 find the hidden elements.
959 (profiler-calltree-depth): Don't recurse so enthusiastically.
960 (profiler-function-equal): New hash-table-test.
961 (profiler-calltree-build-unified): New function.
962 (profiler-calltree-build): Use it.
963 (profiler-report-make-name-part): Indent the calltree less.
964 (profiler-report-mode): Add visibility specs for profiler-format.
965 (profiler-report-expand-entry, profiler-report-toggle-entry):
966 Expand the whole subtree when provided with a prefix arg.
967
238150c8
DG
9682013-10-09 Dmitry Gutov <dgutov@yandex.ru>
969
970 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
971 iuwu-mod token.
972 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
973 hanging iuwu-mod token.
974 (ruby-smie--forward-token): Do not include a dot after a token in
975 that token.
976 (ruby-smie--backward-token): Likewise.
977
b0949cc4
JL
9782013-10-08 Juri Linkov <juri@jurta.org>
979
980 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
981 to isearch-other-control-char.
982 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
983 and isearch-post-command-hook to post-command-hook.
984 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
985 and isearch-post-command-hook from post-command-hook.
986 (isearch-unread-key-sequence)
987 (isearch-reread-key-sequence-naturally)
988 (isearch-lookup-scroll-key, isearch-other-control-char)
989 (isearch-other-meta-char): Remove functions.
990 (isearch-pre-command-hook, isearch-post-command-hook):
991 New functions based on isearch-other-meta-char rewritten
992 relying on the new behavior of overriding-terminal-local-map
993 that does not replace the local keymaps any more. (Bug#15200)
994
4ed77415
EZ
9952013-10-08 Eli Zaretskii <eliz@gnu.org>
996
997 Support menus on text-mode terminals.
998 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
999 functionality.
1000
1001 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1002
c2de5588
DK
1003 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1004 Move here from mouse.el.
4ed77415
EZ
1005 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1006 and arrow keys.
1007 (tty-menu-navigation-map): New map for TTY menu navigation.
1008
1009 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1010
1011 * frame.el (display-mouse-p): Report text-mode mouse as available
1012 on w32.
1013 (display-popup-menus-p): Report availability if mouse is
1014 available; don't condition on window-system.
1015
1016 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1017 (tty-menu-selected-face): New faces.
1018
b7d5bd82
TL
10192013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1020
06286513
SM
1021 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1022 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1023 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1024 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1025 New constants.
1026 (lisp-mode-variables): New `elisp' argument.
1027 (emacs-lisp-mode): Use it.
1028 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1029 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1030
b7d5bd82
TL
1031 * indent.el: Use lexical-binding.
1032 (indent-region): Add progress reporter.
1033 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1034 last step.
1035 (indent--next-tab-stop): New function to implement this behavior.
1036 (tab-to-tab-stop, move-to-tab-stop): Use it.
1037
10382013-10-08 Teemu Likonen <tlikonen@iki.fi>
1039
1040 * indent.el (indent-rigidly--current-indentation): New function.
1041 (indent-rigidly-map): New var.
1042 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1043
5ea75d23
BG
10442013-10-08 Bastien Guerry <bzg@gnu.org>
1045
1046 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1047
cc5da1ec
SM
10482013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1049
8ffa1a0b
SM
1050 * progmodes/perl-mode.el: Use lexical-binding.
1051 Remove redundant :group args.
1052 (perl-nochange): Change default to be closer to other major modes's
1053 standard behavior.
1054 (perl-indent-line): Don't consider text on current line as a
1055 valid beginning of function from which to indent.
1056
f2223371
SM
1057 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1058 with more than one argument (bug#15538).
1059
44256060
SM
1060 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1061
cc5da1ec
SM
1062 * vc/pcvs.el: Use lexical-binding.
1063 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1064 environment of `eval'.
1065 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1066 than a list of expressions. Adjust callers.
1067 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1068
0ea1599d
DG
10692013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1070
1071 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1072 case of the dot in a chained method call being on the following line.
0ea1599d 1073
da3e5ebb
SM
10742013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1075
2abb4e65
SM
1076 * electric.el (electric-indent-inhibit): New var.
1077 (electric-indent-post-self-insert-function): Use it.
1078 * progmodes/python.el (python-mode): Set it.
1079
d2e0e795
SM
1080 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1081 open braces.
1082
1083 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1084
bdc6b4c8
SM
1085 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1086 (css-mode): Use electric-indent-chars.
1087
da3e5ebb
SM
1088 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1089 (font-lock-beg, font-lock-end): Move before first use.
1090 (nxml-mode): Use syntax-propertize-function.
1091 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1092 (nxml-extend-after-change-region): Remove.
1093 * nxml/xmltok.el: Use lexical-binding.
1094 (xmltok-save): Use `declare'.
1095 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1096 * nxml/nxml-util.el: Use lexical-binding.
1097 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1098 Use `declare'.
1099 * nxml/nxml-ns.el: Use lexical-binding.
1100 (nxml-ns-save): Use `declare'.
1101 (nxml-ns-prefixes-for): Avoid add-to-list.
1102 * nxml/rng-match.el: Use lexical-binding.
1103 (rng--ipattern): Use cl-defstruct.
1104 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1105 (rng-cons-group-after, rng-subst-group-after)
1106 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1107 Use closures instead of `(lambda...).
1108
f8f91d5d
MA
11092013-10-07 Michael Albinus <michael.albinus@gmx.de>
1110
1111 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1112 of BEG and END.
1113
da3e5ebb
SM
1114 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1115 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1116 (tramp-gvfs-handle-insert-file-contents): Remove function.
1117
da3e5ebb
SM
1118 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1119 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1120
1121 * net/trampver.el: Update release number.
1122
7ccae3b1
SM
11232013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1124
55ca2c0d
SM
1125 * progmodes/compile.el (compilation-parse-errors):
1126 Use compilation--put-prop.
1127 (compilation--ensure-parse): Check compilation-multiline.
1128
731fc3ae
SM
1129 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1130
da3e5ebb
SM
1131 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1132 lexical-binding.
a5833280 1133
2e7ba2c2
SM
1134 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1135
7ccae3b1
SM
1136 * progmodes/ruby-mode.el: Fix recently added tests.
1137 (ruby-smie-grammar): Add - and +.
1138 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1139 (ruby-smie--backward-id): New functions.
1140 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1141 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1142 any more.
1143
85698d63
LL
11442013-10-07 Leo Liu <sdl.web@gmail.com>
1145
1146 * register.el (register-preview-delay)
1147 (register-preview-functions): New variables.
1148 (register-read-with-preview, register-preview)
1149 (register-describe-oneline): New functions.
1150 (point-to-register, window-configuration-to-register)
1151 (frame-configuration-to-register, jump-to-register)
1152 (number-to-register, view-register, insert-register)
1153 (copy-to-register, append-to-register, prepend-to-register)
1154 (copy-rectangle-to-register): Use register-read-with-preview to
1155 read register. (Bug#15525)
1156
3986af6c
DS
11572013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1158
1159 * net/network-stream.el (network-stream-open-starttls): Don't add
1160 --insecure if it's already present, because that gnutls-cli
1161 rejects getting that parameter twice.
1162
5cd9cda9
DG
11632013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1164
1165 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1166 keyword, too.
1167
da9ea6d9
DG
11682013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1169
1170 * newcomment.el (comment-use-global-state): Change default value
1171 to t, mark obsolete (Bug#15251).
1172 (comment-beginning): In addition to `comment-to-syntax', check the
1173 value of `comment-use-global-state'.
1174
34d1a133
SM
11752013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1178 (ruby-comment-column): Follow the global default, by default.
1179 (ruby-smie-grammar): Add assignment syntax.
1180 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1181 open-paren, a comma, or a \.
1182 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1183 and line continuations.
1184 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1185 followed by implicit semi-colons. Add rule for string concatenation
1186 and for indentation at BOB.
1187 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1188
1189 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1190 calling next-sexp, since next-token may have skipped chars which
1191 next-sexp doesn't know should be skipped!
1192
6f6ab820
LL
11932013-10-05 Leo Liu <sdl.web@gmail.com>
1194
34d1a133
SM
1195 * progmodes/octave.el (octave-send-region):
1196 Call compilation-forget-errors.
6f6ab820 1197
34ca0f4c
XF
11982013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1199
1200 * vc/vc-svn.el (vc-svn-find-admin-dir):
1201 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1202 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1203 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1204 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1205
a27c1b72
SM
12062013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1209
258ab3bc
SM
12102013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * subr.el (read-passwd): Hide chars even when called within a context
1213 where after-change-functions is disabled (bug#15501).
1214 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1215 until we removed ourself from overriding-terminal-local-map.
1216
939fb29c
LL
12172013-10-04 Leo Liu <sdl.web@gmail.com>
1218
258ab3bc
SM
1219 * progmodes/octave.el (inferior-octave-mode):
1220 Call compilation-forget-errors.
939fb29c 1221
63bd7f35
XF
12222013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1223
1224 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1225
9e6229fa
MA
12262013-10-04 Michael Albinus <michael.albinus@gmx.de>
1227
1228 * net/secrets.el (secrets-create-collection): Add optional
1229 argument ALIAS. Use proper Label keyword. Append ALIAS as
1230 dbus-call-method argument. (Bug#15516)
1231
1dab32a3
LL
12322013-10-04 Leo Liu <sdl.web@gmail.com>
1233
1234 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1235 (inferior-octave-compilation-font-lock-keywords): New variables.
1236 (compilation-error-regexp-alist)
1237 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1238 (inferior-octave-mode): Use compilation-shell-minor-mode.
1239
6cad7ba3
JS
12402013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1241
1242 * minibuffer.el (completion--replace): Be careful that `end' might be
1243 a marker.
1244
acbadd00
DU
12452013-10-03 Daiki Ueno <ueno@gnu.org>
1246
1247 Add support for package signature checking.
1248 * emacs-lisp/package.el (url-http-file-exists-p)
1249 (epg-make-context, epg-context-set-home-directory)
1250 (epg-verify-string, epg-context-result-for)
1251 (epg-signature-status, epg-signature-to-string)
1252 (epg-check-configuration, epg-configuration)
1253 (epg-import-keys-from-file): Declare.
1254 (package-check-signature): New user option.
1255 (package-unsigned-archives): New user option.
1256 (package-desc): Add `signed' field.
1257 (package-load-descriptor): Set `signed' field if .signed file exists.
1258 (package--archive-file-exists-p): New function.
1259 (package--check-signature): New function.
1260 (package-install-from-archive): Check package signature.
1261 (package--download-one-archive): Check archive signature.
1262 (package-delete): Remove .signed file.
1263 (package-import-keyring): New command.
1264 (package-refresh-contents): Import default keyring.
1265 (package-desc-status): Add "unsigned" status.
1266 (describe-package-1, package-menu--print-info)
1267 (package-menu-mark-delete, package-menu--find-upgrades)
1268 (package-menu--status-predicate): Support "unsigned" status.
1269
adf2aa61
SM
12702013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1271
1272 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1273 the new compilation scheme using the new byte-codes.
1274
1275 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1276 (byte-pophandler): New byte codes.
1277 (byte-goto-ops): Adjust accordingly.
1278 (byte-compile--use-old-handlers): New var.
1279 (byte-compile-catch): Use new byte codes depending on
1280 byte-compile--use-old-handlers.
1281 (byte-compile-condition-case--old): Rename from
1282 byte-compile-condition-case.
1283 (byte-compile-condition-case--new): New function.
1284 (byte-compile-condition-case): New function that dispatches depending
1285 on byte-compile--use-old-handlers.
1286 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1287 when we can.
1288
1289 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1290 Optimize under `condition-case' and `catch' if
1291 byte-compile--use-old-handlers is nil.
1292 (disassemble-offset): Handle new bytecodes.
1293
328a8179
SM
12942013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * subr.el (error): Use `declare'.
1297 (decode-char, encode-char): Use advertised-calling-convention instead
1298 of the docstring to discourage use of the `restriction' arg.
1299
15a1e936
DU
13002013-10-03 Daiki Ueno <ueno@gnu.org>
1301
1302 * epg.el (epg-verify-file): Add a comment saying that it does not
1303 notify verification error as a return value nor a signal.
1304 (epg-verify-string): Ditto.
1305
376f862a
KR
13062013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1307
1308 * progmodes/compile.el (compilation-start): Try globbing the arg to
1309 `cd' (bug#15417).
1310
a2f93a5f
MA
13112013-10-02 Michael Albinus <michael.albinus@gmx.de>
1312
1313 Sync with Tramp 2.2.8.
1314
1315 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1316 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1317 * net/trampver.el: Update release number.
1318
0daa0804
JD
13192013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1320
1321 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1322 and default-process-coding-system for darwin only.
1323
abd1ae34
SM
13242013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1327
be4e325d
MH
13282013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1329
1330 * vc/vc-git.el (vc-git-grep): Disable pager.
1331
e9155c4a
DG
13322013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1333
494e898b
DG
1334 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1335 Use :url instead of :homepage, as per
1336 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1337
e9155c4a
DG
1338 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1339 non-nil, use `syntax-ppss' (Bug#15251).
1340
481a8e0f
RS
13412013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1342
be4e325d
MH
1343 * progmodes/octave.el (inferior-octave-startup-file):
1344 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1345
056453c6
DG
13462013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1347
be4e325d
MH
1348 * emacs-lisp/package.el (package-desc-from-define):
1349 Accept additional arguments as plist, convert them to an alist and store
1350 them in the `extras' slot.
056453c6
DG
1351 (package-generate-description-file): Convert extras alist back to
1352 plist and append to the `define-package' form arguments.
1353 (package--alist-to-plist): New function.
1354 (package--ac-desc): Add `extras' slot.
1355 (package--add-to-archive-contents): Check if the archive-contents
1356 vector is long enough, and if it is, pass its `extras' slot value
1357 to `package-desc-create'.
1358 (package-buffer-info): Call `lm-homepage', pass the returned value
1359 to `package-desc-from-define'.
1360 (describe-package-1): Render the homepage button (Bug#13291).
1361
be4e325d
MH
1362 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1363 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1364
832966e5
JD
13652013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1366
1367 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1368 and default-process-coding-system to utf-8-unix (Bug#15402).
1369
6cfe977d
XF
13702013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1371
1372 * subr.el (looking-back): Do not recommend using looking-back.
1373
38de11bd
AM
13742013-09-28 Alan Mackenzie <acm@muc.de>
1375
1376 Fix indentation/fontification of Java enum with "implements".
1377
1378 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1379 regexp which matches "implements", etc., in Java.
1380 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1381 specifier clauses coming after "enum".
1382 * progmodes/cc-fonts.el (c-font-lock-declarations)
1383 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1384 after "enum".
1385
1610938f
JD
13862013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1387
1388 * faces.el (region): Change ns_selection_color to
1389 ns_selection_fg_color, add ns_selection_bg_color.
1390
e090f499
LL
13912013-09-28 Leo Liu <sdl.web@gmail.com>
1392
4d2e94d1
LL
1393 * progmodes/octave.el (inferior-octave-completion-table)
1394 (inferior-octave-completion-at-point): Minor tweaks.
1395
e090f499
LL
1396 * textmodes/ispell.el (ispell-lookup-words): Rename from
1397 lookup-words. (Bug#15460)
1398 (lookup-words): Obsolete.
1399 (ispell-complete-word, ispell-command-loop): All uses changed.
1400
7e138a62
RS
14012013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1402
1403 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1404 (octave-mode-menu): Add octave-send-buffer.
1405 (octave-send-buffer): New function.
1406
5af5ed08
RS
14072013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1408
1409 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1410 octave-lookfor.
1411 (octave-mode-menu): Add octave-lookfor.
1412 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1413 octave-lookfor.
1414 (octave-lookfor): New function.
1415
3b7b2692
SM
14162013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * emacs-lisp/cl-macs.el:
1419 (cl--loop-destr-temps): Remove.
1420 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1421 its convention.
1422 (cl--loop-set-iterator-function): New function.
1423 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1424 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1425 Bind `it' with `let' instead of substituting it with `cl-subst'.
1426 (cl--unused-var-p): New function.
1427 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1428 Eliminate some unused variable warnings (bug#15326).
1429
529fb53f
TH
14302013-09-27 Tassilo Horn <tsdh@gnu.org>
1431
1432 * doc-view.el (doc-view-scale-reset): Rename from
1433 `doc-view-reset-zoom-level'.
1434 (doc-view-scale-adjust): New command.
1435 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1436 `doc-view-scale-adjust'.
1437
0550c95a
TH
14382013-09-26 Tassilo Horn <tsdh@gnu.org>
1439
1440 * doc-view.el (doc-view-reset-zoom-level): New command.
1441 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1442 zoom commands (bug#15466).
1443
6950f152
KH
14442013-09-26 Kenichi Handa <handa@gnu.org>
1445
1446 * international/quail.el (quail-help): Make it not a command.
1447
39587580
LL
14482013-09-26 Leo Liu <sdl.web@gmail.com>
1449
1450 * minibuffer.el (completion-all-sorted-completions): Make args
1451 optional as they are.
1452
00578659
DC
14532013-09-25 Daniel Colascione <dancol@dancol.org>
1454
1455 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1456 specs are and that they're not evaluated.
1457
0c173878
SS
14582013-09-24 Sam Steingold <sds@gnu.org>
1459
1460 * midnight.el (clean-buffer-list-kill-regexps)
1461 (clean-buffer-list-kill-buffer-names): Update for the new Man
1462 buffer naming which includes the object name.
1463
84998447
SM
14642013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1467 (eshell-parse-command, eshell-parse-pipeline): Use it since
1468 eshell-separate-commands requires a dynamic scoped var.
1469 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1470
33215353
LL
14712013-09-23 Leo Liu <sdl.web@gmail.com>
1472
1473 * autoinsert.el (auto-insert-alist): Make the value of
1474 lexical-binding match its file setting.
1475
57b16162
JB
14762013-09-23 Juanma Barranquero <lekktu@gmail.com>
1477
c8af4e67
JB
1478 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1479
57b16162
JB
1480 * autoarg.el (autoarg-kp-digit-argument):
1481 * electric.el (Electric-command-loop):
1482 * kmacro.el (kmacro-step-edit-insert):
1483 Do not set universal-argument-num-events.
1484
7186ba60
LL
14852013-09-22 Leo Liu <sdl.web@gmail.com>
1486
1487 * files.el (interpreter-mode-alist): Add octave.
1488
ece15004
AM
14892013-09-21 Alan Mackenzie <acm@muc.de>
1490
1491 C++: fontify identifier in declaration following "public:" correctly.
1492 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1493 to match "public", etc.
1494 (c-decl-prefix-re): Add ":" into the C++ value.
1495 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1496 bit. Add a check for a ":" preceded by "public", etc.
1497
75d83e22
EZ
14982013-09-21 Eli Zaretskii <eliz@gnu.org>
1499
1500 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1501 recognized by GDB 7.5 and later.
1502
d052d3bd
XF
15032013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1504
1505 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1506
31dca772
R
15072013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * subr.el (internal--call-interactively): New const.
1510 (called-interactively-p): Use it (bug#3984).
1511
98ccf24e
XF
15122013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1513
1514 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1515 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1516 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1517
c39cc7d1
SM
15182013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1521 (eshell-ls-orig-insert-directory): Remove.
1522 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1523 (eshell-ls-use-in-dired): Use advice-add/remove.
1524 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1525 Add `orig-fun' arg for use in :around advice.
1526 Make it check (redundantly) eshell-ls-use-in-dired.
1527
9a0289a2
GM
15282013-09-19 Glenn Morris <rgm@gnu.org>
1529
a2c501b8
GM
1530 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1531
c440407a
GM
1532 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1533
9a0289a2
GM
1534 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1535
85e05915
MA
15362013-09-19 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1539 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1540 (tramp-get-remote-python): New defuns.
1541 (tramp-get-remote-uid-with-perl)
1542 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1543 contributed by yary <not.com@gmail.com> (tiny change).
1544 (tramp-get-remote-uid-with-python)
1545 (tramp-get-remote-gid-with-python): New defuns. Python code
1546 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1547 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1548
ce503312
GM
15492013-09-19 Glenn Morris <rgm@gnu.org>
1550
f7544773
GM
1551 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1552
72fd2877
GM
1553 * eshell/em-unix.el (eshell-remove-entries):
1554 Rename argument to avoid name-clash with global `top-level'.
1555
336b5a56
GM
1556 * eshell/esh-proc.el (eshell-kill-process-function):
1557 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1558 (eshell-reset-after-proc): Remove unused arg `proc'.
1559
57a3a53d
GM
1560 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1561 (directory-files-and-attributes): Mark unused arg.
1562
3261d4af
GM
1563 * eshell/em-unix.el (eshell-remove-entries):
1564 Remove unused arg `path'. Update callers.
1565
8e51b5d0
GM
1566 * eshell/em-hist.el (eshell-hist-parse-arguments):
1567 Remove unused arg `silent'. Update callers.
1568
ce503312
GM
1569 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1570 Fix (f)boundp mix-up.
1571
1572 * eshell/em-smart.el (eshell-smart-scroll-window)
1573 (eshell-disable-after-change):
336b5a56 1574 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1575
ee3ce8a7
AM
15762013-09-18 Alan Mackenzie <acm@muc.de>
1577
1578 Fix fontification of type when followed by "const".
1579 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1580 "known" types from fontification.
1581
ec9177ba
GM
15822013-09-18 Glenn Morris <rgm@gnu.org>
1583
7bb3e768
GM
1584 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1585 (chart-face-list): Drop Emacsen without display-color-p.
1586
5148da15
GM
1587 * net/eww.el (libxml-parse-html-region): Declare.
1588 (eww-display-html): Explicit error if no libxml2 support.
1589
2f68e157
GM
1590 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1591
9019d095
GM
1592 * image.el (image-type-from-buffer, image-multi-frame-p):
1593 Remove --without-x warning/error.
67645389 1594
5f30349b 1595 * mouse.el (mouse-yank-primary):
45069b2e 1596 * term.el (term-mouse-paste):
5f30349b
GM
1597 Reorder to silence --without-x compilation.
1598
cd8edbbe
GM
1599 * mpc.el (doc-view-mode): Silence --without-x compilation.
1600
8a78544e
GM
1601 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1602 Silence --without-x compilation.
1603
12679bfd
GM
1604 * progmodes/gud.el (gud-find-file, gud-mode):
1605 Silence --without-x compilation.
1606 (tooltip-mode): Declare.
30810a05 1607
f0047cb9
GM
1608 * wdired.el (dired-backup-overwrite): Remove declaration.
1609 (wdired-mode-map): Add doc string.
1610
e740f9d2
GM
1611 * custom.el (x-get-resource): Declare.
1612
92d77c89
GM
1613 * eshell/em-glob.el (ange-cache):
1614 * eshell/em-unix.el (ange-cache): Declare.
1615
76e69577
GM
1616 * faces.el (x-display-list, x-open-connection, x-get-resource):
1617 Declare.
7e58af4b
GM
1618
1619 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1620 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1621 Declare.
76e69577 1622
4bd4c0af 1623 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1624
ffb82dbd
GM
1625 * net/gnutls.el (gnutls-log-level): Declare.
1626
986ed135
GM
1627 * net/shr.el (image-size, image-animate): Declare.
1628
e740f9d2
GM
1629 * simple.el (font-info): Declare.
1630
d2f3e9f8
GM
1631 * subr.el (x-popup-dialog): Declare.
1632
047a1a4c
GM
1633 * term/common-win.el (x-select-enable-primary)
1634 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1635 Declare.
1636
f4a1d572
GM
1637 * term/ns-win.el (x-handle-args): Declare.
1638
e843de77
GM
1639 * term/x-win.el (x-select-enable-clipboard): Declare.
1640
5fa89513
GM
1641 * term/w32-win.el (create-default-fontset): Declare.
1642
38702b5b
GM
1643 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1644 Declare.
1645
e740f9d2
GM
1646 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1647 (fit-frame-to-buffer): Explicit error if --without-x.
1648 (mouse-autoselect-window-select): Silence compiler.
1649
49a053fc
GM
1650 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1651
1652 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1653 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1654 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1655 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1656 Remove unused local variables.
1657
1658 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1659
ec9177ba
GM
1660 * textmodes/two-column.el: Make 2C-split work for --without-x.
1661 (scroll-bar-columns): Autoload.
1662 (top-level): Require fringe when compiling.
1663
9f25cb77
LL
16642013-09-18 Leo Liu <sdl.web@gmail.com>
1665
1666 * subr.el (add-hook): Robustify to handle closure as well.
1667
2b42da98
GM
16682013-09-17 Glenn Morris <rgm@gnu.org>
1669
1670 * simple.el (messages-buffer-mode-map): Unbind "g".
1671
e8b66a6a
SM
16722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1673
9c0ad4f7
SM
1674 * help-mode.el (help-mode-finish): Use derived-mode-p.
1675 Remove obsolete highlighting.
1676
7a806dfb
SM
1677 * play/life.el (life-mode): Use define-derived-mode. Derive from
1678 special-mode.
1679 (life): Let-bind inhibit-read-only.
1680 (life-setup): Avoid `setq'. Use `life-mode'.
1681
96dbf5a8
SM
1682 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1683 which should not be needed any more.
1684 (package-menu-refresh, package-menu-describe-package): Use user-error.
1685
e8b66a6a
SM
1686 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1687 (eshell-post-rewrite-command-hook): Make obsolete.
1688 (eshell-parse-command): Simplify.
1689 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1690 (eshell--cmd): Declare.
1691 (eshell-parse-pipeline): Remove unused var `final-p'.
1692 Pass a dynvar to eshell-post-rewrite-command-hook.
1693 Implement the new eshell-post-rewrite-command-function.
1694 (eshell-invoke-directly): Remove unused arg `input'.
1695 * eshell/esh-io.el (eshell-io-initialize):
1696 Use eshell-post-rewrite-command-function (bug#15399).
1697 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1698 adjust to new calling convention.
1699 (eshell-create-handles): Rename args to avoid clashing with dynvar
1700 `standard-output'.
1701
90582f05
GM
17022013-09-17 Glenn Morris <rgm@gnu.org>
1703
1704 * simple.el (messages-buffer-mode): New major mode.
1705 (messages-buffer): New function.
1706 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1707 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1708 (ert-run-test): Use `messages-buffer' function.
90582f05 1709 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1710 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1711 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1712
39eb0cb5 17132013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1714
1715 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1716
1f1e06e2
SM
1717 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1718
70568a90
SM
17192013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1720
504a0381
SM
1721 * icomplete.el (icomplete-in-buffer): New var.
1722 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1723 vars and replace them with functions.
1724 (icomplete-minibuffer-setup): Adjust accordingly.
1725 (icomplete--completion-table, icomplete--completion-predicate)
1726 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1727 New functions.
1728 (icomplete-forward-completions, icomplete-backward-completions)
1729 (icomplete-simple-completing-p, icomplete-exhibit)
1730 (icomplete-completions): Use them.
1731 (icomplete--in-region-buffer): New var.
1732 (icomplete--in-region-setup): New function.
1733 (icomplete-mode): Use it.
1734
70568a90
SM
1735 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1736 (bug#15379).
1737 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1738 return args and options.
1739 (eshell-eval-using-options): Use the new return value of
1740 eshell--do-opts to set the options's vars in their scope.
1741 (eshell--set-option): Rename from eshell-set-option.
1742 Add arg `opt-vals'.
1743 (eshell--process-option): Rename from eshell-process-option.
1744 Add arg `opt-vals'.
1745 (eshell--process-args): Use an `opt-vals' alist to store the options's
1746 values during their processing and return them additionally to the
1747 remaining args.
1748
578c21bc
DG
17492013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1750
1751 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1752 continuation character an operator, as far as indentation is
1753 concerned (Bug#15369).
1754
c089653d
MR
17552013-09-15 Martin Rudalics <rudalics@gmx.at>
1756
1757 * window.el (window--state-put-2): Don't process buffer state
1758 when buffer doesn't exist any more (Bug#15382).
1759
1e53bb4b
GM
17602013-09-15 Glenn Morris <rgm@gnu.org>
1761
30753242
GM
1762 * eshell/em-unix.el (eshell/rm):
1763 Make -f ignore missing files. (Bug#15373)
1764
1e53bb4b
GM
1765 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1766 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1767 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1768
0d8863b3
GM
17692013-09-14 Glenn Morris <rgm@gnu.org>
1770
1771 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1772
d3fc6549
GM
17732013-09-13 Glenn Morris <rgm@gnu.org>
1774
1775 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1776 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1777
fcd42c11
DA
17782013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1779
1780 * frame.el (x-focus-frame): Mark as declared in frame.c.
1781
7830899f
SM
17822013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * ls-lisp.el: Use advice-add.
1785 (original-insert-directory): Remove.
1786 (ls-lisp--insert-directory): Rename from insert-directory; add
1787 `orig-fun' argument.
1788 (insert-directory): Advise.
1789
84387cd2
EZ
17902013-09-13 Eli Zaretskii <eliz@gnu.org>
1791
1792 * term.el (term-emulate-terminal): Decode the command string
1793 before passing it to term-command-hook. (Bug#15337)
1794
35ffc6ba
GM
17952013-09-13 Glenn Morris <rgm@gnu.org>
1796
5c3f9bcc
GM
1797 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1798
2ada368a
GM
1799 * eshell/esh-ext.el (eshell-search-path): Declare.
1800
fcef2e13
GM
1801 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1802 Otherwise an error occurs if eshell-dirs module not loaded.
1803
35ffc6ba
GM
1804 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1805
35c3d36e
MA
18062013-09-13 Michael Albinus <michael.albinus@gmx.de>
1807
1808 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1809 `tramp-check-proper-host'. Check for a valid method name.
1810
1811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1812 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1813 * net/tramp-sh.el (tramp-maybe-open-connection):
1814 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1815
1816 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1817 also for hash values.
1818
ae5e4c48
SM
18192013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1820
379add74
SM
1821 * term/ns-win.el (parameters): Don't declare as dynamic.
1822 (before-make-frame-hook): Don't add ineffective function.
1823
ae5e4c48
SM
1824 * eshell/*.el: Use lexical-binding (bug#15231).
1825
b5623270
KH
18262013-09-12 Kenichi Handa <handa@gnu.org>
1827
ae5e4c48 1828 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1829
30213927
GM
18302013-09-12 Glenn Morris <rgm@gnu.org>
1831
be94d713 1832 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1833 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1834
44915370
GM
1835 * subr.el (do-after-load-evaluation): Also give compiler warnings
1836 when obsolete files are used (except by obsolete files).
1837
a6ae021f
GM
1838 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1839 in the status output, assume `filename' is the first. (Bug#15322)
1840
40e64f0c
GM
1841 * vc/vc.el (vc-deduce-fileset): Doc fix.
1842
16d9f896
GM
1843 * calc/calc-help.el (Info-goto-node):
1844 * progmodes/cperl-mode.el (Info-find-node):
1845 * vc/ediff.el (Info-goto-node): Update declarations.
1846
dea01c6e
GM
1847 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1848
759880bf 1849 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1850 (vc-bzr-pull): Require vc-dispatcher.
1851 * vc/vc-git.el (vc-compilation-mode): Declare.
1852 (vc-git-pull): Require vc-dispatcher.
1853
08d66420
GM
1854 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1855
30b626e9
GM
1856 * progmodes/octave.el (help-button-action): Declare.
1857
8c05cb10
GM
1858 * shell.el (shell-directory-tracker): Output error as a message
1859 rather than just returning it as a string.
1860 (shell-process-pushd): Remove useless use of message.
1861
30213927
GM
1862 * dframe.el (dframe-timer-fn):
1863 * files.el (dir-locals-read-from-file):
1864 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1865 (mpc-format):
1866 * reveal.el (reveal-post-command):
1867 * saveplace.el (load-save-place-alist-from-file):
1868 * shell.el (shell-resync-dirs):
1869 * w32-common-fns.el (x-get-selection-value):
1870 * emacs-lisp/copyright.el (copyright-find-copyright):
1871 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1872 * emulation/tpu-edt.el (tpu-copy-keyfile):
1873 * play/bubbles.el (bubbles--mark-neighbourhood):
1874 * progmodes/executable.el
1875 (executable-make-buffer-file-executable-if-script-p):
1876 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1877
d3b049e6
SM
18782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1879
170266d0
SM
1880 Cleanup Eshell to rely less on dynamic scoping.
1881 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1882 last-value, and ext-command here. Bind `args' closer to `body'.
1883 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1884 (eshell--args): Declare new dynamic var.
1885 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1886 last-value, and ext-command. Pass `args' to `body'.
1887 (eshell-process-args): Bind eshell--args.
1888 (eshell-set-option): Use eshell--args.
1889 * eshell/eshell.el (eshell): Use derived-mode-p.
1890 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1891 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1892 (eshell-glob-function): Declare.
1893 * eshell/esh-util.el: Require cl-lib.
1894 (eshell-read-hosts-file): Avoid add-to-list.
1895 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1896 `err'.
1897 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1898 Declare.
1899 (eshell/diff): Remove unused var `err'.
1900 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1901 `killflag'.
1902 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1903 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1904 first use.
1905 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1906 Move declaration before first use.
1907 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1908 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1909 rely on cl-return.
1910
56834f3b
GM
19112013-09-12 Glenn Morris <rgm@gnu.org>
1912
1913 * term/ns-win.el (global-map): Remove binding for ispell-next,
1914 deleted 1999-05-29. (Bug#15357)
1915
5c91a2b8
GM
19162013-09-11 Glenn Morris <rgm@gnu.org>
1917
da712f22
GM
1918 * echistory.el (electric-command-history): Remove call to deleted func.
1919
512e4cdc
GM
1920 * play/landmark.el (landmark-mode): Fix typos.
1921
d3506ca5
GM
1922 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1923 Check cvs-sort-ignore-file is bound.
1924
5c91a2b8
GM
1925 * savehist.el: No need for cl when compiling on Emacs.
1926
feeff482
SM
19272013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1928
656bd483
SM
1929 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1930 (bug#15338).
d3b049e6
SM
1931 (eshell-self-insert-command, eshell-send-invisible):
1932 Remove unused argument.
656bd483
SM
1933 (eshell-handle-control-codes): Remove unused var `orig'.
1934 Avoid delete-backward-char.
1935
feeff482
SM
1936 * files.el (set-auto-mode): Simplify a bit further.
1937
2a08047a
GM
19382013-09-11 Glenn Morris <rgm@gnu.org>
1939
1940 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1941 (set-auto-mode): Don't regexp-quote elements.
1942 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1943 * progmodes/cc-mode.el (interpreter-mode-alist):
1944 * progmodes/ruby-mode.el (interpreter-mode-alist):
1945 Revert previous change.
1946
34675540
SM
19472013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1b3b87df
SM
1949 * play/snake.el (snake-mode):
1950 * play/mpuz.el (mpuz-mode):
1951 * play/landmark.el (lm-mode):
1952 * play/blackbox.el (blackbox-mode):
1953 * play/5x5.el (5x5-mode):
1954 * obsolete/options.el (Edit-options-mode):
1955 * net/quickurl.el (quickurl-list-mode):
1956 * net/newst-treeview.el (newsticker-treeview-mode):
1957 * mail/rmailsum.el (rmail-summary-mode):
1958 * mail/mspools.el (mspools-mode):
1959 * locate.el (locate-mode):
1960 * ibuffer.el (ibuffer-mode):
1961 * emulation/ws-mode.el (wordstar-mode):
1962 * emacs-lisp/debug.el (debugger-mode):
1963 * array.el (array-mode):
1964 * net/eudc.el (eudc-mode): Use define-derived-mode.
1965 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1966 Move initialization into declaration.
1967 (mairix-searches-mode): Use define-derived-mode.
1968 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1969 (eudc-edit-hotlist): Use dolist.
1970 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1971 (Man-mode): Use define-derived-mode.
1972 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1973 (Info-edit-mode): Use define-derived-mode.
1974 (Info-cease-edit): Use Info-mode.
1975 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1976 into declaration.
1977 (eshell-mode): Use define-derived-mode.
1978 * chistory.el (command-history-mode-map): Rename from
1979 command-history-map.
1980 (command-history-mode): Use define-derived-mode.
da712f22 1981 (Command-history-setup): Remove function.
1b3b87df
SM
1982 * calc/calc.el (calc-trail-mode-map): New var.
1983 (calc-trail-mode): Use define-derived-mode.
1984 (calc-trail-buffer): Set calc-main-buffer manually.
1985 * bookmark.el (bookmark-insert-annotation): New function.
1986 (bookmark-edit-annotation): Use it.
1987 (bookmark-edit-annotation-mode): Make it a proper major mode.
1988 (bookmark-send-edited-annotation): Use derived-mode-p.
1989 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1990 closer to its ideal place. Use \' to match EOS.
1991
34675540
SM
1992 * profiler.el (profiler-calltree-find): Use function-equal.
1993
6a5c15d9
GM
19942013-09-10 Glenn Morris <rgm@gnu.org>
1995
1af4c220
GM
1996 * files.el (interpreter-mode-alist): Convert to regexps.
1997 (set-auto-mode): Adapt for this. (Bug#15306)
1998 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1999 Comment out unused variable.
2000 * progmodes/cc-mode.el (interpreter-mode-alist):
2001 * progmodes/python.el (interpreter-mode-alist):
2002 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2003 * progmodes/sh-script.el (sh-set-shell):
2004 No longer use interpreter-mode-alist to get list of shells.
2005
6a5c15d9
GM
2006 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2007
8c27f5ff
SM
20082013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2009
02ef6c1a 2010 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2011 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2012 Bind switch-frame explicitly. Replace universal-argument-minus with
2013 a conditional binding.
2014 (universal-argument-num-events, saved-overriding-map): Remove.
2015 (restore-overriding-map): Remove.
2016 (universal-argument--mode): Rename from save&set-overriding-map,
2017 and rewrite.
2018 (universal-argument, universal-argument-more, negative-argument)
2019 (digit-argument): Adjust accordingly.
2020 (universal-argument-minus): Remove.
2021 (universal-argument-other-key): Remove.
2022
8c27f5ff
SM
2023 * subr.el (with-demoted-errors): Add `format' argument.
2024
6480194c
MA
20252013-09-10 Michael Albinus <michael.albinus@gmx.de>
2026
2027 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2028 `tramp-cleanup-connection'.
2029
2030 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2031 parameters KEEP-DEBUG and KEEP-PASSWORD.
2032
2033 * net/tramp.el (tramp-file-name-handler):
2034 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2035 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2036 (tramp-maybe-open-connection):
8c27f5ff
SM
2037 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2038 Use `tramp-cleanup-connection'.
6480194c 2039
8c27f5ff
SM
2040 * net/tramp-sh.el (tramp-maybe-open-connection):
2041 Catch 'uname-changed inside the progress reporter.
6480194c 2042
e5e916d8
GM
20432013-09-10 Glenn Morris <rgm@gnu.org>
2044
9a2c9b47
GM
2045 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2046
e5e916d8
GM
2047 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2048 returns "alternate access method" in mode (eg "-rw-r--r--.").
2049
144e38fe
GM
20502013-09-08 Glenn Morris <rgm@gnu.org>
2051
2052 * saveplace.el (load-save-place-alist-from-file):
2053 Demote errors. (Bug#15305)
2054
af9ff9e8
MA
20552013-09-08 Michael Albinus <michael.albinus@gmx.de>
2056
2057 Improve compatibility with older Emacsen, and XEmacs.
2058
2059 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2060 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2061 (with-tramp-progress-reporter): Do not let-bind `result'.
2062 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2063 (tramp-handle-make-auto-save-file-name): New function, moved from
2064 tramp-sh.el.
2065
2066 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2067 for `make-auto-save-file-name'.
8c27f5ff
SM
2068 (tramp-adb--gnu-switches-to-ash):
2069 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2070
2071 * net/tramp-cache.el (tramp-cache-print): Call
2072 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2073
2074 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2075 bound. It isn't for XEmacs.
2076
8c27f5ff
SM
2077 * net/tramp-compat.el (tramp-compat-copy-file):
2078 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2079 (tramp-compat-replace-regexp-in-string): New defun.
2080
2081 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2082 for `make-auto-save-file-name'.
2083 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2084 `copy-file'.
2085 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2086 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2087 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2088
8c27f5ff
SM
2089 * net/tramp-gw.el (tramp-gw-open-network-stream):
2090 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2091
8c27f5ff
SM
2092 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2093 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2094 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2095 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2096 (tramp-sh-file-inotifywait-process-filter):
2097 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2098 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2099
2100 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2101 for `make-auto-save-file-name'.
8c27f5ff
SM
2102 (tramp-smb-handle-copy-directory):
2103 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2104 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2105 (tramp-smb-handle-copy-file): Improve error message.
2106 (tramp-smb-handle-rename-file): Rename directly only in case
2107 `newname' does not exist yet. This is a restriction of smbclient.
2108 (tramp-smb-maybe-open-connection): Rerun the function only when
2109 `auth-sources' is non-nil.
2110
0ca754d0
KH
21112013-09-08 Kenichi Handa <handa@gnu.org>
2112
2113 * international/characters.el: Set category "^" (Combining) for
2114 more characters.
2115
e8dd0787
AM
21162013-09-07 Alan Mackenzie <acm@muc.de>
2117
2118 Correctly fontify Java class constructors.
2119 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2120 in Java Mode.
2121 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2123 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2124 "typeless" declaration there.
2125
f2f248e7
RW
21262013-09-07 Roland Winkler <winkler@gnu.org>
2127
2128 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2129 field subtitle for entry type book.
2130
67982e2b
SM
21312013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * minibuffer.el: Make minibuffer-complete call completion-in-region
2134 rather than other way around.
2135 (completion--some, completion-pcm--find-all-completions):
2136 Don't delay signals when debugging.
2137 (minibuffer-completion-contents): Beware fields within the
2138 minibuffer contents.
2139 (completion-all-sorted-completions): Use defvar-local.
2140 (completion--do-completion, completion--cache-all-sorted-completions)
2141 (completion-all-sorted-completions, minibuffer-force-complete):
2142 Add args `beg' and `end'.
2143 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2144 (minibuffer-complete): Use completion-in-region.
2145 (completion-complete-and-exit): New fun, extracted from
2146 minibuffer-complete-and-exit.
2147 (minibuffer-complete-and-exit): Use it.
2148 (completion--complete-and-exit): Rename from
2149 minibuffer--complete-and-exit.
2150 (completion-in-region--single-word): New function, extracted from
2151 minibuffer-complete-word.
2152 (minibuffer-complete-word): Use it.
2153 (display-completion-list): Make `common-substring' argument obsolete.
2154 (completion--in-region): Call completion--in-region-1 instead of
2155 minibuffer-complete.
2156 (completion-help-at-point): Pass boundaries to
2157 minibuffer-completion-help as args rather than via an overlay.
2158 (completion-pcm--string->pattern): Use `any-delim'.
2159 (completion-pcm--optimize-pattern): New function.
2160 (completion-pcm--pattern->regex): Handle `any-delim'.
2161 * icomplete.el (icomplete-forward-completions)
2162 (icomplete-backward-completions, icomplete-completions):
2163 Adjust calls to completion-all-sorted-completions and
2164 completion--cache-all-sorted-completions.
2165 (icomplete-with-completion-tables): Default to t.
2166 * emacs-lisp/crm.el (crm--current-element): Rename from
2167 crm--select-current-element. Don't put an overlay but return the
2168 boundaries instead.
2169 (crm--completion-command): Take two new args to bind to the boundaries.
2170 (crm-completion-help): Adjust accordingly.
2171 (crm-complete): Use completion-in-region.
2172 (crm-complete-word): Use completion-in-region--single-word.
2173 (crm-complete-and-exit): Use completion-complete-and-exit.
2174
e17d94a5
SM
21752013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2178 than dynamically.
2179
96727100
JL
21802013-09-06 Juri Linkov <juri@jurta.org>
2181
2182 * info.el (Info-display-images-node): When image file doesn't exist
2183 display text version of the image if it's provided in the Info file.
2184 Otherwise, display the location of missing image from SRC attribute.
2185 Add help-echo text property from ALT attribute. (Bug#15279)
2186
86cf7329
SM
21872013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2190 (edit-abbrevs-mode): Use define-derived-mode.
2191
2192 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2193 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2194 that it's defined.
2195 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2196 Use define-derived-mode.
2197
2198 * epg.el (epg-start-encrypt): Minor CSE simplification.
2199
816244a2
WX
22002013-09-06 William Xu <william.xwl@gmail.com>
2201
2202 * arc-mode.el: Add support for 7za (bug#15264).
2203 (archive-7z-program): New var.
2204 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2205 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2206 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2207
1486fa31
MA
22082013-09-06 Michael Albinus <michael.albinus@gmx.de>
2209
2210 Remove URL syntax.
2211
2212 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2213 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2214 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2215 (tramp-postfix-host-format, tramp-file-name-regexp)
2216 (tramp-completion-file-name-regexp)
2217 (tramp-completion-dissect-file-name)
2218 (tramp-handle-substitute-in-file-name): Remove 'url case.
2219 (tramp-file-name-regexp-url)
2220 (tramp-completion-file-name-regexp-url): Remove constants.
2221
39785324
GM
22222013-09-06 Glenn Morris <rgm@gnu.org>
2223
2224 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2225
1f896cb7
DG
22262013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2227
2228 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2229 keywords" below "here-doc beginnings" (Bug#15270).
2230
c0458e0b
SM
22312013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * subr.el (pop): Use `car-safe'.
2234 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2235 to detect unused `pop' return value.
2236
2237 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2238 var `block-regexp'.
2239 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2240 (python-fill-string): Remove unused var `marker'.
2241 (python-skeleton-add-menu-items): Remove unused var `items'.
2242
2243 * international/mule-cmds.el: Require CL.
2244 (find-coding-systems-for-charsets): Avoid add-to-list.
2245 (sanitize-coding-system-list): New function, extracted from
2246 select-safe-coding-system-interactively.
2247 (select-safe-coding-system-interactively): Use it.
2248 (read-input-method-name): Accept symbols for `default'.
2249
2250 * emacs-lisp/advice.el (defadvice): Add indent rule.
2251
6c42fc3e
DH
22522013-09-05 Daniel Hackney <dan@haxney.org>
2253
2254 * dired-x.el:
2255 * net/ange-ftp.el:
2256 * net/browse-url.el:
2257 * net/dbus.el:
2258 * net/eudc.el:
2259 * net/eudcb-ldap.el:
2260 * net/eww.el:
2261 * net/imap.el:
2262 * printing.el:
2263 * vc/ediff-diff.el:
2264 * vc/ediff-init.el:
2265 * vc/ediff-merg.el:
2266 * vc/ediff-mult.el:
2267 * vc/ediff-util.el:
2268 * vc/ediff-wind.el:
2269 * vc/ediff.el:
2270 * vc/emerge.el:
2271 * vc/pcvs.el:
2272 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2273 byte compiler. Remove some unused let-bound variables.
2274
4c528aab
SM
22752013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2278 a "ref-cell", since it gets better optimized (bug#14883).
2279
bd15c390
GM
22802013-09-05 Glenn Morris <rgm@gnu.org>
2281
2282 * progmodes/cc-awk.el (c-forward-sws): Declare.
2283
1c3ac2e5
GM
22842013-09-04 Glenn Morris <rgm@gnu.org>
2285
2286 * generic-x.el [rul-generic-mode]: Require cc-mode.
2287 (c++-mode-syntax-table): Declare.
2288 (rul-generic-mode-syntax-table): Init in the defvar.
2289
52b1cc79
SM
22902013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2291
c828af56
SM
2292 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2293 (vc-do-command, vc-set-async-update):
2294 * vc/vc-mtn.el (vc-mtn-dir-status):
2295 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2296 (vc-hg-pull, vc-hg-merge-branch):
2297 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2298 (vc-git-merge-branch):
2299 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2300 (vc-cvs-dir-status-files):
2301 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2302 (vc-bzr-dir-status-files):
2303 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2304 * vc/vc-annotate.el: Use lexical-binding.
2305 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2306 (vc-sentinel-movepoint): Declare.
2307 (vc-annotate): Don't use `goto-line'.
2308 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2309 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2310 (vc-sentinel-movepoint): Declare.
2311 * vc/vc-svn.el: Use lexical-binding.
2312 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2313 * vc/vc-sccs.el:
2314 * vc/vc-rcs.el: Use lexical-binding.
2315
abae272c
SM
2316 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2317 `deleted'. Don't drop errors silently.
2318
52b1cc79
SM
2319 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2320
63191d9f
XF
23212013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2322
2323 * vc/vc.el (vc-ignore): Rewrite.
2324 (vc-default-ignore): New function.
2325 (vc-default-ignore-completion-table): Use find-ignore-file.
2326
2327 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2328 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2329 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2330 Remove. Most code moved to vc.el.
2331
9d3f707c
SM
23322013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2333
abae272c 2334 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2335 * net/tramp-smb.el (tramp-smb-get-file-entries):
2336 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2337 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2338
fde38d49
SM
2339 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2340 Update call to it.
2341 (eww-change-select): Remove unused var `properties'.
2342 (eww-make-unique-file-name): Remove unused var `base'.
2343
2344 * finder.el (finder-compile-keywords): Don't mess with windows.
2345
84032db7
SM
2346 * calculator.el (calculator-funcall): Fix typo in last change.
2347
724f5e41
SM
2348 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2349
14b511d4
SM
2350 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2351 <pkg>-autoloads.el file stop us.
2352
9d3f707c 2353 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2354 warnings, and factor out common code.
9d3f707c 2355
88527bc0
DG
23562013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2357
2358 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2359 two-character operators and whether the character preceding them
2360 changes their meaning (Bug#15208).
2361
96edb677
FEG
23622013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2363
2364 Format code sent to Python shell for robustness.
9d3f707c
SM
2365 * progmodes/python.el (python-shell-buffer-substring):
2366 New function.
96edb677
FEG
2367 (python-shell-send-region, python-shell-send-buffer): Use it.
2368
95beaef3
MA
23692013-09-02 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2372 * net/tramp.el (tramp-user-error): ... here.
2373 (tramp-find-method, tramp-check-proper-host)
2374 (tramp-dissect-file-name, tramp-debug-message)
2375 (tramp-handle-shell-command):
2376 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2377 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2378
2379 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2380
f167c27b
MR
23812013-09-02 Martin Rudalics <rudalics@gmx.at>
2382
2383 * avoid.el (mouse-avoidance-point-position)
2384 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2385 returns nil.
2386
cd16c5f1
FEG
23872013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2388
2389 * progmodes/python.el (python-shell-completion-get-completions):
2390 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2391 (python-nav-if-name-main): New command.
cd16c5f1 2392
e73c3a0d
GM
23932013-09-01 Glenn Morris <rgm@gnu.org>
2394
f8ccce03
GM
2395 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2396 Avoid leading space in $wins. Otherwise the sed command used by
2397 eg compile-main ends up containing "/*.el". (Bug#15170)
2398
e73c3a0d
GM
2399 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2400
415f808e
GM
24012013-08-30 Glenn Morris <rgm@gnu.org>
2402
2403 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2404 Fix is-this-a-directory logic. (Bug#15220)
2405
f069bba8
SM
24062013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2407
112798c1
SM
2408 * textmodes/css-mode.el: Use SMIE.
2409 (css-smie-grammar): New var.
2410 (css-smie--forward-token, css-smie--backward-token)
2411 (css-smie-rules): New functions.
2412 (css-mode): Use them.
2413 (css-navigation-syntax-table): Remove var.
2414 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2415 (css-indent-calculate, css-indent-line): Remove functions.
2416
2417 Misc changes to reduce use of `(lambda...); and other cleanups.
2418 * cus-edit.el: Use lexical-binding.
2419 (customize-push-and-save, customize-apropos)
2420 (custom-buffer-create-internal): Use closures.
2421 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2422 * progmodes/ada-xref.el: Use setq.
2423 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2424 * dframe.el: Use lexical-binding.
2425 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2426 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2427 * descr-text.el: Use lexical-binding.
2428 (describe-text-widget, describe-text-sexp, describe-property-list):
2429 Use closures.
2430 * comint.el (comint-history-isearch-push-state): Use a closure.
2431 * calculator.el: Use lexical-binding.
2432 (calculator-number-to-string): Make it work with lexical-binding.
2433 (calculator-funcall): Same and use cl-letf.
2434
2da4c3ab
SM
2435 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2436 (lisp--company-doc-string, lisp--company-location): New functions.
2437 (lisp-completion-at-point): Use them to improve Company support.
2438
f069bba8
SM
2439 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2440 params of lambda expressions.
2441 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2442 (ruby-smie--opening-pipe-p): New function.
2443 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2444 symbols and matched |...| for formal params.
2445 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2446 from being treated as hanging. Handle "rescue".
2447
6758b6a8
GM
24482013-08-29 Glenn Morris <rgm@gnu.org>
2449
2450 * progmodes/cc-engine.el (c-pull-open-brace):
2451 Move definition before use.
2452
e8dfd197
SM
24532013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2456 are immutable. Don't use `unsafe' any more.
2457 (cl--defsubst-expand): Don't substitute at the same time as keeping
2458 a residual unused let-binding. Don't use `unsafe' any more.
2459
cc585c96
GM
24602013-08-29 Glenn Morris <rgm@gnu.org>
2461
ba579ea6
GM
2462 * calendar/cal-china.el (calendar-chinese-year-cache):
2463 Recenter on 2015.
2464
8201a87e
GM
2465 * nxml/nxml-util.el (nxml-debug-clear-inside):
2466 Use cl-loop rather than loop.
2467
6ee877c7
GM
2468 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2469
cc585c96
GM
2470 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2471
27be8d39
GM
24722013-08-28 Glenn Morris <rgm@gnu.org>
2473
397440a1
GM
2474 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2475
2bb762d4
GM
2476 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2477
27be8d39
GM
2478 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2479
2d69b99e
SM
24802013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2481
f663baa7
SM
2482 * simple.el (repeat-complex-command--called-interactively-skip):
2483 New function.
2484 (repeat-complex-command): Use it (bug#14136).
2485
dd4f8b74
SM
2486 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2487 (c-define-abbrev-table): Add `doc' argument.
2488 (c-mode-abbrev-table, c++-mode-abbrev-table)
2489 (objc-mode-abbrev-table, java-mode-abbrev-table)
2490 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2491 (awk-mode-abbrev-table): Use it.
2492 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2493 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2494 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2495 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2496 Move initialization into the declaration; and remove any
2497 autoload cookie.
2498
b58969f7
SM
2499 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2500 and dynamic let binding.
2501
4021d6a6
SM
2502 * vc/smerge-mode.el: Remove redundant :group args.
2503
2d69b99e
SM
2504 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2505 to load-path.
2506
274919fd
JL
25072013-08-28 Juri Linkov <juri@jurta.org>
2508
2509 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2510 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2511 (isearch-other-meta-char): Handle an undefined shifted printing
2512 character by downshifting it. (Bug#15200)
2513
121f8c95
JL
25142013-08-28 Juri Linkov <juri@jurta.org>
2515
2516 * isearch.el (isearch-search): Change regexp error message for
2517 non-regexp searches. (Bug#15166)
2518
50b13cde
PE
25192013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2520
2521 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2522 for portability to hosts where /bin/sh has problems.
2523
95888bca
SM
25242013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2527
bbe558f1
JL
25282013-08-27 Juri Linkov <juri@jurta.org>
2529
2530 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2531 in the keyboard macro. (Bug#15126)
2532
26f98a7d
JL
25332013-08-27 Juri Linkov <juri@jurta.org>
2534
2535 * isearch.el (isearch-quote-char): Comment out converting unibyte
2536 to multibyte, thus syncing with its `quoted-insert' counterpart.
2537 (Bug#15166)
2538
7c97d35e
MR
25392013-08-27 Martin Rudalics <rudalics@gmx.at>
2540
2541 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2542 argument in call of get-largest-window (Bug#15185).
2543 Reported by Stephen Leake.
7c97d35e 2544
a0b5606e 25452013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2546
2547 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2548
9e89d835
SM
25492013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2552 from a matcher-function unless there's no more matches (bug#15161).
2553
78fc2530
MA
25542013-08-26 Michael Albinus <michael.albinus@gmx.de>
2555
2556 * minibuffer.el: Revert change from 2013-08-20.
2557
2558 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2559 with text property `tramp-default', if appropriate.
2560 (tramp-check-proper-host): New defun.
2561 (tramp-dissect-file-name): Do not check hostname. Revert change
2562 of 2013-03-18.
2563 (tramp-backtrace): Make VEC-OR-PROC optional.
2564
2565 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2566 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2567 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2568 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2569 Apply `tramp-check-proper-host'.
78fc2530 2570
edca97cd
TH
25712013-08-26 Tassilo Horn <tsdh@gnu.org>
2572
2573 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2574 lambda expression in order to have `describe-variable' display it.
2575
df54bcbd
MA
25762013-08-26 Michael Albinus <michael.albinus@gmx.de>
2577
2578 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2579 BUF can be optional. (Bug#15186)
2580
eed99101
XF
25812013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2582
2583 * progmodes/flymake.el (flymake-get-real-file-name-function):
2584 Fix broken customization. (Bug#15184)
2585
b5eb9035
AM
25862013-08-25 Alan Mackenzie <acm@muc.de>
2587
8a51e842
AM
2588 Improve indentation of bracelists defined by macros (without "=").
2589
2590 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2591 expansion begins with "{", regard it as bracelist when it doesn't
2592 contain a ";".
2593
869455d4
AM
2594 Parse C++ inher-intro when there's a template split over 2 lines.
2595
2596 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2597 rigorously the search for "class" etc. followed by ":".
2598
2599 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2600 random languages a regexp which never matches rather than nil.
2601
b5eb9035
AM
2602 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2603
2604 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2605 (c-awk-regexp-one-line-possibly-open-char-list-re)
2606 (c-awk-one-line-possibly-open-regexp-re)
2607 (c-awk-one-line-non-syn-ws*-re): Remove.
2608 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2609 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2610 (c-awk-space*-unclosed-regexp-/-re): New constants.
2611 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2612 aren't regexp delimiters.
2613
2614 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2615 handling for a rare situation in AWK Mode involving unterminated
2616 strings/regexps.
2617
61611d54
GM
26182013-08-23 Glenn Morris <rgm@gnu.org>
2619
2d85dc34
GM
2620 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2621
cb8d2612
GM
2622 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2623
bb35f42f
GM
2624 * files.el (create-file-buffer): If the result would begin with
2625 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2626
b9808e77
SM
26272013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2628
e3a66363
SM
2629 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2630 text-properties (bug#15155).
2631
b9808e77
SM
2632 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2633 exist any more.
2634 (calc-keypad-redraw): Remove unused var `pad'.
2635 (calc-keypad-press): Remove unused var `menu'.
2636
7fd5f65e
MR
26372013-08-23 Martin Rudalics <rudalics@gmx.at>
2638
b9808e77
SM
2639 * window.el (display-buffer-pop-up-frame):
2640 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2641 use it as the new frame's buffer (Bug#15133).
2642
8352b530
SM
26432013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * calendar/timeclock.el: Minor cleanups.
2646 (timeclock-ask-before-exiting, timeclock-use-display-time):
2647 Use `symbol'.
2648 (timeclock-modeline-display): Define as alias before the
2649 actual definition.
2650 (timeclock-mode-line-display): Use define-minor-mode.
2651 (timeclock-day-list-template): Make it a function, add an argument.
2652 (timeclock-day-list-required, timeclock-day-list-length)
2653 (timeclock-day-list-debt, timeclock-day-list-span)
2654 (timeclock-day-list-break): Adjust calls accordingly.
2655
9f7b1925
SM
26562013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2659 Use read--expression so that completion works again.
2660
6e50e983
SS
26612013-08-21 Sam Steingold <sds@gnu.org>
2662
2663 Add rudimentary inferior shell interaction
2664 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2665 (sh-set-shell): Reset it.
9f7b1925
SM
2666 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2667 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2668
dbb0d350
SM
26692013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * align.el: Use lexical-binding.
2672 (align-region): Simplify accordingly.
2673
c88586a9
MA
26742013-08-20 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2677
2678 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2679 `non-essential' up.
2680
f95527c8
MA
26812013-08-17 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * net/tramp.el:
2684 * net/tramp-adb.el:
2685 * net/tramp-cmds.el:
2686 * net/tramp-ftp.el:
2687 * net/tramp-gvfs.el:
2688 * net/tramp-gw.el:
2689 * net/tramp-sh.el: Don't wrap external variable declarations by
2690 `eval-when-compile'.
2691
4b5fe4ee
LMI
26922013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2693
2694 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2695 now that Emacs supports ImageMagick animations.
2696
13c366c9
MA
26972013-08-16 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2700 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2701
3dfc5cd6
MR
27022013-08-16 Martin Rudalics <rudalics@gmx.at>
2703
2704 * window.el (mouse-autoselect-window-select): Do autoselect when
2705 mouse pointer is on margin.
2706
4bbb4381
WP
27072013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2708
2709 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2710
3a2ddc2d
GM
27112013-08-16 Glenn Morris <rgm@gnu.org>
2712
e8bedf5a
GM
2713 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2714 Handle "Remote Directory" response of some clients. (Bug#15058)
2715
58c4682f
GM
2716 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2717 Tweak warning. (Bug#14926)
2718
57953f49
GM
2719 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2720 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2721
3a2ddc2d
GM
2722 * image-mode.el (image-mode-map): Add menu items to reverse,
2723 increase, decrease, reset animation speed.
2724 (image--set-speed, image-increase-speed, image-decrease-speed)
2725 (image-reverse-speed, image-reset-speed): New functions.
2726 (image-mode-map): Add bindings for speed commands.
2727
2728 * image.el (image-animate-get-speed, image-animate-set-speed):
2729 New functions.
2730 (image-animate-timeout): Respect image :speed property.
2731
10fa0ed3
SM
27322013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2735 previous line (bug#15101).
2736 (debugger-eval-expression, debugger-record-expression):
2737 Use read--expression (bug#15102).
2738
5d89d9d2
MA
27392013-08-15 Michael Albinus <michael.albinus@gmx.de>
2740
2741 Remove byte compiler warnings, visible when compiling with
2742 `byte-compile-force-lexical-warnings' set to t.
2743
2744 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2745 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2746 (tramp-handle-unhandled-file-name-directory)
2747 (tramp-handle-file-notify-add-watch, tramp-action-login)
2748 (tramp-action-succeed, tramp-action-permission-denied)
2749 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2750 arguments with "_".
2751
2752 * net/tramp-adb.el (tramp-adb-parse-device-names)
2753 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2754 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2755 (tramp-adb-handle-file-truename): Remove unused arguments.
2756
2757 * net/tramp-cache.el (tramp-flush-directory-property)
2758 (tramp-flush-connection-property, tramp-list-connections)
2759 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2760
10fa0ed3
SM
2761 * net/tramp-compat.el (tramp-compat-make-temp-file):
2762 Rename FILENAME to F.
5d89d9d2
MA
2763
2764 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2765 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2766 (tramp-zeroconf-parse-workstation-device-names)
2767 (tramp-zeroconf-parse-webdav-device-names)
2768 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2769
2770 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2771 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2772
2773 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2774 arguments.
2775 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2776 (tramp-sh-handle-insert-file-contents-literally)
2777 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2778 with "_".
2779 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2780 Remove unused variables.
2781
2782 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2783 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2784 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2785
2786 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2787 Make them a defconst.
2788 (tramp-uuencode-region): Remove unused variable.
2789
62f33bae
JB
27902013-08-14 Juanma Barranquero <lekktu@gmail.com>
2791
2792 * frameset.el (frameset--prop-setter): New function.
2793 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2794 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2795 parameter was already set in FILTERED. Doc fix.
2796 (frameset--record-minibuffer-relationships): Allow saving a
2797 minibufferless frame without its corresponding minibuffer frame.
2798 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2799 frame, if the frame id matches.
2800 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2801 frames before orphaned ones.
2802 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2803
c660a885
MR
28042013-08-14 Martin Rudalics <rudalics@gmx.at>
2805
2806 * window.el (window-make-atom): Don't overwrite parameter
2807 already present.
2808 (display-buffer-in-atom-window): Handle special case where we
2809 split an already atomic window.
2810 (window--major-non-side-window, display-buffer-in-side-window)
2811 (window--side-check): Ignore minibuffer window when walking
2812 window tree.
2813 (window-deletable-p): Return 'frame only if no other frame uses
2814 our minibuffer window.
2815 (record-window-buffer): Run buffer-list-update-hook.
2816 (split-window): Make sure window--check-frame won't destroy an
2817 existing atomic window in case the new window gets nested
2818 inside.
2819 (display-buffer-at-bottom): Ignore minibuffer window when
2820 walking window tree. Don't split a side window.
2821 (pop-to-buffer): Don't set-buffer here, the select-window call
2822 should do that.
2823 (mouse-autoselect-window-select): Autoselect only if we are in the
2824 text portion of the window.
2825
8259030d
LMI
28262013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2827
21c58ae2
LMI
2828 * net/shr.el (shr-parse-image-data): New function to grab both the
2829 data itself and the Content-Type.
2830 (shr-put-image): Use it.
2831
2832 * net/eww.el (eww-display-image): Ditto.
2833
8259030d
LMI
2834 * image.el (image-content-type-suffixes): New variable.
2835
ad756449
FEG
28362013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2837
2838 * progmodes/python.el (python-imenu--build-tree)
2839 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2840
f73f4ce6
XF
28412013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2842
2843 * simple.el (backward-word): Mention the optional argument.
2844
1f585e65
SM
28452013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * frameset.el (frameset--make): Rename constructor from make-frameset.
2848 (frameset-p, frameset-valid-p): Don't autoload.
2849 (frameset-valid-p): Use normal accessors.
2850
af1c6c84
GM
28512013-08-13 Glenn Morris <rgm@gnu.org>
2852
55e47f95
GM
2853 * progmodes/compile.el (compile-command): Tweak example in doc.
2854 * obsolete/scribe.el (scribe-mode):
2855 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2856
f0024d8c
GM
2857 * mail/feedmail.el (feedmail-confirm-outgoing)
2858 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2859
2860 * cus-start.el (truncate-partial-width-windows): Fix type.
2861
2862 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2863
af1c6c84
GM
2864 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2865
5514cc4c
SM
28662013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/timer.el (timer--time-setter): New function.
2869 (timer--time): Use it as gv-setter.
2870
2871 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2872 setter is not a symbol.
2873
7997a2f1
GJ
28742013-08-12 Grégoire Jadi <daimrod@gmail.com>
2875
2876 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2877 if sending fails. This makes debugging easier.
2878
01f1a9ab
JB
28792013-08-12 Juanma Barranquero <lekktu@gmail.com>
2880
2881 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2882 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2883 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2884
594a4307
EZ
28852013-08-12 Eli Zaretskii <eliz@gnu.org>
2886
2887 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2888
7a22490f 28892013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2890
2891 * format.el (format-annotate-function):
2892 Handle read-only text properties in the source. (Bug#14887)
2893
3e41a054
LMI
28942013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2895
5514cc4c
SM
2896 * net/eww.el (eww-display-html): Ignore coding system errors.
2897 One web site uses "utf-8lias" as the coding system.
3e41a054 2898
7ec326db
JB
28992013-08-11 Juanma Barranquero <lekktu@gmail.com>
2900
2901 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2902
5660113b
JB
29032013-08-10 Juanma Barranquero <lekktu@gmail.com>
2904
9a4ebc74
JB
2905 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2906 (tutorial--detailed-help): Remove unused local variables.
2907 (tutorial--save-tutorial-to): Use ignore-errors.
2908 (help-with-tutorial): Use looking-at-p.
2909
2910 * view.el (view-buffer-other-window, view-buffer-other-frame):
2911 Mark unused arguments.
2912
2913 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2914 (woman-select-symbol-fonts, woman, woman-find-file)
2915 (woman-insert-file-contents, woman-non-underline-faces):
2916 Use string-match-p.
2917 (woman1-unquote): Move declaration.
2918
2919 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2920 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2921 argument. Remove unused local variable.
2922 (xml-parse-elem-type): Use string-match-p.
2923 (xml-substitute-numeric-entities): Use ignore-errors.
2924
45fdb482
JB
2925 * calculator.el (calculator): Mark unused argument.
2926 (calculator-paste, calculator-quit, calculator-integer-p):
2927 Use ignore-errors.
2928 (calculator-string-to-number, calculator-decimal, calculator-exp)
2929 (calculator-op-or-exp): Use string-match-p.
2930
2931 * dired.el (dired-buffer-more-recently-used-p): Declare.
2932 (dired-insert-set-properties, dired-insert-old-subdirs):
2933 Use ignore-errors.
2934
2935 * dired-aux.el (dired-compress): Use ignore-errors.
2936 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2937 (dired-do-async-shell-command, dired-do-shell-command)
2938 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2939 (dired-insert-subdir-validate): Use string-match-p.
2940 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2941 (dired-add-entry): Use string-match-p, looking-at-p.
2942 (dired-insert-subdir-newpos): Remove unused local variable.
2943
2944 * filenotify.el (file-notify-callback): Remove unused local variable.
2945
2946 * filesets.el (filesets-error): Mark unused argument.
2947 (filesets-which-command-p, filesets-filter-dir-names)
2948 (filesets-directory-files, filesets-get-external-viewer)
2949 (filesets-ingroup-get-data): Use string-match-p.
2950
2951 * find-file.el (ff-other-file-name, ff-other-file-name)
2952 (ff-find-the-other-file, ff-cc-hh-converter):
2953 Remove unused local variables.
2954 (ff-get-file-name): Use string-match-p.
2955 (ff-all-dirs-under): Use ignore-errors.
2956
2957 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2958 (follow-select-if-visible): Remove unused local variable.
2959
2960 * forms.el (read-file-filter): Move declaration.
2961 (forms--make-format, forms--make-parser, forms-insert-record):
2962 Quote function with #'.
2963 (forms--update): Use string-match-p. Quote function with #'.
2964
2965 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2966 (help-make-xrefs): Use looking-at-p.
2967 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2968
2969 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2970 (ibuffer-confirm-operation-on): Use string-match-p.
2971
2972 * msb.el (msb-item-handler, msb-dired-item-handler):
2973 Mark unused arguments.
2974
2975 * ses.el (ses-decode-cell-symbol)
2976 (ses-kill-override): Remove unused local variable.
2977 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2978 (ses-load): Use ignore-errors, looking-at-p.
2979 (ses-jump-safe): Use ignore-errors.
2980 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2981
2982 * tabify.el (untabify, tabify): Mark unused arguments.
2983
2984 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2985 Mark unused argument.
2986 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2987 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2988
c880af52
JB
2989 * emacs-lisp/timer.el (timer--time): Define setter with
2990 gv-define-setter to avoid deprecation warning.
2991
5660113b 2992 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2993 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2994 (cmpl-statistics-block): Remove (body was commented out).
2995 All callers changed.
2996 (add-completions-from-buffer, load-completions-from-file):
2997 Remove unused variables.
2998
156aab80
JB
29992013-08-09 Juanma Barranquero <lekktu@gmail.com>
3000
5c5dee78
JB
3001 * filecache.el (file-cache-delete-file-list):
3002 Print message only when told so.
3003 (file-cache-files-matching): Use #' in mapconcat argument.
3004
156aab80
JB
3005 * ffap.el (ffap-url-at-point): Fix reference to variable
3006 thing-at-point-default-mail-uri-scheme.
3007
ad9dcd70
SM
30082013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3009
54bd972f
SM
3010 * subr.el (define-error): New function.
3011 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3012 error-file-not-found and define with define-error.
3013 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3014 and define with define-error.
3015 * userlock.el (file-locked, file-supersession):
3016 * simple.el (mark-inactive):
3017 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3018 * progmodes/ada-mode.el (ada-mode-errors):
3019 * play/life.el (life-extinct):
3020 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3021 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3022 * nxml/rng-util.el (rng-error):
3023 * nxml/rng-uri.el (rng-uri-error):
3024 * nxml/rng-match.el (rng-compile-error):
3025 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3026 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3027 * nxml/nxml-rap.el (nxml-scan-error):
3028 * nxml/nxml-outln.el (nxml-outline-error):
3029 * net/soap-client.el (soap-error):
3030 * net/gnutls.el (gnutls-error):
3031 * net/ange-ftp.el (ftp-error):
3032 * mpc.el (mpc-proc-error):
3033 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3034 (json-number-format, json-string-escape, json-string-format)
3035 (json-key-format, json-object-format):
3036 * jka-compr.el (compression-error):
3037 * international/quail.el (quail-error):
3038 * international/kkc.el (kkc-error):
3039 * emacs-lisp/ert.el (ert-test-failed):
3040 * calc/calc.el (calc-error, inexact-result, math-overflow)
3041 (math-underflow):
3042 * bookmark.el (bookmark-error-no-filename):
3043 * epg.el (epg-error): Define with define-error.
3044
0ea9e53a
SM
3045 * time.el (display-time-event-handler)
3046 (display-time-next-load-average): Don't call sit-for since it seems
3047 unnecessary (bug#15045).
3048
b0429158
SM
3049 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3050 Use #' instead of ' to quote functions.
3051 (checkdoc-output-mode): Use setq-local.
3052 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3053 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3054 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3055 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3056 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3057 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3058 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3059 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3060
ad9dcd70
SM
3061 * ido.el (ido-completion-help): Fix up compiler warning.
3062
77187e6f
JB
30632013-08-09 Juanma Barranquero <lekktu@gmail.com>
3064
3065 * frameset.el (frameset-p): Add autoload cookie.
3066 (frameset--jump-to-register): New function, based on code moved from
3067 register.el.
3068 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3069
3070 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3071 (frameset-restore, frameset-save, frameset-session-filter-alist):
3072 Remove declarations.
3073 (register-alist): Doc fix.
3074 (frameset-to-register): Move to frameset.el.
3075 (jump-to-register, describe-register-1): Remove frameset-specific code.
3076
9d3aa82c
JB
30772013-08-08 Juanma Barranquero <lekktu@gmail.com>
3078
3079 * allout-widgets.el (allout-widgets-pre-command-business)
3080 (allout-widgets-post-command-business)
3081 (allout-widgets-after-change-handler)
3082 (allout-decorate-item-and-context, allout-set-boundary-marker)
3083 (allout-body-modification-handler)
3084 (allout-graphics-modification-handler): Mark ignored arguments.
3085 (allout-widgets-post-command-business)
3086 (allout-widgets-exposure-change-processor)
3087 (allout-widgets-exposure-undo-processor)
3088 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3089 (allout-parse-item-at-point, allout-decorate-item-guides)
3090 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3091 * allout.el (epa-passphrase-callback-function): Declare.
3092 (allout-overlay-insert-in-front-handler)
3093 (allout-overlay-interior-modification-handler)
3094 (allout-isearch-end-handler, allout-chart-siblings)
3095 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3096 (allout-yank-processing, allout-process-exposed)
3097 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3098 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3099 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3100 (lisp-indent-defform): Mark ignored arguments.
3101 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3102 (calculate-lisp-indent): Remove unused variables.
3103 * international/characters.el (indian-2-column, arabic-2-column)
3104 (tibetan): Mark ignored arguments.
3105 (use-cjk-char-width-table): Mark ignored arguments.
3106 Remove unused variables.
3107 * international/fontset.el (build-default-fontset-data)
3108 (x-compose-font-name, create-fontset-from-fontset-spec):
3109 Mark ignored arguments.
3110 (fontset-plain-name): Remove unused variables.
3111 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3112 (keyboard-coding-system): Mark ignored arguments.
3113 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3114 * help.el (resize-temp-buffer-window):
3115 * window.el (display-buffer-in-major-side-window)
3116 (display-buffer-in-side-window, display-buffer-in-previous-window):
3117 Remove unused variables.
3118 * isearch.el (isearch-forward-symbol):
3119 * version.el (emacs-bzr-version-bzr):
3120 * international/mule-cmds.el (current-language-environment):
3121 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3122 (x-handle-display):
3123 * term/pc-win.el (x-list-fonts, x-display-planes)
3124 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3125 (x-server-version, x-display-screens, x-display-mm-height)
3126 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3127 (x-selection-owner-p, x-own-selection-internal)
3128 (x-disown-selection-internal, x-get-selection-internal)
3129 (msdos-initialize-window-system):
3130 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3131 * term/x-win.el (x-handle-no-bitmap-icon):
3132 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3133 (vc-default-find-file-hook, vc-default-extra-menu):
3134 Mark ignored arguments.
3135
0ca3f70e
SM
31362013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3139 break-condition in the context of the debugged code (bug#12685).
3140
74c5d24c
CS
31412013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3142
3143 * comint.el:
3144 Do not use an overlay to highlight the last prompt. (Bug#14744)
3145 (comint-mode): Make comint-last-prompt buffer local.
3146 (comint-last-prompt): New variable.
3147 (comint-last-prompt-overlay): Remove. Superseded by
3148 comint-last-prompt.
0ca3f70e
SM
3149 (comint-snapshot-last-prompt, comint-output-filter):
3150 Use comint-last-prompt.
74c5d24c 3151
c03c02ee
JB
31522013-08-08 Juanma Barranquero <lekktu@gmail.com>
3153
a3738d20 3154 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3155 (frameset-save): Check validity of the resulting frameset.
3156
04263d23
XF
31572013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3158
3159 * ido.el (ido-record-command): Add doc string.
3160
76c5e5ab
JB
31612013-08-08 Juanma Barranquero <lekktu@gmail.com>
3162
3163 * frameset.el (frameset): Do not disable creation of the default
3164 frameset-p predicate. Doc fix.
3165 (frameset-valid-p): New function, copied from the old predicate-p.
3166 Add additional checks.
3167 (frameset-restore): Check with frameset-valid-p.
3168 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3169 (frameset-name, frameset-description, frameset-properties)
3170 (frameset-states): Add docstring.
f9dbf1cb
JB
3171 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3172 (frameset-filter-alist): Doc fixes.
76c5e5ab 3173
bd0c3c0b
JB
31742013-08-08 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3177
c735544c
SM
31782013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3181 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3182 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3183 (byte-compile-normal-call): Remove obsolescence check.
3184
2805a651
JB
31852013-08-08 Juanma Barranquero <lekktu@gmail.com>
3186
3677ffeb
JB
3187 * frameset.el (frameset-restore): Doc fix.
3188
2805a651
JB
3189 * register.el (frameset-frame-id, frameset-frame-with-id)
3190 (frameset-p, frameset-restore, frameset-save): Declare.
3191 (register-alist): Document framesets.
3192 (frameset-session-filter-alist): Declare.
3193 (frameset-to-register): New function.
3194 (jump-to-register): Implement jumping to framesets. Doc fix.
3195 (describe-register-1): Describe framesets.
3196
3197 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3198
a912c016
JB
31992013-08-07 Juanma Barranquero <lekktu@gmail.com>
3200
3201 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3202 Use lexical-binding.
3203
3204 * frameset.el (frameset): Use type vector, not list (incompatible
3205 change). Do not declare a new constructor, use the default one.
3206 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3207 `name' and `description', respectively, and add read-only slot
3208 `timestamp'. Doc fixes.
3209 (frameset-copy, frameset-persistent-filter-alist)
3210 (frameset-filter-alist, frameset-switch-to-gui-p)
3211 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3212 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3213 (frameset-filter-iconified, frameset-keep-original-display-p):
3214 Doc fixes.
3215 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3216 Rename from frameset-filter-(save|restore)-param. All callers changed.
3217 Doc fix.
3218 (frameset-p): Adapt to change to vector and be more thorough.
3219 Change arg name to OBJECT. Doc fix.
3220 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3221 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3222 All callers changed.
3223 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3224 All callers changed.
3225 (frameset--record-minibuffer-relationships): Rename from
3226 frameset--process-minibuffer-frames. All callers changed.
3227 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3228 Use new default constructor (again). Doc fix.
3229 (frameset--find-frame-if): Rename from `frameset--find-frame.
3230 All callers changed.
3231 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3232 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3233 Doc fix.
3234 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3235 PARAMETERS and WINDOW-STATE, respectively.
3236 (frameset-restore): Add new keyword argument PREDICATE.
3237 Reset frameset--target-display to nil. Doc fix.
3238
bb41480a
SM
32392013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3240
f001e98e
SM
3241 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3242 (bat-mode): Use it.
3243 (bat-mode-syntax-table): Mark \n as end-of-comment.
3244 (bat-font-lock-keywords): Remove comment rule.
3245
7679edb1
SM
3246 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3247 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3248
bb41480a
SM
3249 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3250 (byte-compile-callargs-warn): Use `push'.
3251 (byte-compile-arglist-warn): Ignore higher-order "calls".
3252 (byte-compile-file-form-autoload): Use `pcase'.
3253 (byte-compile-function-form): If quoting a symbol, check that it exists.
3254
cdc1ebb9
EZ
32552013-08-07 Eli Zaretskii <eliz@gnu.org>
3256
3257 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3258 and add a few popular commands found in batch files.
3259 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3260 (dos-mode): Doc fixes.
3261
312b1740
SM
32622013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3265 (dos-mode): Use setq-local. Add space after "rem".
3266 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3267 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3268
400a3178
AM
32692013-08-07 Arni Magnusson <arnima@hafro.is>
3270
3271 * progmodes/dos.el: New file.
3272 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3273 dos-mode.
3274
3b5c03d3
GM
32752013-08-06 Glenn Morris <rgm@gnu.org>
3276
3277 * calendar/calendar.el: Add new faces, and day-header-array.
3278 (calendar-weekday-header, calendar-weekend-header)
3279 (calendar-month-header): New faces.
3280 (calendar-day-header-construct): New function.
3281 (calendar-day-header-width): Also :set calendar-day-header-array.
3282 (calendar-american-month-header, calendar-european-month-header)
3283 (calendar-iso-month-header): Use calendar- faces.
3284 (calendar-generate-month):
3285 Use calendar-day-header-array for day headers; apply faces to them.
3286 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3287 (calendar-abbrev-construct): Add optional maxlen argument.
3288 (calendar-day-name-array): Doc fix.
3289 (calendar-day-name-array, calendar-abbrev-length)
3290 (calendar-day-abbrev-array):
3291 Also :set calendar-day-header-array, and maybe redraw.
3292 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3293 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3294 (calendar-day-name): Add option to use header array.
3295
ec6a2d7a
LMI
32962013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3297
3298 * net/shr.el (shr-render-td): Remove debugging.
3299 (shr-render-td): Make width computation consistent by defaulting
3300 all zero-width columns to 10 characters. This may not be optimal,
3301 but it's at least consistent.
2122cb6d
LMI
3302 (shr-make-table-1): Redo last change to fix the real problem in
3303 colspan handling.
ec6a2d7a 3304
ed4fd9c5
DA
33052013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3306
0ca3f70e
SM
3307 * files.el (cache-long-line-scans):
3308 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3309
64e22afe
JB
33102013-08-06 Juanma Barranquero <lekktu@gmail.com>
3311
024b38fc
JB
3312 * frameset.el (frameset, frameset-filter-alist)
3313 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3314 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3315 (frameset-compute-pos): Rename from frameset--compute-pos,
3316 and add docstring.
3317 (frameset-move-onscreen): Use frameset-compute-pos.
3318 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3319
64e22afe
JB
3320 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3321 Fix typos in docstrings.
3322
c8c2aca8
DA
33232013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3324
3325 * frame.el (get-other-frame): Tiny cleanup.
3326
1d237bba
JB
33272013-08-06 Juanma Barranquero <lekktu@gmail.com>
3328
8951efef
JB
3329 * vc/vc.el (vc-default-ignore-completion-table):
3330 Silence byte-compiler warning.
3331
307764cc
JB
3332 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3333 slot , which can indeed be nil.
3334 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3335 Move entry for `left' from persistent to live filter alist.
3336 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3337 Doc fixes.
3338 (frameset-filter-params): When restoring a frame, copy items added to
3339 `filtered', to avoid unwittingly modifying the original parameters.
3340 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3341 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3342
1d237bba
JB
3343 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3344 to use looking-at-p instead of looking-at. (Bug#15028)
3345
dc6c0eda
SM
33462013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 Revert introduction of isearch-filter-predicates (bug#14714).
3349 Rely on add-function instead.
3350 * isearch.el (isearch-filter-predicates): Rename it back to
3351 isearch-filter-predicate.
3352 (isearch-message-prefix): Use advice-function-mapc and advice
3353 properties to get the isearch-message-prefix.
3354 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3355 instead of run-hook-with-args-until-failure.
3356 (isearch-filter-visible): Not obsolete any more.
3357 * loadup.el: Preload nadvice.
3358 * replace.el (perform-replace): Revert to funcall
3359 instead of run-hook-with-args-until-failure.
3360 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3361 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3362 dired-isearch-filenames-toggle; make it into a proper minor mode.
3363 Use add/remove-function.
3364 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3365 Call the minor-mode rather than add/remove-hook.
3366 (dired-isearch-filter-filenames):
3367 Remove isearch-message-prefix property.
3368 * info.el (Info--search-loop): New function, extracted from Info-search.
3369 Funcall isearch-filter-predicate instead of
3370 run-hook-with-args-until-failure isearch-filter-predicates.
3371 (Info-search): Use it.
3372 (Info-mode): Use isearch-filter-predicate instead of
3373 isearch-filter-predicates.
3374
290d5b58
DA
33752013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3376
3377 Do not call to `selected-window' where it is assumed by default.
3378 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3379 `window-hscroll', `window-width', `window-height', `window-buffer',
3380 `window-frame', `window-start', `window-point', `next-window'
3381 and `window-display-table'.
3382 * abbrev.el (abbrev--default-expand):
3383 * bs.el (bs--show-with-configuration):
3384 * buff-menu.el (Buffer-menu-mouse-select):
3385 * calc/calc.el (calc):
3386 * calendar/calendar.el (calendar-generate-window):
3387 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3388 (diary-make-entry):
3389 * comint.el (send-invisible, comint-dynamic-complete-filename)
3390 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3391 * completion.el (complete):
3392 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3393 * disp-table.el (describe-current-display-table):
3394 * doc-view.el (doc-view-insert-image):
3395 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3396 * ehelp.el (with-electric-help):
3397 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3398 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3399 * emacs-lisp/helper.el (Helper-help-scroller):
3400 * emulation/cua-base.el (cua--post-command-handler-1):
3401 * eshell/esh-mode.el (eshell-output-filter):
3402 * ffap.el (ffap-gnus-wrapper):
3403 * help-macro.el (make-help-screen):
3404 * hilit-chg.el (highlight-compare-buffers):
3405 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3406 * hl-line.el (global-hl-line-highlight):
3407 * icomplete.el (icomplete-simple-completing-p):
3408 * isearch.el (isearch-done):
3409 * jit-lock.el (jit-lock-stealth-fontify):
3410 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3411 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3412 * mpc.el (mpc-tagbrowser, mpc):
3413 * net/rcirc.el (rcirc-any-buffer):
3414 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3415 * play/landmark.el (landmark-max-width, landmark-max-height):
3416 * play/zone.el (zone):
3417 * progmodes/compile.el (compilation-goto-locus):
3418 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3419 * progmodes/etags.el (find-tag-other-window):
3420 * progmodes/fortran.el (fortran-column-ruler):
3421 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3422 * progmodes/verilog-mode.el (verilog-point-text):
3423 * reposition.el (reposition-window):
3424 * rot13.el (toggle-rot13-mode):
3425 * server.el (server-switch-buffer):
3426 * shell.el (shell-dynamic-complete-command)
3427 (shell-dynamic-complete-environment-variable):
3428 * simple.el (insert-buffer, set-selective-display)
3429 (delete-completion-window):
3430 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3431 (speedbar-recenter):
3432 * startup.el (fancy-splash-head):
3433 * textmodes/ispell.el (ispell-command-loop):
3434 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3435 * tutorial.el (help-with-tutorial):
3436 * vc/add-log.el (add-change-log-entry):
3437 * vc/compare-w.el (compare-windows):
3438 * vc/ediff-help.el (ediff-indent-help-message):
3439 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3440 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3441 (ediff-setup-control-frame):
3442 * vc/emerge.el (emerge-position-region):
3443 * vc/pcvs-util.el (cvs-bury-buffer):
3444 * window.el (walk-windows, mouse-autoselect-window-select):
3445 * winner.el (winner-set-conf, winner-undo): Related users changed.
3446
38276e01
JB
34472013-08-05 Juanma Barranquero <lekktu@gmail.com>
3448
3449 * frameset.el (frameset--set-id): Doc fix.
3450 (frameset-frame-id, frameset-frame-id-equal-p)
3451 (frameset-locate-frame-id): New functions.
3452 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3453 (frameset-restore): Use them.
3454
12b4c0ea
DA
34552013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3456
3457 Do not call to `selected-frame' where it is assumed by default.
3458 Affected functions are `raise-frame', `redraw-frame',
3459 `frame-first-window', `frame-terminal' and `delete-frame'.
3460 * calendar/appt.el (appt-disp-window):
3461 * epg.el (epg-wait-for-completion):
3462 * follow.el (follow-delete-other-windows-and-split)
3463 (follow-avoid-tail-recenter):
3464 * international/mule.el (set-terminal-coding-system):
3465 * mail/rmail.el (rmail-mail-return):
3466 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3467 * progmodes/f90.el (f90-add-imenu-menu):
3468 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3469 * server.el (server-switch-buffer):
3470 * simple.el (delete-completion-window):
3471 * talk.el (talk):
3472 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3473 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3474 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3475 * vc/ediff.el (ediff-documentation): Related users changed.
3476 * frame.el (selected-terminal): Remove the leftover.
3477
17f25e76
GM
34782013-08-05 Glenn Morris <rgm@gnu.org>
3479
3480 * calendar/calendar.el (calendar-generate-month):
3481 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3482 (calendar-generate-month, calendar-font-lock-keywords):
3483 Fix for calendar-day-header-width > length of any day name.
17f25e76 3484
063233c3
JB
34852013-08-05 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * desktop.el (desktop-clear): Use new name of sort predicate.
3488
3489 * frameset.el (frameset): Add docstring. Move :version property to its
3490 own `version' slot.
3491 (frameset-copy): Rename from copy-frameset.
3492 (frameset-p): Check more thoroughly.
3493 (frameset-prop): Do not check for :version, which is no longer a prop.
3494 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3495 Use new :never value instead of t.
3496 (frameset-filter-alist): Expand and clarify docstring.
3497 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3498 (frameset-filter-minibuffer, frameset-filter-save-param)
3499 (frameset-filter-restore-param, frameset-filter-iconified):
3500 Add pointer to docstring of frameset-filter-alist.
3501 (frameset-filter-params): Rename filter values to be more meaningful:
3502 :never instead of t, and reverse the meanings of :save and :restore.
3503 (frameset--process-minibuffer-frames): Clarify error message.
3504 (frameset-save): Avoid unnecessary and confusing call to framep.
3505 Use new BOA constructor for framesets.
3506 (frameset--reuse-list): Doc fix.
3507 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3508 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3509 (frameset-minibufferless-first-p): Doc fix.
3510 Rename from frameset-sort-frames-for-deletion.
3511 (frameset-restore): Doc fixes. Use new function names.
3512 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3513
d5671a82
JB
35142013-08-04 Juanma Barranquero <lekktu@gmail.com>
3515
3516 * desktop.el (desktop-restore-forces-onscreen)
3517 (desktop-restore-reuses-frames): Document :keyword constant values.
3518 (desktop-filter-parameters-alist): Remove, now identical to
3519 frameset-filter-alist.
3520 (desktop--filter-tty*): Remove, moved to frameset.el.
3521 (desktop-save-frameset, desktop-restore-frameset):
3522 Do not pass :filters argument.
3523
3524 * frameset.el (frameset-live-filter-alist)
3525 (frameset-persistent-filter-alist): New variables.
3526 (frameset-filter-alist): Use them. Add autoload cookie.
3527 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3528 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3529 `frameset--id' (it's supposed to be internal to frameset.el).
3530 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3531 (frameset--initial-params): New function.
3532 (frameset--get-frame): Use it. Doc fix.
3533 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3534 Accept :all, not 'all.
3535 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3536 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3537 with fbound symbols. Fix frame id matching, and remove matching ids if
3538 the frame being restored is deleted. Obey :delete.
3539
671d5c16
SM
35402013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * subr.el (macrop): New function.
3543 (text-clone--maintaining): New var.
3544 (text-clone--maintain): Rename from text-clone-maintain. Use it
3545 instead of inhibit-modification-hooks.
3546
3547 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3548 a proxy, so as handle autoloads and redefinitions of the target.
3549 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3550
3551 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3552 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3553 (pcase--mutually-exclusive-p): New function.
3554 (pcase--split-consp): Use it.
3555 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3556 mutually exclusive with the current predicate.
3557
3558 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3559 (edebug-macrop): Remove. Use `macrop' instead.
3560 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3561 (ad-macro-p):
3562 * eshell/esh-cmd.el (eshell-macrop):
3563 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3564
1d44e9dc
SM
35652013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3568 (advice-mapc): New function, using it.
3569 (advice-function-member-p): New function.
3570 (advice--normalize): Store the cdr in advice--saved-rewrite since
3571 that's the part that will be changed.
3572 (advice--symbol-function): New function.
3573 (advice-remove): Handle removal before the function is defined.
3574 Adjust to new advice--saved-rewrite.
3575 (advice-member-p): Use advice-function-member-p and
3576 advice--symbol-function.
3577
5414a283
JB
35782013-08-04 Juanma Barranquero <lekktu@gmail.com>
3579
51d30f2c
JB
3580 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3581 (frameset-filter-minibuffer): Doc fix.
3582 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3583 (frameset--set-id, frameset--process-minibuffer-frames)
3584 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3585 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3586
5414a283
JB
3587 * desktop.el (desktop-clear): Only delete frames when called
3588 interactively and desktop-restore-frames is non-nil. Doc fix.
3589 (desktop-read): Set desktop-saved-frameset to nil.
3590
ab419665
XF
35912013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3592
3593 * vc/vc.el (vc-ignore): Rewrite.
3594 (vc-default-ignore-completion-table):
3595 (vc--read-lines):
3596 (vc--add-line, vc--remove-regexp): New functions.
3597
3598 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3599 (vc-svn-ignore-completion-table): New function.
3600
3601 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3602 (vc-hg-ignore-completion-table):
3603 (vc-hg-find-ignore-file): New functions.
3604
3605 * vc/vc-git.el (vc-git-ignore): Rewrite.
3606 (vc-git-ignore-completion-table):
3607 (vc-git-find-ignore-file): New functions.
3608
3609 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3610
3611 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3612 (vc-bzr-ignore-completion-table):
3613 (vc-bzr-find-ignore-file): New functions.
3614
2613dea2
JB
36152013-08-03 Juanma Barranquero <lekktu@gmail.com>
3616
3617 * frameset.el (frameset-prop): New function and setter.
3618 (frameset-save): Do not modify frame list passed by the caller.
3619
9c959872
SM
36202013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3623
a104f656
SM
36242013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3625
70122acf
SM
3626 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3627 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3628
a104f656
SM
3629 * custom.el (custom-initialize-default, custom-initialize-set)
3630 (custom-initialize-reset, custom-initialize-changed): Affect the
3631 toplevel-default-value (bug#6275, bug#14586).
3632 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3633 for bug#6275.
3634
f078d570
JB
36352013-08-02 Juanma Barranquero <lekktu@gmail.com>
3636
185e3b5a
JB
3637 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3638 Add cl-def* expressions.
3639
f078d570
JB
3640 * frameset.el (frameset-filter-params): Fix order of arguments.
3641
9421876d
JB
36422013-08-02 Juanma Barranquero <lekktu@gmail.com>
3643
3644 Move code related to saving frames to frameset.el.
3645 * desktop.el: Require frameset.
3646 (desktop-restore-frames): Doc fix.
3647 (desktop-restore-reuses-frames): Rename from
3648 desktop-restoring-reuses-frames.
3649 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3650 (desktop-clear): Clear frames too.
3651 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3652 (desktop--filter-tty*, desktop-save, desktop-read):
3653 Use frameset functions.
3654 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3655 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3656 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3657 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3658 (desktop--process-minibuffer-frames, desktop-save-frames)
3659 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3660 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3661 (desktop--sort-states, desktop-restoring-frames-p)
3662 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3663 (desktop-restoring-frameset-p, desktop-restore-frameset)
3664 (desktop--check-dont-save, desktop-save-frameset): New functions.
3665 (desktop--app-id): New constant.
3666 (desktop-first-buffer, desktop-buffer-ok-count)
3667 (desktop-buffer-fail-count): Move before first use.
3668 * frameset.el: New file.
3669
76dc5996
SM
36702013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * files.el: Use lexical-binding.
3673 (dir-locals-read-from-file): Remove unused `err' variable.
3674 (hack-dir-local-variables--warned-coding): New var.
3675 (hack-dir-local-variables): Use it to avoid repeated warnings.
3676 (make-backup-file-name--default-function): New function.
3677 (make-backup-file-name-function): Use it as default.
3678 (buffer-stale--default-function): New function.
3679 (buffer-stale-function): Use it as default.
3680 (revert-buffer-insert-file-contents--default-function): New function.
3681 (revert-buffer-insert-file-contents-function): Use it as default.
3682 (insert-directory): Avoid add-to-list.
3683
3684 * autorevert.el (auto-revert-handler): Simplify.
3685 Use buffer-stale--default-function.
3686
06d36e2b
TH
36872013-08-01 Tassilo Horn <tsdh@gnu.org>
3688
5f648ab4
TH
3689 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3690
06d36e2b
TH
3691 * whitespace.el (whitespace-ensure-local-variables): New function.
3692 (whitespace-cleanup-region): Call it.
3693 (whitespace-turn-on): Call it.
3694
a43dc424
MA
36952013-08-01 Michael Albinus <michael.albinus@gmx.de>
3696
3697 Complete file name handlers.
3698
3699 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3700 (tramp-handle-verify-visited-file-modtime)
3701 (tramp-handle-file-notify-rm-watch): New functions.
3702 (tramp-call-process): Do not bind `default-directory'.
3703
44e18199
JB
3704 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3705 Order alphabetically.
a43dc424
MA
3706 [access-file, add-name-to-file, dired-call-process]:
3707 [dired-compress-file, file-acl, file-notify-rm-watch]:
3708 [file-ownership-preserved-p, file-selinux-context]:
3709 [make-directory-internal, make-symbolic-link, set-file-acl]:
3710 [set-file-selinux-context, set-visited-file-modtime]:
3711 [verify-visited-file-modtime]: Add handler.
3712 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3713
3714 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3715 [file-notify-add-watch, file-notify-rm-watch]:
3716 [set-file-times, set-visited-file-modtime]:
3717 [verify-visited-file-modtime]: Add handler.
3718 (with-tramp-gvfs-error-message)
3719 (tramp-gvfs-handle-set-visited-file-modtime)
3720 (tramp-gvfs-fuse-file-name): Remove.
3721 (tramp-gvfs-handle-file-notify-add-watch)
3722 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3723 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3724
44e18199
JB
3725 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3726 Order alphabetically.
a43dc424
MA
3727 [file-notify-rm-watch ]: Use default Tramp handler.
3728 [executable-find]: Remove private handler.
3729 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3730 `default-directory'.
3731 (tramp-sh-handle-executable-find)
3732 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3733 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3734 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3735 Do not use `format' in `tramp-message'.
3736
3737 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3738 [file-notify-rm-watch, set-visited-file-modtime]:
3739 [verify-visited-file-modtime]: Add handler.
3740 (tramp-smb-call-winexe): Do not bind `default-directory'.
3741
7188b515
XF
37422013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3743
3744 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3745
2412ee1a
DG
37462013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3747
3748 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3749 use it.
3750 (log-view-diff-changeset): Same.
3751 (log-view-diff-common): Call backend command `previous-revision'
3752 to find out the previous revision, in both cases. Swap the
3753 variables `to' and `fr', so that `fr' usually refers to the
3754 earlier revision (Bug#14989).
3755
5002a754
KRC
37562013-07-31 Kan-Ru Chen <kanru@kanru.info>
3757
3758 * ibuf-ext.el (ibuffer-filter-by-filename):
3759 Make it work with dired buffers too.
3760
44e18199 37612013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3762
3763 * emacs-lisp/re-builder.el (reb-color-display-p):
3764 * files.el (save-buffers-kill-terminal):
3765 * net/browse-url.el (browse-url):
3766 * server.el (server-save-buffers-kill-terminal):
3767 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3768 Prefer nil to selected-frame for the first arg of frame-parameter.
3769
aeca3fbb
XF
37702013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3771
3772 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3773
158bc55c
SB
37742013-07-30 Stephen Berman <stephen.berman@gmx.net>
3775
3776 * minibuffer.el (completion--twq-all): Try and preserve each
3777 completion's case choice (bug#14907).
3778
d50fceab
LMI
37792013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3780
ac38e731
LMI
3781 * net/network-stream.el (open-network-stream): Mention the new
3782 :nogreeting parameter.
3783 (network-stream-open-starttls): Use the :nogreeting parameter
3784 (bug#14938).
3785
1211de50
LMI
3786 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3787
997798bf
LMI
3788 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3789 more natural than popping.
3790
d50fceab 3791 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3792 (shr-urlify): Highlight under mouse.
d50fceab 3793
5c09de04
XF
37942013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3795
207d1d04
XF
3796 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3797
3798 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3799
5c09de04
XF
3800 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3801 buffer for output.
3802
3cd51eaa
XF
3803 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3804 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3805
44e18199 3806 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3807 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3808
3809 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3810
3811 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3812 buffer for output.
3813
35a89bdd
EZ
38142013-07-29 Eli Zaretskii <eliz@gnu.org>
3815
3816 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3817 initial frame is minibuffer-less. (Bug#14841)
3818
78822e94
MA
38192013-07-29 Michael Albinus <michael.albinus@gmx.de>
3820
3821 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3822 option.
3823
3824 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3825 (tramp-maybe-open-connection): Use it.
3826
9503c190
JB
38272013-07-28 Juanma Barranquero <lekktu@gmail.com>
3828
3829 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3830 minimal set of parameters passed when creating a frame, because
3831 the minibuffer status of a frame cannot be changed later.
3832
d5a845b4
SB
38332013-07-28 Stephen Berman <stephen.berman@gmx.net>
3834
3835 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3836 replace-regexp-in-string and inadvertent omissions in previous change.
3837 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3838 name of filtered items buffer.
d5a845b4 3839
ddeffb17
JB
38402013-07-28 Juanma Barranquero <lekktu@gmail.com>
3841
3842 * desktop.el: Optionally force offscreen frames back onscreen.
3843 (desktop-restoring-reuses-frames): New option.
3844 (desktop--compute-pos, desktop--move-onscreen): New functions.
3845 (desktop--make-frame): Use desktop--move-onscreen.
3846
f5950f7a
AM
38472013-07-27 Alan Mackenzie <acm@muc.de>
3848
3849 Fontify a Java generic method as a function.
3850 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3851 value to t.
3852
ae43b66a
SB
38532013-07-27 Stephen Berman <stephen.berman@gmx.net>
3854
3855 * calendar/todo-mode.el: Add command to rename todo files.
3856 (todo-rename-file): New command.
3857 (todo-key-bindings-t): Add key binding for it. Change the
3858 bindings of todo-filter-regexp-items(-multifile) to use `x'
3859 instead of `r', since the latter is better suited to the new
3860 renaming command.
3861
5ab78d3d
AM
38622013-07-27 Alan Mackenzie <acm@muc.de>
3863
3864 Make Java try-with-resources statement parse properly.
3865 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3866 (c-block-stmt-1-2-key): New language constants/variables.
3867 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3868 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3869 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3870 with c-block-stmt-1-2-key.
5ab78d3d 3871
d85c4d50
JB
38722013-07-27 Juanma Barranquero <lekktu@gmail.com>
3873
3874 * desktop.el (desktop--make-frame): Apply most frame parameters after
3875 creating the frame to force (partially or totally) offscreen frames to
3876 be restored as such.
3877
e4c467f9
XF
38782013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3879
3880 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3881 (Bug#14948)
e4c467f9 3882
7ced0d04
SM
38832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3886 `base' arg of backtrace-frame.
3887
fec92060
EZ
38882013-07-26 Eli Zaretskii <eliz@gnu.org>
3889
3890 * simple.el (list-processes): Doc fix.
3891
d58d31fb
JB
38922013-07-26 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * desktop.el (desktop--select-frame):
d85c4d50 3895 Try harder to reuse existing frames.
d58d31fb 3896
53ff3e77
SM
38972013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3900 (edebug-eval): Use backtrace-eval.
3901 (edebug--display, edebug--recursive-edit): Don't let-bind the
3902 edebug-outer-* vars that keep track of variables we locally let-bind.
3903 (edebug-outside-excursion): Don't restore outside values of locally
3904 let-bound vars.
3905 (edebug--display): Use user-error.
3906 (cl-lexical-debug, cl-debug-env): Remove.
3907
045f7a53
JB
39082013-07-26 Juanma Barranquero <lekktu@gmail.com>
3909
3910 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3911 are restored to be sure that they are visible before deleting any
3912 remaining ones.
3913
59070b32
MM
39142013-07-26 Matthias Meulien <orontee@gmail.com>
3915
742a3501
XF
3916 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3917 vc-print-root-log. (Bug#14948)
59070b32 3918
b1fb3596
RS
39192013-07-26 Richard Stallman <rms@gnu.org>
3920
3921 Add aliases for encrypting mail.
3922 * epa.el (epa-mail-aliases): New option.
3923 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3924 Bind inhibit-read-only so read-only text doesn't ruin everything.
3925 (epa-mail-default-recipients): New subroutine broken out.
3926 Handle epa-mail-aliases.
3927
56ea7291
SM
39282013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 Add support for lexical variables to the debugger's `e' command.
3931 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3932 vars, except for debugger-outer-match-data.
3933 (debugger-frame-number): Move check for "on a function call" from
3934 callers into it. Add `skip-base' argument.
3935 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3936 (debugger-env-macro): Only reset the state stored in non-variables,
3937 i.e. current-buffer and match-data.
3938 (debugger-eval-expression): Rewrite using backtrace-eval.
3939 * subr.el (internal--called-interactively-p--get-frame): Remove.
3940 (called-interactively-p):
3941 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3942 `base' arg of backtrace-frame instead.
3943
15ac32d5
GM
39442013-07-26 Glenn Morris <rgm@gnu.org>
3945
8358a09d
GM
3946 * align.el (align-regexp): Doc fix. (Bug#14857)
3947 (align-region): Explicit error if subexpression missing/does not match.
3948
15ac32d5
GM
3949 * simple.el (global-visual-line-mode):
3950 Do not duplicate the mode lighter. (Bug#14858)
3951
f47ad11b
MR
39522013-07-25 Martin Rudalics <rudalics@gmx.at>
3953
3954 * window.el (display-buffer): In display-buffer bind
3955 split-window-keep-point to t, bug#14829.
3956
02530987
JB
39572013-07-25 Juanma Barranquero <lekktu@gmail.com>
3958
3959 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3960 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3961 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3962 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3963 Change accordingly.
f63ebeb5
JB
3964 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3965 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3966
6ccb9cab 39672013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3968
6ccb9cab 3969 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3970
cb3a56d2
JB
39712013-07-25 Juanma Barranquero <lekktu@gmail.com>
3972
3973 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3974 parameter to modify-frame-parameters if the value has not changed;
3975 this is a workaround for bug#14949.
3976 (desktop--make-frame): On cl-delete-if call, check parameter name,
3977 not full parameter.
3978
7aa7fff0
XF
39792013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3980
3981 * vc/vc.el (vc-ignore): New function.
3982
3983 * vc/vc-svn.el (vc-svn-ignore): New function.
3984
3985 * vc/vc-hg.el (vc-hg-ignore): New function.
3986
3987 * vc/vc-git.el (vc-git-ignore): New function.
3988
3989 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3990 (vc-dir-ignore): New function.
3991
3992 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3993 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3994
3995 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3996
3997 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3998
889acc5c
JB
39992013-07-24 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4002 (desktop-restore-frames): Warn when deleting an existing frame failed.
4003
86c40970
GM
40042013-07-24 Glenn Morris <rgm@gnu.org>
4005
4006 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4007
d5d3c58a
MA
40082013-07-24 Michael Albinus <michael.albinus@gmx.de>
4009
4010 * filenotify.el (file-notify-supported-p):
4011 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4012 Remove functions.
4013
4014 * autorevert.el (auto-revert-use-notify):
4015 (auto-revert-notify-add-watch):
4016 * net/tramp.el (tramp-file-name-for-operation):
4017 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4018 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4019 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Remove `file-notify-supported-p' entry.
4022
d100084b
GM
40232013-07-24 Glenn Morris <rgm@gnu.org>
4024
4025 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4026 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4027
ac93e56b
SM
40282013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4029
249eea30
SM
4030 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4031 checked with memq (bug#14935).
4032
ac93e56b
SM
4033 * files.el (revert-buffer-function): Use a non-nil default.
4034 (revert-buffer-preserve-modes): Declare var to
4035 provide access to the `preserve-modes' argument.
4036 (revert-buffer): Let-bind it.
4037 (revert-buffer--default): New function, extracted from revert-buffer.
4038
2cdeb903
SM
40392013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * lpr.el: Signal print errors more prominently.
4042 (print-region-function): Don't default to nil.
4043 (lpr-print-region): New function, extracted from print-region-1.
4044 Check lpr's return value and signal an error in case of problem.
4045 (print-region-1): Use it.
4046 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4047 versions instead.
4048 (ps-printer-name): Default to nil.
4049 (ps-printer-name-option): Default to lpr-printer-switch.
4050 (ps-print-region-function): Don't default to nil.
4051 (ps-postscript-code-directory): Simplify default.
4052 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4053 (ps-string-list, ps-eval-switch, ps-flatten-list)
4054 (ps-flatten-list-1): Remove.
4055 (ps-multibyte-buffer): Avoid setq.
4056 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4057 (print-region-function, ps-print-region-function): Don't set them here.
4058
73600831
XF
40592013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4060
0e55c076
XF
4061 * ido.el (ido-fractionp):
4062 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4063 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4064 (ido-max-directory-size, ido-max-dir-file-cache)
4065 (ido-decorations): Doc fix.
4066
73600831
XF
4067 * ansi-color.el: Fix old URL.
4068
3d012865
MM
40692013-07-23 Michael R. Mauger <michael@mauger.com>
4070
e903c210 4071 * progmodes/sql.el: Version 3.3
3d012865
MM
4072 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4073 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4074 (sql-interactive-remove-continuation-prompt): Rewrite, use
4075 functions above. Fix continuation prompt and complete output line
4076 handling.
4077 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4078 redirected output buffer.
4079 (sql-mode): Restore deleted code (Bug#13591).
4080
da77a2e2
JB
40812013-07-23 Juanma Barranquero <lekktu@gmail.com>
4082
4083 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4084
80ff0c71
MA
40852013-07-23 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4088
4089 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4090 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4091 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4092
b61d71e4
JB
40932013-07-23 Juanma Barranquero <lekktu@gmail.com>
4094
4095 * desktop.el (desktop-clear): Simplify; remove useless checks
4096 against invalid buffer names.
4097 (desktop-list*): Use cl-list*.
4098 (desktop-buffer-info, desktop-create-buffer): Simplify.
4099
c3512092
LL
41002013-07-23 Leo Liu <sdl.web@gmail.com>
4101
4102 * bookmark.el (bookmark-make-record): Restore NAME as a default
4103 value. (Bug#14933)
4104
0ac26976
SM
41052013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4106
7d22ce18
SM
4107 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4108 extracted from autoload--insert-text.
4109 (autoload--insert-text): Remove.
4110 (autoload--print-cookie-text): New function, extracted from
4111 autoload--insert-cookie-text.
4112 (autoload--insert-cookie-text): Remove.
4113 (autoload-generate-file-autoloads): Adjust calls accordingly.
4114
9b2607e8
SM
4115 * winner.el (winner-hook-installed-p): Remove.
4116 (winner-mode): Simplify accordingly.
4117
c43a8618
SM
4118 * subr.el (add-to-list): Fix compiler-macro when `append' is
4119 not constant. Don't use `cl-member' for the base case.
4120
0ac26976
SM
4121 * progmodes/subword.el: Fix boundary case (bug#13758).
4122 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4123 own group.
4124 (subword-backward-regexp): Make it a constant.
4125 (subword-forward-internal): Don't treat a trailing capital as the
4126 beginning of a word.
4127
6874724a
AR
41282013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4129
4130 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4131 global value of tabulated-list-revert-hook (bug#14930).
4132
70f1b5e8
JB
41332013-07-22 Juanma Barranquero <lekktu@gmail.com>
4134
a1c80d9d
JB
4135 * desktop.el: Require 'cl-lib.
4136 (desktop-before-saving-frames-functions): New hook.
4137 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4138 for frames being saved. Rename from desktop--save-minibuffer-frames.
4139 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4140 Do not save frames with non-nil `desktop-dont-save' parameter.
4141 Filter out deleted frames.
a1c80d9d
JB
4142 (desktop--find-frame): Use cl-find-if.
4143 (desktop--select-frame): Use cl-(first|second|third) to access values
4144 of desktop-mini.
4145 (desktop--make-frame): Use cl-delete-if.
4146 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4147 (desktop-restore-frames): Use cl-(first|second|third) to access values
4148 of desktop-mini. Look for visible frame at the end, not while
4149 restoring frames.
4150
70f1b5e8
JB
4151 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4152 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4153 Use string-match-p, looking-at-p (bug#14927).
4154
728dc3cc
JB
41552013-07-21 Juanma Barranquero <lekktu@gmail.com>
4156
56bc453c
JB
4157 * desktop.el (desktop-saved-frame-states):
4158 Rename from desktop--saved-states; all users changed.
4159 (desktop-save-frames): Rename from desktop--save-frames.
4160 Do not save state to desktop file.
4161 (desktop-save): Save desktop-saved-frame-states to desktop file
4162 and reset to nil.
4163 (desktop-restoring-frames-p): New function.
4164 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4165 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4166 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4167
728dc3cc
JB
4168 * desktop.el: Correctly restore iconified frames.
4169 (desktop--filter-iconified-position): New function.
4170 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4171
862f1c9c
GM
41722013-07-20 Glenn Morris <rgm@gnu.org>
4173
c4074c9f
GM
4174 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4175 Let `message' do the formatting.
4176 (def-gdb-preempt-display-buffer): Add explicit format.
4177
d828e5f9
GM
4178 * image-dired.el (image-dired-track-original-file):
4179 Use with-current-buffer.
4180 (image-dired-track-thumbnail): Use with-current-buffer.
4181 Avoid changing point of wrong window.
4182
862f1c9c
GM
4183 * image-dired.el (image-dired-track-original-file):
4184 Avoid changing point of wrong window. (Bug#14909)
4185
f0398ec1 41862013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4187
4188 * progmodes/gdb-mi.el (gdb-done-or-error):
4189 Guard against "%" in gdb output. (Bug#14127)
4190
1451928f
AS
41912013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4192
763a086d
JB
4193 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4194 (Bug#14826)
f7a03897 4195
1451928f
AS
4196 * international/mule.el (coding-system-iso-2022-flags): Fix last
4197 change.
4198
99107004
KH
41992013-07-20 Kenichi Handa <handa@gnu.org>
4200
763a086d
JB
4201 * international/mule.el (coding-system-iso-2022-flags):
4202 Add `8-bit-level-4'. (Bug#8522)
99107004 4203
48494e06
LMI
42042013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4205
8ba8eec5
LMI
4206 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4207 (bug#14815).
4208
dfbc66e3
LMI
4209 * net/eww.el (eww-process-text-input): Allow inputting when the
4210 point is at the start of the line, as the properties aren't
4211 front-sticky.
4212
48494e06
LMI
4213 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4214 degenerate widths.
4215
77c92cb9
RS
42162013-07-19 Richard Stallman <rms@gnu.org>
4217
aec7da77
RS
4218 * epa.el (epa-popup-info-window): Doc fix.
4219
77c92cb9
RS
4220 * subr.el (split-string): New arg TRIM.
4221
945c5bb1
JB
42222013-07-18 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4225 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4226
e06ec67f
MA
42272013-07-18 Michael Albinus <michael.albinus@gmx.de>
4228
c7064f05 4229 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4230 `file-notify-support'. Do not autoload. Adapt all uses.
4231 (file-notify-supported-p): New defun.
4232
c7064f05
JB
4233 * autorevert.el (auto-revert-use-notify):
4234 Use `file-notify-supported-p' instead of `file-notify-support'.
4235 Adapt docstring.
e06ec67f
MA
4236 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4237
4238 * net/tramp.el (tramp-file-name-for-operation):
4239 Add `file-notify-supported-p'.
4240
4241 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4242 New defun.
4243 (tramp-sh-file-name-handler-alist): Add it as handler for
4244 `file-notify-supported-p '.
4245
4246 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4247 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4248 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4249 Add `ignore' as handler for `file-notify-*' functions.
4250
5dc8a629
EZ
42512013-07-17 Eli Zaretskii <eliz@gnu.org>
4252
4253 * simple.el (line-move-partial, line-move): Don't start vscroll or
4254 scroll-up if the current line is not taller than the window.
4255 (Bug#14881)
4256
77aea2fb
DG
42572013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4258
4259 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4260 highlight question marks in the method names as strings.
ac72c08d
DG
4261 (ruby-block-beg-keywords): Inline.
4262 (ruby-font-lock-keyword-beg-re): Extract from
4263 `ruby-font-lock-keywords'.
77aea2fb 4264
18c26d81
JD
42652013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4266
4267 * frame.el (blink-cursor-blinks): New defcustom.
4268 (blink-cursor-blinks-done): New defvar.
4269 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4270 (blink-cursor-timer-function): Check if number of blinks has been
4271 done on X and NS.
4272 (blink-cursor-suspend, blink-cursor-check): New defuns.
4273
da48522e
GM
42742013-07-15 Glenn Morris <rgm@gnu.org>
4275
4276 * edmacro.el (edmacro-format-keys): Fix previous change.
4277
0463c1ef
PE
42782013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4279
4280 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4281 The hack didn't work outside English locales anyway.
4282
b43f6451
JB
42832013-07-15 Juanma Barranquero <lekktu@gmail.com>
4284
4285 * simple.el (define-alternatives): Rename from alternatives-define,
4286 per RMS' suggestion.
4287
b958c0ad
JB
42882013-07-14 Juanma Barranquero <lekktu@gmail.com>
4289
4290 * desktop.el (desktop-restore-frames): Change default to t.
4291 (desktop-restore-in-current-display): Now offer more options.
4292 (desktop-restoring-reuses-frames): New customization option.
4293 (desktop--saved-states): Doc fix.
4294 (desktop-filter-parameters-alist): New variable, renamed and expanded
4295 from desktop--excluded-frame-parameters.
4296 (desktop--target-display): New variable.
4297 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4298 (desktop--filter-tty*, desktop--filter-*-color)
4299 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4300 (desktop--filter-save-desktop-parm)
4301 (desktop-restore-in-original-display-p): New functions.
4302 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4303 (desktop--save-minibuffer-frames): New function, inspired by a similar
4304 function from Martin Rudalics.
4305 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4306 (desktop--restore-in-this-display-p): Remove.
4307 (desktop--find-frame): Rename from desktop--find-frame-in-display
4308 and add predicate argument.
4309 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4310 (desktop--reuse-list): New variable.
4311 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4312 New functions.
4313 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4314
f6dd8b36
MA
43152013-07-14 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4318
2ce3c565
DG
43192013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4320
763a086d
JB
4321 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4322 Highlight conversion methods on Kernel.
2ce3c565 4323
2cdb7698
AM
43242013-07-13 Alan Mackenzie <acm@muc.de>
4325
4326 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4327 and comment it out. This out-commenting enables certain C++
4328 declarations to be parsed correctly.
4329
1a67b811
EZ
43302013-07-13 Eli Zaretskii <eliz@gnu.org>
4331
1b796d6b
EZ
4332 * international/mule.el (define-coding-system): Doc fix.
4333
1a67b811
EZ
4334 * simple.el (default-font-height): Don't call font-info if the
4335 frame's default font didn't change since the frame was created.
4336 (Bug#14838)
4337
58fbe886
LL
43382013-07-13 Leo Liu <sdl.web@gmail.com>
4339
4340 * ido.el (ido-read-file-name): Guard against non-symbol value.
4341
1f0480d4
FEG
43422013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4343
4344 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4345 in nested defuns.
4346
97ead0e5
LL
43472013-07-13 Leo Liu <sdl.web@gmail.com>
4348
4349 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4350 ido-set-matches call. (Bug#6852)
4351
0880a952
DG
43522013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4353
4354 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4355 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4356 Ruby 2.0.
4357 (ruby-font-lock-keywords): Distinguish calls to functions with
4358 module-like names from module references. Highlight character
4359 literals.
4360
a7d8babb
SDJ
43612013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4362
4363 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4364 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4365
acfcc8c5
JB
43662013-07-12 Juanma Barranquero <lekktu@gmail.com>
4367
4368 * desktop.el (desktop--v2s): Remove unused local variable.
4369 (desktop-save-buffer): Make defvar-local; adjust docstring.
4370 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4371 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4372
051f2775
AS
43732013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4374
4375 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4376
f24e7572
GM
43772013-07-12 Eli Zaretskii <eliz@gnu.org>
4378
4379 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4380 (Bug#14842)
4381
539a920c
GM
43822013-07-12 Glenn Morris <rgm@gnu.org>
4383
4384 * doc-view.el: Require cl-lib at runtime too.
4385 (doc-view-remove-if): Remove.
4386 (doc-view-search-next-match, doc-view-search-previous-match):
4387 Use cl-remove-if.
4388
4389 * edmacro.el: Require cl-lib at runtime too.
4390 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4391 (edmacro-mismatch, edmacro-subseq): Remove.
4392
4393 * shadowfile.el: Require cl-lib.
4394 (shadow-remove-if): Remove.
4395 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4396 Use cl-remove-if.
4397
4398 * wid-edit.el: Require cl-lib.
4399 (widget-choose): Use cl-remove-if.
4400 (widget-remove-if): Remove.
4401
4402 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4403 (ebrowse-delete-if-not): Remove.
4404 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4405 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4406 Use cl-delete-if-not.
4407
1048af7c
JB
44082013-07-12 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4411 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4412
6c0674ee
LL
44132013-07-12 Leo Liu <sdl.web@gmail.com>
4414
4415 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4416
a19b3c2d
GM
44172013-07-11 Glenn Morris <rgm@gnu.org>
4418
4582a01c
GM
4419 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4420 (edebug-gensym-index, edebug-gensym):
4421 Remove reimplementation of cl-gensym.
4422 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4423
4424 * thumbs.el: Require cl-lib at run-time too.
4425 (thumbs-gensym-counter, thumbs-gensym):
4426 Remove reimplementation of cl-gensym.
4427 (thumbs-temp-file): Use cl-gensym.
4428
a19b3c2d
GM
4429 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4430 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4431 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4432 (ert--union, ert--gensym-counter, ert--gensym-counter)
4433 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4434 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4435 (ert-make-test-unbound, ert--expand-should-1)
4436 (ert--expand-should, ert--should-error-handle-error)
4437 (should-error, ert--explain-equal-rec)
4438 (ert--plist-difference-explanation, ert-select-tests)
4439 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4440 Use cl-lib functions rather than reimplementations.
4441
88f6a933
MA
44422013-07-11 Michael Albinus <michael.albinus@gmx.de>
4443
4444 * net/tramp.el (tramp-methods): Extend docstring.
4445 (tramp-connection-timeout): New defcustom.
4446 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4447 (with-tramp-progress-reporter): Simplify.
4448 (tramp-process-actions): Improve messages.
4449
4450 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4451 * net/tramp-sh.el (tramp-maybe-open-connection):
4452 Use `tramp-connection-timeout'.
4453 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4454 (Bug#14808)
4455
a43d577e
LL
44562013-07-11 Leo Liu <sdl.web@gmail.com>
4457
4458 * ido.el (ido-read-file-name): Conform to the requirements of
4459 read-file-name. (Bug#11861)
4460 (ido-read-directory-name): Conform to the requirements of
4461 read-directory-name.
4462
d77974bf
JB
44632013-07-11 Juanma Barranquero <lekktu@gmail.com>
4464
4465 * subr.el (delay-warning): New function.
4466
35cb8a3e
EZ
44672013-07-10 Eli Zaretskii <eliz@gnu.org>
4468
4469 * simple.el (default-line-height): New function.
4470 (line-move-partial, line-move): Use it instead of computing the
4471 line height inline.
4472 (line-move-partial): Always compute ROWH. If the last line is
4473 partially-visible, but its text is completely visible, allow
4474 cursor to enter such a partially-visible line.
4475
525c5c77
MA
44762013-07-10 Michael Albinus <michael.albinus@gmx.de>
4477
4478 Improve error messages. (Bug#14808)
4479
4480 * net/tramp.el (tramp-current-connection): New defvar, moved from
4481 tramp-sh.el.
0ac26976 4482 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4483 needed anymore.
0ac26976
SM
4484 (tramp-error-with-buffer): Show message in minibuffer.
4485 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4486 (with-tramp-progress-reporter): Improve messages.
4487 (tramp-process-actions): Use progress reporter. Delete process in
4488 case of error. Improve messages.
4489
763a086d
JB
4490 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4491 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4492 (tramp-current-connection): Remove.
525c5c77
MA
4493 (tramp-maybe-open-connection): The car of
4494 `tramp-current-connection' are the first 3 slots of the vector.
4495
c7a4d368
TZ
44962013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4497
4498 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4499 inside continued strings.
4500
954b166e
PE
45012013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4502
4503 Timestamp fixes for undo (Bug#14824).
4504 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4505
56973319
LL
45062013-07-10 Leo Liu <sdl.web@gmail.com>
4507
4508 * files.el (require-final-newline): Allow safe local value.
4509 (Bug#14834)
4510
5550a72c
LL
45112013-07-09 Leo Liu <sdl.web@gmail.com>
4512
4513 * ido.el (ido-read-directory-name): Handle fallback.
4514 (ido-read-file-name): Update DIR to ido-current-directory.
4515 (Bug#1516)
c28b9050 4516 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4517
70c46b28
DG
45182013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4521 "autoload". Remove "warn lower camel case" section, previously
4522 commented out. Highlight negation char. Do not highlight the
4523 target in singleton method definitions.
4524
0b64b838
SM
45252013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4526
7fd72e2c
SM
4527 * faces.el (tty-setup-hook): Declare the hook.
4528
0b64b838
SM
4529 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4530 and detect when a guard/pred depends on local vars (bug#14773).
4531 (pcase--u1): Adjust caller.
4532
ab49d60b
EZ
45332013-07-08 Eli Zaretskii <eliz@gnu.org>
4534
4535 * simple.el (line-move-partial, line-move): Account for
4536 line-spacing.
701d79aa
EZ
4537 (line-move-partial): Avoid setting vscroll when the last
4538 partially-visible line in window is of default height.
ab49d60b 4539
2d756ae0
LMI
45402013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4541
4542 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4543 been used a while.
4544
ed095bd7
JB
45452013-07-07 Juanma Barranquero <lekktu@gmail.com>
4546
4547 * subr.el (read-quoted-char): Remove unused local variable `char'.
4548
f1e6674b
MK
45492013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4550
584ee3fc
GM
4551 * ediff.el (ediff-version): Version update.
4552 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4553 (ediff-merge-with-ancestor-command, ediff-directories-command)
4554 (ediff-directories3-command, ediff-merge-directories-command)
4555 (ediff-merge-directories-with-ancestor-command): New functions.
4556 All are command-line interfaces to ediff: to facilitate calling
4557 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4558
4559 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4560 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4561
584ee3fc
GM
4562 * viper.el (viper-version): Version update.
4563 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4564
584ee3fc
GM
45652013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4568 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4569 (viper-intercept-ESC-key): Simplify.
4570 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4571 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4572 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4573 (viper-setup-ESC-to-escape): New functions.
4574 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4575 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4576
9aff9b38
EZ
45772013-07-07 Eli Zaretskii <eliz@gnu.org>
4578
5165d44a
JB
4579 * simple.el (default-font-height, window-screen-lines):
4580 New functions.
9aff9b38
EZ
4581 (line-move, line-move-partial): Use them instead of
4582 frame-char-height and window-text-height. This makes scrolling
4583 text smoother when the buffer's default face uses a font that is
4584 different from the frame's default font.
4585
1afb1d07
JD
45862013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4587
4588 * files.el (write-file): Do not display confirm dialog for NS,
4589 it does its own dialog, which can't be cancelled (Bug#14578).
4590
23de972a
EZ
45912013-07-06 Eli Zaretskii <eliz@gnu.org>
4592
4593 * simple.el (line-move-partial): Adjust the row returned by
4594 posn-at-point for the current window-vscroll. (Bug#14567)
4595
54a42486
MA
45962013-07-06 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4599 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4600 spaces.
4601
34ada5f4
MR
46022013-07-06 Martin Rudalics <rudalics@gmx.at>
4603
4604 * window.el (window-state-put-stale-windows): New variable.
4605 (window--state-put-2): Save list of windows without matching buffer.
4606 (window-state-put): Remove "bufferless" windows if possible.
4607
11e03d89
JB
46082013-07-06 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * simple.el (alternatives-define): Remove leftover :group keyword.
4611 Tweak docstring.
4612
3504a4be
LL
46132013-07-06 Leo Liu <sdl.web@gmail.com>
4614
4615 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4616 (ido-enable-virtual-buffers): New variable.
4617 (ido-buffer-internal, ido-toggle-virtual-buffers)
4618 (ido-make-buffer-list): Use it.
4619 (ido-exhibit): Support turning on and off virtual buffers
4620 automatically.
4621
61e56e2c
JB
46222013-07-06 Juanma Barranquero <lekktu@gmail.com>
4623
4624 * simple.el (alternatives-define): New macro.
4625
321e1a9c
SM
46262013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * subr.el (read-quoted-char): Use read-key.
4629 (sit-for): Let read-event decode tty input (bug#14782).
4630
d610f6dd
SB
46312013-07-05 Stephen Berman <stephen.berman@gmx.net>
4632
4633 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4634 mode command and externally. Fix various related bugs.
4635 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4636 (todo-delete-file): New command.
4637 (todo-check-file): New function.
4638 (todo-show): Handle external deletion of the file we're trying to
4639 show (bug#14688). Replace called-interactively-p by an optional
4640 prefix argument to avoid problematic interaction with catch form
4641 when byte compiled (bug#14702).
4642 (todo-quit): Handle external deletion of the archive's todo file.
4643 Make sure the buffer that was visiting the archive file is still
4644 live before trying to bury it.
4645 (todo-category-completions): Handle external deletion of any
4646 category completion files.
4647 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4648 of todo files, in case of external deletion.
4649 (todo-add-file): Replace unnecessary setq by let-binding.
4650 (todo-find-archive): Check whether there are any archives.
4651 Replace unnecessary setq by let-binding.
4652 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4653 archive buffer whether or not the archive already exists.
4654 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4655 check if the archive is new; if it is, update list of archives.
4656 (todo-default-todo-file): Allow nil to be a valid value for when
4657 there are no todo files.
4658 (todo-reevaluate-default-file-defcustom): Use corrected definition
4659 of todo-default-todo-file.
4660 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4661 (todo-delete-category, todo-show-categories-table)
4662 (todo-category-number): Clarify comment.
4663 (todo-filter-items): Clarify documentation string.
4664 (todo-show-current-file, todo-display-as-todo-file)
4665 (todo-reset-and-enable-done-separator): Tweak documentation string.
4666 (todo-done-separator): Make separator length window-width, since
4667 bug#2749 is now fixed.
4668
ddbdfd6f
MA
46692013-07-05 Michael Albinus <michael.albinus@gmx.de>
4670
321e1a9c
SM
4671 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4672 Support both "gvfs-monitor-dir" and "inotifywait".
4673 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4674 `tramp-sh-file-notify-process-filter'.
4675 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4676 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4677
96eb829a
LL
46782013-07-05 Leo Liu <sdl.web@gmail.com>
4679
4680 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4681
cf13177e
YM
46822013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4683
4684 * frame.el (display-pixel-height, display-pixel-width)
4685 (display-mm-height, display-mm-width): Mention behavior on
4686 multi-monitor setups in docstrings.
4687 (w32-display-monitor-attributes-list): Declare function.
4688 (display-monitor-attributes-list): Use it.
4689
864c58ca
MA
46902013-07-04 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * filenotify.el: New package.
4693
4694 * autorevert.el (top): Require filenotify.el.
4695 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4696 instead.
4697 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4698 (auto-revert-notify-handler): Use `file-notify-*' functions.
4699
4700 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4701
321e1a9c
SM
4702 * net/tramp.el (tramp-file-name-for-operation):
4703 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4704
4705 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4706 for `file-notify-add-watch' and `file-notify-rm-watch'.
4707 (tramp-process-sentinel): Improve trace.
4708 (tramp-sh-handle-file-notify-add-watch)
4709 (tramp-sh-file-notify-process-filter)
4710 (tramp-sh-handle-file-notify-rm-watch)
4711 (tramp-get-remote-inotifywait): New defuns.
4712
96673afe
JL
47132013-07-03 Juri Linkov <juri@jurta.org>
4714
4715 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4716 call of `occur-read-primary-args' to interactive spec.
4717
4718 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4719 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4720
924494f4
MM
47212013-07-03 Matthias Meulien <orontee@gmail.com>
4722
4723 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4724 `Buffer-menu-multi-occur'. Add it to the menu.
4725 (Buffer-menu-mode): Document it in docstring.
4726 (Buffer-menu-multi-occur): New command. (Bug#14673)
4727
56f75efc
DG
47282013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4729
4730 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4731 keywords and built-ins.
4732
9b057d61
GM
47332013-07-03 Glenn Morris <rgm@gnu.org>
4734
208dee4d
GM
4735 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4736
9b057d61
GM
4737 Make info-xref checks case-sensitive by default
4738 * info.el (Info-find-node, Info-find-in-tag-table)
4739 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4740 Add option for exact case matching of nodes.
4741 * info-xref.el (info-xref): New custom group.
4742 (info-xref-case-fold): New option.
4743 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4744
e01aa29c
LL
47452013-07-03 Leo Liu <sdl.web@gmail.com>
4746
4747 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4748
3086ca2e
DG
47492013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4750
4751 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4752 middle of block statement initially, lower the depth. Remove
4753 FIXME comment, not longer valid. Remove middle of block statement
4754 detection, no need to do that anymore since we've been using
4755 `ruby-parse-region' here.
4756
a3b49114
JD
47572013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4758
4759 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4760
08e5c823 47612013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4762
4763 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4764
2addf922
JB
47652013-07-01 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4768 (desktop-restore-in-current-display): New customization option.
4769 (desktop--excluded-frame-parameters): Add `font'.
4770 (desktop--save-frames): Rename from desktop--save-windows.
4771 (desktop--restore-in-this-display-p): New function.
4772 (desktop--make-full-frame): Remove unwanted width/height from
4773 full(width|height) frames.
4774 (desktop--restore-frames): Rename from desktop--restore-windows.
4775 Obey desktop-restore-current-display. Do not delete old frames or
4776 select a new frame unless we were able to restore at least one frame.
4777
ef099a94
MN
47782013-06-30 Michal Nazarewicz <mina86@mina86.com>
4779
4780 * files.el (find-file-noselect): Simplify conditional expression.
4781
4782 * remember.el (remember-append-to-file):
4783 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4784
4785 Add `remember-notes' function to store random notes across Emacs
4786 restarts.
4787 * remember.el (remember-data-file): Add :set callback to affect
4788 notes buffer (if any).
4789 (remember-notes): New command.
4790 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4791 New defcustoms for the `remember-notes' function.
4792 (remember-notes-save-and-bury-buffer): New command.
4793 (remember-notes-mode-map): New variable.
4794 (remember-mode): New minor mode.
4795 (remember-notes--kill-buffer-query): New function.
4796 * startup.el (initial-buffer-choice): Add notes to custom type.
4797
0865d506
EZ
47982013-06-30 Eli Zaretskii <eliz@gnu.org>
4799
0ba54312
EZ
4800 * bindings.el (right-char, left-char): Don't call sit-for, this is
4801 no longer needed. Use arithmetic comparison only for numerical
4802 arguments.
4803
ef099a94
MN
4804 * international/mule-cmds.el (select-safe-coding-system):
4805 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4806
2fae38e5
LMI
48072013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4808
4809 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4810 progression on degenerate tables.
ef099a94 4811 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4812
a47cbd64
JB
48132013-06-30 Juanma Barranquero <lekktu@gmail.com>
4814
4815 Some fixes and improvements for desktop frame restoration.
4816 It is still experimental and disabled by default.
4817 * desktop.el (desktop--save-windows): Put the selected frame at
4818 the head of the list.
4819 (desktop--make-full-frame): New function.
4820 (desktop--restore-windows): Try to re-select the frame that was
4821 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4822 just show an error message and continue. Set up maximized frames
4823 so they have default non-maximized dimensions.
a47cbd64 4824
6dbafa30
DG
48252013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4826
ef099a94
MN
4827 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4828 Don't start heredoc inside a string or comment.
6dbafa30 4829
4c672a0f
EZ
48302013-06-29 Eli Zaretskii <eliz@gnu.org>
4831
4832 * bindings.el (visual-order-cursor-movement): New defcustom.
4833 (right-char, left-char): Provide visual-order cursor motion by
4834 calling move-point-visually. Update the doc strings.
4835
50960f36
KH
48362013-06-28 Kenichi Handa <handa@gnu.org>
4837
4838 * international/mule.el (define-coding-system): New coding system
4839 properties :inhibit-null-byte-detection,
4840 :inhibit-iso-escape-detection, and :prefer-utf-8.
4841 (set-buffer-file-coding-system): If :charset-list property of
4842 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4843 appropriate for setting.
4844
c1ea3abf
JB
4845 * international/mule-cmds.el (select-safe-coding-system):
4846 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4847 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4848
4849 * international/mule-conf.el (prefer-utf-8): New coding system.
4850 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4851 files.
4852
75dbaf9d
IK
48532013-06-28 Ivan Kanis <ivan@kanis.fr>
4854
eadb6068
IK
4855 * net/shr.el (shr-render-region): New function.
4856
75dbaf9d
IK
4857 * net/eww.el: Autoload `eww-browse-url'.
4858
9ea5cf9f
DG
48592013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4860
c1ea3abf
JB
4861 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4862 Adapt to `package-desc-version' being a list.
4863 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4864 archive element.
4865
39c0e36f
JB
48662013-06-27 Juanma Barranquero <lekktu@gmail.com>
4867
4868 New experimental feature to save&restore window and frame setup.
4869 * desktop.el (desktop-save-windows): New defcustom.
4870 (desktop--saved-states): New var.
4871 (desktop--excluded-frame-parameters): New defconst.
4872 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4873 (desktop--restore-windows, desktop--save-windows): New functions.
4874 (desktop-save): Call `desktop--save-windows'.
4875 (desktop-read): Call `desktop--restore-windows'.
4876
7f13406b
LMI
48772013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4878
ef099a94 4879 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4880
1e072639
SB
48812013-06-27 Stephen Berman <stephen.berman@gmx.net>
4882
4883 * info.el (Info-try-follow-nearest-node): Move search for footnote
4884 above search for node name to prevent missing a footnote (bug#14717).
4885
f3e2cbde
SB
48862013-06-27 Stephen Berman <stephen.berman@gmx.net>
4887
4888 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4889
99906aa0
LL
48902013-06-27 Leo Liu <sdl.web@gmail.com>
4891
4892 * net/eww.el (eww-read-bookmarks): Check file size.
4893
539f75f4
SM
48942013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4897 advice--pending if newdef is nil or an autoload (bug#13820).
4898 (advice-mapc): New function.
4899
843571cb
LMI
49002013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4901
4902 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4903 probably.
23a75d7f 4904 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4905 (eww-add-bookmark): New command.
4906 (eww-bookmark-mode): New mode and commands.
a285ce99 4907 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4908 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4909
f2136e1e
GM
49102013-06-26 Glenn Morris <rgm@gnu.org>
4911
eab35f39
GM
4912 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4913 (hfy-size): Handle ttys. (Bug#14668)
4914
f2136e1e
GM
4915 * info-xref.el: Update for Texinfo 5 change in *note format.
4916 (info-xref-node-re, info-xref-note-re): New constants.
4917 (info-xref-check-buffer): Use info-xref-note-re.
4918
a49ff80c
SM
49192013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4920
a343d218
SM
4921 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4922
a49ff80c
SM
4923 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4924 nil terminate the loop (bug#14718).
4925
8308f184
LMI
49262013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4927
4928 * net/eww.el: Rework history traversal. When going forward/back,
4929 put these actions into the history, too, so that they can be
4930 replayed.
26bf2b82 4931 (eww-render): Move the history reset to the correct buffer.
8308f184 4932
ec64c273
JL
49332013-06-25 Juri Linkov <juri@jurta.org>
4934
4935 * files-x.el (modify-dir-local-variable): Change the header comment
4936 in the file with directory local variables. (Bug#14692)
4937
e080a9d7
JL
4938 * files-x.el (read-file-local-variable-value): Add `default'.
4939 (Bug#14710)
4940
bfbc93a1
IK
49412013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4942
4943 * net/eww.el (eww-make-unique-file-name): Create a unique file
4944 name before saving to entering `y' accidentally asynchronously.
4945
49462013-06-25 Ivan Kanis <ivan@kanis.fr>
4947
4948 * net/eww.el (eww-download): New command and keystroke.
4949
16f74f10
LMI
49502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4951
a49ff80c 4952 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4953
4954 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4955 be more consistent with Info and dired.
4956
4957 * net/eww.el (eww-mode-map): Ditto.
4958
12059709
SM
49592013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4962 packages from archives.
4963 (package-archive-contents): Change format; include obsolete packages.
4964 (package-desc): Use `dir' to mark builtin packages.
4965 (package--from-builtin): Set the `dir' field to `builtin'.
4966 (generated-autoload-file, version-control): Declare.
4967 (package-compute-transaction): Change first arg and return value to be
4968 lists of package-descs. Adjust to new package-archive-contents format.
4969 (package--add-to-archive-contents): Adjust to new
4970 package-archive-contents format.
4971 (package-download-transaction): Arg is now a list of package-descs.
4972 (package-install): If `pkg' is a package name, pass it as
4973 a requirement, so it is subject to the usual (e.g. disabled) checks.
4974 (describe-package): Accept package-desc as well.
4975 (describe-package-1): Describe a specific package-desc. Add links to
4976 other package-descs for the same package name.
4977 (package-menu-describe-package): Pass the actual package-desc.
4978 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4979 works correctly.
4980 (package-desc-status): New function.
4981 (package-menu--refresh): New function, extracted
4982 from package-menu--generate.
4983 (package-menu--generate): Use it.
4984 (package-delete): Update package-alist.
4985 (package-menu-execute): Don't call package-initialize.
4986
4987 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4988 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4989 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4990 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4991 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4992 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4993
8bbdea0f
MR
49942013-06-25 Martin Rudalics <rudalics@gmx.at>
4995
4996 * window.el (window--state-get-1): Workaround for bug#14527.
4997 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4998
e82b0991
LMI
49992013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5000
5001 * net/eww.el (eww-back-url): Implement the history by stashing all
5002 the data into a list.
d3f0f918 5003 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5004
c763842b
SM
50052013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5008 for values and use read--expression for expressions (bug#14710).
5009 (read-file-local-variable): Avoid setq.
5010 (read-file-local-variable-mode): Use minor-mode-list.
5011
bceff189
RW
50122013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5013
864c58ca 5014 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5015 for DOI URLs.
5016
45f431c6
RW
50172013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5018
864c58ca 5019 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5020 Update imenu-support when dialect changes.
5021
f42d8237
LL
50222013-06-25 Leo Liu <sdl.web@gmail.com>
5023
5024 * ido.el (ido-read-internal): Allow forward slash on windows.
5025
be549ce6
LMI
50262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5027
5028 * net/eww.el (eww): Start of strings is \\`, not ^.
5029
71d4c19d
IK
50302013-06-24 Ivan Kanis <ivan@kanis.fr>
5031
5196f88a
IK
5032 * net/shr.el (shr-browse-url): Fix interactive spec.
5033
71d4c19d
IK
5034 * net/eww.el (eww): Add a trailing slash to domain names.
5035
ae36ca55
JB
50362013-06-24 Juanma Barranquero <lekktu@gmail.com>
5037
5038 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5039
0ebd92a3
LMI
50402013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5041
bdaa086b
LMI
5042 * net/shr.el (shr-browse-url): Use an external browser if given a
5043 prefix.
5044
c763842b 5045 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5046
b89fc156
IK
50472013-06-24 Ivan Kanis <ivan@kanis.fr>
5048
5049 * net/eww.el (eww): Work more correctly for file: URLs.
5050 (eww-detect-charset): Allow quoted charsets.
5051 (eww-yank-page-url): New command and keystroke.
5052
18eb4bca
DU
50532013-06-24 Daiki Ueno <ueno@gnu.org>
5054
5055 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5056 file name of gpg executable.
5057 (epg-context-program): New function.
5058 (epg-context-home-directory): New function.
5059 (epg-context-set-program): New function.
5060 (epg-context-set-home-directory): New function.
5061 (epg--start): Use `epg-context-program' instead of
5062 'epg-gpg-program'.
5063 (epg--list-keys-1): Likewise.
5064
6c6268c8
LL
50652013-06-24 Leo Liu <sdl.web@gmail.com>
5066
5067 * ido.el (ido-read-internal): Fix bug#14620.
5068
5e400cb3
JB
50692013-06-23 Juanma Barranquero <lekktu@gmail.com>
5070
5071 * faces.el (face-documentation): Simplify.
5072 (read-face-attribute, tty-find-type, x-resolve-font-name):
5073 Use `string-match-p'.
5074 (list-faces-display): Use `string-match-p'. Simplify.
5075 (face-spec-recalc): Check face to avoid face alias loops.
5076 (read-color): Use `string-match-p' and non-capturing parenthesis.
5077
f3f9606c
LMI
50782013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5079
5080 * net/shr.el (shr-rescale-image): Use the new
5081 :max-width/:max-height functionality.
5082
a3ca09b9
IK
50832013-06-23 Ivan Kanis <ivan@kanis.fr>
5084
5085 * net/eww.el (eww-search-prefix): New variable.
5086 (eww): Use it.
f865b474
IK
5087 (eww-external-browser): New variable.
5088 (eww-mode-map): New keystroke.
5089 (eww-browse-with-external-browser): New command.
a3ca09b9 5090
e854cfc7
IK
5091 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5092
18bb9e21
JB
50932013-06-23 Juanma Barranquero <lekktu@gmail.com>
5094
5095 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5096 Don't skip aligning the next header field when padding is 0;
5097 otherwise, field width is not respected unless the title is as
5098 wide as the field.
5099
5b165ade
SM
51002013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * emacs-lisp/package.el (package-el-version): Remove.
5103 (package-process-define-package): Fix inf-loop.
5104 (package-install): Allow symbols as arguments again.
5105
12adebe9
DG
51062013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5107
5108 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5109 add some more keyword-like methods.
5110 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5111
388573ee
JB
51122013-06-22 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * bs.el (bs-buffer-show-mark): Make defvar-local.
5115 (bs-mode): Use setq-local.
5116
5117 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5118 (emacs-lock--try-unlocking): Make defvar-local.
5119
4582a01c 51202013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5121
2663dd23
GM
5122 * play/cookie1.el (cookie-apropos): Minor simplification.
5123
3d94f3ad
GM
5124 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5125
f72e2fdb
DG
51262013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5127
5128 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5129 `regexp-opt', it breaks the build during dumping.
5130
73eab938
DG
51312013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5132
c763842b
SM
5133 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5134 Highlight keyword-like methods on Kernel and Module with
73eab938 5135 font-lock-builtin-face.
5cf8176d
DG
5136 (auto-mode-alist): Consolidate different entries into one regexp
5137 and add more *file-s.
73eab938 5138
d26255f6
SB
51392013-06-21 Stephen Berman <stephen.berman@gmx.net>
5140
5141 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5142
5143 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5144 (diary-entry): Use it in the action of this button type instead of
5145 diary-goto-entry.
5146
5147 * calendar/todo-mode.el: New version.
5148 (todo-add-category): Append new category to end of file and give
5149 it the highest number, instead of putting it at the beginning and
5150 giving it 0. Incorporate noninteractive functionality.
5151 (todo-forward-category): Adapt to 1-based category numbering.
5152 Allow skipping over archived categories.
5153 (todo-backward-category): Derive from todo-forward-category.
5154 (todo-backward-item, todo-forward-item): Make noninteractive and
5155 delegate interactive part to new commands. Make sensitive to done items.
5156 (todo-categories): Make value an alist of category names and
5157 vectors of item counts.
5158 (todo-category-beg): Make a defconst.
5159 (todo-category-number): Use 1 instead of 0 as initial value.
5160 (todo-category-select): Make sensitive to overlays, optional item
5161 highlighting and done items.
5162 (todo-delete-item): Make sensitive to overlays and marked and done items.
5163 (todo-edit-item): Make sensitive to overlays and editing of
5164 date/time header optional. Add format checks.
5165 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5166 no-op if point is not on an item. Advertise using todo-edit-quit.
5167 (todo-edit-mode): Make sensitive to new format, font-locking, and
5168 multiple todo files.
5169 (todo-insert-item, todo-insert-item-here): Derive from
5170 todo-basic-insert-item and extend functionality.
5171 (todo-item-end, todo-item-start): Make sensitive to done items.
5172 (todo-item-string): Don't return text properties. Restore point.
5173 (todo-jump-to-category): Make sensitive to multiple todo files and
5174 todo archives. Use extended category completion.
5175 (todo-lower-item, todo-raise-item): Rename to *-priority and
5176 derive from todo-set-item-priority.
5177 (todo-mode): Derive from special-mode. Make sensitive to new
5178 format, font-locking and multiple todo files. Make read-only.
5179 (todo-mode-map): Don't suppress digit keys, so they can supply
5180 prefix arguments. Add many new key bindings.
5181 (todo-prefix): Insert as an overlay instead of file text.
5182 Change semantics from diary date expression to purely visual mark.
5183 (todo-print): Rename to todo-print-buffer. Make buffer display
5184 features printable. Remove option to restrict number of items
5185 printed. Add option to print to file.
5186 (todo-print-function): Rename to todo-print-buffer-function.
5187 (todo-quit): Extend to handle exiting new todo modes.
5188 (todo-remove-item): Make sensitive to overlays.
5189 (todo-save): Extend to buffers of filtered items.
5190 (todo-show): Make sensitive to done items, multiple todo files and
5191 new todo modes. Offer to convert legacy todo file before creating
5192 first new todo file.
5193 (todo-show-priorities): Rename to todo-top-priorities.
5194 Change semantics of value 0.
5195 (todo-top-priorities): Rename to todo-filter-top-priorities,
5196 derive from todo-filter-items and extend functionality.
5197 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5198 and extend functionality to other types of filtered items.
5199 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5200 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5201 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5202 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5203 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5204 (todo-edit-mode-hook, todo-entry-prefix-function)
5205 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5206 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5207 (todo-initials, todo-insert-threshold, todo-item-string-start)
5208 (todo-line-string, todo-menu, todo-mode-hook)
5209 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5210 (todo-print-priorities, todo-remove-separator)
5211 (todo-save-top-priorities-too, todo-string-count-lines)
5212 (todo-string-multiline-p, todo-time-string-format)
5213 (todo-tmp-buffer-name): Remove.
5214 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5215 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5216 (todo-edit-category-diary-inclusion)
5217 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5218 (todo-edit-file, todo-edit-item-date-day)
5219 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5220 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5221 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5222 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5223 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5224 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5225 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5226 (todo-filter-top-priorities-multifile, todo-find-archive)
5227 (todo-find-filtered-items-file, todo-go-to-source-item)
5228 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5229 (todo-jump-to-archive-category, todo-lower-category)
5230 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5231 (todo-move-category, todo-move-item, todo-next-button)
5232 (todo-next-item, todo-padded-string, todo-powerset)
5233 (todo-previous-button, todo-previous-item)
5234 (todo-print-buffer-to-file, todo-raise-category)
5235 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5236 (todo-set-category-number, todo-set-item-priority)
5237 (todo-set-top-priorities-in-category)
5238 (todo-set-top-priorities-in-file, todo-show-categories-table)
5239 (todo-sort-categories-alphabetically-or-numerically)
5240 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5241 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5242 (todo-toggle-item-header, todo-toggle-item-highlighting)
5243 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5244 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5245 (todo-unarchive-items, todo-unmark-category): New commands.
5246 (todo-absolute-file-name, todo-add-to-buffer-list)
5247 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5248 (todo-basic-insert-item, todo-category-completions)
5249 (todo-category-number, todo-category-string-matcher-1)
5250 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5251 (todo-check-format, todo-clear-matches)
5252 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5253 (todo-current-category, todo-date-string-matcher)
5254 (todo-define-insertion-command, todo-diary-expired-matcher)
5255 (todo-diary-goto-entry, todo-diary-item-p)
5256 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5257 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5258 (todo-done-item-section-p, todo-done-separator)
5259 (todo-done-string-matcher, todo-files, todo-filter-items)
5260 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5261 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5262 (todo-insert-category-line, todo-insert-item-from-calendar)
5263 (todo-insert-sort-button, todo-insert-with-overlays)
5264 (todo-insertion-command-name, todo-insertion-key-bindings)
5265 (todo-label-to-key, todo-longest-category-name-length)
5266 (todo-make-categories-list, todo-mode-external-set)
5267 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5268 (todo-modes-set-3, todo-multiple-filter-files)
5269 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5270 (todo-read-category, todo-read-date, todo-read-dayname)
5271 (todo-read-file-name, todo-read-time)
5272 (todo-reevaluate-category-completions-files-defcustom)
5273 (todo-reevaluate-default-file-defcustom)
5274 (todo-reevaluate-filelist-defcustoms)
5275 (todo-reevaluate-filter-files-defcustom)
5276 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5277 (todo-reset-done-separator, todo-reset-done-separator-string)
5278 (todo-reset-done-string, todo-reset-global-current-todo-file)
5279 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5280 (todo-reset-prefix, todo-set-categories)
5281 (todo-set-date-from-calendar, todo-set-show-current-file)
5282 (todo-set-top-priorities, todo-short-file-name)
5283 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5284 (todo-total-item-counts, todo-update-buffer-list)
5285 (todo-update-categories-display, todo-update-categories-sexp)
5286 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5287 New functions.
5288 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5289 New major modes.
5290 (todo-categories, todo-display, todo-edit, todo-faces)
5291 (todo-filtered): New defgroups.
5292 (todo-archived-only, todo-button, todo-category-string, todo-date)
5293 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5294 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5295 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5296 (todo-add-item-if-new-category, todo-always-add-time-string)
5297 (todo-categories-align, todo-categories-archived-label)
5298 (todo-categories-category-label, todo-categories-diary-label)
5299 (todo-categories-done-label, todo-categories-number-separator)
5300 (todo-categories-todo-label, todo-categories-totals-label)
5301 (todo-category-completions-files, todo-completion-ignore-case)
5302 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5303 (todo-done-separator-string, todo-done-string)
5304 (todo-files-function, todo-filter-done-items, todo-filter-files)
5305 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5306 (todo-initial-category, todo-initial-file, todo-item-mark)
5307 (todo-legacy-date-time-regexp, todo-mode-line-function)
5308 (todo-nondiary-marker, todo-number-prefix)
5309 (todo-print-buffer-function, todo-show-current-file)
5310 (todo-show-done-only, todo-show-first, todo-show-with-done)
5311 (todo-skip-archived-categories, todo-top-priorities-overrides)
5312 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5313 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5314 New defcustoms.
5315 (todo-category-done, todo-date-pattern, todo-date-string-start)
5316 (todo-diary-items-buffer, todo-done-string-start)
5317 (todo-filtered-items-buffer, todo-item-start)
5318 (todo-month-abbrev-array, todo-month-name-array)
5319 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5320 (todo-top-priorities-buffer): New defconsts.
5321 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5322 (todo-categories-with-marks, todo-category-string-face)
5323 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5324 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5325 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5326 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5327 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5328 (todo-font-lock-keywords, todo-global-current-todo-file)
5329 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5330 (todo-insertion-commands-args)
5331 (todo-insertion-commands-args-genlist)
5332 (todo-insertion-commands-names, todo-insertion-map)
5333 (todo-key-bindings-t, todo-key-bindings-t+a)
5334 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5335 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5336 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5337 (todo-visited): New variables.
5338
cad5d1cb
GM
53392013-06-21 Glenn Morris <rgm@gnu.org>
5340
5341 * play/cookie1.el (cookie-apropos): Add optional display argument.
5342 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5343 (psychoanalyze-pinhead): Use cookie-doctor.
5344
9e277302
JB
53452013-06-21 Juanma Barranquero <lekktu@gmail.com>
5346
5347 * emacs-lisp/package.el (tar-get-file-descriptor)
5348 (tar--extract): Declare.
5349
c5b0993e
EW
53502013-06-21 Eduard Wiebe <usenet@pusto.de>
5351
5352 Extend flymake's warning predicate to be a function (bug#14217).
5353 * progmodes/flymake.el (flymake-warning-predicate): New.
5354 (flymake-parse-line): Use it.
5355 (flymake-warning-re): Make obsolete alias to
5356 `flymake-warning-predicate'.
5357
a7d2d465
SM
53582013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5361 (package-obsolete-list): Remove.
5362 (package-activate): Remove min-version argument. Add `force' argument.
5363 Adjust to new package-alist format.
5364 (package-mark-obsolete): Remove.
5365 (package-unpack): Force reload of the package's autoloads.
5366 (package-installed-p): Check builtins if the installed package is not
5367 recent enough.
5368 (package-initialize): Don't reset package-obsolete-list.
5369 Don't specify which package version to activate.
5370 (package-process-define-package, describe-package-1)
5371 (package-menu--generate): Adjust to new package-alist format.
5372
cedf5c9d
JB
53732013-06-21 Juanma Barranquero <lekktu@gmail.com>
5374
5375 * allout-widgets.el (allout-widgets-mode-off)
5376 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5377 (allout-widgets-post-command-business)
5378 (allout-widgets-after-copy-or-kill-function)
5379 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5380 (allout-decorate-item-and-context)
5381 (allout-graphics-modification-handler): Fix typos in docstrings.
5382 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5383
5384 * cmuscheme.el (scheme-start-file): Doc fix.
5385 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5386 (scheme-input-filter): Use `string-match-p'.
5387
5388 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5389
5390 * dired-x.el: Use Dired consistently in docstrings.
5391
5392 * dired.el: Use Dired consistently in docstrings.
5393 (dired-readin, dired-mode): Use `setq-local'.
5394 (dired-switches-alist): Make defvar-local.
5395 (dired-buffers-for-dir): Use `zerop'.
5396 (dired-safe-switches-p, dired-switches-escape-p)
5397 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5398 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5399 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5400 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5401 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5402 (dired-toggle-marks, dired-mark-files-containing-regexp)
5403 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5404 (dired-flag-auto-save-files, dired-flag-backup-files):
5405 Use `looking-at-p'.
5406 (dired-mark-files-regexp, dired-build-subdir-alist):
5407 Use `string-match-p', `looking-at-p'.
5408
5409 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5410 (direct-print-region-helper): Use `string-match-p'.
5411
aed838b5
LL
54122013-06-21 Leo Liu <sdl.web@gmail.com>
5413
cedf5c9d
JB
5414 * comint.el (comint-redirect-results-list-from-process):
5415 Fix infinite loop.
aed838b5 5416
d80a808f
LMI
54172013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418
5419 * net/eww.el (eww-update-header-line-format): Quote % characters.
5420
e7a526e3
GM
54212013-06-21 Glenn Morris <rgm@gnu.org>
5422
5423 * play/cookie1.el (cookie): New custom group.
5424 (cookie-file): New option.
5425 (cookie-check-file): New function.
5426 (cookie): Make it interactive. Make start and end messages optional.
5427 Interactively, display the result. Default to cookie-file.
5428 (cookie-insert): Default to cookie-file.
5429 (cookie-snarf): Make start and end messages optional.
5430 Default to cookie-file. Use with-temp-buffer.
5431 (cookie-read): Rename from read-cookie.
5432 Make start and end messages optional. Default to cookie-file.
5433 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5434 Do not autoload it.
e7a526e3
GM
5435 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5436 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5437
62efb35e
LL
54382013-06-21 Leo Liu <sdl.web@gmail.com>
5439
5440 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5441
21e3f963
GM
54422013-06-21 Glenn Morris <rgm@gnu.org>
5443
5444 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5445
fd846ab4
SM
54462013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5447 Daniel Hackney <dan@haxney.org>
5448
5449 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5450 Consolidate the single-file vs tarball code.
5451 (package-desc-suffix): New function.
5452 (package-desc-full-name): Don't bother inlining it.
5453 (package-load-descriptor): Return the new package-desc.
5454 (package-mark-obsolete): Remove unused arg `package'.
5455 (package-unpack): Make it work for single files as well.
5456 Make it update package-alist.
5457 (package--make-autoloads-and-stuff): Rename from
5458 package--make-autoloads-and-compile. Don't compile any more.
5459 (package--compile): New function.
5460 (package-generate-description-file): New function, extracted from
5461 package-unpack-single.
5462 (package-unpack-single): Remove.
5463 (package--with-work-buffer): Add indentation and debugging info.
5464 (package-download-single): Remove.
5465 (package-install-from-archive): Rename from package-download-tar, make
5466 it take a pkg-desc, and make it work for single files as well.
5467 (package-download-transaction): Simplify.
5468 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5469 external tar program.
5470 (package-install-from-buffer): Remove `pkg-desc' argument.
5471 Use package-tar-file-info for tar-mode buffers.
5472 (package-install-file): Simplify accordingly.
5473 (package-archive-base): Change to take a pkg-desc.
5474 * tar-mode.el (tar--check-descriptor): New function, extracted from
5475 tar-get-descriptor.
5476 (tar-get-descriptor): Use it.
5477 (tar-get-file-descriptor): New function.
5478 (tar--extract): New function, extracted from tar-extract.
5479 (tar--extract): Use it.
5480 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5481 case the summary uses non-ascii. Adjust to new calling convention of
5482 package-tar-file-info.
5483
b7deae5e
LL
54842013-06-21 Leo Liu <sdl.web@gmail.com>
5485
fd846ab4
SM
5486 * comint.el (comint-redirect-results-list-from-process):
5487 Fix random delay. (Bug#14681)
b7deae5e 5488
7a65a0b2
JB
54892013-06-21 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * profiler.el (profiler-format-number): Use log, not log10.
5492
1493c2af
JB
54932013-06-20 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5496
aff6371e
SM
54972013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5500 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5501 yet available.
5502 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5503 (AUTOGENEL): ... here.
5504 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5505 (cl--defsubst-expand): Use it.
5506
89561f72
PE
55072013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5508
5509 * subr.el (log10): Move here from C code, and declare as obsolete.
5510 All uses of (log10 X) replaced with (log X 10).
5511
47199123
JB
55122013-06-20 Juanma Barranquero <lekktu@gmail.com>
5513
5514 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5515 Declare with `defvar-local'.
5516 (tabulated-list-use-header-line, tabulated-list-entries)
5517 (tabulated-list-padding, tabulated-list-printer)
5518 (tabulated-list-sort-key): Declare with `defvar-local'.
5519 (tabulated-list-init-header, tabulated-list-print-fake-header):
5520 Use `setq-local'.
5521
4a172eab
MA
55222013-06-20 Michael Albinus <michael.albinus@gmx.de>
5523
47199123
JB
5524 * arc-mode.el (archive-mode): Add `archive-write-file' to
5525 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5526
5fc0acc0
JB
55272013-06-20 Juanma Barranquero <lekktu@gmail.com>
5528
d5b27848
JB
5529 * cus-edit.el (custom-commands): Fix typos.
5530 (custom-display): Fix tooltip text.
5531 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5532 Fix typos in docstrings.
5533 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5534 (custom-unlispify-menu-entry, custom-magic-value-create)
5535 (custom-add-see-also, custom-group-value-create): Use ?\s.
5536 (custom-guess-type, customize-apropos, editable-field)
5537 (custom-face-value-create): Use `string-match-p'.
5538 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5539
5540 * custom.el (custom-load-symbol): Use `string-match-p'.
5541
a5c581d8
JB
5542 * ansi-color.el: Convert to lexical binding.
5543 (ansi-colors): Fix URL.
5544 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5545 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5546 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5547
970ad972
G
55482013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5549
5550 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5551
5552 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5553
55542013-06-19 Tom Tromey <tromey@redhat.com>
5555
5556 * net/eww.el (eww-top-url): Remove.
5557 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5558 (eww-render): Set new variables. Don't set eww-top-url.
5559 (eww-handle-link): Handle "prev", "home", and "contents".
5560 Downcase the rel text.
5561 (eww-top-url): Choose best top URL.
5562
55632013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5564
5565 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5566 relying in widget.el. Using widget.el leads to too many
5567 user interface inconsistencies.
5568 (eww-self-insert): Implement entering commands in text fields.
5569 (eww-process-text-input): New function to make text input field editing
5570 work.
5571 (eww-submit): Rewrite to use the new-style form methods.
5572 (eww-select-display): Display the correct selected item.
5573 (eww-change-select): Implement changing the select value.
5574 (eww-toggle-checkbox): Implement radio/checkboxes.
5575 (eww-update-field): Fix compilation error.
5576 (eww-tag-textarea): Implement <textarea>.
5577
5578 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5579 we don't shadow mode-specific bindings.
5580
5581 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5582 nothing to push.
5583
5584 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5585
4582a01c 55862013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5587
5588 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5589
15b263dc
MA
55902013-06-19 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5593 not needed.
5594
5595 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5596
8f5297f7
LMI
55972013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * net/browse-url.el (browse-url-browser-function):
5600 `eww-browse-url' has the right calling signature, `eww' does not.
5601
011c4552
GM
56022013-06-19 Glenn Morris <rgm@gnu.org>
5603
2285bd27
GM
5604 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5605 Only eval autoloaded macros.
5606 (byte-compile-autoload): Only give the macro warning for macros.
5607
1d653303
GM
5608 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5609 (ps-underlined-faces): Declare.
5610
bdd779ec
GM
5611 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5612 (speedbar-add-supported-extension): Declare.
5613
011c4552
GM
5614 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5615 Don't include a date stamp in the header of the generated file;
5616 it leads to needless differences between output files.
5617
e59dfb0e
MA
56182013-06-19 Michael Albinus <michael.albinus@gmx.de>
5619
c763842b
SM
5620 * net/secrets.el (secrets-struct-secret-content-type):
5621 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5622 Some servers do not offer introspection.
e59dfb0e 5623
102626e2
SM
56242013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * electric.el (electric-pair-mode): Improve interaction with
5627 electric-layout-mode.
5628 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5629 (electric-pair-syntax): Use text-mode-syntax-table in comments
5630 and strings.
5631 (electric-pair--insert): New function.
5632 (electric-pair-post-self-insert-function): Use it and
5633 electric--after-char-pos.
5634
ad528125
LL
56352013-06-19 Leo Liu <sdl.web@gmail.com>
5636
5637 * progmodes/octave.el (octave-help): Fix regexp.
5638
924d6997
G
56392013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5640
5641 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5642 (shr-table-horizontal-line): Allow nil as a value, and change the
5643 default.
5644 (shr-insert-table-ruler): Respect the nil value.
5645
56462013-06-18 Tom Tromey <tromey@barimba>
5647
5648 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5649 New defvars.
5650 (eww-open-file): New defun.
5651 (eww-render): Initialize new variables.
5652 (eww-display-html): Handle "link" and "a".
5653 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5654 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5655 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5656 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5657 New defuns.
924d6997 5658
d1bbba4f
DG
56592013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5660
5661 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5662 Distinguish ternary operator tokens from slash symbol and slash
5663 char literal.
5664
14dd22d2
JB
56652013-06-18 Juanma Barranquero <lekktu@gmail.com>
5666
5667 Convert symbol prettification into minor mode and global minor mode.
5668
5669 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5670 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5671 (prettify-symbols--keywords): Rename from
5672 `prog-prettify-symbols-alist' and make a local defvar.
5673 (prettify-symbols--compose-symbol): Rename from
5674 `prog--prettify-font-lock-compose-symbol'.
5675 (prettify-symbols--make-keywords): Rename from
5676 `prog-prettify-font-lock-symbols-keywords' and simplify.
5677 (prog-prettify-install): Remove.
5678 (prettify-symbols-mode): New minor mode, based on
5679 `prog-prettify-install'.
5680 (turn-on-prettify-symbols-mode): New function.
5681 (global-prettify-symbols-mode): New globalized minor mode.
5682
5683 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5684 * progmodes/cfengine.el (cfengine3-mode):
5685 * progmodes/perl-mode.el (perl-mode): Don't call
5686 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5687
292c880c
JL
56882013-06-18 Juri Linkov <juri@jurta.org>
5689
5690 * files-x.el (modify-file-local-variable-message): New function.
5691 (modify-file-local-variable)
5692 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5693 and call `modify-file-local-variable-message' when it's non-nil.
5694 (add-file-local-variable, delete-file-local-variable)
5695 (add-file-local-variable-prop-line)
5696 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5697 and use it. (Bug#9820)
5698
0950aa27
JL
56992013-06-18 Juri Linkov <juri@jurta.org>
5700
5701 * emulation/vi.el (vi-shell-op):
5702 * emulation/vip.el (vip-execute-com, ex-command):
5703 * emulation/viper-cmd.el (viper-exec-bang):
5704 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5705 the call of `shell-command-on-region'. (Bug#14637)
5706
5707 * simple.el (shell-command-on-region): Doc fix.
5708
8fbcca16
SM
57092013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5712 (bug#14633).
5713
dd7426ea
GM
57142013-06-18 Glenn Morris <rgm@gnu.org>
5715
4ba54f7d
GM
5716 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5717
dd7426ea
GM
5718 * newcomment.el (comment-search-forward, comment-search-backward):
5719 Doc fix. (Bug#14376)
5720
58aa805b
JB
57212013-06-18 Juanma Barranquero <lekktu@gmail.com>
5722
5723 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5724 (buffer-face-mode-invoke): Doc fix.
5725
9a08a617
MM
57262013-06-18 Matthias Meulien <orontee@gmail.com>
5727
5728 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5729 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5730
f2f426ca
GM
57312013-06-18 Glenn Morris <rgm@gnu.org>
5732
9445f99b
GM
5733 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5734 Replace obsolete function generic-make-keywords with its expansion.
5735
e0df2d14
GM
5736 * progmodes/python.el (ffap-alist): Declare.
5737
f2f426ca
GM
5738 * textmodes/reftex.el (bibtex-mode-map): Declare.
5739
f7f9a720
SM
57402013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5743 (package-unpack, package-unpack-single): Return the pkg-dir.
5744 (package-download-transaction): Use it to update package-alist.
5745
57ff04e0
LMI
57462013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5747
5748 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5749 possible choice.
5750
c048c022
JL
57512013-06-17 Juri Linkov <juri@jurta.org>
5752
5753 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5754
b5bcaee5
DG
57552013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5756
a020afb9
JB
5757 * emacs-lisp/package.el (package-load-descriptor):
5758 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5759 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5760
551e07e5
JB
57612013-06-17 Juanma Barranquero <lekktu@gmail.com>
5762
5763 * startup.el (command-line): Expand package name returned by
5764 `package--description-file' (bug#14639).
5765
d363bffb
DG
57662013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5767
5768 * emacs-lisp/package.el (package-load-descriptor): Do not call
5769 `emacs-lisp-mode', just use its syntax table.
5770
f612933b
JB
57712013-06-17 Juanma Barranquero <lekktu@gmail.com>
5772
5773 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5774 `font-lock-extra-managed-props' if any prettifying keyword is added.
5775 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5776 (prog-mode): Use `setq-local'.
5777
db3b7db5
SM
57782013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * international/characters.el (standard-case-table): Set syntax of ?»
5781 and ?« to punctuation.
5782
f3d674df
JB
57832013-06-16 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5786 Save relevant match data before calling `syntax-ppss' (bug#14595).
5787
31489a32
JL
57882013-06-15 Juri Linkov <juri@jurta.org>
5789
5790 * files-x.el (modify-file-local-variable-prop-line): Add local
5791 variables to the end of the existing comment on the first line.
5792 Use `file-auto-mode-skip' to skip interpreter magic line,
5793 and also skip XML declaration.
5794
66bd25ab
SM
57952013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * startup.el (package--builtin-versions): New var.
5798 (package-subdirectory-regexp): Remove.
5799 (package--description-file): Hard code its value instead.
5800
5801 * emacs-lisp/package.el: Don't activate packages older than builtin.
5802 (package-obsolete-list): Rename from package-obsolete-alist, and make
5803 it into a simple list of package-desc.
5804 (package-strip-version): Remove.
5805 (package-built-in-p): Use package--builtin-versions.
5806 (package-mark-obsolete): Simplify.
5807 (package-process-define-package): Mark it obsolete if older than the
5808 builtin version.
5809 (package-handle-response): Use line-end-position.
5810 (package-read-archive-contents, package--download-one-archive):
5811 Simplify.
5812 (package--add-to-archive-contents): Skip if older than the builtin or
5813 installed version.
5814 (package-menu-describe-package): Fix last change.
5815 (package-list-unversioned): New var.
5816 (package-menu--generate): Use it.
5817
5818 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5819 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5820 (autoload-builtin-package-versions): New variable.
5821 (autoload-generate-file-autoloads): Use them.
5822 Remove the list of autoloaded functions/macros from the
5823 (autoload...) comments.
5824
5825 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5826
9583ec36
EZ
58272013-06-15 Eli Zaretskii <eliz@gnu.org>
5828
5829 * simple.el (line-move-partial): Don't jump to the next screen
5830 line as soon as it becomes visible. Instead, continue enlarging
5831 the vscroll until the portion of a tall screen line that's left on
5832 display is about the height of the frame's default font.
5833 (Bug#14567)
5834
f0100d8a
GM
58352013-06-15 Glenn Morris <rgm@gnu.org>
5836
b86a85ca
GM
5837 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5838 compilation-error-regexp-alist void, or local while let-bound.
5839
f0100d8a
GM
5840 * progmodes/make-mode.el (makefile-mode-syntax-table):
5841 Treat "=" as punctuation. (Bug#14614)
5842
05e7ce90
JB
58432013-06-15 Juanma Barranquero <lekktu@gmail.com>
5844
5845 * help-fns.el (describe-variable):
5846 Add extra line for permanent-local variables.
5847
12e5e86e
SH
58482013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5849
5850 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5851 Add export, import, library. (Bug#9164)
5852 (library): Set indent function.
5853
230dcbaf
GM
58542013-06-14 Glenn Morris <rgm@gnu.org>
5855
5856 * term/xterm.el (xterm--query):
5857 Stop after first matching handler. (Bug#14615)
5858
e36b2d20 58592013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5860
5861 Add support for dired in saveplace.
5862 * dired.el (dired-initial-position-hook): New variable.
5863 (dired-initial-position): Call hook to place cursor position.
5864 * saveplace.el (save-place-to-alist): Add dired position.
5865 (save-place-dired-hook): New function.
5866
0b31660d
SM
58672013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5868
bf1e6ae8
SM
5869 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5870 through a symbol rather than letrec.
5871
1b8dff23
SM
5872 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5873 (package-desc): Add `dir' field.
5874 (package-desc-full-name): New function.
5875 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5876 (package-maybe-load-descriptor): Remove.
5877 (package-load-all-descriptors): Just call package-load-descriptor.
5878 (package--disabled-p): New function.
5879 (package-desc-vers, package-desc-doc): Remove aliases.
5880 (package--dir): Remove function.
5881 (package-activate): Check if a package is disabled.
5882 (package-process-define-package): New function, extracted from
5883 define-package.
5884 (define-package): Turn into a place holder.
5885 (package-unpack-single, package-tar-file-info):
5886 Use package--description-file.
5887 (package-compute-transaction): Use package--disabled-p.
5888 (package-download-transaction): Don't call
5889 package-maybe-load-descriptor since they're all loaded anyway.
5890 (package-install): Change argument to be a pkg-desc.
5891 (package-delete): Use a single pkg-desc argument.
5892 (describe-package-1): Use package-desc-dir instead of package--dir.
5893 Use package-desc property instead of package-symbol.
5894 (package-install-button-action): Adjust accordingly.
5895 (package--push): Rewrite.
5896 (package-menu--print-info): Adjust accordingly. Change the ID format
5897 to be a pkg-desc.
5898 (package-menu-describe-package, package-menu-get-status)
5899 (package-menu--find-upgrades, package-menu-mark-upgrades)
5900 (package-menu-execute, package-menu--name-predicate):
5901 Adjust accordingly.
5902 * startup.el (package--description-file): New function.
5903 (command-line): Use it.
5904 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5905 Use package-desc-version.
5906
0b31660d
SM
5907 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5908 (byte-compile-preprocess): Use it.
5909 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5910 can't quite recognize.
5911 (byte-compile-add-to-list): Remove.
5912 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5913 (cconv-closure-convert): Add assertion.
5914
5915 * emacs-lisp/map-ynp.el: Use lexical-binding.
5916 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5917 Factor out some repeated code.
5918
de0503df
SM
59192013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5920
5921 * subr.el (with-eval-after-load): New macro.
5922 (eval-after-load): Allow form to be a function.
5923 take advantage of lexical-binding.
5924 (do-after-load-evaluation): Use dolist and adjust to new format.
5925 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5926
bc5c8c5a
JL
59272013-06-13 Juri Linkov <juri@jurta.org>
5928
5929 * replace.el (perform-replace): Display "symbol " and other search
5930 modes from `isearch-message-prefix' in the *Help* buffer.
5931
5932 * isearch.el (isearch-query-replace): Add " symbol" and other
5933 possible search modes from `isearch-message-prefix' to the prompt.
5934 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5935 when reading a regexp to collect.
5936
a22289f7
JL
59372013-06-13 Juri Linkov <juri@jurta.org>
5938
5939 * isearch.el (word-search-regexp): Match whitespace if the search
5940 string begins or ends in whitespace. The LAX arg is applied to
5941 both ends of the search string. Use `regexp-quote' and explicit
5942 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5943 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5944 boundaries are replaced with symbol boundaries, and characters
5945 between symbols match non-word non-symbol syntax. (Bug#14602)
5946
cb89acab
JL
59472013-06-13 Juri Linkov <juri@jurta.org>
5948
5949 * isearch.el (isearch-del-char): Don't exceed the length of
5950 `isearch-string' by the prefix arg. (Bug#14563)
5951
6e8cfc81
JL
59522013-06-13 Juri Linkov <juri@jurta.org>
5953
5954 * isearch.el (isearch-yank-word, isearch-yank-line)
5955 (isearch-char-by-name, isearch-quote-char)
5956 (isearch-printing-char, isearch-process-search-char):
5957 Add optional count prefix arg. (Bug#14563)
5958
5959 * international/isearch-x.el
5960 (isearch-process-search-multibyte-characters):
5961 Add optional count prefix arg.
5962
c23d55f4
VS
59632013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5966 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5967 lexical-binding.
5968
59692013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5970
5971 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5972
ba947bc4
GM
59732013-06-13 Glenn Morris <rgm@gnu.org>
5974
8baeb37a
GM
5975 * startup.el (tty-handle-args):
5976 Don't just discard "--" and anything after. (Bug#14608)
5977
ba947bc4
GM
5978 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5979
9abefce4
MA
59802013-06-13 Michael Albinus <michael.albinus@gmx.de>
5981
5982 Implement changes in Secret Service API. Make it backward compatible.
5983 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5984 (secrets-create-item): Use it. Prefix properties with interface.
5985
5755011f
MH
59862013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5987
5988 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5989 (term-emulate-terminal): Respect term-suppress-hard-newline.
5990
1261d2da
S
59912013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5992
5993 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5994 Only remove a `thumb-file' overlay. (Bug#14548)
5995
868490bb
GJ
59962013-06-12 Grégoire Jadi <daimrod@gmail.com>
5997
5998 * mail/reporter.el (reporter-submit-bug-report):
5999 Handle missing package-name. (Bug#14600)
6000
79d7167f
TH
60012013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6002
6003 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6004 (reftex-citation-prompt, reftex-default-bibliography)
6005 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6006 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6007 (reftex-bib-sort-author, reftex-bib-sort-year)
6008 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6009 (reftex-extract-bib-entries-from-thebibliography)
6010 (reftex-get-bibkey-default, reftex-get-bib-names)
6011 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6012 (reftex-format-bib-entry, reftex-parse-bibitem)
6013 (reftex-format-bibitem, reftex-do-citation)
6014 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6015 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6016 (reftex-insert-bib-matches, reftex-format-citation)
6017 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6018 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6019 existing comments into docstrings.
6020
5f9dbd7a
XF
60212013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6022
6023 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6024
94df41ab
AS
60252013-06-12 Andreas Schwab <schwab@suse.de>
6026
6027 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6028 for auto-save files.
6029
a7f3fecc
GM
60302013-06-12 Glenn Morris <rgm@gnu.org>
6031
001809f6
GM
6032 * ido.el (ido-delete-ignored-files): Remove.
6033 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6034 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6035
834b5ded
EL
60362013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6037
08c73ed2
EL
6038 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6039
834b5ded
EL
6040 * ido.el (ido-delete-ignored-files): New function,
6041 split from ido-make-file-list-1.
6042 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6043 (ido-make-file-list-1): Use ido-delete-ignored-files.
6044
daabf15a
LL
60452013-06-12 Leo Liu <sdl.web@gmail.com>
6046
6047 * progmodes/octave.el (inferior-octave-startup)
6048 (inferior-octave-completion-table)
6049 (inferior-octave-track-window-width-change)
6050 (octave-eldoc-function-signatures, octave-help)
6051 (octave-find-definition): Use single quoted strings.
6052 (inferior-octave-startup-args): Change default value.
6053 (inferior-octave-startup): Do not hard code "-i" and
6054 "--no-line-editing".
6055 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6056 (inferior-octave-directory-tracker): Use it.
6057 (octave-goto-function-definition): Robustify.
6058 (octave-help): Support highlighting operators in 'See also'.
6059 (octave-find-definition): Find subfunctions only in Octave mode.
6060
cf4e5178
SM
60612013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * help-fns.el (help-fns--compiler-macro): If the handler function is
6064 named, then put a link to it.
6065 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6066 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6067 (cl-typep): Use it.
6068 (cl-eval-when): Simplify debug spec.
6069 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6070 compiler-macro function instead of setting `compiler-macro-file'.
6071
99c81280 60722013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6073
6074 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6075 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6076
f56be016
SM
60772013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6078 Daniel Hackney <dan@haxney.org>
6079
6080 First part of Daniel Hackney's patch to package.el.
6081 * emacs-lisp/package.el: Use defstruct.
6082 (package-desc): New, main struct.
6083 (package--bi-desc, package--ac-desc): New structs, used to describe the
6084 format in external files.
6085 (package-desc-vers): Replace with package-desc-version accessor.
6086 (package-desc-doc): Replace with package-desc-summary accessor.
6087 (package-activate-1): Remove `package' arg since the pkg-vec now
6088 includes the name.
6089 (define-package): Use package-desc-from-define.
6090 (package-unpack-single): Change file-name arg to be a symbol.
6091 (package--add-to-archive-contents): Use package-desc-create and new
6092 accessor functions to package--ac-desc.
6093 (package-buffer-info, package-tar-file-info): Return a package-desc.
6094 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6095 arg to be a package-desc.
6096 (package-install-file): Adjust accordingly. Use \' to match EOS.
6097 (package--from-builtin): New function.
6098 (describe-package-1, package-menu--generate): Use it.
6099 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6100 (package-generate-autoloads): Idem and return the name of the file.
6101 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6102 Change pkg-info arg to be a package-desc.
6103 Use package-make-ac-desc.
6104 (package-upload-file): Use \' to match EOS.
6105 * finder.el (finder-compile-keywords): Use package-make-builtin.
6106
31119d63
SM
61072013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6108
931a2762
SM
6109 * vc/vc.el (vc-deduce-fileset): Change error message.
6110 (vc-read-backend): New function.
6111 (vc-next-action): Use it.
6112
5a3eb0c6
SM
6113 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6114
e3eb1bb7
SM
6115 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6116 (prolog-font-lock-keywords): Use regexp-opt instead.
6117 Don't manually highlight strings.
6118 (prolog-mode-variables): Simplify comment-start-skip.
6119 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6120
31119d63
SM
6121 * emacs-lisp/generic.el (generic--normalise-comments)
6122 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6123 (generic-mode-set-comments): Use them.
6124 (generic-bracket-support): Use setq-local.
6125 (generic-make-keywords-list): Declare obsolete.
6126
7de135d0
GM
61272013-06-11 Glenn Morris <rgm@gnu.org>
6128
6129 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6130 Prettify after setting font-lock-defaults. (Bug#14574)
6131
fa6bc6fd
JB
61322013-06-11 Juanma Barranquero <lekktu@gmail.com>
6133
6134 * replace.el (query-replace, occur-read-regexp-defaults-function)
6135 (replace-search):
6136 * subr.el (declare-function, number-sequence, local-set-key)
6137 (substitute-key-definition, locate-user-emacs-file)
6138 (with-silent-modifications, split-string, eval-after-load):
6139 Fix typos, remove unneeded backslashes and reflow some docstrings.
6140
cf1f9b9a
SM
61412013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6144 default for Elisp files.
6145
56602a4b
GM
61462013-06-11 Glenn Morris <rgm@gnu.org>
6147
6148 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6149 although define-derived-mode was doing this anyway. (Bug#14583)
6150
30ae0b2c
JB
61512013-06-10 Juanma Barranquero <lekktu@gmail.com>
6152
6153 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6154 Fix make-variable-buffer-local call to refer to the correct variable.
6155
fa472906
AG
61562013-06-10 Aidan Gauland <aidalgol@amuri.net>
6157
6158 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6159 (eshell-visual-subcommands, eshell-visual-options):
6160 Add summary line to docstrings. Add cross-references.
fa472906 6161
ff4871b9
GM
61622013-06-10 Glenn Morris <rgm@gnu.org>
6163
6164 * epa.el (epa-read-file-name): New function. (Bug#14510)
6165 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6166
04fcf1b0
AG
61672013-06-09 Aidan Gauland <aidalgol@amuri.net>
6168
6169 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6170 output redirection to be ignored with visual commands.
6171
88b00caa
AG
61722013-06-09 Aidan Gauland <aidalgol@amuri.net>
6173
6174 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6175 (eshell-term-initialize): Move long lambda to separate function
6176 eshell-visual-command-p.
e7b41c4c
JB
6177 * eshell/em-dirs.el (eshell-dirs-initialise):
6178 * eshell/em-script.el (eshell-script-initialize):
6179 Add missing #' to lambda.
88b00caa 6180
fda74125
LL
61812013-06-08 Leo Liu <sdl.web@gmail.com>
6182
6183 * progmodes/octave.el (octave-add-log-current-defun): New function.
6184 (octave-mode): Set add-log-current-defun-function.
6185 (octave-goto-function-definition): Do not move point if not found.
6186 (octave-find-definition): Enhance to try subfunctions first.
6187
467f3b33
GM
61882013-06-08 Glenn Morris <rgm@gnu.org>
6189
6190 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6191 (byte-compile-backward-char, byte-compile-backward-word):
6192 Improve previous change, to handle non-explicit nil.
6193
544badc3
SM
61942013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6197 (smie--opener/closer-at-point): New function.
6198 (smie--matching-block-data): Use it. Don't match from right after an
6199 opener or right before a closer. Obey smie-blink-matching-inners.
6200 Don't signal a mismatch for repeated inners like "switch..case..case".
6201
a175bf33
LL
62022013-06-07 Leo Liu <sdl.web@gmail.com>
6203
6204 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6205 to t. (Bug#14303)
ce8209d4
LL
6206 (octave-function-header-regexp): Fix. (Bug#14570)
6207 (octave-help-mode-finish-hook, octave-help-mode-finish):
6208 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6209
6210 * newcomment.el (comment-search-backward): Revert last change.
6211 (Bug#14434)
6212
6213 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6214
a822acff
EZ
62152013-06-07 Eli Zaretskii <eliz@gnu.org>
6216
6217 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6218 through xargs, to avoid failure due to MS-Windows limitations on
6219 command-line length.
6220
961166f5
GM
62212013-06-06 Glenn Morris <rgm@gnu.org>
6222
d0341459
GM
6223 * font-lock.el (lisp-font-lock-keywords-2):
6224 Treat user-error like error.
6225
961166f5
GM
6226 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6227 (byte-compile-backward-char, byte-compile-backward-word):
6228 Handle explicit nil arguments. (Bug#14565)
6229
80fa505f
AM
62302013-06-05 Alan Mackenzie <acm@muc.de>
6231
6232 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6233 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6234 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6235 (Bug#9706)
80fa505f 6236
fccdc796
SM
62372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * autorevert.el (auto-revert-notify-handler): Use memq.
6240 Hide assertion failure.
6241
6242 * skeleton.el: Use cl-lib.
6243 (skeleton-further-elements): Use defvar-local.
6244 (skeleton-insert): Use cl-progv.
6245
9bfff84b
TZ
62462013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6247
6248 * progmodes/prog-mode.el (prog-prettify-symbols)
6249 (prog-prettify-install): Update docstrings.
6250
55577e7c
SM
62512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * simple.el: Move all the prog-mode code to prog-mode.el.
6254 * progmodes/prog-mode.el: New file.
6255 * loadup.el: Add prog-mode.el.
6256
8fc57765
TZ
62572013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6258
6259 * simple.el (prog-prettify-symbols): Add version.
6260 (prog-prettify-install): Add convenience function to prettify symbols.
6261
6262 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6263 (perl--augmented-font-lock-keywords-1)
6264 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6265 variables and use it.
6266
6267 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6268 (cfengine3-mode): Remove unneeded variable and use it.
6269
6270 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6271 (lisp--augmented-font-lock-keywords-1)
6272 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6273 Remove unneeded variables and use it.
6274
650645d5 62752013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6276
6277 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6278 to point when opening the connection. (Bug#14380)
28f5da6d 6279
781b4af6
SM
62802013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * subr.el (load-history-regexp, load-history-filename-element)
6283 (eval-after-load, after-load-functions, do-after-load-evaluation)
6284 (eval-next-after-load, display-delayed-warnings)
6285 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6286 definition of save-match-data.
6287 (overriding-local-map): Remove accidental obsolescence declaration.
6288
6289 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6290
3ca0d0b4
TZ
62912013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6292
6293 Generalize symbol prettify support to prog-mode and implement it
6294 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6295 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6296 (prog--prettify-font-lock-compose-symbol)
6297 (prog-prettify-font-lock-symbols-keywords): New variables and
6298 functions to support symbol prettification.
6299 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6300 (lisp--augmented-font-lock-keywords-1)
6301 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6302 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6303 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6304 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6305 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6306 * progmodes/perl-mode.el (perl-prettify-symbols)
6307 (perl--font-lock-compose-symbol)
6308 (perl--font-lock-symbols-keywords): Move to prog-mode.
6309 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6310 (perl-font-lock-keywords-1)
6311 (perl-font-lock-keywords-2): Remove explicit prettify support.
6312 (perl--augmented-font-lock-keywords)
6313 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6314 (perl--augmented-font-lock-keywords-2, perl-mode):
6315 Implement prettify support.
3ca0d0b4 6316
976cb066
LL
63172013-06-05 Leo Liu <sdl.web@gmail.com>
6318
6319 Re-implement smie matching block highlight using
6320 show-paren-data-function. (Bug#14395)
6321 * emacs-lisp/smie.el (smie-matching-block-highlight)
6322 (smie--highlight-matching-block-overlay)
6323 (smie--highlight-matching-block-lastpos)
6324 (smie-highlight-matching-block)
6325 (smie-highlight-matching-block-mode): Remove.
6326 (smie--matching-block-data-cache): New variable.
6327 (smie--matching-block-data): New function.
6328 (smie-setup): Use smie--matching-block-data for
6329 show-paren-data-function.
6330
6331 * progmodes/octave.el (octave-mode-menu): Fix.
6332 (octave-find-definition): Skip garbage lines.
6333
208d0342
SM
63342013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 Fix compilation error with simultaneous dynamic+lexical scoping.
6337 Add warning when a defvar appears after the first let-binding.
6338 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6339 (byte-compile-close-variables): Initialize it.
6340 (byte-compile--declare-var): New function.
6341 (byte-compile-file-form-defvar)
6342 (byte-compile-file-form-define-abbrev-table)
6343 (byte-compile-file-form-custom-declare-variable): Use it.
6344 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6345 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6346 (byte-compile-bind): Handle dynamic bindings that shadow
6347 lexical bindings.
6348 (byte-compile-unbind): Make arg non-optional.
6349 (byte-compile-let): Simplify.
6350 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6351 (cconv--analyse-function, cconv-analyse-form): Populate it.
6352 Protect byte-compile-bound-variables to limit the scope of defvars.
6353 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6354 Remove unneeded rule for `declare'.
6355
6356 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6357 so as to avoid depending on cl-adjoin at run-time.
6358 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6359
6360 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6361 (macroexp--warn-and-return): Use it.
6362
2587b005
LL
63632013-06-05 Leo Liu <sdl.web@gmail.com>
6364
6365 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6366
f1da3c88
LL
63672013-06-04 Leo Liu <sdl.web@gmail.com>
6368
6369 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6370 (compilation-auto-jump): Suppress the "Mark set" message to give
6371 way to exit message.
6372
3caa391f
AM
63732013-06-04 Alan Mackenzie <acm@muc.de>
6374
6375 Remove faulty optimisation from indentation calculation.
6376 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6377 search limit based on 2000 characters back from indent-point.
6378
068922a2
TH
63792013-06-03 Tassilo Horn <tsdh@gnu.org>
6380
6381 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6382
1f8fdd53
SM
63832013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6384
bbcc4d97
SM
6385 * emacs-lisp/lisp.el: Use lexical-binding.
6386 (lisp--local-variables-1, lisp--local-variables): New functions.
6387 (lisp--local-variables-completion-table): New var.
208d0342 6388 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6389
1f8fdd53
SM
6390 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6391 eagerly (bug#14422).
6392
c9628c79
MA
63932013-06-03 Michael Albinus <michael.albinus@gmx.de>
6394
6395 * autorevert.el (auto-revert-notify-enabled)
6396 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6397 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6398 (auto-revert-notify-handler): Handle also gfilenotify.
6399
e7b41c4c 6400 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6401 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6402 Remove.
c9628c79 6403
e5e4a942
JL
64042013-06-03 Juri Linkov <juri@jurta.org>
6405
6406 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6407 `M-s h .'. (Bug#14427)
6408
6409 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6410 command `hi-lock-face-symbol-at-point'.
6411 (hi-lock-face-symbol-at-point): New command.
6412 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6413 (hi-lock-menu): Add `highlight-symbol-at-point'.
6414 (hi-lock-mode): Doc fix.
6415
6416 * isearch.el (isearch-forward-symbol-at-point): New command.
6417 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6418 (isearch-highlight-regexp): Add a regexp which matches
6419 words/symbols for word/symbol mode.
6420
6421 * subr.el (find-tag-default-bounds): New function with the body
6422 mostly moved from `find-tag-default'.
6423 (find-tag-default): Move most code to `find-tag-default-bounds',
6424 call it and apply `buffer-substring-no-properties' afterwards.
6425
26b3353a
TH
64262013-06-03 Tassilo Horn <tsdh@gnu.org>
6427
781b4af6
SM
6428 * eshell/em-term.el (eshell-term-initialize):
6429 Use `cl-intersection' rather than `intersection'.
26b3353a 6430
51b60f53
XF
64312013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6432
fe054b63 6433 * vc/log-view.el: Doc fix.
d3ffe17c 6434 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6435
a0eb10b3 64362013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6437
6438 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6439 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6440 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6441 (eieio-unbound, eieio-default-superclass)
6442 (eieio--define-field-accessors, method-static, method-before)
6443 (method-primary, method-after, method-num-lists)
6444 (method-generic-before, method-generic-primary)
6445 (method-generic-after, method-num-slots)
6446 (eieio-specialized-key-to-generic-key)
6447 (eieio--check-type, class-v, class-p)
6448 (eieio-class-name, define-obsolete-function-alias)
6449 (eieio-class-parents-fast, eieio-class-children-fast)
6450 (same-class-fast-p, class-constructor, generic-p)
6451 (generic-primary-only-p, generic-primary-only-one-p)
6452 (class-option-assoc, class-option, eieio-object-p)
6453 (class-abstract-p, class-method-invocation-order)
6454 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6455 (eieio-class-un-autoload, eieio-defclass)
6456 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6457 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6458 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6459 (eieio-defgeneric-reset-generic-form)
6460 (eieio-defgeneric-form-primary-only)
6461 (eieio-defgeneric-reset-generic-form-primary-only)
6462 (eieio-defgeneric-form-primary-only-one)
6463 (eieio-defgeneric-reset-generic-form-primary-only-one)
6464 (eieio-unbind-method-implementations)
6465 (eieio--defmethod, eieio--typep)
6466 (eieio-perform-slot-validation, eieio-validate-slot-value)
6467 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6468 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6469 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6470 (eieio-slot-name-index, eieio-class-slot-name-index)
6471 (eieio-set-defaults, eieio-initarg-to-attribute)
6472 (eieio-attribute-to-initarg, eieio-c3-candidate)
6473 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6474 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6475 (eieio-class-precedence-list, eieio-generic-call-methodname)
6476 (eieio-generic-call-arglst, eieio-generic-call-key)
6477 (eieio-generic-call-next-method-list)
6478 (eieio-pre-method-execution-functions, eieio-generic-call)
6479 (eieio-generic-call-primary-only, eieiomt-method-list)
6480 (eieiomt-optimizing-obarray, eieiomt-install)
6481 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6482 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6483 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6484 (defclass): Remove `eval-and-compile' from macro.
6485 (call-next-method, shared-initialize): Instead of using
6486 `scoped-class' variable, use new eieio--scoped-class, and
6487 eieio--with-scoped-class.
6488 (initialize-instance): Rename local variable 'scoped-class' to
6489 'this-class' to remove ambiguitity from old global.
6490
6491 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6492 eieio.el.
4f405069
JB
6493 (eieio--scoped-class-stack): New variable.
6494 (eieio--scoped-class): New fcn.
890f7890
DE
6495 (eieio--with-scoped-class): New scoping macro.
6496 (eieio-defclass): Use pushnew instead of add-to-list.
6497 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6498 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6499 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6500 `scoped-class' variable, use new eieio--scoped-class, and
6501 eieio--with-scoped-class.
6502
6503 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6504
d105b0e2
TH
65052013-06-02 Tassilo Horn <tsdh@gnu.org>
6506
6507 * eshell/esh-ext.el (eshell-external-command): Pass args to
6508 `eshell-find-interpreter'.
6509 (eshell-find-interpreter): Add new second parameter ARGS.
6510
6511 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6512 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6513
6514 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6515 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6516
6517 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6518 (eshell-visual-options): New defcustom.
6519 (eshell-escape-control-x): Adapt docstring.
6520 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6521 `eshell-visual-options' in addition to `eshell-visual-commands'.
6522 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6523
f46305c8 65242013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6525
6526 * progmodes/python.el (python-indent-block-enders): Add break,
6527 continue and raise keywords.
6528
d870df21
GM
65292013-06-01 Glenn Morris <rgm@gnu.org>
6530
9133b82e
GM
6531 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6532
02c992ec 6533 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6534 * progmodes/cc-cmds.el (delete-forward-p):
6535 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6536 * progmodes/cc-engine.el (buffer-syntactic-context):
6537 * progmodes/cc-fonts.el (face-property-instance):
6538 * progmodes/cc-mode.el (set-keymap-parents):
6539 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6540 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6541 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6542 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6543 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6544
31e7b090
GM
6545 * progmodes/cc-vars.el (other): Emacs has this widget since
6546 at least 21.1, so don't (re)define it.
6547
d870df21
GM
6548 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6549 Replace the obsolete alias pcomplete-arg-quote-list.
6550
c75c93c7
LL
65512013-06-01 Leo Liu <sdl.web@gmail.com>
6552
6553 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6554 punctuation syntax.
6555 (inferior-octave-minimal-columns)
6556 (inferior-octave-last-column-width): New variables.
6557 (inferior-octave-track-window-width-change): New function.
6558 (inferior-octave-mode): Adjust column width so that Octave output,
6559 for example from 'ls', can fit into the window nicely.
6560
973d1e12
DG
65612013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6562
6563 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6564 Highlight expansions inside regexp literals.
6565
0888c286
GM
65662013-05-31 Glenn Morris <rgm@gnu.org>
6567
e26aac1f
GM
6568 * obsolete/sym-comp.el (symbol-complete):
6569 Replace obsolete completion-annotate-function.
6570
0888c286
GM
6571 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6572
19bb8e62
DG
65732013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6574
781b4af6
SM
6575 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6576 New function, checks if point is inside a literal that allows
19bb8e62
DG
6577 expression expansion.
6578 (ruby-syntax-propertize-expansion): Use it.
6579 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6580 around the body.
6581
01dea85f
JL
65822013-05-30 Juri Linkov <juri@jurta.org>
6583
6584 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6585 to "\M-si".
6586 (isearch-invisible): New variable.
6587 (isearch-forward): Doc fix.
6588 (isearch-mode): Set `isearch-invisible'
6589 to the value of `search-invisible'.
6590 (isearch-toggle-case-fold): Doc fix.
6591 (isearch-toggle-invisible): New command.
6592 (isearch-query-replace): Let-bind `search-invisible'
6593 to the value of `isearch-invisible'.
6594 (isearch-search): Use `isearch-invisible' instead of
6595 `search-invisible'. Let-bind `search-invisible'
6596 to the value of `isearch-invisible'. (Bug#11378)
6597
ab1bdce5
JL
65982013-05-30 Juri Linkov <juri@jurta.org>
6599
6600 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6601 call when `query-flag' is nil and `search-invisible' is non-nil.
6602 (Bug#11746)
6603
d6d236e2
GM
66042013-05-30 Glenn Morris <rgm@gnu.org>
6605
8accd027
GM
6606 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6607
2a8bed1c
GM
6608 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6609 (cc-require): Suppress spurious "noruntime" warnings.
6610 (cc-require-when-compile): Use fboundp, for sake of compiler.
6611
d6d236e2
GM
6612 * progmodes/cc-mode.el: Move load of cc-vars before that of
6613 cc-langs (which in turn loads cc-vars), to quieten compiler.
6614
9190b35b
SM
66152013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * paren.el: Simplify the code.
6618 (show-paren-mode): Always start the timer.
6619 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6620 (show-paren--overlay, show-paren--overlay-1): Rename from
6621 show-paren-overlay and show-paren-overlay-1, and initialize to an
6622 overlay rather than to nil.
6623 (show-paren-function): Misc cleanup and simplifications.
6624
4f8d1cf6
SM
66252013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * paren.el (show-paren-data-function): New hook.
6628 (show-paren--default): New function, extracted from show-paren-function.
6629 (show-paren-function): Use show-paren-data-function.
6630
02d844b5
GM
66312013-05-30 Glenn Morris <rgm@gnu.org>
6632
d209d4a9
GM
6633 * ielm.el (ielm-map, ielm-complete-symbol):
6634 Use completion-at-point rather than obsolete functions.
6635 (inferior-emacs-lisp-mode): Doc fix.
6636 Set completion-at-point-functions, rather than
6637 comint-dynamic-complete-functions.
6638
2082faa6
GM
6639 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6640 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6641 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6642
dd8620de
GM
6643 * image.el (image-animated-p): Tweak definition.
6644
ceca95b1
GM
6645 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6646 (rlogin-process-connection-type): Tweak default. Add set-after.
6647 (rlogin-host): Doc fix.
6648 (rlogin): Tweak prompt.
6649 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6650
ee9f1acc
GM
6651 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6652 * progmodes/tcl.el (inferior-tcl-mode-map):
6653 Use completion-at-point rather than obsolete alias.
6654
45ce222e
GM
6655 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6656
02d844b5
GM
6657 * minibuffer.el (read-file-name-completion-ignore-case):
6658 Move before completion--in-region, for eager macro expansion.
6659
ac44d6c1
JL
66602013-05-29 Juri Linkov <juri@jurta.org>
6661
6662 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6663 for total count of matching lines. Add `global-matches' for total
6664 count of matches. Rename `matches' to `lines' for count of
6665 matching lines. Add `matches' for count of matches.
6666 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6667 to `prev-line' for line number of prev match endpt.
6668 Increment `matches' for every match. Print the number of
6669 matching lines in the header.
6670 (occur-context-lines): Rename `lines' to `curr-line'.
6671 Rename `prev-lines' to `prev-line'. (Bug#14017)
6672
3c9c9d38
JL
66732013-05-29 Juri Linkov <juri@jurta.org>
6674
6675 * replace.el (perform-replace): Add `skip-read-only-count',
6676 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6677 Increment them for corresponding conditions and report the number
6678 of skipped occurrences in the final message. (Bug#11746)
6679 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6680 (replace-string, replace-regexp): Doc fix.
6681
33e249a2
SM
66822013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6683
8e399682
SM
6684 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6685
33e249a2 6686 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6687 prog-mode-map (bug#14504).
33e249a2 6688
f236dd84
LL
66892013-05-29 Leo Liu <sdl.web@gmail.com>
6690
6691 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6692 (octave-help): Small simplification.
6693
6694 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6695 off the highlight first.
6696
3694d13f
GM
66972013-05-29 Glenn Morris <rgm@gnu.org>
6698
03983bdc
GM
6699 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6700 Handle idlwave-last-system-routine-info-cons-cell being nil.
6701
bc74a74a
GM
6702 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6703 (idlwave-write-paths): Simplify via with-temp-buffer.
6704
8b394200
GM
6705 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6706 * emulation/cua-rect.el: Also load cua-base at run time.
6707
3694d13f
GM
6708 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6709 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6710 (cperl-imenu-on-info): Require imenu.
6711
336d7284
AM
67122013-05-28 Alan Mackenzie <acm@muc.de>
6713
6714 Handle "capitalised keywords" correctly.
33e249a2 6715 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6716
cb29c582
AG
67172013-05-28 Aidan Gauland <aidalgol@amuri.net>
6718
781b4af6 6719 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6720
690e44b2
GM
67212013-05-28 Glenn Morris <rgm@gnu.org>
6722
e658d75c
GM
6723 * vc/vc-arch.el (vc-exec-after): Declare.
6724 (vc-switches): Autoload.
6725 * vc/vc-bzr.el: No need to require vc when compiling.
6726 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6727 (vc-resynch-buffer, vc-dir-refresh): Declare.
6728 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6729 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6730 (vc-resynch-buffer): Declare.
6731 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6732 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6733 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6734 (grep-read-regexp, grep-read-files, grep-expand-template)
6735 (vc-dir-refresh): Declare.
6736 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6737 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6738 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6739 * vc/vc-mtn.el (vc-exec-after): Declare.
6740 (vc-switches): Autoload.
6741 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6742 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6743 (vc-file-tree-walk): Declare.
712b9732
GM
6744 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6745 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6746 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6747 * vc/vc-svn.el (vc-exec-after): Declare.
6748 (vc-switches, vc-setup-buffer): Autoload.
6749 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6750 Autoload.
6751 (vc-resynch-buffer): Declare.
6752
98e87fb3
GM
6753 * obsolete/fast-lock.el (byte-compile-warnings):
6754 Don't warn about obsolete features in this obsolete file.
6755
f5379553
GM
6756 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6757 Move definition before use.
6758
7a20ef83
GM
6759 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6760 (dun-unix-verbs): Remove dun-zippy.
6761 (dun-zippy): Remove function.
6762
690e44b2
GM
6763 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6764
3a52ccf7
JL
67652013-05-27 Juri Linkov <juri@jurta.org>
6766
6767 * replace.el (replace-search): New function with code moved out
6768 from `perform-replace'.
6769 (replace-highlight, replace-dehighlight): Move function definitions
6770 up closer to `replace-search'. (Bug#11746)
6771
d289938a
JL
67722013-05-27 Juri Linkov <juri@jurta.org>
6773
6774 * replace.el (perform-replace): Ignore invisible matches.
6775 In addition to checking `query-replace-skip-read-only', also
6776 filter out matches by calling `run-hook-with-args-until-failure'
6777 on `isearch-filter-predicates', and also check `search-invisible'
6778 for t or call `isearch-range-invisible'.
6779 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6780
66fc57e3
JL
67812013-05-27 Juri Linkov <juri@jurta.org>
6782
6783 * isearch.el (isearch-filter-predicates): Rename from
6784 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6785 (isearch-message-prefix): Display text from the property
6786 `isearch-message-prefix' of the currently active filters.
6787 (isearch-search): Don't compare `isearch-filter-predicate' with
6788 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6789 on `isearch-filter-predicates'. Also check `search-invisible' for t
6790 or call `isearch-range-invisible'.
6791 (isearch-filter-visible): Make obsolete.
6792 (isearch-lazy-highlight-search):
6793 Call `run-hook-with-args-until-failure' on
6794 `isearch-filter-predicates' and use `isearch-range-invisible'.
6795
6796 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6797 `isearch-filter-predicates' instead of `funcall'ing
6798 `isearch-filter-predicate'.
6799 (Info-mode): Set `Info-isearch-filter' to
6800 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6801
6802 * dired-aux.el (dired-isearch-filter-predicate-orig):
6803 Remove variable.
6804 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6805 (dired-isearch-filenames-end): Add and remove
6806 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6807 instead of changing the value of `isearch-filter-predicate'.
6808 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6809 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6810 Put property `isearch-message-prefix' to "filename " on
6811 `dired-isearch-filter-filenames'.
6812
6813 * wdired.el (wdired-change-to-wdired-mode):
6814 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6815 locally instead of changing `isearch-filter-predicate'.
6816 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6817
f1a60a0f
DG
68182013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6819
6820 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6821 return the commit hash (Bug#14459). Also set the
6822 `vc-git-detached' property.
6823 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6824 (vc-git-mode-line-string): Use the same help-echo format whether
6825 in detached mode or not, because we know the actual revision now.
6826 When in detached mode, shorten the revision to 7 chars.
6827
7f17cc40
SM
68282013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * emacs-lisp/easy-mmode.el (define-minor-mode):
6831 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6832 mode hook and provide a docstring.
6833
25c8401c
AM
68342013-05-27 Alan Mackenzie <acm@muc.de>
6835
6836 Remove spurious syntax-table text properties inserted by C-y.
6837 * progmodes/cc-mode.el (c-after-change): Also clear hard
6838 syntax-table property with value nil.
6839
dde84790
MA
68402013-05-27 Michael Albinus <michael.albinus@gmx.de>
6841
6842 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6843 when reading the events; the buffer layout shall not be changed.
6844
837fd9af
LL
68452013-05-27 Leo Liu <sdl.web@gmail.com>
6846
6847 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6848 New variable.
6849 (inferior-octave-directory-tracker): Automatically re-sync
6850 default-directory.
6851 (octave-help): Improve handling of 'See also'.
6852
4fd996b3
SM
68532013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6854
416f1802
SM
6855 * doc-view.el: Minor naming convention tweaks.
6856 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6857
4fd996b3
SM
6858 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6859 even if there's no `display' property yet (bug#14435).
6860
a052ef3b
EZ
68612013-05-25 Eli Zaretskii <eliz@gnu.org>
6862
4fd996b3 6863 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6864
6865 * Makefile.in (custom-deps, finder-data, autoloads)
6866 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6867 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6868 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6869
c9023370
SM
68702013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6871
6872 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6873 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6874 Don't burp at EOB.
c9023370 6875
24d699fa
LL
68762013-05-25 Leo Liu <sdl.web@gmail.com>
6877
6878 * comint.el (comint-previous-matching-input): Do not flood the
6879 *Messages* buffer with trivial messages.
6880
17e5c0cc
SM
68812013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * progmodes/flymake.el (flymake-nop): Don't return a string.
6884 (flymake-set-at): Fix typo.
6885
6886 * simple.el (read--expression): New function, extracted from
6887 eval-expression. Set completion-at-point-functions (bug#14465).
6888 (eval-expression, eval-minibuffer): Use it.
6889
5d028165
XF
68902013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6891
6892 * progmodes/flymake.el (flymake-save-buffer-in-file)
6893 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6894 (flymake-selected-frame, flymake-log, flymake-ins-after)
6895 (flymake-set-at, flymake-get-buildfile-from-cache)
6896 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6897 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6898 Refine the doc string.
6899 (flymake-get-file-name-mode-and-masks): Reformat.
6900 (flymake-get-real-file-name-function): Fix a minor bug.
6901
7a1d7ba7
JL
69022013-05-24 Juri Linkov <juri@jurta.org>
6903
6904 * progmodes/grep.el (grep-mode-font-lock-keywords):
6905 Support =linenumber= format used by git-grep for lines with
6906 function names. (Bug#13549)
6907
650cff3d
SM
69082013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6911 0 after a semi-colon; it works better for smie-auto-fill.
6912 (octave--indent-new-comment-line): New function.
6913 (octave-indent-new-comment-line): Use it (indirectly).
6914 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6915 modify comment-line-break-function.
6916
6917 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6918 (smie-setup): Use add-function to set it.
6919
9631677d
SS
69202013-05-24 Sam Steingold <sds@gnu.org>
6921
6922 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6923 argument (before the `interactive' argument).
6924
50105835
SM
69252013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6926
6927 * image-mode.el (image-mode-winprops): Add winprops to
6928 image-mode-winprops-alist before running
6929 image-mode-new-window-functions.
6930 * doc-view.el (doc-view-new-window-function): Don't delay
6931 doc-view-goto-page via timers (bug#14435).
6932
57b9823e
TH
69332013-05-24 Tassilo Horn <tsdh@gnu.org>
6934
6935 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6936 (doc-view-desktop-save-buffer): New function.
6937 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6938 (desktop-buffer-mode-handlers):
6939 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6940 handler.
6941 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6942 `desktop-save-buffer' function.
6943
91aafa16
MA
69442013-05-24 Michael Albinus <michael.albinus@gmx.de>
6945
6946 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6947 (tramp-gvfs-file-name-handler): Raise a user error when
6948 `tramp-gvfs-enabled' is nil.
6949 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6950 Do not raise a user error when loading package. (Bug#14447)
6951
ec076379
MA
6952 * net/xesam.el: Move to obsolete/.
6953
db785726
GM
69542013-05-24 Glenn Morris <rgm@gnu.org>
6955
af5c7606
GM
6956 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6957
e5d1916a
GM
6958 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6959
ded62b08
GM
6960 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6961 (Info-find-node, Man-getpage-in-background): Declare.
6962
9e614a3f
GM
6963 * mail/unrmail.el (unrmail):
6964 Replace obsolete detect-coding-with-priority.
6965
892f8ca3
GM
6966 * net/socks.el (socks-split-string): Use this rather than split-string.
6967 (socks-nslookup-host): Update for above change.
6968 (dynamic-choice, s5-dynamic-choice-match)
6969 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6970 Comment out unused code.
6971
3c291973
GM
6972 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6973 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6974 (gud-tooltip-echo-area): Make obsolete.
6975 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6976
43cc956b
GM
6977 * progmodes/js.el (js--optimize-arglist): Declare.
6978
dab49a3b
GM
6979 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6980
36b9d085
GM
6981 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6982 (ediff-window-C): Declare.
6983
e354ae76
GM
6984 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6985 Tweak requires to silence compiler.
6986
b8e57bf4
GM
6987 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6988 (he-search-string, he-tried-table, he-expand-list)
6989 (he-init-string, he-string-member, he-substitute-string)
6990 (he-reset-string): Declare.
6991
db785726
GM
6992 * obsolete/options.el (list-options): Use custom-variable-p,
6993 rather than obsolete alias.
6994
b3531901
SS
69952013-05-23 Sam Steingold <sds@gnu.org>
6996
6997 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6998 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6999 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7000
bdda4c66
SM
70012013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * emacs-lisp/smie.el (smie-indent-forward-token)
7004 (smie-indent-backward-token): Handle string tokens (bug#14381).
7005
c43d45f9
TH
70062013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7007
fe1eb856
RS
7008 * ielm.el (ielm-menu): New menu.
7009 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7010
fe1eb856
RS
70112013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7012
7013 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7014 Fix deactivate action.
7015
7016 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7017 Add cleveref macros.
074dd971 7018
c43d45f9
TH
7019 * lisp/textmodes/reftex-parse.el
7020 (reftex-locate-bibliography-files): Accept options for
7021 bibliography commands.
7022 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7023 Add addbibresource. Basic Biblatex support.
7024
7764286e
MA
70252013-05-23 Michael Albinus <michael.albinus@gmx.de>
7026
7027 * net/tramp-gvfs.el (top):
7028 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7029 when loading package. (Bug#14447)
7030
d361bc10
GM
70312013-05-23 Glenn Morris <rgm@gnu.org>
7032
8fa23984
GM
7033 * progmodes/js.el: No need to load comint when compiling.
7034 (ring-insert, comint-send-string, comint-send-input)
7035 (comint-last-input-end, ido-chop): Declare.
7036
a5c7df1a
GM
7037 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7038 * vc/ediff-mult.el: Adjust requires.
7039 (ediff-directories-internal, ediff-directory-revisions-internal)
7040 (ediff-patch-file-internal): Declare.
7041 * vc/ediff-ptch.el: Adjust requires.
7042 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7043 (ediff-find-file): Autoload.
7044 * vc/ediff-util.el: No need to load ediff when compiling.
7045 (ediff-regions-internal): Declare.
7046 * vc/ediff-wind.el: Adjust requires.
7047 (ediff-compute-toolbar-width): Define when compiling.
7048 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7049 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7050 (dired-get-filename, dired-get-marked-files)
7051 (ediff-last-dir-patch, ediff-patch-default-directory)
7052 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7053 (ediff-patch-buffer-internal): Declare.
7054
e2aec513
GM
7055 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7056 (ispell-process, ispell-buffer-local-words, lm-summary)
7057 (lm-section-start, lm-section-end): Declare.
7058 (checkdoc-ispell-init): Simplify.
7059
e68bbd7c
GM
7060 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7061 (he-string-member, he-reset-string, he-substitute-string): Declare.
7062
7efe0991
GM
7063 * eshell/em-ls.el: Adjust requires.
7064 (eshell-glob-regexp): Declare.
f87b1284
GM
7065 * eshell/em-tramp.el: Adjust requires.
7066 (eshell-parse-command): Autoload.
7067 * eshell/em-xtra.el: Adjust requires.
7068 (eshell-parse-command): Autoload.
7069 * eshell/esh-ext.el: Adjust requires.
7070 (eshell-parse-command, eshell-close-handles): Autoload.
7071 * eshell/esh-io.el: Adjust requires.
7072 (eshell-output-filter): Autoload.
7073 * eshell/esh-util.el: No need to load tramp when compiling.
7074 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7075 Declare.
7076 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7077 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7078 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7079 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7080 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7081 * eshell/esh-opt.el, eshell/esh-proc.el:
7082 * eshell/esh-var.el: Adjust requires.
7083 * eshell/eshell.el: Do not require esh-util twice.
7084 (eshell-add-input-to-history): Declare.
7085 (eshell-command): Check history module is active before using it.
7086
d361bc10
GM
7087 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7088
85d090a9
LL
70892013-05-22 Leo Liu <sdl.web@gmail.com>
7090
7091 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7092
5d0acd9d
MA
70932013-05-22 Michael Albinus <michael.albinus@gmx.de>
7094
7095 * autorevert.el (auto-revert-notify-add-watch)
7096 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7097 it indicates changes in file modification time.
7098
0cdffd7d
GM
70992013-05-22 Glenn Morris <rgm@gnu.org>
7100
ca5995ec
GM
7101 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7102 Always delete the autoloaded function from the noruntime and
7103 unresolved functions lists.
7104
6450907e
GM
7105 * allout.el: No need to load epa, epg, overlay when compiling.
7106 (epg-context-set-passphrase-callback, epg-list-keys)
7107 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7108 (epg-key-user-id-list): Declare.
7109
9c6906f6
GM
7110 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7111 (viper-set-parsing-style-toggling-macro)
7112 (viper-set-emacs-state-searchstyle-macros):
7113 Use called-interactively-p on Emacs.
7114 (viper-looking-back): Make it an obsolete alias. Update callers.
7115 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7116 Use looking-back rather than viper-looking-back.
7117 (viper-tmp-insert-at-eob, viper-enlarge-region)
7118 (viper-read-string-with-history, viper-register-to-point)
7119 (viper-append-to-register, viper-change-state-to-vi)
7120 (viper-backward-char-carefully, viper-forward-char-carefully)
7121 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7122 (viper-change-state-to-emacs): Declare.
7123 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7124 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7125 * emulation/viper-mous.el: Do not load viper-cmd.
7126 (viper-backward-char-carefully, viper-forward-char-carefully)
7127 (viper-forward-word, viper-adjust-window): Declare.
7128
5f70c169
GM
7129 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7130
b1b7f300
GM
7131 * progmodes/idlw-help.el (idlwave-help-fontify):
7132 Use called-interactively-p.
7133
f6ebbb46
GM
7134 * term/w32console.el (w32-get-console-codepage)
7135 (w32-get-console-output-codepage): Declare.
7136
0cdffd7d
GM
7137 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7138 Remove unnecessary declarations.
7139 (dframe-message): Doc fix.
7140
7141 * info.el (dframe-select-attached-frame, dframe-current-frame):
7142 Declare.
7143
7144 * speedbar.el (speedbar-message): Make it an obsolete alias.
7145 Update all callers.
7146 (speedbar-with-attached-buffer)
7147 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7148 (speedbar-with-writable): Use backquote.
7149 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7150 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7151 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7152 rather than speedbar- aliases.
7153 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7154 (speedbar-make-specialized-keymap, speedbar-insert-button)
7155 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7156 (speedbar-do-function-pointer): Declare.
7157 (rmail-speedbar-button, rmail-speedbar-find-file)
7158 (rmail-speedbar-move-message):
7159 Use dframe-with-attached-buffer rather than speedbar- alias.
7160 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7161 (dframe-message, speedbar-make-specialized-keymap)
7162 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7163 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7164 (speedbar-insert-button, dframe-select-attached-frame)
7165 (dframe-maybee-jump-to-attached-frame)
7166 (speedbar-change-initial-expansion-list)
7167 (speedbar-previously-used-expansion-list-name): Declare.
7168 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7169 Use dframe-message, dframe-with-attached-buffer rather than
7170 speedbar- aliases.
7171 (gud-sentinel): Silence compiler.
7172 * progmodes/vhdl-mode.el (speedbar-refresh)
7173 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7174 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7175 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7176 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7177 (speedbar-file-lists, speedbar-make-tag-line)
7178 (speedbar-line-directory, speedbar-goto-this-file)
7179 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7180 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7181 (speedbar-make-button, speedbar-reset-scanners)
7182 (speedbar-files-item-info, speedbar-line-text)
7183 (speedbar-find-file-in-frame, speedbar-set-timer)
7184 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7185 (speedbar-with-writable): Do not (re)define it.
7186 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7187 rather than speedbar- alias.
7188
ee44b62a
LL
71892013-05-21 Leo Liu <sdl.web@gmail.com>
7190
7191 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7192 menu items.
7193 (octave-mode): Tweak fill-nobreak-predicate.
7194 (inferior-octave-startup): Check process to avoid infinite loop.
7195 (inferior-octave): Pop to buffer first to show abornmal process
7196 exit information.
7197
640f050f
GM
71982013-05-21 Glenn Morris <rgm@gnu.org>
7199
79458038
GM
7200 * printing.el (pr-menu-bar): Define when compiling.
7201
9cc3e83f
LL
72022013-05-21 Leo Liu <sdl.web@gmail.com>
7203
7204 * progmodes/octave.el (octave-auto-fill): Remove.
7205 (octave-indent-new-comment-line): Improve.
7206 (octave-mode): Use auto fill mode through
4f405069 7207 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7208 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7209 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7210 (octave-help): Show parent directory.
7211
f440830d
GM
72122013-05-21 Glenn Morris <rgm@gnu.org>
7213
7214 * files.el (dired-unmark):
7215 * progmodes/gud.el (gdb-input): Update declarations.
7216
7217 * calculator.el (electric, ehelp): No need to load when compiling.
7218 (Electric-command-loop, electric-describe-mode): Declare.
7219
7220 * doc-view.el (doc-view-current-converter-processes): Move before use.
7221
7222 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7223 Move MODE-set-explicitly definition before use.
7224
7225 * international/mule-diag.el (mule-diag):
7226 Don't use obsolete window-system-version.
7227
7228 * mail/feedmail.el (smtpmail): No need to load when compiling.
7229 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7230
7231 * mail/mail-utils.el (rfc822): No need to load when compiling.
7232 (rfc822-addresses): Autoload it.
7233 (mail-strip-quoted-names): Trivial simplification.
7234
7235 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7236 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7237
7238 * net/snmp-mode.el (tempo): Don't duplicate requires.
7239
7240 * progmodes/prolog.el (info): No need to load when compiling.
7241 (comint): Require before shell requires it.
7242 (Info-goto-node): Autoload it.
7243 (Info-follow-nearest-node): Declare.
7244 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7245
7246 * textmodes/artist.el (picture-mode-exit): Declare.
7247
7248 * textmodes/reftex-parse.el (reftex-parse-from-file):
7249 Trivial rewrite so the compiler can parse it better.
7250
b4da2cbb
LL
72512013-05-20 Leo Liu <sdl.web@gmail.com>
7252
7253 * progmodes/octave.el (octave-help-mode-map)
7254 (octave-help-mode-finish-hook): New variables.
7255 (octave-help-mode, octave-help-mode-finish): New functions.
7256 (octave-help): Use octave-help-mode.
7257
33c0f65b
GM
72582013-05-20 Glenn Morris <rgm@gnu.org>
7259
7260 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7261
1a0a0a8a
DG
72622013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7263
7264 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7265 start at point, so that expansion starting right after opening
7266 slash in a regexp is recognized.
7267 (ruby-syntax-before-regexp-re): New defvar, extracted from
7268 ruby-syntax-propertize-function. Since the value of this regexp
7269 is looked up at runtime now, we should be able to turn
7270 `ruby-syntax-methods-before-regexp' into a defcustom later.
7271 (ruby-syntax-propertize-function): Split regexp matching into two
7272 parts, for opening and closing slashes. That allows us to skip
7273 over string interpolations and support multiline regexps.
7274 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7275 for them, which calls `ruby-syntax-propertize-expansion'.
7276 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7277 call to `ruby-syntax-propertize-function'.
7278 (ruby-syntax-propertize-expansion): Extracted from
7279 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7280 (ruby-syntax-propertize-percent-literal): Leave point right after
7281 the percent symbol, so that the expression expansion rule can
7282 propertize the contents.
462388b6
DG
7283 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7284 heredoc openers.
7285 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7286
c1a6c0a4
JL
72872013-05-18 Juri Linkov <juri@jurta.org>
7288
7289 * man.el (Man-default-man-entry): Remove `-' from the end
7290 of the default value. (Bug#14400)
7291
8051fccd
GM
72922013-05-18 Glenn Morris <rgm@gnu.org>
7293
7294 * comint.el (comint-password-prompt-regexp):
7295 Allow "password for XXX" where XXX contains colons (eg https://...).
7296
5e80b74f
LL
72972013-05-18 Leo Liu <sdl.web@gmail.com>
7298
7299 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7300 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7301 (octave-source-directories): Don't check process.
7302 (octave-source-directories, octave-find-definition): Doc fix.
7303
521a54c5
GM
73042013-05-18 Glenn Morris <rgm@gnu.org>
7305
86a94b05
GM
7306 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7307 Remove backspace/delete bindings. (Bug#14392)
7308
521a54c5
GM
7309 * cus-dep.el (custom-make-dependencies): Sort the output.
7310 (custom-versions-load-alist): Convert comment to doc.
7311
42caeb89
LL
73122013-05-17 Leo Liu <sdl.web@gmail.com>
7313
7314 * newcomment.el (comment-search-backward): Stricter in finding
7315 comment start. (Bug#14303)
7316
7317 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7318 (octave-comment-start-skip): Properly anchored.
7319
e219dd97
LL
73202013-05-17 Leo Liu <sdl.web@gmail.com>
7321
fe1eb856
RS
7322 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7323 Clean up when turned off. (Bug#14395)
e219dd97
LL
7324 (smie--highlight-matching-block-overlay): No longer buffer-local.
7325 (smie-highlight-matching-block): Adjust.
7326
dc5dcb4b
PE
73272013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7328
7329 Doc string fix for "nanoseconds" (Bug#14406).
7330 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7331 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7332
1db165f0
JB
73332013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7334
7335 * calc/calc-units.el (math-extract-units): Preserve powers
7336 of units.
7337
c7a8fcac
LL
73382013-05-17 Leo Liu <sdl.web@gmail.com>
7339
7340 * subr.el (delete-consecutive-dups): New function.
7341 * ido.el (ido-set-matches-1): Use it.
7342 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7343 * ido.el (ido-remove-consecutive-dups): Remove.
7344
f678b18a
SM
73452013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7348 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7349 regexp-opt's `words'.
7350
ebfe68e8
LL
73512013-05-16 Leo Liu <sdl.web@gmail.com>
7352
7353 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7354 (smie--highlight-matching-block-overlay)
7355 (smie--highlight-matching-block-lastpos)
7356 (smie--highlight-matching-block-timer): New variables.
7357 (smie-highlight-matching-block): New function.
7358 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7359 (smie-setup): Conditionally enable smie-blink-matching-open.
7360
bc8bc17d
WS
73612013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7362
7363 Sync with upstream verilog-mode r840.
7364 * progmodes/verilog-mode.el (verilog-mode-version)
7365 (verilog-mode-release-date): Update.
7366 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7367 (verilog-sig-tieoff): Fix string error on
7368 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7369 (verilog-read-decls): Fix parameters confusing
7370 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7371
df065a0b
EZ
73722013-05-16 Eli Zaretskii <eliz@gnu.org>
7373
7374 * subr.el (reveal-filename): New function.
7375
7376 * loadup.el: Compute Emacs executable versions on MS-Windows,
7377 where executables have the .exe extension. Add a hard link
7378 emacs-XX.YY.ZZ.exe on MS-Windows.
7379
7380 * Makefile.in (XARGS_LIMIT): New variable.
7381 (custom-deps, finder-data, autoloads)
7382 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7383 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7384 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7385 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7386
2d4bf34b
LL
73872013-05-16 Leo Liu <sdl.web@gmail.com>
7388
7389 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7390 (octave-mode-menu, octave-mode-map): Remove its uses.
7391
6b9c2d85
RZ
73922013-05-16 Reto Zimmermann <reto@gnu.org>
7393
7394 Sync with upstream vhdl mode v3.34.2.
7395 * progmodes/vhdl-mode.el: Use `push' throughout.
7396 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7397 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7398 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7399 (vhdl-actual-generic-name): New option to derive actual generic name.
7400 (vhdl-port-paste-signals): Replace formal by actual generics.
7401 (vhdl-beautify): New name for old group vhdl-align. Update users.
7402 (vhdl-beautify-options): New option.
7403 (vhdl-last-input-event): New compat alias. Use throughout.
7404 (vhdl-goto-line): Replace user level function `goto-line'.
7405 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7406 vhdl-fix-statement-buffer.
7407 (vhdl-create-mode-menu): Add some entries.
7408 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7409 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7410 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7411 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7412 to force statements on one line.
7413 (vhdl-remove-trailing-spaces-region):
7414 New, split from vhdl-remove-trailing-spaces.
7415 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7416 Respect vhdl-beautify-options.
7417 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7418 (vhdl-update-sensitivity-list): Not add with index if exists without.
7419 Not include array index with signal. Ignore keywords in comments.
7420 (vhdl-get-visible-signals): Regexp tweaks.
7421 (vhdl-template-component-inst): Handle empty library.
7422 (vhdl-template-type): Add template for 'enum' type.
7423 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7424 Use vhdl-replace-string.
7425 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7426 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7427 (vhdl-speedbar-initialize): Update for above name change.
7428 (vhdl-compose-wire-components): Fix in handling of constants.
7429 (vhdl-error-regexp-emacs-alist): New variable.
7430 (vhdl-error-regexp-add-emacs): New function;
7431 adds support for new compile.el (Emacs 22+)
7432 (vhdl-generate-makefile-1): Change target order for single lib. units.
7433 Allow use of absolute file names.
7434
9df4ec5e
LL
74352013-05-16 Leo Liu <sdl.web@gmail.com>
7436
7437 * simple.el (prog-indent-sexp): Indent enclosing defun.
7438
f5ba00a6
GM
74392013-05-15 Glenn Morris <rgm@gnu.org>
7440
ed8be7ff
GM
7441 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7442 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7443 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7444 (whitespace-highlight): Move to whitespace group.
7445
7446 * comint.el (comint-source):
7447 * pcmpl-linux.el (pcmpl-linux):
7448 * shell.el (shell-faces):
7449 * eshell/esh-opt.el (eshell-opt):
7450 * international/ccl.el (ccl): Remove empty custom groups.
7451
7452 * completion.el (dynamic-completion-mode):
7453 * jit-lock.el (jit-lock-debug-mode):
7454 * minibuffer.el (completion-in-region-mode):
7455 * type-break.el (type-break-mode-line-message-mode)
7456 (type-break-query-mode):
7457 * emulation/tpu-edt.el (tpu-edt-mode):
7458 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7459 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7460 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7461
7462 * term/xterm.el (xterm): Change parent group to terminals.
7463
7464 * master.el (master): Remove empty custom group.
7465 (master-mode): Remove unused :group argument.
7466 * textmodes/refill.el (refill): Remove empty custom group.
7467 (refill-mode): Remove unused :group argument.
7468
7469 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7470
82a7c41b
GM
7471 * cus-dep.el: Provide a feature.
7472 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7473 Don't mistakenly ignore files whose basenames match a basename
7474 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7475 Add a fallback method for getting :group.
f5ba00a6 7476
6d65486d
JL
74772013-05-15 Juri Linkov <juri@jurta.org>
7478
da547b32
JL
7479 * isearch.el (isearch-char-by-name): Rename from
7480 `isearch-insert-char-by-name'. Doc fix.
7481 (isearch-forward): Mention `isearch-char-by-name' in
7482 the docstring. (Bug#13348)
7483
6d65486d
JL
7484 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7485 `exit-minibuffer' instead of
7486 `isearch-nonincremental-exit-minibuffer'.
7487 (isearch-edit-string): Remove mention of
7488 `isearch-nonincremental-exit-minibuffer' from docstring.
7489 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7490 (isearch-forward-exit-minibuffer)
7491 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7492
c9990474
SM
74932013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7494
6e911150
SM
7495 * loadup.el: Just use unversioned DOC.
7496
c9990474
SM
7497 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7498 literals as extending to EOB.
7499 (nxml-last-fontify-end): Remove unused variable.
7500 (nxml-after-change1): Use with-silent-modifications.
7501 (nxml-extend-after-change-region): Simplify.
7502 (nxml-extend-after-change-region1): Remove function.
7503 (nxml-after-change1): Don't adjust for dependent regions.
7504 (nxml-fontify-matcher): Simplify.
7505 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7506 (xmltok-add-dependent): Remove function.
7507 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7508 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7509 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7510 unclosed <[[, <?, comment, and other literals as extending to EOB.
7511 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7512 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7513 Remove functions.
7514 (rng-do-some-validation-1): Don't mark dependent regions.
7515 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7516 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7517 (nxml-clear-dependent-regions): Remove functions.
7518 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7519 (nxml-ensure-scan-up-to-date):
7520 Don't clear&mark dependent regions.
7521
e3772e98
LL
75222013-05-15 Leo Liu <sdl.web@gmail.com>
7523
c9990474
SM
7524 * progmodes/octave.el (octave-goto-function-definition):
7525 Improve and fix callers.
e3772e98 7526
5ac2eb34
SM
75272013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7528
c46c57b0
SM
7529 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7530 the setter (bug#14387).
7531
5ac2eb34
SM
7532 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7533 surrounding group (bug#14402).
7534
180ed218
JL
75352013-05-14 Juri Linkov <juri@jurta.org>
7536
7537 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7538 (Bug#14390)
7539
0ac0fecb
GM
75402013-05-14 Glenn Morris <rgm@gnu.org>
7541
7542 * progmodes/f90.el (f90-imenu-generic-expression):
7543 Fix typo in 2013-05-08 change. (Bug#14402)
7544
2e78e6a7
JPG
75452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7546
5ac2eb34
SM
7547 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7548 Remove signals for which replies are never received.
2e78e6a7 7549
53267cca
JPG
75502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7551
7552 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7553 (gdb-handler-alist, gdb-handler-number): Remove variables.
7554 (gdb-handler-list): New variable.
7555 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7556 (gdb-pending-handler-p, gdb-handle-reply)
7557 (gdb-remove-all-pending-triggers): New functions.
7558 (gdb-discard-unordered-replies): New defcustom.
7559 (gdb-handler): New defstruct.
7560 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7561 instead of gdb-pending-triggers. Update docstring.
7562 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7563 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7564 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7565 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7566 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7567 (gdb-frame-handler): Pending triggers are now automatically managed.
7568 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7569 Remove argument.
7570 (gdb-input): Automatically handles pending triggers. Update docstring.
7571 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7572 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7573 Update comments.
7574 (gdb-done-or-error): Now use gdb-handle-reply.
7575
d04ce803
JPG
75762013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7577
7578 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7579 gdb-debug-log.
7580
0114073a
GM
75812013-05-14 Glenn Morris <rgm@gnu.org>
7582
7583 * subr.el (user-emacs-directory-warning): New option.
7584 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7585
4d25fd7e
LL
75862013-05-14 Leo Liu <sdl.web@gmail.com>
7587
7588 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7589 during redisplay.
7590 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7591 (octave-font-lock-texinfo-comment): Fix invalid search bound
7592 error: wrong side of point.
4d25fd7e 7593
27c8b6eb
GM
75942013-05-14 Glenn Morris <rgm@gnu.org>
7595
61aaeb01
GM
7596 * progmodes/flymake.el (flymake-xml-program): New option.
7597 (flymake-xml-init): Use it.
7598
5bf90bc5
GM
7599 * term/xterm.el: Provide a feature.
7600
7601 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7602
f4c7dfd2
GM
76032013-05-13 Glenn Morris <rgm@gnu.org>
7604
7605 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7606 Add compat aliases as a hack workaround. (Bug#14384)
7607
2aeb3a1d
LL
76082013-05-13 Leo Liu <sdl.web@gmail.com>
7609
b0e069c2
LL
7610 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7611 ###, and %!.
f5a9432f
LL
7612 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7613 C-M-q.
b0e069c2
LL
7614 (octave-comment-start-skip): Include %!.
7615 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7616
30ea8374
LL
76172013-05-12 Leo Liu <sdl.web@gmail.com>
7618
7619 * progmodes/octave.el (inferior-octave-startup): Store the value
7620 of __octave_srcdir__ for octave-source-directories.
7621 (inferior-octave-check-process): New function refactored out of
7622 inferior-octave-send-list-and-digest.
7623 (octave-source-directories)
7624 (octave-find-definition-filename-function): New variables.
7625 (octave-source-directories)
7626 (octave-find-definition-default-filename): New functions.
7627 (octave-find-definition): Improve to find functions implemented in C++.
7628
472a3834
GM
76292013-05-12 Glenn Morris <rgm@gnu.org>
7630
7631 * calendar/diary-lib.el (diary-outlook-format-1):
7632 Don't include dayname in the output. (Bug#14349)
7633
3191b52f
GM
76342013-05-11 Glenn Morris <rgm@gnu.org>
7635
0060ac73
GM
7636 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7637
3191b52f
GM
7638 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7639 Treat cc-provide like provide.
7640
e065ba74
KR
76412013-05-11 Kevin Ryde <user42@zip.com.au>
7642
7643 * cus-dep.el (custom-make-dependencies):
7644 Use generated-autoload-load-name for the sake of files such
7645 such cedet/semantic/bovine/c.el, where the base file name
7646 is not in load-path. (Bug#5277)
7647
36f84c37
GM
76482013-05-11 Glenn Morris <rgm@gnu.org>
7649
7650 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7651 Provide features.
7652
c8730c3a
LL
76532013-05-11 Leo Liu <sdl.web@gmail.com>
7654
7655 * progmodes/octave.el (octave-indent-comment): Improve.
7656 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7657 (octave-eldoc-function-signatures, octave-eldoc-function):
7658 New functions.
c8730c3a
LL
7659 (octave-mode, inferior-octave-mode): Add eldoc support.
7660
212e29f2
RS
76612013-05-11 Richard Stallman <rms@gnu.org>
7662
7663 * epa.el (epa-decrypt-file): Take output file name as argument
7664 and read it using `interactive'.
7665
083fe0d7
LL
76662013-05-11 Leo Liu <sdl.web@gmail.com>
7667
7668 * progmodes/octave.el (octave-beginning-of-line)
7669 (octave-end-of-line): Check before using up-list because it jumps
7670 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7671 (octave-indent-comment): New function.
7672 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7673 (octave-begin-keywords, octave-end-keywords)
7674 (octave-reserved-words, octave-smie-bnf-table)
7675 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7676
8582e4c4
GM
76772013-05-11 Glenn Morris <rgm@gnu.org>
7678
f20def1f
GM
7679 * faces.el (internal-face-x-get-resource):
7680 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7681 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7682 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7683 Fix declarations.
f20def1f 7684
445f95e2
GM
7685 * calc/calc-menu.el: Make it loadable in isolation.
7686
7687 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7688 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7689 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7690 (eudc-bbdb-query-internal): Require 'bbdb.
7691
99fb2756
GM
7692 * lpr.el (lpr-headers-switches):
7693 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7694
7695 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7696
0da7ad96
GM
7697 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7698
8582e4c4
GM
7699 * term.el (term-set-escape-char): Make it idempotent.
7700
f71c50d0
LL
77012013-05-10 Leo Liu <sdl.web@gmail.com>
7702
5ac2eb34
SM
7703 * progmodes/octave.el (inferior-octave-completion-table):
7704 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7705 completion due to bug#11906.
7706 (octave-beginning-of-defun): Re-write to be more general.
7707
d5837773
GM
77082013-05-10 Glenn Morris <rgm@gnu.org>
7709
7710 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7711
027c0f75
SM
77122013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * comint.el (comint-redirect-send-command-to-process): Use :around
7715 rather than :override for comint-redirect-filter.
7716 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7717 Call it instead of comint-redirect-original-filter-function (which
7718 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7719
4465bfb4
JD
77202013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7721
7722 * frame.el (display-monitor-attributes-list): Add NS case.
7723 (ns-display-monitor-attributes-list): Declare.
7724
2d809ffa 77252013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7726
7727 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7728
e54eeb9b
GM
77292013-05-09 Glenn Morris <rgm@gnu.org>
7730
56cd351d
GM
7731 * international/fontset.el (vertical-centering-font-regexp):
7732 Set standard-value.
7733
d84b6108
GM
7734 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7735
a931698a
GM
7736 * bookmark.el (bookmark-search-delay):
7737 * cus-start.el (vertical-centering-font-regexp):
7738 * ps-mule.el (ps-mule-font-info-database-default):
7739 * ps-print.el (ps-default-fg, ps-default-bg):
7740 * type-break.el (type-break-good-break-interval):
7741 * whitespace.el (whitespace-indentation-regexp)
7742 (whitespace-space-after-tab-regexp):
7743 * emacs-lisp/testcover.el (testcover-1value-functions)
7744 (testcover-noreturn-functions, testcover-progn-functions)
7745 (testcover-prog1-functions):
7746 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7747 * eshell/em-glob.el (eshell-glob-translate-alist):
7748 * play/tetris.el (tetris-tty-colors):
7749 * progmodes/cpp.el (cpp-face-default-list):
7750 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7751 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7752 (idlwave-help-browser-generic-args):
7753 * progmodes/make-mode.el (makefile-special-targets-list):
7754 * progmodes/python.el (python-shell-virtualenv-path):
7755 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7756 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7757 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7758 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7759 * textmodes/reftex-vars.el (reftex-format-label-function):
7760 * textmodes/remember.el (remember-diary-file): Fix custom types.
7761
e54eeb9b
GM
7762 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7763 Add :version.
7764
455851dd
LL
77652013-05-09 Leo Liu <sdl.web@gmail.com>
7766
7767 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7768 Restore file completion. (Bug#14300)
455851dd
LL
7769 (inferior-octave-startup): Fix incorrect highlighting for the
7770 first prompt.
7771
a9e4425b
SM
77722013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * progmodes/ruby-mode.el: First cut at SMIE support.
7775 (ruby-use-smie): New var.
7776 (ruby-smie-grammar): New constant.
7777 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7778 (ruby-smie--forward-token, ruby-smie--backward-token)
7779 (ruby-smie-rules): New functions.
7780 (ruby-mode-variables): Setup SMIE if applicable.
7781
060ca408
EZ
77822013-05-08 Eli Zaretskii <eliz@gnu.org>
7783
7784 * simple.el (line-move-visual): Signal beginning/end of buffer
7785 only if vertical-motion moved less than it was requested. Avoids
7786 silly incorrect error messages when there are display strings with
7787 multiple newlines at EOL.
7788
1d5963cc
SM
77892013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7792 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7793 (prolog-char-quote-workaround):
7794 * progmodes/cperl-mode.el (cperl-under-as-char):
7795 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7796 Mark as obsolete.
7797 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7798 their declaration.
7799 (vhdl-mode-syntax-table-init): Remove.
7800
c9990474
SM
7801 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7802 last change.
1d5963cc
SM
7803
7804 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7805 syntax for "_".
7806 (ld-script-font-lock-keywords):
7807 Change regexps to use things like \_< and \_>.
7808
7809 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7810 Change all regexps to use things like \_< and \_>.
7811
7812 * progmodes/autoconf.el (autoconf-definition-regexp)
7813 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7814 Handle a _ with symbol syntax.
7815 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7816
c9990474
SM
7817 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7818 Consolidate declaration.
1d5963cc
SM
7819 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7820 the declaration.
7821 (ada-create-syntax-table): Remove.
7822 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7823 already has the right syntax nowadays.
7824 (ada-goto-next-word): Don't change the syntax of "_".
7825
7826 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7827 with-wrapper-hook.
7828
72d3cfca
SS
78292013-05-08 Sam Steingold <sds@gnu.org>
7830
7831 * thingatpt.el (thing-at-point): Accept optional second argument
7832 NO-PROPERTIES to strip the text properties from the return value.
7833 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7834 to `thing-at-point' instead of stripping the properties ourselves.
7835 Also, when `thing-at-point' fails to find a url, prepend "http://"
7836 to the filename at point on the assumption that the user is
7837 pointing at something like gnu.org/gnu.
7838
5cb15713
JB
78392013-05-08 Juanma Barranquero <lekktu@gmail.com>
7840
7841 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7842 * faces.el (crm-separator):
7843 Silence byte-compiler.
7844
7845 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7846 (tool-bar-map): Remove unneeded defvars.
7847
ea78b95b
LL
78482013-05-08 Leo Liu <sdl.web@gmail.com>
7849
7850 Re-work a fix for bug#10994 based on Le Wang's patch.
7851 * ido.el (ido-remove-consecutive-dups): New helper.
7852 (ido-completing-read): Use it.
7853 (ido-chop): Revert fix for bug#10994.
7854
dc7466df
AS
78552013-05-08 Adam Spiers <emacs@adamspiers.org>
7856
7857 * cus-edit.el (custom-save-variables):
7858 Pretty-print long values. (Bug#14187)
7859
9ecf672a
GM
78602013-05-08 Glenn Morris <rgm@gnu.org>
7861
7862 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7863 (m4-mode-syntax-table): Init in the defvar.
7864 (m4-mode-abbrev-table): Let define-derived-mode define it.
7865
3f555be8
TT
78662013-05-08 Tom Tromey <tromey@redhat.com>
7867
7868 * progmodes/m4-mode.el (m4-mode-syntax-table):
7869 Do not treat "_" as word constituent. (Bug#14167)
7870
7cc8ae06
GM
78712013-05-07 Glenn Morris <rgm@gnu.org>
7872
4f58bc06
GM
7873 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7874 Remove explicit eshell-isearch-cancel-map.
7875
7cc8ae06
GM
7876 * progmodes/f90.el (f90-smart-end-names): New option.
7877 (f90-smart-end): Doc fix.
7878 (f90-end-block-optional-name): New constant.
7879 (f90-block-match): Respect f90-smart-end-names.
7880
ceb57e59
SM
78812013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7884 about implicit semi-colons (bug#14218).
7885
4e3f9230
YM
78862013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7887
7888 * frame.el (display-monitor-attributes-list)
7889 (frame-monitor-attributes): New functions.
7890
203a5572
LL
78912013-05-06 Leo Liu <sdl.web@gmail.com>
7892
7893 * progmodes/octave.el (octave-syntax-propertize-function): Change
7894 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7895 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7896 (octave-completion-at-point): Rename from
203a5572
LL
7897 octave-completion-at-point-function.
7898 (inferior-octave-directory-tracker): Robustify.
7899 (octave-text-functions): Remove and fix its uses. No such things
7900 any more.
7901
ee6cff99
SM
79022013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * emacs-lisp/trace.el (trace--display-buffer): New function.
7905 (trace-make-advice): Use it.
7906
32985194
JL
79072013-05-06 Juri Linkov <juri@jurta.org>
7908
7909 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7910 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7911 Doc fix.
7912 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7913 in the help string. (Bug#12985)
7914
a1c700de
KD
79152013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7916
7917 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7918
c67c0839
SM
79192013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7920
323885fd
SM
7921 * progmodes/perl-mode.el: Add support for here documents.
7922 (perl-syntax-propertize-function): Match here-doc markers.
7923 (perl-syntax-propertize-special-constructs): Find their end.
7924 (perl-imenu-generic-expression): Use [:alnum:].
7925
c67c0839
SM
7926 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7927 (advice--add-function): Refresh the advice if already present
7928 (bug#14317).
7929
d491e7a8
IA
79302013-05-06 Ivan Andrus <darthandrus@gmail.com>
7931
7932 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7933
ddf9925e
GM
79342013-05-06 Glenn Morris <rgm@gnu.org>
7935
7cc3af27
GM
7936 * w32-fns.el (w32-charset-info-alist): Declare.
7937
16e343d6
GM
7938 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7939 of its defcustom properties.
7940 (eshell-cmpl-initialize): No need to load pcomplete.
7941
7d889a47
GM
7942 * generic-x.el: No need to require comint when compiling.
7943
ddf9925e
GM
7944 * net/eudc-export.el: Make it loadable without bbdb.
7945 (top-level): Use require rather than load-library.
7946 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7947 (eudc-batch-export-records-to-bbdb)
7948 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7949 Require bbdb.
7950
1e2c18df
SM
79512013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7954 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7955 some tweaks, instead.
7956
02502a5f
LL
79572013-05-05 Leo Liu <sdl.web@gmail.com>
7958
7959 * progmodes/octave.el (octave-font-lock-keywords)
7960 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7961 (inferior-octave-send-list-and-digest): Improve error message.
7962 (octave-mode, inferior-octave-mode): Use setq-local.
7963 (octave-help): Set info-lookup-mode.
7964
0dc04f42
RS
79652013-05-05 Richard Stallman <rms@gnu.org>
7966
6c54491c
RS
7967 * vc/compare-w.el (compare-windows-whitespace):
7968 Treat no-break space as whitespace.
7969
0dc04f42
RS
7970 * mail/rmailsum.el (rmail-summary-rmail-update):
7971 Detect empty summary and don't change selected message.
7972 (rmail-summary-goto-msg): Likewise.
7973
df8f35df
RS
7974 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7975 Doc fixes, rename args.
7976
5356e1a3
AM
79772013-05-05 Alan Mackenzie <acm@muc.de>
7978
7979 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7980
d44014cb
JL
79812013-05-05 Juri Linkov <juri@jurta.org>
7982
7983 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7984 to not add the length of the summary segment to the return value.
7985 (Bug#14125)
7986
c129b51f
LL
79872013-05-05 Leo Liu <sdl.web@gmail.com>
7988
7989 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7990 (inferior-octave-output-filter): Remove.
7991 (octave-send-region, inferior-octave-startup): Fix callers.
7992 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7993 (octave-binary-file-extensions): New user variable.
7994 (octave-find-definition): Confirm if opening binary files.
7995 (octave-help-file): Use octave-find-definition to get the binary
7996 confirmation.
7997 (octave-help): Adjust for octave-help-file change.
7998
aa7dab97
SM
79992013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8002 Merge the two entries that handle function definitions.
8003 (pascal--syntax-propertize): New const.
8004 (pascal-mode): Use it. Use setq-local.
8005
fd3a9a6b
GM
80062013-05-04 Glenn Morris <rgm@gnu.org>
8007
8008 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8009 (diary-from-outlook): Respect diary-from-outlook-function.
8010
30c7e542
SM
80112013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8014 Move the declaration from C.
8015 (read-minibuffer, eval-minibuffer): Move from C.
8016 (completion-setup-function): Avoid minibuffer-completion-contents.
8017
b54f978b
LL
80182013-05-03 Leo Liu <sdl.web@gmail.com>
8019
8020 * progmodes/octave.el (octave-font-lock-keywords): Do not
8021 dehighlight 'end' in comments or strings.
30c7e542
SM
8022 (octave-completing-read, octave-goto-function-definition):
8023 New helpers.
d4d0f9b3
LL
8024 (octave-help-buffer): New user variable.
8025 (octave-help-file, octave-help-function): New button types.
8026 (octave-help): New command and bind it to C-h ;.
8027 (octave-find-definition): New command and bind it to M-.
d74a1581 8028 (user-error): Alias to error if not defined.
b54f978b 8029
27135018
LL
80302013-05-02 Leo Liu <sdl.web@gmail.com>
8031
8032 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8033 for \. (bug#14332)
8034 (octave-font-lock-keywords): Include [ and {.
8035
0d634d3a
LL
80362013-05-02 Leo Liu <sdl.web@gmail.com>
8037
8038 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8039 (inferior-octave): Remove calling comint-mode and return the buffer.
8040 (inferior-octave-startup): Cosmetic changes.
8041
b4c8295e
LL
80422013-05-02 Leo Liu <sdl.web@gmail.com>
8043
30c7e542
SM
8044 * progmodes/octave.el (octave-syntax-propertize-function):
8045 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8046
f12ad6ec
GM
80472013-05-02 Glenn Morris <rgm@gnu.org>
8048
8049 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8050 * desktop.el (vc-dir-mode): Just autoload it here.
8051
30cac1e0
AM
80522013-05-02 Alan Mackenzie <acm@muc.de>
8053
8054 Eliminate variable c-standard-font-lock-fontify-region-function.
8055 * progmodes/cc-mode.el
8056 (c-standard-font-lock-fontify-region-function): Remove.
8057 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8058
d8ef28b1
LL
80592013-05-01 Leo Liu <sdl.web@gmail.com>
8060
2640d52e 8061 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8062 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8063 variables were removed from Octave in 2007.
d8ef28b1
LL
8064 (inferior-octave-startup): Fix uses.
8065 (comint-line-beginning-position): Remove compatibility code for
8066 emacs 21.
8067
ac63ec89
JL
80682013-05-01 Juri Linkov <juri@jurta.org>
8069
8070 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8071
9e9be37c
JL
80722013-05-01 Juri Linkov <juri@jurta.org>
8073
8074 * comint.el (comint-previous-matching-input): Don't print message
8075 "History item: %d" when `isearch-mode' is active.
8076 (comint-history-isearch-message): Print message "History item: %d"
8077 when `comint-input-ring-index' is not empty and this function is
8078 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8079
9b92c13b
LL
80802013-05-01 Leo Liu <sdl.web@gmail.com>
8081
8082 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8083 definitions. Use completion-at-point to insert keywords.
8084 (octave-abbrev-start): Remove.
8085 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8086
b12d33d7
LL
80872013-04-30 Leo Liu <sdl.web@gmail.com>
8088
8089 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8090 change.
8091
3d1c39fa
AM
80922013-04-30 Alan Mackenzie <acm@muc.de>
8093
8094 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8095 * progmodes/cc-engine.el (c-back-over-member-initializers):
8096 new function.
3d1c39fa
AM
8097 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8098 (most) member init lists.
8099
5147fc17
RS
81002013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8101
8102 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8103 variable.
8104
5b78d7fc
LL
81052013-04-30 Leo Liu <sdl.web@gmail.com>
8106
8107 * progmodes/octave.el (octave-variables): Remove. No builtin
8108 variables any more. All converted to functions.
8109 (octave-font-lock-keywords, octave-completion-at-point-function):
8110 Fix uses.
8111 (octave-font-lock-texinfo-comment): New user variable.
8112 (octave-texinfo-font-lock-keywords): New variable for texinfo
8113 comment block.
8114 (octave-function-comment-block): New face.
8115 (octave-font-lock-texinfo-comment): New function.
8116 (octave-mode): Font lock texinfo comment block.
8117
38d8527b
LL
81182013-04-29 Leo Liu <sdl.web@gmail.com>
8119
8120 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8121 indexing expression.
8122 (octave-continuation-string): Do not use \.
8123 (inferior-octave-complete-impossible): Remove.
8124 (inferior-octave-completion-table)
8125 (inferior-octave-completion-at-point): Remove its uses.
8126 (inferior-octave-startup): completion_matches was introduced to
8127 Octave in 1996 so safe to assume it.
8128 (octave-function-file-comment): Improve to follow how Octave does it.
8129 (octave-update-function-file-comment): Tweak.
8130
2ec12cb0
LL
81312013-04-29 Leo Liu <sdl.web@gmail.com>
8132
8133 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8134 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8135 (octave-function-file-comment): Fix typo.
8136 (octave-sync-function-file-names): Use read-char-choice.
8137
6eaed048
JB
81382013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8139
8140 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8141 to t for the less important warnings.
8142
3ffa2d4f
DH
81432013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8144
8145 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8146
685c9501
GM
81472013-04-27 Glenn Morris <rgm@gnu.org>
8148
8149 * vc/log-view.el (log-view-current-entry):
8150 Treat "---" separator lines as part of the following rev. (Bug#14169)
8151
0208ede7
JL
81522013-04-27 Juri Linkov <juri@jurta.org>
8153
8154 * subr.el (read-number): Doc fix about using it by interactive
8155 code letter `n'. (Bug#14254)
8156
5db9dace
JL
81572013-04-27 Juri Linkov <juri@jurta.org>
8158
8159 * desktop.el (desktop-auto-save-timeout): New option.
8160 (desktop-file-checksum): New variable.
8161 (desktop-save): Add optional arg `auto-save' and don't auto-save
8162 if nothing changed.
8163 (desktop-auto-save-timer): New variable.
8164 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8165 (after-init-hook): Call `desktop-auto-save-set-timer'.
8166 Suggested by Reuben Thomas <rrt@sc3d.org> in
8167 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8168
b7260dd4
LL
81692013-04-27 Leo Liu <sdl.web@gmail.com>
8170
8171 * progmodes/octave.el (octave-function-file-p)
8172 (octave-skip-comment-forward, octave-function-file-comment)
8173 (octave-update-function-file-comment): New functions.
8174 (octave-mode-map): Bind C-c ; to
8175 octave-update-function-file-comment.
8176 (octave-mode-menu): Add octave-update-function-file-comment.
8177 (octave-mode, inferior-octave-mode): Fix doc-string.
8178 (octave-insert-defun): Conform to Octave's coding convention.
8179 (Bug#14285)
8180
8181 * files.el (basic-save-buffer): Don't let errors in
8182 before-save-hook prevent saving buffer.
8183
c46da669
RW
81842013-04-20 Roland Winkler <winkler@gnu.org>
8185
8186 * faces.el (read-face-name): Use completing-read if arg multiple
8187 is nil.
8188
a81ee1eb
IL
81892013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8190
8191 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8192 displayed, move point to after the totals line.
8193 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8194 for the details.
8195
4fac34ce
SM
81962013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8199 Add current dir to the load-path.
8200 (package-generate-autoloads): Don't rely on
8201 autoload-ensure-default-file.
8202
f6bfc063
RT
82032013-04-26 Reuben Thomas <rrt@sc3d.org>
8204
d40ab5cf
BG
8205 * textmodes/remember.el (remember-store-in-files): Document that
8206 the file name format is passed to `format-time-string'.
f6bfc063 8207
e55d3b04
LL
82082013-04-26 Leo Liu <sdl.web@gmail.com>
8209
8210 * progmodes/octave.el (octave-sync-function-file-names): New function.
8211 (octave-mode): Use it in before-save-hook.
8212
e53052d3
SM
82132013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8214
140ef50c
SM
8215 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8216 (bug#14274).
8217
e53052d3
SM
8218 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8219 \n and comment, even if it's not an implicit ; (bug#14218).
8220
af80458d 82212013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8222
8223 * subr.el (read-number): Once more use `read' rather than
8224 `string-to-number', to trap non-numeric input. (Bug#14254)
8225
af80458d 82262013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8227
8228 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8229 Use `syntax-multiline' text property consistently instead of
8a621d53 8230 `font-lock-multiline'. (Bug#14237)
70203c2e 8231
e6ea1f6c
GM
82322013-04-26 Glenn Morris <rgm@gnu.org>
8233
8234 * emacs-lisp/shadow.el (list-load-path-shadows):
8235 No longer necessary to check for duplicate simple.el, since
8236 2012-07-07 change to init_lread to not include installation lisp
8237 directories in load-path when running uninstalled. (Bug#14270)
8238
070ccca4
LL
82392013-04-26 Leo Liu <sdl.web@gmail.com>
8240
8241 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8242 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8243 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8244 octave-in-string-or-comment-p.
8245 (octave-in-comment-p, octave-in-string-p)
8246 (octave-in-string-or-comment-p): Replace defsubst with defun.
8247
9d1c5fb6
PE
82482013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8249
8250 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8251
c034abda
BG
82522013-04-25 Bastien Guerry <bzg@gnu.org>
8253
8254 * textmodes/remember.el (remember-data-directory)
8255 (remember-directory-file-name-format): Fix custom types.
8256
584ea277
LL
82572013-04-25 Leo Liu <sdl.web@gmail.com>
8258
e53052d3
SM
8259 * progmodes/octave.el (octave-completion-at-point-function):
8260 Make use of inferior octave process.
584ea277
LL
8261 (octave-initialize-completions): Remove.
8262 (inferior-octave-completion-table): New function.
8263 (inferior-octave-completion-at-point): Use it.
8264 (octave-completion-alist): Remove.
8265
1693b06a
SM
82662013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8269 (opascal-mode-syntax-table): New var.
8270 (opascal-literal-kind, opascal-is-literal-end)
8271 (opascal-literal-token-at): Rewrite.
8272 (opascal--literal-start-re, opascal-font-lock-keywords)
8273 (opascal--syntax-propertize): New constants.
8274 (opascal-font-lock-defaults): Adjust.
8275 (opascal-mode): Use them. Set comment-<foo> variables as well.
8276 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8277 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8278 (delphi-other-face, opascal-other-face): Remove face variables.
8279 (opascal-save-state): Remove macro.
8280 (opascal-fontifying-progress-step): Remove constant.
8281 (opascal--ignore-changes): Remove var.
8282 (opascal-set-token-property, opascal-parse-next-literal)
8283 (opascal-is-stable-literal, opascal-complete-literal)
8284 (opascal-is-literal-start, opascal-face-of)
8285 (opascal-parse-region, opascal-parse-region-until-stable)
8286 (opascal-fontify-region, opascal-after-change)
8287 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8288 (opascal-debug-parse-region, opascal-debug-parse-window)
8289 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8290 (opascal-debug-fontify-buffer): Remove.
8291 (opascal-debug-mode-map): Adjust accordingly.
8292
be64c05d
LL
82932013-04-25 Leo Liu <sdl.web@gmail.com>
8294
8295 Merge octave-mod.el and octave-inf.el into octave.el with some
8296 cleanups.
8297 * progmodes/octave.el: New file renamed from octave-mod.el.
8298 * progmodes/octave-inf.el: Merged into octave.el.
8299 * progmodes/octave-mod.el: Renamed to octave.el.
8300
d79d37bd
TH
83012013-04-25 Tassilo Horn <tsdh@gnu.org>
8302
8303 * textmodes/reftex-vars.el
8304 (reftex-label-ignored-macros-and-environments): New defcustom.
8305
8306 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8307
ced3fc5d
SM
83082013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8311 (smie-indent-keyword): Improve the check to ensure that the next
8312 comment is really on the same line.
8313 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8314
8315 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8316 semi-colons if the line is not otherwise empty (bug#14218).
8317
1c141dad
GM
83182013-04-25 Glenn Morris <rgm@gnu.org>
8319
8320 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8321
5058062a
SM
83222013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * progmodes/opascal.el (opascal-set-token-property): Rename from
8325 opascal-set-text-properties and only set `token' (bug#14134).
8326 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8327 (opascal-literal-text-properties): Remove.
8328 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8329 Adjust callers.
8330
5db9dace 83312013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8332
8333 * textmodes/remember.el (remember-handler-functions): Add an
8334 option for a new handler `remember-store-in-files'.
8335 (remember-data-directory, remember-directory-file-name-format):
8336 New options.
8337 (remember-store-in-files): New function to store remember notes
8338 as separate files within a directory.
8339
4391916c
MH
83402013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8341
8342 * progmodes/compile.el (compilation-next-error-function):
8343 Pass "formats" to compilation-find-file (bug#11777).
8344
bb7cdf58
GM
83452013-04-24 Glenn Morris <rgm@gnu.org>
8346
3b8fe752 8347 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8348 * vc/vc-hg.el (vc-hg-print-log):
8349 * vc/vc-svn.el (vc-svn-print-log):
8350 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8351
bb7cdf58
GM
8352 * vc/vc-bzr.el (vc-bzr-print-log):
8353 * vc/vc-cvs.el (vc-cvs-print-log):
8354 * vc/vc-git.el (vc-git-print-log):
8355 * vc/vc-hg.el (vc-hg-print-log):
8356 * vc/vc-mtn.el (vc-mtn-print-log):
8357 * vc/vc-rcs.el (vc-rcs-print-log):
8358 * vc/vc-sccs.el (vc-sccs-print-log):
8359 * vc/vc-svn.el (vc-svn-print-log):
8360 * vc/vc.el (vc-print-log-internal): Doc fixes.
8361
b46a056e
GM
83622013-04-23 Glenn Morris <rgm@gnu.org>
8363
8364 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8365 Remove venerable code attempting to avoid substitute-command-keys.
8366
0aecf718
TH
83672013-04-23 Tassilo Horn <tsdh@gnu.org>
8368
4391916c
MH
8369 * textmodes/reftex-vars.el (reftex-label-regexps):
8370 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8371
117f94cf
SM
83722013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8373
4391916c 8374 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8375 Use lexical-binding.
8376 (jit-lock-force-redisplay): Use markers, check buffer's continued
8377 existence and beware narrowed buffers.
8378 (jit-lock-fontify-now): Adjust call accordingly.
8379
1d829c64
SM
83802013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8383 to avoid misleading the user.
8384
72d548a9
LL
83852013-04-22 Leo Liu <sdl.web@gmail.com>
8386
8387 * info-look.el: Prefer latex2e.info. (Bug#14240)
8388
d0853629
MA
83892013-04-22 Michael Albinus <michael.albinus@gmx.de>
8390
8391 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8392
8393 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8394 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8395 (tramp-set-completion-function, tramp-parse-putty):
8396 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8397 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8398 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8399 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8400 (tramp-call-local-coding-command): Use `tramp-call-process'
8401 instead of `tramp-compat-call-process'.
8402
8403 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8404 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8405 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8406 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8407 (tramp-maybe-send-script): Check for Perl binary.
8408 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8409
38cc0210
DU
84102013-04-22 Daiki Ueno <ueno@gnu.org>
8411
8412 * epg.el (epg-context-pinentry-mode): New function.
8413 (epg-context-set-pinentry-mode): New function.
8414 (epg--start): Pass --pinentry-mode option to gpg command.
8415
cc641ee1
XF
84162013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8417
02d844b5 8418 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8419 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8420 `completion-at-point'. (Bug#13774)
5d4e5c31 8421
cc641ee1
XF
8422 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8423 default key binding for `describe-distribution' has been moved to
8424 `C-h C-o'. (Bug#13970)
8425
1b42ee43
GM
84262013-04-21 Glenn Morris <rgm@gnu.org>
8427
8428 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8429 Add doc strings.
8430 (vc-print-log): Clarify interactive prompt.
8431
a6d63d97
GM
84322013-04-20 Glenn Morris <rgm@gnu.org>
8433
8434 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8435 No longer include timestamp etc information.
8436
d7f5c16f
RW
84372013-04-20 Roland Winkler <winkler@gnu.org>
8438
8439 * faces.el (read-face-name): Bug fix, return just one face if arg
8440 multiple is nil. (Bug#14209)
8441
bcd7a0a4
SM
84422013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8445 (remove-function): Autoload.
8446
8447 * comint.el (comint-redirect-original-filter-function): Remove.
8448 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8449 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8450 (vc-cvs-annotate-command):
bcd7a0a4
SM
8451 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8452 * progmodes/prolog.el (prolog-consult-compile):
8453 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8454 Use add/remove-function instead.
8455 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8456 (gud-tooltip-process-output, gud-tooltip-tips):
8457 Use add/remove-function instead.
8458 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8459 (scheme-interaction-mode, exit-scheme-interaction-mode):
8460 Use add/remove-function instead.
8461
8462 * vc/vc-dispatcher.el: Use lexical-binding.
8463 (vc--process-sentinel): Rename from vc-process-sentinel.
8464 Change last arg to be the code to run. Don't use vc-previous-sentinel
8465 and vc-sentinel-commands any more.
8466 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8467 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8468
e36b2d20 84692013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8470
bcd7a0a4 8471 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8472 Handle function names with a single character. (Bug#14111)
4d3268ba 8473
781b4af6 84742013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8475
8476 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8477 for subroutines defined in an eval (bug#14182).
8478
7d688336
TV
84792013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8480
8481 * bookmark.el (bookmark-completing-read): Improve handling of empty
8482 string (bug#14176).
8483
31dcede0
SM
84842013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8487
adc31213
FEG
84882013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8489
8490 New faster Imenu implementation (bug#14058).
8491 * progmodes/python.el:
8492 (python-imenu-prev-index-position):
8493 (python-imenu-format-item-label-function)
8494 (python-imenu-format-parent-item-label-function)
8495 (python-imenu-format-parent-item-jump-label-function):
8496 New vars.
8497 (python-imenu-format-item-label)
8498 (python-imenu-format-parent-item-label)
8499 (python-imenu-format-parent-item-jump-label)
8500 (python-imenu--put-parent, python-imenu--build-tree)
8501 (python-imenu-create-index, python-imenu-create-flat-index)
8502 (python-util-popn): New functions.
8503 (python-mode): Set imenu-create-index-function to
8504 python-imenu-create-index.
8505
cdca8255
SM
85062013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * winner.el (winner-active-region): Use region-active-p, activate-mark
8509 and deactivate-mark (bug#14225).
8510
8511 * simple.el (deactivate-mark): Don't inline it.
8512
beb42340
MA
85132013-04-18 Michael Albinus <michael.albinus@gmx.de>
8514
8515 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8516
fc7f4d7e
TH
85172013-04-18 Tassilo Horn <tsdh@gnu.org>
8518
8519 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8520 file extensions from the archive-mode entry in order to prefer
8521 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8522
29f47822
LL
85232013-04-18 Leo Liu <sdl.web@gmail.com>
8524
8525 * bindings.el (help-event-list): Add ?\?.
8526
d36ed1c8
SM
85272013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * subr.el (with-wrapper-hook): Declare obsolete.
8530 * simple.el (filter-buffer-substring-function): New hook.
8531 (filter-buffer-substring): Use it.
8532 (filter-buffer-substring-functions): Mark obsolete.
8533 * minibuffer.el (completion-in-region-function): New hook.
8534 (completion-in-region): Use it.
8535 (completion-in-region-functions): Mark obsolete.
8536 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8537 * abbrev.el (abbrev-expand-function): New hook.
8538 (expand-abbrev): Use it.
8539 (abbrev-expand-functions): Mark obsolete.
8540 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8541 and :filter-return.
8542
04754d36
FEG
85432013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8544
8545 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8546 and do not care about match data.
8547
dd8791e9
SM
85482013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8551 completion tables when completing error conditions and
8552 `declare' arguments.
8553 (lisp-complete-symbol, field-complete): Mark as obsolete.
8554 (check-parens): Unmatched parens are user errors.
8555 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8556
ffe54a13
AM
85572013-04-17 Michal Nazarewicz <mina86@mina86.com>
8558
dd8791e9
SM
8559 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8560 command changed buffer (ie. `flyspell-pre-buffer' is not current
8561 buffer), which prevents making decisions based on invalid value of
8562 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8563 cause an error when `flyspell-pre-point' was nil after switching
8564 buffers.
8565 (flyspell-post-command-hook): No longer needs to change buffers when
8566 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8567
ec7e39f2
AM
85682013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8569
8570 * textmodes/ispell.el (ispell-add-per-file-word-list):
8571 Fix `flyspell-correct-word-before-point' error when accepting
8572 words and `coment-padding' is an integer by using
8573 `comment-normalize-vars' (Bug #14214).
8574
083850a6
FEG
85752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8576
8577 New defun movement commands.
8578 * progmodes/python.el (python-nav--syntactically)
8579 (python-nav--forward-defun, python-nav-backward-defun)
8580 (python-nav-forward-defun): New functions.
8581
619ed6e1
FEG
85822013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8583
8584 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8585 (python-syntax-context): Use named compiler-macro for backwards
8586 compatibility with Emacs 24.x.
8587
7a1beb6c
LL
85882013-04-17 Leo Liu <sdl.web@gmail.com>
8589
8590 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8591 octave-hide-process-buffer.
8592
2d3fa3e5
SM
85932013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8596 (bug#14216).
8597
7ce5be54
JPG
85982013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8599
8600 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8601 Fix adjustment of offset when receiving incomplete responses from GDB
8602 (bug#14129).
8603
351edece
SM
86042013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8607 python-mode-abbrev-table.
8608 (python-skeleton-define): Adjust accordingly.
8609 (python-mode-abbrev-table): New table that inherits from it so that
8610 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8611
8612 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8613 (abbrev-symbol): Use it.
8614 (abbrev--before-point): Use it since we already handle inheritance.
8615
613f9481
LL
86162013-04-16 Leo Liu <sdl.web@gmail.com>
8617
8618 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8619 binding to info-lookup-symbol.
8620
51646b62
JB
86212013-04-16 Juanma Barranquero <lekktu@gmail.com>
8622
8623 * minibuffer.el (completion--twq-all):
8624 * term/ns-win.el (ns-initialize-window-system):
8625 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8626
efb3f01d
SM
86272013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8628
36c0a301
SM
8629 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8630 global bindings.
8631
efb3f01d
SM
8632 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8633
fb549d64
DG
86342013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8635
8636 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8637 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8638 to nil.
8639 (ruby-end-of-defun): Remove the unused arg, change the docstring
8640 to reflect that this function is only used as the value of
8641 `end-of-defun-function'.
8642 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8643 to reflect an earlier change that beginning/end-of-defun functions
8644 jump between methods in a class definition, as well as top-level
8645 functions.
8646
21e8fe2f
SM
86472013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * minibuffer.el (minibuffer-complete): Don't just scroll
8650 a *Completions* that's been iconified.
8651 (minibuffer-force-complete): Make sure repetitions do cycle when going
8652 through completion-in-region -> minibuffer-complete.
8653
20e527d0
AM
86542013-04-15 Alan Mackenzie <acm@muc.de>
8655
8656 Correct the placement of c-cpp-delimiters when there're #s not at
8657 col 0.
8658
8659 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8660 place a submatch around the #.
21e8fe2f
SM
8661 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8662 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8663 on the #, not BOL.
8664
dabefae5
SM
86652013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8668 (advice--member-p): New arg `name'.
8669 (advice--add-function, advice-member-p): Use it (bug#14202).
8670
85c9ab64
AM
86712013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8672
8673 Reformulate java imenu-generic-expression.
8674 The old expression contained ill formed regexps.
8675
8676 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8677 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8678 (cc-imenu-java-method-arg-regexp): New defconsts.
8679 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8680 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8681 handling of spaces in the regexp.
8682
0f821d99
AM
86832013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8684
8685 * textmodes/ispell.el (ispell-command-loop): Remove
8686 flyspell highlight of a word when ispell accepts it (bug #14178).
8687
eb922adf
MA
86882013-04-15 Michael Albinus <michael.albinus@gmx.de>
8689
8690 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8691 uses code from the previous `ange-ftp-run-real-handler'.
8692 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8693 only in case that function exist. This is needed for proper
8694 unloading of Tramp.
8695
4d9a0979
TH
86962013-04-15 Tassilo Horn <tsdh@gnu.org>
8697
8698 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8699
8700 * textmodes/reftex.el (reftex-compile-variables): Use it.
8701
a829b0dc
SM
87022013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8703
91e8293c
SM
8704 * files.el (normal-mode): Only use default major-mode if no other mode
8705 was specified.
8706
830aed4d
SM
8707 * emacs-lisp/trace.el (trace-values): New function.
8708
a829b0dc
SM
8709 * files.el: Allow : in local variables (bug#14089).
8710 (hack-local-variable-regexp): New var.
8711 (hack-local-variables-prop-line, hack-local-variables): Use it.
8712
7ae9f0fb
RW
87132013-04-13 Roland Winkler <winkler@gnu.org>
8714
8715 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8716 data before it gets modified by bibtex-beginning-of-entry.
8717
6646e848
RW
87182013-04-13 Roland Winkler <winkler@gnu.org>
8719
8720 * textmodes/bibtex.el (bibtex-url): Doc fix.
8721
87222013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8723
8724 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8725 does not visit a BibTeX file, exclude it from the list of buffers
8726 returned by bibtex-initialize.
8727
0aa3616e
SB
87282013-04-13 Stephen Berman <stephen.berman@gmx.net>
8729
8730 * window.el (split-window): Remove interactive form, since as a
8731 command this function is a special case of split-window-below.
8732 Correct doc string.
8733
011cddd6
RW
87342013-04-12 Roland Winkler <winkler@gnu.org>
8735
8736 * faces.el (read-face-name): Do not override value of arg default.
8737 Allow single faces and strings as default values. Remove those
8738 elements from return value that are not faces.
8739 (describe-face): Simplify.
8740 (face-at-point): New optional args thing and multiple so that this
8741 function can provide the same functionality previously provided by
8742 read-face-name.
8743 (make-face-bold, make-face-unbold, make-face-italic)
8744 (make-face-unitalic, make-face-bold-italic, invert-face)
8745 (modify-face, read-face-and-attribute): Use face-at-point.
8746
8747 * cus-edit.el (customize-face, customize-face-other-window)
8748 * cus-theme.el (custom-theme-add-face)
8749 * face-remap.el (buffer-face-set)
8750 * facemenu.el (facemenu-set-face): Use face-at-point.
8751
f24e0036
MA
87522013-04-12 Michael Albinus <michael.albinus@gmx.de>
8753
8754 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8755
da3cda2d
TH
87562013-04-10 Tassilo Horn <tsdh@gnu.org>
8757
8758 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8759 off leading { and trailing } from field values.
8760
15e54145
SM
87612013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8762
78ce603d
SM
8763 * emacs-lisp/timer.el (timer--check): New function.
8764 (timer--time, timer-set-function, timer-event-handler): Use it.
8765 (timer-set-idle-time): Simplify.
8766 (timer--activate): CSE.
8767 (timer-event-handler): Give more info in error message.
8768 (internal-timer-start-idle): New function, moved from C.
8769
15e54145
SM
8770 * mpc.el (mpc-proc): Add `restart' argument.
8771 (mpc-proc-cmd): Use it.
8772 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8773 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8774 less often.
8775
7144c627
MY
87762013-04-10 Masatake YAMATO <yamato@redhat.com>
8777
8778 * progmodes/sh-script.el: Implement `sh-mode' own
8779 `add-log-current-defun-function' (bug#14112).
8780 (sh-current-defun-name): New function.
8781 (sh-mode): Use the function.
8782
b39792eb
BG
87832013-04-09 Bastien Guerry <bzg@gnu.org>
8784
8785 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8786
8acdeb71
SM
87872013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8788
6fcdab68
SM
8789 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8790
8acdeb71
SM
8791 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8792 timer (bug#14156).
8793
e3e7b504
NF
87942013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8795
8796 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8797 declaration.
8798
201bb296
LL
87992013-04-07 Leo Liu <sdl.web@gmail.com>
8800
8801 * pcmpl-x.el: New file.
8802
ebb19708
DA
88032013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8804
8805 Do not set x-display-name until X connection is established.
8806 This is needed to prevent from weird situation described at
8807 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8808 * frame.el (make-frame): Set x-display-name after call to
8809 window system initialization function, not before.
8810 * term/x-win.el (x-initialize-window-system): Add optional
8811 display argument and use it.
8812 * term/w32-win.el (w32-initialize-window-system):
8813 * term/ns-win.el (ns-initialize-window-system):
8814 * term/pc-win.el (msdos-initialize-window-system):
8815 Add compatible optional display argument.
8816
33bb237a
EZ
88172013-04-06 Eli Zaretskii <eliz@gnu.org>
8818
8819 * files.el (normal-backup-enable-predicate): On MS-Windows and
8820 MS-DOS compare truenames of temporary-file-directory and of the
8821 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8822 don't fail comparison by compare-strings. Also, compare file
8823 names case-insensitively on MS-Windows and MS-DOS.
8824
134abf1f
SM
88252013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8828 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8829
d695cb94
DG
88302013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8831
e3e7b504
NF
8832 * whitespace.el (whitespace-color-on, whitespace-color-off):
8833 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8834
f4ad7ea1 88352013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8836
8837 * ispell.el (ispell-set-spellchecker-params):
8838 Really set `ispell-args' for all equivs.
8839
632556e4
SM
88402013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * ido.el (ido-completions): Use extra elements of ido-decorations
8843 (bug#14143).
8844 (ido-decorations): Update docstring.
8845
2a417372
MA
88462013-04-05 Michael Albinus <michael.albinus@gmx.de>
8847
8848 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8849 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8850 nil during initialization, in order not to miss changes since the
8851 file was opened. (Bug#14140)
8852
fc164b0c
LL
88532013-04-05 Leo Liu <sdl.web@gmail.com>
8854
8855 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8856
0ccecc08
JB
88572013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8858
8859 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8860
51af1aa2
GM
88612013-04-04 Glenn Morris <rgm@gnu.org>
8862
8863 * electric.el (electric-pair-inhibit-predicate): Add :version.
8864
b208ebc6
SM
88652013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8868 when a package is required several times (bug#14082).
8869
f3d3eaf0
RW
88702013-04-04 Roland Winkler <winkler@gnu.org>
8871
8872 * faces.el (read-face-name): Behave as promised by the docstring.
8873 Assume that arg default is a list of faces.
8874 (describe-face): Call read-face-name with list of default faces.
8875
2575da50
TV
88762013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8877
8878 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8879 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8880 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8881 the header.
8882 (bookmark-exit-hook-internal): Save even if list is empty.
8883
397703b4
YH
88842013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8885
8886 * emacs-lisp/package.el (package-pinned-packages): New var.
8887 (package--add-to-archive-contents): Obey it (bug#14118).
8888
691e26ae
AM
88892013-04-03 Alan Mackenzie <acm@muc.de>
8890
8a621d53
JB
8891 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8892 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8893
8894 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8895 parameter `not-in-delimiter'. Handle being inside comment opener.
8896 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8897 character in case we're typing a '*' after a '/'.
8898 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8899 instead by passing the parameter to c-state-pp-to-literal.
8900
8901 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8902 for elt. 7 of a parse state.
8903
4b725a70
PE
89042013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8905
8906 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8907 * international/latin1-disp.el, international/mule-util.el:
8908 * language/cyril-util.el, language/european.el, language/ind-util.el:
8909 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8910 * language/tibetan.el, language/viet-util.el:
8911 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8912
15c579f0
SM
89132013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8916 (electric-pair-post-self-insert-function): Use it.
8917 (electric-pair-default-inhibit): New function, extracted from
8918 electric-pair-post-self-insert-function.
8919
a77e2924
RW
89202013-03-31 Roland Winkler <winkler@gnu.org>
8921
8922 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8923
2bd8a4a8
SM
89242013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8927
8d3655be 89282013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8929
8930 Un-indent after "pass" and "return" statements (Bug#13888)
8931 * progmodes/python.el (python-indent-block-enders): New var.
8932 (python-indent-calculate-indentation): Use it.
8933
8d3655be 89342013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8935
8936 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8937 defun. Defining it as defalias could introduce too eager
8938 byte-compiler optimization. (Bug#14030)
8939
8d3655be 89402013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8941
8942 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8943
0b1619da
LL
89442013-03-30 Leo Liu <sdl.web@gmail.com>
8945
8946 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8947 (kmacro-execute-from-register): Pass the keyboard macro to
8948 kmacro-call-macro or repeating won't work correctly.
8949
0b938190
TZ
89502013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8951
8952 * progmodes/subword.el: Back to using `forward-symbol'.
8953
8954 * subr.el (forward-whitespace, forward-symbol)
8955 (forward-same-syntax): Move from thingatpt.el.
8956
35710234
LL
89572013-03-29 Leo Liu <sdl.web@gmail.com>
8958
8959 * kmacro.el (kmacro-to-register): New command.
8960 (kmacro-execute-from-register): New function.
8961 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8962
efc0bb73
SM
89632013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * mpc.el: Use defvar-local and setq-local.
8966 (mpc--proc-connect): Connection failures are not bugs.
8967 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8968 (mpc-volume-map): Bind to the up-events.
8969
75a2f981
TZ
89702013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8971
8972 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8973 instead of `forward-symbol'.
8974
17c781d1
SM
89752013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8978 (edebug--recursive-edit): Use it.
8979 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8980 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8981
f67bfbcf
LL
89822013-03-28 Leo Liu <sdl.web@gmail.com>
8983
8984 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8985
b59f639d
EZ
89862013-03-27 Eli Zaretskii <eliz@gnu.org>
8987
8988 * facemenu.el (list-colors-callback): New defvar.
8989 (list-colors-redisplay): New function.
8990 (list-colors-display): Install list-colors-redisplay as the
8991 revert-buffer-function. (Bug#14063)
8992
f557c1b1
SM
89932013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8994
b1da2957
SM
8995 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8996 and suffixes don't overlap (bug#14061).
8997
f557c1b1
SM
8998 * case-table.el: Use lexical-binding.
8999 (case-table-get-table): New function.
9000 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9001
002668e1
TZ
90022013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9003
9004 * progmodes/subword.el: Add `superword-mode' to do word motion
9005 over symbol_words (parallels and leverages `subword-mode' which
9006 does word motion inside MixedCaseWords).
9007
73572c72
AG
90082013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9009
78b8f320 9010 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9011 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9012
69b2c07e
SM
90132013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9016 Change return value to be a sexp. Delay `get-buffer' to after
9017 restoring the desktop (bug#13951).
9018
08bb5ee2
LL
90192013-03-26 Leo Liu <sdl.web@gmail.com>
9020
9021 * register.el: Move semantic tag handling back to
9022 cedet/semantic/senator.el. (Bug#14052)
9023
8d4c974e
SM
90242013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9027 into the prompt either (bug#13963).
9028
b234d92c
SM
90292013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9032 part of "(error-foo)".
9033
ddfa3cb4
JL
90342013-03-24 Juri Linkov <juri@jurta.org>
9035
9036 * replace.el (list-matching-lines-prefix-face): New defcustom.
9037 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9038 `occur-engine' if `face-differs-from-default-p' returns t.
9039 (occur-engine): Add `,' inside backquote construct to evaluate
9040 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9041 Pass `prefix-face' to the functions `occur-context-lines' and
9042 `occur-engine-add-prefix'.
9043 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9044 `prefix-face' and propertize the prefix with `prefix-face'.
9045 (Bug#14017)
9046
7b0e2f85
LL
90472013-03-24 Leo Liu <sdl.web@gmail.com>
9048
9049 * nxml/rng-valid.el (rng-validate-while-idle)
9050 (rng-validate-quick-while-idle): Guard against deleted buffer.
9051 (Bug#13999)
9052
9053 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9054 is the last entry in kill-buffer-hook.
9055
9056 * files.el (kill-buffer-hook): Doc fix.
9057
b3082f49
DG
90582013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9059
b234d92c
SM
9060 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9061 Make it safe-local.
bde73d27 9062
b3082f49
DG
9063 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9064
a320a2db
LL
90652013-03-23 Leo Liu <sdl.web@gmail.com>
9066
7e74b0fb
LL
9067 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9068 Remove.
9069
9070 * nxml/rng-valid.el (rng-validate-mode)
9071 (rng-after-change-function, rng-do-some-validation):
9072 * nxml/rng-maint.el (rng-validate-buffer):
9073 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9074 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9075 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9076 (nxml-extend-after-change-region): Use with-silent-modifications.
9077
a320a2db
LL
9078 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9079 timer-idle-list.
9080
9081 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9082 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9083 timer-idle-list. (Bug#13999)
9084
e38e6780
JL
90852013-03-23 Juri Linkov <juri@jurta.org>
9086
9087 * info.el (info-index-match): New face.
9088 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9089 main pattern and add text properties with the new face to matches
9090 in index entries relative to the beginning of the index entry.
9091 (Bug#14015)
9092
e8cc7880
DE
90932013-03-21 Eric Ludlam <zappo@gnu.org>
9094
9095 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9096 Inhibit read only while inserting objects.
9097
9bb0d822
TZ
90982013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9099
9100 * progmodes/cfengine.el: Update docs to mention
9101 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9102 symbol motion. Remove "_" from the word syntax.
9103
aa703640
TZ
91042013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9105
9106 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9107 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9108
afff09d0
JL
91092013-03-20 Juri Linkov <juri@jurta.org>
9110
9111 * info.el (Info-next-reference-or-link)
9112 (Info-prev-reference-or-link): New functions.
9113 (Info-next-reference, Info-prev-reference): Use them.
9114 (Info-try-follow-nearest-node): Handle footnote navigation.
9115 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9116
9a1ff164
SM
91172013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9120 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9121
2667d15d
PE
91222013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9123
9124 Suppress unnecessary non-ASCII chatter during build process.
9125 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9126 (batch-skkdic-convert): Suppress most of the chatter.
9127 It's not needed so much now that machines are faster,
9128 and its non-ASCII component was confusing; see Dmitry Gutov in
9129 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9130
438b0579
LL
91312013-03-20 Leo Liu <sdl.web@gmail.com>
9132
9133 * ido.el (ido-chop): Fix bug#10994.
9134
c128ab07
DG
91352013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9136
9137 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9138 Remove vars.
9a1ff164
SM
9139 (whitespace-color-on, whitespace-color-off):
9140 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9141
0e6008c5
SM
91422013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9145 remapping in mode-line.
9146 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9147
627b52b0
DG
91482013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9149
9150 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9151 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9152 (whitespace-font-lock-keywords): Change description.
9153 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9154 the constructed keywords instead.
9155 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9156
50c3a20b
LL
91572013-03-19 Leo Liu <sdl.web@gmail.com>
9158
9159 * progmodes/compile.el (compilation-display-error): New command.
9160 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9161 C-o. (Bug#13992)
9162
2aa2157b
PE
91632013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9164
9165 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9166
e477dbfa
JD
91672013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9168
9169 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9170
64ab82d1
MA
91712013-03-18 Michael Albinus <michael.albinus@gmx.de>
9172
9173 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9174
9175 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9176 * net/tramp-gvfs.el (top):
9177 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9178 (tramp-handle-shell-command): Use it.
9179 (tramp-dissect-file-name): Raise an error when hostname is a
9180 method name, and neither method nor user is specified.
9181
9182 * net/trampver.el: Update release number.
9183
33cef733
LL
91842013-03-18 Leo Liu <sdl.web@gmail.com>
9185
9186 Make sure eldoc can be turned off properly.
9187 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9188 eldoc-mode.
9189 (eldoc-display-message-p): Revert last change.
9190 (eldoc-display-message-no-interference-p)
9191 (eldoc-print-current-symbol-info): Tweak.
9192
2167b7b2
TH
91932013-03-18 Tassilo Horn <tsdh@gnu.org>
9194
9195 * doc-view.el (doc-view-new-window-function): Check the new window
9196 overlay's display property instead the char property of the
9197 buffer's first char. Use `with-selected-window' instead of
9198 `save-window-excursion' with `select-window'.
9199 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9200 display property instead the char property of the buffer's first char.
2167b7b2 9201
982efbcd
PE
92022013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9203
9204 Automate the build of ja-dic.el (Bug#13984).
9205 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9206 from the input, rather than assume that it's been done for us by the
9207 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9208 the current date into a ja-dic.el comment, as that complicates
9209 regression testing.
9210
2fcc7665
SM
92112013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * whitespace.el: Fix double evaluation.
9214 (whitespace-space, whitespace-hspace, whitespace-tab)
9215 (whitespace-newline, whitespace-trailing, whitespace-line)
9216 (whitespace-space-before-tab, whitespace-indentation)
9217 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9218 obsolete defvars.
9219 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9220 (whitespace-color-on): Use a single font-lock-add-keywords call.
9221 Fix double-evaluation of face variables.
9222
67c0a6e6
MA
92232013-03-17 Michael Albinus <michael.albinus@gmx.de>
9224
2fcc7665
SM
9225 * net/tramp-adb.el (tramp-adb-parse-device-names):
9226 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9227 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9228
69489f1d
LL
92292013-03-17 Leo Liu <sdl.web@gmail.com>
9230
9231 Extend eldoc to display info in the mode-line. (Bug#13978)
9232 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9233 (eldoc-mode-line-string): New variable.
9234 (eldoc-minibuffer-message): New function.
9235 (eldoc-message-function): New variable.
9236 (eldoc-message): Use it.
9237 (eldoc-display-message-p)
2fcc7665
SM
9238 (eldoc-display-message-no-interference-p):
9239 Support eldoc-post-insert-mode.
69489f1d
LL
9240
9241 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9242 (eval-expression): Run it.
9243
9c44569e
RW
92442013-03-17 Roland Winkler <winkler@gnu.org>
9245
9246 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9247 strings in the list of return values.
9248
327f1f6f
JB
92492013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9250
9251 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9252 radix before checking for HMS forms.
9253
67ed8fcd
LL
92542013-03-16 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/scheme.el: Add indentation and font-locking for λ.
9257 (Bug#13975)
9258
78be8b64 92592013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9260
9261 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9262 token before point (bug#13942).
9263
78be8b64 92642013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9265
95b43468 9266 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9267
98e775e6
EZ
92682013-03-16 Eli Zaretskii <eliz@gnu.org>
9269
9270 * startup.el (command-line-normalize-file-name): Fix handling of
9271 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9272 <xfq.free@gmail.com> in
9273 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9274
2edd6029
MA
92752013-03-15 Michael Albinus <michael.albinus@gmx.de>
9276
9277 Sync with Tramp 2.2.7.
9278
9279 * net/trampver.el: Update release number.
9280
d35f5864
TH
92812013-03-14 Tassilo Horn <tsdh@gnu.org>
9282
e903c210 9283 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9284 (doc-view-insert-image): Don't modify overlay associated to
9285 non-live windows, and implement horizontal centering of image in
9286 case it's smaller than the window.
9287 (doc-view-new-window-function): Force redisplay of new windows on
9288 doc-view buffers.
d35f5864 9289
1c4a85ed
KF
92902013-03-13 Karl Fogel <kfogel@red-bean.com>
9291
9292 * saveplace.el (save-place-alist-to-file): Don't sort
9293 `save-place-alist', just pretty-print it (bug#13882).
9294
85b66a21
MA
92952013-03-13 Michael Albinus <michael.albinus@gmx.de>
9296
a020afb9
JB
9297 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9298 Check whether `default-file-name-coding-system' is bound.
9299 It isn't in XEmacs.
85b66a21 9300
175600da
SM
93012013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9302
e7f7cb1a
SM
9303 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9304 backquotes for `obsolete' (bug#13929).
9305
175600da
SM
9306 * international/mule.el (find-auto-coding): Include file name in
9307 obsolescence warning (bug#13922).
9308
ca68a22e
TZ
93092013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9310
9311 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9312 for CFEngine 3-specific indentation.
9313 (cfengine3-indent-line): Use it. Fix up category regex.
9314 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9315
940e5099
SM
93162013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * type-break.el (type-break-file-name):
9319 * textmodes/remember.el (remember-data-file):
9320 * strokes.el (strokes-file):
9321 * shadowfile.el (shadow-initialize):
9322 * saveplace.el (save-place-file):
9323 * ps-bdf.el (bdf-cache-file):
9324 * progmodes/idlwave.el (idlwave-config-directory):
9325 * net/quickurl.el (quickurl-url-file):
9326 * international/kkc.el (kkc-init-file-name):
9327 * ido.el (ido-save-directory-list-file):
9328 * emulation/viper.el (viper-custom-file-name):
9329 * emulation/vip.el (vip-startup-file):
9330 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9331 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9332
cc725808
PE
93332013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9334
9335 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9336 * language/thai-word.el: Switch to UTF-8.
9337
a020afb9 9338See ChangeLog.16 for earlier changes.
e3d51b27
MR
9339
9340;; Local Variables:
9341;; coding: utf-8
e3d51b27
MR
9342;; End:
9343
ab422c4d 9344 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9345
9346 This file is part of GNU Emacs.
9347
9348 GNU Emacs is free software: you can redistribute it and/or modify
9349 it under the terms of the GNU General Public License as published by
9350 the Free Software Foundation, either version 3 of the License, or
9351 (at your option) any later version.
9352
9353 GNU Emacs is distributed in the hope that it will be useful,
9354 but WITHOUT ANY WARRANTY; without even the implied warranty of
9355 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9356 GNU General Public License for more details.
9357
9358 You should have received a copy of the GNU General Public License
9359 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.