* subr.el (version-regexp-alist): Add support for snapshot versions.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
684d71c6
BB
12013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2
3 * subr.el (version-regexp-alist): Add support for snapshot versions.
4
3d42b968
DG
52013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6
7 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
8 function, replacement for `smie-rule-parent' for when we want to
9 skip over our direct parent if it's an assignment token..
10 (ruby-smie-rules): Use it.
11
7ffd3721
DG
122013-11-02 Dmitry Gutov <dgutov@yandex.ru>
13
14 * progmodes/ruby-mode.el Use `syntax-propertize-function'
15 unconditionally. Remove now unnecessary forward declarations.
16 Remove XEmacs-specific setup.
17 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
18 (ruby-font-lock-syntactic-keywords)
19 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
20 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
21 (ruby-here-doc-end-syntax): Remove.
22 (ruby-mode): Don't check whether `syntax-propertize-rules' is
23 defined as function.
24
a3996a2e
BB
252013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
26
27 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
28
6f9260e8
BB
292013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
30
31 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
32 table and abbrev table, `define-derived-mode' does that for us
33 anyway.
34
6014de84
GM
352013-11-01 Glenn Morris <rgm@gnu.org>
36
37 * Makefile.in: Remove manual mh-e dependencies (writing .elc
38 files is atomic for some time, so no parallel compilation issues).
39
3c334c14
JD
402013-11-01 Jan Djärv <jan.h.d@swipnet.se>
41
42 * faces.el (face-x-resources): Add :distant-foreground.
43 (region): Use :distant-foreground for gtk and ns.
44
9bc236c8
TH
452013-11-01 Tassilo Horn <tsdh@gnu.org>
46
47 Allow multiple bibliographies when BibLaTeX is used rathen than
48 BibTeX.
49 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
50 (reftex-locate-bibliography-files): Us it.
51
d14c81ee
CB
522013-11-01 Claudio Bley <claudio.bley@googlemail.com>
53
0e7690de
CB
54 * image.el (image-type-header-regexps): Fix the 'pbm' part to
55 allow comments in pbm files.
56
d14c81ee
CB
57 * term/w32-win.el (dynamic-library-alist): Support newer versions
58 of libjpeg starting with v7: look only for the DLL from the
59 version against which Emacs was built.
ac1bf374 60 Support versions of libpng beyond 1.4.x.
019c8218 61 Support libtiff v4.x.
d14c81ee 62
983d0df5
BB
632013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
64
65 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
66 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
67 Add property :safe.
68 (ruby-deep-arglist): Add property :type.
69
47f58d85
GM
702013-10-31 Glenn Morris <rgm@gnu.org>
71
72 * Makefile.in (custom-deps, finder-data): No need to setq the target
73 variables, we are in the right directory and the defaults work fine.
74
4f85b479
GM
752013-10-30 Glenn Morris <rgm@gnu.org>
76
ca7dd4cd
GM
77 * Makefile.in (autoloads): Do not use abs_lisp.
78
4f85b479
GM
79 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
80 `newline' does not respect `standard-output', so use `princ'.
81
cf59e41c
AA
822013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
83
84 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
85 * buff-menu.el (Buffer-menu--unmark): New function.
86 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
87
74cf04fb
GM
882013-10-30 Glenn Morris <rgm@gnu.org>
89
b040b60e
GM
90 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
91
f53d3815
GM
92 * emacs-lisp/package.el (lm-homepage): Declare.
93
5413d873
GM
94 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
95 Fix doc typos.
96
cecedb36
GM
97 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
98
74cf04fb
GM
99 * Makefile.in (finder-data, autoloads, update-subdirs)
100 (compile-main, compile-clean, compile-always, bootstrap-clean):
101 Check return value of cd.
102 (compile-calc): Remove.
103
195ee2f0
SM
1042013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
105
ae4002ce
SM
106 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
107
108 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
109 (byte-compile-and-folded): New function.
110 (=, <, >, <=, >=): Use it.
111
112 * dos-w32.el (minibuffer-history-case-insensitive-variables)
113 (path-separator, null-device, buffer-file-coding-system)
114 (lpr-headers-switches): Check system-type before modifying them.
115 (find-buffer-file-type-coding-system): Mark obsolete.
116 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
117 find-file-not-found-set-buffer-file-coding-system.
118 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
119 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
120 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
121 (w32-direct-print-region-helper, w32-direct-print-region-function)
122 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
123 * startup.el (normal-top-level-add-subdirs-to-load-path):
124 * ps-print.el (ps-print-region-function):
125 * lpr.el (print-region-function): Use new name.
126
53b39e89
SM
127 * subr.el (custom-declare-variable-early): Remove function.
128 (custom-declare-variable-list): Remove var.
129 (error, user-error): Remove `while' loop.
130 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
131 (user-emacs-directory-warning, locate-user-emacs-file):
132 Move to files.el.
133 * simple.el (read-quoted-char-radix, read-quoted-char):
134 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
135 Move from subr.el.
136 * custom.el (custom-declare-variable-list): Don't process
137 custom-declare-variable-list.
138
195ee2f0
SM
139 * progmodes/python.el (python-shell-get-buffer): New function.
140 (python-shell-get-process): Use it.
141 (python-shell-send-string): Always use utf-8 and add a cookie to tell
142 Python which encoding was used. Don't split-string since we only care
143 about the first line. Return the temp-file, if applicable.
144 (python-shell-send-region): Tell compile.el how to turn locations in
145 the temp-file into locations in the source buffer.
146
7e3561ee
SM
1472013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
148
4c9797cb
SM
149 * subr.el (undefined): Add missing behavior from the C code for
150 unbound keys.
151
3472b6c6
SM
152 * rect.el: Use lexical-binding. Add new rectangular region support.
153 (rectangle-mark): New command.
154 (rectangle--region): New var.
155 (deactivate-mark-hook): Reset rectangle--region.
156 (rectangle--extract-region, rectangle--insert-for-yank)
157 (rectangle--highlight-for-redisplay)
158 (rectangle--unhighlight-for-redisplay): New functions.
159 (region-extract-function, redisplay-unhighlight-region-function)
160 (redisplay-highlight-region-function): Use them to handle
161 rectangular region.
162 * simple.el (region-extract-function): New var.
163 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
164 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
165 (kill-region): Replace obsolete `yank-handler' arg with `region'.
166 (copy-region-as-kill, kill-ring-save): Add `region' argument.
167 (redisplay-unhighlight-region-function)
168 (redisplay-highlight-region-function): New vars.
169 (redisplay--update-region-highlight): New function.
170 (pre-redisplay-function): Use it.
171 (exchange-point-and-mark): Don't deactivate the mark before
172 reactivate-it anyway.
173 * comint.el (comint-kill-region): Remove yank-handler argument.
174 * delsel.el (delete-backward-char, backward-delete-char-untabify)
175 (delete-char): Remove property, since it's now part of their
176 default behavior.
177 (self-insert-iso): Remove property since this command doesn't exist.
178
7e3561ee
SM
179 * emacs-lisp/package.el (package--download-one-archive)
180 (describe-package-1): Don't query the user about final newline.
181
b9bef71f
DC
1822013-10-29 Daniel Colascione <dancol@dancol.org>
183
184 * net/tramp.el (tramp-methods): Document new functionality.
185 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
186 tramp-hostname-checker if method provides one instead of scanning
187 argument list for "%h" to decide hostname acceptability.
188
4efc33f0
MA
1892013-10-28 Michael Albinus <michael.albinus@gmx.de>
190
191 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
192 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
193 Handle COPY-CONTENTS. (Bug#15737)
194
ed42a877
DU
1952013-10-28 Daiki Ueno <ueno@gnu.org>
196
197 * epa-file.el
7e3561ee
SM
198 (epa-file-cache-passphrase-for-symmetric-encryption):
199 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 200
18c9f8a2
XF
2012013-10-27 Xue Fuqiao <xfq.free@gmail.com>
202
7a4bc7be
XF
203 * image.el (defimage):
204 (image-load-path): Doc fixes.
18c9f8a2 205
b1e8e010
AM
2062013-10-27 Alan Mackenzie <acm@muc.de>
207
208 Indent statements in macros following "##" correctly.
7e3561ee
SM
209 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
210 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 211
73d40d1e 2122013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
213
214 * linum.el (linum-update-window): Fix boundary test (bug#13446).
215
c8c605ac
DG
2162013-10-27 Dmitry Gutov <dgutov@yandex.ru>
217
218 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
219 after `=' is probably a new expression.
220
ca7e59d4
RS
2212013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
222
223 * man.el (man-imenu-title): New option.
224 (Man-mode-map): Add menu. (Bug#15722)
225 (Man-mode): Add imenu to menu.
226
bae91342
DG
2272013-10-26 Dmitry Gutov <dgutov@yandex.ru>
228
229 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
230 specific in what the first arg can be: a non-keyword word,
231 string/regexp/percent literal opener, opening paren, or unary
232 operator followed directly by word.
233
eb89dc14
SM
2342013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
237 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
238 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
239 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
240 Remove vars, they do not apply any more.
241 (prolog-mode-abbrev-table): Remove redundant declaration.
242 (prolog-upper-case-string, prolog-lower-case-string): Remove.
243 (prolog-use-smie): Remove.
244 (prolog-smie-rules): Add indentation rule for the if-then-else layout
245 supported by prolog-electric-if-then-else-flag.
246 (prolog-mode-variables, prolog-menu): Use setq-local.
247 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
248 Remove binding to `Backspace' since this key doesn't exist anyway.
249 Remove bindings for electric self-inserting keys.
250 (prog-mode): Assume it's defined.
251 (prolog-post-self-insert): New function.
252 (prolog-mode): Use it.
253 (prolog-indent-line, prolog-indent-level)
254 (prolog-find-indent-of-matching-paren)
255 (prolog-indentation-level-of-line, prolog-goto-comment-column)
256 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
257 (prolog-goto-next-paren, prolog-in-string-or-comment)
258 (prolog-tokenize, prolog-inside-mline-comment)
259 (prolog-find-start-of-mline-comment): Remove functions.
260 (prolog-find-unmatched-paren, prolog-clause-end)
261 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
262 (prolog-electric--if-then-else): Rename from
263 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
264 (prolog-tokenize-searchkey): Remove const.
265 (prolog-clause-info): Use forward-sexp.
266 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
267 (prolog-electric-if-then-else): Remove commands.
268 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
269 for use in post-self-insert-hook.
270 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
271 for use in post-self-insert-hook.
272 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
273 for use in post-self-insert-hook.
274 (prolog-electric--underscore): Rename from prolog-electric--underscore;
275 adapt it for use in post-self-insert-hook.
276
3dab0a83
MA
2772013-10-25 Michael Albinus <michael.albinus@gmx.de>
278
279 * emacs-lisp/ert.el (ert-run-tests-interactively):
280 Use `completing-read'. (Bug#9756)
281
fbfd0e1d
EZ
2822013-10-25 Eli Zaretskii <eliz@gnu.org>
283
284 * simple.el (line-move): Call line-move-1 instead of
285 line-move-visual when the current window hscroll is zero, but
286 temporary-goal-column indicates we will need to hscroll as result
287 of the movement. (Bug#15712)
288
963ce636
DG
2892013-10-25 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
292 capitalization. Use :visible instead of :active.
293 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
294 commands that are used with SMIE.
295 (ruby-do-end-to-brace): Insert space after `{'.
296
a0be396a
JA
2972013-10-25 John Anthony <john@jo.hnanthony.com>
298
f73754c9
JA
299 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
300
301 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 302
f5bf77df
GM
3032013-10-25 Glenn Morris <rgm@gnu.org>
304
305 * vc/vc.el (vc-print-log): Don't use a working revision unless
306 one was explicitly specified. (Bug#15322)
307
37241f62
SM
3082013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * subr.el (add-to-list): Preserve return value in compiler-macro
311 (bug#15692).
312
6408a65d
RS
3132013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
314
315 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
316 result. Ask user to retry using '-all' flag. (Bug#15701)
317
71e3276b
SM
3182013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * emacs-lisp/smie.el: New smie-config system.
321 (smie-config): New defcustom.
322 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
323 (smie-config-guess, smie-config-save): New commands.
324 (smie-config--mode-local, smie-config--buffer-local)
325 (smie-config--trace, smie-config--modefuns): New vars.
326 (smie-config--advice, smie-config--mode-hook)
327 (smie-config--setter, smie-config-local, smie-config--get-trace)
328 (smie-config--guess-value, smie-config--guess): New functions.
329 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
330 text properties. Treat "string fence" syntax like string syntax.
331
332 * progmodes/sh-script.el (sh-use-smie): Change default.
333 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
334 (sh-var-value): Simplify by CSE.
335 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
336 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
337 is used.
338 (sh-guess-basic-offset): Use cl-incf.
339 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
340
60db713e
HE
3412013-10-24 Helmut Eller <eller.helmut@gmail.com>
342
343 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
344 (bug#15699).
345
8b251df6
GM
3462013-10-24 Glenn Morris <rgm@gnu.org>
347
348 * Makefile.in (abs_top_srcdir): Remove.
349 (update-subdirs): Use relative path to update-subdirs.
350
6be0e22b
EZ
3512013-10-24 Eli Zaretskii <eliz@gnu.org>
352
353 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
354 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
355 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
356 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 357
50b5b857
MA
3582013-10-24 Michael Albinus <michael.albinus@gmx.de>
359
360 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
361 (ert-test-skipped): New error.
362 (ert-skip, ert-stats-skipped): New defuns.
363 (ert--skip-unless): New macro.
364 (ert-test-skipped): New struct.
365 (ert--run-test-debugger, ert-test-result-type-p)
366 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
367 (ert--stats-set-test-and-result, ert-char-for-test-result)
368 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 369 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 370 Handle skipped tests. (Bug#9803)
50b5b857 371
6f317c2f
GM
3722013-10-24 Glenn Morris <rgm@gnu.org>
373
e43817c1
GM
374 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
375
6f317c2f
GM
376 * Makefile.in (abs_top_srcdir): New, set by configure.
377 (update-subdirs): Correct build-aux location.
378
369bbf71
DG
3792013-10-24 Dmitry Gutov <dgutov@yandex.ru>
380
8297b2cf
DG
381 * vc/vc.el (vc-print-root-log): Always set `default-directory'
382 value, whether we could auto-deduce `backend', or not.
383
369bbf71
DG
384 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
385 with parameters" example. Simplify the "is it block or is it
386 hash" check, but also make it more thorough.
387
d5f1282f
MF
3882013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
389
390 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
391
bc4aaa31
SM
3922013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
393
03d44565
SM
394 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
395 { if it is hanging.
396
bc4aaa31
SM
397 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
398 :before ";".
399
f493ff19
JB
4002013-10-23 Jed Brown <jed@59A2.org> (tiny change)
401
402 * progmodes/compile.el (compilation-directory-matcher)
403 (compilation-page-delimiter):
404 Support GNU Make-4.0 directory quoting. (Bug#15678)
405
c744a3b9
LL
4062013-10-23 Leo Liu <sdl.web@gmail.com>
407
408 * ido.el (ido-tidy): Handle read-only text.
409
b8e3b0a9
GM
4102013-10-23 Glenn Morris <rgm@gnu.org>
411
412 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
413 (emacs, compile, compile-always):
414 Quote entities that might contain whitespace.
415 (custom-deps, finder-data, autoloads): Use abs_lisp.
416 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
417 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
418 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
419
ee4282cd
DG
4202013-10-23 Dmitry Gutov <dgutov@yandex.ru>
421
bc4aaa31
SM
422 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
423 Use `following-char'.
7790a270 424
ee4282cd 4252013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
426
427 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
428 * progmodes/ruby-mode.el (ruby-smie-rules):
429 Remove corresponding workaround. Fix indentation rule of ";" so it
430 also applies when ";" is the parent.
431
d40a46d7
XF
4322013-10-22 Xue Fuqiao <xfq.free@gmail.com>
433
434 * frame.el (display-screens, display-pixel-height)
435 (display-pixel-width, display-mm-width, display-backing-store)
436 (display-save-under, display-planes, display-color-cells)
7790a270
SM
437 (display-visual-class, display-monitor-attributes-list):
438 Mention the optional ‘display’ argument in doc strings.
d40a46d7 439
a0f143c9
MG
4402013-10-22 Michael Gauland <mikelygee@amuri.net>
441
442 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
443 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
444
18cacc39
DG
4452013-10-21 Dmitry Gutov <dgutov@yandex.ru>
446
447 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
448 TODO. Add "." after " @ ".
449 (ruby-smie--at-dot-call): New function. Checks if point at method
450 call with explicit target.
451 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
452 to the method name tokens when it precedes them.
453 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
454 (ruby-smie-rules): Add rule for indentation before and after "."
455 token.
456
df74c4be
SM
4572013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
458
c6dab55f
SM
459 * textmodes/remember.el (remember-diary-extract-entries):
460 Avoid add-to-list.
461
df74c4be
SM
462 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
463 an instruction.
464
8c1ae481
DG
4652013-10-21 Dmitry Gutov <dgutov@yandex.ru>
466
cfef16c0
DG
467 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
468 (ruby-smie--implicit-semi-p): Add new operator chars.
469
8c1ae481
DG
470 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
471 `smie-down-list'.
472 (ruby-smie--args-separator-p): Check that there's no newline
473 between method call and its arguments.
474
87756ca9
AM
4752013-10-20 Alan Mackenzie <acm@muc.de>
476
477 Allow comma separated lists after Java "implements".
478
df74c4be
SM
479 * progmodes/cc-engine.el (c-backward-over-enum-header):
480 Parse commas.
87756ca9
AM
481 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
482 from a "disallowed" list in enum fontification.
483
c25f8957
JB
4842013-10-20 Johan Bockgård <bojohan@gnu.org>
485
df74c4be 486 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 487
c25f8957
JB
488 * progmodes/verilog-mode.el (verilog-mode): Don't set
489 comment-indent-function globally.
490
aca5fcdc
JD
4912013-10-20 Jan Djärv <jan.h.d@swipnet.se>
492
5f161884
JD
493 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
494 Move Info menu item creation to ns-win.el.
495
496 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
497 in menu bar.
498
aca5fcdc
JD
499 * menu-bar.el: Move GNUStep specific menus...
500
501 * term/ns-win.el (ns-initialize-window-system): ... to here.
502
914b7f98
SM
5032013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * simple.el (newline): Only run post-self-insert-hook when
506 called interactively.
507
846ffe77
JB
5082013-10-19 Johan Bockgård <bojohan@gnu.org>
509
510 * icomplete.el (icomplete-with-completion-tables): Add :version.
511
033f22dd
AM
5122013-10-19 Alan Mackenzie <acm@muc.de>
513
514 Fix fontification bugs with constructors and const.
515
516 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
517 CASE 2) Remove the check for the absence of a suffix construct
518 after a function declaration with only types (no identifiers) in
519 the parentheses. Also, accept a function declaration with just a
520 type inside the parentheses, if this type can be positively
521 recognised as such, or if a prefix keyword like "explicit" nails
522 down the construct as a declaration.
523
58ce0cfc
EZ
5242013-10-19 Eli Zaretskii <eliz@gnu.org>
525
526 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
527 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
528 the problem whereby selecting a menu item that leads to a
529 minibuffer prompt moves the cursor out of the minibuffer window,
530 making it hard to type at the prompt. Suggested by Stefan Monnier
531 <monnier@iro.umontreal.ca>.
532
50e28e7d
JD
5332013-10-19 Jan Djärv <jan.h.d@swipnet.se>
534
535 * menu-bar.el: Don't make Services menu.
536
7deed4bf
RS
5372013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
538
539 * ffap.el: Handle "/usr/include/c++/<version>" directories.
540 (ffap-alist): Use ffap-c++-mode for c++-mode.
541 (ffap-c++-path): New variable.
542 (ffap-c++-mode): New function.
543
7bcb455b
JVJ
5442013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
545
546 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
547
f0ff1cd5
MA
5482013-10-18 Michael Albinus <michael.albinus@gmx.de>
549
550 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
551 introduced on 2013-09-08, which results in an infinite loop
552 requesting a password.
553
d64da4b7
GM
5542013-10-18 Glenn Morris <rgm@gnu.org>
555
556 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
557
ea89ff08
WS
5582013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
559
560 Sync with upstream verilog-mode revision 1a6ecec7.
561 * progmodes/verilog-mode.el (verilog-mode-version): Update.
562 (verilog-mode-release-date): Remove.
563 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
564 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
565 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
566 (verilog-auto-tieoff-ignore-regexp)
567 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
568 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
569 (verilog-signals-with, verilog-dir-cache-preserving)
570 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
571 Doc fixes.
572 (verilog-case-fold): New option, to control case folding in
573 regexp searches, bug597.
574 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
575 (verilog-string-match-fold, verilog-in-paren-count)
576 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
577 (verilog-at-close-struct-p): New functions.
578 (verilog-beg-block-re-ordered, verilog-extended-case-re)
579 (verilog-forward-sexp, verilog-set-auto-endcomments):
580 (verilog-leap-to-case-head): Handle "unique0" case.
581 (verilog-in-constraint-re): New constant.
582 (verilog-keywords, verilog-type-font-keywords):
583 Add some SystemVerilog 1800-2012 keywords.
584 (verilog-label-be): Remove unimplemented argument, bug669.
585 (verilog-batch-execute-func): When batch expanding clear
586 create-lockfiles to prevent spurious user locks when a file ends
587 up not changing.
588 (verilog-calculate-indent, verilog-calc-1)
589 (verilog-at-close-constraint-p, verilog-at-constraint-p)
590 (verilog-do-indent): Fix indentation of nested constraints
591 and structures.
592 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
593 (verilog-auto-inst-param): Use verilog-string-match-fold.
594 (verilog-read-inst-module-matcher):
595 Fix AUTOINST on gate primitives with #1.
596 (verilog-read-decls): Fix double-declaring user-defined typed signals.
597 Reads all user-defined typed variables.
598 (verilog-read-defines): Fix reading definitions inside comments, bug647.
599 (verilog-signals-matching-regexp)
600 (verilog-signals-not-matching-regexp, verilog-auto):
601 Respect verilog-case-fold.
602 (verilog-diff-report): Fix line count.
603 (verilog-auto-assign-modport): Remove unused local `modi'.
604 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
605 better handle multidimensional arrays.
606 Fix packed array ports misadding bit index in AUTOINST, bug637.
607 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
608 to not double-declare existing outputs and inputs, respectively.
609 (verilog-template-map): Bind U to verilog-sk-uvm-component.
610 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
611 (verilog-sk-uvm-component): New skeleton.
612 (verilog-submit-bug-report): Add verilog-case-fold,
613 remove verilog-mode-release-date.
614
ef566920
BR
6152013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
616
617 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
618 as before.
619
29df8a0b
RT
6202013-10-18 Reuben Thomas <rrt@sc3d.org>
621
622 * textmodes/remember.el (remember): set buffer-offer-save in
623 remember buffers (bug#13566).
624
04a19a79
DC
6252013-10-18 Daniel Colascione <dancol@dancol.org>
626
627 When evaluating forms in ielm, direct standard output to ielm
628 buffer. Add new ielm-return-for-effect command. Remove trailing
629 whitespace throughout.
630
631 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
632 (ielm-return-for-effect): New command.
633 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
634 (ielm-eval-input): Accept optional `for-effect' parameter.
635 Bind `standard-output' to stream we create using
04a19a79
DC
636 `ielm-standard-output-impl'. Suppress printing result when
637 `for-effect'.
638 (ielm-standard-output-impl): New function.
639 (inferior-emacs-lisp-mode): Explain new features in documentation.
640
4c1f03ef
MA
6412013-10-17 Michael Albinus <michael.albinus@gmx.de>
642
643 Code cleanup.
644
645 * net/tramp.el (tramp-debug-message): Do not check for connection
646 buffer.
647 (tramp-message): Use "vector" connection property.
648
649 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
650 (tramp-equal-remote, tramp-eshell-directory-change)
651 * net/tramp-adb.el (tramp-adb-handle-copy-file)
652 (tramp-adb-handle-rename-file)
653 * net/tramp-cmds.el (tramp-list-remote-buffers)
654 (tramp-cleanup-connection, tramp-cleanup-this-connection)
655 * net/tramp-compat.el (tramp-compat-process-running-p)
656 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
657 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
658 (tramp-gvfs-handle-rename-file)
659 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
660 (tramp-set-file-uid-gid)
661 * net/tramp-smb.el (tramp-smb-handle-copy-file)
662 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
663 of `file-remote-p'.
664
665 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
666 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
667 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
668 (tramp-gw-open-network-stream): Suppress unrelated traces.
669
670 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
671 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
672 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
673 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
674 connection property.
675
676 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 677 persistency file.
4c1f03ef
MA
678
679 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
680 Refactor common code. Improve debug message.
681 (tramp-maybe-open-connection)
682 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
683 connection buffer too early.
684
685 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
686 from `tramp-smb-actions-with-acl'.
687 (tramp-smb-actions-set-acl): New defconst.
688 (tramp-smb-handle-copy-directory)
689 (tramp-smb-action-get-acl): New defun, renamed from
690 `tramp-smb-action-with-acl'.
691 (tramp-smb-action-set-acl): New defun.
692 (tramp-smb-handle-set-file-acl): Rewrite.
693
642eb8b6
GM
6942013-10-17 Glenn Morris <rgm@gnu.org>
695
696 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
697
85527ff3
SM
6982013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
699
921c1d62
SM
700 * skeleton.el (skeleton-newline): Remove.
701 (skeleton-internal-1): Use (insert "\n") instead.
702
e333fb10
SM
703 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
704 let-bindings.
705
85527ff3
SM
706 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
707 forward-sexp-function while we redo its job (bug#15613).
708
c8722a97
JB
7092013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
710
711 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
712 represented by lists.
713
7a550bbb
GM
7142013-10-16 Glenn Morris <rgm@gnu.org>
715
716 * tmm.el (tmm--history): New dynamic variable.
717 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
718
f19da8ad
MA
7192013-10-16 Michael Albinus <michael.albinus@gmx.de>
720
721 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
722 (tramp-smb-errors): Add error messages.
723 (tramp-smb-actions-with-acl): New defconst.
724 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
725 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
726 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
727 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
728 (tramp-smb-get-stat-capability): Fix tests.
729
a24b9961
DK
7302013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
731
732 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
733 (bug#15580).
734
62ad85e6
GM
7352013-10-16 Glenn Morris <rgm@gnu.org>
736
0283d6b0
GM
737 * ansi-color.el (ansi-color-drop-regexp):
738 Add 1J, 1K, 2K. (Bug#15617)
739
012e2f9f
GM
740 * files.el (hack-local-variables--warned-lexical): New.
741 (hack-local-variables):
742 Warn about misplaced lexical-binding. (Bug#15616)
743
62ad85e6
GM
744 * net/eww.el (eww-render): Always set eww-current-url,
745 and update header line. (Bug#15622)
746 (eww-display-html): ... Rather than just doing it here.
747
6456c0ea
EZ
7482013-10-15 Eli Zaretskii <eliz@gnu.org>
749
750 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
751 menu navigations commands.
752
c2de5588
DK
7532013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
754
755 * progmodes/subword.el (subword-capitalize): Be careful when
756 the search for [[:alpha:]] fails (bug#15580).
757
ccd4a783
EZ
7582013-10-14 Eli Zaretskii <eliz@gnu.org>
759
760 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
761 to commands that scroll the menu.
762
1eda1d8d
DG
7632013-10-14 Dmitry Gutov <dgutov@yandex.ru>
764
c2de5588
DK
765 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
766 Handle methods ending with `?' and `!'.
1eda1d8d 767
e70181b8
AM
7682013-10-14 Akinori MUSHA <knu@iDaemons.org>
769
770 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
771 `japanese-cp932' to `cp932' to fix the problem where saving a
772 source file written in Shift_JIS twice would end up having
773 `coding: japanese-cp932' which Ruby could not recognize.
774 (ruby-mode-set-encoding): Add support for encodings mapped to nil
775 in `ruby-encoding-map'.
776 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
777 doesn't need to be explicitly declared in magic comment.
778 (ruby-encoding-map): Add type declaration for better customize UI.
779
9148ee92
GM
7802013-10-13 Glenn Morris <rgm@gnu.org>
781
a5d38e34
GM
782 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
783 Occur buffers are read-only. http://bugs.debian.org/720775
784
9148ee92
GM
785 * emacs-lisp/authors.el (authors-fixed-entries):
786 Comment out old alpha stuff.
787
a9ba094b
DG
7882013-10-13 Dmitry Gutov <dgutov@yandex.ru>
789
790 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
791 to `after-save-hook' instead of `before-save-hook'.
792 (ruby-mode-set-encoding): Use the value of coding system used to
793 write the file. Call `basic-save-buffer-1' after modifying the
794 buffer.
795
7a068717
AM
7962013-10-13 Alan Mackenzie <acm@muc.de>
797
798 Fix indentation/fontification of Java enum with
799 "implements"/generic.
800
c2de5588
DK
801 * progmodes/cc-engine.el (c-backward-over-enum-header):
802 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
803 (c-inside-bracelist-p): Uses new function above.
804 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
805 function above.
806 (c-font-lock-enum-tail): Uses new function above.
807
85b64f02
KH
8082013-10-13 Kenichi Handa <handa@gnu.org>
809
810 * international/mule-cmds.el (select-safe-coding-system): Remove a
811 superfluous condition in chekcing whether a coding system is safe
812 or not.
813
fc7f501b
OK
8142013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
815
816 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
817
fdcb2049
AP
8182013-10-13 Andreas Politz <politza@hochschule-trier.de>
819
820 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
821
8c106d17
GM
8222013-10-13 Glenn Morris <rgm@gnu.org>
823
feab892d
GM
824 * menu-bar.el (menu-bar-update-buffers):
825 Unify Buffers menu prompt string. (Bug#15576)
826
b22d0686
GM
827 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
828
8c106d17
GM
829 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
830 Add some entries.
831 (authors-fixed-entries): Use accented form of name.
832
1b12c797
SM
8332013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
834
650fa7bf 835 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 836 method calls (bug#15594).
650fa7bf
SM
837 (ruby-smie--args-separator-p): New function.
838 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
839 recognize paren-free method calls.
840
1b12c797
SM
841 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
842 internals of universal-argument.
843
029619c8
EZ
8442013-10-11 Eli Zaretskii <eliz@gnu.org>
845
846 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
847 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
848 dropped menu on second mouse click on the menu bar.
029619c8 849
dd070019
SM
8502013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
853 (explicit-shell-file-name): Declare.
854 (sh--vars-before-point, sh--cmd-completion-table): New functions.
855 (sh-completion-at-point-function): New function.
856 (sh-mode): Use it.
857 (sh-smie--keyword-p): Remove unused argument.
858 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
859 vars.
860 (sh-set-shell): Always setup SMIE, even if we use the
861 old indentation code.
862
0922b826
DG
8632013-10-11 Dmitry Gutov <dgutov@yandex.ru>
864
b68e2926
DG
865 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
866 cases of ? and =.
867 (ruby-smie-rules): Simplify the "do" rule. The cases when the
868 predicate would return nil are almost non-existent.
869 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
870
0922b826
DG
871 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
872 cache also after commands that modify the buffer but don't move
873 point.
874
ee041f2d
SM
8752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * env.el (substitute-env-in-file-name): New function.
878 (substitute-env-vars): Extend the meaning of the optional arg.
879
a5dab159
EZ
8802013-10-10 Eli Zaretskii <eliz@gnu.org>
881
882 * term/w32-win.el (dynamic-library-alist): Define separate lists
883 of GIF DLLs for versions before and after 5.0.0 of giflib.
884 (Bug#15531)
885
db138698
JT
8862013-10-10 João Távora <joaotavora@gmail.com>
887
888 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
889 not locked, use last revision and current source as
890 defaults. (Bug#15569)
891
2f6e161e
MY
8922013-10-10 Masatake YAMATO <yamato@redhat.com>
893
894 * menu-bar.el (menu-bar-open): Don't use popup-menu if
895 menu-bar is hidden.
896
6c8413fc
MR
8972013-10-10 Martin Rudalics <rudalics@gmx.at>
898
899 * window.el (pop-to-buffer-same-window): Fix doc-string.
900 (Bug#15492)
901
20832de0
SM
9022013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
905
c6e8ae77
AC
9062013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
907
908 * calendar/icalendar.el (icalendar-import-file):
909 Fix interactive spec. (Bug#15482)
910
9db13baf
GM
9112013-10-10 Glenn Morris <rgm@gnu.org>
912
9271e90e
GM
913 * desktop.el (desktop-save): Default to saving in .emacs.d,
914 since PWD is no longer in desktop-path by default. (Bug#15319)
915
9db13baf
GM
916 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
917 now that text mode has a menu with the same entry.
918 (menu-bar-text-mode-auto-fill): Remove now unused func.
919 * textmodes/text-mode.el (text-mode-map):
920 Use auto-fill help text from menu-bar.el.
921
a0be396a 9222013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
923
924 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
925
2edcd3c7
JL
9262013-10-09 Juri Linkov <juri@jurta.org>
927
928 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
929 instead of this-command-keys. Add universal-argument-more and
930 universal-argument-minus to the list of prefix commands. (Bug#15568)
931
574411d0
GM
9322013-10-09 Glenn Morris <rgm@gnu.org>
933
14afa541
GM
934 * vc/vc-svn.el (vc-svn-create-repo):
935 Expand paths in file://... url. (Bug#15446)
936
574411d0
GM
937 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
938 Add some entries.
939 (authors): Remove unused local variables.
940
79804536
SM
9412013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * profiler.el: Create a more coherent calltree from partial backtraces.
944 (profiler-format): Hide the tail with `invisible' so that C-s can still
945 find the hidden elements.
946 (profiler-calltree-depth): Don't recurse so enthusiastically.
947 (profiler-function-equal): New hash-table-test.
948 (profiler-calltree-build-unified): New function.
949 (profiler-calltree-build): Use it.
950 (profiler-report-make-name-part): Indent the calltree less.
951 (profiler-report-mode): Add visibility specs for profiler-format.
952 (profiler-report-expand-entry, profiler-report-toggle-entry):
953 Expand the whole subtree when provided with a prefix arg.
954
238150c8
DG
9552013-10-09 Dmitry Gutov <dgutov@yandex.ru>
956
957 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
958 iuwu-mod token.
959 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
960 hanging iuwu-mod token.
961 (ruby-smie--forward-token): Do not include a dot after a token in
962 that token.
963 (ruby-smie--backward-token): Likewise.
964
b0949cc4
JL
9652013-10-08 Juri Linkov <juri@jurta.org>
966
967 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
968 to isearch-other-control-char.
969 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
970 and isearch-post-command-hook to post-command-hook.
971 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
972 and isearch-post-command-hook from post-command-hook.
973 (isearch-unread-key-sequence)
974 (isearch-reread-key-sequence-naturally)
975 (isearch-lookup-scroll-key, isearch-other-control-char)
976 (isearch-other-meta-char): Remove functions.
977 (isearch-pre-command-hook, isearch-post-command-hook):
978 New functions based on isearch-other-meta-char rewritten
979 relying on the new behavior of overriding-terminal-local-map
980 that does not replace the local keymaps any more. (Bug#15200)
981
4ed77415
EZ
9822013-10-08 Eli Zaretskii <eliz@gnu.org>
983
984 Support menus on text-mode terminals.
985 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
986 functionality.
987
988 * tooltip.el (tooltip-mode): Don't error out on TTYs.
989
c2de5588
DK
990 * menu-bar.el (popup-menu, popup-menu-normalize-position):
991 Move here from mouse.el.
4ed77415
EZ
992 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
993 and arrow keys.
994 (tty-menu-navigation-map): New map for TTY menu navigation.
995
996 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
997
998 * frame.el (display-mouse-p): Report text-mode mouse as available
999 on w32.
1000 (display-popup-menus-p): Report availability if mouse is
1001 available; don't condition on window-system.
1002
1003 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1004 (tty-menu-selected-face): New faces.
1005
b7d5bd82
TL
10062013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1007
06286513
SM
1008 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1009 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1010 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1011 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1012 New constants.
1013 (lisp-mode-variables): New `elisp' argument.
1014 (emacs-lisp-mode): Use it.
1015 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1016 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1017
b7d5bd82
TL
1018 * indent.el: Use lexical-binding.
1019 (indent-region): Add progress reporter.
1020 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1021 last step.
1022 (indent--next-tab-stop): New function to implement this behavior.
1023 (tab-to-tab-stop, move-to-tab-stop): Use it.
1024
10252013-10-08 Teemu Likonen <tlikonen@iki.fi>
1026
1027 * indent.el (indent-rigidly--current-indentation): New function.
1028 (indent-rigidly-map): New var.
1029 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1030
5ea75d23
BG
10312013-10-08 Bastien Guerry <bzg@gnu.org>
1032
1033 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1034
cc5da1ec
SM
10352013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1036
8ffa1a0b
SM
1037 * progmodes/perl-mode.el: Use lexical-binding.
1038 Remove redundant :group args.
1039 (perl-nochange): Change default to be closer to other major modes's
1040 standard behavior.
1041 (perl-indent-line): Don't consider text on current line as a
1042 valid beginning of function from which to indent.
1043
f2223371
SM
1044 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1045 with more than one argument (bug#15538).
1046
44256060
SM
1047 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1048
cc5da1ec
SM
1049 * vc/pcvs.el: Use lexical-binding.
1050 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1051 environment of `eval'.
1052 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1053 than a list of expressions. Adjust callers.
1054 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1055
0ea1599d
DG
10562013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1057
1058 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1059 case of the dot in a chained method call being on the following line.
0ea1599d 1060
da3e5ebb
SM
10612013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1062
2abb4e65
SM
1063 * electric.el (electric-indent-inhibit): New var.
1064 (electric-indent-post-self-insert-function): Use it.
1065 * progmodes/python.el (python-mode): Set it.
1066
d2e0e795
SM
1067 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1068 open braces.
1069
1070 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1071
bdc6b4c8
SM
1072 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1073 (css-mode): Use electric-indent-chars.
1074
da3e5ebb
SM
1075 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1076 (font-lock-beg, font-lock-end): Move before first use.
1077 (nxml-mode): Use syntax-propertize-function.
1078 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1079 (nxml-extend-after-change-region): Remove.
1080 * nxml/xmltok.el: Use lexical-binding.
1081 (xmltok-save): Use `declare'.
1082 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1083 * nxml/nxml-util.el: Use lexical-binding.
1084 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1085 Use `declare'.
1086 * nxml/nxml-ns.el: Use lexical-binding.
1087 (nxml-ns-save): Use `declare'.
1088 (nxml-ns-prefixes-for): Avoid add-to-list.
1089 * nxml/rng-match.el: Use lexical-binding.
1090 (rng--ipattern): Use cl-defstruct.
1091 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1092 (rng-cons-group-after, rng-subst-group-after)
1093 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1094 Use closures instead of `(lambda...).
1095
f8f91d5d
MA
10962013-10-07 Michael Albinus <michael.albinus@gmx.de>
1097
1098 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1099 of BEG and END.
1100
da3e5ebb
SM
1101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1102 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1103 (tramp-gvfs-handle-insert-file-contents): Remove function.
1104
da3e5ebb
SM
1105 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1106 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1107
1108 * net/trampver.el: Update release number.
1109
7ccae3b1
SM
11102013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1111
55ca2c0d
SM
1112 * progmodes/compile.el (compilation-parse-errors):
1113 Use compilation--put-prop.
1114 (compilation--ensure-parse): Check compilation-multiline.
1115
731fc3ae
SM
1116 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1117
da3e5ebb
SM
1118 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1119 lexical-binding.
a5833280 1120
2e7ba2c2
SM
1121 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1122
7ccae3b1
SM
1123 * progmodes/ruby-mode.el: Fix recently added tests.
1124 (ruby-smie-grammar): Add - and +.
1125 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1126 (ruby-smie--backward-id): New functions.
1127 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1128 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1129 any more.
1130
85698d63
LL
11312013-10-07 Leo Liu <sdl.web@gmail.com>
1132
1133 * register.el (register-preview-delay)
1134 (register-preview-functions): New variables.
1135 (register-read-with-preview, register-preview)
1136 (register-describe-oneline): New functions.
1137 (point-to-register, window-configuration-to-register)
1138 (frame-configuration-to-register, jump-to-register)
1139 (number-to-register, view-register, insert-register)
1140 (copy-to-register, append-to-register, prepend-to-register)
1141 (copy-rectangle-to-register): Use register-read-with-preview to
1142 read register. (Bug#15525)
1143
3986af6c
DS
11442013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1145
1146 * net/network-stream.el (network-stream-open-starttls): Don't add
1147 --insecure if it's already present, because that gnutls-cli
1148 rejects getting that parameter twice.
1149
5cd9cda9
DG
11502013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1151
1152 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1153 keyword, too.
1154
da9ea6d9
DG
11552013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * newcomment.el (comment-use-global-state): Change default value
1158 to t, mark obsolete (Bug#15251).
1159 (comment-beginning): In addition to `comment-to-syntax', check the
1160 value of `comment-use-global-state'.
1161
34d1a133
SM
11622013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1165 (ruby-comment-column): Follow the global default, by default.
1166 (ruby-smie-grammar): Add assignment syntax.
1167 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1168 open-paren, a comma, or a \.
1169 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1170 and line continuations.
1171 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1172 followed by implicit semi-colons. Add rule for string concatenation
1173 and for indentation at BOB.
1174 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1175
1176 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1177 calling next-sexp, since next-token may have skipped chars which
1178 next-sexp doesn't know should be skipped!
1179
6f6ab820
LL
11802013-10-05 Leo Liu <sdl.web@gmail.com>
1181
34d1a133
SM
1182 * progmodes/octave.el (octave-send-region):
1183 Call compilation-forget-errors.
6f6ab820 1184
34ca0f4c
XF
11852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1186
1187 * vc/vc-svn.el (vc-svn-find-admin-dir):
1188 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1189 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1190 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1191 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1192
a27c1b72
SM
11932013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1196
258ab3bc
SM
11972013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * subr.el (read-passwd): Hide chars even when called within a context
1200 where after-change-functions is disabled (bug#15501).
1201 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1202 until we removed ourself from overriding-terminal-local-map.
1203
939fb29c
LL
12042013-10-04 Leo Liu <sdl.web@gmail.com>
1205
258ab3bc
SM
1206 * progmodes/octave.el (inferior-octave-mode):
1207 Call compilation-forget-errors.
939fb29c 1208
63bd7f35
XF
12092013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1210
1211 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1212
9e6229fa
MA
12132013-10-04 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * net/secrets.el (secrets-create-collection): Add optional
1216 argument ALIAS. Use proper Label keyword. Append ALIAS as
1217 dbus-call-method argument. (Bug#15516)
1218
1dab32a3
LL
12192013-10-04 Leo Liu <sdl.web@gmail.com>
1220
1221 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1222 (inferior-octave-compilation-font-lock-keywords): New variables.
1223 (compilation-error-regexp-alist)
1224 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1225 (inferior-octave-mode): Use compilation-shell-minor-mode.
1226
6cad7ba3
JS
12272013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1228
1229 * minibuffer.el (completion--replace): Be careful that `end' might be
1230 a marker.
1231
acbadd00
DU
12322013-10-03 Daiki Ueno <ueno@gnu.org>
1233
1234 Add support for package signature checking.
1235 * emacs-lisp/package.el (url-http-file-exists-p)
1236 (epg-make-context, epg-context-set-home-directory)
1237 (epg-verify-string, epg-context-result-for)
1238 (epg-signature-status, epg-signature-to-string)
1239 (epg-check-configuration, epg-configuration)
1240 (epg-import-keys-from-file): Declare.
1241 (package-check-signature): New user option.
1242 (package-unsigned-archives): New user option.
1243 (package-desc): Add `signed' field.
1244 (package-load-descriptor): Set `signed' field if .signed file exists.
1245 (package--archive-file-exists-p): New function.
1246 (package--check-signature): New function.
1247 (package-install-from-archive): Check package signature.
1248 (package--download-one-archive): Check archive signature.
1249 (package-delete): Remove .signed file.
1250 (package-import-keyring): New command.
1251 (package-refresh-contents): Import default keyring.
1252 (package-desc-status): Add "unsigned" status.
1253 (describe-package-1, package-menu--print-info)
1254 (package-menu-mark-delete, package-menu--find-upgrades)
1255 (package-menu--status-predicate): Support "unsigned" status.
1256
adf2aa61
SM
12572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1260 the new compilation scheme using the new byte-codes.
1261
1262 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1263 (byte-pophandler): New byte codes.
1264 (byte-goto-ops): Adjust accordingly.
1265 (byte-compile--use-old-handlers): New var.
1266 (byte-compile-catch): Use new byte codes depending on
1267 byte-compile--use-old-handlers.
1268 (byte-compile-condition-case--old): Rename from
1269 byte-compile-condition-case.
1270 (byte-compile-condition-case--new): New function.
1271 (byte-compile-condition-case): New function that dispatches depending
1272 on byte-compile--use-old-handlers.
1273 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1274 when we can.
1275
1276 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1277 Optimize under `condition-case' and `catch' if
1278 byte-compile--use-old-handlers is nil.
1279 (disassemble-offset): Handle new bytecodes.
1280
328a8179
SM
12812013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * subr.el (error): Use `declare'.
1284 (decode-char, encode-char): Use advertised-calling-convention instead
1285 of the docstring to discourage use of the `restriction' arg.
1286
15a1e936
DU
12872013-10-03 Daiki Ueno <ueno@gnu.org>
1288
1289 * epg.el (epg-verify-file): Add a comment saying that it does not
1290 notify verification error as a return value nor a signal.
1291 (epg-verify-string): Ditto.
1292
376f862a
KR
12932013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1294
1295 * progmodes/compile.el (compilation-start): Try globbing the arg to
1296 `cd' (bug#15417).
1297
a2f93a5f
MA
12982013-10-02 Michael Albinus <michael.albinus@gmx.de>
1299
1300 Sync with Tramp 2.2.8.
1301
1302 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1303 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1304 * net/trampver.el: Update release number.
1305
0daa0804
JD
13062013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1307
1308 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1309 and default-process-coding-system for darwin only.
1310
abd1ae34
SM
13112013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1314
be4e325d
MH
13152013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1316
1317 * vc/vc-git.el (vc-git-grep): Disable pager.
1318
e9155c4a
DG
13192013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1320
494e898b
DG
1321 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1322 Use :url instead of :homepage, as per
1323 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1324
e9155c4a
DG
1325 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1326 non-nil, use `syntax-ppss' (Bug#15251).
1327
481a8e0f
RS
13282013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1329
be4e325d
MH
1330 * progmodes/octave.el (inferior-octave-startup-file):
1331 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1332
056453c6
DG
13332013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1334
be4e325d
MH
1335 * emacs-lisp/package.el (package-desc-from-define):
1336 Accept additional arguments as plist, convert them to an alist and store
1337 them in the `extras' slot.
056453c6
DG
1338 (package-generate-description-file): Convert extras alist back to
1339 plist and append to the `define-package' form arguments.
1340 (package--alist-to-plist): New function.
1341 (package--ac-desc): Add `extras' slot.
1342 (package--add-to-archive-contents): Check if the archive-contents
1343 vector is long enough, and if it is, pass its `extras' slot value
1344 to `package-desc-create'.
1345 (package-buffer-info): Call `lm-homepage', pass the returned value
1346 to `package-desc-from-define'.
1347 (describe-package-1): Render the homepage button (Bug#13291).
1348
be4e325d
MH
1349 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1350 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1351
832966e5
JD
13522013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1353
1354 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1355 and default-process-coding-system to utf-8-unix (Bug#15402).
1356
6cfe977d
XF
13572013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1358
1359 * subr.el (looking-back): Do not recommend using looking-back.
1360
38de11bd
AM
13612013-09-28 Alan Mackenzie <acm@muc.de>
1362
1363 Fix indentation/fontification of Java enum with "implements".
1364
1365 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1366 regexp which matches "implements", etc., in Java.
1367 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1368 specifier clauses coming after "enum".
1369 * progmodes/cc-fonts.el (c-font-lock-declarations)
1370 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1371 after "enum".
1372
1610938f
JD
13732013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1374
1375 * faces.el (region): Change ns_selection_color to
1376 ns_selection_fg_color, add ns_selection_bg_color.
1377
e090f499
LL
13782013-09-28 Leo Liu <sdl.web@gmail.com>
1379
4d2e94d1
LL
1380 * progmodes/octave.el (inferior-octave-completion-table)
1381 (inferior-octave-completion-at-point): Minor tweaks.
1382
e090f499
LL
1383 * textmodes/ispell.el (ispell-lookup-words): Rename from
1384 lookup-words. (Bug#15460)
1385 (lookup-words): Obsolete.
1386 (ispell-complete-word, ispell-command-loop): All uses changed.
1387
7e138a62
RS
13882013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1389
1390 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1391 (octave-mode-menu): Add octave-send-buffer.
1392 (octave-send-buffer): New function.
1393
5af5ed08
RS
13942013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1395
1396 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1397 octave-lookfor.
1398 (octave-mode-menu): Add octave-lookfor.
1399 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1400 octave-lookfor.
1401 (octave-lookfor): New function.
1402
3b7b2692
SM
14032013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * emacs-lisp/cl-macs.el:
1406 (cl--loop-destr-temps): Remove.
1407 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1408 its convention.
1409 (cl--loop-set-iterator-function): New function.
1410 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1411 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1412 Bind `it' with `let' instead of substituting it with `cl-subst'.
1413 (cl--unused-var-p): New function.
1414 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1415 Eliminate some unused variable warnings (bug#15326).
1416
529fb53f
TH
14172013-09-27 Tassilo Horn <tsdh@gnu.org>
1418
1419 * doc-view.el (doc-view-scale-reset): Rename from
1420 `doc-view-reset-zoom-level'.
1421 (doc-view-scale-adjust): New command.
1422 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1423 `doc-view-scale-adjust'.
1424
0550c95a
TH
14252013-09-26 Tassilo Horn <tsdh@gnu.org>
1426
1427 * doc-view.el (doc-view-reset-zoom-level): New command.
1428 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1429 zoom commands (bug#15466).
1430
6950f152
KH
14312013-09-26 Kenichi Handa <handa@gnu.org>
1432
1433 * international/quail.el (quail-help): Make it not a command.
1434
39587580
LL
14352013-09-26 Leo Liu <sdl.web@gmail.com>
1436
1437 * minibuffer.el (completion-all-sorted-completions): Make args
1438 optional as they are.
1439
00578659
DC
14402013-09-25 Daniel Colascione <dancol@dancol.org>
1441
1442 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1443 specs are and that they're not evaluated.
1444
0c173878
SS
14452013-09-24 Sam Steingold <sds@gnu.org>
1446
1447 * midnight.el (clean-buffer-list-kill-regexps)
1448 (clean-buffer-list-kill-buffer-names): Update for the new Man
1449 buffer naming which includes the object name.
1450
84998447
SM
14512013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1454 (eshell-parse-command, eshell-parse-pipeline): Use it since
1455 eshell-separate-commands requires a dynamic scoped var.
1456 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1457
33215353
LL
14582013-09-23 Leo Liu <sdl.web@gmail.com>
1459
1460 * autoinsert.el (auto-insert-alist): Make the value of
1461 lexical-binding match its file setting.
1462
57b16162
JB
14632013-09-23 Juanma Barranquero <lekktu@gmail.com>
1464
c8af4e67
JB
1465 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1466
57b16162
JB
1467 * autoarg.el (autoarg-kp-digit-argument):
1468 * electric.el (Electric-command-loop):
1469 * kmacro.el (kmacro-step-edit-insert):
1470 Do not set universal-argument-num-events.
1471
7186ba60
LL
14722013-09-22 Leo Liu <sdl.web@gmail.com>
1473
1474 * files.el (interpreter-mode-alist): Add octave.
1475
ece15004
AM
14762013-09-21 Alan Mackenzie <acm@muc.de>
1477
1478 C++: fontify identifier in declaration following "public:" correctly.
1479 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1480 to match "public", etc.
1481 (c-decl-prefix-re): Add ":" into the C++ value.
1482 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1483 bit. Add a check for a ":" preceded by "public", etc.
1484
75d83e22
EZ
14852013-09-21 Eli Zaretskii <eliz@gnu.org>
1486
1487 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1488 recognized by GDB 7.5 and later.
1489
d052d3bd
XF
14902013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1491
1492 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1493
31dca772
R
14942013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * subr.el (internal--call-interactively): New const.
1497 (called-interactively-p): Use it (bug#3984).
1498
98ccf24e
XF
14992013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1500
1501 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1502 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1503 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1504
c39cc7d1
SM
15052013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1506
1507 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1508 (eshell-ls-orig-insert-directory): Remove.
1509 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1510 (eshell-ls-use-in-dired): Use advice-add/remove.
1511 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1512 Add `orig-fun' arg for use in :around advice.
1513 Make it check (redundantly) eshell-ls-use-in-dired.
1514
9a0289a2
GM
15152013-09-19 Glenn Morris <rgm@gnu.org>
1516
a2c501b8
GM
1517 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1518
c440407a
GM
1519 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1520
9a0289a2
GM
1521 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1522
85e05915
MA
15232013-09-19 Michael Albinus <michael.albinus@gmx.de>
1524
1525 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1526 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1527 (tramp-get-remote-python): New defuns.
1528 (tramp-get-remote-uid-with-perl)
1529 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1530 contributed by yary <not.com@gmail.com> (tiny change).
1531 (tramp-get-remote-uid-with-python)
1532 (tramp-get-remote-gid-with-python): New defuns. Python code
1533 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1534 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1535
ce503312
GM
15362013-09-19 Glenn Morris <rgm@gnu.org>
1537
f7544773
GM
1538 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1539
72fd2877
GM
1540 * eshell/em-unix.el (eshell-remove-entries):
1541 Rename argument to avoid name-clash with global `top-level'.
1542
336b5a56
GM
1543 * eshell/esh-proc.el (eshell-kill-process-function):
1544 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1545 (eshell-reset-after-proc): Remove unused arg `proc'.
1546
57a3a53d
GM
1547 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1548 (directory-files-and-attributes): Mark unused arg.
1549
3261d4af
GM
1550 * eshell/em-unix.el (eshell-remove-entries):
1551 Remove unused arg `path'. Update callers.
1552
8e51b5d0
GM
1553 * eshell/em-hist.el (eshell-hist-parse-arguments):
1554 Remove unused arg `silent'. Update callers.
1555
ce503312
GM
1556 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1557 Fix (f)boundp mix-up.
1558
1559 * eshell/em-smart.el (eshell-smart-scroll-window)
1560 (eshell-disable-after-change):
336b5a56 1561 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1562
ee3ce8a7
AM
15632013-09-18 Alan Mackenzie <acm@muc.de>
1564
1565 Fix fontification of type when followed by "const".
1566 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1567 "known" types from fontification.
1568
ec9177ba
GM
15692013-09-18 Glenn Morris <rgm@gnu.org>
1570
7bb3e768
GM
1571 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1572 (chart-face-list): Drop Emacsen without display-color-p.
1573
5148da15
GM
1574 * net/eww.el (libxml-parse-html-region): Declare.
1575 (eww-display-html): Explicit error if no libxml2 support.
1576
2f68e157
GM
1577 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1578
9019d095
GM
1579 * image.el (image-type-from-buffer, image-multi-frame-p):
1580 Remove --without-x warning/error.
67645389 1581
5f30349b 1582 * mouse.el (mouse-yank-primary):
45069b2e 1583 * term.el (term-mouse-paste):
5f30349b
GM
1584 Reorder to silence --without-x compilation.
1585
cd8edbbe
GM
1586 * mpc.el (doc-view-mode): Silence --without-x compilation.
1587
8a78544e
GM
1588 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1589 Silence --without-x compilation.
1590
12679bfd
GM
1591 * progmodes/gud.el (gud-find-file, gud-mode):
1592 Silence --without-x compilation.
1593 (tooltip-mode): Declare.
30810a05 1594
f0047cb9
GM
1595 * wdired.el (dired-backup-overwrite): Remove declaration.
1596 (wdired-mode-map): Add doc string.
1597
e740f9d2
GM
1598 * custom.el (x-get-resource): Declare.
1599
92d77c89
GM
1600 * eshell/em-glob.el (ange-cache):
1601 * eshell/em-unix.el (ange-cache): Declare.
1602
76e69577
GM
1603 * faces.el (x-display-list, x-open-connection, x-get-resource):
1604 Declare.
7e58af4b
GM
1605
1606 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1607 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1608 Declare.
76e69577 1609
4bd4c0af 1610 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1611
ffb82dbd
GM
1612 * net/gnutls.el (gnutls-log-level): Declare.
1613
986ed135
GM
1614 * net/shr.el (image-size, image-animate): Declare.
1615
e740f9d2
GM
1616 * simple.el (font-info): Declare.
1617
d2f3e9f8
GM
1618 * subr.el (x-popup-dialog): Declare.
1619
047a1a4c
GM
1620 * term/common-win.el (x-select-enable-primary)
1621 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1622 Declare.
1623
f4a1d572
GM
1624 * term/ns-win.el (x-handle-args): Declare.
1625
e843de77
GM
1626 * term/x-win.el (x-select-enable-clipboard): Declare.
1627
5fa89513
GM
1628 * term/w32-win.el (create-default-fontset): Declare.
1629
38702b5b
GM
1630 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1631 Declare.
1632
e740f9d2
GM
1633 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1634 (fit-frame-to-buffer): Explicit error if --without-x.
1635 (mouse-autoselect-window-select): Silence compiler.
1636
49a053fc
GM
1637 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1638
1639 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1640 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1641 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1642 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1643 Remove unused local variables.
1644
1645 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1646
ec9177ba
GM
1647 * textmodes/two-column.el: Make 2C-split work for --without-x.
1648 (scroll-bar-columns): Autoload.
1649 (top-level): Require fringe when compiling.
1650
9f25cb77
LL
16512013-09-18 Leo Liu <sdl.web@gmail.com>
1652
1653 * subr.el (add-hook): Robustify to handle closure as well.
1654
2b42da98
GM
16552013-09-17 Glenn Morris <rgm@gnu.org>
1656
1657 * simple.el (messages-buffer-mode-map): Unbind "g".
1658
e8b66a6a
SM
16592013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1660
9c0ad4f7
SM
1661 * help-mode.el (help-mode-finish): Use derived-mode-p.
1662 Remove obsolete highlighting.
1663
7a806dfb
SM
1664 * play/life.el (life-mode): Use define-derived-mode. Derive from
1665 special-mode.
1666 (life): Let-bind inhibit-read-only.
1667 (life-setup): Avoid `setq'. Use `life-mode'.
1668
96dbf5a8
SM
1669 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1670 which should not be needed any more.
1671 (package-menu-refresh, package-menu-describe-package): Use user-error.
1672
e8b66a6a
SM
1673 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1674 (eshell-post-rewrite-command-hook): Make obsolete.
1675 (eshell-parse-command): Simplify.
1676 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1677 (eshell--cmd): Declare.
1678 (eshell-parse-pipeline): Remove unused var `final-p'.
1679 Pass a dynvar to eshell-post-rewrite-command-hook.
1680 Implement the new eshell-post-rewrite-command-function.
1681 (eshell-invoke-directly): Remove unused arg `input'.
1682 * eshell/esh-io.el (eshell-io-initialize):
1683 Use eshell-post-rewrite-command-function (bug#15399).
1684 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1685 adjust to new calling convention.
1686 (eshell-create-handles): Rename args to avoid clashing with dynvar
1687 `standard-output'.
1688
90582f05
GM
16892013-09-17 Glenn Morris <rgm@gnu.org>
1690
1691 * simple.el (messages-buffer-mode): New major mode.
1692 (messages-buffer): New function.
1693 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1694 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1695 (ert-run-test): Use `messages-buffer' function.
90582f05 1696 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1697 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1698 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1699
39eb0cb5 17002013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1701
1702 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1703
1f1e06e2
SM
1704 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1705
70568a90
SM
17062013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1707
504a0381
SM
1708 * icomplete.el (icomplete-in-buffer): New var.
1709 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1710 vars and replace them with functions.
1711 (icomplete-minibuffer-setup): Adjust accordingly.
1712 (icomplete--completion-table, icomplete--completion-predicate)
1713 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1714 New functions.
1715 (icomplete-forward-completions, icomplete-backward-completions)
1716 (icomplete-simple-completing-p, icomplete-exhibit)
1717 (icomplete-completions): Use them.
1718 (icomplete--in-region-buffer): New var.
1719 (icomplete--in-region-setup): New function.
1720 (icomplete-mode): Use it.
1721
70568a90
SM
1722 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1723 (bug#15379).
1724 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1725 return args and options.
1726 (eshell-eval-using-options): Use the new return value of
1727 eshell--do-opts to set the options's vars in their scope.
1728 (eshell--set-option): Rename from eshell-set-option.
1729 Add arg `opt-vals'.
1730 (eshell--process-option): Rename from eshell-process-option.
1731 Add arg `opt-vals'.
1732 (eshell--process-args): Use an `opt-vals' alist to store the options's
1733 values during their processing and return them additionally to the
1734 remaining args.
1735
578c21bc
DG
17362013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1737
1738 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1739 continuation character an operator, as far as indentation is
1740 concerned (Bug#15369).
1741
c089653d
MR
17422013-09-15 Martin Rudalics <rudalics@gmx.at>
1743
1744 * window.el (window--state-put-2): Don't process buffer state
1745 when buffer doesn't exist any more (Bug#15382).
1746
1e53bb4b
GM
17472013-09-15 Glenn Morris <rgm@gnu.org>
1748
30753242
GM
1749 * eshell/em-unix.el (eshell/rm):
1750 Make -f ignore missing files. (Bug#15373)
1751
1e53bb4b
GM
1752 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1753 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1754 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1755
0d8863b3
GM
17562013-09-14 Glenn Morris <rgm@gnu.org>
1757
1758 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1759
d3fc6549
GM
17602013-09-13 Glenn Morris <rgm@gnu.org>
1761
1762 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1763 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1764
fcd42c11
DA
17652013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1766
1767 * frame.el (x-focus-frame): Mark as declared in frame.c.
1768
7830899f
SM
17692013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * ls-lisp.el: Use advice-add.
1772 (original-insert-directory): Remove.
1773 (ls-lisp--insert-directory): Rename from insert-directory; add
1774 `orig-fun' argument.
1775 (insert-directory): Advise.
1776
84387cd2
EZ
17772013-09-13 Eli Zaretskii <eliz@gnu.org>
1778
1779 * term.el (term-emulate-terminal): Decode the command string
1780 before passing it to term-command-hook. (Bug#15337)
1781
35ffc6ba
GM
17822013-09-13 Glenn Morris <rgm@gnu.org>
1783
5c3f9bcc
GM
1784 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1785
2ada368a
GM
1786 * eshell/esh-ext.el (eshell-search-path): Declare.
1787
fcef2e13
GM
1788 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1789 Otherwise an error occurs if eshell-dirs module not loaded.
1790
35ffc6ba
GM
1791 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1792
35c3d36e
MA
17932013-09-13 Michael Albinus <michael.albinus@gmx.de>
1794
1795 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1796 `tramp-check-proper-host'. Check for a valid method name.
1797
1798 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1799 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1800 * net/tramp-sh.el (tramp-maybe-open-connection):
1801 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1802
1803 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1804 also for hash values.
1805
ae5e4c48
SM
18062013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1807
379add74
SM
1808 * term/ns-win.el (parameters): Don't declare as dynamic.
1809 (before-make-frame-hook): Don't add ineffective function.
1810
ae5e4c48
SM
1811 * eshell/*.el: Use lexical-binding (bug#15231).
1812
b5623270
KH
18132013-09-12 Kenichi Handa <handa@gnu.org>
1814
ae5e4c48 1815 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1816
30213927
GM
18172013-09-12 Glenn Morris <rgm@gnu.org>
1818
be94d713 1819 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1820 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1821
44915370
GM
1822 * subr.el (do-after-load-evaluation): Also give compiler warnings
1823 when obsolete files are used (except by obsolete files).
1824
a6ae021f
GM
1825 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1826 in the status output, assume `filename' is the first. (Bug#15322)
1827
40e64f0c
GM
1828 * vc/vc.el (vc-deduce-fileset): Doc fix.
1829
16d9f896
GM
1830 * calc/calc-help.el (Info-goto-node):
1831 * progmodes/cperl-mode.el (Info-find-node):
1832 * vc/ediff.el (Info-goto-node): Update declarations.
1833
dea01c6e
GM
1834 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1835
759880bf 1836 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1837 (vc-bzr-pull): Require vc-dispatcher.
1838 * vc/vc-git.el (vc-compilation-mode): Declare.
1839 (vc-git-pull): Require vc-dispatcher.
1840
08d66420
GM
1841 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1842
30b626e9
GM
1843 * progmodes/octave.el (help-button-action): Declare.
1844
8c05cb10
GM
1845 * shell.el (shell-directory-tracker): Output error as a message
1846 rather than just returning it as a string.
1847 (shell-process-pushd): Remove useless use of message.
1848
30213927
GM
1849 * dframe.el (dframe-timer-fn):
1850 * files.el (dir-locals-read-from-file):
1851 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1852 (mpc-format):
1853 * reveal.el (reveal-post-command):
1854 * saveplace.el (load-save-place-alist-from-file):
1855 * shell.el (shell-resync-dirs):
1856 * w32-common-fns.el (x-get-selection-value):
1857 * emacs-lisp/copyright.el (copyright-find-copyright):
1858 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1859 * emulation/tpu-edt.el (tpu-copy-keyfile):
1860 * play/bubbles.el (bubbles--mark-neighbourhood):
1861 * progmodes/executable.el
1862 (executable-make-buffer-file-executable-if-script-p):
1863 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1864
d3b049e6
SM
18652013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1866
170266d0
SM
1867 Cleanup Eshell to rely less on dynamic scoping.
1868 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1869 last-value, and ext-command here. Bind `args' closer to `body'.
1870 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1871 (eshell--args): Declare new dynamic var.
1872 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1873 last-value, and ext-command. Pass `args' to `body'.
1874 (eshell-process-args): Bind eshell--args.
1875 (eshell-set-option): Use eshell--args.
1876 * eshell/eshell.el (eshell): Use derived-mode-p.
1877 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1878 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1879 (eshell-glob-function): Declare.
1880 * eshell/esh-util.el: Require cl-lib.
1881 (eshell-read-hosts-file): Avoid add-to-list.
1882 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1883 `err'.
1884 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1885 Declare.
1886 (eshell/diff): Remove unused var `err'.
1887 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1888 `killflag'.
1889 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1890 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1891 first use.
1892 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1893 Move declaration before first use.
1894 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1895 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1896 rely on cl-return.
1897
56834f3b
GM
18982013-09-12 Glenn Morris <rgm@gnu.org>
1899
1900 * term/ns-win.el (global-map): Remove binding for ispell-next,
1901 deleted 1999-05-29. (Bug#15357)
1902
5c91a2b8
GM
19032013-09-11 Glenn Morris <rgm@gnu.org>
1904
da712f22
GM
1905 * echistory.el (electric-command-history): Remove call to deleted func.
1906
512e4cdc
GM
1907 * play/landmark.el (landmark-mode): Fix typos.
1908
d3506ca5
GM
1909 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1910 Check cvs-sort-ignore-file is bound.
1911
5c91a2b8
GM
1912 * savehist.el: No need for cl when compiling on Emacs.
1913
feeff482
SM
19142013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1915
656bd483
SM
1916 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1917 (bug#15338).
d3b049e6
SM
1918 (eshell-self-insert-command, eshell-send-invisible):
1919 Remove unused argument.
656bd483
SM
1920 (eshell-handle-control-codes): Remove unused var `orig'.
1921 Avoid delete-backward-char.
1922
feeff482
SM
1923 * files.el (set-auto-mode): Simplify a bit further.
1924
2a08047a
GM
19252013-09-11 Glenn Morris <rgm@gnu.org>
1926
1927 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1928 (set-auto-mode): Don't regexp-quote elements.
1929 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1930 * progmodes/cc-mode.el (interpreter-mode-alist):
1931 * progmodes/ruby-mode.el (interpreter-mode-alist):
1932 Revert previous change.
1933
34675540
SM
19342013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1b3b87df
SM
1936 * play/snake.el (snake-mode):
1937 * play/mpuz.el (mpuz-mode):
1938 * play/landmark.el (lm-mode):
1939 * play/blackbox.el (blackbox-mode):
1940 * play/5x5.el (5x5-mode):
1941 * obsolete/options.el (Edit-options-mode):
1942 * net/quickurl.el (quickurl-list-mode):
1943 * net/newst-treeview.el (newsticker-treeview-mode):
1944 * mail/rmailsum.el (rmail-summary-mode):
1945 * mail/mspools.el (mspools-mode):
1946 * locate.el (locate-mode):
1947 * ibuffer.el (ibuffer-mode):
1948 * emulation/ws-mode.el (wordstar-mode):
1949 * emacs-lisp/debug.el (debugger-mode):
1950 * array.el (array-mode):
1951 * net/eudc.el (eudc-mode): Use define-derived-mode.
1952 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1953 Move initialization into declaration.
1954 (mairix-searches-mode): Use define-derived-mode.
1955 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1956 (eudc-edit-hotlist): Use dolist.
1957 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1958 (Man-mode): Use define-derived-mode.
1959 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1960 (Info-edit-mode): Use define-derived-mode.
1961 (Info-cease-edit): Use Info-mode.
1962 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1963 into declaration.
1964 (eshell-mode): Use define-derived-mode.
1965 * chistory.el (command-history-mode-map): Rename from
1966 command-history-map.
1967 (command-history-mode): Use define-derived-mode.
da712f22 1968 (Command-history-setup): Remove function.
1b3b87df
SM
1969 * calc/calc.el (calc-trail-mode-map): New var.
1970 (calc-trail-mode): Use define-derived-mode.
1971 (calc-trail-buffer): Set calc-main-buffer manually.
1972 * bookmark.el (bookmark-insert-annotation): New function.
1973 (bookmark-edit-annotation): Use it.
1974 (bookmark-edit-annotation-mode): Make it a proper major mode.
1975 (bookmark-send-edited-annotation): Use derived-mode-p.
1976 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1977 closer to its ideal place. Use \' to match EOS.
1978
34675540
SM
1979 * profiler.el (profiler-calltree-find): Use function-equal.
1980
6a5c15d9
GM
19812013-09-10 Glenn Morris <rgm@gnu.org>
1982
1af4c220
GM
1983 * files.el (interpreter-mode-alist): Convert to regexps.
1984 (set-auto-mode): Adapt for this. (Bug#15306)
1985 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1986 Comment out unused variable.
1987 * progmodes/cc-mode.el (interpreter-mode-alist):
1988 * progmodes/python.el (interpreter-mode-alist):
1989 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1990 * progmodes/sh-script.el (sh-set-shell):
1991 No longer use interpreter-mode-alist to get list of shells.
1992
6a5c15d9
GM
1993 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1994
8c27f5ff
SM
19952013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1996
02ef6c1a 1997 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1998 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1999 Bind switch-frame explicitly. Replace universal-argument-minus with
2000 a conditional binding.
2001 (universal-argument-num-events, saved-overriding-map): Remove.
2002 (restore-overriding-map): Remove.
2003 (universal-argument--mode): Rename from save&set-overriding-map,
2004 and rewrite.
2005 (universal-argument, universal-argument-more, negative-argument)
2006 (digit-argument): Adjust accordingly.
2007 (universal-argument-minus): Remove.
2008 (universal-argument-other-key): Remove.
2009
8c27f5ff
SM
2010 * subr.el (with-demoted-errors): Add `format' argument.
2011
6480194c
MA
20122013-09-10 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2015 `tramp-cleanup-connection'.
2016
2017 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2018 parameters KEEP-DEBUG and KEEP-PASSWORD.
2019
2020 * net/tramp.el (tramp-file-name-handler):
2021 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2022 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2023 (tramp-maybe-open-connection):
8c27f5ff
SM
2024 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2025 Use `tramp-cleanup-connection'.
6480194c 2026
8c27f5ff
SM
2027 * net/tramp-sh.el (tramp-maybe-open-connection):
2028 Catch 'uname-changed inside the progress reporter.
6480194c 2029
e5e916d8
GM
20302013-09-10 Glenn Morris <rgm@gnu.org>
2031
9a2c9b47
GM
2032 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2033
e5e916d8
GM
2034 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2035 returns "alternate access method" in mode (eg "-rw-r--r--.").
2036
144e38fe
GM
20372013-09-08 Glenn Morris <rgm@gnu.org>
2038
2039 * saveplace.el (load-save-place-alist-from-file):
2040 Demote errors. (Bug#15305)
2041
af9ff9e8
MA
20422013-09-08 Michael Albinus <michael.albinus@gmx.de>
2043
2044 Improve compatibility with older Emacsen, and XEmacs.
2045
2046 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2047 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2048 (with-tramp-progress-reporter): Do not let-bind `result'.
2049 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2050 (tramp-handle-make-auto-save-file-name): New function, moved from
2051 tramp-sh.el.
2052
2053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2054 for `make-auto-save-file-name'.
8c27f5ff
SM
2055 (tramp-adb--gnu-switches-to-ash):
2056 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2057
2058 * net/tramp-cache.el (tramp-cache-print): Call
2059 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2060
2061 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2062 bound. It isn't for XEmacs.
2063
8c27f5ff
SM
2064 * net/tramp-compat.el (tramp-compat-copy-file):
2065 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2066 (tramp-compat-replace-regexp-in-string): New defun.
2067
2068 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2069 for `make-auto-save-file-name'.
2070 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2071 `copy-file'.
2072 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2073 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2074 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2075
8c27f5ff
SM
2076 * net/tramp-gw.el (tramp-gw-open-network-stream):
2077 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2078
8c27f5ff
SM
2079 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2080 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2081 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2082 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2083 (tramp-sh-file-inotifywait-process-filter):
2084 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2085 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2086
2087 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2088 for `make-auto-save-file-name'.
8c27f5ff
SM
2089 (tramp-smb-handle-copy-directory):
2090 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2091 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2092 (tramp-smb-handle-copy-file): Improve error message.
2093 (tramp-smb-handle-rename-file): Rename directly only in case
2094 `newname' does not exist yet. This is a restriction of smbclient.
2095 (tramp-smb-maybe-open-connection): Rerun the function only when
2096 `auth-sources' is non-nil.
2097
0ca754d0
KH
20982013-09-08 Kenichi Handa <handa@gnu.org>
2099
2100 * international/characters.el: Set category "^" (Combining) for
2101 more characters.
2102
e8dd0787
AM
21032013-09-07 Alan Mackenzie <acm@muc.de>
2104
2105 Correctly fontify Java class constructors.
2106 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2107 in Java Mode.
2108 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2109 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2110 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2111 "typeless" declaration there.
2112
f2f248e7
RW
21132013-09-07 Roland Winkler <winkler@gnu.org>
2114
2115 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2116 field subtitle for entry type book.
2117
67982e2b
SM
21182013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * minibuffer.el: Make minibuffer-complete call completion-in-region
2121 rather than other way around.
2122 (completion--some, completion-pcm--find-all-completions):
2123 Don't delay signals when debugging.
2124 (minibuffer-completion-contents): Beware fields within the
2125 minibuffer contents.
2126 (completion-all-sorted-completions): Use defvar-local.
2127 (completion--do-completion, completion--cache-all-sorted-completions)
2128 (completion-all-sorted-completions, minibuffer-force-complete):
2129 Add args `beg' and `end'.
2130 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2131 (minibuffer-complete): Use completion-in-region.
2132 (completion-complete-and-exit): New fun, extracted from
2133 minibuffer-complete-and-exit.
2134 (minibuffer-complete-and-exit): Use it.
2135 (completion--complete-and-exit): Rename from
2136 minibuffer--complete-and-exit.
2137 (completion-in-region--single-word): New function, extracted from
2138 minibuffer-complete-word.
2139 (minibuffer-complete-word): Use it.
2140 (display-completion-list): Make `common-substring' argument obsolete.
2141 (completion--in-region): Call completion--in-region-1 instead of
2142 minibuffer-complete.
2143 (completion-help-at-point): Pass boundaries to
2144 minibuffer-completion-help as args rather than via an overlay.
2145 (completion-pcm--string->pattern): Use `any-delim'.
2146 (completion-pcm--optimize-pattern): New function.
2147 (completion-pcm--pattern->regex): Handle `any-delim'.
2148 * icomplete.el (icomplete-forward-completions)
2149 (icomplete-backward-completions, icomplete-completions):
2150 Adjust calls to completion-all-sorted-completions and
2151 completion--cache-all-sorted-completions.
2152 (icomplete-with-completion-tables): Default to t.
2153 * emacs-lisp/crm.el (crm--current-element): Rename from
2154 crm--select-current-element. Don't put an overlay but return the
2155 boundaries instead.
2156 (crm--completion-command): Take two new args to bind to the boundaries.
2157 (crm-completion-help): Adjust accordingly.
2158 (crm-complete): Use completion-in-region.
2159 (crm-complete-word): Use completion-in-region--single-word.
2160 (crm-complete-and-exit): Use completion-complete-and-exit.
2161
e17d94a5
SM
21622013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2165 than dynamically.
2166
96727100
JL
21672013-09-06 Juri Linkov <juri@jurta.org>
2168
2169 * info.el (Info-display-images-node): When image file doesn't exist
2170 display text version of the image if it's provided in the Info file.
2171 Otherwise, display the location of missing image from SRC attribute.
2172 Add help-echo text property from ALT attribute. (Bug#15279)
2173
86cf7329
SM
21742013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2177 (edit-abbrevs-mode): Use define-derived-mode.
2178
2179 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2180 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2181 that it's defined.
2182 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2183 Use define-derived-mode.
2184
2185 * epg.el (epg-start-encrypt): Minor CSE simplification.
2186
816244a2
WX
21872013-09-06 William Xu <william.xwl@gmail.com>
2188
2189 * arc-mode.el: Add support for 7za (bug#15264).
2190 (archive-7z-program): New var.
2191 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2192 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2193 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2194
1486fa31
MA
21952013-09-06 Michael Albinus <michael.albinus@gmx.de>
2196
2197 Remove URL syntax.
2198
2199 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2200 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2201 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2202 (tramp-postfix-host-format, tramp-file-name-regexp)
2203 (tramp-completion-file-name-regexp)
2204 (tramp-completion-dissect-file-name)
2205 (tramp-handle-substitute-in-file-name): Remove 'url case.
2206 (tramp-file-name-regexp-url)
2207 (tramp-completion-file-name-regexp-url): Remove constants.
2208
39785324
GM
22092013-09-06 Glenn Morris <rgm@gnu.org>
2210
2211 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2212
1f896cb7
DG
22132013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2214
2215 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2216 keywords" below "here-doc beginnings" (Bug#15270).
2217
c0458e0b
SM
22182013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * subr.el (pop): Use `car-safe'.
2221 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2222 to detect unused `pop' return value.
2223
2224 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2225 var `block-regexp'.
2226 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2227 (python-fill-string): Remove unused var `marker'.
2228 (python-skeleton-add-menu-items): Remove unused var `items'.
2229
2230 * international/mule-cmds.el: Require CL.
2231 (find-coding-systems-for-charsets): Avoid add-to-list.
2232 (sanitize-coding-system-list): New function, extracted from
2233 select-safe-coding-system-interactively.
2234 (select-safe-coding-system-interactively): Use it.
2235 (read-input-method-name): Accept symbols for `default'.
2236
2237 * emacs-lisp/advice.el (defadvice): Add indent rule.
2238
6c42fc3e
DH
22392013-09-05 Daniel Hackney <dan@haxney.org>
2240
2241 * dired-x.el:
2242 * net/ange-ftp.el:
2243 * net/browse-url.el:
2244 * net/dbus.el:
2245 * net/eudc.el:
2246 * net/eudcb-ldap.el:
2247 * net/eww.el:
2248 * net/imap.el:
2249 * printing.el:
2250 * vc/ediff-diff.el:
2251 * vc/ediff-init.el:
2252 * vc/ediff-merg.el:
2253 * vc/ediff-mult.el:
2254 * vc/ediff-util.el:
2255 * vc/ediff-wind.el:
2256 * vc/ediff.el:
2257 * vc/emerge.el:
2258 * vc/pcvs.el:
2259 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2260 byte compiler. Remove some unused let-bound variables.
2261
4c528aab
SM
22622013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2265 a "ref-cell", since it gets better optimized (bug#14883).
2266
bd15c390
GM
22672013-09-05 Glenn Morris <rgm@gnu.org>
2268
2269 * progmodes/cc-awk.el (c-forward-sws): Declare.
2270
1c3ac2e5
GM
22712013-09-04 Glenn Morris <rgm@gnu.org>
2272
2273 * generic-x.el [rul-generic-mode]: Require cc-mode.
2274 (c++-mode-syntax-table): Declare.
2275 (rul-generic-mode-syntax-table): Init in the defvar.
2276
52b1cc79
SM
22772013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2278
c828af56
SM
2279 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2280 (vc-do-command, vc-set-async-update):
2281 * vc/vc-mtn.el (vc-mtn-dir-status):
2282 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2283 (vc-hg-pull, vc-hg-merge-branch):
2284 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2285 (vc-git-merge-branch):
2286 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2287 (vc-cvs-dir-status-files):
2288 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2289 (vc-bzr-dir-status-files):
2290 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2291 * vc/vc-annotate.el: Use lexical-binding.
2292 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2293 (vc-sentinel-movepoint): Declare.
2294 (vc-annotate): Don't use `goto-line'.
2295 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2296 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2297 (vc-sentinel-movepoint): Declare.
2298 * vc/vc-svn.el: Use lexical-binding.
2299 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2300 * vc/vc-sccs.el:
2301 * vc/vc-rcs.el: Use lexical-binding.
2302
abae272c
SM
2303 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2304 `deleted'. Don't drop errors silently.
2305
52b1cc79
SM
2306 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2307
63191d9f
XF
23082013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2309
2310 * vc/vc.el (vc-ignore): Rewrite.
2311 (vc-default-ignore): New function.
2312 (vc-default-ignore-completion-table): Use find-ignore-file.
2313
2314 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2315 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2316 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2317 Remove. Most code moved to vc.el.
2318
9d3f707c
SM
23192013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2320
abae272c 2321 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2322 * net/tramp-smb.el (tramp-smb-get-file-entries):
2323 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2324 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2325
fde38d49
SM
2326 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2327 Update call to it.
2328 (eww-change-select): Remove unused var `properties'.
2329 (eww-make-unique-file-name): Remove unused var `base'.
2330
2331 * finder.el (finder-compile-keywords): Don't mess with windows.
2332
84032db7
SM
2333 * calculator.el (calculator-funcall): Fix typo in last change.
2334
724f5e41
SM
2335 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2336
14b511d4
SM
2337 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2338 <pkg>-autoloads.el file stop us.
2339
9d3f707c 2340 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2341 warnings, and factor out common code.
9d3f707c 2342
88527bc0
DG
23432013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2344
2345 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2346 two-character operators and whether the character preceding them
2347 changes their meaning (Bug#15208).
2348
96edb677
FEG
23492013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2350
2351 Format code sent to Python shell for robustness.
9d3f707c
SM
2352 * progmodes/python.el (python-shell-buffer-substring):
2353 New function.
96edb677
FEG
2354 (python-shell-send-region, python-shell-send-buffer): Use it.
2355
95beaef3
MA
23562013-09-02 Michael Albinus <michael.albinus@gmx.de>
2357
2358 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2359 * net/tramp.el (tramp-user-error): ... here.
2360 (tramp-find-method, tramp-check-proper-host)
2361 (tramp-dissect-file-name, tramp-debug-message)
2362 (tramp-handle-shell-command):
2363 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2364 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2365
2366 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2367
f167c27b
MR
23682013-09-02 Martin Rudalics <rudalics@gmx.at>
2369
2370 * avoid.el (mouse-avoidance-point-position)
2371 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2372 returns nil.
2373
cd16c5f1
FEG
23742013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2375
2376 * progmodes/python.el (python-shell-completion-get-completions):
2377 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2378 (python-nav-if-name-main): New command.
cd16c5f1 2379
e73c3a0d
GM
23802013-09-01 Glenn Morris <rgm@gnu.org>
2381
f8ccce03
GM
2382 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2383 Avoid leading space in $wins. Otherwise the sed command used by
2384 eg compile-main ends up containing "/*.el". (Bug#15170)
2385
e73c3a0d
GM
2386 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2387
415f808e
GM
23882013-08-30 Glenn Morris <rgm@gnu.org>
2389
2390 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2391 Fix is-this-a-directory logic. (Bug#15220)
2392
f069bba8
SM
23932013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2394
112798c1
SM
2395 * textmodes/css-mode.el: Use SMIE.
2396 (css-smie-grammar): New var.
2397 (css-smie--forward-token, css-smie--backward-token)
2398 (css-smie-rules): New functions.
2399 (css-mode): Use them.
2400 (css-navigation-syntax-table): Remove var.
2401 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2402 (css-indent-calculate, css-indent-line): Remove functions.
2403
2404 Misc changes to reduce use of `(lambda...); and other cleanups.
2405 * cus-edit.el: Use lexical-binding.
2406 (customize-push-and-save, customize-apropos)
2407 (custom-buffer-create-internal): Use closures.
2408 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2409 * progmodes/ada-xref.el: Use setq.
2410 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2411 * dframe.el: Use lexical-binding.
2412 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2413 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2414 * descr-text.el: Use lexical-binding.
2415 (describe-text-widget, describe-text-sexp, describe-property-list):
2416 Use closures.
2417 * comint.el (comint-history-isearch-push-state): Use a closure.
2418 * calculator.el: Use lexical-binding.
2419 (calculator-number-to-string): Make it work with lexical-binding.
2420 (calculator-funcall): Same and use cl-letf.
2421
2da4c3ab
SM
2422 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2423 (lisp--company-doc-string, lisp--company-location): New functions.
2424 (lisp-completion-at-point): Use them to improve Company support.
2425
f069bba8
SM
2426 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2427 params of lambda expressions.
2428 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2429 (ruby-smie--opening-pipe-p): New function.
2430 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2431 symbols and matched |...| for formal params.
2432 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2433 from being treated as hanging. Handle "rescue".
2434
6758b6a8
GM
24352013-08-29 Glenn Morris <rgm@gnu.org>
2436
2437 * progmodes/cc-engine.el (c-pull-open-brace):
2438 Move definition before use.
2439
e8dfd197
SM
24402013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2443 are immutable. Don't use `unsafe' any more.
2444 (cl--defsubst-expand): Don't substitute at the same time as keeping
2445 a residual unused let-binding. Don't use `unsafe' any more.
2446
cc585c96
GM
24472013-08-29 Glenn Morris <rgm@gnu.org>
2448
ba579ea6
GM
2449 * calendar/cal-china.el (calendar-chinese-year-cache):
2450 Recenter on 2015.
2451
8201a87e
GM
2452 * nxml/nxml-util.el (nxml-debug-clear-inside):
2453 Use cl-loop rather than loop.
2454
6ee877c7
GM
2455 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2456
cc585c96
GM
2457 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2458
27be8d39
GM
24592013-08-28 Glenn Morris <rgm@gnu.org>
2460
397440a1
GM
2461 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2462
2bb762d4
GM
2463 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2464
27be8d39
GM
2465 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2466
2d69b99e
SM
24672013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2468
f663baa7
SM
2469 * simple.el (repeat-complex-command--called-interactively-skip):
2470 New function.
2471 (repeat-complex-command): Use it (bug#14136).
2472
dd4f8b74
SM
2473 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2474 (c-define-abbrev-table): Add `doc' argument.
2475 (c-mode-abbrev-table, c++-mode-abbrev-table)
2476 (objc-mode-abbrev-table, java-mode-abbrev-table)
2477 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2478 (awk-mode-abbrev-table): Use it.
2479 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2480 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2481 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2482 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2483 Move initialization into the declaration; and remove any
2484 autoload cookie.
2485
b58969f7
SM
2486 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2487 and dynamic let binding.
2488
4021d6a6
SM
2489 * vc/smerge-mode.el: Remove redundant :group args.
2490
2d69b99e
SM
2491 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2492 to load-path.
2493
274919fd
JL
24942013-08-28 Juri Linkov <juri@jurta.org>
2495
2496 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2497 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2498 (isearch-other-meta-char): Handle an undefined shifted printing
2499 character by downshifting it. (Bug#15200)
2500
121f8c95
JL
25012013-08-28 Juri Linkov <juri@jurta.org>
2502
2503 * isearch.el (isearch-search): Change regexp error message for
2504 non-regexp searches. (Bug#15166)
2505
50b13cde
PE
25062013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2507
2508 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2509 for portability to hosts where /bin/sh has problems.
2510
95888bca
SM
25112013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2514
bbe558f1
JL
25152013-08-27 Juri Linkov <juri@jurta.org>
2516
2517 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2518 in the keyboard macro. (Bug#15126)
2519
26f98a7d
JL
25202013-08-27 Juri Linkov <juri@jurta.org>
2521
2522 * isearch.el (isearch-quote-char): Comment out converting unibyte
2523 to multibyte, thus syncing with its `quoted-insert' counterpart.
2524 (Bug#15166)
2525
7c97d35e
MR
25262013-08-27 Martin Rudalics <rudalics@gmx.at>
2527
2528 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2529 argument in call of get-largest-window (Bug#15185).
2530 Reported by Stephen Leake.
7c97d35e 2531
a0b5606e 25322013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2533
2534 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2535
9e89d835
SM
25362013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2537
2538 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2539 from a matcher-function unless there's no more matches (bug#15161).
2540
78fc2530
MA
25412013-08-26 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * minibuffer.el: Revert change from 2013-08-20.
2544
2545 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2546 with text property `tramp-default', if appropriate.
2547 (tramp-check-proper-host): New defun.
2548 (tramp-dissect-file-name): Do not check hostname. Revert change
2549 of 2013-03-18.
2550 (tramp-backtrace): Make VEC-OR-PROC optional.
2551
2552 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2553 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2554 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2555 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2556 Apply `tramp-check-proper-host'.
78fc2530 2557
edca97cd
TH
25582013-08-26 Tassilo Horn <tsdh@gnu.org>
2559
2560 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2561 lambda expression in order to have `describe-variable' display it.
2562
df54bcbd
MA
25632013-08-26 Michael Albinus <michael.albinus@gmx.de>
2564
2565 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2566 BUF can be optional. (Bug#15186)
2567
eed99101
XF
25682013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2569
2570 * progmodes/flymake.el (flymake-get-real-file-name-function):
2571 Fix broken customization. (Bug#15184)
2572
b5eb9035
AM
25732013-08-25 Alan Mackenzie <acm@muc.de>
2574
8a51e842
AM
2575 Improve indentation of bracelists defined by macros (without "=").
2576
2577 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2578 expansion begins with "{", regard it as bracelist when it doesn't
2579 contain a ";".
2580
869455d4
AM
2581 Parse C++ inher-intro when there's a template split over 2 lines.
2582
2583 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2584 rigorously the search for "class" etc. followed by ":".
2585
2586 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2587 random languages a regexp which never matches rather than nil.
2588
b5eb9035
AM
2589 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2590
2591 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2592 (c-awk-regexp-one-line-possibly-open-char-list-re)
2593 (c-awk-one-line-possibly-open-regexp-re)
2594 (c-awk-one-line-non-syn-ws*-re): Remove.
2595 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2596 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2597 (c-awk-space*-unclosed-regexp-/-re): New constants.
2598 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2599 aren't regexp delimiters.
2600
2601 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2602 handling for a rare situation in AWK Mode involving unterminated
2603 strings/regexps.
2604
61611d54
GM
26052013-08-23 Glenn Morris <rgm@gnu.org>
2606
2d85dc34
GM
2607 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2608
cb8d2612
GM
2609 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2610
bb35f42f
GM
2611 * files.el (create-file-buffer): If the result would begin with
2612 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2613
b9808e77
SM
26142013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2615
e3a66363
SM
2616 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2617 text-properties (bug#15155).
2618
b9808e77
SM
2619 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2620 exist any more.
2621 (calc-keypad-redraw): Remove unused var `pad'.
2622 (calc-keypad-press): Remove unused var `menu'.
2623
7fd5f65e
MR
26242013-08-23 Martin Rudalics <rudalics@gmx.at>
2625
b9808e77
SM
2626 * window.el (display-buffer-pop-up-frame):
2627 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2628 use it as the new frame's buffer (Bug#15133).
2629
8352b530
SM
26302013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * calendar/timeclock.el: Minor cleanups.
2633 (timeclock-ask-before-exiting, timeclock-use-display-time):
2634 Use `symbol'.
2635 (timeclock-modeline-display): Define as alias before the
2636 actual definition.
2637 (timeclock-mode-line-display): Use define-minor-mode.
2638 (timeclock-day-list-template): Make it a function, add an argument.
2639 (timeclock-day-list-required, timeclock-day-list-length)
2640 (timeclock-day-list-debt, timeclock-day-list-span)
2641 (timeclock-day-list-break): Adjust calls accordingly.
2642
9f7b1925
SM
26432013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2646 Use read--expression so that completion works again.
2647
6e50e983
SS
26482013-08-21 Sam Steingold <sds@gnu.org>
2649
2650 Add rudimentary inferior shell interaction
2651 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2652 (sh-set-shell): Reset it.
9f7b1925
SM
2653 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2654 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2655
dbb0d350
SM
26562013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * align.el: Use lexical-binding.
2659 (align-region): Simplify accordingly.
2660
c88586a9
MA
26612013-08-20 Michael Albinus <michael.albinus@gmx.de>
2662
2663 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2664
2665 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2666 `non-essential' up.
2667
f95527c8
MA
26682013-08-17 Michael Albinus <michael.albinus@gmx.de>
2669
2670 * net/tramp.el:
2671 * net/tramp-adb.el:
2672 * net/tramp-cmds.el:
2673 * net/tramp-ftp.el:
2674 * net/tramp-gvfs.el:
2675 * net/tramp-gw.el:
2676 * net/tramp-sh.el: Don't wrap external variable declarations by
2677 `eval-when-compile'.
2678
4b5fe4ee
LMI
26792013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2680
2681 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2682 now that Emacs supports ImageMagick animations.
2683
13c366c9
MA
26842013-08-16 Michael Albinus <michael.albinus@gmx.de>
2685
2686 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2687 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2688
3dfc5cd6
MR
26892013-08-16 Martin Rudalics <rudalics@gmx.at>
2690
2691 * window.el (mouse-autoselect-window-select): Do autoselect when
2692 mouse pointer is on margin.
2693
4bbb4381
WP
26942013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2695
2696 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2697
3a2ddc2d
GM
26982013-08-16 Glenn Morris <rgm@gnu.org>
2699
e8bedf5a
GM
2700 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2701 Handle "Remote Directory" response of some clients. (Bug#15058)
2702
58c4682f
GM
2703 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2704 Tweak warning. (Bug#14926)
2705
57953f49
GM
2706 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2707 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2708
3a2ddc2d
GM
2709 * image-mode.el (image-mode-map): Add menu items to reverse,
2710 increase, decrease, reset animation speed.
2711 (image--set-speed, image-increase-speed, image-decrease-speed)
2712 (image-reverse-speed, image-reset-speed): New functions.
2713 (image-mode-map): Add bindings for speed commands.
2714
2715 * image.el (image-animate-get-speed, image-animate-set-speed):
2716 New functions.
2717 (image-animate-timeout): Respect image :speed property.
2718
10fa0ed3
SM
27192013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2722 previous line (bug#15101).
2723 (debugger-eval-expression, debugger-record-expression):
2724 Use read--expression (bug#15102).
2725
5d89d9d2
MA
27262013-08-15 Michael Albinus <michael.albinus@gmx.de>
2727
2728 Remove byte compiler warnings, visible when compiling with
2729 `byte-compile-force-lexical-warnings' set to t.
2730
2731 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2732 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2733 (tramp-handle-unhandled-file-name-directory)
2734 (tramp-handle-file-notify-add-watch, tramp-action-login)
2735 (tramp-action-succeed, tramp-action-permission-denied)
2736 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2737 arguments with "_".
2738
2739 * net/tramp-adb.el (tramp-adb-parse-device-names)
2740 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2741 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2742 (tramp-adb-handle-file-truename): Remove unused arguments.
2743
2744 * net/tramp-cache.el (tramp-flush-directory-property)
2745 (tramp-flush-connection-property, tramp-list-connections)
2746 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2747
10fa0ed3
SM
2748 * net/tramp-compat.el (tramp-compat-make-temp-file):
2749 Rename FILENAME to F.
5d89d9d2
MA
2750
2751 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2752 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2753 (tramp-zeroconf-parse-workstation-device-names)
2754 (tramp-zeroconf-parse-webdav-device-names)
2755 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2756
2757 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2758 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2759
2760 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2761 arguments.
2762 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2763 (tramp-sh-handle-insert-file-contents-literally)
2764 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2765 with "_".
2766 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2767 Remove unused variables.
2768
2769 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2770 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2771 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2772
2773 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2774 Make them a defconst.
2775 (tramp-uuencode-region): Remove unused variable.
2776
62f33bae
JB
27772013-08-14 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * frameset.el (frameset--prop-setter): New function.
2780 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2781 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2782 parameter was already set in FILTERED. Doc fix.
2783 (frameset--record-minibuffer-relationships): Allow saving a
2784 minibufferless frame without its corresponding minibuffer frame.
2785 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2786 frame, if the frame id matches.
2787 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2788 frames before orphaned ones.
2789 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2790
c660a885
MR
27912013-08-14 Martin Rudalics <rudalics@gmx.at>
2792
2793 * window.el (window-make-atom): Don't overwrite parameter
2794 already present.
2795 (display-buffer-in-atom-window): Handle special case where we
2796 split an already atomic window.
2797 (window--major-non-side-window, display-buffer-in-side-window)
2798 (window--side-check): Ignore minibuffer window when walking
2799 window tree.
2800 (window-deletable-p): Return 'frame only if no other frame uses
2801 our minibuffer window.
2802 (record-window-buffer): Run buffer-list-update-hook.
2803 (split-window): Make sure window--check-frame won't destroy an
2804 existing atomic window in case the new window gets nested
2805 inside.
2806 (display-buffer-at-bottom): Ignore minibuffer window when
2807 walking window tree. Don't split a side window.
2808 (pop-to-buffer): Don't set-buffer here, the select-window call
2809 should do that.
2810 (mouse-autoselect-window-select): Autoselect only if we are in the
2811 text portion of the window.
2812
8259030d
LMI
28132013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2814
21c58ae2
LMI
2815 * net/shr.el (shr-parse-image-data): New function to grab both the
2816 data itself and the Content-Type.
2817 (shr-put-image): Use it.
2818
2819 * net/eww.el (eww-display-image): Ditto.
2820
8259030d
LMI
2821 * image.el (image-content-type-suffixes): New variable.
2822
ad756449
FEG
28232013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2824
2825 * progmodes/python.el (python-imenu--build-tree)
2826 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2827
f73f4ce6
XF
28282013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2829
2830 * simple.el (backward-word): Mention the optional argument.
2831
1f585e65
SM
28322013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * frameset.el (frameset--make): Rename constructor from make-frameset.
2835 (frameset-p, frameset-valid-p): Don't autoload.
2836 (frameset-valid-p): Use normal accessors.
2837
af1c6c84
GM
28382013-08-13 Glenn Morris <rgm@gnu.org>
2839
55e47f95
GM
2840 * progmodes/compile.el (compile-command): Tweak example in doc.
2841 * obsolete/scribe.el (scribe-mode):
2842 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2843
f0024d8c
GM
2844 * mail/feedmail.el (feedmail-confirm-outgoing)
2845 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2846
2847 * cus-start.el (truncate-partial-width-windows): Fix type.
2848
2849 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2850
af1c6c84
GM
2851 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2852
5514cc4c
SM
28532013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * emacs-lisp/timer.el (timer--time-setter): New function.
2856 (timer--time): Use it as gv-setter.
2857
2858 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2859 setter is not a symbol.
2860
7997a2f1
GJ
28612013-08-12 Grégoire Jadi <daimrod@gmail.com>
2862
2863 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2864 if sending fails. This makes debugging easier.
2865
01f1a9ab
JB
28662013-08-12 Juanma Barranquero <lekktu@gmail.com>
2867
2868 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2869 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2870 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2871
594a4307
EZ
28722013-08-12 Eli Zaretskii <eliz@gnu.org>
2873
2874 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2875
7a22490f 28762013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2877
2878 * format.el (format-annotate-function):
2879 Handle read-only text properties in the source. (Bug#14887)
2880
3e41a054
LMI
28812013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2882
5514cc4c
SM
2883 * net/eww.el (eww-display-html): Ignore coding system errors.
2884 One web site uses "utf-8lias" as the coding system.
3e41a054 2885
7ec326db
JB
28862013-08-11 Juanma Barranquero <lekktu@gmail.com>
2887
2888 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2889
5660113b
JB
28902013-08-10 Juanma Barranquero <lekktu@gmail.com>
2891
9a4ebc74
JB
2892 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2893 (tutorial--detailed-help): Remove unused local variables.
2894 (tutorial--save-tutorial-to): Use ignore-errors.
2895 (help-with-tutorial): Use looking-at-p.
2896
2897 * view.el (view-buffer-other-window, view-buffer-other-frame):
2898 Mark unused arguments.
2899
2900 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2901 (woman-select-symbol-fonts, woman, woman-find-file)
2902 (woman-insert-file-contents, woman-non-underline-faces):
2903 Use string-match-p.
2904 (woman1-unquote): Move declaration.
2905
2906 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2907 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2908 argument. Remove unused local variable.
2909 (xml-parse-elem-type): Use string-match-p.
2910 (xml-substitute-numeric-entities): Use ignore-errors.
2911
45fdb482
JB
2912 * calculator.el (calculator): Mark unused argument.
2913 (calculator-paste, calculator-quit, calculator-integer-p):
2914 Use ignore-errors.
2915 (calculator-string-to-number, calculator-decimal, calculator-exp)
2916 (calculator-op-or-exp): Use string-match-p.
2917
2918 * dired.el (dired-buffer-more-recently-used-p): Declare.
2919 (dired-insert-set-properties, dired-insert-old-subdirs):
2920 Use ignore-errors.
2921
2922 * dired-aux.el (dired-compress): Use ignore-errors.
2923 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2924 (dired-do-async-shell-command, dired-do-shell-command)
2925 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2926 (dired-insert-subdir-validate): Use string-match-p.
2927 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2928 (dired-add-entry): Use string-match-p, looking-at-p.
2929 (dired-insert-subdir-newpos): Remove unused local variable.
2930
2931 * filenotify.el (file-notify-callback): Remove unused local variable.
2932
2933 * filesets.el (filesets-error): Mark unused argument.
2934 (filesets-which-command-p, filesets-filter-dir-names)
2935 (filesets-directory-files, filesets-get-external-viewer)
2936 (filesets-ingroup-get-data): Use string-match-p.
2937
2938 * find-file.el (ff-other-file-name, ff-other-file-name)
2939 (ff-find-the-other-file, ff-cc-hh-converter):
2940 Remove unused local variables.
2941 (ff-get-file-name): Use string-match-p.
2942 (ff-all-dirs-under): Use ignore-errors.
2943
2944 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2945 (follow-select-if-visible): Remove unused local variable.
2946
2947 * forms.el (read-file-filter): Move declaration.
2948 (forms--make-format, forms--make-parser, forms-insert-record):
2949 Quote function with #'.
2950 (forms--update): Use string-match-p. Quote function with #'.
2951
2952 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2953 (help-make-xrefs): Use looking-at-p.
2954 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2955
2956 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2957 (ibuffer-confirm-operation-on): Use string-match-p.
2958
2959 * msb.el (msb-item-handler, msb-dired-item-handler):
2960 Mark unused arguments.
2961
2962 * ses.el (ses-decode-cell-symbol)
2963 (ses-kill-override): Remove unused local variable.
2964 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2965 (ses-load): Use ignore-errors, looking-at-p.
2966 (ses-jump-safe): Use ignore-errors.
2967 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2968
2969 * tabify.el (untabify, tabify): Mark unused arguments.
2970
2971 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2972 Mark unused argument.
2973 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2974 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2975
c880af52
JB
2976 * emacs-lisp/timer.el (timer--time): Define setter with
2977 gv-define-setter to avoid deprecation warning.
2978
5660113b 2979 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2980 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2981 (cmpl-statistics-block): Remove (body was commented out).
2982 All callers changed.
2983 (add-completions-from-buffer, load-completions-from-file):
2984 Remove unused variables.
2985
156aab80
JB
29862013-08-09 Juanma Barranquero <lekktu@gmail.com>
2987
5c5dee78
JB
2988 * filecache.el (file-cache-delete-file-list):
2989 Print message only when told so.
2990 (file-cache-files-matching): Use #' in mapconcat argument.
2991
156aab80
JB
2992 * ffap.el (ffap-url-at-point): Fix reference to variable
2993 thing-at-point-default-mail-uri-scheme.
2994
ad9dcd70
SM
29952013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2996
54bd972f
SM
2997 * subr.el (define-error): New function.
2998 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2999 error-file-not-found and define with define-error.
3000 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3001 and define with define-error.
3002 * userlock.el (file-locked, file-supersession):
3003 * simple.el (mark-inactive):
3004 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3005 * progmodes/ada-mode.el (ada-mode-errors):
3006 * play/life.el (life-extinct):
3007 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3008 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3009 * nxml/rng-util.el (rng-error):
3010 * nxml/rng-uri.el (rng-uri-error):
3011 * nxml/rng-match.el (rng-compile-error):
3012 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3013 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3014 * nxml/nxml-rap.el (nxml-scan-error):
3015 * nxml/nxml-outln.el (nxml-outline-error):
3016 * net/soap-client.el (soap-error):
3017 * net/gnutls.el (gnutls-error):
3018 * net/ange-ftp.el (ftp-error):
3019 * mpc.el (mpc-proc-error):
3020 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3021 (json-number-format, json-string-escape, json-string-format)
3022 (json-key-format, json-object-format):
3023 * jka-compr.el (compression-error):
3024 * international/quail.el (quail-error):
3025 * international/kkc.el (kkc-error):
3026 * emacs-lisp/ert.el (ert-test-failed):
3027 * calc/calc.el (calc-error, inexact-result, math-overflow)
3028 (math-underflow):
3029 * bookmark.el (bookmark-error-no-filename):
3030 * epg.el (epg-error): Define with define-error.
3031
0ea9e53a
SM
3032 * time.el (display-time-event-handler)
3033 (display-time-next-load-average): Don't call sit-for since it seems
3034 unnecessary (bug#15045).
3035
b0429158
SM
3036 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3037 Use #' instead of ' to quote functions.
3038 (checkdoc-output-mode): Use setq-local.
3039 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3040 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3041 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3042 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3043 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3044 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3045 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3046 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3047
ad9dcd70
SM
3048 * ido.el (ido-completion-help): Fix up compiler warning.
3049
77187e6f
JB
30502013-08-09 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * frameset.el (frameset-p): Add autoload cookie.
3053 (frameset--jump-to-register): New function, based on code moved from
3054 register.el.
3055 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3056
3057 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3058 (frameset-restore, frameset-save, frameset-session-filter-alist):
3059 Remove declarations.
3060 (register-alist): Doc fix.
3061 (frameset-to-register): Move to frameset.el.
3062 (jump-to-register, describe-register-1): Remove frameset-specific code.
3063
9d3aa82c
JB
30642013-08-08 Juanma Barranquero <lekktu@gmail.com>
3065
3066 * allout-widgets.el (allout-widgets-pre-command-business)
3067 (allout-widgets-post-command-business)
3068 (allout-widgets-after-change-handler)
3069 (allout-decorate-item-and-context, allout-set-boundary-marker)
3070 (allout-body-modification-handler)
3071 (allout-graphics-modification-handler): Mark ignored arguments.
3072 (allout-widgets-post-command-business)
3073 (allout-widgets-exposure-change-processor)
3074 (allout-widgets-exposure-undo-processor)
3075 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3076 (allout-parse-item-at-point, allout-decorate-item-guides)
3077 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3078 * allout.el (epa-passphrase-callback-function): Declare.
3079 (allout-overlay-insert-in-front-handler)
3080 (allout-overlay-interior-modification-handler)
3081 (allout-isearch-end-handler, allout-chart-siblings)
3082 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3083 (allout-yank-processing, allout-process-exposed)
3084 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3085 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3086 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3087 (lisp-indent-defform): Mark ignored arguments.
3088 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3089 (calculate-lisp-indent): Remove unused variables.
3090 * international/characters.el (indian-2-column, arabic-2-column)
3091 (tibetan): Mark ignored arguments.
3092 (use-cjk-char-width-table): Mark ignored arguments.
3093 Remove unused variables.
3094 * international/fontset.el (build-default-fontset-data)
3095 (x-compose-font-name, create-fontset-from-fontset-spec):
3096 Mark ignored arguments.
3097 (fontset-plain-name): Remove unused variables.
3098 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3099 (keyboard-coding-system): Mark ignored arguments.
3100 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3101 * help.el (resize-temp-buffer-window):
3102 * window.el (display-buffer-in-major-side-window)
3103 (display-buffer-in-side-window, display-buffer-in-previous-window):
3104 Remove unused variables.
3105 * isearch.el (isearch-forward-symbol):
3106 * version.el (emacs-bzr-version-bzr):
3107 * international/mule-cmds.el (current-language-environment):
3108 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3109 (x-handle-display):
3110 * term/pc-win.el (x-list-fonts, x-display-planes)
3111 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3112 (x-server-version, x-display-screens, x-display-mm-height)
3113 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3114 (x-selection-owner-p, x-own-selection-internal)
3115 (x-disown-selection-internal, x-get-selection-internal)
3116 (msdos-initialize-window-system):
3117 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3118 * term/x-win.el (x-handle-no-bitmap-icon):
3119 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3120 (vc-default-find-file-hook, vc-default-extra-menu):
3121 Mark ignored arguments.
3122
0ca3f70e
SM
31232013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3124
3125 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3126 break-condition in the context of the debugged code (bug#12685).
3127
74c5d24c
CS
31282013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3129
3130 * comint.el:
3131 Do not use an overlay to highlight the last prompt. (Bug#14744)
3132 (comint-mode): Make comint-last-prompt buffer local.
3133 (comint-last-prompt): New variable.
3134 (comint-last-prompt-overlay): Remove. Superseded by
3135 comint-last-prompt.
0ca3f70e
SM
3136 (comint-snapshot-last-prompt, comint-output-filter):
3137 Use comint-last-prompt.
74c5d24c 3138
c03c02ee
JB
31392013-08-08 Juanma Barranquero <lekktu@gmail.com>
3140
a3738d20 3141 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3142 (frameset-save): Check validity of the resulting frameset.
3143
04263d23
XF
31442013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3145
3146 * ido.el (ido-record-command): Add doc string.
3147
76c5e5ab
JB
31482013-08-08 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * frameset.el (frameset): Do not disable creation of the default
3151 frameset-p predicate. Doc fix.
3152 (frameset-valid-p): New function, copied from the old predicate-p.
3153 Add additional checks.
3154 (frameset-restore): Check with frameset-valid-p.
3155 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3156 (frameset-name, frameset-description, frameset-properties)
3157 (frameset-states): Add docstring.
f9dbf1cb
JB
3158 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3159 (frameset-filter-alist): Doc fixes.
76c5e5ab 3160
bd0c3c0b
JB
31612013-08-08 Juanma Barranquero <lekktu@gmail.com>
3162
3163 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3164
c735544c
SM
31652013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3168 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3169 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3170 (byte-compile-normal-call): Remove obsolescence check.
3171
2805a651
JB
31722013-08-08 Juanma Barranquero <lekktu@gmail.com>
3173
3677ffeb
JB
3174 * frameset.el (frameset-restore): Doc fix.
3175
2805a651
JB
3176 * register.el (frameset-frame-id, frameset-frame-with-id)
3177 (frameset-p, frameset-restore, frameset-save): Declare.
3178 (register-alist): Document framesets.
3179 (frameset-session-filter-alist): Declare.
3180 (frameset-to-register): New function.
3181 (jump-to-register): Implement jumping to framesets. Doc fix.
3182 (describe-register-1): Describe framesets.
3183
3184 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3185
a912c016
JB
31862013-08-07 Juanma Barranquero <lekktu@gmail.com>
3187
3188 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3189 Use lexical-binding.
3190
3191 * frameset.el (frameset): Use type vector, not list (incompatible
3192 change). Do not declare a new constructor, use the default one.
3193 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3194 `name' and `description', respectively, and add read-only slot
3195 `timestamp'. Doc fixes.
3196 (frameset-copy, frameset-persistent-filter-alist)
3197 (frameset-filter-alist, frameset-switch-to-gui-p)
3198 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3199 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3200 (frameset-filter-iconified, frameset-keep-original-display-p):
3201 Doc fixes.
3202 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3203 Rename from frameset-filter-(save|restore)-param. All callers changed.
3204 Doc fix.
3205 (frameset-p): Adapt to change to vector and be more thorough.
3206 Change arg name to OBJECT. Doc fix.
3207 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3208 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3209 All callers changed.
3210 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3211 All callers changed.
3212 (frameset--record-minibuffer-relationships): Rename from
3213 frameset--process-minibuffer-frames. All callers changed.
3214 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3215 Use new default constructor (again). Doc fix.
3216 (frameset--find-frame-if): Rename from `frameset--find-frame.
3217 All callers changed.
3218 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3219 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3220 Doc fix.
3221 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3222 PARAMETERS and WINDOW-STATE, respectively.
3223 (frameset-restore): Add new keyword argument PREDICATE.
3224 Reset frameset--target-display to nil. Doc fix.
3225
bb41480a
SM
32262013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3227
f001e98e
SM
3228 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3229 (bat-mode): Use it.
3230 (bat-mode-syntax-table): Mark \n as end-of-comment.
3231 (bat-font-lock-keywords): Remove comment rule.
3232
7679edb1
SM
3233 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3234 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3235
bb41480a
SM
3236 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3237 (byte-compile-callargs-warn): Use `push'.
3238 (byte-compile-arglist-warn): Ignore higher-order "calls".
3239 (byte-compile-file-form-autoload): Use `pcase'.
3240 (byte-compile-function-form): If quoting a symbol, check that it exists.
3241
cdc1ebb9
EZ
32422013-08-07 Eli Zaretskii <eliz@gnu.org>
3243
3244 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3245 and add a few popular commands found in batch files.
3246 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3247 (dos-mode): Doc fixes.
3248
312b1740
SM
32492013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3252 (dos-mode): Use setq-local. Add space after "rem".
3253 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3254 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3255
400a3178
AM
32562013-08-07 Arni Magnusson <arnima@hafro.is>
3257
3258 * progmodes/dos.el: New file.
3259 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3260 dos-mode.
3261
3b5c03d3
GM
32622013-08-06 Glenn Morris <rgm@gnu.org>
3263
3264 * calendar/calendar.el: Add new faces, and day-header-array.
3265 (calendar-weekday-header, calendar-weekend-header)
3266 (calendar-month-header): New faces.
3267 (calendar-day-header-construct): New function.
3268 (calendar-day-header-width): Also :set calendar-day-header-array.
3269 (calendar-american-month-header, calendar-european-month-header)
3270 (calendar-iso-month-header): Use calendar- faces.
3271 (calendar-generate-month):
3272 Use calendar-day-header-array for day headers; apply faces to them.
3273 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3274 (calendar-abbrev-construct): Add optional maxlen argument.
3275 (calendar-day-name-array): Doc fix.
3276 (calendar-day-name-array, calendar-abbrev-length)
3277 (calendar-day-abbrev-array):
3278 Also :set calendar-day-header-array, and maybe redraw.
3279 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3280 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3281 (calendar-day-name): Add option to use header array.
3282
ec6a2d7a
LMI
32832013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3284
3285 * net/shr.el (shr-render-td): Remove debugging.
3286 (shr-render-td): Make width computation consistent by defaulting
3287 all zero-width columns to 10 characters. This may not be optimal,
3288 but it's at least consistent.
2122cb6d
LMI
3289 (shr-make-table-1): Redo last change to fix the real problem in
3290 colspan handling.
ec6a2d7a 3291
ed4fd9c5
DA
32922013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3293
0ca3f70e
SM
3294 * files.el (cache-long-line-scans):
3295 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3296
64e22afe
JB
32972013-08-06 Juanma Barranquero <lekktu@gmail.com>
3298
024b38fc
JB
3299 * frameset.el (frameset, frameset-filter-alist)
3300 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3301 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3302 (frameset-compute-pos): Rename from frameset--compute-pos,
3303 and add docstring.
3304 (frameset-move-onscreen): Use frameset-compute-pos.
3305 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3306
64e22afe
JB
3307 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3308 Fix typos in docstrings.
3309
c8c2aca8
DA
33102013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3311
3312 * frame.el (get-other-frame): Tiny cleanup.
3313
1d237bba
JB
33142013-08-06 Juanma Barranquero <lekktu@gmail.com>
3315
8951efef
JB
3316 * vc/vc.el (vc-default-ignore-completion-table):
3317 Silence byte-compiler warning.
3318
307764cc
JB
3319 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3320 slot , which can indeed be nil.
3321 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3322 Move entry for `left' from persistent to live filter alist.
3323 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3324 Doc fixes.
3325 (frameset-filter-params): When restoring a frame, copy items added to
3326 `filtered', to avoid unwittingly modifying the original parameters.
3327 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3328 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3329
1d237bba
JB
3330 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3331 to use looking-at-p instead of looking-at. (Bug#15028)
3332
dc6c0eda
SM
33332013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 Revert introduction of isearch-filter-predicates (bug#14714).
3336 Rely on add-function instead.
3337 * isearch.el (isearch-filter-predicates): Rename it back to
3338 isearch-filter-predicate.
3339 (isearch-message-prefix): Use advice-function-mapc and advice
3340 properties to get the isearch-message-prefix.
3341 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3342 instead of run-hook-with-args-until-failure.
3343 (isearch-filter-visible): Not obsolete any more.
3344 * loadup.el: Preload nadvice.
3345 * replace.el (perform-replace): Revert to funcall
3346 instead of run-hook-with-args-until-failure.
3347 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3348 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3349 dired-isearch-filenames-toggle; make it into a proper minor mode.
3350 Use add/remove-function.
3351 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3352 Call the minor-mode rather than add/remove-hook.
3353 (dired-isearch-filter-filenames):
3354 Remove isearch-message-prefix property.
3355 * info.el (Info--search-loop): New function, extracted from Info-search.
3356 Funcall isearch-filter-predicate instead of
3357 run-hook-with-args-until-failure isearch-filter-predicates.
3358 (Info-search): Use it.
3359 (Info-mode): Use isearch-filter-predicate instead of
3360 isearch-filter-predicates.
3361
290d5b58
DA
33622013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3363
3364 Do not call to `selected-window' where it is assumed by default.
3365 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3366 `window-hscroll', `window-width', `window-height', `window-buffer',
3367 `window-frame', `window-start', `window-point', `next-window'
3368 and `window-display-table'.
3369 * abbrev.el (abbrev--default-expand):
3370 * bs.el (bs--show-with-configuration):
3371 * buff-menu.el (Buffer-menu-mouse-select):
3372 * calc/calc.el (calc):
3373 * calendar/calendar.el (calendar-generate-window):
3374 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3375 (diary-make-entry):
3376 * comint.el (send-invisible, comint-dynamic-complete-filename)
3377 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3378 * completion.el (complete):
3379 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3380 * disp-table.el (describe-current-display-table):
3381 * doc-view.el (doc-view-insert-image):
3382 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3383 * ehelp.el (with-electric-help):
3384 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3385 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3386 * emacs-lisp/helper.el (Helper-help-scroller):
3387 * emulation/cua-base.el (cua--post-command-handler-1):
3388 * eshell/esh-mode.el (eshell-output-filter):
3389 * ffap.el (ffap-gnus-wrapper):
3390 * help-macro.el (make-help-screen):
3391 * hilit-chg.el (highlight-compare-buffers):
3392 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3393 * hl-line.el (global-hl-line-highlight):
3394 * icomplete.el (icomplete-simple-completing-p):
3395 * isearch.el (isearch-done):
3396 * jit-lock.el (jit-lock-stealth-fontify):
3397 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3398 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3399 * mpc.el (mpc-tagbrowser, mpc):
3400 * net/rcirc.el (rcirc-any-buffer):
3401 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3402 * play/landmark.el (landmark-max-width, landmark-max-height):
3403 * play/zone.el (zone):
3404 * progmodes/compile.el (compilation-goto-locus):
3405 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3406 * progmodes/etags.el (find-tag-other-window):
3407 * progmodes/fortran.el (fortran-column-ruler):
3408 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3409 * progmodes/verilog-mode.el (verilog-point-text):
3410 * reposition.el (reposition-window):
3411 * rot13.el (toggle-rot13-mode):
3412 * server.el (server-switch-buffer):
3413 * shell.el (shell-dynamic-complete-command)
3414 (shell-dynamic-complete-environment-variable):
3415 * simple.el (insert-buffer, set-selective-display)
3416 (delete-completion-window):
3417 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3418 (speedbar-recenter):
3419 * startup.el (fancy-splash-head):
3420 * textmodes/ispell.el (ispell-command-loop):
3421 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3422 * tutorial.el (help-with-tutorial):
3423 * vc/add-log.el (add-change-log-entry):
3424 * vc/compare-w.el (compare-windows):
3425 * vc/ediff-help.el (ediff-indent-help-message):
3426 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3427 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3428 (ediff-setup-control-frame):
3429 * vc/emerge.el (emerge-position-region):
3430 * vc/pcvs-util.el (cvs-bury-buffer):
3431 * window.el (walk-windows, mouse-autoselect-window-select):
3432 * winner.el (winner-set-conf, winner-undo): Related users changed.
3433
38276e01
JB
34342013-08-05 Juanma Barranquero <lekktu@gmail.com>
3435
3436 * frameset.el (frameset--set-id): Doc fix.
3437 (frameset-frame-id, frameset-frame-id-equal-p)
3438 (frameset-locate-frame-id): New functions.
3439 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3440 (frameset-restore): Use them.
3441
12b4c0ea
DA
34422013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3443
3444 Do not call to `selected-frame' where it is assumed by default.
3445 Affected functions are `raise-frame', `redraw-frame',
3446 `frame-first-window', `frame-terminal' and `delete-frame'.
3447 * calendar/appt.el (appt-disp-window):
3448 * epg.el (epg-wait-for-completion):
3449 * follow.el (follow-delete-other-windows-and-split)
3450 (follow-avoid-tail-recenter):
3451 * international/mule.el (set-terminal-coding-system):
3452 * mail/rmail.el (rmail-mail-return):
3453 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3454 * progmodes/f90.el (f90-add-imenu-menu):
3455 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3456 * server.el (server-switch-buffer):
3457 * simple.el (delete-completion-window):
3458 * talk.el (talk):
3459 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3460 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3461 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3462 * vc/ediff.el (ediff-documentation): Related users changed.
3463 * frame.el (selected-terminal): Remove the leftover.
3464
17f25e76
GM
34652013-08-05 Glenn Morris <rgm@gnu.org>
3466
3467 * calendar/calendar.el (calendar-generate-month):
3468 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3469 (calendar-generate-month, calendar-font-lock-keywords):
3470 Fix for calendar-day-header-width > length of any day name.
17f25e76 3471
063233c3
JB
34722013-08-05 Juanma Barranquero <lekktu@gmail.com>
3473
3474 * desktop.el (desktop-clear): Use new name of sort predicate.
3475
3476 * frameset.el (frameset): Add docstring. Move :version property to its
3477 own `version' slot.
3478 (frameset-copy): Rename from copy-frameset.
3479 (frameset-p): Check more thoroughly.
3480 (frameset-prop): Do not check for :version, which is no longer a prop.
3481 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3482 Use new :never value instead of t.
3483 (frameset-filter-alist): Expand and clarify docstring.
3484 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3485 (frameset-filter-minibuffer, frameset-filter-save-param)
3486 (frameset-filter-restore-param, frameset-filter-iconified):
3487 Add pointer to docstring of frameset-filter-alist.
3488 (frameset-filter-params): Rename filter values to be more meaningful:
3489 :never instead of t, and reverse the meanings of :save and :restore.
3490 (frameset--process-minibuffer-frames): Clarify error message.
3491 (frameset-save): Avoid unnecessary and confusing call to framep.
3492 Use new BOA constructor for framesets.
3493 (frameset--reuse-list): Doc fix.
3494 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3495 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3496 (frameset-minibufferless-first-p): Doc fix.
3497 Rename from frameset-sort-frames-for-deletion.
3498 (frameset-restore): Doc fixes. Use new function names.
3499 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3500
d5671a82
JB
35012013-08-04 Juanma Barranquero <lekktu@gmail.com>
3502
3503 * desktop.el (desktop-restore-forces-onscreen)
3504 (desktop-restore-reuses-frames): Document :keyword constant values.
3505 (desktop-filter-parameters-alist): Remove, now identical to
3506 frameset-filter-alist.
3507 (desktop--filter-tty*): Remove, moved to frameset.el.
3508 (desktop-save-frameset, desktop-restore-frameset):
3509 Do not pass :filters argument.
3510
3511 * frameset.el (frameset-live-filter-alist)
3512 (frameset-persistent-filter-alist): New variables.
3513 (frameset-filter-alist): Use them. Add autoload cookie.
3514 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3515 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3516 `frameset--id' (it's supposed to be internal to frameset.el).
3517 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3518 (frameset--initial-params): New function.
3519 (frameset--get-frame): Use it. Doc fix.
3520 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3521 Accept :all, not 'all.
3522 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3523 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3524 with fbound symbols. Fix frame id matching, and remove matching ids if
3525 the frame being restored is deleted. Obey :delete.
3526
671d5c16
SM
35272013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * subr.el (macrop): New function.
3530 (text-clone--maintaining): New var.
3531 (text-clone--maintain): Rename from text-clone-maintain. Use it
3532 instead of inhibit-modification-hooks.
3533
3534 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3535 a proxy, so as handle autoloads and redefinitions of the target.
3536 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3537
3538 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3539 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3540 (pcase--mutually-exclusive-p): New function.
3541 (pcase--split-consp): Use it.
3542 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3543 mutually exclusive with the current predicate.
3544
3545 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3546 (edebug-macrop): Remove. Use `macrop' instead.
3547 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3548 (ad-macro-p):
3549 * eshell/esh-cmd.el (eshell-macrop):
3550 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3551
1d44e9dc
SM
35522013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3555 (advice-mapc): New function, using it.
3556 (advice-function-member-p): New function.
3557 (advice--normalize): Store the cdr in advice--saved-rewrite since
3558 that's the part that will be changed.
3559 (advice--symbol-function): New function.
3560 (advice-remove): Handle removal before the function is defined.
3561 Adjust to new advice--saved-rewrite.
3562 (advice-member-p): Use advice-function-member-p and
3563 advice--symbol-function.
3564
5414a283
JB
35652013-08-04 Juanma Barranquero <lekktu@gmail.com>
3566
51d30f2c
JB
3567 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3568 (frameset-filter-minibuffer): Doc fix.
3569 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3570 (frameset--set-id, frameset--process-minibuffer-frames)
3571 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3572 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3573
5414a283
JB
3574 * desktop.el (desktop-clear): Only delete frames when called
3575 interactively and desktop-restore-frames is non-nil. Doc fix.
3576 (desktop-read): Set desktop-saved-frameset to nil.
3577
ab419665
XF
35782013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3579
3580 * vc/vc.el (vc-ignore): Rewrite.
3581 (vc-default-ignore-completion-table):
3582 (vc--read-lines):
3583 (vc--add-line, vc--remove-regexp): New functions.
3584
3585 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3586 (vc-svn-ignore-completion-table): New function.
3587
3588 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3589 (vc-hg-ignore-completion-table):
3590 (vc-hg-find-ignore-file): New functions.
3591
3592 * vc/vc-git.el (vc-git-ignore): Rewrite.
3593 (vc-git-ignore-completion-table):
3594 (vc-git-find-ignore-file): New functions.
3595
3596 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3597
3598 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3599 (vc-bzr-ignore-completion-table):
3600 (vc-bzr-find-ignore-file): New functions.
3601
2613dea2
JB
36022013-08-03 Juanma Barranquero <lekktu@gmail.com>
3603
3604 * frameset.el (frameset-prop): New function and setter.
3605 (frameset-save): Do not modify frame list passed by the caller.
3606
9c959872
SM
36072013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3610
a104f656
SM
36112013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3612
70122acf
SM
3613 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3614 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3615
a104f656
SM
3616 * custom.el (custom-initialize-default, custom-initialize-set)
3617 (custom-initialize-reset, custom-initialize-changed): Affect the
3618 toplevel-default-value (bug#6275, bug#14586).
3619 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3620 for bug#6275.
3621
f078d570
JB
36222013-08-02 Juanma Barranquero <lekktu@gmail.com>
3623
185e3b5a
JB
3624 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3625 Add cl-def* expressions.
3626
f078d570
JB
3627 * frameset.el (frameset-filter-params): Fix order of arguments.
3628
9421876d
JB
36292013-08-02 Juanma Barranquero <lekktu@gmail.com>
3630
3631 Move code related to saving frames to frameset.el.
3632 * desktop.el: Require frameset.
3633 (desktop-restore-frames): Doc fix.
3634 (desktop-restore-reuses-frames): Rename from
3635 desktop-restoring-reuses-frames.
3636 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3637 (desktop-clear): Clear frames too.
3638 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3639 (desktop--filter-tty*, desktop-save, desktop-read):
3640 Use frameset functions.
3641 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3642 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3643 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3644 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3645 (desktop--process-minibuffer-frames, desktop-save-frames)
3646 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3647 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3648 (desktop--sort-states, desktop-restoring-frames-p)
3649 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3650 (desktop-restoring-frameset-p, desktop-restore-frameset)
3651 (desktop--check-dont-save, desktop-save-frameset): New functions.
3652 (desktop--app-id): New constant.
3653 (desktop-first-buffer, desktop-buffer-ok-count)
3654 (desktop-buffer-fail-count): Move before first use.
3655 * frameset.el: New file.
3656
76dc5996
SM
36572013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * files.el: Use lexical-binding.
3660 (dir-locals-read-from-file): Remove unused `err' variable.
3661 (hack-dir-local-variables--warned-coding): New var.
3662 (hack-dir-local-variables): Use it to avoid repeated warnings.
3663 (make-backup-file-name--default-function): New function.
3664 (make-backup-file-name-function): Use it as default.
3665 (buffer-stale--default-function): New function.
3666 (buffer-stale-function): Use it as default.
3667 (revert-buffer-insert-file-contents--default-function): New function.
3668 (revert-buffer-insert-file-contents-function): Use it as default.
3669 (insert-directory): Avoid add-to-list.
3670
3671 * autorevert.el (auto-revert-handler): Simplify.
3672 Use buffer-stale--default-function.
3673
06d36e2b
TH
36742013-08-01 Tassilo Horn <tsdh@gnu.org>
3675
5f648ab4
TH
3676 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3677
06d36e2b
TH
3678 * whitespace.el (whitespace-ensure-local-variables): New function.
3679 (whitespace-cleanup-region): Call it.
3680 (whitespace-turn-on): Call it.
3681
a43dc424
MA
36822013-08-01 Michael Albinus <michael.albinus@gmx.de>
3683
3684 Complete file name handlers.
3685
3686 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3687 (tramp-handle-verify-visited-file-modtime)
3688 (tramp-handle-file-notify-rm-watch): New functions.
3689 (tramp-call-process): Do not bind `default-directory'.
3690
44e18199
JB
3691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3692 Order alphabetically.
a43dc424
MA
3693 [access-file, add-name-to-file, dired-call-process]:
3694 [dired-compress-file, file-acl, file-notify-rm-watch]:
3695 [file-ownership-preserved-p, file-selinux-context]:
3696 [make-directory-internal, make-symbolic-link, set-file-acl]:
3697 [set-file-selinux-context, set-visited-file-modtime]:
3698 [verify-visited-file-modtime]: Add handler.
3699 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3700
3701 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3702 [file-notify-add-watch, file-notify-rm-watch]:
3703 [set-file-times, set-visited-file-modtime]:
3704 [verify-visited-file-modtime]: Add handler.
3705 (with-tramp-gvfs-error-message)
3706 (tramp-gvfs-handle-set-visited-file-modtime)
3707 (tramp-gvfs-fuse-file-name): Remove.
3708 (tramp-gvfs-handle-file-notify-add-watch)
3709 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3710 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3711
44e18199
JB
3712 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3713 Order alphabetically.
a43dc424
MA
3714 [file-notify-rm-watch ]: Use default Tramp handler.
3715 [executable-find]: Remove private handler.
3716 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3717 `default-directory'.
3718 (tramp-sh-handle-executable-find)
3719 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3720 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3721 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3722 Do not use `format' in `tramp-message'.
3723
3724 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3725 [file-notify-rm-watch, set-visited-file-modtime]:
3726 [verify-visited-file-modtime]: Add handler.
3727 (tramp-smb-call-winexe): Do not bind `default-directory'.
3728
7188b515
XF
37292013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3730
3731 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3732
2412ee1a
DG
37332013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3734
3735 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3736 use it.
3737 (log-view-diff-changeset): Same.
3738 (log-view-diff-common): Call backend command `previous-revision'
3739 to find out the previous revision, in both cases. Swap the
3740 variables `to' and `fr', so that `fr' usually refers to the
3741 earlier revision (Bug#14989).
3742
5002a754
KRC
37432013-07-31 Kan-Ru Chen <kanru@kanru.info>
3744
3745 * ibuf-ext.el (ibuffer-filter-by-filename):
3746 Make it work with dired buffers too.
3747
44e18199 37482013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3749
3750 * emacs-lisp/re-builder.el (reb-color-display-p):
3751 * files.el (save-buffers-kill-terminal):
3752 * net/browse-url.el (browse-url):
3753 * server.el (server-save-buffers-kill-terminal):
3754 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3755 Prefer nil to selected-frame for the first arg of frame-parameter.
3756
aeca3fbb
XF
37572013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3758
3759 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3760
158bc55c
SB
37612013-07-30 Stephen Berman <stephen.berman@gmx.net>
3762
3763 * minibuffer.el (completion--twq-all): Try and preserve each
3764 completion's case choice (bug#14907).
3765
d50fceab
LMI
37662013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3767
ac38e731
LMI
3768 * net/network-stream.el (open-network-stream): Mention the new
3769 :nogreeting parameter.
3770 (network-stream-open-starttls): Use the :nogreeting parameter
3771 (bug#14938).
3772
1211de50
LMI
3773 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3774
997798bf
LMI
3775 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3776 more natural than popping.
3777
d50fceab 3778 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3779 (shr-urlify): Highlight under mouse.
d50fceab 3780
5c09de04
XF
37812013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3782
207d1d04
XF
3783 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3784
3785 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3786
5c09de04
XF
3787 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3788 buffer for output.
3789
3cd51eaa
XF
3790 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3791 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3792
44e18199 3793 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3794 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3795
3796 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3797
3798 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3799 buffer for output.
3800
35a89bdd
EZ
38012013-07-29 Eli Zaretskii <eliz@gnu.org>
3802
3803 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3804 initial frame is minibuffer-less. (Bug#14841)
3805
78822e94
MA
38062013-07-29 Michael Albinus <michael.albinus@gmx.de>
3807
3808 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3809 option.
3810
3811 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3812 (tramp-maybe-open-connection): Use it.
3813
9503c190
JB
38142013-07-28 Juanma Barranquero <lekktu@gmail.com>
3815
3816 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3817 minimal set of parameters passed when creating a frame, because
3818 the minibuffer status of a frame cannot be changed later.
3819
d5a845b4
SB
38202013-07-28 Stephen Berman <stephen.berman@gmx.net>
3821
3822 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3823 replace-regexp-in-string and inadvertent omissions in previous change.
3824 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3825 name of filtered items buffer.
d5a845b4 3826
ddeffb17
JB
38272013-07-28 Juanma Barranquero <lekktu@gmail.com>
3828
3829 * desktop.el: Optionally force offscreen frames back onscreen.
3830 (desktop-restoring-reuses-frames): New option.
3831 (desktop--compute-pos, desktop--move-onscreen): New functions.
3832 (desktop--make-frame): Use desktop--move-onscreen.
3833
f5950f7a
AM
38342013-07-27 Alan Mackenzie <acm@muc.de>
3835
3836 Fontify a Java generic method as a function.
3837 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3838 value to t.
3839
ae43b66a
SB
38402013-07-27 Stephen Berman <stephen.berman@gmx.net>
3841
3842 * calendar/todo-mode.el: Add command to rename todo files.
3843 (todo-rename-file): New command.
3844 (todo-key-bindings-t): Add key binding for it. Change the
3845 bindings of todo-filter-regexp-items(-multifile) to use `x'
3846 instead of `r', since the latter is better suited to the new
3847 renaming command.
3848
5ab78d3d
AM
38492013-07-27 Alan Mackenzie <acm@muc.de>
3850
3851 Make Java try-with-resources statement parse properly.
3852 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3853 (c-block-stmt-1-2-key): New language constants/variables.
3854 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3855 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3856 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3857 with c-block-stmt-1-2-key.
5ab78d3d 3858
d85c4d50
JB
38592013-07-27 Juanma Barranquero <lekktu@gmail.com>
3860
3861 * desktop.el (desktop--make-frame): Apply most frame parameters after
3862 creating the frame to force (partially or totally) offscreen frames to
3863 be restored as such.
3864
e4c467f9
XF
38652013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3866
3867 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3868 (Bug#14948)
e4c467f9 3869
7ced0d04
SM
38702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3873 `base' arg of backtrace-frame.
3874
fec92060
EZ
38752013-07-26 Eli Zaretskii <eliz@gnu.org>
3876
3877 * simple.el (list-processes): Doc fix.
3878
d58d31fb
JB
38792013-07-26 Juanma Barranquero <lekktu@gmail.com>
3880
3881 * desktop.el (desktop--select-frame):
d85c4d50 3882 Try harder to reuse existing frames.
d58d31fb 3883
53ff3e77
SM
38842013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3885
3886 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3887 (edebug-eval): Use backtrace-eval.
3888 (edebug--display, edebug--recursive-edit): Don't let-bind the
3889 edebug-outer-* vars that keep track of variables we locally let-bind.
3890 (edebug-outside-excursion): Don't restore outside values of locally
3891 let-bound vars.
3892 (edebug--display): Use user-error.
3893 (cl-lexical-debug, cl-debug-env): Remove.
3894
045f7a53
JB
38952013-07-26 Juanma Barranquero <lekktu@gmail.com>
3896
3897 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3898 are restored to be sure that they are visible before deleting any
3899 remaining ones.
3900
59070b32
MM
39012013-07-26 Matthias Meulien <orontee@gmail.com>
3902
742a3501
XF
3903 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3904 vc-print-root-log. (Bug#14948)
59070b32 3905
b1fb3596
RS
39062013-07-26 Richard Stallman <rms@gnu.org>
3907
3908 Add aliases for encrypting mail.
3909 * epa.el (epa-mail-aliases): New option.
3910 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3911 Bind inhibit-read-only so read-only text doesn't ruin everything.
3912 (epa-mail-default-recipients): New subroutine broken out.
3913 Handle epa-mail-aliases.
3914
56ea7291
SM
39152013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 Add support for lexical variables to the debugger's `e' command.
3918 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3919 vars, except for debugger-outer-match-data.
3920 (debugger-frame-number): Move check for "on a function call" from
3921 callers into it. Add `skip-base' argument.
3922 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3923 (debugger-env-macro): Only reset the state stored in non-variables,
3924 i.e. current-buffer and match-data.
3925 (debugger-eval-expression): Rewrite using backtrace-eval.
3926 * subr.el (internal--called-interactively-p--get-frame): Remove.
3927 (called-interactively-p):
3928 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3929 `base' arg of backtrace-frame instead.
3930
15ac32d5
GM
39312013-07-26 Glenn Morris <rgm@gnu.org>
3932
8358a09d
GM
3933 * align.el (align-regexp): Doc fix. (Bug#14857)
3934 (align-region): Explicit error if subexpression missing/does not match.
3935
15ac32d5
GM
3936 * simple.el (global-visual-line-mode):
3937 Do not duplicate the mode lighter. (Bug#14858)
3938
f47ad11b
MR
39392013-07-25 Martin Rudalics <rudalics@gmx.at>
3940
3941 * window.el (display-buffer): In display-buffer bind
3942 split-window-keep-point to t, bug#14829.
3943
02530987
JB
39442013-07-25 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3947 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3948 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3949 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3950 Change accordingly.
f63ebeb5
JB
3951 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3952 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3953
6ccb9cab 39542013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3955
6ccb9cab 3956 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3957
cb3a56d2
JB
39582013-07-25 Juanma Barranquero <lekktu@gmail.com>
3959
3960 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3961 parameter to modify-frame-parameters if the value has not changed;
3962 this is a workaround for bug#14949.
3963 (desktop--make-frame): On cl-delete-if call, check parameter name,
3964 not full parameter.
3965
7aa7fff0
XF
39662013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3967
3968 * vc/vc.el (vc-ignore): New function.
3969
3970 * vc/vc-svn.el (vc-svn-ignore): New function.
3971
3972 * vc/vc-hg.el (vc-hg-ignore): New function.
3973
3974 * vc/vc-git.el (vc-git-ignore): New function.
3975
3976 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3977 (vc-dir-ignore): New function.
3978
3979 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3980 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3981
3982 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3983
3984 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3985
889acc5c
JB
39862013-07-24 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3989 (desktop-restore-frames): Warn when deleting an existing frame failed.
3990
86c40970
GM
39912013-07-24 Glenn Morris <rgm@gnu.org>
3992
3993 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3994
d5d3c58a
MA
39952013-07-24 Michael Albinus <michael.albinus@gmx.de>
3996
3997 * filenotify.el (file-notify-supported-p):
3998 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3999 Remove functions.
4000
4001 * autorevert.el (auto-revert-use-notify):
4002 (auto-revert-notify-add-watch):
4003 * net/tramp.el (tramp-file-name-for-operation):
4004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4008 Remove `file-notify-supported-p' entry.
4009
d100084b
GM
40102013-07-24 Glenn Morris <rgm@gnu.org>
4011
4012 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4013 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4014
ac93e56b
SM
40152013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4016
249eea30
SM
4017 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4018 checked with memq (bug#14935).
4019
ac93e56b
SM
4020 * files.el (revert-buffer-function): Use a non-nil default.
4021 (revert-buffer-preserve-modes): Declare var to
4022 provide access to the `preserve-modes' argument.
4023 (revert-buffer): Let-bind it.
4024 (revert-buffer--default): New function, extracted from revert-buffer.
4025
2cdeb903
SM
40262013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * lpr.el: Signal print errors more prominently.
4029 (print-region-function): Don't default to nil.
4030 (lpr-print-region): New function, extracted from print-region-1.
4031 Check lpr's return value and signal an error in case of problem.
4032 (print-region-1): Use it.
4033 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4034 versions instead.
4035 (ps-printer-name): Default to nil.
4036 (ps-printer-name-option): Default to lpr-printer-switch.
4037 (ps-print-region-function): Don't default to nil.
4038 (ps-postscript-code-directory): Simplify default.
4039 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4040 (ps-string-list, ps-eval-switch, ps-flatten-list)
4041 (ps-flatten-list-1): Remove.
4042 (ps-multibyte-buffer): Avoid setq.
4043 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4044 (print-region-function, ps-print-region-function): Don't set them here.
4045
73600831
XF
40462013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4047
0e55c076
XF
4048 * ido.el (ido-fractionp):
4049 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4050 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4051 (ido-max-directory-size, ido-max-dir-file-cache)
4052 (ido-decorations): Doc fix.
4053
73600831
XF
4054 * ansi-color.el: Fix old URL.
4055
3d012865
MM
40562013-07-23 Michael R. Mauger <michael@mauger.com>
4057
e903c210 4058 * progmodes/sql.el: Version 3.3
3d012865
MM
4059 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4060 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4061 (sql-interactive-remove-continuation-prompt): Rewrite, use
4062 functions above. Fix continuation prompt and complete output line
4063 handling.
4064 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4065 redirected output buffer.
4066 (sql-mode): Restore deleted code (Bug#13591).
4067
da77a2e2
JB
40682013-07-23 Juanma Barranquero <lekktu@gmail.com>
4069
4070 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4071
80ff0c71
MA
40722013-07-23 Michael Albinus <michael.albinus@gmx.de>
4073
4074 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4075
4076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4077 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4079
b61d71e4
JB
40802013-07-23 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * desktop.el (desktop-clear): Simplify; remove useless checks
4083 against invalid buffer names.
4084 (desktop-list*): Use cl-list*.
4085 (desktop-buffer-info, desktop-create-buffer): Simplify.
4086
c3512092
LL
40872013-07-23 Leo Liu <sdl.web@gmail.com>
4088
4089 * bookmark.el (bookmark-make-record): Restore NAME as a default
4090 value. (Bug#14933)
4091
0ac26976
SM
40922013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4093
7d22ce18
SM
4094 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4095 extracted from autoload--insert-text.
4096 (autoload--insert-text): Remove.
4097 (autoload--print-cookie-text): New function, extracted from
4098 autoload--insert-cookie-text.
4099 (autoload--insert-cookie-text): Remove.
4100 (autoload-generate-file-autoloads): Adjust calls accordingly.
4101
9b2607e8
SM
4102 * winner.el (winner-hook-installed-p): Remove.
4103 (winner-mode): Simplify accordingly.
4104
c43a8618
SM
4105 * subr.el (add-to-list): Fix compiler-macro when `append' is
4106 not constant. Don't use `cl-member' for the base case.
4107
0ac26976
SM
4108 * progmodes/subword.el: Fix boundary case (bug#13758).
4109 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4110 own group.
4111 (subword-backward-regexp): Make it a constant.
4112 (subword-forward-internal): Don't treat a trailing capital as the
4113 beginning of a word.
4114
6874724a
AR
41152013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4116
4117 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4118 global value of tabulated-list-revert-hook (bug#14930).
4119
70f1b5e8
JB
41202013-07-22 Juanma Barranquero <lekktu@gmail.com>
4121
a1c80d9d
JB
4122 * desktop.el: Require 'cl-lib.
4123 (desktop-before-saving-frames-functions): New hook.
4124 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4125 for frames being saved. Rename from desktop--save-minibuffer-frames.
4126 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4127 Do not save frames with non-nil `desktop-dont-save' parameter.
4128 Filter out deleted frames.
a1c80d9d
JB
4129 (desktop--find-frame): Use cl-find-if.
4130 (desktop--select-frame): Use cl-(first|second|third) to access values
4131 of desktop-mini.
4132 (desktop--make-frame): Use cl-delete-if.
4133 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4134 (desktop-restore-frames): Use cl-(first|second|third) to access values
4135 of desktop-mini. Look for visible frame at the end, not while
4136 restoring frames.
4137
70f1b5e8
JB
4138 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4139 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4140 Use string-match-p, looking-at-p (bug#14927).
4141
728dc3cc
JB
41422013-07-21 Juanma Barranquero <lekktu@gmail.com>
4143
56bc453c
JB
4144 * desktop.el (desktop-saved-frame-states):
4145 Rename from desktop--saved-states; all users changed.
4146 (desktop-save-frames): Rename from desktop--save-frames.
4147 Do not save state to desktop file.
4148 (desktop-save): Save desktop-saved-frame-states to desktop file
4149 and reset to nil.
4150 (desktop-restoring-frames-p): New function.
4151 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4152 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4153 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4154
728dc3cc
JB
4155 * desktop.el: Correctly restore iconified frames.
4156 (desktop--filter-iconified-position): New function.
4157 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4158
862f1c9c
GM
41592013-07-20 Glenn Morris <rgm@gnu.org>
4160
c4074c9f
GM
4161 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4162 Let `message' do the formatting.
4163 (def-gdb-preempt-display-buffer): Add explicit format.
4164
d828e5f9
GM
4165 * image-dired.el (image-dired-track-original-file):
4166 Use with-current-buffer.
4167 (image-dired-track-thumbnail): Use with-current-buffer.
4168 Avoid changing point of wrong window.
4169
862f1c9c
GM
4170 * image-dired.el (image-dired-track-original-file):
4171 Avoid changing point of wrong window. (Bug#14909)
4172
f0398ec1 41732013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4174
4175 * progmodes/gdb-mi.el (gdb-done-or-error):
4176 Guard against "%" in gdb output. (Bug#14127)
4177
1451928f
AS
41782013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4179
763a086d
JB
4180 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4181 (Bug#14826)
f7a03897 4182
1451928f
AS
4183 * international/mule.el (coding-system-iso-2022-flags): Fix last
4184 change.
4185
99107004
KH
41862013-07-20 Kenichi Handa <handa@gnu.org>
4187
763a086d
JB
4188 * international/mule.el (coding-system-iso-2022-flags):
4189 Add `8-bit-level-4'. (Bug#8522)
99107004 4190
48494e06
LMI
41912013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4192
8ba8eec5
LMI
4193 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4194 (bug#14815).
4195
dfbc66e3
LMI
4196 * net/eww.el (eww-process-text-input): Allow inputting when the
4197 point is at the start of the line, as the properties aren't
4198 front-sticky.
4199
48494e06
LMI
4200 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4201 degenerate widths.
4202
77c92cb9
RS
42032013-07-19 Richard Stallman <rms@gnu.org>
4204
aec7da77
RS
4205 * epa.el (epa-popup-info-window): Doc fix.
4206
77c92cb9
RS
4207 * subr.el (split-string): New arg TRIM.
4208
945c5bb1
JB
42092013-07-18 Juanma Barranquero <lekktu@gmail.com>
4210
4211 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4212 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4213
e06ec67f
MA
42142013-07-18 Michael Albinus <michael.albinus@gmx.de>
4215
c7064f05 4216 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4217 `file-notify-support'. Do not autoload. Adapt all uses.
4218 (file-notify-supported-p): New defun.
4219
c7064f05
JB
4220 * autorevert.el (auto-revert-use-notify):
4221 Use `file-notify-supported-p' instead of `file-notify-support'.
4222 Adapt docstring.
e06ec67f
MA
4223 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4224
4225 * net/tramp.el (tramp-file-name-for-operation):
4226 Add `file-notify-supported-p'.
4227
4228 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4229 New defun.
4230 (tramp-sh-file-name-handler-alist): Add it as handler for
4231 `file-notify-supported-p '.
4232
4233 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4234 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4235 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4236 Add `ignore' as handler for `file-notify-*' functions.
4237
5dc8a629
EZ
42382013-07-17 Eli Zaretskii <eliz@gnu.org>
4239
4240 * simple.el (line-move-partial, line-move): Don't start vscroll or
4241 scroll-up if the current line is not taller than the window.
4242 (Bug#14881)
4243
77aea2fb
DG
42442013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4245
4246 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4247 highlight question marks in the method names as strings.
ac72c08d
DG
4248 (ruby-block-beg-keywords): Inline.
4249 (ruby-font-lock-keyword-beg-re): Extract from
4250 `ruby-font-lock-keywords'.
77aea2fb 4251
18c26d81
JD
42522013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4253
4254 * frame.el (blink-cursor-blinks): New defcustom.
4255 (blink-cursor-blinks-done): New defvar.
4256 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4257 (blink-cursor-timer-function): Check if number of blinks has been
4258 done on X and NS.
4259 (blink-cursor-suspend, blink-cursor-check): New defuns.
4260
da48522e
GM
42612013-07-15 Glenn Morris <rgm@gnu.org>
4262
4263 * edmacro.el (edmacro-format-keys): Fix previous change.
4264
0463c1ef
PE
42652013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4266
4267 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4268 The hack didn't work outside English locales anyway.
4269
b43f6451
JB
42702013-07-15 Juanma Barranquero <lekktu@gmail.com>
4271
4272 * simple.el (define-alternatives): Rename from alternatives-define,
4273 per RMS' suggestion.
4274
b958c0ad
JB
42752013-07-14 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * desktop.el (desktop-restore-frames): Change default to t.
4278 (desktop-restore-in-current-display): Now offer more options.
4279 (desktop-restoring-reuses-frames): New customization option.
4280 (desktop--saved-states): Doc fix.
4281 (desktop-filter-parameters-alist): New variable, renamed and expanded
4282 from desktop--excluded-frame-parameters.
4283 (desktop--target-display): New variable.
4284 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4285 (desktop--filter-tty*, desktop--filter-*-color)
4286 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4287 (desktop--filter-save-desktop-parm)
4288 (desktop-restore-in-original-display-p): New functions.
4289 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4290 (desktop--save-minibuffer-frames): New function, inspired by a similar
4291 function from Martin Rudalics.
4292 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4293 (desktop--restore-in-this-display-p): Remove.
4294 (desktop--find-frame): Rename from desktop--find-frame-in-display
4295 and add predicate argument.
4296 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4297 (desktop--reuse-list): New variable.
4298 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4299 New functions.
4300 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4301
f6dd8b36
MA
43022013-07-14 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4305
2ce3c565
DG
43062013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4307
763a086d
JB
4308 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4309 Highlight conversion methods on Kernel.
2ce3c565 4310
2cdb7698
AM
43112013-07-13 Alan Mackenzie <acm@muc.de>
4312
4313 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4314 and comment it out. This out-commenting enables certain C++
4315 declarations to be parsed correctly.
4316
1a67b811
EZ
43172013-07-13 Eli Zaretskii <eliz@gnu.org>
4318
1b796d6b
EZ
4319 * international/mule.el (define-coding-system): Doc fix.
4320
1a67b811
EZ
4321 * simple.el (default-font-height): Don't call font-info if the
4322 frame's default font didn't change since the frame was created.
4323 (Bug#14838)
4324
58fbe886
LL
43252013-07-13 Leo Liu <sdl.web@gmail.com>
4326
4327 * ido.el (ido-read-file-name): Guard against non-symbol value.
4328
1f0480d4
FEG
43292013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4330
4331 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4332 in nested defuns.
4333
97ead0e5
LL
43342013-07-13 Leo Liu <sdl.web@gmail.com>
4335
4336 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4337 ido-set-matches call. (Bug#6852)
4338
0880a952
DG
43392013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4340
4341 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4342 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4343 Ruby 2.0.
4344 (ruby-font-lock-keywords): Distinguish calls to functions with
4345 module-like names from module references. Highlight character
4346 literals.
4347
a7d8babb
SDJ
43482013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4349
4350 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4351 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4352
acfcc8c5
JB
43532013-07-12 Juanma Barranquero <lekktu@gmail.com>
4354
4355 * desktop.el (desktop--v2s): Remove unused local variable.
4356 (desktop-save-buffer): Make defvar-local; adjust docstring.
4357 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4358 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4359
051f2775
AS
43602013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4361
4362 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4363
f24e7572
GM
43642013-07-12 Eli Zaretskii <eliz@gnu.org>
4365
4366 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4367 (Bug#14842)
4368
539a920c
GM
43692013-07-12 Glenn Morris <rgm@gnu.org>
4370
4371 * doc-view.el: Require cl-lib at runtime too.
4372 (doc-view-remove-if): Remove.
4373 (doc-view-search-next-match, doc-view-search-previous-match):
4374 Use cl-remove-if.
4375
4376 * edmacro.el: Require cl-lib at runtime too.
4377 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4378 (edmacro-mismatch, edmacro-subseq): Remove.
4379
4380 * shadowfile.el: Require cl-lib.
4381 (shadow-remove-if): Remove.
4382 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4383 Use cl-remove-if.
4384
4385 * wid-edit.el: Require cl-lib.
4386 (widget-choose): Use cl-remove-if.
4387 (widget-remove-if): Remove.
4388
4389 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4390 (ebrowse-delete-if-not): Remove.
4391 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4392 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4393 Use cl-delete-if-not.
4394
1048af7c
JB
43952013-07-12 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4398 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4399
6c0674ee
LL
44002013-07-12 Leo Liu <sdl.web@gmail.com>
4401
4402 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4403
a19b3c2d
GM
44042013-07-11 Glenn Morris <rgm@gnu.org>
4405
4582a01c
GM
4406 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4407 (edebug-gensym-index, edebug-gensym):
4408 Remove reimplementation of cl-gensym.
4409 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4410
4411 * thumbs.el: Require cl-lib at run-time too.
4412 (thumbs-gensym-counter, thumbs-gensym):
4413 Remove reimplementation of cl-gensym.
4414 (thumbs-temp-file): Use cl-gensym.
4415
a19b3c2d
GM
4416 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4417 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4418 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4419 (ert--union, ert--gensym-counter, ert--gensym-counter)
4420 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4421 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4422 (ert-make-test-unbound, ert--expand-should-1)
4423 (ert--expand-should, ert--should-error-handle-error)
4424 (should-error, ert--explain-equal-rec)
4425 (ert--plist-difference-explanation, ert-select-tests)
4426 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4427 Use cl-lib functions rather than reimplementations.
4428
88f6a933
MA
44292013-07-11 Michael Albinus <michael.albinus@gmx.de>
4430
4431 * net/tramp.el (tramp-methods): Extend docstring.
4432 (tramp-connection-timeout): New defcustom.
4433 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4434 (with-tramp-progress-reporter): Simplify.
4435 (tramp-process-actions): Improve messages.
4436
4437 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4438 * net/tramp-sh.el (tramp-maybe-open-connection):
4439 Use `tramp-connection-timeout'.
4440 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4441 (Bug#14808)
4442
a43d577e
LL
44432013-07-11 Leo Liu <sdl.web@gmail.com>
4444
4445 * ido.el (ido-read-file-name): Conform to the requirements of
4446 read-file-name. (Bug#11861)
4447 (ido-read-directory-name): Conform to the requirements of
4448 read-directory-name.
4449
d77974bf
JB
44502013-07-11 Juanma Barranquero <lekktu@gmail.com>
4451
4452 * subr.el (delay-warning): New function.
4453
35cb8a3e
EZ
44542013-07-10 Eli Zaretskii <eliz@gnu.org>
4455
4456 * simple.el (default-line-height): New function.
4457 (line-move-partial, line-move): Use it instead of computing the
4458 line height inline.
4459 (line-move-partial): Always compute ROWH. If the last line is
4460 partially-visible, but its text is completely visible, allow
4461 cursor to enter such a partially-visible line.
4462
525c5c77
MA
44632013-07-10 Michael Albinus <michael.albinus@gmx.de>
4464
4465 Improve error messages. (Bug#14808)
4466
4467 * net/tramp.el (tramp-current-connection): New defvar, moved from
4468 tramp-sh.el.
0ac26976 4469 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4470 needed anymore.
0ac26976
SM
4471 (tramp-error-with-buffer): Show message in minibuffer.
4472 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4473 (with-tramp-progress-reporter): Improve messages.
4474 (tramp-process-actions): Use progress reporter. Delete process in
4475 case of error. Improve messages.
4476
763a086d
JB
4477 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4478 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4479 (tramp-current-connection): Remove.
525c5c77
MA
4480 (tramp-maybe-open-connection): The car of
4481 `tramp-current-connection' are the first 3 slots of the vector.
4482
c7a4d368
TZ
44832013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4484
4485 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4486 inside continued strings.
4487
954b166e
PE
44882013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4489
4490 Timestamp fixes for undo (Bug#14824).
4491 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4492
56973319
LL
44932013-07-10 Leo Liu <sdl.web@gmail.com>
4494
4495 * files.el (require-final-newline): Allow safe local value.
4496 (Bug#14834)
4497
5550a72c
LL
44982013-07-09 Leo Liu <sdl.web@gmail.com>
4499
4500 * ido.el (ido-read-directory-name): Handle fallback.
4501 (ido-read-file-name): Update DIR to ido-current-directory.
4502 (Bug#1516)
c28b9050 4503 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4504
70c46b28
DG
45052013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4506
4507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4508 "autoload". Remove "warn lower camel case" section, previously
4509 commented out. Highlight negation char. Do not highlight the
4510 target in singleton method definitions.
4511
0b64b838
SM
45122013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4513
7fd72e2c
SM
4514 * faces.el (tty-setup-hook): Declare the hook.
4515
0b64b838
SM
4516 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4517 and detect when a guard/pred depends on local vars (bug#14773).
4518 (pcase--u1): Adjust caller.
4519
ab49d60b
EZ
45202013-07-08 Eli Zaretskii <eliz@gnu.org>
4521
4522 * simple.el (line-move-partial, line-move): Account for
4523 line-spacing.
701d79aa
EZ
4524 (line-move-partial): Avoid setting vscroll when the last
4525 partially-visible line in window is of default height.
ab49d60b 4526
2d756ae0
LMI
45272013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4528
4529 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4530 been used a while.
4531
ed095bd7
JB
45322013-07-07 Juanma Barranquero <lekktu@gmail.com>
4533
4534 * subr.el (read-quoted-char): Remove unused local variable `char'.
4535
f1e6674b
MK
45362013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4537
584ee3fc
GM
4538 * ediff.el (ediff-version): Version update.
4539 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4540 (ediff-merge-with-ancestor-command, ediff-directories-command)
4541 (ediff-directories3-command, ediff-merge-directories-command)
4542 (ediff-merge-directories-with-ancestor-command): New functions.
4543 All are command-line interfaces to ediff: to facilitate calling
4544 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4545
4546 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4547 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4548
584ee3fc
GM
4549 * viper.el (viper-version): Version update.
4550 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4551
584ee3fc
GM
45522013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4555 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4556 (viper-intercept-ESC-key): Simplify.
4557 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4558 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4559 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4560 (viper-setup-ESC-to-escape): New functions.
4561 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4562 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4563
9aff9b38
EZ
45642013-07-07 Eli Zaretskii <eliz@gnu.org>
4565
5165d44a
JB
4566 * simple.el (default-font-height, window-screen-lines):
4567 New functions.
9aff9b38
EZ
4568 (line-move, line-move-partial): Use them instead of
4569 frame-char-height and window-text-height. This makes scrolling
4570 text smoother when the buffer's default face uses a font that is
4571 different from the frame's default font.
4572
1afb1d07
JD
45732013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4574
4575 * files.el (write-file): Do not display confirm dialog for NS,
4576 it does its own dialog, which can't be cancelled (Bug#14578).
4577
23de972a
EZ
45782013-07-06 Eli Zaretskii <eliz@gnu.org>
4579
4580 * simple.el (line-move-partial): Adjust the row returned by
4581 posn-at-point for the current window-vscroll. (Bug#14567)
4582
54a42486
MA
45832013-07-06 Michael Albinus <michael.albinus@gmx.de>
4584
4585 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4586 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4587 spaces.
4588
34ada5f4
MR
45892013-07-06 Martin Rudalics <rudalics@gmx.at>
4590
4591 * window.el (window-state-put-stale-windows): New variable.
4592 (window--state-put-2): Save list of windows without matching buffer.
4593 (window-state-put): Remove "bufferless" windows if possible.
4594
11e03d89
JB
45952013-07-06 Juanma Barranquero <lekktu@gmail.com>
4596
4597 * simple.el (alternatives-define): Remove leftover :group keyword.
4598 Tweak docstring.
4599
3504a4be
LL
46002013-07-06 Leo Liu <sdl.web@gmail.com>
4601
4602 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4603 (ido-enable-virtual-buffers): New variable.
4604 (ido-buffer-internal, ido-toggle-virtual-buffers)
4605 (ido-make-buffer-list): Use it.
4606 (ido-exhibit): Support turning on and off virtual buffers
4607 automatically.
4608
61e56e2c
JB
46092013-07-06 Juanma Barranquero <lekktu@gmail.com>
4610
4611 * simple.el (alternatives-define): New macro.
4612
321e1a9c
SM
46132013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * subr.el (read-quoted-char): Use read-key.
4616 (sit-for): Let read-event decode tty input (bug#14782).
4617
d610f6dd
SB
46182013-07-05 Stephen Berman <stephen.berman@gmx.net>
4619
4620 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4621 mode command and externally. Fix various related bugs.
4622 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4623 (todo-delete-file): New command.
4624 (todo-check-file): New function.
4625 (todo-show): Handle external deletion of the file we're trying to
4626 show (bug#14688). Replace called-interactively-p by an optional
4627 prefix argument to avoid problematic interaction with catch form
4628 when byte compiled (bug#14702).
4629 (todo-quit): Handle external deletion of the archive's todo file.
4630 Make sure the buffer that was visiting the archive file is still
4631 live before trying to bury it.
4632 (todo-category-completions): Handle external deletion of any
4633 category completion files.
4634 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4635 of todo files, in case of external deletion.
4636 (todo-add-file): Replace unnecessary setq by let-binding.
4637 (todo-find-archive): Check whether there are any archives.
4638 Replace unnecessary setq by let-binding.
4639 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4640 archive buffer whether or not the archive already exists.
4641 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4642 check if the archive is new; if it is, update list of archives.
4643 (todo-default-todo-file): Allow nil to be a valid value for when
4644 there are no todo files.
4645 (todo-reevaluate-default-file-defcustom): Use corrected definition
4646 of todo-default-todo-file.
4647 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4648 (todo-delete-category, todo-show-categories-table)
4649 (todo-category-number): Clarify comment.
4650 (todo-filter-items): Clarify documentation string.
4651 (todo-show-current-file, todo-display-as-todo-file)
4652 (todo-reset-and-enable-done-separator): Tweak documentation string.
4653 (todo-done-separator): Make separator length window-width, since
4654 bug#2749 is now fixed.
4655
ddbdfd6f
MA
46562013-07-05 Michael Albinus <michael.albinus@gmx.de>
4657
321e1a9c
SM
4658 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4659 Support both "gvfs-monitor-dir" and "inotifywait".
4660 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4661 `tramp-sh-file-notify-process-filter'.
4662 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4663 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4664
96eb829a
LL
46652013-07-05 Leo Liu <sdl.web@gmail.com>
4666
4667 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4668
cf13177e
YM
46692013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4670
4671 * frame.el (display-pixel-height, display-pixel-width)
4672 (display-mm-height, display-mm-width): Mention behavior on
4673 multi-monitor setups in docstrings.
4674 (w32-display-monitor-attributes-list): Declare function.
4675 (display-monitor-attributes-list): Use it.
4676
864c58ca
MA
46772013-07-04 Michael Albinus <michael.albinus@gmx.de>
4678
4679 * filenotify.el: New package.
4680
4681 * autorevert.el (top): Require filenotify.el.
4682 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4683 instead.
4684 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4685 (auto-revert-notify-handler): Use `file-notify-*' functions.
4686
4687 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4688
321e1a9c
SM
4689 * net/tramp.el (tramp-file-name-for-operation):
4690 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4691
4692 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4693 for `file-notify-add-watch' and `file-notify-rm-watch'.
4694 (tramp-process-sentinel): Improve trace.
4695 (tramp-sh-handle-file-notify-add-watch)
4696 (tramp-sh-file-notify-process-filter)
4697 (tramp-sh-handle-file-notify-rm-watch)
4698 (tramp-get-remote-inotifywait): New defuns.
4699
96673afe
JL
47002013-07-03 Juri Linkov <juri@jurta.org>
4701
4702 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4703 call of `occur-read-primary-args' to interactive spec.
4704
4705 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4706 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4707
924494f4
MM
47082013-07-03 Matthias Meulien <orontee@gmail.com>
4709
4710 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4711 `Buffer-menu-multi-occur'. Add it to the menu.
4712 (Buffer-menu-mode): Document it in docstring.
4713 (Buffer-menu-multi-occur): New command. (Bug#14673)
4714
56f75efc
DG
47152013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4716
4717 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4718 keywords and built-ins.
4719
9b057d61
GM
47202013-07-03 Glenn Morris <rgm@gnu.org>
4721
208dee4d
GM
4722 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4723
9b057d61
GM
4724 Make info-xref checks case-sensitive by default
4725 * info.el (Info-find-node, Info-find-in-tag-table)
4726 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4727 Add option for exact case matching of nodes.
4728 * info-xref.el (info-xref): New custom group.
4729 (info-xref-case-fold): New option.
4730 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4731
e01aa29c
LL
47322013-07-03 Leo Liu <sdl.web@gmail.com>
4733
4734 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4735
3086ca2e
DG
47362013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4739 middle of block statement initially, lower the depth. Remove
4740 FIXME comment, not longer valid. Remove middle of block statement
4741 detection, no need to do that anymore since we've been using
4742 `ruby-parse-region' here.
4743
a3b49114
JD
47442013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4745
4746 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4747
08e5c823 47482013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4749
4750 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4751
2addf922
JB
47522013-07-01 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4755 (desktop-restore-in-current-display): New customization option.
4756 (desktop--excluded-frame-parameters): Add `font'.
4757 (desktop--save-frames): Rename from desktop--save-windows.
4758 (desktop--restore-in-this-display-p): New function.
4759 (desktop--make-full-frame): Remove unwanted width/height from
4760 full(width|height) frames.
4761 (desktop--restore-frames): Rename from desktop--restore-windows.
4762 Obey desktop-restore-current-display. Do not delete old frames or
4763 select a new frame unless we were able to restore at least one frame.
4764
ef099a94
MN
47652013-06-30 Michal Nazarewicz <mina86@mina86.com>
4766
4767 * files.el (find-file-noselect): Simplify conditional expression.
4768
4769 * remember.el (remember-append-to-file):
4770 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4771
4772 Add `remember-notes' function to store random notes across Emacs
4773 restarts.
4774 * remember.el (remember-data-file): Add :set callback to affect
4775 notes buffer (if any).
4776 (remember-notes): New command.
4777 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4778 New defcustoms for the `remember-notes' function.
4779 (remember-notes-save-and-bury-buffer): New command.
4780 (remember-notes-mode-map): New variable.
4781 (remember-mode): New minor mode.
4782 (remember-notes--kill-buffer-query): New function.
4783 * startup.el (initial-buffer-choice): Add notes to custom type.
4784
0865d506
EZ
47852013-06-30 Eli Zaretskii <eliz@gnu.org>
4786
0ba54312
EZ
4787 * bindings.el (right-char, left-char): Don't call sit-for, this is
4788 no longer needed. Use arithmetic comparison only for numerical
4789 arguments.
4790
ef099a94
MN
4791 * international/mule-cmds.el (select-safe-coding-system):
4792 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4793
2fae38e5
LMI
47942013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4795
4796 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4797 progression on degenerate tables.
ef099a94 4798 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4799
a47cbd64
JB
48002013-06-30 Juanma Barranquero <lekktu@gmail.com>
4801
4802 Some fixes and improvements for desktop frame restoration.
4803 It is still experimental and disabled by default.
4804 * desktop.el (desktop--save-windows): Put the selected frame at
4805 the head of the list.
4806 (desktop--make-full-frame): New function.
4807 (desktop--restore-windows): Try to re-select the frame that was
4808 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4809 just show an error message and continue. Set up maximized frames
4810 so they have default non-maximized dimensions.
a47cbd64 4811
6dbafa30
DG
48122013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4813
ef099a94
MN
4814 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4815 Don't start heredoc inside a string or comment.
6dbafa30 4816
4c672a0f
EZ
48172013-06-29 Eli Zaretskii <eliz@gnu.org>
4818
4819 * bindings.el (visual-order-cursor-movement): New defcustom.
4820 (right-char, left-char): Provide visual-order cursor motion by
4821 calling move-point-visually. Update the doc strings.
4822
50960f36
KH
48232013-06-28 Kenichi Handa <handa@gnu.org>
4824
4825 * international/mule.el (define-coding-system): New coding system
4826 properties :inhibit-null-byte-detection,
4827 :inhibit-iso-escape-detection, and :prefer-utf-8.
4828 (set-buffer-file-coding-system): If :charset-list property of
4829 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4830 appropriate for setting.
4831
c1ea3abf
JB
4832 * international/mule-cmds.el (select-safe-coding-system):
4833 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4834 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4835
4836 * international/mule-conf.el (prefer-utf-8): New coding system.
4837 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4838 files.
4839
75dbaf9d
IK
48402013-06-28 Ivan Kanis <ivan@kanis.fr>
4841
eadb6068
IK
4842 * net/shr.el (shr-render-region): New function.
4843
75dbaf9d
IK
4844 * net/eww.el: Autoload `eww-browse-url'.
4845
9ea5cf9f
DG
48462013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4847
c1ea3abf
JB
4848 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4849 Adapt to `package-desc-version' being a list.
4850 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4851 archive element.
4852
39c0e36f
JB
48532013-06-27 Juanma Barranquero <lekktu@gmail.com>
4854
4855 New experimental feature to save&restore window and frame setup.
4856 * desktop.el (desktop-save-windows): New defcustom.
4857 (desktop--saved-states): New var.
4858 (desktop--excluded-frame-parameters): New defconst.
4859 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4860 (desktop--restore-windows, desktop--save-windows): New functions.
4861 (desktop-save): Call `desktop--save-windows'.
4862 (desktop-read): Call `desktop--restore-windows'.
4863
7f13406b
LMI
48642013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865
ef099a94 4866 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4867
1e072639
SB
48682013-06-27 Stephen Berman <stephen.berman@gmx.net>
4869
4870 * info.el (Info-try-follow-nearest-node): Move search for footnote
4871 above search for node name to prevent missing a footnote (bug#14717).
4872
f3e2cbde
SB
48732013-06-27 Stephen Berman <stephen.berman@gmx.net>
4874
4875 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4876
99906aa0
LL
48772013-06-27 Leo Liu <sdl.web@gmail.com>
4878
4879 * net/eww.el (eww-read-bookmarks): Check file size.
4880
539f75f4
SM
48812013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4884 advice--pending if newdef is nil or an autoload (bug#13820).
4885 (advice-mapc): New function.
4886
843571cb
LMI
48872013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4888
4889 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4890 probably.
23a75d7f 4891 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4892 (eww-add-bookmark): New command.
4893 (eww-bookmark-mode): New mode and commands.
a285ce99 4894 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4895 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4896
f2136e1e
GM
48972013-06-26 Glenn Morris <rgm@gnu.org>
4898
eab35f39
GM
4899 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4900 (hfy-size): Handle ttys. (Bug#14668)
4901
f2136e1e
GM
4902 * info-xref.el: Update for Texinfo 5 change in *note format.
4903 (info-xref-node-re, info-xref-note-re): New constants.
4904 (info-xref-check-buffer): Use info-xref-note-re.
4905
a49ff80c
SM
49062013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4907
a343d218
SM
4908 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4909
a49ff80c
SM
4910 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4911 nil terminate the loop (bug#14718).
4912
8308f184
LMI
49132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4914
4915 * net/eww.el: Rework history traversal. When going forward/back,
4916 put these actions into the history, too, so that they can be
4917 replayed.
26bf2b82 4918 (eww-render): Move the history reset to the correct buffer.
8308f184 4919
ec64c273
JL
49202013-06-25 Juri Linkov <juri@jurta.org>
4921
4922 * files-x.el (modify-dir-local-variable): Change the header comment
4923 in the file with directory local variables. (Bug#14692)
4924
e080a9d7
JL
4925 * files-x.el (read-file-local-variable-value): Add `default'.
4926 (Bug#14710)
4927
bfbc93a1
IK
49282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4929
4930 * net/eww.el (eww-make-unique-file-name): Create a unique file
4931 name before saving to entering `y' accidentally asynchronously.
4932
49332013-06-25 Ivan Kanis <ivan@kanis.fr>
4934
4935 * net/eww.el (eww-download): New command and keystroke.
4936
16f74f10
LMI
49372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4938
a49ff80c 4939 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4940
4941 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4942 be more consistent with Info and dired.
4943
4944 * net/eww.el (eww-mode-map): Ditto.
4945
12059709
SM
49462013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4949 packages from archives.
4950 (package-archive-contents): Change format; include obsolete packages.
4951 (package-desc): Use `dir' to mark builtin packages.
4952 (package--from-builtin): Set the `dir' field to `builtin'.
4953 (generated-autoload-file, version-control): Declare.
4954 (package-compute-transaction): Change first arg and return value to be
4955 lists of package-descs. Adjust to new package-archive-contents format.
4956 (package--add-to-archive-contents): Adjust to new
4957 package-archive-contents format.
4958 (package-download-transaction): Arg is now a list of package-descs.
4959 (package-install): If `pkg' is a package name, pass it as
4960 a requirement, so it is subject to the usual (e.g. disabled) checks.
4961 (describe-package): Accept package-desc as well.
4962 (describe-package-1): Describe a specific package-desc. Add links to
4963 other package-descs for the same package name.
4964 (package-menu-describe-package): Pass the actual package-desc.
4965 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4966 works correctly.
4967 (package-desc-status): New function.
4968 (package-menu--refresh): New function, extracted
4969 from package-menu--generate.
4970 (package-menu--generate): Use it.
4971 (package-delete): Update package-alist.
4972 (package-menu-execute): Don't call package-initialize.
4973
4974 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4975 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4976 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4977 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4978 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4979 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4980
8bbdea0f
MR
49812013-06-25 Martin Rudalics <rudalics@gmx.at>
4982
4983 * window.el (window--state-get-1): Workaround for bug#14527.
4984 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4985
e82b0991
LMI
49862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4987
4988 * net/eww.el (eww-back-url): Implement the history by stashing all
4989 the data into a list.
d3f0f918 4990 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4991
c763842b
SM
49922013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4995 for values and use read--expression for expressions (bug#14710).
4996 (read-file-local-variable): Avoid setq.
4997 (read-file-local-variable-mode): Use minor-mode-list.
4998
bceff189
RW
49992013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5000
864c58ca 5001 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5002 for DOI URLs.
5003
45f431c6
RW
50042013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5005
864c58ca 5006 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5007 Update imenu-support when dialect changes.
5008
f42d8237
LL
50092013-06-25 Leo Liu <sdl.web@gmail.com>
5010
5011 * ido.el (ido-read-internal): Allow forward slash on windows.
5012
be549ce6
LMI
50132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5014
5015 * net/eww.el (eww): Start of strings is \\`, not ^.
5016
71d4c19d
IK
50172013-06-24 Ivan Kanis <ivan@kanis.fr>
5018
5196f88a
IK
5019 * net/shr.el (shr-browse-url): Fix interactive spec.
5020
71d4c19d
IK
5021 * net/eww.el (eww): Add a trailing slash to domain names.
5022
ae36ca55
JB
50232013-06-24 Juanma Barranquero <lekktu@gmail.com>
5024
5025 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5026
0ebd92a3
LMI
50272013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5028
bdaa086b
LMI
5029 * net/shr.el (shr-browse-url): Use an external browser if given a
5030 prefix.
5031
c763842b 5032 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5033
b89fc156
IK
50342013-06-24 Ivan Kanis <ivan@kanis.fr>
5035
5036 * net/eww.el (eww): Work more correctly for file: URLs.
5037 (eww-detect-charset): Allow quoted charsets.
5038 (eww-yank-page-url): New command and keystroke.
5039
18eb4bca
DU
50402013-06-24 Daiki Ueno <ueno@gnu.org>
5041
5042 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5043 file name of gpg executable.
5044 (epg-context-program): New function.
5045 (epg-context-home-directory): New function.
5046 (epg-context-set-program): New function.
5047 (epg-context-set-home-directory): New function.
5048 (epg--start): Use `epg-context-program' instead of
5049 'epg-gpg-program'.
5050 (epg--list-keys-1): Likewise.
5051
6c6268c8
LL
50522013-06-24 Leo Liu <sdl.web@gmail.com>
5053
5054 * ido.el (ido-read-internal): Fix bug#14620.
5055
5e400cb3
JB
50562013-06-23 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * faces.el (face-documentation): Simplify.
5059 (read-face-attribute, tty-find-type, x-resolve-font-name):
5060 Use `string-match-p'.
5061 (list-faces-display): Use `string-match-p'. Simplify.
5062 (face-spec-recalc): Check face to avoid face alias loops.
5063 (read-color): Use `string-match-p' and non-capturing parenthesis.
5064
f3f9606c
LMI
50652013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5066
5067 * net/shr.el (shr-rescale-image): Use the new
5068 :max-width/:max-height functionality.
5069
a3ca09b9
IK
50702013-06-23 Ivan Kanis <ivan@kanis.fr>
5071
5072 * net/eww.el (eww-search-prefix): New variable.
5073 (eww): Use it.
f865b474
IK
5074 (eww-external-browser): New variable.
5075 (eww-mode-map): New keystroke.
5076 (eww-browse-with-external-browser): New command.
a3ca09b9 5077
e854cfc7
IK
5078 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5079
18bb9e21
JB
50802013-06-23 Juanma Barranquero <lekktu@gmail.com>
5081
5082 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5083 Don't skip aligning the next header field when padding is 0;
5084 otherwise, field width is not respected unless the title is as
5085 wide as the field.
5086
5b165ade
SM
50872013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * emacs-lisp/package.el (package-el-version): Remove.
5090 (package-process-define-package): Fix inf-loop.
5091 (package-install): Allow symbols as arguments again.
5092
12adebe9
DG
50932013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5094
5095 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5096 add some more keyword-like methods.
5097 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5098
388573ee
JB
50992013-06-22 Juanma Barranquero <lekktu@gmail.com>
5100
5101 * bs.el (bs-buffer-show-mark): Make defvar-local.
5102 (bs-mode): Use setq-local.
5103
5104 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5105 (emacs-lock--try-unlocking): Make defvar-local.
5106
4582a01c 51072013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5108
2663dd23
GM
5109 * play/cookie1.el (cookie-apropos): Minor simplification.
5110
3d94f3ad
GM
5111 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5112
f72e2fdb
DG
51132013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5114
5115 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5116 `regexp-opt', it breaks the build during dumping.
5117
73eab938
DG
51182013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5119
c763842b
SM
5120 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5121 Highlight keyword-like methods on Kernel and Module with
73eab938 5122 font-lock-builtin-face.
5cf8176d
DG
5123 (auto-mode-alist): Consolidate different entries into one regexp
5124 and add more *file-s.
73eab938 5125
d26255f6
SB
51262013-06-21 Stephen Berman <stephen.berman@gmx.net>
5127
5128 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5129
5130 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5131 (diary-entry): Use it in the action of this button type instead of
5132 diary-goto-entry.
5133
5134 * calendar/todo-mode.el: New version.
5135 (todo-add-category): Append new category to end of file and give
5136 it the highest number, instead of putting it at the beginning and
5137 giving it 0. Incorporate noninteractive functionality.
5138 (todo-forward-category): Adapt to 1-based category numbering.
5139 Allow skipping over archived categories.
5140 (todo-backward-category): Derive from todo-forward-category.
5141 (todo-backward-item, todo-forward-item): Make noninteractive and
5142 delegate interactive part to new commands. Make sensitive to done items.
5143 (todo-categories): Make value an alist of category names and
5144 vectors of item counts.
5145 (todo-category-beg): Make a defconst.
5146 (todo-category-number): Use 1 instead of 0 as initial value.
5147 (todo-category-select): Make sensitive to overlays, optional item
5148 highlighting and done items.
5149 (todo-delete-item): Make sensitive to overlays and marked and done items.
5150 (todo-edit-item): Make sensitive to overlays and editing of
5151 date/time header optional. Add format checks.
5152 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5153 no-op if point is not on an item. Advertise using todo-edit-quit.
5154 (todo-edit-mode): Make sensitive to new format, font-locking, and
5155 multiple todo files.
5156 (todo-insert-item, todo-insert-item-here): Derive from
5157 todo-basic-insert-item and extend functionality.
5158 (todo-item-end, todo-item-start): Make sensitive to done items.
5159 (todo-item-string): Don't return text properties. Restore point.
5160 (todo-jump-to-category): Make sensitive to multiple todo files and
5161 todo archives. Use extended category completion.
5162 (todo-lower-item, todo-raise-item): Rename to *-priority and
5163 derive from todo-set-item-priority.
5164 (todo-mode): Derive from special-mode. Make sensitive to new
5165 format, font-locking and multiple todo files. Make read-only.
5166 (todo-mode-map): Don't suppress digit keys, so they can supply
5167 prefix arguments. Add many new key bindings.
5168 (todo-prefix): Insert as an overlay instead of file text.
5169 Change semantics from diary date expression to purely visual mark.
5170 (todo-print): Rename to todo-print-buffer. Make buffer display
5171 features printable. Remove option to restrict number of items
5172 printed. Add option to print to file.
5173 (todo-print-function): Rename to todo-print-buffer-function.
5174 (todo-quit): Extend to handle exiting new todo modes.
5175 (todo-remove-item): Make sensitive to overlays.
5176 (todo-save): Extend to buffers of filtered items.
5177 (todo-show): Make sensitive to done items, multiple todo files and
5178 new todo modes. Offer to convert legacy todo file before creating
5179 first new todo file.
5180 (todo-show-priorities): Rename to todo-top-priorities.
5181 Change semantics of value 0.
5182 (todo-top-priorities): Rename to todo-filter-top-priorities,
5183 derive from todo-filter-items and extend functionality.
5184 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5185 and extend functionality to other types of filtered items.
5186 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5187 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5188 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5189 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5190 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5191 (todo-edit-mode-hook, todo-entry-prefix-function)
5192 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5193 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5194 (todo-initials, todo-insert-threshold, todo-item-string-start)
5195 (todo-line-string, todo-menu, todo-mode-hook)
5196 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5197 (todo-print-priorities, todo-remove-separator)
5198 (todo-save-top-priorities-too, todo-string-count-lines)
5199 (todo-string-multiline-p, todo-time-string-format)
5200 (todo-tmp-buffer-name): Remove.
5201 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5202 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5203 (todo-edit-category-diary-inclusion)
5204 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5205 (todo-edit-file, todo-edit-item-date-day)
5206 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5207 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5208 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5209 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5210 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5211 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5212 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5213 (todo-filter-top-priorities-multifile, todo-find-archive)
5214 (todo-find-filtered-items-file, todo-go-to-source-item)
5215 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5216 (todo-jump-to-archive-category, todo-lower-category)
5217 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5218 (todo-move-category, todo-move-item, todo-next-button)
5219 (todo-next-item, todo-padded-string, todo-powerset)
5220 (todo-previous-button, todo-previous-item)
5221 (todo-print-buffer-to-file, todo-raise-category)
5222 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5223 (todo-set-category-number, todo-set-item-priority)
5224 (todo-set-top-priorities-in-category)
5225 (todo-set-top-priorities-in-file, todo-show-categories-table)
5226 (todo-sort-categories-alphabetically-or-numerically)
5227 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5228 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5229 (todo-toggle-item-header, todo-toggle-item-highlighting)
5230 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5231 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5232 (todo-unarchive-items, todo-unmark-category): New commands.
5233 (todo-absolute-file-name, todo-add-to-buffer-list)
5234 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5235 (todo-basic-insert-item, todo-category-completions)
5236 (todo-category-number, todo-category-string-matcher-1)
5237 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5238 (todo-check-format, todo-clear-matches)
5239 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5240 (todo-current-category, todo-date-string-matcher)
5241 (todo-define-insertion-command, todo-diary-expired-matcher)
5242 (todo-diary-goto-entry, todo-diary-item-p)
5243 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5244 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5245 (todo-done-item-section-p, todo-done-separator)
5246 (todo-done-string-matcher, todo-files, todo-filter-items)
5247 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5248 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5249 (todo-insert-category-line, todo-insert-item-from-calendar)
5250 (todo-insert-sort-button, todo-insert-with-overlays)
5251 (todo-insertion-command-name, todo-insertion-key-bindings)
5252 (todo-label-to-key, todo-longest-category-name-length)
5253 (todo-make-categories-list, todo-mode-external-set)
5254 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5255 (todo-modes-set-3, todo-multiple-filter-files)
5256 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5257 (todo-read-category, todo-read-date, todo-read-dayname)
5258 (todo-read-file-name, todo-read-time)
5259 (todo-reevaluate-category-completions-files-defcustom)
5260 (todo-reevaluate-default-file-defcustom)
5261 (todo-reevaluate-filelist-defcustoms)
5262 (todo-reevaluate-filter-files-defcustom)
5263 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5264 (todo-reset-done-separator, todo-reset-done-separator-string)
5265 (todo-reset-done-string, todo-reset-global-current-todo-file)
5266 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5267 (todo-reset-prefix, todo-set-categories)
5268 (todo-set-date-from-calendar, todo-set-show-current-file)
5269 (todo-set-top-priorities, todo-short-file-name)
5270 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5271 (todo-total-item-counts, todo-update-buffer-list)
5272 (todo-update-categories-display, todo-update-categories-sexp)
5273 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5274 New functions.
5275 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5276 New major modes.
5277 (todo-categories, todo-display, todo-edit, todo-faces)
5278 (todo-filtered): New defgroups.
5279 (todo-archived-only, todo-button, todo-category-string, todo-date)
5280 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5281 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5282 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5283 (todo-add-item-if-new-category, todo-always-add-time-string)
5284 (todo-categories-align, todo-categories-archived-label)
5285 (todo-categories-category-label, todo-categories-diary-label)
5286 (todo-categories-done-label, todo-categories-number-separator)
5287 (todo-categories-todo-label, todo-categories-totals-label)
5288 (todo-category-completions-files, todo-completion-ignore-case)
5289 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5290 (todo-done-separator-string, todo-done-string)
5291 (todo-files-function, todo-filter-done-items, todo-filter-files)
5292 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5293 (todo-initial-category, todo-initial-file, todo-item-mark)
5294 (todo-legacy-date-time-regexp, todo-mode-line-function)
5295 (todo-nondiary-marker, todo-number-prefix)
5296 (todo-print-buffer-function, todo-show-current-file)
5297 (todo-show-done-only, todo-show-first, todo-show-with-done)
5298 (todo-skip-archived-categories, todo-top-priorities-overrides)
5299 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5300 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5301 New defcustoms.
5302 (todo-category-done, todo-date-pattern, todo-date-string-start)
5303 (todo-diary-items-buffer, todo-done-string-start)
5304 (todo-filtered-items-buffer, todo-item-start)
5305 (todo-month-abbrev-array, todo-month-name-array)
5306 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5307 (todo-top-priorities-buffer): New defconsts.
5308 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5309 (todo-categories-with-marks, todo-category-string-face)
5310 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5311 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5312 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5313 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5314 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5315 (todo-font-lock-keywords, todo-global-current-todo-file)
5316 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5317 (todo-insertion-commands-args)
5318 (todo-insertion-commands-args-genlist)
5319 (todo-insertion-commands-names, todo-insertion-map)
5320 (todo-key-bindings-t, todo-key-bindings-t+a)
5321 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5322 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5323 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5324 (todo-visited): New variables.
5325
cad5d1cb
GM
53262013-06-21 Glenn Morris <rgm@gnu.org>
5327
5328 * play/cookie1.el (cookie-apropos): Add optional display argument.
5329 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5330 (psychoanalyze-pinhead): Use cookie-doctor.
5331
9e277302
JB
53322013-06-21 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * emacs-lisp/package.el (tar-get-file-descriptor)
5335 (tar--extract): Declare.
5336
c5b0993e
EW
53372013-06-21 Eduard Wiebe <usenet@pusto.de>
5338
5339 Extend flymake's warning predicate to be a function (bug#14217).
5340 * progmodes/flymake.el (flymake-warning-predicate): New.
5341 (flymake-parse-line): Use it.
5342 (flymake-warning-re): Make obsolete alias to
5343 `flymake-warning-predicate'.
5344
a7d2d465
SM
53452013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5348 (package-obsolete-list): Remove.
5349 (package-activate): Remove min-version argument. Add `force' argument.
5350 Adjust to new package-alist format.
5351 (package-mark-obsolete): Remove.
5352 (package-unpack): Force reload of the package's autoloads.
5353 (package-installed-p): Check builtins if the installed package is not
5354 recent enough.
5355 (package-initialize): Don't reset package-obsolete-list.
5356 Don't specify which package version to activate.
5357 (package-process-define-package, describe-package-1)
5358 (package-menu--generate): Adjust to new package-alist format.
5359
cedf5c9d
JB
53602013-06-21 Juanma Barranquero <lekktu@gmail.com>
5361
5362 * allout-widgets.el (allout-widgets-mode-off)
5363 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5364 (allout-widgets-post-command-business)
5365 (allout-widgets-after-copy-or-kill-function)
5366 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5367 (allout-decorate-item-and-context)
5368 (allout-graphics-modification-handler): Fix typos in docstrings.
5369 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5370
5371 * cmuscheme.el (scheme-start-file): Doc fix.
5372 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5373 (scheme-input-filter): Use `string-match-p'.
5374
5375 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5376
5377 * dired-x.el: Use Dired consistently in docstrings.
5378
5379 * dired.el: Use Dired consistently in docstrings.
5380 (dired-readin, dired-mode): Use `setq-local'.
5381 (dired-switches-alist): Make defvar-local.
5382 (dired-buffers-for-dir): Use `zerop'.
5383 (dired-safe-switches-p, dired-switches-escape-p)
5384 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5385 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5386 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5387 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5388 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5389 (dired-toggle-marks, dired-mark-files-containing-regexp)
5390 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5391 (dired-flag-auto-save-files, dired-flag-backup-files):
5392 Use `looking-at-p'.
5393 (dired-mark-files-regexp, dired-build-subdir-alist):
5394 Use `string-match-p', `looking-at-p'.
5395
5396 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5397 (direct-print-region-helper): Use `string-match-p'.
5398
aed838b5
LL
53992013-06-21 Leo Liu <sdl.web@gmail.com>
5400
cedf5c9d
JB
5401 * comint.el (comint-redirect-results-list-from-process):
5402 Fix infinite loop.
aed838b5 5403
d80a808f
LMI
54042013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5405
5406 * net/eww.el (eww-update-header-line-format): Quote % characters.
5407
e7a526e3
GM
54082013-06-21 Glenn Morris <rgm@gnu.org>
5409
5410 * play/cookie1.el (cookie): New custom group.
5411 (cookie-file): New option.
5412 (cookie-check-file): New function.
5413 (cookie): Make it interactive. Make start and end messages optional.
5414 Interactively, display the result. Default to cookie-file.
5415 (cookie-insert): Default to cookie-file.
5416 (cookie-snarf): Make start and end messages optional.
5417 Default to cookie-file. Use with-temp-buffer.
5418 (cookie-read): Rename from read-cookie.
5419 Make start and end messages optional. Default to cookie-file.
5420 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5421 Do not autoload it.
e7a526e3
GM
5422 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5423 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5424
62efb35e
LL
54252013-06-21 Leo Liu <sdl.web@gmail.com>
5426
5427 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5428
21e3f963
GM
54292013-06-21 Glenn Morris <rgm@gnu.org>
5430
5431 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5432
fd846ab4
SM
54332013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5434 Daniel Hackney <dan@haxney.org>
5435
5436 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5437 Consolidate the single-file vs tarball code.
5438 (package-desc-suffix): New function.
5439 (package-desc-full-name): Don't bother inlining it.
5440 (package-load-descriptor): Return the new package-desc.
5441 (package-mark-obsolete): Remove unused arg `package'.
5442 (package-unpack): Make it work for single files as well.
5443 Make it update package-alist.
5444 (package--make-autoloads-and-stuff): Rename from
5445 package--make-autoloads-and-compile. Don't compile any more.
5446 (package--compile): New function.
5447 (package-generate-description-file): New function, extracted from
5448 package-unpack-single.
5449 (package-unpack-single): Remove.
5450 (package--with-work-buffer): Add indentation and debugging info.
5451 (package-download-single): Remove.
5452 (package-install-from-archive): Rename from package-download-tar, make
5453 it take a pkg-desc, and make it work for single files as well.
5454 (package-download-transaction): Simplify.
5455 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5456 external tar program.
5457 (package-install-from-buffer): Remove `pkg-desc' argument.
5458 Use package-tar-file-info for tar-mode buffers.
5459 (package-install-file): Simplify accordingly.
5460 (package-archive-base): Change to take a pkg-desc.
5461 * tar-mode.el (tar--check-descriptor): New function, extracted from
5462 tar-get-descriptor.
5463 (tar-get-descriptor): Use it.
5464 (tar-get-file-descriptor): New function.
5465 (tar--extract): New function, extracted from tar-extract.
5466 (tar--extract): Use it.
5467 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5468 case the summary uses non-ascii. Adjust to new calling convention of
5469 package-tar-file-info.
5470
b7deae5e
LL
54712013-06-21 Leo Liu <sdl.web@gmail.com>
5472
fd846ab4
SM
5473 * comint.el (comint-redirect-results-list-from-process):
5474 Fix random delay. (Bug#14681)
b7deae5e 5475
7a65a0b2
JB
54762013-06-21 Juanma Barranquero <lekktu@gmail.com>
5477
5478 * profiler.el (profiler-format-number): Use log, not log10.
5479
1493c2af
JB
54802013-06-20 Juanma Barranquero <lekktu@gmail.com>
5481
5482 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5483
aff6371e
SM
54842013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5487 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5488 yet available.
5489 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5490 (AUTOGENEL): ... here.
5491 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5492 (cl--defsubst-expand): Use it.
5493
89561f72
PE
54942013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5495
5496 * subr.el (log10): Move here from C code, and declare as obsolete.
5497 All uses of (log10 X) replaced with (log X 10).
5498
47199123
JB
54992013-06-20 Juanma Barranquero <lekktu@gmail.com>
5500
5501 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5502 Declare with `defvar-local'.
5503 (tabulated-list-use-header-line, tabulated-list-entries)
5504 (tabulated-list-padding, tabulated-list-printer)
5505 (tabulated-list-sort-key): Declare with `defvar-local'.
5506 (tabulated-list-init-header, tabulated-list-print-fake-header):
5507 Use `setq-local'.
5508
4a172eab
MA
55092013-06-20 Michael Albinus <michael.albinus@gmx.de>
5510
47199123
JB
5511 * arc-mode.el (archive-mode): Add `archive-write-file' to
5512 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5513
5fc0acc0
JB
55142013-06-20 Juanma Barranquero <lekktu@gmail.com>
5515
d5b27848
JB
5516 * cus-edit.el (custom-commands): Fix typos.
5517 (custom-display): Fix tooltip text.
5518 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5519 Fix typos in docstrings.
5520 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5521 (custom-unlispify-menu-entry, custom-magic-value-create)
5522 (custom-add-see-also, custom-group-value-create): Use ?\s.
5523 (custom-guess-type, customize-apropos, editable-field)
5524 (custom-face-value-create): Use `string-match-p'.
5525 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5526
5527 * custom.el (custom-load-symbol): Use `string-match-p'.
5528
a5c581d8
JB
5529 * ansi-color.el: Convert to lexical binding.
5530 (ansi-colors): Fix URL.
5531 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5532 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5533 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5534
970ad972
G
55352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5536
5537 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5538
5539 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5540
55412013-06-19 Tom Tromey <tromey@redhat.com>
5542
5543 * net/eww.el (eww-top-url): Remove.
5544 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5545 (eww-render): Set new variables. Don't set eww-top-url.
5546 (eww-handle-link): Handle "prev", "home", and "contents".
5547 Downcase the rel text.
5548 (eww-top-url): Choose best top URL.
5549
55502013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5551
5552 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5553 relying in widget.el. Using widget.el leads to too many
5554 user interface inconsistencies.
5555 (eww-self-insert): Implement entering commands in text fields.
5556 (eww-process-text-input): New function to make text input field editing
5557 work.
5558 (eww-submit): Rewrite to use the new-style form methods.
5559 (eww-select-display): Display the correct selected item.
5560 (eww-change-select): Implement changing the select value.
5561 (eww-toggle-checkbox): Implement radio/checkboxes.
5562 (eww-update-field): Fix compilation error.
5563 (eww-tag-textarea): Implement <textarea>.
5564
5565 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5566 we don't shadow mode-specific bindings.
5567
5568 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5569 nothing to push.
5570
5571 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5572
4582a01c 55732013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5574
5575 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5576
15b263dc
MA
55772013-06-19 Michael Albinus <michael.albinus@gmx.de>
5578
5579 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5580 not needed.
5581
5582 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5583
8f5297f7
LMI
55842013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5585
5586 * net/browse-url.el (browse-url-browser-function):
5587 `eww-browse-url' has the right calling signature, `eww' does not.
5588
011c4552
GM
55892013-06-19 Glenn Morris <rgm@gnu.org>
5590
2285bd27
GM
5591 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5592 Only eval autoloaded macros.
5593 (byte-compile-autoload): Only give the macro warning for macros.
5594
1d653303
GM
5595 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5596 (ps-underlined-faces): Declare.
5597
bdd779ec
GM
5598 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5599 (speedbar-add-supported-extension): Declare.
5600
011c4552
GM
5601 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5602 Don't include a date stamp in the header of the generated file;
5603 it leads to needless differences between output files.
5604
e59dfb0e
MA
56052013-06-19 Michael Albinus <michael.albinus@gmx.de>
5606
c763842b
SM
5607 * net/secrets.el (secrets-struct-secret-content-type):
5608 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5609 Some servers do not offer introspection.
e59dfb0e 5610
102626e2
SM
56112013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * electric.el (electric-pair-mode): Improve interaction with
5614 electric-layout-mode.
5615 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5616 (electric-pair-syntax): Use text-mode-syntax-table in comments
5617 and strings.
5618 (electric-pair--insert): New function.
5619 (electric-pair-post-self-insert-function): Use it and
5620 electric--after-char-pos.
5621
ad528125
LL
56222013-06-19 Leo Liu <sdl.web@gmail.com>
5623
5624 * progmodes/octave.el (octave-help): Fix regexp.
5625
924d6997
G
56262013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5627
5628 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5629 (shr-table-horizontal-line): Allow nil as a value, and change the
5630 default.
5631 (shr-insert-table-ruler): Respect the nil value.
5632
56332013-06-18 Tom Tromey <tromey@barimba>
5634
5635 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5636 New defvars.
5637 (eww-open-file): New defun.
5638 (eww-render): Initialize new variables.
5639 (eww-display-html): Handle "link" and "a".
5640 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5641 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5642 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5643 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5644 New defuns.
924d6997 5645
d1bbba4f
DG
56462013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5647
5648 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5649 Distinguish ternary operator tokens from slash symbol and slash
5650 char literal.
5651
14dd22d2
JB
56522013-06-18 Juanma Barranquero <lekktu@gmail.com>
5653
5654 Convert symbol prettification into minor mode and global minor mode.
5655
5656 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5657 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5658 (prettify-symbols--keywords): Rename from
5659 `prog-prettify-symbols-alist' and make a local defvar.
5660 (prettify-symbols--compose-symbol): Rename from
5661 `prog--prettify-font-lock-compose-symbol'.
5662 (prettify-symbols--make-keywords): Rename from
5663 `prog-prettify-font-lock-symbols-keywords' and simplify.
5664 (prog-prettify-install): Remove.
5665 (prettify-symbols-mode): New minor mode, based on
5666 `prog-prettify-install'.
5667 (turn-on-prettify-symbols-mode): New function.
5668 (global-prettify-symbols-mode): New globalized minor mode.
5669
5670 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5671 * progmodes/cfengine.el (cfengine3-mode):
5672 * progmodes/perl-mode.el (perl-mode): Don't call
5673 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5674
292c880c
JL
56752013-06-18 Juri Linkov <juri@jurta.org>
5676
5677 * files-x.el (modify-file-local-variable-message): New function.
5678 (modify-file-local-variable)
5679 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5680 and call `modify-file-local-variable-message' when it's non-nil.
5681 (add-file-local-variable, delete-file-local-variable)
5682 (add-file-local-variable-prop-line)
5683 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5684 and use it. (Bug#9820)
5685
0950aa27
JL
56862013-06-18 Juri Linkov <juri@jurta.org>
5687
5688 * emulation/vi.el (vi-shell-op):
5689 * emulation/vip.el (vip-execute-com, ex-command):
5690 * emulation/viper-cmd.el (viper-exec-bang):
5691 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5692 the call of `shell-command-on-region'. (Bug#14637)
5693
5694 * simple.el (shell-command-on-region): Doc fix.
5695
8fbcca16
SM
56962013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5699 (bug#14633).
5700
dd7426ea
GM
57012013-06-18 Glenn Morris <rgm@gnu.org>
5702
4ba54f7d
GM
5703 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5704
dd7426ea
GM
5705 * newcomment.el (comment-search-forward, comment-search-backward):
5706 Doc fix. (Bug#14376)
5707
58aa805b
JB
57082013-06-18 Juanma Barranquero <lekktu@gmail.com>
5709
5710 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5711 (buffer-face-mode-invoke): Doc fix.
5712
9a08a617
MM
57132013-06-18 Matthias Meulien <orontee@gmail.com>
5714
5715 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5716 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5717
f2f426ca
GM
57182013-06-18 Glenn Morris <rgm@gnu.org>
5719
9445f99b
GM
5720 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5721 Replace obsolete function generic-make-keywords with its expansion.
5722
e0df2d14
GM
5723 * progmodes/python.el (ffap-alist): Declare.
5724
f2f426ca
GM
5725 * textmodes/reftex.el (bibtex-mode-map): Declare.
5726
f7f9a720
SM
57272013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5728
5729 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5730 (package-unpack, package-unpack-single): Return the pkg-dir.
5731 (package-download-transaction): Use it to update package-alist.
5732
57ff04e0
LMI
57332013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5734
5735 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5736 possible choice.
5737
c048c022
JL
57382013-06-17 Juri Linkov <juri@jurta.org>
5739
5740 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5741
b5bcaee5
DG
57422013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5743
a020afb9
JB
5744 * emacs-lisp/package.el (package-load-descriptor):
5745 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5746 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5747
551e07e5
JB
57482013-06-17 Juanma Barranquero <lekktu@gmail.com>
5749
5750 * startup.el (command-line): Expand package name returned by
5751 `package--description-file' (bug#14639).
5752
d363bffb
DG
57532013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5754
5755 * emacs-lisp/package.el (package-load-descriptor): Do not call
5756 `emacs-lisp-mode', just use its syntax table.
5757
f612933b
JB
57582013-06-17 Juanma Barranquero <lekktu@gmail.com>
5759
5760 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5761 `font-lock-extra-managed-props' if any prettifying keyword is added.
5762 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5763 (prog-mode): Use `setq-local'.
5764
db3b7db5
SM
57652013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * international/characters.el (standard-case-table): Set syntax of ?»
5768 and ?« to punctuation.
5769
f3d674df
JB
57702013-06-16 Juanma Barranquero <lekktu@gmail.com>
5771
5772 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5773 Save relevant match data before calling `syntax-ppss' (bug#14595).
5774
31489a32
JL
57752013-06-15 Juri Linkov <juri@jurta.org>
5776
5777 * files-x.el (modify-file-local-variable-prop-line): Add local
5778 variables to the end of the existing comment on the first line.
5779 Use `file-auto-mode-skip' to skip interpreter magic line,
5780 and also skip XML declaration.
5781
66bd25ab
SM
57822013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * startup.el (package--builtin-versions): New var.
5785 (package-subdirectory-regexp): Remove.
5786 (package--description-file): Hard code its value instead.
5787
5788 * emacs-lisp/package.el: Don't activate packages older than builtin.
5789 (package-obsolete-list): Rename from package-obsolete-alist, and make
5790 it into a simple list of package-desc.
5791 (package-strip-version): Remove.
5792 (package-built-in-p): Use package--builtin-versions.
5793 (package-mark-obsolete): Simplify.
5794 (package-process-define-package): Mark it obsolete if older than the
5795 builtin version.
5796 (package-handle-response): Use line-end-position.
5797 (package-read-archive-contents, package--download-one-archive):
5798 Simplify.
5799 (package--add-to-archive-contents): Skip if older than the builtin or
5800 installed version.
5801 (package-menu-describe-package): Fix last change.
5802 (package-list-unversioned): New var.
5803 (package-menu--generate): Use it.
5804
5805 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5806 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5807 (autoload-builtin-package-versions): New variable.
5808 (autoload-generate-file-autoloads): Use them.
5809 Remove the list of autoloaded functions/macros from the
5810 (autoload...) comments.
5811
5812 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5813
9583ec36
EZ
58142013-06-15 Eli Zaretskii <eliz@gnu.org>
5815
5816 * simple.el (line-move-partial): Don't jump to the next screen
5817 line as soon as it becomes visible. Instead, continue enlarging
5818 the vscroll until the portion of a tall screen line that's left on
5819 display is about the height of the frame's default font.
5820 (Bug#14567)
5821
f0100d8a
GM
58222013-06-15 Glenn Morris <rgm@gnu.org>
5823
b86a85ca
GM
5824 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5825 compilation-error-regexp-alist void, or local while let-bound.
5826
f0100d8a
GM
5827 * progmodes/make-mode.el (makefile-mode-syntax-table):
5828 Treat "=" as punctuation. (Bug#14614)
5829
05e7ce90
JB
58302013-06-15 Juanma Barranquero <lekktu@gmail.com>
5831
5832 * help-fns.el (describe-variable):
5833 Add extra line for permanent-local variables.
5834
12e5e86e
SH
58352013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5836
5837 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5838 Add export, import, library. (Bug#9164)
5839 (library): Set indent function.
5840
230dcbaf
GM
58412013-06-14 Glenn Morris <rgm@gnu.org>
5842
5843 * term/xterm.el (xterm--query):
5844 Stop after first matching handler. (Bug#14615)
5845
e36b2d20 58462013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5847
5848 Add support for dired in saveplace.
5849 * dired.el (dired-initial-position-hook): New variable.
5850 (dired-initial-position): Call hook to place cursor position.
5851 * saveplace.el (save-place-to-alist): Add dired position.
5852 (save-place-dired-hook): New function.
5853
0b31660d
SM
58542013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5855
bf1e6ae8
SM
5856 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5857 through a symbol rather than letrec.
5858
1b8dff23
SM
5859 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5860 (package-desc): Add `dir' field.
5861 (package-desc-full-name): New function.
5862 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5863 (package-maybe-load-descriptor): Remove.
5864 (package-load-all-descriptors): Just call package-load-descriptor.
5865 (package--disabled-p): New function.
5866 (package-desc-vers, package-desc-doc): Remove aliases.
5867 (package--dir): Remove function.
5868 (package-activate): Check if a package is disabled.
5869 (package-process-define-package): New function, extracted from
5870 define-package.
5871 (define-package): Turn into a place holder.
5872 (package-unpack-single, package-tar-file-info):
5873 Use package--description-file.
5874 (package-compute-transaction): Use package--disabled-p.
5875 (package-download-transaction): Don't call
5876 package-maybe-load-descriptor since they're all loaded anyway.
5877 (package-install): Change argument to be a pkg-desc.
5878 (package-delete): Use a single pkg-desc argument.
5879 (describe-package-1): Use package-desc-dir instead of package--dir.
5880 Use package-desc property instead of package-symbol.
5881 (package-install-button-action): Adjust accordingly.
5882 (package--push): Rewrite.
5883 (package-menu--print-info): Adjust accordingly. Change the ID format
5884 to be a pkg-desc.
5885 (package-menu-describe-package, package-menu-get-status)
5886 (package-menu--find-upgrades, package-menu-mark-upgrades)
5887 (package-menu-execute, package-menu--name-predicate):
5888 Adjust accordingly.
5889 * startup.el (package--description-file): New function.
5890 (command-line): Use it.
5891 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5892 Use package-desc-version.
5893
0b31660d
SM
5894 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5895 (byte-compile-preprocess): Use it.
5896 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5897 can't quite recognize.
5898 (byte-compile-add-to-list): Remove.
5899 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5900 (cconv-closure-convert): Add assertion.
5901
5902 * emacs-lisp/map-ynp.el: Use lexical-binding.
5903 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5904 Factor out some repeated code.
5905
de0503df
SM
59062013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * subr.el (with-eval-after-load): New macro.
5909 (eval-after-load): Allow form to be a function.
5910 take advantage of lexical-binding.
5911 (do-after-load-evaluation): Use dolist and adjust to new format.
5912 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5913
bc5c8c5a
JL
59142013-06-13 Juri Linkov <juri@jurta.org>
5915
5916 * replace.el (perform-replace): Display "symbol " and other search
5917 modes from `isearch-message-prefix' in the *Help* buffer.
5918
5919 * isearch.el (isearch-query-replace): Add " symbol" and other
5920 possible search modes from `isearch-message-prefix' to the prompt.
5921 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5922 when reading a regexp to collect.
5923
a22289f7
JL
59242013-06-13 Juri Linkov <juri@jurta.org>
5925
5926 * isearch.el (word-search-regexp): Match whitespace if the search
5927 string begins or ends in whitespace. The LAX arg is applied to
5928 both ends of the search string. Use `regexp-quote' and explicit
5929 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5930 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5931 boundaries are replaced with symbol boundaries, and characters
5932 between symbols match non-word non-symbol syntax. (Bug#14602)
5933
cb89acab
JL
59342013-06-13 Juri Linkov <juri@jurta.org>
5935
5936 * isearch.el (isearch-del-char): Don't exceed the length of
5937 `isearch-string' by the prefix arg. (Bug#14563)
5938
6e8cfc81
JL
59392013-06-13 Juri Linkov <juri@jurta.org>
5940
5941 * isearch.el (isearch-yank-word, isearch-yank-line)
5942 (isearch-char-by-name, isearch-quote-char)
5943 (isearch-printing-char, isearch-process-search-char):
5944 Add optional count prefix arg. (Bug#14563)
5945
5946 * international/isearch-x.el
5947 (isearch-process-search-multibyte-characters):
5948 Add optional count prefix arg.
5949
c23d55f4
VS
59502013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5953 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5954 lexical-binding.
5955
59562013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5957
5958 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5959
ba947bc4
GM
59602013-06-13 Glenn Morris <rgm@gnu.org>
5961
8baeb37a
GM
5962 * startup.el (tty-handle-args):
5963 Don't just discard "--" and anything after. (Bug#14608)
5964
ba947bc4
GM
5965 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5966
9abefce4
MA
59672013-06-13 Michael Albinus <michael.albinus@gmx.de>
5968
5969 Implement changes in Secret Service API. Make it backward compatible.
5970 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5971 (secrets-create-item): Use it. Prefix properties with interface.
5972
5755011f
MH
59732013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5974
5975 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5976 (term-emulate-terminal): Respect term-suppress-hard-newline.
5977
1261d2da
S
59782013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5979
5980 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5981 Only remove a `thumb-file' overlay. (Bug#14548)
5982
868490bb
GJ
59832013-06-12 Grégoire Jadi <daimrod@gmail.com>
5984
5985 * mail/reporter.el (reporter-submit-bug-report):
5986 Handle missing package-name. (Bug#14600)
5987
79d7167f
TH
59882013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5989
5990 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5991 (reftex-citation-prompt, reftex-default-bibliography)
5992 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5993 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5994 (reftex-bib-sort-author, reftex-bib-sort-year)
5995 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5996 (reftex-extract-bib-entries-from-thebibliography)
5997 (reftex-get-bibkey-default, reftex-get-bib-names)
5998 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5999 (reftex-format-bib-entry, reftex-parse-bibitem)
6000 (reftex-format-bibitem, reftex-do-citation)
6001 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6002 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6003 (reftex-insert-bib-matches, reftex-format-citation)
6004 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6005 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6006 existing comments into docstrings.
6007
5f9dbd7a
XF
60082013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6009
6010 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6011
94df41ab
AS
60122013-06-12 Andreas Schwab <schwab@suse.de>
6013
6014 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6015 for auto-save files.
6016
a7f3fecc
GM
60172013-06-12 Glenn Morris <rgm@gnu.org>
6018
001809f6
GM
6019 * ido.el (ido-delete-ignored-files): Remove.
6020 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6021 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6022
834b5ded
EL
60232013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6024
08c73ed2
EL
6025 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6026
834b5ded
EL
6027 * ido.el (ido-delete-ignored-files): New function,
6028 split from ido-make-file-list-1.
6029 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6030 (ido-make-file-list-1): Use ido-delete-ignored-files.
6031
daabf15a
LL
60322013-06-12 Leo Liu <sdl.web@gmail.com>
6033
6034 * progmodes/octave.el (inferior-octave-startup)
6035 (inferior-octave-completion-table)
6036 (inferior-octave-track-window-width-change)
6037 (octave-eldoc-function-signatures, octave-help)
6038 (octave-find-definition): Use single quoted strings.
6039 (inferior-octave-startup-args): Change default value.
6040 (inferior-octave-startup): Do not hard code "-i" and
6041 "--no-line-editing".
6042 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6043 (inferior-octave-directory-tracker): Use it.
6044 (octave-goto-function-definition): Robustify.
6045 (octave-help): Support highlighting operators in 'See also'.
6046 (octave-find-definition): Find subfunctions only in Octave mode.
6047
cf4e5178
SM
60482013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * help-fns.el (help-fns--compiler-macro): If the handler function is
6051 named, then put a link to it.
6052 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6053 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6054 (cl-typep): Use it.
6055 (cl-eval-when): Simplify debug spec.
6056 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6057 compiler-macro function instead of setting `compiler-macro-file'.
6058
99c81280 60592013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6060
6061 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6062 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6063
f56be016
SM
60642013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6065 Daniel Hackney <dan@haxney.org>
6066
6067 First part of Daniel Hackney's patch to package.el.
6068 * emacs-lisp/package.el: Use defstruct.
6069 (package-desc): New, main struct.
6070 (package--bi-desc, package--ac-desc): New structs, used to describe the
6071 format in external files.
6072 (package-desc-vers): Replace with package-desc-version accessor.
6073 (package-desc-doc): Replace with package-desc-summary accessor.
6074 (package-activate-1): Remove `package' arg since the pkg-vec now
6075 includes the name.
6076 (define-package): Use package-desc-from-define.
6077 (package-unpack-single): Change file-name arg to be a symbol.
6078 (package--add-to-archive-contents): Use package-desc-create and new
6079 accessor functions to package--ac-desc.
6080 (package-buffer-info, package-tar-file-info): Return a package-desc.
6081 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6082 arg to be a package-desc.
6083 (package-install-file): Adjust accordingly. Use \' to match EOS.
6084 (package--from-builtin): New function.
6085 (describe-package-1, package-menu--generate): Use it.
6086 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6087 (package-generate-autoloads): Idem and return the name of the file.
6088 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6089 Change pkg-info arg to be a package-desc.
6090 Use package-make-ac-desc.
6091 (package-upload-file): Use \' to match EOS.
6092 * finder.el (finder-compile-keywords): Use package-make-builtin.
6093
31119d63
SM
60942013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6095
931a2762
SM
6096 * vc/vc.el (vc-deduce-fileset): Change error message.
6097 (vc-read-backend): New function.
6098 (vc-next-action): Use it.
6099
5a3eb0c6
SM
6100 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6101
e3eb1bb7
SM
6102 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6103 (prolog-font-lock-keywords): Use regexp-opt instead.
6104 Don't manually highlight strings.
6105 (prolog-mode-variables): Simplify comment-start-skip.
6106 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6107
31119d63
SM
6108 * emacs-lisp/generic.el (generic--normalise-comments)
6109 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6110 (generic-mode-set-comments): Use them.
6111 (generic-bracket-support): Use setq-local.
6112 (generic-make-keywords-list): Declare obsolete.
6113
7de135d0
GM
61142013-06-11 Glenn Morris <rgm@gnu.org>
6115
6116 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6117 Prettify after setting font-lock-defaults. (Bug#14574)
6118
fa6bc6fd
JB
61192013-06-11 Juanma Barranquero <lekktu@gmail.com>
6120
6121 * replace.el (query-replace, occur-read-regexp-defaults-function)
6122 (replace-search):
6123 * subr.el (declare-function, number-sequence, local-set-key)
6124 (substitute-key-definition, locate-user-emacs-file)
6125 (with-silent-modifications, split-string, eval-after-load):
6126 Fix typos, remove unneeded backslashes and reflow some docstrings.
6127
cf1f9b9a
SM
61282013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6131 default for Elisp files.
6132
56602a4b
GM
61332013-06-11 Glenn Morris <rgm@gnu.org>
6134
6135 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6136 although define-derived-mode was doing this anyway. (Bug#14583)
6137
30ae0b2c
JB
61382013-06-10 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6141 Fix make-variable-buffer-local call to refer to the correct variable.
6142
fa472906
AG
61432013-06-10 Aidan Gauland <aidalgol@amuri.net>
6144
6145 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6146 (eshell-visual-subcommands, eshell-visual-options):
6147 Add summary line to docstrings. Add cross-references.
fa472906 6148
ff4871b9
GM
61492013-06-10 Glenn Morris <rgm@gnu.org>
6150
6151 * epa.el (epa-read-file-name): New function. (Bug#14510)
6152 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6153
04fcf1b0
AG
61542013-06-09 Aidan Gauland <aidalgol@amuri.net>
6155
6156 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6157 output redirection to be ignored with visual commands.
6158
88b00caa
AG
61592013-06-09 Aidan Gauland <aidalgol@amuri.net>
6160
6161 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6162 (eshell-term-initialize): Move long lambda to separate function
6163 eshell-visual-command-p.
e7b41c4c
JB
6164 * eshell/em-dirs.el (eshell-dirs-initialise):
6165 * eshell/em-script.el (eshell-script-initialize):
6166 Add missing #' to lambda.
88b00caa 6167
fda74125
LL
61682013-06-08 Leo Liu <sdl.web@gmail.com>
6169
6170 * progmodes/octave.el (octave-add-log-current-defun): New function.
6171 (octave-mode): Set add-log-current-defun-function.
6172 (octave-goto-function-definition): Do not move point if not found.
6173 (octave-find-definition): Enhance to try subfunctions first.
6174
467f3b33
GM
61752013-06-08 Glenn Morris <rgm@gnu.org>
6176
6177 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6178 (byte-compile-backward-char, byte-compile-backward-word):
6179 Improve previous change, to handle non-explicit nil.
6180
544badc3
SM
61812013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6184 (smie--opener/closer-at-point): New function.
6185 (smie--matching-block-data): Use it. Don't match from right after an
6186 opener or right before a closer. Obey smie-blink-matching-inners.
6187 Don't signal a mismatch for repeated inners like "switch..case..case".
6188
a175bf33
LL
61892013-06-07 Leo Liu <sdl.web@gmail.com>
6190
6191 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6192 to t. (Bug#14303)
ce8209d4
LL
6193 (octave-function-header-regexp): Fix. (Bug#14570)
6194 (octave-help-mode-finish-hook, octave-help-mode-finish):
6195 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6196
6197 * newcomment.el (comment-search-backward): Revert last change.
6198 (Bug#14434)
6199
6200 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6201
a822acff
EZ
62022013-06-07 Eli Zaretskii <eliz@gnu.org>
6203
6204 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6205 through xargs, to avoid failure due to MS-Windows limitations on
6206 command-line length.
6207
961166f5
GM
62082013-06-06 Glenn Morris <rgm@gnu.org>
6209
d0341459
GM
6210 * font-lock.el (lisp-font-lock-keywords-2):
6211 Treat user-error like error.
6212
961166f5
GM
6213 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6214 (byte-compile-backward-char, byte-compile-backward-word):
6215 Handle explicit nil arguments. (Bug#14565)
6216
80fa505f
AM
62172013-06-05 Alan Mackenzie <acm@muc.de>
6218
6219 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6220 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6221 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6222 (Bug#9706)
80fa505f 6223
fccdc796
SM
62242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * autorevert.el (auto-revert-notify-handler): Use memq.
6227 Hide assertion failure.
6228
6229 * skeleton.el: Use cl-lib.
6230 (skeleton-further-elements): Use defvar-local.
6231 (skeleton-insert): Use cl-progv.
6232
9bfff84b
TZ
62332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6234
6235 * progmodes/prog-mode.el (prog-prettify-symbols)
6236 (prog-prettify-install): Update docstrings.
6237
55577e7c
SM
62382013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * simple.el: Move all the prog-mode code to prog-mode.el.
6241 * progmodes/prog-mode.el: New file.
6242 * loadup.el: Add prog-mode.el.
6243
8fc57765
TZ
62442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6245
6246 * simple.el (prog-prettify-symbols): Add version.
6247 (prog-prettify-install): Add convenience function to prettify symbols.
6248
6249 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6250 (perl--augmented-font-lock-keywords-1)
6251 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6252 variables and use it.
6253
6254 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6255 (cfengine3-mode): Remove unneeded variable and use it.
6256
6257 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6258 (lisp--augmented-font-lock-keywords-1)
6259 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6260 Remove unneeded variables and use it.
6261
650645d5 62622013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6263
6264 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6265 to point when opening the connection. (Bug#14380)
28f5da6d 6266
781b4af6
SM
62672013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * subr.el (load-history-regexp, load-history-filename-element)
6270 (eval-after-load, after-load-functions, do-after-load-evaluation)
6271 (eval-next-after-load, display-delayed-warnings)
6272 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6273 definition of save-match-data.
6274 (overriding-local-map): Remove accidental obsolescence declaration.
6275
6276 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6277
3ca0d0b4
TZ
62782013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6279
6280 Generalize symbol prettify support to prog-mode and implement it
6281 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6282 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6283 (prog--prettify-font-lock-compose-symbol)
6284 (prog-prettify-font-lock-symbols-keywords): New variables and
6285 functions to support symbol prettification.
6286 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6287 (lisp--augmented-font-lock-keywords-1)
6288 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6289 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6290 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6291 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6292 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6293 * progmodes/perl-mode.el (perl-prettify-symbols)
6294 (perl--font-lock-compose-symbol)
6295 (perl--font-lock-symbols-keywords): Move to prog-mode.
6296 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6297 (perl-font-lock-keywords-1)
6298 (perl-font-lock-keywords-2): Remove explicit prettify support.
6299 (perl--augmented-font-lock-keywords)
6300 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6301 (perl--augmented-font-lock-keywords-2, perl-mode):
6302 Implement prettify support.
3ca0d0b4 6303
976cb066
LL
63042013-06-05 Leo Liu <sdl.web@gmail.com>
6305
6306 Re-implement smie matching block highlight using
6307 show-paren-data-function. (Bug#14395)
6308 * emacs-lisp/smie.el (smie-matching-block-highlight)
6309 (smie--highlight-matching-block-overlay)
6310 (smie--highlight-matching-block-lastpos)
6311 (smie-highlight-matching-block)
6312 (smie-highlight-matching-block-mode): Remove.
6313 (smie--matching-block-data-cache): New variable.
6314 (smie--matching-block-data): New function.
6315 (smie-setup): Use smie--matching-block-data for
6316 show-paren-data-function.
6317
6318 * progmodes/octave.el (octave-mode-menu): Fix.
6319 (octave-find-definition): Skip garbage lines.
6320
208d0342
SM
63212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 Fix compilation error with simultaneous dynamic+lexical scoping.
6324 Add warning when a defvar appears after the first let-binding.
6325 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6326 (byte-compile-close-variables): Initialize it.
6327 (byte-compile--declare-var): New function.
6328 (byte-compile-file-form-defvar)
6329 (byte-compile-file-form-define-abbrev-table)
6330 (byte-compile-file-form-custom-declare-variable): Use it.
6331 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6332 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6333 (byte-compile-bind): Handle dynamic bindings that shadow
6334 lexical bindings.
6335 (byte-compile-unbind): Make arg non-optional.
6336 (byte-compile-let): Simplify.
6337 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6338 (cconv--analyse-function, cconv-analyse-form): Populate it.
6339 Protect byte-compile-bound-variables to limit the scope of defvars.
6340 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6341 Remove unneeded rule for `declare'.
6342
6343 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6344 so as to avoid depending on cl-adjoin at run-time.
6345 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6346
6347 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6348 (macroexp--warn-and-return): Use it.
6349
2587b005
LL
63502013-06-05 Leo Liu <sdl.web@gmail.com>
6351
6352 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6353
f1da3c88
LL
63542013-06-04 Leo Liu <sdl.web@gmail.com>
6355
6356 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6357 (compilation-auto-jump): Suppress the "Mark set" message to give
6358 way to exit message.
6359
3caa391f
AM
63602013-06-04 Alan Mackenzie <acm@muc.de>
6361
6362 Remove faulty optimisation from indentation calculation.
6363 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6364 search limit based on 2000 characters back from indent-point.
6365
068922a2
TH
63662013-06-03 Tassilo Horn <tsdh@gnu.org>
6367
6368 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6369
1f8fdd53
SM
63702013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6371
bbcc4d97
SM
6372 * emacs-lisp/lisp.el: Use lexical-binding.
6373 (lisp--local-variables-1, lisp--local-variables): New functions.
6374 (lisp--local-variables-completion-table): New var.
208d0342 6375 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6376
1f8fdd53
SM
6377 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6378 eagerly (bug#14422).
6379
c9628c79
MA
63802013-06-03 Michael Albinus <michael.albinus@gmx.de>
6381
6382 * autorevert.el (auto-revert-notify-enabled)
6383 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6384 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6385 (auto-revert-notify-handler): Handle also gfilenotify.
6386
e7b41c4c 6387 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6388 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6389 Remove.
c9628c79 6390
e5e4a942
JL
63912013-06-03 Juri Linkov <juri@jurta.org>
6392
6393 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6394 `M-s h .'. (Bug#14427)
6395
6396 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6397 command `hi-lock-face-symbol-at-point'.
6398 (hi-lock-face-symbol-at-point): New command.
6399 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6400 (hi-lock-menu): Add `highlight-symbol-at-point'.
6401 (hi-lock-mode): Doc fix.
6402
6403 * isearch.el (isearch-forward-symbol-at-point): New command.
6404 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6405 (isearch-highlight-regexp): Add a regexp which matches
6406 words/symbols for word/symbol mode.
6407
6408 * subr.el (find-tag-default-bounds): New function with the body
6409 mostly moved from `find-tag-default'.
6410 (find-tag-default): Move most code to `find-tag-default-bounds',
6411 call it and apply `buffer-substring-no-properties' afterwards.
6412
26b3353a
TH
64132013-06-03 Tassilo Horn <tsdh@gnu.org>
6414
781b4af6
SM
6415 * eshell/em-term.el (eshell-term-initialize):
6416 Use `cl-intersection' rather than `intersection'.
26b3353a 6417
51b60f53
XF
64182013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6419
fe054b63 6420 * vc/log-view.el: Doc fix.
d3ffe17c 6421 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6422
a0eb10b3 64232013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6424
6425 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6426 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6427 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6428 (eieio-unbound, eieio-default-superclass)
6429 (eieio--define-field-accessors, method-static, method-before)
6430 (method-primary, method-after, method-num-lists)
6431 (method-generic-before, method-generic-primary)
6432 (method-generic-after, method-num-slots)
6433 (eieio-specialized-key-to-generic-key)
6434 (eieio--check-type, class-v, class-p)
6435 (eieio-class-name, define-obsolete-function-alias)
6436 (eieio-class-parents-fast, eieio-class-children-fast)
6437 (same-class-fast-p, class-constructor, generic-p)
6438 (generic-primary-only-p, generic-primary-only-one-p)
6439 (class-option-assoc, class-option, eieio-object-p)
6440 (class-abstract-p, class-method-invocation-order)
6441 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6442 (eieio-class-un-autoload, eieio-defclass)
6443 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6444 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6445 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6446 (eieio-defgeneric-reset-generic-form)
6447 (eieio-defgeneric-form-primary-only)
6448 (eieio-defgeneric-reset-generic-form-primary-only)
6449 (eieio-defgeneric-form-primary-only-one)
6450 (eieio-defgeneric-reset-generic-form-primary-only-one)
6451 (eieio-unbind-method-implementations)
6452 (eieio--defmethod, eieio--typep)
6453 (eieio-perform-slot-validation, eieio-validate-slot-value)
6454 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6455 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6456 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6457 (eieio-slot-name-index, eieio-class-slot-name-index)
6458 (eieio-set-defaults, eieio-initarg-to-attribute)
6459 (eieio-attribute-to-initarg, eieio-c3-candidate)
6460 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6461 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6462 (eieio-class-precedence-list, eieio-generic-call-methodname)
6463 (eieio-generic-call-arglst, eieio-generic-call-key)
6464 (eieio-generic-call-next-method-list)
6465 (eieio-pre-method-execution-functions, eieio-generic-call)
6466 (eieio-generic-call-primary-only, eieiomt-method-list)
6467 (eieiomt-optimizing-obarray, eieiomt-install)
6468 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6469 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6470 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6471 (defclass): Remove `eval-and-compile' from macro.
6472 (call-next-method, shared-initialize): Instead of using
6473 `scoped-class' variable, use new eieio--scoped-class, and
6474 eieio--with-scoped-class.
6475 (initialize-instance): Rename local variable 'scoped-class' to
6476 'this-class' to remove ambiguitity from old global.
6477
6478 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6479 eieio.el.
4f405069
JB
6480 (eieio--scoped-class-stack): New variable.
6481 (eieio--scoped-class): New fcn.
890f7890
DE
6482 (eieio--with-scoped-class): New scoping macro.
6483 (eieio-defclass): Use pushnew instead of add-to-list.
6484 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6485 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6486 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6487 `scoped-class' variable, use new eieio--scoped-class, and
6488 eieio--with-scoped-class.
6489
6490 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6491
d105b0e2
TH
64922013-06-02 Tassilo Horn <tsdh@gnu.org>
6493
6494 * eshell/esh-ext.el (eshell-external-command): Pass args to
6495 `eshell-find-interpreter'.
6496 (eshell-find-interpreter): Add new second parameter ARGS.
6497
6498 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6499 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6500
6501 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6502 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6503
6504 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6505 (eshell-visual-options): New defcustom.
6506 (eshell-escape-control-x): Adapt docstring.
6507 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6508 `eshell-visual-options' in addition to `eshell-visual-commands'.
6509 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6510
f46305c8 65112013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6512
6513 * progmodes/python.el (python-indent-block-enders): Add break,
6514 continue and raise keywords.
6515
d870df21
GM
65162013-06-01 Glenn Morris <rgm@gnu.org>
6517
9133b82e
GM
6518 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6519
02c992ec 6520 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6521 * progmodes/cc-cmds.el (delete-forward-p):
6522 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6523 * progmodes/cc-engine.el (buffer-syntactic-context):
6524 * progmodes/cc-fonts.el (face-property-instance):
6525 * progmodes/cc-mode.el (set-keymap-parents):
6526 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6527 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6528 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6529 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6530 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6531
31e7b090
GM
6532 * progmodes/cc-vars.el (other): Emacs has this widget since
6533 at least 21.1, so don't (re)define it.
6534
d870df21
GM
6535 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6536 Replace the obsolete alias pcomplete-arg-quote-list.
6537
c75c93c7
LL
65382013-06-01 Leo Liu <sdl.web@gmail.com>
6539
6540 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6541 punctuation syntax.
6542 (inferior-octave-minimal-columns)
6543 (inferior-octave-last-column-width): New variables.
6544 (inferior-octave-track-window-width-change): New function.
6545 (inferior-octave-mode): Adjust column width so that Octave output,
6546 for example from 'ls', can fit into the window nicely.
6547
973d1e12
DG
65482013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6549
6550 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6551 Highlight expansions inside regexp literals.
6552
0888c286
GM
65532013-05-31 Glenn Morris <rgm@gnu.org>
6554
e26aac1f
GM
6555 * obsolete/sym-comp.el (symbol-complete):
6556 Replace obsolete completion-annotate-function.
6557
0888c286
GM
6558 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6559
19bb8e62
DG
65602013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6561
781b4af6
SM
6562 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6563 New function, checks if point is inside a literal that allows
19bb8e62
DG
6564 expression expansion.
6565 (ruby-syntax-propertize-expansion): Use it.
6566 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6567 around the body.
6568
01dea85f
JL
65692013-05-30 Juri Linkov <juri@jurta.org>
6570
6571 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6572 to "\M-si".
6573 (isearch-invisible): New variable.
6574 (isearch-forward): Doc fix.
6575 (isearch-mode): Set `isearch-invisible'
6576 to the value of `search-invisible'.
6577 (isearch-toggle-case-fold): Doc fix.
6578 (isearch-toggle-invisible): New command.
6579 (isearch-query-replace): Let-bind `search-invisible'
6580 to the value of `isearch-invisible'.
6581 (isearch-search): Use `isearch-invisible' instead of
6582 `search-invisible'. Let-bind `search-invisible'
6583 to the value of `isearch-invisible'. (Bug#11378)
6584
ab1bdce5
JL
65852013-05-30 Juri Linkov <juri@jurta.org>
6586
6587 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6588 call when `query-flag' is nil and `search-invisible' is non-nil.
6589 (Bug#11746)
6590
d6d236e2
GM
65912013-05-30 Glenn Morris <rgm@gnu.org>
6592
8accd027
GM
6593 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6594
2a8bed1c
GM
6595 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6596 (cc-require): Suppress spurious "noruntime" warnings.
6597 (cc-require-when-compile): Use fboundp, for sake of compiler.
6598
d6d236e2
GM
6599 * progmodes/cc-mode.el: Move load of cc-vars before that of
6600 cc-langs (which in turn loads cc-vars), to quieten compiler.
6601
9190b35b
SM
66022013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * paren.el: Simplify the code.
6605 (show-paren-mode): Always start the timer.
6606 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6607 (show-paren--overlay, show-paren--overlay-1): Rename from
6608 show-paren-overlay and show-paren-overlay-1, and initialize to an
6609 overlay rather than to nil.
6610 (show-paren-function): Misc cleanup and simplifications.
6611
4f8d1cf6
SM
66122013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * paren.el (show-paren-data-function): New hook.
6615 (show-paren--default): New function, extracted from show-paren-function.
6616 (show-paren-function): Use show-paren-data-function.
6617
02d844b5
GM
66182013-05-30 Glenn Morris <rgm@gnu.org>
6619
d209d4a9
GM
6620 * ielm.el (ielm-map, ielm-complete-symbol):
6621 Use completion-at-point rather than obsolete functions.
6622 (inferior-emacs-lisp-mode): Doc fix.
6623 Set completion-at-point-functions, rather than
6624 comint-dynamic-complete-functions.
6625
2082faa6
GM
6626 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6627 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6628 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6629
dd8620de
GM
6630 * image.el (image-animated-p): Tweak definition.
6631
ceca95b1
GM
6632 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6633 (rlogin-process-connection-type): Tweak default. Add set-after.
6634 (rlogin-host): Doc fix.
6635 (rlogin): Tweak prompt.
6636 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6637
ee9f1acc
GM
6638 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6639 * progmodes/tcl.el (inferior-tcl-mode-map):
6640 Use completion-at-point rather than obsolete alias.
6641
45ce222e
GM
6642 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6643
02d844b5
GM
6644 * minibuffer.el (read-file-name-completion-ignore-case):
6645 Move before completion--in-region, for eager macro expansion.
6646
ac44d6c1
JL
66472013-05-29 Juri Linkov <juri@jurta.org>
6648
6649 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6650 for total count of matching lines. Add `global-matches' for total
6651 count of matches. Rename `matches' to `lines' for count of
6652 matching lines. Add `matches' for count of matches.
6653 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6654 to `prev-line' for line number of prev match endpt.
6655 Increment `matches' for every match. Print the number of
6656 matching lines in the header.
6657 (occur-context-lines): Rename `lines' to `curr-line'.
6658 Rename `prev-lines' to `prev-line'. (Bug#14017)
6659
3c9c9d38
JL
66602013-05-29 Juri Linkov <juri@jurta.org>
6661
6662 * replace.el (perform-replace): Add `skip-read-only-count',
6663 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6664 Increment them for corresponding conditions and report the number
6665 of skipped occurrences in the final message. (Bug#11746)
6666 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6667 (replace-string, replace-regexp): Doc fix.
6668
33e249a2
SM
66692013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6670
8e399682
SM
6671 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6672
33e249a2 6673 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6674 prog-mode-map (bug#14504).
33e249a2 6675
f236dd84
LL
66762013-05-29 Leo Liu <sdl.web@gmail.com>
6677
6678 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6679 (octave-help): Small simplification.
6680
6681 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6682 off the highlight first.
6683
3694d13f
GM
66842013-05-29 Glenn Morris <rgm@gnu.org>
6685
03983bdc
GM
6686 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6687 Handle idlwave-last-system-routine-info-cons-cell being nil.
6688
bc74a74a
GM
6689 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6690 (idlwave-write-paths): Simplify via with-temp-buffer.
6691
8b394200
GM
6692 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6693 * emulation/cua-rect.el: Also load cua-base at run time.
6694
3694d13f
GM
6695 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6696 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6697 (cperl-imenu-on-info): Require imenu.
6698
336d7284
AM
66992013-05-28 Alan Mackenzie <acm@muc.de>
6700
6701 Handle "capitalised keywords" correctly.
33e249a2 6702 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6703
cb29c582
AG
67042013-05-28 Aidan Gauland <aidalgol@amuri.net>
6705
781b4af6 6706 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6707
690e44b2
GM
67082013-05-28 Glenn Morris <rgm@gnu.org>
6709
e658d75c
GM
6710 * vc/vc-arch.el (vc-exec-after): Declare.
6711 (vc-switches): Autoload.
6712 * vc/vc-bzr.el: No need to require vc when compiling.
6713 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6714 (vc-resynch-buffer, vc-dir-refresh): Declare.
6715 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6716 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6717 (vc-resynch-buffer): Declare.
6718 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6719 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6720 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6721 (grep-read-regexp, grep-read-files, grep-expand-template)
6722 (vc-dir-refresh): Declare.
6723 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6724 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6725 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6726 * vc/vc-mtn.el (vc-exec-after): Declare.
6727 (vc-switches): Autoload.
6728 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6729 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6730 (vc-file-tree-walk): Declare.
712b9732
GM
6731 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6732 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6733 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6734 * vc/vc-svn.el (vc-exec-after): Declare.
6735 (vc-switches, vc-setup-buffer): Autoload.
6736 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6737 Autoload.
6738 (vc-resynch-buffer): Declare.
6739
98e87fb3
GM
6740 * obsolete/fast-lock.el (byte-compile-warnings):
6741 Don't warn about obsolete features in this obsolete file.
6742
f5379553
GM
6743 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6744 Move definition before use.
6745
7a20ef83
GM
6746 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6747 (dun-unix-verbs): Remove dun-zippy.
6748 (dun-zippy): Remove function.
6749
690e44b2
GM
6750 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6751
3a52ccf7
JL
67522013-05-27 Juri Linkov <juri@jurta.org>
6753
6754 * replace.el (replace-search): New function with code moved out
6755 from `perform-replace'.
6756 (replace-highlight, replace-dehighlight): Move function definitions
6757 up closer to `replace-search'. (Bug#11746)
6758
d289938a
JL
67592013-05-27 Juri Linkov <juri@jurta.org>
6760
6761 * replace.el (perform-replace): Ignore invisible matches.
6762 In addition to checking `query-replace-skip-read-only', also
6763 filter out matches by calling `run-hook-with-args-until-failure'
6764 on `isearch-filter-predicates', and also check `search-invisible'
6765 for t or call `isearch-range-invisible'.
6766 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6767
66fc57e3
JL
67682013-05-27 Juri Linkov <juri@jurta.org>
6769
6770 * isearch.el (isearch-filter-predicates): Rename from
6771 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6772 (isearch-message-prefix): Display text from the property
6773 `isearch-message-prefix' of the currently active filters.
6774 (isearch-search): Don't compare `isearch-filter-predicate' with
6775 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6776 on `isearch-filter-predicates'. Also check `search-invisible' for t
6777 or call `isearch-range-invisible'.
6778 (isearch-filter-visible): Make obsolete.
6779 (isearch-lazy-highlight-search):
6780 Call `run-hook-with-args-until-failure' on
6781 `isearch-filter-predicates' and use `isearch-range-invisible'.
6782
6783 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6784 `isearch-filter-predicates' instead of `funcall'ing
6785 `isearch-filter-predicate'.
6786 (Info-mode): Set `Info-isearch-filter' to
6787 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6788
6789 * dired-aux.el (dired-isearch-filter-predicate-orig):
6790 Remove variable.
6791 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6792 (dired-isearch-filenames-end): Add and remove
6793 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6794 instead of changing the value of `isearch-filter-predicate'.
6795 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6796 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6797 Put property `isearch-message-prefix' to "filename " on
6798 `dired-isearch-filter-filenames'.
6799
6800 * wdired.el (wdired-change-to-wdired-mode):
6801 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6802 locally instead of changing `isearch-filter-predicate'.
6803 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6804
f1a60a0f
DG
68052013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6806
6807 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6808 return the commit hash (Bug#14459). Also set the
6809 `vc-git-detached' property.
6810 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6811 (vc-git-mode-line-string): Use the same help-echo format whether
6812 in detached mode or not, because we know the actual revision now.
6813 When in detached mode, shorten the revision to 7 chars.
6814
7f17cc40
SM
68152013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/easy-mmode.el (define-minor-mode):
6818 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6819 mode hook and provide a docstring.
6820
25c8401c
AM
68212013-05-27 Alan Mackenzie <acm@muc.de>
6822
6823 Remove spurious syntax-table text properties inserted by C-y.
6824 * progmodes/cc-mode.el (c-after-change): Also clear hard
6825 syntax-table property with value nil.
6826
dde84790
MA
68272013-05-27 Michael Albinus <michael.albinus@gmx.de>
6828
6829 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6830 when reading the events; the buffer layout shall not be changed.
6831
837fd9af
LL
68322013-05-27 Leo Liu <sdl.web@gmail.com>
6833
6834 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6835 New variable.
6836 (inferior-octave-directory-tracker): Automatically re-sync
6837 default-directory.
6838 (octave-help): Improve handling of 'See also'.
6839
4fd996b3
SM
68402013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6841
416f1802
SM
6842 * doc-view.el: Minor naming convention tweaks.
6843 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6844
4fd996b3
SM
6845 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6846 even if there's no `display' property yet (bug#14435).
6847
a052ef3b
EZ
68482013-05-25 Eli Zaretskii <eliz@gnu.org>
6849
4fd996b3 6850 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6851
6852 * Makefile.in (custom-deps, finder-data, autoloads)
6853 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6854 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6855 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6856
c9023370
SM
68572013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6860 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6861 Don't burp at EOB.
c9023370 6862
24d699fa
LL
68632013-05-25 Leo Liu <sdl.web@gmail.com>
6864
6865 * comint.el (comint-previous-matching-input): Do not flood the
6866 *Messages* buffer with trivial messages.
6867
17e5c0cc
SM
68682013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * progmodes/flymake.el (flymake-nop): Don't return a string.
6871 (flymake-set-at): Fix typo.
6872
6873 * simple.el (read--expression): New function, extracted from
6874 eval-expression. Set completion-at-point-functions (bug#14465).
6875 (eval-expression, eval-minibuffer): Use it.
6876
5d028165
XF
68772013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6878
6879 * progmodes/flymake.el (flymake-save-buffer-in-file)
6880 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6881 (flymake-selected-frame, flymake-log, flymake-ins-after)
6882 (flymake-set-at, flymake-get-buildfile-from-cache)
6883 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6884 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6885 Refine the doc string.
6886 (flymake-get-file-name-mode-and-masks): Reformat.
6887 (flymake-get-real-file-name-function): Fix a minor bug.
6888
7a1d7ba7
JL
68892013-05-24 Juri Linkov <juri@jurta.org>
6890
6891 * progmodes/grep.el (grep-mode-font-lock-keywords):
6892 Support =linenumber= format used by git-grep for lines with
6893 function names. (Bug#13549)
6894
650cff3d
SM
68952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6898 0 after a semi-colon; it works better for smie-auto-fill.
6899 (octave--indent-new-comment-line): New function.
6900 (octave-indent-new-comment-line): Use it (indirectly).
6901 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6902 modify comment-line-break-function.
6903
6904 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6905 (smie-setup): Use add-function to set it.
6906
9631677d
SS
69072013-05-24 Sam Steingold <sds@gnu.org>
6908
6909 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6910 argument (before the `interactive' argument).
6911
50105835
SM
69122013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * image-mode.el (image-mode-winprops): Add winprops to
6915 image-mode-winprops-alist before running
6916 image-mode-new-window-functions.
6917 * doc-view.el (doc-view-new-window-function): Don't delay
6918 doc-view-goto-page via timers (bug#14435).
6919
57b9823e
TH
69202013-05-24 Tassilo Horn <tsdh@gnu.org>
6921
6922 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6923 (doc-view-desktop-save-buffer): New function.
6924 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6925 (desktop-buffer-mode-handlers):
6926 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6927 handler.
6928 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6929 `desktop-save-buffer' function.
6930
91aafa16
MA
69312013-05-24 Michael Albinus <michael.albinus@gmx.de>
6932
6933 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6934 (tramp-gvfs-file-name-handler): Raise a user error when
6935 `tramp-gvfs-enabled' is nil.
6936 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6937 Do not raise a user error when loading package. (Bug#14447)
6938
ec076379
MA
6939 * net/xesam.el: Move to obsolete/.
6940
db785726
GM
69412013-05-24 Glenn Morris <rgm@gnu.org>
6942
af5c7606
GM
6943 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6944
e5d1916a
GM
6945 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6946
ded62b08
GM
6947 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6948 (Info-find-node, Man-getpage-in-background): Declare.
6949
9e614a3f
GM
6950 * mail/unrmail.el (unrmail):
6951 Replace obsolete detect-coding-with-priority.
6952
892f8ca3
GM
6953 * net/socks.el (socks-split-string): Use this rather than split-string.
6954 (socks-nslookup-host): Update for above change.
6955 (dynamic-choice, s5-dynamic-choice-match)
6956 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6957 Comment out unused code.
6958
3c291973
GM
6959 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6960 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6961 (gud-tooltip-echo-area): Make obsolete.
6962 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6963
43cc956b
GM
6964 * progmodes/js.el (js--optimize-arglist): Declare.
6965
dab49a3b
GM
6966 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6967
36b9d085
GM
6968 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6969 (ediff-window-C): Declare.
6970
e354ae76
GM
6971 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6972 Tweak requires to silence compiler.
6973
b8e57bf4
GM
6974 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6975 (he-search-string, he-tried-table, he-expand-list)
6976 (he-init-string, he-string-member, he-substitute-string)
6977 (he-reset-string): Declare.
6978
db785726
GM
6979 * obsolete/options.el (list-options): Use custom-variable-p,
6980 rather than obsolete alias.
6981
b3531901
SS
69822013-05-23 Sam Steingold <sds@gnu.org>
6983
6984 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6985 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6986 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6987
bdda4c66
SM
69882013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * emacs-lisp/smie.el (smie-indent-forward-token)
6991 (smie-indent-backward-token): Handle string tokens (bug#14381).
6992
c43d45f9
TH
69932013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6994
fe1eb856
RS
6995 * ielm.el (ielm-menu): New menu.
6996 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6997
fe1eb856
RS
69982013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6999
7000 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7001 Fix deactivate action.
7002
7003 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7004 Add cleveref macros.
074dd971 7005
c43d45f9
TH
7006 * lisp/textmodes/reftex-parse.el
7007 (reftex-locate-bibliography-files): Accept options for
7008 bibliography commands.
7009 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7010 Add addbibresource. Basic Biblatex support.
7011
7764286e
MA
70122013-05-23 Michael Albinus <michael.albinus@gmx.de>
7013
7014 * net/tramp-gvfs.el (top):
7015 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7016 when loading package. (Bug#14447)
7017
d361bc10
GM
70182013-05-23 Glenn Morris <rgm@gnu.org>
7019
8fa23984
GM
7020 * progmodes/js.el: No need to load comint when compiling.
7021 (ring-insert, comint-send-string, comint-send-input)
7022 (comint-last-input-end, ido-chop): Declare.
7023
a5c7df1a
GM
7024 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7025 * vc/ediff-mult.el: Adjust requires.
7026 (ediff-directories-internal, ediff-directory-revisions-internal)
7027 (ediff-patch-file-internal): Declare.
7028 * vc/ediff-ptch.el: Adjust requires.
7029 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7030 (ediff-find-file): Autoload.
7031 * vc/ediff-util.el: No need to load ediff when compiling.
7032 (ediff-regions-internal): Declare.
7033 * vc/ediff-wind.el: Adjust requires.
7034 (ediff-compute-toolbar-width): Define when compiling.
7035 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7036 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7037 (dired-get-filename, dired-get-marked-files)
7038 (ediff-last-dir-patch, ediff-patch-default-directory)
7039 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7040 (ediff-patch-buffer-internal): Declare.
7041
e2aec513
GM
7042 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7043 (ispell-process, ispell-buffer-local-words, lm-summary)
7044 (lm-section-start, lm-section-end): Declare.
7045 (checkdoc-ispell-init): Simplify.
7046
e68bbd7c
GM
7047 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7048 (he-string-member, he-reset-string, he-substitute-string): Declare.
7049
7efe0991
GM
7050 * eshell/em-ls.el: Adjust requires.
7051 (eshell-glob-regexp): Declare.
f87b1284
GM
7052 * eshell/em-tramp.el: Adjust requires.
7053 (eshell-parse-command): Autoload.
7054 * eshell/em-xtra.el: Adjust requires.
7055 (eshell-parse-command): Autoload.
7056 * eshell/esh-ext.el: Adjust requires.
7057 (eshell-parse-command, eshell-close-handles): Autoload.
7058 * eshell/esh-io.el: Adjust requires.
7059 (eshell-output-filter): Autoload.
7060 * eshell/esh-util.el: No need to load tramp when compiling.
7061 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7062 Declare.
7063 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7064 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7065 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7066 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7067 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7068 * eshell/esh-opt.el, eshell/esh-proc.el:
7069 * eshell/esh-var.el: Adjust requires.
7070 * eshell/eshell.el: Do not require esh-util twice.
7071 (eshell-add-input-to-history): Declare.
7072 (eshell-command): Check history module is active before using it.
7073
d361bc10
GM
7074 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7075
85d090a9
LL
70762013-05-22 Leo Liu <sdl.web@gmail.com>
7077
7078 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7079
5d0acd9d
MA
70802013-05-22 Michael Albinus <michael.albinus@gmx.de>
7081
7082 * autorevert.el (auto-revert-notify-add-watch)
7083 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7084 it indicates changes in file modification time.
7085
0cdffd7d
GM
70862013-05-22 Glenn Morris <rgm@gnu.org>
7087
ca5995ec
GM
7088 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7089 Always delete the autoloaded function from the noruntime and
7090 unresolved functions lists.
7091
6450907e
GM
7092 * allout.el: No need to load epa, epg, overlay when compiling.
7093 (epg-context-set-passphrase-callback, epg-list-keys)
7094 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7095 (epg-key-user-id-list): Declare.
7096
9c6906f6
GM
7097 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7098 (viper-set-parsing-style-toggling-macro)
7099 (viper-set-emacs-state-searchstyle-macros):
7100 Use called-interactively-p on Emacs.
7101 (viper-looking-back): Make it an obsolete alias. Update callers.
7102 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7103 Use looking-back rather than viper-looking-back.
7104 (viper-tmp-insert-at-eob, viper-enlarge-region)
7105 (viper-read-string-with-history, viper-register-to-point)
7106 (viper-append-to-register, viper-change-state-to-vi)
7107 (viper-backward-char-carefully, viper-forward-char-carefully)
7108 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7109 (viper-change-state-to-emacs): Declare.
7110 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7111 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7112 * emulation/viper-mous.el: Do not load viper-cmd.
7113 (viper-backward-char-carefully, viper-forward-char-carefully)
7114 (viper-forward-word, viper-adjust-window): Declare.
7115
5f70c169
GM
7116 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7117
b1b7f300
GM
7118 * progmodes/idlw-help.el (idlwave-help-fontify):
7119 Use called-interactively-p.
7120
f6ebbb46
GM
7121 * term/w32console.el (w32-get-console-codepage)
7122 (w32-get-console-output-codepage): Declare.
7123
0cdffd7d
GM
7124 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7125 Remove unnecessary declarations.
7126 (dframe-message): Doc fix.
7127
7128 * info.el (dframe-select-attached-frame, dframe-current-frame):
7129 Declare.
7130
7131 * speedbar.el (speedbar-message): Make it an obsolete alias.
7132 Update all callers.
7133 (speedbar-with-attached-buffer)
7134 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7135 (speedbar-with-writable): Use backquote.
7136 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7137 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7138 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7139 rather than speedbar- aliases.
7140 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7141 (speedbar-make-specialized-keymap, speedbar-insert-button)
7142 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7143 (speedbar-do-function-pointer): Declare.
7144 (rmail-speedbar-button, rmail-speedbar-find-file)
7145 (rmail-speedbar-move-message):
7146 Use dframe-with-attached-buffer rather than speedbar- alias.
7147 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7148 (dframe-message, speedbar-make-specialized-keymap)
7149 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7150 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7151 (speedbar-insert-button, dframe-select-attached-frame)
7152 (dframe-maybee-jump-to-attached-frame)
7153 (speedbar-change-initial-expansion-list)
7154 (speedbar-previously-used-expansion-list-name): Declare.
7155 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7156 Use dframe-message, dframe-with-attached-buffer rather than
7157 speedbar- aliases.
7158 (gud-sentinel): Silence compiler.
7159 * progmodes/vhdl-mode.el (speedbar-refresh)
7160 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7161 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7162 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7163 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7164 (speedbar-file-lists, speedbar-make-tag-line)
7165 (speedbar-line-directory, speedbar-goto-this-file)
7166 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7167 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7168 (speedbar-make-button, speedbar-reset-scanners)
7169 (speedbar-files-item-info, speedbar-line-text)
7170 (speedbar-find-file-in-frame, speedbar-set-timer)
7171 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7172 (speedbar-with-writable): Do not (re)define it.
7173 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7174 rather than speedbar- alias.
7175
ee44b62a
LL
71762013-05-21 Leo Liu <sdl.web@gmail.com>
7177
7178 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7179 menu items.
7180 (octave-mode): Tweak fill-nobreak-predicate.
7181 (inferior-octave-startup): Check process to avoid infinite loop.
7182 (inferior-octave): Pop to buffer first to show abornmal process
7183 exit information.
7184
640f050f
GM
71852013-05-21 Glenn Morris <rgm@gnu.org>
7186
79458038
GM
7187 * printing.el (pr-menu-bar): Define when compiling.
7188
9cc3e83f
LL
71892013-05-21 Leo Liu <sdl.web@gmail.com>
7190
7191 * progmodes/octave.el (octave-auto-fill): Remove.
7192 (octave-indent-new-comment-line): Improve.
7193 (octave-mode): Use auto fill mode through
4f405069 7194 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7195 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7196 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7197 (octave-help): Show parent directory.
7198
f440830d
GM
71992013-05-21 Glenn Morris <rgm@gnu.org>
7200
7201 * files.el (dired-unmark):
7202 * progmodes/gud.el (gdb-input): Update declarations.
7203
7204 * calculator.el (electric, ehelp): No need to load when compiling.
7205 (Electric-command-loop, electric-describe-mode): Declare.
7206
7207 * doc-view.el (doc-view-current-converter-processes): Move before use.
7208
7209 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7210 Move MODE-set-explicitly definition before use.
7211
7212 * international/mule-diag.el (mule-diag):
7213 Don't use obsolete window-system-version.
7214
7215 * mail/feedmail.el (smtpmail): No need to load when compiling.
7216 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7217
7218 * mail/mail-utils.el (rfc822): No need to load when compiling.
7219 (rfc822-addresses): Autoload it.
7220 (mail-strip-quoted-names): Trivial simplification.
7221
7222 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7223 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7224
7225 * net/snmp-mode.el (tempo): Don't duplicate requires.
7226
7227 * progmodes/prolog.el (info): No need to load when compiling.
7228 (comint): Require before shell requires it.
7229 (Info-goto-node): Autoload it.
7230 (Info-follow-nearest-node): Declare.
7231 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7232
7233 * textmodes/artist.el (picture-mode-exit): Declare.
7234
7235 * textmodes/reftex-parse.el (reftex-parse-from-file):
7236 Trivial rewrite so the compiler can parse it better.
7237
b4da2cbb
LL
72382013-05-20 Leo Liu <sdl.web@gmail.com>
7239
7240 * progmodes/octave.el (octave-help-mode-map)
7241 (octave-help-mode-finish-hook): New variables.
7242 (octave-help-mode, octave-help-mode-finish): New functions.
7243 (octave-help): Use octave-help-mode.
7244
33c0f65b
GM
72452013-05-20 Glenn Morris <rgm@gnu.org>
7246
7247 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7248
1a0a0a8a
DG
72492013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7250
7251 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7252 start at point, so that expansion starting right after opening
7253 slash in a regexp is recognized.
7254 (ruby-syntax-before-regexp-re): New defvar, extracted from
7255 ruby-syntax-propertize-function. Since the value of this regexp
7256 is looked up at runtime now, we should be able to turn
7257 `ruby-syntax-methods-before-regexp' into a defcustom later.
7258 (ruby-syntax-propertize-function): Split regexp matching into two
7259 parts, for opening and closing slashes. That allows us to skip
7260 over string interpolations and support multiline regexps.
7261 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7262 for them, which calls `ruby-syntax-propertize-expansion'.
7263 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7264 call to `ruby-syntax-propertize-function'.
7265 (ruby-syntax-propertize-expansion): Extracted from
7266 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7267 (ruby-syntax-propertize-percent-literal): Leave point right after
7268 the percent symbol, so that the expression expansion rule can
7269 propertize the contents.
462388b6
DG
7270 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7271 heredoc openers.
7272 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7273
c1a6c0a4
JL
72742013-05-18 Juri Linkov <juri@jurta.org>
7275
7276 * man.el (Man-default-man-entry): Remove `-' from the end
7277 of the default value. (Bug#14400)
7278
8051fccd
GM
72792013-05-18 Glenn Morris <rgm@gnu.org>
7280
7281 * comint.el (comint-password-prompt-regexp):
7282 Allow "password for XXX" where XXX contains colons (eg https://...).
7283
5e80b74f
LL
72842013-05-18 Leo Liu <sdl.web@gmail.com>
7285
7286 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7287 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7288 (octave-source-directories): Don't check process.
7289 (octave-source-directories, octave-find-definition): Doc fix.
7290
521a54c5
GM
72912013-05-18 Glenn Morris <rgm@gnu.org>
7292
86a94b05
GM
7293 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7294 Remove backspace/delete bindings. (Bug#14392)
7295
521a54c5
GM
7296 * cus-dep.el (custom-make-dependencies): Sort the output.
7297 (custom-versions-load-alist): Convert comment to doc.
7298
42caeb89
LL
72992013-05-17 Leo Liu <sdl.web@gmail.com>
7300
7301 * newcomment.el (comment-search-backward): Stricter in finding
7302 comment start. (Bug#14303)
7303
7304 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7305 (octave-comment-start-skip): Properly anchored.
7306
e219dd97
LL
73072013-05-17 Leo Liu <sdl.web@gmail.com>
7308
fe1eb856
RS
7309 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7310 Clean up when turned off. (Bug#14395)
e219dd97
LL
7311 (smie--highlight-matching-block-overlay): No longer buffer-local.
7312 (smie-highlight-matching-block): Adjust.
7313
dc5dcb4b
PE
73142013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7315
7316 Doc string fix for "nanoseconds" (Bug#14406).
7317 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7318 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7319
1db165f0
JB
73202013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7321
7322 * calc/calc-units.el (math-extract-units): Preserve powers
7323 of units.
7324
c7a8fcac
LL
73252013-05-17 Leo Liu <sdl.web@gmail.com>
7326
7327 * subr.el (delete-consecutive-dups): New function.
7328 * ido.el (ido-set-matches-1): Use it.
7329 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7330 * ido.el (ido-remove-consecutive-dups): Remove.
7331
f678b18a
SM
73322013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7335 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7336 regexp-opt's `words'.
7337
ebfe68e8
LL
73382013-05-16 Leo Liu <sdl.web@gmail.com>
7339
7340 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7341 (smie--highlight-matching-block-overlay)
7342 (smie--highlight-matching-block-lastpos)
7343 (smie--highlight-matching-block-timer): New variables.
7344 (smie-highlight-matching-block): New function.
7345 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7346 (smie-setup): Conditionally enable smie-blink-matching-open.
7347
bc8bc17d
WS
73482013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7349
7350 Sync with upstream verilog-mode r840.
7351 * progmodes/verilog-mode.el (verilog-mode-version)
7352 (verilog-mode-release-date): Update.
7353 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7354 (verilog-sig-tieoff): Fix string error on
7355 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7356 (verilog-read-decls): Fix parameters confusing
7357 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7358
df065a0b
EZ
73592013-05-16 Eli Zaretskii <eliz@gnu.org>
7360
7361 * subr.el (reveal-filename): New function.
7362
7363 * loadup.el: Compute Emacs executable versions on MS-Windows,
7364 where executables have the .exe extension. Add a hard link
7365 emacs-XX.YY.ZZ.exe on MS-Windows.
7366
7367 * Makefile.in (XARGS_LIMIT): New variable.
7368 (custom-deps, finder-data, autoloads)
7369 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7370 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7371 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7372 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7373
2d4bf34b
LL
73742013-05-16 Leo Liu <sdl.web@gmail.com>
7375
7376 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7377 (octave-mode-menu, octave-mode-map): Remove its uses.
7378
6b9c2d85
RZ
73792013-05-16 Reto Zimmermann <reto@gnu.org>
7380
7381 Sync with upstream vhdl mode v3.34.2.
7382 * progmodes/vhdl-mode.el: Use `push' throughout.
7383 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7384 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7385 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7386 (vhdl-actual-generic-name): New option to derive actual generic name.
7387 (vhdl-port-paste-signals): Replace formal by actual generics.
7388 (vhdl-beautify): New name for old group vhdl-align. Update users.
7389 (vhdl-beautify-options): New option.
7390 (vhdl-last-input-event): New compat alias. Use throughout.
7391 (vhdl-goto-line): Replace user level function `goto-line'.
7392 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7393 vhdl-fix-statement-buffer.
7394 (vhdl-create-mode-menu): Add some entries.
7395 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7396 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7397 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7398 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7399 to force statements on one line.
7400 (vhdl-remove-trailing-spaces-region):
7401 New, split from vhdl-remove-trailing-spaces.
7402 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7403 Respect vhdl-beautify-options.
7404 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7405 (vhdl-update-sensitivity-list): Not add with index if exists without.
7406 Not include array index with signal. Ignore keywords in comments.
7407 (vhdl-get-visible-signals): Regexp tweaks.
7408 (vhdl-template-component-inst): Handle empty library.
7409 (vhdl-template-type): Add template for 'enum' type.
7410 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7411 Use vhdl-replace-string.
7412 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7413 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7414 (vhdl-speedbar-initialize): Update for above name change.
7415 (vhdl-compose-wire-components): Fix in handling of constants.
7416 (vhdl-error-regexp-emacs-alist): New variable.
7417 (vhdl-error-regexp-add-emacs): New function;
7418 adds support for new compile.el (Emacs 22+)
7419 (vhdl-generate-makefile-1): Change target order for single lib. units.
7420 Allow use of absolute file names.
7421
9df4ec5e
LL
74222013-05-16 Leo Liu <sdl.web@gmail.com>
7423
7424 * simple.el (prog-indent-sexp): Indent enclosing defun.
7425
f5ba00a6
GM
74262013-05-15 Glenn Morris <rgm@gnu.org>
7427
ed8be7ff
GM
7428 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7429 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7430 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7431 (whitespace-highlight): Move to whitespace group.
7432
7433 * comint.el (comint-source):
7434 * pcmpl-linux.el (pcmpl-linux):
7435 * shell.el (shell-faces):
7436 * eshell/esh-opt.el (eshell-opt):
7437 * international/ccl.el (ccl): Remove empty custom groups.
7438
7439 * completion.el (dynamic-completion-mode):
7440 * jit-lock.el (jit-lock-debug-mode):
7441 * minibuffer.el (completion-in-region-mode):
7442 * type-break.el (type-break-mode-line-message-mode)
7443 (type-break-query-mode):
7444 * emulation/tpu-edt.el (tpu-edt-mode):
7445 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7446 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7447 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7448
7449 * term/xterm.el (xterm): Change parent group to terminals.
7450
7451 * master.el (master): Remove empty custom group.
7452 (master-mode): Remove unused :group argument.
7453 * textmodes/refill.el (refill): Remove empty custom group.
7454 (refill-mode): Remove unused :group argument.
7455
7456 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7457
82a7c41b
GM
7458 * cus-dep.el: Provide a feature.
7459 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7460 Don't mistakenly ignore files whose basenames match a basename
7461 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7462 Add a fallback method for getting :group.
f5ba00a6 7463
6d65486d
JL
74642013-05-15 Juri Linkov <juri@jurta.org>
7465
da547b32
JL
7466 * isearch.el (isearch-char-by-name): Rename from
7467 `isearch-insert-char-by-name'. Doc fix.
7468 (isearch-forward): Mention `isearch-char-by-name' in
7469 the docstring. (Bug#13348)
7470
6d65486d
JL
7471 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7472 `exit-minibuffer' instead of
7473 `isearch-nonincremental-exit-minibuffer'.
7474 (isearch-edit-string): Remove mention of
7475 `isearch-nonincremental-exit-minibuffer' from docstring.
7476 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7477 (isearch-forward-exit-minibuffer)
7478 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7479
c9990474
SM
74802013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7481
6e911150
SM
7482 * loadup.el: Just use unversioned DOC.
7483
c9990474
SM
7484 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7485 literals as extending to EOB.
7486 (nxml-last-fontify-end): Remove unused variable.
7487 (nxml-after-change1): Use with-silent-modifications.
7488 (nxml-extend-after-change-region): Simplify.
7489 (nxml-extend-after-change-region1): Remove function.
7490 (nxml-after-change1): Don't adjust for dependent regions.
7491 (nxml-fontify-matcher): Simplify.
7492 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7493 (xmltok-add-dependent): Remove function.
7494 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7495 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7496 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7497 unclosed <[[, <?, comment, and other literals as extending to EOB.
7498 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7499 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7500 Remove functions.
7501 (rng-do-some-validation-1): Don't mark dependent regions.
7502 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7503 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7504 (nxml-clear-dependent-regions): Remove functions.
7505 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7506 (nxml-ensure-scan-up-to-date):
7507 Don't clear&mark dependent regions.
7508
e3772e98
LL
75092013-05-15 Leo Liu <sdl.web@gmail.com>
7510
c9990474
SM
7511 * progmodes/octave.el (octave-goto-function-definition):
7512 Improve and fix callers.
e3772e98 7513
5ac2eb34
SM
75142013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7515
c46c57b0
SM
7516 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7517 the setter (bug#14387).
7518
5ac2eb34
SM
7519 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7520 surrounding group (bug#14402).
7521
180ed218
JL
75222013-05-14 Juri Linkov <juri@jurta.org>
7523
7524 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7525 (Bug#14390)
7526
0ac0fecb
GM
75272013-05-14 Glenn Morris <rgm@gnu.org>
7528
7529 * progmodes/f90.el (f90-imenu-generic-expression):
7530 Fix typo in 2013-05-08 change. (Bug#14402)
7531
2e78e6a7
JPG
75322013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7533
5ac2eb34
SM
7534 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7535 Remove signals for which replies are never received.
2e78e6a7 7536
53267cca
JPG
75372013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7538
7539 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7540 (gdb-handler-alist, gdb-handler-number): Remove variables.
7541 (gdb-handler-list): New variable.
7542 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7543 (gdb-pending-handler-p, gdb-handle-reply)
7544 (gdb-remove-all-pending-triggers): New functions.
7545 (gdb-discard-unordered-replies): New defcustom.
7546 (gdb-handler): New defstruct.
7547 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7548 instead of gdb-pending-triggers. Update docstring.
7549 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7550 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7551 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7552 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7553 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7554 (gdb-frame-handler): Pending triggers are now automatically managed.
7555 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7556 Remove argument.
7557 (gdb-input): Automatically handles pending triggers. Update docstring.
7558 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7559 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7560 Update comments.
7561 (gdb-done-or-error): Now use gdb-handle-reply.
7562
d04ce803
JPG
75632013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7564
7565 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7566 gdb-debug-log.
7567
0114073a
GM
75682013-05-14 Glenn Morris <rgm@gnu.org>
7569
7570 * subr.el (user-emacs-directory-warning): New option.
7571 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7572
4d25fd7e
LL
75732013-05-14 Leo Liu <sdl.web@gmail.com>
7574
7575 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7576 during redisplay.
7577 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7578 (octave-font-lock-texinfo-comment): Fix invalid search bound
7579 error: wrong side of point.
4d25fd7e 7580
27c8b6eb
GM
75812013-05-14 Glenn Morris <rgm@gnu.org>
7582
61aaeb01
GM
7583 * progmodes/flymake.el (flymake-xml-program): New option.
7584 (flymake-xml-init): Use it.
7585
5bf90bc5
GM
7586 * term/xterm.el: Provide a feature.
7587
7588 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7589
f4c7dfd2
GM
75902013-05-13 Glenn Morris <rgm@gnu.org>
7591
7592 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7593 Add compat aliases as a hack workaround. (Bug#14384)
7594
2aeb3a1d
LL
75952013-05-13 Leo Liu <sdl.web@gmail.com>
7596
b0e069c2
LL
7597 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7598 ###, and %!.
f5a9432f
LL
7599 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7600 C-M-q.
b0e069c2
LL
7601 (octave-comment-start-skip): Include %!.
7602 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7603
30ea8374
LL
76042013-05-12 Leo Liu <sdl.web@gmail.com>
7605
7606 * progmodes/octave.el (inferior-octave-startup): Store the value
7607 of __octave_srcdir__ for octave-source-directories.
7608 (inferior-octave-check-process): New function refactored out of
7609 inferior-octave-send-list-and-digest.
7610 (octave-source-directories)
7611 (octave-find-definition-filename-function): New variables.
7612 (octave-source-directories)
7613 (octave-find-definition-default-filename): New functions.
7614 (octave-find-definition): Improve to find functions implemented in C++.
7615
472a3834
GM
76162013-05-12 Glenn Morris <rgm@gnu.org>
7617
7618 * calendar/diary-lib.el (diary-outlook-format-1):
7619 Don't include dayname in the output. (Bug#14349)
7620
3191b52f
GM
76212013-05-11 Glenn Morris <rgm@gnu.org>
7622
0060ac73
GM
7623 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7624
3191b52f
GM
7625 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7626 Treat cc-provide like provide.
7627
e065ba74
KR
76282013-05-11 Kevin Ryde <user42@zip.com.au>
7629
7630 * cus-dep.el (custom-make-dependencies):
7631 Use generated-autoload-load-name for the sake of files such
7632 such cedet/semantic/bovine/c.el, where the base file name
7633 is not in load-path. (Bug#5277)
7634
36f84c37
GM
76352013-05-11 Glenn Morris <rgm@gnu.org>
7636
7637 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7638 Provide features.
7639
c8730c3a
LL
76402013-05-11 Leo Liu <sdl.web@gmail.com>
7641
7642 * progmodes/octave.el (octave-indent-comment): Improve.
7643 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7644 (octave-eldoc-function-signatures, octave-eldoc-function):
7645 New functions.
c8730c3a
LL
7646 (octave-mode, inferior-octave-mode): Add eldoc support.
7647
212e29f2
RS
76482013-05-11 Richard Stallman <rms@gnu.org>
7649
7650 * epa.el (epa-decrypt-file): Take output file name as argument
7651 and read it using `interactive'.
7652
083fe0d7
LL
76532013-05-11 Leo Liu <sdl.web@gmail.com>
7654
7655 * progmodes/octave.el (octave-beginning-of-line)
7656 (octave-end-of-line): Check before using up-list because it jumps
7657 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7658 (octave-indent-comment): New function.
7659 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7660 (octave-begin-keywords, octave-end-keywords)
7661 (octave-reserved-words, octave-smie-bnf-table)
7662 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7663
8582e4c4
GM
76642013-05-11 Glenn Morris <rgm@gnu.org>
7665
f20def1f
GM
7666 * faces.el (internal-face-x-get-resource):
7667 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7668 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7669 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7670 Fix declarations.
f20def1f 7671
445f95e2
GM
7672 * calc/calc-menu.el: Make it loadable in isolation.
7673
7674 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7675 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7676 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7677 (eudc-bbdb-query-internal): Require 'bbdb.
7678
99fb2756
GM
7679 * lpr.el (lpr-headers-switches):
7680 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7681
7682 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7683
0da7ad96
GM
7684 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7685
8582e4c4
GM
7686 * term.el (term-set-escape-char): Make it idempotent.
7687
f71c50d0
LL
76882013-05-10 Leo Liu <sdl.web@gmail.com>
7689
5ac2eb34
SM
7690 * progmodes/octave.el (inferior-octave-completion-table):
7691 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7692 completion due to bug#11906.
7693 (octave-beginning-of-defun): Re-write to be more general.
7694
d5837773
GM
76952013-05-10 Glenn Morris <rgm@gnu.org>
7696
7697 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7698
027c0f75
SM
76992013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * comint.el (comint-redirect-send-command-to-process): Use :around
7702 rather than :override for comint-redirect-filter.
7703 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7704 Call it instead of comint-redirect-original-filter-function (which
7705 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7706
4465bfb4
JD
77072013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7708
7709 * frame.el (display-monitor-attributes-list): Add NS case.
7710 (ns-display-monitor-attributes-list): Declare.
7711
2d809ffa 77122013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7713
7714 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7715
e54eeb9b
GM
77162013-05-09 Glenn Morris <rgm@gnu.org>
7717
56cd351d
GM
7718 * international/fontset.el (vertical-centering-font-regexp):
7719 Set standard-value.
7720
d84b6108
GM
7721 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7722
a931698a
GM
7723 * bookmark.el (bookmark-search-delay):
7724 * cus-start.el (vertical-centering-font-regexp):
7725 * ps-mule.el (ps-mule-font-info-database-default):
7726 * ps-print.el (ps-default-fg, ps-default-bg):
7727 * type-break.el (type-break-good-break-interval):
7728 * whitespace.el (whitespace-indentation-regexp)
7729 (whitespace-space-after-tab-regexp):
7730 * emacs-lisp/testcover.el (testcover-1value-functions)
7731 (testcover-noreturn-functions, testcover-progn-functions)
7732 (testcover-prog1-functions):
7733 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7734 * eshell/em-glob.el (eshell-glob-translate-alist):
7735 * play/tetris.el (tetris-tty-colors):
7736 * progmodes/cpp.el (cpp-face-default-list):
7737 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7738 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7739 (idlwave-help-browser-generic-args):
7740 * progmodes/make-mode.el (makefile-special-targets-list):
7741 * progmodes/python.el (python-shell-virtualenv-path):
7742 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7743 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7744 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7745 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7746 * textmodes/reftex-vars.el (reftex-format-label-function):
7747 * textmodes/remember.el (remember-diary-file): Fix custom types.
7748
e54eeb9b
GM
7749 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7750 Add :version.
7751
455851dd
LL
77522013-05-09 Leo Liu <sdl.web@gmail.com>
7753
7754 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7755 Restore file completion. (Bug#14300)
455851dd
LL
7756 (inferior-octave-startup): Fix incorrect highlighting for the
7757 first prompt.
7758
a9e4425b
SM
77592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * progmodes/ruby-mode.el: First cut at SMIE support.
7762 (ruby-use-smie): New var.
7763 (ruby-smie-grammar): New constant.
7764 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7765 (ruby-smie--forward-token, ruby-smie--backward-token)
7766 (ruby-smie-rules): New functions.
7767 (ruby-mode-variables): Setup SMIE if applicable.
7768
060ca408
EZ
77692013-05-08 Eli Zaretskii <eliz@gnu.org>
7770
7771 * simple.el (line-move-visual): Signal beginning/end of buffer
7772 only if vertical-motion moved less than it was requested. Avoids
7773 silly incorrect error messages when there are display strings with
7774 multiple newlines at EOL.
7775
1d5963cc
SM
77762013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7779 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7780 (prolog-char-quote-workaround):
7781 * progmodes/cperl-mode.el (cperl-under-as-char):
7782 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7783 Mark as obsolete.
7784 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7785 their declaration.
7786 (vhdl-mode-syntax-table-init): Remove.
7787
c9990474
SM
7788 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7789 last change.
1d5963cc
SM
7790
7791 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7792 syntax for "_".
7793 (ld-script-font-lock-keywords):
7794 Change regexps to use things like \_< and \_>.
7795
7796 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7797 Change all regexps to use things like \_< and \_>.
7798
7799 * progmodes/autoconf.el (autoconf-definition-regexp)
7800 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7801 Handle a _ with symbol syntax.
7802 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7803
c9990474
SM
7804 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7805 Consolidate declaration.
1d5963cc
SM
7806 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7807 the declaration.
7808 (ada-create-syntax-table): Remove.
7809 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7810 already has the right syntax nowadays.
7811 (ada-goto-next-word): Don't change the syntax of "_".
7812
7813 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7814 with-wrapper-hook.
7815
72d3cfca
SS
78162013-05-08 Sam Steingold <sds@gnu.org>
7817
7818 * thingatpt.el (thing-at-point): Accept optional second argument
7819 NO-PROPERTIES to strip the text properties from the return value.
7820 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7821 to `thing-at-point' instead of stripping the properties ourselves.
7822 Also, when `thing-at-point' fails to find a url, prepend "http://"
7823 to the filename at point on the assumption that the user is
7824 pointing at something like gnu.org/gnu.
7825
5cb15713
JB
78262013-05-08 Juanma Barranquero <lekktu@gmail.com>
7827
7828 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7829 * faces.el (crm-separator):
7830 Silence byte-compiler.
7831
7832 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7833 (tool-bar-map): Remove unneeded defvars.
7834
ea78b95b
LL
78352013-05-08 Leo Liu <sdl.web@gmail.com>
7836
7837 Re-work a fix for bug#10994 based on Le Wang's patch.
7838 * ido.el (ido-remove-consecutive-dups): New helper.
7839 (ido-completing-read): Use it.
7840 (ido-chop): Revert fix for bug#10994.
7841
dc7466df
AS
78422013-05-08 Adam Spiers <emacs@adamspiers.org>
7843
7844 * cus-edit.el (custom-save-variables):
7845 Pretty-print long values. (Bug#14187)
7846
9ecf672a
GM
78472013-05-08 Glenn Morris <rgm@gnu.org>
7848
7849 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7850 (m4-mode-syntax-table): Init in the defvar.
7851 (m4-mode-abbrev-table): Let define-derived-mode define it.
7852
3f555be8
TT
78532013-05-08 Tom Tromey <tromey@redhat.com>
7854
7855 * progmodes/m4-mode.el (m4-mode-syntax-table):
7856 Do not treat "_" as word constituent. (Bug#14167)
7857
7cc8ae06
GM
78582013-05-07 Glenn Morris <rgm@gnu.org>
7859
4f58bc06
GM
7860 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7861 Remove explicit eshell-isearch-cancel-map.
7862
7cc8ae06
GM
7863 * progmodes/f90.el (f90-smart-end-names): New option.
7864 (f90-smart-end): Doc fix.
7865 (f90-end-block-optional-name): New constant.
7866 (f90-block-match): Respect f90-smart-end-names.
7867
ceb57e59
SM
78682013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7871 about implicit semi-colons (bug#14218).
7872
4e3f9230
YM
78732013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7874
7875 * frame.el (display-monitor-attributes-list)
7876 (frame-monitor-attributes): New functions.
7877
203a5572
LL
78782013-05-06 Leo Liu <sdl.web@gmail.com>
7879
7880 * progmodes/octave.el (octave-syntax-propertize-function): Change
7881 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7882 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7883 (octave-completion-at-point): Rename from
203a5572
LL
7884 octave-completion-at-point-function.
7885 (inferior-octave-directory-tracker): Robustify.
7886 (octave-text-functions): Remove and fix its uses. No such things
7887 any more.
7888
ee6cff99
SM
78892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * emacs-lisp/trace.el (trace--display-buffer): New function.
7892 (trace-make-advice): Use it.
7893
32985194
JL
78942013-05-06 Juri Linkov <juri@jurta.org>
7895
7896 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7897 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7898 Doc fix.
7899 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7900 in the help string. (Bug#12985)
7901
a1c700de
KD
79022013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7903
7904 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7905
c67c0839
SM
79062013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7907
323885fd
SM
7908 * progmodes/perl-mode.el: Add support for here documents.
7909 (perl-syntax-propertize-function): Match here-doc markers.
7910 (perl-syntax-propertize-special-constructs): Find their end.
7911 (perl-imenu-generic-expression): Use [:alnum:].
7912
c67c0839
SM
7913 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7914 (advice--add-function): Refresh the advice if already present
7915 (bug#14317).
7916
d491e7a8
IA
79172013-05-06 Ivan Andrus <darthandrus@gmail.com>
7918
7919 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7920
ddf9925e
GM
79212013-05-06 Glenn Morris <rgm@gnu.org>
7922
7cc3af27
GM
7923 * w32-fns.el (w32-charset-info-alist): Declare.
7924
16e343d6
GM
7925 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7926 of its defcustom properties.
7927 (eshell-cmpl-initialize): No need to load pcomplete.
7928
7d889a47
GM
7929 * generic-x.el: No need to require comint when compiling.
7930
ddf9925e
GM
7931 * net/eudc-export.el: Make it loadable without bbdb.
7932 (top-level): Use require rather than load-library.
7933 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7934 (eudc-batch-export-records-to-bbdb)
7935 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7936 Require bbdb.
7937
1e2c18df
SM
79382013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7941 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7942 some tweaks, instead.
7943
02502a5f
LL
79442013-05-05 Leo Liu <sdl.web@gmail.com>
7945
7946 * progmodes/octave.el (octave-font-lock-keywords)
7947 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7948 (inferior-octave-send-list-and-digest): Improve error message.
7949 (octave-mode, inferior-octave-mode): Use setq-local.
7950 (octave-help): Set info-lookup-mode.
7951
0dc04f42
RS
79522013-05-05 Richard Stallman <rms@gnu.org>
7953
6c54491c
RS
7954 * vc/compare-w.el (compare-windows-whitespace):
7955 Treat no-break space as whitespace.
7956
0dc04f42
RS
7957 * mail/rmailsum.el (rmail-summary-rmail-update):
7958 Detect empty summary and don't change selected message.
7959 (rmail-summary-goto-msg): Likewise.
7960
df8f35df
RS
7961 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7962 Doc fixes, rename args.
7963
5356e1a3
AM
79642013-05-05 Alan Mackenzie <acm@muc.de>
7965
7966 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7967
d44014cb
JL
79682013-05-05 Juri Linkov <juri@jurta.org>
7969
7970 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7971 to not add the length of the summary segment to the return value.
7972 (Bug#14125)
7973
c129b51f
LL
79742013-05-05 Leo Liu <sdl.web@gmail.com>
7975
7976 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7977 (inferior-octave-output-filter): Remove.
7978 (octave-send-region, inferior-octave-startup): Fix callers.
7979 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7980 (octave-binary-file-extensions): New user variable.
7981 (octave-find-definition): Confirm if opening binary files.
7982 (octave-help-file): Use octave-find-definition to get the binary
7983 confirmation.
7984 (octave-help): Adjust for octave-help-file change.
7985
aa7dab97
SM
79862013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7989 Merge the two entries that handle function definitions.
7990 (pascal--syntax-propertize): New const.
7991 (pascal-mode): Use it. Use setq-local.
7992
fd3a9a6b
GM
79932013-05-04 Glenn Morris <rgm@gnu.org>
7994
7995 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7996 (diary-from-outlook): Respect diary-from-outlook-function.
7997
30c7e542
SM
79982013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8001 Move the declaration from C.
8002 (read-minibuffer, eval-minibuffer): Move from C.
8003 (completion-setup-function): Avoid minibuffer-completion-contents.
8004
b54f978b
LL
80052013-05-03 Leo Liu <sdl.web@gmail.com>
8006
8007 * progmodes/octave.el (octave-font-lock-keywords): Do not
8008 dehighlight 'end' in comments or strings.
30c7e542
SM
8009 (octave-completing-read, octave-goto-function-definition):
8010 New helpers.
d4d0f9b3
LL
8011 (octave-help-buffer): New user variable.
8012 (octave-help-file, octave-help-function): New button types.
8013 (octave-help): New command and bind it to C-h ;.
8014 (octave-find-definition): New command and bind it to M-.
d74a1581 8015 (user-error): Alias to error if not defined.
b54f978b 8016
27135018
LL
80172013-05-02 Leo Liu <sdl.web@gmail.com>
8018
8019 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8020 for \. (bug#14332)
8021 (octave-font-lock-keywords): Include [ and {.
8022
0d634d3a
LL
80232013-05-02 Leo Liu <sdl.web@gmail.com>
8024
8025 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8026 (inferior-octave): Remove calling comint-mode and return the buffer.
8027 (inferior-octave-startup): Cosmetic changes.
8028
b4c8295e
LL
80292013-05-02 Leo Liu <sdl.web@gmail.com>
8030
30c7e542
SM
8031 * progmodes/octave.el (octave-syntax-propertize-function):
8032 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8033
f12ad6ec
GM
80342013-05-02 Glenn Morris <rgm@gnu.org>
8035
8036 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8037 * desktop.el (vc-dir-mode): Just autoload it here.
8038
30cac1e0
AM
80392013-05-02 Alan Mackenzie <acm@muc.de>
8040
8041 Eliminate variable c-standard-font-lock-fontify-region-function.
8042 * progmodes/cc-mode.el
8043 (c-standard-font-lock-fontify-region-function): Remove.
8044 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8045
d8ef28b1
LL
80462013-05-01 Leo Liu <sdl.web@gmail.com>
8047
2640d52e 8048 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8049 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8050 variables were removed from Octave in 2007.
d8ef28b1
LL
8051 (inferior-octave-startup): Fix uses.
8052 (comint-line-beginning-position): Remove compatibility code for
8053 emacs 21.
8054
ac63ec89
JL
80552013-05-01 Juri Linkov <juri@jurta.org>
8056
8057 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8058
9e9be37c
JL
80592013-05-01 Juri Linkov <juri@jurta.org>
8060
8061 * comint.el (comint-previous-matching-input): Don't print message
8062 "History item: %d" when `isearch-mode' is active.
8063 (comint-history-isearch-message): Print message "History item: %d"
8064 when `comint-input-ring-index' is not empty and this function is
8065 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8066
9b92c13b
LL
80672013-05-01 Leo Liu <sdl.web@gmail.com>
8068
8069 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8070 definitions. Use completion-at-point to insert keywords.
8071 (octave-abbrev-start): Remove.
8072 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8073
b12d33d7
LL
80742013-04-30 Leo Liu <sdl.web@gmail.com>
8075
8076 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8077 change.
8078
3d1c39fa
AM
80792013-04-30 Alan Mackenzie <acm@muc.de>
8080
8081 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8082 * progmodes/cc-engine.el (c-back-over-member-initializers):
8083 new function.
3d1c39fa
AM
8084 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8085 (most) member init lists.
8086
5147fc17
RS
80872013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8088
8089 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8090 variable.
8091
5b78d7fc
LL
80922013-04-30 Leo Liu <sdl.web@gmail.com>
8093
8094 * progmodes/octave.el (octave-variables): Remove. No builtin
8095 variables any more. All converted to functions.
8096 (octave-font-lock-keywords, octave-completion-at-point-function):
8097 Fix uses.
8098 (octave-font-lock-texinfo-comment): New user variable.
8099 (octave-texinfo-font-lock-keywords): New variable for texinfo
8100 comment block.
8101 (octave-function-comment-block): New face.
8102 (octave-font-lock-texinfo-comment): New function.
8103 (octave-mode): Font lock texinfo comment block.
8104
38d8527b
LL
81052013-04-29 Leo Liu <sdl.web@gmail.com>
8106
8107 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8108 indexing expression.
8109 (octave-continuation-string): Do not use \.
8110 (inferior-octave-complete-impossible): Remove.
8111 (inferior-octave-completion-table)
8112 (inferior-octave-completion-at-point): Remove its uses.
8113 (inferior-octave-startup): completion_matches was introduced to
8114 Octave in 1996 so safe to assume it.
8115 (octave-function-file-comment): Improve to follow how Octave does it.
8116 (octave-update-function-file-comment): Tweak.
8117
2ec12cb0
LL
81182013-04-29 Leo Liu <sdl.web@gmail.com>
8119
8120 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8121 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8122 (octave-function-file-comment): Fix typo.
8123 (octave-sync-function-file-names): Use read-char-choice.
8124
6eaed048
JB
81252013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8126
8127 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8128 to t for the less important warnings.
8129
3ffa2d4f
DH
81302013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8131
8132 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8133
685c9501
GM
81342013-04-27 Glenn Morris <rgm@gnu.org>
8135
8136 * vc/log-view.el (log-view-current-entry):
8137 Treat "---" separator lines as part of the following rev. (Bug#14169)
8138
0208ede7
JL
81392013-04-27 Juri Linkov <juri@jurta.org>
8140
8141 * subr.el (read-number): Doc fix about using it by interactive
8142 code letter `n'. (Bug#14254)
8143
5db9dace
JL
81442013-04-27 Juri Linkov <juri@jurta.org>
8145
8146 * desktop.el (desktop-auto-save-timeout): New option.
8147 (desktop-file-checksum): New variable.
8148 (desktop-save): Add optional arg `auto-save' and don't auto-save
8149 if nothing changed.
8150 (desktop-auto-save-timer): New variable.
8151 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8152 (after-init-hook): Call `desktop-auto-save-set-timer'.
8153 Suggested by Reuben Thomas <rrt@sc3d.org> in
8154 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8155
b7260dd4
LL
81562013-04-27 Leo Liu <sdl.web@gmail.com>
8157
8158 * progmodes/octave.el (octave-function-file-p)
8159 (octave-skip-comment-forward, octave-function-file-comment)
8160 (octave-update-function-file-comment): New functions.
8161 (octave-mode-map): Bind C-c ; to
8162 octave-update-function-file-comment.
8163 (octave-mode-menu): Add octave-update-function-file-comment.
8164 (octave-mode, inferior-octave-mode): Fix doc-string.
8165 (octave-insert-defun): Conform to Octave's coding convention.
8166 (Bug#14285)
8167
8168 * files.el (basic-save-buffer): Don't let errors in
8169 before-save-hook prevent saving buffer.
8170
c46da669
RW
81712013-04-20 Roland Winkler <winkler@gnu.org>
8172
8173 * faces.el (read-face-name): Use completing-read if arg multiple
8174 is nil.
8175
a81ee1eb
IL
81762013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8177
8178 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8179 displayed, move point to after the totals line.
8180 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8181 for the details.
8182
4fac34ce
SM
81832013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8186 Add current dir to the load-path.
8187 (package-generate-autoloads): Don't rely on
8188 autoload-ensure-default-file.
8189
f6bfc063
RT
81902013-04-26 Reuben Thomas <rrt@sc3d.org>
8191
d40ab5cf
BG
8192 * textmodes/remember.el (remember-store-in-files): Document that
8193 the file name format is passed to `format-time-string'.
f6bfc063 8194
e55d3b04
LL
81952013-04-26 Leo Liu <sdl.web@gmail.com>
8196
8197 * progmodes/octave.el (octave-sync-function-file-names): New function.
8198 (octave-mode): Use it in before-save-hook.
8199
e53052d3
SM
82002013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8201
140ef50c
SM
8202 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8203 (bug#14274).
8204
e53052d3
SM
8205 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8206 \n and comment, even if it's not an implicit ; (bug#14218).
8207
af80458d 82082013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8209
8210 * subr.el (read-number): Once more use `read' rather than
8211 `string-to-number', to trap non-numeric input. (Bug#14254)
8212
af80458d 82132013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8214
8215 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8216 Use `syntax-multiline' text property consistently instead of
8a621d53 8217 `font-lock-multiline'. (Bug#14237)
70203c2e 8218
e6ea1f6c
GM
82192013-04-26 Glenn Morris <rgm@gnu.org>
8220
8221 * emacs-lisp/shadow.el (list-load-path-shadows):
8222 No longer necessary to check for duplicate simple.el, since
8223 2012-07-07 change to init_lread to not include installation lisp
8224 directories in load-path when running uninstalled. (Bug#14270)
8225
070ccca4
LL
82262013-04-26 Leo Liu <sdl.web@gmail.com>
8227
8228 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8229 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8230 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8231 octave-in-string-or-comment-p.
8232 (octave-in-comment-p, octave-in-string-p)
8233 (octave-in-string-or-comment-p): Replace defsubst with defun.
8234
9d1c5fb6
PE
82352013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8236
8237 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8238
c034abda
BG
82392013-04-25 Bastien Guerry <bzg@gnu.org>
8240
8241 * textmodes/remember.el (remember-data-directory)
8242 (remember-directory-file-name-format): Fix custom types.
8243
584ea277
LL
82442013-04-25 Leo Liu <sdl.web@gmail.com>
8245
e53052d3
SM
8246 * progmodes/octave.el (octave-completion-at-point-function):
8247 Make use of inferior octave process.
584ea277
LL
8248 (octave-initialize-completions): Remove.
8249 (inferior-octave-completion-table): New function.
8250 (inferior-octave-completion-at-point): Use it.
8251 (octave-completion-alist): Remove.
8252
1693b06a
SM
82532013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8256 (opascal-mode-syntax-table): New var.
8257 (opascal-literal-kind, opascal-is-literal-end)
8258 (opascal-literal-token-at): Rewrite.
8259 (opascal--literal-start-re, opascal-font-lock-keywords)
8260 (opascal--syntax-propertize): New constants.
8261 (opascal-font-lock-defaults): Adjust.
8262 (opascal-mode): Use them. Set comment-<foo> variables as well.
8263 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8264 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8265 (delphi-other-face, opascal-other-face): Remove face variables.
8266 (opascal-save-state): Remove macro.
8267 (opascal-fontifying-progress-step): Remove constant.
8268 (opascal--ignore-changes): Remove var.
8269 (opascal-set-token-property, opascal-parse-next-literal)
8270 (opascal-is-stable-literal, opascal-complete-literal)
8271 (opascal-is-literal-start, opascal-face-of)
8272 (opascal-parse-region, opascal-parse-region-until-stable)
8273 (opascal-fontify-region, opascal-after-change)
8274 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8275 (opascal-debug-parse-region, opascal-debug-parse-window)
8276 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8277 (opascal-debug-fontify-buffer): Remove.
8278 (opascal-debug-mode-map): Adjust accordingly.
8279
be64c05d
LL
82802013-04-25 Leo Liu <sdl.web@gmail.com>
8281
8282 Merge octave-mod.el and octave-inf.el into octave.el with some
8283 cleanups.
8284 * progmodes/octave.el: New file renamed from octave-mod.el.
8285 * progmodes/octave-inf.el: Merged into octave.el.
8286 * progmodes/octave-mod.el: Renamed to octave.el.
8287
d79d37bd
TH
82882013-04-25 Tassilo Horn <tsdh@gnu.org>
8289
8290 * textmodes/reftex-vars.el
8291 (reftex-label-ignored-macros-and-environments): New defcustom.
8292
8293 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8294
ced3fc5d
SM
82952013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8298 (smie-indent-keyword): Improve the check to ensure that the next
8299 comment is really on the same line.
8300 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8301
8302 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8303 semi-colons if the line is not otherwise empty (bug#14218).
8304
1c141dad
GM
83052013-04-25 Glenn Morris <rgm@gnu.org>
8306
8307 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8308
5058062a
SM
83092013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * progmodes/opascal.el (opascal-set-token-property): Rename from
8312 opascal-set-text-properties and only set `token' (bug#14134).
8313 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8314 (opascal-literal-text-properties): Remove.
8315 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8316 Adjust callers.
8317
5db9dace 83182013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8319
8320 * textmodes/remember.el (remember-handler-functions): Add an
8321 option for a new handler `remember-store-in-files'.
8322 (remember-data-directory, remember-directory-file-name-format):
8323 New options.
8324 (remember-store-in-files): New function to store remember notes
8325 as separate files within a directory.
8326
4391916c
MH
83272013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8328
8329 * progmodes/compile.el (compilation-next-error-function):
8330 Pass "formats" to compilation-find-file (bug#11777).
8331
bb7cdf58
GM
83322013-04-24 Glenn Morris <rgm@gnu.org>
8333
3b8fe752 8334 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8335 * vc/vc-hg.el (vc-hg-print-log):
8336 * vc/vc-svn.el (vc-svn-print-log):
8337 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8338
bb7cdf58
GM
8339 * vc/vc-bzr.el (vc-bzr-print-log):
8340 * vc/vc-cvs.el (vc-cvs-print-log):
8341 * vc/vc-git.el (vc-git-print-log):
8342 * vc/vc-hg.el (vc-hg-print-log):
8343 * vc/vc-mtn.el (vc-mtn-print-log):
8344 * vc/vc-rcs.el (vc-rcs-print-log):
8345 * vc/vc-sccs.el (vc-sccs-print-log):
8346 * vc/vc-svn.el (vc-svn-print-log):
8347 * vc/vc.el (vc-print-log-internal): Doc fixes.
8348
b46a056e
GM
83492013-04-23 Glenn Morris <rgm@gnu.org>
8350
8351 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8352 Remove venerable code attempting to avoid substitute-command-keys.
8353
0aecf718
TH
83542013-04-23 Tassilo Horn <tsdh@gnu.org>
8355
4391916c
MH
8356 * textmodes/reftex-vars.el (reftex-label-regexps):
8357 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8358
117f94cf
SM
83592013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8360
4391916c 8361 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8362 Use lexical-binding.
8363 (jit-lock-force-redisplay): Use markers, check buffer's continued
8364 existence and beware narrowed buffers.
8365 (jit-lock-fontify-now): Adjust call accordingly.
8366
1d829c64
SM
83672013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8370 to avoid misleading the user.
8371
72d548a9
LL
83722013-04-22 Leo Liu <sdl.web@gmail.com>
8373
8374 * info-look.el: Prefer latex2e.info. (Bug#14240)
8375
d0853629
MA
83762013-04-22 Michael Albinus <michael.albinus@gmx.de>
8377
8378 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8379
8380 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8381 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8382 (tramp-set-completion-function, tramp-parse-putty):
8383 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8384 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8385 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8386 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8387 (tramp-call-local-coding-command): Use `tramp-call-process'
8388 instead of `tramp-compat-call-process'.
8389
8390 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8391 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8392 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8393 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8394 (tramp-maybe-send-script): Check for Perl binary.
8395 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8396
38cc0210
DU
83972013-04-22 Daiki Ueno <ueno@gnu.org>
8398
8399 * epg.el (epg-context-pinentry-mode): New function.
8400 (epg-context-set-pinentry-mode): New function.
8401 (epg--start): Pass --pinentry-mode option to gpg command.
8402
cc641ee1
XF
84032013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8404
02d844b5 8405 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8406 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8407 `completion-at-point'. (Bug#13774)
5d4e5c31 8408
cc641ee1
XF
8409 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8410 default key binding for `describe-distribution' has been moved to
8411 `C-h C-o'. (Bug#13970)
8412
1b42ee43
GM
84132013-04-21 Glenn Morris <rgm@gnu.org>
8414
8415 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8416 Add doc strings.
8417 (vc-print-log): Clarify interactive prompt.
8418
a6d63d97
GM
84192013-04-20 Glenn Morris <rgm@gnu.org>
8420
8421 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8422 No longer include timestamp etc information.
8423
d7f5c16f
RW
84242013-04-20 Roland Winkler <winkler@gnu.org>
8425
8426 * faces.el (read-face-name): Bug fix, return just one face if arg
8427 multiple is nil. (Bug#14209)
8428
bcd7a0a4
SM
84292013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8432 (remove-function): Autoload.
8433
8434 * comint.el (comint-redirect-original-filter-function): Remove.
8435 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8436 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8437 (vc-cvs-annotate-command):
bcd7a0a4
SM
8438 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8439 * progmodes/prolog.el (prolog-consult-compile):
8440 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8441 Use add/remove-function instead.
8442 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8443 (gud-tooltip-process-output, gud-tooltip-tips):
8444 Use add/remove-function instead.
8445 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8446 (scheme-interaction-mode, exit-scheme-interaction-mode):
8447 Use add/remove-function instead.
8448
8449 * vc/vc-dispatcher.el: Use lexical-binding.
8450 (vc--process-sentinel): Rename from vc-process-sentinel.
8451 Change last arg to be the code to run. Don't use vc-previous-sentinel
8452 and vc-sentinel-commands any more.
8453 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8454 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8455
e36b2d20 84562013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8457
bcd7a0a4 8458 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8459 Handle function names with a single character. (Bug#14111)
4d3268ba 8460
781b4af6 84612013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8462
8463 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8464 for subroutines defined in an eval (bug#14182).
8465
7d688336
TV
84662013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8467
8468 * bookmark.el (bookmark-completing-read): Improve handling of empty
8469 string (bug#14176).
8470
31dcede0
SM
84712013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8474
adc31213
FEG
84752013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8476
8477 New faster Imenu implementation (bug#14058).
8478 * progmodes/python.el:
8479 (python-imenu-prev-index-position):
8480 (python-imenu-format-item-label-function)
8481 (python-imenu-format-parent-item-label-function)
8482 (python-imenu-format-parent-item-jump-label-function):
8483 New vars.
8484 (python-imenu-format-item-label)
8485 (python-imenu-format-parent-item-label)
8486 (python-imenu-format-parent-item-jump-label)
8487 (python-imenu--put-parent, python-imenu--build-tree)
8488 (python-imenu-create-index, python-imenu-create-flat-index)
8489 (python-util-popn): New functions.
8490 (python-mode): Set imenu-create-index-function to
8491 python-imenu-create-index.
8492
cdca8255
SM
84932013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * winner.el (winner-active-region): Use region-active-p, activate-mark
8496 and deactivate-mark (bug#14225).
8497
8498 * simple.el (deactivate-mark): Don't inline it.
8499
beb42340
MA
85002013-04-18 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8503
fc7f4d7e
TH
85042013-04-18 Tassilo Horn <tsdh@gnu.org>
8505
8506 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8507 file extensions from the archive-mode entry in order to prefer
8508 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8509
29f47822
LL
85102013-04-18 Leo Liu <sdl.web@gmail.com>
8511
8512 * bindings.el (help-event-list): Add ?\?.
8513
d36ed1c8
SM
85142013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * subr.el (with-wrapper-hook): Declare obsolete.
8517 * simple.el (filter-buffer-substring-function): New hook.
8518 (filter-buffer-substring): Use it.
8519 (filter-buffer-substring-functions): Mark obsolete.
8520 * minibuffer.el (completion-in-region-function): New hook.
8521 (completion-in-region): Use it.
8522 (completion-in-region-functions): Mark obsolete.
8523 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8524 * abbrev.el (abbrev-expand-function): New hook.
8525 (expand-abbrev): Use it.
8526 (abbrev-expand-functions): Mark obsolete.
8527 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8528 and :filter-return.
8529
04754d36
FEG
85302013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8531
8532 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8533 and do not care about match data.
8534
dd8791e9
SM
85352013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8538 completion tables when completing error conditions and
8539 `declare' arguments.
8540 (lisp-complete-symbol, field-complete): Mark as obsolete.
8541 (check-parens): Unmatched parens are user errors.
8542 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8543
ffe54a13
AM
85442013-04-17 Michal Nazarewicz <mina86@mina86.com>
8545
dd8791e9
SM
8546 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8547 command changed buffer (ie. `flyspell-pre-buffer' is not current
8548 buffer), which prevents making decisions based on invalid value of
8549 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8550 cause an error when `flyspell-pre-point' was nil after switching
8551 buffers.
8552 (flyspell-post-command-hook): No longer needs to change buffers when
8553 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8554
ec7e39f2
AM
85552013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8556
8557 * textmodes/ispell.el (ispell-add-per-file-word-list):
8558 Fix `flyspell-correct-word-before-point' error when accepting
8559 words and `coment-padding' is an integer by using
8560 `comment-normalize-vars' (Bug #14214).
8561
083850a6
FEG
85622013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8563
8564 New defun movement commands.
8565 * progmodes/python.el (python-nav--syntactically)
8566 (python-nav--forward-defun, python-nav-backward-defun)
8567 (python-nav-forward-defun): New functions.
8568
619ed6e1
FEG
85692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8570
8571 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8572 (python-syntax-context): Use named compiler-macro for backwards
8573 compatibility with Emacs 24.x.
8574
7a1beb6c
LL
85752013-04-17 Leo Liu <sdl.web@gmail.com>
8576
8577 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8578 octave-hide-process-buffer.
8579
2d3fa3e5
SM
85802013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8581
8582 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8583 (bug#14216).
8584
7ce5be54
JPG
85852013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8586
8587 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8588 Fix adjustment of offset when receiving incomplete responses from GDB
8589 (bug#14129).
8590
351edece
SM
85912013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8594 python-mode-abbrev-table.
8595 (python-skeleton-define): Adjust accordingly.
8596 (python-mode-abbrev-table): New table that inherits from it so that
8597 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8598
8599 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8600 (abbrev-symbol): Use it.
8601 (abbrev--before-point): Use it since we already handle inheritance.
8602
613f9481
LL
86032013-04-16 Leo Liu <sdl.web@gmail.com>
8604
8605 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8606 binding to info-lookup-symbol.
8607
51646b62
JB
86082013-04-16 Juanma Barranquero <lekktu@gmail.com>
8609
8610 * minibuffer.el (completion--twq-all):
8611 * term/ns-win.el (ns-initialize-window-system):
8612 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8613
efb3f01d
SM
86142013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8615
36c0a301
SM
8616 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8617 global bindings.
8618
efb3f01d
SM
8619 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8620
fb549d64
DG
86212013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8622
8623 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8624 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8625 to nil.
8626 (ruby-end-of-defun): Remove the unused arg, change the docstring
8627 to reflect that this function is only used as the value of
8628 `end-of-defun-function'.
8629 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8630 to reflect an earlier change that beginning/end-of-defun functions
8631 jump between methods in a class definition, as well as top-level
8632 functions.
8633
21e8fe2f
SM
86342013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * minibuffer.el (minibuffer-complete): Don't just scroll
8637 a *Completions* that's been iconified.
8638 (minibuffer-force-complete): Make sure repetitions do cycle when going
8639 through completion-in-region -> minibuffer-complete.
8640
20e527d0
AM
86412013-04-15 Alan Mackenzie <acm@muc.de>
8642
8643 Correct the placement of c-cpp-delimiters when there're #s not at
8644 col 0.
8645
8646 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8647 place a submatch around the #.
21e8fe2f
SM
8648 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8649 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8650 on the #, not BOL.
8651
dabefae5
SM
86522013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8655 (advice--member-p): New arg `name'.
8656 (advice--add-function, advice-member-p): Use it (bug#14202).
8657
85c9ab64
AM
86582013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8659
8660 Reformulate java imenu-generic-expression.
8661 The old expression contained ill formed regexps.
8662
8663 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8664 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8665 (cc-imenu-java-method-arg-regexp): New defconsts.
8666 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8667 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8668 handling of spaces in the regexp.
8669
0f821d99
AM
86702013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8671
8672 * textmodes/ispell.el (ispell-command-loop): Remove
8673 flyspell highlight of a word when ispell accepts it (bug #14178).
8674
eb922adf
MA
86752013-04-15 Michael Albinus <michael.albinus@gmx.de>
8676
8677 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8678 uses code from the previous `ange-ftp-run-real-handler'.
8679 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8680 only in case that function exist. This is needed for proper
8681 unloading of Tramp.
8682
4d9a0979
TH
86832013-04-15 Tassilo Horn <tsdh@gnu.org>
8684
8685 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8686
8687 * textmodes/reftex.el (reftex-compile-variables): Use it.
8688
a829b0dc
SM
86892013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8690
91e8293c
SM
8691 * files.el (normal-mode): Only use default major-mode if no other mode
8692 was specified.
8693
830aed4d
SM
8694 * emacs-lisp/trace.el (trace-values): New function.
8695
a829b0dc
SM
8696 * files.el: Allow : in local variables (bug#14089).
8697 (hack-local-variable-regexp): New var.
8698 (hack-local-variables-prop-line, hack-local-variables): Use it.
8699
7ae9f0fb
RW
87002013-04-13 Roland Winkler <winkler@gnu.org>
8701
8702 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8703 data before it gets modified by bibtex-beginning-of-entry.
8704
6646e848
RW
87052013-04-13 Roland Winkler <winkler@gnu.org>
8706
8707 * textmodes/bibtex.el (bibtex-url): Doc fix.
8708
87092013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8710
8711 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8712 does not visit a BibTeX file, exclude it from the list of buffers
8713 returned by bibtex-initialize.
8714
0aa3616e
SB
87152013-04-13 Stephen Berman <stephen.berman@gmx.net>
8716
8717 * window.el (split-window): Remove interactive form, since as a
8718 command this function is a special case of split-window-below.
8719 Correct doc string.
8720
011cddd6
RW
87212013-04-12 Roland Winkler <winkler@gnu.org>
8722
8723 * faces.el (read-face-name): Do not override value of arg default.
8724 Allow single faces and strings as default values. Remove those
8725 elements from return value that are not faces.
8726 (describe-face): Simplify.
8727 (face-at-point): New optional args thing and multiple so that this
8728 function can provide the same functionality previously provided by
8729 read-face-name.
8730 (make-face-bold, make-face-unbold, make-face-italic)
8731 (make-face-unitalic, make-face-bold-italic, invert-face)
8732 (modify-face, read-face-and-attribute): Use face-at-point.
8733
8734 * cus-edit.el (customize-face, customize-face-other-window)
8735 * cus-theme.el (custom-theme-add-face)
8736 * face-remap.el (buffer-face-set)
8737 * facemenu.el (facemenu-set-face): Use face-at-point.
8738
f24e0036
MA
87392013-04-12 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8742
da3cda2d
TH
87432013-04-10 Tassilo Horn <tsdh@gnu.org>
8744
8745 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8746 off leading { and trailing } from field values.
8747
15e54145
SM
87482013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8749
78ce603d
SM
8750 * emacs-lisp/timer.el (timer--check): New function.
8751 (timer--time, timer-set-function, timer-event-handler): Use it.
8752 (timer-set-idle-time): Simplify.
8753 (timer--activate): CSE.
8754 (timer-event-handler): Give more info in error message.
8755 (internal-timer-start-idle): New function, moved from C.
8756
15e54145
SM
8757 * mpc.el (mpc-proc): Add `restart' argument.
8758 (mpc-proc-cmd): Use it.
8759 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8760 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8761 less often.
8762
7144c627
MY
87632013-04-10 Masatake YAMATO <yamato@redhat.com>
8764
8765 * progmodes/sh-script.el: Implement `sh-mode' own
8766 `add-log-current-defun-function' (bug#14112).
8767 (sh-current-defun-name): New function.
8768 (sh-mode): Use the function.
8769
b39792eb
BG
87702013-04-09 Bastien Guerry <bzg@gnu.org>
8771
8772 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8773
8acdeb71
SM
87742013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8775
6fcdab68
SM
8776 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8777
8acdeb71
SM
8778 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8779 timer (bug#14156).
8780
e3e7b504
NF
87812013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8782
8783 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8784 declaration.
8785
201bb296
LL
87862013-04-07 Leo Liu <sdl.web@gmail.com>
8787
8788 * pcmpl-x.el: New file.
8789
ebb19708
DA
87902013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8791
8792 Do not set x-display-name until X connection is established.
8793 This is needed to prevent from weird situation described at
8794 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8795 * frame.el (make-frame): Set x-display-name after call to
8796 window system initialization function, not before.
8797 * term/x-win.el (x-initialize-window-system): Add optional
8798 display argument and use it.
8799 * term/w32-win.el (w32-initialize-window-system):
8800 * term/ns-win.el (ns-initialize-window-system):
8801 * term/pc-win.el (msdos-initialize-window-system):
8802 Add compatible optional display argument.
8803
33bb237a
EZ
88042013-04-06 Eli Zaretskii <eliz@gnu.org>
8805
8806 * files.el (normal-backup-enable-predicate): On MS-Windows and
8807 MS-DOS compare truenames of temporary-file-directory and of the
8808 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8809 don't fail comparison by compare-strings. Also, compare file
8810 names case-insensitively on MS-Windows and MS-DOS.
8811
134abf1f
SM
88122013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8815 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8816
d695cb94
DG
88172013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8818
e3e7b504
NF
8819 * whitespace.el (whitespace-color-on, whitespace-color-off):
8820 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8821
f4ad7ea1 88222013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8823
8824 * ispell.el (ispell-set-spellchecker-params):
8825 Really set `ispell-args' for all equivs.
8826
632556e4
SM
88272013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * ido.el (ido-completions): Use extra elements of ido-decorations
8830 (bug#14143).
8831 (ido-decorations): Update docstring.
8832
2a417372
MA
88332013-04-05 Michael Albinus <michael.albinus@gmx.de>
8834
8835 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8836 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8837 nil during initialization, in order not to miss changes since the
8838 file was opened. (Bug#14140)
8839
fc164b0c
LL
88402013-04-05 Leo Liu <sdl.web@gmail.com>
8841
8842 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8843
0ccecc08
JB
88442013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8845
8846 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8847
51af1aa2
GM
88482013-04-04 Glenn Morris <rgm@gnu.org>
8849
8850 * electric.el (electric-pair-inhibit-predicate): Add :version.
8851
b208ebc6
SM
88522013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8855 when a package is required several times (bug#14082).
8856
f3d3eaf0
RW
88572013-04-04 Roland Winkler <winkler@gnu.org>
8858
8859 * faces.el (read-face-name): Behave as promised by the docstring.
8860 Assume that arg default is a list of faces.
8861 (describe-face): Call read-face-name with list of default faces.
8862
2575da50
TV
88632013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8864
8865 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8866 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8867 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8868 the header.
8869 (bookmark-exit-hook-internal): Save even if list is empty.
8870
397703b4
YH
88712013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8872
8873 * emacs-lisp/package.el (package-pinned-packages): New var.
8874 (package--add-to-archive-contents): Obey it (bug#14118).
8875
691e26ae
AM
88762013-04-03 Alan Mackenzie <acm@muc.de>
8877
8a621d53
JB
8878 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8879 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8880
8881 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8882 parameter `not-in-delimiter'. Handle being inside comment opener.
8883 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8884 character in case we're typing a '*' after a '/'.
8885 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8886 instead by passing the parameter to c-state-pp-to-literal.
8887
8888 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8889 for elt. 7 of a parse state.
8890
4b725a70
PE
88912013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8892
8893 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8894 * international/latin1-disp.el, international/mule-util.el:
8895 * language/cyril-util.el, language/european.el, language/ind-util.el:
8896 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8897 * language/tibetan.el, language/viet-util.el:
8898 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8899
15c579f0
SM
89002013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8903 (electric-pair-post-self-insert-function): Use it.
8904 (electric-pair-default-inhibit): New function, extracted from
8905 electric-pair-post-self-insert-function.
8906
a77e2924
RW
89072013-03-31 Roland Winkler <winkler@gnu.org>
8908
8909 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8910
2bd8a4a8
SM
89112013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8914
8d3655be 89152013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8916
8917 Un-indent after "pass" and "return" statements (Bug#13888)
8918 * progmodes/python.el (python-indent-block-enders): New var.
8919 (python-indent-calculate-indentation): Use it.
8920
8d3655be 89212013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8922
8923 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8924 defun. Defining it as defalias could introduce too eager
8925 byte-compiler optimization. (Bug#14030)
8926
8d3655be 89272013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8928
8929 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8930
0b1619da
LL
89312013-03-30 Leo Liu <sdl.web@gmail.com>
8932
8933 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8934 (kmacro-execute-from-register): Pass the keyboard macro to
8935 kmacro-call-macro or repeating won't work correctly.
8936
0b938190
TZ
89372013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8938
8939 * progmodes/subword.el: Back to using `forward-symbol'.
8940
8941 * subr.el (forward-whitespace, forward-symbol)
8942 (forward-same-syntax): Move from thingatpt.el.
8943
35710234
LL
89442013-03-29 Leo Liu <sdl.web@gmail.com>
8945
8946 * kmacro.el (kmacro-to-register): New command.
8947 (kmacro-execute-from-register): New function.
8948 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8949
efc0bb73
SM
89502013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8951
8952 * mpc.el: Use defvar-local and setq-local.
8953 (mpc--proc-connect): Connection failures are not bugs.
8954 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8955 (mpc-volume-map): Bind to the up-events.
8956
75a2f981
TZ
89572013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8958
8959 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8960 instead of `forward-symbol'.
8961
17c781d1
SM
89622013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8965 (edebug--recursive-edit): Use it.
8966 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8967 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8968
f67bfbcf
LL
89692013-03-28 Leo Liu <sdl.web@gmail.com>
8970
8971 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8972
b59f639d
EZ
89732013-03-27 Eli Zaretskii <eliz@gnu.org>
8974
8975 * facemenu.el (list-colors-callback): New defvar.
8976 (list-colors-redisplay): New function.
8977 (list-colors-display): Install list-colors-redisplay as the
8978 revert-buffer-function. (Bug#14063)
8979
f557c1b1
SM
89802013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8981
b1da2957
SM
8982 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8983 and suffixes don't overlap (bug#14061).
8984
f557c1b1
SM
8985 * case-table.el: Use lexical-binding.
8986 (case-table-get-table): New function.
8987 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8988
002668e1
TZ
89892013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8990
8991 * progmodes/subword.el: Add `superword-mode' to do word motion
8992 over symbol_words (parallels and leverages `subword-mode' which
8993 does word motion inside MixedCaseWords).
8994
73572c72
AG
89952013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8996
78b8f320 8997 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8998 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8999
69b2c07e
SM
90002013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9003 Change return value to be a sexp. Delay `get-buffer' to after
9004 restoring the desktop (bug#13951).
9005
08bb5ee2
LL
90062013-03-26 Leo Liu <sdl.web@gmail.com>
9007
9008 * register.el: Move semantic tag handling back to
9009 cedet/semantic/senator.el. (Bug#14052)
9010
8d4c974e
SM
90112013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9014 into the prompt either (bug#13963).
9015
b234d92c
SM
90162013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9019 part of "(error-foo)".
9020
ddfa3cb4
JL
90212013-03-24 Juri Linkov <juri@jurta.org>
9022
9023 * replace.el (list-matching-lines-prefix-face): New defcustom.
9024 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9025 `occur-engine' if `face-differs-from-default-p' returns t.
9026 (occur-engine): Add `,' inside backquote construct to evaluate
9027 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9028 Pass `prefix-face' to the functions `occur-context-lines' and
9029 `occur-engine-add-prefix'.
9030 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9031 `prefix-face' and propertize the prefix with `prefix-face'.
9032 (Bug#14017)
9033
7b0e2f85
LL
90342013-03-24 Leo Liu <sdl.web@gmail.com>
9035
9036 * nxml/rng-valid.el (rng-validate-while-idle)
9037 (rng-validate-quick-while-idle): Guard against deleted buffer.
9038 (Bug#13999)
9039
9040 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9041 is the last entry in kill-buffer-hook.
9042
9043 * files.el (kill-buffer-hook): Doc fix.
9044
b3082f49
DG
90452013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9046
b234d92c
SM
9047 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9048 Make it safe-local.
bde73d27 9049
b3082f49
DG
9050 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9051
a320a2db
LL
90522013-03-23 Leo Liu <sdl.web@gmail.com>
9053
7e74b0fb
LL
9054 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9055 Remove.
9056
9057 * nxml/rng-valid.el (rng-validate-mode)
9058 (rng-after-change-function, rng-do-some-validation):
9059 * nxml/rng-maint.el (rng-validate-buffer):
9060 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9061 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9062 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9063 (nxml-extend-after-change-region): Use with-silent-modifications.
9064
a320a2db
LL
9065 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9066 timer-idle-list.
9067
9068 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9069 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9070 timer-idle-list. (Bug#13999)
9071
e38e6780
JL
90722013-03-23 Juri Linkov <juri@jurta.org>
9073
9074 * info.el (info-index-match): New face.
9075 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9076 main pattern and add text properties with the new face to matches
9077 in index entries relative to the beginning of the index entry.
9078 (Bug#14015)
9079
e8cc7880
DE
90802013-03-21 Eric Ludlam <zappo@gnu.org>
9081
9082 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9083 Inhibit read only while inserting objects.
9084
9bb0d822
TZ
90852013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9086
9087 * progmodes/cfengine.el: Update docs to mention
9088 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9089 symbol motion. Remove "_" from the word syntax.
9090
aa703640
TZ
90912013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9092
9093 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9094 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9095
afff09d0
JL
90962013-03-20 Juri Linkov <juri@jurta.org>
9097
9098 * info.el (Info-next-reference-or-link)
9099 (Info-prev-reference-or-link): New functions.
9100 (Info-next-reference, Info-prev-reference): Use them.
9101 (Info-try-follow-nearest-node): Handle footnote navigation.
9102 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9103
9a1ff164
SM
91042013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9107 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9108
2667d15d
PE
91092013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9110
9111 Suppress unnecessary non-ASCII chatter during build process.
9112 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9113 (batch-skkdic-convert): Suppress most of the chatter.
9114 It's not needed so much now that machines are faster,
9115 and its non-ASCII component was confusing; see Dmitry Gutov in
9116 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9117
438b0579
LL
91182013-03-20 Leo Liu <sdl.web@gmail.com>
9119
9120 * ido.el (ido-chop): Fix bug#10994.
9121
c128ab07
DG
91222013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9123
9124 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9125 Remove vars.
9a1ff164
SM
9126 (whitespace-color-on, whitespace-color-off):
9127 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9128
0e6008c5
SM
91292013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9132 remapping in mode-line.
9133 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9134
627b52b0
DG
91352013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9136
9137 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9138 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9139 (whitespace-font-lock-keywords): Change description.
9140 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9141 the constructed keywords instead.
9142 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9143
50c3a20b
LL
91442013-03-19 Leo Liu <sdl.web@gmail.com>
9145
9146 * progmodes/compile.el (compilation-display-error): New command.
9147 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9148 C-o. (Bug#13992)
9149
2aa2157b
PE
91502013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9151
9152 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9153
e477dbfa
JD
91542013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9155
9156 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9157
64ab82d1
MA
91582013-03-18 Michael Albinus <michael.albinus@gmx.de>
9159
9160 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9161
9162 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9163 * net/tramp-gvfs.el (top):
9164 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9165 (tramp-handle-shell-command): Use it.
9166 (tramp-dissect-file-name): Raise an error when hostname is a
9167 method name, and neither method nor user is specified.
9168
9169 * net/trampver.el: Update release number.
9170
33cef733
LL
91712013-03-18 Leo Liu <sdl.web@gmail.com>
9172
9173 Make sure eldoc can be turned off properly.
9174 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9175 eldoc-mode.
9176 (eldoc-display-message-p): Revert last change.
9177 (eldoc-display-message-no-interference-p)
9178 (eldoc-print-current-symbol-info): Tweak.
9179
2167b7b2
TH
91802013-03-18 Tassilo Horn <tsdh@gnu.org>
9181
9182 * doc-view.el (doc-view-new-window-function): Check the new window
9183 overlay's display property instead the char property of the
9184 buffer's first char. Use `with-selected-window' instead of
9185 `save-window-excursion' with `select-window'.
9186 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9187 display property instead the char property of the buffer's first char.
2167b7b2 9188
982efbcd
PE
91892013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9190
9191 Automate the build of ja-dic.el (Bug#13984).
9192 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9193 from the input, rather than assume that it's been done for us by the
9194 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9195 the current date into a ja-dic.el comment, as that complicates
9196 regression testing.
9197
2fcc7665
SM
91982013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * whitespace.el: Fix double evaluation.
9201 (whitespace-space, whitespace-hspace, whitespace-tab)
9202 (whitespace-newline, whitespace-trailing, whitespace-line)
9203 (whitespace-space-before-tab, whitespace-indentation)
9204 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9205 obsolete defvars.
9206 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9207 (whitespace-color-on): Use a single font-lock-add-keywords call.
9208 Fix double-evaluation of face variables.
9209
67c0a6e6
MA
92102013-03-17 Michael Albinus <michael.albinus@gmx.de>
9211
2fcc7665
SM
9212 * net/tramp-adb.el (tramp-adb-parse-device-names):
9213 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9214 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9215
69489f1d
LL
92162013-03-17 Leo Liu <sdl.web@gmail.com>
9217
9218 Extend eldoc to display info in the mode-line. (Bug#13978)
9219 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9220 (eldoc-mode-line-string): New variable.
9221 (eldoc-minibuffer-message): New function.
9222 (eldoc-message-function): New variable.
9223 (eldoc-message): Use it.
9224 (eldoc-display-message-p)
2fcc7665
SM
9225 (eldoc-display-message-no-interference-p):
9226 Support eldoc-post-insert-mode.
69489f1d
LL
9227
9228 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9229 (eval-expression): Run it.
9230
9c44569e
RW
92312013-03-17 Roland Winkler <winkler@gnu.org>
9232
9233 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9234 strings in the list of return values.
9235
327f1f6f
JB
92362013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9237
9238 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9239 radix before checking for HMS forms.
9240
67ed8fcd
LL
92412013-03-16 Leo Liu <sdl.web@gmail.com>
9242
9243 * progmodes/scheme.el: Add indentation and font-locking for λ.
9244 (Bug#13975)
9245
78be8b64 92462013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9247
9248 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9249 token before point (bug#13942).
9250
78be8b64 92512013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9252
95b43468 9253 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9254
98e775e6
EZ
92552013-03-16 Eli Zaretskii <eliz@gnu.org>
9256
9257 * startup.el (command-line-normalize-file-name): Fix handling of
9258 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9259 <xfq.free@gmail.com> in
9260 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9261
2edd6029
MA
92622013-03-15 Michael Albinus <michael.albinus@gmx.de>
9263
9264 Sync with Tramp 2.2.7.
9265
9266 * net/trampver.el: Update release number.
9267
d35f5864
TH
92682013-03-14 Tassilo Horn <tsdh@gnu.org>
9269
e903c210 9270 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9271 (doc-view-insert-image): Don't modify overlay associated to
9272 non-live windows, and implement horizontal centering of image in
9273 case it's smaller than the window.
9274 (doc-view-new-window-function): Force redisplay of new windows on
9275 doc-view buffers.
d35f5864 9276
1c4a85ed
KF
92772013-03-13 Karl Fogel <kfogel@red-bean.com>
9278
9279 * saveplace.el (save-place-alist-to-file): Don't sort
9280 `save-place-alist', just pretty-print it (bug#13882).
9281
85b66a21
MA
92822013-03-13 Michael Albinus <michael.albinus@gmx.de>
9283
a020afb9
JB
9284 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9285 Check whether `default-file-name-coding-system' is bound.
9286 It isn't in XEmacs.
85b66a21 9287
175600da
SM
92882013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9289
e7f7cb1a
SM
9290 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9291 backquotes for `obsolete' (bug#13929).
9292
175600da
SM
9293 * international/mule.el (find-auto-coding): Include file name in
9294 obsolescence warning (bug#13922).
9295
ca68a22e
TZ
92962013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9297
9298 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9299 for CFEngine 3-specific indentation.
9300 (cfengine3-indent-line): Use it. Fix up category regex.
9301 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9302
940e5099
SM
93032013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * type-break.el (type-break-file-name):
9306 * textmodes/remember.el (remember-data-file):
9307 * strokes.el (strokes-file):
9308 * shadowfile.el (shadow-initialize):
9309 * saveplace.el (save-place-file):
9310 * ps-bdf.el (bdf-cache-file):
9311 * progmodes/idlwave.el (idlwave-config-directory):
9312 * net/quickurl.el (quickurl-url-file):
9313 * international/kkc.el (kkc-init-file-name):
9314 * ido.el (ido-save-directory-list-file):
9315 * emulation/viper.el (viper-custom-file-name):
9316 * emulation/vip.el (vip-startup-file):
9317 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9318 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9319
cc725808
PE
93202013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9321
9322 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9323 * language/thai-word.el: Switch to UTF-8.
9324
a020afb9 9325See ChangeLog.16 for earlier changes.
e3d51b27
MR
9326
9327;; Local Variables:
9328;; coding: utf-8
e3d51b27
MR
9329;; End:
9330
ab422c4d 9331 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9332
9333 This file is part of GNU Emacs.
9334
9335 GNU Emacs is free software: you can redistribute it and/or modify
9336 it under the terms of the GNU General Public License as published by
9337 the Free Software Foundation, either version 3 of the License, or
9338 (at your option) any later version.
9339
9340 GNU Emacs is distributed in the hope that it will be useful,
9341 but WITHOUT ANY WARRANTY; without even the implied warranty of
9342 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9343 GNU General Public License for more details.
9344
9345 You should have received a copy of the GNU General Public License
9346 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.