* lisp/progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6f9260e8
BB
12013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2
3 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4 table and abbrev table, `define-derived-mode' does that for us
5 anyway.
6
6014de84
GM
72013-11-01 Glenn Morris <rgm@gnu.org>
8
9 * Makefile.in: Remove manual mh-e dependencies (writing .elc
10 files is atomic for some time, so no parallel compilation issues).
11
3c334c14
JD
122013-11-01 Jan Djärv <jan.h.d@swipnet.se>
13
14 * faces.el (face-x-resources): Add :distant-foreground.
15 (region): Use :distant-foreground for gtk and ns.
16
9bc236c8
TH
172013-11-01 Tassilo Horn <tsdh@gnu.org>
18
19 Allow multiple bibliographies when BibLaTeX is used rathen than
20 BibTeX.
21 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
22 (reftex-locate-bibliography-files): Us it.
23
d14c81ee
CB
242013-11-01 Claudio Bley <claudio.bley@googlemail.com>
25
0e7690de
CB
26 * image.el (image-type-header-regexps): Fix the 'pbm' part to
27 allow comments in pbm files.
28
d14c81ee
CB
29 * term/w32-win.el (dynamic-library-alist): Support newer versions
30 of libjpeg starting with v7: look only for the DLL from the
31 version against which Emacs was built.
ac1bf374 32 Support versions of libpng beyond 1.4.x.
019c8218 33 Support libtiff v4.x.
d14c81ee 34
983d0df5
BB
352013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
36
37 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
38 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
39 Add property :safe.
40 (ruby-deep-arglist): Add property :type.
41
47f58d85
GM
422013-10-31 Glenn Morris <rgm@gnu.org>
43
44 * Makefile.in (custom-deps, finder-data): No need to setq the target
45 variables, we are in the right directory and the defaults work fine.
46
4f85b479
GM
472013-10-30 Glenn Morris <rgm@gnu.org>
48
ca7dd4cd
GM
49 * Makefile.in (autoloads): Do not use abs_lisp.
50
4f85b479
GM
51 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
52 `newline' does not respect `standard-output', so use `princ'.
53
cf59e41c
AA
542013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
55
56 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
57 * buff-menu.el (Buffer-menu--unmark): New function.
58 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
59
74cf04fb
GM
602013-10-30 Glenn Morris <rgm@gnu.org>
61
b040b60e
GM
62 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
63
f53d3815
GM
64 * emacs-lisp/package.el (lm-homepage): Declare.
65
5413d873
GM
66 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
67 Fix doc typos.
68
cecedb36
GM
69 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
70
74cf04fb
GM
71 * Makefile.in (finder-data, autoloads, update-subdirs)
72 (compile-main, compile-clean, compile-always, bootstrap-clean):
73 Check return value of cd.
74 (compile-calc): Remove.
75
195ee2f0
SM
762013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
77
ae4002ce
SM
78 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
79
80 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
81 (byte-compile-and-folded): New function.
82 (=, <, >, <=, >=): Use it.
83
84 * dos-w32.el (minibuffer-history-case-insensitive-variables)
85 (path-separator, null-device, buffer-file-coding-system)
86 (lpr-headers-switches): Check system-type before modifying them.
87 (find-buffer-file-type-coding-system): Mark obsolete.
88 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
89 find-file-not-found-set-buffer-file-coding-system.
90 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
91 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
92 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
93 (w32-direct-print-region-helper, w32-direct-print-region-function)
94 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
95 * startup.el (normal-top-level-add-subdirs-to-load-path):
96 * ps-print.el (ps-print-region-function):
97 * lpr.el (print-region-function): Use new name.
98
53b39e89
SM
99 * subr.el (custom-declare-variable-early): Remove function.
100 (custom-declare-variable-list): Remove var.
101 (error, user-error): Remove `while' loop.
102 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
103 (user-emacs-directory-warning, locate-user-emacs-file):
104 Move to files.el.
105 * simple.el (read-quoted-char-radix, read-quoted-char):
106 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
107 Move from subr.el.
108 * custom.el (custom-declare-variable-list): Don't process
109 custom-declare-variable-list.
110
195ee2f0
SM
111 * progmodes/python.el (python-shell-get-buffer): New function.
112 (python-shell-get-process): Use it.
113 (python-shell-send-string): Always use utf-8 and add a cookie to tell
114 Python which encoding was used. Don't split-string since we only care
115 about the first line. Return the temp-file, if applicable.
116 (python-shell-send-region): Tell compile.el how to turn locations in
117 the temp-file into locations in the source buffer.
118
7e3561ee
SM
1192013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
120
4c9797cb
SM
121 * subr.el (undefined): Add missing behavior from the C code for
122 unbound keys.
123
3472b6c6
SM
124 * rect.el: Use lexical-binding. Add new rectangular region support.
125 (rectangle-mark): New command.
126 (rectangle--region): New var.
127 (deactivate-mark-hook): Reset rectangle--region.
128 (rectangle--extract-region, rectangle--insert-for-yank)
129 (rectangle--highlight-for-redisplay)
130 (rectangle--unhighlight-for-redisplay): New functions.
131 (region-extract-function, redisplay-unhighlight-region-function)
132 (redisplay-highlight-region-function): Use them to handle
133 rectangular region.
134 * simple.el (region-extract-function): New var.
135 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
136 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
137 (kill-region): Replace obsolete `yank-handler' arg with `region'.
138 (copy-region-as-kill, kill-ring-save): Add `region' argument.
139 (redisplay-unhighlight-region-function)
140 (redisplay-highlight-region-function): New vars.
141 (redisplay--update-region-highlight): New function.
142 (pre-redisplay-function): Use it.
143 (exchange-point-and-mark): Don't deactivate the mark before
144 reactivate-it anyway.
145 * comint.el (comint-kill-region): Remove yank-handler argument.
146 * delsel.el (delete-backward-char, backward-delete-char-untabify)
147 (delete-char): Remove property, since it's now part of their
148 default behavior.
149 (self-insert-iso): Remove property since this command doesn't exist.
150
7e3561ee
SM
151 * emacs-lisp/package.el (package--download-one-archive)
152 (describe-package-1): Don't query the user about final newline.
153
b9bef71f
DC
1542013-10-29 Daniel Colascione <dancol@dancol.org>
155
156 * net/tramp.el (tramp-methods): Document new functionality.
157 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
158 tramp-hostname-checker if method provides one instead of scanning
159 argument list for "%h" to decide hostname acceptability.
160
4efc33f0
MA
1612013-10-28 Michael Albinus <michael.albinus@gmx.de>
162
163 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
164 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
165 Handle COPY-CONTENTS. (Bug#15737)
166
ed42a877
DU
1672013-10-28 Daiki Ueno <ueno@gnu.org>
168
169 * epa-file.el
7e3561ee
SM
170 (epa-file-cache-passphrase-for-symmetric-encryption):
171 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 172
18c9f8a2
XF
1732013-10-27 Xue Fuqiao <xfq.free@gmail.com>
174
7a4bc7be
XF
175 * image.el (defimage):
176 (image-load-path): Doc fixes.
18c9f8a2 177
b1e8e010
AM
1782013-10-27 Alan Mackenzie <acm@muc.de>
179
180 Indent statements in macros following "##" correctly.
7e3561ee
SM
181 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
182 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 183
73d40d1e 1842013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
185
186 * linum.el (linum-update-window): Fix boundary test (bug#13446).
187
c8c605ac
DG
1882013-10-27 Dmitry Gutov <dgutov@yandex.ru>
189
190 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
191 after `=' is probably a new expression.
192
ca7e59d4
RS
1932013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
194
195 * man.el (man-imenu-title): New option.
196 (Man-mode-map): Add menu. (Bug#15722)
197 (Man-mode): Add imenu to menu.
198
bae91342
DG
1992013-10-26 Dmitry Gutov <dgutov@yandex.ru>
200
201 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
202 specific in what the first arg can be: a non-keyword word,
203 string/regexp/percent literal opener, opening paren, or unary
204 operator followed directly by word.
205
eb89dc14
SM
2062013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
209 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
210 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
211 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
212 Remove vars, they do not apply any more.
213 (prolog-mode-abbrev-table): Remove redundant declaration.
214 (prolog-upper-case-string, prolog-lower-case-string): Remove.
215 (prolog-use-smie): Remove.
216 (prolog-smie-rules): Add indentation rule for the if-then-else layout
217 supported by prolog-electric-if-then-else-flag.
218 (prolog-mode-variables, prolog-menu): Use setq-local.
219 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
220 Remove binding to `Backspace' since this key doesn't exist anyway.
221 Remove bindings for electric self-inserting keys.
222 (prog-mode): Assume it's defined.
223 (prolog-post-self-insert): New function.
224 (prolog-mode): Use it.
225 (prolog-indent-line, prolog-indent-level)
226 (prolog-find-indent-of-matching-paren)
227 (prolog-indentation-level-of-line, prolog-goto-comment-column)
228 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
229 (prolog-goto-next-paren, prolog-in-string-or-comment)
230 (prolog-tokenize, prolog-inside-mline-comment)
231 (prolog-find-start-of-mline-comment): Remove functions.
232 (prolog-find-unmatched-paren, prolog-clause-end)
233 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
234 (prolog-electric--if-then-else): Rename from
235 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
236 (prolog-tokenize-searchkey): Remove const.
237 (prolog-clause-info): Use forward-sexp.
238 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
239 (prolog-electric-if-then-else): Remove commands.
240 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
241 for use in post-self-insert-hook.
242 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
243 for use in post-self-insert-hook.
244 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
245 for use in post-self-insert-hook.
246 (prolog-electric--underscore): Rename from prolog-electric--underscore;
247 adapt it for use in post-self-insert-hook.
248
3dab0a83
MA
2492013-10-25 Michael Albinus <michael.albinus@gmx.de>
250
251 * emacs-lisp/ert.el (ert-run-tests-interactively):
252 Use `completing-read'. (Bug#9756)
253
fbfd0e1d
EZ
2542013-10-25 Eli Zaretskii <eliz@gnu.org>
255
256 * simple.el (line-move): Call line-move-1 instead of
257 line-move-visual when the current window hscroll is zero, but
258 temporary-goal-column indicates we will need to hscroll as result
259 of the movement. (Bug#15712)
260
963ce636
DG
2612013-10-25 Dmitry Gutov <dgutov@yandex.ru>
262
263 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
264 capitalization. Use :visible instead of :active.
265 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
266 commands that are used with SMIE.
267 (ruby-do-end-to-brace): Insert space after `{'.
268
a0be396a
JA
2692013-10-25 John Anthony <john@jo.hnanthony.com>
270
f73754c9
JA
271 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
272
273 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 274
f5bf77df
GM
2752013-10-25 Glenn Morris <rgm@gnu.org>
276
277 * vc/vc.el (vc-print-log): Don't use a working revision unless
278 one was explicitly specified. (Bug#15322)
279
37241f62
SM
2802013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * subr.el (add-to-list): Preserve return value in compiler-macro
283 (bug#15692).
284
6408a65d
RS
2852013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
286
287 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
288 result. Ask user to retry using '-all' flag. (Bug#15701)
289
71e3276b
SM
2902013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * emacs-lisp/smie.el: New smie-config system.
293 (smie-config): New defcustom.
294 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
295 (smie-config-guess, smie-config-save): New commands.
296 (smie-config--mode-local, smie-config--buffer-local)
297 (smie-config--trace, smie-config--modefuns): New vars.
298 (smie-config--advice, smie-config--mode-hook)
299 (smie-config--setter, smie-config-local, smie-config--get-trace)
300 (smie-config--guess-value, smie-config--guess): New functions.
301 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
302 text properties. Treat "string fence" syntax like string syntax.
303
304 * progmodes/sh-script.el (sh-use-smie): Change default.
305 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
306 (sh-var-value): Simplify by CSE.
307 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
308 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
309 is used.
310 (sh-guess-basic-offset): Use cl-incf.
311 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
312
60db713e
HE
3132013-10-24 Helmut Eller <eller.helmut@gmail.com>
314
315 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
316 (bug#15699).
317
8b251df6
GM
3182013-10-24 Glenn Morris <rgm@gnu.org>
319
320 * Makefile.in (abs_top_srcdir): Remove.
321 (update-subdirs): Use relative path to update-subdirs.
322
6be0e22b
EZ
3232013-10-24 Eli Zaretskii <eliz@gnu.org>
324
325 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
326 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
327 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
328 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 329
50b5b857
MA
3302013-10-24 Michael Albinus <michael.albinus@gmx.de>
331
332 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
333 (ert-test-skipped): New error.
334 (ert-skip, ert-stats-skipped): New defuns.
335 (ert--skip-unless): New macro.
336 (ert-test-skipped): New struct.
337 (ert--run-test-debugger, ert-test-result-type-p)
338 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
339 (ert--stats-set-test-and-result, ert-char-for-test-result)
340 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 341 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 342 Handle skipped tests. (Bug#9803)
50b5b857 343
6f317c2f
GM
3442013-10-24 Glenn Morris <rgm@gnu.org>
345
e43817c1
GM
346 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
347
6f317c2f
GM
348 * Makefile.in (abs_top_srcdir): New, set by configure.
349 (update-subdirs): Correct build-aux location.
350
369bbf71
DG
3512013-10-24 Dmitry Gutov <dgutov@yandex.ru>
352
8297b2cf
DG
353 * vc/vc.el (vc-print-root-log): Always set `default-directory'
354 value, whether we could auto-deduce `backend', or not.
355
369bbf71
DG
356 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
357 with parameters" example. Simplify the "is it block or is it
358 hash" check, but also make it more thorough.
359
d5f1282f
MF
3602013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
361
362 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
363
bc4aaa31
SM
3642013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
365
03d44565
SM
366 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
367 { if it is hanging.
368
bc4aaa31
SM
369 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
370 :before ";".
371
f493ff19
JB
3722013-10-23 Jed Brown <jed@59A2.org> (tiny change)
373
374 * progmodes/compile.el (compilation-directory-matcher)
375 (compilation-page-delimiter):
376 Support GNU Make-4.0 directory quoting. (Bug#15678)
377
c744a3b9
LL
3782013-10-23 Leo Liu <sdl.web@gmail.com>
379
380 * ido.el (ido-tidy): Handle read-only text.
381
b8e3b0a9
GM
3822013-10-23 Glenn Morris <rgm@gnu.org>
383
384 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
385 (emacs, compile, compile-always):
386 Quote entities that might contain whitespace.
387 (custom-deps, finder-data, autoloads): Use abs_lisp.
388 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
389 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
390 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
391
ee4282cd
DG
3922013-10-23 Dmitry Gutov <dgutov@yandex.ru>
393
bc4aaa31
SM
394 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
395 Use `following-char'.
7790a270 396
ee4282cd 3972013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
398
399 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
400 * progmodes/ruby-mode.el (ruby-smie-rules):
401 Remove corresponding workaround. Fix indentation rule of ";" so it
402 also applies when ";" is the parent.
403
d40a46d7
XF
4042013-10-22 Xue Fuqiao <xfq.free@gmail.com>
405
406 * frame.el (display-screens, display-pixel-height)
407 (display-pixel-width, display-mm-width, display-backing-store)
408 (display-save-under, display-planes, display-color-cells)
7790a270
SM
409 (display-visual-class, display-monitor-attributes-list):
410 Mention the optional ‘display’ argument in doc strings.
d40a46d7 411
a0f143c9
MG
4122013-10-22 Michael Gauland <mikelygee@amuri.net>
413
414 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
415 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
416
18cacc39
DG
4172013-10-21 Dmitry Gutov <dgutov@yandex.ru>
418
419 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
420 TODO. Add "." after " @ ".
421 (ruby-smie--at-dot-call): New function. Checks if point at method
422 call with explicit target.
423 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
424 to the method name tokens when it precedes them.
425 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
426 (ruby-smie-rules): Add rule for indentation before and after "."
427 token.
428
df74c4be
SM
4292013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
430
c6dab55f
SM
431 * textmodes/remember.el (remember-diary-extract-entries):
432 Avoid add-to-list.
433
df74c4be
SM
434 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
435 an instruction.
436
8c1ae481
DG
4372013-10-21 Dmitry Gutov <dgutov@yandex.ru>
438
cfef16c0
DG
439 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
440 (ruby-smie--implicit-semi-p): Add new operator chars.
441
8c1ae481
DG
442 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
443 `smie-down-list'.
444 (ruby-smie--args-separator-p): Check that there's no newline
445 between method call and its arguments.
446
87756ca9
AM
4472013-10-20 Alan Mackenzie <acm@muc.de>
448
449 Allow comma separated lists after Java "implements".
450
df74c4be
SM
451 * progmodes/cc-engine.el (c-backward-over-enum-header):
452 Parse commas.
87756ca9
AM
453 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
454 from a "disallowed" list in enum fontification.
455
c25f8957
JB
4562013-10-20 Johan Bockgård <bojohan@gnu.org>
457
df74c4be 458 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 459
c25f8957
JB
460 * progmodes/verilog-mode.el (verilog-mode): Don't set
461 comment-indent-function globally.
462
aca5fcdc
JD
4632013-10-20 Jan Djärv <jan.h.d@swipnet.se>
464
5f161884
JD
465 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
466 Move Info menu item creation to ns-win.el.
467
468 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
469 in menu bar.
470
aca5fcdc
JD
471 * menu-bar.el: Move GNUStep specific menus...
472
473 * term/ns-win.el (ns-initialize-window-system): ... to here.
474
914b7f98
SM
4752013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * simple.el (newline): Only run post-self-insert-hook when
478 called interactively.
479
846ffe77
JB
4802013-10-19 Johan Bockgård <bojohan@gnu.org>
481
482 * icomplete.el (icomplete-with-completion-tables): Add :version.
483
033f22dd
AM
4842013-10-19 Alan Mackenzie <acm@muc.de>
485
486 Fix fontification bugs with constructors and const.
487
488 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
489 CASE 2) Remove the check for the absence of a suffix construct
490 after a function declaration with only types (no identifiers) in
491 the parentheses. Also, accept a function declaration with just a
492 type inside the parentheses, if this type can be positively
493 recognised as such, or if a prefix keyword like "explicit" nails
494 down the construct as a declaration.
495
58ce0cfc
EZ
4962013-10-19 Eli Zaretskii <eliz@gnu.org>
497
498 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
499 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
500 the problem whereby selecting a menu item that leads to a
501 minibuffer prompt moves the cursor out of the minibuffer window,
502 making it hard to type at the prompt. Suggested by Stefan Monnier
503 <monnier@iro.umontreal.ca>.
504
50e28e7d
JD
5052013-10-19 Jan Djärv <jan.h.d@swipnet.se>
506
507 * menu-bar.el: Don't make Services menu.
508
7deed4bf
RS
5092013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
510
511 * ffap.el: Handle "/usr/include/c++/<version>" directories.
512 (ffap-alist): Use ffap-c++-mode for c++-mode.
513 (ffap-c++-path): New variable.
514 (ffap-c++-mode): New function.
515
7bcb455b
JVJ
5162013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
517
518 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
519
f0ff1cd5
MA
5202013-10-18 Michael Albinus <michael.albinus@gmx.de>
521
522 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
523 introduced on 2013-09-08, which results in an infinite loop
524 requesting a password.
525
d64da4b7
GM
5262013-10-18 Glenn Morris <rgm@gnu.org>
527
528 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
529
ea89ff08
WS
5302013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
531
532 Sync with upstream verilog-mode revision 1a6ecec7.
533 * progmodes/verilog-mode.el (verilog-mode-version): Update.
534 (verilog-mode-release-date): Remove.
535 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
536 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
537 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
538 (verilog-auto-tieoff-ignore-regexp)
539 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
540 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
541 (verilog-signals-with, verilog-dir-cache-preserving)
542 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
543 Doc fixes.
544 (verilog-case-fold): New option, to control case folding in
545 regexp searches, bug597.
546 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
547 (verilog-string-match-fold, verilog-in-paren-count)
548 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
549 (verilog-at-close-struct-p): New functions.
550 (verilog-beg-block-re-ordered, verilog-extended-case-re)
551 (verilog-forward-sexp, verilog-set-auto-endcomments):
552 (verilog-leap-to-case-head): Handle "unique0" case.
553 (verilog-in-constraint-re): New constant.
554 (verilog-keywords, verilog-type-font-keywords):
555 Add some SystemVerilog 1800-2012 keywords.
556 (verilog-label-be): Remove unimplemented argument, bug669.
557 (verilog-batch-execute-func): When batch expanding clear
558 create-lockfiles to prevent spurious user locks when a file ends
559 up not changing.
560 (verilog-calculate-indent, verilog-calc-1)
561 (verilog-at-close-constraint-p, verilog-at-constraint-p)
562 (verilog-do-indent): Fix indentation of nested constraints
563 and structures.
564 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
565 (verilog-auto-inst-param): Use verilog-string-match-fold.
566 (verilog-read-inst-module-matcher):
567 Fix AUTOINST on gate primitives with #1.
568 (verilog-read-decls): Fix double-declaring user-defined typed signals.
569 Reads all user-defined typed variables.
570 (verilog-read-defines): Fix reading definitions inside comments, bug647.
571 (verilog-signals-matching-regexp)
572 (verilog-signals-not-matching-regexp, verilog-auto):
573 Respect verilog-case-fold.
574 (verilog-diff-report): Fix line count.
575 (verilog-auto-assign-modport): Remove unused local `modi'.
576 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
577 better handle multidimensional arrays.
578 Fix packed array ports misadding bit index in AUTOINST, bug637.
579 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
580 to not double-declare existing outputs and inputs, respectively.
581 (verilog-template-map): Bind U to verilog-sk-uvm-component.
582 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
583 (verilog-sk-uvm-component): New skeleton.
584 (verilog-submit-bug-report): Add verilog-case-fold,
585 remove verilog-mode-release-date.
586
ef566920
BR
5872013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
588
589 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
590 as before.
591
29df8a0b
RT
5922013-10-18 Reuben Thomas <rrt@sc3d.org>
593
594 * textmodes/remember.el (remember): set buffer-offer-save in
595 remember buffers (bug#13566).
596
04a19a79
DC
5972013-10-18 Daniel Colascione <dancol@dancol.org>
598
599 When evaluating forms in ielm, direct standard output to ielm
600 buffer. Add new ielm-return-for-effect command. Remove trailing
601 whitespace throughout.
602
603 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
604 (ielm-return-for-effect): New command.
605 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
606 (ielm-eval-input): Accept optional `for-effect' parameter.
607 Bind `standard-output' to stream we create using
04a19a79
DC
608 `ielm-standard-output-impl'. Suppress printing result when
609 `for-effect'.
610 (ielm-standard-output-impl): New function.
611 (inferior-emacs-lisp-mode): Explain new features in documentation.
612
4c1f03ef
MA
6132013-10-17 Michael Albinus <michael.albinus@gmx.de>
614
615 Code cleanup.
616
617 * net/tramp.el (tramp-debug-message): Do not check for connection
618 buffer.
619 (tramp-message): Use "vector" connection property.
620
621 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
622 (tramp-equal-remote, tramp-eshell-directory-change)
623 * net/tramp-adb.el (tramp-adb-handle-copy-file)
624 (tramp-adb-handle-rename-file)
625 * net/tramp-cmds.el (tramp-list-remote-buffers)
626 (tramp-cleanup-connection, tramp-cleanup-this-connection)
627 * net/tramp-compat.el (tramp-compat-process-running-p)
628 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
629 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
630 (tramp-gvfs-handle-rename-file)
631 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
632 (tramp-set-file-uid-gid)
633 * net/tramp-smb.el (tramp-smb-handle-copy-file)
634 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
635 of `file-remote-p'.
636
637 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
638 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
639 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
640 (tramp-gw-open-network-stream): Suppress unrelated traces.
641
642 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
643 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
644 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
645 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
646 connection property.
647
648 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 649 persistency file.
4c1f03ef
MA
650
651 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
652 Refactor common code. Improve debug message.
653 (tramp-maybe-open-connection)
654 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
655 connection buffer too early.
656
657 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
658 from `tramp-smb-actions-with-acl'.
659 (tramp-smb-actions-set-acl): New defconst.
660 (tramp-smb-handle-copy-directory)
661 (tramp-smb-action-get-acl): New defun, renamed from
662 `tramp-smb-action-with-acl'.
663 (tramp-smb-action-set-acl): New defun.
664 (tramp-smb-handle-set-file-acl): Rewrite.
665
642eb8b6
GM
6662013-10-17 Glenn Morris <rgm@gnu.org>
667
668 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
669
85527ff3
SM
6702013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
671
921c1d62
SM
672 * skeleton.el (skeleton-newline): Remove.
673 (skeleton-internal-1): Use (insert "\n") instead.
674
e333fb10
SM
675 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
676 let-bindings.
677
85527ff3
SM
678 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
679 forward-sexp-function while we redo its job (bug#15613).
680
c8722a97
JB
6812013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
682
683 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
684 represented by lists.
685
7a550bbb
GM
6862013-10-16 Glenn Morris <rgm@gnu.org>
687
688 * tmm.el (tmm--history): New dynamic variable.
689 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
690
f19da8ad
MA
6912013-10-16 Michael Albinus <michael.albinus@gmx.de>
692
693 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
694 (tramp-smb-errors): Add error messages.
695 (tramp-smb-actions-with-acl): New defconst.
696 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
697 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
698 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
699 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
700 (tramp-smb-get-stat-capability): Fix tests.
701
a24b9961
DK
7022013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
703
704 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
705 (bug#15580).
706
62ad85e6
GM
7072013-10-16 Glenn Morris <rgm@gnu.org>
708
0283d6b0
GM
709 * ansi-color.el (ansi-color-drop-regexp):
710 Add 1J, 1K, 2K. (Bug#15617)
711
012e2f9f
GM
712 * files.el (hack-local-variables--warned-lexical): New.
713 (hack-local-variables):
714 Warn about misplaced lexical-binding. (Bug#15616)
715
62ad85e6
GM
716 * net/eww.el (eww-render): Always set eww-current-url,
717 and update header line. (Bug#15622)
718 (eww-display-html): ... Rather than just doing it here.
719
6456c0ea
EZ
7202013-10-15 Eli Zaretskii <eliz@gnu.org>
721
722 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
723 menu navigations commands.
724
c2de5588
DK
7252013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
726
727 * progmodes/subword.el (subword-capitalize): Be careful when
728 the search for [[:alpha:]] fails (bug#15580).
729
ccd4a783
EZ
7302013-10-14 Eli Zaretskii <eliz@gnu.org>
731
732 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
733 to commands that scroll the menu.
734
1eda1d8d
DG
7352013-10-14 Dmitry Gutov <dgutov@yandex.ru>
736
c2de5588
DK
737 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
738 Handle methods ending with `?' and `!'.
1eda1d8d 739
e70181b8
AM
7402013-10-14 Akinori MUSHA <knu@iDaemons.org>
741
742 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
743 `japanese-cp932' to `cp932' to fix the problem where saving a
744 source file written in Shift_JIS twice would end up having
745 `coding: japanese-cp932' which Ruby could not recognize.
746 (ruby-mode-set-encoding): Add support for encodings mapped to nil
747 in `ruby-encoding-map'.
748 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
749 doesn't need to be explicitly declared in magic comment.
750 (ruby-encoding-map): Add type declaration for better customize UI.
751
9148ee92
GM
7522013-10-13 Glenn Morris <rgm@gnu.org>
753
a5d38e34
GM
754 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
755 Occur buffers are read-only. http://bugs.debian.org/720775
756
9148ee92
GM
757 * emacs-lisp/authors.el (authors-fixed-entries):
758 Comment out old alpha stuff.
759
a9ba094b
DG
7602013-10-13 Dmitry Gutov <dgutov@yandex.ru>
761
762 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
763 to `after-save-hook' instead of `before-save-hook'.
764 (ruby-mode-set-encoding): Use the value of coding system used to
765 write the file. Call `basic-save-buffer-1' after modifying the
766 buffer.
767
7a068717
AM
7682013-10-13 Alan Mackenzie <acm@muc.de>
769
770 Fix indentation/fontification of Java enum with
771 "implements"/generic.
772
c2de5588
DK
773 * progmodes/cc-engine.el (c-backward-over-enum-header):
774 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
775 (c-inside-bracelist-p): Uses new function above.
776 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
777 function above.
778 (c-font-lock-enum-tail): Uses new function above.
779
85b64f02
KH
7802013-10-13 Kenichi Handa <handa@gnu.org>
781
782 * international/mule-cmds.el (select-safe-coding-system): Remove a
783 superfluous condition in chekcing whether a coding system is safe
784 or not.
785
fc7f501b
OK
7862013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
787
788 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
789
fdcb2049
AP
7902013-10-13 Andreas Politz <politza@hochschule-trier.de>
791
792 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
793
8c106d17
GM
7942013-10-13 Glenn Morris <rgm@gnu.org>
795
feab892d
GM
796 * menu-bar.el (menu-bar-update-buffers):
797 Unify Buffers menu prompt string. (Bug#15576)
798
b22d0686
GM
799 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
800
8c106d17
GM
801 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
802 Add some entries.
803 (authors-fixed-entries): Use accented form of name.
804
1b12c797
SM
8052013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
806
650fa7bf 807 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 808 method calls (bug#15594).
650fa7bf
SM
809 (ruby-smie--args-separator-p): New function.
810 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
811 recognize paren-free method calls.
812
1b12c797
SM
813 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
814 internals of universal-argument.
815
029619c8
EZ
8162013-10-11 Eli Zaretskii <eliz@gnu.org>
817
818 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
819 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
820 dropped menu on second mouse click on the menu bar.
029619c8 821
dd070019
SM
8222013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
825 (explicit-shell-file-name): Declare.
826 (sh--vars-before-point, sh--cmd-completion-table): New functions.
827 (sh-completion-at-point-function): New function.
828 (sh-mode): Use it.
829 (sh-smie--keyword-p): Remove unused argument.
830 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
831 vars.
832 (sh-set-shell): Always setup SMIE, even if we use the
833 old indentation code.
834
0922b826
DG
8352013-10-11 Dmitry Gutov <dgutov@yandex.ru>
836
b68e2926
DG
837 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
838 cases of ? and =.
839 (ruby-smie-rules): Simplify the "do" rule. The cases when the
840 predicate would return nil are almost non-existent.
841 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
842
0922b826
DG
843 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
844 cache also after commands that modify the buffer but don't move
845 point.
846
ee041f2d
SM
8472013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * env.el (substitute-env-in-file-name): New function.
850 (substitute-env-vars): Extend the meaning of the optional arg.
851
a5dab159
EZ
8522013-10-10 Eli Zaretskii <eliz@gnu.org>
853
854 * term/w32-win.el (dynamic-library-alist): Define separate lists
855 of GIF DLLs for versions before and after 5.0.0 of giflib.
856 (Bug#15531)
857
db138698
JT
8582013-10-10 João Távora <joaotavora@gmail.com>
859
860 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
861 not locked, use last revision and current source as
862 defaults. (Bug#15569)
863
2f6e161e
MY
8642013-10-10 Masatake YAMATO <yamato@redhat.com>
865
866 * menu-bar.el (menu-bar-open): Don't use popup-menu if
867 menu-bar is hidden.
868
6c8413fc
MR
8692013-10-10 Martin Rudalics <rudalics@gmx.at>
870
871 * window.el (pop-to-buffer-same-window): Fix doc-string.
872 (Bug#15492)
873
20832de0
SM
8742013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
877
c6e8ae77
AC
8782013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
879
880 * calendar/icalendar.el (icalendar-import-file):
881 Fix interactive spec. (Bug#15482)
882
9db13baf
GM
8832013-10-10 Glenn Morris <rgm@gnu.org>
884
9271e90e
GM
885 * desktop.el (desktop-save): Default to saving in .emacs.d,
886 since PWD is no longer in desktop-path by default. (Bug#15319)
887
9db13baf
GM
888 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
889 now that text mode has a menu with the same entry.
890 (menu-bar-text-mode-auto-fill): Remove now unused func.
891 * textmodes/text-mode.el (text-mode-map):
892 Use auto-fill help text from menu-bar.el.
893
a0be396a 8942013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
895
896 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
897
2edcd3c7
JL
8982013-10-09 Juri Linkov <juri@jurta.org>
899
900 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
901 instead of this-command-keys. Add universal-argument-more and
902 universal-argument-minus to the list of prefix commands. (Bug#15568)
903
574411d0
GM
9042013-10-09 Glenn Morris <rgm@gnu.org>
905
14afa541
GM
906 * vc/vc-svn.el (vc-svn-create-repo):
907 Expand paths in file://... url. (Bug#15446)
908
574411d0
GM
909 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
910 Add some entries.
911 (authors): Remove unused local variables.
912
79804536
SM
9132013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * profiler.el: Create a more coherent calltree from partial backtraces.
916 (profiler-format): Hide the tail with `invisible' so that C-s can still
917 find the hidden elements.
918 (profiler-calltree-depth): Don't recurse so enthusiastically.
919 (profiler-function-equal): New hash-table-test.
920 (profiler-calltree-build-unified): New function.
921 (profiler-calltree-build): Use it.
922 (profiler-report-make-name-part): Indent the calltree less.
923 (profiler-report-mode): Add visibility specs for profiler-format.
924 (profiler-report-expand-entry, profiler-report-toggle-entry):
925 Expand the whole subtree when provided with a prefix arg.
926
238150c8
DG
9272013-10-09 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
930 iuwu-mod token.
931 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
932 hanging iuwu-mod token.
933 (ruby-smie--forward-token): Do not include a dot after a token in
934 that token.
935 (ruby-smie--backward-token): Likewise.
936
b0949cc4
JL
9372013-10-08 Juri Linkov <juri@jurta.org>
938
939 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
940 to isearch-other-control-char.
941 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
942 and isearch-post-command-hook to post-command-hook.
943 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
944 and isearch-post-command-hook from post-command-hook.
945 (isearch-unread-key-sequence)
946 (isearch-reread-key-sequence-naturally)
947 (isearch-lookup-scroll-key, isearch-other-control-char)
948 (isearch-other-meta-char): Remove functions.
949 (isearch-pre-command-hook, isearch-post-command-hook):
950 New functions based on isearch-other-meta-char rewritten
951 relying on the new behavior of overriding-terminal-local-map
952 that does not replace the local keymaps any more. (Bug#15200)
953
4ed77415
EZ
9542013-10-08 Eli Zaretskii <eliz@gnu.org>
955
956 Support menus on text-mode terminals.
957 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
958 functionality.
959
960 * tooltip.el (tooltip-mode): Don't error out on TTYs.
961
c2de5588
DK
962 * menu-bar.el (popup-menu, popup-menu-normalize-position):
963 Move here from mouse.el.
4ed77415
EZ
964 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
965 and arrow keys.
966 (tty-menu-navigation-map): New map for TTY menu navigation.
967
968 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
969
970 * frame.el (display-mouse-p): Report text-mode mouse as available
971 on w32.
972 (display-popup-menus-p): Report availability if mouse is
973 available; don't condition on window-system.
974
975 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
976 (tty-menu-selected-face): New faces.
977
b7d5bd82
TL
9782013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
979
06286513
SM
980 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
981 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
982 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
983 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
984 New constants.
985 (lisp-mode-variables): New `elisp' argument.
986 (emacs-lisp-mode): Use it.
987 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
988 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
989
b7d5bd82
TL
990 * indent.el: Use lexical-binding.
991 (indent-region): Add progress reporter.
992 (tab-stop-list): Make it implicitly extend to infinity by repeating the
993 last step.
994 (indent--next-tab-stop): New function to implement this behavior.
995 (tab-to-tab-stop, move-to-tab-stop): Use it.
996
9972013-10-08 Teemu Likonen <tlikonen@iki.fi>
998
999 * indent.el (indent-rigidly--current-indentation): New function.
1000 (indent-rigidly-map): New var.
1001 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1002
5ea75d23
BG
10032013-10-08 Bastien Guerry <bzg@gnu.org>
1004
1005 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1006
cc5da1ec
SM
10072013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1008
8ffa1a0b
SM
1009 * progmodes/perl-mode.el: Use lexical-binding.
1010 Remove redundant :group args.
1011 (perl-nochange): Change default to be closer to other major modes's
1012 standard behavior.
1013 (perl-indent-line): Don't consider text on current line as a
1014 valid beginning of function from which to indent.
1015
f2223371
SM
1016 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1017 with more than one argument (bug#15538).
1018
44256060
SM
1019 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1020
cc5da1ec
SM
1021 * vc/pcvs.el: Use lexical-binding.
1022 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1023 environment of `eval'.
1024 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1025 than a list of expressions. Adjust callers.
1026 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1027
0ea1599d
DG
10282013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1029
1030 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1031 case of the dot in a chained method call being on the following line.
0ea1599d 1032
da3e5ebb
SM
10332013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1034
2abb4e65
SM
1035 * electric.el (electric-indent-inhibit): New var.
1036 (electric-indent-post-self-insert-function): Use it.
1037 * progmodes/python.el (python-mode): Set it.
1038
d2e0e795
SM
1039 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1040 open braces.
1041
1042 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1043
bdc6b4c8
SM
1044 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1045 (css-mode): Use electric-indent-chars.
1046
da3e5ebb
SM
1047 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1048 (font-lock-beg, font-lock-end): Move before first use.
1049 (nxml-mode): Use syntax-propertize-function.
1050 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1051 (nxml-extend-after-change-region): Remove.
1052 * nxml/xmltok.el: Use lexical-binding.
1053 (xmltok-save): Use `declare'.
1054 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1055 * nxml/nxml-util.el: Use lexical-binding.
1056 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1057 Use `declare'.
1058 * nxml/nxml-ns.el: Use lexical-binding.
1059 (nxml-ns-save): Use `declare'.
1060 (nxml-ns-prefixes-for): Avoid add-to-list.
1061 * nxml/rng-match.el: Use lexical-binding.
1062 (rng--ipattern): Use cl-defstruct.
1063 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1064 (rng-cons-group-after, rng-subst-group-after)
1065 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1066 Use closures instead of `(lambda...).
1067
f8f91d5d
MA
10682013-10-07 Michael Albinus <michael.albinus@gmx.de>
1069
1070 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1071 of BEG and END.
1072
da3e5ebb
SM
1073 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1074 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1075 (tramp-gvfs-handle-insert-file-contents): Remove function.
1076
da3e5ebb
SM
1077 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1078 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1079
1080 * net/trampver.el: Update release number.
1081
7ccae3b1
SM
10822013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1083
55ca2c0d
SM
1084 * progmodes/compile.el (compilation-parse-errors):
1085 Use compilation--put-prop.
1086 (compilation--ensure-parse): Check compilation-multiline.
1087
731fc3ae
SM
1088 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1089
da3e5ebb
SM
1090 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1091 lexical-binding.
a5833280 1092
2e7ba2c2
SM
1093 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1094
7ccae3b1
SM
1095 * progmodes/ruby-mode.el: Fix recently added tests.
1096 (ruby-smie-grammar): Add - and +.
1097 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1098 (ruby-smie--backward-id): New functions.
1099 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1100 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1101 any more.
1102
85698d63
LL
11032013-10-07 Leo Liu <sdl.web@gmail.com>
1104
1105 * register.el (register-preview-delay)
1106 (register-preview-functions): New variables.
1107 (register-read-with-preview, register-preview)
1108 (register-describe-oneline): New functions.
1109 (point-to-register, window-configuration-to-register)
1110 (frame-configuration-to-register, jump-to-register)
1111 (number-to-register, view-register, insert-register)
1112 (copy-to-register, append-to-register, prepend-to-register)
1113 (copy-rectangle-to-register): Use register-read-with-preview to
1114 read register. (Bug#15525)
1115
3986af6c
DS
11162013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1117
1118 * net/network-stream.el (network-stream-open-starttls): Don't add
1119 --insecure if it's already present, because that gnutls-cli
1120 rejects getting that parameter twice.
1121
5cd9cda9
DG
11222013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1123
1124 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1125 keyword, too.
1126
da9ea6d9
DG
11272013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1128
1129 * newcomment.el (comment-use-global-state): Change default value
1130 to t, mark obsolete (Bug#15251).
1131 (comment-beginning): In addition to `comment-to-syntax', check the
1132 value of `comment-use-global-state'.
1133
34d1a133
SM
11342013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1137 (ruby-comment-column): Follow the global default, by default.
1138 (ruby-smie-grammar): Add assignment syntax.
1139 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1140 open-paren, a comma, or a \.
1141 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1142 and line continuations.
1143 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1144 followed by implicit semi-colons. Add rule for string concatenation
1145 and for indentation at BOB.
1146 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1147
1148 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1149 calling next-sexp, since next-token may have skipped chars which
1150 next-sexp doesn't know should be skipped!
1151
6f6ab820
LL
11522013-10-05 Leo Liu <sdl.web@gmail.com>
1153
34d1a133
SM
1154 * progmodes/octave.el (octave-send-region):
1155 Call compilation-forget-errors.
6f6ab820 1156
34ca0f4c
XF
11572013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1158
1159 * vc/vc-svn.el (vc-svn-find-admin-dir):
1160 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1161 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1162 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1163 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1164
a27c1b72
SM
11652013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1168
258ab3bc
SM
11692013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1170
1171 * subr.el (read-passwd): Hide chars even when called within a context
1172 where after-change-functions is disabled (bug#15501).
1173 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1174 until we removed ourself from overriding-terminal-local-map.
1175
939fb29c
LL
11762013-10-04 Leo Liu <sdl.web@gmail.com>
1177
258ab3bc
SM
1178 * progmodes/octave.el (inferior-octave-mode):
1179 Call compilation-forget-errors.
939fb29c 1180
63bd7f35
XF
11812013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1182
1183 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1184
9e6229fa
MA
11852013-10-04 Michael Albinus <michael.albinus@gmx.de>
1186
1187 * net/secrets.el (secrets-create-collection): Add optional
1188 argument ALIAS. Use proper Label keyword. Append ALIAS as
1189 dbus-call-method argument. (Bug#15516)
1190
1dab32a3
LL
11912013-10-04 Leo Liu <sdl.web@gmail.com>
1192
1193 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1194 (inferior-octave-compilation-font-lock-keywords): New variables.
1195 (compilation-error-regexp-alist)
1196 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1197 (inferior-octave-mode): Use compilation-shell-minor-mode.
1198
6cad7ba3
JS
11992013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1200
1201 * minibuffer.el (completion--replace): Be careful that `end' might be
1202 a marker.
1203
acbadd00
DU
12042013-10-03 Daiki Ueno <ueno@gnu.org>
1205
1206 Add support for package signature checking.
1207 * emacs-lisp/package.el (url-http-file-exists-p)
1208 (epg-make-context, epg-context-set-home-directory)
1209 (epg-verify-string, epg-context-result-for)
1210 (epg-signature-status, epg-signature-to-string)
1211 (epg-check-configuration, epg-configuration)
1212 (epg-import-keys-from-file): Declare.
1213 (package-check-signature): New user option.
1214 (package-unsigned-archives): New user option.
1215 (package-desc): Add `signed' field.
1216 (package-load-descriptor): Set `signed' field if .signed file exists.
1217 (package--archive-file-exists-p): New function.
1218 (package--check-signature): New function.
1219 (package-install-from-archive): Check package signature.
1220 (package--download-one-archive): Check archive signature.
1221 (package-delete): Remove .signed file.
1222 (package-import-keyring): New command.
1223 (package-refresh-contents): Import default keyring.
1224 (package-desc-status): Add "unsigned" status.
1225 (describe-package-1, package-menu--print-info)
1226 (package-menu-mark-delete, package-menu--find-upgrades)
1227 (package-menu--status-predicate): Support "unsigned" status.
1228
adf2aa61
SM
12292013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1232 the new compilation scheme using the new byte-codes.
1233
1234 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1235 (byte-pophandler): New byte codes.
1236 (byte-goto-ops): Adjust accordingly.
1237 (byte-compile--use-old-handlers): New var.
1238 (byte-compile-catch): Use new byte codes depending on
1239 byte-compile--use-old-handlers.
1240 (byte-compile-condition-case--old): Rename from
1241 byte-compile-condition-case.
1242 (byte-compile-condition-case--new): New function.
1243 (byte-compile-condition-case): New function that dispatches depending
1244 on byte-compile--use-old-handlers.
1245 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1246 when we can.
1247
1248 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1249 Optimize under `condition-case' and `catch' if
1250 byte-compile--use-old-handlers is nil.
1251 (disassemble-offset): Handle new bytecodes.
1252
328a8179
SM
12532013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * subr.el (error): Use `declare'.
1256 (decode-char, encode-char): Use advertised-calling-convention instead
1257 of the docstring to discourage use of the `restriction' arg.
1258
15a1e936
DU
12592013-10-03 Daiki Ueno <ueno@gnu.org>
1260
1261 * epg.el (epg-verify-file): Add a comment saying that it does not
1262 notify verification error as a return value nor a signal.
1263 (epg-verify-string): Ditto.
1264
376f862a
KR
12652013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1266
1267 * progmodes/compile.el (compilation-start): Try globbing the arg to
1268 `cd' (bug#15417).
1269
a2f93a5f
MA
12702013-10-02 Michael Albinus <michael.albinus@gmx.de>
1271
1272 Sync with Tramp 2.2.8.
1273
1274 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1275 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1276 * net/trampver.el: Update release number.
1277
0daa0804
JD
12782013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1279
1280 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1281 and default-process-coding-system for darwin only.
1282
abd1ae34
SM
12832013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1286
be4e325d
MH
12872013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1288
1289 * vc/vc-git.el (vc-git-grep): Disable pager.
1290
e9155c4a
DG
12912013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1292
494e898b
DG
1293 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1294 Use :url instead of :homepage, as per
1295 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1296
e9155c4a
DG
1297 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1298 non-nil, use `syntax-ppss' (Bug#15251).
1299
481a8e0f
RS
13002013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1301
be4e325d
MH
1302 * progmodes/octave.el (inferior-octave-startup-file):
1303 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1304
056453c6
DG
13052013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1306
be4e325d
MH
1307 * emacs-lisp/package.el (package-desc-from-define):
1308 Accept additional arguments as plist, convert them to an alist and store
1309 them in the `extras' slot.
056453c6
DG
1310 (package-generate-description-file): Convert extras alist back to
1311 plist and append to the `define-package' form arguments.
1312 (package--alist-to-plist): New function.
1313 (package--ac-desc): Add `extras' slot.
1314 (package--add-to-archive-contents): Check if the archive-contents
1315 vector is long enough, and if it is, pass its `extras' slot value
1316 to `package-desc-create'.
1317 (package-buffer-info): Call `lm-homepage', pass the returned value
1318 to `package-desc-from-define'.
1319 (describe-package-1): Render the homepage button (Bug#13291).
1320
be4e325d
MH
1321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1322 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1323
832966e5
JD
13242013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1325
1326 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1327 and default-process-coding-system to utf-8-unix (Bug#15402).
1328
6cfe977d
XF
13292013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1330
1331 * subr.el (looking-back): Do not recommend using looking-back.
1332
38de11bd
AM
13332013-09-28 Alan Mackenzie <acm@muc.de>
1334
1335 Fix indentation/fontification of Java enum with "implements".
1336
1337 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1338 regexp which matches "implements", etc., in Java.
1339 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1340 specifier clauses coming after "enum".
1341 * progmodes/cc-fonts.el (c-font-lock-declarations)
1342 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1343 after "enum".
1344
1610938f
JD
13452013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1346
1347 * faces.el (region): Change ns_selection_color to
1348 ns_selection_fg_color, add ns_selection_bg_color.
1349
e090f499
LL
13502013-09-28 Leo Liu <sdl.web@gmail.com>
1351
4d2e94d1
LL
1352 * progmodes/octave.el (inferior-octave-completion-table)
1353 (inferior-octave-completion-at-point): Minor tweaks.
1354
e090f499
LL
1355 * textmodes/ispell.el (ispell-lookup-words): Rename from
1356 lookup-words. (Bug#15460)
1357 (lookup-words): Obsolete.
1358 (ispell-complete-word, ispell-command-loop): All uses changed.
1359
7e138a62
RS
13602013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1361
1362 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1363 (octave-mode-menu): Add octave-send-buffer.
1364 (octave-send-buffer): New function.
1365
5af5ed08
RS
13662013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1367
1368 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1369 octave-lookfor.
1370 (octave-mode-menu): Add octave-lookfor.
1371 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1372 octave-lookfor.
1373 (octave-lookfor): New function.
1374
3b7b2692
SM
13752013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * emacs-lisp/cl-macs.el:
1378 (cl--loop-destr-temps): Remove.
1379 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1380 its convention.
1381 (cl--loop-set-iterator-function): New function.
1382 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1383 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1384 Bind `it' with `let' instead of substituting it with `cl-subst'.
1385 (cl--unused-var-p): New function.
1386 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1387 Eliminate some unused variable warnings (bug#15326).
1388
529fb53f
TH
13892013-09-27 Tassilo Horn <tsdh@gnu.org>
1390
1391 * doc-view.el (doc-view-scale-reset): Rename from
1392 `doc-view-reset-zoom-level'.
1393 (doc-view-scale-adjust): New command.
1394 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1395 `doc-view-scale-adjust'.
1396
0550c95a
TH
13972013-09-26 Tassilo Horn <tsdh@gnu.org>
1398
1399 * doc-view.el (doc-view-reset-zoom-level): New command.
1400 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1401 zoom commands (bug#15466).
1402
6950f152
KH
14032013-09-26 Kenichi Handa <handa@gnu.org>
1404
1405 * international/quail.el (quail-help): Make it not a command.
1406
39587580
LL
14072013-09-26 Leo Liu <sdl.web@gmail.com>
1408
1409 * minibuffer.el (completion-all-sorted-completions): Make args
1410 optional as they are.
1411
00578659
DC
14122013-09-25 Daniel Colascione <dancol@dancol.org>
1413
1414 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1415 specs are and that they're not evaluated.
1416
0c173878
SS
14172013-09-24 Sam Steingold <sds@gnu.org>
1418
1419 * midnight.el (clean-buffer-list-kill-regexps)
1420 (clean-buffer-list-kill-buffer-names): Update for the new Man
1421 buffer naming which includes the object name.
1422
84998447
SM
14232013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1426 (eshell-parse-command, eshell-parse-pipeline): Use it since
1427 eshell-separate-commands requires a dynamic scoped var.
1428 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1429
33215353
LL
14302013-09-23 Leo Liu <sdl.web@gmail.com>
1431
1432 * autoinsert.el (auto-insert-alist): Make the value of
1433 lexical-binding match its file setting.
1434
57b16162
JB
14352013-09-23 Juanma Barranquero <lekktu@gmail.com>
1436
c8af4e67
JB
1437 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1438
57b16162
JB
1439 * autoarg.el (autoarg-kp-digit-argument):
1440 * electric.el (Electric-command-loop):
1441 * kmacro.el (kmacro-step-edit-insert):
1442 Do not set universal-argument-num-events.
1443
7186ba60
LL
14442013-09-22 Leo Liu <sdl.web@gmail.com>
1445
1446 * files.el (interpreter-mode-alist): Add octave.
1447
ece15004
AM
14482013-09-21 Alan Mackenzie <acm@muc.de>
1449
1450 C++: fontify identifier in declaration following "public:" correctly.
1451 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1452 to match "public", etc.
1453 (c-decl-prefix-re): Add ":" into the C++ value.
1454 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1455 bit. Add a check for a ":" preceded by "public", etc.
1456
75d83e22
EZ
14572013-09-21 Eli Zaretskii <eliz@gnu.org>
1458
1459 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1460 recognized by GDB 7.5 and later.
1461
d052d3bd
XF
14622013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1463
1464 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1465
31dca772
R
14662013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * subr.el (internal--call-interactively): New const.
1469 (called-interactively-p): Use it (bug#3984).
1470
98ccf24e
XF
14712013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1472
1473 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1474 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1475 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1476
c39cc7d1
SM
14772013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1480 (eshell-ls-orig-insert-directory): Remove.
1481 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1482 (eshell-ls-use-in-dired): Use advice-add/remove.
1483 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1484 Add `orig-fun' arg for use in :around advice.
1485 Make it check (redundantly) eshell-ls-use-in-dired.
1486
9a0289a2
GM
14872013-09-19 Glenn Morris <rgm@gnu.org>
1488
a2c501b8
GM
1489 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1490
c440407a
GM
1491 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1492
9a0289a2
GM
1493 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1494
85e05915
MA
14952013-09-19 Michael Albinus <michael.albinus@gmx.de>
1496
1497 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1498 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1499 (tramp-get-remote-python): New defuns.
1500 (tramp-get-remote-uid-with-perl)
1501 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1502 contributed by yary <not.com@gmail.com> (tiny change).
1503 (tramp-get-remote-uid-with-python)
1504 (tramp-get-remote-gid-with-python): New defuns. Python code
1505 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1506 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1507
ce503312
GM
15082013-09-19 Glenn Morris <rgm@gnu.org>
1509
f7544773
GM
1510 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1511
72fd2877
GM
1512 * eshell/em-unix.el (eshell-remove-entries):
1513 Rename argument to avoid name-clash with global `top-level'.
1514
336b5a56
GM
1515 * eshell/esh-proc.el (eshell-kill-process-function):
1516 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1517 (eshell-reset-after-proc): Remove unused arg `proc'.
1518
57a3a53d
GM
1519 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1520 (directory-files-and-attributes): Mark unused arg.
1521
3261d4af
GM
1522 * eshell/em-unix.el (eshell-remove-entries):
1523 Remove unused arg `path'. Update callers.
1524
8e51b5d0
GM
1525 * eshell/em-hist.el (eshell-hist-parse-arguments):
1526 Remove unused arg `silent'. Update callers.
1527
ce503312
GM
1528 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1529 Fix (f)boundp mix-up.
1530
1531 * eshell/em-smart.el (eshell-smart-scroll-window)
1532 (eshell-disable-after-change):
336b5a56 1533 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1534
ee3ce8a7
AM
15352013-09-18 Alan Mackenzie <acm@muc.de>
1536
1537 Fix fontification of type when followed by "const".
1538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1539 "known" types from fontification.
1540
ec9177ba
GM
15412013-09-18 Glenn Morris <rgm@gnu.org>
1542
7bb3e768
GM
1543 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1544 (chart-face-list): Drop Emacsen without display-color-p.
1545
5148da15
GM
1546 * net/eww.el (libxml-parse-html-region): Declare.
1547 (eww-display-html): Explicit error if no libxml2 support.
1548
2f68e157
GM
1549 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1550
9019d095
GM
1551 * image.el (image-type-from-buffer, image-multi-frame-p):
1552 Remove --without-x warning/error.
67645389 1553
5f30349b 1554 * mouse.el (mouse-yank-primary):
45069b2e 1555 * term.el (term-mouse-paste):
5f30349b
GM
1556 Reorder to silence --without-x compilation.
1557
cd8edbbe
GM
1558 * mpc.el (doc-view-mode): Silence --without-x compilation.
1559
8a78544e
GM
1560 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1561 Silence --without-x compilation.
1562
12679bfd
GM
1563 * progmodes/gud.el (gud-find-file, gud-mode):
1564 Silence --without-x compilation.
1565 (tooltip-mode): Declare.
30810a05 1566
f0047cb9
GM
1567 * wdired.el (dired-backup-overwrite): Remove declaration.
1568 (wdired-mode-map): Add doc string.
1569
e740f9d2
GM
1570 * custom.el (x-get-resource): Declare.
1571
92d77c89
GM
1572 * eshell/em-glob.el (ange-cache):
1573 * eshell/em-unix.el (ange-cache): Declare.
1574
76e69577
GM
1575 * faces.el (x-display-list, x-open-connection, x-get-resource):
1576 Declare.
7e58af4b
GM
1577
1578 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1579 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1580 Declare.
76e69577 1581
4bd4c0af 1582 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1583
ffb82dbd
GM
1584 * net/gnutls.el (gnutls-log-level): Declare.
1585
986ed135
GM
1586 * net/shr.el (image-size, image-animate): Declare.
1587
e740f9d2
GM
1588 * simple.el (font-info): Declare.
1589
d2f3e9f8
GM
1590 * subr.el (x-popup-dialog): Declare.
1591
047a1a4c
GM
1592 * term/common-win.el (x-select-enable-primary)
1593 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1594 Declare.
1595
f4a1d572
GM
1596 * term/ns-win.el (x-handle-args): Declare.
1597
e843de77
GM
1598 * term/x-win.el (x-select-enable-clipboard): Declare.
1599
5fa89513
GM
1600 * term/w32-win.el (create-default-fontset): Declare.
1601
38702b5b
GM
1602 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1603 Declare.
1604
e740f9d2
GM
1605 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1606 (fit-frame-to-buffer): Explicit error if --without-x.
1607 (mouse-autoselect-window-select): Silence compiler.
1608
49a053fc
GM
1609 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1610
1611 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1612 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1613 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1614 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1615 Remove unused local variables.
1616
1617 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1618
ec9177ba
GM
1619 * textmodes/two-column.el: Make 2C-split work for --without-x.
1620 (scroll-bar-columns): Autoload.
1621 (top-level): Require fringe when compiling.
1622
9f25cb77
LL
16232013-09-18 Leo Liu <sdl.web@gmail.com>
1624
1625 * subr.el (add-hook): Robustify to handle closure as well.
1626
2b42da98
GM
16272013-09-17 Glenn Morris <rgm@gnu.org>
1628
1629 * simple.el (messages-buffer-mode-map): Unbind "g".
1630
e8b66a6a
SM
16312013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1632
9c0ad4f7
SM
1633 * help-mode.el (help-mode-finish): Use derived-mode-p.
1634 Remove obsolete highlighting.
1635
7a806dfb
SM
1636 * play/life.el (life-mode): Use define-derived-mode. Derive from
1637 special-mode.
1638 (life): Let-bind inhibit-read-only.
1639 (life-setup): Avoid `setq'. Use `life-mode'.
1640
96dbf5a8
SM
1641 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1642 which should not be needed any more.
1643 (package-menu-refresh, package-menu-describe-package): Use user-error.
1644
e8b66a6a
SM
1645 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1646 (eshell-post-rewrite-command-hook): Make obsolete.
1647 (eshell-parse-command): Simplify.
1648 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1649 (eshell--cmd): Declare.
1650 (eshell-parse-pipeline): Remove unused var `final-p'.
1651 Pass a dynvar to eshell-post-rewrite-command-hook.
1652 Implement the new eshell-post-rewrite-command-function.
1653 (eshell-invoke-directly): Remove unused arg `input'.
1654 * eshell/esh-io.el (eshell-io-initialize):
1655 Use eshell-post-rewrite-command-function (bug#15399).
1656 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1657 adjust to new calling convention.
1658 (eshell-create-handles): Rename args to avoid clashing with dynvar
1659 `standard-output'.
1660
90582f05
GM
16612013-09-17 Glenn Morris <rgm@gnu.org>
1662
1663 * simple.el (messages-buffer-mode): New major mode.
1664 (messages-buffer): New function.
1665 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1666 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1667 (ert-run-test): Use `messages-buffer' function.
90582f05 1668 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1669 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1670 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1671
39eb0cb5 16722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1673
1674 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1675
1f1e06e2
SM
1676 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1677
70568a90
SM
16782013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1679
504a0381
SM
1680 * icomplete.el (icomplete-in-buffer): New var.
1681 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1682 vars and replace them with functions.
1683 (icomplete-minibuffer-setup): Adjust accordingly.
1684 (icomplete--completion-table, icomplete--completion-predicate)
1685 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1686 New functions.
1687 (icomplete-forward-completions, icomplete-backward-completions)
1688 (icomplete-simple-completing-p, icomplete-exhibit)
1689 (icomplete-completions): Use them.
1690 (icomplete--in-region-buffer): New var.
1691 (icomplete--in-region-setup): New function.
1692 (icomplete-mode): Use it.
1693
70568a90
SM
1694 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1695 (bug#15379).
1696 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1697 return args and options.
1698 (eshell-eval-using-options): Use the new return value of
1699 eshell--do-opts to set the options's vars in their scope.
1700 (eshell--set-option): Rename from eshell-set-option.
1701 Add arg `opt-vals'.
1702 (eshell--process-option): Rename from eshell-process-option.
1703 Add arg `opt-vals'.
1704 (eshell--process-args): Use an `opt-vals' alist to store the options's
1705 values during their processing and return them additionally to the
1706 remaining args.
1707
578c21bc
DG
17082013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1709
1710 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1711 continuation character an operator, as far as indentation is
1712 concerned (Bug#15369).
1713
c089653d
MR
17142013-09-15 Martin Rudalics <rudalics@gmx.at>
1715
1716 * window.el (window--state-put-2): Don't process buffer state
1717 when buffer doesn't exist any more (Bug#15382).
1718
1e53bb4b
GM
17192013-09-15 Glenn Morris <rgm@gnu.org>
1720
30753242
GM
1721 * eshell/em-unix.el (eshell/rm):
1722 Make -f ignore missing files. (Bug#15373)
1723
1e53bb4b
GM
1724 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1725 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1726 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1727
0d8863b3
GM
17282013-09-14 Glenn Morris <rgm@gnu.org>
1729
1730 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1731
d3fc6549
GM
17322013-09-13 Glenn Morris <rgm@gnu.org>
1733
1734 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1735 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1736
fcd42c11
DA
17372013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1738
1739 * frame.el (x-focus-frame): Mark as declared in frame.c.
1740
7830899f
SM
17412013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * ls-lisp.el: Use advice-add.
1744 (original-insert-directory): Remove.
1745 (ls-lisp--insert-directory): Rename from insert-directory; add
1746 `orig-fun' argument.
1747 (insert-directory): Advise.
1748
84387cd2
EZ
17492013-09-13 Eli Zaretskii <eliz@gnu.org>
1750
1751 * term.el (term-emulate-terminal): Decode the command string
1752 before passing it to term-command-hook. (Bug#15337)
1753
35ffc6ba
GM
17542013-09-13 Glenn Morris <rgm@gnu.org>
1755
5c3f9bcc
GM
1756 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1757
2ada368a
GM
1758 * eshell/esh-ext.el (eshell-search-path): Declare.
1759
fcef2e13
GM
1760 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1761 Otherwise an error occurs if eshell-dirs module not loaded.
1762
35ffc6ba
GM
1763 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1764
35c3d36e
MA
17652013-09-13 Michael Albinus <michael.albinus@gmx.de>
1766
1767 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1768 `tramp-check-proper-host'. Check for a valid method name.
1769
1770 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1771 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1772 * net/tramp-sh.el (tramp-maybe-open-connection):
1773 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1774
1775 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1776 also for hash values.
1777
ae5e4c48
SM
17782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1779
379add74
SM
1780 * term/ns-win.el (parameters): Don't declare as dynamic.
1781 (before-make-frame-hook): Don't add ineffective function.
1782
ae5e4c48
SM
1783 * eshell/*.el: Use lexical-binding (bug#15231).
1784
b5623270
KH
17852013-09-12 Kenichi Handa <handa@gnu.org>
1786
ae5e4c48 1787 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1788
30213927
GM
17892013-09-12 Glenn Morris <rgm@gnu.org>
1790
be94d713 1791 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1792 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1793
44915370
GM
1794 * subr.el (do-after-load-evaluation): Also give compiler warnings
1795 when obsolete files are used (except by obsolete files).
1796
a6ae021f
GM
1797 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1798 in the status output, assume `filename' is the first. (Bug#15322)
1799
40e64f0c
GM
1800 * vc/vc.el (vc-deduce-fileset): Doc fix.
1801
16d9f896
GM
1802 * calc/calc-help.el (Info-goto-node):
1803 * progmodes/cperl-mode.el (Info-find-node):
1804 * vc/ediff.el (Info-goto-node): Update declarations.
1805
dea01c6e
GM
1806 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1807
759880bf 1808 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1809 (vc-bzr-pull): Require vc-dispatcher.
1810 * vc/vc-git.el (vc-compilation-mode): Declare.
1811 (vc-git-pull): Require vc-dispatcher.
1812
08d66420
GM
1813 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1814
30b626e9
GM
1815 * progmodes/octave.el (help-button-action): Declare.
1816
8c05cb10
GM
1817 * shell.el (shell-directory-tracker): Output error as a message
1818 rather than just returning it as a string.
1819 (shell-process-pushd): Remove useless use of message.
1820
30213927
GM
1821 * dframe.el (dframe-timer-fn):
1822 * files.el (dir-locals-read-from-file):
1823 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1824 (mpc-format):
1825 * reveal.el (reveal-post-command):
1826 * saveplace.el (load-save-place-alist-from-file):
1827 * shell.el (shell-resync-dirs):
1828 * w32-common-fns.el (x-get-selection-value):
1829 * emacs-lisp/copyright.el (copyright-find-copyright):
1830 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1831 * emulation/tpu-edt.el (tpu-copy-keyfile):
1832 * play/bubbles.el (bubbles--mark-neighbourhood):
1833 * progmodes/executable.el
1834 (executable-make-buffer-file-executable-if-script-p):
1835 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1836
d3b049e6
SM
18372013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1838
170266d0
SM
1839 Cleanup Eshell to rely less on dynamic scoping.
1840 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1841 last-value, and ext-command here. Bind `args' closer to `body'.
1842 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1843 (eshell--args): Declare new dynamic var.
1844 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1845 last-value, and ext-command. Pass `args' to `body'.
1846 (eshell-process-args): Bind eshell--args.
1847 (eshell-set-option): Use eshell--args.
1848 * eshell/eshell.el (eshell): Use derived-mode-p.
1849 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1850 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1851 (eshell-glob-function): Declare.
1852 * eshell/esh-util.el: Require cl-lib.
1853 (eshell-read-hosts-file): Avoid add-to-list.
1854 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1855 `err'.
1856 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1857 Declare.
1858 (eshell/diff): Remove unused var `err'.
1859 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1860 `killflag'.
1861 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1862 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1863 first use.
1864 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1865 Move declaration before first use.
1866 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1867 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1868 rely on cl-return.
1869
56834f3b
GM
18702013-09-12 Glenn Morris <rgm@gnu.org>
1871
1872 * term/ns-win.el (global-map): Remove binding for ispell-next,
1873 deleted 1999-05-29. (Bug#15357)
1874
5c91a2b8
GM
18752013-09-11 Glenn Morris <rgm@gnu.org>
1876
da712f22
GM
1877 * echistory.el (electric-command-history): Remove call to deleted func.
1878
512e4cdc
GM
1879 * play/landmark.el (landmark-mode): Fix typos.
1880
d3506ca5
GM
1881 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1882 Check cvs-sort-ignore-file is bound.
1883
5c91a2b8
GM
1884 * savehist.el: No need for cl when compiling on Emacs.
1885
feeff482
SM
18862013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1887
656bd483
SM
1888 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1889 (bug#15338).
d3b049e6
SM
1890 (eshell-self-insert-command, eshell-send-invisible):
1891 Remove unused argument.
656bd483
SM
1892 (eshell-handle-control-codes): Remove unused var `orig'.
1893 Avoid delete-backward-char.
1894
feeff482
SM
1895 * files.el (set-auto-mode): Simplify a bit further.
1896
2a08047a
GM
18972013-09-11 Glenn Morris <rgm@gnu.org>
1898
1899 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1900 (set-auto-mode): Don't regexp-quote elements.
1901 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1902 * progmodes/cc-mode.el (interpreter-mode-alist):
1903 * progmodes/ruby-mode.el (interpreter-mode-alist):
1904 Revert previous change.
1905
34675540
SM
19062013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1b3b87df
SM
1908 * play/snake.el (snake-mode):
1909 * play/mpuz.el (mpuz-mode):
1910 * play/landmark.el (lm-mode):
1911 * play/blackbox.el (blackbox-mode):
1912 * play/5x5.el (5x5-mode):
1913 * obsolete/options.el (Edit-options-mode):
1914 * net/quickurl.el (quickurl-list-mode):
1915 * net/newst-treeview.el (newsticker-treeview-mode):
1916 * mail/rmailsum.el (rmail-summary-mode):
1917 * mail/mspools.el (mspools-mode):
1918 * locate.el (locate-mode):
1919 * ibuffer.el (ibuffer-mode):
1920 * emulation/ws-mode.el (wordstar-mode):
1921 * emacs-lisp/debug.el (debugger-mode):
1922 * array.el (array-mode):
1923 * net/eudc.el (eudc-mode): Use define-derived-mode.
1924 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1925 Move initialization into declaration.
1926 (mairix-searches-mode): Use define-derived-mode.
1927 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1928 (eudc-edit-hotlist): Use dolist.
1929 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1930 (Man-mode): Use define-derived-mode.
1931 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1932 (Info-edit-mode): Use define-derived-mode.
1933 (Info-cease-edit): Use Info-mode.
1934 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1935 into declaration.
1936 (eshell-mode): Use define-derived-mode.
1937 * chistory.el (command-history-mode-map): Rename from
1938 command-history-map.
1939 (command-history-mode): Use define-derived-mode.
da712f22 1940 (Command-history-setup): Remove function.
1b3b87df
SM
1941 * calc/calc.el (calc-trail-mode-map): New var.
1942 (calc-trail-mode): Use define-derived-mode.
1943 (calc-trail-buffer): Set calc-main-buffer manually.
1944 * bookmark.el (bookmark-insert-annotation): New function.
1945 (bookmark-edit-annotation): Use it.
1946 (bookmark-edit-annotation-mode): Make it a proper major mode.
1947 (bookmark-send-edited-annotation): Use derived-mode-p.
1948 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1949 closer to its ideal place. Use \' to match EOS.
1950
34675540
SM
1951 * profiler.el (profiler-calltree-find): Use function-equal.
1952
6a5c15d9
GM
19532013-09-10 Glenn Morris <rgm@gnu.org>
1954
1af4c220
GM
1955 * files.el (interpreter-mode-alist): Convert to regexps.
1956 (set-auto-mode): Adapt for this. (Bug#15306)
1957 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1958 Comment out unused variable.
1959 * progmodes/cc-mode.el (interpreter-mode-alist):
1960 * progmodes/python.el (interpreter-mode-alist):
1961 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1962 * progmodes/sh-script.el (sh-set-shell):
1963 No longer use interpreter-mode-alist to get list of shells.
1964
6a5c15d9
GM
1965 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1966
8c27f5ff
SM
19672013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1968
02ef6c1a 1969 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1970 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1971 Bind switch-frame explicitly. Replace universal-argument-minus with
1972 a conditional binding.
1973 (universal-argument-num-events, saved-overriding-map): Remove.
1974 (restore-overriding-map): Remove.
1975 (universal-argument--mode): Rename from save&set-overriding-map,
1976 and rewrite.
1977 (universal-argument, universal-argument-more, negative-argument)
1978 (digit-argument): Adjust accordingly.
1979 (universal-argument-minus): Remove.
1980 (universal-argument-other-key): Remove.
1981
8c27f5ff
SM
1982 * subr.el (with-demoted-errors): Add `format' argument.
1983
6480194c
MA
19842013-09-10 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1987 `tramp-cleanup-connection'.
1988
1989 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1990 parameters KEEP-DEBUG and KEEP-PASSWORD.
1991
1992 * net/tramp.el (tramp-file-name-handler):
1993 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1995 (tramp-maybe-open-connection):
8c27f5ff
SM
1996 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1997 Use `tramp-cleanup-connection'.
6480194c 1998
8c27f5ff
SM
1999 * net/tramp-sh.el (tramp-maybe-open-connection):
2000 Catch 'uname-changed inside the progress reporter.
6480194c 2001
e5e916d8
GM
20022013-09-10 Glenn Morris <rgm@gnu.org>
2003
9a2c9b47
GM
2004 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2005
e5e916d8
GM
2006 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2007 returns "alternate access method" in mode (eg "-rw-r--r--.").
2008
144e38fe
GM
20092013-09-08 Glenn Morris <rgm@gnu.org>
2010
2011 * saveplace.el (load-save-place-alist-from-file):
2012 Demote errors. (Bug#15305)
2013
af9ff9e8
MA
20142013-09-08 Michael Albinus <michael.albinus@gmx.de>
2015
2016 Improve compatibility with older Emacsen, and XEmacs.
2017
2018 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2019 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2020 (with-tramp-progress-reporter): Do not let-bind `result'.
2021 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2022 (tramp-handle-make-auto-save-file-name): New function, moved from
2023 tramp-sh.el.
2024
2025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2026 for `make-auto-save-file-name'.
8c27f5ff
SM
2027 (tramp-adb--gnu-switches-to-ash):
2028 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2029
2030 * net/tramp-cache.el (tramp-cache-print): Call
2031 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2032
2033 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2034 bound. It isn't for XEmacs.
2035
8c27f5ff
SM
2036 * net/tramp-compat.el (tramp-compat-copy-file):
2037 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2038 (tramp-compat-replace-regexp-in-string): New defun.
2039
2040 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2041 for `make-auto-save-file-name'.
2042 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2043 `copy-file'.
2044 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2045 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2046 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2047
8c27f5ff
SM
2048 * net/tramp-gw.el (tramp-gw-open-network-stream):
2049 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2050
8c27f5ff
SM
2051 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2052 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2053 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2054 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2055 (tramp-sh-file-inotifywait-process-filter):
2056 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2057 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2058
2059 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2060 for `make-auto-save-file-name'.
8c27f5ff
SM
2061 (tramp-smb-handle-copy-directory):
2062 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2063 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2064 (tramp-smb-handle-copy-file): Improve error message.
2065 (tramp-smb-handle-rename-file): Rename directly only in case
2066 `newname' does not exist yet. This is a restriction of smbclient.
2067 (tramp-smb-maybe-open-connection): Rerun the function only when
2068 `auth-sources' is non-nil.
2069
0ca754d0
KH
20702013-09-08 Kenichi Handa <handa@gnu.org>
2071
2072 * international/characters.el: Set category "^" (Combining) for
2073 more characters.
2074
e8dd0787
AM
20752013-09-07 Alan Mackenzie <acm@muc.de>
2076
2077 Correctly fontify Java class constructors.
2078 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2079 in Java Mode.
2080 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2081 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2082 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2083 "typeless" declaration there.
2084
f2f248e7
RW
20852013-09-07 Roland Winkler <winkler@gnu.org>
2086
2087 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2088 field subtitle for entry type book.
2089
67982e2b
SM
20902013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * minibuffer.el: Make minibuffer-complete call completion-in-region
2093 rather than other way around.
2094 (completion--some, completion-pcm--find-all-completions):
2095 Don't delay signals when debugging.
2096 (minibuffer-completion-contents): Beware fields within the
2097 minibuffer contents.
2098 (completion-all-sorted-completions): Use defvar-local.
2099 (completion--do-completion, completion--cache-all-sorted-completions)
2100 (completion-all-sorted-completions, minibuffer-force-complete):
2101 Add args `beg' and `end'.
2102 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2103 (minibuffer-complete): Use completion-in-region.
2104 (completion-complete-and-exit): New fun, extracted from
2105 minibuffer-complete-and-exit.
2106 (minibuffer-complete-and-exit): Use it.
2107 (completion--complete-and-exit): Rename from
2108 minibuffer--complete-and-exit.
2109 (completion-in-region--single-word): New function, extracted from
2110 minibuffer-complete-word.
2111 (minibuffer-complete-word): Use it.
2112 (display-completion-list): Make `common-substring' argument obsolete.
2113 (completion--in-region): Call completion--in-region-1 instead of
2114 minibuffer-complete.
2115 (completion-help-at-point): Pass boundaries to
2116 minibuffer-completion-help as args rather than via an overlay.
2117 (completion-pcm--string->pattern): Use `any-delim'.
2118 (completion-pcm--optimize-pattern): New function.
2119 (completion-pcm--pattern->regex): Handle `any-delim'.
2120 * icomplete.el (icomplete-forward-completions)
2121 (icomplete-backward-completions, icomplete-completions):
2122 Adjust calls to completion-all-sorted-completions and
2123 completion--cache-all-sorted-completions.
2124 (icomplete-with-completion-tables): Default to t.
2125 * emacs-lisp/crm.el (crm--current-element): Rename from
2126 crm--select-current-element. Don't put an overlay but return the
2127 boundaries instead.
2128 (crm--completion-command): Take two new args to bind to the boundaries.
2129 (crm-completion-help): Adjust accordingly.
2130 (crm-complete): Use completion-in-region.
2131 (crm-complete-word): Use completion-in-region--single-word.
2132 (crm-complete-and-exit): Use completion-complete-and-exit.
2133
e17d94a5
SM
21342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2137 than dynamically.
2138
96727100
JL
21392013-09-06 Juri Linkov <juri@jurta.org>
2140
2141 * info.el (Info-display-images-node): When image file doesn't exist
2142 display text version of the image if it's provided in the Info file.
2143 Otherwise, display the location of missing image from SRC attribute.
2144 Add help-echo text property from ALT attribute. (Bug#15279)
2145
86cf7329
SM
21462013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2149 (edit-abbrevs-mode): Use define-derived-mode.
2150
2151 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2152 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2153 that it's defined.
2154 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2155 Use define-derived-mode.
2156
2157 * epg.el (epg-start-encrypt): Minor CSE simplification.
2158
816244a2
WX
21592013-09-06 William Xu <william.xwl@gmail.com>
2160
2161 * arc-mode.el: Add support for 7za (bug#15264).
2162 (archive-7z-program): New var.
2163 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2164 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2165 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2166
1486fa31
MA
21672013-09-06 Michael Albinus <michael.albinus@gmx.de>
2168
2169 Remove URL syntax.
2170
2171 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2172 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2173 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2174 (tramp-postfix-host-format, tramp-file-name-regexp)
2175 (tramp-completion-file-name-regexp)
2176 (tramp-completion-dissect-file-name)
2177 (tramp-handle-substitute-in-file-name): Remove 'url case.
2178 (tramp-file-name-regexp-url)
2179 (tramp-completion-file-name-regexp-url): Remove constants.
2180
39785324
GM
21812013-09-06 Glenn Morris <rgm@gnu.org>
2182
2183 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2184
1f896cb7
DG
21852013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2186
2187 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2188 keywords" below "here-doc beginnings" (Bug#15270).
2189
c0458e0b
SM
21902013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * subr.el (pop): Use `car-safe'.
2193 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2194 to detect unused `pop' return value.
2195
2196 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2197 var `block-regexp'.
2198 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2199 (python-fill-string): Remove unused var `marker'.
2200 (python-skeleton-add-menu-items): Remove unused var `items'.
2201
2202 * international/mule-cmds.el: Require CL.
2203 (find-coding-systems-for-charsets): Avoid add-to-list.
2204 (sanitize-coding-system-list): New function, extracted from
2205 select-safe-coding-system-interactively.
2206 (select-safe-coding-system-interactively): Use it.
2207 (read-input-method-name): Accept symbols for `default'.
2208
2209 * emacs-lisp/advice.el (defadvice): Add indent rule.
2210
6c42fc3e
DH
22112013-09-05 Daniel Hackney <dan@haxney.org>
2212
2213 * dired-x.el:
2214 * net/ange-ftp.el:
2215 * net/browse-url.el:
2216 * net/dbus.el:
2217 * net/eudc.el:
2218 * net/eudcb-ldap.el:
2219 * net/eww.el:
2220 * net/imap.el:
2221 * printing.el:
2222 * vc/ediff-diff.el:
2223 * vc/ediff-init.el:
2224 * vc/ediff-merg.el:
2225 * vc/ediff-mult.el:
2226 * vc/ediff-util.el:
2227 * vc/ediff-wind.el:
2228 * vc/ediff.el:
2229 * vc/emerge.el:
2230 * vc/pcvs.el:
2231 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2232 byte compiler. Remove some unused let-bound variables.
2233
4c528aab
SM
22342013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2237 a "ref-cell", since it gets better optimized (bug#14883).
2238
bd15c390
GM
22392013-09-05 Glenn Morris <rgm@gnu.org>
2240
2241 * progmodes/cc-awk.el (c-forward-sws): Declare.
2242
1c3ac2e5
GM
22432013-09-04 Glenn Morris <rgm@gnu.org>
2244
2245 * generic-x.el [rul-generic-mode]: Require cc-mode.
2246 (c++-mode-syntax-table): Declare.
2247 (rul-generic-mode-syntax-table): Init in the defvar.
2248
52b1cc79
SM
22492013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2250
c828af56
SM
2251 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2252 (vc-do-command, vc-set-async-update):
2253 * vc/vc-mtn.el (vc-mtn-dir-status):
2254 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2255 (vc-hg-pull, vc-hg-merge-branch):
2256 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2257 (vc-git-merge-branch):
2258 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2259 (vc-cvs-dir-status-files):
2260 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2261 (vc-bzr-dir-status-files):
2262 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2263 * vc/vc-annotate.el: Use lexical-binding.
2264 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2265 (vc-sentinel-movepoint): Declare.
2266 (vc-annotate): Don't use `goto-line'.
2267 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2268 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2269 (vc-sentinel-movepoint): Declare.
2270 * vc/vc-svn.el: Use lexical-binding.
2271 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2272 * vc/vc-sccs.el:
2273 * vc/vc-rcs.el: Use lexical-binding.
2274
abae272c
SM
2275 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2276 `deleted'. Don't drop errors silently.
2277
52b1cc79
SM
2278 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2279
63191d9f
XF
22802013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2281
2282 * vc/vc.el (vc-ignore): Rewrite.
2283 (vc-default-ignore): New function.
2284 (vc-default-ignore-completion-table): Use find-ignore-file.
2285
2286 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2287 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2288 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2289 Remove. Most code moved to vc.el.
2290
9d3f707c
SM
22912013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2292
abae272c 2293 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2294 * net/tramp-smb.el (tramp-smb-get-file-entries):
2295 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2296 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2297
fde38d49
SM
2298 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2299 Update call to it.
2300 (eww-change-select): Remove unused var `properties'.
2301 (eww-make-unique-file-name): Remove unused var `base'.
2302
2303 * finder.el (finder-compile-keywords): Don't mess with windows.
2304
84032db7
SM
2305 * calculator.el (calculator-funcall): Fix typo in last change.
2306
724f5e41
SM
2307 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2308
14b511d4
SM
2309 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2310 <pkg>-autoloads.el file stop us.
2311
9d3f707c 2312 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2313 warnings, and factor out common code.
9d3f707c 2314
88527bc0
DG
23152013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2316
2317 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2318 two-character operators and whether the character preceding them
2319 changes their meaning (Bug#15208).
2320
96edb677
FEG
23212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2322
2323 Format code sent to Python shell for robustness.
9d3f707c
SM
2324 * progmodes/python.el (python-shell-buffer-substring):
2325 New function.
96edb677
FEG
2326 (python-shell-send-region, python-shell-send-buffer): Use it.
2327
95beaef3
MA
23282013-09-02 Michael Albinus <michael.albinus@gmx.de>
2329
2330 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2331 * net/tramp.el (tramp-user-error): ... here.
2332 (tramp-find-method, tramp-check-proper-host)
2333 (tramp-dissect-file-name, tramp-debug-message)
2334 (tramp-handle-shell-command):
2335 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2337
2338 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2339
f167c27b
MR
23402013-09-02 Martin Rudalics <rudalics@gmx.at>
2341
2342 * avoid.el (mouse-avoidance-point-position)
2343 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2344 returns nil.
2345
cd16c5f1
FEG
23462013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2347
2348 * progmodes/python.el (python-shell-completion-get-completions):
2349 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2350 (python-nav-if-name-main): New command.
cd16c5f1 2351
e73c3a0d
GM
23522013-09-01 Glenn Morris <rgm@gnu.org>
2353
f8ccce03
GM
2354 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2355 Avoid leading space in $wins. Otherwise the sed command used by
2356 eg compile-main ends up containing "/*.el". (Bug#15170)
2357
e73c3a0d
GM
2358 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2359
415f808e
GM
23602013-08-30 Glenn Morris <rgm@gnu.org>
2361
2362 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2363 Fix is-this-a-directory logic. (Bug#15220)
2364
f069bba8
SM
23652013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2366
112798c1
SM
2367 * textmodes/css-mode.el: Use SMIE.
2368 (css-smie-grammar): New var.
2369 (css-smie--forward-token, css-smie--backward-token)
2370 (css-smie-rules): New functions.
2371 (css-mode): Use them.
2372 (css-navigation-syntax-table): Remove var.
2373 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2374 (css-indent-calculate, css-indent-line): Remove functions.
2375
2376 Misc changes to reduce use of `(lambda...); and other cleanups.
2377 * cus-edit.el: Use lexical-binding.
2378 (customize-push-and-save, customize-apropos)
2379 (custom-buffer-create-internal): Use closures.
2380 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2381 * progmodes/ada-xref.el: Use setq.
2382 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2383 * dframe.el: Use lexical-binding.
2384 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2385 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2386 * descr-text.el: Use lexical-binding.
2387 (describe-text-widget, describe-text-sexp, describe-property-list):
2388 Use closures.
2389 * comint.el (comint-history-isearch-push-state): Use a closure.
2390 * calculator.el: Use lexical-binding.
2391 (calculator-number-to-string): Make it work with lexical-binding.
2392 (calculator-funcall): Same and use cl-letf.
2393
2da4c3ab
SM
2394 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2395 (lisp--company-doc-string, lisp--company-location): New functions.
2396 (lisp-completion-at-point): Use them to improve Company support.
2397
f069bba8
SM
2398 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2399 params of lambda expressions.
2400 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2401 (ruby-smie--opening-pipe-p): New function.
2402 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2403 symbols and matched |...| for formal params.
2404 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2405 from being treated as hanging. Handle "rescue".
2406
6758b6a8
GM
24072013-08-29 Glenn Morris <rgm@gnu.org>
2408
2409 * progmodes/cc-engine.el (c-pull-open-brace):
2410 Move definition before use.
2411
e8dfd197
SM
24122013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2415 are immutable. Don't use `unsafe' any more.
2416 (cl--defsubst-expand): Don't substitute at the same time as keeping
2417 a residual unused let-binding. Don't use `unsafe' any more.
2418
cc585c96
GM
24192013-08-29 Glenn Morris <rgm@gnu.org>
2420
ba579ea6
GM
2421 * calendar/cal-china.el (calendar-chinese-year-cache):
2422 Recenter on 2015.
2423
8201a87e
GM
2424 * nxml/nxml-util.el (nxml-debug-clear-inside):
2425 Use cl-loop rather than loop.
2426
6ee877c7
GM
2427 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2428
cc585c96
GM
2429 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2430
27be8d39
GM
24312013-08-28 Glenn Morris <rgm@gnu.org>
2432
397440a1
GM
2433 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2434
2bb762d4
GM
2435 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2436
27be8d39
GM
2437 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2438
2d69b99e
SM
24392013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2440
f663baa7
SM
2441 * simple.el (repeat-complex-command--called-interactively-skip):
2442 New function.
2443 (repeat-complex-command): Use it (bug#14136).
2444
dd4f8b74
SM
2445 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2446 (c-define-abbrev-table): Add `doc' argument.
2447 (c-mode-abbrev-table, c++-mode-abbrev-table)
2448 (objc-mode-abbrev-table, java-mode-abbrev-table)
2449 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2450 (awk-mode-abbrev-table): Use it.
2451 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2452 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2453 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2454 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2455 Move initialization into the declaration; and remove any
2456 autoload cookie.
2457
b58969f7
SM
2458 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2459 and dynamic let binding.
2460
4021d6a6
SM
2461 * vc/smerge-mode.el: Remove redundant :group args.
2462
2d69b99e
SM
2463 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2464 to load-path.
2465
274919fd
JL
24662013-08-28 Juri Linkov <juri@jurta.org>
2467
2468 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2469 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2470 (isearch-other-meta-char): Handle an undefined shifted printing
2471 character by downshifting it. (Bug#15200)
2472
121f8c95
JL
24732013-08-28 Juri Linkov <juri@jurta.org>
2474
2475 * isearch.el (isearch-search): Change regexp error message for
2476 non-regexp searches. (Bug#15166)
2477
50b13cde
PE
24782013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2479
2480 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2481 for portability to hosts where /bin/sh has problems.
2482
95888bca
SM
24832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2486
bbe558f1
JL
24872013-08-27 Juri Linkov <juri@jurta.org>
2488
2489 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2490 in the keyboard macro. (Bug#15126)
2491
26f98a7d
JL
24922013-08-27 Juri Linkov <juri@jurta.org>
2493
2494 * isearch.el (isearch-quote-char): Comment out converting unibyte
2495 to multibyte, thus syncing with its `quoted-insert' counterpart.
2496 (Bug#15166)
2497
7c97d35e
MR
24982013-08-27 Martin Rudalics <rudalics@gmx.at>
2499
2500 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2501 argument in call of get-largest-window (Bug#15185).
2502 Reported by Stephen Leake.
7c97d35e 2503
a0b5606e 25042013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2505
2506 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2507
9e89d835
SM
25082013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2511 from a matcher-function unless there's no more matches (bug#15161).
2512
78fc2530
MA
25132013-08-26 Michael Albinus <michael.albinus@gmx.de>
2514
2515 * minibuffer.el: Revert change from 2013-08-20.
2516
2517 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2518 with text property `tramp-default', if appropriate.
2519 (tramp-check-proper-host): New defun.
2520 (tramp-dissect-file-name): Do not check hostname. Revert change
2521 of 2013-03-18.
2522 (tramp-backtrace): Make VEC-OR-PROC optional.
2523
2524 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2525 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2526 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2527 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2528 Apply `tramp-check-proper-host'.
78fc2530 2529
edca97cd
TH
25302013-08-26 Tassilo Horn <tsdh@gnu.org>
2531
2532 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2533 lambda expression in order to have `describe-variable' display it.
2534
df54bcbd
MA
25352013-08-26 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2538 BUF can be optional. (Bug#15186)
2539
eed99101
XF
25402013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2541
2542 * progmodes/flymake.el (flymake-get-real-file-name-function):
2543 Fix broken customization. (Bug#15184)
2544
b5eb9035
AM
25452013-08-25 Alan Mackenzie <acm@muc.de>
2546
8a51e842
AM
2547 Improve indentation of bracelists defined by macros (without "=").
2548
2549 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2550 expansion begins with "{", regard it as bracelist when it doesn't
2551 contain a ";".
2552
869455d4
AM
2553 Parse C++ inher-intro when there's a template split over 2 lines.
2554
2555 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2556 rigorously the search for "class" etc. followed by ":".
2557
2558 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2559 random languages a regexp which never matches rather than nil.
2560
b5eb9035
AM
2561 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2562
2563 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2564 (c-awk-regexp-one-line-possibly-open-char-list-re)
2565 (c-awk-one-line-possibly-open-regexp-re)
2566 (c-awk-one-line-non-syn-ws*-re): Remove.
2567 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2568 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2569 (c-awk-space*-unclosed-regexp-/-re): New constants.
2570 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2571 aren't regexp delimiters.
2572
2573 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2574 handling for a rare situation in AWK Mode involving unterminated
2575 strings/regexps.
2576
61611d54
GM
25772013-08-23 Glenn Morris <rgm@gnu.org>
2578
2d85dc34
GM
2579 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2580
cb8d2612
GM
2581 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2582
bb35f42f
GM
2583 * files.el (create-file-buffer): If the result would begin with
2584 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2585
b9808e77
SM
25862013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2587
e3a66363
SM
2588 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2589 text-properties (bug#15155).
2590
b9808e77
SM
2591 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2592 exist any more.
2593 (calc-keypad-redraw): Remove unused var `pad'.
2594 (calc-keypad-press): Remove unused var `menu'.
2595
7fd5f65e
MR
25962013-08-23 Martin Rudalics <rudalics@gmx.at>
2597
b9808e77
SM
2598 * window.el (display-buffer-pop-up-frame):
2599 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2600 use it as the new frame's buffer (Bug#15133).
2601
8352b530
SM
26022013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * calendar/timeclock.el: Minor cleanups.
2605 (timeclock-ask-before-exiting, timeclock-use-display-time):
2606 Use `symbol'.
2607 (timeclock-modeline-display): Define as alias before the
2608 actual definition.
2609 (timeclock-mode-line-display): Use define-minor-mode.
2610 (timeclock-day-list-template): Make it a function, add an argument.
2611 (timeclock-day-list-required, timeclock-day-list-length)
2612 (timeclock-day-list-debt, timeclock-day-list-span)
2613 (timeclock-day-list-break): Adjust calls accordingly.
2614
9f7b1925
SM
26152013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2618 Use read--expression so that completion works again.
2619
6e50e983
SS
26202013-08-21 Sam Steingold <sds@gnu.org>
2621
2622 Add rudimentary inferior shell interaction
2623 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2624 (sh-set-shell): Reset it.
9f7b1925
SM
2625 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2626 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2627
dbb0d350
SM
26282013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * align.el: Use lexical-binding.
2631 (align-region): Simplify accordingly.
2632
c88586a9
MA
26332013-08-20 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2636
2637 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2638 `non-essential' up.
2639
f95527c8
MA
26402013-08-17 Michael Albinus <michael.albinus@gmx.de>
2641
2642 * net/tramp.el:
2643 * net/tramp-adb.el:
2644 * net/tramp-cmds.el:
2645 * net/tramp-ftp.el:
2646 * net/tramp-gvfs.el:
2647 * net/tramp-gw.el:
2648 * net/tramp-sh.el: Don't wrap external variable declarations by
2649 `eval-when-compile'.
2650
4b5fe4ee
LMI
26512013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2652
2653 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2654 now that Emacs supports ImageMagick animations.
2655
13c366c9
MA
26562013-08-16 Michael Albinus <michael.albinus@gmx.de>
2657
2658 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2659 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2660
3dfc5cd6
MR
26612013-08-16 Martin Rudalics <rudalics@gmx.at>
2662
2663 * window.el (mouse-autoselect-window-select): Do autoselect when
2664 mouse pointer is on margin.
2665
4bbb4381
WP
26662013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2667
2668 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2669
3a2ddc2d
GM
26702013-08-16 Glenn Morris <rgm@gnu.org>
2671
e8bedf5a
GM
2672 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2673 Handle "Remote Directory" response of some clients. (Bug#15058)
2674
58c4682f
GM
2675 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2676 Tweak warning. (Bug#14926)
2677
57953f49
GM
2678 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2679 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2680
3a2ddc2d
GM
2681 * image-mode.el (image-mode-map): Add menu items to reverse,
2682 increase, decrease, reset animation speed.
2683 (image--set-speed, image-increase-speed, image-decrease-speed)
2684 (image-reverse-speed, image-reset-speed): New functions.
2685 (image-mode-map): Add bindings for speed commands.
2686
2687 * image.el (image-animate-get-speed, image-animate-set-speed):
2688 New functions.
2689 (image-animate-timeout): Respect image :speed property.
2690
10fa0ed3
SM
26912013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2694 previous line (bug#15101).
2695 (debugger-eval-expression, debugger-record-expression):
2696 Use read--expression (bug#15102).
2697
5d89d9d2
MA
26982013-08-15 Michael Albinus <michael.albinus@gmx.de>
2699
2700 Remove byte compiler warnings, visible when compiling with
2701 `byte-compile-force-lexical-warnings' set to t.
2702
2703 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2704 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2705 (tramp-handle-unhandled-file-name-directory)
2706 (tramp-handle-file-notify-add-watch, tramp-action-login)
2707 (tramp-action-succeed, tramp-action-permission-denied)
2708 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2709 arguments with "_".
2710
2711 * net/tramp-adb.el (tramp-adb-parse-device-names)
2712 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2713 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2714 (tramp-adb-handle-file-truename): Remove unused arguments.
2715
2716 * net/tramp-cache.el (tramp-flush-directory-property)
2717 (tramp-flush-connection-property, tramp-list-connections)
2718 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2719
10fa0ed3
SM
2720 * net/tramp-compat.el (tramp-compat-make-temp-file):
2721 Rename FILENAME to F.
5d89d9d2
MA
2722
2723 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2724 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2725 (tramp-zeroconf-parse-workstation-device-names)
2726 (tramp-zeroconf-parse-webdav-device-names)
2727 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2728
2729 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2730 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2731
2732 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2733 arguments.
2734 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2735 (tramp-sh-handle-insert-file-contents-literally)
2736 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2737 with "_".
2738 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2739 Remove unused variables.
2740
2741 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2742 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2743 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2744
2745 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2746 Make them a defconst.
2747 (tramp-uuencode-region): Remove unused variable.
2748
62f33bae
JB
27492013-08-14 Juanma Barranquero <lekktu@gmail.com>
2750
2751 * frameset.el (frameset--prop-setter): New function.
2752 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2753 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2754 parameter was already set in FILTERED. Doc fix.
2755 (frameset--record-minibuffer-relationships): Allow saving a
2756 minibufferless frame without its corresponding minibuffer frame.
2757 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2758 frame, if the frame id matches.
2759 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2760 frames before orphaned ones.
2761 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2762
c660a885
MR
27632013-08-14 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (window-make-atom): Don't overwrite parameter
2766 already present.
2767 (display-buffer-in-atom-window): Handle special case where we
2768 split an already atomic window.
2769 (window--major-non-side-window, display-buffer-in-side-window)
2770 (window--side-check): Ignore minibuffer window when walking
2771 window tree.
2772 (window-deletable-p): Return 'frame only if no other frame uses
2773 our minibuffer window.
2774 (record-window-buffer): Run buffer-list-update-hook.
2775 (split-window): Make sure window--check-frame won't destroy an
2776 existing atomic window in case the new window gets nested
2777 inside.
2778 (display-buffer-at-bottom): Ignore minibuffer window when
2779 walking window tree. Don't split a side window.
2780 (pop-to-buffer): Don't set-buffer here, the select-window call
2781 should do that.
2782 (mouse-autoselect-window-select): Autoselect only if we are in the
2783 text portion of the window.
2784
8259030d
LMI
27852013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786
21c58ae2
LMI
2787 * net/shr.el (shr-parse-image-data): New function to grab both the
2788 data itself and the Content-Type.
2789 (shr-put-image): Use it.
2790
2791 * net/eww.el (eww-display-image): Ditto.
2792
8259030d
LMI
2793 * image.el (image-content-type-suffixes): New variable.
2794
ad756449
FEG
27952013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2796
2797 * progmodes/python.el (python-imenu--build-tree)
2798 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2799
f73f4ce6
XF
28002013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2801
2802 * simple.el (backward-word): Mention the optional argument.
2803
1f585e65
SM
28042013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * frameset.el (frameset--make): Rename constructor from make-frameset.
2807 (frameset-p, frameset-valid-p): Don't autoload.
2808 (frameset-valid-p): Use normal accessors.
2809
af1c6c84
GM
28102013-08-13 Glenn Morris <rgm@gnu.org>
2811
55e47f95
GM
2812 * progmodes/compile.el (compile-command): Tweak example in doc.
2813 * obsolete/scribe.el (scribe-mode):
2814 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2815
f0024d8c
GM
2816 * mail/feedmail.el (feedmail-confirm-outgoing)
2817 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2818
2819 * cus-start.el (truncate-partial-width-windows): Fix type.
2820
2821 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2822
af1c6c84
GM
2823 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2824
5514cc4c
SM
28252013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * emacs-lisp/timer.el (timer--time-setter): New function.
2828 (timer--time): Use it as gv-setter.
2829
2830 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2831 setter is not a symbol.
2832
7997a2f1
GJ
28332013-08-12 Grégoire Jadi <daimrod@gmail.com>
2834
2835 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2836 if sending fails. This makes debugging easier.
2837
01f1a9ab
JB
28382013-08-12 Juanma Barranquero <lekktu@gmail.com>
2839
2840 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2841 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2842 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2843
594a4307
EZ
28442013-08-12 Eli Zaretskii <eliz@gnu.org>
2845
2846 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2847
7a22490f 28482013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2849
2850 * format.el (format-annotate-function):
2851 Handle read-only text properties in the source. (Bug#14887)
2852
3e41a054
LMI
28532013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2854
5514cc4c
SM
2855 * net/eww.el (eww-display-html): Ignore coding system errors.
2856 One web site uses "utf-8lias" as the coding system.
3e41a054 2857
7ec326db
JB
28582013-08-11 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2861
5660113b
JB
28622013-08-10 Juanma Barranquero <lekktu@gmail.com>
2863
9a4ebc74
JB
2864 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2865 (tutorial--detailed-help): Remove unused local variables.
2866 (tutorial--save-tutorial-to): Use ignore-errors.
2867 (help-with-tutorial): Use looking-at-p.
2868
2869 * view.el (view-buffer-other-window, view-buffer-other-frame):
2870 Mark unused arguments.
2871
2872 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2873 (woman-select-symbol-fonts, woman, woman-find-file)
2874 (woman-insert-file-contents, woman-non-underline-faces):
2875 Use string-match-p.
2876 (woman1-unquote): Move declaration.
2877
2878 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2879 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2880 argument. Remove unused local variable.
2881 (xml-parse-elem-type): Use string-match-p.
2882 (xml-substitute-numeric-entities): Use ignore-errors.
2883
45fdb482
JB
2884 * calculator.el (calculator): Mark unused argument.
2885 (calculator-paste, calculator-quit, calculator-integer-p):
2886 Use ignore-errors.
2887 (calculator-string-to-number, calculator-decimal, calculator-exp)
2888 (calculator-op-or-exp): Use string-match-p.
2889
2890 * dired.el (dired-buffer-more-recently-used-p): Declare.
2891 (dired-insert-set-properties, dired-insert-old-subdirs):
2892 Use ignore-errors.
2893
2894 * dired-aux.el (dired-compress): Use ignore-errors.
2895 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2896 (dired-do-async-shell-command, dired-do-shell-command)
2897 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2898 (dired-insert-subdir-validate): Use string-match-p.
2899 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2900 (dired-add-entry): Use string-match-p, looking-at-p.
2901 (dired-insert-subdir-newpos): Remove unused local variable.
2902
2903 * filenotify.el (file-notify-callback): Remove unused local variable.
2904
2905 * filesets.el (filesets-error): Mark unused argument.
2906 (filesets-which-command-p, filesets-filter-dir-names)
2907 (filesets-directory-files, filesets-get-external-viewer)
2908 (filesets-ingroup-get-data): Use string-match-p.
2909
2910 * find-file.el (ff-other-file-name, ff-other-file-name)
2911 (ff-find-the-other-file, ff-cc-hh-converter):
2912 Remove unused local variables.
2913 (ff-get-file-name): Use string-match-p.
2914 (ff-all-dirs-under): Use ignore-errors.
2915
2916 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2917 (follow-select-if-visible): Remove unused local variable.
2918
2919 * forms.el (read-file-filter): Move declaration.
2920 (forms--make-format, forms--make-parser, forms-insert-record):
2921 Quote function with #'.
2922 (forms--update): Use string-match-p. Quote function with #'.
2923
2924 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2925 (help-make-xrefs): Use looking-at-p.
2926 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2927
2928 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2929 (ibuffer-confirm-operation-on): Use string-match-p.
2930
2931 * msb.el (msb-item-handler, msb-dired-item-handler):
2932 Mark unused arguments.
2933
2934 * ses.el (ses-decode-cell-symbol)
2935 (ses-kill-override): Remove unused local variable.
2936 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2937 (ses-load): Use ignore-errors, looking-at-p.
2938 (ses-jump-safe): Use ignore-errors.
2939 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2940
2941 * tabify.el (untabify, tabify): Mark unused arguments.
2942
2943 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2944 Mark unused argument.
2945 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2946 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2947
c880af52
JB
2948 * emacs-lisp/timer.el (timer--time): Define setter with
2949 gv-define-setter to avoid deprecation warning.
2950
5660113b 2951 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2952 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2953 (cmpl-statistics-block): Remove (body was commented out).
2954 All callers changed.
2955 (add-completions-from-buffer, load-completions-from-file):
2956 Remove unused variables.
2957
156aab80
JB
29582013-08-09 Juanma Barranquero <lekktu@gmail.com>
2959
5c5dee78
JB
2960 * filecache.el (file-cache-delete-file-list):
2961 Print message only when told so.
2962 (file-cache-files-matching): Use #' in mapconcat argument.
2963
156aab80
JB
2964 * ffap.el (ffap-url-at-point): Fix reference to variable
2965 thing-at-point-default-mail-uri-scheme.
2966
ad9dcd70
SM
29672013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2968
54bd972f
SM
2969 * subr.el (define-error): New function.
2970 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2971 error-file-not-found and define with define-error.
2972 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2973 and define with define-error.
2974 * userlock.el (file-locked, file-supersession):
2975 * simple.el (mark-inactive):
2976 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2977 * progmodes/ada-mode.el (ada-mode-errors):
2978 * play/life.el (life-extinct):
2979 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2980 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2981 * nxml/rng-util.el (rng-error):
2982 * nxml/rng-uri.el (rng-uri-error):
2983 * nxml/rng-match.el (rng-compile-error):
2984 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2985 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2986 * nxml/nxml-rap.el (nxml-scan-error):
2987 * nxml/nxml-outln.el (nxml-outline-error):
2988 * net/soap-client.el (soap-error):
2989 * net/gnutls.el (gnutls-error):
2990 * net/ange-ftp.el (ftp-error):
2991 * mpc.el (mpc-proc-error):
2992 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2993 (json-number-format, json-string-escape, json-string-format)
2994 (json-key-format, json-object-format):
2995 * jka-compr.el (compression-error):
2996 * international/quail.el (quail-error):
2997 * international/kkc.el (kkc-error):
2998 * emacs-lisp/ert.el (ert-test-failed):
2999 * calc/calc.el (calc-error, inexact-result, math-overflow)
3000 (math-underflow):
3001 * bookmark.el (bookmark-error-no-filename):
3002 * epg.el (epg-error): Define with define-error.
3003
0ea9e53a
SM
3004 * time.el (display-time-event-handler)
3005 (display-time-next-load-average): Don't call sit-for since it seems
3006 unnecessary (bug#15045).
3007
b0429158
SM
3008 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3009 Use #' instead of ' to quote functions.
3010 (checkdoc-output-mode): Use setq-local.
3011 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3012 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3013 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3014 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3015 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3016 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3017 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3018 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3019
ad9dcd70
SM
3020 * ido.el (ido-completion-help): Fix up compiler warning.
3021
77187e6f
JB
30222013-08-09 Juanma Barranquero <lekktu@gmail.com>
3023
3024 * frameset.el (frameset-p): Add autoload cookie.
3025 (frameset--jump-to-register): New function, based on code moved from
3026 register.el.
3027 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3028
3029 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3030 (frameset-restore, frameset-save, frameset-session-filter-alist):
3031 Remove declarations.
3032 (register-alist): Doc fix.
3033 (frameset-to-register): Move to frameset.el.
3034 (jump-to-register, describe-register-1): Remove frameset-specific code.
3035
9d3aa82c
JB
30362013-08-08 Juanma Barranquero <lekktu@gmail.com>
3037
3038 * allout-widgets.el (allout-widgets-pre-command-business)
3039 (allout-widgets-post-command-business)
3040 (allout-widgets-after-change-handler)
3041 (allout-decorate-item-and-context, allout-set-boundary-marker)
3042 (allout-body-modification-handler)
3043 (allout-graphics-modification-handler): Mark ignored arguments.
3044 (allout-widgets-post-command-business)
3045 (allout-widgets-exposure-change-processor)
3046 (allout-widgets-exposure-undo-processor)
3047 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3048 (allout-parse-item-at-point, allout-decorate-item-guides)
3049 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3050 * allout.el (epa-passphrase-callback-function): Declare.
3051 (allout-overlay-insert-in-front-handler)
3052 (allout-overlay-interior-modification-handler)
3053 (allout-isearch-end-handler, allout-chart-siblings)
3054 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3055 (allout-yank-processing, allout-process-exposed)
3056 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3057 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3058 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3059 (lisp-indent-defform): Mark ignored arguments.
3060 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3061 (calculate-lisp-indent): Remove unused variables.
3062 * international/characters.el (indian-2-column, arabic-2-column)
3063 (tibetan): Mark ignored arguments.
3064 (use-cjk-char-width-table): Mark ignored arguments.
3065 Remove unused variables.
3066 * international/fontset.el (build-default-fontset-data)
3067 (x-compose-font-name, create-fontset-from-fontset-spec):
3068 Mark ignored arguments.
3069 (fontset-plain-name): Remove unused variables.
3070 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3071 (keyboard-coding-system): Mark ignored arguments.
3072 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3073 * help.el (resize-temp-buffer-window):
3074 * window.el (display-buffer-in-major-side-window)
3075 (display-buffer-in-side-window, display-buffer-in-previous-window):
3076 Remove unused variables.
3077 * isearch.el (isearch-forward-symbol):
3078 * version.el (emacs-bzr-version-bzr):
3079 * international/mule-cmds.el (current-language-environment):
3080 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3081 (x-handle-display):
3082 * term/pc-win.el (x-list-fonts, x-display-planes)
3083 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3084 (x-server-version, x-display-screens, x-display-mm-height)
3085 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3086 (x-selection-owner-p, x-own-selection-internal)
3087 (x-disown-selection-internal, x-get-selection-internal)
3088 (msdos-initialize-window-system):
3089 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3090 * term/x-win.el (x-handle-no-bitmap-icon):
3091 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3092 (vc-default-find-file-hook, vc-default-extra-menu):
3093 Mark ignored arguments.
3094
0ca3f70e
SM
30952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3098 break-condition in the context of the debugged code (bug#12685).
3099
74c5d24c
CS
31002013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3101
3102 * comint.el:
3103 Do not use an overlay to highlight the last prompt. (Bug#14744)
3104 (comint-mode): Make comint-last-prompt buffer local.
3105 (comint-last-prompt): New variable.
3106 (comint-last-prompt-overlay): Remove. Superseded by
3107 comint-last-prompt.
0ca3f70e
SM
3108 (comint-snapshot-last-prompt, comint-output-filter):
3109 Use comint-last-prompt.
74c5d24c 3110
c03c02ee
JB
31112013-08-08 Juanma Barranquero <lekktu@gmail.com>
3112
a3738d20 3113 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3114 (frameset-save): Check validity of the resulting frameset.
3115
04263d23
XF
31162013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3117
3118 * ido.el (ido-record-command): Add doc string.
3119
76c5e5ab
JB
31202013-08-08 Juanma Barranquero <lekktu@gmail.com>
3121
3122 * frameset.el (frameset): Do not disable creation of the default
3123 frameset-p predicate. Doc fix.
3124 (frameset-valid-p): New function, copied from the old predicate-p.
3125 Add additional checks.
3126 (frameset-restore): Check with frameset-valid-p.
3127 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3128 (frameset-name, frameset-description, frameset-properties)
3129 (frameset-states): Add docstring.
f9dbf1cb
JB
3130 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3131 (frameset-filter-alist): Doc fixes.
76c5e5ab 3132
bd0c3c0b
JB
31332013-08-08 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3136
c735544c
SM
31372013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3140 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3141 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3142 (byte-compile-normal-call): Remove obsolescence check.
3143
2805a651
JB
31442013-08-08 Juanma Barranquero <lekktu@gmail.com>
3145
3677ffeb
JB
3146 * frameset.el (frameset-restore): Doc fix.
3147
2805a651
JB
3148 * register.el (frameset-frame-id, frameset-frame-with-id)
3149 (frameset-p, frameset-restore, frameset-save): Declare.
3150 (register-alist): Document framesets.
3151 (frameset-session-filter-alist): Declare.
3152 (frameset-to-register): New function.
3153 (jump-to-register): Implement jumping to framesets. Doc fix.
3154 (describe-register-1): Describe framesets.
3155
3156 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3157
a912c016
JB
31582013-08-07 Juanma Barranquero <lekktu@gmail.com>
3159
3160 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3161 Use lexical-binding.
3162
3163 * frameset.el (frameset): Use type vector, not list (incompatible
3164 change). Do not declare a new constructor, use the default one.
3165 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3166 `name' and `description', respectively, and add read-only slot
3167 `timestamp'. Doc fixes.
3168 (frameset-copy, frameset-persistent-filter-alist)
3169 (frameset-filter-alist, frameset-switch-to-gui-p)
3170 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3171 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3172 (frameset-filter-iconified, frameset-keep-original-display-p):
3173 Doc fixes.
3174 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3175 Rename from frameset-filter-(save|restore)-param. All callers changed.
3176 Doc fix.
3177 (frameset-p): Adapt to change to vector and be more thorough.
3178 Change arg name to OBJECT. Doc fix.
3179 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3180 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3181 All callers changed.
3182 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3183 All callers changed.
3184 (frameset--record-minibuffer-relationships): Rename from
3185 frameset--process-minibuffer-frames. All callers changed.
3186 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3187 Use new default constructor (again). Doc fix.
3188 (frameset--find-frame-if): Rename from `frameset--find-frame.
3189 All callers changed.
3190 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3191 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3192 Doc fix.
3193 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3194 PARAMETERS and WINDOW-STATE, respectively.
3195 (frameset-restore): Add new keyword argument PREDICATE.
3196 Reset frameset--target-display to nil. Doc fix.
3197
bb41480a
SM
31982013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3199
f001e98e
SM
3200 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3201 (bat-mode): Use it.
3202 (bat-mode-syntax-table): Mark \n as end-of-comment.
3203 (bat-font-lock-keywords): Remove comment rule.
3204
7679edb1
SM
3205 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3206 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3207
bb41480a
SM
3208 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3209 (byte-compile-callargs-warn): Use `push'.
3210 (byte-compile-arglist-warn): Ignore higher-order "calls".
3211 (byte-compile-file-form-autoload): Use `pcase'.
3212 (byte-compile-function-form): If quoting a symbol, check that it exists.
3213
cdc1ebb9
EZ
32142013-08-07 Eli Zaretskii <eliz@gnu.org>
3215
3216 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3217 and add a few popular commands found in batch files.
3218 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3219 (dos-mode): Doc fixes.
3220
312b1740
SM
32212013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3222
3223 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3224 (dos-mode): Use setq-local. Add space after "rem".
3225 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3226 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3227
400a3178
AM
32282013-08-07 Arni Magnusson <arnima@hafro.is>
3229
3230 * progmodes/dos.el: New file.
3231 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3232 dos-mode.
3233
3b5c03d3
GM
32342013-08-06 Glenn Morris <rgm@gnu.org>
3235
3236 * calendar/calendar.el: Add new faces, and day-header-array.
3237 (calendar-weekday-header, calendar-weekend-header)
3238 (calendar-month-header): New faces.
3239 (calendar-day-header-construct): New function.
3240 (calendar-day-header-width): Also :set calendar-day-header-array.
3241 (calendar-american-month-header, calendar-european-month-header)
3242 (calendar-iso-month-header): Use calendar- faces.
3243 (calendar-generate-month):
3244 Use calendar-day-header-array for day headers; apply faces to them.
3245 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3246 (calendar-abbrev-construct): Add optional maxlen argument.
3247 (calendar-day-name-array): Doc fix.
3248 (calendar-day-name-array, calendar-abbrev-length)
3249 (calendar-day-abbrev-array):
3250 Also :set calendar-day-header-array, and maybe redraw.
3251 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3252 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3253 (calendar-day-name): Add option to use header array.
3254
ec6a2d7a
LMI
32552013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3256
3257 * net/shr.el (shr-render-td): Remove debugging.
3258 (shr-render-td): Make width computation consistent by defaulting
3259 all zero-width columns to 10 characters. This may not be optimal,
3260 but it's at least consistent.
2122cb6d
LMI
3261 (shr-make-table-1): Redo last change to fix the real problem in
3262 colspan handling.
ec6a2d7a 3263
ed4fd9c5
DA
32642013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3265
0ca3f70e
SM
3266 * files.el (cache-long-line-scans):
3267 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3268
64e22afe
JB
32692013-08-06 Juanma Barranquero <lekktu@gmail.com>
3270
024b38fc
JB
3271 * frameset.el (frameset, frameset-filter-alist)
3272 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3273 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3274 (frameset-compute-pos): Rename from frameset--compute-pos,
3275 and add docstring.
3276 (frameset-move-onscreen): Use frameset-compute-pos.
3277 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3278
64e22afe
JB
3279 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3280 Fix typos in docstrings.
3281
c8c2aca8
DA
32822013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3283
3284 * frame.el (get-other-frame): Tiny cleanup.
3285
1d237bba
JB
32862013-08-06 Juanma Barranquero <lekktu@gmail.com>
3287
8951efef
JB
3288 * vc/vc.el (vc-default-ignore-completion-table):
3289 Silence byte-compiler warning.
3290
307764cc
JB
3291 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3292 slot , which can indeed be nil.
3293 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3294 Move entry for `left' from persistent to live filter alist.
3295 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3296 Doc fixes.
3297 (frameset-filter-params): When restoring a frame, copy items added to
3298 `filtered', to avoid unwittingly modifying the original parameters.
3299 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3300 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3301
1d237bba
JB
3302 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3303 to use looking-at-p instead of looking-at. (Bug#15028)
3304
dc6c0eda
SM
33052013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 Revert introduction of isearch-filter-predicates (bug#14714).
3308 Rely on add-function instead.
3309 * isearch.el (isearch-filter-predicates): Rename it back to
3310 isearch-filter-predicate.
3311 (isearch-message-prefix): Use advice-function-mapc and advice
3312 properties to get the isearch-message-prefix.
3313 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3314 instead of run-hook-with-args-until-failure.
3315 (isearch-filter-visible): Not obsolete any more.
3316 * loadup.el: Preload nadvice.
3317 * replace.el (perform-replace): Revert to funcall
3318 instead of run-hook-with-args-until-failure.
3319 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3320 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3321 dired-isearch-filenames-toggle; make it into a proper minor mode.
3322 Use add/remove-function.
3323 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3324 Call the minor-mode rather than add/remove-hook.
3325 (dired-isearch-filter-filenames):
3326 Remove isearch-message-prefix property.
3327 * info.el (Info--search-loop): New function, extracted from Info-search.
3328 Funcall isearch-filter-predicate instead of
3329 run-hook-with-args-until-failure isearch-filter-predicates.
3330 (Info-search): Use it.
3331 (Info-mode): Use isearch-filter-predicate instead of
3332 isearch-filter-predicates.
3333
290d5b58
DA
33342013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3335
3336 Do not call to `selected-window' where it is assumed by default.
3337 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3338 `window-hscroll', `window-width', `window-height', `window-buffer',
3339 `window-frame', `window-start', `window-point', `next-window'
3340 and `window-display-table'.
3341 * abbrev.el (abbrev--default-expand):
3342 * bs.el (bs--show-with-configuration):
3343 * buff-menu.el (Buffer-menu-mouse-select):
3344 * calc/calc.el (calc):
3345 * calendar/calendar.el (calendar-generate-window):
3346 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3347 (diary-make-entry):
3348 * comint.el (send-invisible, comint-dynamic-complete-filename)
3349 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3350 * completion.el (complete):
3351 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3352 * disp-table.el (describe-current-display-table):
3353 * doc-view.el (doc-view-insert-image):
3354 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3355 * ehelp.el (with-electric-help):
3356 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3357 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3358 * emacs-lisp/helper.el (Helper-help-scroller):
3359 * emulation/cua-base.el (cua--post-command-handler-1):
3360 * eshell/esh-mode.el (eshell-output-filter):
3361 * ffap.el (ffap-gnus-wrapper):
3362 * help-macro.el (make-help-screen):
3363 * hilit-chg.el (highlight-compare-buffers):
3364 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3365 * hl-line.el (global-hl-line-highlight):
3366 * icomplete.el (icomplete-simple-completing-p):
3367 * isearch.el (isearch-done):
3368 * jit-lock.el (jit-lock-stealth-fontify):
3369 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3370 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3371 * mpc.el (mpc-tagbrowser, mpc):
3372 * net/rcirc.el (rcirc-any-buffer):
3373 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3374 * play/landmark.el (landmark-max-width, landmark-max-height):
3375 * play/zone.el (zone):
3376 * progmodes/compile.el (compilation-goto-locus):
3377 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3378 * progmodes/etags.el (find-tag-other-window):
3379 * progmodes/fortran.el (fortran-column-ruler):
3380 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3381 * progmodes/verilog-mode.el (verilog-point-text):
3382 * reposition.el (reposition-window):
3383 * rot13.el (toggle-rot13-mode):
3384 * server.el (server-switch-buffer):
3385 * shell.el (shell-dynamic-complete-command)
3386 (shell-dynamic-complete-environment-variable):
3387 * simple.el (insert-buffer, set-selective-display)
3388 (delete-completion-window):
3389 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3390 (speedbar-recenter):
3391 * startup.el (fancy-splash-head):
3392 * textmodes/ispell.el (ispell-command-loop):
3393 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3394 * tutorial.el (help-with-tutorial):
3395 * vc/add-log.el (add-change-log-entry):
3396 * vc/compare-w.el (compare-windows):
3397 * vc/ediff-help.el (ediff-indent-help-message):
3398 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3399 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3400 (ediff-setup-control-frame):
3401 * vc/emerge.el (emerge-position-region):
3402 * vc/pcvs-util.el (cvs-bury-buffer):
3403 * window.el (walk-windows, mouse-autoselect-window-select):
3404 * winner.el (winner-set-conf, winner-undo): Related users changed.
3405
38276e01
JB
34062013-08-05 Juanma Barranquero <lekktu@gmail.com>
3407
3408 * frameset.el (frameset--set-id): Doc fix.
3409 (frameset-frame-id, frameset-frame-id-equal-p)
3410 (frameset-locate-frame-id): New functions.
3411 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3412 (frameset-restore): Use them.
3413
12b4c0ea
DA
34142013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3415
3416 Do not call to `selected-frame' where it is assumed by default.
3417 Affected functions are `raise-frame', `redraw-frame',
3418 `frame-first-window', `frame-terminal' and `delete-frame'.
3419 * calendar/appt.el (appt-disp-window):
3420 * epg.el (epg-wait-for-completion):
3421 * follow.el (follow-delete-other-windows-and-split)
3422 (follow-avoid-tail-recenter):
3423 * international/mule.el (set-terminal-coding-system):
3424 * mail/rmail.el (rmail-mail-return):
3425 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3426 * progmodes/f90.el (f90-add-imenu-menu):
3427 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3428 * server.el (server-switch-buffer):
3429 * simple.el (delete-completion-window):
3430 * talk.el (talk):
3431 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3432 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3433 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3434 * vc/ediff.el (ediff-documentation): Related users changed.
3435 * frame.el (selected-terminal): Remove the leftover.
3436
17f25e76
GM
34372013-08-05 Glenn Morris <rgm@gnu.org>
3438
3439 * calendar/calendar.el (calendar-generate-month):
3440 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3441 (calendar-generate-month, calendar-font-lock-keywords):
3442 Fix for calendar-day-header-width > length of any day name.
17f25e76 3443
063233c3
JB
34442013-08-05 Juanma Barranquero <lekktu@gmail.com>
3445
3446 * desktop.el (desktop-clear): Use new name of sort predicate.
3447
3448 * frameset.el (frameset): Add docstring. Move :version property to its
3449 own `version' slot.
3450 (frameset-copy): Rename from copy-frameset.
3451 (frameset-p): Check more thoroughly.
3452 (frameset-prop): Do not check for :version, which is no longer a prop.
3453 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3454 Use new :never value instead of t.
3455 (frameset-filter-alist): Expand and clarify docstring.
3456 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3457 (frameset-filter-minibuffer, frameset-filter-save-param)
3458 (frameset-filter-restore-param, frameset-filter-iconified):
3459 Add pointer to docstring of frameset-filter-alist.
3460 (frameset-filter-params): Rename filter values to be more meaningful:
3461 :never instead of t, and reverse the meanings of :save and :restore.
3462 (frameset--process-minibuffer-frames): Clarify error message.
3463 (frameset-save): Avoid unnecessary and confusing call to framep.
3464 Use new BOA constructor for framesets.
3465 (frameset--reuse-list): Doc fix.
3466 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3467 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3468 (frameset-minibufferless-first-p): Doc fix.
3469 Rename from frameset-sort-frames-for-deletion.
3470 (frameset-restore): Doc fixes. Use new function names.
3471 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3472
d5671a82
JB
34732013-08-04 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * desktop.el (desktop-restore-forces-onscreen)
3476 (desktop-restore-reuses-frames): Document :keyword constant values.
3477 (desktop-filter-parameters-alist): Remove, now identical to
3478 frameset-filter-alist.
3479 (desktop--filter-tty*): Remove, moved to frameset.el.
3480 (desktop-save-frameset, desktop-restore-frameset):
3481 Do not pass :filters argument.
3482
3483 * frameset.el (frameset-live-filter-alist)
3484 (frameset-persistent-filter-alist): New variables.
3485 (frameset-filter-alist): Use them. Add autoload cookie.
3486 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3487 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3488 `frameset--id' (it's supposed to be internal to frameset.el).
3489 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3490 (frameset--initial-params): New function.
3491 (frameset--get-frame): Use it. Doc fix.
3492 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3493 Accept :all, not 'all.
3494 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3495 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3496 with fbound symbols. Fix frame id matching, and remove matching ids if
3497 the frame being restored is deleted. Obey :delete.
3498
671d5c16
SM
34992013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * subr.el (macrop): New function.
3502 (text-clone--maintaining): New var.
3503 (text-clone--maintain): Rename from text-clone-maintain. Use it
3504 instead of inhibit-modification-hooks.
3505
3506 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3507 a proxy, so as handle autoloads and redefinitions of the target.
3508 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3509
3510 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3511 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3512 (pcase--mutually-exclusive-p): New function.
3513 (pcase--split-consp): Use it.
3514 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3515 mutually exclusive with the current predicate.
3516
3517 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3518 (edebug-macrop): Remove. Use `macrop' instead.
3519 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3520 (ad-macro-p):
3521 * eshell/esh-cmd.el (eshell-macrop):
3522 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3523
1d44e9dc
SM
35242013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3527 (advice-mapc): New function, using it.
3528 (advice-function-member-p): New function.
3529 (advice--normalize): Store the cdr in advice--saved-rewrite since
3530 that's the part that will be changed.
3531 (advice--symbol-function): New function.
3532 (advice-remove): Handle removal before the function is defined.
3533 Adjust to new advice--saved-rewrite.
3534 (advice-member-p): Use advice-function-member-p and
3535 advice--symbol-function.
3536
5414a283
JB
35372013-08-04 Juanma Barranquero <lekktu@gmail.com>
3538
51d30f2c
JB
3539 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3540 (frameset-filter-minibuffer): Doc fix.
3541 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3542 (frameset--set-id, frameset--process-minibuffer-frames)
3543 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3544 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3545
5414a283
JB
3546 * desktop.el (desktop-clear): Only delete frames when called
3547 interactively and desktop-restore-frames is non-nil. Doc fix.
3548 (desktop-read): Set desktop-saved-frameset to nil.
3549
ab419665
XF
35502013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3551
3552 * vc/vc.el (vc-ignore): Rewrite.
3553 (vc-default-ignore-completion-table):
3554 (vc--read-lines):
3555 (vc--add-line, vc--remove-regexp): New functions.
3556
3557 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3558 (vc-svn-ignore-completion-table): New function.
3559
3560 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3561 (vc-hg-ignore-completion-table):
3562 (vc-hg-find-ignore-file): New functions.
3563
3564 * vc/vc-git.el (vc-git-ignore): Rewrite.
3565 (vc-git-ignore-completion-table):
3566 (vc-git-find-ignore-file): New functions.
3567
3568 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3569
3570 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3571 (vc-bzr-ignore-completion-table):
3572 (vc-bzr-find-ignore-file): New functions.
3573
2613dea2
JB
35742013-08-03 Juanma Barranquero <lekktu@gmail.com>
3575
3576 * frameset.el (frameset-prop): New function and setter.
3577 (frameset-save): Do not modify frame list passed by the caller.
3578
9c959872
SM
35792013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3582
a104f656
SM
35832013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3584
70122acf
SM
3585 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3586 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3587
a104f656
SM
3588 * custom.el (custom-initialize-default, custom-initialize-set)
3589 (custom-initialize-reset, custom-initialize-changed): Affect the
3590 toplevel-default-value (bug#6275, bug#14586).
3591 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3592 for bug#6275.
3593
f078d570
JB
35942013-08-02 Juanma Barranquero <lekktu@gmail.com>
3595
185e3b5a
JB
3596 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3597 Add cl-def* expressions.
3598
f078d570
JB
3599 * frameset.el (frameset-filter-params): Fix order of arguments.
3600
9421876d
JB
36012013-08-02 Juanma Barranquero <lekktu@gmail.com>
3602
3603 Move code related to saving frames to frameset.el.
3604 * desktop.el: Require frameset.
3605 (desktop-restore-frames): Doc fix.
3606 (desktop-restore-reuses-frames): Rename from
3607 desktop-restoring-reuses-frames.
3608 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3609 (desktop-clear): Clear frames too.
3610 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3611 (desktop--filter-tty*, desktop-save, desktop-read):
3612 Use frameset functions.
3613 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3614 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3615 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3616 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3617 (desktop--process-minibuffer-frames, desktop-save-frames)
3618 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3619 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3620 (desktop--sort-states, desktop-restoring-frames-p)
3621 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3622 (desktop-restoring-frameset-p, desktop-restore-frameset)
3623 (desktop--check-dont-save, desktop-save-frameset): New functions.
3624 (desktop--app-id): New constant.
3625 (desktop-first-buffer, desktop-buffer-ok-count)
3626 (desktop-buffer-fail-count): Move before first use.
3627 * frameset.el: New file.
3628
76dc5996
SM
36292013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * files.el: Use lexical-binding.
3632 (dir-locals-read-from-file): Remove unused `err' variable.
3633 (hack-dir-local-variables--warned-coding): New var.
3634 (hack-dir-local-variables): Use it to avoid repeated warnings.
3635 (make-backup-file-name--default-function): New function.
3636 (make-backup-file-name-function): Use it as default.
3637 (buffer-stale--default-function): New function.
3638 (buffer-stale-function): Use it as default.
3639 (revert-buffer-insert-file-contents--default-function): New function.
3640 (revert-buffer-insert-file-contents-function): Use it as default.
3641 (insert-directory): Avoid add-to-list.
3642
3643 * autorevert.el (auto-revert-handler): Simplify.
3644 Use buffer-stale--default-function.
3645
06d36e2b
TH
36462013-08-01 Tassilo Horn <tsdh@gnu.org>
3647
5f648ab4
TH
3648 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3649
06d36e2b
TH
3650 * whitespace.el (whitespace-ensure-local-variables): New function.
3651 (whitespace-cleanup-region): Call it.
3652 (whitespace-turn-on): Call it.
3653
a43dc424
MA
36542013-08-01 Michael Albinus <michael.albinus@gmx.de>
3655
3656 Complete file name handlers.
3657
3658 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3659 (tramp-handle-verify-visited-file-modtime)
3660 (tramp-handle-file-notify-rm-watch): New functions.
3661 (tramp-call-process): Do not bind `default-directory'.
3662
44e18199
JB
3663 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3664 Order alphabetically.
a43dc424
MA
3665 [access-file, add-name-to-file, dired-call-process]:
3666 [dired-compress-file, file-acl, file-notify-rm-watch]:
3667 [file-ownership-preserved-p, file-selinux-context]:
3668 [make-directory-internal, make-symbolic-link, set-file-acl]:
3669 [set-file-selinux-context, set-visited-file-modtime]:
3670 [verify-visited-file-modtime]: Add handler.
3671 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3672
3673 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3674 [file-notify-add-watch, file-notify-rm-watch]:
3675 [set-file-times, set-visited-file-modtime]:
3676 [verify-visited-file-modtime]: Add handler.
3677 (with-tramp-gvfs-error-message)
3678 (tramp-gvfs-handle-set-visited-file-modtime)
3679 (tramp-gvfs-fuse-file-name): Remove.
3680 (tramp-gvfs-handle-file-notify-add-watch)
3681 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3682 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3683
44e18199
JB
3684 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3685 Order alphabetically.
a43dc424
MA
3686 [file-notify-rm-watch ]: Use default Tramp handler.
3687 [executable-find]: Remove private handler.
3688 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3689 `default-directory'.
3690 (tramp-sh-handle-executable-find)
3691 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3692 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3693 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3694 Do not use `format' in `tramp-message'.
3695
3696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3697 [file-notify-rm-watch, set-visited-file-modtime]:
3698 [verify-visited-file-modtime]: Add handler.
3699 (tramp-smb-call-winexe): Do not bind `default-directory'.
3700
7188b515
XF
37012013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3702
3703 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3704
2412ee1a
DG
37052013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3706
3707 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3708 use it.
3709 (log-view-diff-changeset): Same.
3710 (log-view-diff-common): Call backend command `previous-revision'
3711 to find out the previous revision, in both cases. Swap the
3712 variables `to' and `fr', so that `fr' usually refers to the
3713 earlier revision (Bug#14989).
3714
5002a754
KRC
37152013-07-31 Kan-Ru Chen <kanru@kanru.info>
3716
3717 * ibuf-ext.el (ibuffer-filter-by-filename):
3718 Make it work with dired buffers too.
3719
44e18199 37202013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3721
3722 * emacs-lisp/re-builder.el (reb-color-display-p):
3723 * files.el (save-buffers-kill-terminal):
3724 * net/browse-url.el (browse-url):
3725 * server.el (server-save-buffers-kill-terminal):
3726 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3727 Prefer nil to selected-frame for the first arg of frame-parameter.
3728
aeca3fbb
XF
37292013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3730
3731 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3732
158bc55c
SB
37332013-07-30 Stephen Berman <stephen.berman@gmx.net>
3734
3735 * minibuffer.el (completion--twq-all): Try and preserve each
3736 completion's case choice (bug#14907).
3737
d50fceab
LMI
37382013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3739
ac38e731
LMI
3740 * net/network-stream.el (open-network-stream): Mention the new
3741 :nogreeting parameter.
3742 (network-stream-open-starttls): Use the :nogreeting parameter
3743 (bug#14938).
3744
1211de50
LMI
3745 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3746
997798bf
LMI
3747 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3748 more natural than popping.
3749
d50fceab 3750 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3751 (shr-urlify): Highlight under mouse.
d50fceab 3752
5c09de04
XF
37532013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3754
207d1d04
XF
3755 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3756
3757 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3758
5c09de04
XF
3759 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3760 buffer for output.
3761
3cd51eaa
XF
3762 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3763 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3764
44e18199 3765 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3766 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3767
3768 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3769
3770 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3771 buffer for output.
3772
35a89bdd
EZ
37732013-07-29 Eli Zaretskii <eliz@gnu.org>
3774
3775 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3776 initial frame is minibuffer-less. (Bug#14841)
3777
78822e94
MA
37782013-07-29 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3781 option.
3782
3783 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3784 (tramp-maybe-open-connection): Use it.
3785
9503c190
JB
37862013-07-28 Juanma Barranquero <lekktu@gmail.com>
3787
3788 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3789 minimal set of parameters passed when creating a frame, because
3790 the minibuffer status of a frame cannot be changed later.
3791
d5a845b4
SB
37922013-07-28 Stephen Berman <stephen.berman@gmx.net>
3793
3794 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3795 replace-regexp-in-string and inadvertent omissions in previous change.
3796 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3797 name of filtered items buffer.
d5a845b4 3798
ddeffb17
JB
37992013-07-28 Juanma Barranquero <lekktu@gmail.com>
3800
3801 * desktop.el: Optionally force offscreen frames back onscreen.
3802 (desktop-restoring-reuses-frames): New option.
3803 (desktop--compute-pos, desktop--move-onscreen): New functions.
3804 (desktop--make-frame): Use desktop--move-onscreen.
3805
f5950f7a
AM
38062013-07-27 Alan Mackenzie <acm@muc.de>
3807
3808 Fontify a Java generic method as a function.
3809 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3810 value to t.
3811
ae43b66a
SB
38122013-07-27 Stephen Berman <stephen.berman@gmx.net>
3813
3814 * calendar/todo-mode.el: Add command to rename todo files.
3815 (todo-rename-file): New command.
3816 (todo-key-bindings-t): Add key binding for it. Change the
3817 bindings of todo-filter-regexp-items(-multifile) to use `x'
3818 instead of `r', since the latter is better suited to the new
3819 renaming command.
3820
5ab78d3d
AM
38212013-07-27 Alan Mackenzie <acm@muc.de>
3822
3823 Make Java try-with-resources statement parse properly.
3824 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3825 (c-block-stmt-1-2-key): New language constants/variables.
3826 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3827 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3828 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3829 with c-block-stmt-1-2-key.
5ab78d3d 3830
d85c4d50
JB
38312013-07-27 Juanma Barranquero <lekktu@gmail.com>
3832
3833 * desktop.el (desktop--make-frame): Apply most frame parameters after
3834 creating the frame to force (partially or totally) offscreen frames to
3835 be restored as such.
3836
e4c467f9
XF
38372013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3838
3839 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3840 (Bug#14948)
e4c467f9 3841
7ced0d04
SM
38422013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3845 `base' arg of backtrace-frame.
3846
fec92060
EZ
38472013-07-26 Eli Zaretskii <eliz@gnu.org>
3848
3849 * simple.el (list-processes): Doc fix.
3850
d58d31fb
JB
38512013-07-26 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * desktop.el (desktop--select-frame):
d85c4d50 3854 Try harder to reuse existing frames.
d58d31fb 3855
53ff3e77
SM
38562013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3857
3858 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3859 (edebug-eval): Use backtrace-eval.
3860 (edebug--display, edebug--recursive-edit): Don't let-bind the
3861 edebug-outer-* vars that keep track of variables we locally let-bind.
3862 (edebug-outside-excursion): Don't restore outside values of locally
3863 let-bound vars.
3864 (edebug--display): Use user-error.
3865 (cl-lexical-debug, cl-debug-env): Remove.
3866
045f7a53
JB
38672013-07-26 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3870 are restored to be sure that they are visible before deleting any
3871 remaining ones.
3872
59070b32
MM
38732013-07-26 Matthias Meulien <orontee@gmail.com>
3874
742a3501
XF
3875 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3876 vc-print-root-log. (Bug#14948)
59070b32 3877
b1fb3596
RS
38782013-07-26 Richard Stallman <rms@gnu.org>
3879
3880 Add aliases for encrypting mail.
3881 * epa.el (epa-mail-aliases): New option.
3882 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3883 Bind inhibit-read-only so read-only text doesn't ruin everything.
3884 (epa-mail-default-recipients): New subroutine broken out.
3885 Handle epa-mail-aliases.
3886
56ea7291
SM
38872013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 Add support for lexical variables to the debugger's `e' command.
3890 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3891 vars, except for debugger-outer-match-data.
3892 (debugger-frame-number): Move check for "on a function call" from
3893 callers into it. Add `skip-base' argument.
3894 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3895 (debugger-env-macro): Only reset the state stored in non-variables,
3896 i.e. current-buffer and match-data.
3897 (debugger-eval-expression): Rewrite using backtrace-eval.
3898 * subr.el (internal--called-interactively-p--get-frame): Remove.
3899 (called-interactively-p):
3900 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3901 `base' arg of backtrace-frame instead.
3902
15ac32d5
GM
39032013-07-26 Glenn Morris <rgm@gnu.org>
3904
8358a09d
GM
3905 * align.el (align-regexp): Doc fix. (Bug#14857)
3906 (align-region): Explicit error if subexpression missing/does not match.
3907
15ac32d5
GM
3908 * simple.el (global-visual-line-mode):
3909 Do not duplicate the mode lighter. (Bug#14858)
3910
f47ad11b
MR
39112013-07-25 Martin Rudalics <rudalics@gmx.at>
3912
3913 * window.el (display-buffer): In display-buffer bind
3914 split-window-keep-point to t, bug#14829.
3915
02530987
JB
39162013-07-25 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3919 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3920 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3921 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3922 Change accordingly.
f63ebeb5
JB
3923 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3924 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3925
6ccb9cab 39262013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3927
6ccb9cab 3928 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3929
cb3a56d2
JB
39302013-07-25 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3933 parameter to modify-frame-parameters if the value has not changed;
3934 this is a workaround for bug#14949.
3935 (desktop--make-frame): On cl-delete-if call, check parameter name,
3936 not full parameter.
3937
7aa7fff0
XF
39382013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3939
3940 * vc/vc.el (vc-ignore): New function.
3941
3942 * vc/vc-svn.el (vc-svn-ignore): New function.
3943
3944 * vc/vc-hg.el (vc-hg-ignore): New function.
3945
3946 * vc/vc-git.el (vc-git-ignore): New function.
3947
3948 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3949 (vc-dir-ignore): New function.
3950
3951 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3952 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3953
3954 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3955
3956 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3957
889acc5c
JB
39582013-07-24 Juanma Barranquero <lekktu@gmail.com>
3959
3960 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3961 (desktop-restore-frames): Warn when deleting an existing frame failed.
3962
86c40970
GM
39632013-07-24 Glenn Morris <rgm@gnu.org>
3964
3965 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3966
d5d3c58a
MA
39672013-07-24 Michael Albinus <michael.albinus@gmx.de>
3968
3969 * filenotify.el (file-notify-supported-p):
3970 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3971 Remove functions.
3972
3973 * autorevert.el (auto-revert-use-notify):
3974 (auto-revert-notify-add-watch):
3975 * net/tramp.el (tramp-file-name-for-operation):
3976 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3977 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3978 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3980 Remove `file-notify-supported-p' entry.
3981
d100084b
GM
39822013-07-24 Glenn Morris <rgm@gnu.org>
3983
3984 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3985 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3986
ac93e56b
SM
39872013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3988
249eea30
SM
3989 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3990 checked with memq (bug#14935).
3991
ac93e56b
SM
3992 * files.el (revert-buffer-function): Use a non-nil default.
3993 (revert-buffer-preserve-modes): Declare var to
3994 provide access to the `preserve-modes' argument.
3995 (revert-buffer): Let-bind it.
3996 (revert-buffer--default): New function, extracted from revert-buffer.
3997
2cdeb903
SM
39982013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 * lpr.el: Signal print errors more prominently.
4001 (print-region-function): Don't default to nil.
4002 (lpr-print-region): New function, extracted from print-region-1.
4003 Check lpr's return value and signal an error in case of problem.
4004 (print-region-1): Use it.
4005 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4006 versions instead.
4007 (ps-printer-name): Default to nil.
4008 (ps-printer-name-option): Default to lpr-printer-switch.
4009 (ps-print-region-function): Don't default to nil.
4010 (ps-postscript-code-directory): Simplify default.
4011 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4012 (ps-string-list, ps-eval-switch, ps-flatten-list)
4013 (ps-flatten-list-1): Remove.
4014 (ps-multibyte-buffer): Avoid setq.
4015 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4016 (print-region-function, ps-print-region-function): Don't set them here.
4017
73600831
XF
40182013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4019
0e55c076
XF
4020 * ido.el (ido-fractionp):
4021 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4022 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4023 (ido-max-directory-size, ido-max-dir-file-cache)
4024 (ido-decorations): Doc fix.
4025
73600831
XF
4026 * ansi-color.el: Fix old URL.
4027
3d012865
MM
40282013-07-23 Michael R. Mauger <michael@mauger.com>
4029
e903c210 4030 * progmodes/sql.el: Version 3.3
3d012865
MM
4031 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4032 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4033 (sql-interactive-remove-continuation-prompt): Rewrite, use
4034 functions above. Fix continuation prompt and complete output line
4035 handling.
4036 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4037 redirected output buffer.
4038 (sql-mode): Restore deleted code (Bug#13591).
4039
da77a2e2
JB
40402013-07-23 Juanma Barranquero <lekktu@gmail.com>
4041
4042 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4043
80ff0c71
MA
40442013-07-23 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4047
4048 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4049 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4050 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4051
b61d71e4
JB
40522013-07-23 Juanma Barranquero <lekktu@gmail.com>
4053
4054 * desktop.el (desktop-clear): Simplify; remove useless checks
4055 against invalid buffer names.
4056 (desktop-list*): Use cl-list*.
4057 (desktop-buffer-info, desktop-create-buffer): Simplify.
4058
c3512092
LL
40592013-07-23 Leo Liu <sdl.web@gmail.com>
4060
4061 * bookmark.el (bookmark-make-record): Restore NAME as a default
4062 value. (Bug#14933)
4063
0ac26976
SM
40642013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4065
7d22ce18
SM
4066 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4067 extracted from autoload--insert-text.
4068 (autoload--insert-text): Remove.
4069 (autoload--print-cookie-text): New function, extracted from
4070 autoload--insert-cookie-text.
4071 (autoload--insert-cookie-text): Remove.
4072 (autoload-generate-file-autoloads): Adjust calls accordingly.
4073
9b2607e8
SM
4074 * winner.el (winner-hook-installed-p): Remove.
4075 (winner-mode): Simplify accordingly.
4076
c43a8618
SM
4077 * subr.el (add-to-list): Fix compiler-macro when `append' is
4078 not constant. Don't use `cl-member' for the base case.
4079
0ac26976
SM
4080 * progmodes/subword.el: Fix boundary case (bug#13758).
4081 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4082 own group.
4083 (subword-backward-regexp): Make it a constant.
4084 (subword-forward-internal): Don't treat a trailing capital as the
4085 beginning of a word.
4086
6874724a
AR
40872013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4088
4089 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4090 global value of tabulated-list-revert-hook (bug#14930).
4091
70f1b5e8
JB
40922013-07-22 Juanma Barranquero <lekktu@gmail.com>
4093
a1c80d9d
JB
4094 * desktop.el: Require 'cl-lib.
4095 (desktop-before-saving-frames-functions): New hook.
4096 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4097 for frames being saved. Rename from desktop--save-minibuffer-frames.
4098 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4099 Do not save frames with non-nil `desktop-dont-save' parameter.
4100 Filter out deleted frames.
a1c80d9d
JB
4101 (desktop--find-frame): Use cl-find-if.
4102 (desktop--select-frame): Use cl-(first|second|third) to access values
4103 of desktop-mini.
4104 (desktop--make-frame): Use cl-delete-if.
4105 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4106 (desktop-restore-frames): Use cl-(first|second|third) to access values
4107 of desktop-mini. Look for visible frame at the end, not while
4108 restoring frames.
4109
70f1b5e8
JB
4110 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4111 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4112 Use string-match-p, looking-at-p (bug#14927).
4113
728dc3cc
JB
41142013-07-21 Juanma Barranquero <lekktu@gmail.com>
4115
56bc453c
JB
4116 * desktop.el (desktop-saved-frame-states):
4117 Rename from desktop--saved-states; all users changed.
4118 (desktop-save-frames): Rename from desktop--save-frames.
4119 Do not save state to desktop file.
4120 (desktop-save): Save desktop-saved-frame-states to desktop file
4121 and reset to nil.
4122 (desktop-restoring-frames-p): New function.
4123 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4124 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4125 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4126
728dc3cc
JB
4127 * desktop.el: Correctly restore iconified frames.
4128 (desktop--filter-iconified-position): New function.
4129 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4130
862f1c9c
GM
41312013-07-20 Glenn Morris <rgm@gnu.org>
4132
c4074c9f
GM
4133 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4134 Let `message' do the formatting.
4135 (def-gdb-preempt-display-buffer): Add explicit format.
4136
d828e5f9
GM
4137 * image-dired.el (image-dired-track-original-file):
4138 Use with-current-buffer.
4139 (image-dired-track-thumbnail): Use with-current-buffer.
4140 Avoid changing point of wrong window.
4141
862f1c9c
GM
4142 * image-dired.el (image-dired-track-original-file):
4143 Avoid changing point of wrong window. (Bug#14909)
4144
f0398ec1 41452013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4146
4147 * progmodes/gdb-mi.el (gdb-done-or-error):
4148 Guard against "%" in gdb output. (Bug#14127)
4149
1451928f
AS
41502013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4151
763a086d
JB
4152 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4153 (Bug#14826)
f7a03897 4154
1451928f
AS
4155 * international/mule.el (coding-system-iso-2022-flags): Fix last
4156 change.
4157
99107004
KH
41582013-07-20 Kenichi Handa <handa@gnu.org>
4159
763a086d
JB
4160 * international/mule.el (coding-system-iso-2022-flags):
4161 Add `8-bit-level-4'. (Bug#8522)
99107004 4162
48494e06
LMI
41632013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4164
8ba8eec5
LMI
4165 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4166 (bug#14815).
4167
dfbc66e3
LMI
4168 * net/eww.el (eww-process-text-input): Allow inputting when the
4169 point is at the start of the line, as the properties aren't
4170 front-sticky.
4171
48494e06
LMI
4172 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4173 degenerate widths.
4174
77c92cb9
RS
41752013-07-19 Richard Stallman <rms@gnu.org>
4176
aec7da77
RS
4177 * epa.el (epa-popup-info-window): Doc fix.
4178
77c92cb9
RS
4179 * subr.el (split-string): New arg TRIM.
4180
945c5bb1
JB
41812013-07-18 Juanma Barranquero <lekktu@gmail.com>
4182
4183 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4184 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4185
e06ec67f
MA
41862013-07-18 Michael Albinus <michael.albinus@gmx.de>
4187
c7064f05 4188 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4189 `file-notify-support'. Do not autoload. Adapt all uses.
4190 (file-notify-supported-p): New defun.
4191
c7064f05
JB
4192 * autorevert.el (auto-revert-use-notify):
4193 Use `file-notify-supported-p' instead of `file-notify-support'.
4194 Adapt docstring.
e06ec67f
MA
4195 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4196
4197 * net/tramp.el (tramp-file-name-for-operation):
4198 Add `file-notify-supported-p'.
4199
4200 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4201 New defun.
4202 (tramp-sh-file-name-handler-alist): Add it as handler for
4203 `file-notify-supported-p '.
4204
4205 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4206 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4207 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4208 Add `ignore' as handler for `file-notify-*' functions.
4209
5dc8a629
EZ
42102013-07-17 Eli Zaretskii <eliz@gnu.org>
4211
4212 * simple.el (line-move-partial, line-move): Don't start vscroll or
4213 scroll-up if the current line is not taller than the window.
4214 (Bug#14881)
4215
77aea2fb
DG
42162013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4217
4218 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4219 highlight question marks in the method names as strings.
ac72c08d
DG
4220 (ruby-block-beg-keywords): Inline.
4221 (ruby-font-lock-keyword-beg-re): Extract from
4222 `ruby-font-lock-keywords'.
77aea2fb 4223
18c26d81
JD
42242013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4225
4226 * frame.el (blink-cursor-blinks): New defcustom.
4227 (blink-cursor-blinks-done): New defvar.
4228 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4229 (blink-cursor-timer-function): Check if number of blinks has been
4230 done on X and NS.
4231 (blink-cursor-suspend, blink-cursor-check): New defuns.
4232
da48522e
GM
42332013-07-15 Glenn Morris <rgm@gnu.org>
4234
4235 * edmacro.el (edmacro-format-keys): Fix previous change.
4236
0463c1ef
PE
42372013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4238
4239 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4240 The hack didn't work outside English locales anyway.
4241
b43f6451
JB
42422013-07-15 Juanma Barranquero <lekktu@gmail.com>
4243
4244 * simple.el (define-alternatives): Rename from alternatives-define,
4245 per RMS' suggestion.
4246
b958c0ad
JB
42472013-07-14 Juanma Barranquero <lekktu@gmail.com>
4248
4249 * desktop.el (desktop-restore-frames): Change default to t.
4250 (desktop-restore-in-current-display): Now offer more options.
4251 (desktop-restoring-reuses-frames): New customization option.
4252 (desktop--saved-states): Doc fix.
4253 (desktop-filter-parameters-alist): New variable, renamed and expanded
4254 from desktop--excluded-frame-parameters.
4255 (desktop--target-display): New variable.
4256 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4257 (desktop--filter-tty*, desktop--filter-*-color)
4258 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4259 (desktop--filter-save-desktop-parm)
4260 (desktop-restore-in-original-display-p): New functions.
4261 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4262 (desktop--save-minibuffer-frames): New function, inspired by a similar
4263 function from Martin Rudalics.
4264 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4265 (desktop--restore-in-this-display-p): Remove.
4266 (desktop--find-frame): Rename from desktop--find-frame-in-display
4267 and add predicate argument.
4268 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4269 (desktop--reuse-list): New variable.
4270 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4271 New functions.
4272 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4273
f6dd8b36
MA
42742013-07-14 Michael Albinus <michael.albinus@gmx.de>
4275
4276 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4277
2ce3c565
DG
42782013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4279
763a086d
JB
4280 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4281 Highlight conversion methods on Kernel.
2ce3c565 4282
2cdb7698
AM
42832013-07-13 Alan Mackenzie <acm@muc.de>
4284
4285 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4286 and comment it out. This out-commenting enables certain C++
4287 declarations to be parsed correctly.
4288
1a67b811
EZ
42892013-07-13 Eli Zaretskii <eliz@gnu.org>
4290
1b796d6b
EZ
4291 * international/mule.el (define-coding-system): Doc fix.
4292
1a67b811
EZ
4293 * simple.el (default-font-height): Don't call font-info if the
4294 frame's default font didn't change since the frame was created.
4295 (Bug#14838)
4296
58fbe886
LL
42972013-07-13 Leo Liu <sdl.web@gmail.com>
4298
4299 * ido.el (ido-read-file-name): Guard against non-symbol value.
4300
1f0480d4
FEG
43012013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4302
4303 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4304 in nested defuns.
4305
97ead0e5
LL
43062013-07-13 Leo Liu <sdl.web@gmail.com>
4307
4308 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4309 ido-set-matches call. (Bug#6852)
4310
0880a952
DG
43112013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4312
4313 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4314 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4315 Ruby 2.0.
4316 (ruby-font-lock-keywords): Distinguish calls to functions with
4317 module-like names from module references. Highlight character
4318 literals.
4319
a7d8babb
SDJ
43202013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4321
4322 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4323 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4324
acfcc8c5
JB
43252013-07-12 Juanma Barranquero <lekktu@gmail.com>
4326
4327 * desktop.el (desktop--v2s): Remove unused local variable.
4328 (desktop-save-buffer): Make defvar-local; adjust docstring.
4329 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4330 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4331
051f2775
AS
43322013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4333
4334 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4335
f24e7572
GM
43362013-07-12 Eli Zaretskii <eliz@gnu.org>
4337
4338 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4339 (Bug#14842)
4340
539a920c
GM
43412013-07-12 Glenn Morris <rgm@gnu.org>
4342
4343 * doc-view.el: Require cl-lib at runtime too.
4344 (doc-view-remove-if): Remove.
4345 (doc-view-search-next-match, doc-view-search-previous-match):
4346 Use cl-remove-if.
4347
4348 * edmacro.el: Require cl-lib at runtime too.
4349 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4350 (edmacro-mismatch, edmacro-subseq): Remove.
4351
4352 * shadowfile.el: Require cl-lib.
4353 (shadow-remove-if): Remove.
4354 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4355 Use cl-remove-if.
4356
4357 * wid-edit.el: Require cl-lib.
4358 (widget-choose): Use cl-remove-if.
4359 (widget-remove-if): Remove.
4360
4361 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4362 (ebrowse-delete-if-not): Remove.
4363 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4364 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4365 Use cl-delete-if-not.
4366
1048af7c
JB
43672013-07-12 Juanma Barranquero <lekktu@gmail.com>
4368
4369 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4370 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4371
6c0674ee
LL
43722013-07-12 Leo Liu <sdl.web@gmail.com>
4373
4374 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4375
a19b3c2d
GM
43762013-07-11 Glenn Morris <rgm@gnu.org>
4377
4582a01c
GM
4378 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4379 (edebug-gensym-index, edebug-gensym):
4380 Remove reimplementation of cl-gensym.
4381 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4382
4383 * thumbs.el: Require cl-lib at run-time too.
4384 (thumbs-gensym-counter, thumbs-gensym):
4385 Remove reimplementation of cl-gensym.
4386 (thumbs-temp-file): Use cl-gensym.
4387
a19b3c2d
GM
4388 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4389 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4390 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4391 (ert--union, ert--gensym-counter, ert--gensym-counter)
4392 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4393 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4394 (ert-make-test-unbound, ert--expand-should-1)
4395 (ert--expand-should, ert--should-error-handle-error)
4396 (should-error, ert--explain-equal-rec)
4397 (ert--plist-difference-explanation, ert-select-tests)
4398 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4399 Use cl-lib functions rather than reimplementations.
4400
88f6a933
MA
44012013-07-11 Michael Albinus <michael.albinus@gmx.de>
4402
4403 * net/tramp.el (tramp-methods): Extend docstring.
4404 (tramp-connection-timeout): New defcustom.
4405 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4406 (with-tramp-progress-reporter): Simplify.
4407 (tramp-process-actions): Improve messages.
4408
4409 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4410 * net/tramp-sh.el (tramp-maybe-open-connection):
4411 Use `tramp-connection-timeout'.
4412 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4413 (Bug#14808)
4414
a43d577e
LL
44152013-07-11 Leo Liu <sdl.web@gmail.com>
4416
4417 * ido.el (ido-read-file-name): Conform to the requirements of
4418 read-file-name. (Bug#11861)
4419 (ido-read-directory-name): Conform to the requirements of
4420 read-directory-name.
4421
d77974bf
JB
44222013-07-11 Juanma Barranquero <lekktu@gmail.com>
4423
4424 * subr.el (delay-warning): New function.
4425
35cb8a3e
EZ
44262013-07-10 Eli Zaretskii <eliz@gnu.org>
4427
4428 * simple.el (default-line-height): New function.
4429 (line-move-partial, line-move): Use it instead of computing the
4430 line height inline.
4431 (line-move-partial): Always compute ROWH. If the last line is
4432 partially-visible, but its text is completely visible, allow
4433 cursor to enter such a partially-visible line.
4434
525c5c77
MA
44352013-07-10 Michael Albinus <michael.albinus@gmx.de>
4436
4437 Improve error messages. (Bug#14808)
4438
4439 * net/tramp.el (tramp-current-connection): New defvar, moved from
4440 tramp-sh.el.
0ac26976 4441 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4442 needed anymore.
0ac26976
SM
4443 (tramp-error-with-buffer): Show message in minibuffer.
4444 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4445 (with-tramp-progress-reporter): Improve messages.
4446 (tramp-process-actions): Use progress reporter. Delete process in
4447 case of error. Improve messages.
4448
763a086d
JB
4449 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4450 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4451 (tramp-current-connection): Remove.
525c5c77
MA
4452 (tramp-maybe-open-connection): The car of
4453 `tramp-current-connection' are the first 3 slots of the vector.
4454
c7a4d368
TZ
44552013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4456
4457 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4458 inside continued strings.
4459
954b166e
PE
44602013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4461
4462 Timestamp fixes for undo (Bug#14824).
4463 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4464
56973319
LL
44652013-07-10 Leo Liu <sdl.web@gmail.com>
4466
4467 * files.el (require-final-newline): Allow safe local value.
4468 (Bug#14834)
4469
5550a72c
LL
44702013-07-09 Leo Liu <sdl.web@gmail.com>
4471
4472 * ido.el (ido-read-directory-name): Handle fallback.
4473 (ido-read-file-name): Update DIR to ido-current-directory.
4474 (Bug#1516)
c28b9050 4475 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4476
70c46b28
DG
44772013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4478
4479 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4480 "autoload". Remove "warn lower camel case" section, previously
4481 commented out. Highlight negation char. Do not highlight the
4482 target in singleton method definitions.
4483
0b64b838
SM
44842013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4485
7fd72e2c
SM
4486 * faces.el (tty-setup-hook): Declare the hook.
4487
0b64b838
SM
4488 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4489 and detect when a guard/pred depends on local vars (bug#14773).
4490 (pcase--u1): Adjust caller.
4491
ab49d60b
EZ
44922013-07-08 Eli Zaretskii <eliz@gnu.org>
4493
4494 * simple.el (line-move-partial, line-move): Account for
4495 line-spacing.
701d79aa
EZ
4496 (line-move-partial): Avoid setting vscroll when the last
4497 partially-visible line in window is of default height.
ab49d60b 4498
2d756ae0
LMI
44992013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4500
4501 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4502 been used a while.
4503
ed095bd7
JB
45042013-07-07 Juanma Barranquero <lekktu@gmail.com>
4505
4506 * subr.el (read-quoted-char): Remove unused local variable `char'.
4507
f1e6674b
MK
45082013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4509
584ee3fc
GM
4510 * ediff.el (ediff-version): Version update.
4511 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4512 (ediff-merge-with-ancestor-command, ediff-directories-command)
4513 (ediff-directories3-command, ediff-merge-directories-command)
4514 (ediff-merge-directories-with-ancestor-command): New functions.
4515 All are command-line interfaces to ediff: to facilitate calling
4516 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4517
4518 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4519 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4520
584ee3fc
GM
4521 * viper.el (viper-version): Version update.
4522 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4523
584ee3fc
GM
45242013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4527 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4528 (viper-intercept-ESC-key): Simplify.
4529 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4530 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4531 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4532 (viper-setup-ESC-to-escape): New functions.
4533 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4534 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4535
9aff9b38
EZ
45362013-07-07 Eli Zaretskii <eliz@gnu.org>
4537
5165d44a
JB
4538 * simple.el (default-font-height, window-screen-lines):
4539 New functions.
9aff9b38
EZ
4540 (line-move, line-move-partial): Use them instead of
4541 frame-char-height and window-text-height. This makes scrolling
4542 text smoother when the buffer's default face uses a font that is
4543 different from the frame's default font.
4544
1afb1d07
JD
45452013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4546
4547 * files.el (write-file): Do not display confirm dialog for NS,
4548 it does its own dialog, which can't be cancelled (Bug#14578).
4549
23de972a
EZ
45502013-07-06 Eli Zaretskii <eliz@gnu.org>
4551
4552 * simple.el (line-move-partial): Adjust the row returned by
4553 posn-at-point for the current window-vscroll. (Bug#14567)
4554
54a42486
MA
45552013-07-06 Michael Albinus <michael.albinus@gmx.de>
4556
4557 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4558 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4559 spaces.
4560
34ada5f4
MR
45612013-07-06 Martin Rudalics <rudalics@gmx.at>
4562
4563 * window.el (window-state-put-stale-windows): New variable.
4564 (window--state-put-2): Save list of windows without matching buffer.
4565 (window-state-put): Remove "bufferless" windows if possible.
4566
11e03d89
JB
45672013-07-06 Juanma Barranquero <lekktu@gmail.com>
4568
4569 * simple.el (alternatives-define): Remove leftover :group keyword.
4570 Tweak docstring.
4571
3504a4be
LL
45722013-07-06 Leo Liu <sdl.web@gmail.com>
4573
4574 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4575 (ido-enable-virtual-buffers): New variable.
4576 (ido-buffer-internal, ido-toggle-virtual-buffers)
4577 (ido-make-buffer-list): Use it.
4578 (ido-exhibit): Support turning on and off virtual buffers
4579 automatically.
4580
61e56e2c
JB
45812013-07-06 Juanma Barranquero <lekktu@gmail.com>
4582
4583 * simple.el (alternatives-define): New macro.
4584
321e1a9c
SM
45852013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * subr.el (read-quoted-char): Use read-key.
4588 (sit-for): Let read-event decode tty input (bug#14782).
4589
d610f6dd
SB
45902013-07-05 Stephen Berman <stephen.berman@gmx.net>
4591
4592 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4593 mode command and externally. Fix various related bugs.
4594 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4595 (todo-delete-file): New command.
4596 (todo-check-file): New function.
4597 (todo-show): Handle external deletion of the file we're trying to
4598 show (bug#14688). Replace called-interactively-p by an optional
4599 prefix argument to avoid problematic interaction with catch form
4600 when byte compiled (bug#14702).
4601 (todo-quit): Handle external deletion of the archive's todo file.
4602 Make sure the buffer that was visiting the archive file is still
4603 live before trying to bury it.
4604 (todo-category-completions): Handle external deletion of any
4605 category completion files.
4606 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4607 of todo files, in case of external deletion.
4608 (todo-add-file): Replace unnecessary setq by let-binding.
4609 (todo-find-archive): Check whether there are any archives.
4610 Replace unnecessary setq by let-binding.
4611 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4612 archive buffer whether or not the archive already exists.
4613 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4614 check if the archive is new; if it is, update list of archives.
4615 (todo-default-todo-file): Allow nil to be a valid value for when
4616 there are no todo files.
4617 (todo-reevaluate-default-file-defcustom): Use corrected definition
4618 of todo-default-todo-file.
4619 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4620 (todo-delete-category, todo-show-categories-table)
4621 (todo-category-number): Clarify comment.
4622 (todo-filter-items): Clarify documentation string.
4623 (todo-show-current-file, todo-display-as-todo-file)
4624 (todo-reset-and-enable-done-separator): Tweak documentation string.
4625 (todo-done-separator): Make separator length window-width, since
4626 bug#2749 is now fixed.
4627
ddbdfd6f
MA
46282013-07-05 Michael Albinus <michael.albinus@gmx.de>
4629
321e1a9c
SM
4630 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4631 Support both "gvfs-monitor-dir" and "inotifywait".
4632 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4633 `tramp-sh-file-notify-process-filter'.
4634 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4635 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4636
96eb829a
LL
46372013-07-05 Leo Liu <sdl.web@gmail.com>
4638
4639 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4640
cf13177e
YM
46412013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4642
4643 * frame.el (display-pixel-height, display-pixel-width)
4644 (display-mm-height, display-mm-width): Mention behavior on
4645 multi-monitor setups in docstrings.
4646 (w32-display-monitor-attributes-list): Declare function.
4647 (display-monitor-attributes-list): Use it.
4648
864c58ca
MA
46492013-07-04 Michael Albinus <michael.albinus@gmx.de>
4650
4651 * filenotify.el: New package.
4652
4653 * autorevert.el (top): Require filenotify.el.
4654 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4655 instead.
4656 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4657 (auto-revert-notify-handler): Use `file-notify-*' functions.
4658
4659 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4660
321e1a9c
SM
4661 * net/tramp.el (tramp-file-name-for-operation):
4662 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4663
4664 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4665 for `file-notify-add-watch' and `file-notify-rm-watch'.
4666 (tramp-process-sentinel): Improve trace.
4667 (tramp-sh-handle-file-notify-add-watch)
4668 (tramp-sh-file-notify-process-filter)
4669 (tramp-sh-handle-file-notify-rm-watch)
4670 (tramp-get-remote-inotifywait): New defuns.
4671
96673afe
JL
46722013-07-03 Juri Linkov <juri@jurta.org>
4673
4674 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4675 call of `occur-read-primary-args' to interactive spec.
4676
4677 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4678 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4679
924494f4
MM
46802013-07-03 Matthias Meulien <orontee@gmail.com>
4681
4682 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4683 `Buffer-menu-multi-occur'. Add it to the menu.
4684 (Buffer-menu-mode): Document it in docstring.
4685 (Buffer-menu-multi-occur): New command. (Bug#14673)
4686
56f75efc
DG
46872013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4688
4689 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4690 keywords and built-ins.
4691
9b057d61
GM
46922013-07-03 Glenn Morris <rgm@gnu.org>
4693
208dee4d
GM
4694 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4695
9b057d61
GM
4696 Make info-xref checks case-sensitive by default
4697 * info.el (Info-find-node, Info-find-in-tag-table)
4698 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4699 Add option for exact case matching of nodes.
4700 * info-xref.el (info-xref): New custom group.
4701 (info-xref-case-fold): New option.
4702 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4703
e01aa29c
LL
47042013-07-03 Leo Liu <sdl.web@gmail.com>
4705
4706 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4707
3086ca2e
DG
47082013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4709
4710 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4711 middle of block statement initially, lower the depth. Remove
4712 FIXME comment, not longer valid. Remove middle of block statement
4713 detection, no need to do that anymore since we've been using
4714 `ruby-parse-region' here.
4715
a3b49114
JD
47162013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4717
4718 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4719
08e5c823 47202013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4721
4722 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4723
2addf922
JB
47242013-07-01 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4727 (desktop-restore-in-current-display): New customization option.
4728 (desktop--excluded-frame-parameters): Add `font'.
4729 (desktop--save-frames): Rename from desktop--save-windows.
4730 (desktop--restore-in-this-display-p): New function.
4731 (desktop--make-full-frame): Remove unwanted width/height from
4732 full(width|height) frames.
4733 (desktop--restore-frames): Rename from desktop--restore-windows.
4734 Obey desktop-restore-current-display. Do not delete old frames or
4735 select a new frame unless we were able to restore at least one frame.
4736
ef099a94
MN
47372013-06-30 Michal Nazarewicz <mina86@mina86.com>
4738
4739 * files.el (find-file-noselect): Simplify conditional expression.
4740
4741 * remember.el (remember-append-to-file):
4742 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4743
4744 Add `remember-notes' function to store random notes across Emacs
4745 restarts.
4746 * remember.el (remember-data-file): Add :set callback to affect
4747 notes buffer (if any).
4748 (remember-notes): New command.
4749 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4750 New defcustoms for the `remember-notes' function.
4751 (remember-notes-save-and-bury-buffer): New command.
4752 (remember-notes-mode-map): New variable.
4753 (remember-mode): New minor mode.
4754 (remember-notes--kill-buffer-query): New function.
4755 * startup.el (initial-buffer-choice): Add notes to custom type.
4756
0865d506
EZ
47572013-06-30 Eli Zaretskii <eliz@gnu.org>
4758
0ba54312
EZ
4759 * bindings.el (right-char, left-char): Don't call sit-for, this is
4760 no longer needed. Use arithmetic comparison only for numerical
4761 arguments.
4762
ef099a94
MN
4763 * international/mule-cmds.el (select-safe-coding-system):
4764 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4765
2fae38e5
LMI
47662013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4767
4768 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4769 progression on degenerate tables.
ef099a94 4770 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4771
a47cbd64
JB
47722013-06-30 Juanma Barranquero <lekktu@gmail.com>
4773
4774 Some fixes and improvements for desktop frame restoration.
4775 It is still experimental and disabled by default.
4776 * desktop.el (desktop--save-windows): Put the selected frame at
4777 the head of the list.
4778 (desktop--make-full-frame): New function.
4779 (desktop--restore-windows): Try to re-select the frame that was
4780 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4781 just show an error message and continue. Set up maximized frames
4782 so they have default non-maximized dimensions.
a47cbd64 4783
6dbafa30
DG
47842013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4785
ef099a94
MN
4786 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4787 Don't start heredoc inside a string or comment.
6dbafa30 4788
4c672a0f
EZ
47892013-06-29 Eli Zaretskii <eliz@gnu.org>
4790
4791 * bindings.el (visual-order-cursor-movement): New defcustom.
4792 (right-char, left-char): Provide visual-order cursor motion by
4793 calling move-point-visually. Update the doc strings.
4794
50960f36
KH
47952013-06-28 Kenichi Handa <handa@gnu.org>
4796
4797 * international/mule.el (define-coding-system): New coding system
4798 properties :inhibit-null-byte-detection,
4799 :inhibit-iso-escape-detection, and :prefer-utf-8.
4800 (set-buffer-file-coding-system): If :charset-list property of
4801 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4802 appropriate for setting.
4803
c1ea3abf
JB
4804 * international/mule-cmds.el (select-safe-coding-system):
4805 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4806 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4807
4808 * international/mule-conf.el (prefer-utf-8): New coding system.
4809 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4810 files.
4811
75dbaf9d
IK
48122013-06-28 Ivan Kanis <ivan@kanis.fr>
4813
eadb6068
IK
4814 * net/shr.el (shr-render-region): New function.
4815
75dbaf9d
IK
4816 * net/eww.el: Autoload `eww-browse-url'.
4817
9ea5cf9f
DG
48182013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4819
c1ea3abf
JB
4820 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4821 Adapt to `package-desc-version' being a list.
4822 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4823 archive element.
4824
39c0e36f
JB
48252013-06-27 Juanma Barranquero <lekktu@gmail.com>
4826
4827 New experimental feature to save&restore window and frame setup.
4828 * desktop.el (desktop-save-windows): New defcustom.
4829 (desktop--saved-states): New var.
4830 (desktop--excluded-frame-parameters): New defconst.
4831 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4832 (desktop--restore-windows, desktop--save-windows): New functions.
4833 (desktop-save): Call `desktop--save-windows'.
4834 (desktop-read): Call `desktop--restore-windows'.
4835
7f13406b
LMI
48362013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4837
ef099a94 4838 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4839
1e072639
SB
48402013-06-27 Stephen Berman <stephen.berman@gmx.net>
4841
4842 * info.el (Info-try-follow-nearest-node): Move search for footnote
4843 above search for node name to prevent missing a footnote (bug#14717).
4844
f3e2cbde
SB
48452013-06-27 Stephen Berman <stephen.berman@gmx.net>
4846
4847 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4848
99906aa0
LL
48492013-06-27 Leo Liu <sdl.web@gmail.com>
4850
4851 * net/eww.el (eww-read-bookmarks): Check file size.
4852
539f75f4
SM
48532013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4856 advice--pending if newdef is nil or an autoload (bug#13820).
4857 (advice-mapc): New function.
4858
843571cb
LMI
48592013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4860
4861 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4862 probably.
23a75d7f 4863 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4864 (eww-add-bookmark): New command.
4865 (eww-bookmark-mode): New mode and commands.
a285ce99 4866 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4867 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4868
f2136e1e
GM
48692013-06-26 Glenn Morris <rgm@gnu.org>
4870
eab35f39
GM
4871 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4872 (hfy-size): Handle ttys. (Bug#14668)
4873
f2136e1e
GM
4874 * info-xref.el: Update for Texinfo 5 change in *note format.
4875 (info-xref-node-re, info-xref-note-re): New constants.
4876 (info-xref-check-buffer): Use info-xref-note-re.
4877
a49ff80c
SM
48782013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4879
a343d218
SM
4880 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4881
a49ff80c
SM
4882 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4883 nil terminate the loop (bug#14718).
4884
8308f184
LMI
48852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
4887 * net/eww.el: Rework history traversal. When going forward/back,
4888 put these actions into the history, too, so that they can be
4889 replayed.
26bf2b82 4890 (eww-render): Move the history reset to the correct buffer.
8308f184 4891
ec64c273
JL
48922013-06-25 Juri Linkov <juri@jurta.org>
4893
4894 * files-x.el (modify-dir-local-variable): Change the header comment
4895 in the file with directory local variables. (Bug#14692)
4896
e080a9d7
JL
4897 * files-x.el (read-file-local-variable-value): Add `default'.
4898 (Bug#14710)
4899
bfbc93a1
IK
49002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4901
4902 * net/eww.el (eww-make-unique-file-name): Create a unique file
4903 name before saving to entering `y' accidentally asynchronously.
4904
49052013-06-25 Ivan Kanis <ivan@kanis.fr>
4906
4907 * net/eww.el (eww-download): New command and keystroke.
4908
16f74f10
LMI
49092013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4910
a49ff80c 4911 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4912
4913 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4914 be more consistent with Info and dired.
4915
4916 * net/eww.el (eww-mode-map): Ditto.
4917
12059709
SM
49182013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4921 packages from archives.
4922 (package-archive-contents): Change format; include obsolete packages.
4923 (package-desc): Use `dir' to mark builtin packages.
4924 (package--from-builtin): Set the `dir' field to `builtin'.
4925 (generated-autoload-file, version-control): Declare.
4926 (package-compute-transaction): Change first arg and return value to be
4927 lists of package-descs. Adjust to new package-archive-contents format.
4928 (package--add-to-archive-contents): Adjust to new
4929 package-archive-contents format.
4930 (package-download-transaction): Arg is now a list of package-descs.
4931 (package-install): If `pkg' is a package name, pass it as
4932 a requirement, so it is subject to the usual (e.g. disabled) checks.
4933 (describe-package): Accept package-desc as well.
4934 (describe-package-1): Describe a specific package-desc. Add links to
4935 other package-descs for the same package name.
4936 (package-menu-describe-package): Pass the actual package-desc.
4937 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4938 works correctly.
4939 (package-desc-status): New function.
4940 (package-menu--refresh): New function, extracted
4941 from package-menu--generate.
4942 (package-menu--generate): Use it.
4943 (package-delete): Update package-alist.
4944 (package-menu-execute): Don't call package-initialize.
4945
4946 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4947 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4948 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4949 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4950 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4951 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4952
8bbdea0f
MR
49532013-06-25 Martin Rudalics <rudalics@gmx.at>
4954
4955 * window.el (window--state-get-1): Workaround for bug#14527.
4956 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4957
e82b0991
LMI
49582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4959
4960 * net/eww.el (eww-back-url): Implement the history by stashing all
4961 the data into a list.
d3f0f918 4962 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4963
c763842b
SM
49642013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4967 for values and use read--expression for expressions (bug#14710).
4968 (read-file-local-variable): Avoid setq.
4969 (read-file-local-variable-mode): Use minor-mode-list.
4970
bceff189
RW
49712013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4972
864c58ca 4973 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4974 for DOI URLs.
4975
45f431c6
RW
49762013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4977
864c58ca 4978 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4979 Update imenu-support when dialect changes.
4980
f42d8237
LL
49812013-06-25 Leo Liu <sdl.web@gmail.com>
4982
4983 * ido.el (ido-read-internal): Allow forward slash on windows.
4984
be549ce6
LMI
49852013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4986
4987 * net/eww.el (eww): Start of strings is \\`, not ^.
4988
71d4c19d
IK
49892013-06-24 Ivan Kanis <ivan@kanis.fr>
4990
5196f88a
IK
4991 * net/shr.el (shr-browse-url): Fix interactive spec.
4992
71d4c19d
IK
4993 * net/eww.el (eww): Add a trailing slash to domain names.
4994
ae36ca55
JB
49952013-06-24 Juanma Barranquero <lekktu@gmail.com>
4996
4997 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4998
0ebd92a3
LMI
49992013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5000
bdaa086b
LMI
5001 * net/shr.el (shr-browse-url): Use an external browser if given a
5002 prefix.
5003
c763842b 5004 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5005
b89fc156
IK
50062013-06-24 Ivan Kanis <ivan@kanis.fr>
5007
5008 * net/eww.el (eww): Work more correctly for file: URLs.
5009 (eww-detect-charset): Allow quoted charsets.
5010 (eww-yank-page-url): New command and keystroke.
5011
18eb4bca
DU
50122013-06-24 Daiki Ueno <ueno@gnu.org>
5013
5014 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5015 file name of gpg executable.
5016 (epg-context-program): New function.
5017 (epg-context-home-directory): New function.
5018 (epg-context-set-program): New function.
5019 (epg-context-set-home-directory): New function.
5020 (epg--start): Use `epg-context-program' instead of
5021 'epg-gpg-program'.
5022 (epg--list-keys-1): Likewise.
5023
6c6268c8
LL
50242013-06-24 Leo Liu <sdl.web@gmail.com>
5025
5026 * ido.el (ido-read-internal): Fix bug#14620.
5027
5e400cb3
JB
50282013-06-23 Juanma Barranquero <lekktu@gmail.com>
5029
5030 * faces.el (face-documentation): Simplify.
5031 (read-face-attribute, tty-find-type, x-resolve-font-name):
5032 Use `string-match-p'.
5033 (list-faces-display): Use `string-match-p'. Simplify.
5034 (face-spec-recalc): Check face to avoid face alias loops.
5035 (read-color): Use `string-match-p' and non-capturing parenthesis.
5036
f3f9606c
LMI
50372013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5038
5039 * net/shr.el (shr-rescale-image): Use the new
5040 :max-width/:max-height functionality.
5041
a3ca09b9
IK
50422013-06-23 Ivan Kanis <ivan@kanis.fr>
5043
5044 * net/eww.el (eww-search-prefix): New variable.
5045 (eww): Use it.
f865b474
IK
5046 (eww-external-browser): New variable.
5047 (eww-mode-map): New keystroke.
5048 (eww-browse-with-external-browser): New command.
a3ca09b9 5049
e854cfc7
IK
5050 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5051
18bb9e21
JB
50522013-06-23 Juanma Barranquero <lekktu@gmail.com>
5053
5054 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5055 Don't skip aligning the next header field when padding is 0;
5056 otherwise, field width is not respected unless the title is as
5057 wide as the field.
5058
5b165ade
SM
50592013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * emacs-lisp/package.el (package-el-version): Remove.
5062 (package-process-define-package): Fix inf-loop.
5063 (package-install): Allow symbols as arguments again.
5064
12adebe9
DG
50652013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5066
5067 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5068 add some more keyword-like methods.
5069 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5070
388573ee
JB
50712013-06-22 Juanma Barranquero <lekktu@gmail.com>
5072
5073 * bs.el (bs-buffer-show-mark): Make defvar-local.
5074 (bs-mode): Use setq-local.
5075
5076 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5077 (emacs-lock--try-unlocking): Make defvar-local.
5078
4582a01c 50792013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5080
2663dd23
GM
5081 * play/cookie1.el (cookie-apropos): Minor simplification.
5082
3d94f3ad
GM
5083 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5084
f72e2fdb
DG
50852013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5086
5087 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5088 `regexp-opt', it breaks the build during dumping.
5089
73eab938
DG
50902013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5091
c763842b
SM
5092 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5093 Highlight keyword-like methods on Kernel and Module with
73eab938 5094 font-lock-builtin-face.
5cf8176d
DG
5095 (auto-mode-alist): Consolidate different entries into one regexp
5096 and add more *file-s.
73eab938 5097
d26255f6
SB
50982013-06-21 Stephen Berman <stephen.berman@gmx.net>
5099
5100 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5101
5102 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5103 (diary-entry): Use it in the action of this button type instead of
5104 diary-goto-entry.
5105
5106 * calendar/todo-mode.el: New version.
5107 (todo-add-category): Append new category to end of file and give
5108 it the highest number, instead of putting it at the beginning and
5109 giving it 0. Incorporate noninteractive functionality.
5110 (todo-forward-category): Adapt to 1-based category numbering.
5111 Allow skipping over archived categories.
5112 (todo-backward-category): Derive from todo-forward-category.
5113 (todo-backward-item, todo-forward-item): Make noninteractive and
5114 delegate interactive part to new commands. Make sensitive to done items.
5115 (todo-categories): Make value an alist of category names and
5116 vectors of item counts.
5117 (todo-category-beg): Make a defconst.
5118 (todo-category-number): Use 1 instead of 0 as initial value.
5119 (todo-category-select): Make sensitive to overlays, optional item
5120 highlighting and done items.
5121 (todo-delete-item): Make sensitive to overlays and marked and done items.
5122 (todo-edit-item): Make sensitive to overlays and editing of
5123 date/time header optional. Add format checks.
5124 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5125 no-op if point is not on an item. Advertise using todo-edit-quit.
5126 (todo-edit-mode): Make sensitive to new format, font-locking, and
5127 multiple todo files.
5128 (todo-insert-item, todo-insert-item-here): Derive from
5129 todo-basic-insert-item and extend functionality.
5130 (todo-item-end, todo-item-start): Make sensitive to done items.
5131 (todo-item-string): Don't return text properties. Restore point.
5132 (todo-jump-to-category): Make sensitive to multiple todo files and
5133 todo archives. Use extended category completion.
5134 (todo-lower-item, todo-raise-item): Rename to *-priority and
5135 derive from todo-set-item-priority.
5136 (todo-mode): Derive from special-mode. Make sensitive to new
5137 format, font-locking and multiple todo files. Make read-only.
5138 (todo-mode-map): Don't suppress digit keys, so they can supply
5139 prefix arguments. Add many new key bindings.
5140 (todo-prefix): Insert as an overlay instead of file text.
5141 Change semantics from diary date expression to purely visual mark.
5142 (todo-print): Rename to todo-print-buffer. Make buffer display
5143 features printable. Remove option to restrict number of items
5144 printed. Add option to print to file.
5145 (todo-print-function): Rename to todo-print-buffer-function.
5146 (todo-quit): Extend to handle exiting new todo modes.
5147 (todo-remove-item): Make sensitive to overlays.
5148 (todo-save): Extend to buffers of filtered items.
5149 (todo-show): Make sensitive to done items, multiple todo files and
5150 new todo modes. Offer to convert legacy todo file before creating
5151 first new todo file.
5152 (todo-show-priorities): Rename to todo-top-priorities.
5153 Change semantics of value 0.
5154 (todo-top-priorities): Rename to todo-filter-top-priorities,
5155 derive from todo-filter-items and extend functionality.
5156 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5157 and extend functionality to other types of filtered items.
5158 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5159 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5160 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5161 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5162 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5163 (todo-edit-mode-hook, todo-entry-prefix-function)
5164 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5165 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5166 (todo-initials, todo-insert-threshold, todo-item-string-start)
5167 (todo-line-string, todo-menu, todo-mode-hook)
5168 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5169 (todo-print-priorities, todo-remove-separator)
5170 (todo-save-top-priorities-too, todo-string-count-lines)
5171 (todo-string-multiline-p, todo-time-string-format)
5172 (todo-tmp-buffer-name): Remove.
5173 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5174 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5175 (todo-edit-category-diary-inclusion)
5176 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5177 (todo-edit-file, todo-edit-item-date-day)
5178 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5179 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5180 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5181 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5182 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5183 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5184 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5185 (todo-filter-top-priorities-multifile, todo-find-archive)
5186 (todo-find-filtered-items-file, todo-go-to-source-item)
5187 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5188 (todo-jump-to-archive-category, todo-lower-category)
5189 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5190 (todo-move-category, todo-move-item, todo-next-button)
5191 (todo-next-item, todo-padded-string, todo-powerset)
5192 (todo-previous-button, todo-previous-item)
5193 (todo-print-buffer-to-file, todo-raise-category)
5194 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5195 (todo-set-category-number, todo-set-item-priority)
5196 (todo-set-top-priorities-in-category)
5197 (todo-set-top-priorities-in-file, todo-show-categories-table)
5198 (todo-sort-categories-alphabetically-or-numerically)
5199 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5200 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5201 (todo-toggle-item-header, todo-toggle-item-highlighting)
5202 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5203 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5204 (todo-unarchive-items, todo-unmark-category): New commands.
5205 (todo-absolute-file-name, todo-add-to-buffer-list)
5206 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5207 (todo-basic-insert-item, todo-category-completions)
5208 (todo-category-number, todo-category-string-matcher-1)
5209 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5210 (todo-check-format, todo-clear-matches)
5211 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5212 (todo-current-category, todo-date-string-matcher)
5213 (todo-define-insertion-command, todo-diary-expired-matcher)
5214 (todo-diary-goto-entry, todo-diary-item-p)
5215 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5216 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5217 (todo-done-item-section-p, todo-done-separator)
5218 (todo-done-string-matcher, todo-files, todo-filter-items)
5219 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5220 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5221 (todo-insert-category-line, todo-insert-item-from-calendar)
5222 (todo-insert-sort-button, todo-insert-with-overlays)
5223 (todo-insertion-command-name, todo-insertion-key-bindings)
5224 (todo-label-to-key, todo-longest-category-name-length)
5225 (todo-make-categories-list, todo-mode-external-set)
5226 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5227 (todo-modes-set-3, todo-multiple-filter-files)
5228 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5229 (todo-read-category, todo-read-date, todo-read-dayname)
5230 (todo-read-file-name, todo-read-time)
5231 (todo-reevaluate-category-completions-files-defcustom)
5232 (todo-reevaluate-default-file-defcustom)
5233 (todo-reevaluate-filelist-defcustoms)
5234 (todo-reevaluate-filter-files-defcustom)
5235 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5236 (todo-reset-done-separator, todo-reset-done-separator-string)
5237 (todo-reset-done-string, todo-reset-global-current-todo-file)
5238 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5239 (todo-reset-prefix, todo-set-categories)
5240 (todo-set-date-from-calendar, todo-set-show-current-file)
5241 (todo-set-top-priorities, todo-short-file-name)
5242 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5243 (todo-total-item-counts, todo-update-buffer-list)
5244 (todo-update-categories-display, todo-update-categories-sexp)
5245 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5246 New functions.
5247 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5248 New major modes.
5249 (todo-categories, todo-display, todo-edit, todo-faces)
5250 (todo-filtered): New defgroups.
5251 (todo-archived-only, todo-button, todo-category-string, todo-date)
5252 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5253 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5254 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5255 (todo-add-item-if-new-category, todo-always-add-time-string)
5256 (todo-categories-align, todo-categories-archived-label)
5257 (todo-categories-category-label, todo-categories-diary-label)
5258 (todo-categories-done-label, todo-categories-number-separator)
5259 (todo-categories-todo-label, todo-categories-totals-label)
5260 (todo-category-completions-files, todo-completion-ignore-case)
5261 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5262 (todo-done-separator-string, todo-done-string)
5263 (todo-files-function, todo-filter-done-items, todo-filter-files)
5264 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5265 (todo-initial-category, todo-initial-file, todo-item-mark)
5266 (todo-legacy-date-time-regexp, todo-mode-line-function)
5267 (todo-nondiary-marker, todo-number-prefix)
5268 (todo-print-buffer-function, todo-show-current-file)
5269 (todo-show-done-only, todo-show-first, todo-show-with-done)
5270 (todo-skip-archived-categories, todo-top-priorities-overrides)
5271 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5272 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5273 New defcustoms.
5274 (todo-category-done, todo-date-pattern, todo-date-string-start)
5275 (todo-diary-items-buffer, todo-done-string-start)
5276 (todo-filtered-items-buffer, todo-item-start)
5277 (todo-month-abbrev-array, todo-month-name-array)
5278 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5279 (todo-top-priorities-buffer): New defconsts.
5280 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5281 (todo-categories-with-marks, todo-category-string-face)
5282 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5283 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5284 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5285 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5286 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5287 (todo-font-lock-keywords, todo-global-current-todo-file)
5288 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5289 (todo-insertion-commands-args)
5290 (todo-insertion-commands-args-genlist)
5291 (todo-insertion-commands-names, todo-insertion-map)
5292 (todo-key-bindings-t, todo-key-bindings-t+a)
5293 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5294 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5295 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5296 (todo-visited): New variables.
5297
cad5d1cb
GM
52982013-06-21 Glenn Morris <rgm@gnu.org>
5299
5300 * play/cookie1.el (cookie-apropos): Add optional display argument.
5301 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5302 (psychoanalyze-pinhead): Use cookie-doctor.
5303
9e277302
JB
53042013-06-21 Juanma Barranquero <lekktu@gmail.com>
5305
5306 * emacs-lisp/package.el (tar-get-file-descriptor)
5307 (tar--extract): Declare.
5308
c5b0993e
EW
53092013-06-21 Eduard Wiebe <usenet@pusto.de>
5310
5311 Extend flymake's warning predicate to be a function (bug#14217).
5312 * progmodes/flymake.el (flymake-warning-predicate): New.
5313 (flymake-parse-line): Use it.
5314 (flymake-warning-re): Make obsolete alias to
5315 `flymake-warning-predicate'.
5316
a7d2d465
SM
53172013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5320 (package-obsolete-list): Remove.
5321 (package-activate): Remove min-version argument. Add `force' argument.
5322 Adjust to new package-alist format.
5323 (package-mark-obsolete): Remove.
5324 (package-unpack): Force reload of the package's autoloads.
5325 (package-installed-p): Check builtins if the installed package is not
5326 recent enough.
5327 (package-initialize): Don't reset package-obsolete-list.
5328 Don't specify which package version to activate.
5329 (package-process-define-package, describe-package-1)
5330 (package-menu--generate): Adjust to new package-alist format.
5331
cedf5c9d
JB
53322013-06-21 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * allout-widgets.el (allout-widgets-mode-off)
5335 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5336 (allout-widgets-post-command-business)
5337 (allout-widgets-after-copy-or-kill-function)
5338 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5339 (allout-decorate-item-and-context)
5340 (allout-graphics-modification-handler): Fix typos in docstrings.
5341 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5342
5343 * cmuscheme.el (scheme-start-file): Doc fix.
5344 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5345 (scheme-input-filter): Use `string-match-p'.
5346
5347 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5348
5349 * dired-x.el: Use Dired consistently in docstrings.
5350
5351 * dired.el: Use Dired consistently in docstrings.
5352 (dired-readin, dired-mode): Use `setq-local'.
5353 (dired-switches-alist): Make defvar-local.
5354 (dired-buffers-for-dir): Use `zerop'.
5355 (dired-safe-switches-p, dired-switches-escape-p)
5356 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5357 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5358 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5359 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5360 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5361 (dired-toggle-marks, dired-mark-files-containing-regexp)
5362 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5363 (dired-flag-auto-save-files, dired-flag-backup-files):
5364 Use `looking-at-p'.
5365 (dired-mark-files-regexp, dired-build-subdir-alist):
5366 Use `string-match-p', `looking-at-p'.
5367
5368 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5369 (direct-print-region-helper): Use `string-match-p'.
5370
aed838b5
LL
53712013-06-21 Leo Liu <sdl.web@gmail.com>
5372
cedf5c9d
JB
5373 * comint.el (comint-redirect-results-list-from-process):
5374 Fix infinite loop.
aed838b5 5375
d80a808f
LMI
53762013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5377
5378 * net/eww.el (eww-update-header-line-format): Quote % characters.
5379
e7a526e3
GM
53802013-06-21 Glenn Morris <rgm@gnu.org>
5381
5382 * play/cookie1.el (cookie): New custom group.
5383 (cookie-file): New option.
5384 (cookie-check-file): New function.
5385 (cookie): Make it interactive. Make start and end messages optional.
5386 Interactively, display the result. Default to cookie-file.
5387 (cookie-insert): Default to cookie-file.
5388 (cookie-snarf): Make start and end messages optional.
5389 Default to cookie-file. Use with-temp-buffer.
5390 (cookie-read): Rename from read-cookie.
5391 Make start and end messages optional. Default to cookie-file.
5392 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5393 Do not autoload it.
e7a526e3
GM
5394 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5395 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5396
62efb35e
LL
53972013-06-21 Leo Liu <sdl.web@gmail.com>
5398
5399 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5400
21e3f963
GM
54012013-06-21 Glenn Morris <rgm@gnu.org>
5402
5403 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5404
fd846ab4
SM
54052013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5406 Daniel Hackney <dan@haxney.org>
5407
5408 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5409 Consolidate the single-file vs tarball code.
5410 (package-desc-suffix): New function.
5411 (package-desc-full-name): Don't bother inlining it.
5412 (package-load-descriptor): Return the new package-desc.
5413 (package-mark-obsolete): Remove unused arg `package'.
5414 (package-unpack): Make it work for single files as well.
5415 Make it update package-alist.
5416 (package--make-autoloads-and-stuff): Rename from
5417 package--make-autoloads-and-compile. Don't compile any more.
5418 (package--compile): New function.
5419 (package-generate-description-file): New function, extracted from
5420 package-unpack-single.
5421 (package-unpack-single): Remove.
5422 (package--with-work-buffer): Add indentation and debugging info.
5423 (package-download-single): Remove.
5424 (package-install-from-archive): Rename from package-download-tar, make
5425 it take a pkg-desc, and make it work for single files as well.
5426 (package-download-transaction): Simplify.
5427 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5428 external tar program.
5429 (package-install-from-buffer): Remove `pkg-desc' argument.
5430 Use package-tar-file-info for tar-mode buffers.
5431 (package-install-file): Simplify accordingly.
5432 (package-archive-base): Change to take a pkg-desc.
5433 * tar-mode.el (tar--check-descriptor): New function, extracted from
5434 tar-get-descriptor.
5435 (tar-get-descriptor): Use it.
5436 (tar-get-file-descriptor): New function.
5437 (tar--extract): New function, extracted from tar-extract.
5438 (tar--extract): Use it.
5439 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5440 case the summary uses non-ascii. Adjust to new calling convention of
5441 package-tar-file-info.
5442
b7deae5e
LL
54432013-06-21 Leo Liu <sdl.web@gmail.com>
5444
fd846ab4
SM
5445 * comint.el (comint-redirect-results-list-from-process):
5446 Fix random delay. (Bug#14681)
b7deae5e 5447
7a65a0b2
JB
54482013-06-21 Juanma Barranquero <lekktu@gmail.com>
5449
5450 * profiler.el (profiler-format-number): Use log, not log10.
5451
1493c2af
JB
54522013-06-20 Juanma Barranquero <lekktu@gmail.com>
5453
5454 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5455
aff6371e
SM
54562013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5459 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5460 yet available.
5461 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5462 (AUTOGENEL): ... here.
5463 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5464 (cl--defsubst-expand): Use it.
5465
89561f72
PE
54662013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5467
5468 * subr.el (log10): Move here from C code, and declare as obsolete.
5469 All uses of (log10 X) replaced with (log X 10).
5470
47199123
JB
54712013-06-20 Juanma Barranquero <lekktu@gmail.com>
5472
5473 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5474 Declare with `defvar-local'.
5475 (tabulated-list-use-header-line, tabulated-list-entries)
5476 (tabulated-list-padding, tabulated-list-printer)
5477 (tabulated-list-sort-key): Declare with `defvar-local'.
5478 (tabulated-list-init-header, tabulated-list-print-fake-header):
5479 Use `setq-local'.
5480
4a172eab
MA
54812013-06-20 Michael Albinus <michael.albinus@gmx.de>
5482
47199123
JB
5483 * arc-mode.el (archive-mode): Add `archive-write-file' to
5484 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5485
5fc0acc0
JB
54862013-06-20 Juanma Barranquero <lekktu@gmail.com>
5487
d5b27848
JB
5488 * cus-edit.el (custom-commands): Fix typos.
5489 (custom-display): Fix tooltip text.
5490 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5491 Fix typos in docstrings.
5492 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5493 (custom-unlispify-menu-entry, custom-magic-value-create)
5494 (custom-add-see-also, custom-group-value-create): Use ?\s.
5495 (custom-guess-type, customize-apropos, editable-field)
5496 (custom-face-value-create): Use `string-match-p'.
5497 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5498
5499 * custom.el (custom-load-symbol): Use `string-match-p'.
5500
a5c581d8
JB
5501 * ansi-color.el: Convert to lexical binding.
5502 (ansi-colors): Fix URL.
5503 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5504 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5505 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5506
970ad972
G
55072013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5508
5509 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5510
5511 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5512
55132013-06-19 Tom Tromey <tromey@redhat.com>
5514
5515 * net/eww.el (eww-top-url): Remove.
5516 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5517 (eww-render): Set new variables. Don't set eww-top-url.
5518 (eww-handle-link): Handle "prev", "home", and "contents".
5519 Downcase the rel text.
5520 (eww-top-url): Choose best top URL.
5521
55222013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5523
5524 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5525 relying in widget.el. Using widget.el leads to too many
5526 user interface inconsistencies.
5527 (eww-self-insert): Implement entering commands in text fields.
5528 (eww-process-text-input): New function to make text input field editing
5529 work.
5530 (eww-submit): Rewrite to use the new-style form methods.
5531 (eww-select-display): Display the correct selected item.
5532 (eww-change-select): Implement changing the select value.
5533 (eww-toggle-checkbox): Implement radio/checkboxes.
5534 (eww-update-field): Fix compilation error.
5535 (eww-tag-textarea): Implement <textarea>.
5536
5537 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5538 we don't shadow mode-specific bindings.
5539
5540 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5541 nothing to push.
5542
5543 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5544
4582a01c 55452013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5546
5547 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5548
15b263dc
MA
55492013-06-19 Michael Albinus <michael.albinus@gmx.de>
5550
5551 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5552 not needed.
5553
5554 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5555
8f5297f7
LMI
55562013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5557
5558 * net/browse-url.el (browse-url-browser-function):
5559 `eww-browse-url' has the right calling signature, `eww' does not.
5560
011c4552
GM
55612013-06-19 Glenn Morris <rgm@gnu.org>
5562
2285bd27
GM
5563 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5564 Only eval autoloaded macros.
5565 (byte-compile-autoload): Only give the macro warning for macros.
5566
1d653303
GM
5567 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5568 (ps-underlined-faces): Declare.
5569
bdd779ec
GM
5570 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5571 (speedbar-add-supported-extension): Declare.
5572
011c4552
GM
5573 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5574 Don't include a date stamp in the header of the generated file;
5575 it leads to needless differences between output files.
5576
e59dfb0e
MA
55772013-06-19 Michael Albinus <michael.albinus@gmx.de>
5578
c763842b
SM
5579 * net/secrets.el (secrets-struct-secret-content-type):
5580 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5581 Some servers do not offer introspection.
e59dfb0e 5582
102626e2
SM
55832013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * electric.el (electric-pair-mode): Improve interaction with
5586 electric-layout-mode.
5587 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5588 (electric-pair-syntax): Use text-mode-syntax-table in comments
5589 and strings.
5590 (electric-pair--insert): New function.
5591 (electric-pair-post-self-insert-function): Use it and
5592 electric--after-char-pos.
5593
ad528125
LL
55942013-06-19 Leo Liu <sdl.web@gmail.com>
5595
5596 * progmodes/octave.el (octave-help): Fix regexp.
5597
924d6997
G
55982013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5599
5600 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5601 (shr-table-horizontal-line): Allow nil as a value, and change the
5602 default.
5603 (shr-insert-table-ruler): Respect the nil value.
5604
56052013-06-18 Tom Tromey <tromey@barimba>
5606
5607 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5608 New defvars.
5609 (eww-open-file): New defun.
5610 (eww-render): Initialize new variables.
5611 (eww-display-html): Handle "link" and "a".
5612 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5613 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5614 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5615 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5616 New defuns.
924d6997 5617
d1bbba4f
DG
56182013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5619
5620 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5621 Distinguish ternary operator tokens from slash symbol and slash
5622 char literal.
5623
14dd22d2
JB
56242013-06-18 Juanma Barranquero <lekktu@gmail.com>
5625
5626 Convert symbol prettification into minor mode and global minor mode.
5627
5628 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5629 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5630 (prettify-symbols--keywords): Rename from
5631 `prog-prettify-symbols-alist' and make a local defvar.
5632 (prettify-symbols--compose-symbol): Rename from
5633 `prog--prettify-font-lock-compose-symbol'.
5634 (prettify-symbols--make-keywords): Rename from
5635 `prog-prettify-font-lock-symbols-keywords' and simplify.
5636 (prog-prettify-install): Remove.
5637 (prettify-symbols-mode): New minor mode, based on
5638 `prog-prettify-install'.
5639 (turn-on-prettify-symbols-mode): New function.
5640 (global-prettify-symbols-mode): New globalized minor mode.
5641
5642 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5643 * progmodes/cfengine.el (cfengine3-mode):
5644 * progmodes/perl-mode.el (perl-mode): Don't call
5645 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5646
292c880c
JL
56472013-06-18 Juri Linkov <juri@jurta.org>
5648
5649 * files-x.el (modify-file-local-variable-message): New function.
5650 (modify-file-local-variable)
5651 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5652 and call `modify-file-local-variable-message' when it's non-nil.
5653 (add-file-local-variable, delete-file-local-variable)
5654 (add-file-local-variable-prop-line)
5655 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5656 and use it. (Bug#9820)
5657
0950aa27
JL
56582013-06-18 Juri Linkov <juri@jurta.org>
5659
5660 * emulation/vi.el (vi-shell-op):
5661 * emulation/vip.el (vip-execute-com, ex-command):
5662 * emulation/viper-cmd.el (viper-exec-bang):
5663 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5664 the call of `shell-command-on-region'. (Bug#14637)
5665
5666 * simple.el (shell-command-on-region): Doc fix.
5667
8fbcca16
SM
56682013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5671 (bug#14633).
5672
dd7426ea
GM
56732013-06-18 Glenn Morris <rgm@gnu.org>
5674
4ba54f7d
GM
5675 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5676
dd7426ea
GM
5677 * newcomment.el (comment-search-forward, comment-search-backward):
5678 Doc fix. (Bug#14376)
5679
58aa805b
JB
56802013-06-18 Juanma Barranquero <lekktu@gmail.com>
5681
5682 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5683 (buffer-face-mode-invoke): Doc fix.
5684
9a08a617
MM
56852013-06-18 Matthias Meulien <orontee@gmail.com>
5686
5687 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5688 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5689
f2f426ca
GM
56902013-06-18 Glenn Morris <rgm@gnu.org>
5691
9445f99b
GM
5692 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5693 Replace obsolete function generic-make-keywords with its expansion.
5694
e0df2d14
GM
5695 * progmodes/python.el (ffap-alist): Declare.
5696
f2f426ca
GM
5697 * textmodes/reftex.el (bibtex-mode-map): Declare.
5698
f7f9a720
SM
56992013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5702 (package-unpack, package-unpack-single): Return the pkg-dir.
5703 (package-download-transaction): Use it to update package-alist.
5704
57ff04e0
LMI
57052013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5706
5707 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5708 possible choice.
5709
c048c022
JL
57102013-06-17 Juri Linkov <juri@jurta.org>
5711
5712 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5713
b5bcaee5
DG
57142013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5715
a020afb9
JB
5716 * emacs-lisp/package.el (package-load-descriptor):
5717 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5718 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5719
551e07e5
JB
57202013-06-17 Juanma Barranquero <lekktu@gmail.com>
5721
5722 * startup.el (command-line): Expand package name returned by
5723 `package--description-file' (bug#14639).
5724
d363bffb
DG
57252013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5726
5727 * emacs-lisp/package.el (package-load-descriptor): Do not call
5728 `emacs-lisp-mode', just use its syntax table.
5729
f612933b
JB
57302013-06-17 Juanma Barranquero <lekktu@gmail.com>
5731
5732 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5733 `font-lock-extra-managed-props' if any prettifying keyword is added.
5734 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5735 (prog-mode): Use `setq-local'.
5736
db3b7db5
SM
57372013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * international/characters.el (standard-case-table): Set syntax of ?»
5740 and ?« to punctuation.
5741
f3d674df
JB
57422013-06-16 Juanma Barranquero <lekktu@gmail.com>
5743
5744 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5745 Save relevant match data before calling `syntax-ppss' (bug#14595).
5746
31489a32
JL
57472013-06-15 Juri Linkov <juri@jurta.org>
5748
5749 * files-x.el (modify-file-local-variable-prop-line): Add local
5750 variables to the end of the existing comment on the first line.
5751 Use `file-auto-mode-skip' to skip interpreter magic line,
5752 and also skip XML declaration.
5753
66bd25ab
SM
57542013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * startup.el (package--builtin-versions): New var.
5757 (package-subdirectory-regexp): Remove.
5758 (package--description-file): Hard code its value instead.
5759
5760 * emacs-lisp/package.el: Don't activate packages older than builtin.
5761 (package-obsolete-list): Rename from package-obsolete-alist, and make
5762 it into a simple list of package-desc.
5763 (package-strip-version): Remove.
5764 (package-built-in-p): Use package--builtin-versions.
5765 (package-mark-obsolete): Simplify.
5766 (package-process-define-package): Mark it obsolete if older than the
5767 builtin version.
5768 (package-handle-response): Use line-end-position.
5769 (package-read-archive-contents, package--download-one-archive):
5770 Simplify.
5771 (package--add-to-archive-contents): Skip if older than the builtin or
5772 installed version.
5773 (package-menu-describe-package): Fix last change.
5774 (package-list-unversioned): New var.
5775 (package-menu--generate): Use it.
5776
5777 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5778 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5779 (autoload-builtin-package-versions): New variable.
5780 (autoload-generate-file-autoloads): Use them.
5781 Remove the list of autoloaded functions/macros from the
5782 (autoload...) comments.
5783
5784 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5785
9583ec36
EZ
57862013-06-15 Eli Zaretskii <eliz@gnu.org>
5787
5788 * simple.el (line-move-partial): Don't jump to the next screen
5789 line as soon as it becomes visible. Instead, continue enlarging
5790 the vscroll until the portion of a tall screen line that's left on
5791 display is about the height of the frame's default font.
5792 (Bug#14567)
5793
f0100d8a
GM
57942013-06-15 Glenn Morris <rgm@gnu.org>
5795
b86a85ca
GM
5796 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5797 compilation-error-regexp-alist void, or local while let-bound.
5798
f0100d8a
GM
5799 * progmodes/make-mode.el (makefile-mode-syntax-table):
5800 Treat "=" as punctuation. (Bug#14614)
5801
05e7ce90
JB
58022013-06-15 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * help-fns.el (describe-variable):
5805 Add extra line for permanent-local variables.
5806
12e5e86e
SH
58072013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5808
5809 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5810 Add export, import, library. (Bug#9164)
5811 (library): Set indent function.
5812
230dcbaf
GM
58132013-06-14 Glenn Morris <rgm@gnu.org>
5814
5815 * term/xterm.el (xterm--query):
5816 Stop after first matching handler. (Bug#14615)
5817
e36b2d20 58182013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5819
5820 Add support for dired in saveplace.
5821 * dired.el (dired-initial-position-hook): New variable.
5822 (dired-initial-position): Call hook to place cursor position.
5823 * saveplace.el (save-place-to-alist): Add dired position.
5824 (save-place-dired-hook): New function.
5825
0b31660d
SM
58262013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5827
bf1e6ae8
SM
5828 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5829 through a symbol rather than letrec.
5830
1b8dff23
SM
5831 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5832 (package-desc): Add `dir' field.
5833 (package-desc-full-name): New function.
5834 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5835 (package-maybe-load-descriptor): Remove.
5836 (package-load-all-descriptors): Just call package-load-descriptor.
5837 (package--disabled-p): New function.
5838 (package-desc-vers, package-desc-doc): Remove aliases.
5839 (package--dir): Remove function.
5840 (package-activate): Check if a package is disabled.
5841 (package-process-define-package): New function, extracted from
5842 define-package.
5843 (define-package): Turn into a place holder.
5844 (package-unpack-single, package-tar-file-info):
5845 Use package--description-file.
5846 (package-compute-transaction): Use package--disabled-p.
5847 (package-download-transaction): Don't call
5848 package-maybe-load-descriptor since they're all loaded anyway.
5849 (package-install): Change argument to be a pkg-desc.
5850 (package-delete): Use a single pkg-desc argument.
5851 (describe-package-1): Use package-desc-dir instead of package--dir.
5852 Use package-desc property instead of package-symbol.
5853 (package-install-button-action): Adjust accordingly.
5854 (package--push): Rewrite.
5855 (package-menu--print-info): Adjust accordingly. Change the ID format
5856 to be a pkg-desc.
5857 (package-menu-describe-package, package-menu-get-status)
5858 (package-menu--find-upgrades, package-menu-mark-upgrades)
5859 (package-menu-execute, package-menu--name-predicate):
5860 Adjust accordingly.
5861 * startup.el (package--description-file): New function.
5862 (command-line): Use it.
5863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5864 Use package-desc-version.
5865
0b31660d
SM
5866 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5867 (byte-compile-preprocess): Use it.
5868 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5869 can't quite recognize.
5870 (byte-compile-add-to-list): Remove.
5871 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5872 (cconv-closure-convert): Add assertion.
5873
5874 * emacs-lisp/map-ynp.el: Use lexical-binding.
5875 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5876 Factor out some repeated code.
5877
de0503df
SM
58782013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 * subr.el (with-eval-after-load): New macro.
5881 (eval-after-load): Allow form to be a function.
5882 take advantage of lexical-binding.
5883 (do-after-load-evaluation): Use dolist and adjust to new format.
5884 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5885
bc5c8c5a
JL
58862013-06-13 Juri Linkov <juri@jurta.org>
5887
5888 * replace.el (perform-replace): Display "symbol " and other search
5889 modes from `isearch-message-prefix' in the *Help* buffer.
5890
5891 * isearch.el (isearch-query-replace): Add " symbol" and other
5892 possible search modes from `isearch-message-prefix' to the prompt.
5893 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5894 when reading a regexp to collect.
5895
a22289f7
JL
58962013-06-13 Juri Linkov <juri@jurta.org>
5897
5898 * isearch.el (word-search-regexp): Match whitespace if the search
5899 string begins or ends in whitespace. The LAX arg is applied to
5900 both ends of the search string. Use `regexp-quote' and explicit
5901 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5902 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5903 boundaries are replaced with symbol boundaries, and characters
5904 between symbols match non-word non-symbol syntax. (Bug#14602)
5905
cb89acab
JL
59062013-06-13 Juri Linkov <juri@jurta.org>
5907
5908 * isearch.el (isearch-del-char): Don't exceed the length of
5909 `isearch-string' by the prefix arg. (Bug#14563)
5910
6e8cfc81
JL
59112013-06-13 Juri Linkov <juri@jurta.org>
5912
5913 * isearch.el (isearch-yank-word, isearch-yank-line)
5914 (isearch-char-by-name, isearch-quote-char)
5915 (isearch-printing-char, isearch-process-search-char):
5916 Add optional count prefix arg. (Bug#14563)
5917
5918 * international/isearch-x.el
5919 (isearch-process-search-multibyte-characters):
5920 Add optional count prefix arg.
5921
c23d55f4
VS
59222013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5925 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5926 lexical-binding.
5927
59282013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5929
5930 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5931
ba947bc4
GM
59322013-06-13 Glenn Morris <rgm@gnu.org>
5933
8baeb37a
GM
5934 * startup.el (tty-handle-args):
5935 Don't just discard "--" and anything after. (Bug#14608)
5936
ba947bc4
GM
5937 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5938
9abefce4
MA
59392013-06-13 Michael Albinus <michael.albinus@gmx.de>
5940
5941 Implement changes in Secret Service API. Make it backward compatible.
5942 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5943 (secrets-create-item): Use it. Prefix properties with interface.
5944
5755011f
MH
59452013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5946
5947 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5948 (term-emulate-terminal): Respect term-suppress-hard-newline.
5949
1261d2da
S
59502013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5951
5952 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5953 Only remove a `thumb-file' overlay. (Bug#14548)
5954
868490bb
GJ
59552013-06-12 Grégoire Jadi <daimrod@gmail.com>
5956
5957 * mail/reporter.el (reporter-submit-bug-report):
5958 Handle missing package-name. (Bug#14600)
5959
79d7167f
TH
59602013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5961
5962 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5963 (reftex-citation-prompt, reftex-default-bibliography)
5964 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5965 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5966 (reftex-bib-sort-author, reftex-bib-sort-year)
5967 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5968 (reftex-extract-bib-entries-from-thebibliography)
5969 (reftex-get-bibkey-default, reftex-get-bib-names)
5970 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5971 (reftex-format-bib-entry, reftex-parse-bibitem)
5972 (reftex-format-bibitem, reftex-do-citation)
5973 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5974 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5975 (reftex-insert-bib-matches, reftex-format-citation)
5976 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5977 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5978 existing comments into docstrings.
5979
5f9dbd7a
XF
59802013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5981
5982 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5983
94df41ab
AS
59842013-06-12 Andreas Schwab <schwab@suse.de>
5985
5986 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5987 for auto-save files.
5988
a7f3fecc
GM
59892013-06-12 Glenn Morris <rgm@gnu.org>
5990
001809f6
GM
5991 * ido.el (ido-delete-ignored-files): Remove.
5992 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5993 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5994
834b5ded
EL
59952013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5996
08c73ed2
EL
5997 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5998
834b5ded
EL
5999 * ido.el (ido-delete-ignored-files): New function,
6000 split from ido-make-file-list-1.
6001 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6002 (ido-make-file-list-1): Use ido-delete-ignored-files.
6003
daabf15a
LL
60042013-06-12 Leo Liu <sdl.web@gmail.com>
6005
6006 * progmodes/octave.el (inferior-octave-startup)
6007 (inferior-octave-completion-table)
6008 (inferior-octave-track-window-width-change)
6009 (octave-eldoc-function-signatures, octave-help)
6010 (octave-find-definition): Use single quoted strings.
6011 (inferior-octave-startup-args): Change default value.
6012 (inferior-octave-startup): Do not hard code "-i" and
6013 "--no-line-editing".
6014 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6015 (inferior-octave-directory-tracker): Use it.
6016 (octave-goto-function-definition): Robustify.
6017 (octave-help): Support highlighting operators in 'See also'.
6018 (octave-find-definition): Find subfunctions only in Octave mode.
6019
cf4e5178
SM
60202013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * help-fns.el (help-fns--compiler-macro): If the handler function is
6023 named, then put a link to it.
6024 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6025 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6026 (cl-typep): Use it.
6027 (cl-eval-when): Simplify debug spec.
6028 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6029 compiler-macro function instead of setting `compiler-macro-file'.
6030
99c81280 60312013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6032
6033 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6034 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6035
f56be016
SM
60362013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6037 Daniel Hackney <dan@haxney.org>
6038
6039 First part of Daniel Hackney's patch to package.el.
6040 * emacs-lisp/package.el: Use defstruct.
6041 (package-desc): New, main struct.
6042 (package--bi-desc, package--ac-desc): New structs, used to describe the
6043 format in external files.
6044 (package-desc-vers): Replace with package-desc-version accessor.
6045 (package-desc-doc): Replace with package-desc-summary accessor.
6046 (package-activate-1): Remove `package' arg since the pkg-vec now
6047 includes the name.
6048 (define-package): Use package-desc-from-define.
6049 (package-unpack-single): Change file-name arg to be a symbol.
6050 (package--add-to-archive-contents): Use package-desc-create and new
6051 accessor functions to package--ac-desc.
6052 (package-buffer-info, package-tar-file-info): Return a package-desc.
6053 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6054 arg to be a package-desc.
6055 (package-install-file): Adjust accordingly. Use \' to match EOS.
6056 (package--from-builtin): New function.
6057 (describe-package-1, package-menu--generate): Use it.
6058 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6059 (package-generate-autoloads): Idem and return the name of the file.
6060 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6061 Change pkg-info arg to be a package-desc.
6062 Use package-make-ac-desc.
6063 (package-upload-file): Use \' to match EOS.
6064 * finder.el (finder-compile-keywords): Use package-make-builtin.
6065
31119d63
SM
60662013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6067
931a2762
SM
6068 * vc/vc.el (vc-deduce-fileset): Change error message.
6069 (vc-read-backend): New function.
6070 (vc-next-action): Use it.
6071
5a3eb0c6
SM
6072 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6073
e3eb1bb7
SM
6074 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6075 (prolog-font-lock-keywords): Use regexp-opt instead.
6076 Don't manually highlight strings.
6077 (prolog-mode-variables): Simplify comment-start-skip.
6078 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6079
31119d63
SM
6080 * emacs-lisp/generic.el (generic--normalise-comments)
6081 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6082 (generic-mode-set-comments): Use them.
6083 (generic-bracket-support): Use setq-local.
6084 (generic-make-keywords-list): Declare obsolete.
6085
7de135d0
GM
60862013-06-11 Glenn Morris <rgm@gnu.org>
6087
6088 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6089 Prettify after setting font-lock-defaults. (Bug#14574)
6090
fa6bc6fd
JB
60912013-06-11 Juanma Barranquero <lekktu@gmail.com>
6092
6093 * replace.el (query-replace, occur-read-regexp-defaults-function)
6094 (replace-search):
6095 * subr.el (declare-function, number-sequence, local-set-key)
6096 (substitute-key-definition, locate-user-emacs-file)
6097 (with-silent-modifications, split-string, eval-after-load):
6098 Fix typos, remove unneeded backslashes and reflow some docstrings.
6099
cf1f9b9a
SM
61002013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6103 default for Elisp files.
6104
56602a4b
GM
61052013-06-11 Glenn Morris <rgm@gnu.org>
6106
6107 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6108 although define-derived-mode was doing this anyway. (Bug#14583)
6109
30ae0b2c
JB
61102013-06-10 Juanma Barranquero <lekktu@gmail.com>
6111
6112 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6113 Fix make-variable-buffer-local call to refer to the correct variable.
6114
fa472906
AG
61152013-06-10 Aidan Gauland <aidalgol@amuri.net>
6116
6117 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6118 (eshell-visual-subcommands, eshell-visual-options):
6119 Add summary line to docstrings. Add cross-references.
fa472906 6120
ff4871b9
GM
61212013-06-10 Glenn Morris <rgm@gnu.org>
6122
6123 * epa.el (epa-read-file-name): New function. (Bug#14510)
6124 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6125
04fcf1b0
AG
61262013-06-09 Aidan Gauland <aidalgol@amuri.net>
6127
6128 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6129 output redirection to be ignored with visual commands.
6130
88b00caa
AG
61312013-06-09 Aidan Gauland <aidalgol@amuri.net>
6132
6133 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6134 (eshell-term-initialize): Move long lambda to separate function
6135 eshell-visual-command-p.
e7b41c4c
JB
6136 * eshell/em-dirs.el (eshell-dirs-initialise):
6137 * eshell/em-script.el (eshell-script-initialize):
6138 Add missing #' to lambda.
88b00caa 6139
fda74125
LL
61402013-06-08 Leo Liu <sdl.web@gmail.com>
6141
6142 * progmodes/octave.el (octave-add-log-current-defun): New function.
6143 (octave-mode): Set add-log-current-defun-function.
6144 (octave-goto-function-definition): Do not move point if not found.
6145 (octave-find-definition): Enhance to try subfunctions first.
6146
467f3b33
GM
61472013-06-08 Glenn Morris <rgm@gnu.org>
6148
6149 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6150 (byte-compile-backward-char, byte-compile-backward-word):
6151 Improve previous change, to handle non-explicit nil.
6152
544badc3
SM
61532013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6156 (smie--opener/closer-at-point): New function.
6157 (smie--matching-block-data): Use it. Don't match from right after an
6158 opener or right before a closer. Obey smie-blink-matching-inners.
6159 Don't signal a mismatch for repeated inners like "switch..case..case".
6160
a175bf33
LL
61612013-06-07 Leo Liu <sdl.web@gmail.com>
6162
6163 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6164 to t. (Bug#14303)
ce8209d4
LL
6165 (octave-function-header-regexp): Fix. (Bug#14570)
6166 (octave-help-mode-finish-hook, octave-help-mode-finish):
6167 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6168
6169 * newcomment.el (comment-search-backward): Revert last change.
6170 (Bug#14434)
6171
6172 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6173
a822acff
EZ
61742013-06-07 Eli Zaretskii <eliz@gnu.org>
6175
6176 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6177 through xargs, to avoid failure due to MS-Windows limitations on
6178 command-line length.
6179
961166f5
GM
61802013-06-06 Glenn Morris <rgm@gnu.org>
6181
d0341459
GM
6182 * font-lock.el (lisp-font-lock-keywords-2):
6183 Treat user-error like error.
6184
961166f5
GM
6185 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6186 (byte-compile-backward-char, byte-compile-backward-word):
6187 Handle explicit nil arguments. (Bug#14565)
6188
80fa505f
AM
61892013-06-05 Alan Mackenzie <acm@muc.de>
6190
6191 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6192 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6193 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6194 (Bug#9706)
80fa505f 6195
fccdc796
SM
61962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * autorevert.el (auto-revert-notify-handler): Use memq.
6199 Hide assertion failure.
6200
6201 * skeleton.el: Use cl-lib.
6202 (skeleton-further-elements): Use defvar-local.
6203 (skeleton-insert): Use cl-progv.
6204
9bfff84b
TZ
62052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6206
6207 * progmodes/prog-mode.el (prog-prettify-symbols)
6208 (prog-prettify-install): Update docstrings.
6209
55577e7c
SM
62102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * simple.el: Move all the prog-mode code to prog-mode.el.
6213 * progmodes/prog-mode.el: New file.
6214 * loadup.el: Add prog-mode.el.
6215
8fc57765
TZ
62162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6217
6218 * simple.el (prog-prettify-symbols): Add version.
6219 (prog-prettify-install): Add convenience function to prettify symbols.
6220
6221 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6222 (perl--augmented-font-lock-keywords-1)
6223 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6224 variables and use it.
6225
6226 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6227 (cfengine3-mode): Remove unneeded variable and use it.
6228
6229 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6230 (lisp--augmented-font-lock-keywords-1)
6231 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6232 Remove unneeded variables and use it.
6233
650645d5 62342013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6235
6236 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6237 to point when opening the connection. (Bug#14380)
28f5da6d 6238
781b4af6
SM
62392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * subr.el (load-history-regexp, load-history-filename-element)
6242 (eval-after-load, after-load-functions, do-after-load-evaluation)
6243 (eval-next-after-load, display-delayed-warnings)
6244 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6245 definition of save-match-data.
6246 (overriding-local-map): Remove accidental obsolescence declaration.
6247
6248 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6249
3ca0d0b4
TZ
62502013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6251
6252 Generalize symbol prettify support to prog-mode and implement it
6253 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6254 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6255 (prog--prettify-font-lock-compose-symbol)
6256 (prog-prettify-font-lock-symbols-keywords): New variables and
6257 functions to support symbol prettification.
6258 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6259 (lisp--augmented-font-lock-keywords-1)
6260 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6261 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6262 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6263 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6264 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6265 * progmodes/perl-mode.el (perl-prettify-symbols)
6266 (perl--font-lock-compose-symbol)
6267 (perl--font-lock-symbols-keywords): Move to prog-mode.
6268 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6269 (perl-font-lock-keywords-1)
6270 (perl-font-lock-keywords-2): Remove explicit prettify support.
6271 (perl--augmented-font-lock-keywords)
6272 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6273 (perl--augmented-font-lock-keywords-2, perl-mode):
6274 Implement prettify support.
3ca0d0b4 6275
976cb066
LL
62762013-06-05 Leo Liu <sdl.web@gmail.com>
6277
6278 Re-implement smie matching block highlight using
6279 show-paren-data-function. (Bug#14395)
6280 * emacs-lisp/smie.el (smie-matching-block-highlight)
6281 (smie--highlight-matching-block-overlay)
6282 (smie--highlight-matching-block-lastpos)
6283 (smie-highlight-matching-block)
6284 (smie-highlight-matching-block-mode): Remove.
6285 (smie--matching-block-data-cache): New variable.
6286 (smie--matching-block-data): New function.
6287 (smie-setup): Use smie--matching-block-data for
6288 show-paren-data-function.
6289
6290 * progmodes/octave.el (octave-mode-menu): Fix.
6291 (octave-find-definition): Skip garbage lines.
6292
208d0342
SM
62932013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 Fix compilation error with simultaneous dynamic+lexical scoping.
6296 Add warning when a defvar appears after the first let-binding.
6297 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6298 (byte-compile-close-variables): Initialize it.
6299 (byte-compile--declare-var): New function.
6300 (byte-compile-file-form-defvar)
6301 (byte-compile-file-form-define-abbrev-table)
6302 (byte-compile-file-form-custom-declare-variable): Use it.
6303 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6304 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6305 (byte-compile-bind): Handle dynamic bindings that shadow
6306 lexical bindings.
6307 (byte-compile-unbind): Make arg non-optional.
6308 (byte-compile-let): Simplify.
6309 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6310 (cconv--analyse-function, cconv-analyse-form): Populate it.
6311 Protect byte-compile-bound-variables to limit the scope of defvars.
6312 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6313 Remove unneeded rule for `declare'.
6314
6315 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6316 so as to avoid depending on cl-adjoin at run-time.
6317 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6318
6319 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6320 (macroexp--warn-and-return): Use it.
6321
2587b005
LL
63222013-06-05 Leo Liu <sdl.web@gmail.com>
6323
6324 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6325
f1da3c88
LL
63262013-06-04 Leo Liu <sdl.web@gmail.com>
6327
6328 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6329 (compilation-auto-jump): Suppress the "Mark set" message to give
6330 way to exit message.
6331
3caa391f
AM
63322013-06-04 Alan Mackenzie <acm@muc.de>
6333
6334 Remove faulty optimisation from indentation calculation.
6335 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6336 search limit based on 2000 characters back from indent-point.
6337
068922a2
TH
63382013-06-03 Tassilo Horn <tsdh@gnu.org>
6339
6340 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6341
1f8fdd53
SM
63422013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6343
bbcc4d97
SM
6344 * emacs-lisp/lisp.el: Use lexical-binding.
6345 (lisp--local-variables-1, lisp--local-variables): New functions.
6346 (lisp--local-variables-completion-table): New var.
208d0342 6347 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6348
1f8fdd53
SM
6349 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6350 eagerly (bug#14422).
6351
c9628c79
MA
63522013-06-03 Michael Albinus <michael.albinus@gmx.de>
6353
6354 * autorevert.el (auto-revert-notify-enabled)
6355 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6356 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6357 (auto-revert-notify-handler): Handle also gfilenotify.
6358
e7b41c4c 6359 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6360 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6361 Remove.
c9628c79 6362
e5e4a942
JL
63632013-06-03 Juri Linkov <juri@jurta.org>
6364
6365 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6366 `M-s h .'. (Bug#14427)
6367
6368 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6369 command `hi-lock-face-symbol-at-point'.
6370 (hi-lock-face-symbol-at-point): New command.
6371 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6372 (hi-lock-menu): Add `highlight-symbol-at-point'.
6373 (hi-lock-mode): Doc fix.
6374
6375 * isearch.el (isearch-forward-symbol-at-point): New command.
6376 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6377 (isearch-highlight-regexp): Add a regexp which matches
6378 words/symbols for word/symbol mode.
6379
6380 * subr.el (find-tag-default-bounds): New function with the body
6381 mostly moved from `find-tag-default'.
6382 (find-tag-default): Move most code to `find-tag-default-bounds',
6383 call it and apply `buffer-substring-no-properties' afterwards.
6384
26b3353a
TH
63852013-06-03 Tassilo Horn <tsdh@gnu.org>
6386
781b4af6
SM
6387 * eshell/em-term.el (eshell-term-initialize):
6388 Use `cl-intersection' rather than `intersection'.
26b3353a 6389
51b60f53
XF
63902013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6391
fe054b63 6392 * vc/log-view.el: Doc fix.
d3ffe17c 6393 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6394
a0eb10b3 63952013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6396
6397 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6398 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6399 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6400 (eieio-unbound, eieio-default-superclass)
6401 (eieio--define-field-accessors, method-static, method-before)
6402 (method-primary, method-after, method-num-lists)
6403 (method-generic-before, method-generic-primary)
6404 (method-generic-after, method-num-slots)
6405 (eieio-specialized-key-to-generic-key)
6406 (eieio--check-type, class-v, class-p)
6407 (eieio-class-name, define-obsolete-function-alias)
6408 (eieio-class-parents-fast, eieio-class-children-fast)
6409 (same-class-fast-p, class-constructor, generic-p)
6410 (generic-primary-only-p, generic-primary-only-one-p)
6411 (class-option-assoc, class-option, eieio-object-p)
6412 (class-abstract-p, class-method-invocation-order)
6413 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6414 (eieio-class-un-autoload, eieio-defclass)
6415 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6416 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6417 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6418 (eieio-defgeneric-reset-generic-form)
6419 (eieio-defgeneric-form-primary-only)
6420 (eieio-defgeneric-reset-generic-form-primary-only)
6421 (eieio-defgeneric-form-primary-only-one)
6422 (eieio-defgeneric-reset-generic-form-primary-only-one)
6423 (eieio-unbind-method-implementations)
6424 (eieio--defmethod, eieio--typep)
6425 (eieio-perform-slot-validation, eieio-validate-slot-value)
6426 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6427 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6428 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6429 (eieio-slot-name-index, eieio-class-slot-name-index)
6430 (eieio-set-defaults, eieio-initarg-to-attribute)
6431 (eieio-attribute-to-initarg, eieio-c3-candidate)
6432 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6433 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6434 (eieio-class-precedence-list, eieio-generic-call-methodname)
6435 (eieio-generic-call-arglst, eieio-generic-call-key)
6436 (eieio-generic-call-next-method-list)
6437 (eieio-pre-method-execution-functions, eieio-generic-call)
6438 (eieio-generic-call-primary-only, eieiomt-method-list)
6439 (eieiomt-optimizing-obarray, eieiomt-install)
6440 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6441 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6442 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6443 (defclass): Remove `eval-and-compile' from macro.
6444 (call-next-method, shared-initialize): Instead of using
6445 `scoped-class' variable, use new eieio--scoped-class, and
6446 eieio--with-scoped-class.
6447 (initialize-instance): Rename local variable 'scoped-class' to
6448 'this-class' to remove ambiguitity from old global.
6449
6450 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6451 eieio.el.
4f405069
JB
6452 (eieio--scoped-class-stack): New variable.
6453 (eieio--scoped-class): New fcn.
890f7890
DE
6454 (eieio--with-scoped-class): New scoping macro.
6455 (eieio-defclass): Use pushnew instead of add-to-list.
6456 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6457 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6458 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6459 `scoped-class' variable, use new eieio--scoped-class, and
6460 eieio--with-scoped-class.
6461
6462 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6463
d105b0e2
TH
64642013-06-02 Tassilo Horn <tsdh@gnu.org>
6465
6466 * eshell/esh-ext.el (eshell-external-command): Pass args to
6467 `eshell-find-interpreter'.
6468 (eshell-find-interpreter): Add new second parameter ARGS.
6469
6470 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6471 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6472
6473 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6474 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6475
6476 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6477 (eshell-visual-options): New defcustom.
6478 (eshell-escape-control-x): Adapt docstring.
6479 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6480 `eshell-visual-options' in addition to `eshell-visual-commands'.
6481 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6482
f46305c8 64832013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6484
6485 * progmodes/python.el (python-indent-block-enders): Add break,
6486 continue and raise keywords.
6487
d870df21
GM
64882013-06-01 Glenn Morris <rgm@gnu.org>
6489
9133b82e
GM
6490 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6491
02c992ec 6492 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6493 * progmodes/cc-cmds.el (delete-forward-p):
6494 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6495 * progmodes/cc-engine.el (buffer-syntactic-context):
6496 * progmodes/cc-fonts.el (face-property-instance):
6497 * progmodes/cc-mode.el (set-keymap-parents):
6498 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6499 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6500 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6501 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6502 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6503
31e7b090
GM
6504 * progmodes/cc-vars.el (other): Emacs has this widget since
6505 at least 21.1, so don't (re)define it.
6506
d870df21
GM
6507 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6508 Replace the obsolete alias pcomplete-arg-quote-list.
6509
c75c93c7
LL
65102013-06-01 Leo Liu <sdl.web@gmail.com>
6511
6512 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6513 punctuation syntax.
6514 (inferior-octave-minimal-columns)
6515 (inferior-octave-last-column-width): New variables.
6516 (inferior-octave-track-window-width-change): New function.
6517 (inferior-octave-mode): Adjust column width so that Octave output,
6518 for example from 'ls', can fit into the window nicely.
6519
973d1e12
DG
65202013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6521
6522 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6523 Highlight expansions inside regexp literals.
6524
0888c286
GM
65252013-05-31 Glenn Morris <rgm@gnu.org>
6526
e26aac1f
GM
6527 * obsolete/sym-comp.el (symbol-complete):
6528 Replace obsolete completion-annotate-function.
6529
0888c286
GM
6530 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6531
19bb8e62
DG
65322013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6533
781b4af6
SM
6534 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6535 New function, checks if point is inside a literal that allows
19bb8e62
DG
6536 expression expansion.
6537 (ruby-syntax-propertize-expansion): Use it.
6538 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6539 around the body.
6540
01dea85f
JL
65412013-05-30 Juri Linkov <juri@jurta.org>
6542
6543 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6544 to "\M-si".
6545 (isearch-invisible): New variable.
6546 (isearch-forward): Doc fix.
6547 (isearch-mode): Set `isearch-invisible'
6548 to the value of `search-invisible'.
6549 (isearch-toggle-case-fold): Doc fix.
6550 (isearch-toggle-invisible): New command.
6551 (isearch-query-replace): Let-bind `search-invisible'
6552 to the value of `isearch-invisible'.
6553 (isearch-search): Use `isearch-invisible' instead of
6554 `search-invisible'. Let-bind `search-invisible'
6555 to the value of `isearch-invisible'. (Bug#11378)
6556
ab1bdce5
JL
65572013-05-30 Juri Linkov <juri@jurta.org>
6558
6559 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6560 call when `query-flag' is nil and `search-invisible' is non-nil.
6561 (Bug#11746)
6562
d6d236e2
GM
65632013-05-30 Glenn Morris <rgm@gnu.org>
6564
8accd027
GM
6565 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6566
2a8bed1c
GM
6567 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6568 (cc-require): Suppress spurious "noruntime" warnings.
6569 (cc-require-when-compile): Use fboundp, for sake of compiler.
6570
d6d236e2
GM
6571 * progmodes/cc-mode.el: Move load of cc-vars before that of
6572 cc-langs (which in turn loads cc-vars), to quieten compiler.
6573
9190b35b
SM
65742013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * paren.el: Simplify the code.
6577 (show-paren-mode): Always start the timer.
6578 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6579 (show-paren--overlay, show-paren--overlay-1): Rename from
6580 show-paren-overlay and show-paren-overlay-1, and initialize to an
6581 overlay rather than to nil.
6582 (show-paren-function): Misc cleanup and simplifications.
6583
4f8d1cf6
SM
65842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * paren.el (show-paren-data-function): New hook.
6587 (show-paren--default): New function, extracted from show-paren-function.
6588 (show-paren-function): Use show-paren-data-function.
6589
02d844b5
GM
65902013-05-30 Glenn Morris <rgm@gnu.org>
6591
d209d4a9
GM
6592 * ielm.el (ielm-map, ielm-complete-symbol):
6593 Use completion-at-point rather than obsolete functions.
6594 (inferior-emacs-lisp-mode): Doc fix.
6595 Set completion-at-point-functions, rather than
6596 comint-dynamic-complete-functions.
6597
2082faa6
GM
6598 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6599 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6600 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6601
dd8620de
GM
6602 * image.el (image-animated-p): Tweak definition.
6603
ceca95b1
GM
6604 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6605 (rlogin-process-connection-type): Tweak default. Add set-after.
6606 (rlogin-host): Doc fix.
6607 (rlogin): Tweak prompt.
6608 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6609
ee9f1acc
GM
6610 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6611 * progmodes/tcl.el (inferior-tcl-mode-map):
6612 Use completion-at-point rather than obsolete alias.
6613
45ce222e
GM
6614 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6615
02d844b5
GM
6616 * minibuffer.el (read-file-name-completion-ignore-case):
6617 Move before completion--in-region, for eager macro expansion.
6618
ac44d6c1
JL
66192013-05-29 Juri Linkov <juri@jurta.org>
6620
6621 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6622 for total count of matching lines. Add `global-matches' for total
6623 count of matches. Rename `matches' to `lines' for count of
6624 matching lines. Add `matches' for count of matches.
6625 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6626 to `prev-line' for line number of prev match endpt.
6627 Increment `matches' for every match. Print the number of
6628 matching lines in the header.
6629 (occur-context-lines): Rename `lines' to `curr-line'.
6630 Rename `prev-lines' to `prev-line'. (Bug#14017)
6631
3c9c9d38
JL
66322013-05-29 Juri Linkov <juri@jurta.org>
6633
6634 * replace.el (perform-replace): Add `skip-read-only-count',
6635 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6636 Increment them for corresponding conditions and report the number
6637 of skipped occurrences in the final message. (Bug#11746)
6638 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6639 (replace-string, replace-regexp): Doc fix.
6640
33e249a2
SM
66412013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6642
8e399682
SM
6643 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6644
33e249a2 6645 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6646 prog-mode-map (bug#14504).
33e249a2 6647
f236dd84
LL
66482013-05-29 Leo Liu <sdl.web@gmail.com>
6649
6650 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6651 (octave-help): Small simplification.
6652
6653 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6654 off the highlight first.
6655
3694d13f
GM
66562013-05-29 Glenn Morris <rgm@gnu.org>
6657
03983bdc
GM
6658 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6659 Handle idlwave-last-system-routine-info-cons-cell being nil.
6660
bc74a74a
GM
6661 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6662 (idlwave-write-paths): Simplify via with-temp-buffer.
6663
8b394200
GM
6664 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6665 * emulation/cua-rect.el: Also load cua-base at run time.
6666
3694d13f
GM
6667 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6668 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6669 (cperl-imenu-on-info): Require imenu.
6670
336d7284
AM
66712013-05-28 Alan Mackenzie <acm@muc.de>
6672
6673 Handle "capitalised keywords" correctly.
33e249a2 6674 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6675
cb29c582
AG
66762013-05-28 Aidan Gauland <aidalgol@amuri.net>
6677
781b4af6 6678 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6679
690e44b2
GM
66802013-05-28 Glenn Morris <rgm@gnu.org>
6681
e658d75c
GM
6682 * vc/vc-arch.el (vc-exec-after): Declare.
6683 (vc-switches): Autoload.
6684 * vc/vc-bzr.el: No need to require vc when compiling.
6685 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6686 (vc-resynch-buffer, vc-dir-refresh): Declare.
6687 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6688 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6689 (vc-resynch-buffer): Declare.
6690 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6691 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6692 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6693 (grep-read-regexp, grep-read-files, grep-expand-template)
6694 (vc-dir-refresh): Declare.
6695 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6696 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6697 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6698 * vc/vc-mtn.el (vc-exec-after): Declare.
6699 (vc-switches): Autoload.
6700 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6701 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6702 (vc-file-tree-walk): Declare.
712b9732
GM
6703 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6704 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6705 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6706 * vc/vc-svn.el (vc-exec-after): Declare.
6707 (vc-switches, vc-setup-buffer): Autoload.
6708 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6709 Autoload.
6710 (vc-resynch-buffer): Declare.
6711
98e87fb3
GM
6712 * obsolete/fast-lock.el (byte-compile-warnings):
6713 Don't warn about obsolete features in this obsolete file.
6714
f5379553
GM
6715 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6716 Move definition before use.
6717
7a20ef83
GM
6718 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6719 (dun-unix-verbs): Remove dun-zippy.
6720 (dun-zippy): Remove function.
6721
690e44b2
GM
6722 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6723
3a52ccf7
JL
67242013-05-27 Juri Linkov <juri@jurta.org>
6725
6726 * replace.el (replace-search): New function with code moved out
6727 from `perform-replace'.
6728 (replace-highlight, replace-dehighlight): Move function definitions
6729 up closer to `replace-search'. (Bug#11746)
6730
d289938a
JL
67312013-05-27 Juri Linkov <juri@jurta.org>
6732
6733 * replace.el (perform-replace): Ignore invisible matches.
6734 In addition to checking `query-replace-skip-read-only', also
6735 filter out matches by calling `run-hook-with-args-until-failure'
6736 on `isearch-filter-predicates', and also check `search-invisible'
6737 for t or call `isearch-range-invisible'.
6738 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6739
66fc57e3
JL
67402013-05-27 Juri Linkov <juri@jurta.org>
6741
6742 * isearch.el (isearch-filter-predicates): Rename from
6743 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6744 (isearch-message-prefix): Display text from the property
6745 `isearch-message-prefix' of the currently active filters.
6746 (isearch-search): Don't compare `isearch-filter-predicate' with
6747 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6748 on `isearch-filter-predicates'. Also check `search-invisible' for t
6749 or call `isearch-range-invisible'.
6750 (isearch-filter-visible): Make obsolete.
6751 (isearch-lazy-highlight-search):
6752 Call `run-hook-with-args-until-failure' on
6753 `isearch-filter-predicates' and use `isearch-range-invisible'.
6754
6755 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6756 `isearch-filter-predicates' instead of `funcall'ing
6757 `isearch-filter-predicate'.
6758 (Info-mode): Set `Info-isearch-filter' to
6759 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6760
6761 * dired-aux.el (dired-isearch-filter-predicate-orig):
6762 Remove variable.
6763 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6764 (dired-isearch-filenames-end): Add and remove
6765 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6766 instead of changing the value of `isearch-filter-predicate'.
6767 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6768 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6769 Put property `isearch-message-prefix' to "filename " on
6770 `dired-isearch-filter-filenames'.
6771
6772 * wdired.el (wdired-change-to-wdired-mode):
6773 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6774 locally instead of changing `isearch-filter-predicate'.
6775 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6776
f1a60a0f
DG
67772013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6778
6779 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6780 return the commit hash (Bug#14459). Also set the
6781 `vc-git-detached' property.
6782 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6783 (vc-git-mode-line-string): Use the same help-echo format whether
6784 in detached mode or not, because we know the actual revision now.
6785 When in detached mode, shorten the revision to 7 chars.
6786
7f17cc40
SM
67872013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * emacs-lisp/easy-mmode.el (define-minor-mode):
6790 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6791 mode hook and provide a docstring.
6792
25c8401c
AM
67932013-05-27 Alan Mackenzie <acm@muc.de>
6794
6795 Remove spurious syntax-table text properties inserted by C-y.
6796 * progmodes/cc-mode.el (c-after-change): Also clear hard
6797 syntax-table property with value nil.
6798
dde84790
MA
67992013-05-27 Michael Albinus <michael.albinus@gmx.de>
6800
6801 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6802 when reading the events; the buffer layout shall not be changed.
6803
837fd9af
LL
68042013-05-27 Leo Liu <sdl.web@gmail.com>
6805
6806 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6807 New variable.
6808 (inferior-octave-directory-tracker): Automatically re-sync
6809 default-directory.
6810 (octave-help): Improve handling of 'See also'.
6811
4fd996b3
SM
68122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6813
416f1802
SM
6814 * doc-view.el: Minor naming convention tweaks.
6815 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6816
4fd996b3
SM
6817 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6818 even if there's no `display' property yet (bug#14435).
6819
a052ef3b
EZ
68202013-05-25 Eli Zaretskii <eliz@gnu.org>
6821
4fd996b3 6822 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6823
6824 * Makefile.in (custom-deps, finder-data, autoloads)
6825 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6826 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6827 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6828
c9023370
SM
68292013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6832 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6833 Don't burp at EOB.
c9023370 6834
24d699fa
LL
68352013-05-25 Leo Liu <sdl.web@gmail.com>
6836
6837 * comint.el (comint-previous-matching-input): Do not flood the
6838 *Messages* buffer with trivial messages.
6839
17e5c0cc
SM
68402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * progmodes/flymake.el (flymake-nop): Don't return a string.
6843 (flymake-set-at): Fix typo.
6844
6845 * simple.el (read--expression): New function, extracted from
6846 eval-expression. Set completion-at-point-functions (bug#14465).
6847 (eval-expression, eval-minibuffer): Use it.
6848
5d028165
XF
68492013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6850
6851 * progmodes/flymake.el (flymake-save-buffer-in-file)
6852 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6853 (flymake-selected-frame, flymake-log, flymake-ins-after)
6854 (flymake-set-at, flymake-get-buildfile-from-cache)
6855 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6856 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6857 Refine the doc string.
6858 (flymake-get-file-name-mode-and-masks): Reformat.
6859 (flymake-get-real-file-name-function): Fix a minor bug.
6860
7a1d7ba7
JL
68612013-05-24 Juri Linkov <juri@jurta.org>
6862
6863 * progmodes/grep.el (grep-mode-font-lock-keywords):
6864 Support =linenumber= format used by git-grep for lines with
6865 function names. (Bug#13549)
6866
650cff3d
SM
68672013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6870 0 after a semi-colon; it works better for smie-auto-fill.
6871 (octave--indent-new-comment-line): New function.
6872 (octave-indent-new-comment-line): Use it (indirectly).
6873 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6874 modify comment-line-break-function.
6875
6876 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6877 (smie-setup): Use add-function to set it.
6878
9631677d
SS
68792013-05-24 Sam Steingold <sds@gnu.org>
6880
6881 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6882 argument (before the `interactive' argument).
6883
50105835
SM
68842013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * image-mode.el (image-mode-winprops): Add winprops to
6887 image-mode-winprops-alist before running
6888 image-mode-new-window-functions.
6889 * doc-view.el (doc-view-new-window-function): Don't delay
6890 doc-view-goto-page via timers (bug#14435).
6891
57b9823e
TH
68922013-05-24 Tassilo Horn <tsdh@gnu.org>
6893
6894 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6895 (doc-view-desktop-save-buffer): New function.
6896 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6897 (desktop-buffer-mode-handlers):
6898 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6899 handler.
6900 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6901 `desktop-save-buffer' function.
6902
91aafa16
MA
69032013-05-24 Michael Albinus <michael.albinus@gmx.de>
6904
6905 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6906 (tramp-gvfs-file-name-handler): Raise a user error when
6907 `tramp-gvfs-enabled' is nil.
6908 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6909 Do not raise a user error when loading package. (Bug#14447)
6910
ec076379
MA
6911 * net/xesam.el: Move to obsolete/.
6912
db785726
GM
69132013-05-24 Glenn Morris <rgm@gnu.org>
6914
af5c7606
GM
6915 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6916
e5d1916a
GM
6917 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6918
ded62b08
GM
6919 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6920 (Info-find-node, Man-getpage-in-background): Declare.
6921
9e614a3f
GM
6922 * mail/unrmail.el (unrmail):
6923 Replace obsolete detect-coding-with-priority.
6924
892f8ca3
GM
6925 * net/socks.el (socks-split-string): Use this rather than split-string.
6926 (socks-nslookup-host): Update for above change.
6927 (dynamic-choice, s5-dynamic-choice-match)
6928 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6929 Comment out unused code.
6930
3c291973
GM
6931 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6932 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6933 (gud-tooltip-echo-area): Make obsolete.
6934 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6935
43cc956b
GM
6936 * progmodes/js.el (js--optimize-arglist): Declare.
6937
dab49a3b
GM
6938 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6939
36b9d085
GM
6940 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6941 (ediff-window-C): Declare.
6942
e354ae76
GM
6943 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6944 Tweak requires to silence compiler.
6945
b8e57bf4
GM
6946 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6947 (he-search-string, he-tried-table, he-expand-list)
6948 (he-init-string, he-string-member, he-substitute-string)
6949 (he-reset-string): Declare.
6950
db785726
GM
6951 * obsolete/options.el (list-options): Use custom-variable-p,
6952 rather than obsolete alias.
6953
b3531901
SS
69542013-05-23 Sam Steingold <sds@gnu.org>
6955
6956 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6957 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6958 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6959
bdda4c66
SM
69602013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * emacs-lisp/smie.el (smie-indent-forward-token)
6963 (smie-indent-backward-token): Handle string tokens (bug#14381).
6964
c43d45f9
TH
69652013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6966
fe1eb856
RS
6967 * ielm.el (ielm-menu): New menu.
6968 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6969
fe1eb856
RS
69702013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6971
6972 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6973 Fix deactivate action.
6974
6975 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6976 Add cleveref macros.
074dd971 6977
c43d45f9
TH
6978 * lisp/textmodes/reftex-parse.el
6979 (reftex-locate-bibliography-files): Accept options for
6980 bibliography commands.
6981 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6982 Add addbibresource. Basic Biblatex support.
6983
7764286e
MA
69842013-05-23 Michael Albinus <michael.albinus@gmx.de>
6985
6986 * net/tramp-gvfs.el (top):
6987 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6988 when loading package. (Bug#14447)
6989
d361bc10
GM
69902013-05-23 Glenn Morris <rgm@gnu.org>
6991
8fa23984
GM
6992 * progmodes/js.el: No need to load comint when compiling.
6993 (ring-insert, comint-send-string, comint-send-input)
6994 (comint-last-input-end, ido-chop): Declare.
6995
a5c7df1a
GM
6996 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6997 * vc/ediff-mult.el: Adjust requires.
6998 (ediff-directories-internal, ediff-directory-revisions-internal)
6999 (ediff-patch-file-internal): Declare.
7000 * vc/ediff-ptch.el: Adjust requires.
7001 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7002 (ediff-find-file): Autoload.
7003 * vc/ediff-util.el: No need to load ediff when compiling.
7004 (ediff-regions-internal): Declare.
7005 * vc/ediff-wind.el: Adjust requires.
7006 (ediff-compute-toolbar-width): Define when compiling.
7007 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7008 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7009 (dired-get-filename, dired-get-marked-files)
7010 (ediff-last-dir-patch, ediff-patch-default-directory)
7011 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7012 (ediff-patch-buffer-internal): Declare.
7013
e2aec513
GM
7014 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7015 (ispell-process, ispell-buffer-local-words, lm-summary)
7016 (lm-section-start, lm-section-end): Declare.
7017 (checkdoc-ispell-init): Simplify.
7018
e68bbd7c
GM
7019 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7020 (he-string-member, he-reset-string, he-substitute-string): Declare.
7021
7efe0991
GM
7022 * eshell/em-ls.el: Adjust requires.
7023 (eshell-glob-regexp): Declare.
f87b1284
GM
7024 * eshell/em-tramp.el: Adjust requires.
7025 (eshell-parse-command): Autoload.
7026 * eshell/em-xtra.el: Adjust requires.
7027 (eshell-parse-command): Autoload.
7028 * eshell/esh-ext.el: Adjust requires.
7029 (eshell-parse-command, eshell-close-handles): Autoload.
7030 * eshell/esh-io.el: Adjust requires.
7031 (eshell-output-filter): Autoload.
7032 * eshell/esh-util.el: No need to load tramp when compiling.
7033 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7034 Declare.
7035 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7036 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7037 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7038 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7039 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7040 * eshell/esh-opt.el, eshell/esh-proc.el:
7041 * eshell/esh-var.el: Adjust requires.
7042 * eshell/eshell.el: Do not require esh-util twice.
7043 (eshell-add-input-to-history): Declare.
7044 (eshell-command): Check history module is active before using it.
7045
d361bc10
GM
7046 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7047
85d090a9
LL
70482013-05-22 Leo Liu <sdl.web@gmail.com>
7049
7050 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7051
5d0acd9d
MA
70522013-05-22 Michael Albinus <michael.albinus@gmx.de>
7053
7054 * autorevert.el (auto-revert-notify-add-watch)
7055 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7056 it indicates changes in file modification time.
7057
0cdffd7d
GM
70582013-05-22 Glenn Morris <rgm@gnu.org>
7059
ca5995ec
GM
7060 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7061 Always delete the autoloaded function from the noruntime and
7062 unresolved functions lists.
7063
6450907e
GM
7064 * allout.el: No need to load epa, epg, overlay when compiling.
7065 (epg-context-set-passphrase-callback, epg-list-keys)
7066 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7067 (epg-key-user-id-list): Declare.
7068
9c6906f6
GM
7069 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7070 (viper-set-parsing-style-toggling-macro)
7071 (viper-set-emacs-state-searchstyle-macros):
7072 Use called-interactively-p on Emacs.
7073 (viper-looking-back): Make it an obsolete alias. Update callers.
7074 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7075 Use looking-back rather than viper-looking-back.
7076 (viper-tmp-insert-at-eob, viper-enlarge-region)
7077 (viper-read-string-with-history, viper-register-to-point)
7078 (viper-append-to-register, viper-change-state-to-vi)
7079 (viper-backward-char-carefully, viper-forward-char-carefully)
7080 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7081 (viper-change-state-to-emacs): Declare.
7082 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7083 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7084 * emulation/viper-mous.el: Do not load viper-cmd.
7085 (viper-backward-char-carefully, viper-forward-char-carefully)
7086 (viper-forward-word, viper-adjust-window): Declare.
7087
5f70c169
GM
7088 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7089
b1b7f300
GM
7090 * progmodes/idlw-help.el (idlwave-help-fontify):
7091 Use called-interactively-p.
7092
f6ebbb46
GM
7093 * term/w32console.el (w32-get-console-codepage)
7094 (w32-get-console-output-codepage): Declare.
7095
0cdffd7d
GM
7096 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7097 Remove unnecessary declarations.
7098 (dframe-message): Doc fix.
7099
7100 * info.el (dframe-select-attached-frame, dframe-current-frame):
7101 Declare.
7102
7103 * speedbar.el (speedbar-message): Make it an obsolete alias.
7104 Update all callers.
7105 (speedbar-with-attached-buffer)
7106 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7107 (speedbar-with-writable): Use backquote.
7108 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7109 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7110 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7111 rather than speedbar- aliases.
7112 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7113 (speedbar-make-specialized-keymap, speedbar-insert-button)
7114 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7115 (speedbar-do-function-pointer): Declare.
7116 (rmail-speedbar-button, rmail-speedbar-find-file)
7117 (rmail-speedbar-move-message):
7118 Use dframe-with-attached-buffer rather than speedbar- alias.
7119 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7120 (dframe-message, speedbar-make-specialized-keymap)
7121 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7122 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7123 (speedbar-insert-button, dframe-select-attached-frame)
7124 (dframe-maybee-jump-to-attached-frame)
7125 (speedbar-change-initial-expansion-list)
7126 (speedbar-previously-used-expansion-list-name): Declare.
7127 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7128 Use dframe-message, dframe-with-attached-buffer rather than
7129 speedbar- aliases.
7130 (gud-sentinel): Silence compiler.
7131 * progmodes/vhdl-mode.el (speedbar-refresh)
7132 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7133 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7134 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7135 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7136 (speedbar-file-lists, speedbar-make-tag-line)
7137 (speedbar-line-directory, speedbar-goto-this-file)
7138 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7139 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7140 (speedbar-make-button, speedbar-reset-scanners)
7141 (speedbar-files-item-info, speedbar-line-text)
7142 (speedbar-find-file-in-frame, speedbar-set-timer)
7143 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7144 (speedbar-with-writable): Do not (re)define it.
7145 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7146 rather than speedbar- alias.
7147
ee44b62a
LL
71482013-05-21 Leo Liu <sdl.web@gmail.com>
7149
7150 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7151 menu items.
7152 (octave-mode): Tweak fill-nobreak-predicate.
7153 (inferior-octave-startup): Check process to avoid infinite loop.
7154 (inferior-octave): Pop to buffer first to show abornmal process
7155 exit information.
7156
640f050f
GM
71572013-05-21 Glenn Morris <rgm@gnu.org>
7158
79458038
GM
7159 * printing.el (pr-menu-bar): Define when compiling.
7160
9cc3e83f
LL
71612013-05-21 Leo Liu <sdl.web@gmail.com>
7162
7163 * progmodes/octave.el (octave-auto-fill): Remove.
7164 (octave-indent-new-comment-line): Improve.
7165 (octave-mode): Use auto fill mode through
4f405069 7166 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7167 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7168 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7169 (octave-help): Show parent directory.
7170
f440830d
GM
71712013-05-21 Glenn Morris <rgm@gnu.org>
7172
7173 * files.el (dired-unmark):
7174 * progmodes/gud.el (gdb-input): Update declarations.
7175
7176 * calculator.el (electric, ehelp): No need to load when compiling.
7177 (Electric-command-loop, electric-describe-mode): Declare.
7178
7179 * doc-view.el (doc-view-current-converter-processes): Move before use.
7180
7181 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7182 Move MODE-set-explicitly definition before use.
7183
7184 * international/mule-diag.el (mule-diag):
7185 Don't use obsolete window-system-version.
7186
7187 * mail/feedmail.el (smtpmail): No need to load when compiling.
7188 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7189
7190 * mail/mail-utils.el (rfc822): No need to load when compiling.
7191 (rfc822-addresses): Autoload it.
7192 (mail-strip-quoted-names): Trivial simplification.
7193
7194 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7195 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7196
7197 * net/snmp-mode.el (tempo): Don't duplicate requires.
7198
7199 * progmodes/prolog.el (info): No need to load when compiling.
7200 (comint): Require before shell requires it.
7201 (Info-goto-node): Autoload it.
7202 (Info-follow-nearest-node): Declare.
7203 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7204
7205 * textmodes/artist.el (picture-mode-exit): Declare.
7206
7207 * textmodes/reftex-parse.el (reftex-parse-from-file):
7208 Trivial rewrite so the compiler can parse it better.
7209
b4da2cbb
LL
72102013-05-20 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (octave-help-mode-map)
7213 (octave-help-mode-finish-hook): New variables.
7214 (octave-help-mode, octave-help-mode-finish): New functions.
7215 (octave-help): Use octave-help-mode.
7216
33c0f65b
GM
72172013-05-20 Glenn Morris <rgm@gnu.org>
7218
7219 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7220
1a0a0a8a
DG
72212013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7222
7223 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7224 start at point, so that expansion starting right after opening
7225 slash in a regexp is recognized.
7226 (ruby-syntax-before-regexp-re): New defvar, extracted from
7227 ruby-syntax-propertize-function. Since the value of this regexp
7228 is looked up at runtime now, we should be able to turn
7229 `ruby-syntax-methods-before-regexp' into a defcustom later.
7230 (ruby-syntax-propertize-function): Split regexp matching into two
7231 parts, for opening and closing slashes. That allows us to skip
7232 over string interpolations and support multiline regexps.
7233 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7234 for them, which calls `ruby-syntax-propertize-expansion'.
7235 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7236 call to `ruby-syntax-propertize-function'.
7237 (ruby-syntax-propertize-expansion): Extracted from
7238 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7239 (ruby-syntax-propertize-percent-literal): Leave point right after
7240 the percent symbol, so that the expression expansion rule can
7241 propertize the contents.
462388b6
DG
7242 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7243 heredoc openers.
7244 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7245
c1a6c0a4
JL
72462013-05-18 Juri Linkov <juri@jurta.org>
7247
7248 * man.el (Man-default-man-entry): Remove `-' from the end
7249 of the default value. (Bug#14400)
7250
8051fccd
GM
72512013-05-18 Glenn Morris <rgm@gnu.org>
7252
7253 * comint.el (comint-password-prompt-regexp):
7254 Allow "password for XXX" where XXX contains colons (eg https://...).
7255
5e80b74f
LL
72562013-05-18 Leo Liu <sdl.web@gmail.com>
7257
7258 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7259 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7260 (octave-source-directories): Don't check process.
7261 (octave-source-directories, octave-find-definition): Doc fix.
7262
521a54c5
GM
72632013-05-18 Glenn Morris <rgm@gnu.org>
7264
86a94b05
GM
7265 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7266 Remove backspace/delete bindings. (Bug#14392)
7267
521a54c5
GM
7268 * cus-dep.el (custom-make-dependencies): Sort the output.
7269 (custom-versions-load-alist): Convert comment to doc.
7270
42caeb89
LL
72712013-05-17 Leo Liu <sdl.web@gmail.com>
7272
7273 * newcomment.el (comment-search-backward): Stricter in finding
7274 comment start. (Bug#14303)
7275
7276 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7277 (octave-comment-start-skip): Properly anchored.
7278
e219dd97
LL
72792013-05-17 Leo Liu <sdl.web@gmail.com>
7280
fe1eb856
RS
7281 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7282 Clean up when turned off. (Bug#14395)
e219dd97
LL
7283 (smie--highlight-matching-block-overlay): No longer buffer-local.
7284 (smie-highlight-matching-block): Adjust.
7285
dc5dcb4b
PE
72862013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7287
7288 Doc string fix for "nanoseconds" (Bug#14406).
7289 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7290 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7291
1db165f0
JB
72922013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7293
7294 * calc/calc-units.el (math-extract-units): Preserve powers
7295 of units.
7296
c7a8fcac
LL
72972013-05-17 Leo Liu <sdl.web@gmail.com>
7298
7299 * subr.el (delete-consecutive-dups): New function.
7300 * ido.el (ido-set-matches-1): Use it.
7301 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7302 * ido.el (ido-remove-consecutive-dups): Remove.
7303
f678b18a
SM
73042013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7305
7306 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7307 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7308 regexp-opt's `words'.
7309
ebfe68e8
LL
73102013-05-16 Leo Liu <sdl.web@gmail.com>
7311
7312 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7313 (smie--highlight-matching-block-overlay)
7314 (smie--highlight-matching-block-lastpos)
7315 (smie--highlight-matching-block-timer): New variables.
7316 (smie-highlight-matching-block): New function.
7317 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7318 (smie-setup): Conditionally enable smie-blink-matching-open.
7319
bc8bc17d
WS
73202013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7321
7322 Sync with upstream verilog-mode r840.
7323 * progmodes/verilog-mode.el (verilog-mode-version)
7324 (verilog-mode-release-date): Update.
7325 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7326 (verilog-sig-tieoff): Fix string error on
7327 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7328 (verilog-read-decls): Fix parameters confusing
7329 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7330
df065a0b
EZ
73312013-05-16 Eli Zaretskii <eliz@gnu.org>
7332
7333 * subr.el (reveal-filename): New function.
7334
7335 * loadup.el: Compute Emacs executable versions on MS-Windows,
7336 where executables have the .exe extension. Add a hard link
7337 emacs-XX.YY.ZZ.exe on MS-Windows.
7338
7339 * Makefile.in (XARGS_LIMIT): New variable.
7340 (custom-deps, finder-data, autoloads)
7341 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7342 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7343 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7344 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7345
2d4bf34b
LL
73462013-05-16 Leo Liu <sdl.web@gmail.com>
7347
7348 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7349 (octave-mode-menu, octave-mode-map): Remove its uses.
7350
6b9c2d85
RZ
73512013-05-16 Reto Zimmermann <reto@gnu.org>
7352
7353 Sync with upstream vhdl mode v3.34.2.
7354 * progmodes/vhdl-mode.el: Use `push' throughout.
7355 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7356 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7357 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7358 (vhdl-actual-generic-name): New option to derive actual generic name.
7359 (vhdl-port-paste-signals): Replace formal by actual generics.
7360 (vhdl-beautify): New name for old group vhdl-align. Update users.
7361 (vhdl-beautify-options): New option.
7362 (vhdl-last-input-event): New compat alias. Use throughout.
7363 (vhdl-goto-line): Replace user level function `goto-line'.
7364 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7365 vhdl-fix-statement-buffer.
7366 (vhdl-create-mode-menu): Add some entries.
7367 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7368 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7369 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7370 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7371 to force statements on one line.
7372 (vhdl-remove-trailing-spaces-region):
7373 New, split from vhdl-remove-trailing-spaces.
7374 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7375 Respect vhdl-beautify-options.
7376 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7377 (vhdl-update-sensitivity-list): Not add with index if exists without.
7378 Not include array index with signal. Ignore keywords in comments.
7379 (vhdl-get-visible-signals): Regexp tweaks.
7380 (vhdl-template-component-inst): Handle empty library.
7381 (vhdl-template-type): Add template for 'enum' type.
7382 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7383 Use vhdl-replace-string.
7384 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7385 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7386 (vhdl-speedbar-initialize): Update for above name change.
7387 (vhdl-compose-wire-components): Fix in handling of constants.
7388 (vhdl-error-regexp-emacs-alist): New variable.
7389 (vhdl-error-regexp-add-emacs): New function;
7390 adds support for new compile.el (Emacs 22+)
7391 (vhdl-generate-makefile-1): Change target order for single lib. units.
7392 Allow use of absolute file names.
7393
9df4ec5e
LL
73942013-05-16 Leo Liu <sdl.web@gmail.com>
7395
7396 * simple.el (prog-indent-sexp): Indent enclosing defun.
7397
f5ba00a6
GM
73982013-05-15 Glenn Morris <rgm@gnu.org>
7399
ed8be7ff
GM
7400 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7401 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7402 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7403 (whitespace-highlight): Move to whitespace group.
7404
7405 * comint.el (comint-source):
7406 * pcmpl-linux.el (pcmpl-linux):
7407 * shell.el (shell-faces):
7408 * eshell/esh-opt.el (eshell-opt):
7409 * international/ccl.el (ccl): Remove empty custom groups.
7410
7411 * completion.el (dynamic-completion-mode):
7412 * jit-lock.el (jit-lock-debug-mode):
7413 * minibuffer.el (completion-in-region-mode):
7414 * type-break.el (type-break-mode-line-message-mode)
7415 (type-break-query-mode):
7416 * emulation/tpu-edt.el (tpu-edt-mode):
7417 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7418 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7419 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7420
7421 * term/xterm.el (xterm): Change parent group to terminals.
7422
7423 * master.el (master): Remove empty custom group.
7424 (master-mode): Remove unused :group argument.
7425 * textmodes/refill.el (refill): Remove empty custom group.
7426 (refill-mode): Remove unused :group argument.
7427
7428 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7429
82a7c41b
GM
7430 * cus-dep.el: Provide a feature.
7431 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7432 Don't mistakenly ignore files whose basenames match a basename
7433 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7434 Add a fallback method for getting :group.
f5ba00a6 7435
6d65486d
JL
74362013-05-15 Juri Linkov <juri@jurta.org>
7437
da547b32
JL
7438 * isearch.el (isearch-char-by-name): Rename from
7439 `isearch-insert-char-by-name'. Doc fix.
7440 (isearch-forward): Mention `isearch-char-by-name' in
7441 the docstring. (Bug#13348)
7442
6d65486d
JL
7443 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7444 `exit-minibuffer' instead of
7445 `isearch-nonincremental-exit-minibuffer'.
7446 (isearch-edit-string): Remove mention of
7447 `isearch-nonincremental-exit-minibuffer' from docstring.
7448 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7449 (isearch-forward-exit-minibuffer)
7450 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7451
c9990474
SM
74522013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7453
6e911150
SM
7454 * loadup.el: Just use unversioned DOC.
7455
c9990474
SM
7456 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7457 literals as extending to EOB.
7458 (nxml-last-fontify-end): Remove unused variable.
7459 (nxml-after-change1): Use with-silent-modifications.
7460 (nxml-extend-after-change-region): Simplify.
7461 (nxml-extend-after-change-region1): Remove function.
7462 (nxml-after-change1): Don't adjust for dependent regions.
7463 (nxml-fontify-matcher): Simplify.
7464 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7465 (xmltok-add-dependent): Remove function.
7466 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7467 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7468 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7469 unclosed <[[, <?, comment, and other literals as extending to EOB.
7470 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7471 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7472 Remove functions.
7473 (rng-do-some-validation-1): Don't mark dependent regions.
7474 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7475 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7476 (nxml-clear-dependent-regions): Remove functions.
7477 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7478 (nxml-ensure-scan-up-to-date):
7479 Don't clear&mark dependent regions.
7480
e3772e98
LL
74812013-05-15 Leo Liu <sdl.web@gmail.com>
7482
c9990474
SM
7483 * progmodes/octave.el (octave-goto-function-definition):
7484 Improve and fix callers.
e3772e98 7485
5ac2eb34
SM
74862013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7487
c46c57b0
SM
7488 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7489 the setter (bug#14387).
7490
5ac2eb34
SM
7491 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7492 surrounding group (bug#14402).
7493
180ed218
JL
74942013-05-14 Juri Linkov <juri@jurta.org>
7495
7496 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7497 (Bug#14390)
7498
0ac0fecb
GM
74992013-05-14 Glenn Morris <rgm@gnu.org>
7500
7501 * progmodes/f90.el (f90-imenu-generic-expression):
7502 Fix typo in 2013-05-08 change. (Bug#14402)
7503
2e78e6a7
JPG
75042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7505
5ac2eb34
SM
7506 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7507 Remove signals for which replies are never received.
2e78e6a7 7508
53267cca
JPG
75092013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7510
7511 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7512 (gdb-handler-alist, gdb-handler-number): Remove variables.
7513 (gdb-handler-list): New variable.
7514 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7515 (gdb-pending-handler-p, gdb-handle-reply)
7516 (gdb-remove-all-pending-triggers): New functions.
7517 (gdb-discard-unordered-replies): New defcustom.
7518 (gdb-handler): New defstruct.
7519 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7520 instead of gdb-pending-triggers. Update docstring.
7521 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7522 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7523 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7524 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7525 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7526 (gdb-frame-handler): Pending triggers are now automatically managed.
7527 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7528 Remove argument.
7529 (gdb-input): Automatically handles pending triggers. Update docstring.
7530 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7531 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7532 Update comments.
7533 (gdb-done-or-error): Now use gdb-handle-reply.
7534
d04ce803
JPG
75352013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7536
7537 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7538 gdb-debug-log.
7539
0114073a
GM
75402013-05-14 Glenn Morris <rgm@gnu.org>
7541
7542 * subr.el (user-emacs-directory-warning): New option.
7543 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7544
4d25fd7e
LL
75452013-05-14 Leo Liu <sdl.web@gmail.com>
7546
7547 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7548 during redisplay.
7549 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7550 (octave-font-lock-texinfo-comment): Fix invalid search bound
7551 error: wrong side of point.
4d25fd7e 7552
27c8b6eb
GM
75532013-05-14 Glenn Morris <rgm@gnu.org>
7554
61aaeb01
GM
7555 * progmodes/flymake.el (flymake-xml-program): New option.
7556 (flymake-xml-init): Use it.
7557
5bf90bc5
GM
7558 * term/xterm.el: Provide a feature.
7559
7560 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7561
f4c7dfd2
GM
75622013-05-13 Glenn Morris <rgm@gnu.org>
7563
7564 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7565 Add compat aliases as a hack workaround. (Bug#14384)
7566
2aeb3a1d
LL
75672013-05-13 Leo Liu <sdl.web@gmail.com>
7568
b0e069c2
LL
7569 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7570 ###, and %!.
f5a9432f
LL
7571 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7572 C-M-q.
b0e069c2
LL
7573 (octave-comment-start-skip): Include %!.
7574 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7575
30ea8374
LL
75762013-05-12 Leo Liu <sdl.web@gmail.com>
7577
7578 * progmodes/octave.el (inferior-octave-startup): Store the value
7579 of __octave_srcdir__ for octave-source-directories.
7580 (inferior-octave-check-process): New function refactored out of
7581 inferior-octave-send-list-and-digest.
7582 (octave-source-directories)
7583 (octave-find-definition-filename-function): New variables.
7584 (octave-source-directories)
7585 (octave-find-definition-default-filename): New functions.
7586 (octave-find-definition): Improve to find functions implemented in C++.
7587
472a3834
GM
75882013-05-12 Glenn Morris <rgm@gnu.org>
7589
7590 * calendar/diary-lib.el (diary-outlook-format-1):
7591 Don't include dayname in the output. (Bug#14349)
7592
3191b52f
GM
75932013-05-11 Glenn Morris <rgm@gnu.org>
7594
0060ac73
GM
7595 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7596
3191b52f
GM
7597 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7598 Treat cc-provide like provide.
7599
e065ba74
KR
76002013-05-11 Kevin Ryde <user42@zip.com.au>
7601
7602 * cus-dep.el (custom-make-dependencies):
7603 Use generated-autoload-load-name for the sake of files such
7604 such cedet/semantic/bovine/c.el, where the base file name
7605 is not in load-path. (Bug#5277)
7606
36f84c37
GM
76072013-05-11 Glenn Morris <rgm@gnu.org>
7608
7609 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7610 Provide features.
7611
c8730c3a
LL
76122013-05-11 Leo Liu <sdl.web@gmail.com>
7613
7614 * progmodes/octave.el (octave-indent-comment): Improve.
7615 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7616 (octave-eldoc-function-signatures, octave-eldoc-function):
7617 New functions.
c8730c3a
LL
7618 (octave-mode, inferior-octave-mode): Add eldoc support.
7619
212e29f2
RS
76202013-05-11 Richard Stallman <rms@gnu.org>
7621
7622 * epa.el (epa-decrypt-file): Take output file name as argument
7623 and read it using `interactive'.
7624
083fe0d7
LL
76252013-05-11 Leo Liu <sdl.web@gmail.com>
7626
7627 * progmodes/octave.el (octave-beginning-of-line)
7628 (octave-end-of-line): Check before using up-list because it jumps
7629 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7630 (octave-indent-comment): New function.
7631 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7632 (octave-begin-keywords, octave-end-keywords)
7633 (octave-reserved-words, octave-smie-bnf-table)
7634 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7635
8582e4c4
GM
76362013-05-11 Glenn Morris <rgm@gnu.org>
7637
f20def1f
GM
7638 * faces.el (internal-face-x-get-resource):
7639 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7640 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7641 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7642 Fix declarations.
f20def1f 7643
445f95e2
GM
7644 * calc/calc-menu.el: Make it loadable in isolation.
7645
7646 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7647 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7648 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7649 (eudc-bbdb-query-internal): Require 'bbdb.
7650
99fb2756
GM
7651 * lpr.el (lpr-headers-switches):
7652 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7653
7654 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7655
0da7ad96
GM
7656 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7657
8582e4c4
GM
7658 * term.el (term-set-escape-char): Make it idempotent.
7659
f71c50d0
LL
76602013-05-10 Leo Liu <sdl.web@gmail.com>
7661
5ac2eb34
SM
7662 * progmodes/octave.el (inferior-octave-completion-table):
7663 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7664 completion due to bug#11906.
7665 (octave-beginning-of-defun): Re-write to be more general.
7666
d5837773
GM
76672013-05-10 Glenn Morris <rgm@gnu.org>
7668
7669 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7670
027c0f75
SM
76712013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * comint.el (comint-redirect-send-command-to-process): Use :around
7674 rather than :override for comint-redirect-filter.
7675 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7676 Call it instead of comint-redirect-original-filter-function (which
7677 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7678
4465bfb4
JD
76792013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7680
7681 * frame.el (display-monitor-attributes-list): Add NS case.
7682 (ns-display-monitor-attributes-list): Declare.
7683
2d809ffa 76842013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7685
7686 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7687
e54eeb9b
GM
76882013-05-09 Glenn Morris <rgm@gnu.org>
7689
56cd351d
GM
7690 * international/fontset.el (vertical-centering-font-regexp):
7691 Set standard-value.
7692
d84b6108
GM
7693 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7694
a931698a
GM
7695 * bookmark.el (bookmark-search-delay):
7696 * cus-start.el (vertical-centering-font-regexp):
7697 * ps-mule.el (ps-mule-font-info-database-default):
7698 * ps-print.el (ps-default-fg, ps-default-bg):
7699 * type-break.el (type-break-good-break-interval):
7700 * whitespace.el (whitespace-indentation-regexp)
7701 (whitespace-space-after-tab-regexp):
7702 * emacs-lisp/testcover.el (testcover-1value-functions)
7703 (testcover-noreturn-functions, testcover-progn-functions)
7704 (testcover-prog1-functions):
7705 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7706 * eshell/em-glob.el (eshell-glob-translate-alist):
7707 * play/tetris.el (tetris-tty-colors):
7708 * progmodes/cpp.el (cpp-face-default-list):
7709 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7710 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7711 (idlwave-help-browser-generic-args):
7712 * progmodes/make-mode.el (makefile-special-targets-list):
7713 * progmodes/python.el (python-shell-virtualenv-path):
7714 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7715 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7716 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7717 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7718 * textmodes/reftex-vars.el (reftex-format-label-function):
7719 * textmodes/remember.el (remember-diary-file): Fix custom types.
7720
e54eeb9b
GM
7721 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7722 Add :version.
7723
455851dd
LL
77242013-05-09 Leo Liu <sdl.web@gmail.com>
7725
7726 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7727 Restore file completion. (Bug#14300)
455851dd
LL
7728 (inferior-octave-startup): Fix incorrect highlighting for the
7729 first prompt.
7730
a9e4425b
SM
77312013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * progmodes/ruby-mode.el: First cut at SMIE support.
7734 (ruby-use-smie): New var.
7735 (ruby-smie-grammar): New constant.
7736 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7737 (ruby-smie--forward-token, ruby-smie--backward-token)
7738 (ruby-smie-rules): New functions.
7739 (ruby-mode-variables): Setup SMIE if applicable.
7740
060ca408
EZ
77412013-05-08 Eli Zaretskii <eliz@gnu.org>
7742
7743 * simple.el (line-move-visual): Signal beginning/end of buffer
7744 only if vertical-motion moved less than it was requested. Avoids
7745 silly incorrect error messages when there are display strings with
7746 multiple newlines at EOL.
7747
1d5963cc
SM
77482013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7751 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7752 (prolog-char-quote-workaround):
7753 * progmodes/cperl-mode.el (cperl-under-as-char):
7754 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7755 Mark as obsolete.
7756 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7757 their declaration.
7758 (vhdl-mode-syntax-table-init): Remove.
7759
c9990474
SM
7760 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7761 last change.
1d5963cc
SM
7762
7763 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7764 syntax for "_".
7765 (ld-script-font-lock-keywords):
7766 Change regexps to use things like \_< and \_>.
7767
7768 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7769 Change all regexps to use things like \_< and \_>.
7770
7771 * progmodes/autoconf.el (autoconf-definition-regexp)
7772 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7773 Handle a _ with symbol syntax.
7774 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7775
c9990474
SM
7776 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7777 Consolidate declaration.
1d5963cc
SM
7778 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7779 the declaration.
7780 (ada-create-syntax-table): Remove.
7781 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7782 already has the right syntax nowadays.
7783 (ada-goto-next-word): Don't change the syntax of "_".
7784
7785 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7786 with-wrapper-hook.
7787
72d3cfca
SS
77882013-05-08 Sam Steingold <sds@gnu.org>
7789
7790 * thingatpt.el (thing-at-point): Accept optional second argument
7791 NO-PROPERTIES to strip the text properties from the return value.
7792 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7793 to `thing-at-point' instead of stripping the properties ourselves.
7794 Also, when `thing-at-point' fails to find a url, prepend "http://"
7795 to the filename at point on the assumption that the user is
7796 pointing at something like gnu.org/gnu.
7797
5cb15713
JB
77982013-05-08 Juanma Barranquero <lekktu@gmail.com>
7799
7800 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7801 * faces.el (crm-separator):
7802 Silence byte-compiler.
7803
7804 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7805 (tool-bar-map): Remove unneeded defvars.
7806
ea78b95b
LL
78072013-05-08 Leo Liu <sdl.web@gmail.com>
7808
7809 Re-work a fix for bug#10994 based on Le Wang's patch.
7810 * ido.el (ido-remove-consecutive-dups): New helper.
7811 (ido-completing-read): Use it.
7812 (ido-chop): Revert fix for bug#10994.
7813
dc7466df
AS
78142013-05-08 Adam Spiers <emacs@adamspiers.org>
7815
7816 * cus-edit.el (custom-save-variables):
7817 Pretty-print long values. (Bug#14187)
7818
9ecf672a
GM
78192013-05-08 Glenn Morris <rgm@gnu.org>
7820
7821 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7822 (m4-mode-syntax-table): Init in the defvar.
7823 (m4-mode-abbrev-table): Let define-derived-mode define it.
7824
3f555be8
TT
78252013-05-08 Tom Tromey <tromey@redhat.com>
7826
7827 * progmodes/m4-mode.el (m4-mode-syntax-table):
7828 Do not treat "_" as word constituent. (Bug#14167)
7829
7cc8ae06
GM
78302013-05-07 Glenn Morris <rgm@gnu.org>
7831
4f58bc06
GM
7832 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7833 Remove explicit eshell-isearch-cancel-map.
7834
7cc8ae06
GM
7835 * progmodes/f90.el (f90-smart-end-names): New option.
7836 (f90-smart-end): Doc fix.
7837 (f90-end-block-optional-name): New constant.
7838 (f90-block-match): Respect f90-smart-end-names.
7839
ceb57e59
SM
78402013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7841
7842 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7843 about implicit semi-colons (bug#14218).
7844
4e3f9230
YM
78452013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7846
7847 * frame.el (display-monitor-attributes-list)
7848 (frame-monitor-attributes): New functions.
7849
203a5572
LL
78502013-05-06 Leo Liu <sdl.web@gmail.com>
7851
7852 * progmodes/octave.el (octave-syntax-propertize-function): Change
7853 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7854 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7855 (octave-completion-at-point): Rename from
203a5572
LL
7856 octave-completion-at-point-function.
7857 (inferior-octave-directory-tracker): Robustify.
7858 (octave-text-functions): Remove and fix its uses. No such things
7859 any more.
7860
ee6cff99
SM
78612013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * emacs-lisp/trace.el (trace--display-buffer): New function.
7864 (trace-make-advice): Use it.
7865
32985194
JL
78662013-05-06 Juri Linkov <juri@jurta.org>
7867
7868 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7869 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7870 Doc fix.
7871 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7872 in the help string. (Bug#12985)
7873
a1c700de
KD
78742013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7875
7876 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7877
c67c0839
SM
78782013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7879
323885fd
SM
7880 * progmodes/perl-mode.el: Add support for here documents.
7881 (perl-syntax-propertize-function): Match here-doc markers.
7882 (perl-syntax-propertize-special-constructs): Find their end.
7883 (perl-imenu-generic-expression): Use [:alnum:].
7884
c67c0839
SM
7885 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7886 (advice--add-function): Refresh the advice if already present
7887 (bug#14317).
7888
d491e7a8
IA
78892013-05-06 Ivan Andrus <darthandrus@gmail.com>
7890
7891 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7892
ddf9925e
GM
78932013-05-06 Glenn Morris <rgm@gnu.org>
7894
7cc3af27
GM
7895 * w32-fns.el (w32-charset-info-alist): Declare.
7896
16e343d6
GM
7897 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7898 of its defcustom properties.
7899 (eshell-cmpl-initialize): No need to load pcomplete.
7900
7d889a47
GM
7901 * generic-x.el: No need to require comint when compiling.
7902
ddf9925e
GM
7903 * net/eudc-export.el: Make it loadable without bbdb.
7904 (top-level): Use require rather than load-library.
7905 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7906 (eudc-batch-export-records-to-bbdb)
7907 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7908 Require bbdb.
7909
1e2c18df
SM
79102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7913 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7914 some tweaks, instead.
7915
02502a5f
LL
79162013-05-05 Leo Liu <sdl.web@gmail.com>
7917
7918 * progmodes/octave.el (octave-font-lock-keywords)
7919 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7920 (inferior-octave-send-list-and-digest): Improve error message.
7921 (octave-mode, inferior-octave-mode): Use setq-local.
7922 (octave-help): Set info-lookup-mode.
7923
0dc04f42
RS
79242013-05-05 Richard Stallman <rms@gnu.org>
7925
6c54491c
RS
7926 * vc/compare-w.el (compare-windows-whitespace):
7927 Treat no-break space as whitespace.
7928
0dc04f42
RS
7929 * mail/rmailsum.el (rmail-summary-rmail-update):
7930 Detect empty summary and don't change selected message.
7931 (rmail-summary-goto-msg): Likewise.
7932
df8f35df
RS
7933 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7934 Doc fixes, rename args.
7935
5356e1a3
AM
79362013-05-05 Alan Mackenzie <acm@muc.de>
7937
7938 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7939
d44014cb
JL
79402013-05-05 Juri Linkov <juri@jurta.org>
7941
7942 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7943 to not add the length of the summary segment to the return value.
7944 (Bug#14125)
7945
c129b51f
LL
79462013-05-05 Leo Liu <sdl.web@gmail.com>
7947
7948 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7949 (inferior-octave-output-filter): Remove.
7950 (octave-send-region, inferior-octave-startup): Fix callers.
7951 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7952 (octave-binary-file-extensions): New user variable.
7953 (octave-find-definition): Confirm if opening binary files.
7954 (octave-help-file): Use octave-find-definition to get the binary
7955 confirmation.
7956 (octave-help): Adjust for octave-help-file change.
7957
aa7dab97
SM
79582013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7961 Merge the two entries that handle function definitions.
7962 (pascal--syntax-propertize): New const.
7963 (pascal-mode): Use it. Use setq-local.
7964
fd3a9a6b
GM
79652013-05-04 Glenn Morris <rgm@gnu.org>
7966
7967 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7968 (diary-from-outlook): Respect diary-from-outlook-function.
7969
30c7e542
SM
79702013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7973 Move the declaration from C.
7974 (read-minibuffer, eval-minibuffer): Move from C.
7975 (completion-setup-function): Avoid minibuffer-completion-contents.
7976
b54f978b
LL
79772013-05-03 Leo Liu <sdl.web@gmail.com>
7978
7979 * progmodes/octave.el (octave-font-lock-keywords): Do not
7980 dehighlight 'end' in comments or strings.
30c7e542
SM
7981 (octave-completing-read, octave-goto-function-definition):
7982 New helpers.
d4d0f9b3
LL
7983 (octave-help-buffer): New user variable.
7984 (octave-help-file, octave-help-function): New button types.
7985 (octave-help): New command and bind it to C-h ;.
7986 (octave-find-definition): New command and bind it to M-.
d74a1581 7987 (user-error): Alias to error if not defined.
b54f978b 7988
27135018
LL
79892013-05-02 Leo Liu <sdl.web@gmail.com>
7990
7991 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7992 for \. (bug#14332)
7993 (octave-font-lock-keywords): Include [ and {.
7994
0d634d3a
LL
79952013-05-02 Leo Liu <sdl.web@gmail.com>
7996
7997 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7998 (inferior-octave): Remove calling comint-mode and return the buffer.
7999 (inferior-octave-startup): Cosmetic changes.
8000
b4c8295e
LL
80012013-05-02 Leo Liu <sdl.web@gmail.com>
8002
30c7e542
SM
8003 * progmodes/octave.el (octave-syntax-propertize-function):
8004 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8005
f12ad6ec
GM
80062013-05-02 Glenn Morris <rgm@gnu.org>
8007
8008 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8009 * desktop.el (vc-dir-mode): Just autoload it here.
8010
30cac1e0
AM
80112013-05-02 Alan Mackenzie <acm@muc.de>
8012
8013 Eliminate variable c-standard-font-lock-fontify-region-function.
8014 * progmodes/cc-mode.el
8015 (c-standard-font-lock-fontify-region-function): Remove.
8016 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8017
d8ef28b1
LL
80182013-05-01 Leo Liu <sdl.web@gmail.com>
8019
2640d52e 8020 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8021 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8022 variables were removed from Octave in 2007.
d8ef28b1
LL
8023 (inferior-octave-startup): Fix uses.
8024 (comint-line-beginning-position): Remove compatibility code for
8025 emacs 21.
8026
ac63ec89
JL
80272013-05-01 Juri Linkov <juri@jurta.org>
8028
8029 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8030
9e9be37c
JL
80312013-05-01 Juri Linkov <juri@jurta.org>
8032
8033 * comint.el (comint-previous-matching-input): Don't print message
8034 "History item: %d" when `isearch-mode' is active.
8035 (comint-history-isearch-message): Print message "History item: %d"
8036 when `comint-input-ring-index' is not empty and this function is
8037 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8038
9b92c13b
LL
80392013-05-01 Leo Liu <sdl.web@gmail.com>
8040
8041 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8042 definitions. Use completion-at-point to insert keywords.
8043 (octave-abbrev-start): Remove.
8044 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8045
b12d33d7
LL
80462013-04-30 Leo Liu <sdl.web@gmail.com>
8047
8048 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8049 change.
8050
3d1c39fa
AM
80512013-04-30 Alan Mackenzie <acm@muc.de>
8052
8053 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8054 * progmodes/cc-engine.el (c-back-over-member-initializers):
8055 new function.
3d1c39fa
AM
8056 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8057 (most) member init lists.
8058
5147fc17
RS
80592013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8060
8061 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8062 variable.
8063
5b78d7fc
LL
80642013-04-30 Leo Liu <sdl.web@gmail.com>
8065
8066 * progmodes/octave.el (octave-variables): Remove. No builtin
8067 variables any more. All converted to functions.
8068 (octave-font-lock-keywords, octave-completion-at-point-function):
8069 Fix uses.
8070 (octave-font-lock-texinfo-comment): New user variable.
8071 (octave-texinfo-font-lock-keywords): New variable for texinfo
8072 comment block.
8073 (octave-function-comment-block): New face.
8074 (octave-font-lock-texinfo-comment): New function.
8075 (octave-mode): Font lock texinfo comment block.
8076
38d8527b
LL
80772013-04-29 Leo Liu <sdl.web@gmail.com>
8078
8079 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8080 indexing expression.
8081 (octave-continuation-string): Do not use \.
8082 (inferior-octave-complete-impossible): Remove.
8083 (inferior-octave-completion-table)
8084 (inferior-octave-completion-at-point): Remove its uses.
8085 (inferior-octave-startup): completion_matches was introduced to
8086 Octave in 1996 so safe to assume it.
8087 (octave-function-file-comment): Improve to follow how Octave does it.
8088 (octave-update-function-file-comment): Tweak.
8089
2ec12cb0
LL
80902013-04-29 Leo Liu <sdl.web@gmail.com>
8091
8092 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8093 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8094 (octave-function-file-comment): Fix typo.
8095 (octave-sync-function-file-names): Use read-char-choice.
8096
6eaed048
JB
80972013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8098
8099 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8100 to t for the less important warnings.
8101
3ffa2d4f
DH
81022013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8103
8104 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8105
685c9501
GM
81062013-04-27 Glenn Morris <rgm@gnu.org>
8107
8108 * vc/log-view.el (log-view-current-entry):
8109 Treat "---" separator lines as part of the following rev. (Bug#14169)
8110
0208ede7
JL
81112013-04-27 Juri Linkov <juri@jurta.org>
8112
8113 * subr.el (read-number): Doc fix about using it by interactive
8114 code letter `n'. (Bug#14254)
8115
5db9dace
JL
81162013-04-27 Juri Linkov <juri@jurta.org>
8117
8118 * desktop.el (desktop-auto-save-timeout): New option.
8119 (desktop-file-checksum): New variable.
8120 (desktop-save): Add optional arg `auto-save' and don't auto-save
8121 if nothing changed.
8122 (desktop-auto-save-timer): New variable.
8123 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8124 (after-init-hook): Call `desktop-auto-save-set-timer'.
8125 Suggested by Reuben Thomas <rrt@sc3d.org> in
8126 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8127
b7260dd4
LL
81282013-04-27 Leo Liu <sdl.web@gmail.com>
8129
8130 * progmodes/octave.el (octave-function-file-p)
8131 (octave-skip-comment-forward, octave-function-file-comment)
8132 (octave-update-function-file-comment): New functions.
8133 (octave-mode-map): Bind C-c ; to
8134 octave-update-function-file-comment.
8135 (octave-mode-menu): Add octave-update-function-file-comment.
8136 (octave-mode, inferior-octave-mode): Fix doc-string.
8137 (octave-insert-defun): Conform to Octave's coding convention.
8138 (Bug#14285)
8139
8140 * files.el (basic-save-buffer): Don't let errors in
8141 before-save-hook prevent saving buffer.
8142
c46da669
RW
81432013-04-20 Roland Winkler <winkler@gnu.org>
8144
8145 * faces.el (read-face-name): Use completing-read if arg multiple
8146 is nil.
8147
a81ee1eb
IL
81482013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8149
8150 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8151 displayed, move point to after the totals line.
8152 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8153 for the details.
8154
4fac34ce
SM
81552013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8158 Add current dir to the load-path.
8159 (package-generate-autoloads): Don't rely on
8160 autoload-ensure-default-file.
8161
f6bfc063
RT
81622013-04-26 Reuben Thomas <rrt@sc3d.org>
8163
d40ab5cf
BG
8164 * textmodes/remember.el (remember-store-in-files): Document that
8165 the file name format is passed to `format-time-string'.
f6bfc063 8166
e55d3b04
LL
81672013-04-26 Leo Liu <sdl.web@gmail.com>
8168
8169 * progmodes/octave.el (octave-sync-function-file-names): New function.
8170 (octave-mode): Use it in before-save-hook.
8171
e53052d3
SM
81722013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8173
140ef50c
SM
8174 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8175 (bug#14274).
8176
e53052d3
SM
8177 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8178 \n and comment, even if it's not an implicit ; (bug#14218).
8179
af80458d 81802013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8181
8182 * subr.el (read-number): Once more use `read' rather than
8183 `string-to-number', to trap non-numeric input. (Bug#14254)
8184
af80458d 81852013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8186
8187 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8188 Use `syntax-multiline' text property consistently instead of
8a621d53 8189 `font-lock-multiline'. (Bug#14237)
70203c2e 8190
e6ea1f6c
GM
81912013-04-26 Glenn Morris <rgm@gnu.org>
8192
8193 * emacs-lisp/shadow.el (list-load-path-shadows):
8194 No longer necessary to check for duplicate simple.el, since
8195 2012-07-07 change to init_lread to not include installation lisp
8196 directories in load-path when running uninstalled. (Bug#14270)
8197
070ccca4
LL
81982013-04-26 Leo Liu <sdl.web@gmail.com>
8199
8200 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8201 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8202 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8203 octave-in-string-or-comment-p.
8204 (octave-in-comment-p, octave-in-string-p)
8205 (octave-in-string-or-comment-p): Replace defsubst with defun.
8206
9d1c5fb6
PE
82072013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8208
8209 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8210
c034abda
BG
82112013-04-25 Bastien Guerry <bzg@gnu.org>
8212
8213 * textmodes/remember.el (remember-data-directory)
8214 (remember-directory-file-name-format): Fix custom types.
8215
584ea277
LL
82162013-04-25 Leo Liu <sdl.web@gmail.com>
8217
e53052d3
SM
8218 * progmodes/octave.el (octave-completion-at-point-function):
8219 Make use of inferior octave process.
584ea277
LL
8220 (octave-initialize-completions): Remove.
8221 (inferior-octave-completion-table): New function.
8222 (inferior-octave-completion-at-point): Use it.
8223 (octave-completion-alist): Remove.
8224
1693b06a
SM
82252013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8228 (opascal-mode-syntax-table): New var.
8229 (opascal-literal-kind, opascal-is-literal-end)
8230 (opascal-literal-token-at): Rewrite.
8231 (opascal--literal-start-re, opascal-font-lock-keywords)
8232 (opascal--syntax-propertize): New constants.
8233 (opascal-font-lock-defaults): Adjust.
8234 (opascal-mode): Use them. Set comment-<foo> variables as well.
8235 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8236 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8237 (delphi-other-face, opascal-other-face): Remove face variables.
8238 (opascal-save-state): Remove macro.
8239 (opascal-fontifying-progress-step): Remove constant.
8240 (opascal--ignore-changes): Remove var.
8241 (opascal-set-token-property, opascal-parse-next-literal)
8242 (opascal-is-stable-literal, opascal-complete-literal)
8243 (opascal-is-literal-start, opascal-face-of)
8244 (opascal-parse-region, opascal-parse-region-until-stable)
8245 (opascal-fontify-region, opascal-after-change)
8246 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8247 (opascal-debug-parse-region, opascal-debug-parse-window)
8248 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8249 (opascal-debug-fontify-buffer): Remove.
8250 (opascal-debug-mode-map): Adjust accordingly.
8251
be64c05d
LL
82522013-04-25 Leo Liu <sdl.web@gmail.com>
8253
8254 Merge octave-mod.el and octave-inf.el into octave.el with some
8255 cleanups.
8256 * progmodes/octave.el: New file renamed from octave-mod.el.
8257 * progmodes/octave-inf.el: Merged into octave.el.
8258 * progmodes/octave-mod.el: Renamed to octave.el.
8259
d79d37bd
TH
82602013-04-25 Tassilo Horn <tsdh@gnu.org>
8261
8262 * textmodes/reftex-vars.el
8263 (reftex-label-ignored-macros-and-environments): New defcustom.
8264
8265 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8266
ced3fc5d
SM
82672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8270 (smie-indent-keyword): Improve the check to ensure that the next
8271 comment is really on the same line.
8272 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8273
8274 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8275 semi-colons if the line is not otherwise empty (bug#14218).
8276
1c141dad
GM
82772013-04-25 Glenn Morris <rgm@gnu.org>
8278
8279 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8280
5058062a
SM
82812013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * progmodes/opascal.el (opascal-set-token-property): Rename from
8284 opascal-set-text-properties and only set `token' (bug#14134).
8285 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8286 (opascal-literal-text-properties): Remove.
8287 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8288 Adjust callers.
8289
5db9dace 82902013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8291
8292 * textmodes/remember.el (remember-handler-functions): Add an
8293 option for a new handler `remember-store-in-files'.
8294 (remember-data-directory, remember-directory-file-name-format):
8295 New options.
8296 (remember-store-in-files): New function to store remember notes
8297 as separate files within a directory.
8298
4391916c
MH
82992013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8300
8301 * progmodes/compile.el (compilation-next-error-function):
8302 Pass "formats" to compilation-find-file (bug#11777).
8303
bb7cdf58
GM
83042013-04-24 Glenn Morris <rgm@gnu.org>
8305
3b8fe752 8306 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8307 * vc/vc-hg.el (vc-hg-print-log):
8308 * vc/vc-svn.el (vc-svn-print-log):
8309 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8310
bb7cdf58
GM
8311 * vc/vc-bzr.el (vc-bzr-print-log):
8312 * vc/vc-cvs.el (vc-cvs-print-log):
8313 * vc/vc-git.el (vc-git-print-log):
8314 * vc/vc-hg.el (vc-hg-print-log):
8315 * vc/vc-mtn.el (vc-mtn-print-log):
8316 * vc/vc-rcs.el (vc-rcs-print-log):
8317 * vc/vc-sccs.el (vc-sccs-print-log):
8318 * vc/vc-svn.el (vc-svn-print-log):
8319 * vc/vc.el (vc-print-log-internal): Doc fixes.
8320
b46a056e
GM
83212013-04-23 Glenn Morris <rgm@gnu.org>
8322
8323 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8324 Remove venerable code attempting to avoid substitute-command-keys.
8325
0aecf718
TH
83262013-04-23 Tassilo Horn <tsdh@gnu.org>
8327
4391916c
MH
8328 * textmodes/reftex-vars.el (reftex-label-regexps):
8329 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8330
117f94cf
SM
83312013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8332
4391916c 8333 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8334 Use lexical-binding.
8335 (jit-lock-force-redisplay): Use markers, check buffer's continued
8336 existence and beware narrowed buffers.
8337 (jit-lock-fontify-now): Adjust call accordingly.
8338
1d829c64
SM
83392013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8342 to avoid misleading the user.
8343
72d548a9
LL
83442013-04-22 Leo Liu <sdl.web@gmail.com>
8345
8346 * info-look.el: Prefer latex2e.info. (Bug#14240)
8347
d0853629
MA
83482013-04-22 Michael Albinus <michael.albinus@gmx.de>
8349
8350 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8351
8352 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8353 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8354 (tramp-set-completion-function, tramp-parse-putty):
8355 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8356 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8357 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8358 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8359 (tramp-call-local-coding-command): Use `tramp-call-process'
8360 instead of `tramp-compat-call-process'.
8361
8362 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8363 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8364 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8365 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8366 (tramp-maybe-send-script): Check for Perl binary.
8367 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8368
38cc0210
DU
83692013-04-22 Daiki Ueno <ueno@gnu.org>
8370
8371 * epg.el (epg-context-pinentry-mode): New function.
8372 (epg-context-set-pinentry-mode): New function.
8373 (epg--start): Pass --pinentry-mode option to gpg command.
8374
cc641ee1
XF
83752013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8376
02d844b5 8377 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8378 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8379 `completion-at-point'. (Bug#13774)
5d4e5c31 8380
cc641ee1
XF
8381 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8382 default key binding for `describe-distribution' has been moved to
8383 `C-h C-o'. (Bug#13970)
8384
1b42ee43
GM
83852013-04-21 Glenn Morris <rgm@gnu.org>
8386
8387 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8388 Add doc strings.
8389 (vc-print-log): Clarify interactive prompt.
8390
a6d63d97
GM
83912013-04-20 Glenn Morris <rgm@gnu.org>
8392
8393 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8394 No longer include timestamp etc information.
8395
d7f5c16f
RW
83962013-04-20 Roland Winkler <winkler@gnu.org>
8397
8398 * faces.el (read-face-name): Bug fix, return just one face if arg
8399 multiple is nil. (Bug#14209)
8400
bcd7a0a4
SM
84012013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8404 (remove-function): Autoload.
8405
8406 * comint.el (comint-redirect-original-filter-function): Remove.
8407 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8408 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8409 (vc-cvs-annotate-command):
bcd7a0a4
SM
8410 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8411 * progmodes/prolog.el (prolog-consult-compile):
8412 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8413 Use add/remove-function instead.
8414 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8415 (gud-tooltip-process-output, gud-tooltip-tips):
8416 Use add/remove-function instead.
8417 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8418 (scheme-interaction-mode, exit-scheme-interaction-mode):
8419 Use add/remove-function instead.
8420
8421 * vc/vc-dispatcher.el: Use lexical-binding.
8422 (vc--process-sentinel): Rename from vc-process-sentinel.
8423 Change last arg to be the code to run. Don't use vc-previous-sentinel
8424 and vc-sentinel-commands any more.
8425 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8426 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8427
e36b2d20 84282013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8429
bcd7a0a4 8430 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8431 Handle function names with a single character. (Bug#14111)
4d3268ba 8432
781b4af6 84332013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8434
8435 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8436 for subroutines defined in an eval (bug#14182).
8437
7d688336
TV
84382013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8439
8440 * bookmark.el (bookmark-completing-read): Improve handling of empty
8441 string (bug#14176).
8442
31dcede0
SM
84432013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8446
adc31213
FEG
84472013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8448
8449 New faster Imenu implementation (bug#14058).
8450 * progmodes/python.el:
8451 (python-imenu-prev-index-position):
8452 (python-imenu-format-item-label-function)
8453 (python-imenu-format-parent-item-label-function)
8454 (python-imenu-format-parent-item-jump-label-function):
8455 New vars.
8456 (python-imenu-format-item-label)
8457 (python-imenu-format-parent-item-label)
8458 (python-imenu-format-parent-item-jump-label)
8459 (python-imenu--put-parent, python-imenu--build-tree)
8460 (python-imenu-create-index, python-imenu-create-flat-index)
8461 (python-util-popn): New functions.
8462 (python-mode): Set imenu-create-index-function to
8463 python-imenu-create-index.
8464
cdca8255
SM
84652013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * winner.el (winner-active-region): Use region-active-p, activate-mark
8468 and deactivate-mark (bug#14225).
8469
8470 * simple.el (deactivate-mark): Don't inline it.
8471
beb42340
MA
84722013-04-18 Michael Albinus <michael.albinus@gmx.de>
8473
8474 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8475
fc7f4d7e
TH
84762013-04-18 Tassilo Horn <tsdh@gnu.org>
8477
8478 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8479 file extensions from the archive-mode entry in order to prefer
8480 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8481
29f47822
LL
84822013-04-18 Leo Liu <sdl.web@gmail.com>
8483
8484 * bindings.el (help-event-list): Add ?\?.
8485
d36ed1c8
SM
84862013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * subr.el (with-wrapper-hook): Declare obsolete.
8489 * simple.el (filter-buffer-substring-function): New hook.
8490 (filter-buffer-substring): Use it.
8491 (filter-buffer-substring-functions): Mark obsolete.
8492 * minibuffer.el (completion-in-region-function): New hook.
8493 (completion-in-region): Use it.
8494 (completion-in-region-functions): Mark obsolete.
8495 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8496 * abbrev.el (abbrev-expand-function): New hook.
8497 (expand-abbrev): Use it.
8498 (abbrev-expand-functions): Mark obsolete.
8499 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8500 and :filter-return.
8501
04754d36
FEG
85022013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8503
8504 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8505 and do not care about match data.
8506
dd8791e9
SM
85072013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8510 completion tables when completing error conditions and
8511 `declare' arguments.
8512 (lisp-complete-symbol, field-complete): Mark as obsolete.
8513 (check-parens): Unmatched parens are user errors.
8514 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8515
ffe54a13
AM
85162013-04-17 Michal Nazarewicz <mina86@mina86.com>
8517
dd8791e9
SM
8518 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8519 command changed buffer (ie. `flyspell-pre-buffer' is not current
8520 buffer), which prevents making decisions based on invalid value of
8521 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8522 cause an error when `flyspell-pre-point' was nil after switching
8523 buffers.
8524 (flyspell-post-command-hook): No longer needs to change buffers when
8525 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8526
ec7e39f2
AM
85272013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8528
8529 * textmodes/ispell.el (ispell-add-per-file-word-list):
8530 Fix `flyspell-correct-word-before-point' error when accepting
8531 words and `coment-padding' is an integer by using
8532 `comment-normalize-vars' (Bug #14214).
8533
083850a6
FEG
85342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8535
8536 New defun movement commands.
8537 * progmodes/python.el (python-nav--syntactically)
8538 (python-nav--forward-defun, python-nav-backward-defun)
8539 (python-nav-forward-defun): New functions.
8540
619ed6e1
FEG
85412013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8542
8543 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8544 (python-syntax-context): Use named compiler-macro for backwards
8545 compatibility with Emacs 24.x.
8546
7a1beb6c
LL
85472013-04-17 Leo Liu <sdl.web@gmail.com>
8548
8549 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8550 octave-hide-process-buffer.
8551
2d3fa3e5
SM
85522013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8555 (bug#14216).
8556
7ce5be54
JPG
85572013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8558
8559 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8560 Fix adjustment of offset when receiving incomplete responses from GDB
8561 (bug#14129).
8562
351edece
SM
85632013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8566 python-mode-abbrev-table.
8567 (python-skeleton-define): Adjust accordingly.
8568 (python-mode-abbrev-table): New table that inherits from it so that
8569 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8570
8571 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8572 (abbrev-symbol): Use it.
8573 (abbrev--before-point): Use it since we already handle inheritance.
8574
613f9481
LL
85752013-04-16 Leo Liu <sdl.web@gmail.com>
8576
8577 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8578 binding to info-lookup-symbol.
8579
51646b62
JB
85802013-04-16 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * minibuffer.el (completion--twq-all):
8583 * term/ns-win.el (ns-initialize-window-system):
8584 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8585
efb3f01d
SM
85862013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8587
36c0a301
SM
8588 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8589 global bindings.
8590
efb3f01d
SM
8591 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8592
fb549d64
DG
85932013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8594
8595 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8596 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8597 to nil.
8598 (ruby-end-of-defun): Remove the unused arg, change the docstring
8599 to reflect that this function is only used as the value of
8600 `end-of-defun-function'.
8601 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8602 to reflect an earlier change that beginning/end-of-defun functions
8603 jump between methods in a class definition, as well as top-level
8604 functions.
8605
21e8fe2f
SM
86062013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * minibuffer.el (minibuffer-complete): Don't just scroll
8609 a *Completions* that's been iconified.
8610 (minibuffer-force-complete): Make sure repetitions do cycle when going
8611 through completion-in-region -> minibuffer-complete.
8612
20e527d0
AM
86132013-04-15 Alan Mackenzie <acm@muc.de>
8614
8615 Correct the placement of c-cpp-delimiters when there're #s not at
8616 col 0.
8617
8618 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8619 place a submatch around the #.
21e8fe2f
SM
8620 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8621 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8622 on the #, not BOL.
8623
dabefae5
SM
86242013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8627 (advice--member-p): New arg `name'.
8628 (advice--add-function, advice-member-p): Use it (bug#14202).
8629
85c9ab64
AM
86302013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8631
8632 Reformulate java imenu-generic-expression.
8633 The old expression contained ill formed regexps.
8634
8635 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8636 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8637 (cc-imenu-java-method-arg-regexp): New defconsts.
8638 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8639 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8640 handling of spaces in the regexp.
8641
0f821d99
AM
86422013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8643
8644 * textmodes/ispell.el (ispell-command-loop): Remove
8645 flyspell highlight of a word when ispell accepts it (bug #14178).
8646
eb922adf
MA
86472013-04-15 Michael Albinus <michael.albinus@gmx.de>
8648
8649 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8650 uses code from the previous `ange-ftp-run-real-handler'.
8651 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8652 only in case that function exist. This is needed for proper
8653 unloading of Tramp.
8654
4d9a0979
TH
86552013-04-15 Tassilo Horn <tsdh@gnu.org>
8656
8657 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8658
8659 * textmodes/reftex.el (reftex-compile-variables): Use it.
8660
a829b0dc
SM
86612013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8662
91e8293c
SM
8663 * files.el (normal-mode): Only use default major-mode if no other mode
8664 was specified.
8665
830aed4d
SM
8666 * emacs-lisp/trace.el (trace-values): New function.
8667
a829b0dc
SM
8668 * files.el: Allow : in local variables (bug#14089).
8669 (hack-local-variable-regexp): New var.
8670 (hack-local-variables-prop-line, hack-local-variables): Use it.
8671
7ae9f0fb
RW
86722013-04-13 Roland Winkler <winkler@gnu.org>
8673
8674 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8675 data before it gets modified by bibtex-beginning-of-entry.
8676
6646e848
RW
86772013-04-13 Roland Winkler <winkler@gnu.org>
8678
8679 * textmodes/bibtex.el (bibtex-url): Doc fix.
8680
86812013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8682
8683 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8684 does not visit a BibTeX file, exclude it from the list of buffers
8685 returned by bibtex-initialize.
8686
0aa3616e
SB
86872013-04-13 Stephen Berman <stephen.berman@gmx.net>
8688
8689 * window.el (split-window): Remove interactive form, since as a
8690 command this function is a special case of split-window-below.
8691 Correct doc string.
8692
011cddd6
RW
86932013-04-12 Roland Winkler <winkler@gnu.org>
8694
8695 * faces.el (read-face-name): Do not override value of arg default.
8696 Allow single faces and strings as default values. Remove those
8697 elements from return value that are not faces.
8698 (describe-face): Simplify.
8699 (face-at-point): New optional args thing and multiple so that this
8700 function can provide the same functionality previously provided by
8701 read-face-name.
8702 (make-face-bold, make-face-unbold, make-face-italic)
8703 (make-face-unitalic, make-face-bold-italic, invert-face)
8704 (modify-face, read-face-and-attribute): Use face-at-point.
8705
8706 * cus-edit.el (customize-face, customize-face-other-window)
8707 * cus-theme.el (custom-theme-add-face)
8708 * face-remap.el (buffer-face-set)
8709 * facemenu.el (facemenu-set-face): Use face-at-point.
8710
f24e0036
MA
87112013-04-12 Michael Albinus <michael.albinus@gmx.de>
8712
8713 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8714
da3cda2d
TH
87152013-04-10 Tassilo Horn <tsdh@gnu.org>
8716
8717 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8718 off leading { and trailing } from field values.
8719
15e54145
SM
87202013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8721
78ce603d
SM
8722 * emacs-lisp/timer.el (timer--check): New function.
8723 (timer--time, timer-set-function, timer-event-handler): Use it.
8724 (timer-set-idle-time): Simplify.
8725 (timer--activate): CSE.
8726 (timer-event-handler): Give more info in error message.
8727 (internal-timer-start-idle): New function, moved from C.
8728
15e54145
SM
8729 * mpc.el (mpc-proc): Add `restart' argument.
8730 (mpc-proc-cmd): Use it.
8731 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8732 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8733 less often.
8734
7144c627
MY
87352013-04-10 Masatake YAMATO <yamato@redhat.com>
8736
8737 * progmodes/sh-script.el: Implement `sh-mode' own
8738 `add-log-current-defun-function' (bug#14112).
8739 (sh-current-defun-name): New function.
8740 (sh-mode): Use the function.
8741
b39792eb
BG
87422013-04-09 Bastien Guerry <bzg@gnu.org>
8743
8744 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8745
8acdeb71
SM
87462013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8747
6fcdab68
SM
8748 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8749
8acdeb71
SM
8750 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8751 timer (bug#14156).
8752
e3e7b504
NF
87532013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8754
8755 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8756 declaration.
8757
201bb296
LL
87582013-04-07 Leo Liu <sdl.web@gmail.com>
8759
8760 * pcmpl-x.el: New file.
8761
ebb19708
DA
87622013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8763
8764 Do not set x-display-name until X connection is established.
8765 This is needed to prevent from weird situation described at
8766 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8767 * frame.el (make-frame): Set x-display-name after call to
8768 window system initialization function, not before.
8769 * term/x-win.el (x-initialize-window-system): Add optional
8770 display argument and use it.
8771 * term/w32-win.el (w32-initialize-window-system):
8772 * term/ns-win.el (ns-initialize-window-system):
8773 * term/pc-win.el (msdos-initialize-window-system):
8774 Add compatible optional display argument.
8775
33bb237a
EZ
87762013-04-06 Eli Zaretskii <eliz@gnu.org>
8777
8778 * files.el (normal-backup-enable-predicate): On MS-Windows and
8779 MS-DOS compare truenames of temporary-file-directory and of the
8780 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8781 don't fail comparison by compare-strings. Also, compare file
8782 names case-insensitively on MS-Windows and MS-DOS.
8783
134abf1f
SM
87842013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8787 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8788
d695cb94
DG
87892013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8790
e3e7b504
NF
8791 * whitespace.el (whitespace-color-on, whitespace-color-off):
8792 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8793
f4ad7ea1 87942013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8795
8796 * ispell.el (ispell-set-spellchecker-params):
8797 Really set `ispell-args' for all equivs.
8798
632556e4
SM
87992013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * ido.el (ido-completions): Use extra elements of ido-decorations
8802 (bug#14143).
8803 (ido-decorations): Update docstring.
8804
2a417372
MA
88052013-04-05 Michael Albinus <michael.albinus@gmx.de>
8806
8807 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8808 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8809 nil during initialization, in order not to miss changes since the
8810 file was opened. (Bug#14140)
8811
fc164b0c
LL
88122013-04-05 Leo Liu <sdl.web@gmail.com>
8813
8814 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8815
0ccecc08
JB
88162013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8817
8818 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8819
51af1aa2
GM
88202013-04-04 Glenn Morris <rgm@gnu.org>
8821
8822 * electric.el (electric-pair-inhibit-predicate): Add :version.
8823
b208ebc6
SM
88242013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8827 when a package is required several times (bug#14082).
8828
f3d3eaf0
RW
88292013-04-04 Roland Winkler <winkler@gnu.org>
8830
8831 * faces.el (read-face-name): Behave as promised by the docstring.
8832 Assume that arg default is a list of faces.
8833 (describe-face): Call read-face-name with list of default faces.
8834
2575da50
TV
88352013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8836
8837 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8838 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8839 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8840 the header.
8841 (bookmark-exit-hook-internal): Save even if list is empty.
8842
397703b4
YH
88432013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8844
8845 * emacs-lisp/package.el (package-pinned-packages): New var.
8846 (package--add-to-archive-contents): Obey it (bug#14118).
8847
691e26ae
AM
88482013-04-03 Alan Mackenzie <acm@muc.de>
8849
8a621d53
JB
8850 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8851 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8852
8853 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8854 parameter `not-in-delimiter'. Handle being inside comment opener.
8855 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8856 character in case we're typing a '*' after a '/'.
8857 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8858 instead by passing the parameter to c-state-pp-to-literal.
8859
8860 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8861 for elt. 7 of a parse state.
8862
4b725a70
PE
88632013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8864
8865 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8866 * international/latin1-disp.el, international/mule-util.el:
8867 * language/cyril-util.el, language/european.el, language/ind-util.el:
8868 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8869 * language/tibetan.el, language/viet-util.el:
8870 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8871
15c579f0
SM
88722013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8875 (electric-pair-post-self-insert-function): Use it.
8876 (electric-pair-default-inhibit): New function, extracted from
8877 electric-pair-post-self-insert-function.
8878
a77e2924
RW
88792013-03-31 Roland Winkler <winkler@gnu.org>
8880
8881 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8882
2bd8a4a8
SM
88832013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8886
8d3655be 88872013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8888
8889 Un-indent after "pass" and "return" statements (Bug#13888)
8890 * progmodes/python.el (python-indent-block-enders): New var.
8891 (python-indent-calculate-indentation): Use it.
8892
8d3655be 88932013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8894
8895 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8896 defun. Defining it as defalias could introduce too eager
8897 byte-compiler optimization. (Bug#14030)
8898
8d3655be 88992013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8900
8901 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8902
0b1619da
LL
89032013-03-30 Leo Liu <sdl.web@gmail.com>
8904
8905 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8906 (kmacro-execute-from-register): Pass the keyboard macro to
8907 kmacro-call-macro or repeating won't work correctly.
8908
0b938190
TZ
89092013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8910
8911 * progmodes/subword.el: Back to using `forward-symbol'.
8912
8913 * subr.el (forward-whitespace, forward-symbol)
8914 (forward-same-syntax): Move from thingatpt.el.
8915
35710234
LL
89162013-03-29 Leo Liu <sdl.web@gmail.com>
8917
8918 * kmacro.el (kmacro-to-register): New command.
8919 (kmacro-execute-from-register): New function.
8920 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8921
efc0bb73
SM
89222013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * mpc.el: Use defvar-local and setq-local.
8925 (mpc--proc-connect): Connection failures are not bugs.
8926 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8927 (mpc-volume-map): Bind to the up-events.
8928
75a2f981
TZ
89292013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8930
8931 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8932 instead of `forward-symbol'.
8933
17c781d1
SM
89342013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8937 (edebug--recursive-edit): Use it.
8938 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8939 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8940
f67bfbcf
LL
89412013-03-28 Leo Liu <sdl.web@gmail.com>
8942
8943 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8944
b59f639d
EZ
89452013-03-27 Eli Zaretskii <eliz@gnu.org>
8946
8947 * facemenu.el (list-colors-callback): New defvar.
8948 (list-colors-redisplay): New function.
8949 (list-colors-display): Install list-colors-redisplay as the
8950 revert-buffer-function. (Bug#14063)
8951
f557c1b1
SM
89522013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8953
b1da2957
SM
8954 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8955 and suffixes don't overlap (bug#14061).
8956
f557c1b1
SM
8957 * case-table.el: Use lexical-binding.
8958 (case-table-get-table): New function.
8959 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8960
002668e1
TZ
89612013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8962
8963 * progmodes/subword.el: Add `superword-mode' to do word motion
8964 over symbol_words (parallels and leverages `subword-mode' which
8965 does word motion inside MixedCaseWords).
8966
73572c72
AG
89672013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8968
78b8f320 8969 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8970 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8971
69b2c07e
SM
89722013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8975 Change return value to be a sexp. Delay `get-buffer' to after
8976 restoring the desktop (bug#13951).
8977
08bb5ee2
LL
89782013-03-26 Leo Liu <sdl.web@gmail.com>
8979
8980 * register.el: Move semantic tag handling back to
8981 cedet/semantic/senator.el. (Bug#14052)
8982
8d4c974e
SM
89832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8986 into the prompt either (bug#13963).
8987
b234d92c
SM
89882013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8991 part of "(error-foo)".
8992
ddfa3cb4
JL
89932013-03-24 Juri Linkov <juri@jurta.org>
8994
8995 * replace.el (list-matching-lines-prefix-face): New defcustom.
8996 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8997 `occur-engine' if `face-differs-from-default-p' returns t.
8998 (occur-engine): Add `,' inside backquote construct to evaluate
8999 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9000 Pass `prefix-face' to the functions `occur-context-lines' and
9001 `occur-engine-add-prefix'.
9002 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9003 `prefix-face' and propertize the prefix with `prefix-face'.
9004 (Bug#14017)
9005
7b0e2f85
LL
90062013-03-24 Leo Liu <sdl.web@gmail.com>
9007
9008 * nxml/rng-valid.el (rng-validate-while-idle)
9009 (rng-validate-quick-while-idle): Guard against deleted buffer.
9010 (Bug#13999)
9011
9012 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9013 is the last entry in kill-buffer-hook.
9014
9015 * files.el (kill-buffer-hook): Doc fix.
9016
b3082f49
DG
90172013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9018
b234d92c
SM
9019 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9020 Make it safe-local.
bde73d27 9021
b3082f49
DG
9022 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9023
a320a2db
LL
90242013-03-23 Leo Liu <sdl.web@gmail.com>
9025
7e74b0fb
LL
9026 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9027 Remove.
9028
9029 * nxml/rng-valid.el (rng-validate-mode)
9030 (rng-after-change-function, rng-do-some-validation):
9031 * nxml/rng-maint.el (rng-validate-buffer):
9032 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9033 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9034 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9035 (nxml-extend-after-change-region): Use with-silent-modifications.
9036
a320a2db
LL
9037 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9038 timer-idle-list.
9039
9040 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9041 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9042 timer-idle-list. (Bug#13999)
9043
e38e6780
JL
90442013-03-23 Juri Linkov <juri@jurta.org>
9045
9046 * info.el (info-index-match): New face.
9047 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9048 main pattern and add text properties with the new face to matches
9049 in index entries relative to the beginning of the index entry.
9050 (Bug#14015)
9051
e8cc7880
DE
90522013-03-21 Eric Ludlam <zappo@gnu.org>
9053
9054 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9055 Inhibit read only while inserting objects.
9056
9bb0d822
TZ
90572013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9058
9059 * progmodes/cfengine.el: Update docs to mention
9060 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9061 symbol motion. Remove "_" from the word syntax.
9062
aa703640
TZ
90632013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9064
9065 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9066 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9067
afff09d0
JL
90682013-03-20 Juri Linkov <juri@jurta.org>
9069
9070 * info.el (Info-next-reference-or-link)
9071 (Info-prev-reference-or-link): New functions.
9072 (Info-next-reference, Info-prev-reference): Use them.
9073 (Info-try-follow-nearest-node): Handle footnote navigation.
9074 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9075
9a1ff164
SM
90762013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9079 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9080
2667d15d
PE
90812013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9082
9083 Suppress unnecessary non-ASCII chatter during build process.
9084 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9085 (batch-skkdic-convert): Suppress most of the chatter.
9086 It's not needed so much now that machines are faster,
9087 and its non-ASCII component was confusing; see Dmitry Gutov in
9088 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9089
438b0579
LL
90902013-03-20 Leo Liu <sdl.web@gmail.com>
9091
9092 * ido.el (ido-chop): Fix bug#10994.
9093
c128ab07
DG
90942013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9095
9096 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9097 Remove vars.
9a1ff164
SM
9098 (whitespace-color-on, whitespace-color-off):
9099 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9100
0e6008c5
SM
91012013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9104 remapping in mode-line.
9105 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9106
627b52b0
DG
91072013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9108
9109 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9110 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9111 (whitespace-font-lock-keywords): Change description.
9112 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9113 the constructed keywords instead.
9114 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9115
50c3a20b
LL
91162013-03-19 Leo Liu <sdl.web@gmail.com>
9117
9118 * progmodes/compile.el (compilation-display-error): New command.
9119 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9120 C-o. (Bug#13992)
9121
2aa2157b
PE
91222013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9123
9124 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9125
e477dbfa
JD
91262013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9127
9128 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9129
64ab82d1
MA
91302013-03-18 Michael Albinus <michael.albinus@gmx.de>
9131
9132 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9133
9134 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9135 * net/tramp-gvfs.el (top):
9136 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9137 (tramp-handle-shell-command): Use it.
9138 (tramp-dissect-file-name): Raise an error when hostname is a
9139 method name, and neither method nor user is specified.
9140
9141 * net/trampver.el: Update release number.
9142
33cef733
LL
91432013-03-18 Leo Liu <sdl.web@gmail.com>
9144
9145 Make sure eldoc can be turned off properly.
9146 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9147 eldoc-mode.
9148 (eldoc-display-message-p): Revert last change.
9149 (eldoc-display-message-no-interference-p)
9150 (eldoc-print-current-symbol-info): Tweak.
9151
2167b7b2
TH
91522013-03-18 Tassilo Horn <tsdh@gnu.org>
9153
9154 * doc-view.el (doc-view-new-window-function): Check the new window
9155 overlay's display property instead the char property of the
9156 buffer's first char. Use `with-selected-window' instead of
9157 `save-window-excursion' with `select-window'.
9158 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9159 display property instead the char property of the buffer's first char.
2167b7b2 9160
982efbcd
PE
91612013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9162
9163 Automate the build of ja-dic.el (Bug#13984).
9164 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9165 from the input, rather than assume that it's been done for us by the
9166 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9167 the current date into a ja-dic.el comment, as that complicates
9168 regression testing.
9169
2fcc7665
SM
91702013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * whitespace.el: Fix double evaluation.
9173 (whitespace-space, whitespace-hspace, whitespace-tab)
9174 (whitespace-newline, whitespace-trailing, whitespace-line)
9175 (whitespace-space-before-tab, whitespace-indentation)
9176 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9177 obsolete defvars.
9178 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9179 (whitespace-color-on): Use a single font-lock-add-keywords call.
9180 Fix double-evaluation of face variables.
9181
67c0a6e6
MA
91822013-03-17 Michael Albinus <michael.albinus@gmx.de>
9183
2fcc7665
SM
9184 * net/tramp-adb.el (tramp-adb-parse-device-names):
9185 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9186 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9187
69489f1d
LL
91882013-03-17 Leo Liu <sdl.web@gmail.com>
9189
9190 Extend eldoc to display info in the mode-line. (Bug#13978)
9191 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9192 (eldoc-mode-line-string): New variable.
9193 (eldoc-minibuffer-message): New function.
9194 (eldoc-message-function): New variable.
9195 (eldoc-message): Use it.
9196 (eldoc-display-message-p)
2fcc7665
SM
9197 (eldoc-display-message-no-interference-p):
9198 Support eldoc-post-insert-mode.
69489f1d
LL
9199
9200 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9201 (eval-expression): Run it.
9202
9c44569e
RW
92032013-03-17 Roland Winkler <winkler@gnu.org>
9204
9205 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9206 strings in the list of return values.
9207
327f1f6f
JB
92082013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9209
9210 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9211 radix before checking for HMS forms.
9212
67ed8fcd
LL
92132013-03-16 Leo Liu <sdl.web@gmail.com>
9214
9215 * progmodes/scheme.el: Add indentation and font-locking for λ.
9216 (Bug#13975)
9217
78be8b64 92182013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9219
9220 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9221 token before point (bug#13942).
9222
78be8b64 92232013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9224
95b43468 9225 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9226
98e775e6
EZ
92272013-03-16 Eli Zaretskii <eliz@gnu.org>
9228
9229 * startup.el (command-line-normalize-file-name): Fix handling of
9230 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9231 <xfq.free@gmail.com> in
9232 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9233
2edd6029
MA
92342013-03-15 Michael Albinus <michael.albinus@gmx.de>
9235
9236 Sync with Tramp 2.2.7.
9237
9238 * net/trampver.el: Update release number.
9239
d35f5864
TH
92402013-03-14 Tassilo Horn <tsdh@gnu.org>
9241
e903c210 9242 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9243 (doc-view-insert-image): Don't modify overlay associated to
9244 non-live windows, and implement horizontal centering of image in
9245 case it's smaller than the window.
9246 (doc-view-new-window-function): Force redisplay of new windows on
9247 doc-view buffers.
d35f5864 9248
1c4a85ed
KF
92492013-03-13 Karl Fogel <kfogel@red-bean.com>
9250
9251 * saveplace.el (save-place-alist-to-file): Don't sort
9252 `save-place-alist', just pretty-print it (bug#13882).
9253
85b66a21
MA
92542013-03-13 Michael Albinus <michael.albinus@gmx.de>
9255
a020afb9
JB
9256 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9257 Check whether `default-file-name-coding-system' is bound.
9258 It isn't in XEmacs.
85b66a21 9259
175600da
SM
92602013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9261
e7f7cb1a
SM
9262 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9263 backquotes for `obsolete' (bug#13929).
9264
175600da
SM
9265 * international/mule.el (find-auto-coding): Include file name in
9266 obsolescence warning (bug#13922).
9267
ca68a22e
TZ
92682013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9269
9270 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9271 for CFEngine 3-specific indentation.
9272 (cfengine3-indent-line): Use it. Fix up category regex.
9273 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9274
940e5099
SM
92752013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * type-break.el (type-break-file-name):
9278 * textmodes/remember.el (remember-data-file):
9279 * strokes.el (strokes-file):
9280 * shadowfile.el (shadow-initialize):
9281 * saveplace.el (save-place-file):
9282 * ps-bdf.el (bdf-cache-file):
9283 * progmodes/idlwave.el (idlwave-config-directory):
9284 * net/quickurl.el (quickurl-url-file):
9285 * international/kkc.el (kkc-init-file-name):
9286 * ido.el (ido-save-directory-list-file):
9287 * emulation/viper.el (viper-custom-file-name):
9288 * emulation/vip.el (vip-startup-file):
9289 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9290 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9291
cc725808
PE
92922013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9293
9294 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9295 * language/thai-word.el: Switch to UTF-8.
9296
a020afb9 9297See ChangeLog.16 for earlier changes.
e3d51b27
MR
9298
9299;; Local Variables:
9300;; coding: utf-8
e3d51b27
MR
9301;; End:
9302
ab422c4d 9303 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9304
9305 This file is part of GNU Emacs.
9306
9307 GNU Emacs is free software: you can redistribute it and/or modify
9308 it under the terms of the GNU General Public License as published by
9309 the Free Software Foundation, either version 3 of the License, or
9310 (at your option) any later version.
9311
9312 GNU Emacs is distributed in the hope that it will be useful,
9313 but WITHOUT ANY WARRANTY; without even the implied warranty of
9314 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9315 GNU General Public License for more details.
9316
9317 You should have received a copy of the GNU General Public License
9318 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.